fix argv0-symlink.exp for parallel mode
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2013-11-04 Tom Tromey <tromey@redhat.com>
2
3 * gdb.base/argv0-symlink.exp: Compute executable's directory
4 dynamically.
5
6 2013-11-04 Tom Tromey <tromey@redhat.com>
7
8 * gdb.asm/asm-source.exp: Use standard_output_file.
9
10 2013-11-04 Tom Tromey <tromey@redhat.com>
11
12 * gdb.server/file-transfer.exp: Use standard_output_file.
13
14 2013-11-04 Tom Tromey <tromey@redhat.com>
15
16 * gdb.base/fullname.exp: Use standard_output_file,
17 relative_filename.
18 * gdb.base/hashline1.exp: Use standard_testfile,
19 standard_output_file, relative_filename, clean_restart.
20 * gdb.base/hashline2.exp: Use standard_testfile,
21 standard_output_file.
22 * gdb.base/hashline3.exp: Use standard_testfile,
23 standard_output_file, relative_filename.
24 * lib/gdb.exp (relative_filename): New proc.
25
26 2013-11-04 Tom Tromey <tromey@redhat.com>
27
28 * gdb.base/fileio.c (test_open, test_write, test_read)
29 (test_lseek, test_close, test_stat, test_fstat)
30 (test_isatty, test_system, test_rename, test_unlink):
31 Use OUTDIR define.
32 * gdb.base/fileio.exp: Define OUTDIR during compilation.
33 Use standard_output_file.
34
35 2013-11-04 Tom Tromey <tromey@redhat.com>
36
37 * gdb.base/checkpoint.c (main): Use PI_TXT and COPY1_TXT
38 defines.
39 * gdb.base/checkpoint.exp: Define PI_TXT and COPY1_TXT during
40 compilation. Use prepare_for_testing, standard_output_file.
41
42 2013-11-04 Tom Tromey <tromey@redhat.com>
43
44 * gdb.base/advance.exp: Use standard_testfile and
45 prepare_for_testing.
46 * gdb.base/bigcore.exp: Use standard_output_file. "cd" to
47 appropriate directory when local.
48 * gdb.base/dump.exp: Use standard_output_file. Update all
49 "dump" and "restore" filenames.
50 * gdb.base/interact.exp: Use standard_output_file.
51 * gdb.base/jit-so.exp: Don't download file when local.
52 * gdb.base/jit.exp (compile_jit_test): Don't download file
53 when local.
54 * gdb.base/list.exp: Use gdb_remote_download.
55 * gdb.base/maint.exp: Use standard_output_file.
56 * gdb.base/prelink.exp: Use standard_output_file.
57 * gdb.base/save-bp.exp: Use standard_output_file.
58 * gdb.base/sepdebug.exp: Use standard_testfile,
59 standard_output_file.
60 (test_different_dir): Don't declare objdir.
61 * gdb.base/solib-search.exp: Use standard_output_file.
62 * gdb.base/step-line.exp: Use gdb_remote_download.
63 * gdb.base/trace-commands.exp: Use standard_output_file.
64
65 2013-11-04 Tom Tromey <tromey@redhat.com>
66
67 * gdb.trace/mi-traceframe-changed.exp: Pass -DTFILE_DIR
68 to compilation. Use standard_output_file.
69 (test_tfind_tfile): Update.
70 * gdb.trace/tfile.c (write_basic_trace_file)
71 (write_error_trace_file): Use TFILE_DIR.
72 * gdb.trace/tfile.exp: Pass -DTFILE_DIR to compilation. Use
73 standard_output_file.
74
75 2013-11-04 Tom Tromey <tromey@redhat.com>
76
77 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
78 Use "dwarf2 always-disassemble" for the "maint set" test.
79 * gdb.mi/mi-file-transfer.exp (test_file_transfer): Use
80 standard_output_file.
81 * gdb.mi/mi-logging.exp: Use standard_output_file.
82
83 2013-11-04 Tom Tromey <tromey@redhat.com>
84
85 * gdb.xml/tdesc-arch.exp: Use standard_output_file. Make
86 downloads conditional on remote host.
87 (set_arch): Likewise.
88 * gdb.xml/tdesc-regs.exp: Use gdb_remote_download.
89 (load_description): Use standard_output_file.
90
91 2013-11-04 Tom Tromey <tromey@redhat.com>
92
93 * gdb.gdb/selftest.exp: Use standard_output_file.
94 * lib/selftest-support.exp (do_self_tests): Use
95 standard_output_file.
96
97 2013-11-04 Tom Tromey <tromey@redhat.com>
98
99 * gdb.stabs/weird.exp: Use gdb_remote_download and
100 standard_output_file.
101
102 2013-11-04 Tom Tromey <tromey@redhat.com>
103
104 * gdb.base/gcore-buffer-overflow.exp: Use
105 standard_output_file, not standard_testfile.
106 * gdb.base/twice.exp: Use standard_testfile, not
107 standard_output_file. Use gdb_remote_download.
108
109 2013-11-04 Tom Tromey <tromey@redhat.com>
110
111 * lib/gdb.exp (get_compiler_info): Use log_file -info and
112 restore from that.
113
114 2013-11-02 Maciej W. Rozycki <macro@codesourcery.com>
115
116 * gdb.cp/derivation.exp: s/perrro/perror/
117
118 2013-11-01 Maciej W. Rozycki <macro@codesourcery.com>
119
120 * gdb.dwarf2/dwzbuildid.exp: Rename `outdir' variable to
121 `debugdir'.
122
123 2013-10-31 Andrew Burgess <aburgess@broadcom.com>
124
125 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): Add additional
126 tests and update expected error message.
127 (test_watch_register_location): New tests.
128 (do_tests): Call test_watch_register_location.
129 * gdb.base/watchpoints.exp: Update expected error message.
130
131 2013-10-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
132
133 * gdb.arch/s390-multiarch.exp (test_linux_v2): Add $gdb_prompt to
134 the patterns in gdb_test_multiple.
135
136 2013-10-29 Nicolas Blanc <nicolas.blanc@intel.com>
137
138 * gdb.base/sym-file-lib.c: New file.
139 * gdb.base/sym-file-loader.c: New file.
140 * gdb.base/sym-file-loader.h: New file.
141 * gdb.base/sym-file-main.c: New file.
142 * gdb.base/sym-file.exp: New file.
143 * lib/gdb.exp (is_elf_target): New function.
144
145 2013-10-29 Pedro Alves <palves@redhat.com>
146
147 * gdb.mi/mi-console.c, gdb.mi/mi-stack.c: Remove local emacs
148 variable setting change-log-default-name to ChangeLog-mi.
149
150 2013-10-29 Andrew Burgess <aburgess@broadcom.com>
151
152 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test):
153 Expect <unavailable> pattern.
154
155 2013-10-28 Tom de Vries <tom@codesourcery.com>
156
157 * gdb.arch/thumb2-it.S (it_8): Fix typo.
158
159 2013-10-25 Anton Kolesov <Anton.Kolesov@synopsys.com> (tiny change)
160
161 * gdb.base/bang.exp: Use gdb_continue_to_end to properly support
162 remote stubs where exit() behaviour is unreliable.
163
164 2013-10-25 Pedro Alves <palves@redhat.com>
165
166 * gdb.cp/m-static.exp: Adjust expected output of printing a
167 nonexistent or optimized out static field. Also test printing the
168 the "container" object.
169
170 2013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
171
172 * lib/gdb.exp (gdb_finish): Send a kill request to `gdbserver'
173 if in the persistent mode.
174 * gdb.trace/disconnected-tracing.exp: Reconnect before completion.
175
176 2013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
177
178 * lib/gdb.exp (gdb_gcore_cmd): Also handle a "Target does not
179 support core file generation" reply.
180
181 2013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
182
183 PR gdb/15986
184 * gdb.base/run.c (main): gdb_get_line_number tag added for
185 commands.exp.
186 (factorial): Likewise.
187
188 * gdb.base/commands.exp (watchpoint_command_test): Use
189 gdb_get_line_number in order to determine the locations in run.c
190 where local_var is detected to go out of scope.
191
192 2013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
193
194 * gdb.base/gnu_vector.exp: Care about endianness when casting
195 scalars to vectors.
196
197 2013-10-18 Tom Tromey <tromey@redhat.com>
198
199 * lib/gdb.exp (build_executable_from_specs): Remove duplicate set
200 of "binfile".
201
202 2013-10-18 Andrew Burgess <aburgess@broadcom.com>
203
204 * gdb.base/watchpoints.exp: Add test for setting software
205 watchpoints of different types before starting the inferior.
206
207 2013-10-18 Pedro Alves <palves@redhat.com>
208
209 PR gdb/16062
210 * gdb.threads/stepi-random-signal.c: New file.
211 * gdb.threads/stepi-random-signal.exp: New file.
212
213 2013-10-17 Maciej W. Rozycki <macro@codesourcery.com>
214
215 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
216 Fix comment typo.
217 * lib/gdb.exp (gdb_init): Likewise.
218
219 2013-10-17 Tom Tromey <tromey@redhat.com>
220
221 * gdb.base/printcmds.exp (test_printf): Test printf flushing.
222
223 2013-10-14 Tom Tromey <tromey@redhat.com>
224
225 * gdb.dwarf2/dwzbuildid.exp (write_dwarf_file): Pass explicit test
226 name to gdb_test_no_output.
227
228 2013-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
229
230 Canonicalize directories for EXEC_FILENAME.
231 * gdb.base/argv0-symlink.exp
232 (kept file symbolic link name for info inferiors): New.
233 (kept directory symbolic link name): Setup kfail.
234 (kept directory symbolic link name for info inferiors): New.
235
236 2013-10-11 Andreas Arnez <arnez@linux.vnet.ibm.com>
237
238 * gdb.arch/s390-multiarch.exp: New file.
239 * gdb.arch/s390-multiarch.c: New file.
240
241 2013-10-11 Joel Brobecker <brobecker@adacore.com>
242
243 * gdb.ada/mi_catch_ex.exp: Adjusts all "catch ..." tests to
244 use the appropriate GDB/MI command instead, and verify
245 the test output.
246
247 2013-10-11 Joel Brobecker <brobecker@adacore.com>
248
249 * gdb.base/source-nofile.gdb: New file.
250 * gdb.base/source.exp: Add two tests verifying the behavior when
251 the "source" command is given a non-existant filename.
252
253 2013-10-11 Yao Qi <yao@codesourcery.com>
254
255 * gdb.mi/mi-catch-load.c: Remove the include of "dlfcn.h".
256 [__WIN32__]: Include "windows.h" and define macro 'dlopen'
257 and 'dlclose'.
258 [!__WIN32__]: Include "dlfcn.h".
259 * gdb.mi/mi-catch-load.exp: Set up kfail.
260
261 2013-10-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
262
263 * lib/gdb.exp (gdb_core_cmd): Replace fixed string "re-load
264 generated corefile" by argument "$test".
265
266 2013-10-09 Pedro Alves <palves@redhat.com>
267
268 * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust expected
269 output.
270
271 2013-10-09 Pedro Alves <palves@redhat.com>
272
273 * gdb.base/catch-syscall.exp (test_catch_syscall_without_args)
274 (test_catch_syscall_with_args, test_catch_syscall_with_many_args)
275 (test_catch_syscall_with_wrong_args)
276 (test_catch_syscall_restarting_inferior)
277 (test_catch_syscall_fail_nodatadir)
278 (test_catch_syscall_without_args_noxml)
279 (test_catch_syscall_with_args_noxml)
280 (test_catch_syscall_with_wrong_args_noxml): Use with_test_prefix.
281
282 2013-10-08 Tom Tromey <tromey@redhat.com>
283
284 * gdb.dwarf2/dwzbuildid.exp: New file.
285 * lib/dwarf.exp (Dwarf::_section): Add "flags" and "type"
286 parameters.
287 (Dwarf::_defer_output): Change "section" parameter to
288 "section_spec"; update.
289 (Dwarf::gnu_debugaltlink, Dwarf::_note, Dwarf::build_id): New
290 procs.
291
292 2013-10-08 Joel Brobecker <brobecker@adacore.com>
293
294 * gdb.ada/mi_catch_ex.exp: Make "mi_execute_to" test names unique.
295
296 2013-10-07 Tom Tromey <tromey@redhat.com>
297
298 * lib/mi-support.exp (varobj_tree::walk_tree): Set _root_idx
299 to 0.
300
301 2013-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
302
303 * gdb.base/corefile.exp: Test whether $_exitsignal is set and
304 $_exitcode is void when opening a corefile.
305 * gdb.base/exitsignal.exp: New file.
306 * gdb.base/segv.c: Likewise.
307 * gdb.base/normal.c: Likewise.
308
309 2013-10-04 Joel Brobecker <brobecker@adacore.com>
310
311 * gdb.mi/mi-start.c, gdb.mi/mi-start.exp: New files.
312
313 2013-10-02 Vidya Praveen <vidyapraveen@arm.com>
314
315 * gdb.trace/entry-values.exp: Modify regular expression to scan for
316 'bl' instruction instead of 'call' for ARM and AArch64 targets.
317
318 2013-10-02 Pedro Alves <palves@redhat.com>
319
320 * gdb.dwarf2/dw2-reg-undefined.exp <pattern_rax_rbx_rcx_print,
321 pattern_rax_rbx_rcx_info>: Set to "<not saved>".
322 * gdb.mi/mi-reg-undefined.exp (opt_out_pattern): Delete.
323 (not_saved_pattern): New.
324 Replace use of the former with the latter.
325
326 2013-10-02 Pedro Alves <palves@redhat.com>
327
328 * README (Board Settings): Document "exit_is_reliable".
329 * lib/gdb.exp (gdb_continue_to_end): Check whether the board says
330 running to exit reliably reports program exits.
331 * boards/native-gdbserver.exp: Set exit_is_reliable in the board
332 info.
333 * boards/native-stdio-gdbserver.exp: Likewise.
334
335 2013-10-01 Doug Evans <dje@google.com>
336
337 * gdb.python/python.exp: Remove redundant print-stack tests.
338 Make all print-stack test names unique. Fix spelling of print-stack.
339
340 2013-09-29 Yao Qi <yao@codesourcery.com>
341
342 * gdb.base/shreloc.exp: Set $msymfile to 'shreloc.txt' if host
343 is remote.
344
345 2013-09-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
346
347 PR shlibs/8882
348 * gdb.base/corefile.exp: Add a check to assure warning-free
349 core-file load.
350
351 2013-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
352
353 * gdb.dwarf2/dwp-symlink.c: New file.
354 * gdb.dwarf2/dwp-symlink.exp: New file.
355
356 2013-09-20 Doug Evans <dje@google.com>
357
358 * lib/dwarf.exp (build_executable_from_fission_assembler): New proc.
359 * gdb.dwarf2/fission-base.S: Update. Split out .dwo into separate
360 file.
361 * gdb.dwarf2/fission-loclists.S: Ditto.
362 * gdb.dwarf2/fission-reread.S: Ditto.
363 * gdb.dwarf2/fission-base.exp: Skip of remote host. Compile with
364 build_executable_from_fission_assembler.
365 * gdb.dwarf2/fission-loclists.exp: Ditto.
366 * gdb.dwarf2/fission-reread.exp: Ditto.
367
368 * lib/future.exp (gdb_find_objcopy, gdb_find_readelf): New procs.
369 * lib/gdb.exp (build_id_debug_filename_get): Update to use them.
370 (gdb_gnu_strip_debug): Ditto.
371 * lib/prelink-support.exp (section_get, prelink_no): Ditto.
372 * gdb.arch/altivec-abi.exp: Ditto.
373 * gdb.base/attach-pie-misread.exp: Ditto.
374 * gdb.base/comprdebug.exp: Ditto.
375 * gdb.base/dup-sect.exp: Ditto.
376 * gdb.base/gnu-debugdata.exp: Ditto.
377 * gdb.base/step-symless.exp: Ditto.
378 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
379 * gdb.dwarf2/dw2-skip-prologue.exp: Ditto.
380 * gdb.dwarf2/gdb-index.exp: Ditto.
381
382 2013-09-18 Andrew Burgess <aburgess@broadcom.com>
383
384 * gdb.dwarf2/dw2-reg-undefined.exp: Change pattern for info
385 register to "<optimized out>", and also print the registers.
386
387 2013-09-18 Pedro Alves <palves@redhat.com>
388
389 PR server/15967
390 * gdb.server/wrapper.exp: Also return unsupported for Cygwin, and
391 change text.
392
393 2013-09-18 Yao Qi <yao@codesourcery.com>
394
395 * gdb.server/wrapper.c: New.
396 * gdb.server/wrapper.exp: New.
397
398 2013-09-17 Muhammad Waqas <mwaqas@codesourccery.com>
399 Jan Kratochvil <jan.kartochvil@redhat.com>
400 Pedro Alves <palves@redhat.com>
401
402 PR gdb/11568
403 * gdb.thread/thread-specific-bp.c: New file.
404 * gdb.thread/thread-specific-bp.exp: New file.
405
406 2013-09-17 Sergio Durigan Junior <sergiodj@redhat.com>
407
408 * gdb.base/defaults.exp (<show_conv_list>): Add check for $_isvoid
409 convenience function.
410
411 2013-09-17 Pedro Alves <palves@redhat.com>
412
413 PR gdb/15911
414 * gdb.threads/info-threads-cur-sal-2.c: New file.
415 * gdb.threads/info-threads-cur-sal.c: New file.
416 * gdb.threads/info-threads-cur-sal.exp: New file.
417
418 2013-09-17 Yao Qi <yao@codesourcery.com>
419
420 * gdb.base/catch-load.c: Remove the include of "dlfcn.h".
421 [__WIN32__]: Include "windows.h" and define macro dlopen
422 and dlclose.
423 [!__WIN32__]: Include "dlfcn.h".
424 * gdb.base/catch-load.exp (one_catch_load_test): Match
425 directory separator.
426
427 2013-09-16 Doug Evans <dje@google.com>
428
429 * lib/gdb.exp (using_fission): New proc.
430 * gdb.base/info-macros.exp: Skip test if using Fission.
431
432 * gdb.base/break-interp.exp: Fix indentation.
433
434 2013-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
435
436 * gdb.base/gdbvars.c (foo_void): New function.
437 (foo_int): Likewise.
438 * gdb.base/gdbvars.exp (test_convenience_functions): New
439 function. Call it.
440
441 2013-09-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
442
443 * gdb.arch/s390-tdbregs.c: New file.
444 * gdb.arch/s390-tdbregs.exp: New file.
445
446 2013-09-12 Stan Shebs <stan@codesourcery.com>
447
448 * README: New file.
449
450 2013-09-12 Doug Evans <dje@google.com>
451
452 * gdb.python/py-events.py (new_objfile_handler): Remove accidentally
453 added code to print event.inferior.
454
455 2013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
456
457 * gdb.base/gnu-debugdata.exp (objcopy 1): Move it lower and use only
458 debug part of the binary.
459
460 2013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
461
462 * gdb.base/gnu-debugdata.exp (strip): Add -R .comment.
463 (addlink): Add comment.
464
465 2013-09-10 Sanimir Agovic <sanimir.agovic@intel.com>
466
467 * gdb.base/default.exp: Adjust regexpr for 'cd' to match optional
468 canonical pathname.
469
470 2013-09-04 Doug Evans <dje@google.com>
471
472 * gdb.python/py-events.py (exit_handler): Verify we get the expected
473 event.
474 (continue_handler, new_objfile_handler): Ditto.
475 (test_events): Rename command to "test-events".
476 (test_newobj_events): Rename command to "test-objfile-events".
477 * gdb.python/py-events.exp: Update.
478 * gdb.python/py-evsignal.exp: Update.
479 * gdb.python/py-evthreads.exp: Update.
480
481 * gdb.base/enumval.c (ZERO): New enum value.
482 (main): Use it
483 * gdb.base/enumval.exp: Test ability to print ZERO.
484
485 2013-09-03 Muhammad Bilal <mbilal@codesourcery.com>
486 Pedro Alves <palves@redhat.com>
487
488 * gdb.base/relocate.exp: Check that invalid options are
489 rejected.
490
491 2013-08-30 Andrew Burgess <aburgess@broadcom.com>
492
493 * gdb.base/code_elim1.c (my_bss_symbol): New variable added.
494 (my_static_symbol): Add comment.
495 (main): Reference my_bss_symbol.
496
497 2013-08-30 Phil Muldoon <pmuldoon@redhat.com>
498
499 * gdb.python/py-arch.exp: Tests for invalid architecture.
500
501 2013-08-29 Sterling Augustine <saugustine@google.com>
502
503 * boards/remote-stdio-gdbserver.exp: Set rcp_prog and
504 rsh_prog in new conditional. Move use of REMOTE_PORTNUM into
505 said conditional.
506
507 2013-08-29 Phil Muldoon <pmuldoon@redhat.com>
508
509 * gdb.python/py-arch.exp: Load gdb-python.exp.
510
511 2013-08-29 Phil Muldoon <pmuldoon@redhat.com>
512
513 * gdb.python/py-framefilter.py (FrameFilter.filter): Check
514 itertools for imap attribute. Otherwise use map().
515 (ElidingIterator): Define wrapper function __next__.
516 * gdb.python/py-framefilter-mi.exp: Do not use execfile,
517 use exec (open (read ())) instead.
518 * gdb.python/py-framefilter.exp: Ditto.
519 * gdb.python/py-arch.exp: Update print based test to Python 3.x
520 compliance.
521 * gdb.python/py-frame.exp: Ditto.
522 * gdb.python/py-type.exp: Ditto.
523
524 2013-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
525
526 PR gdb/15415
527 * gdb.base/argv0-symlink.c: New file.
528 * gdb.base/argv0-symlink.exp: New file.
529
530 2013-08-28 Tom Tromey <tromey@redhat.com>
531
532 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name
533 when saving index.
534
535 2013-08-27 Yao Qi <yao@codesourcery.com>
536
537 * gdb.trace/entry-values.exp: Test unavailable entry value is
538 not shown when option '--skip-unavailable' is specified.
539 * gdb.trace/mi-trace-unavailable.exp (test_trace_unavailable):
540 Add tests for new option '--skip-unavailable'.
541
542 2013-08-27 Yao Qi <yao@codesourcery.com>
543
544 * lib/gdb.exp (gdb_remote_download): Don't pass $tofile to
545 remote_download if it is empty.
546
547 2013-08-26 Doug Evans <dje@google.com>
548
549 PR symtab/15885
550 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add gdb-index.
551 (clean): rm -f *.gdb-index *.with-index.
552 * gdb.dwarf2/gdb-index.exp: New testcase.
553
554 * lib/gdb.exp (run_on_host): Moved here from gnu-debugdata.exp.
555 * gdb.base/gnu-debugdata.exp (run): Moved to gdb.exp and renamed to
556 run_on_host. All callers updated.
557
558 2013-08-24 Yao Qi <yao@codesourcery.com>
559
560 * gdb.trace/entry-values.c (end): New
561 (main): Call end.
562 * gdb.trace/entry-values.exp: Load trace-support.exp. Set
563 tracepoint and collect data. Test entry value is unavailable.
564
565 2013-08-24 Yao Qi <yao@codesourcery.com>
566
567 * lib/dwarf.exp (_location): Handle DW_OP_deref_size.
568 * gdb.trace/entry-values.c: New.
569 * gdb.trace/entry-values.exp: New.
570
571 2013-07-12 Muhammad Waqas <mwaqas@codesourccery.com>
572
573 PR gdb/15501
574 * gdb.base/ena-dis-br.exp: Add test to verify
575 enable/disable commands work correctly with
576 multiple arguments that include multiple locations.
577
578 2013-08-22 Samuel Bronson <naesten@gmail.com>
579
580 ARM Linux support for `catch syscall'.
581 * gdb.base/catch-syscall.exp: Test this on ARM now.
582 (fill_all_syscalls_numbers): ARM has close/chroot on 6/61, too.
583
584 2013-08-22 Tom Tromey <tromey@redhat.com>
585
586 * lib/dwarf.exp (cu, tu): Handle addr_size of "default". Change
587 default addr_size.
588 * lib/gdb.exp (is_64_target): New gdb_caching_proc.
589
590 2013-08-22 Tom Tromey <tromey@redhat.com>
591
592 * lib/gdb.exp (skip_btrace_tests): Use gdb_caching_proc and
593 standard_temp_file.
594
595 2013-08-22 Tom Tromey <tromey@redhat.com>
596
597 * gdb.arch/amd64-byte.exp: Use standard_testfile,
598 clean_restart.
599 * gdb.arch/amd64-disp-step.exp: Use standard_testfile.
600 * gdb.arch/amd64-dword.exp: Use standard_testfile,
601 clean_restart.
602 * gdb.arch/amd64-entry-value-param.exp: Use standard_testfile.
603 * gdb.arch/amd64-entry-value.exp: Use standard_testfile.
604 * gdb.arch/amd64-prologue-xmm.exp: Use standard_testfile.
605 * gdb.arch/amd64-word.exp: Use standard_testfile,
606 clean_restart.
607 * gdb.arch/i386-avx.exp: Use standard_testfile, clean_restart.
608 * gdb.arch/i386-byte.exp: Use standard_testfile, clean_restart.
609 * gdb.arch/i386-disp-step.exp: Use standard_testfile.
610 * gdb.arch/i386-dr3-watch.exp: Use standard_testfile.
611 * gdb.arch/i386-permbkpt.exp: Use standard_testfile, clean_restart.
612 * gdb.arch/i386-signal.exp: Use standard_testfile.
613 * gdb.arch/i386-size-overlap.exp: Use standard_testfile, clean_restart.
614 * gdb.arch/i386-sse.exp: Use standard_testfile, clean_restart.
615 * gdb.arch/i386-unwind.exp: Use standard_testfile.
616 * gdb.arch/i386-word.exp: Use standard_testfile, clean_restart.
617
618 2013-08-22 Tom Tromey <tromey@redhat.com>
619
620 * gdb.python/py-error.exp: Use gdb_remote_download.
621 * gdb.python/py-mi.exp: Use gdb_remote_download.
622 * gdb.python/py-objfile-script.exp: Use standard_output_file.
623 * gdb.python/py-prettyprint.exp: Use gdb_remote_download.
624 (run_lang_tests): Likewise.
625 * gdb.python/py-section-script.c: Use SCRIPT_FILE rather than
626 filename.
627 * gdb.python/py-section-script.exp: Set SCRIPT_FILE when
628 compiling. Use gdb_remote_download. Update some tests.
629 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
630 standard_output_file.
631 * gdb.python/py-typeprint.exp: Use gdb_remote_download.
632 * gdb.python/py-frame-args.exp: Use gdb_remote_download.
633 * gdb.python/py-framefilter-mi.exp: Use gdb_remote_download.
634 * gdb.python/py-framefilter.exp: Use gdb_remote_download,
635 standard_output_file.
636
637 2013-08-22 Tom Tromey <tromey@redhat.com>
638
639 * lib/cell.exp (skip_cell_tests): Use standard_temp_file.
640
641 2013-08-22 Tom Tromey <tromey@redhat.com>
642
643 * gdb.dwarf2/dw2-basic.exp: Use gdb_remote_download.
644 * gdb.dwarf2/dw2-compressed.exp: Use gdb_remote_download.
645 * gdb.dwarf2/dw2-intercu.exp: Use gdb_remote_download.
646 * gdb.dwarf2/dw2-intermix.exp: Use gdb_remote_download.
647 * gdb.dwarf2/dw2-producer.exp: Use gdb_remote_download.
648 * gdb.dwarf2/mac-fileno.exp: Use gdb_remote_download.
649 * lib/gdb.exp (gdb_remote_download): New proc.
650
651 2013-08-22 Tom Tromey <tromey@redhat.com>
652
653 * gdb.dwarf2/clztest.exp: Use standard_testfile.
654 * gdb.dwarf2/dw2-minsym-in-cu.exp: Use standard_testfile.
655 * gdb.dwarf2/fission-base.S: Remove directory from
656 DW_AT_GNU_dwo_name.
657 * gdb.dwarf2/fission-base.exp: Use build_executable. Set
658 debug-file-directory.
659 * gdb.dwarf2/fission-reread.S: Remove directory from
660 DW_AT_GNU_dwo_name.
661 * gdb.dwarf2/fission-reread.exp: Use build_executable. Set
662 debug-file-directory.
663
664 2013-08-16 Doug Evans <dje@google.com>
665
666 * lib/prelink-support.exp (prelink_yes): Flag test as unsupported if
667 prelink complains about an unhandled DWARF version.
668
669 2013-08-14 Cary Coutant <ccoutant@google.com>
670
671 * boards/fission.exp: Add -fdebug-types-section to debug_flags.
672
673 2013-08-13 Tom Tromey <tromey@redhat.com>
674 Yao Qi <yao@codesourcery.com>
675
676 * lib/cache.exp (gdb_do_cache): Handle GDB_PARALLEL.
677 * lib/gdb.exp: Handle GDB_PARALLEL.
678 (default_gdb_version): Kill inotify_pid if it exists.
679 (default_gdb_exit): Emit warning if the inotify log is not
680 empty.
681 (standard_output_file): Respect GDB_PARALLEL.
682 (standard_temp_file): Likewise.
683 (gdb_init): Start inotifywait if requested.
684
685 2013-08-13 Andrew Burgess <aburgess@broadcom.com>
686
687 * gdb.base/printcmds.exp (test_printf): Add test for printf of
688 pointer with various flags.
689
690 2013-08-13 Tom Tromey <tromey@redhat.com>
691
692 * lib/cache.exp: New file.
693 * lib/cell.exp (skip_cell_tests): Use gdb_caching_proc.
694 * lib/gdb.exp: Load cache.exp.
695 (support_complex_tests, is_ilp32_target, is_lp64_target)
696 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests)
697 (gdb_skip_xml_test): Use gdb_caching_proc.
698 * lib/opencl.exp (skip_opencl_tests): Use gdb_caching_proc.
699
700 2013-08-13 Tom Tromey <tromey@redhat.com>
701
702 * lib/gdb.exp (standard_temp_file): New proc.
703 (support_complex_tests, is_ilp32_target, is_lp64_target)
704 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests): Use
705 standard_temp_file.
706
707 2013-08-13 Tom Tromey <tromey@redhat.com>
708
709 * lib/gdb.exp (build_id_debug_filename_get): Use
710 standard_output_file.
711 * lib/prelink-support.exp (section_get)
712 (build_executable_own_libs): Use standard_output_file.
713
714 2013-08-12 Tom Tromey <tromey@redhat.com>
715
716 * Makefile.in (ALL_SUBDIRS): Add gdb.go.
717
718 2013-08-12 Ali Anwar <alianwar@codesourcery.com>
719
720 * gdb.base/break.exp: Test break via convenience variable
721 with file name.
722
723 2013-08-09 Doug Evans <dje@google.com>
724
725 * lib/future.exp (gdb_find_ldd): New proc.
726 * lib/prelink-support.exp (build_executable_own_libs): Call it.
727 Make "/usr/sbin/" in prelink path optional.
728
729 2013-08-09 Yao Qi <yao@codesourcery.com>
730
731 * gdb.trace/collection.exp (gdb_collect_args_test): Set
732 "only" and "both" to 'print entry-values' before selecting
733 trace frame.
734
735 2013-08-08 Yao Qi <yao@codesourcery.com>
736
737 * gdb.trace/mi-trace-unavailable.exp: Don't set
738 "print entry-values" to "no".
739 (test_trace_unavailable): Set various values to
740 "print entry-values" to test that the output of
741 '-stack-list-locals' is not affected, and then set
742 set "print entry-values" to "no".
743
744 2013-08-07 Doug Evans <dje@google.com>
745
746 * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
747 * gdb.python/py-value-cc.exp: Update.
748 * gdb.python/py-value.exp: Use different names for .o files for
749 C and C++. Only perform C++ tests if !skip_cplus_tests.
750
751 2013-08-07 Tom Tromey <tromey@redhat.com>
752
753 * gdb.base/maint.exp: Allow zero symtabs to be expanded.
754
755 2013-08-07 Tom Tromey <tromey@redhat.com>
756
757 * gdb.dwarf2/dwz.exp: New file.
758
759 2013-08-02 Tom Tromey <tromey@redhat.com>
760
761 * gdb.base/watchpoint.c (struct foo5): New.
762 (nullptr): New global.
763 * gdb.base/watchpoint.exp (test_watch_location): Add test.
764
765 2013-08-01 Doug Evans <dje@google.com>
766
767 PR symtab/15691
768 * gdb.dwarf2/fission-mix.exp: New file.
769 * gdb.dwarf2/fission-mix.h: New file.
770 * gdb.dwarf2/fission-mix.c: New file.
771 * gdb.dwarf2/fission-mix2.c: New file.
772
773 PR symtab/15695
774 * gdb.base/func-ptr.exp: New file.
775 * gdb.base/func-ptr.c: New file.
776
777 2013-08-01 Yao Qi <yao@codesourcery.com>
778
779 * gdb.python/py-sync-interp.c: New.
780 * gdb.python/py-sync-interp.exp: New.
781
782 2013-07-31 Yao Qi <yao@codesourcery.com>
783
784 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Test command
785 'tdump' on stack frame 0 and 1 respectively.
786
787 2013-07-31 Yao Qi <yao@codesourcery.com>
788
789 PR gdb/13443
790 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_3): Add parameter
791 'traceframe'. Wrap test with with_test_prefix.
792 (top level): Update.
793
794 2013-07-31 Yao Qi <yao@codesourcery.com>
795
796 * gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
797 'gdb_start'.
798 Invoke 'prepare_for_testing' instead of 'gdb_compile'.
799 Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.
800
801 2013-07-30 Andrew Burgess <aburgess@broadcom.com>
802
803 * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
804 when printing an optimized out value. Expect an error when using
805 an optimized out value in an expression.
806
807 2013-07-30 Andrew Burgess <aburgess@broadcom.com>
808
809 * gdb.dwarf2/pieces-optimized-out.exp: New file.
810 * gdb.dwarf2/pieces-optimized-out.c: New file.
811 * gdb.dwarf2/pieces-optimized-out.S: New file.
812
813 2013-07-30 Muhammad Bilal <mbilal@codesourcery.com>
814
815 PR gdb/15715
816 * gdb.base/setshow.exp: Test that relative paths passed to
817 'set history filename' are converted to absolute paths.
818
819 2013-07-26 Keith Seitz <keiths@redhat.com>
820
821 * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead
822 of f77.
823 Allow for compiler variations of integer types.
824 Use mi_create_varobj.
825 Use mi_list_varobj_children for the immediate children of `array'.
826 Add "has_more" attribute for grandchildren test.
827
828 2013-07-26 Pedro Alves <palves@redhat.com>
829
830 * gdb.base/interrupt-noterm.c, gdb.base/interrupt-noterm.exp: New
831 files.
832
833 2013-07-25 Andrew Burgess <aburgess@broadcom.com>
834
835 * gdb.mi/mi-reg-undefined.exp: New file.
836 * gdb.mi/mi-reg-undefined.c: Likewise.
837 * gdb.mi/mi-reg-undefined.S: Likewise.
838
839 2013-07-25 Andrew Burgess <aburgess@broadcom.com>
840
841 * gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
842 z, o, and t output formats.
843 * gdb.base/display.exp: Use 'k' as an undefined format now that
844 'z' is defined.
845
846 2013-07-24 Doug Evans <dje@google.com>
847
848 * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
849 "--" to switch.
850
851 2013-07-24 Yao Qi <yao@codesourcery.com>
852
853 * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
854 host.
855 * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons):
856 Likewise. If host is remote, copy ${binfile} to host.
857
858 2013-07-23 Yao Qi <yao@codesourcery.com>
859
860 * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
861 message.
862
863 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
864
865 * gdb.base/disp-step-syscall.exp: Add svc and swi syscall
866 instructions and enable disp-step-syscall for arm targets.
867
868 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
869
870 * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
871 assembler errors on arm.
872 * gdb.dwarf2/mac-fileno.S: Likewise.
873 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
874 * gdb.dwarf2/pr13961.S: Likewise.
875
876 2013-07-19 Hui Zhu <hui@codesourcery.com>
877
878 PR gdb/15692
879 * gdb.mi/mi-dprintf.exp: Add double quotes test.
880
881 2013-07-19 Yao Qi <yao@codesourcery.com>
882
883 * gdb.trace/read-memory.exp (test_from_remote): Update test.
884 (teset_from_exec): Likewise.
885
886 2013-07-19 Yao Qi <yao@codesourcery.com>
887
888 * gdb.trace/read-memory.c: New.
889 * gdb.trace/read-memory.exp: New.
890
891 2013-07-19 Yao Qi <yao@codesourcery.com>
892
893 * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
894 $dest to link options if host is remote. Move the
895 generated file to $dest.a on host if host is remote.
896
897 2013-07-18 Will Newton <will.newton@linaro.org>
898
899 * gdb.threads/tls-nodebug.c: Call pthread_testcancel
900 to ensure the test is linked against pthreads.
901 * gdb.threads/tls-var-main.c: Likewise.
902 * gdb.threads/tls-shared.c: Likewise.
903
904 2013-07-18 Yao Qi <yao@codesourcery.com>
905
906 * lib/future.exp (gdb_default_target_compile): Use tail name
907 of $destfile as the output name of compile. Move the
908 generated file to $destfile on build.
909
910 2013-07-18 Yao Qi <yao@codesourcery.com>
911
912 * lib/gdb.exp (gdb_compile): Set
913 gdb_saved_set_unbuffered_mode_obj to
914 set_unbuffered_mode_saved.o if host is remote. Invoke
915 remote_download to copy $unbuf_obj to host.
916
917 2013-07-17 Doug Evans <dje@google.com>
918
919 * gdb.python/py-frame-args.c: New file.
920 * gdb.python/py-frame-args.py: New file.
921 * gdb.python/py-frame-args.exp New file.
922
923 2013-07-16 Andrew Burgess <aburgess@broadcom.com>
924
925 * gdb.base/printcmds.exp (test_printf): Add tests for format
926 strings with missing format specifier.
927
928 2013-07-16 Tom Tromey <tromey@redhat.com>
929
930 * gdb.ada/info_types.exp: Use standard_testfile.
931
932 2013-07-16 Tom Tromey <tromey@redhat.com>
933
934 * gdb.mi/mi-basics.exp: Use standard_output_file.
935 (test_dir_specification, test_cwd_specification)
936 (test_path_specification): Use testsubdir, not subdir and objdir.
937
938 2013-07-16 Tom Tromey <tromey@redhat.com>
939
940 * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
941
942 2013-07-09 Joel Brobecker <brobecker@adacore.com>
943
944 * gdb.ada/small_reg_param.exp: Accept optional entry value
945 for parameter "w".
946
947 2013-07-09 Joel Brobecker <brobecker@adacore.com>
948
949 * gdb.ada/small_reg_param.exp: Remove trailing space.
950
951 2013-07-09 Doug Evans <dje@google.com>
952
953 * gdb.base/default.exp: Update expected output of "show print array"
954 and "show print pretty".
955
956 2013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
957
958 * gdb.threads/wp-replication.exp: Stop counting available hardware
959 watchpoints after NR_THREADS iterations.
960
961 2013-07-08 Andrew Burgess <aburgess@broadcom.com>
962
963 * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
964
965 2013-07-07 Yao Qi <yao@codesourcery.com>
966
967 * boards/native-gdbserver.exp: Move invoke of
968 process_multilib_options to gdbserver-base.exp.
969 Move set_board_info 'compiler', 'gdb,noinferiorio',
970 'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
971 gdbserver-base.exp.
972 Move proc ${board}_download, ${board}_upload and
973 ${board}_file to gdbserver-base.exp.
974 * boards/native-extended-gdbserver.exp: Likewise.
975 * boards/native-stdio-gdbserver.exp: Likewise.
976 * boards/gdbserver-base.exp: New file.
977
978 2013-07-05 Luis Machado <lgustavo@codesourcery.com>
979
980 * gdb.base/dump.exp: Remove arch-specific tests and do a
981 generic data address check to set is64bitonly correctly.
982
983 2013-07-05 Luis Machado <lgustavo@codesourcery.com>
984
985 * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
986 the register number instead of expecting only 0.
987
988 2013-07-05 Will Newton <will.newton@linaro.org>
989
990 * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
991 in asm syntax to allow building on ARM.
992
993 2013-07-05 Yao Qi <yao@codesourcery.com>
994
995 * boards/local-remote-host.exp: Remove obsolete comments.
996 * boards/native-extended-gdbserver.exp: Likewise.
997 * boards/native-gdbserver.exp: Likewise.
998 * boards/native-stdio-gdbserver.exp: Likewise.
999
1000 2013-07-04 Andrew Burgess <aburgess@broadcom.com>
1001
1002 * gdb.dwarf2/dw2-reg-undefined.exp: New file.
1003 * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
1004 * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
1005
1006 2013-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1007
1008 * gdb.base/break-on-linker-gcd-function.exp: Replace
1009 prepare_for_testing by build_executable_from_specs and clean_restart.
1010
1011 2013-06-27 Tom Tromey <tromey@redhat.com>
1012
1013 * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
1014 gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
1015 gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
1016 gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
1017 gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
1018 gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
1019 gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
1020 gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
1021 gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
1022 gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
1023 gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
1024 Use standard_testfile, standard_output_file, prepare_for_testing,
1025 clean_restart.
1026
1027 2013-06-27 Tom Tromey <tromey@redhat.com>
1028
1029 * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
1030 gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
1031 gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
1032 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
1033 gdb.base/shreloc.exp, gdb.base/sigall.exp,
1034 gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
1035 gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
1036 gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
1037 gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
1038 gdb.base/signull.exp, gdb.base/sigrepeat.exp,
1039 gdb.base/sigstep.exp, gdb.base/sizeof.exp,
1040 gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
1041 gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
1042 gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
1043 gdb.base/solib-weak.exp, gdb.base/source.exp,
1044 gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
1045 gdb.base/stap-probe.exp, gdb.base/start.exp,
1046 gdb.base/step-break.exp, gdb.base/step-bt.exp,
1047 gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
1048 gdb.base/step-test.exp, gdb.base/structs.exp,
1049 gdb.base/structs2.exp, gdb.base/structs3.exp,
1050 gdb.base/symbol-without-target_section.exp: Use standard_testfile,
1051 standard_output_file, prepare_for_testing, clean_restart.
1052
1053 2013-06-27 Tom Tromey <tromey@redhat.com>
1054
1055 * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
1056 gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
1057 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
1058 gdb.base/pending.exp, gdb.base/permissions.exp,
1059 gdb.base/pie-execl.exp, gdb.base/pointers.exp,
1060 gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
1061 gdb.base/printcmds.exp, gdb.base/prologue.exp,
1062 gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
1063 gdb.base/ptype.exp, gdb.base/randomize.exp,
1064 gdb.base/readline-ask.exp, gdb.base/recpar.exp,
1065 gdb.base/recurse.exp, gdb.base/relativedebug.exp,
1066 gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
1067 gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
1068 standard_testfile, standard_output_file, prepare_for_testing,
1069 clean_restart.
1070
1071 2013-06-27 Tom Tromey <tromey@redhat.com>
1072
1073 * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
1074 gdb.base/huge.exp, gdb.base/included.exp,
1075 gdb.base/inferior-died.exp, gdb.base/infnan.exp,
1076 gdb.base/info-fun.exp, gdb.base/info-macros.exp,
1077 gdb.base/info-os.exp, gdb.base/info-proc.exp,
1078 gdb.base/info-target.exp, gdb.base/infoline.exp,
1079 gdb.base/interp.exp, gdb.base/interrupt.exp,
1080 gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
1081 gdb.base/kill-after-signal.exp, gdb.base/label.exp,
1082 gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
1083 gdb.base/logical.exp, gdb.base/long_long.exp,
1084 gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
1085 gdb.base/memattr.exp, gdb.base/mips_pro.exp,
1086 gdb.base/miscexprs.exp, gdb.base/morestack.exp,
1087 gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
1088 standard_testfile, standard_output_file, prepare_for_testing,
1089 clean_restart.
1090
1091 2013-06-27 Tom Tromey <tromey@redhat.com>
1092
1093 * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
1094 gdb.base/enumval.exp, gdb.base/environ.exp,
1095 gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
1096 gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
1097 gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
1098 gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
1099 gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
1100 gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
1101 gdb.base/fullname.exp, gdb.base/funcargs.exp,
1102 gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
1103 gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
1104 gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
1105 gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
1106 gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
1107 gdb.base/gnu_vector.exp: Use standard_testfile,
1108 standard_output_file, prepare_for_testing, clean_restart.
1109
1110 2013-06-27 Tom Tromey <tromey@redhat.com>
1111
1112 * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
1113 gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
1114 gdb.base/call-strs.exp, gdb.base/callexit.exp,
1115 gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
1116 gdb.base/catch-syscall.exp, gdb.base/charset.exp,
1117 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
1118 gdb.base/code-expr.exp, gdb.base/code_elim.exp,
1119 gdb.base/commands.exp, gdb.base/completion.exp,
1120 gdb.base/complex.exp, gdb.base/cond-expr.exp,
1121 gdb.base/condbreak.exp, gdb.base/consecutive.exp,
1122 gdb.base/constvars.exp, gdb.base/corefile.exp,
1123 gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
1124 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
1125 gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
1126 gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
1127 gdb.base/dup-sect.exp: Use standard_testfile,
1128 standard_output_file, prepare_for_testing, clean_restart.
1129
1130 2013-06-27 Tom Tromey <tromey@redhat.com>
1131
1132 * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
1133 gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
1134 gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
1135 gdb.base/async-shell.exp, gdb.base/async.exp,
1136 gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
1137 gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
1138 gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
1139 gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
1140 gdb.base/break-entry.exp, gdb.base/break-interp.exp,
1141 gdb.base/break-on-linker-gcd-function.exp,
1142 gdb.base/breakpoint-shadow.exp: Use standard_testfile,
1143 standard_output_file, prepare_for_testing, clean_restart.
1144
1145 2013-06-26 Yao Qi <yao@codesourcery.com>
1146
1147 * gdb.trace/mi-trace-frame-collected.exp: New.
1148
1149 2013-06-25 Yao Qi <yao@codesourcery.com>
1150
1151 * boards/native-extended-gdbserver.exp: Set board_info
1152 'gdb,predefined_tsv'.
1153 * boards/native-gdbserver.exp: Likewise.
1154 * boards/native-stdio-gdbserver.exp: Likewise.
1155 * gdb.server/ext-attach.exp: Load trace-support.exp. Check
1156 uploaded TSVs if target supports tracing.
1157 * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
1158 tracing and target has predefined tsv.
1159
1160 2013-06-25 Yao Qi <yao@codesourcery.com>
1161 Hui Zhu <hui@codesourcery.com>
1162 Pedro Alves <palves@redhat.com>
1163
1164 PR breakpoints/15075
1165 PR breakpoints/15434
1166 * gdb.base/dprintf-next.c: New file.
1167 * gdb.base/dprintf-next.exp: New file.
1168 * gdb.base/dprintf-non-stop.c: New file.
1169 * gdb.base/dprintf-non-stop.exp: New file.
1170 * gdb.base/dprintf.exp: Don't check "continue" in the output
1171 of "info breakpoints".
1172 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1173 Don't check "continue" in script field.
1174
1175 2013-06-21 Tom Tromey <tromey@redhat.com>
1176
1177 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
1178 name in a test name.
1179
1180 2013-06-20 Yao Qi <yao@codesourcery.com>
1181
1182 * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
1183 and set an action.
1184 (test_trace_unavailable): Test command -data-list-register-values
1185 in the context of traceframe and with option --skip-unavailable.
1186 * gdb.trace/trace-unavailable.c (foo): New.
1187 (main): Call it.
1188 * gdb.mi/gdb2549.exp: Update matching pattern.
1189
1190 2013-06-19 Mike Frysinger <vapier@gentoo.org>
1191
1192 * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
1193 * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
1194 * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
1195 * gdb.arch/i386-sse.c: Call new i386_cpuid function.
1196 * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
1197
1198 2013-06-19 Luis Machado <lgustavo@codesourcery.com>
1199
1200 * gdb.base/subst.exp: Delete default rules before further
1201 tests.
1202
1203 2013-06-19 Yao Qi <yao@codesourcery.com>
1204
1205 * gdb.base/maint.exp: Make the test to command 'maint dump-me'
1206 unsupported if it is not registered.
1207
1208 2013-06-18 Tom Tromey <tromey@redhat.com>
1209
1210 * gdb.base/random-signal.c: New file.
1211 * gdb.base/random-signal.exp: New file.
1212
1213 2013-06-18 Will Newton <will.newton@linaro.org>
1214
1215 * gdb.base/skip.c: Use comma to evaluate results of foo()
1216 and bar() before passing to baz().
1217 * gdb.base/skip.c: baz() now takes one argument instead of
1218 two.
1219
1220 2013-06-18 Tom Tromey <tromey@redhat.com>
1221
1222 * gdb.dwarf2/implptrpiece.exp: New file.
1223 * gdb.dwarf2/implptrconst.exp (d): New variable.
1224 Print d.
1225 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
1226
1227 2013-06-18 Tom Tromey <tromey@redhat.com>
1228
1229 * lib/selftest-support.exp (do_self_tests): Reject remote or
1230 non-native targets.
1231 * gdb.gdb/complaints.exp: Remove check.
1232 * gdb.gdb/observer.exp: Remove check.
1233 * gdb.gdb/xfullpath.exp: Remove check.
1234 * gdb.gdb/complaints.exp: Remove check.
1235
1236 2013-06-07 Pedro Alves <palves@redhat.com>
1237
1238 * boards/native-extended-gdbserver.exp: Remove semicolon.
1239 * config/arm-ice.exp: Likewise.
1240 * config/bfin.exp: Likewise.
1241 * config/cygmon.exp: Likewise.
1242 * config/h8300.exp: Likewise.
1243 * config/monitor.exp: Likewise.
1244 * config/sid.exp: Likewise.
1245 * config/sim.exp: Likewise.
1246 * config/slite.exp: Likewise.
1247 * config/vx.exp: Likewise.
1248 * gdb.arch/i386-bp_permanent.exp: Likewise.
1249 * gdb.asm/asm-source.exp: Likewise.
1250 * gdb.base/args.exp: Likewise.
1251 * gdb.base/attach-pie-misread.exp: Likewise.
1252 * gdb.base/auxv.exp: Likewise.
1253 * gdb.base/bigcore.exp: Likewise.
1254 * gdb.base/bitfields2.exp: Likewise.
1255 * gdb.base/bitfields.exp: Likewise.
1256 * gdb.base/break.exp: Likewise.
1257 * gdb.base/break-interp.exp: Likewise.
1258 * gdb.base/callfuncs.exp: Likewise.
1259 * gdb.base/call-sc.exp: Likewise.
1260 * gdb.base/commands.exp: Likewise.
1261 * gdb.base/corefile.exp: Likewise.
1262 * gdb.base/dbx.exp: Likewise.
1263 * gdb.base/ending-run.exp: Likewise.
1264 * gdb.base/exprs.exp: Likewise.
1265 * gdb.base/funcargs.exp: Likewise.
1266 * gdb.base/hbreak2.exp: Likewise.
1267 * gdb.base/huge.exp: Likewise.
1268 * gdb.base/list.exp: Likewise.
1269 * gdb.base/memattr.exp: Likewise.
1270 * gdb.base/overlays.exp: Likewise.
1271 * gdb.base/printcmds.exp: Likewise.
1272 * gdb.base/recurse.exp: Likewise.
1273 * gdb.base/remotetimeout.exp: Likewise.
1274 * gdb.base/reread.exp: Likewise.
1275 * gdb.base/savedregs.exp: Likewise.
1276 * gdb.base/scope.exp: Likewise.
1277 * gdb.base/sepdebug.exp: Likewise.
1278 * gdb.base/setshow.exp: Likewise.
1279 * gdb.base/setvar.exp: Likewise.
1280 * gdb.base/sigaltstack.exp: Likewise.
1281 * gdb.base/siginfo-addr.exp: Likewise.
1282 * gdb.base/siginfo.exp: Likewise.
1283 * gdb.base/siginfo-obj.exp: Likewise.
1284 * gdb.base/sigrepeat.exp: Likewise.
1285 * gdb.base/sigstep.exp: Likewise.
1286 * gdb.base/structs.exp: Likewise.
1287 * gdb.base/testenv.exp: Likewise.
1288 * gdb.base/twice.exp: Likewise.
1289 * gdb.base/valgrind-db-attach.exp: Likewise.
1290 * gdb.base/valgrind-infcall.exp: Likewise.
1291 * gdb.base/varargs.exp: Likewise.
1292 * gdb.base/watchpoint.exp: Likewise.
1293 * gdb.cp/gdb1355.exp: Likewise.
1294 * gdb.cp/misc.exp: Likewise.
1295 * gdb.disasm/hppa.exp: Likewise.
1296 * gdb.disasm/t01_mov.exp: Likewise.
1297 * gdb.disasm/t02_mova.exp: Likewise.
1298 * gdb.disasm/t03_add.exp: Likewise.
1299 * gdb.disasm/t04_sub.exp: Likewise.
1300 * gdb.disasm/t05_cmp.exp: Likewise.
1301 * gdb.disasm/t06_ari2.exp: Likewise.
1302 * gdb.disasm/t07_ari3.exp: Likewise.
1303 * gdb.disasm/t08_or.exp: Likewise.
1304 * gdb.disasm/t09_xor.exp: Likewise.
1305 * gdb.disasm/t10_and.exp: Likewise.
1306 * gdb.disasm/t11_logs.exp: Likewise.
1307 * gdb.disasm/t12_bit.exp: Likewise.
1308 * gdb.disasm/t13_otr.exp: Likewise.
1309 * gdb.gdb/selftest.exp: Likewise.
1310 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1311 * gdb.mi/mi-reverse.exp: Likewise.
1312 * gdb.pascal/floats.exp: Likewise.
1313 * gdb.python/py-inferior.exp: Likewise.
1314 * gdb.threads/attach-into-signal.exp: Likewise.
1315 * gdb.threads/pthreads.exp: Likewise.
1316 * gdb.threads/thread_events.exp: Likewise.
1317 * gdb.threads/watchthreads.exp: Likewise.
1318 * gdb.trace/actions-changed.exp: Likewise.
1319 * gdb.trace/actions.exp: Likewise.
1320 * gdb.trace/ax.exp: Likewise.
1321 * gdb.trace/backtrace.exp: Likewise.
1322 * gdb.trace/change-loc.exp: Likewise.
1323 * gdb.trace/deltrace.exp: Likewise.
1324 * gdb.trace/disconnected-tracing.exp: Likewise.
1325 * gdb.trace/ftrace.exp: Likewise.
1326 * gdb.trace/infotrace.exp: Likewise.
1327 * gdb.trace/passc-dyn.exp: Likewise.
1328 * gdb.trace/passcount.exp: Likewise.
1329 * gdb.trace/pending.exp: Likewise.
1330 * gdb.trace/qtro.exp: Likewise.
1331 * gdb.trace/range-stepping.exp: Likewise.
1332 * gdb.trace/report.exp: Likewise.
1333 * gdb.trace/save-trace.exp: Likewise.
1334 * gdb.trace/status-stop.exp: Likewise.
1335 * gdb.trace/strace.exp: Likewise.
1336 * gdb.trace/tfile.exp: Likewise.
1337 * gdb.trace/tfind.exp: Likewise.
1338 * gdb.trace/trace-break.exp: Likewise.
1339 * gdb.trace/tracecmd.exp: Likewise.
1340 * gdb.trace/trace-mt.exp: Likewise.
1341 * gdb.trace/tspeed.exp: Likewise.
1342 * gdb.trace/tsv.exp: Likewise.
1343 * gdb.trace/while-stepping.exp: Likewise.
1344 * lib/gdb.exp: Likewise.
1345 * lib/gdbserver-support.exp: Likewise.
1346 * lib/java.exp: Likewise.
1347 * lib/mi-support.exp: Likewise.
1348 * lib/pascal.exp: Likewise.
1349 * lib/prompt.exp: Likewise.
1350 * lib/trace-support.exp: Likewise.
1351
1352 2013-06-07 Pedro Alves <palves@redhat.com>
1353
1354 * gdb.ada/info_types.c: Fix formating in copyright header.
1355 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
1356 * gdb.base/float.c: Likewise.
1357 * gdb.base/inferior-died.c: Likewise.
1358 * gdb.base/interp.c: Likewise.
1359 * gdb.base/jit-main.c: Likewise.
1360 * gdb.base/jit-solib.c: Likewise.
1361 * gdb.base/long_long.c: Likewise.
1362 * gdb.base/longjmp.c: Likewise.
1363 * gdb.base/nextoverexit.c: Likewise.
1364 * gdb.base/pr11022.c: Likewise.
1365 * gdb.base/prelink-lib.c: Likewise.
1366 * gdb.base/prelink.c: Likewise.
1367 * gdb.base/prologue.c: Likewise.
1368 * gdb.base/restore.c: Likewise.
1369 * gdb.base/sigchld.c: Likewise.
1370 * gdb.base/solib-search-lib1.c: Likewise.
1371 * gdb.base/solib-search-lib2.c: Likewise.
1372 * gdb.base/solib-search.c: Likewise.
1373 * gdb.base/solib-search.h: Likewise.
1374 * gdb.base/whatis.c: Likewise.
1375 * gdb.cp/abstract-origin.cc: Likewise.
1376 * gdb.cp/anon-struct.cc: Likewise.
1377 * gdb.cp/baseenum.cc: Likewise.
1378 * gdb.cp/bs15503.cc: Likewise.
1379 * gdb.cp/call-c-1.c: Likewise.
1380 * gdb.cp/call-c.cc: Likewise.
1381 * gdb.cp/class2.cc: Likewise.
1382 * gdb.cp/classes.cc: Likewise.
1383 * gdb.cp/cttiadd.cc: Likewise.
1384 * gdb.cp/cttiadd1.cc: Likewise.
1385 * gdb.cp/cttiadd2.cc: Likewise.
1386 * gdb.cp/cttiadd3.cc: Likewise.
1387 * gdb.cp/derivation.cc: Likewise.
1388 * gdb.cp/derivation2.cc: Likewise.
1389 * gdb.cp/dispcxx.cc: Likewise.
1390 * gdb.cp/exception.cc: Likewise.
1391 * gdb.cp/gdb2384-base.cc: Likewise.
1392 * gdb.cp/gdb2384-base.h: Likewise.
1393 * gdb.cp/gdb2384.cc: Likewise.
1394 * gdb.cp/gdb2495.cc: Likewise.
1395 * gdb.cp/mb-inline.h: Likewise.
1396 * gdb.cp/mb-inline1.cc: Likewise.
1397 * gdb.cp/mb-inline2.cc: Likewise.
1398 * gdb.cp/member-name.cc: Likewise.
1399 * gdb.cp/member-ptr.cc: Likewise.
1400 * gdb.cp/misc.cc: Likewise.
1401 * gdb.cp/namespace1.cc: Likewise.
1402 * gdb.cp/nextoverthrow.cc: Likewise.
1403 * gdb.cp/pr-574.cc: Likewise.
1404 * gdb.cp/pr9631.cc: Likewise.
1405 * gdb.cp/printmethod.cc: Likewise.
1406 * gdb.cp/psmang1.cc: Likewise.
1407 * gdb.cp/psmang2.cc: Likewise.
1408 * gdb.cp/psymtab-parameter.cc: Likewise.
1409 * gdb.cp/ptype-flags.cc: Likewise.
1410 * gdb.cp/ref-params.cc: Likewise.
1411 * gdb.cp/ref-types.cc: Likewise.
1412 * gdb.cp/smartp.cc: Likewise.
1413 * gdb.cp/try_catch.cc: Likewise.
1414 * gdb.cp/userdef.cc: Likewise.
1415 * gdb.cp/using-crash.cc: Likewise.
1416 * gdb.cp/virtfunc.cc: Likewise.
1417 * gdb.cp/virtfunc2.cc: Likewise.
1418 * gdb.dwarf2/callframecfa.S: Likewise.
1419 * gdb.dwarf2/dw2-ranges.c: Likewise.
1420 * gdb.dwarf2/dw2-ranges2.c: Likewise.
1421 * gdb.dwarf2/dw2-ranges3.c: Likewise.
1422 * gdb.dwarf2/dw2-restore.S: Likewise.
1423 * gdb.dwarf2/pieces.S: Likewise.
1424 * gdb.dwarf2/valop.S: Likewise.
1425 * gdb.java/jnpe.java: Likewise.
1426 * gdb.mi/mi-stepn.c: Likewise.
1427 * gdb.mi/mi-var-cp.cc: Likewise.
1428 * gdb.mi/mi-var-rtti.cc: Likewise.
1429 * gdb.mi/ns-stale-regcache.c: Likewise.
1430 * gdb.mi/pr11022.c: Likewise.
1431 * gdb.mi/solib-lib.c: Likewise.
1432 * gdb.mi/solib-main.c: Likewise.
1433 * gdb.python/py-arch.c: Likewise.
1434 * gdb.python/py-block.c: Likewise.
1435 * gdb.python/py-breakpoint.c: Likewise.
1436 * gdb.python/py-events.c: Likewise.
1437 * gdb.python/py-evthreads.c: Likewise.
1438 * gdb.python/py-explore.c: Likewise.
1439 * gdb.python/py-explore.cc: Likewise.
1440 * gdb.python/py-finish-breakpoint.c: Likewise.
1441 * gdb.python/py-finish-breakpoint2.cc: Likewise.
1442 * gdb.python/py-symbol.c: Likewise.
1443 * gdb.threads/execl.c: Likewise.
1444 * gdb.threads/execl1.c: Likewise.
1445
1446 2013-06-07 Will Newton <will.newton@linaro.org>
1447
1448 * gdb.base/long_long.exp: Fix ARM EABI target glob.
1449
1450 2013-06-07 Will Newton <will.newton@linaro.org>
1451
1452 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
1453 and "starting".
1454
1455 2013-06-07 Will Newton <will.newton@linaro.org>
1456
1457 * gdb.cp/anon-struct.exp: Conditionalize constructor and
1458 destructor prototypes for ARM ABI.
1459 * gdb.cp/m-static.exp: Likewise.
1460
1461 2013-06-07 Yao Qi <yao@codesourcery.com>
1462
1463 * gdb.trace/mi-trace-unavailable.exp: New.
1464 * gdb.trace/trace-unavailable.c: New.
1465
1466 2013-06-06 Doug Evans <dje@google.com>
1467
1468 * gdb.cp/derivation.exp: Make tests have unique names.
1469
1470 2013-06-06 Tom Tromey <tromey@redhat.com>
1471
1472 * gdb.base/dump.exp (capture_value): Don't put expression into
1473 test name if arguments passed in.
1474 Rename a couple more tests to make them unique.
1475
1476 2013-06-06 Tom Tromey <tromey@redhat.com>
1477
1478 * gdb.base/break-always.exp: Explicitly specify test name.
1479
1480 2013-06-05 Doug Evans <dje@google.com>
1481 Keith Seitz <keiths@redhat.com>
1482
1483 * gdb.cp/derivation2.cc: New file.
1484 * gdb.cp/derivation.cc (main): Call foo2.
1485 * gdb.cp/derivation.exp: Add tests for typedefs in another
1486 file, and when there's an active block.
1487
1488 2013-06-05 Luis Machado <lgustavo@codesourcery.com>
1489
1490 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
1491 from targets that use function descriptors in the virtual tables.
1492 Handle presence of dot symbols.
1493
1494 2013-06-04 Gary Benson <gbenson@redhat.com>
1495
1496 * gdb.base/break-probes.exp: New file.
1497 * gdb.base/break-probes.c: Likewise.
1498 * gdb.base/break-probes-solib.c: Likewise.
1499 * gdb.base/info-shared.exp: New file.
1500 * gdb.base/info-shared.c: Likewise.
1501 * gdb.base/info-shared-solib1.c: Likewise.
1502 * gdb.base/info-shared-solib2.c: Likewise.
1503
1504 2013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1505 Gary Benson <gbenson@redhat.com>
1506
1507 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
1508 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
1509 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
1510 to be set to "no" to indicate that no ld.so copy should be made.
1511 * gdb.base/break-interp.exp (solib_bp): New constant.
1512 (reach_1): Use the above instead of "_dl_debug_state".
1513 (test_attach): Likewise.
1514 (test_ld): Likewise.
1515 * gdb.threads/dlopen-libpthread.exp: New file.
1516 * gdb.threads/dlopen-libpthread.c: Likewise.
1517 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
1518 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
1519
1520 2013-05-30 Yao Qi <yao@codesourcery.com>
1521
1522 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1523 Add a test that no MI notification is emitted when executing
1524 -exec-arguments.
1525
1526 2013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1527
1528 PR testsuite/12649
1529 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
1530 $mi_gdb_prompt expectation by mi_expect_stop.
1531 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
1532 (mi info dprintf second time): Replace them by mi_send_resuming_command
1533 and mi_expect_stop.
1534
1535 2013-05-24 Gary Benson <gbenson@redhat.com>
1536
1537 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
1538 backslash.
1539 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
1540 backslashes.
1541 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
1542 backslash.
1543
1544 2013-05-24 Yao Qi <yao@codesourcery.com>
1545
1546 * gdb.trace/tfile.exp: Test inferior and thread.
1547
1548 2013-05-24 Yao Qi <yao@codesourcery.com>
1549 Pedro Alves <palves@redhat.com>
1550
1551 * gdb.base/range-stepping.exp: Skip the rest of tests if the
1552 test fails.
1553 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1554 Return 0 if the test passes, otherwise return 1.
1555
1556 2013-05-23 Doug Evans <dje@google.com>
1557
1558 * boards/fission-dwp.exp: New file.
1559
1560 2013-05-23 Yao Qi <yao@codesourcery.com>
1561 Pedro Alves <palves@redhat.com>
1562
1563 * gdb.base/range-stepping.c: New file.
1564 * gdb.base/range-stepping.exp: New file.
1565 * gdb.trace/range-stepping.c: New file.
1566 * gdb.trace/range-stepping.exp: New file.
1567 * lib/range-stepping-support.exp: New file.
1568
1569 2013-05-22 Tom Tromey <tromey@redhat.com>
1570
1571 * gdb.cp/class2.cc (main): New local 'aref'.
1572 * gdb.cp/class2.exp: Check printing of 'aref'.
1573
1574 2013-05-22 Doug Evans <dje@google.com>
1575
1576 * gdb.threads/wp-replication.c (main): Insert some code at the start
1577 to ensure the breakpoint on main is only hit once. Fix comment.
1578
1579 2013-05-21 Keith Seitz <keiths@redhat.com>
1580 Pedro Alves <palves@redhat.com>
1581
1582 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
1583 gdb_expect.
1584 Add test to flush the remaining input buffer so that this
1585 file passes testsuite/12649.
1586
1587 2013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1588
1589 * gdb.base/catch-signal-fork.exp: New file.
1590 * gdb.base/catch-signal-fork.c: New file.
1591
1592 2013-05-21 Sterling Augustine <saugustine@google.com>
1593
1594 * boards/remote-stdio-gdbserver.exp: New file.
1595
1596 2013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1597
1598 PR testsuite/12649
1599 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
1600 racy matches.
1601
1602 2013-05-21 Christian Groessler <chris@groessler.org>
1603
1604 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
1605 since it's not supported in all shells.
1606
1607 2013-05-21 Hui Zhu <hui@codesourcery.com>
1608
1609 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
1610 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
1611
1612 2013-05-20 Doug Evans <dje@google.com>
1613
1614 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
1615 (_handle_DW_TAG): Use it.
1616 (cu, tu): Replace parameters is_64, version, addr_size with options.
1617 All callers updated. Add Fission support.
1618 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
1619 * gdb.dwarf2/method-ptr.exp: Ditto.
1620 * gdb.dwarf2/nostaticblock.exp: Ditto.
1621 * gdb.dwarf2/subrange.exp: Ditto.
1622 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
1623
1624 2013-05-20 Tom Tromey <tromey@redhat.com>
1625
1626 * gdb.gdb/python-selftest.exp: New file.
1627
1628 2013-05-20 Doug Evans <dje@google.com>
1629
1630 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
1631 -fdebug-types-section.
1632
1633 2013-05-20 Joel Brobecker <brobecker@adacore.com>
1634
1635 * gdb.ada/float_param: New testcase.
1636
1637 2013-05-17 Doug Evans <dje@google.com>
1638
1639 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
1640 Add tests for "maint check-symtabs", "maint expand-symtabs".
1641
1642 * gdb.base/maint.exp: Remove testing of individual maint command
1643 help output.
1644
1645 2013-05-16 Pedro Alves <palves@redhat.com>
1646
1647 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
1648 comment. Use gdb_test_no_output.
1649
1650 2013-05-16 Joel Brobecker <brobecker@adacore.com>
1651
1652 * gdb.ada/complete.exp: Add test verifying completion using
1653 the "tab" key.
1654
1655 2013-05-15 Keith Seitz <keiths@redhat.com>
1656
1657 * gdb.base/filesym.exp: New completer test.
1658 * gdb.base/filesym.c: New file.
1659
1660 2013-05-15 Pedro Alves <palves@redhat.com>
1661
1662 * gdb.base/fixsection.c: Remove attribution.
1663 * gdb.base/watch-read.exp: Ditto.
1664
1665 2013-05-13 Tom Tromey <tromey@redhat.com>
1666
1667 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
1668 size and change type sizes to 4 bytes.
1669
1670 2013-05-13 Tom Tromey <tromey@redhat.com>
1671
1672 * gdb.base/exprs.exp (test_expr): Add regression test.
1673 * gdb.base/exprs.c (null_t_struct): New global.
1674
1675 2013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
1676
1677 * gdb.base/default.exp: Disable history saving.
1678 * gdb.base/setshow.exp: Likewise.
1679
1680 2013-05-10 Pedro Alves <palves@redhat.com>
1681
1682 PR remote/15455
1683
1684 * gdb.trace/qtro.c: New file.
1685 * gdb.trace/qtro.exp: New file.
1686
1687 2013-05-10 Phil Muldoon <pmuldoon@redhat.com>
1688
1689 * gdb.python/py-framefilter.py: New File.
1690 * gdb.python/py-framefilter-mi.exp: Ditto.
1691 * gdb.python/py-framefilter.c: Ditto.
1692 * gdb.python/py-framefilter-mi.exp: Ditto.
1693 * gdb.python/py-framefilter-mi.c: Ditto,
1694 * gdb.python/py-framefilter-gdb.py.in: Ditto.
1695
1696 2013-05-08 Tom Tromey <tromey@redhat.com>
1697
1698 * gdb.base/solib-search.exp: Set test name for "set
1699 solib-search-path" test.
1700
1701 2013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
1702
1703 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
1704 (set_a_tracepoint): Set tracepoint before prologue.
1705 (run_trace_experiment): Test setup_tracepoints and 'break end'
1706 in it.
1707 (trace_buffer_normal): Remove.
1708 (gdb_trace_circular_tests): Remove. Move tests to...
1709 (top level): ...here. Call 'runto_main' before checking for
1710 trace support. Use commands to check the support for circular
1711 trace buffer and changing of trace buffer size. Add test
1712 to calculate size of single frame. Use this size to
1713 calculate the size of trace buffer. Use 'tfind pc func9'
1714 instead of 'tfind 9'. Use 'with_test_prefix'.
1715
1716 2013-05-07 Tom Tromey <tromey@redhat.com>
1717
1718 * lib/selftest-support.exp: New file.
1719 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1720 do_self_tests.
1721 (setup_test, find_gdb): Remove.
1722 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
1723 do_self_tests.
1724 (setup_test, find_gdb): Remove.
1725 (test_observer): Don't call setup_test. Remove argument.
1726 * gdb.gdb/selftest.exp: Load selftest-support.exp.
1727 (find_gdb): Remove.
1728 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1729 do_self_tests.
1730 (setup_test, find_gdb): Remove.
1731 (test_with_self): Don't call setup_test. Remove argument.
1732
1733 2013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1734
1735 * gdb.arch/system-gcore.exp: Remove.
1736 * gdb.arch/gcore.c: Remove.
1737 * gdb.base/gcore.exp: Add "info reg system".
1738
1739 2013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
1740
1741 PR breakpoints/15413:
1742 * gdb.base/pending.exp: Add test for completion of the "condition"
1743 command for pending breakpoints.
1744 * gdb.linespec/linespec.ex: Add test for completion of the
1745 "condition" command when dealing with multiple locations.
1746
1747 2013-05-07 Luis Machado <lgustavo@codesourcery.com>
1748
1749 * gdb.threads/wp-replication.c: New file.
1750 * gdb.threads/wp-replication.exp: New file.
1751
1752 2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
1753
1754 * gdb.xml/tdesc-regs.exp: Add case for nios2.
1755
1756 2013-05-06 Doug Evans <dje@google.com>
1757
1758 * gdb.base/solib-search-lib1.c: New file.
1759 * gdb.base/solib-search-lib2.c: New file.
1760 * gdb.base/solib-search.c: New file.
1761 * gdb.base/solib-search.h: New file.
1762 * gdb.base/solib-search.exp: New file.
1763
1764 * lib/gdb.exp (gdb_core_cmd): New function.
1765 * gdb.arch/system-gcore.exp: Use it.
1766 * gdb.arch/vsx-regs.exp: Ditto.
1767 * gdb.base/gcore.exp: Ditto.
1768 * gdb.threads/gcore-thread.exp: Ditto.
1769
1770 * gdb.reverse/shr.h: New file.
1771 * gdb.reverse/shr1.c: New file.
1772 * gdb.reverse/shr2.c: #include "shr.h".
1773 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
1774 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
1775 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
1776 Update tests using sleep/printf to use shr2.sl instead.
1777 * gdb.reverse/solib-reverse.exp: Ditto.
1778
1779 2013-05-06 Tom Tromey <tromey@redhat.com>
1780
1781 * gdb.dwarf2/implptrconst.c: New file.
1782 * gdb.dwarf2/implptrconst.exp: New file.
1783 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
1784 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
1785 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
1786
1787 2013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1788
1789 * gdb.base/catch-sig.c (main): Raise SIGINT.
1790 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
1791
1792 2013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
1793
1794 * status-stop.exp (test_tstart_tstart): Check for error
1795 returned by the second 'tstart' command.
1796
1797 2013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
1798
1799 * gdb.xml/maint_print_struct.exp: New file.
1800 * gdb.xml/maint_print_struct.xml: New file.
1801
1802 2013-04-25 Tom Tromey <tromey@redhat.com>
1803
1804 * gdb.dwarf2/nostaticblock.exp: New file.
1805
1806 2013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
1807
1808 PR gdb/10462
1809 * gdb.base/setshow.exp: Add test case.
1810
1811 2013-04-23 Hui Zhu <hui@codesourcery.com>
1812
1813 PR gdb/15293
1814 * gdb.base/dprintf.exp: Add ignore command.
1815
1816 2013-04-23 Hui Zhu <hui@codesourcery.com>
1817
1818 PR gdb/15165
1819 * gdb.base/save-bp.exp: Add test for dprintf.
1820
1821 2013-04-22 Tom Tromey <tromey@redhat.com>
1822
1823 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
1824 notice_open_fds.
1825
1826 2013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1827
1828 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
1829 ldflags.
1830
1831 2013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1832
1833 * gdb.arch/arm-bl-branch-dest.c: New file.
1834 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
1835
1836 2013-04-19 Vladimir Kargov <kargov@gmail.com>
1837 Pedro Alves <palves@redhat.com>
1838
1839 * gdb.arch/i386-float.S: New file.
1840 * gdb.arch/i386-float.exp: New file.
1841
1842 2013-04-18 Luis Machado <lgustavo@codesourcery.com>
1843
1844 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
1845 type void *.
1846
1847 2013-04-17 Doug Evans <dje@google.com>
1848
1849 * lib/dwarf.exp (Dwarf): New proc "tu".
1850 * gdb.dwarf2/missing-sig-type.exp: New file.
1851
1852 2013-04-15 Siva Chandra Reddy <sivachandra@google.com>
1853
1854 Add option to link testcases with Pthreads library when
1855 using 'prepare_for_testing' in tests.
1856
1857 * lib/gdb.exp (build_executable_from_specs): Use
1858 gdb_compile_pthreads to compile if option "pthreads" is
1859 specified.
1860
1861 2013-04-15 Tom Tromey <tromey@redhat.com>
1862
1863 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
1864
1865 2013-04-15 Tom Tromey <tromey@redhat.com>
1866
1867 * gdb.base/default.exp: Update for $_exception.
1868 * gdb.cp/exceptprint.cc: New file.
1869 * gdb.cp/exceptprint.exp: New file.
1870 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
1871
1872 2013-04-15 Tom Tromey <tromey@redhat.com>
1873
1874 * gdb.cp/typeid.cc: New file.
1875 * gdb.cp/typeid.exp: New file.
1876
1877 2013-04-15 Tom Tromey <tromey@redhat.com>
1878
1879 * gdb.cp/exception.exp: Add "catch rethrow" tests.
1880
1881 2013-04-13 Yao Qi <yao@codesourcery.com>
1882
1883 * gdb.base/completion.exp: Test completion of command
1884 'target ctf' if target ctf is supported.
1885
1886 2013-04-10 Pedro Alves <palves@redhat.com>
1887
1888 * gdb.base/completion.exp: Test "set height", "set listsize" and
1889 "set trace-buffer-size" completion.
1890 * gdb.base/setshow.exp: Test "set height unlimited".
1891 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
1892 unlimited".
1893
1894 2013-04-10 Yao Qi <yao@codesourcery.com>
1895
1896 * gdb.trace/actions.exp: Save trace data to CTF.
1897 Change to ctf target if GDB supports, read CTF data in ctf
1898 target, and check the actions of tracepoints.
1899 * gdb.trace/while-stepping.exp: Likewise.
1900 * gdb.trace/report.exp: Test GDB saves trace data to CTF
1901 format and read CTF trace file if GDB supports.
1902 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
1903 target is supported, change to ctf target, read trace data and
1904 check output of command "tstatus".
1905 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
1906 read CTF data by target ctf and call check_tsv.
1907
1908 2013-04-10 Yao Qi <yao@codesourcery.com>
1909
1910 * gdb.trace/actions.exp (check_tracepoint): New.
1911 (top level): Start the tracing and check the actions of
1912 tracepoints. Save trace data to tfile format. Restart GDB
1913 and read trace file in tfile target. Check the actions of
1914 tracepoints again.
1915 * gdb.trace/while-stepping.exp: Likewise.
1916
1917 2013-04-10 Yao Qi <yao@codesourcery.com>
1918
1919 * gdb.trace/report.exp: Use standard_output_file for saved
1920 trace file.
1921
1922 2013-04-10 Hui Zhu <hui@codesourcery.com>
1923
1924 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
1925 (MISCELLANEOUS): Add dprintf-pendshr.sl.
1926 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
1927
1928 2013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1929
1930 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
1931 response.
1932
1933 2013-04-08 Pedro Alves <palves@redhat.com>
1934
1935 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
1936 the location.
1937
1938 2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1939
1940 * gdb.cp/cplabel.exp: Allow empty directory in file reported
1941 for breakpoint location.
1942
1943 2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1944
1945 * gdb.linespec/linespec.exp: Make dir/file:line tests
1946 conditional for non-remote hosts only.
1947
1948 2013-04-04 Stan Shebs <stan@codesourcery.com>
1949 Pedro Alves <palves@redhat.com>
1950
1951 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
1952 * gdb.trace/actions-changed.c: New file.
1953 * gdb.trace/actions-changed.exp: New file.
1954 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
1955 (gdb_trace_setactions_command): ... this. Add "actions_command"
1956 parameter, and handle it.
1957 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
1958
1959 2013-04-04 Yao Qi <yao@codesourcery.com>
1960
1961 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
1962 'step'.
1963
1964 2013-04-03 Yao Qi <yao@codesourcery.com>
1965
1966 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
1967 "tfile-basic.tf".
1968 (test_tfind_tfile): Likewise.
1969
1970 2013-04-03 Yao Qi <yao@codesourcery.com>
1971
1972 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
1973 "tfile-basic.tf" instead of "basic.tf".
1974 (write_error_trace_file): Pass argument "tfile-error.tf"
1975 instead of "error.tf".
1976 * gdb.trace/tfile.exp: Update tfile names to
1977 "tfile-basic.tf" and "tfile-error.tf".
1978
1979 2013-04-02 Sandra Loosemore <sandra@codesourcery.com>
1980
1981 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
1982 empty directory in file for breakpoint hit.
1983
1984 2013-03-29 Yao Qi <yao@codesourcery.com>
1985
1986 * gdb.base/completion.exp: Test completion of commands
1987 "target core", "target tfile" and "target exec".
1988 * gdb.trace/tfile.exp: Test completion of command
1989 "target tfile".
1990
1991 2013-03-28 Joel Brobecker <brobecker@adacore.com>
1992
1993 * gdb.ada/win_fu_syms: New testcase.
1994
1995 2013-03-28 Doug Evans <dje@google.com>
1996
1997 * gdb.base/maint.exp (maint print statistics): Update expected output.
1998
1999 2013-03-28 Pedro Alves <palves@redhat.com>
2000
2001 PR gdb/15294
2002
2003 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
2004 mean unlimited instead of $arg < 0.
2005 (test_listsize): Remove "listsize of 0 suppresses output" test.
2006 Test that "set listsize 0" ends up with an unlimited listsize.
2007
2008 2013-03-28 Pedro Alves <palves@redhat.com>
2009
2010 * gdb.base/list.exp (last_line): New global.
2011 (last_line_re): New global.
2012 (test_listsize, test_list_function, test_list_forward)
2013 (test_repeat_list_command, test_list_range)
2014 (test_list_filename_and_function): Use them.
2015 * gdb.base/list0.c: Comment the last line of the file with "last
2016 line".
2017
2018 2013-03-28 Pedro Alves <palves@redhat.com>
2019
2020 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
2021 list the whole file.
2022
2023 2013-03-28 Pedro Alves <palves@redhat.com>
2024
2025 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
2026 "set listsize".
2027
2028 2013-03-26 Keith Seitz <keiths@redhat.com>
2029
2030 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
2031 from passing.
2032
2033 2013-03-26 Pedro Alves <palves@redhat.com>
2034
2035 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
2036 until after GDB has run.
2037
2038 2013-03-26 Yao Qi <yao@codesourcery.com>
2039
2040 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
2041 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
2042
2043 2013-03-26 Markus Metzger <markus.t.metzger@intel.com>
2044
2045 * gdb.btrace/enable.exp: Add regression test.
2046
2047 2013-03-25 Tom Tromey <tromey@redhat.com>
2048
2049 * gdb.cp/m-static.exp: Add destructor-printing tests.
2050
2051 2013-03-25 Tom Tromey <tromey@redhat.com>
2052
2053 * gdb.cp/m-static.exp: Add constructor ptype tests.
2054 * gdb.cp/m-static.cc (single_constructor): New class.
2055 (main): Make instance of single_constructor.
2056
2057 2013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2058 Pedro Alves <palves@redhat.com>
2059
2060 * gdb.server/server-kill.c: New file.
2061 * gdb.server/server-kill.exp: New file.
2062
2063 2013-03-21 Pedro Alves <palves@redhat.com>
2064
2065 * gdb.trace/trace-buffer-size.exp (get default buffer size):
2066 Expect $gdb_prompt in gdb_test_multiple.
2067
2068 2013-03-21 Doug Evans <dje@google.com>
2069
2070 * gdb.base/maint.exp: Update tests for per-command stats.
2071
2072 2013-03-21 Tom Tromey <tromey@redhat.com>
2073
2074 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
2075 * gdb.cp/misc.exp: Add test for FILENAME:: case.
2076
2077 2013-03-20 Pedro Alves <palves@redhat.com>
2078
2079 PR gdb/15289
2080
2081 * gdb.base/remote.exp: Test
2082 "set remote hardware-watchpoint-limit -1",
2083 "set remote hardware-breakpoint-limit -1",
2084 "set remote hardware-watchpoint-limit 2147483647" and
2085 "set remote hardware-breakpoint-limit 2147483647".
2086
2087 2013-03-20 Pedro Alves <palves@redhat.com>
2088 Yao Qi <yao@codesourcery.com>
2089
2090 * gdb.trace/tfile.c: Add comments.
2091 (nonconstglob): New global.
2092 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
2093 global that is not covered by the trace frame. Test
2094 disassembling.
2095
2096 2013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2097
2098 * gdb.base/valgrind-infcall.exp
2099 (continue #$continue_count) <remote connection closed>
2100 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
2101 $valgrind_pid.
2102
2103 2013-03-15 Tom Tromey <tromey@redhat.com>
2104
2105 * gdb.cp/overload.cc (intintfunc): New.
2106 * gdb.cp/overload.exp: Add regression test.
2107
2108 2013-03-15 Yao Qi <yao@codesourcery.com>
2109
2110 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
2111 using with_test_prefix.
2112 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
2113 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
2114 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
2115 * gdb.threads/watchpoint-fork.exp (test): Likewise.
2116 * gdb.base/break-interp.exp (test_core): Likewise.
2117 (test_attach_gdb): Likewise.
2118 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
2119 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2120 Likewise.
2121 * gdb.base/jit-so.exp (one_jit_test): Likewise.
2122 * gdb.base/jit.exp (one_jit_test): Likewise.
2123 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
2124 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
2125 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
2126 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
2127 Likewise.
2128 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2129 Likewise.
2130 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
2131 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
2132 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
2133 (tracepoint_change_loc_2): Likewise.
2134 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
2135 Likewise.
2136 (disconnected_tfind): Likewise.
2137 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
2138 Likewise.
2139 (test_tfind_remote): Likewise.
2140 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
2141 Likewise.
2142 (test_pending_resolved): Likewise.
2143 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
2144 Likewise.
2145 (test_upload_tsv): Likewise.
2146 * gdb.trace/pending.exp (pending_tracepoint_resolved):
2147 Likewise.
2148 (pending_tracepoint_works): Likewise.
2149 * gdb.trace/report.exp (use_collected_data): Likewise.
2150 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
2151 Likewise.
2152 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
2153 * gdb.trace/strace.exp (strace_info_marker): Likewise.
2154 (strace_trace_on_same_addr): Likewise.
2155 (strace_trace_on_diff_addr): Likewise.
2156 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
2157 (gdb_collect_locals_test): Likewise.
2158 (gdb_unavailable_registers_test): Likewise.
2159 (gdb_collect_globals_test): Likewise.
2160
2161 2013-03-15 Yao Qi <yao@codesourcery.com>
2162
2163 * gdb.base/condbreak.exp: Add semicolon back which was removed
2164 by my previous commit.
2165
2166 2013-03-14 Yao Qi <yao@codesourcery.com>
2167
2168 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
2169 'return'.
2170 (gdb_target_monitor, gdb_load): Likewise.
2171 * config/sid.exp (gdb_load): Likewise.
2172 * config/slite.exp (gdb_load): Likewise.
2173 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
2174 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
2175 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
2176 (single_step_until): Likewise.
2177 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2178 * gdb.arch/system-gcore.exp: Likewise.
2179 * gdb.base/bigcore.exp (extract_heap): Likewise.
2180 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
2181 * gdb.base/call-ar-st.exp: Likewise.
2182 * gdb.base/call-rt-st.exp: Likewise.
2183 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
2184 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
2185 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
2186 * gdb.base/corefile.exp: Likewise.
2187 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
2188 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
2189 * gdb.base/fixsection.exp: Likewise.
2190 * gdb.base/funcargs.exp: Likewise.
2191 * gdb.base/gcore-buffer-overflow.exp: Likewise.
2192 * gdb.base/gcore-relro.exp: Likewise.
2193 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
2194 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
2195 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
2196 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
2197 * gdb.base/list.exp: Likewise.
2198 (set_listsize): Likewise.
2199 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
2200 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
2201 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
2202 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
2203 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
2204 * gdb.base/setvar.exp: Likewise.
2205 (test_set): Likewise.
2206 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
2207 * gdb.base/solib-overlap.exp: Likewise.
2208 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
2209 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
2210 * gdb.base/watchpoint.exp (initialize): Likewise.
2211 (test_simple_watchpoint): Likewise.
2212 (test_disabling_watchpoints): Likewise.
2213 (test_watchpoint_triggered_in_syscall): Likewise.
2214 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
2215 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
2216 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
2217 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
2218 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
2219 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
2220 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2221 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2222 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
2223 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
2224 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2225 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
2226 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
2227 * gdb.mi/gdb792.exp: Likewise.
2228 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
2229 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
2230 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
2231 * gdb.threads/gcore-thread.exp: Likewise.
2232 (load_core): Likewise.
2233 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
2234 (test_startup, check_control_c): Likewise.
2235 * gdb.threads/sigstep-threads.exp: Likewise.
2236 * gdb.threads/thread_check.exp: Likewise.
2237 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
2238 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
2239 (set_a_tracepoint, trace_buffer_normal): Likewise.
2240 (gdb_trace_circular_tests): Likewise.
2241 * gdb.trace/collection.exp: Likewise.
2242 * gdb.trace/disconnected-tracing.exp: Likewise.
2243 * gdb.trace/infotrace.exp: Likewise.
2244 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2245 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2246 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
2247 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
2248 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
2249 * gdb.trace/stap-trace.exp: Likewise.
2250 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
2251 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
2252 * gdb.trace/trace-buffer-size.exp: Likewise.
2253 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
2254 * gdb.trace/unavailable.exp: Likewise.
2255 * gdb.trace/while-dyn.exp: Likewise.
2256 * lib/fortran.exp (set_lang_fortran): Likewise.
2257 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
2258 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
2259 (default_gdb_start, get_compiler_info): Likewise.
2260 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
2261 (get_debug_format, setup_xfail_format): Likewise.
2262 (rerun_to_main, gdb_skip_float_test): Likewise.
2263 (build_id_debug_filename_get, get_remotetimeout): Likewise.
2264 * lib/java.exp (set_lang_java): Likewise.
2265 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
2266 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
2267 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
2268 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
2269 * lib/objc.exp (set_lang_objc): Likewise.
2270 * lib/pascal.exp (set_lang_pascal): Likewise.
2271 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
2272 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
2273 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
2274
2275 2013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
2276
2277 PR c++/15203
2278 PR c++/15210
2279 * gdb.cp/m-static.cc (keepalive_int): New function.
2280 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
2281 * gdb.cp/m-static.exp: New test for `sintvar'.
2282
2283 2013-03-14 Yao Qi <yao@codesourcery.com>
2284
2285 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
2286 of 'tstatus' into tstatus_output.
2287 (top level): Save the trace data to tfile. Read trace file in
2288 tfile target. Check the trace status.
2289
2290 2013-03-13 Yao Qi <yao@codesourcery.com>
2291
2292 * gdb.trace/tsv.exp (check_tsv): New.
2293 (top level): Save a tfile on current trace session. Call
2294 check_tsv on live target. Load the tfile with target tfile
2295 and call check_tsv again.
2296
2297 2013-03-13 Yao Qi <yao@codesourcery.com>
2298
2299 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
2300 Replace some "gdb_test" with "gdb_test_no_output".
2301
2302 2013-03-12 Paul Hilfinger <hilfingr@adacore.com>
2303
2304 * gdb.ada/expr_delims.exp: New file.
2305 * gdb.ada/expr_delims/foo.adb: New file.
2306 * gdb.ada/expr_delims/pck.ads: New file.
2307 * gdb.ada/expr_delims/pck.adb: New file.
2308
2309 2013-03-11 Keith Seitz <keiths@redhat.com>
2310
2311 * watchpoint.exp (test_no_hw_watchpoints): Add test using
2312 both condition and thread. Then delete the watchpoint.
2313
2314 2013-03-11 Christian Himpel <christian.himpel@intel.com>
2315
2316 * Makefile.in: Add btrace testsuite.
2317 * configure: Regenerated.
2318 * configure.ac: Add btrace testsuite.
2319 * gdb.btrace/Makefile.in: New file.
2320 * gdb.btrace/enable.c: New file.
2321 * gdb.btrace/enable.exp: New file.
2322 * gdb.btrace/function_call_history.c: New file.
2323 * gdb.btrace/function_call_history.exp: New file.
2324 * gdb.btrace/instruction_history.c: New file.
2325 * gdb.btrace/instruction_history.exp: New file.
2326 * gdb.btrace/instruction_history.S: New file.
2327 * lib/gdb.exp: Add btrace skip proc.
2328
2329 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2330
2331 Fix entry-values if the callee called a noreturn function.
2332 * gdb.arch/amd64-tailcall-noret.S: New file.
2333 * gdb.arch/amd64-tailcall-noret.c: New file.
2334 * gdb.arch/amd64-tailcall-noret.exp: New file.
2335
2336 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2337
2338 Fix entry-values in C++ across CUs.
2339 * gdb.arch/amd64-tailcall-cxx.exp: New file.
2340 * gdb.arch/amd64-tailcall-cxx1.S: New file.
2341 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
2342 * gdb.arch/amd64-tailcall-cxx2.S: New file.
2343 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
2344
2345 2013-03-08 Stan Shebs <stan@codesourcery.com>
2346 Hafiz Abid Qadeer <abidh@codesourcery.com>
2347
2348 gdb/testsuite/
2349 * gdb.trace/trace-buffer-size.exp: New file.
2350 * gdb.trace/trace-buffer-size.c: New file.
2351
2352 2013-03-06 Pedro Alves <palves@redhat.com>
2353
2354 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
2355 doesn't support the tested optional feature, call "unsupported"
2356 with the same test message as the "pass" case, instead of calling
2357 "pass" with a different message. Use the same text for the "fail"
2358 cases too.
2359
2360 2013-03-06 Yao Qi <yao@codesourcery.com>
2361
2362 * gdb.trace/tstatus.exp: Remove the invocation of
2363 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
2364 (test_tracepoints): Don't set fast tracepoint.
2365 (top level): Don't check agent library is loaded or not.
2366
2367 2013-03-06 Yao Qi <yao@codesourcery.com>
2368
2369 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
2370 parentheses by "\\".
2371
2372 2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2373
2374 * gdb.linespec/base/one/thefile.cc (twodup): New.
2375 (m): Call it.
2376 * gdb.linespec/base/two/thefile.cc (dupname): New.
2377 (n): Call it.
2378 * gdb.linespec/break-ask.exp: New file.
2379 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
2380
2381 2013-02-28 Yao Qi <yao@codesourcery.com>
2382
2383 * gdb.trace/report.exp: Move some code to ...
2384 (use_collected_data): New.
2385 (top level): Call use_collected_data once on the live target.
2386 Save at file of the current trace session, load it with target
2387 tfile, and call use_collected_data again.
2388
2389 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2390
2391 * gdb.threads/fork-thread-pending.c (main): Add alarm.
2392
2393 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2394
2395 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
2396 Add final kill of ${valgrind_pid}.
2397
2398 2013-02-20 Siva Chandra Reddy <sivachandra@google.com>
2399
2400 * gdb.python/py-arch.c: New test case
2401 * gdb.python/py-arch.exp: New tests to test
2402 gdb.Architecture.disassemble
2403 * gdb.python/Makefile.in: Add py-arch to the list of
2404 EXECUTABLES.
2405
2406 2013-02-18 Tom Tromey <tromey@redhat.com>
2407
2408 * gdb.dwarf2/subrange.exp: New file.
2409
2410 2013-02-15 Pedro Alves <pedro@codesourcery.com>
2411 Hafiz Abid Qadeer <abidh@codesourcery.com>
2412
2413 * gdb.trace/tfile.exp: Add test for -trace-status command.
2414
2415 2013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2416
2417 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
2418 nanosleep by sleep.
2419
2420 2013-02-14 Pedro Alves <palves@redhat.com>
2421
2422 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
2423
2424 2013-02-14 Pedro Alves <pedro@codesourcery.com>
2425 Hafiz Abid Qadeer <abidh@codesourcery.com>
2426
2427 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
2428
2429 2013-02-12 Tom Tromey <tromey@redhat.com>
2430
2431 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
2432 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
2433
2434 2013-02-12 Pedro Alves <palves@redhat.com>
2435
2436 * gdb.base/catch-signal.c: Update copyright years.
2437 * gdb.base/catch-signal.exp: Update copyright years.
2438 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
2439 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
2440 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
2441 * gdb.dwarf2/dw2-error.S: Update copyright years.
2442 * gdb.dwarf2/dw2-error.c: Update copyright years.
2443 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
2444 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
2445 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
2446
2447 2013-02-12 Pedro Alves <palves@redhat.com>
2448
2449 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
2450 message.
2451 * gdb.base/sigaltstack.exp: Ditto.
2452 * gdb.base/siginfo.exp: Ditto.
2453 * gdb.base/sizeof.exp: Ditto.
2454
2455 2013-02-12 Pedro Alves <palves@redhat.com>
2456
2457 * gdb.mi/mi-basics.exp: Tweak intro comment.
2458 * gdb.mi/mi-break.exp: Tweak intro comment.
2459 * gdb.mi/mi-console.exp: Tweak intro comment.
2460 * gdb.mi/mi-file.exp: Tweak intro comment.
2461 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
2462 * gdb.mi/mi-return.exp: Tweak intro comment.
2463 * gdb.mi/mi-stepi.exp: Tweak intro comment.
2464 * gdb.mi/mi-until.exp: Tweak intro comment.
2465 * gdb.mi/mi-watch.exp: Tweak intro comment.
2466
2467 2013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2468
2469 * gdb.server/no-thread-db.exp: New file.
2470 * gdb.server/no-thread-db.c: New file.
2471 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
2472
2473 2013-02-11 Doug Evans <dje@google.com>
2474
2475 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
2476 two decfloats.
2477
2478 2013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2479
2480 * gdb.base/bitfields.c (struct internalvartest): New declaration.
2481 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
2482
2483 2013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2484
2485 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
2486
2487 2013-02-06 Yao Qi <yao@codesourcery.com>
2488
2489 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
2490 to ...
2491 (test_create_delete_modify_tsv): ... here. New test on modifying
2492 the initial value of a tsv.
2493
2494 2013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2495
2496 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
2497 (cd .../rdir): ... here.
2498
2499 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2500
2501 * gdb.linespec/base/one/header.h: New file.
2502 * gdb.linespec/base/two/header.h: New file.
2503 * gdb.linespec/macro-relative.c: New file.
2504 * gdb.linespec/macro-relative.exp: New file.
2505
2506 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2507
2508 * gdb.base/fullpath-expand-func.c: New file.
2509 * gdb.base/fullpath-expand.c: New file.
2510 * gdb.base/fullpath-expand.exp: New file.
2511 * gdb.base/realname-expand-real.c: New file.
2512 * gdb.base/realname-expand.c: New file.
2513 * gdb.base/realname-expand.exp: New file.
2514
2515 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2516
2517 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
2518 * gdb.dwarf2/dw2-dir-file-name.c: New file.
2519
2520 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2521
2522 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
2523 (compare_filenames_for_search does not match)
2524 (compare_filenames_for_search does match): New tests.
2525
2526 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2527
2528 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
2529
2530 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2531
2532 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
2533
2534 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2535
2536 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
2537 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
2538 ${binfile}.mini_debuginfo-debuglink and
2539 ${binfile}.mini_debuginfo-debuglink.xz.
2540
2541 2013-02-01 Tom Tromey <tromey@redhat.com>
2542
2543 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
2544 attributes.
2545
2546 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2547 Tom Tromey <tromey@redhat.com>
2548
2549 * gdb.dwarf2/method-ptr.exp: Link with c++.
2550 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
2551
2552 2013-01-31 Tom Tromey <tromey@redhat.com>
2553
2554 * gdb.base/jit.exp (compile_jit_test): New proc.
2555 Add PIE tests.
2556
2557 2013-01-31 Tom Tromey <tromey@redhat.com>
2558
2559 * gdb.dwarf2/method-ptr.cc: New file.
2560 * gdb.dwarf2/method-ptr.exp: New file.
2561
2562 2013-01-31 Tom Tromey <tromey@redhat.com>
2563
2564 * lib/dwarf.exp (namespace Dwarf): New.
2565
2566 2013-01-29 Tom Tromey <tromey@redhat.com>
2567
2568 * gdb.dwarf2/fission-reread.exp: Add unload test.
2569
2570 2013-01-28 Doug Evans <dje@google.com>
2571
2572 * gdb.dwarf2/fission-loclists.exp: New file.
2573 * gdb.dwarf2/fission-loclists.S: New file.
2574
2575 2013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2576
2577 Code cleanup.
2578 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
2579 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
2580 and prepare_for_testing.
2581 * gdb.base/store.exp: Likewise.
2582
2583 2013-01-25 Tom Tromey <tromey@redhat.com>
2584
2585 * gdb.python/py-explore.exp: Expect the gdb prompt.
2586
2587 2013-01-25 Andrew Burgess <aburgess@broadcom.com>
2588
2589 * gdb.base/gnu_vector.c: New variable for use in tests.
2590 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
2591 changes in scalar to vector casting and widening.
2592 * gdb.python/py-type.c: New variables for use in tests.
2593 * gdb.python/py-type.exp: Update vector related tests to reflect
2594 changes in scalar to vector casting and widening.
2595
2596 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
2597
2598 * gdb.base/prologue-include.c: New file.
2599 * gdb.base/prologue-include.exp: New file.
2600 * gdb.base/prologue-include.h: New file.
2601
2602 2013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
2603
2604 PR gdb/13443
2605 * gdb.mi/mi-var-block.exp: Make test messages unique.
2606
2607 2013-01-23 Tom Tromey <tromey@redhat.com>
2608
2609 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
2610
2611 2013-01-23 Tom Tromey <tromey@redhat.com>
2612
2613 * gdb.cp/converts.cc (main): Initialize 'a'.
2614
2615 2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
2616
2617 * testsuite/gdb.python/frame.exp: Add a test for
2618 gdb.Frame.architecture() method.
2619
2620 2013-01-22 Pedro Alves <palves@redhat.com>
2621
2622 * gdb.base/annota1.exp (signal sent): No longer expect
2623 breakpoints-invalid.
2624 * gdb.cp/annota2.exp (continue until exit)
2625 (watch triggered on a.x): Ditto.
2626
2627 2013-01-22 Pedro Alves <palves@redhat.com>
2628
2629 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
2630 Adjust tests to breakpoints-invalid changes.
2631 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
2632 variables.
2633 Adjust tests to breakpoints-invalid changes.
2634
2635 2013-01-22 Pedro Alves <palves@redhat.com>
2636
2637 * gdb.base/annota1.exp (annotate ignore count change): Add
2638 expected output for failure case.
2639
2640 2013-01-22 Tom Tromey <tromey@redhat.com>
2641
2642 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
2643 call.
2644
2645 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
2646
2647 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
2648 * gdb.mi/mi-catch-load.exp: Ditto.
2649 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
2650 Also handle 'thread' field.
2651 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
2652 * gdb.mi/mi-watch.exp: Ditto.
2653 * lib/mi-support.exp: Ditto.
2654
2655 2013-01-21 Siva Chandra Reddy <sivachandra@google.com>
2656
2657 * gdb.python/py-explore.exp: Improve a test
2658
2659 2013-01-18  David Blaikie  <dblaikie@gmail.com>
2660
2661 * gdb.base/label.c (main): Correct the type of the second
2662 parameter.
2663
2664 2013-01-18 Tom Tromey <tromey@redhat.com>
2665
2666 * gdb.dwarf2/trace-crash.s: New file.
2667 * gdb.dwarf2/trace-crash.exp: New file.
2668
2669 2013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
2670
2671 PR gdb/13443
2672 * gdb.base/checkpoint.exp: Update test messages to make them
2673 unique.
2674
2675 2013-01-18 Yao Qi <yao@codesourcery.com>
2676
2677 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
2678 output of 'info tracepoints'.
2679 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
2680 Likewise.
2681 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
2682 * gdb.trace/disconnected-tracing.c (struct foo): New.
2683
2684 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2685
2686 * gdb.dwarf2/dw2-dos-drive.S: New file.
2687 * gdb.dwarf2/dw2-dos-drive.exp: New file.
2688
2689 2013-01-17 Doug Evans <dje@google.com>
2690
2691 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
2692 CXX_FOR_TARGET.
2693
2694 * boards/cc-with-tweaks.exp: New file.
2695
2696 2013-01-17 Tom Tromey <tromey@redhat.com>
2697
2698 * gdb.base/completion.exp: Add "set cp-abi" completion test.
2699
2700 2013-01-17 Pedro Alves <palves@redhat.com>
2701
2702 Merge dg-extract-results.sh from upstream (svn 195224).
2703
2704 2013-01-15 David Blaikie <dblaikie@gmail.com>
2705 * dg-extract-results.sh: Fix order of summary counts.
2706
2707 2013-01-15 David Blaikie <dblaikie@gmail.com>
2708 * dg-extract-results.sh: Constrain the start-of-log pattern.
2709
2710 2013-01-15 David Blaikie <dblaikie@gmail.com>
2711 * dg-extract-results.sh: Handle KPASSes.
2712
2713 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2714 * dg-extract-results.sh: Redirect grep output to /dev/null instead
2715 of grep -q.
2716
2717 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2718
2719 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
2720 interface.
2721 * gdb.base/jithost.c: New file.
2722 * gdb.base/jithost.h: New file.
2723 * gdb.base/jitreader.c : New file.
2724 * gdb.base/jit-protocol.h: New file.
2725
2726 2013-01-16 Tom Tromey <tromey@redhat.com>
2727
2728 * gdb.base/catch-signal.c: New file.
2729 * gdb.base/catch-signal.exp: New file.
2730
2731 2013-01-16 Tom Tromey <tromey@redhat.com>
2732
2733 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
2734
2735 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2736
2737 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
2738
2739 2013-01-14 Tom Tromey <tromey@redhat.com>
2740
2741 * gdb.base/completion.exp: Add "set gnutarget" test.
2742
2743 2013-01-14 Tom Tromey <tromey@redhat.com>
2744
2745 * gdb.dwarf2/dw2-restrict.S: New file.
2746 * gdb.dwarf2/dw2-restrict.c: New file.
2747 * gdb.dwarf2/dw2-restrict.exp: New file.
2748
2749 2013-01-14 Tom Tromey <tromey@redhat.com>
2750
2751 * gdb.dwarf2/dw2-error.exp: New file.
2752 * gdb.dwarf2/dw2-error.c: New file.
2753 * gdb.dwarf2/dw2-error.S: New file.
2754
2755 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2756
2757 * gdb.cp/parse-lang.cc: New file.
2758 * gdb.cp/parse-lang.exp: New file.
2759
2760 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2761
2762 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
2763 (set substitute-path): New test.
2764 (fullname present): Remove content.
2765 (substituted fullname): New test.
2766
2767 2013-01-13 Joel Brobecker <brobecker@adacore.com>
2768
2769 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
2770 check. Move $gdb_py_is_py24 value check right after.
2771
2772 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2773
2774 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
2775 targets.
2776
2777 2013-01-11 Yao Qi <yao@codesourcery.com>
2778
2779 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
2780 for dprintf.
2781 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2782 Check the fields in "=breakpoint-created" for dprintf.
2783
2784 2012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2785
2786 * gdb.mi/mi-fullname-deleted.exp: New file.
2787
2788 2012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2789
2790 * gdb.base/skip-solib.exp (info skip with pending file): Update the
2791 expected output.
2792 (info skip with pending file): Remove.
2793 (ignoring function in solib, info skip for function multiply): Update
2794 the expected output.
2795 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
2796 (info skip (delete 1), info skip after disabling all)
2797 (info skip after enabling all, info skip after disabling 4 2-3)
2798 (info skip after enabling 2-3, info skip 2-3)
2799 (info skip after deleting 2 3): Update the expected output.
2800 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
2801 statement to its initialization and return.
2802 * gdb.linespec/skip-two.exp: New file.
2803
2804 2012-12-19 Doug Evans <dje@google.com>
2805
2806 * gdb.base/maint.exp: Handle testing with .gdb_index.
2807
2808 2012-12-19 Joel Brobecker <brobecker@adacore.com>
2809
2810 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
2811 Cavium to FSF.
2812
2813 2012-12-19 Joel Brobecker <brobecker@adacore.com>
2814
2815 * dg-extract-results.sh: Update contact info in copyright notice.
2816 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
2817 GPL v3 or later. Update contact info.
2818 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
2819 gdb.threads/watchpoint-fork-mt.c,
2820 gdb.threads/watchpoint-fork-parent.c,
2821 gdb.threads/watchpoint-fork-st.c,
2822 gdb.threads/watchpoint-fork.h: Likewise.
2823
2824 2012-12-15 Yao Qi <yao@codesourcery.com>
2825
2826 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
2827 'installed' field in '=breakpoint-modified'.
2828 (test_reconnect): Check 'installed' field in
2829 '=breakpoint-modified' and '=breakpoint-created'.
2830
2831 * gdb.trace/actions.exp: Update test for 'installed' field.
2832 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
2833 (tracepoint_change_loc_2): Likewise.
2834 Check 'info tracepoint' display nothing else.
2835 * gdb.trace/deltrace.exp: Likewise.
2836 * gdb.trace/infotrace.exp: Likewise.
2837 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
2838 Likewise.
2839 * gdb.trace/passcount.exp: Likewise.
2840 * gdb.trace/tracecmd.exp: Likewise.
2841 * gdb.trace/while-stepping.exp: Likewise.
2842
2843 2012-12-14 Tom Tromey <tromey@redhat.com>
2844
2845 * gdb.cp/member-name.exp: New file.
2846 * gdb.cp/member-name.cc: New file.
2847
2848 2012-12-14 Tom Tromey <tromey@redhat.com>
2849
2850 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
2851
2852 2012-12-14 Doug Evans <dje@google.com>
2853
2854 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
2855 DW_OP_GNU_implicit_pointer is section-relative.
2856
2857 2012-12-14 Tom Tromey <tromey@redhat.com>
2858
2859 * gdb.base/info-proc.exp: Add core file tests.
2860
2861 2012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
2862
2863 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
2864
2865 2012-12-13 Doug Evans <dje@google.com>
2866
2867 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
2868 * gdb.multi/multi-arch.exp: Ditto.
2869
2870 2012-12-12 Keven Boell <keven.boell@intel.com>
2871
2872 * gdb.mi/mi-catch-load-so.c: New. Clone of the
2873 catch load test library source file.
2874 * gdb.mi/mi-catch-load.c: New. Clone of the catch
2875 load test source file.
2876 * gdb.mi/mi-catch-load.exp: New. Test file for
2877 basic MI -catch-load and -catch-unload tests.
2878
2879 2012-12-11 Paul Koning <paul_koning@dell.com>
2880
2881 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
2882 exception.
2883 (_iterator_except): New function.
2884 (ArrayPrinter): Use _iterator function instead of local _iterator
2885 class for Python 3 compatibility.
2886 (NoStringContainerPrinter): Use _iterator_except instead of
2887 _iterator.
2888 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
2889 execfile for Python 3 compatibility.
2890 * gdb.python/python.exp: Handle Python 2.4 exception traceback
2891 format in error_prompt test.
2892
2893 2012-12-10 Paul Koning <paul_koning@dell.com>
2894
2895 * gdb.base/charset.exp: Change print syntax for Python 3
2896 compatibility.
2897 * gdb.python/py-block.exp: Ditto.
2898 * gdb.python/py-breakpoint.exp: Ditto.
2899 * gdb.python/py-cmd.exp: Ditto.
2900 * gdb.python/py-events.py: Ditto.
2901 * gdb.python/py-finish-breakpoint.py: Ditto.
2902 * gdb.python/py-finish-breakpoint2.exp: Ditto.
2903 * gdb.python/py-finish-breakpoint2.py: Ditto.
2904 * gdb.python/py-frame-inline.exp: Ditto.
2905 * gdb.python/py-frame.exp: Ditto.
2906 * gdb.python/py-infthread.exp: Ditto.
2907 * gdb.python/py-objfile.exp: Ditto.
2908 * gdb.python/py-parameter.exp: Ditto.
2909 * gdb.python/py-progspace.exp: Ditto.
2910 * gdb.python/py-prompt.exp: Ditto.
2911 * gdb.python/py-symbol.exp: Ditto.
2912 * gdb.python/py-symtab.exp: Ditto.
2913 * gdb.python/py-template.exp: Ditto.
2914 * gdb.python/py-value-cc.exp: Ditto.
2915 * gdb.python/python.exp: Ditto.
2916 * gdb.python/source2.py: Ditto.
2917 * gdb.python/lib-types.exp: Change print syntax for Python 3
2918 compatibility.
2919 Use sorted() function rather than sort() method.
2920 Accept either int or long values for enum values.
2921 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
2922 execfile for Python 3 compatibility.
2923 * gdb.python/py-evsignal.exp: Ditto.
2924 * gdb.python/py-evthreads.exp: Ditto.
2925 * gdb.python/py-mi.exp: Ditto.
2926 * gdb.python/py-pp-maint.exp: Ditto.
2927 * gdb.python/py-prettyprint.exp: Ditto.
2928 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
2929 Python 3 compatibility.
2930 Skip tests for Python 2.4.
2931 * gdb.python/py-inferior.exp: Change print syntax for
2932 Python 3 compatibility.
2933 Use byte string rather than character string in memory write test
2934 if Python 3.
2935 * gdb.python/py-pp-maint.py: Change class declarations to "new
2936 class" syntax.
2937 * gdb.python/py-prettyprint.py: Change iterator class to generator
2938 function for Python 3 compatibility.
2939 Make all classes "new style".
2940 Fix indentation issue and stray semicolon.
2941 * gdb.python/py-shared.expChange print syntax for Python 3
2942 compatibility.
2943 Define "long" if Python 3.
2944 * gdb.python/py-type.exp: Change print syntax for Python 3
2945 compatibility.
2946 Accept either int or long values for enum values.
2947 * gdb.python/py-value.exp: Change print syntax for Python 3
2948 compatibility.
2949 Skip "long" and "unicode" tests if Python 3.
2950 Accept either "type" or "class" in type checks.
2951 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
2952 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
2953
2954 2012-12-10 Tom Tromey <tromey@redhat.com>
2955
2956 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
2957 (test): Add "two_cu" argument.
2958 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
2959 for types; allow two CUs.
2960
2961 2012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2962
2963 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
2964 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
2965
2966 2012-12-08 Yao Qi <yao@codesourcery.com>
2967 Pedro Alves <palves@redhat.com>
2968
2969 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
2970 '=breakpoint-created' when GDB merges the tracepoints of both
2971 sides.
2972
2973 2012-12-07 Tom Tromey <tromey@redhat.com>
2974
2975 * gdb.base/break1.c (enum some_enum, union some_union): New.
2976 (some_enum_global, some_union_global, some_value): New globals.
2977 * gdb.base/completion.exp: Add tag completion tests.
2978
2979 2012-12-07 Tom Tromey <tromey@redhat.com>
2980
2981 * gdb.base/completion.exp: Add tests for ptype and whatis
2982 completion.
2983
2984 2012-12-07 Joel Brobecker <brobecker@adacore.com>
2985
2986 * gdb.base/stale-infcall.exp: Fix copyright line.
2987
2988 2012-12-07 Joel Brobecker <brobecker@adacore.com>
2989
2990 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
2991
2992 2012-12-06 Pedro Alves <palves@redhat.com>
2993 Tom Tromey <tromey@redhat.com>
2994
2995 * gdb.base/exprs.exp: Add tests for cast to void.
2996
2997 2012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
2998
2999 * gdb.python/py-mi.exp: Correct expected results for attribute
3000 "dynamic" returned by -var-update.
3001 Add test case for correct handling of "diplayhint" for children
3002 of dynamic varobjs.
3003 * gdb.python/py-prettyprint.c (set_itme): New function.
3004 (bug_14741) New function.
3005 (main) Add call to bug_14741().
3006 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
3007
3008 2012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
3009
3010 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
3011 ${binfile}.funcsyms list.
3012
3013 2012-12-04 Yao Qi <yao@codesourcery.com>
3014
3015 PR gdb/13443
3016 * gdb.trace/actions.exp: Make test messages unique.
3017
3018 2012-11-29 Tom Tromey <tromey@redhat.com>
3019
3020 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
3021
3022 2012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
3023
3024 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
3025 * gdb.opencl/datatypes.exp: Likewise.
3026 * gdb.opencl/operators.exp: Likewise.
3027 * gdb.opencl/vec_comps.exp: Likewise.
3028
3029 2012-11-29 Jerome Guitton <guitton@adacore.com>
3030
3031 * gdb.ada/iwide: New testcase.
3032
3033 2012-11-29 Jerome Guitton <guitton@adacore.com>
3034
3035 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
3036 ptype test.
3037
3038 2012-11-29 Jerome Guitton <guitton@adacore.com>
3039
3040 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
3041 form {VARIANT_TYPE}ADDRESS.
3042
3043 2012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
3044
3045 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
3046 (func): New function.
3047 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
3048 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
3049 pointers to members with pointer-to-function type.
3050
3051 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3052 Tom Tromey <tromey@redhat.com>
3053
3054 * gdb.base/gnu-debugdata.exp: New file.
3055 * gdb.base/gnu-debugdata.c: New file.
3056 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
3057 (gdb_unload): Return 0 on success.
3058
3059 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3060
3061 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
3062
3063 2012-11-26 Joel Brobecker <brobecker@adacore.com>
3064
3065 * gdb.base/empty_exe.exp: New testcase.
3066
3067 2012-11-20 Mike Frysinger <vapier@gentoo.org>
3068
3069 * gdb.base/completion.exp: Add test for help aliases completion.
3070
3071 2012-11-20 Yao Qi <yao@codesourcery.com>
3072
3073 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
3074 Don't test 'maint set show-debug-regs'.
3075 Use command 'set remotecache' instead of
3076 'set circular-trace-buffer'.
3077
3078 2012-11-16 Keith Seitz <keiths@redhat.com>
3079
3080 PR c++/13615
3081 * gdb.cp/baseenum.cc: New file.
3082 * gdb.cp/baseenum.exp: New file.
3083 * gdb.cp/derivation.cc (A): Add copyright.
3084 Add a typedef.
3085 (B): Use A::value_type instead of int. Change all references.
3086 (D): Use value_type instead of int. Change all references.
3087 (E): Likewise.
3088 (F); Likewise.
3089 (Z): New class.
3090 (ZZ): New class.
3091 (N, Base, Derived): New namespace and classes.
3092 (main): Add instances of Z and ZZ.
3093 Make sure all symbols from N are kept.
3094 * gdb.cp/derivation.exp: Update typedef changes in tests.
3095 Add tests for class typedefs both before and after starting
3096 the inferior.
3097 Add tests for searching for a typedef while stopped in a
3098 method.
3099
3100 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
3101
3102 * gdb.mi/mi-var-create-rtti.c: New file.
3103 * gdb.mi/mi-var-create-rtti.exp: New file.
3104
3105 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
3106
3107 * gdb.base/structs3.exp: Run to main before doing any tests.
3108
3109 2012-11-14 Andrew Burgess <aburgess@broadcom.com>
3110
3111 * gdb.python/py-type.exp: Uniquify test names.
3112
3113 2012-11-14 Yao Qi <yao@codesourcery.com>
3114
3115 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
3116 (thread_function) [DEBUG]: Call 'printf'.
3117 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
3118 command line if 'DEBUG=1' is passed to test.
3119 Remove a pattern to match inferior's output.
3120
3121 2012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
3122
3123 * gdb.mi/mi-fill-memory.exp: New test.
3124
3125 2012-11-12 Tom Tromey <tromey@redhat.com>
3126
3127 * gdb.base/completion.exp: Update for "info type-printers".
3128 * gdb.python/py-typeprint.cc: New file.
3129 * gdb.python/py-typeprint.exp: New file.
3130 * gdb.python/py-typeprint.py: New file.
3131
3132 2012-11-12 Tom Tromey <tromey@redhat.com>
3133
3134 * gdb.base/call-sc.exp: Use "ptype/r".
3135 * gdb.base/volatile.exp: Don't expect "int".
3136 * gdb.cp/ptype-flags.cc: New file.
3137 * gdb.cp/ptype-flags.exp: New file.
3138 * gdb.cp/templates.exp: Use ptype/r.
3139 (test_ptype_of_templates, test_template_typedef): Likewise.
3140 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
3141 argument. Handle template names and template parameters.
3142 * gdb.mi/mi-var-cmd.exp: Accept "long".
3143 * gdb.mi/mi-var-child.exp: Accept "long".
3144 * gdb.mi/mi-var-display.exp: Accept "long".
3145 * gdb.mi/mi2-var-child.exp: Accept "long".
3146
3147 2012-11-12 Tom Tromey <tromey@redhat.com>
3148
3149 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
3150 "ptype" from calls to cp_test_ptype_class.
3151 (test_enums): Likewise.
3152 * gdb.cp/derivation.exp: Remove "ptype" from calls to
3153 cp_test_ptype_class.
3154 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
3155 calls to cp_test_ptype_class.
3156 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
3157 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
3158 from calls to cp_test_ptype_class.
3159 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
3160 command here. Change "in_command" argument to "in_exp".
3161
3162 2012-11-10 Keith Seitz <keiths@redhat.com>
3163
3164 PR gdb/14288
3165 * gdb.base/printcmds.c: Add invalid_XXX globals
3166 for repeated byte tests.
3167 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
3168 * gdb.base/wchar.c (main): Add and construct a wchar_t
3169 array with repeated characters.
3170 * gdb.base/wchar.exp: Add repeated character tests.
3171
3172 2012-11-09 Andrew Burgess <aburgess@broadcom.com>
3173
3174 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
3175 disassembly output.
3176
3177 2012-11-09 Pedro Alves <palves@redhat.com>
3178
3179 PR gdb/14306
3180
3181 * gdb.multi/multi-arch-exec.c: New file.
3182 * gdb.multi/multi-arch-exec.exp: New file.
3183
3184 2012-11-09 Yao Qi <yao@codesourcery.com>
3185
3186 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
3187 (top level): Call it.
3188
3189 2012-11-09 Yao Qi <yao@codesourcery.com>
3190
3191 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
3192 typo.
3193
3194 2012-11-09 Pedro Alves <palves@redhat.com>
3195
3196 * gdb.multi/multi-arch.exp: New.
3197
3198 2012-11-08 Tom Tromey <tromey@redhat.com>
3199
3200 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
3201 core files, if possible.
3202 * gdb.base/siginfo-thread.c: New file
3203 * gdb.base/siginfo-thread.exp: New file
3204
3205 2012-11-08 Tom Tromey <tromey@redhat.com>
3206
3207 * gdb.base/comprdebug.exp: New file.
3208
3209 2012-11-06 Pedro Alves <palves@redhat.com>
3210
3211 PR gdb/14810
3212
3213 * gdb.base/disabled-location.c: New file.
3214 * gdb.base/disabled-location.exp: New file.
3215
3216 2012-11-06 Tom Tromey <tromey@redhat.com>
3217
3218 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
3219 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
3220 gdb_gcore_cmd.
3221 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
3222 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
3223 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
3224 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
3225 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
3226 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
3227 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
3228 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
3229 * lib/gdb.exp (gdb_gcore_cmd): New proc.
3230
3231 2012-11-05 Pedro Alves <palves@redhat.com>
3232
3233 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
3234 procedure.
3235 (do_vfork_and_follow_child_tests_exec)
3236 (do_vfork_and_follow_child_tests_exit): Call it.
3237
3238 2012-11-05 Pedro Alves <palves@redhat.com>
3239
3240 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
3241 fails.
3242
3243 2012-11-03 Yao Qi <yao@codesourcery.com>
3244
3245 Fix PR gdb/14617.
3246 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
3247 Remove setup_kfail, and update test.
3248
3249 2012-11-02 Tom Tromey <tromey@redhat.com>
3250
3251 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
3252 test.
3253
3254 2012-11-02 Pedro Alves <palves@redhat.com>
3255
3256 PR gdb/14766
3257
3258 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
3259 setup_kfail.
3260 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
3261 get registers".
3262
3263 2012-11-02 Pedro Alves <palves@redhat.com>
3264
3265 * gdb.base/foll-vfork-exit.c: New file.
3266 * gdb.base/foll-vfork.exp (top level): New file-describing
3267 comment.
3268 (vfork_child_follow_to_exit): New procedure.
3269 (tcatch_vfork_then_child_follow): Rename as ...
3270 (tcatch_vfork_then_child_follow_exec): ... this.
3271 (tcatch_vfork_then_child_follow_exit): New procedure.
3272 (do_vfork_and_follow_parent_tests): New procedure, factored out
3273 from do_vfork_and_exec_tests.
3274 (do_vfork_and_follow_child_tests_exec): Ditto.
3275 (do_vfork_and_exec_tests): Delete.
3276 (do_vfork_and_follow_child_tests_exit): New procedure.
3277 (top level): Run tests with both the program that has the vfork
3278 child execing, and the program has the vfork child exiting.
3279
3280 2012-11-02 Pedro Alves <palves@redhat.com>
3281
3282 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
3283 (check_vfork_catchpoints, vfork_parent_follow_through_step)
3284 (vfork_parent_follow_to_bp): Call it.
3285 (kill_child): Delete.
3286 (vfork_and_exec_child_follow_to_main_bp)
3287 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
3288 longer call kill_child.
3289 (tcatch_vfork_then_parent_follow): Call setup_gdb.
3290 (do_vfork_and_exec_tests): Don't runto_main before calling each
3291 test procedure.
3292 (top level): Don't clean restart and set verbose before running
3293 each test procedure.
3294
3295 2012-11-02 Pedro Alves <palves@redhat.com>
3296
3297 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
3298 (vfork_parent_follow_to_bp)
3299 (vfork_and_exec_child_follow_to_main_bp)
3300 (vfork_and_exec_child_follow_through_step)
3301 (tcatch_vfork_then_parent_follow)
3302 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
3303 Use with_test_prefix.
3304
3305 2012-11-02 Pedro Alves <palves@redhat.com>
3306
3307 * gdb.base/foll-vfork.c: Add copyright header.
3308 * gdb.base/vforked-prog.c: Add copyright header.
3309
3310 2012-11-02 Pedro Alves <palves@redhat.com>
3311
3312 * gdb.base/foll-vfork.exp
3313 (vfork_and_exec_child_follow_through_step): Don't skip on
3314 non-HP/UX targets. Expect the next to only step one line on
3315 non-HP/UX targets, rather than stopping only after the exec.
3316
3317 2012-11-02 Pedro Alves <palves@redhat.com>
3318
3319 Don't hard code line numbers.
3320
3321 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
3322 Expect text from the sources instead of a line number.
3323 (vfork_parent_follow_to_bp)
3324 (vfork_and_exec_child_follow_to_main_bp)
3325 (vfork_and_exec_child_follow_through_step)
3326 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
3327 Use gdb_get_line_number.
3328
3329 2012-11-02 Pedro Alves <palves@redhat.com>
3330
3331 Modernize.
3332
3333 * gdb.base/foll-vfork.exp: Use standard_testfile and
3334 build_executable. Pass descriptive string to untested.
3335 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
3336 (vfork_and_exec_child_follow_to_main_bp)
3337 (vfork_and_exec_child_follow_through_step)
3338 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
3339 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
3340 of send_gdb/gdb_expect.
3341
3342 (kill_child): New procedure.
3343 (vfork_and_exec_child_follow_to_main_bp)
3344 (vfork_and_exec_child_follow_through_step): Use it.
3345
3346 2012-11-02 Yao Qi <yao@codesourcery.com>
3347
3348 * gdb.base/setvar.exp: Test setting nested struct.
3349 * gdb.base/setvar.c (v_struct3): New.
3350
3351 2012-11-01 Doug Evans <dje@google.com>
3352
3353 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
3354 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
3355 use them.
3356
3357 2012-10-31 Andrew Burgess <aburgess@broadcom.com>
3358
3359 PR cli/14772
3360 * gdb.base/gnu_vector.c (union_with_vector_1)
3361 (struct_with_vector_1): Add new struct and union for testing
3362 ptype.
3363 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
3364 structs / unions containing vectors.
3365
3366 2012-10-25 Yao Qi <yao@codesourcery.com>
3367
3368 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
3369 'setup_kfail' instead of 'setup_kfail_for_target'.
3370 * gdb.base/varargs.exp: Likewise.
3371 * lib/gdb.exp (setup_kfail_for_target): Remove.
3372
3373 2012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
3374
3375 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
3376
3377 2012-10-25 Mark Kettenis <kettenis@gnu.org>
3378
3379 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
3380
3381 2012-10-24 Joel Brobecker <brobecker@adacore.com>
3382
3383 * gdb.ada/set_wstr: New testcase.
3384
3385 2012-10-24 Joel Brobecker <brobecker@adacore.com>
3386
3387 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
3388
3389 2012-10-24 Joel Brobecker <brobecker@adacore.com>
3390
3391 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
3392
3393 2012-10-24 Mark Kettenis <kettenis@gnu.org>
3394
3395 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
3396
3397 2012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3398
3399 * gdb.base/callfuncs.exp (do_function_calls): Fix
3400 setup_kfail_for_target for -m32 mode.
3401
3402 2012-10-23 Mark Kettenis <kettenis@gnu.org>
3403
3404 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
3405 are now fixed.
3406
3407 2012-10-23 Yao Qi <yao@codesourcery.com>
3408
3409 * gdb.base/info-os.exp: Resume the inferior until it exits.
3410
3411 2012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
3412
3413 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
3414 * gdb.base/print-file-var.exp: Likewise.
3415 * gdb.base/type-opaque.exp: Likewise.
3416
3417 2012-10-17 Yao Qi <yao@codesourcery.com>
3418
3419 * gdb.mi/mi-memory-changed.exp: New.
3420
3421 2012-10-16 Yao Qi <yao@codesourcery.com>
3422
3423 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
3424 returns true.
3425 Call gdb_load_shlibs.
3426 * gdb.reverse/solib-reverse.exp: Likewise.
3427
3428 2012-10-15 Keith Seitz <keiths@redhat.com>
3429
3430 * lib/cp-support.exp (cp_test_ptype_class): Add support
3431 for class typedefs.
3432
3433 * gdb.cp/derivation.exp: Add tests for g_instance.
3434
3435 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3436
3437 Fix entry values resolving in inlined frames.
3438 * gdb.arch/amd64-entry-value-inline.S: New file.
3439 * gdb.arch/amd64-entry-value-inline.c: New file.
3440 * gdb.arch/amd64-entry-value-inline.exp: New file.
3441
3442 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3443 Doug Evans <dje@google.com>
3444
3445 Fix recent gdb_breakpoint regression.
3446 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
3447 braces from the parameter.
3448 * gdb.java/jprint.exp: Likewise.
3449
3450 2012-10-15 Doug Evans <dje@google.com>
3451
3452 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
3453
3454 2012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
3455
3456 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
3457
3458 2012-10-15 Tom Tromey <tromey@redhat.com>
3459
3460 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
3461
3462 2012-10-15 Tom Tromey <tromey@redhat.com>
3463
3464 * gdb.python/py-symbol.exp: Test symbol destructor.
3465
3466 2012-10-14 Yao Qi <yao@codesourcery.com>
3467
3468 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
3469 * gdb.mi/mi-cli.exp: New.
3470
3471 * gdb.mi/mi2-basics.exp: Remove.
3472 * gdb.mi/mi2-break.exp: Remove.
3473 * gdb.mi/mi2-console.exp: Remove.
3474 * gdb.mi/mi2-disassemble.exp: Remove.
3475 * gdb.mi/mi2-eval.exp: Remove.
3476 * gdb.mi/mi2-file.exp: Remove.
3477 * gdb.mi/mi2-hack-cli.exp: Remove.
3478 * gdb.mi/mi2-pthreads.exp: Remove.
3479 * gdb.mi/mi2-read-memory.exp: Remove.
3480 * gdb.mi/mi2-regs.exp: Remove.
3481 * gdb.mi/mi2-return.exp: Remove.
3482 * gdb.mi/mi2-simplerun.exp: Remove.
3483 * gdb.mi/mi2-stack.exp: Remove.
3484 * gdb.mi/mi2-stepi.exp: Remove.
3485 * gdb.mi/mi2-syn-frame.exp: Remove.
3486 * gdb.mi/mi2-until.exp: Remove.
3487 * gdb.mi/mi2-watch.exp: Remove.
3488 * gdb.mi/mi2-var-block.exp: Remove.
3489 * gdb.mi/mi2-var-cmd.exp: Remove.
3490 * gdb.mi/mi2-var-display.exp: Remove.
3491
3492 2012-10-12 Yao Qi <yao@codesourcery.com>
3493
3494 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
3495 trail '.*' on matching patterns.
3496
3497 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3498
3499 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
3500 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
3501 * gdb.arch/i386-disp-step.exp: Likewise.
3502 * gdb.arch/i386-gnu-cfi.exp: Likewise.
3503 * gdb.arch/i386-prologue.exp: Likewise.
3504 * gdb.arch/i386-size-overlap.exp: Likewise.
3505 * gdb.arch/i386-size.exp: Likewise.
3506 * gdb.arch/i386-unwind.exp: Likewise.
3507
3508 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3509
3510 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
3511 * gdb.arch/i386-word.exp: Likewise.
3512
3513 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3514
3515 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
3516 is_ilp32_target to set nr_regs.
3517 * gdb.arch/i386-sse.exp: Likewise.
3518
3519 2012-10-11 Doug Evans <dje@google.com>
3520
3521 PR breakpoints/14643.
3522 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
3523 * gdb.linespec/thread.c: New file.
3524 * gdb.linespec/thread.exp: New file.
3525
3526 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
3527 Recognize "message" -> print pass and fail. Add eof case.
3528 (runto): Recognize message, no-message. Print pass/fail if requested,
3529 with same treatment as gdb_breakpoint.
3530 (runto_main): Pass no-message to runto.
3531 (gdb_internal_error_resync): Add log message.
3532 (gdb_file_cmd): Tweak internal error fail text for consistency.
3533
3534 2012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3535
3536 Fix crash during stepping on ppc32.
3537 * gdb.base/step-symless.c: New file.
3538 * gdb.base/step-symless.exp: New file.
3539
3540 2012-10-03 Doug Evans <dje@google.com>
3541
3542 PR symtab/14601
3543 * gdb.cp/using-crash.exp: New file.
3544 * gdb.cp/using-crash.cc: New file.
3545
3546 2012-10-02 Doug Evans <dje@google.com>
3547
3548 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
3549 more consistent.
3550 (runto,gdb_debug_format): Ditto.
3551 (gdb_file_cmd): Watch for eof in nested gdb_expect.
3552 Clean up logging and error messages.
3553
3554 2012-10-01 Andrew Burgess <aburgess@broadcom.com>
3555
3556 Test find command on unmapped memory.
3557 * gdb.base/find-unmapped.c: New file.
3558 * gdb.base/find-unmapped.exp: New file.
3559
3560 2012-09-29 Yao Qi <yao@codesourcery.com>
3561
3562 * gdb.trace/mi-tracepoint-changed.exp: New.
3563 * gdb.mi/mi-breakpoint-changed.exp: New.
3564 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
3565 * gdb.mi/pendshr2.c: New.
3566
3567 2012-09-28 Yao Qi <yao@codesourcery.com>
3568
3569 * gdb.mi/pr11022.exp: New.
3570 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
3571
3572 2012-09-27 Tom Tromey <tromey@redhat.com>
3573
3574 * gdb.cp/derivation.exp: Add regression test.
3575 * gdb.cp/derivation.cc (class V_base, class V_inter, class
3576 V_derived): New.
3577 (vderived): New global.
3578
3579 2012-09-26 Tom Tromey <tromey@redhat.com>
3580
3581 * gdb.dwarf2/dw2-common-block.S: New file.
3582 * gdb.dwarf2/dw2-common-block.exp: New file.
3583
3584 2012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3585
3586 * gdb.fortran/common-block.exp: New file.
3587 * gdb.fortran/common-block.f90: New file.
3588
3589 2012-09-26 Andrew Burgess <aburgess@broadcom.com>
3590
3591 * gdb.base/duplicate-bp.c: New file.
3592 * gdb.base/duplicate-bp.exp: New file.
3593
3594 2012-09-26 Yao Qi <yao@codesourcery.com>
3595
3596 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
3597
3598 Revert:
3599 2012-09-21 Yao Qi <yao@codesourcery.com>
3600
3601 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
3602
3603 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3604
3605 * gdb.base/longest-types.c: New test case.
3606 * gdb.base/longest-types.exp: New test case.
3607
3608 2012-09-25 Yao Qi <yao@codesourcery.com>
3609
3610 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
3611
3612 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3613
3614 Fix internal error on canonicalization of clang types.
3615 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
3616 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
3617 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
3618
3619 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3620
3621 Fix disassemble without parameters in tailcall frame.
3622 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
3623
3624 2012-09-21 Andrew Burgess <aburgess@broadcom.com>
3625
3626 * gdb.dwarf2/dw2-op-out-param.S: New file.
3627 * gdb.dwarf2/dw2-op-out-param.exp: New file.
3628
3629 2012-09-21 Yao Qi <yao@codesourcery.com>
3630
3631 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
3632
3633 2012-09-21 Yao Qi <yao@codesourcery.com>
3634
3635 * gdb.mi/mi-cli.exp: Remove.
3636 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
3637
3638 2012-09-21 Yao Qi <yao@codesourcery.com>
3639
3640 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
3641 "=record-started" notification.
3642
3643 2012-09-21 Yao Qi <yao@codesourcery.com>
3644
3645 * gdb.mi/mi-record-changed.exp: New.
3646 * gdb.mi/mi-reverse.exp: Adjust expected output.
3647
3648 2012-09-20 Tom Tromey <tromey@redhat.com>
3649
3650 * gdb.python/python.exp: Test atexit.register.
3651
3652 2012-09-20 Doug Evans <dje@google.com>
3653
3654 * boards/dwarf4-gdb-index.exp: New file.
3655
3656 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
3657 while running the tests.
3658
3659 2012-09-18 Joel Brobecker <brobecker@adacore.com>
3660
3661 * gdb.ada/bp_reset: New testcase.
3662
3663 2012-09-18 Yao Qi <yao@codesourcery.com>
3664
3665 * gdb.trace/mi-tsv-changed.exp: New.
3666
3667 2012-09-18 Yao Qi <yao@codesourcery.com>
3668
3669 * gdb.trace/mi-traceframe-changed.exp: New.
3670
3671 2012-09-17 Yao Qi <yao@codesourcery.com>
3672
3673 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
3674 when it is less than 0.
3675
3676 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3677
3678 PR 14119
3679 * gdb.arch/amd64-tailcall-ret.S: New file.
3680 * gdb.arch/amd64-tailcall-ret.c: New file.
3681 * gdb.arch/amd64-tailcall-ret.exp: New file.
3682 * gdb.reverse/amd64-tailcall-reverse.S: New file.
3683 * gdb.reverse/amd64-tailcall-reverse.c: New file.
3684 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
3685
3686 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3687
3688 PR 14548
3689 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
3690 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
3691 * gdb.reverse/singlejmp-reverse.S: New file.
3692 * gdb.reverse/singlejmp-reverse.c: New file.
3693 * gdb.reverse/singlejmp-reverse.exp: New file.
3694
3695 2012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3696
3697 Fix compatibility with old GCC (~4.1).
3698 * gdb.cp/converts.cc (my_enum_var): New variable.
3699
3700 2012-09-14 Andrew Burgess <aburgess@broadcom.com>
3701
3702 * gdb.xml/tdesc-regs.exp: Update expected output for new
3703 vector_size syntax of vector types.
3704
3705 2012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
3706
3707 Refactor Python "gdb" module into a proper Python package, by
3708 introducing a new "_gdb" module for code implemented in C, and
3709 using reload/__import__ instead of exec.
3710 * gdb.python/python.exp (Test stderr location): Update module
3711 location of GDB-specific sys.stderr.
3712 (Test stdout location): Ditto for sys.stdout.
3713
3714 2012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3715
3716 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
3717
3718 2012-09-12 Keith Seitz <keiths@redhat.com>
3719
3720 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
3721 conversion statement.
3722
3723 2012-09-12 Doug Evans <dje@google.com>
3724
3725 * gdb.base/help.exp: Remove testing of individual command help text,
3726 too much of a maintenance burden. Instead, test the functionality
3727 of "help" itself.
3728
3729 2012-09-11 Doug Evans <dje@google.com>
3730
3731 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
3732 breakpoint.
3733
3734 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
3735 * gdb.dwarf2/fission-reread.S: Ditto.
3736 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
3737 * gdb.dwarf2/fission-reread.exp: Ditto.
3738
3739 2012-09-11 Andrew Burgess <aburgess@broadcom.com>
3740
3741 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
3742
3743 2012-09-10 Joel Brobecker <brobecker@adacore.com>
3744
3745 * gdb.ada/optim_drec: New testcase.
3746
3747 2012-09-10 Doug Evans <dje@google.com>
3748
3749 * boards/fission.exp: Explicitly mark "board" as not remote.
3750
3751 2012-09-10 Keith Seitz <keiths@redhat.com>
3752
3753 PR gdb/13483
3754 * gdb.cp/converts.cc (A::A): Add ctor.
3755 (A::member_): Add member.
3756 (enum my_enum): New enumeration.
3757 (main): Add calls to foo1_7 with various
3758 permitted arguments.
3759 * gdb.cp/converts.exp: Add tests for boolean
3760 conversions permitted by the standard.
3761
3762 2012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
3763
3764 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
3765 avoid spurious results due to ~/.gdbinit.
3766 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
3767 $INTERNAL_GDBFLAGS in run command.
3768 * gdb.gdb/observer.exp (setup_test): Ditto.
3769 * gdb.gdb/selftest.exp (test_with_self): Ditto.
3770 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
3771
3772 2012-09-06 Doug Evans <dje@google.com>
3773
3774 * boards/fission.exp: New file.
3775
3776 * gdb.python/py-value.exp: Use clean_restart.
3777
3778 2012-09-05 Doug Evans <dje@google.com>
3779
3780 * gdb.base/info-macros.c: Fix whitespace.
3781
3782 2012-08-28 Pedro Alves <palves@redhat.com>
3783
3784 PR gdb/14428
3785
3786 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
3787
3788 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3789
3790 * gdb.base/break-caller-line.c: New file.
3791 * gdb.base/break-caller-line.exp: New file.
3792
3793 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3794
3795 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
3796 * gdb.arch/i386-cfi-notcurrent.S: New file.
3797 * gdb.arch/i386-cfi-notcurrent.exp: New file.
3798
3799 2012-08-27 Wei-cheng Wang <cole945@gmail.com>
3800 Yao Qi <yao@codesourcery.com>
3801 Pedro Alves <palves@redhat.com>
3802
3803 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
3804 New procedures.
3805 (top level): Add overlap checking tests.
3806
3807 2012-08-24 Tom Tromey <tromey@redhat.com>
3808
3809 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
3810 gdb_test_multiple fails for other reasons.
3811
3812 2012-08-24 Yao Qi <yao@codesourcery.com>
3813
3814 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
3815
3816 2012-08-23 Pedro Alves <palves@redhat.com>
3817
3818 * gdb.base/help.exp: Adjust to "handle" help text change.
3819
3820 2012-08-23 Yao Qi <yao@codesourcery.com>
3821
3822 * gdb.trace/disconnected-tracing.c (start, end): New.
3823 (main): Call start and end.
3824 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
3825 existing tests into this proc.
3826 (disconnected_tfind): New.
3827
3828 2012-08-23 Yao Qi <yao@codesourcery.com>
3829
3830 * boards/native-gdbserver.exp (${board}_upload): New.
3831 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
3832 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
3833 Execute tfile on remote target.
3834 Copy trace file from target to host.
3835
3836 2012-08-22 Joseph Myers <joseph@codesourcery.com>
3837
3838 * gdb.arch/thumb-bx-pc.S: New file.
3839 * gdb.arch/thumb-bx-pc.exp: New file.
3840
3841 2012-08-22 Tom Tromey <tromey@redhat.com>
3842
3843 * gdb.base/maint.exp: Update.
3844
3845 2012-08-22 Tom Tromey <tromey@redhat.com>
3846
3847 * lib/gdb.exp (skip_unwinder_tests): New proc.
3848 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
3849 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
3850
3851 2012-08-21 Tom Tromey <tromey@redhat.com>
3852
3853 * gdb.hp/gdb.aCC/exception.exp: Remove.
3854
3855 012-08-19 Andrew Pinski <apinski@cavium.com>
3856
3857 * gdb.arch/mips-octeon-bbit.c: New file.
3858 * gdb.arch/mips-octeon-bbit.exp: New Test.
3859
3860 012-08-19 Keith Seitz <keiths@redhat.com>
3861
3862 PR c++/14365
3863 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
3864 * gdb.dwarf2/dw2-anon-mptr.S: New file.
3865
3866 2012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3867
3868 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
3869 verbose -log by more specific untested call.
3870
3871 2012-08-18 Yao Qi <yao@codesourcery.com>
3872
3873 * gdb.trace/tfind.exp: Move tests on various command help before
3874 checking target supports trace.
3875 Fix the expected output of 'help tfind end'.
3876
3877 2012-08-17 Keith Seitz <keiths@redhat.com>
3878
3879 PR c++/13356
3880 * gdb.base/default.exp: Update all "check type" tests.
3881 * gdb.base/help.exp: Likewise.
3882 * gdb.base/setshow.exp: Likewise.
3883 * gdb.cp/converts.cc (foo1_type_check): New function.
3884 (foo2_type_check): New function.
3885 (foo3_type_check): New function.
3886 (main): Call new functions.
3887 * converts.exp: Add tests for integer-to-pointer conversions
3888 with/without strict type-checking.
3889
3890 2012-08-16 Mike Frysinger <vapier@gentoo.org>
3891
3892 * gdb.base/help.exp: Update expected output.
3893
3894 2012-08-16 Joel Brobecker <brobecker@adacore.com>
3895
3896 * gdb.ada/rdv_wait: New testcase.
3897
3898 2012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3899
3900 * gdb.base/attach-twice.exp: Remove excessive ps exec.
3901
3902 2012-08-13 Doug Evans <dje@google.com>
3903
3904 * gdb.base/help.exp: Update expected output.
3905 * gdb.base/default.exp: Update expected output of "show convenience".
3906
3907 2012-08-10 Doug Evans <dje@google.com>
3908
3909 * gdb.python/py-strfns.c: New file.
3910 * gdb.python/py-strfns.exp: New file.
3911 * gdb.python/py-type.exp (test_fields): Add vector tests.
3912
3913 2012-08-10 Mike Frysinger <vapier@gentoo.org>
3914
3915 PR cli/10436:
3916 * gdb.base/completion.exp: Add tests for handle completion.
3917
3918 2012-08-09 Yao Qi <yao@codesourcery.com>
3919
3920 * gdb.mi/mi-cmd-param-changed.exp: New.
3921 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
3922 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
3923 * gdb.mi/mi2-prompt.exp: Likewise.
3924
3925 2012-08-08 Doug Evans <dje@google.com>
3926
3927 * gdb.base/debug-expr.c: New file.
3928 * gdb.base/debug-expr.exp: New file.
3929 * gdb.base/exprs.exp: Test {type} casts.
3930 * gdb.cp/debug-expr.exp: New file.
3931
3932 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3933
3934 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
3935 global variable loop, not a 'break'. Add loop count limit to 100.
3936 Add new fail case for terminated vgdb.
3937
3938 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3939 Jean-Marc Saffroy <saffroy@gmail.com>
3940
3941 PR 11804
3942 * gdb.base/gcore-relro.exp: New file.
3943 * gdb.base/gcore-relro-main.c: New file.
3944 * gdb.base/gcore-relro-lib.c: New file.
3945
3946 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3947
3948 Do not false FAIL with old GCCs.
3949 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
3950 GCC < 4.5 in $no_hw mode.
3951
3952 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3953
3954 * gdb.base/default.exp (cd): Accept new directory with no arguments.
3955
3956 2012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3957
3958 * gdb.base/list.exp (test_only_end): New function.
3959 Call it.
3960
3961 2012-08-06 Tom Tromey <tromey@redhat.com>
3962
3963 * gdb.python/py-mi.exp: Add test for printer whose children
3964 are a list.
3965 * gdb.python/py-prettyprint.c (struct children_as_list): New.
3966 (main): New variable children_as_list.
3967 * gdb.python/py-prettyprint.py (class pp_children_as_list):
3968 New.
3969 (register_pretty_printers): Register new printer.
3970
3971 2012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
3972
3973 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
3974 symbols. Abort if vgdb remote connection is closed.
3975
3976 2012-08-02 Doug Evans <dje@google.com>
3977
3978 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
3979
3980 2012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
3981
3982 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
3983 s390x, PowerPC 64 and m68k-linux.
3984
3985 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3986
3987 * gdb.base/annota1.exp: Accept no frames-invalid notification
3988 when starting up the program.
3989 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
3990 show a symbolic value as well.
3991 * gdb.server/server-exec-info.exp: Skip test when skipping
3992 gdbserver test and/or when skipping shared library tests.
3993 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
3994 avoid name conflicts with other tests.
3995
3996 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3997
3998 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
3999 Fix wrong output on big-endian systems.
4000 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
4001 4-byte pointer types on 64-bit s390x.
4002
4003 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
4004
4005 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
4006 marker comment at the beginning (after intialization).
4007 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
4008 breakpoint on marker comment instead of function begin.
4009 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
4010 PowerPC.
4011 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
4012 or 64-bit PowerPC.
4013 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
4014 gdb,no_hardware_watchpoints flag is set.
4015 (initialize): Remove now redundant can-use-hw-watchpoints change.
4016
4017 2012-08-02 Yao Qi <yao@codesourcery.com>
4018 Pedro Alves <palves@redhat.com>
4019
4020 * boards/local-remote-host.exp: New.
4021
4022 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
4023
4024 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
4025 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
4026 * gdb.base/print-file-var.exp: Likewise.
4027 * gdb.server/solib-list.exp: Skip on remote targets.
4028
4029 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
4030
4031 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
4032 watchpoints on ARM. When expecting software watchpoints, tolerate
4033 (remote) targets that report unsupported hardware watchpoint only
4034 at continue time.
4035 (test_wide_location_2): Likewise.
4036
4037 2012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4038
4039 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
4040 valgrind versions.
4041
4042 2012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
4043
4044 * gdb.base/valgrind-infcall.c: New file.
4045 * gdb.base/valgrind-infcall.exp: New file.
4046
4047 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
4048
4049 2012-07-30 Keith Seitz <keiths@redhat.com>
4050
4051 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
4052 linespecs.
4053
4054 2012-07-30 Doug Evans <dje@google.com>
4055
4056 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
4057 * gdb.dwarf2/pr13961.S: Ditto.
4058
4059 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
4060
4061 2012-07-30 Andrew Burgess <aburgess@broadcom.com>
4062
4063 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
4064 change its format immediately after reloading the binary.
4065
4066 2012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4067
4068 Fix testsuite regression after --use-deprecated-index-sections removal.
4069 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
4070 string.
4071 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
4072
4073 2012-07-27 Yao Qi <yao@codesourcery.com>
4074
4075 KFAIL for PR remote/14161.
4076 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
4077 Cleanup socket files.
4078 (strace_info_marker): Detach inferior.
4079
4080 2012-07-26 Tom Tromey <tromey@redhat.com>
4081
4082 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
4083
4084 2012-07-26 Markus Metzger <markus.t.metzger@intel.com>
4085
4086 * gdb.python/py-inferior.c (thread): New function.
4087 (check_threads): New function.
4088 (test_threads): New function.
4089 * gdb.python/py-inferior.exp: Added test.
4090 Replaced runto with continue to breakpoint.
4091
4092 2012-07-26 Tom Tromey <tromey@redhat.com>
4093
4094 * lib/ada.exp (standard_ada_testfile): New proc.
4095 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
4096 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
4097 * gdb.ada/array_return.exp: Use standard_ada_testfile.
4098 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
4099 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
4100 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
4101 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
4102 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
4103 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
4104 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
4105 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
4106 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
4107 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
4108 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
4109 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
4110 * gdb.ada/char_param.exp: Use standard_ada_testfile.
4111 * gdb.ada/complete.exp: Use standard_ada_testfile.
4112 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
4113 standard_output_file.
4114 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
4115 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
4116 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
4117 standard_output_file.
4118 * gdb.ada/exprs.exp: Use standard_ada_testfile.
4119 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
4120 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
4121 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
4122 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
4123 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
4124 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
4125 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
4126 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
4127 * gdb.ada/homonym.exp: Use standard_ada_testfile.
4128 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
4129 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
4130 * gdb.ada/interface.exp: Use standard_ada_testfile.
4131 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
4132 standard_output_file
4133 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
4134 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
4135 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
4136 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
4137 * gdb.ada/nested.exp: Use standard_ada_testfile.
4138 * gdb.ada/null_array.exp: Use standard_ada_testfile.
4139 * gdb.ada/null_record.exp: Use standard_ada_testfile.
4140 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
4141 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
4142 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
4143 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
4144 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
4145 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
4146 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
4147 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
4148 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
4149 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
4150 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
4151 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
4152 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
4153 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
4154 * gdb.ada/start.exp: Use standard_ada_testfile.
4155 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
4156 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
4157 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
4158 * gdb.ada/tagged.exp: Use standard_ada_testfile.
4159 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
4160 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
4161 * gdb.ada/tasks.exp: Use standard_ada_testfile.
4162 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
4163 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
4164 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
4165 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
4166 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
4167 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
4168 * gdb.ada/widewide.exp: Use standard_ada_testfile.
4169
4170 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4171
4172 Fix testsuite regression after --use-deprecated-index-sections removal.
4173 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
4174
4175 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4176
4177 Fix compatibility with Tcl before 7.5.
4178 * lib/future.exp (lreverse): New function if it does not exist.
4179
4180 2012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
4181
4182 * gdb.mi/mi-pending.c: New method to set a second pending
4183 breakpoint.
4184 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
4185 condition.
4186
4187 2012-07-20 Pedro Alves <palves@redhat.com>
4188
4189 PR threads/11692
4190 PR gdb/12203
4191
4192 * gdb.threads/create-fail.c: New file.
4193 * gdb.threads/create-fail.exp: New file.
4194
4195 2012-07-19 Pedro Alves <palves@redhat.com>
4196
4197 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
4198 * config/vx.exp (gdb_start): Likewise.
4199 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
4200 * gdb.base/setvar.exp (test_set): Likewise.
4201 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
4202 * gdb.reverse/sigall-precsave.exp: Likewise.
4203 * gdb.reverse/sigall-reverse.exp: Likewise.
4204
4205 2012-07-19 Pedro Alves <palves@redhat.com>
4206
4207 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
4208 handler before recording.
4209
4210 2012-07-19 Tom Tromey <tromey@redhat.com>
4211
4212 * gdb.cp/casts.exp: Add tests for typeof and decltype.
4213 * gdb.cp/casts.cc (decltype): New function.
4214 (main): Use it.
4215
4216 2012-07-19 Pedro Alves <palves@redhat.com>
4217
4218 * gdb.base/sigall.exp (signals): New list.
4219 <top level>: Loop over signals in the $signals list instead of
4220 calling a test function once per signal.
4221 * gdb.reverse/sigall-precsave.exp (signals): New list.
4222 <top level>: Loop over signals in the $signals list instead of
4223 calling a test function once per signal.
4224 * gdb.reverse/sigall-reverse.exp (signals): New list.
4225 <top level>: Loop over signals in the $signals list instead of
4226 calling a test function once per signal.
4227
4228 2012-07-19 Yao Qi <yao@codesourcery.com>
4229
4230 * gdb.base/setshow.exp: Test 'set args ~'.
4231
4232 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4233
4234 * gdb.base/store.exp (check_set): Import gdb_prompt.
4235 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
4236 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
4237
4238 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4239
4240 PR 11914
4241 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
4242 (main): Call eval_sub.
4243 * gdb.python/py-prettyprint.exp:
4244 (python execfile ('py-prettyprint.py')): Move it earlier.
4245 New breakpoint for eval-break.
4246 (continue to breakpoint: eval-break, info locals): New test.
4247 (python execfile ('py-prettyprint.py')): Move it from here.
4248 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
4249 (register_pretty_printers): Register pp_eval_type.
4250
4251 2012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4252
4253 Fix a testcase regression by me.
4254 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
4255 DW_FORM_data4.
4256
4257 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4258 Doug Evans <dje@google.com>
4259
4260 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
4261 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
4262
4263 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4264
4265 Fix gdbserver run regression.
4266 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
4267
4268 2012-07-12 Tom Tromey <tromey@redhat.com>
4269
4270 * lib/gdb.exp (standard_testfile): Don't declare objdir.
4271 (clean_restart): Likewise.
4272 (core_find): Use standard_output_file.
4273
4274 2012-07-12 Tom Tromey <tromey@redhat.com>
4275
4276 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
4277 * gdb.dwarf2/dw2-anonymous-func.exp: Use
4278 prepare_for_testing_full.
4279 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
4280 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
4281 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
4282 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
4283 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
4284 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
4285 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
4286 prepare_for_testing_full.
4287 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
4288 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
4289 prepare_for_testing_full.
4290 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
4291 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
4292 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
4293
4294 2012-07-12 Tom Tromey <tromey@redhat.com>
4295
4296 * lib/gdb.exp (build_executable_from_specs): New proc, from
4297 build_executable.
4298 (build_executable): Use it.
4299 (prepare_for_testing_full): New proc.
4300
4301 2012-07-11 Tom Tromey <tromey@redhat.com>
4302
4303 * gdb.reverse/break-precsave.exp: Use standard_output_file.
4304 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
4305 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
4306 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
4307 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
4308 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
4309 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
4310 * gdb.reverse/step-precsave.exp: Use standard_output_file.
4311 * gdb.reverse/until-precsave.exp: Use standard_output_file.
4312 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
4313
4314 2012-07-10 Tom Tromey <tromey@redhat.com>
4315
4316 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
4317 standard_output_file.
4318 * gdb.mi/gdb2549.exp: Use standard_testfile.
4319 * gdb.mi/gdb669.exp: Use standard_testfile.
4320 * gdb.mi/gdb701.exp: Use standard_testfile.
4321 * gdb.mi/gdb792.exp: Use standard_testfile.
4322 * gdb.mi/mi-async.exp: Use standard_testfile.
4323 * gdb.mi/mi-basics.exp: Use standard_testfile.
4324 * gdb.mi/mi-break.exp: Use standard_testfile.
4325 * gdb.mi/mi-cli.exp: Use standard_testfile.
4326 * gdb.mi/mi-console.exp: Use standard_testfile.
4327 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
4328 * gdb.mi/mi-eval.exp: Use standard_testfile.
4329 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
4330 * gdb.mi/mi-file.exp: Use standard_testfile.
4331 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
4332 * gdb.mi/mi-logging.exp: Use standard_testfile.
4333 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
4334 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
4335 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
4336 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
4337 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
4338 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
4339 * gdb.mi/mi-pending.exp: Use standard_testfile,
4340 standard_output_file.
4341 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
4342 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
4343 * gdb.mi/mi-regs.exp: Use standard_testfile.
4344 * gdb.mi/mi-return.exp: Use standard_testfile.
4345 * gdb.mi/mi-reverse.exp: Use standard_testfile.
4346 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
4347 * gdb.mi/mi-solib.exp: Use standard_testfile,
4348 standard_output_file.
4349 * gdb.mi/mi-stack.exp: Use standard_testfile.
4350 * gdb.mi/mi-stepi.exp: Use standard_testfile.
4351 * gdb.mi/mi-stepn.exp: Use standard_testfile.
4352 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
4353 * gdb.mi/mi-until.exp: Use standard_testfile.
4354 * gdb.mi/mi-var-block.exp: Use standard_testfile.
4355 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
4356 * gdb.mi/mi-var-child.exp: Use standard_testfile.
4357 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
4358 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
4359 * gdb.mi/mi-var-display.exp: Use standard_testfile.
4360 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
4361 standard_output_file.
4362 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
4363 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
4364 * gdb.mi/mi-watch.exp: Use standard_testfile.
4365 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
4366 * gdb.mi/mi2-basics.exp: Use standard_testfile.
4367 * gdb.mi/mi2-break.exp: Use standard_testfile.
4368 * gdb.mi/mi2-cli.exp: Use standard_testfile.
4369 * gdb.mi/mi2-console.exp: Use standard_testfile.
4370 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
4371 * gdb.mi/mi2-eval.exp: Use standard_testfile.
4372 * gdb.mi/mi2-file.exp: Use standard_testfile.
4373 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
4374 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
4375 * gdb.mi/mi2-regs.exp: Use standard_testfile.
4376 * gdb.mi/mi2-return.exp: Use standard_testfile.
4377 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
4378 * gdb.mi/mi2-stack.exp: Use standard_testfile.
4379 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
4380 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
4381 * gdb.mi/mi2-until.exp: Use standard_testfile.
4382 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
4383 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
4384 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
4385 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
4386 * gdb.mi/mi2-watch.exp: Use standard_testfile.
4387
4388 2012-07-10 Tom Tromey <tromey@redhat.com>
4389
4390 * gdb.cp/abstract-origin.exp: Use standard_testfile.
4391 * gdb.cp/ambiguous.exp: Use standard_testfile,
4392 prepare_for_testing.
4393 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
4394 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
4395 * gdb.cp/anon-ns.exp: Use standard_testfile.
4396 * gdb.cp/anon-struct.exp: Use standard_testfile.
4397 * gdb.cp/anon-union.exp: Use standard_testfile,
4398 prepare_for_testing.
4399 * gdb.cp/arg-reference.exp: Use standard_testfile,
4400 prepare_for_testing.
4401 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
4402 * gdb.cp/breakpoint.exp: Use standard_testfile,
4403 prepare_for_testing.
4404 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
4405 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
4406 standard_output_file.
4407 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
4408 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
4409 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
4410 (test_static_members): Update.
4411 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
4412 * gdb.cp/converts.exp: Use standard_testfile.
4413 * gdb.cp/cp-relocate.exp: Use standard_testfile.
4414 * gdb.cp/cpcompletion.exp: Use standard_testfile,
4415 prepare_for_testing.
4416 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
4417 * gdb.cp/cplabel.exp: Use standard_testfile.
4418 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
4419 prepare_for_testing.
4420 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
4421 * gdb.cp/derivation.exp: Use standard_testfile,
4422 prepare_for_testing.
4423 * gdb.cp/destrprint.exp: Use standard_testfile.
4424 * gdb.cp/dispcxx.exp: Use standard_testfile.
4425 * gdb.cp/exception.exp: Use standard_testfile,
4426 prepare_for_testing.
4427 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
4428 * gdb.cp/extern-c.exp: Use standard_testfile,
4429 prepare_for_testing.
4430 * gdb.cp/formatted-ref.exp: Use standard_testfile,
4431 prepare_for_testing.
4432 * gdb.cp/fpointer.exp: Use standard_testfile.
4433 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
4434 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
4435 standard_output_file.
4436 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
4437 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
4438 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
4439 standard_output_file.
4440 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
4441 (do_tests): Update.
4442 * gdb.cp/koenig.exp: Use standard_testfile.
4443 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
4444 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
4445 * gdb.cp/m-static.exp: Use standard_testfile,
4446 prepare_for_testing.
4447 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
4448 * gdb.cp/mb-inline.exp: Use standard_testfile,
4449 prepare_for_testing.
4450 * gdb.cp/mb-templates.exp: Use standard_testfile,
4451 prepare_for_testing.
4452 * gdb.cp/member-ptr.exp: Use standard_testfile,
4453 prepare_for_testing.
4454 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
4455 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
4456 * gdb.cp/method2.exp: Use standard_testfile.
4457 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
4458 standard_output_file.
4459 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
4460 (do_tests): Update.
4461 * gdb.cp/namespace-enum.exp: Use standard_testfile,
4462 prepare_for_testing.
4463 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
4464 prepare_for_testing.
4465 * gdb.cp/namespace.exp: Use standard_testfile,
4466 prepare_for_testing.
4467 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
4468 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
4469 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
4470 * gdb.cp/nsimport.exp: Use standard_testfile,
4471 prepare_for_testing.
4472 * gdb.cp/nsnested.exp: Use standard_testfile.
4473 * gdb.cp/nsnoimports.exp: Use standard_testfile.
4474 * gdb.cp/nsrecurs.exp: Use standard_testfile,
4475 prepare_for_testing.
4476 * gdb.cp/nsstress.exp: Use standard_testfile,
4477 prepare_for_testing.
4478 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
4479 * gdb.cp/operator.exp: Use standard_testfile.
4480 * gdb.cp/oranking.exp: Use standard_testfile.
4481 * gdb.cp/overload-const.exp: Use standard_testfile.
4482 * gdb.cp/overload.exp: Use standard_testfile,
4483 prepare_for_testing.
4484 * gdb.cp/ovldbreak.exp: Use standard_testfile.
4485 * gdb.cp/ovsrch.exp: Use standard_testfile.
4486 * gdb.cp/paren-type.exp: Use standard_testfile.
4487 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
4488 prepare_for_testing.
4489 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
4490 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
4491 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
4492 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
4493 * gdb.cp/pr10728.exp: Use standard_testfile,
4494 standard_output_file.
4495 * gdb.cp/pr12028.exp: Use standard_testfile.
4496 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
4497 * gdb.cp/pr9167.exp: Use standard_testfile.
4498 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
4499 * gdb.cp/printmethod.exp: Use standard_testfile,
4500 prepare_for_testing.
4501 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
4502 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
4503 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
4504 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
4505 standard_output_file.
4506 * gdb.cp/readnow-language.exp: Use standard_testfile.
4507 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
4508 (gdb_start_again): Use clean_restart.
4509 * gdb.cp/ref-types.exp: Use standard_testfile,
4510 prepare_for_testing.
4511 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
4512 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
4513 * gdb.cp/smartp.exp: Use standard_testfile.
4514 * gdb.cp/static-method.exp: Use standard_testfile.
4515 * gdb.cp/static-print-quit.exp: Use standard_testfile.
4516 * gdb.cp/temargs.exp: Use standard_testfile.
4517 * gdb.cp/templates.exp: Use standard_testfile,
4518 prepare_for_testing.
4519 (do_tests): Update.
4520 * gdb.cp/try_catch.exp: Use standard_testfile,
4521 prepare_for_testing.
4522 * gdb.cp/typedef-operator.exp: Use standard_testfile.
4523 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
4524 * gdb.cp/virtbase.exp: Use standard_testfile,
4525 prepare_for_testing.
4526 * gdb.cp/virtfunc.exp: Use standard_testfile,
4527 prepare_for_testing.
4528 (do_tests): Update.
4529 * gdb.cp/virtfunc2.exp: Use standard_testfile,
4530 prepare_for_testing.
4531
4532 2012-07-10 Tom Tromey <tromey@redhat.com>
4533
4534 * lib/gdb.exp (standard_testfile): Unset output variables from
4535 earlier invocations.
4536
4537 2012-07-10 Yao Qi <yao@codesourcery.com>
4538
4539 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
4540 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
4541 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
4542 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
4543 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
4544 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
4545 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
4546 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
4547 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
4548 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
4549 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
4550 * gdb.mi/mi-var-display.exp: Likewise.
4551 * gdb.mi/mi-var-invalidate.exp: Likewise.
4552 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
4553 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
4554 * gdb.mi/mi2-console.exp: Likewise.
4555 * gdb.mi/mi2-disassemble.exp: Likewise.
4556 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
4557 * gdb.mi/mi2-read-memory.exp: Likewise.
4558 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
4559 * gdb.mi/mi2-simplerun.exp: Likewise.
4560 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
4561 * gdb.mi/mi2-syn-frame.exp: Likewise.
4562 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
4563 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
4564 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
4565
4566 2012-07-09 Tom Tromey <tromey@redhat.com>
4567
4568 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
4569 * gdb.base/callfuncs.exp: Add cast-based test.
4570 * gdb.base/callfuncs.c (voidfunc): New function.
4571
4572 2012-07-08 Doug Evans <dje@google.com>
4573
4574 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
4575
4576 2012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4577
4578 Fix XFAIL compatibility with old i386 systems.
4579 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
4580 Check also 'Cannot insert breakpoint 0'.
4581
4582 2012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4583
4584 PR 14321
4585 * gdb.base/find.exp
4586 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
4587
4588 2012-07-06 Tom Tromey <tromey@redhat.com>
4589
4590 * gdb.base/whatis.exp: Add test.
4591
4592 2012-07-06 Tom Tromey <tromey@redhat.com>
4593
4594 * gdb.base/whatis.exp: Add regression test.
4595
4596 2012-07-06 Tom Tromey <tromey@redhat.com>
4597
4598 * gdb.base/whatis.exp: Add tests.
4599
4600 2012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4601
4602 PR 12649
4603 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
4604 gdb_test_multiple $gdb_prompt terminator.
4605
4606 2012-07-04 Pedro Alves <palves@redhat.com>
4607
4608 * gdb.mi/mi-reverse.exp: Use supports_reverse and
4609 supports_process_record.
4610
4611 2012-07-04 Pedro Alves <palves@redhat.com>
4612
4613 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
4614 endings.
4615 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
4616
4617 2012-07-03 Stan Shebs <stan@codesourcery.com>
4618
4619 * gdb.base/info-os.c (main): Retry resource acquisition until an
4620 available one is found.
4621 * gdb.base/info-os.exp: Collect resource keys from the program
4622 and use them in matching.
4623
4624 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4625
4626 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
4627 Wrap the test into loop for corefile and core0file.
4628
4629 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4630
4631 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
4632 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
4633 .note.GNU-stack.
4634
4635 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
4636
4637 2012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
4638
4639 * gdb.base/help.exp (help b, help br, help bre, help brea, help
4640 break): Include help message for the new `-probe' and `-probe-stap'
4641 options.
4642
4643 2012-07-02 Stan Shebs <stan@codesourcery.com>
4644
4645 * gdb.base/dprintf.exp: Add agent style tests.
4646
4647 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4648
4649 * gdb.base/stale-infcall.c (infcall): New label test-next.
4650 (main): New labels test-pass and test-fail.
4651 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
4652 $test_fail_bpnum to test-fail.
4653 (test system longjmp tracking support): New test.
4654 Delete $test_fail_bpnum.
4655 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
4656 breakpoint.
4657
4658 2012-06-30 Doug Evans <dje@google.com>
4659
4660 * gdb.dwarf2/fission-reread.S: New file.
4661 * gdb.dwarf2/fission-reread.exp: New file.
4662
4663 2012-06-28 Stan Shebs <stan@codesourcery.com>
4664
4665 * gdb.mi/mi-logging.exp: New file.
4666
4667 2012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4668 Pedro Alves <palves@redhat.com>
4669
4670 * gdb.threads/siginfo-threads.exp: New file.
4671 * gdb.threads/siginfo-threads.c: New file.
4672 * gdb.threads/sigstep-threads.exp: New file.
4673 * gdb.threads/sigstep-threads.c: New file.
4674
4675 2012-06-28 Tom Tromey <tromey@redhat.com>
4676
4677 * gdb.go/package.exp: Partially revert earlier patch; use
4678 gdb_compile again. Use standard_output_file.
4679
4680 2012-06-27 Doug Evans <dje@google.com>
4681
4682 * gdb.dwarf2/fission-base.c: New file.
4683 * gdb.dwarf2/fission-base.S: New file.
4684 * gdb.dwarf2/fission-base.exp: New file.
4685
4686 2012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4687
4688 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
4689
4690 2012-06-27 Tom Tromey <tromey@redhat.com>
4691
4692 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
4693 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
4694
4695 2012-06-27 Tom Tromey <tromey@redhat.com>
4696
4697 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
4698 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
4699 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
4700 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
4701 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
4702 prepare_for_testing.
4703 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
4704 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
4705 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
4706 standard_testfile.
4707 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
4708 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
4709 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
4710 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
4711 prepare_for_testing.
4712 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
4713 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
4714 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
4715 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
4716 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
4717 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
4718 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
4719 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
4720 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
4721 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
4722 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
4723 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
4724 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
4725 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
4726 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
4727 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
4728 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
4729 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
4730 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
4731 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
4732 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
4733 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
4734 standard_output_file.
4735 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
4736 standard_output_file.
4737 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
4738 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
4739 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
4740 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
4741 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
4742 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
4743 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
4744 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
4745 * gdb.dwarf2/implptr.exp: Use standard_testfile.
4746 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
4747 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
4748 * gdb.dwarf2/pieces.exp: Use standard_testfile.
4749 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
4750 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
4751 * gdb.dwarf2/valop.exp: Use standard_testfile,
4752 prepare_for_testing.
4753
4754 2012-06-27 Tom Tromey <tromey@redhat.com>
4755
4756 * gdb.python/python.exp: Fix regexps in pagination tests.
4757
4758 2012-06-26 Siva Chandra Reddy <sivachandra@google.com>
4759
4760 * gdb.python/py-symtab.exp: Add tests to test the new attribute
4761 'last' of gdb.Symtab_and_line.
4762 * gdb.python/py-symbol.c: Move break point comment to enable
4763 testing of gdb.Symtab_and_line.last.
4764
4765 2012-06-26 Tom Tromey <tromey@redhat.com>
4766
4767 * gdb.threads/step.c: Remove.
4768 * gdb.threads/step.exp: Remove.
4769 * gdb.threads/step2.exp: Remove.
4770
4771 2012-06-26 Tom Tromey <tromey@redhat.com>
4772
4773 * gdb.threads/watchpoint-fork.exp (test): Use
4774 standard_output_file. Don't declare objdir.
4775 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
4776 standard_output_file.
4777 * gdb.threads/attach-stopped.exp: Use standard_testfile.
4778 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
4779 clean_restart. Remove incdir.
4780 * gdb.threads/corethreads.exp: Use standard_testfile.
4781 * gdb.threads/execl.exp: Use standard_testfile,
4782 standard_output_file, clean_restart.
4783 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
4784 clean_restart.
4785 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
4786 clean_restart.
4787 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
4788 incdir.
4789 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
4790 clean_restart. Remove incdir.
4791 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
4792 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
4793 clean_restart. Remove incdir.
4794 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
4795 Remove incdir.
4796 * gdb.threads/leader-exit.exp: Use standard_testfile.
4797 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
4798 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
4799 clean_restart.
4800 * gdb.threads/manythreads.exp: Use standard_testfile,
4801 clean_restart. Remove incdir.
4802 * gdb.threads/multi-create.exp: Use standard_testfile,
4803 clean_restart.
4804 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
4805 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
4806 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
4807 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
4808 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
4809 * gdb.threads/pending-step.exp: Use standard_testfile,
4810 clean_restart. Remove incdir.
4811 * gdb.threads/print-threads.exp: Use standard_testfile,
4812 clean_restart. Remove incdir.
4813 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
4814 clean_restart. Remove incdir.
4815 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
4816 Remove incdir.
4817 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
4818 incdir.
4819 * gdb.threads/sigthread.exp: Use standard_testfile,
4820 clean_restart.
4821 * gdb.threads/staticthreads.exp: Use standard_testfile,
4822 clean_restart. Remove incdir.
4823 * gdb.threads/switch-threads.exp: Use standard_testfile,
4824 clean_restart. Remove incdir.
4825 * gdb.threads/thread-execl.exp: Use standard_testfile,
4826 clean_restart. Remove incdir.
4827 * gdb.threads/thread-find.exp: Use standard_testfile,
4828 clean_restart.
4829 * gdb.threads/thread-specific.exp: Use standard_testfile,
4830 clean_restart. Remove incdir.
4831 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
4832 clean_restart. Remove incdir.
4833 * gdb.threads/thread_check.exp: Use standard_testfile,
4834 clean_restart. Remove incdir.
4835 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
4836 incdir.
4837 * gdb.threads/threadapply.exp: Use standard_testfile,
4838 clean_restart. Remove incdir.
4839 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
4840 clean_restart. Remove incdir.
4841 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
4842 clean_restart.
4843 * gdb.threads/tls-shared.exp: Use standard_testfile,
4844 clean_restart, standard_output_file.
4845 * gdb.threads/tls-var.exp: Use standard_testfile,
4846 standard_output_file.
4847 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
4848 Remove incdir.
4849 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
4850 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
4851 incdir.
4852 * gdb.threads/watchthreads2.exp: Use standard_testfile,
4853 clean_restart. Remove incdir.
4854
4855 2012-06-26 Tom Tromey <tromey@redhat.com>
4856
4857 * gdb.trace/actions.exp: Use standard_testfile.
4858 * gdb.trace/ax.exp: Use standard_testfile.
4859 * gdb.trace/backtrace.exp: Use standard_testfile.
4860 * gdb.trace/change-loc.exp: Use standard_testfile.
4861 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
4862 * gdb.trace/collection.exp: Use standard_testfile,
4863 prepare_for_testing.
4864 * gdb.trace/deltrace.exp: Use standard_testfile.
4865 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
4866 * gdb.trace/ftrace.exp: Use standard_testfile.
4867 * gdb.trace/infotrace.exp: Use standard_testfile.
4868 * gdb.trace/packetlen.exp: Use standard_testfile.
4869 * gdb.trace/passc-dyn.exp: Use standard_testfile.
4870 * gdb.trace/passcount.exp: Use standard_testfile.
4871 * gdb.trace/pending.exp: Use standard_testfile.
4872 * gdb.trace/report.exp: Use standard_testfile.
4873 * gdb.trace/save-trace.exp: Use standard_testfile.
4874 * gdb.trace/stap-trace.exp: Use standard_testfile.
4875 * gdb.trace/status-stop.exp: Use standard_testfile.
4876 * gdb.trace/strace.exp: Use standard_testfile.
4877 * gdb.trace/tfile.exp: Use standard_testfile.
4878 * gdb.trace/tfind.exp: Use standard_testfile.
4879 * gdb.trace/trace-break.exp: Use standard_testfile.
4880 * gdb.trace/trace-mt.exp: Use standard_testfile.
4881 * gdb.trace/tracecmd.exp: Use standard_testfile.
4882 * gdb.trace/tspeed.exp: Use standard_testfile.
4883 * gdb.trace/tstatus.exp: Use standard_testfile.
4884 * gdb.trace/tsv.exp: Use standard_testfile.
4885 * gdb.trace/unavailable.exp: Use standard_testfile,
4886 prepare_for_testing.
4887 * gdb.trace/while-dyn.exp: Use standard_testfile.
4888 * gdb.trace/while-stepping.exp: Use standard_testfile.
4889
4890 2012-06-26 Tom Tromey <tromey@redhat.com>
4891
4892 * gdb.reverse/break-precsave.exp: Use standard_testfile.
4893 * gdb.reverse/break-reverse.exp: Use standard_testfile.
4894 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
4895 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
4896 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
4897 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
4898 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
4899 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
4900 prepare_for_testing.
4901 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
4902 prepare_for_testing.
4903 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
4904 prepare_for_testing.
4905 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
4906 prepare_for_testing.
4907 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
4908 prepare_for_testing
4909 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
4910 * gdb.reverse/machinestate.exp: Use standard_testfile.
4911 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
4912 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
4913 build_executable.
4914 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
4915 build_executable.
4916 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
4917 standard_output_file.
4918 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
4919 standard_output_file.
4920 * gdb.reverse/step-precsave.exp: Use standard_testfile.
4921 * gdb.reverse/step-reverse.exp: Use standard_testfile.
4922 * gdb.reverse/until-precsave.exp: Use standard_testfile.
4923 * gdb.reverse/until-reverse.exp: Use standard_testfile.
4924 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
4925 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
4926
4927 2012-06-26 Tom Tromey <tromey@redhat.com>
4928
4929 * gdb.stabs/weird.exp: Remove directory-checking code. Use
4930 standard_output_file.
4931 * gdb.stabs/exclfwd.exp: Use standard_testfile,
4932 prepare_for_testing. Remove directory-checking code.
4933
4934 2012-06-25 Tom Tromey <tromey@redhat.com>
4935
4936 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
4937 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
4938 build_executable, not prepare_for_testing.
4939 * gdb.multi/base.exp: Use standard_output_file. Use
4940 build_executable, not prepare_for_testing.
4941
4942 2012-06-25 Tom Tromey <tromey@redhat.com>
4943
4944 * gdb.fortran/subarray.exp: Use standard_testfile,
4945 prepare_for_testing.
4946 * gdb.fortran/multi-dim.exp: Use standard_testfile.
4947 * gdb.fortran/module.exp: Use standard_testfile.
4948 * gdb.fortran/logical.exp: Use standard_testfile.
4949 * gdb.fortran/library-module.exp: Use standard_testfile,
4950 standard_output_file.
4951 * gdb.fortran/derived-type.exp: Use standard_testfile,
4952 prepare_for_testing.
4953 * gdb.fortran/complex.exp: Use standard_testfile,
4954 prepare_for_testing.
4955 * gdb.fortran/charset.exp: Use standard_testfile.
4956 * gdb.fortran/array-element.exp: Use standard_testfile,
4957 prepare_for_testing.
4958
4959 2012-06-25 Keith Seitz <keiths@redhat.com>
4960
4961 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
4962 Change rbreak-related tests to KFAIL and add bugzilla numbers.
4963
4964 2012-06-25 Tom Tromey <tromey@redhat.com>
4965
4966 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
4967 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
4968 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
4969 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
4970
4971 2012-06-25 Tom Tromey <tromey@redhat.com>
4972
4973 * gdb.linespec/ls-errs.exp: Use standard_testfile.
4974 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
4975 * gdb.linespec/linespec.exp: Use standard_testfile.
4976
4977 2012-06-25 Tom Tromey <tromey@redhat.com>
4978
4979 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
4980 prepare_for_testing.
4981
4982 2012-06-25 Tom Tromey <tromey@redhat.com>
4983
4984 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
4985 prepare_for_testing.
4986 * gdb.opt/inline-break.exp: Use standard_testfile,
4987 prepare_for_testing.
4988 * gdb.opt/inline-bt.exp: Use standard_testfile,
4989 prepare_for_testing.
4990 * gdb.opt/inline-cmds.exp: Use standard_testfile,
4991 prepare_for_testing.
4992 * gdb.opt/inline-locals.exp: Use standard_testfile,
4993 prepare_for_testing.
4994
4995 2012-06-25 Tom Tromey <tromey@redhat.com>
4996
4997 * gdb.asm/asm-source.exp: Use standard_output_file,
4998 standard_testfile. Construct .o files in proper subdir.
4999
5000 2012-06-25 Tom Tromey <tromey@redhat.com>
5001
5002 * gdb.server/ext-attach.exp: Use standard_testfile,
5003 prepare_for_testing.
5004 * gdb.server/ext-run.exp: Use standard_testfile,
5005 build_executable.
5006 * gdb.server/file-transfer.exp: Use standard_testfile,
5007 prepare_for_testing.
5008 * gdb.server/server-exec-info.exp: Use standard_testfile.
5009 * gdb.server/server-mon.exp: Use standard_testfile,
5010 prepare_for_testing.
5011 * gdb.server/server-run.exp: Use standard_testfile,
5012 build_executable.
5013 * gdb.server/solib-list.exp: Use standard_testfile,
5014 standard_output_file.
5015
5016 2012-06-25 Tom Tromey <tromey@redhat.com>
5017
5018 * lib/gdb.exp (standard_output_file): Use "file join".
5019 * gdb.go/chan.exp: Use standard_testfile.
5020 * gdb.go/handcall.exp: Use standard_testfile.
5021 * gdb.go/hello.exp: Use standard_testfile.
5022 * gdb.integers/chan.exp: Use standard_testfile.
5023 * gdb.go/methods.exp: Use standard_testfile.
5024 * gdb.go/package.exp: Use standard_testfile.
5025 * gdb.go/strings.exp: Use standard_testfile.
5026 * gdb.go/types.exp: Use standard_testfile.
5027 * gdb.go/unsafe.exp: Use standard_testfile.
5028
5029 2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
5030
5031 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
5032
5033 2012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5034
5035 Fix regression by the previous commit.
5036 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
5037
5038 2012-06-22 Tom Tromey <tromey@redhat.com>
5039
5040 * gdb.python/lib-types.exp: Use standard_testfile,
5041 prepare_for_testing.
5042 * gdb.python/py-block.exp: Use standard_testfile.
5043 * gdb.python/py-breakpoint.exp: Use standard_testfile.
5044 * gdb.python/py-events.exp: Use standard_testfile,
5045 standard_output_file.
5046 * gdb.python/py-evsignal.exp: Use standard_testfile.
5047 * gdb.python/py-evethreads.exp: Use standard_testfile.
5048 * gdb.python/py-explore-cc.exp: Use standard_testfile.
5049 * gdb.python/py-explore.exp: Use standard_testfile.
5050 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
5051 standard_output_file.
5052 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
5053 prepare_for_testing.
5054 * gdb.python/py-frame-inline.exp: Use standard_testfile.
5055 * gdb.python/py-frame.exp: Use standard_testfile.
5056 * gdb.python/py-inferior.exp: Use standard_testfile.
5057 * gdb.python/py-infthread.exp: Use standard_testfile.
5058 * gdb.python/py-mi.exp: Use standard_testfile.
5059 * gdb.python/py-objfile-script.exp: Use standard_testfile,
5060 build_executable.
5061 * gdb.python/py-objfile.exp: Use standard_testfile.
5062 * gdb.python/py-pp-maint.exp: Use standard_testfile,
5063 prepare_for_testing.
5064 * gdb.python/py-prettyprint.exp: Use standard_testfile.
5065 * gdb.python/py-progspace.exp: Use standard_testfile,
5066 build_executable.
5067 * gdb.python/py-prompt.exp: Use standard_testfile,
5068 build_executable.
5069 * gdb.python/py-section-script.exp: Use standard_testfile,
5070 build_executable.
5071 * gdb.python/py-shared.exp: Use standard_testfile,
5072 standard_output_file, clean_restart.
5073 * gdb.python/py-symbol.exp: Use standard_output_file,
5074 prepare_for_testing.
5075 * gdb.python/py-symtab.exp: Use standard_output_file,
5076 prepare_for_testing
5077 * gdb.python/py-template.exp: Use standard_testfile.
5078 * gdb.python/py-type.exp: Use standard_testfile.
5079 * gdb.python/py-value-cc.exp: Use standard_testfile.
5080 * gdb.python/py-value.exp: Use standard_testfile.
5081 * gdb.python/python.exp: Use standard_testfile, build_executable.
5082
5083 2012-06-22 Tom Tromey <tromey@redhat.com>
5084
5085 * gdb.objc/basicclass.exp: Use standard_testfile.
5086 (do_objc_tests): Don't declare objdir.
5087 * gdb.objc/nondebug.exp: Use standard_testfile.
5088 (do_objc_tests): Don't declare objdir.
5089 * gdb.objc/objcdecode.exp: Use standard_testfile.
5090 (do_objc_tests): Don't declare objdir.
5091
5092 2012-06-22 Tom Tromey <tromey@redhat.com>
5093
5094 * gdb.java/jmain.exp: Use standard_testfile.
5095 * gdb.java/jmisc.exp: Use standard_testfile.
5096 * gdb.java/jnpe.exp: Use standard_testfile.
5097 * gdb.java/jprint.exp: Use standard_testfile.
5098
5099 2012-06-22 Tom Tromey <tromey@redhat.com>
5100
5101 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
5102 (standard_output_file, standard_testfile): New procs.
5103 (build_executable, clean_restart): Use standard_output_file.
5104
5105 2012-06-22 Yao Qi <yao@codesourcery.com>
5106
5107 * boards/native-gdbserver.exp: New proc ${board}_exec.
5108 * boards/native-stdio-gdbserver.exp: Likewise.
5109
5110 2012-06-21 Tom Tromey <tromey@redhat.com>
5111
5112 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
5113 (build_executable): Update.
5114 (get_compiler_info): Remove 'binfile' argument.
5115 * gdb.ada/arrayidx.exp: Update.
5116 * gdb.ada/null_array.exp: Update.
5117 * gdb.arch/altivec-abi.exp: Update.
5118 * gdb.arch/altivec-regs.exp: Update.
5119 * gdb.arch/amd64-byte.exp: Update.
5120 * gdb.arch/amd64-dword.exp: Update.
5121 * gdb.arch/amd64-word.exp: Update.
5122 * gdb.arch/i386-avx.exp: Update.
5123 * gdb.arch/i386-byte.exp: Update.
5124 * gdb.arch/i386-sse.exp: Update.
5125 * gdb.arch/i386-word.exp: Update.
5126 * gdb.arch/ppc-dfp.exp: Update.
5127 * gdb.arch/ppc-fp.exp: Update.
5128 * gdb.arch/vsx-regs.exp: Update.
5129 * gdb.base/all-bin.exp: Update.
5130 * gdb.base/annota1.exp: Update.
5131 * gdb.base/async.exp: Update.
5132 * gdb.base/attach.exp: Update.
5133 * gdb.base/break-interp.exp: Update.
5134 * gdb.base/call-ar-st.exp: Update.
5135 * gdb.base/call-rt-st.exp: Update.
5136 * gdb.base/call-sc.exp: Update.
5137 * gdb.base/callfuncs.exp: Update.
5138 * gdb.base/catch-load.exp: Update.
5139 * gdb.base/completion.exp: Update.
5140 * gdb.base/complex.exp: Update.
5141 * gdb.base/condbreak.exp: Update.
5142 * gdb.base/consecutive.exp: Update.
5143 * gdb.base/constvars.exp: Update.
5144 * gdb.base/corefile.exp: Update.
5145 * gdb.base/eval-skip.exp: Update.
5146 * gdb.base/expand-psymtabs.exp: Update.
5147 * gdb.base/exprs.exp: Update.
5148 * gdb.base/fileio.exp: Update.
5149 * gdb.base/fixsection.exp: Update.
5150 * gdb.base/funcargs.exp: Update.
5151 * gdb.base/gdb11530.exp: Update.
5152 * gdb.base/gdb1555.exp: Update.
5153 * gdb.base/gnu-ifunc.exp: Update.
5154 * gdb.base/gnu_vector.exp: Update.
5155 * gdb.base/info-macros.exp: Update.
5156 * gdb.base/jit-simple.exp: Update.
5157 * gdb.base/jit-so.exp: Update.
5158 * gdb.base/jit.exp: Update.
5159 * gdb.base/langs.exp: Update.
5160 * gdb.base/list.exp: Update.
5161 * gdb.base/logical.exp: Update.
5162 * gdb.base/long_long.exp: Update.
5163 * gdb.base/longjmp.exp: Update.
5164 * gdb.base/macscp.exp: Update.
5165 * gdb.base/mips_pro.exp: Update.
5166 * gdb.base/miscexprs.exp: Update.
5167 * gdb.base/morestack.exp: Update.
5168 * gdb.base/nodebug.exp: Update.
5169 * gdb.base/opaque.exp: Update.
5170 * gdb.base/pc-fp.exp: Update.
5171 * gdb.base/pending.exp: Update.
5172 * gdb.base/permissions.exp: Update.
5173 * gdb.base/pointers.exp: Update.
5174 * gdb.base/prelink.exp: Update.
5175 * gdb.base/printcmds.exp: Update.
5176 * gdb.base/psymtab.exp: Update.
5177 * gdb.base/ptype.exp: Update.
5178 * gdb.base/relational.exp: Update.
5179 * gdb.base/scope.exp: Update.
5180 * gdb.base/setvar.exp: Update.
5181 * gdb.base/shlib-call.exp: Update.
5182 * gdb.base/shreloc.exp: Update.
5183 * gdb.base/signals.exp: Update.
5184 * gdb.base/sizeof.exp: Update.
5185 * gdb.base/so-impl-ld.exp: Update.
5186 * gdb.base/so-indr-cl.exp: Update.
5187 * gdb.base/solib-disc.exp: Update.
5188 * gdb.base/solib-display.exp: Update.
5189 * gdb.base/solib-nodir.exp: Update.
5190 * gdb.base/solib-overlap.exp: Update.
5191 * gdb.base/solib-symbol.exp: Update.
5192 * gdb.base/solib-weak.exp: Update.
5193 * gdb.base/solib.exp: Update.
5194 * gdb.base/store.exp: Update.
5195 * gdb.base/structs.exp: Update.
5196 * gdb.base/structs2.exp: Update.
5197 * gdb.base/type-opaque.exp: Update.
5198 * gdb.base/unload.exp: Update.
5199 * gdb.base/varargs.exp: Update.
5200 * gdb.base/volatile.exp: Update.
5201 * gdb.base/watch_thread_num.exp: Update.
5202 * gdb.base/watchpoint-solib.exp: Update.
5203 * gdb.base/watchpoint.exp: Update.
5204 * gdb.base/watchpoints.exp: Update.
5205 * gdb.base/whatis.exp: Update.
5206 * gdb.cell/arch.exp: Update.
5207 * gdb.cell/break.exp: Update.
5208 * gdb.cell/bt.exp: Update.
5209 * gdb.cell/core.exp: Update.
5210 * gdb.cell/data.exp: Update.
5211 * gdb.cell/ea-cache.exp: Update.
5212 * gdb.cell/f-regs.exp: Update.
5213 * gdb.cell/fork.exp: Update.
5214 * gdb.cell/gcore.exp: Update.
5215 * gdb.cell/mem-access.exp: Update.
5216 * gdb.cell/ptype.exp: Update.
5217 * gdb.cell/registers.exp: Update.
5218 * gdb.cell/sizeof.exp: Update.
5219 * gdb.cell/solib-symbol.exp: Update.
5220 * gdb.cell/solib.exp: Update.
5221 * gdb.cp/ambiguous.exp: Update.
5222 * gdb.cp/breakpoint.exp: Update.
5223 * gdb.cp/bs15503.exp: Update.
5224 * gdb.cp/casts.exp: Update.
5225 * gdb.cp/class2.exp: Update.
5226 * gdb.cp/cpexprs.exp: Update.
5227 * gdb.cp/cplusfuncs.exp: Update.
5228 * gdb.cp/ctti.exp: Update.
5229 * gdb.cp/dispcxx.exp: Update.
5230 * gdb.cp/gdb1355.exp: Update.
5231 * gdb.cp/gdb2384.exp: Update.
5232 * gdb.cp/gdb2495.exp: Update.
5233 * gdb.cp/infcall-dlopen.exp: Update.
5234 * gdb.cp/local.exp: Update.
5235 * gdb.cp/m-data.exp: Update.
5236 * gdb.cp/m-static.exp: Update.
5237 * gdb.cp/mb-ctor.exp: Update.
5238 * gdb.cp/mb-inline.exp: Update.
5239 * gdb.cp/mb-templates.exp: Update.
5240 * gdb.cp/member-ptr.exp: Update.
5241 * gdb.cp/method.exp: Update.
5242 * gdb.cp/namespace.exp: Update.
5243 * gdb.cp/nextoverthrow.exp: Update.
5244 * gdb.cp/nsdecl.exp: Update.
5245 * gdb.cp/nsrecurs.exp: Update.
5246 * gdb.cp/nsstress.exp: Update.
5247 * gdb.cp/nsusing.exp: Update.
5248 * gdb.cp/pr-1023.exp: Update.
5249 * gdb.cp/pr-1210.exp: Update.
5250 * gdb.cp/pr-574.exp: Update.
5251 * gdb.cp/pr9631.exp: Update.
5252 * gdb.cp/printmethod.exp: Update.
5253 * gdb.cp/psmang.exp: Update.
5254 * gdb.cp/re-set-overloaded.exp: Update.
5255 * gdb.cp/rtti.exp: Update.
5256 * gdb.cp/shadow.exp: Update.
5257 * gdb.cp/templates.exp: Update.
5258 * gdb.cp/try_catch.exp: Update.
5259 * gdb.dwarf2/dw2-ranges.exp: Update.
5260 * gdb.dwarf2/pr10770.exp: Update.
5261 * gdb.fortran/library-module.exp: Update.
5262 * gdb.hp/gdb.aCC/optimize.exp: Update.
5263 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
5264 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
5265 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
5266 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
5267 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
5268 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
5269 * gdb.hp/gdb.compat/xdb1.exp: Update.
5270 * gdb.hp/gdb.compat/xdb2.exp: Update.
5271 * gdb.hp/gdb.compat/xdb3.exp: Update.
5272 * gdb.hp/gdb.defects/bs14602.exp: Update.
5273 * gdb.hp/gdb.defects/solib-d.exp: Update.
5274 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
5275 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
5276 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
5277 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
5278 * gdb.mi/gdb792.exp: Update.
5279 * gdb.mi/mi-pending.exp: Update.
5280 * gdb.mi/mi-solib.exp: Update.
5281 * gdb.mi/mi-var-cp.exp: Update.
5282 * gdb.opt/clobbered-registers-O2.exp: Update.
5283 * gdb.opt/inline-bt.exp: Update.
5284 * gdb.opt/inline-cmds.exp: Update.
5285 * gdb.opt/inline-locals.exp: Update.
5286 * gdb.python/py-events.exp: Update.
5287 * gdb.python/py-finish-breakpoint.exp: Update.
5288 * gdb.python/py-type.exp: Update.
5289 * gdb.reverse/solib-precsave.exp: Update.
5290 * gdb.reverse/solib-reverse.exp: Update.
5291 * gdb.server/solib-list.exp: Update.
5292 * gdb.stabs/weird.exp: Update.
5293 * gdb.threads/attach-into-signal.exp: Update.
5294 * gdb.threads/attach-stopped.exp: Update.
5295 * gdb.threads/tls-shared.exp: Update.
5296 * gdb.trace/change-loc.exp: Update.
5297 * gdb.trace/strace.exp: Update.
5298
5299 2012-06-19 Tom Tromey <tromey@redhat.com>
5300
5301 * gdb.base/whatis.exp: Add tests.
5302
5303 2012-06-19 Tom Tromey <tromey@redhat.com>
5304
5305 * gdb.cp/m-static.cc (keepalive): New function.
5306 (gnu_obj_1::method): Use it.
5307
5308 2012-06-18 Doug Evans <dje@google.com>
5309
5310 * gdb.base/info-fun.exp: New file.
5311 * gdb.base/info-fun.c: New file.
5312 * gdb.base/info-fun-solib.c: New file.
5313
5314 2012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5315
5316 Remove stale dummy frames.
5317 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
5318 (maintenance info breakpoints): New tests.
5319 * gdb.base/stale-infcall.c: New file.
5320 * gdb.base/stale-infcall.exp: New file.
5321
5322 2012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5323
5324 * gdb.arch/amd64-entry-value-param.S: New file.
5325 * gdb.arch/amd64-entry-value-param.c: New file.
5326 * gdb.arch/amd64-entry-value-param.exp: New file.
5327
5328 2012-06-15 Tom Tromey <tromey@redhat.com>
5329
5330 * gdb.cp/namespace.exp: Add "show lang" test.
5331
5332 2012-06-15 Iain Sandoe <iain@codesourcery.com>
5333
5334 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
5335 case. (top level): Use gdb_file_cmd instead of gdb_load.
5336
5337 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5338
5339 PR tdep/14222
5340 * gdb.arch/i386-sse-stack-align.S: New file.
5341 * gdb.arch/i386-sse-stack-align.c: New file.
5342 * gdb.arch/i386-sse-stack-align.exp: New file.
5343
5344 2012-06-13 Keith Seitz <keiths@redhat.com>
5345
5346 PR breakpoints/13798 and mi/11541
5347 * gdb.linespec/ls-errs.exp: Add a few more tests for
5348 filenames with spaces and colons.
5349
5350 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5351
5352 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
5353 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
5354 (test_function): Call CV_f.
5355 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
5356 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
5357 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
5358 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
5359 (p CV_f(CV::i)): New tests.
5360
5361 2012-06-13 Tom Tromey <tromey@redhat.com>
5362
5363 * gdb.base/condbreak.exp: Add tests for "condition" completion.
5364
5365 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5366
5367 Fix regression by the "ambiguous linespec" series.
5368 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
5369 tests.
5370
5371 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5372
5373 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
5374 missing.
5375
5376 2012-06-11 Tom Tromey <tromey@redhat.com>
5377
5378 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
5379 location...
5380 (main): ...here.
5381
5382 2012-06-07 Yao Qi <yao@codesourcery.com>
5383
5384 * gdb.trace/strace.exp: Shorten some too-long lines.
5385
5386 2012-06-06 Pedro Alves <palves@redhat.com>
5387
5388 * gdb.threads/clone-new-thread-event.c: New file.
5389 * gdb.threads/clone-new-thread-event.exp: New file.
5390
5391 2012-06-06 Yao Qi <yao@codesourcery.com>
5392
5393 * gdb.base/dprintf.c (main): Add extra parameter when calling
5394 printf and fprintf.
5395 (bar): New function. It is a dead function, but to ensure
5396 'malloc' is linked explicitly.
5397
5398 2012-06-06 Yao Qi <yao@codesourcery.com>
5399
5400 * gdb.base/info-proc.exp: Return if target doesn't support
5401 'info proc'.
5402
5403 2012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5404
5405 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
5406 (run program with breakpoint commands): XFAIl if it is not.
5407
5408 2012-06-05 Joel Brobecker <brobecker@adacore.com>
5409
5410 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
5411 and add comment.
5412 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
5413 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
5414 "STOP" marker. Adjust testing strategy to make it work on
5415 all targets.
5416
5417 * gdb.base/print-file-var-main.c (main): Rewrite using local
5418 variables and adjust get_version_2's return value check.
5419 Add small comment.
5420 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
5421 marker. Adjust testing strategy to make it work on all targets.
5422
5423 2012-06-05 Joel Brobecker <brobecker@adacore.com>
5424
5425 * gdb.ada/bad-task-bp-keyword: New testcase.
5426
5427 2012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5428
5429 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
5430 Simplify it to ...
5431 (symbol-file ${testfile1}): ... here.
5432 (test eliminated var my_global_symbol)
5433 (test eliminated var my_static_symbol)
5434 (test eliminated var my_global_func, get address of main): Wrap them to
5435 'single psymtabs' and 'single symtabs'
5436 (get address of my_global_symbol, get address of my_static_symbol)
5437 (get address of my_global_func, get address of main): Wrap them to
5438 'order1' and 'order2'.
5439
5440 * gdb.base/code_elim.exp
5441 (add-symbol-file ${testfile1} 0x100000)
5442 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
5443 'order2'.
5444 (order1: add-symbol-file ${testfile1} 0x100000)
5445 (order1: add-symbol-file ${testfile2} 0x200000)
5446 (order2: add-symbol-file ${testfile2} 0x200000)
5447 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
5448 .bss as appropriate.
5449
5450 2012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5451
5452 * gdb.server/solib-list-lib.c: New file.
5453 * gdb.server/solib-list-main.c: New file.
5454 * gdb.server/solib-list.exp: New file.
5455
5456 2012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
5457
5458 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
5459 for 'set print symbol' change.
5460
5461 2012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5462
5463 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
5464 .debug_abbrev_seg3.
5465
5466 2012-05-24 John Steele Scott <toojays@toojays.net>
5467
5468 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
5469 * gdb.dwarf2/dw2-icc-opaque.S: New file.
5470 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
5471
5472 2012-05-23 Stan Shebs <stan@codesourcery.com>
5473
5474 * gdb.mi/mi-info-os.exp: New file.
5475
5476 2012-05-23 Keith Seitz <keiths@redhat.com>
5477
5478 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
5479 return -1 to suppress the rest of the tests.
5480 (compile_stap_bin): Return boolean success value.
5481
5482 2012-05-21 Tom Tromey <tromey@redhat.com>
5483
5484 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
5485 Remove kfails.
5486 (test_print_mi_member_types): Likewise.
5487
5488 2012-05-21 Tom Tromey <tromey@redhat.com>
5489
5490 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
5491 print symbol' change.
5492
5493 2012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
5494
5495 * gdb.python/py-prompt.exp: Quit if the target is remote.
5496
5497 2012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5498
5499 Fix ERROR: internal buffer is full.
5500 * gdb.base/info-os.exp (expect_multiline): New function.
5501 (get process list, get process groups, get threads)
5502 (get file descriptors, get internet-domain sockets)
5503 (get shared-memory regions, get semaphores, get message queues): Use
5504 it for these tests.
5505
5506 2012-05-18 Tom Tromey <tromey@redhat.com>
5507
5508 * gdb.mi/mi-var-cmd.exp: Update.
5509 * gdb.objc/basicclass.exp (do_objc_tests): Update.
5510 * gdb.cp/virtbase.exp: Update.
5511 * gdb.cp/classes.exp (test_static_members): Update.
5512 * gdb.cp/casts.exp: Update.
5513 * gdb.base/pointers.exp: Update.
5514 * gdb.base/funcargs.exp (pointer_args): Update.
5515 (structs_by_reference): Update.
5516 * gdb.base/find.exp: Update.
5517 * gdb.base/call-strs.exp: Send "set print symbol off".
5518 * gdb.base/call-ar-st.exp: Update.
5519 * gdb.ada/fun_addr.exp: Update.
5520 * gdb.base/printcmds.exp (test_print_symbol): New proc.
5521 Call it.
5522 (test_print_repeats_10, test_print_strings)
5523 (test_print_char_arrays): Update.
5524
5525 2012-05-18 Tom Tromey <tromey@redhat.com>
5526
5527 * gdb.base/charset.exp (string_display): Update.
5528
5529 2012-05-18 Tom Tromey <tromey@redhat.com>
5530
5531 * gdb.mi/mi2-var-display.exp: Update.
5532 * gdb.mi/mi-var-display.exp: Update.
5533 * gdb.mi/mi-var-child.exp: Update.
5534 * gdb.cp/expand-psymtabs-cxx.exp: Update.
5535 * gdb.cp/cp-relocate.exp (get_func_address): Update.
5536
5537 2012-05-17 Doug Evans <dje@google.com>
5538
5539 * info-macros.exp: Pass "debug" to prepare_for_testing.
5540
5541 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
5542 * gdb.ada/Makefile.in (clean): Ditto.
5543 * gdb.arch/Makefile.in (clean): Ditto.
5544 * gdb.asm/Makefile.in (clean): Ditto.
5545 * gdb.base/Makefile.in (clean): Ditto.
5546 * gdb.cell/Makefile.in (clean): Ditto.
5547 * gdb.cp/Makefile.in (clean): Ditto.
5548 * gdb.disasm/Makefile.in (clean): Ditto.
5549 * gdb.dwarf2/Makefile.in (clean): Ditto.
5550 * gdb.fortran/Makefile.in (clean): Ditto.
5551 * gdb.go/Makefile.in (clean): Ditto.
5552 * gdb.hp/Makefile.in (clean): Ditto.
5553 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
5554 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
5555 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
5556 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
5557 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
5558 * gdb.java/Makefile.in (clean): Ditto.
5559 * gdb.linespec/Makefile.in (clean): Ditto.
5560 * gdb.mi/Makefile.in (clean): Ditto.
5561 * gdb.modula2/Makefile.in (clean): Ditto.
5562 * gdb.multi/Makefile.in (clean): Ditto.
5563 * gdb.objc/Makefile.in (clean): Ditto.
5564 * gdb.opencl/Makefile.in (clean): Ditto.
5565 * gdb.opt/Makefile.in (clean): Ditto.
5566 * gdb.pascal/Makefile.in (clean): Ditto.
5567 * gdb.python/Makefile.in (clean): Ditto.
5568 * gdb.reverse/Makefile.in (clean): Ditto.
5569 * gdb.server/Makefile.in (clean): Ditto.
5570 * gdb.stabs/Makefile.in (clean): Ditto.
5571 * gdb.threads/Makefile.in (clean): Ditto.
5572 * gdb.trace/Makefile.in (clean): Ditto.
5573 * gdb.xml/Makefile.in (clean): Ditto.
5574
5575 2012-05-16 Tom Tromey <tromey@redhat.com>
5576
5577 * gdb.base/macscp1.c (macscp_expr): Add comment.
5578 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
5579
5580 2012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5581
5582 * gdb.base/return-nodebug.exp: Also test float and double types.
5583
5584 2012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5585
5586 PR testsuite/12649
5587 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
5588
5589 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
5590
5591 2012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
5592
5593 * gdb.base/stap-probe.exp (stap_test): Remove calls to
5594 `rerun_to_main'.
5595 (stap_test_no_debuginfo): Likewise.
5596
5597 2012-05-14 Stan Shebs <stan@codesourcery.com>
5598
5599 * gdb.base/dprintf.c: New file.
5600 * gdb.base/dprintf.exp: New file.
5601
5602 2012-05-14 Hui Zhu <hui_zhu@mentor.com>
5603
5604 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
5605 * gdb.trace/disconnected-tracing.c: New file.
5606 * gdb.trace/disconnected-tracing.exp: New file.
5607
5608 2012-05-13 Siva Chandra Reddy <sivachandra@google.com>
5609
5610 * gdb.python/python.c: Add a new breakpoint comment.
5611 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
5612
5613 2011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
5614
5615 * gdb.base/info-os.exp: New file.
5616 * gdb.base/info-os.c: New file.
5617
5618 2012-05-10 Joel Brobecker <brobecker@adacore.com>
5619
5620 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
5621 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
5622 New files.
5623
5624 2012-05-10 Joel Brobecker <brobecker@adacore.com>
5625
5626 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
5627 gdb.base/ctxobj.exp: New files.
5628
5629 2012-05-09 Tom Tromey <tromey@redhat.com>
5630
5631 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
5632
5633 2012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
5634
5635 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
5636
5637 2012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
5638
5639 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
5640 before using it.
5641
5642 2012-05-04 Tristan Gingold <gingold@adacore.com>
5643
5644 * gdb.base/set-noassign.exp: New test.
5645
5646 2012-05-03 Siva Chandra Reddy <sivachandra@google.com>
5647
5648 * gdb.python/py-symbol.exp: Add tests to test the new methods
5649 gdb.Symtab.global_block() and gdb.Symtab.static_block().
5650 * gdb.python/py-symbol.c: Add new struct to help test
5651 gdb.Symtab.static_block().
5652
5653 2012-05-03 Doug Evans <dje@google.com>
5654
5655 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
5656 commented out.
5657
5658 2012-05-03 Yao Qi <yao@codesourcery.com>
5659
5660 * gdb.base/catch-syscall.exp: Skip it before compilation if target
5661 doesn't support.
5662 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
5663 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
5664
5665 2012-05-03 Yao Qi <yao@codesourcery.com>
5666
5667 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
5668
5669 2012-04-30 Doug Evans <dje@google.com>
5670
5671 PR testsuite/13961
5672 * gdb.dwarf2/pr13961.S: New file.
5673 * gdb.dwarf2/pr13961.exp: New file.
5674
5675 2012-04-29 Yao Qi <yao@codesourcery.com>
5676
5677 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
5678
5679 2012-04-28 Doug Evans <dje@google.com>
5680
5681 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
5682 .Ltype_int_in_cu2. Use name "int2" instead of "int".
5683 All uses updated.
5684 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
5685 "ptype func_cu1" to expand cu2 before cu1.
5686
5687 2012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
5688 Tom Tromey <tromey@redhat.com>
5689
5690 * gdb.base/default.exp: Add `$_probe_arg*' convenience
5691 variables.
5692 * gdb.base/stap-probe.c: New file.
5693 * gdb.base/stap-probe.exp: New file.
5694 * gdb.trace/stap-trace.c: New file.
5695 * gdb.trace/stap-trace.exp: New file.
5696 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
5697 libgcc's unwinder.
5698
5699 2012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
5700
5701 * gdb.arch/mips16-thunks-inmain.c: New file.
5702 * gdb.arch/mips16-thunks-main.c: New file.
5703 * gdb.arch/mips16-thunks-sin.c: New file.
5704 * gdb.arch/mips16-thunks-sinfrob.c: New file.
5705 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
5706 * gdb.arch/mips16-thunks-sinmain.c: New file.
5707 * gdb.arch/mips16-thunks-sinmips16.c: New file.
5708 * gdb.arch/mips16-thunks.exp: New file.
5709
5710 2012-04-25 Doug Evans <dje@google.com>
5711
5712 * configure.ac: Create gdb.go/Makefile.
5713 * configure: Regenerate.
5714 * gdb.base/default.exp: Add "go" to "set language" testing.
5715 * gdb.go/Makefile.in: New file.
5716 * gdb.go/basic-types.exp: New file.
5717 * gdb.go/chan.exp: New file.
5718 * gdb.go/chan.go: New file.
5719 * gdb.go/handcall.exp: New file.
5720 * gdb.go/handcall.go: New file.
5721 * gdb.go/hello.exp: New file.
5722 * gdb.go/hello.go: New file.
5723 * gdb.go/integers.exp: New file.
5724 * gdb.go/integers.go: New file.
5725 * gdb.go/methods.exp: New file.
5726 * gdb.go/methods.go: New file.
5727 * gdb.go/package.exp: New file.
5728 * gdb.go/package1.go: New file.
5729 * gdb.go/package2.go: New file.
5730 * gdb.go/print.exp: New file.
5731 * gdb.go/strings.exp: New file.
5732 * gdb.go/strings.go: New file.
5733 * gdb.go/types.exp: New file.
5734 * gdb.go/types.go: New file.
5735 * gdb.go/unsafe.exp: New file.
5736 * gdb.go/unsafe.go: New file.
5737 * lib/future.exp: Add Go support.
5738 (gdb_find_go, gdb_find_go_linker): New procs.
5739 (gdb_default_target_compile): Add Go support.
5740 * lib/gdb.exp (skip_go_tests): New proc.
5741 * lib/go.exp: New file.
5742
5743 2012-04-25 Tom Tromey <tromey@redhat.com>
5744
5745 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
5746
5747 2012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5748 Jan Kratochvil <jan.kratochvil@redhat.com>
5749
5750 PR symtab/7259:
5751 * gdb.base/enumval.c: New test case.
5752 * gdb.base/enumval.exp: New test case.
5753 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
5754 field.bitpos.
5755
5756 2012-04-17 Pedro Alves <palves@redhat.com>
5757
5758 * Makefile.in (site.exp): Make site.exp source
5759 $srcdir/lib/append_gdb_boards_dir.exp.
5760 * lib/append_gdb_boards_dir.exp: New file.
5761
5762 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5763
5764 New option "set auto-load safe-path".
5765 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
5766 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
5767
5768 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5769
5770 auto-load: Implementation.
5771 * gdb.base/help.exp (test set height): Increase the height.
5772 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
5773 to ...
5774 (info auto-load python-scripts): ... here.
5775 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
5776 to ...
5777 (info auto-load python-scripts *): ... here.
5778
5779 2012-04-16 Yao Qi <yao@codesourcery.com>
5780
5781 * lib/trace-support.exp (get_in_proc_agent): New.
5782 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
5783 of in process trace agent.
5784 * gdb.trace/ftrace.exp: Likewise.
5785 * gdb.trace/pending.exp: Likewise.
5786 * gdb.trace/trace-break.exp: Likewise.
5787 * gdb.trace/trace-mt.exp
5788 * gdb.trace/tspeed.exp: Likewise.
5789 * gdb.trace/tstatus.exp
5790 * gdb.trace/strace.exp: Likewise.
5791
5792 2012-04-16 Thomas Schwinge <thomas@codesourcery.com>
5793
5794 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
5795 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
5796
5797 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
5798
5799 2012-04-14 Anton Gorenkov <xgsa@yandex.ru>
5800
5801 PR mi/13393
5802 * gdb.mi/mi-var-rtti.cc: New file.
5803 * gdb.mi/mi-var-rtti.exp: New file.
5804 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
5805 function.
5806 (mi_varobj_update_with_type_change): updated to avoid code duplication.
5807
5808 2012-04-11 Siva Chandra Reddy <sivachandra@google.com>
5809
5810 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
5811 EXECUTABLES.
5812 * gdb.python/py-explore.c: C program used for testing the new
5813 'explore' command on C constructs.
5814 * gdb.python/py-explore.cc: C++ program used for testing the new
5815 'explore' command on C++ constructs.
5816 * gdb-python/py-explore.exp: Tests for the new 'explore'
5817 command on C constructs.
5818 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
5819 command on C++ constructs.
5820
5821 2012-04-07 Mark Kettenis <kettenis@gnu.org>
5822
5823 * gdb.base/funcargs.exp (complex_args): Fix typo.
5824
5825 2012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5826
5827 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
5828 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
5829
5830 2012-04-05 Keith Seitz <keiths@redhat.com>
5831
5832 * gdb.base/advance.exp: Update error message for
5833 "advance malformed" test.
5834 * gdb.base/break.exp: Likewise for "breakpoint with
5835 trailing garbage" test.
5836 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
5837 with trailing garbage" test.
5838 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
5839 trailng garbage" test.
5840 * gdb.base/until.exp: Likewise for "malformed until" test.
5841 * gdb.cp/ovldbreak.exp: Create the breakpoint table
5842 for "breakpoint info (after setting on all)".
5843 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
5844 tests.
5845 * gdb.cp/cplabel.cc: New file.
5846 * gdb.cp/cplabel.exp: New test.
5847 * gdb.linespec/ls-errs.c: New file.
5848 * gdb.linespec/ls-errs.exp: New test.
5849
5850 2012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5851
5852 * gdb.trace/unavailable.exp
5853 (collect globals: print object on: print derived_partial)
5854 (collect globals: print object on: print derived_whole)
5855 (collect globals: print object off: print derived_partial)
5856 (collect globals: print object off: print derived_whole): Update
5857 expected output.
5858
5859 2012-03-30 Keith Seitz <keiths@redhat.com>
5860
5861 * gdb.python: Add test for linespecs with commas.
5862
5863 2012-03-28 Keith Seitz <keiths@redhat.com>
5864
5865 * gdb.linespec/ls-dollar.cc: New file.
5866 * gdb.linespec/ls-dollar.exp: New test.
5867
5868 2012-03-28 Keith Seitz <keiths@redhat.com>
5869
5870 * gdb.cp/namespace.exp: Add breakpoint tests for functions
5871 starting with the global namespace.
5872
5873 2012-03-23 Doug Evans <dje@google.com>
5874
5875 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
5876
5877 2012-03-22 Siva Chandra Reddy <sivachandra@google.com>
5878
5879 * gdb.python/py-value.cc: Add test case for testing the
5880 methodology exposing C++ values to Python.
5881 * gdb.python/py-value-cc.exp: Add tests testing the methodology
5882 exposing C++ values to Python.
5883 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
5884
5885 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5886 Siddhesh Poyarekar <siddhesh@redhat.com>
5887
5888 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
5889 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
5890 (generate native core dump): Make the test unsupported if core cannot
5891 be generated.
5892
5893 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5894
5895 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
5896 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
5897 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
5898
5899 2012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5900
5901 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
5902
5903 2012-03-17 Doug Evans <dje@google.com>
5904
5905 * dg-extract-results.sh: Handle KFAILs.
5906
5907 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5908
5909 PR symtab/13777
5910 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
5911
5912 2012-03-16 Joel Brobecker <brobecker@adacore.com>
5913
5914 * gdb.ada/set_pckd_arr_elt: New testcase.
5915
5916 2012-03-16 Gary Benson <gbenson@redhat.com>
5917
5918 PR breakpoints/10738
5919 * gdb.opt/inline-break.exp: New file.
5920 * gdb.opt/inline-break.c: Likewise.
5921 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
5922 * gdb.dwarf2/dw2-inline-break.S: Likewise.
5923 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
5924 * gdb.base/async-shell.exp: Likewise.
5925 * lib/mi-support.exp (library_loaded_re): Likewise.
5926
5927 2012-03-15 Tom Tromey <tromey@redhat.com>
5928
5929 * gdb.cp/virtfunc2.exp: Update expected output.
5930 * gdb.cp/pr9631.exp: Update expected output.
5931 * gdb.cp/member-ptr.exp: Update expected output.
5932 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
5933 output.
5934 * gdb.cp/casts.exp: Update expected output.
5935
5936 2012-03-15 Tom Tromey <tromey@redhat.com>
5937
5938 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
5939 (test_info_vtbl): Likewise.
5940 (do_tests): Call test_info_vtbl.
5941 * gdb.cp/virtfunc.cc (va): New global.
5942
5943 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
5944
5945 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
5946 describing DWARF data structures.
5947 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
5948 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
5949 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
5950 * gdb.dwarf2/dw2-entry-value.S: Likewise.
5951 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
5952 * gdb.dwarf2/dw2-param-error.S: Likewise.
5953 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
5954 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
5955 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
5956 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
5957 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
5958 * gdb.dwarf2/pr11465.S: Likewise.
5959
5960 2012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5961
5962 * gdb.mi/mi2-prompt.exp: New file.
5963
5964 2012-03-13 Joel Brobecker <brobecker@adacore.com>
5965
5966 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
5967
5968 2012-03-13 Joel Brobecker <brobecker@adacore.com>
5969
5970 * gdb.ada/bp_range_type: New testcase.
5971
5972 2012-03-13 Doug Evans <dje@google.com>
5973
5974 * gdb.base/default.exp: Delete tests for symbol-reloading.
5975 * gdb.base/help.exp: Ditto.
5976 * gdb.base/setshow.exp: Ditto.
5977 * gdb.base/gdb_history: Delete references to symbol-reloading.
5978
5979 2012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5980
5981 * gdb.base/attach-twice.c: New files.
5982 * gdb.base/attach-twice.exp: New files.
5983
5984 2012-03-08 Keith Seitz <keiths@redhat.com>
5985
5986 * lib/gdb.exp (gdb_get_line_number): Throw an
5987 error instead of returning -1.
5988 * gdb.base/break.exp: Remove unused variable
5989 bp_location5.
5990 * gdb.base/hbreak2.exp: Likewise.
5991 * gdb.base/sepdebug.exp: Likewise.
5992
5993 2012-03-08 Yao Qi <yao@codesourcery.com>
5994 Pedro Alves <palves@redhat.com>
5995
5996 Fix PR server/13392.
5997 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
5998 (tracepoint_change_loc_2): Remove kfail. Return if failed to
5999 download tracepoints.
6000 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
6001 (pending_tracepoint_resolved_during_trace): Likewise.
6002 (pending_tracepoint_installed_during_trace): Likewise.
6003 (pending_tracepoint_with_action_resolved): Likewise.
6004
6005 2012-03-08 Keith Seitz <keiths@redhat.com>
6006
6007 * gdb.ada/array_bounds.exp: Get breakpoint for line
6008 with "START", not "STOP".
6009 * gdb.python/py-infthread.exp: Do not continue to
6010 line marked "Break here.", which is undefined.
6011
6012 2012-03-08 Luis Machado <lgustavo@codesourcery.com>
6013
6014 Revert:
6015
6016 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6017
6018 Implement testsuite workaround for PR breakpoints/13781.
6019 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
6020 (set breakpoint condition-evaluation host): New conditional command.
6021
6022 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6023
6024 Fix CU relative vs. absolute DIE offsets.
6025 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
6026 one.
6027
6028 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6029
6030 Fix false FAIL on distros with relro linkage as default.
6031 * gdb.reverse/solib-precsave.exp: Try to compile the test using
6032 -Wl,-z,norelro first.
6033
6034 2012-03-06 Joel Brobecker <brobecker@adacore.com>
6035
6036 * gdb.ada/bp_on_var: New testcase.
6037
6038 2012-03-06 Joel Brobecker <brobecker@adacore.com>
6039
6040 * gdb.ada/bp_enum_homonym: New testcase.
6041
6042 2012-03-06 Yao Qi <yao@codesourcery.com>
6043
6044 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
6045 x86_64-*-* and i?86-*-*.
6046 Set up KFAIL for gdb/13808.
6047
6048 2012-03-05 Tom Tromey <tromey@redhat.com>
6049
6050 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
6051 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
6052
6053 2012-03-05 Tom Tromey <tromey@redhat.com>
6054
6055 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
6056
6057 2012-03-04 Yao Qi <yao@codesourcery.com>
6058
6059 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
6060 messages for KFAIL.
6061
6062 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6063
6064 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
6065 (print one_two_three, indexes off, print few_reps, indexes off)
6066 (print many_reps, indexes off, print empty, indexes off)
6067 (print one_two_three, print few_reps, print many_reps, print empty):
6068 Call setup_xfail if $gcc_old.
6069
6070 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6071
6072 Implement testsuite workaround for PR breakpoints/13781.
6073 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
6074 (set breakpoint condition-evaluation host): New conditional command.
6075
6076 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6077
6078 Code cleanup.
6079 * gdb.cp/mb-templates.exp: New variables executable. Use it for
6080 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
6081 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
6082 number 1 by $bpnum. Four times.
6083
6084 2012-03-03 Yao Qi <yao@codesourcery.com>
6085
6086 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
6087
6088 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6089
6090 Setup KFAIL for PR server/13796.
6091 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
6092
6093 2012-03-02 Joel Brobecker <brobecker@adacore.com>
6094
6095 * gdb.ada/operator_bp: New testcase.
6096
6097 2012-03-02 Joel Brobecker <brobecker@adacore.com>
6098
6099 * gdb.ada/info_locals_renaming: New testcase.
6100
6101 2012-03-02 Tom Tromey <tromey@redhat.com>
6102
6103 * gdb.base/nextoverexit.c: New file.
6104 * gdb.base/nextoverexit.exp: New file.
6105
6106 2012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
6107
6108 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
6109 parameter.
6110
6111 2012-03-01 Maciej W. Rozycki <macro@mips.com>
6112
6113 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
6114 core registers.
6115
6116 2012-03-01 Maciej W. Rozycki <macro@mips.com>
6117 Maciej W. Rozycki <macro@codesourcery.com>
6118 Daniel Jacobowitz <dan@codesourcery.com>
6119
6120 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
6121
6122 2012-03-01 Pedro Alves <palves@redhat.com>
6123
6124 PR gdb/13767
6125
6126 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
6127 (gdb_collect_globals_test): Call it.
6128
6129 2012-03-01 Keith Seitz <keiths@redhat.com>
6130
6131 * gdb.cp/method2.exp: Output of overload menu is now
6132 alphabetized. Update tests for "break A::method".
6133 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
6134 of hard-coding them.
6135 Overload menu is alphabetized: rewrite to accommodate.
6136 Unset variables LINE and TYPES which are used in other tests.
6137 Compute the output of "info break".
6138 Update the breakpoint table after all breakpoints are deleted.
6139 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
6140 compute ACTUALS and the method body based on parameters.
6141 Update expected output accordingly.
6142 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
6143 unique comments to allow the use of gdb_get_line_number.
6144
6145 2012-03-01 Keith Seitz <keiths@redhat.com>
6146
6147 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
6148 some Tcl syntax.
6149 * gdb.cp/ovldbreak.exp: Likewise.
6150
6151 2012-03-01 Keith Seitz <keiths@redhat.com>
6152
6153 * gdb.base/help.exp (help show user): Update expected result
6154 for new doc string changes (add "non-python").
6155
6156 2012-03-01 Scott J. Goldman <scottjg@vmware.com>
6157
6158 * gdb.python/py-cmd.exp: Add test to verify that python commands can
6159 be put in the user-defined category and that the commands appear in
6160 "help user-defined".
6161
6162 2012-02-29 Joel Brobecker <brobecker@adacore.com>
6163
6164 * gdb.ada/tagged_not_init: New testcase.
6165
6166 2012-02-29 Joel Brobecker <brobecker@adacore.com>
6167
6168 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
6169 * gdb.ada/enum_idx_packed: New testcase.
6170
6171 2012-02-29 Joel Brobecker <brobecker@adacore.com>
6172
6173 * gdb.ada/aliased_array: New testcase.
6174
6175 2012-02-29 Joel Brobecker <brobecker@adacore.com>
6176
6177 * gdb.ada/whatis_array_val: New testcase.
6178
6179 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6180
6181 Fix disp-step-syscall.exp: fork: single step over fork.
6182 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
6183 whitespaces.
6184 (single step over $syscall): Remove its check.
6185 (single step over $syscall final pc): New check.
6186
6187 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6188
6189 Support processors without SSSE3.
6190 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
6191 pabsd into ...
6192 (ssse3_test): ... a new function.
6193 (main): Call ssse3_test.
6194 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
6195 Update expected values everywhere.
6196 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
6197 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
6198 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
6199 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
6200 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
6201 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
6202 Move these tests lower.
6203 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
6204 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
6205 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
6206 New tests.
6207
6208 2012-02-29 Yao Qi <yao@codesourcery.com>
6209 Pedro Alves <palves@redhat.com>
6210
6211 * gdb.trace/trace-mt.c: New.
6212 * gdb.trace/trace-mt.exp: New.
6213
6214 2012-02-28 Thomas Schwinge <thomas@codesourcery.com>
6215
6216 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
6217 numbers instead of hardcoding them.
6218 * gdb.base/annota1.c: Provide suitable markers.
6219 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
6220 numbers instead of hardcoding them.
6221 * gdb.base/annota3.c: Provide suitable markers.
6222
6223 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
6224 * gdb.base/annota3.c: Likewise.
6225 * gdb.base/sigall.c: Likewise.
6226 * gdb.base/signals.c: Likewise.
6227 * gdb.reverse/sigall-reverse.c: Likewise.
6228
6229 2012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
6230
6231 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
6232 failure return path.
6233
6234 2012-02-27 Luis Machado <lgustavo@codesourcery.com>
6235
6236 * gdb.base/save-bp.exp: Account for new condition evaluator output.
6237
6238 2012-02-24 Luis Machado <lgustavo@codesourcery.com>
6239
6240 * gdb.base/cond-eval-mode.exp: New file.
6241
6242 2012-02-24 Pedro Alves <palves@redhat.com>
6243
6244 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
6245 (top level): Use with_test_prefix.
6246
6247 2012-02-24 Pedro Alves <palves@redhat.com>
6248
6249 * gdb.threads/attach-into-signal.exp (corefunc): Use
6250 with_test_prefix.
6251
6252 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6253
6254 Fix false FAILs on old CPUs without SSE.
6255 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
6256 Return untested for Illegal instruction.
6257
6258 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6259
6260 Fix false FAILs with glibc debug infos installed.
6261 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
6262 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
6263
6264 2012-02-22 Sterling Augustine <saugustine@google.com>
6265
6266 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
6267 constant with cast.
6268
6269 2012-02-21 Pedro Alves <palves@redhat.com>
6270
6271 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
6272
6273 2012-02-21 Pedro Alves <palves@redhat.com>
6274
6275 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
6276
6277 2012-02-21 Pedro Alves <palves@redhat.com>
6278
6279 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
6280 with_test_prefix.
6281
6282 2012-02-21 Pedro Alves <palves@redhat.com>
6283
6284 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
6285 with_test_prefix here.
6286 (top level): Do it here instead. Remove `:' from the
6287 with_test_prefix string.
6288 * gdb.base/attach-pie-misread.exp: Remove the leading space the
6289 the suffix `:' from the with_test_prefix prefix string.
6290 * gdb.base/break-interp.exp: Ditto.
6291 * gdb.base/catch-load.exp: Ditto.
6292 * gdb.base/disp-step-syscall.exp: Ditto.
6293 * gdb.base/jit-so.exp: Ditto.
6294 * gdb.base/jit.exp: Ditto.
6295 * gdb.base/sepdebug.exp: Ditto.
6296 * gdb.base/solib-display.exp: Ditto.
6297 * gdb.base/solib-overlap.exp: Ditto.
6298 * gdb.base/watch-cond-infcall.exp: Ditto.
6299 * gdb.base/watchpoint.exp: Ditto.
6300 * gdb.dwarf2/dw2-noloc.exp: Ditto.
6301 * gdb.mi/mi-watch.exp: Ditto.
6302 * gdb.mi/mi2-watch.exp: Ditto.
6303 * gdb.threads/non-ldr-exc-1.exp: Ditto.
6304 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6305 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6306 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6307 * gdb.threads/watchpoint-fork.exp: Ditto.
6308 * gdb.threads/watchthreads-reorder.exp: Ditto.
6309 * gdb.trace/change-loc.exp: Ditto.
6310 * gdb.trace/pending.exp: Ditto.
6311 * gdb.trace/status-stop.exp: Ditto.
6312 * gdb.trace/strace.exp: Ditto.
6313 * gdb.trace/trace-break.exp: Ditto.
6314 * gdb.trace/unavailable.exp: Ditto.
6315 * lib/gdb.exp (with_test_prefix): Always prefix with space and
6316 suffix with colon. Adjust leading comments.
6317
6318 2012-02-21 Pedro Alves <palves@redhat.com>
6319 Tom Tromey <tromey@redhat.com>
6320
6321 * lib/gdb.exp: Add description of test prefixes.
6322 (with_test_prefix): New procedure.
6323 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
6324 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
6325 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
6326 instead of lappend to append to pf_prefix.
6327 * gdb.base/catch-load.exp: Use with_test_prefix.
6328 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
6329 * gdb.base/jit-so.exp: Use with_test_prefix.
6330 * gdb.base/jit.exp: Use with_test_prefix.
6331 * gdb.base/return-nodebug.exp (do_test): Use append instead of
6332 lappend to append to pf_prefix.
6333 * gdb.base/sepdebug.exp: Use with_test_prefix.
6334 * gdb.base/solib-display.exp: Use with_test_prefix.
6335 * gdb.base/solib-overlap.exp: Use with_test_prefix.
6336 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
6337 * gdb.base/watchpoint.exp: Use with_test_prefix.
6338 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
6339 * gdb.mi/mi-watch.exp: Use with_test_prefix.
6340 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
6341 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
6342 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
6343 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
6344 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
6345 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
6346 append instead of lappend to append to pf_prefix.
6347 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
6348 * gdb.trace/change-loc.exp: Use with_test_prefix.
6349 * gdb.trace/pending.exp: Use with_test_prefix.
6350 * gdb.trace/status-stop.exp: Use with_test_prefix.
6351 * gdb.trace/strace.exp: Use with_test_prefix.
6352 * gdb.trace/trace-break.exp: Use with_test_prefix.
6353 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
6354 instead of lappend to append to pf_prefix.
6355
6356 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6357
6358 Fix racy FAILs.
6359 * gdb.base/inferior-died.c (main): Add return of 0.
6360 * gdb.base/inferior-died.exp (continue): Fix expectation of
6361 asynchronous events.
6362 (p 1): New test.
6363
6364 2012-02-20 Pedro Alves <palves@redhat.com>
6365
6366 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
6367 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
6368 gdb's internal debug output. For the non-threaded case, look for
6369 "Program received signal SIGLARM", for the threaded case, peek at
6370 the thread's siginfo.
6371
6372 2012-02-20 Pedro Alves <palves@redhat.com>
6373
6374 General cleanup, make output test messages unique, and build
6375 different executable files for the non-threaded and threaded
6376 cases.
6377
6378 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
6379 Delete.
6380 (executable_nothr, executable_thr): New globals.
6381 (top level): Adjust to delete both executables.
6382 (corefunc): New parameter $executable. Set $pf_prefix instead of
6383 hand writing a prefix in tests. Issue a clean_restart and enable
6384 lin-lwp debug output here.
6385 (top level): Adjust. Use build_executable. Don't start gdb here,
6386 and don't enable lin-lwp debug output here.
6387 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
6388
6389 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6390
6391 Fix racy FAILs.
6392 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
6393 "continue" command.
6394
6395 2012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6396
6397 Fix for gdbserver non-extended mode.
6398 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
6399 and gdb_run_cmd.
6400
6401 2012-02-17 Tom Tromey <tromey@redhat.com>
6402
6403 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
6404 * gdb.python/py-events.exp: Check 'dir' output.
6405 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
6406
6407 2012-02-17 Yao Qi <yao@codesourcery.com>
6408
6409 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
6410
6411 2012-02-16 Tom Tromey <tromey@redhat.com>
6412
6413 * gdb.base/inferior-died.c: Don't include stdio.h.
6414
6415 2012-02-16 Tom Tromey <tromey@redhat.com>
6416
6417 * gdb.base/inferior-died.c: New file.
6418 * gdb.base/inferior-died.exp: New file.
6419
6420 2012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
6421
6422 * gdb.base/break-inline.exp: New file.
6423 * gdb.base/break-inline.c: New file.
6424
6425 2012-02-15 Tom Tromey <tromey@redhat.com>
6426
6427 * gdb.base/pc-fp.exp: Add "info register" tests.
6428
6429 2012-02-15 Tom Tromey <tromey@redhat.com>
6430
6431 * gdb.base/regs.exp: Remove.
6432
6433 2012-02-15 Pedro Alves <palves@redhat.com>
6434
6435 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
6436 the target doesn't support tracepoints.
6437 * gdb.trace/circ.exp: Ditto.
6438 * gdb.trace/collection.exp: Ditto.
6439 * gdb.trace/packetlen.exp: Ditto.
6440 * gdb.trace/passc-dyn.exp: Ditto.
6441 * gdb.trace/report.exp: Ditto.
6442 * gdb.trace/tfind.exp: Ditto.
6443 * gdb.trace/tspeed.exp: Ditto.
6444 * gdb.trace/tsv.exp: Ditto.
6445 * gdb.trace/unavailable.exp: Ditto.
6446 * gdb.trace/while-dyn.exp: Ditto.
6447
6448 2012-02-15 Pedro Alves <palves@redhat.com>
6449
6450 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
6451 gdb_test_multiple, and call unsupported instead of fail, if the
6452 remote side does not support the request.
6453
6454 2012-02-15 Pedro Alves <palves@redhat.com>
6455
6456 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
6457 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
6458 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
6459 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
6460 * gdb.server/server-run.exp: Make sure gdb is disconnected.
6461 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
6462 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
6463 doesn't start with "extended-" already.
6464
6465 2012-02-15 Pedro Alves <palves@redhat.com>
6466
6467 Support extended-remote. Avoid cascading timeouts.
6468
6469 * gdb.base/attach.exp (do_attach_tests): Add expected output for
6470 the extended-remote target. If attaching with no file fails, load
6471 the file manually.
6472 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
6473
6474 2012-02-14 Stan Shebs <stan@codesourcery.com>
6475
6476 * gdb.base/ena-dis-br.exp: Add enable count test.
6477
6478 2012-02-13 Pedro Alves <palves@redhat.com>
6479
6480 * config/mips-idt.exp: Delete.
6481 * gdb.base/a2-run.exp: Remove mips-idt xfails.
6482 * gdb.base/bitfields.exp: Remove mips-idt restarts.
6483 * gdb.base/break.exp: Remove mips-idt references.
6484 * gdb.base/chng-syms.exp: Ditto.
6485 * gdb.base/default.exp: Ditto.
6486 * gdb.base/funcargs.exp (funcargs_reload): Delete.
6487 (top level): Don't call it.
6488 * gdb.base/opaque.exp: Remove mips-idt restarts.
6489 * gdb.base/ptype.exp: Remove mips-idt xfails.
6490 * gdb.base/scope.exp: Remove mips-idt restarts.
6491 * gdb.base/sepdebug.exp: Remove mips-idt references.
6492 * gdb.base/watchpoint.exp (maybe_clean_restart)
6493 (maybe_reinitialize): Delete.
6494 (test_disabling_watchpoints, test_disabling_watchpoints)
6495 (test_watchpoint_triggered_in_syscall)
6496 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
6497 Don't call them.
6498
6499 2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6500
6501 * gdb.server/server-exec-info.exp: New file.
6502
6503 2012-02-10 Pedro Alves <palves@redhat.com>
6504
6505 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
6506 always non-empty.
6507 (test_attach): Always pass $exec to test_attach_gdb.
6508
6509 2012-02-08 Tom Tromey <tromey@redhat.com>
6510
6511 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
6512 before inferior is started.
6513
6514 2012-02-07 Tom Tromey <tromey@redhat.com>
6515
6516 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
6517 Symbol.value.
6518 * gdb.python/py-symbol.c (qq): Set default value.
6519
6520 2012-02-07 Tom Tromey <tromey@redhat.com>
6521
6522 * gdb.python/py-symbol.c (qq): New global.
6523 * gdb.python/py-symbol.exp: Add test for frame-less
6524 lookup_symbol.
6525 * gdb.python/py-symtab.exp: Fix line number.
6526
6527 2012-02-03 Joel Brobecker <brobecker@adacore.com>
6528
6529 * gdb.ada/mi_task_arg: New testcase.
6530
6531 2012-02-02 Pedro Alves <palves@redhat.com>
6532
6533 * gdb.reverse/until-precsave.exp: Also put "record save" under the
6534 extended timeout.
6535
6536 2012-02-02 Pedro Alves <palves@redhat.com>
6537
6538 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
6539 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
6540
6541 2012-02-02 Pedro Alves <palves@redhat.com>
6542
6543 * gdb.base/term.exp: Rewrite.
6544 * gdb.base/term.c: New.
6545
6546 2012-02-02 Pedro Alves <palves@redhat.com>
6547
6548 * gdb.base/default.exp (run "r" abbreviation, run): Add
6549 extended-remote expected output.
6550
6551 2012-02-02 Tom Tromey <tromey@redhat.com>
6552
6553 * gdb.cp/dispcxx.exp: New file.
6554 * gdb.cp/dispcxx.cc: New file.
6555
6556 2012-02-01 Tom Tromey <tromey@redhat.com>
6557
6558 * gdb.base/jit-simple.exp: New file.
6559 * gdb.base/jit-simple.c: New file.
6560
6561 2012-01-30 Yao Qi <yao@codesourcery.com>
6562
6563 * gdb.base/skip.exp: Make test result unique.
6564
6565 2012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6566
6567 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
6568 compatibility with valgrind-3.7.0.
6569
6570 2012-01-27 Pedro Alves <palves@redhat.com>
6571
6572 * gdb.base/watchpoint.exp (no_hw): New global.
6573 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
6574 disable hw watchpoints.
6575 (test_wide_location_1, test_wide_location_2): If no_hw is set,
6576 don't expect hw watchpoints.
6577 (no_hw_watchpoints): Always clean restart.
6578 (do_tests): New procedure, factored out from the top level.
6579 (top level): Run tests twice. Once with hw watchpoints enabled,
6580 another time with hw watchpoints disabled.
6581
6582 2012-01-27 Pedro Alves <palves@redhat.com>
6583
6584 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
6585 out from the top level.
6586 (top level): Call it instead.
6587
6588 2012-01-27 Pedro Alves <palves@redhat.com>
6589
6590 * gdb.base/watchpoint.exp (top level): Re-enable hardware
6591 watchpoints sooner.
6592
6593 2012-01-27 Pedro Alves <palves@redhat.com>
6594
6595 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
6596
6597 2012-01-27 Pedro Alves <palves@redhat.com>
6598
6599 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
6600 "You may have requested too many hardware
6601 breakpoints/watchpoints".
6602
6603 2012-01-27 Pedro Alves <palves@redhat.com>
6604
6605 * gdb.base/watchpoint.exp (maybe_clean_restart)
6606 (maybe_reinitialize): New.
6607 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
6608 expect "hit N times".
6609 (test_disabling_watchpoints, test_complex_watchpoint)
6610 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
6611 Call maybe_clean_restart.
6612 (top level): Use clean_restart. Remove "mips-idt-*"
6613 reinitialization.
6614
6615 2012-01-27 Pedro Alves <palves@redhat.com>
6616
6617 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
6618
6619 2012-01-27 Pedro Alves <palves@redhat.com>
6620
6621 * gdb.base/watchpoint.exp: Clean restart after tests that don't
6622 require `initialize' anymore. Remove unnecessary `initialize'
6623 calls.
6624
6625 2012-01-27 Pedro Alves <palves@redhat.com>
6626
6627 * gdb.base/watchpoint.exp (wp_set): Delete.
6628 (initialize, test_simple_watchpoint, top level): Remove dead code.
6629
6630 2012-01-27 Pedro Alves <palves@redhat.com>
6631
6632 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
6633 typo.
6634
6635 2012-01-27 Pedro Alves <palves@redhat.com>
6636
6637 * config/extended-gdbserver.exp: New file.
6638 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
6639 comment.
6640 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
6641 * boards/native-extended-gdbserver.exp: New file.
6642
6643 2012-01-26 Pedro Alves <palves@redhat.com>
6644
6645 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
6646 and gdb_test_multiple.
6647
6648 2012-01-26 Pedro Alves <palves@redhat.com>
6649
6650 Make test messages unique, and more identifiable.
6651 * gdb.multi/watchpoint-multi.exp: Change test messages.
6652
6653 2012-01-25 Tom Tromey <tromey@redhat.com>
6654
6655 * gdb.base/solib-disc.exp: Fix regexps.
6656
6657 2012-01-24 Tom Tromey <tromey@redhat.com>
6658
6659 * lib/mi-support.exp (mi_expect_stop): Add special case for
6660 solib-event.
6661 * gdb.base/catch-load-so.c: New file.
6662 * gdb.base/catch-load.exp: New file.
6663 * gdb.base/catch-load.c: New file.
6664 * gdb.base/break-interp.exp (reach_1): Update regexp.
6665
6666 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6667
6668 Fix fuzzy results.
6669 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
6670 lpsimple and func.
6671
6672 2012-01-24 Gary Benson <gbenson@redhat.com>
6673
6674 Delete #if 0'd out code.
6675 * gdb.base/default.exp (info catch): Remove.
6676 * gdb.base/gdb_history (info catch): Likewise.
6677 * gdb.base/help.exp (info catch): Likewise.
6678
6679 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6680
6681 Fix watchpoints to be specific for each inferior.
6682 * gdb.multi/watchpoint-multi.c: New file.
6683 * gdb.multi/watchpoint-multi.exp: New file.
6684
6685 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6686
6687 Fix watchpoints across inferior fork.
6688 * gdb.threads/watchpoint-fork-child.c: New file.
6689 * gdb.threads/watchpoint-fork-mt.c: New file.
6690 * gdb.threads/watchpoint-fork-parent.c: New file.
6691 * gdb.threads/watchpoint-fork-st.c: New file.
6692 * gdb.threads/watchpoint-fork.exp: New file.
6693 * gdb.threads/watchpoint-fork.h: New file.
6694
6695 2012-01-23 Pedro Alves <palves@redhat.com>
6696
6697 * gdb.base/call-signal-resume.exp: Allow output after "return".
6698
6699 2012-01-20 Pedro Alves <palves@redhat.com>
6700
6701 * gdb.python/py-finish-breakpoint.py: Fix typo.
6702
6703 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
6704
6705 * gdb.base/info-proc.exp: Also run on remote targets. Main
6706 "info proc" command is now always present; whether target supports
6707 actual info proc operation is detected when attempting to issue
6708 the command.
6709
6710 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6711
6712 * .gdbinit: Remove.
6713
6714 2012-01-19 Pedro Alves <palves@redhat.com>
6715
6716 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
6717 look at the funtions' returns.
6718 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
6719 (jprint.print(int, int)): Change return type to int. Adjust.
6720
6721 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6722
6723 PR gdb/9538
6724 * gdb.base/sepdebug.exp: New test.
6725
6726 2012-01-18 Pedro Alves <palves@redhat.com>
6727
6728 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
6729 Allow output before ^done.
6730
6731 2012-01-16 Tom Tromey <tromey@redhat.com>
6732
6733 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
6734 Add tests for relative directory.
6735
6736 2012-01-16 Tom Tromey <tromey@redhat.com>
6737
6738 * gdb.base/printcmds.c (enum flag_enum): New.
6739 (three): New global.
6740 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
6741 enum printing.
6742 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
6743 FlagEnumerationPrinter.
6744 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
6745 * gdb.python/py-pp-maint.c (enum flag_enum): New.
6746 (fval): New global.
6747
6748 2012-01-16 Pedro Alves <palves@redhat.com>
6749
6750 * lib/gdb.exp (banned_procedures): New variable.
6751 (banned_variables_traced): Rename to ...
6752 (banned_traced): ... this.
6753 (gdb_init): Also trace banned procedures.
6754 (gdb_finish): Also untrace banned procedures.
6755
6756 2012-01-16 Pedro Alves <palves@redhat.com>
6757
6758 Remove all calls to strace.
6759
6760 2012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6761
6762 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
6763 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
6764
6765 2012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6766
6767 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
6768 * gdb.base/pie-execl.exp: Likewise.
6769
6770 2012-01-12 Keith Seitz <keiths@redhat.com>
6771
6772 PR mi/10586
6773 * gdb.mi/var-cmd.c (struct anonymous): New structure.
6774 (do_anonymous_type_tests): New function.
6775 (main): Call do_anonymous_type_tests.
6776 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
6777 (verify_everything): New procedure.
6778 * gdb.mi/mi-var-cp.cc (class A): New class.
6779 (anonymous_structs_and_unions): New function.
6780 (main): Call anonymous_structs_and_unions.
6781 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
6782 (verify_everything): New procedure.
6783
6784 2012-01-12 Keith Seitz <keiths@redhat.com>
6785
6786 * lib/mi-support.exp: Expand comments about PATH_EXPR.
6787 (varobj_tree::get_path_expr): Assume that all varobjs are
6788 compound unless they are known simple types.
6789 Adjust path expressions based on parent type, path parent type,
6790 and tree language.
6791 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
6792 the root varobj.
6793 (mi_walk_varobj_tree): Add LANGUAGE parameter.
6794
6795 2012-01-11 Pedro Alves <palves@redhat.com>
6796
6797 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
6798 core files on this machine" anymore.
6799
6800 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6801
6802 * gdb.base/watchpoint.c (recurser): Initialize local_x.
6803 (main): Repeat recurser call.
6804 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
6805 equivalent to 'local_x'.
6806
6807 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6808 Joel Brobecker <brobecker@adacore.com>
6809
6810 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
6811
6812 2012-01-05 Pedro Alves <alves.ped@gmail.com>
6813
6814 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
6815 * gdb.python/py-events.c (first): Add bits for new "step N" test.
6816 * gdb.python/py-events.exp: Test that "step N" tripping on a
6817 breakpoint emits a breakpoint event.
6818
6819 2012-01-03 Joel Brobecker <brobecker@adacore.com>
6820
6821 * gdb.base/auxv.exp: Reformat the copyright notice.
6822
6823 2012-01-03 Yao Qi <yao@codesourcery.com>
6824
6825 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
6826 (strace_trace_on_diff_addr): New.
6827 * gdb.trace/strace.c: (main): Add two local variables.
6828
6829 2011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
6830
6831 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
6832 * gdb.cell/gcore.exp: Likewise.
6833 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
6834 to verify the correct instance of main is selected.
6835
6836 2012-01-02 Joel Brobecker <brobecker@adacore.com>
6837
6838 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
6839 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
6840 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
6841 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
6842 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
6843 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
6844 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
6845 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
6846 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
6847 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
6848 gdb.threads/thread_check.c: Reformat copyright header.
6849
6850 2011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
6851
6852 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
6853 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
6854 is not enabled.
6855
6856 2011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6857
6858 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
6859 parameter to self_exec, adjust the function.
6860 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
6861 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
6862 (set var do_exit = 0): Remove test.
6863 (newline at end of file): Add one.
6864
6865 2011-12-27 Joel Brobecker <brobecker@adacore.com>
6866
6867 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
6868 New files.
6869
6870 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6871
6872 Fix racy FAILs.
6873 * gdb.threads/fork-thread-pending.c (barrier): New variable.
6874 (thread_function, thread_forker): Call pthread_barrier_wait for it.
6875 (main): Call pthread_barrier_init for it.
6876
6877 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6878
6879 Fix double send_gdb leading to racy FAILs.
6880 * gdb.base/break.exp (set silent break bp_location1): Replace
6881 3x send_gdb and gdb_expect by gdb_test.
6882 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
6883 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
6884 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
6885 instead of send_gdb. Twice.
6886 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
6887 3x send_gdb and gdb_expect by gdb_test.
6888 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
6889
6890 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6891
6892 * gdb.linespec/linespec.exp: Compile using {c++}.
6893
6894 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6895
6896 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
6897 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
6898 (verify GCC PR debug/51668): New test.
6899
6900 2011-12-23 Kevin Pouget <kevin.pouget@st.com>
6901
6902 Introduce gdb.FinishBreakpoint in Python.
6903 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
6904 py-finish-breakpoint2
6905 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
6906 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
6907 instead of line number.
6908 * gdb.python/py-finish-breakpoint.c: New file.
6909 * gdb.python/py-finish-breakpoint.exp: New file.
6910 * gdb.python/py-finish-breakpoint.py: New file.
6911 * gdb.python/py-finish-breakpoint2.cc: New file.
6912 * gdb.python/py-finish-breakpoint2.exp: New file.
6913 * gdb.python/py-finish-breakpoint2.py: New file.
6914
6915 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6916
6917 Partial fix of compatibility with gcc-4.7.
6918 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
6919 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
6920 Add comment to add a PASS case in the future.
6921
6922 Fix compatibility with gcc-4.7.
6923 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
6924
6925 2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
6926
6927 PR tdep/12797
6928 * gdb.base/callfuncs.exp: Remove KFAIL.
6929
6930 2011-12-21 Joel Brobecker <brobecker@adacore.com>
6931
6932 * gdb.ada/task_bp: New testcase.
6933
6934 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6935
6936 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
6937 -DNO_SECTIONS.
6938 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
6939
6940 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6941
6942 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
6943 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
6944 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6945 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
6946 conditional for gcc <= 4.5.
6947
6948 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6949
6950 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
6951 by XFAIL.
6952 * gdb.cp/static-method.exp (info addr A::func())
6953 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6954 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6955 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6956 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
6957 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
6958 (test value of F in k3_m): Likewise.
6959 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6960 Likewise.
6961
6962 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6963
6964 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
6965 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
6966 Remove.
6967 * gdb.threads/attachstop-mt.c: Remove.
6968 * gdb.threads/attachstop-mt.exp: Remove.
6969
6970 2011-12-17 Mark Kettenis <kettenis@gnu.org>
6971
6972 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
6973
6974 2011-12-16 Doug Evans <dje@google.com>
6975
6976 * boards/native-stdio-gdbserver.exp: New file.
6977 * boards/native-gdbserver.exp: New file.
6978
6979 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
6980 gdbserver output.
6981 (gdbserver_default_get_remote_address): New function.
6982 (gdbserver_start): Call gdb,get_remote_address to compute argument
6983 to "target remote" command.
6984
6985 2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
6986
6987 * gdb.python/py-function.exp: Change "on" to "full" for
6988 python print-stack. Add set/show python print-stack
6989 off|full|message tests.
6990
6991 2011-12-15 Yao Qi <yao@codesourcery.com>
6992
6993 * gdb.trace/strace.c: New
6994 * gdb.trace/strace.exp: New.
6995
6996 2011-12-14 Tom Tromey <tromey@redhat.com>
6997
6998 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
6999
7000 2011-12-14 Doug Evans <dje@google.com>
7001
7002 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
7003
7004 2011-12-14 Pedro Alves <pedro@codesourcery.com>
7005
7006 PR threads/10729
7007
7008 * gdb.mi/watch-nonstop.c: New file.
7009 * gdb.mi/mi-watch-nonstop.exp: New file.
7010
7011 2011-12-13 Pedro Alves <pedro@codesourcery.com>
7012 Doug Evans <dje@google.com>
7013
7014 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
7015 (clean_restart): Remove references to the gdb_stub target board
7016 variable.
7017 (gdb_step_for_stub): Delete.
7018
7019 * gdb.base/annota1.exp: Remove all references to [target_info
7020 exists gdb_stub], gdb_step_for_stub and usestubs.
7021 * gdb.base/annota3.exp: Ditto.
7022 * gdb.base/async.exp: Ditto.
7023 * gdb.base/break.exp: Ditto.
7024 * gdb.base/code-expr.exp: Ditto.
7025 * gdb.base/commands.exp: Ditto.
7026 * gdb.base/completion.exp: Ditto.
7027 * gdb.base/condbreak.exp: Ditto.
7028 * gdb.base/consecutive.exp: Ditto.
7029 * gdb.base/cvexpr.exp: Ditto.
7030 * gdb.base/define.exp: Ditto.
7031 * gdb.base/display.exp: Ditto.
7032 * gdb.base/ena-dis-br.exp: Ditto.
7033 * gdb.base/environ.exp: Ditto.
7034 * gdb.base/gnu-ifunc.exp: Ditto.
7035 * gdb.base/maint.exp: Ditto.
7036 * gdb.base/pending.exp: Ditto.
7037 * gdb.base/sect-cmd.exp: Ditto.
7038 * gdb.base/sepdebug.exp: Ditto.
7039 * gdb.base/unload.exp: Ditto.
7040 * gdb.base/watchpoint-solib.exp: Ditto.
7041 * gdb.cp/annota2.exp: Ditto.
7042 * gdb.cp/annota3.exp: Ditto.
7043 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
7044 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
7045 * gdb.mi/mi-pending.exp: Ditto.
7046 * gdb.trace/circ.exp: Ditto.
7047 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
7048 * gdb.base/list.exp: Ditto.
7049
7050 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
7051 breakpoint function and all references to the usestubs macro.
7052 * gdb.base/exprs.c: Ditto.
7053 * gdb.base/freebpcmd.c: Ditto.
7054 * gdb.base/bitfields.c: Ditto.
7055 * gdb.base/bitfields2.c: Ditto.
7056 * gdb.base/break.c: Ditto.
7057 * gdb.base/call-sc.c: Ditto.
7058 * gdb.base/call-signals.c: Ditto.
7059 * gdb.base/callfuncs.c: Ditto.
7060 * gdb.base/charset.c: Ditto.
7061 * gdb.base/consecutive.c: Ditto.
7062 * gdb.base/constvars.c: Ditto.
7063 * gdb.base/funcargs.c: Ditto.
7064 * gdb.base/int-type.c: Ditto.
7065 * gdb.base/interrupt.c: Ditto.
7066 * gdb.base/langs0.c: Ditto.
7067 * gdb.base/list0.c: Ditto.
7068 * gdb.base/mips_pro.c: Ditto.
7069 * gdb.base/miscexprs.c: Ditto.
7070 * gdb.base/nodebug.c: Ditto.
7071 * gdb.base/opaque0.c: Ditto.
7072 * gdb.base/pointers.c: Ditto.
7073 * gdb.base/printcmds.c: Ditto.
7074 * gdb.base/ptype.c: Ditto.
7075 * gdb.base/recurse.c: Ditto.
7076 * gdb.base/reread1.c: Ditto.
7077 * gdb.base/reread2.c: Ditto.
7078 * gdb.base/restore.c: Ditto.
7079 * gdb.base/return.c: Ditto.
7080 * gdb.base/run.c: Ditto.
7081 * gdb.base/scope0.c: Ditto.
7082 * gdb.base/sepdebug.c: Ditto.
7083 * gdb.base/setshow.c: Ditto.
7084 * gdb.base/setvar.c: Ditto.
7085 * gdb.base/sigall.c: Ditto.
7086 * gdb.base/signals.c: Ditto.
7087 * gdb.base/structs.c: Ditto.
7088 * gdb.base/structs2.c: Ditto.
7089 * gdb.base/testenv.c: Ditto.
7090 * gdb.base/twice.c: Ditto.
7091 * gdb.base/unwindonsignal.c: Ditto.
7092 * gdb.base/watchpoint.c: Ditto.
7093 * gdb.base/watchpoints.c: Ditto.
7094 * gdb.base/whatis.c: Ditto.
7095 * gdb.cp/classes.cc: Ditto.
7096 * gdb.cp/cplusfuncs.cc: Ditto.
7097 * gdb.cp/derivation.cc: Ditto.
7098 * gdb.cp/formatted-ref.cc: Ditto.
7099 * gdb.cp/misc.cc: Ditto.
7100 * gdb.cp/overload.cc: Ditto.
7101 * gdb.cp/ovldbreak.cc: Ditto.
7102 * gdb.cp/ref-params.cc: Ditto.
7103 * gdb.cp/ref-types.cc: Ditto.
7104 * gdb.cp/templates.cc: Ditto.
7105 * gdb.cp/virtfunc.cc: Ditto.
7106 * gdb.hp/gdb.aCC/run.c: Ditto.
7107 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
7108 * gdb.hp/gdb.compat/xdb0.c: Ditto.
7109 * gdb.reverse/consecutive-reverse.c: Ditto.
7110 * gdb.reverse/sigall-reverse.c: Ditto.
7111 * gdb.reverse/until-reverse.c: Ditto.
7112 * gdb.reverse/watch-reverse.c: Ditto.
7113 * gdb.trace/actions.c: Ditto.
7114 * gdb.trace/circ.c: Ditto.
7115 * gdb.trace/collection.c: Ditto.
7116
7117 2011-12-13 Pedro Alves <pedro@codesourcery.com>
7118
7119 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
7120 (func6, func7): New.
7121 (main): Call func6 and func7.
7122 * gdb.base/watchpoint.exp (test_wide_location_1)
7123 (test_wide_location_2): New.
7124 (top level): Re-enable hardware watchpoints if necessary. Call
7125 test_wide_location_1 and test_wide_location_2.
7126
7127 2011-12-11 Yao Qi <yao@codesourcery.com>
7128
7129 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
7130
7131 2011-12-11 Joel Brobecker <brobecker@adacore.com>
7132
7133 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
7134 expected output for unsupported case.
7135
7136 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7137
7138 PR testsuite/12649
7139 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
7140 Protect gdb_test_multiple by final $gdb_prompt match.
7141
7142 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7143
7144 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
7145 New variable, new test.
7146 (list static-method.cc:xxx::(anonymous namespace)::A::func)
7147 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
7148 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
7149 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
7150 them if HAVE_GCC_45682_FIXED is not set.
7151
7152 2011-12-10 Yao Qi <yao@codesourcery.com>
7153
7154 * gdb.trace/status-stop.exp: New.
7155 * gdb.trace/status-stop.c: New.
7156
7157 2011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7158
7159 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
7160 timeout.
7161
7162 2011-12-08 Tom Tromey <tromey@redhat.com>
7163
7164 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
7165 condition.
7166
7167 2011-12-07 Stan Shebs <stan@codesourcery.com>
7168
7169 * gdb.trace/tfind.exp: Update for output changes.
7170
7171 2011-12-07 Pedro Alves <pedro@codesourcery.com>
7172
7173 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
7174 throws "Cannot insert catchpoints in this configuration".
7175 * gdb.ada/mi_catch_ex.exp: Likewise.
7176
7177 2011-12-06 Pedro Alves <pedro@codesourcery.com>
7178
7179 * gdb.base/break-always.exp: Test changing memory at addresses
7180 with breakpoints inserted.
7181
7182 2011-12-06 Joel Brobecker <brobecker@acacore.com>
7183
7184 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
7185 involving a fully qualified function name.
7186
7187 2011-12-06 Tom Tromey <tromey@redhat.com>
7188
7189 * gdb.ada/homonym.exp: Add three breakpoint tests.
7190
7191 2011-12-06 Tom Tromey <tromey@redhat.com>
7192
7193 * gdb.base/solib-weak.exp (do_test): Remove kfail.
7194 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
7195 * gdb.objc/objcdecode.exp: Update for output changes.
7196 * gdb.linespec/linespec.exp: New file.
7197 * gdb.linespec/lspec.cc: New file.
7198 * gdb.linespec/lspec.h: New file.
7199 * gdb.linespec/body.h: New file.
7200 * gdb.linespec/base/two/thefile.cc: New file.
7201 * gdb.linespec/base/one/thefile.cc: New file.
7202 * gdb.linespec/Makefile.in: New file.
7203 * gdb.cp/templates.exp (test_template_breakpoints): Update for
7204 output changes.
7205 * gdb.cp/re-set-overloaded.exp: Remove kfail.
7206 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
7207 makes one breakpoint.
7208 * gdb.cp/method2.exp (test_break): Update for output changes.
7209 * gdb.cp/mb-templates.exp: Update for output changes.
7210 * gdb.cp/mb-inline.exp: Update for output changes.
7211 * gdb.cp/mb-ctor.exp: Update for output changes.
7212 * gdb.cp/ovsrch.exp: Use fully-qualified names.
7213 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
7214 has multiple matches.
7215 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
7216 error message change.
7217 * gdb.base/list.exp (test_list_filename_and_number): Update for
7218 error message change.
7219 * gdb.base/break.exp: Disable pending breakpoints. Update for
7220 output changes.
7221 * configure.ac: Add gdb.linespec.
7222 * configure: Rebuild.
7223 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
7224
7225 2011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
7226
7227 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
7228 last_break register on s390*-*-* targets.
7229
7230 2011-12-06 Joel Brobecker <brobecker@adacore.com>
7231
7232 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
7233 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
7234 of parameter X in procedure Foo.
7235
7236 2011-12-05 Stan Shebs <stan@codesourcery.com>
7237
7238 * gdb.trace/tfind.exp: Update help string matches.
7239
7240 2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7241
7242 * gdb.server/ext-run.exp (get process list): Accept also systemd
7243 as PID 1.
7244
7245 2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7246 Pedro Alves <pedro@codesourcery.com>
7247
7248 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
7249 starting GDB.
7250 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
7251 $use_gdb_stub.
7252 * gdb.base/display.exp: Likewise.
7253 * gdb.base/ending-run.exp: Likewise.
7254 * gdb.base/list.exp (test_listsize): Likewise.
7255 * gdb.base/setshow.exp: Likewise.
7256 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
7257 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
7258 check by global $use_gdb_stub.
7259 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
7260 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
7261 (default_gdb_init): Unset global $use_gdb_stub.
7262 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
7263 by global $use_gdb_stub.
7264 * lib/gdbserver-support.exp: Extend comments for set_board_info
7265 gdb_protocol and gdb,socketport.
7266 (gdbserver_start_extended): Set global gdbserver_protocol and
7267 gdbserver_gdbport. Clear global use_gdb_stub.
7268 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
7269 from target use_gdb_stub.
7270 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
7271
7272 2011-12-03 Doug Evans <dje@google.com>
7273
7274 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
7275 (gdb_step_for_stub): Add comments.
7276
7277 2011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
7278
7279 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
7280 to the caller.
7281 (gdb_test_multiple): Likewise.
7282
7283 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7284
7285 Fix gdb.mi/mi-solib.exp without system debug info installed.
7286 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
7287 expect attribute, return 0 for it. Update comments.
7288
7289 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7290
7291 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
7292 (corrupted list): Adjust the expectation.
7293
7294 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7295
7296 PR threads/13448
7297 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
7298 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
7299 * gdb.threads/tls-var-main.c: New file.
7300 * gdb.threads/tls-var.c: New file.
7301 * gdb.threads/tls-var.exp: New file.
7302
7303 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7304
7305 PR testsuite/12649
7306 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
7307 Protect gdb_test_multiple by final $gdb_prompt match.
7308 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
7309 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
7310 (test_tracepoints): Likewise.
7311
7312 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7313
7314 PR breakpoints/13346
7315 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
7316 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
7317 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
7318
7319 2011-12-01 Joel Brobecker <brobecker@adacore.com>
7320
7321 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
7322 * gdb.ada/homonym/homonym.adb: For use of all types defined
7323 locally inside both Get_Value subprograms.
7324
7325 2011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7326
7327 Fix racy FAILs.
7328 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
7329 of send_gdb.
7330
7331 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7332
7333 * gdb.base/testenv.exp: Skip on remote targets. Unset global
7334 environment variable after test completed.
7335
7336 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7337
7338 * gdb.base/solib-nodir.exp: Skip if remote target.
7339 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
7340 application. Call gdb_load_shlibs.
7341 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
7342
7343 2011-11-29 Joel Brobecker <brobecker@adacore.com>
7344
7345 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
7346
7347 2011-11-28 Joel Brobecker <brobecker@adacore.com>
7348
7349 * gdb.ada/fullname_bp: New testcase.
7350
7351 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7352
7353 PR testsuite/12649
7354 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
7355 Wrap send_gdb into a new gdb_test.
7356
7357 Code cleanup.
7358 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
7359 Convert send_gdb and gdb_expect to gdb_test_multiple.
7360
7361 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7362
7363 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
7364
7365 2011-11-23 Keith Seitz <keiths@redhat.com>
7366
7367 * lib/mi-support.exp (varobj_tree): New namespace and procs.
7368 (mi_varobj_tree_test_children_callback): New proc.
7369 (mi_walk_varobj_tree): New proc.
7370
7371 2011-11-22 Tom Tromey <tromey@redhat.com>
7372
7373 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
7374 Add "use_mi_command" argument.
7375 (mi_run_cmd, mi_run_with_cli): New procs.
7376 * gdb.mi/solib-lib.c: New file.
7377 * gdb.mi/solib-main.c: New file.
7378 * gdb.mi/mi-solib.exp: New file.
7379
7380 2011-11-21 Doug Evans <dje@google.com>
7381
7382 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
7383 _Unwind_DebugHook is missing.
7384
7385 2011-11-20 Stan Shebs <stan@codesourcery.com>
7386
7387 * gdb.trace/tstatus.exp: New.
7388 * gdb.trace/actions.c: Include string.h.
7389
7390 2011-11-18 Yao Qi <yao@codesourcery.com>
7391
7392 * gdb.trace/pending.exp: New.
7393 * gdb.trace/pending.c: New.
7394 * gdb.trace/pendshr1.c: New.
7395 * gdb.trace/pendshr2.c: New.
7396 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
7397 tracepoint location becomes pending.
7398 (tracepoint_change_loc_2): New.
7399
7400 2011-11-16 David S. Miller <davem@davemloft.net>
7401
7402 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
7403 target is sparc*-*-linux*
7404
7405 2011-11-15 Paul Koning <paul_koning@dell.com>
7406
7407 * gdb.python/py-type.exp: New testcases for exceptions on scalar
7408 types.
7409
7410 2011-11-14 Doug Evans <dje@google.com>
7411
7412 * gdb.base/shell.exp: New file.
7413
7414 2011-11-14 Stan Shebs <stan@codesourcery.com>
7415
7416 * gdb.trace/ftrace.c: New.
7417 * gdb.trace/ftrace.exp: New.
7418
7419 2011-11-14 Yao Qi <yao@codesourcery.com>
7420
7421 * gdb.trace/change-loc-1.c: New.
7422 * gdb.trace/change-loc-2.c: New.
7423 * gdb.trace/change-loc.c: New.
7424 * gdb.trace/change-loc.exp: New.
7425 * gdb.trace/change-loc.h: New.
7426 * gdb.trace/trace-break.c (marker): Define new symbol.
7427 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
7428 New.
7429 (break_trace_same_addr_6): New.
7430
7431 2011-11-12 Matt Rice <ratmice@gmail.com>
7432
7433 * gdb.base/info-macros.exp: Make tests for info definitions
7434 test info macro. Add tests for info macro argument processing.
7435 Rename a few tests.
7436
7437 2011-11-11 Keith Seitz <keiths@redhat.com>
7438
7439 PR gdb/12843
7440 * gdb.base/linespecs.exp: New file.
7441
7442 2011-11-11 Doug Evans <dje@google.com>
7443
7444 * gdb.threads/print-threads.exp: Extend timeout for slower
7445 tests.
7446
7447 2011-11-10 Doug Evans <dje@google.com>
7448
7449 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
7450 "record to end of main" test.
7451
7452 * gdb.python/py-type.c (TS): New typedef.
7453 (ts): New global.
7454 * gdb.python/py-type.exp: Test field list of typedef.
7455
7456 2011-11-10 Joel Brobecker <brobecker@adacore.com>
7457
7458 * gdb.ada/small_reg_param: New testcase.
7459
7460 2011-11-09 Tom Tromey <tromey@redhat.com>
7461
7462 * gdb.cp/destrprint.exp: New file.
7463 * gdb.cp/destrprint.cc: New file.
7464
7465 2011-11-08 Meador Inge <meadori@codesourcery.com>
7466
7467 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
7468 (switch_stack_to_other): New test function.
7469 * gdb.arch/thumb-prologue.exp: New test cases.
7470
7471 2011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7472
7473 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
7474
7475 2011-11-08 Yao Qi <yao@codesourcery.com>
7476
7477 * gdb.exp (supports_process_record): New.
7478 (supports_reverse): New.
7479 * gdb.reverse/break-precsave.exp: Call support_process_record
7480 to run test conditionally.
7481 * gdb.reverse/consecutive-precsave.exp: Likewise.
7482 * gdb.reverse/i386-precsave.exp: Likewise.
7483 * gdb.reverse/machinestate-precsave.exp: Likewise.
7484 * gdb.reverse/solib-precsave.exp: Likewise.
7485 * gdb.reverse/step-precsave.exp: Likewise.
7486 * gdb.reverse/until-precsave.exp: Likewise.
7487 * gdb.reverse/watch-precsave.exp: Likewise.
7488 * gdb.reverse/break-reverse.exp: Call support_reverse to run
7489 test conditionally.
7490 * gdb.reverse/consecutive-reverse.exp: Likewise.
7491 * gdb.reverse/finish-precsave.exp: Likewise.
7492 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
7493 * gdb.reverse/finish-reverse.exp: Likewise.
7494 * gdb.reverse/i386-reverse.exp: Likewise.
7495 * gdb.reverse/i386-sse-reverse.exp: Likewise.
7496 * gdb.reverse/machinestate.exp: Likewise.
7497 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
7498 * gdb.reverse/sigall-precsave.exp: Likewise.
7499 * gdb.reverse/sigall-reverse.exp: Likewise.
7500 * gdb.reverse/solib-reverse.exp: Likewise.
7501 * gdb.reverse/step-reverse.exp: Likewise.
7502 * gdb.reverse/until-reverse.exp: Likewise.
7503 * gdb.reverse/watch-reverse.exp: Likewise.
7504
7505 2011-11-05 Yao Qi <yao@codesourcery.com>
7506
7507 * gdb.trace/trace-break.exp: Add test on setting two
7508 fast tracepoints at the same address.
7509
7510 2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7511
7512 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
7513
7514 2011-11-02 Stan Shebs <stan@codesourcery.com>
7515
7516 * gdb.trace/collection.c: Add code using strings.
7517 * gdb.trace/collection.exp: Add tests of string collection.
7518
7519 2011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7520
7521 * gdb.base/skip-solib.exp (executable_main): New variable.
7522 (binfile_main): Base it on that.
7523 Use $executable_main in clean_restart calls. Drop gdb_exit and
7524 gdb_start calls.
7525
7526 2011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7527
7528 Fix racy FAILs.
7529 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
7530 breakpoint_re globals import by async. Set string_regex to .* for
7531 async. Remove the optional thread_selected_re and breakpoint_re
7532 globals expectations.
7533
7534 2011-11-01 Joseph Myers <joseph@codesourcery.com>
7535
7536 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
7537 well as Cygwin.
7538
7539 2011-11-01 Justin Lebar <justin.lebar@gmail.com>
7540
7541 Add tests for skip command.
7542 * gdb.base/skip-solib-lib.c: New
7543 * gdb.base/skip-solib-main.c: New
7544 * gdb.base/skip-solib.exp: New
7545 * gdb.base/skip.c: New
7546 * gdb.base/skip.exp: New
7547 * gdb.base/skip1.c: New
7548 * gdb.base/Makefile.in: Adding new files.
7549
7550 2011-10-31 Yao Qi <yao@codesourcery.com>
7551 Pedro Alves <pedro@codesourcery.com>
7552
7553 * gdb.trace/trace-break.c: New.
7554 * gdb.trace/trace-break.exp: New.
7555
7556 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7557
7558 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
7559 break-here-2.
7560
7561 2011-10-28 Pedro Alves <pedro@codesourcery.com>
7562
7563 * gdb.threads/no-unwaited-for-left.c: New.
7564 * gdb.threads/no-unwaited-for-left.exp: New.
7565 * gdb.threads/non-ldr-exc-1.c: New.
7566 * gdb.threads/non-ldr-exc-1.exp: New.
7567 * gdb.threads/non-ldr-exc-2.c: New.
7568 * gdb.threads/non-ldr-exc-2.exp: New.
7569 * gdb.threads/non-ldr-exc-3.c: New.
7570 * gdb.threads/non-ldr-exc-3.exp: New.
7571 * gdb.threads/non-ldr-exc-4.c: New.
7572 * gdb.threads/non-ldr-exc-4.exp: New.
7573
7574 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7575
7576 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
7577 * gdb.base/attach-pie-misread.exp: Likewise.
7578 * gdb.base/break-interp.exp: Likewise.
7579 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
7580 testcases for use_gdb_stub.
7581 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
7582 (continue): New testcase.
7583 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
7584 * gdb.threads/attach-into-signal.exp: Likewise.
7585 * gdb.threads/attach-stopped.exp: Likewise.
7586 * gdb.threads/attachstop-mt.exp: Likewise.
7587
7588 2011-10-28 Paul Koning <paul_koning@dell.com>
7589
7590 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
7591
7592 2011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7593
7594 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
7595 (mi_gdb_test): Import globals thread_selected_re
7596 and breakpoint_re. Expect them optionally at the regex start.
7597
7598 2011-10-27 Doug Evans <dje@google.com>
7599
7600 * gdb.python/python.exp: Test source -s.
7601
7602 2011-10-26 Paul Koning <paul_koning@dell.com>
7603
7604 * gdb.python/lib-types.cc (struct A): New structure.
7605 * gdb.python/lib-types.exp (deepitems): New tests.
7606
7607 2011-10-25 Paul Koning <paul_koning@dell.com>
7608
7609 PR python/13327
7610
7611 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
7612 fetch_lazy method.
7613
7614 2011-10-24 Yao Qi <yao@codesourcery.com>
7615
7616 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
7617 target is tic6x-*-*.
7618
7619 2011-10-21 Joel Brobecker <brobecker@adacore.com>
7620
7621 * gdb.ada/mi_task_info/task_switch.adb: New file.
7622 * gdb.ada/mi_task_info.exp: New file.
7623
7624 2011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7625
7626 * gdb.cp/expand-psymtabs-cxx.exp: New file.
7627 * gdb.cp/expand-psymtabs-cxx.cc: New file.
7628
7629 2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
7630
7631 PR python/12656
7632
7633 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
7634 global_block tests.
7635
7636 2011-10-18 Tom Tromey <tromey@redhat.com>
7637
7638 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
7639
7640 2011-10-18 Tom Tromey <tromey@redhat.com>
7641
7642 * gdb.base/source.exp: Don't include full file name in test name.
7643 * gdb.python/python.exp: Don't include full file name in test
7644 name.
7645
7646 2011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7647
7648 * gdb.base/attach-pie-noexec.c: New files.
7649 * gdb.base/attach-pie-noexec.exp: New files.
7650
7651 2011-10-17 Joseph Myers <joseph@codesourcery.com>
7652
7653 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
7654 prompt for each extra line in command.
7655
7656 2011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7657
7658 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
7659 Revert the part of:
7660 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7661 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7662 Change the expected string.
7663
7664 2011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7665
7666 Fix results with system glibc debug info installed.
7667 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
7668 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
7669 Accept also __libc_ symbol prefix and no prefix.
7670
7671 2011-10-14 Keith Seitz <keiths@redhat.com>
7672
7673 PR c++/13225
7674 * gdb.cp/converts.cc (foo3_1): New function.
7675 (foo3_2): New functions.
7676 * gdb.cp/converts.exp: Add tests for int to pointer conversion
7677 and null pointer conversions of integer constant zero.
7678 Add test to check if all arguments are checked for incompatible
7679 conversion BADNESS.
7680
7681 2011-10-14 Tom Tromey <tromey@redhat.com>
7682
7683 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
7684 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
7685 linespec.
7686
7687 2011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7688
7689 Fix internal error regression.
7690 * gdb.dwarf2/implptr-optimized-out.S: New file.
7691 * gdb.dwarf2/implptr-optimized-out.exp: New file.
7692
7693 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7694
7695 Fix empty DWARF expressions DATA vs. SIZE conditionals.
7696 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
7697 (loclist): New.
7698 (4): New abbrev.
7699 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
7700 Use prepare_for_testing, remove clean_restart.
7701 (p arraynoloc, p arraycallnoloc): New tests.
7702
7703 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7704
7705 * gdb.cp/namespace-enum.exp (executable): New variable.
7706 (binfile): Use ${objdir}/${subdir}/ prefix.
7707 Use ${executable} for clean_restart.
7708
7709 2011-10-11 Sterling Augustine <saugustine@google.com>
7710
7711 * gdb.cp/Makefile.in: Add namespace-enum test.
7712 * gdb.cp/namespace-enum.exp: New file.
7713 * gdb.cp/namespace-enum.c: New file.
7714 * gdb.cp/namespace-enum-main.c: New file.
7715
7716 2011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
7717
7718 * gdb.python/py-shared.exp: Relax filename check to handle remote:
7719 sysroot.
7720
7721 2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7722
7723 Reimplement @entry in input expressions.
7724 * gdb.base/exprs.c (v_int_array_init): New variable.
7725 * gdb.base/exprs.exp (print v_int_array_init)
7726 (print *v_int_array_init@1, print *v_int_array_init@2)
7727 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
7728 (print v_int_array_init[1]@1): New tests.
7729
7730 2011-10-10 Joseph Myers <joseph@codesourcery.com>
7731
7732 * gdb.cp/gdb2495.exp: Do not include directories in filename in
7733 expected message.
7734
7735 2011-10-09 Doug Evans <dje@google.com>
7736
7737 * gdb.base/alias.exp: Add tests for alias command.
7738
7739 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7740
7741 * gdb.arch/amd64-entry-value.s: New file.
7742 * gdb.mi/mi2-amd64-entry-value.s: New file.
7743
7744 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7745
7746 Display @entry parameter values even for references.
7747 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
7748 functions.
7749 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
7750 reference and datap_input.
7751 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
7752 breakpoints.
7753 (continue to breakpoint: entry_reference: reference)
7754 (entry_reference: bt at entry)
7755 (continue to breakpoint: entry_reference: breakhere_reference)
7756 (entry_reference: bt, entry_reference: ptype regparam)
7757 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
7758 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
7759 (entry_reference: p regcopy, entry_reference: p nodataparam)
7760 (entry_reference: p nodataparam@entry): New tests.
7761
7762 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7763
7764 Support @entry in input expressions.
7765 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
7766 (entry_stack: p s1@entry, entry_stack: p s2@entry)
7767 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
7768 (tailcall: p j@entry): New tests.
7769 * gdb.cp/koenig.cc (A::entry): New function.
7770 (main): Call it.
7771 * gdb.cp/koenig.exp (p entry (c)): New test.
7772
7773 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7774
7775 Display @entry parameter values (without references).
7776 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
7777 (different, validity, invalid): New functions.
7778 (main): Call them.
7779 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
7780 stacktest, breakhere_stacktest, different, breakhere_different,
7781 breakhere_validity and breakhere_invalid.
7782 (entry: bt): Update for @entry.
7783 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
7784 (entry_validity: *, entry_invalid: *): Many new tests.
7785 * gdb.base/break.exp
7786 (run until breakpoint set at small function, optimized file): Accept
7787 also the @entry suffix.
7788 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
7789 * gdb.mi/mi2-amd64-entry-value.c: New files.
7790 * gdb.mi/mi2-amd64-entry-value.exp: New files.
7791
7792 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7793
7794 Protect entry values against self tail calls.
7795 * gdb.arch/amd64-entry-value.cc (self2, self): New.
7796 (main): Call self.
7797 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
7798 (set debug entry-values 1, self: bt debug entry-values): New tests.
7799
7800 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7801
7802 Recognize virtual tail call frames.
7803 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
7804 (amb_b, amb_a): New.
7805 (main): Call a and b.
7806 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
7807 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
7808 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
7809 New tests.
7810
7811 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7812
7813 Implement basic support for DW_TAG_GNU_call_site.
7814 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
7815 * gdb.arch/amd64-entry-value.cc: New file.
7816 * gdb.arch/amd64-entry-value.exp: New file.
7817
7818 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7819
7820 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
7821 * gdb.dwarf2/implptr-64bit.S: New file.
7822 * gdb.dwarf2/implptr-64bit.exp: New file.
7823
7824 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7825
7826 Fix initial language detection with -readnow.
7827 * gdb.cp/readnow-language.cc: New file.
7828 * gdb.cp/readnow-language.exp: New file.
7829
7830 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7831
7832 Fix printed anonymous struct name.
7833 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
7834
7835 2011-10-09 Joseph Myers <joseph@codesourcery.com>
7836
7837 * gdb.base/solib-symbol.exp: Do not include directories in
7838 filenames in expected messages.
7839
7840 2011-10-07 Doug Evans <dje@google.com>
7841
7842 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
7843
7844 2011-10-07 Kevin Pouget <kevin.pouget@st.com>
7845
7846 Allow Python notification of new object-file loadings.
7847 * gdb.python/py-events.exp: Test newobjfile event.
7848 * gdb.python/py-events.py: Register newobjfile callback.
7849 * gdb.python/py-events.c: Add call to shared library
7850 * gdb.python/py-events-shlib.c: New file.
7851
7852 2011-10-06 Joseph Myers <joseph@codesourcery.com>
7853
7854 * gdb.base/fixsection.exp: Do not include directories in filename
7855 in expected message.
7856
7857 2011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7858
7859 Add tests for passing of environment variables to inferior.
7860 * gdb.base/testenv.c: New test source.
7861 * gdb.base/testenv.exp: New expect test.
7862
7863 2011-10-04 Paul Koning <paul_koning@dell.com>
7864
7865 * gdb.python/py-value.c (main): Break before return.
7866
7867 2011-10-04 Kevin Pouget <kevin.pouget@st.com>
7868
7869 PR python/12691: Add the inferior to Python exited event
7870 * gdb.python/py-events.exp: Test the inferior attribute of exited
7871 event with a fork.
7872 * gdb.python/py-events.py: Print inferior number on exit.
7873 * gdb.python/py-events.c: Fork the inferior.
7874
7875 2011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
7876
7877 * gdb.base/jit.exp: Add testcase name to log message
7878
7879 2011-10-03 Paul Koning <paul_koning@dell.com>
7880 Jan Kratochvil <jan.kratochvil@redhat.com>
7881
7882 * gdb.python/py-value.exp
7883 (python inval = gdb.parse_and_eval('*(int*)0'))
7884 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
7885 (set argc=2, python print argc_lazy): New tests.
7886
7887 2011-10-02 Joel Brobecker <brobecker@adacore.com>
7888
7889 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
7890
7891 2011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7892 Pedro Alves <pedro@codesourcery.com>
7893
7894 * gdb.python/py-value.exp (test_value_in_inferior): New variable
7895 can_read_0, test for it.
7896 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
7897 (parse_and_eval with memory error): ... here, make it untested if
7898 can_read_0.
7899
7900 2011-09-30 Marek Polacek <mpolacek@redhat.com>
7901
7902 * gdb.python/python.exp (verify pagination beforehand)
7903 (verify pagination afterwards): Fix race by splitting the line.
7904
7905 2011-09-29 Joseph Myers <joseph@codesourcery.com>
7906
7907 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
7908 for 64-bit multilibs from i?86-* targets.
7909
7910 2011-09-29 Marek Polacek <mpolacek@redhat.com>
7911
7912 * lib/gdb.exp: Fix a typo in one of the comments.
7913
7914 2011-09-29 Marek Polacek <mpolacek@redhat.com>
7915
7916 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
7917 matching pattern.
7918
7919 2011-09-28 Paul Koning <paul_koning@dell.com>
7920
7921 * gdb.python/py-type.c (enum E): New.
7922 * gdb.python/py-type.exp (test_fields): Add tests for Python
7923 mapping access to fields.
7924 (test_enums): New test for field access on enums.
7925
7926 2011-09-27 Stan Shebs <stan@codesourcery.com>
7927
7928 * gdb.trace/collection.exp: Test collection of $_ret.
7929
7930 2011-09-22 Andreas Tobler <andreast@fgznet.ch>
7931
7932 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
7933 list of compilation switches for <*-*-freebsd*>.
7934
7935 2011-09-19 Stan Shebs <stan@codesourcery.com>
7936
7937 * gdb.trace/tspeed.exp: New file.
7938 * gdb.trace/tspeed.c: New file.
7939
7940 2011-09-18 Yao Qi <yao@codesourcery.com>
7941
7942 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
7943 instructions.
7944 (test_adr_32bit, test_pop_pc): Likewise.
7945 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
7946 Thumb instructions.
7947 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
7948 in gdb_test_multiple.
7949 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
7950
7951 2011-09-17 Yao Qi <yao@codesourcery.com>
7952
7953 * lib/gdb.exp (can_single_step_to_signal_handler): New.
7954 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
7955 support single step to signal handler.
7956
7957 2011-09-17 Yao Qi <yao@codesourcery.com>
7958
7959 * gdb.base/disp-step-fork.c: New.
7960 * gdb.base/disp-step-syscall.exp: New.
7961 * gdb.base/disp-step-vfork.c: New.
7962
7963 2011-09-16 Joel Brobecker <brobecker@adacore.com>
7964
7965 * gdb.ada/tasks.exp: Make the expected output for
7966 the `info tasks' tests more resilient to spacing
7967 changes.
7968
7969 2011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7970
7971 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
7972 (reached breakpoint 2, reached breakpoint 3): Update expected output.
7973
7974 2011-09-15 Kevin Pouget <kevin.pouget@st.com>
7975
7976 PR Python/12692 Add gdb.selected_inferior() to Python interface.
7977 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
7978
7979 2011-04-30 Kevin Pouget <kevin.pouget@st.com>
7980
7981 Handle multiple breakpoint hits in Python interface:
7982 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
7983 presence.
7984 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
7985 breakpoint hits.
7986
7987 2011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
7988 Jan Kratochvil <jan.kratochvil@redhat.com>
7989
7990 * gdb.python/py-events.exp: Remove pretty printing comment.
7991 * gdb.python/py-evsignal.exp: New file.
7992 * gdb.python/py-evthreads.c: Include signal.h.
7993 (thread3): Remove variable count3. Remove variable bad and use raise
7994 instead.
7995 (thread2): Remove variable count2. Move thread3 pthread_create here,
7996 merge pthread_join to a single line.
7997 (main): Remove variable count1. Merge pthread_join with pthread_create
7998 to a single line.
7999 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
8000 KFAIL python/12966 for gdbserver. Test return value of
8001 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
8002 gdb_expect by gdb_test and gdb_test_multiple.
8003 (thread 2, thread 3): New tests.
8004
8005 2011-09-12 Matt Rice <ratmice@gmail.com>
8006 Pedro Alves <pedro@codesourcery.com>
8007
8008 PR gdb/13175
8009
8010 * gdb.base/interp.exp: New tests.
8011 * gdb.base/interp.c: New file.
8012
8013 2011-09-12 Doug Evans <dje@google.com>
8014
8015 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
8016 * gdb.dwarf2/typeddwarf.exp: Ditto.
8017
8018 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8019
8020 Fix compatibility with x32 arch.
8021 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
8022 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
8023 is_x86_like_target.
8024 * testsuite/gdb.trace/collection.exp: Likewise.
8025 * testsuite/gdb.trace/report.exp: Likewise.
8026 * testsuite/gdb.trace/unavailable.exp: Likewise.
8027 * testsuite/gdb.trace/while-dyn.exp: Likewise.
8028 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
8029 (is_x86_like_target): Check also is_amd64_regs_target.
8030
8031 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8032
8033 PR breakpoints/12435
8034 * gdb.arch/amd64-prologue-xmm.c: New file.
8035 * gdb.arch/amd64-prologue-xmm.exp: New file.
8036 * gdb.arch/amd64-prologue-xmm.s: New file.
8037
8038 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8039
8040 * gdb.dwarf2/dw2-param-error-main.c: New file.
8041 * gdb.dwarf2/dw2-param-error.S: New file.
8042 * gdb.dwarf2/dw2-param-error.exp: New file.
8043
8044 2011-09-08 Pedro Alves <pedro@codesourcery.com>
8045
8046 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
8047 inferior's pid and look for a core dump named core.$pid. Use
8048 `remote_file' commands on the host instead of hand coding shell
8049 commands on the build.
8050 * gdb.base/valgrind-db-attach.exp: Kill the program before
8051 finishing the test.
8052
8053 2011-09-02 Matt Rice <ratmice@gmail.com>
8054
8055 * lib/prompt.exp: New file for testing the first prompt.
8056 * gdb.python/py-prompt.exp: Ditto.
8057 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
8058
8059 2011-09-02 Pedro Alves <pedro@codesourcery.com>
8060
8061 * gdb.threads/gcore-thread.exp: Set the global core_supported to
8062 0, before testing gcore.
8063
8064 2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8065
8066 * dw2-ifort-parameter-debug.S: Update copyright year.
8067 * dw2-ifort-parameter.c: Update copyright year.
8068 * dw2-ifort-parameter.exp: Update copyright year.
8069
8070 * dw2-ifort-parameter-debug.S: New file.
8071 * dw2-ifort-parameter.c: New file.
8072 * dw2-ifort-parameter.exp: New file.
8073
8074 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8075
8076 * gdb.base/commands.exp (error_clears_commands_left): New function.
8077 (): Call it.
8078
8079 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8080
8081 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
8082 (C): Initialize `a'.
8083 * gdb.mi/mi-inheritance-syntax-error.exp
8084 (-data-evaluate-expression $path): Expect `a' as 5.
8085
8086 2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
8087
8088 PR mi/11912
8089 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
8090 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
8091 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
8092 keyword in output of -var-info-path-expression.
8093
8094 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8095
8096 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
8097 * gdb.trace/collection.exp: Likewise.
8098 * gdb.trace/report.exp: Likewise.
8099 * gdb.trace/unavailable.exp: Likewise.
8100 * gdb.trace/while-dyn.exp: Likewise.
8101
8102 2011-08-18 Keith Seitz <keiths@redhat.com>
8103
8104 PR c++/12266
8105 * gdb.cp/meth-typedefs.cc: New file.
8106 * gdb.cp/meth-typedefs.exp: New file.
8107
8108 2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
8109
8110 * gdb.python/python.exp: Add extended-prompt tests.
8111
8112 2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8113
8114 * gdb.arch/i386-dr3-watch.exp
8115 (watchpoint on gap1 does not fit debug registers)
8116 (delete all watchpoints): Fix racy expect strings.
8117
8118 2011-08-14 Yao Qi <yao@codesourcery.com>
8119
8120 * gdb.base/maint.exp: set data_section to ".neardata".
8121 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
8122 * gdb.base/savedregs.exp: Handle SIGILL.
8123 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
8124 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
8125
8126 2011-08-12 Doug Evans <dje@google.com>
8127
8128 * gdb.python/py-symbol.exp: Add test for symbol.type.
8129
8130 2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
8131
8132 * gdb.threads/pthreads.exp: Enable on non-native configurations.
8133 * gdb.mi/mi-pthreads.exp: Likewise.
8134 * gdb.mi/mi2-pthreads.exp: Likewise.
8135 * gdb.mi/gdb669.exp.exp: Likewise.
8136
8137 2011-08-09 Pedro Alves <pedro@codesourcery.com>
8138
8139 * lib/mi-support.exp (detect_async): Rename to...
8140 (mi_detect_async): ... this.
8141 * gdb.mi/mi-nonstop-exit.exp: Adjust.
8142 * gdb.mi/mi-nonstop.exp: Adjust.
8143 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
8144 * gdb.mi/mi-nsintrall.exp: Adjust.
8145 * gdb.mi/mi-nsmoribund.exp: Adjust.
8146 * gdb.mi/mi-nsthrexec.exp: Adjust.
8147
8148 2011-08-09 Pedro Alves <pedro@codesourcery.com>
8149
8150 * gdb.base/display.c (do_loops): New `p_i' local.
8151 * gdb.base/display.exp: Test displaying a variable that is
8152 temporarily at a bad address.
8153
8154 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8155
8156 * gdb.dwarf2/dw2-op-stack-value.S: New file.
8157 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
8158
8159 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8160
8161 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
8162 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
8163 (p fuNC_symtab): Permit also ppc64 leading dot.
8164
8165 2011-08-05 Pedro Alves <pedro@codesourcery.com>
8166
8167 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
8168 procedure.
8169 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
8170
8171 2011-08-05 Yao Qi <yao@codesourcery.com>
8172
8173 * gdb.base/callfuncs.exp: Set language after main.
8174 * gdb.cp/cplusfuncs.exp: Likewise.
8175 * gdb.cp/inherit.exp: Likewise.
8176
8177 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
8178
8179 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
8180 * gdb.base/watch-vfork.exp: Skip on remote targets.
8181
8182 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
8183
8184 * gdb.threads/thread-find.exp: Support remote targets.
8185
8186 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
8187
8188 * gdb.base/jit.exp: Download solib_binfile to target.
8189 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
8190 and call dlopen without full path name.
8191 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
8192 dlopen without full path name.
8193
8194 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8195
8196 * gdb.base/break-always.exp: Complete the test
8197 with duplicated breakpoints and enabling/disabling them.
8198
8199 2011-08-02 Tom Tromey <tromey@redhat.com>
8200
8201 PR gdb/11289:
8202 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
8203
8204 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8205
8206 PR gdb/13045
8207 * gdb.base/float.exp: Add new test case for PR gdb/13045
8208 * gdb.base/float.c: New file.
8209
8210 2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
8211
8212 * gdb.python/py-mi.exp: Test printers returning string hint, and
8213 also not returning a value.
8214 * gdb.python/py-prettyprint.c: Add testcase for above.
8215 * gdb.python/py-prettyprint.py: Add test printer for above.
8216
8217 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8218
8219 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
8220 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
8221 (.Ldie30) Add as field "data4".
8222 (.Ldie32) Rename field "b" to "shl".
8223 (abbrev4) Change for the "data4" field.
8224 (abbrev5, abbrev6) Remove.
8225 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
8226 (p &s.shl): ... here. Add comment.
8227 (p &s.data4): New.
8228
8229 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8230
8231 Fix crash on lval_computed values.
8232 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
8233
8234 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8235
8236 * gdb.base/help.exp (help whatis): Update the expected string.
8237
8238 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8239
8240 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
8241 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
8242 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
8243 Change the expected string.
8244
8245 2011-07-26 Pedro Alves <pedro@codesourcery.com>
8246
8247 * gdb.base/watchpoint.exp
8248 (test_disable_enable_software_watchpoint): New procedure.
8249 (top level): Run it.
8250
8251 2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
8252
8253 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
8254 executable file "${binfile}", C++ version "${binfile}-cxx".
8255 * gdb.python/py-prettyprint.exp: Likewise.
8256 * gdb.python/py-symbol.exp: Likewise.
8257 * gdb.python/py-type.exp: Likewise.
8258 * gdb.python/py-value.exp: Likewise.
8259 * gdb.python/py-template.exp (test_template_arg): Pass full executable
8260 file name instead of just suffix.
8261
8262 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8263
8264 Fix implicit pointer offsets.
8265 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
8266 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
8267 (continue to breakpoint: continue to baz breakpoint for implptr)
8268 (sanity check element 0, sanity check element 1)
8269 (enter the inlined function, check element 0 for the offset)
8270 (check element 1 for the offset)
8271 (continue to breakpoint: ignore the second baz breakpoint): New tests.
8272 (set foo breakpoint for implptr): Update the breakpoint number.
8273
8274 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8275
8276 * gdb.python/py-mi.exp: Use different file names for different
8277 versions of the executable under test.
8278 * gdb.python/py-prettyprint.exp: Likewise.
8279 * gdb.python/py-symbol.exp: Likewise.
8280 * gdb.python/py-template.exp: Likewise.
8281 * gdb.python/py-type.exp: Likewise.
8282 * gdb.python/py-value.exp: Likewise.
8283
8284 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8285
8286 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
8287 flag after restarting GDB if necessary.
8288
8289 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8290
8291 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
8292
8293 2011-07-22 Pedro Alves <pedro@codesourcery.com>
8294
8295 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
8296 backend doesn't leave used debug registers behind.
8297
8298 2011-07-22 Tom Tromey <tromey@redhat.com>
8299
8300 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
8301 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
8302 argument.
8303 * gdb.dwarf2/typeddwarf-amd64.S: New file.
8304
8305 2011-07-21 Matt Rice <ratmice@gmail.com>
8306
8307 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
8308 in mostlyclean rule. Add files ending in .core.
8309
8310 2011-07-21 Matt Rice <ratmice@gmail.com>
8311
8312 PR macros/12999
8313 * gdb.base/info-macros.c: New test sources.
8314 * gdb.base/info-macros.exp: New tests.
8315
8316 2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
8317
8318 * gdb.python/python.exp: Add prompt substitution tests.
8319
8320 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8321
8322 Fix crash if referenced CU is aged out.
8323 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
8324 New.
8325 * gdb.dwarf2/implptr.exp: Likewise.
8326
8327 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8328
8329 * gdb.dwarf2/implptr.S: Rebuilt.
8330 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
8331 (bar): Use them for j, k, l.
8332 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
8333 COMPILE.
8334 (print j in implptr:bar): Update for the intp typedef.
8335 (print p[0].x in implptr:foo): Use more exact regex.
8336
8337 2011-07-18 Tom Tromey <tromey@redhat.com>
8338
8339 * gdb.cp/static-method.exp: Add missing single quote.
8340
8341 2011-07-18 Yao Qi <yao@codesourcery.com>
8342
8343 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
8344 supported.
8345 * gdb.mi/mi-nonstop-exit.exp: Likewise.
8346 * gdb.mi/mi-nonstop.exp: Likewise.
8347 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8348 * gdb.mi/mi-nsintrall.exp: Likewise.
8349 * gdb.mi/mi-nsmoribund.exp: Likewise.
8350 * gdb.mi/mi-nsthrexec.exp: Likewise.
8351 * gdb.python/py-evthreads.exp: Likewise.
8352
8353 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8354
8355 Code cleanup.
8356 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
8357 it. Substitute it instead of test_compiler_info everywhere.
8358
8359 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8360
8361 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
8362 remote targets as well.
8363
8364 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8365
8366 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
8367 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
8368
8369 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8370
8371 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
8372 a remote machine, not the host.
8373 (gdb_compile_shlib): Set soname if target is remote.
8374
8375 2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
8376
8377 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
8378
8379 2011-07-13 Matt Rice <ratmice@gmail.com>
8380
8381 * gdb.python/py-objfile-script-gdb.py: Renamed to
8382 py-objfile-script-gdb.py.in.
8383 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
8384 py-objfile-script-gdb.py.
8385 * gdb.python/py-objfile-script.exp: Update reference to
8386 py-objfile-script-gdb.py.
8387
8388 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8389
8390 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
8391 reference undefined label.
8392
8393 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8394
8395 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
8396 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
8397 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
8398 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
8399
8400 2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
8401
8402 PR python/12438
8403 * gdb.python/python.exp: Add maint set/show python print-stack
8404 deprecated tests. Add set/show python print-backtrace tests.
8405
8406 2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8407
8408 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
8409 debug info.
8410
8411 2011-07-06 Matt Rice <ratmice@gmail.com>
8412
8413 * gdb.python/python.exp: Update filename paths.
8414 * gdb.python/py-symtab.exp: Ditto.
8415
8416 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8417
8418 * gdb.python/py-evthreads.exp: Add missing `$'.
8419
8420 2011-07-06 Jie Zhang <jie.zhang@analog.com>
8421
8422 * config/bfin.exp: New file.
8423 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
8424 * gdb.asm/bfin.inc: New file.
8425
8426 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8427
8428 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8429 the whole output.
8430
8431 2011-07-05 Tom Tromey <tromey@redhat.com>
8432
8433 * gdb.java/jprint.java (jprint.hi): New field.
8434 * gdb.java/jprint.exp: Print string.
8435
8436 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
8437
8438 * gdb.base/call-sc.c: Fix typos.
8439 * gdb.base/ifelse.exp: Likewise.
8440 * gdb.base/structs.c: Likewise.
8441
8442 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8443
8444 * gdb.base/jit-so.exp: New test.
8445 * gdb.base/jit-dlmain.c: New file.
8446 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
8447
8448 2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8449
8450 * gdb.cp/m-static.exp: Call get_compiler_info.
8451 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
8452 * gdb.cp/pr9167.exp (p b): Likewise.
8453 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
8454 (test value of P in inner_m, test type of Z in inner_m): Call
8455 setup_xfail for gcc <= 4.5.
8456
8457 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8458
8459 * gdb.cp/paren-type.cc: New files.
8460 * gdb.cp/paren-type.exp: New files.
8461
8462 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8463
8464 Stop on first linespec terminator instead of eating what we can.
8465 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
8466 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
8467 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
8468 (break C::f()): ... this one.
8469 (break C::operator()()): New test.
8470 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
8471 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
8472 test.
8473
8474 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8475
8476 Fall back linespec to minimal symbols.
8477 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
8478 error message.
8479 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
8480 * gdb.cp/minsym-fallback-main.cc: New file.
8481 * gdb.cp/minsym-fallback.cc: New file.
8482 * gdb.cp/minsym-fallback.exp: New file.
8483 * gdb.cp/minsym-fallback.h: New file.
8484
8485 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8486
8487 * gdb.cp/no-dmgl-verbose.cc: New file.
8488 * gdb.cp/no-dmgl-verbose.exp: New file.
8489
8490 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8491
8492 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
8493 __GI_.
8494 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
8495 (f): New function.
8496 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
8497 (complete p 'func<short>(): ... here.
8498 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
8499 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
8500 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
8501 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
8502 Make them KFAIL gcc/49546.
8503
8504 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8505
8506 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
8507
8508 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8509
8510 Test GCC PR debug/49546.
8511 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
8512 (test type of F in k3_m, test value of F in k3_m): New.
8513 * gdb.cp/temargs.cc (struct S3, struct K3): New.
8514 (main): New variable k3. Call k3.k3_m.
8515
8516 2011-07-01 Jean-Charles Delay <delay@adacore.com>
8517
8518 * gdb.ada/packed_array.exp: Fix expected outout.
8519
8520 2011-07-01 Jean-Charles Delay <delay@adacore.com>
8521
8522 * gdb.ada/packed_array.exp: fixed expected output.
8523
8524 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8525
8526 * gdb.ada/same_enum: New testcase.
8527
8528 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8529
8530 * gdb.ada/ptr_typedef: New testcase.
8531
8532 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8533
8534 * gdb.ada/arrayptr.exp: Add ptype test.
8535
8536 2011-07-01 Joel Brobecker <brobecker@adacore.com>
8537
8538 * gdb.ada/char_enum: New testcase.
8539
8540 2011-07-01 Yao Qi <yao@codesourcery.com>
8541
8542 * gdb.base/dump.exp (capture_pointer_with_type): New.
8543 Get value from address instead of name.
8544 Start GDB once, and do `dump' and `restore'
8545 tests together.
8546
8547 2011-06-30 Jie Zhang <jie.zhang@analog.com>
8548 Mike Frysinger <vapier@gentoo.org>
8549
8550 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
8551 helper functions for getting/setting remotetimeout variable.
8552 * lib/gdb.exp (gdb_load): If the target is remote, set
8553 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
8554 with $loadtimeout. Set $load_ok to 0 before doing the load.
8555 Instead of returning, immediately, set $load_ok to 0. Call
8556 set_remotetimeout with $oldremotetimeout, and then return if
8557 $load_ok is 1.
8558
8559 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
8560
8561 * gdb.python/py-template.exp: Don't run this test if the target
8562 does not support c++ tests.
8563
8564 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8565
8566 Fix non-only rename list for Fortran modules import.
8567 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
8568 tests.
8569 * gdb.fortran/module.f90 (module moduse): New.
8570 (program module): use moduse, test var_x, var_y and var_z.
8571
8572 2011-06-29 Tom Tromey <tromey@redhat.com>
8573
8574 PR testsuite/12040:
8575 * gdb.fortran/array-element.exp: Use f90, not f77.
8576 * gdb.fortran/complex.exp: Use f90, not f77.
8577 * gdb.fortran/derived-type.exp: Use f90, not f77.
8578 * gdb.fortran/library-module.exp: Use f90, not f77.
8579 * gdb.fortran/logical.exp: Use f90, not f77.
8580 * gdb.fortran/module.exp: Use f90, not f77.
8581 * gdb.fortran/multi-dim.exp: Use f90, not f77.
8582 * gdb.fortran/subarray.exp: Use f90, not f77.
8583
8584 2011-06-29 Tom Tromey <tromey@redhat.com>
8585
8586 * gdb.fortran/charset.exp: New file.
8587 * gdb.fortran/charset.f90: New file.
8588
8589 2011-06-29 Tom Tromey <tromey@redhat.com>
8590
8591 PR testsuite/12040:
8592 * lib/future.exp: New file, mostly extracted from ada.exp.
8593 Rewrote compatibility code to use rename.
8594 (gdb_find_gfortran): New proc.
8595 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
8596 gfortran patch.
8597 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
8598 Move to future.exp.
8599 * lib/gdb.exp: Always load future.exp.
8600
8601 2011-06-28 Yao Qi <yao@codesourcery.com>
8602
8603 * gdb.cp/exception.cc: Don't include iostream.
8604 (bar): Remove print statement.
8605 (catcher): New.
8606 (main): Remove print statements. Call function catcher.
8607 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
8608 Set breakpoint on catcher, and check the value of parameter.
8609
8610 2011-06-23 Yao Qi <yao@codesourcery.com>
8611
8612 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
8613 breakpoint 1.2 is disabled. KFAIL for uclinux.
8614
8615 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8616
8617 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
8618 mi_gdb_test.
8619
8620 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8621
8622 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
8623
8624 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8625
8626 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
8627
8628 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8629
8630 * gdb.mi/mi2-basics.exp: Fix races. Honour the
8631 `test_exec_and_symbol_mi_operatons' return value.
8632 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8633 gdb_test_multiple.
8634 (test_exec_and_symbol_mi_operatons): Likewise.
8635 (test_path_specification): Likewise.
8636
8637 2011-06-23 Yao Qi <yao@codesourcery.com>
8638
8639 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
8640 supported.
8641 * lib/gdb.exp (support_displaced_stepping): New.
8642
8643 2011-06-23 Yao Qi <yao@codesourcery.com>
8644
8645 * gdb.threads/execl.exp: Skip on remote target.
8646
8647 2011-06-21 Marek Polacek <mpolacek@redhat.com>
8648
8649 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
8650 mi_gdb_test.
8651
8652 2011-06-20 Marek Polacek <mpolacek@redhat.com>
8653
8654 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
8655
8656 2011-06-20 Marek Polacek <mpolacek@redhat.com>
8657
8658 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
8659 mi_gdb_test.
8660
8661 2011-06-20 Marek Polacek <mpolacek@redhat.com>
8662
8663 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
8664
8665 2011-06-14 Yao Qi <yao@codesourcery.com>
8666
8667 gdb/testsuite/
8668 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
8669
8670 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8671
8672 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
8673
8674 2011-06-10 Tom Tromey <tromey@redhat.com>
8675
8676 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
8677 Add tests for pointer-to-member-function.
8678 * gdb.cp/temargs.cc (S::somefunc): New function.
8679 (K2): New class.
8680 (main): Instantiate K2; call method.
8681
8682 2011-06-08 Joel Brobecker <brobecker@adacore.com>
8683
8684 * gdb.python/py-inferior.c (f2): Make str an array rather
8685 than a pointer.
8686 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
8687
8688 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8689
8690 * gdb.base/async-shell.c: New file.
8691 * gdb.base/async-shell.exp: New file.
8692
8693 2011-06-06 Pedro Alves <pedro@codesourcery.com>
8694
8695 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
8696
8697 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
8698
8699 From Stephen Kitt <steve@sk2.org>
8700 * gdb.base/help.exp: Adjust following some spelling corrections
8701 in GDB.
8702
8703 2011-06-01 Yao Qi <yao@codesourcery.com>
8704
8705 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
8706
8707 2010-05-31 Keith Seitz <keiths@redhat.com>
8708
8709 PR c++/12750
8710 * gdb.cp/static-method.cc: New file.
8711 * gdb.cp/static-method.exp: New file.
8712
8713 2010-05-31 Keith Seitz <keiths@redhat.com>
8714
8715 PR symtab/12704
8716 * gdb.cp/anon-ns.cc: New file.
8717 * gdb.cp/anon-ns.exp: New file.
8718
8719 2011-05-31 Pedro Alves <pedro@codesourcery.com>
8720
8721 * gdb.arch/i386-dr3-watch.c: New file.
8722 * gdb.arch/i386-dr3-watch.exp: New file.
8723
8724 2011-05-30 Yao Qi <yao@codesourcery.com>
8725
8726 * gdb.base/callfuncs.c (t_structs_fc): New.
8727 (t_structs_dc, t_structs_ldc): New.
8728 (t_double_many_args):
8729 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
8730 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
8731 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
8732 * gdb.base/callfuncs.exp: Call new functions.
8733
8734 2011-05-30 Yao Qi <yao@codesourcery.com>
8735
8736 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
8737 Call rerun_and_prepare for each test to isolate effects.
8738
8739 2011-05-30 Yao Qi <yao@codesourcery.com>
8740
8741 * gdb.base/varargs.c (find_max_float_real): New.
8742 (find_max_double_real, find_max_long_double_real): New.
8743 * gdb.base/varargs.exp: Call these new added functions.
8744 * lib/gdb.exp (setup_kfail_for_target): New.
8745
8746 2011-05-30 Yao Qi <yao@codesourcery.com>
8747
8748 * gdb.base/funcargs.c (callca, callcb, callcc): New.
8749 (callcd, callce, callcf, callc1a, callc1b): New.
8750 (callc2a, callc2b): New.
8751 * gdb.base/funcargs.exp (complex_args): New.
8752 (complex_integral_args, complex_float_integral_args): New.
8753 * lib/gdb.exp (support_complex_tests): New. Determine
8754 whether to run test cases on _Complex types.
8755
8756 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8757
8758 * gdb.threads/leader-exit.c: New file.
8759 * gdb.threads/leader-exit.exp: New file.
8760
8761 2011-05-27 Marek Polacek <mpolacek@redhat.com>
8762
8763 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
8764
8765 2011-05-27 Marek Polacek <mpolacek@redhat.com>
8766
8767 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
8768 remove the `supported' variable.
8769 * gdb.mi/mi-nonstop.exp: Likewise.
8770 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8771 * gdb.mi/mi-nsintrall.exp: Likewise.
8772 * gdb.mi/mi-nsmoribund.exp: Likewise.
8773 * gdb.mi/mi-nsthrexec.exp: Likewise.
8774
8775 2011-05-26 Pedro Alves <pedro@codesourcery.com>
8776
8777 * gdb.reverse/finish-reverse-bkpt.exp: New test.
8778
8779 2011-05-26 Pedro Alves <pedro@codesourcery.com>
8780
8781 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
8782
8783 2011-05-24 Keith Seitz <keiths@redhat.com>
8784
8785 PR breakpoint/12803
8786 * gdb.cp/cmpd-minsyms.cc (a): New method.
8787 (b): New method.
8788 (c): New method.
8789 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
8790
8791 2011-05-24 Pedro Alves <pedro@codesourcery.com>
8792
8793 * gdb.base/commands.exp (watchpoint_command_test): Check that the
8794 watchpoint's command list didn't execute when the watchpoint went
8795 out of scope.
8796
8797 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
8798
8799 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
8800 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
8801 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
8802 * gdb.arch/i386-gnu-cfi.exp: Likewise.
8803 * gdb.arch/i386-permbkpt.exp: Likewise.
8804 * gdb.arch/i386-prologue.exp: Likewise.
8805 * gdb.arch/i386-size-overlap.exp: Likewise.
8806 * gdb.arch/i386-size.exp: Likewise.
8807 * gdb.arch/i386-unwind.exp: Likewise.
8808 * gdb.reverse/i386-precsave.exp: Likewise.
8809 * gdb.reverse/i386-reverse.exp: Likewise.
8810 * gdb.reverse/i386-sse-reverse.exp: Likewise.
8811 * gdb.reverse/i387-env-reverse.exp: Likewise.
8812 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8813
8814 2011-05-24 Pedro Alves <pedro@codesourcery.com>
8815
8816 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
8817 file doesn't error, using MI.
8818
8819 2011-05-23 Tom Tromey <tromey@redhat.com>
8820
8821 * gdb.base/charset.exp (string_display): Add tests to assign to
8822 arrays.
8823 * gdb.base/charset.c (short_array, int_array, long_array): New.
8824
8825 2011-05-20 Pedro Alves <pedro@codesourcery.com>
8826
8827 Cope with async mode.
8828
8829 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
8830 into gdb_test + mi_expect_stop.
8831
8832 2011-05-20 Pedro Alves <pedro@codesourcery.com>
8833
8834 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
8835 (callme): Remove printf call.
8836
8837 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
8838
8839 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
8840 quote pattern to avoid problems with Cygwin/mingw expect versions.
8841 * gdb.base/default.exp (show convenience): Use double
8842 quote pattern for regular expressions.
8843
8844 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8845
8846 Fix -readnow for -gdwarf-4 unused type units.
8847 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
8848 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
8849
8850 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8851
8852 * gdb.base/kill-after-signal.c: New file.
8853 * gdb.base/kill-after-signal.exp: New file.
8854
8855 2011-05-16 Pedro Alves <pedro@codesourcery.com>
8856
8857 * gdb.ada/start.exp: Call untested with the correct test filename.
8858 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
8859 test filename. Make the test's binary unique.
8860 * gdb.arch/i386-signal.exp: Call untested with the correct test
8861 filename.
8862 * gdb.arch/i386-size-overlap.exp: Ditto.
8863 * gdb.arch/Makefile.in (EXECUTABLES): Update.
8864 * gdb.base/gcore-buffer-overflow.exp: Ditto.
8865 * gdb.cp/call-c.exp: Ditto.
8866 * gdb.mi/mi-reverse.exp: Call untested with the correct test
8867 filename. Make the test's binary unique.
8868 * gdb.mi/Makefile.in (EXECUTABLES): Update.
8869 * gdb.python/py-mi.exp: Ditto.
8870 * gdb.python/Makefile.in (EXECUTABLES): Update.
8871 * gdb.reverse/i386-precsave.exp: Ditto.
8872 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
8873 test filename.
8874 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8875 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
8876 unique.
8877 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
8878 test filename.
8879 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
8880 * gdb.trace/tfile.exp: Ditto.
8881
8882 2011-05-14 Yao Qi <yao@codesourcery.com>
8883
8884 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
8885 type.
8886
8887 2011-05-13 Doug Evans <dje@google.com>
8888
8889 * gdb.python/py-objfile-script.exp: New file.
8890 * gdb.python/py-objfile-script.c: New file.
8891 * gdb.python/py-objfile-script-gdb.py: New file.
8892 * testsuite/gdb.python/py-section-script.exp: Test
8893 "info auto-load-scripts".
8894
8895 2011-05-13 Tom Tromey <tromey@redhat.com>
8896
8897 * gdb.dwarf2/clztest.exp: New file.
8898 * gdb.dwarf2/clztest.c: New file.
8899 * gdb.dwarf2/clztest.S: New file.
8900
8901 2011-05-13 Doug Evans <dje@google.com>
8902
8903 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
8904 String16 tests.
8905
8906 2011-05-13 Tom Tromey <tromey@redhat.com>
8907
8908 * lib/gdb.exp (is_x86_like_target): New proc.
8909 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
8910 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
8911 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
8912 -nostdlib to compiler.
8913 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
8914 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
8915 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
8916 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
8917 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
8918
8919 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8920
8921 * gdb.python/py-function.exp: Test setting a value from a function
8922 which executes a command.
8923
8924 2011-05-12 Tom Tromey <tromey@redhat.com>
8925
8926 * gdb.dwarf2/typeddwarf.S: New file.
8927 * gdb.dwarf2/typeddwarf.c: New file.
8928 * gdb.dwarf2/typeddwarf.exp: New file.
8929
8930 2011-05-12 Marek Polacek <mpolacek@redhat.com>
8931
8932 * gdb.mi/mi-basics.exp: Fix races. Honour the
8933 `test_exec_and_symbol_mi_operatons' return value.
8934 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8935 gdb_test_multiple.
8936 (test_exec_and_symbol_mi_operatons): Likewise.
8937 (test_path_specification): Likewise.
8938
8939 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8940
8941 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
8942 (gdb_touch_execfile): Remove catch wrappers. New variable time.
8943 Replace `file copy' and `file rename' by `file mtime'. Twice.
8944
8945 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8946
8947 * gdb.base/readline-ask.c: New file.
8948 * gdb.base/readline-ask.exp: New file.
8949 * gdb.base/readline-ask.inputrc: New file.
8950
8951 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
8952
8953 * gdb.cell/bt.exp: Delete breakpoints before running to signal
8954 to avoid race condition.
8955 * gdb.cell/coremaker.c: Use small stack size.
8956 * gdb.cell/ea-standalone.exp: Use file name without path as
8957 argument to c_to.
8958 * gdb.cell/fork.exp: Allow other output when continuing to end.
8959
8960 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8961
8962 * gdb.threads/corethreads.c: New file.
8963 * gdb.threads/corethreads.exp: New file.
8964
8965 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8966
8967 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
8968 Try to compile the test using -Wl,-z,norelro first.
8969 (load_core): New variable libthread_db_seen, initialize it.
8970 (zeroed-threads cannot be listed): Protect it by XFAIL on
8971 !$libthread_db_seen.
8972
8973 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8974
8975 PR 12573
8976 * gdb.dwarf2/dw2-skip-prologue.S: New file.
8977 * gdb.dwarf2/dw2-skip-prologue.c: New file.
8978 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
8979
8980 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8981
8982 * gdb.cp/psymtab-parameter.cc: New file.
8983 * gdb.cp/psymtab-parameter.exp: New file.
8984
8985 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8986
8987 Fix a race.
8988 * gdb.cp/static-print-quit.exp (print c): Split to ...
8989 (print c - <return>, print c - q <return>, print c - to quit):
8990 ... these. Make the testfile untested on gdb-7.1.
8991
8992 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
8993
8994 * lib/gdb.exp (exec_target_file, exec_symbol_file,
8995 gdb_rename_execfile, gdb_touch_execfile): New.
8996 * gdb.base/reread.exp: Use new procs to handle multiple
8997 exec files.
8998
8999 2011-05-05 Yao Qi <yao@codesourcery.com>
9000
9001 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
9002 (test_adr_32bit, test_pop_pc): New.
9003 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
9004 (test_adr_32bit, test_pop_pc): New.
9005
9006 2011-05-04 Joseph Myers <joseph@codesourcery.com>
9007
9008 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
9009 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
9010 targets.
9011 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
9012 handle targets.
9013
9014 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9015
9016 * gdb.base/completion.exp (complete help info wat): Rename to ...
9017 (complete 'help info wat'): ... here.
9018 Remove all `-re ".*' and `-re "^.*' redundant regexes.
9019 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
9020
9021 2011-05-04 Pedro Alves <pedro@codesourcery.com>
9022
9023 * gdb.base/completion.exp: Use gdb_test_multiple instead of
9024 gdb_test and explicit $gdb_prompt/timeout matches.
9025
9026 2011-05-04 Yao Qi <yao@codesourcery.com>
9027
9028 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
9029 and __thumb2__.
9030
9031 2011-05-03 Marek Polacek <mpolacek@redhat.com>
9032
9033 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
9034 in place of `gdb_test "delete breakpoints"'. This eliminates two
9035 testcases.
9036
9037 2011-05-02 Pedro Alves <pedro@codesourcery.com>
9038
9039 PR testsuite/12649
9040 Fix races.
9041
9042 * gdb.base/completion.exp: Remove all sleep calls. Remove
9043 unnecessary regexs. Don't explicitly expect anything after the
9044 prompt. Eat the prompt if necessary.
9045
9046 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
9047
9048 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
9049 accept to show the caller line again as well as the line after.
9050
9051 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
9052
9053 PR mi/12531
9054
9055 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
9056 compile target.
9057 * gdb.python/py-prettyprint.exp: Add C++ object for
9058 CPLUS_FAKE_CHILD test.
9059
9060 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
9061
9062 * gdb.base/signest.exp: New file.
9063 * gdb.base/signest.c: Likewise.
9064
9065 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9066
9067 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
9068 thread and breakpoint notifications.
9069
9070 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9071
9072 * gdb.base/fortran-sym-case.c: New file.
9073 * gdb.base/fortran-sym-case.exp: New file.
9074 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
9075 * gdb.dwarf2/dw2-case-insensitive.c: New file.
9076 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
9077
9078 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9079
9080 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
9081 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
9082 false #1', `if true else false #2' and `if true else false #3'.
9083
9084 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
9085
9086 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
9087 while delivering signal.
9088
9089 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
9090
9091 MI breakpoint notifications.
9092
9093 * testsuite/gdb.mi/mi-cli.exp: Adust.
9094 * testsuite/gdb.mi/mi2-cli.exp: Adust.
9095 * testsuite/gdb.mi/mi-watch.exp: Adust.
9096 * testsuite/gdb.mi/mi2-watch.exp: Adust.
9097 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
9098 notifications.
9099
9100 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9101
9102 * gdb.base/gdbindex-stabs-dwarf.c: New file.
9103 * gdb.base/gdbindex-stabs.c: New file.
9104 * gdb.base/gdbindex-stabs.exp: New file.
9105
9106 2011-04-25 Yao Qi <yao@codesourcery.com>
9107
9108 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
9109 with /*...*/.
9110 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
9111
9112 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9113
9114 * gdb.python/py-value.exp (test_objfiles): Name the first test
9115 `py-value in file.filename'.
9116
9117 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9118
9119 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
9120 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
9121 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
9122 !gdbserver_reconnect_p..
9123 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
9124
9125 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9126
9127 * gdb.cp/cpcompletion.exp (complete class methods)
9128 (complete class methods beginning with F): Move them above runto. New
9129 comment about the runto delimiter.
9130
9131 2011-04-20 Pedro Alves <pedro@codesourcery.com>
9132
9133 * gdb.base/maint.exp: Test that "maint print registers" works
9134 without a running program.
9135
9136 2011-04-20 Marek Polacek <mpolacek@redhat.com>
9137
9138 * gdb.base/setshow.exp: Fix racy tests.
9139 ($old_gdb_prompt): New variable.
9140
9141 2011-04-19 Tom Tromey <tromey@redhat.com>
9142
9143 * gdb.mi/mi-nsmoribund.exp:
9144 * gdb.hp/gdb.objdbg/objdbg01.exp:
9145 * gdb.base/structs.exp (test_struct_returns):
9146 * gdb.base/call-sc.exp (test_scalar_returns):
9147 * gdb.base/bigcore.exp: Remove duplicate words.
9148
9149 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9150
9151 * gdb.base/break-interp-lib.c (v, vptr): New variables.
9152 * gdb.base/break-interp.exp (test_attach): New comment.
9153
9154 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9155
9156 * gdb.threads/gcore-thread.exp ($core0file): New variable.
9157 (clear __stack_user.next, clear stack_used.next)
9158 (save a zeroed-threads corefile): New test.
9159 Call core_load for $core0file.
9160 (zeroed-threads cannot be listed): New test.
9161
9162 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9163
9164 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
9165 filename.
9166 ($srcfile): Preserve the original value.
9167 ($testfile): Match it the .exp filename.
9168 ($corefile): New variable. Substitute it around.
9169 Use clean_restart.
9170 ($prev_timeout): Remove.
9171 (load_core): Move core loading into this proc.
9172 Fix restore of $timeout if load_core fails.
9173
9174 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9175
9176 * gdb.base/eu-strip-infcall.c: New file.
9177 * gdb.base/eu-strip-infcall.exp: New file.
9178
9179 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9180
9181 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
9182 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
9183
9184 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9185
9186 Fix Python access to inlined frames.
9187 * gdb.python/py-frame-inline.c: New file.
9188 * gdb.python/py-frame-inline.exp: New file.
9189
9190 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
9191
9192 * gdb.base/gdb1090.exp: Change breakpoint location to read the
9193 content of 's24' correctly (avoiding "optimized out").
9194 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
9195
9196 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9197
9198 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
9199
9200 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
9201
9202 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
9203 expect a colon in watch -location output.
9204
9205 2011-04-13 Marek Polacek <mpolacek@redhat.com>
9206
9207 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
9208 New testcase `expect response to define backtrace'. Also remove
9209 redundant `default' block.
9210
9211 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9212
9213 * gdb.python/py-prettyprint.c (struct hint_error): New.
9214 (main): New variable hint_error.
9215 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
9216 "print hint_error".
9217 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
9218 (register_pretty_printers): Register it.
9219
9220 2011-04-04 Tom Tromey <tromey@redhat.com>
9221
9222 * gdb.cp/maint.exp (test_help): Update.
9223 (test_namespace): Likewise.
9224
9225 2011-04-01 Joel Brobecker <brobecker@adacore.com>
9226
9227 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
9228 * gdb.ada/arrayptr.exp: Add new tests.
9229
9230 2011-04-01 Joel Brobecker <brobecker@adacore.com>
9231
9232 * gdb.ada/mi_catch_ex: New testcase.
9233
9234 2011-04-01 Pedro Alves <pedro@codesourcery.com>
9235
9236 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
9237 base::overload(void) method without specifying "const".
9238
9239 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
9240
9241 * gdb.arch/thumb-singlestep.S: New file.
9242 * gdb.arch/thumb-singlestep.exp: Likewise.
9243
9244 2011-03-31 Tom Tromey <tromey@redhat.com>
9245
9246 * gdb.python/py-prettyprint.py (exception_flag): New global.
9247 (NoStringContainerPrinter._iterator.next): Check it.
9248 * gdb.python/py-prettyprint.c (main): New variable nstype2.
9249 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
9250
9251 2011-03-29 Tom Tromey <tromey@redhat.com>
9252
9253 * gdb.cp/anon-struct.cc: New file.
9254 * gdb.cp/anon-struct.exp: New file.
9255
9256 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9257
9258 Test STT_GNU_IFUNC support.
9259 * gdb.base/gnu-ifunc-lib.c: New file.
9260 * gdb.base/gnu-ifunc.c: New file.
9261 * gdb.base/gnu-ifunc.exp: New file.
9262
9263 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9264
9265 Support a ring of related breakpoints.
9266 * gdb.base/watchpoint-delete.c: New file.
9267 * gdb.base/watchpoint-delete.exp: New file.
9268
9269 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9270
9271 * gdb.ada/arrayparam.exp (print first after function call): Use
9272 explicit package name. Add a comment
9273 (print lasta after function call): Rename ...
9274 (print last after function call): ... it and use explicit package
9275 name.
9276 (print length after function call): Use explicit package name.
9277 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
9278 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
9279 (multiple matches for symbol i): Rename ...
9280 (multiple matches for symbol integervar): ... it.
9281 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
9282 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
9283
9284 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
9285
9286 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
9287 environment variable to make grep output more predictable. Move
9288 all the environment setup into gdb_init so it's done once per test
9289 case rather than each time we start gdb.
9290
9291 2011-03-24 Tom Tromey <tromey@redhat.com>
9292
9293 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
9294 test.
9295
9296 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9297
9298 * gdb.dwarf2/dw2-entry-value-main.c: New file.
9299 * gdb.dwarf2/dw2-entry-value.S: New file.
9300 * gdb.dwarf2/dw2-entry-value.exp: New file.
9301
9302 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
9303
9304 PR python/12183
9305
9306 * gdb.python/py-function.exp: Add GdbError tests.
9307
9308 2011-03-18 Pedro Alves <pedro@codesourcery.com>
9309
9310 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
9311 (reglocal_test_func, statlocal_test_func): New functions.
9312 (globals_test_func): Call new functions.
9313 * gdb.trace/unavailable.exp (gdb_collect_args_test)
9314 (gdb_collect_locals_test): New procedure.
9315 (gdb_trace_collection_test): Call new procedures.
9316
9317 2011-03-18 Pedro Alves <pedro@codesourcery.com>
9318
9319 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
9320 (test_register, test_register_unavailable): New procedures.
9321 (gdb_unavailable_registers_test): New procedure.
9322 (gdb_trace_collection_test): Call it.
9323
9324 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
9325
9326 PR python/12149
9327
9328 * gdb.python/python.exp: Add gdb.write tests.
9329
9330 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
9331
9332 * gdb.python/Makefile.in: Add py-objfile.
9333 * gdb.python/py-objfile.exp: New file.
9334 * gdb.python/py-objfile.c: New file.
9335 * gdb.python/py-block.exp: Add is_valid tests.
9336 * gdb.python/py-inferior.exp: Ditto.
9337 * gdb.python/py-infthread.exp: Ditto.
9338 * gdb.python/py-symbol.exp: Ditto.
9339 * gdb.python/py-symtab.exp: Ditto.
9340
9341 2011-03-16 Keith Seitz <keiths@redhat.com>
9342
9343 PR c++/12273
9344 * gdb.cp/cmpd-minsyms.exp: New test.
9345 * gdb.cp/cmpd-minsyms.cc: New file.
9346
9347 PR c++/11734
9348 * gdb.cp/ovsrch.exp: New test.
9349 * gdb.cp/ovsrch.h: New file.
9350 * gdb.cp/ovsrch1.cc: New file.
9351 * gdb.cp/ovsrch2.cc: New file.
9352 * gdb.cp/ovsrch3.cc: New file.
9353 * gdb.cp/ovsrch4.cc: New file.
9354
9355 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9356
9357 PR gdb/12528
9358 * gdb.base/Makefile.in: Adjust EXECUTABLES.
9359 * gdb.base/break-on-linker-gcd-function.exp: New test.
9360 * gdb.base/break-on-linker-gcd-function.cc: New file.
9361
9362 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
9363
9364 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
9365
9366 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
9367
9368 * lib/gdb.exp (gdb_unload): Add another termination case.
9369
9370 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9371
9372 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
9373 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
9374 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
9375 Provide a stub byte there.
9376 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
9377 DW_AT_entry_pc.
9378 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
9379
9380 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
9381
9382 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
9383 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
9384 "generic ABI, auto".
9385 (altivec_abi_tests): Accept vectors returned by reference.
9386
9387 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
9388
9389 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
9390
9391 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
9392
9393 * gdb.python/py-section-script.exp: Skip test if no Python support.
9394
9395 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
9396
9397 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
9398
9399 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
9400
9401 * gdb.python/py-parameter.exp: Update tests to the new Python
9402 parameter API. Add "no documentation" test. Add deprecated API
9403 backward compatibility test.
9404
9405 2011-03-09 Tom Tromey <tromey@redhat.com>
9406
9407 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
9408 gdb_continue_to_end.
9409
9410 2011-03-09 Mark Kettenis <kettenis@gnu.org>
9411
9412 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
9413 tabs.
9414
9415 2011-03-09 Tom Tromey <tromey@redhat.com>
9416
9417 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
9418 parentheses.
9419 (gdb_continue_to_end): Add "allow_extra" parameter. Use
9420 $command.
9421 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
9422 argument to gdb_continue_to_end.
9423 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
9424 argument to gdb_continue_to_end.
9425 * gdb.cp/annota3.exp: Fix regex.
9426 * gdb.cp/annota2.exp: Fix regex.
9427 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
9428 gdb_continue_to_end.
9429 * gdb.base/call-signal-resume.exp: Revert earlier patch.
9430 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
9431 gdb_continue_to_end.
9432
9433 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9434
9435 * gdb.server/ext-run.exp
9436 (load new file without any gdbserver inferior): New test.
9437
9438 2011-03-07 Tom Tromey <tromey@redhat.com>
9439
9440 * Makefile.in (TAGS): Rewrite.
9441
9442 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9443
9444 * gdb.trace/report.exp (12.1: trace report #1): New match for the
9445 initial commands echo. New match for `Found trace'. Anchor all the
9446 other matches. Anchor and match for `No trace frame found' the final
9447 match.
9448
9449 2011-03-07 Tom Tromey <tromey@redhat.com>
9450
9451 * Makefile.in (TAGS): New target.
9452
9453 2011-03-07 Tom Tromey <tromey@redhat.com>
9454
9455 * lib/opencl.exp (skip_opencl_tests): Update for exit message
9456 change.
9457 * lib/mi-support.exp (mi_gdb_test): Update for exit message
9458 change.
9459 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
9460 exit message change.
9461 (skip_altivec_tests): Update for exit message change.
9462 (skip_vsx_tests): Likewise.
9463 (gdb_continue_to_end): Likewise. Add 'command' argument.
9464 * lib/cell.exp (skip_cell_tests): Update for exit message change.
9465 * gdb.threads/tls.exp: Update for exit message change.
9466 * gdb.threads/thread-unwindonsignal.exp: Use
9467 gdb_continue_to_end.
9468 * gdb.threads/step.exp (step_it): Update for exit message change.
9469 (continue_all): Likewise.
9470 * gdb.threads/print-threads.exp (test_all_threads): Update for
9471 exit message change.
9472 * gdb.threads/interrupted-hand-call.exp: Use
9473 gdb_continue_to_end.
9474 * gdb.threads/execl.exp: Use gdb_continue_to_end.
9475 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
9476 gdb_continue_to_end.
9477 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
9478 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
9479 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
9480 * gdb.cp/method.exp: Update for exit message change.
9481 * gdb.cp/mb-templates.exp: Update for exit message change.
9482 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
9483 * gdb.cp/annota3.exp: Update for exit message change.
9484 * gdb.cp/annota2.exp: Update for exit message change.
9485 * gdb.cell/fork.exp: Use gdb_continue_to_end.
9486 * gdb.base/term.exp: Update for exit message change.
9487 * gdb.base/step-test.exp (test_i): Update for exit message change.
9488 * gdb.base/sigstep.exp (advance): Update for exit message change.
9489 (advancei): Likewise.
9490 * gdb.base/siginfo.exp: Update for exit message change.
9491 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
9492 * gdb.base/reread.exp: Use gdb_continue_to_end.
9493 * gdb.base/langs.exp: Use gdb_continue_to_end.
9494 * gdb.base/interrupt.exp: Update for exit message change.
9495 * gdb.base/gdb1555.exp: Update for exit message change.
9496 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
9497 * gdb.base/ending-run.exp: Update for exit message change.
9498 * gdb.base/chng-syms.exp: Update for exit message change.
9499 * gdb.base/checkpoint.exp: Update for exit message change.
9500 * gdb.base/catch-syscall.exp (check_for_program_end): Use
9501 gdb_continue_to_end.
9502 (test_catch_syscall_with_wrong_args): Likewise.
9503 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
9504 * gdb.base/break-interp.exp (test_ld): Update for exit message
9505 change.
9506 * gdb.base/bang.exp: Update for exit message change.
9507 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
9508 (do_call_attach_tests): Likewise.
9509 * gdb.base/a2-run.exp: Update for exit message change.
9510 * gdb.arch/ppc-dfp.exp: Update for exit message change.
9511 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
9512 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
9513
9514 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9515
9516 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
9517
9518 2011-03-03 Tom Tromey <tromey@redhat.com>
9519
9520 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
9521 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
9522 * gdb.hp/gdb.aCC/configure.ac: Remove.
9523 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
9524 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
9525 * gdb.hp/gdb.base-hp/configure.ac: Remove.
9526 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
9527 * gdb.hp/gdb.compat/configure (Makefile): Remove.
9528 * gdb.hp/gdb.compat/configure.ac: Remove.
9529 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
9530 * gdb.hp/gdb.defects/configure (Makefile): Remove.
9531 * gdb.hp/gdb.defects/configure.ac: Remove.
9532 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
9533 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
9534 * gdb.hp/gdb.objdbg/configure.ac: Remove.
9535 * gdb.hp/configure.ac: Remove.
9536 * gdb.hp/configure: Remove.
9537 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
9538 substitution.
9539 (Makefile): Remove rule.
9540 * gdb.cell/configure.ac: Remove.
9541 * gdb.cell/configure: Remove.
9542 * gdb.stabs/Makefile.in (Makefile): Remove.
9543 (distclean): Don't remove config.status or config.log.
9544 * gdb.stabs/configure (Makefile): Remove.
9545 * gdb.stabs/configure.ac: Remove.
9546 * configure: Rebuild.
9547 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
9548 Remove stabs- and cell-specific logic. Test for existence of
9549 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
9550 subdirectories, gdb.cell, and and gdb.stabs.
9551 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
9552
9553 2011-03-03 Joel Brobecker <brobecker@adacore.com>
9554
9555 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
9556 end of buffer.
9557
9558 2011-03-02 Joel Brobecker <brobecker@adacore.com>
9559
9560 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
9561 gdb_test when running a test where we expected no output back.
9562
9563 2011-02-28 Michael Snyder <msnyder@vmware.com>
9564
9565 * gdb.cp/overload.cc: Change initializer value to integer.
9566
9567 2011-02-27 Michael Snyder <msnyder@vmware.com>
9568
9569 * gdb.multi/base.exp: Add test for remove-inferiors.
9570
9571 2011-02-26 Joel Brobecker <brobecker@adacore.com>
9572
9573 * gdb.python/py-frame.exp: Simplify the initialization phase
9574 using prepare_for_testing.
9575
9576 2011-02-25 Michael Snyder <msnyder@vmware.com>
9577
9578 * gdb.multi/base.exp: Add tests for info inferiors with args.
9579
9580 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9581
9582 * gdb.dwarf2/dw2-ranges.S: Rename to ...
9583 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
9584 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
9585 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
9586 asmfile3. Comment the STABS (#3) file compilation. Compile
9587 everything through assembler. Provide KFAIL for symtab/12497.
9588 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
9589 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
9590 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
9591 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
9592
9593 2011-02-24 Michael Snyder <msnyder@vmware.com>
9594
9595 * gdb.base/break.exp: Add tests for delete breakpoints using
9596 convenience variables and value history references.
9597
9598 2011-02-24 Michael Snyder <msnyder@vmware.com>
9599
9600 * gdb.base/break.exp: Remove debugging 'printf' accidentally
9601 left behind in previous check-in.
9602
9603 2011-02-23 Michael Snyder <msnyder@vmware.com>
9604
9605 * gdb.base/break.exp: Add tests for "info break" with arguments.
9606 * gdb.trace/infotrace.exp: Update patterns for error and help.
9607 * gdb.base/completion.exp: Update pattern.
9608 * gdb.base/ena-dis-br.exp: Update pattern.
9609 * gdb.base/help.exp: Update patterns.
9610
9611 2011-02-23 Michael Snyder <msnyder@vmware.com>
9612
9613 * gdb.base/memattr.exp: New test.
9614 * gdb.base/memattr.c: Test load for memattr.exp.
9615
9616 2011-02-22 Doug Evans <dje@google.com>
9617
9618 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
9619
9620 2011-02-22 Michael Snyder <msnyder@vmware.com>
9621
9622 * Makefile.in: Make more clean.
9623 * gdb.ada/Makefile.in: Ditto.
9624 * gdb.arch/Makefile.in: Ditto.
9625 * gdb.asm/Makefile.in: Ditto.
9626 * gdb.base/Makefile.in: Ditto.
9627 * gdb.cp/Makefile.in: Ditto.
9628 * gdb.dwarf2/Makefile.in: Ditto.
9629 * gdb.java/Makefile.in: Ditto.
9630 * gdb.mi/Makefile.in: Ditto.
9631 * gdb.modula2/Makefile.in: Ditto.
9632 * gdb.python/Makefile.in: Ditto.
9633 * gdb.server/Makefile.in: Ditto.
9634 * gdb.stabs/Makefile.in: Ditto.
9635 * gdb.threads/Makefile.in: Ditto.
9636 * gdb.trace/Makefile.in: Ditto.
9637
9638 2011-02-22 Michael Snyder <msnyder@vmware.com>
9639
9640 * gdb.threads/thread-find.exp: Add tests for bad input to
9641 info threads.
9642
9643 2011-02-22 Joel Brobecker <brobecker@adacore.com>
9644
9645 * gdb.python/py-breakpoint.exp: Fix the expected output of
9646 one of the "maint info breakpoints" tests to accept the output
9647 generated on platforms that do not have hardware watchpoints.
9648
9649 2011-02-22 Joel Brobecker <brobecker@adacore.com>
9650
9651 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
9652 clean_restart. Be a little stricter in the expected output
9653 for one of the tests. Fix a typo in one of the comments.
9654
9655 2011-02-22 Joel Brobecker <brobecker@adacore.com>
9656
9657 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
9658 Delete variable binfile, no longer use. Add or modify test
9659 comments to make them unique.
9660
9661 2011-02-21 Michael Snyder <msnyder@vmware.com>
9662
9663 * Makefile.in: Update for make clean.
9664 * gdb.ada/Makefile.in: Ditto.
9665 * gdb.arch/Makefile.in: Ditto.
9666 * gdb.asm/Makefile.in: Ditto.
9667 * gdb.base/Makefile.in: Ditto.
9668 * gdb.cp/Makefile.in: Ditto.
9669 * gdb.dwarf2/Makefile.in: Ditto.
9670 * gdb.java/Makefile.in: Ditto.
9671 * gdb.mi/Makefile.in: Ditto.
9672 * gdb.modula2/Makefile.in: Ditto.
9673 * gdb.python/Makefile.in: Ditto.
9674 * gdb.server/Makefile.in: Ditto.
9675 * gdb.stabs/Makefile.in: Ditto.
9676 * gdb.threads/Makefile.in: Ditto.
9677 * gdb.trace/Makefile.in: Ditto.
9678
9679 2011-02-21 Michael Snyder <msnyder@vmware.com>
9680
9681 * gdb.threads/thread-find.exp: Update patterns for changes in
9682 output of "info threads" command.
9683
9684 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9685 Ulrich Weigand <uweigand@de.ibm.com>
9686
9687 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
9688 (skip_hw_watchpoint_tests): Likewise.
9689 (skip_hw_watchpoint_multi_tests): Likewise.
9690
9691 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
9692
9693 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
9694 (skip_hw_watchpoint_tests): Likewise.
9695 (skip_hw_watchpoint_multi_tests): Likewise.
9696 (skip_hw_watchpoint_access_tests): Likewise.
9697
9698 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
9699 * gdb.base/pr11022.exp: Likewise.
9700 * gdb.base/watch-read.exp: Likewise.
9701 * gdb.base/watch_thread_num.exp: Likewise.
9702 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
9703 * gdb.base/watchpoint-hw.exp: Likewise.
9704 * gdb.base/watchpoint.exp: Likewise.
9705 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
9706 * gdb.threads/watchthreads-reorder.exp: Likewise.
9707 * gdb.threads/watchthreads.exp: Likewise.
9708 * gdb.threads/watchthreads2.exp: Likewise.
9709
9710 2011-02-21 Joel Brobecker <brobecker@adacore.com>
9711
9712 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
9713 the debugger is unable to find the array bounds.
9714
9715 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9716
9717 * gdb.cp/typedef-operator.exp: New file.
9718 * gdb.cp/typedef-operator.cc: New file.
9719
9720 2011-02-17 Michael Snyder <msnyder@vmware.com>
9721
9722 * gdb.threads/thread-find.exp: Fix regular expressions.
9723
9724 2011-02-17 Joel Brobecker <brobecker@adacore.com>
9725
9726 * gdb.ada/packed_array: Expand testcase to test printing of
9727 unconstrained packed array.
9728
9729 2011-02-17 Joel Brobecker <brobecker@adacore.com>
9730
9731 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
9732
9733 2011-02-16 Pedro Alves <pedro@codesourcery.com>
9734
9735 * gdb.trace/collection.c (globalarr3): New global.
9736 (main): Initialize it before collecting, and and clear it
9737 afterwards.
9738 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9739 collecting with '{type} addr', where the addr expression is not an
9740 rvalue.
9741
9742 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
9743
9744 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
9745 a bool variable. Expect correct OpenCL names for vector types. Use the
9746 uc3 variable name instead of referring to the uchar3 built-in type.
9747 Escape the asterisk at the half pointer test.
9748
9749 2011-02-16 Pedro Alves <pedro@codesourcery.com>
9750
9751 * gdb.trace/collection.c (globalarr2): New global.
9752 (main): Initialize it before collecting, and and clear it
9753 afterwards.
9754 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9755 collecting overlapping memory ranges.
9756
9757 2011-02-15 Michael Snyder <msnyder@vmware.com>
9758
9759 * gdb.base/default.exp: Add tests for thread commands.
9760 * gdb.base/help.exp: Add tests for thread commands.
9761 * gdb.threads/thread-find.exp: New test for thread find command.
9762
9763 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
9764
9765 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
9766
9767 2011-02-15 Yao Qi <yao@codesourcery.com>
9768
9769 PR tdep/12352
9770 * gdb.arch/arm-disp-step.S : New test for str instruction.
9771 * gdb.arch/arm-disp-step.exp : Likewise.
9772
9773 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
9774
9775 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
9776 "vector_register2_vr" test strings. Test the extended floating
9777 point registers (F32~F63).
9778 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
9779 IBM XL C compiler. Make the test program use a register provided
9780 by the compiler for the lxvd2x instruction.
9781
9782 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9783
9784 * gdb.trace/unavailable.cc (class Base, class Middle, class
9785 Derived): New types.
9786 (derived_unavail, derived_partial, derived_whole): New globals.
9787 (virtual_partial): New global.
9788 (virtualp): Point at virtual_partial.
9789 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
9790 related to unavailable vptr.
9791
9792 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9793
9794 * gdb.trace/unavailable.cc (a, b, c): New globals.
9795 (main): Set and clear them.
9796 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
9797 `a' and `c', and check that `b' isn't collected, although `a' and
9798 `c' are.
9799
9800 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9801
9802 * gdb.trace/unavailable.cc (struct Virtual): New.
9803 (virtualp): New global pointer.
9804 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
9805 printing a pointer to an object whose type has a vtable, with
9806 print object on.
9807
9808 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9809
9810 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
9811 value repeat handles unavailableness.
9812
9813 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9814
9815 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
9816 tests for building arrays from unavailable values, subscripting
9817 non-memory rvalue unvailable arrays, and accessing fields or
9818 baseclasses of non-lazy unavailable values,
9819 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
9820 struct types.
9821 (g_smallstruct, g_smallstruct_b): New globals.
9822
9823 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9824
9825 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
9826
9827 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9828
9829 Fix const/volatile qualifiers of C++ types, PR c++/12328.
9830 * gdb.cp/overload-const.exp: New file.
9831 * gdb.cp/overload-const.cc: New file.
9832
9833 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9834
9835 * gdb.opencl/callfuncs.cl: New file.
9836 * gdb.opencl/callfuncs.exp: New test.
9837 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
9838
9839 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9840
9841 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
9842 when computing result.
9843 * gdb.arch/altivec-abi.exp: Update expected results.
9844
9845 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
9846
9847 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
9848 * gdb.base/jit.exp: Likewise.
9849 * gdb.base/pie-execl.exp: Likewise.
9850 * gdb.base/solib-nodir.exp: Likewise.
9851 * gdb.base/solib-overlap.exp: Likewise.
9852
9853 2011-02-07 Pedro Alves <pedro@codesourcery.com>
9854
9855 * gdb.trace/collection.c (global_pieces): New.
9856 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
9857 New procedure.
9858 (gdb_trace_collection_test): Call it.
9859
9860 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
9861
9862 * gdb.python/py-evthreads.c: New file.
9863 * gdb.python/py-evthreads.exp: New file.
9864 * gdb.python/py-events.py: New file.
9865 * gdb.python/py-events.exp: New file.
9866 * gdb.python/py-events.c: New file.
9867
9868 2011-02-04 David Daney <ddaney@caviumnetworks.com>
9869
9870 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
9871
9872 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
9873
9874 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
9875 gdb.base/disasm-end-cu.exp: New test for disassembling over the
9876 boundary between two compilation units.
9877
9878 2011-02-02 Pedro Alves <pedro@codesourcery.com>
9879
9880 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
9881 (Virtual): New structs.
9882 (virtual_o, virtual_middle_b): New globals.
9883 * gdb.cp/virtbase.exp: New tests.
9884
9885 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9886
9887 * gdb.base/jit.exp: New file.
9888 * gdb.base/jit-main.c: New file.
9889 * gdb.base/jit-solib.c: New file.
9890
9891 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
9892
9893 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
9894 proceed to initial kernel entry point.
9895 * gdb.opencl/datatypes.exp: Likewise.
9896 * gdb.opencl/operators.exp: Likewise.
9897 * gdb.opencl/vec_comps.exp: Likewise.
9898
9899 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
9900
9901 * gdb.cp/nsnested.cc: New.
9902 * gdb.cp/nsnested.exp: New.
9903 * gdb.cp/nsnoimports.exp: New.
9904 * gdb.cp/nsnoimports.cc: New.
9905
9906 2011-01-31 Joel Brobecker <brobecker@adacore.com>
9907
9908 * gdb.base/interact.exp: Add extra tests that verify that
9909 the value of the interactive-mode setting does not change
9910 after the script is sourced.
9911
9912 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9913
9914 * gdb.cp/noparam.exp: New file.
9915 * gdb.cp/noparam.cc: New file.
9916
9917 2011-01-28 Pedro Alves <pedro@codesourcery.com>
9918
9919 * gdb.trace/tfile.exp: Test that with no traceframe selected,
9920 there's no stack or registers.
9921
9922 2011-01-26 Tom Tromey <tromey@redhat.com>
9923
9924 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
9925 space before string output. Add test for "set print pretty off"
9926 case.
9927
9928 2011-01-25 Pedro Alves <pedro@codesourcery.com>
9929
9930 * gdb.base/frame-args.exp: Adjust.
9931 * gdb.dwarf2/dw2-noloc.exp: Adjust.
9932 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
9933 * gdb.dwarf2/pieces.exp: Adjust.
9934 * gdb.opt/clobbered-registers-O2.exp: Adjust.
9935 * gdb.opt/inline-locals.exp: Adjust.
9936 * gdb.threads/fork-child-threads.exp: Adjust.
9937
9938 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
9939
9940 * gdb.opencl/convs_casts.cl: Move program scope variables into the
9941 OpenCL kernel function. Add a comment as marker. Add address space
9942 qualifiers for the remaining program scope variables.
9943 * gdb.opencl/datatypes.cl: Likewise.
9944 * gdb.opencl/operators.cl: Likewise.
9945 * gdb.opencl/vec_comps.cl: Likewise.
9946 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
9947 Add breakpoint at the marker comment.
9948 * gdb.opencl/datatypes.exp: Likewise.
9949 * gdb.opencl/operators.exp: Likewise.
9950 * gdb.opencl/vec_comps.exp: Likewise.
9951
9952 2011-01-24 Pedro Alves <pedro@codesourcery.com>
9953
9954 * gdb.base/printcmds.c (some_struct): New struct and instance.
9955 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
9956 procedure.
9957 <global scope>: Call it.
9958
9959 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
9960
9961 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
9962 argument to the gdb_compile_opencl_hostapp call.
9963
9964 2011-01-19 Yao Qi <yao@codesourcery.com>
9965
9966 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
9967 positve list.
9968
9969 2011-01-19 Yao Qi <yao@codesourcery.com>
9970
9971 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
9972 canonical form.
9973 Remove "xscale-*-*"
9974 * gdb.xml/tdesc-regs.exp: Likewise.
9975 * gdb.python/py-section-script.exp: Replace ARM target triplet
9976 with canonical form.
9977 Match arm*-*-symbianelf*.
9978 * gdb.base/dup-sect.exp: Likewise.
9979 * lib/dwarf.exp: New.
9980 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
9981 dwarf2_support.
9982 * gdb.dwarf2/dup-psym.exp: Likewise.
9983 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
9984 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9985 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
9986 * gdb.dwarf2/dw2-basic.exp: Likewise.
9987 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9988 * gdb.dwarf2/dw2-const.exp: Likewise.
9989 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
9990 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
9991 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9992 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
9993 * gdb.dwarf2/dw2-filename.exp: Likewise.
9994 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9995 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
9996 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9997 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9998 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
9999 * gdb.dwarf2/dw2-noloc.exp: Likewise.
10000 * gdb.dwarf2/dw2-op-call.exp: Likewise.
10001 * gdb.dwarf2/dw2-producer.exp: Likewise.
10002 * gdb.dwarf2/dw2-ranges.exp: Likewise.
10003 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
10004 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
10005 * gdb.dwarf2/dw2-strp.exp: Likewise.
10006 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
10007 * gdb.dwarf2/implptr.exp: Likewise.
10008 * gdb.dwarf2/mac-fileno.exp: Likewise.
10009 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
10010 * gdb.dwarf2/pieces.exp: Likewise.
10011 * gdb.dwarf2/pr11465.exp: Likewise.
10012 * gdb.dwarf2/valop.exp: Likewise.
10013 * gdb.dwarf2/watch-notconst.exp: Likewise.
10014 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
10015
10016 2011-01-19 Tom Tromey <tromey@redhat.com>
10017
10018 * gdb.python/py-infthread.exp: Add thread tests.
10019
10020 2011-01-14 Joel Brobecker <brobecker@adacore.com>
10021
10022 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
10023
10024 2011-01-14 Joel Brobecker <brobecker@adacore.com>
10025
10026 * gdb.ada/widewide: New testcase.
10027
10028 2011-01-13 Joel Brobecker <brobecker@adacore.com>
10029
10030 * gdb.base/interact.exp: New testcase.
10031
10032 2011-01-12 Tom Tromey <tromey@redhat.com>
10033
10034 * gdb.mi/gdb2549.exp: Update for error message changes.
10035 * gdb.mi/mi-cli.exp: Likewise.
10036 * gdb.mi/mi-disassemble.exp: Likewise.
10037 * gdb.mi/mi-pthreads.exp: Likewise.
10038 * gdb.mi/mi-regs.exp: Likewise.
10039 * gdb.mi/mi-stack.exp: Likewise.
10040 * gdb.mi/mi-var-block.exp: Likewise.
10041 * gdb.mi/mi-var-cmd.exp: Likewise.
10042 * gdb.mi/mi2-cli.exp: Likewise.
10043 * gdb.mi/mi2-disassemble.exp: Likewise.
10044 * gdb.mi/mi2-pthreads.exp: Likewise.
10045 * gdb.mi/mi2-regs.exp: Likewise.
10046 * gdb.mi/mi2-stack.exp: Likewise.
10047 * gdb.mi/mi2-var-block.exp: Likewise.
10048 * gdb.mi/mi2-var-cmd.exp: Likewise.
10049
10050 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
10051 Jan Kratochvil <jan.kratochvil@redhat.com>
10052
10053 PR fortran/11104 and DWARF unbound arrays detection.
10054 * gdb.fortran/multi-dim.exp: New file.
10055 * gdb.fortran/multi-dim.f90: New file.
10056
10057 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
10058
10059 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
10060 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
10061 add new tests for opcode dumping.
10062
10063 2011-01-11 Tom Tromey <tromey@redhat.com>
10064
10065 * gdb.python/py-infthread.exp: Load gdb-python.exp.
10066
10067 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
10068
10069 Convert hardware watchpoints to use breakpoint_ops.
10070 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
10071 type is not supported.
10072 * gdb.base/foll-fork.exp: Likewise.
10073 * gdb.base/foll-vfork.exp: Likewise.
10074
10075 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
10076
10077 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
10078 Use load_lib gdb-python.exp.
10079 * gdb.python/python.exp: Ditto.
10080 * gdb.python/py-function.exp: Ditto.
10081
10082 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
10083
10084 * gdb.threads/tls.exp ("info address me"): Fix expected output.
10085
10086 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10087
10088 * configure: Regenerate.
10089
10090 2011-01-06 Tom Tromey <tromey@redhat.com>
10091
10092 * gdb.python/py-frame.exp: Test gdb.newest_frame.
10093
10094 2011-01-06 Joel Brobecker <brobecker@adacore.com>
10095
10096 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
10097 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
10098 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
10099 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
10100 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
10101 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
10102 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
10103 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
10104 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
10105 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
10106 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
10107 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
10108 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
10109 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
10110 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
10111 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
10112 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
10113 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
10114 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
10115 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
10116 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
10117 gdb.ada/uninitialized_vars.exp,
10118 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
10119 Simplify by using clean_restart.
10120
10121 2011-01-06 Joel Brobecker <brobecker@adacore.com>
10122
10123 Add marker to be used as anchor for inserting breakpoints.
10124 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
10125 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
10126 Likewise.
10127
10128 Remove uses of gdb_start_cmd.
10129 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
10130 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
10131
10132 Do not run testcase if testing with GDBserver.
10133 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
10134 if testing with GDBserver.
10135
10136 2011-01-06 Joel Brobecker <brobecker@adacore.com>
10137
10138 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
10139 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
10140 copyright header.
10141
10142 2011-01-05 Joel Brobecker <brobecker@adacore.com>
10143
10144 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
10145 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
10146 testsuite/gdb.fortran/complex.f,
10147 testsuite/gdb.fortran/derived-type.f90,
10148 testsuite/gdb.fortran/library-module-lib.f90,
10149 testsuite/gdb.fortran/library-module-main.f90,
10150 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
10151 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
10152 Copyright year update.
10153
10154 2011-01-05 Joel Brobecker <brobecker@adacore.com>
10155
10156 * gdb.base/langs1.f: Add copyright header.
10157
10158 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10159
10160 * gdb.base/morestack.exp: New file.
10161 * gdb.base/morestack.c: New file.
10162
10163 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10164
10165 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
10166
10167 2010-12-29 Joel Brobecker <brobecker@adacore.com>
10168
10169 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
10170 * gdb.ada/arrayptr.exp: Add test printing that new variable.
10171
10172 2010-12-29 Joel Brobecker <brobecker@adacore.com>
10173
10174 * gdb.ada/lang_switch.exp: Correct expected parameter value.
10175
10176 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
10177
10178 * gdb.threads/tls.exp: Fix typo.
10179
10180 * gdb.threads/thread-specific.exp (get_thread_list): Update.
10181 * gdb.threads/execl.exp: Update.
10182
10183 2010-12-23 Yao Qi <yao@codesourcery.com>
10184
10185 * gdb.arch/arm-disp-step.exp: New.
10186 * gdb.arch/arm-disp-step.S: New.
10187
10188 2010-12-21 Tom Tromey <tromey@redhat.com>
10189
10190 * gdb.threads/execl.exp: Update.
10191 * gdb.threads/linux-dp.exp: Update.
10192 * gdb.threads/manythreads.exp: Update.
10193 * gdb.threads/tls.exp: Update.
10194
10195 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10196
10197 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
10198 (NextOverThrowDerivates) <resumebpt>: New.
10199 (resumebpt_test): New.
10200 (main): Call resumebpt_test.
10201 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
10202
10203 2010-12-12 Stan Shebs <stan@codesourcery.com>
10204
10205 * gdb.trace/tsv.exp: Test print command on trace state variables.
10206
10207 2010-12-09 Tom Tromey <tromey@redhat.com>
10208
10209 * gdb.base/interp.exp: Add regression test.
10210
10211 2010-12-09 Tom Tromey <tromey@redhat.com>
10212
10213 * gdb.java/jnpe.java: New file.
10214 * gdb.java/jnpe.exp: New file.
10215 * gdb.cp/nextoverthrow.exp: New file.
10216 * gdb.cp/nextoverthrow.cc: New file.
10217
10218 2010-12-07 Doug Evans <dje@google.com>
10219
10220 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
10221 of data-directory.
10222 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
10223 updated.
10224 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
10225
10226 2010-11-29 Michael Snyder <msnyder@vmware.com>
10227
10228 * gdb.base/callfuncs.exp: Test for skip_float_tests.
10229 * gdb.base/call-sc.exp: Ditto.
10230 * gdb.base/finish.exp: Ditto.
10231 * gdb.base/return.exp: Ditto.
10232 * gdb.base/return2.exp: Ditto.
10233
10234 2010-11-30 Doug Evans <dje@google.com>
10235
10236 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
10237 (gdb_expect_list): Fix spelling errors in comments.
10238 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
10239 send_gdb/gdb_expect_list where applicable.
10240 * gdb.base/call-ar-st.exp: Ditto.
10241 * gdb.base/funcargs.exp: Ditto.
10242 * gdb.base/gcore.exp: Ditto.
10243 * gdb.base/page.exp: Ditto.
10244 * gdb.base/sigaltstack.exp: Ditto.
10245 * gdb.base/siginfo.exp: Ditto.
10246 * gdb.base/sigstep.exp: Ditto.
10247 * gdb.base/trace-commands.exp: Ditto.
10248
10249 2010-11-29 Doug Evans <dje@google.com>
10250
10251 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
10252 printer-name;subprinter-name.
10253
10254 2010-11-29 Tom Tromey <tromey@redhat.com>
10255
10256 * gdb.dwarf2/implptr.exp: New file.
10257 * gdb.dwarf2/implptr.c: New file.
10258 * gdb.dwarf2/implptr.S: New file.
10259
10260 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
10261
10262 PR python/12199
10263
10264 * gdb.python/py-breakpoint.exp: Test the delete method.
10265
10266 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10267
10268 Fix step_resume_breakpoint unsaved during an infcall.
10269 * gdb.base/step-resume-infcall.exp: New file.
10270 * gdb.base/step-resume-infcall.c: New file.
10271
10272 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
10273
10274 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
10275
10276 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
10277
10278 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
10279 on ppc64's symbols; "finish" and "return" commands must accept to
10280 show the caller line again as well as the line after.
10281 * gdb.asm/powerpc64.inc: New file.
10282
10283 2010-11-23 Doug Evans <dje@google.com>
10284
10285 * lib/gdb.exp (gdb_test_sequence): New function.
10286 (gdb_expect_list): Add verbose -log call for each pattern.
10287 * gdb.base/signals.exp (test_handle_all_print): Call it.
10288 Reduce timeout increment from 6 minutes to 1 minute.
10289 * gdb.server/ext-run.exp: Call it.
10290
10291 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
10292
10293 PR python/12212
10294
10295 * gdb.python/python.exp: Check that selected_thread raises an
10296 error when no inferior is loaded.
10297
10298 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10299
10300 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
10301 * gdb.dwarf2/dw2-stack-boundary.S: New file.
10302
10303 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10304
10305 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
10306 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
10307
10308 2010-11-18 Doug Evans <dje@google.com>
10309
10310 * gdb.server/ext-run.exp: Fix intermittent failures.
10311
10312 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10313
10314 * gdb.stabs/gdb11479.exp: Use runto_main.
10315
10316 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10317
10318 * gdb.base/break-entry.exp: Skip if using a stub.
10319
10320 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10321
10322 * gdb.python/py-inferior.exp: Pack values in target endianness.
10323
10324 2010-11-12 Tom Tromey <tromey@redhat.com>
10325
10326 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
10327 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
10328 MemoryError.
10329 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
10330 type.
10331 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
10332 MemoryError.
10333 (test_subscript_regression): Update exception type.
10334
10335 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
10336
10337 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
10338 breakpoint tests.
10339
10340 2010-11-09 Pedro Alves <pedro@codesourcery.com>
10341
10342 * gdb.base/watchpoint.exp: Test "watch -location" with an
10343 innacessible location.
10344
10345 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
10346 Luis Machado <luisgpm@br.ibm.com>
10347
10348 * gdb.base/maint.exp: Expect "." prefix.
10349 * gdb.base/nodebug.exp: Expect "." Likewise.
10350 * gdb.base/sepsymtab.exp: Expect "." Likewise.
10351 * gdb.base/watchpoint-cond-gone.exp: Likewise.
10352 * gdb.base/watchpoint.exp: Expect a software watch to be created for
10353 POWER server processors.
10354
10355 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
10356 Luis Machado <luisgpm@br.ibm.com>
10357
10358 * gdb.base/break-entry.exp: convert entry point for
10359 ppc64 and expect leading `.' on ppc64's symbols
10360
10361 2010-11-05 Doug Evans <dje@google.com>
10362
10363 * gdb.base/help.exp: Update expected output.
10364 * gdb.python/py-param.exp: Delete, contents moved to ...
10365 * gdb.python/py-parameter.exp: ... here. New file.
10366 Add test for gdb.parameter ("directories").
10367
10368 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
10369
10370 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
10371 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
10372 * configure: Regenerate.
10373 * gdb.opencl/Makefile.in: New File.
10374 * gdb.opencl/datatypes.exp: Likewise.
10375 * gdb.opencl/datatypes.cl: Likewise.
10376 * gdb.opencl/operators.exp: Likewise.
10377 * gdb.opencl/operators.cl: Likewise.
10378 * gdb.opencl/vec_comps.exp: Likewise.
10379 * gdb.opencl/vec_comps.cl: Likewise.
10380 * gdb.opencl/convs_casts.exp: Likewise.
10381 * gdb.opencl/convs_casts.cl: Likewise.
10382 * lib/opencl.exp: Likewise.
10383 * lib/opencl_hostapp.c: Likewise.
10384 * lib/opencl_kernel.cl: Likewise.
10385 * lib/cl_util.c: Likewise.
10386 * lib/cl_util.c: Likewise.
10387 * gdb.base/default.exp (set language): Add "opencl" to the list of
10388 languages.
10389
10390 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
10391
10392 * gdb.cp/overload.exp: Added test for inheritance overload.
10393 * gdb.cp/overload.cc: Ditto.
10394 * gdb.cp/oranking.exp: Removed releveant kfails.
10395
10396 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10397 Joel Brobecker <brobecker@adacore.com>
10398
10399 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
10400 check test_compiler_info.
10401
10402 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
10403
10404 * gdb.base/gnu_vector.exp: Adjust expect messages.
10405
10406 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
10407
10408 * gdb.base/gnu_vector.exp: Add unary operator tests.
10409
10410 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
10411
10412 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
10413
10414 2010-11-02 Doug Evans <dje@google.com>
10415
10416 * gdb.python/py-pp-maint.c: New file.
10417 * gdb.python/py-pp-maint.exp: New file.
10418 * gdb.python/py-pp-maint.py: New file.
10419
10420 2010-11-02 Tom Tromey <tromey@redhat.com>
10421
10422 * gdb.base/default.exp: Remove "scheme" from language list.
10423
10424 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10425
10426 Revert:
10427 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10428 * gdb.threads/sigstep-threads.exp: New file.
10429 * gdb.threads/sigstep-threads.c: New file.
10430
10431 2010-10-20 Michael Snyder <msnyder@vmware.com>
10432
10433 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
10434
10435 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
10436
10437 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
10438 Skip test completely if gdb,no_hardware_watchpoints.
10439
10440 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
10441
10442 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
10443 strict, but do not check for any particular function name within libc.
10444
10445 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
10446
10447 * gdb.cp/smartp.exp: New test.
10448 * gdb.cp/smartp.cc : New test.
10449
10450 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
10451
10452 * gdb.cp/converts.exp: Test pointer to bool conversion.
10453 Test pointer to long conversion.
10454 * gdb.cp/oranking.exp: Removed relevant kfail.
10455
10456 2010-10-18 Tom Tromey <tromey@redhat.com>
10457
10458 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
10459 argument to lazy_string.
10460 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
10461 (pp_ls.to_string): Use it.
10462 * gdb.python/py-prettyprint.c (main): Move declarations to top.
10463 Add "estring2" local.
10464
10465 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10466
10467 Fix s390x compatibility.
10468 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
10469 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
10470
10471 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10472
10473 * gdb.threads/sigstep-threads.exp: New file.
10474 * gdb.threads/sigstep-threads.c: New file.
10475
10476 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10477
10478 * gdb.base/pie-execl.exp: New file.
10479 * gdb.base/pie-execl.c: New file.
10480
10481 2010-10-13 Doug Evans <dje@google.com>
10482 Jan Kratochvil <jan.kratochvil@redhat.com>
10483
10484 PR exp/12117
10485 * gdb.cp/ptype-cv-cp.cc: New file.
10486 * gdb.cp/ptype-cv-cp.exp: New file.
10487
10488 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
10489
10490 * gdb.cp/converts.cc: New test program.
10491 * gdb.cp/converts.exp: New test.
10492 * gdb.cp/overload.exp: Added test for void* vs int*.
10493 * gdb.cp/overload.exp: Ditto.
10494 * gdb.cp/oranking.exp: Removed related kfail.
10495
10496 2010-10-13 Doug Evans <dje@google.com>
10497
10498 * lib/gdb-python.exp (gdb_check_python_config): New function.
10499 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
10500 * gdb.python/lib-types.cc: New file.
10501 * gdb.python/lib-types.exp: New file.
10502
10503 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10504
10505 * gdb.python/py-error.exp: New file.
10506 * gdb.python/py-error.py: New file.
10507
10508 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10509
10510 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
10511 gdb_test_multiple.
10512
10513 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10514
10515 * gdb.base/break-interp.exp: Use ldlags for linking flags.
10516 * gdb.base/prelink.exp: Likewise.
10517 * gdb.base/solib-nodir.exp: Likewise.
10518 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
10519 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
10520 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
10521
10522 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
10523
10524 * break-interp.exp (test_ld): Use two separate gdb_expect statements
10525 for the "info files" test to avoid timeouts on slow machines.
10526
10527 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10528
10529 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
10530 (main): Make openlib dummy call.
10531
10532 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10533
10534 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
10535 * break-interp.exp (reach): Move the core body ...
10536 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
10537 (test_ld): Provide always real argument, even to the linker. Replace
10538 dl_main by _dl_debug_state.
10539
10540 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10541
10542 Fix results of prelinked PIEs on ppc*.
10543 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
10544 Accept also DISPLACEMENT "PRESENT".
10545 (main): Replace "ZERO" displacements by "PRESENT".
10546
10547 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
10548
10549 * gdb.cp/oranking.exp: New test.
10550 * gdb.cp/oranking.cc: New test program.
10551
10552 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
10553
10554 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
10555 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
10556
10557 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
10558
10559 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
10560 lush, lynx) New constant.
10561 * gdb.base/constvars.exp: Test const array types.
10562 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
10563
10564 2010-10-06 Doug Evans <dje@google.com>
10565
10566 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
10567 of syscall staging area.
10568
10569 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
10570
10571 * gdb.base/gnu_vector.c: Add variable c4.
10572 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
10573 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
10574
10575 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
10576
10577 * gdb.arch/altivec-abi.exp: Fix a typo.
10578
10579 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
10580
10581 * lib/mi-support.exp (thread_selected_re): Correct pattern used
10582 to match a thread ID.
10583
10584 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10585
10586 Fix s390x testcase compatibility.
10587 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
10588
10589 2010-10-01 Doug Evans <dje@google.com>
10590
10591 * lib/gdb-python.exp: New file.
10592 * gdb.python/py-block.exp: Use it.
10593 * gdb.python/py-breakpoint.exp: Ditto.
10594 * gdb.python/py-frame.exp: Ditto.
10595 * gdb.python/py-inferior.exp: Ditto.
10596 * gdb.python/py-param.exp: Ditto.
10597 * gdb.python/py-prettyprint.exp: Ditto.
10598 * gdb.python/py-shared.exp: Ditto.
10599 * gdb.python/py-symbol.exp: Ditto.
10600 * gdb.python/py-symtab.exp: Ditto.
10601 * gdb.python/py-type.exp: Ditto.
10602 * gdb.python/py-value.exp: Ditto.
10603 * gdb.python/python.exp: Ditto.
10604
10605 2010-09-30 Tom Tromey <tromey@redhat.com>
10606
10607 * gdb.base/anon.exp: New file.
10608 * gdb.base/anon.c: New file.
10609
10610 2010-09-30 Tom Tromey <tromey@redhat.com>
10611
10612 * gdb.base/completion.exp: Test completion through anonymous
10613 union.
10614 * gdb.base/break1.c (struct some_struct): Add anonymous union.
10615
10616 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10617
10618 Fix printing parameters of inlined functions.
10619 * gdb.dwarf2/dw2-inline-param.exp: New file.
10620 * gdb.dwarf2/dw2-inline-param-main.c: New file.
10621 * gdb.dwarf2/dw2-inline-param.S: New file.
10622
10623 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10624
10625 PR corefiles/12071.
10626 * gdb.base/corefile.exp (quit with a process, no question: load core)
10627 (quit with a core file): New tests.
10628
10629 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10630
10631 Fix GDB crash on inferior calls with self-referencing classes.
10632 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
10633 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
10634 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
10635
10636 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10637
10638 Fix lost siginfo_t for inferior calls.
10639 * gdb.base/siginfo-infcall.exp: New file.
10640 * gdb.base/siginfo-infcall.c: New file.
10641
10642 2010-09-22 Joel Brobecker <brobecker@adacore.com>
10643
10644 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
10645
10646 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10647
10648 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
10649 New test.
10650 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
10651
10652 2010-09-22 Joel Brobecker <brobecker@adacore.com>
10653
10654 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
10655 type of our const type.
10656
10657 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
10658
10659 * gdb.cp/pr12028.cc: New.
10660 * gdb.cp/pr12028.exp: New.
10661
10662 2010-09-22 Joel Brobecker <brobecker@adacore.com>
10663
10664 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
10665
10666 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
10667 Jan Kratochvil <jan.kratochvil@redhat.com>
10668
10669 PR mi/11407
10670 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
10671 * gdb.mi/dw2-ref-missing-frame-main.c New File.
10672 * gdb.mi/dw2-ref-missing-frame.S New File.
10673 * gdb.mi/dw2-ref-missing-frame.exp New File.
10674
10675 2010-09-14 Tom Tromey <tromey@redhat.com>
10676
10677 PR symtab/8399:
10678 * gdb.threads/tls.exp: Remove kfail. Update expected output.
10679
10680 2010-09-14 Tom Tromey <tromey@redhat.com>
10681
10682 PR exp/11803:
10683 * gdb.threads/tls.exp: Use C++.
10684 (check_thread_local): Use K::another_thread_local.
10685 * gdb.threads/tls.c (class K): New.
10686 (another_thread_local): Now a member of K.
10687 (spin): Update. No longer K&R C.
10688
10689 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
10690
10691 * gdb.cp/koenig.cc: created class for testing member lookup.
10692 * gdb.cp/koenig.exp: Added test for member lookup.
10693
10694 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10695
10696 Fix false FAILs on sourcetree topdir directory containing "kill".
10697 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
10698 source line matching regexp.
10699
10700 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10701
10702 * gdb.python/python.exp (set height 0, collect help from uiout)
10703 (verify help to uiout): New tests.
10704
10705 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10706
10707 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
10708 is_lp64_target to check 64bit target.
10709
10710 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10711
10712 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
10713 (test_ld) <powerpc64-*>: New.
10714
10715 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10716
10717 * gdb.cp/templates.exp (test_template_args): Allow "struct".
10718
10719 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10720
10721 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
10722 (FunctionArg::method): New function.
10723 (empty, arg): New variables.
10724 (main): Call arg.method.
10725 * gdb.cp/templates.exp (test_template_args): New function.
10726 (do_tests): Call it.
10727
10728 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10729
10730 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
10731 of "next" to proceed over pthread_exit call.
10732
10733 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10734
10735 * gdb.base/maint.exp: Avoid wildcards against potentially very long
10736 "maint print statistics" output to prevent expect timeouts.
10737
10738 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10739
10740 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
10741 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10742 (test_float_rejected): ... here.
10743 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
10744 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10745 (test_float_rejected): ... here.
10746 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
10747 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10748 (test_float_rejected): ... here.
10749 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
10750 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10751 (test_float_rejected): ... here.
10752
10753 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10754
10755 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
10756 before disabling hardware watchpoints.
10757 (test_inaccessible_watchpoint): Check that hardware watchpoints
10758 are used. Test for watchpoints on a constant address.
10759
10760 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10761
10762 * gdb.base/ui-redirect.exp: New file.
10763
10764 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10765 Joel Brobecker <brobecker@adacore.com>
10766
10767 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
10768
10769 2010-08-31 Doug Evans <dje@google.com>
10770
10771 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
10772
10773 2010-08-30 Tom Tromey <tromey@redhat.com>
10774
10775 PR python/11792:
10776 * gdb.python/py-value.exp (test_subscript_regression): Add
10777 dynamic_type test.
10778
10779 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
10780
10781 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
10782 instead of running to main. Do not test the main function.
10783 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
10784 Add new main.
10785
10786 2010-08-26 Pedro Alves <pedro@codesourcery.com>
10787
10788 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
10789 one test.
10790
10791 2010-08-24 Doug Evans <dje@google.com>
10792
10793 PR symtab/11942
10794 * gdb.dwarf2/dw4-sig-types.cc: New file.
10795 * gdb.dwarf2/dw4-sig-types.h: New file.
10796 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
10797 * gdb.dwarf2/dw4-sig-types.exp: New file.
10798
10799 2010-08-23 Tom Tromey <tromey@redhat.com>
10800
10801 PR python/11145:
10802 * gdb.python/py-value.c (Base, Derived): New types.
10803 (base): New global.
10804 * gdb.python/py-value.exp (test_subscript_regression): Add
10805 dynamic_cast test.
10806
10807 2010-08-23 Tom Tromey <tromey@redhat.com>
10808
10809 PR python/10676:
10810 * gdb.python/py-type.exp (test_fields): Add tests for type
10811 equality.
10812
10813 2010-08-23 Tom Tromey <tromey@redhat.com>
10814
10815 PR python/11915:
10816 * gdb.python/py-type.exp (test_fields): Add tests for array.
10817
10818 2010-08-23 Keith Seitz <keiths@redhat.com>
10819
10820 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
10821 have any children. Create a new abbrev for it.
10822 Add missing terminal sequence to .debug_abbrev.
10823
10824 2010-08-20 Keith Seitz <keiths@redhat.com>
10825
10826 PR symtab/11465:
10827 * gdb.dwarf2/pr11465.exp: New test.
10828 * gdb.dwarf2/pr11465.S: New file.
10829 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
10830 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
10831
10832 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
10833
10834 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
10835 registers. Update data sets with the new v2_double element in the
10836 VSX register union. Add vector_register3_vr data set for the AltiVec
10837 registers. Use gdb_test_no_output instead of send_gdb.
10838
10839 2010-08-19 Pedro Alves <pedro@codesourcery.com>
10840
10841 * gdb.python/py-shared.exp: New file, factored out from
10842 python.exp.
10843 * gdb.python/py-shared.c: New file.
10844 * gdb.python/py-shared-sl.c: New file.
10845 * gdb.python/python-1.c: New file.
10846 * gdb.python/python-sl.c: Delete.
10847 * gdb.python/python.c: Mention python-1.c.
10848 * gdb.python/python.exp: Move shared library tests to
10849 py-shared.exp.
10850 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
10851 (MISCELLANEOUS): New.
10852 (clean mostlyclean): Also remove $MISCELLANEOUS.
10853
10854 2010-08-19 Doug Evans <dje@google.com>
10855
10856 PR exp/11926
10857 * gdb.base/printcmds.exp (test_float_accepted): New function.
10858 Move existing float tests there. Add tests for floats with suffixes.
10859 (test_float_rejected): New function.
10860 * gdb.java/jv-print.exp (test_float_accepted): New function.
10861 (test_float_rejected): New function.
10862 * gdb.objc/print.exp: New file.
10863 * gdb.pascal/print.exp: New file.
10864 * lib/objc.exp: New file.
10865
10866 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
10867
10868 * gdb.base/default.exp (info set): Avoid full buffer error and force
10869 reading up to final gdb prompt.
10870 (show): Likewise.
10871
10872 2010-08-18 Tom Tromey <tromey@redhat.com>
10873
10874 PR symtab/11919:
10875 * gdb.base/completion.exp: Add test.
10876
10877 2010-08-18 Doug Evans <dje@google.com>
10878
10879 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
10880 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
10881 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
10882 Simplify, early exit if runto_main fails.
10883 * gdb.fortran/exprs.exp: load_lib fortran.exp.
10884 (set_lang_fortran): Moved to lib/fortran.exp.
10885 * gdb.fortran/types.exp: load_lib fortran.exp.
10886 (set_lang_fortran): Moved to lib/fortran.exp.
10887 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
10888 * gdb.java/jprint.exp (set_lang_java): Ditto.
10889 * gdb.java/jv-exp.exp: load_lib java.exp.
10890 If set_lang_java fails, issue a warning instead of failure to be
10891 consistent with other set_lang_foo uses.
10892 (set_lang_java): Moved to lib/java.exp.
10893 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
10894 If set_lang_java fails, issue a warning instead of failure to be
10895 consistent with other set_lang_foo uses.
10896 * gdb.pascal/types.exp: load_lib pascal.exp.
10897 (set_lang_pascal): Moved to lib/pascal.exp.
10898 * lib/fortran.exp: New file.
10899 * lib/java.exp (set_lang_java): New function.
10900 * lib/pascal.exp (set_lang_pascal): New function.
10901
10902 2010-08-18 Yao Qi <yao@codesourcery.com
10903
10904 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
10905 func_nofb_start and func_loopfb_start, so that address of functions
10906 is equal to these labels on Thumb.
10907
10908 2010-08-18 Yao Qi <yao@codesourcery.com>
10909
10910 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
10911 to reflect latest c source file.
10912
10913 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10914
10915 * gdb.cp/infcall-dlopen.exp: New file.
10916 * gdb.cp/infcall-dlopen.cc: New file.
10917 * gdb.cp/infcall-dlopen-lib.cc: New file.
10918
10919 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10920 Pedro Alves <pedro@codesourcery.com>
10921
10922 PR breakpoints/11371
10923
10924 * gdb.base/watch-cond-infcall.exp: New file.
10925 * gdb.base/watch-cond-infcall.c: New file.
10926
10927 2010-08-16 Tom Tromey <tromey@redhat.com>
10928
10929 * gdb.base/help.exp: Update.
10930 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
10931 watchpoint.
10932 (test_watch_location): New proc.
10933 (test_watchpoint_in_big_blob): Delete watchpoint.
10934 * gdb.base/watchpoint.c (func5): New function.
10935 (main): Call it.
10936
10937 2010-08-16 Doug Evans <dje@google.com>
10938
10939 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
10940
10941 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10942
10943 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
10944 tests.
10945
10946 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
10947
10948 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
10949 * gdb.base/gnu_vector.c: New File.
10950 * gdb.base/gnu_vector.exp: Likewise.
10951
10952 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10953
10954 * gdb.python/python.c: New File.
10955 * gdb.python/python-sl.c: New File.
10956 * gdb.python/python.exp: Test solib_address and decode_line
10957 * functions.
10958
10959 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10960
10961 * gdb.python/python.exp (show height, set height 10)
10962 (verify pagination beforehand, verify pagination beforehand: q)
10963 (gdb.execute does not page, verify pagination afterwards)
10964 (verify pagination afterwards: q): New.
10965
10966 2010-08-02 Doug Evans <dje@google.com>
10967
10968 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
10969 because of an older gcc, change test2
10970 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
10971 to unsupported.
10972
10973 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
10974
10975 * gdb.base/break-always.exp: Do not expect full paths to file
10976 names.
10977 * gdb.base/commands.exp: Likewise.
10978
10979 2010-07-30 Doug Evans <dje@google.com>
10980
10981 * gdb.cp/temargs.exp: For new tests that require newer gccs,
10982 xfail them when run with older gccs.
10983
10984 * lib/gdb.exp (build_executable): Forward "c++" option to
10985 get_compiler_info.
10986
10987 * gdb.python/py-type.exp (test_template): Mark as xfail tests
10988 "python print ttype.template_argument(1)" and
10989 "python print isinstance(ttype.template_argument(1), gdb.Value)"
10990 if using gcc 4.4 or earlier.
10991
10992 * gdb.base/valgrind-db-attach.exp: Use unique test name for
10993 attach-to-debugger handling.
10994
10995 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10996
10997 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
10998 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
10999 (main): Use copyreloc.
11000 * gdb.base/prelink.exp (split debug of executable)
11001 (.dynbss vs. .bss address shift): New tests.
11002
11003 2010-07-29 Pedro Alves <pedro@codesourcery.com>
11004
11005 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
11006 in gdb_test_multiple.
11007
11008 2010-07-29 Pedro Alves <pedro@codesourcery.com>
11009
11010 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
11011 environment.
11012
11013 2010-07-28 Tom Tromey <tromey@redhat.com>
11014
11015 PR python/11060:
11016 * gdb.python/py-type.c (Temargs): New template.
11017 (temvar): New variable.
11018 * gdb.python/py-type.exp (test_template): New proc.
11019
11020 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
11021
11022 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
11023 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
11024
11025 2010-07-28 Tom Tromey <tromey@redhat.com>
11026
11027 PR c++/9946:
11028 * gdb.cp/temargs.exp: New file.
11029 * gdb.cp/temargs.cc: New file.
11030
11031 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11032
11033 * gdb.base/help.exp (help disassemble): Update the content.
11034
11035 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11036
11037 * gdb.threads/ia64-sigill.exp: New file.
11038 * gdb.threads/ia64-sigill.c: New file.
11039
11040 2010-07-27 Tom Tromey <tromey@redhat.com>
11041
11042 * gdb.opt/inline-cmds.c (ATTR): New define.
11043 (func1): Use it.
11044 (func2): Likewise.
11045 (func3): Likewise.
11046 (outer_inline1): Likewise.
11047 (outer_inline2): Likewise.
11048 * gdb.opt/inline-bt.c (ATTR): New define.
11049 (func1): Use it.
11050 (func2): Likewise.
11051 * gdb.opt/inline-locals.c (ATTR): New define.
11052 (func1): Use it.
11053 (func2): Likewise.
11054
11055 2010-07-27 Tom Tromey <tromey@redhat.com>
11056
11057 * gdb.stabs/gdb11479.c (hack): New function.
11058 (test): Use it.
11059 (test2): Use it.
11060 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
11061 (int32_search_buf, int64_search_buf): No longer static.
11062 (x): Remove.
11063 * gdb.base/relocate.c (hack): New function.
11064
11065 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
11066
11067 * gdb.python/py-value.exp (test_inferior_function_call): New function.
11068 * gdb.python/py-value.c (func1): New function.
11069 (func2): Likewise.
11070
11071 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
11072
11073 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
11074 as not to clash with .data section.
11075
11076 2010-07-26 Jerome Guitton <guitton@adacore.com>
11077
11078 * gdb.base/code_elim.exp: New file.
11079 * gdb.base/code_elim1.c: New file.
11080 * gdb.base/code_elim2.c: New file.
11081
11082 2010-07-21 Pedro Alves <pedro@codesourcery.com>
11083
11084 PR symtab/11827
11085
11086 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
11087 (some_volatile_enum): New variable.
11088 * gdb.base/printcmds.exp (test_print_enums): New.
11089 <top level>: Call it.
11090
11091 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
11092
11093 * gdb.cp/fpointer.cc: New test.
11094 * gdb.cp/fpointer.exp: New test.
11095
11096 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11097
11098 * gdb.base/solib-nodir.exp: New file.
11099 * lib/gdb.exp (runto): New case for a GDB internal error.
11100
11101 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11102 Ulrich Weigand <uweigand@de.ibm.com>
11103 Tom Tromey <tromey@redhat.com>
11104
11105 * gdb.base/charset-malloc.c: New file.
11106 * gdb.base/charset.c (malloc_stub): New prototype.
11107 (main): Call it instead of malloc itself.
11108 * gdb.base/charset.exp: Use only prepare_for_testing.
11109 (binfile): Remove the variable.
11110
11111 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11112
11113 Make core files the process_stratum.
11114 * gdb.base/corefile.exp (run: load core again)
11115 (run: sanity check we see the core file, run: with core)
11116 (run: core file is cleared, attach: load core again)
11117 (attach: sanity check we see the core file, attach: with core)
11118 (attach: core file is cleared): New tests.
11119 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
11120
11121 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
11122
11123 * gdb.arch/altivec-abi.exp: New tests.
11124
11125 2010-07-13 Tom Tromey <tromey@redhat.com>
11126
11127 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
11128 (main): Use it.
11129 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
11130
11131 2010-07-13 Tom Tromey <tromey@redhat.com>
11132
11133 * gdb.base/label.exp: New file.
11134 * gdb.base/label.c: New file.
11135
11136 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
11137 H.J. Lu <hongjiu.lu@intel.com>
11138
11139 * lib/gdb.exp (is_ilp32_target): New.
11140 (is_lp64_target): Likewise.
11141
11142 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
11143 target.
11144 * gdb.arch/amd64-disp-step.exp: Likewise.
11145 * gdb.arch/amd64-dword.exp: Likewise.
11146 * gdb.arch/amd64-i386-address.exp: Likewise.
11147 * gdb.arch/amd64-word.exp: Likewise.
11148
11149 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
11150 target.
11151 * gdb.arch/i386-bp_permanent.exp: Likewise.
11152 * gdb.arch/i386-byte.exp: Likewise.
11153 * gdb.arch/i386-disp-step.exp: Likewise.
11154 * gdb.arch/i386-gnu-cfi.exp: Likewise.
11155 * gdb.arch/i386-prologue.exp: Likewise.
11156 * gdb.arch/i386-size-overlap.exp: Likewise.
11157 * gdb.arch/i386-size.exp: Likewise.
11158 * gdb.arch/i386-sse.exp: Likewise.
11159 * gdb.arch/i386-unwind.exp: Likewise.
11160 * gdb.arch/i386-word.exp: Likewise.
11161
11162 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
11163 test only when building 64-bit executables. Do not hard-code
11164 -m64 option.
11165
11166 2010-07-07 Doug Evans <dje@google.com>
11167
11168 * lib/gdb.exp (gdb_test_list_exact): New function.
11169 * gdb.base/default.exp (show convenience): Call it, add tests for
11170 $_sdata = void, $_thread = 0.
11171
11172 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11173 Joel Brobecker <brobecker@adacore.com>
11174
11175 Fix re-run of PIE executable, PR shlibs/11776.
11176 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
11177 Remove $displacement_main to match the solib-svr4.c change. New "kill"
11178 and re-"run" of the inferior.
11179
11180 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11181 Joel Brobecker <brobecker@adacore.com>
11182
11183 Cope with missing /usr/sbin/prelink.
11184 * lib/prelink-support.exp (prelink_no):
11185 <result == 1 && $output is "no such file or directory">: New.
11186 (prelink_yes): Likewise. Return on failed prelink_no.
11187
11188 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11189 Joel Brobecker <brobecker@adacore.com>
11190
11191 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
11192 build_executable by build_executable_own_libs. Replace "prelink -R"
11193 execution by a call of prelink_yes. Comment why "prelink -r" needs no
11194 change.
11195 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
11196 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
11197 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
11198 Replace build_executable by build_executable_own_libs's function
11199 build_executable_own_libs.
11200 (prelinkNO): Create new stub to call prelink_no.
11201 (prelinkYES): Create new stub to call prelink_yes.
11202 (test_attach): Rename calls of copy to file_copy.
11203 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
11204 (copy): Move to ...
11205 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
11206 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
11207 * gdb.base/prelink.exp: Disable testcase also for is_remote and
11208 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
11209 special flags by gdb_compile_shlib. Replace second gdb_compile by
11210 build_executable_own_libs. Replace "prelink -R" execution by a call of
11211 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
11212 a second call of prelink_yes. Replace restart commands by
11213 clean_restart.
11214 (prelink): Rename to ...
11215 (seen displacement message): ... this test. Extend its expectation
11216 strictness.
11217
11218 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11219
11220 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
11221 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
11222 displacement message exactly once.
11223
11224 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11225 Joel Brobecker <brobecker@adacore.com>
11226
11227 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
11228 its restore after the <$relink_args != ""> loop. new comment.
11229
11230 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11231 Joel Brobecker <brobecker@adacore.com>
11232
11233 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
11234 code for it. New variable relink_args.
11235 (prelinkYES): Call prelinkNO.
11236 (test_attach): Accept new parameter relink_args. Re-prelink the binary
11237 in such case. Move the core code to ...
11238 (test_attach_gdb): ... a new function. Send GDB command "file".
11239 Extend expected "Attaching to " string.
11240
11241 2010-07-02 Tom Tromey <tromey@redhat.com>
11242
11243 * gdb.base/bitops.exp: Remove extraneous "pass".
11244
11245 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
11246
11247 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
11248
11249 2010-07-01 Pedro Alves <pedro@codesourcery.com>
11250
11251 * gdb.base/help.exp: Adjust expected output.
11252
11253 2010-07-01 Pedro Alves <pedro@codesourcery.com>
11254
11255 * gdb.base/help.exp: Adjust expected output.
11256
11257 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11258
11259 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
11260 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
11261 c++/11702.
11262
11263 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11264 Doug Evans <dje@google.com>
11265
11266 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
11267 add .dynamic entry'.
11268
11269 2010-06-29 Doug Evans <dje@google.com>
11270
11271 Test PR c++/11702.
11272 * gdb.cp/m-static.exp: Add testcase.
11273 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
11274
11275 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
11276 Tom Tromey <tromey@redhat.com>
11277 Thiago Jung Bauermann <bauerman@br.ibm.com>
11278
11279 * gdb.python/py-inferior.c: New File.
11280 * gdb.python/py-infthread.c: New File.
11281 * gdb.python/py-inferior.exp: New File.
11282 * gdb.python/py-infthread.exp: New File.
11283
11284 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11285
11286 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
11287 (ptype ::C::OtherFileClass typedefs): New.
11288 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
11289 (C::OtherFileClass::cOtherFileClassVar2): New.
11290 (C::OtherFileClass::cOtherFileClassVar_use): Use also
11291 cOtherFileClassVar2.
11292 (C::cOtherFileType2, C::cOtherFileVar2): New.
11293 (C::cOtherFileVar_use): use also cOtherFileVar2.
11294 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
11295
11296 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11297
11298 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
11299 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
11300 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
11301 (print ::C::cOtherFileVar)
11302 (whatis C::OtherFileClass::cOtherFileClassType)
11303 (whatis ::C::OtherFileClass::cOtherFileClassType)
11304 (print C::OtherFileClass::cOtherFileClassVar)
11305 (print ::cOtherFileClassVar)
11306 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
11307 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
11308 trailing content.
11309 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
11310 (C::OtherFileClass::cOtherFileClassVar)
11311 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
11312 (C::cOtherFileVar, C::cOtherFileVar_use): New.
11313
11314 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11315
11316 Test PR c++/11703 and PR gdb/1448.
11317 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
11318 gdb/1448.
11319
11320 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11321
11322 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
11323 (main) <rtti_data>: New.
11324 * gdb.cp/virtbase.exp (print rtti_data): New.
11325
11326 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11327 Joel Brobecker <brobecker@adacore.com>
11328
11329 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
11330
11331 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11332
11333 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
11334
11335 2010-06-28 Doug Evans <dje@google.com>
11336
11337 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
11338
11339 2010-06-27 Doug Evans <dje@google.com>
11340
11341 * gdb.cp/m-static.exp: Update expected test output.
11342
11343 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
11344
11345 * gdb.gdb/selftest.exp: Adjust expected message for
11346 capturing start-up runtime.
11347
11348 2010-06-25 Tom Tromey <tromey@redhat.com>
11349
11350 PR python/10808:
11351 * gdb.python/python.exp: Add new tests.
11352
11353 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
11354
11355 * gdb.cp/operator.cc: Created an import loop.
11356 * gdb.cp/operator.exp: Added testcase for import loop.
11357
11358 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11359
11360 Test PR python/11407.
11361 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
11362 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
11363 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
11364 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
11365 executable_nofb and executable_fb. New variables srcsfile, objsfile,
11366 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
11367 binfile. Call gdb_compile with clean_restart twice.
11368 (func_nofb print, func_nofb backtrace, func_loopfb print)
11369 (func_loopfb backtrace): New.
11370
11371 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11372
11373 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
11374 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
11375 by a hand made one.
11376 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
11377 i?86 requirement. Remove variables srcfile and binfile. New variable
11378 sources, executable_nofb and executable_fb. Call prepare_for_testing.
11379
11380 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11381
11382 * gdb.cell/dwarfaddr.exp: New file.
11383 * gdb.cell/dwarfaddr.S: New file.
11384
11385 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11386
11387 Test PR 9436.
11388 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
11389
11390 2010-06-24 Hui Zhu <teawater@gmail.com>
11391
11392 * gdb.base/eval.exp: New file.
11393
11394 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11395
11396 * gdb.cell/fork.exp: New file.
11397 * gdb.cell/fork.c: Likewise.
11398 * gdb.cell/fork-spu.c: Likewise.
11399
11400 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
11401
11402 * lib/gdb.exp (banned_variables_traced): New global variable.
11403 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
11404 (gdb_init): Use `trace add variable' instead of obsolete
11405 `trace variable'.
11406
11407 2010-06-21 Doug Evans <dje@google.com>
11408
11409 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
11410
11411 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11412
11413 * gdb.arch/spu-ls.exp: New file.
11414 * gdb.arch/spu-ls.c: Likewise.
11415
11416 2010-06-18 Stan Shebs <stan@codesourcery.com>
11417
11418 * gdb.threads/thread-specific.exp: Add tests of $_thread.
11419
11420 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11421
11422 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
11423 * gdb.base/watch-cond.exp: Likewise.
11424 * gdb.python/py-breakpoint.exp: Likewise.
11425
11426 2010-06-18 Pedro Alves <pedro@codesourcery.com>
11427
11428 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
11429 clean_restart, make sure every test has a distinct message, and
11430 that messages don't include the executable' full path.
11431
11432 2010-06-17 Doug Evans <dje@google.com>
11433
11434 * gdb.arch/i386-size.exp: Updated expected output for
11435 DISASSEMBLY_OMIT_FNAME.
11436
11437 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11438 Sergio Durigan Junior <sergiodj@redhat.com>
11439
11440 * gdb.base/watch-notconst.c: New file.
11441 * gdb.base/watch-notconst.S: New file.
11442 * gdb.base/watch-notconst2.c: New file.
11443 * gdb.base/watch-notconst2.S: New file.
11444 * gdb.base/watch-notconst.exp: New file.
11445 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
11446 (func4): Add operations on `global_ptr_ptr'.
11447 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
11448 routine to test watchpoints created with a constant expression.
11449 (test_inaccessible_watchpoint): Include tests for watchpoints
11450 created with a constant expression.
11451
11452 2010-06-14 Kevin Buettner <kevinb@redhat.com>
11453
11454 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
11455 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
11456 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
11457 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
11458 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
11459 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
11460 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
11461 of `_start'.
11462
11463 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11464
11465 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
11466 not supported on the target.
11467 * gdb.mi/mi-nonstop-exit.exp: Likewise.
11468 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
11469 * gdb.mi/mi-nsintrall.exp: Likewise.
11470 * gdb.mi/mi-nsmoribund.exp: Likewise.
11471 * gdb.mi/mi-nsthrexec.exp: Likewise.
11472
11473 2010-06-11 Stan Shebs <stan@codesourcery.com>
11474
11475 * gdb.base/permissions.exp: New file.
11476
11477 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11478
11479 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
11480 does not support ELF executable class.
11481
11482 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11483
11484 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
11485
11486 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11487
11488 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
11489 (runto): Catch "The target does not support running in non-stop mode.".
11490
11491 2010-06-11 Michael Snyder <msnyder@vmware.com>
11492
11493 * gdb.base/setshow.exp (set language asm): Don't use
11494 gdb_test_no_output, fails on some targets.
11495
11496 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11497
11498 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
11499 * gdb.cp/pr9167.exp: Likewise.
11500
11501 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11502
11503 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
11504
11505 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11506
11507 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
11508
11509 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11510
11511 * gdb.base/charset.c (main): Make sure malloc gets linked in.
11512
11513 2010-06-11 Tom Tromey <tromey@redhat.com>
11514
11515 PR gdb/9977, PR exp/11636::
11516 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
11517 (pieces_test_f6): Update expected output.
11518
11519 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11520
11521 * gdb.base/moribund-step.exp: New.
11522
11523 2010-06-08 Michael Snyder <msnyder@vmware.com>
11524
11525 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
11526 * gdb.ada/boolean_expr.exp:
11527 * gdb.ada/frame_args.exp: Ditto.
11528 * gdb.ada/lang_switch.exp: Ditto.
11529 * gdb.ada/ptype_arith_binop.exp: Ditto.
11530 * gdb.ada/ref_param.exp: Ditto.
11531 * gdb.ada/type_coercion.exp:Ditto.
11532
11533 * gdb.asm/asm-source.exp: Ditto.
11534
11535 * gdb.base/attach.exp: Ditto.
11536 * gdb.base/bitfields2.exp: Ditto.
11537 * gdb.base/call-signal-resume.exp: Ditto.
11538 * gdb.base/callfuncs.exp: Ditto.
11539 * gdb.base/commands.exp: Ditto.
11540 * gdb.base/dbx.exp: Ditto.
11541 * gdb.base/default.exp: Ditto.
11542 * gdb.base/dump.exp: Ditto.
11543 * gdb.base/exprs.exp: Ditto.
11544 * gdb.base/freebpcmd.exp: Ditto.
11545 * gdb.base/interrupt.exp: Ditto.
11546 * gdb.base/list.exp: Ditto.
11547 * gdb.base/long_long.exp: Ditto.
11548 * gdb.base/maint.exp: Ditto.
11549 * gdb.base/ptype.exp: Ditto.
11550 * gdb.base/return.exp: Ditto.
11551 * gdb.base/setshow.exp: Ditto.
11552 * gdb.base/sigbpt.exp: Ditto.
11553 * gdb.base/sigrepeat.exp: Ditto.
11554
11555 * gdb.cp/classes.exp: Ditto.
11556
11557 * gdb.dwarf2/dw2-restore.exp: Ditto.
11558
11559 * gdb.gdb/selftest.exp: Ditto.
11560
11561 * gdb.multi/base.exp: Ditto.
11562 * gdb.multi/bkpt-multi-exec.exp: Ditto.
11563
11564 * gdb.python/py-block.exp: Ditto.
11565 * gdb.python/py-prettyprint.exp: Ditto.
11566 * gdb.python/py-template.exp: Ditto.
11567
11568 * gdb.server/ext-attach.exp: Ditto.
11569 * gdb.server/ext-run.exp: Ditto.
11570 * gdb.server/server-mon.exp: Ditto.
11571
11572 * gdb.threads/fork-thread-pending.exp: Ditto.
11573 * gdb.threads/hand-call-in-threads.exp: Ditto.
11574 * gdb.threads/interrupted-hand-call.exp: Ditto.
11575 * gdb.threads/linux-dp.exp: Ditto.
11576 * gdb.threads/manythreads.exp: Ditto.
11577 * gdb.threads/print-threads.exp: Ditto.
11578 * gdb.threads/pthreads.exp: Ditto.
11579 * gdb.threads/schedlock.exp: Ditto.
11580 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11581 * gdb.threads/threadapply.exp: Ditto.
11582
11583 2010-06-08 Michael Snyder <msnyder@vmware.com>
11584
11585 * gdb.ada/exec_changed.exp:
11586 Use ".*" instead of "" as wildcard regexp.
11587
11588 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
11589 * gdb.base/call-ar-st.exp: Ditto.
11590 * gdb.base/checkpoint.exp: Ditto.
11591 * gdb.base/default.exp: Ditto.
11592 * gdb.base/dump.exp: Ditto.
11593 * gdb.base/ending-run.exp: Ditto.
11594 * gdb.base/fileio.exp: Ditto.
11595 * gdb.base/miscexprs.exp: Ditto.
11596 * gdb.base/pointers.exp: Ditto.
11597 * gdb.base/readline.exp: Ditto.
11598 * gdb.base/reread.exp: Ditto.
11599 * gdb.base/restore.exp: Ditto.
11600 * gdb.base/shlib-call.exp: Ditto.
11601 * gdb.base/valgrind-db-attach.exp: Ditto.
11602 * gdb.base/volatile.exp: Ditto.
11603 * gdb.base/watchpoints.exp: Ditto.
11604
11605 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
11606
11607 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
11608 * gdb.python/py-value.exp: Ditto.
11609
11610 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
11611 * gdb.trace/circ.exp: Ditto.
11612 * gdb.trace/collection.exp: Ditto.
11613 * gdb.trace/packetlen.exp: Ditto.
11614 * gdb.trace/passc-dyn.exp: Ditto.
11615 * gdb.trace/report.exp: Ditto.
11616 * gdb.trace/tfile.exp: Ditto.
11617 * gdb.trace/tfind.exp: Ditto.
11618 * gdb.trace/while-dyn.exp: Ditto.
11619
11620 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11621
11622 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
11623
11624 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11625
11626 Test PR 10640.
11627 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
11628
11629 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
11630
11631 * gdb.cp/koenig.exp: Test for ADL operators.
11632 * gdb.cp/koenig.cc: Added ADL operators.
11633 * gdb.cp/operator.exp: New test.
11634 * gdb.cp/operator.cc: New test.
11635
11636 2010-06-04 Michael Snyder <msnyder@vmware.com>
11637
11638 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
11639 * gdb.base/pending.exp: Ditto.
11640
11641 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
11642
11643 2010-06-04 Doug Evans <dje@google.com>
11644
11645 * gdb.python/py-prettyprint.exp: Add new test for enabled and
11646 disabled printers.
11647 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
11648 (enable_lookup_function): New function.
11649
11650 2010-06-04 Tom Tromey <tromey@redhat.com>
11651
11652 * gdb.python/py-value.exp (test_value_hash): Don't test equality
11653 of hash and id.
11654
11655 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11656
11657 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
11658 newline.
11659 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
11660 (empty verbose non-noisy clear, empty verbose noisy clear)
11661 (empty non-verbose noisy clear): Likewise.
11662
11663 2010-06-03 Michael Snyder <msnyder@vmware.com>
11664
11665 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
11666 * gdb.base/display.exp: Ditto.
11667 * gdb.base/find.exp: Ditto.
11668 * gdb.base/ifelse.exp: Ditto.
11669 * gdb.base/multi-forks.exp: Ditto.
11670 * gdb.base/recurse.exp: Ditto.
11671 * gdb.base/setshow.exp: Ditto.
11672 * gdb.base/value-double-free.exp: Ditto.
11673 * gdb.base/watch-vfork.exp: Ditto.
11674 * gdb.base/watch_thread_num.exp: Ditto.
11675 * gdb.base/watchpoint-solib.exp: Ditto.
11676 * gdb.base/watchpoint.exp: Ditto.
11677 * gdb.base/watchpoints.exp: Ditto.
11678
11679 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
11680 * gdb.cp/overload.exp: Ditto.
11681 * gdb.cp/virtfunc.exp: Ditto.
11682
11683 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
11684
11685 * gdb.reverse/watch-precsave.exp:
11686 Replace gdb_test with gdb_test_no_output.
11687
11688 * gdb.threads/attach-into-signal.exp:
11689 Replace gdb_test with gdb_test_no_output.
11690 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11691 * gdb.threads/watchthreads.exp: Ditto.
11692 * gdb.threads/watchthreads2.exp: Ditto.
11693
11694 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
11695 * gdb.trace/tfind.exp: Ditto.
11696
11697 2010-06-03 Joel Brobecker <brobecker@adacore.com>
11698
11699 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
11700 successful test if message is the empty string.
11701
11702 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11703
11704 * gdb.fortran/module.exp (stopped language detection): New test.
11705
11706 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11707
11708 Support DW_TAG_module as separate namespaces.
11709 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
11710 gdb.fortran/library-module-lib.f90: New.
11711 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
11712 (print i): Remove.
11713 (continue to breakpoint: i-is-1, print var_i value 1)
11714 (continue to breakpoint: i-is-2, print var_i value 2)
11715 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
11716 (print var_d, print var_i value 14, ptype modmany, complete `modm)
11717 (complete `modmany, complete `modmany`, complete `modmany`var)
11718 (show language, setting breakpoint at module): New tests.
11719 * gdb.fortran/module.f90 (module mod): Remove.
11720 (module mod1, module mod2, module modmany, subroutine sub1)
11721 (subroutine sub2, program module): New.
11722
11723 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11724
11725 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
11726 (print value of rUC, print value of rI, print value of UI): ... here.
11727 * gdb.cp/anon-union.exp (pass): Rename to ...
11728 (print z 2): ... here.
11729
11730 2010-06-02 Michael Snyder <msnyder@vmware.com>
11731
11732 * gdb.trace/actions.exp: Use gdb_test_no_output.
11733 * gdb.trace/circ.exp: Ditto.
11734 * gdb.trace/packetlen.exp: Ditto.
11735 * gdb.trace/save-trace.exp: Ditto.
11736 * gdb.trace/tracecmd.exp: Ditto.
11737 * gdb.trace/tsv.exp: Ditto.
11738
11739 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
11740 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
11741 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11742 * gdb.threads/manythreads.exp: Ditto.
11743 * gdb.threads/print-threads.exp: Ditto.
11744 * gdb.threads/pthreads.exp: Ditto.
11745 * gdb.threads/schedlock.exp: Ditto.
11746 * gdb.threads/staticthreads.exp: Ditto.
11747 * gdb.threads/thread-specific.exp: Ditto.
11748 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11749 * gdb.threads/threadapply.exp: Ditto.
11750 * gdb.threads/watchthreads.exp: Ditto.
11751 * gdb.threads/watchthreads2.exp: Ditto.
11752
11753 * gdb.python/py-block.exp: Use gdb_test_no_output.
11754 * gdb.python/py-prettyprint.exp: Ditto.
11755 * gdb.python/py-template.exp: Ditto.
11756 * gdb.python/py-value.exp: Ditto.
11757
11758 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
11759 * gdb.reverse/watch-reverse.exp: Ditto.
11760
11761 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
11762 * gdb.server/ext-run.exp: Ditto.
11763
11764 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
11765 * gdb.dwarf2/dw2-compressed.exp: Ditto.
11766 * gdb.dwarf2/dw2-intercu.exp: Ditto.
11767 * gdb.dwarf2/dw2-intermix.exp: Ditto.
11768 * gdb.dwarf2/dw2-producer.exp: Ditto.
11769 * gdb.dwarf2/mac-fileno.exp: Ditto.
11770
11771 * gdb.gdb/observer.exp: Use gdb_test_no_output.
11772 * gdb.gdb/selftest.exp: Ditto.
11773
11774 * gdb.multi/base.exp: Use gdb_test_no_output.
11775
11776 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
11777
11778 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11779
11780 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
11781
11782 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
11783
11784 * gdb.cp/class2.exp: Use gdb_test_no_output.
11785 * gdb.cp/classes.exp: Ditto.
11786 * gdb.cp/extern-c.exp: Ditto.
11787 * gdb.cp/inherit.exp: Ditto.
11788 * gdb.cp/maint.exp: Ditto.
11789 * gdb.cp/mb-inline.exp: Ditto.
11790 * gdb.cp/mb-templates.exp: Ditto.
11791 * gdb.cp/method2.exp: Ditto.
11792 * gdb.cp/misc.exp: Ditto.
11793 * gdb.cp/ovldbreak.exp: Ditto.
11794 * gdb.cp/punctuator.exp: Ditto.
11795 * gdb.cp/templates.exp: Ditto.
11796 * gdb.cp/virtbase.exp: Ditto.
11797
11798 * gdb.threads/attach-stopped.exp:
11799 Replace uses of send_gdb / gdb_expect.
11800 * gdb.threads/attachstop-mt.exp:
11801 Replace uses of send_gdb / gdb_expect.
11802 * gdb.threads/gcore-thread.exp:
11803 Replace uses of send_gdb / gdb_expect.
11804 * gdb.threads/hand-call-in-threads.exp:
11805 Replace uses of send_gdb / gdb_expect.
11806 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
11807 * gdb.threads/print-threads.exp:
11808 Replace uses of send_gdb / gdb_expect.
11809 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
11810 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
11811 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
11812
11813 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
11814 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
11815 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
11816 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
11817 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
11818 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
11819 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
11820 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
11821 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
11822 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
11823 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
11824
11825 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11826
11827 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
11828
11829 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
11830
11831 * gdb.cp/koenig.exp: Added new test case.
11832 * gdb.cp/koenig.cc: Ditto.
11833
11834 2010-06-01 Michael Snyder <msnyder@vmware.com>
11835
11836 * gdb.base/arithmet.exp: Use gdb_test_no_output.
11837 * gdb.base/arrayidx.exp: Ditto.
11838 * gdb.base/attach.exp: Ditto.
11839 * gdb.base/auxv.exp: Ditto.
11840 * gdb.base/bigcre.exp: Ditto.
11841 * gdb.base/break-always.exp: Ditto.
11842 * gdb.base/break-interp.exp: Ditto.
11843 * gdb.base/break.exp: Ditto.
11844 * gdb.base/breakpoint-shadow.exp: Ditto.
11845 * gdb.base/call-ar-st.exp: Ditto.
11846 * gdb.base/call-sc.exp: Ditto.
11847 * gdb.base/call-signal-resume.exp: Ditto.
11848 * gdb.base/callfuncs.exp: Ditto.
11849 * gdb.base/catch-syscall.exp: Ditto.
11850 * gdb.base/charset.exp: Ditto.
11851 * gdb.base/code-expr.exp: Ditto.
11852 * gdb.base/commands.exp: Ditto.
11853 * gdb.base/cond-expr.exp: Ditto.
11854 * gdb.base/condbreak.exp: Ditto.
11855 * gdb.base/cursal.exp: Ditto.
11856 * gdb.base/cvexpr.exp: Ditto.
11857 * gdb.base/default.exp: Ditto.
11858 * gdb.base/del.exp: Ditto.
11859 * gdb.base/detach.exp: Ditto.
11860 * gdb.base/display.exp: Ditto.
11861 * gdb.base/ena-dis-br.exp: Ditto.
11862 * gdb.base/eval-skip.exp: Ditto.
11863 * gdb.base/foll-fork.exp: Ditto.
11864 * gdb.base/foll-vfork.exp: Ditto.
11865 * gdb.base/frame-args.exp: Ditto.
11866 * gdb.base/funcargs.exp: Ditto.
11867 * gdb.base/gcore-buffer-overflow.exp: Ditto.
11868 * gdb.base/gdbvars.exp: Ditto.
11869 * gdb.base/help.exp: Ditto.
11870 * gdb.base/ifelse.exp: Ditto.
11871 * gdb.base/included.exp: Ditto.
11872 * gdb.base/list.exp: Ditto.
11873 * gdb.base/macscp.exp: Ditto.
11874 * gdb.base/maint.exp: Ditto.
11875 * gdb.base/multi-fork.exp: Ditto.
11876 * gdb.base/overlays.exp: Ditto.
11877 * gdb.base/page.exp: Ditto.
11878 * gdb.base/pending.exp: Ditto.
11879 * gdb.base/pointers.exp: Ditto.
11880 * gdb.base/pr11022.exp: Ditto.
11881 * gdb.base/prelink.exp: Ditto.
11882 * gdb.base/printcmds.exp: Ditto.
11883 * gdb.base/psymtab.exp: Ditto.
11884 * gdb.base/randomize.exp: Ditto.
11885 * gdb.base/relational.exp: Ditto.
11886 * gdb.base/relocate.exp: Ditto.
11887 * gdb.base/remote.exp: Ditto.
11888 * gdb.base/sepdebug.exp: Ditto.
11889 * gdb.base/set-lang-auto.exp: Ditto.
11890 * gdb.base/setshow.exp: Ditto.
11891 * gdb.base/setvar.exp: Ditto.
11892 * gdb.base/signals.exp: Ditto.
11893 * gdb.base/signull.exp: Ditto.
11894 * gdb.base/sigstep.exp: Ditto.
11895 * gdb.base/sizeof.exp: Ditto.
11896 * gdb.base/solib-disc.exp: Ditto.
11897 * gdb.base/store.exp: Ditto.
11898 * gdb.base/structs.exp: Ditto.
11899 * gdb.base/structs2.exp: Ditto.
11900 * gdb.base/subst.exp: Ditto.
11901 * gdb.base/term.exp: Ditto.
11902 * gdb.base/trace-commands.exp: Ditto.
11903 * gdb.base/unwindonsignal.exp: Ditto.
11904 * gdb.base/valgrind-db-attach.exp: Ditto.
11905 * gdb.base/varargs.exp: Ditto.
11906 * gdb.base/watch-cond.exp: Ditto.
11907 * gdb.base/watch_thread_num.exp: Ditto.
11908 * gdb.base/watchpoint-cond-gone.exp: Ditto.
11909 * gdb.base/watchpoint.exp: Ditto.
11910 * gdb.base/whatis-exp.exp: Ditto.
11911
11912 2010-06-01 Michael Snyder <msnyder@vmware.com>
11913
11914 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
11915 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
11916 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
11917 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
11918 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
11919 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
11920 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
11921 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
11922 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
11923 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
11924 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
11925 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
11926 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
11927 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
11928 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
11929
11930 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11931
11932 * gdb.base/commands.exp (begin commands on watch): Remove excessive
11933 trailing newline.
11934 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
11935 * gdb.java/jmisc.exp (p *args\n): Rename to ...
11936 (p *args): ... here and remove excessive trailing newline.
11937
11938 2010-05-31 Joel Brobecker <brobecker@adacore.com>
11939
11940 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
11941
11942 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11943
11944 Accept the new Linux kernel "t (tracing stop)" string.
11945 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
11946 Update comment.
11947 (state_wait) <T (tracing stop)>: New.
11948 (main): Update the state_wait expect string.
11949
11950 2010-05-28 Pedro Alves <pedro@codesourcery.com>
11951
11952 * limits.c, limits.exp: Delete files.
11953 * Makefile.in (clean mostlyclean): Adjust.
11954 * tracecmd.exp: Adjust.
11955
11956 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11957
11958 * gdb.base/tui-layout.exp: New.
11959
11960 2010-05-28 Michael Snyder <msnyder@vmware.com>
11961
11962 * gdb.reverse/break-precsave.exp:
11963 Replace uses of send_gdb / gdb_expect.
11964 * gdb.reverse/break-reverse.exp:
11965 Replace uses of send_gdb / gdb_expect.
11966 * gdb.reverse/consecutive-precsave.exp:
11967 Replace uses of send_gdb / gdb_expect.
11968 * gdb.reverse/consecutive-reverse.exp:
11969 Replace uses of send_gdb / gdb_expect.
11970 * gdb.reverse/finish-precsave.exp:
11971 Replace uses of send_gdb / gdb_expect.
11972 * gdb.reverse/finish-reverse.exp:
11973 Replace uses of send_gdb / gdb_expect.
11974 * gdb.reverse/i386-precsave.exp:
11975 Replace uses of send_gdb / gdb_expect.
11976 * gdb.reverse/i386-reverse.exp:
11977 Replace uses of send_gdb / gdb_expect.
11978 * gdb.reverse/i386-sse-reverse.exp:
11979 Replace uses of send_gdb / gdb_expect.
11980 * gdb.reverse/i387-env-reverse.exp:
11981 Replace uses of send_gdb / gdb_expect.
11982 * gdb.reverse/i387-stack-reverse.exp:
11983 Replace uses of send_gdb / gdb_expect.
11984 * gdb.reverse/machinestate-precsave.exp:
11985 Replace uses of send_gdb / gdb_expect.
11986 * gdb.reverse/machinestate.exp:
11987 Replace uses of send_gdb / gdb_expect.
11988 * gdb.reverse/sigall-precsave.exp:
11989 Replace uses of send_gdb / gdb_expect.
11990 * gdb.reverse/sigall-reverse.exp:
11991 Replace uses of send_gdb / gdb_expect.
11992 * gdb.reverse/solib-precsave.exp:
11993 Replace uses of send_gdb / gdb_expect.
11994 * gdb.reverse/solib-reverse.exp:
11995 Replace uses of send_gdb / gdb_expect.
11996 * gdb.reverse/step-precsave.exp:
11997 Replace uses of send_gdb / gdb_expect.
11998 * gdb.reverse/step-reverse.exp:
11999 Replace uses of send_gdb / gdb_expect.
12000 * gdb.reverse/until-precsave.exp:
12001 Replace uses of send_gdb / gdb_expect.
12002 * gdb.reverse/until-reverse.exp:
12003 Replace uses of send_gdb / gdb_expect.
12004 * gdb.reverse/watch-precsave.exp:
12005 Replace uses of send_gdb / gdb_expect.
12006 * gdb.reverse/watch-reverse.exp:
12007 Replace uses of send_gdb / gdb_expect.
12008
12009 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12010
12011 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
12012 excessive newline.
12013
12014 2010-05-27 Michael Snyder <msnyder@vmware.com>
12015
12016 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
12017 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
12018 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
12019 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
12020 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
12021 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
12022 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
12023 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
12024 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
12025 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
12026 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
12027 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
12028 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
12029 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
12030 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
12031 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
12032 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
12033 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
12034 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
12035
12036 2010-05-26 Michael Snyder <msnyder@vmware.com>
12037
12038 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
12039 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
12040
12041 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
12042 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
12043 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
12044
12045 * gdb.reverse/consecutive-reverse.exp:
12046 Replace uses of send_gdb / gdb_expect.
12047 * gdb.reverse/consecutive-precsave.exp:
12048 Replace uses of send_gdb / gdb_expect.
12049
12050 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
12051 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
12052 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
12053 * gdb.mi/mi-ns-stale-regcache.exp:
12054 Replace uses of send_gdb / gdb_expect.
12055 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
12056 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
12057 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
12058 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
12059 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
12060 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
12061 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
12062 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
12063 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
12064
12065 2010-05-26 Michael Snyder <msnyder@vmware.com>
12066
12067 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
12068
12069 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
12070
12071 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
12072 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
12073 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
12074 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
12075 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
12076 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
12077 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
12078 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
12079 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
12080
12081 2010-05-25 Tom Tromey <tromey@redhat.com>
12082
12083 * gdb.base/macscp.exp: Add missing space after setup_kfail.
12084
12085 2010-05-25 Tom Tromey <tromey@redhat.com>
12086
12087 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
12088 argument order.
12089 * gdb.base/macscp.exp: Fix setup_kfail argument order.
12090 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
12091 order.
12092 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
12093 order.
12094 * gdb.base/call-sc.exp (setup_kfails): Remove.
12095 (setup_compiler_kfails): Remove.
12096 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
12097 argument order.
12098 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
12099 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
12100 (advancei): Fix setup_kfail argument order.
12101 * gdb.base/radix.exp: Fix setup_kfail argument order.
12102 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
12103 order.
12104 * gdb.base/structs.exp (setup_kfails): Remove.
12105 (setup_compiler_kfails): Fix setup_kfail argument order.
12106 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
12107 order.
12108 * gdb.java/jmain.exp: Fix setup_kfail argument order.
12109 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
12110 setup_kfail argument order.
12111 * gdb.cp/overload.exp: Fix setup_kfail argument order.
12112
12113 2010-05-25 Tom Tromey <tromey@redhat.com>
12114
12115 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
12116
12117 2010-05-25 Michael Snyder <msnyder@vmware.com>
12118
12119 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
12120 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
12121 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
12122 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
12123 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
12124 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
12125 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
12126 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
12127 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
12128 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
12129 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
12130 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
12131 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
12132 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
12133 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
12134 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
12135 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
12136 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
12137 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
12138 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
12139 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
12140 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
12141 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
12142 * gdb.base/default.exp: Replace send_gdb with gdb_test.
12143 * gdb.base/define.exp: Replace send_gdb with gdb_test.
12144 * gdb.base/display.exp: Replace send_gdb with gdb_test.
12145 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
12146 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
12147 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
12148 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
12149 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
12150 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
12151 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
12152 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
12153 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
12154 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
12155 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
12156 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
12157 * gdb.base/help.exp: Replace send_gdb with gdb_test.
12158 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
12159 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
12160 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
12161 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
12162 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
12163 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
12164 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
12165 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
12166 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
12167
12168 2010-05-25 Doug Evans <dje@google.com>
12169
12170 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
12171 gdb.string_to_argv.
12172
12173 2010-05-21 Tom Tromey <tromey@redhat.com>
12174
12175 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
12176 Call it.
12177 * gdb.dwarf2/pieces.S: Update.
12178 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
12179
12180 2010-05-21 Tom Tromey <tromey@redhat.com>
12181
12182 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
12183 Call it.
12184 * gdb.dwarf2/pieces.c (struct C): New.
12185 (f6): New function.
12186 * gdb.dwarf2/pieces.S: Replace.
12187
12188 2010-05-21 Tom Tromey <tromey@redhat.com>
12189
12190 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
12191 Call it.
12192
12193 2010-05-21 Tom Tromey <tromey@redhat.com>
12194
12195 * gdb.dwarf2.pieces.exp: New file.
12196 * gdb.dwarf2.pieces.S: New file.
12197 * gdb.dwarf2.pieces.c: New file.
12198
12199 2010-05-20 Pedro Alves <pedro@codesourcery.com>
12200 Joel Brobecker <brobecker@adacore.com>
12201
12202 * lib/gdb.exp (gdb_test_no_output): New function.
12203 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
12204 when testing commands that should produce no output.
12205
12206 2010-05-17 Joel Brobecker <brobecker@adacore.com>
12207
12208 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
12209 parameter that we want to watch being a constant.
12210
12211 2010-05-17 Joel Brobecker <brobecker@adacore.com>
12212
12213 * gdb.ada/cond_lang: New testcase.
12214
12215 2010-05-17 Joel Brobecker <brobecker@adacore.com>
12216
12217 * lib/gdb.exp (banned_variables): New variable/constant.
12218 (gdb_init): Add write trace on variables listed in banned_variables.
12219 (gdb_finish): Remove write traces on variables listed in
12220 banned_variables.
12221
12222 2010-05-17 Joel Brobecker <brobecker@adacore.com>
12223
12224 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
12225 * gdb.cp/koenig.exp: Likewise.
12226
12227 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
12228
12229 PR python/11482
12230
12231 * gdb.python/py-value.exp (test_value_hash): New function.
12232
12233 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
12234
12235 PR exp/11530.
12236 * gdb.base/gdb11530.c: New file.
12237 * gdb.base/gdb11530.exp: New file.
12238
12239 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12240
12241 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
12242 * gdb.dwarf2/dw2-modula2-self-type.S: New.
12243
12244 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
12245
12246 * gdb.cp/koenig.exp: New test.
12247 * gdb.cp/koenig.cc: New test program.
12248
12249 2010-05-05 Joel Brobecker <brobecker@adacore.com>
12250
12251 Remove the use of prms_id and bug_id throughout the testsuite.
12252
12253 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
12254
12255 PR exp/11349.
12256 * testsuite/gdb.cp/ref-types.exp: Add test to examine
12257 use a reference local variable.
12258
12259 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12260
12261 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
12262 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
12263 variable different_dir. Move debugfile into a full directory pathname
12264 under DIFFERENT_DIR.
12265 * lib/gdb.exp (separate_debug_filename): Remove.
12266 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
12267 variable debug_dir and mkdir of it. Update function comments.
12268
12269 2010-04-29 Pedro Alves <pedro@codesourcery.com>
12270
12271 PR gdb/11557
12272
12273 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
12274 files.
12275
12276 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
12277
12278 * gdb.python/py-param.exp: New File.
12279
12280 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
12281
12282 * gdb.base/default.exp: Fix "set language" test.
12283
12284 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
12285
12286 PR breakpoints/11531.
12287 * gdb.base/gdb11531.c: New file.
12288 * gdb.base/gdb11531.exp: New file.
12289
12290 2010-04-26 Tom Tromey <tromey@redhat.com>
12291
12292 * gdb.base/completion.exp: Add tests for completion and deprecated
12293 commands.
12294
12295 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12296
12297 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
12298 (print /x char_array): Escape curly brackets.
12299
12300 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12301
12302 Fix deadlock on looped list of loaded shared objects.
12303 * gdb.base/solib-corrupted.exp: New.
12304
12305 2010-04-23 Doug Evans <dje@google.com>
12306
12307 * gdb.python/py-section-script.c: New file.
12308 * gdb.python/py-section-script.exp: New file.
12309 * gdb.python/py-section-script.py: New file.
12310
12311 2010-04-20 Chris Moller <cmoller@redhat.com>
12312
12313 PR 10179
12314
12315 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
12316 * gdb.base/pr10179-a.c:
12317 * gdb.base/pr10179-b.c:
12318 * gdb.base/pr10179.exp: New files.
12319
12320 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12321
12322 Fix crashes on dangling display expressions.
12323 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
12324 is SEP.
12325 (lib_flags): Remove the "debug" keyword.
12326 (libsepdebug): New variable for iterating new loop.
12327 (save_pf_prefix): New variable wrapping the loop.
12328 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
12329 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
12330
12331 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12332
12333 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
12334
12335 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12336
12337 PR stabs/11479.
12338 * gdb.stabs/gdb11479.exp: New file.
12339 * gdb.stabs/gdb11479.c: New file.
12340
12341 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12342
12343 * gdb.base/charset.c (Strin16, String32): New variables.
12344 * gdb.base/charset.exp (gdb_test): Test correct display
12345 of 16 or 32 bit strings.
12346
12347 2010-04-21 Chris Moller <cmoller@redhat.com>
12348
12349 PR 9167
12350 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
12351 * gdb.cp/pr9167.cc: New file.
12352 * gdb.cp/pr9167.exp: New file.
12353
12354
12355 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
12356
12357 PR pascal/11492.
12358 * gdb.pascal/gdb11492.pas: New file.
12359 * gdb.pascal/gdb11492.exp: New file.
12360
12361 2010-04-20 Joel Brobecker <brobecker@adacore.com>
12362
12363 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
12364
12365 2010-04-20 Joel Brobecker <brobecker@adacore.com>
12366
12367 * gdb.ada/dyn_loc: New testcase.
12368
12369 2010-04-20 Chris Moller <cmoller@redhat.com>
12370
12371 PR 10867
12372
12373 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
12374 * gdb.cp/pr10687.cc: New file.
12375 * gdb.cp/pr10687.exp: New file.
12376
12377
12378 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12379 Sergio Durigan Junior <sergiodj@redhat.com>
12380
12381 * gdb.fortran/logical.exp: New testcase.
12382 * gdb.fortran/logical.f90: New file.
12383
12384 2010-04-19 Doug Evans <dje@google.com>
12385
12386 * gdb.base/help.exp (help source): Update expected output.
12387
12388 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12389
12390 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
12391 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
12392 gdb_exit and return.
12393 (executable): New variable.
12394 (binfile): Use it.
12395
12396 2010-04-19 Pedro Alves <pedro@codesourcery.com>
12397
12398 PR breakpoints/8554.
12399
12400 * gdb.trace/save-trace.exp: Adjust.
12401
12402 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
12403
12404 PR corefiles/11511
12405 * gdb.arch/system-gcore.exp: New.
12406 * gdb.arch/gcore.c: Likewise.
12407
12408 2010-04-15 Doug Evans <dje@google.com>
12409
12410 * gdb.python/py-progspace.c: New file.
12411 * gdb.python/py-progspace.exp: New file.
12412
12413 * gdb.base/source.exp: Add tests for "source -s".
12414
12415 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
12416
12417 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
12418 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
12419 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
12420 * gdb.python/py-mi.exp: New test for to_string returning None.
12421
12422 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
12423
12424 * gdb.python/py-breakpoint.c: Make result global.
12425
12426 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12427
12428 Fix non-GNU make compatibility.
12429 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
12430
12431 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
12432
12433 * gdb.python/py-breakpoint.exp: New File.
12434 * gdb.python/py-breakpoint.C: Ditto.
12435
12436 2010-04-08 Stan Shebs <stan@codesourcery.com>
12437
12438 * gdb.trace/actions.exp: Clear default-collect.
12439 * gdb.trace/save-trace.exp: Clear default-collect.
12440
12441 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
12442
12443 * gdb.python/py-value: Add null string variable.
12444 (test_lazy_string): Test zero length, NULL address lazy
12445 strings.
12446
12447 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
12448
12449 * gdb.arch/i386-avx.c: New.
12450 * gdb.arch/i386-avx.exp: Likewise.
12451
12452 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
12453
12454 2010-04-06 Doug Evans <dje@google.com>
12455
12456 * gdb.base/source-test.gdb: New file.
12457 * gdb.base/source.exp: Test source -v.
12458
12459 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12460
12461 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
12462
12463 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
12464
12465 * gdb.stabs/aout.sed: Convert all backslash to double backslash
12466 within one line, unless it is followed by a double quote.
12467 * gdb.stabs/hppa.sed: Idem.
12468 * gdb.stabs/weird.def: Add char and String constants
12469 * gdb.stabs/weird.exp: Check for correct parsing of
12470 char and string constants.
12471 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
12472 in .stabs to .stabx substitution.
12473
12474 2010-04-05 Stan Shebs <stan@codesourcery.com>
12475
12476 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
12477 constant global.
12478 * gdb.trace/tfile.exp: Try to print them.
12479
12480 2010-04-04 Stan Shebs <stan@codesourcery.com>
12481
12482 * gdb.base/completion.exp: Update for new "info watchpoints".
12483 * gdb.base/default.exp: Ditto.
12484 * gdb.base/help.exp: Ditto.
12485 * gdb.base/watchpoint.exp: Ditto.
12486 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
12487
12488 2010-04-04 Stan Shebs <stan@codesourcery.com>
12489
12490 * gdb.trace/tfile.exp: Sharpen tfind test.
12491
12492 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12493
12494 * gdb.base/break-entry.exp: New.
12495
12496 2010-04-02 Hui Zhu <teawater@gmail.com>
12497 Michael Snyder <msnyder@vmware.com>
12498
12499 * gdb.reverse/i386-sse-reverse.exp: New file.
12500 * gdb.reverse/i386-sse-reverse.c: New file.
12501
12502 2010-04-02 Pedro Alves <pedro@codesourcery.com>
12503
12504 * gdb.trace/tfind.exp: Adjust expected disassembly output.
12505
12506 2010-04-01 Stan Shebs <stan@codesourcery.com>
12507
12508 * gdb.trace/actions.exp: Tweak expected output.
12509 * gdb.trace/while-stepping.exp: Tweak expected output.
12510
12511 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
12512
12513 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
12514
12515 2010-04-01 Pedro Alves <pedro@codesourcery.com>
12516
12517 * gdb.base/commands.exp: Adjust.
12518 * gdb.cp/extern-c.exp: Adjust.
12519
12520 2010-04-01 Pedro Alves <pedro@codesourcery.com>
12521
12522 * gdb.trace/collection.c (local_test_func): Define a local struct,
12523 and instanciate it.
12524
12525 2010-04-01 Pedro Alves <pedro@codesourcery.com>
12526
12527 * gdb.trace/collection.exp (gdb_collect_args_test)
12528 (gdb_collect_argarray_test): XFAIL the tests that assume the
12529 argarray argument's elements are collected.
12530
12531 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
12532
12533 * gdb.dwarf2/dw2-bad-parameter-type.exp,
12534 gdb.dwarf2/dw2-bad-parameter-type.S: New.
12535
12536 2010-03-31 Stan Shebs <stan@codesourcery.com>
12537
12538 * gdb.trace/save-trace.exp: Test save/restore of default-collect
12539 and tracepoint conditionals.
12540 (gdb_verify_tracepoints): Delete unused return.
12541
12542 2010-03-26 Keith Seitz <keiths@redhat.com>
12543
12544 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
12545 appear in the output before main.
12546 Remove KFAIL for gdb/2215 aka bz 9320.
12547
12548 2010-03-30 Doug Evans <dje@google.com>
12549
12550 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
12551 by dejagnu.
12552 * gdb.arch/amd64-dword.exp: Ditto.
12553
12554 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
12555 match.
12556 (break printf): Ditto.
12557
12558 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
12559
12560 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
12561 gcc < 4.4.
12562 * gdb.cp/shadow.exp: Ditto.
12563
12564 2010-03-29 Pedro Alves <pedro@codesourcery.com>
12565
12566 * gdb.trace/collection.exp (run_trace_experiment): Make sure
12567 "tstart" is silent.
12568
12569 2010-03-29 Pedro Alves <pedro@codesourcery.com>
12570
12571 * gdb.trace/collection.exp (executable): New.
12572 (binfile): Use it.
12573 (fpreg, spreg, pcreg): New.
12574 (test_register): Use gdb_test_multiple. Pass /x to print.
12575 (prepare_for_trace_test): New.
12576 (run_trace_experiment): Use "continue", not gdb_run_cmd.
12577 (gdb_collect_args_test, gdb_collect_argstruct_test)
12578 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
12579 prepare_for_trace_test.
12580 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
12581 fpreg, spreg and pcreg.
12582 (gdb_collect_expression_test, gdb_collect_globals_test): Use
12583 prepare_for_trace_test.
12584 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
12585 try to detect tracing support here. Don't set breakpoints at
12586 `begin' or `end' here.
12587 <global scope>: Use clean_restart. Run to main before checking
12588 for tracing support. Check for for tracing support here.
12589
12590 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12591
12592 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
12593 " as $displacement" to "seen displacement message".
12594
12595 2010-03-28 Pedro Alves <pedro@codesourcery.com>
12596
12597 * gdb.trace/while-dyn.exp (executable): New variable.
12598 (binfile): Use it.
12599 (test_while_stepping): New function. Move most tests here. Call
12600 it once for each of the while-stepping, stepping and ws aliases.
12601
12602 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12603
12604 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
12605 that do not provide the tagless_struct type name at all.
12606 (test_print_anon_union): Do not check value of uninitialized
12607 union member. Do not use cp_test_ptype_class, so we can accept
12608 "long" as well as "long int".
12609
12610 2010-03-26 Pedro Alves <pedro@codesourcery.com>
12611
12612 * gdb.trace/tfile.c (tohex, bin2hex): New.
12613 (write_error_trace_file): Hexify error description.
12614
12615 2010-03-25 Stan Shebs <stan@codesourcery.com>
12616
12617 * gdb.trace/tfile.c: Generate an additional trace file, improve
12618 portability.
12619 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
12620 files in a better way.
12621
12622 2010-03-25 Keith Seitz <keiths@redhat.com>
12623
12624 * gdb.java/jprint.exp: XFAIL printing of static class members
12625 because of GCC debuginfo problem.
12626
12627 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12628
12629 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
12630
12631 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12632
12633 * gdb.base/completion.exp: Allow long instead of long int.
12634 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
12635 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
12636 variable p.
12637 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
12638 * gdb.base/pointers.exp: Allow long instead of long int.
12639 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
12640 * gdb.base/step-line.exp: Allow a directory before the source file name.
12641
12642 2010-03-24 Tom Tromey <tromey@redhat.com>
12643
12644 PR breakpoints/9352:
12645 * gdb.base/default.exp: Update.
12646 * gdb.base/commands.exp: Update.
12647 * gdb.cp/extern-c.exp: Test setting commands on multiple
12648 breakpoints at once.
12649
12650 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12651
12652 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
12653 if gdb,nosignals.
12654 * gdb.base/watchpoints.c: Do not include unnecessary headers.
12655 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
12656 exited".
12657
12658 2010-03-24 Stan Shebs <stan@codesourcery.com>
12659
12660 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
12661
12662 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12663
12664 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
12665 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
12666 argument. Handle "short" and "long".
12667 (Top level): Pass overprototyped output for old_fptr and xptr.
12668
12669 2010-03-23 Pedro Alves <pedro@codesourcery.com>
12670
12671 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
12672 format strings and add casts to avoid compiler warnings.
12673
12674 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
12675
12676 * lib/trace-support.exp (gdb_trace_setactions):
12677 Don't expect whitespace after ">" prompt.
12678 * gdb.trace/actions.exp: Adjust for output changes.
12679 * gdb.trace/while-stepping.exp: Likewise.
12680
12681 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12682
12683 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
12684 and r157645).
12685
12686 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12687
12688 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
12689 New.
12690
12691 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
12692
12693 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
12694 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
12695
12696 2010-03-19 Stan Shebs <stan@codesourcery.com>
12697
12698 * gdb.trace/ax.exp: New file.
12699
12700 2010-03-19 Doug Evans <dje@google.com>
12701
12702 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
12703 output from gcc.
12704
12705 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
12706 named /usr/sbin/prelink<foo>.
12707
12708 2010-03-18 Stan Shebs <stan@codesourcery.com>
12709
12710 * gdb.trace/circ.exp: Test circular-trace-buffer.
12711 * gdb.trace/tfile.exp: Update tstatus test.
12712
12713 2010-03-18 Joel Brobecker <brobecker@adacore.com>
12714
12715 * gdb.dwarf2/dw2-anonymous-func.S: New file.
12716 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
12717
12718 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12719
12720 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
12721
12722 2010-03-18 Pedro Alves <pedro@codesourcery.com>
12723
12724 * gdb.base/default.exp: Adjust the expected output of the finish
12725 and until commands when the inferior is not being run.
12726
12727 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
12728
12729 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
12730 * gdb.cp/nsusing.exp: Ditto.
12731
12732 2010-03-15 Tom Tromey <tromey@redhat.com>
12733
12734 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
12735 * gdb.cp/userdef.cc (operator==): New function.
12736 (main): New locals mem1, mem2.
12737
12738 2010-03-15 Jie Zhang <jie@codesourcery.com>
12739
12740 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
12741 Declare and use new loadtimeout variable.
12742
12743 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
12744
12745 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
12746 Use gdb_load later.
12747
12748 2010-03-14 Pedro Alves <pedro@codesourcery.com>
12749
12750 * gdb.base/solib-disc.c (main): Make format of fprintf a string
12751 literal. Add missing endlines to prints to stderr.
12752
12753 2010-03-12 Tom Tromey <tromey@redhat.com>
12754
12755 PR c++/9708:
12756 * gdb.cp/m-static.exp: Add regression test.
12757 * gdb.cp/m-static.cc (method): New method.
12758 (main): Call it.
12759
12760 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
12761
12762 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
12763 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
12764
12765 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12766
12767 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
12768
12769 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12770
12771 * lib/gdb.exp (skip_stl_tests): New.
12772 (gdb_compile): Symbian needs -ldl.
12773 (shlib_target_file): New.
12774 (shlib_symbol_file): New.
12775 (gdb_load_shlibs): Use shlib_target_file.
12776 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
12777 * gdb.cp/exception.exp: Use skip_stl_tests.
12778 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
12779 * gdb.cp/try_catch.exp: Use skip_stl_tests.
12780 * gdb.cp/mb-templates.exp: Ditto.
12781 * gdb.base/commands.exp: Relax regexes.
12782 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
12783 shlib_target_file and shlib_symbol_file.
12784 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
12785 sections.
12786 * gdb.base/ending-run.exp: Accept E32Main for symbian.
12787 * gdb.base/solib-disc.exp: Use
12788 shlib_target_file and shlib_symbol_file.
12789 * gdb.base/unload.exp: Don't skip on symbian. Use
12790 shlib_target_file and shlib_symbol_file.
12791 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
12792
12793 2010-03-12 Pedro Alves <pedro@codesourcery.com>
12794
12795 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
12796 * gdb.trace/report.exp: Adjust for x86 and x86_64.
12797 Issue a tfind end before looking for a tracepoint frame.
12798 * gdb.trace/tfind.exp: Adjust tstatus output.
12799 Adjust disassembly output.
12800 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
12801
12802 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12803
12804 * gdb.base/break-interp.exp: Create new displacement parameter value
12805 for the test_ld calls.
12806 (reach): New parameter displacement, verify its content. New push of
12807 pf_prefix "reach-$func:". Import global expect_out.
12808 (test_core): New parameter displacement, verify its content. New push
12809 of pf_prefix "core:". New command "set verbose on". Import global
12810 expect_out.
12811 (test_attach): New parameter displacement, verify its content. New
12812 push of pf_prefix "attach:". New command "set verbose on". Import
12813 global expect_out.
12814 (test_ld): New parameter displacement, pass it to the reach, test_core
12815 and test_attach calls and verify its content in the "ld.so exit" test.
12816 * gdb.base/prelink.exp: Remove gdb_exit and final return.
12817 (prelink): Update expected text, use gdb_test.
12818
12819 2010-03-10 Doug Evans <dje@google.com>
12820
12821 * gdb.base/checkpoint.exp: Fix comment.
12822 Lengthen timeout while doing >600 checkpoints test.
12823 Rename duplicate "kill all one" test to keep test names unique.
12824
12825 2010-03-10 Pedro Alves <pedro@codesourcery.com>
12826
12827 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
12828
12829 2010-03-08 Keith Seitz <keiths@redhat.com>
12830
12831 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
12832 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
12833 (dm_type_long): New function.
12834 (dm_type_unsigned_short): New function.
12835 (dm_type_unsigned_long): New function.
12836 (myint): New typedef.
12837 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
12838 long, unsigned shor and long, operator char*, and typedef.
12839 (test_lookup_operator_functions): Add operator char* test.
12840 (test_paddr_operator_functions): Likewise.
12841 (test_paddr_overloaded_functions): Use probe values for
12842 short, long, and unsigned short and long.
12843 (test_paddr_hairy_functions): If the demangler probe detected
12844 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
12845 demangler.
12846 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
12847 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
12848 and "print null_pmf".
12849 Add test "ptype a.*pmf".
12850 * gdb.cp/overload.exp: Allow optional "int" to appear with
12851 "short" and "long".
12852 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
12853 long expect value for men_overload1arg.
12854 Allow "int" to appear with "short" and "long".
12855 When testing "info break", add argument for main (void).
12856 Also allow "int" to appear with "short" and "long".
12857 Ditto with "unsigned" and "long long".
12858 * gdb.java/jmain.exp: Do not enclose methods names in single
12859 quotes.
12860 * gdb.java/jmisc.exp: Likewise.
12861 * gdb.java/jprint.exp: Likewise.
12862 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
12863
12864 From Jan Kratochvil <jan.kratochvil@redhat.com>:
12865 * gdb.cp/exception.exp (backtrace after first throw)
12866 (backtrace after second throw): Allow a namespace before __cxa_throw.
12867 (backtrace after first catch, backtrace after second catch): Allow
12868 a namespace before __cxa_begin_catch.
12869
12870 * gdb.cp/cpexprs.exp: New file.
12871 * gdb.cp/cpexprs.cc: New file.
12872
12873 From Daniel Jacobowitz <dan@codesourcery.com>
12874 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
12875 to use string_to_regexp.
12876 (ctor, dtor): New functions. Use them to match constructor
12877 and destructor function types.
12878 (Top level): Use runto_main.
12879
12880 2010-03-05 Tom Tromey <tromey@redhat.com>
12881
12882 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
12883 gdb.target_charset.
12884 (pp_ns.to_string): Likewise.
12885
12886 2010-03-04 Keith Seitz <keiths@redhat.com>
12887
12888 * gdb.cp/overload.exp: Test that the filename portion of a linespec
12889 can be quoted. Test that both the filename and function/line
12890 portions can be quoted at the same time.
12891
12892 2010-03-04 Pedro Alves <pedro@codesourcery.com>
12893
12894 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
12895
12896 2010-03-03 Doug Evans <dje@google.com>
12897
12898 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
12899 libc contains libpthread.
12900
12901 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
12902 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
12903 of gdb_compile. Add another pattern to match android backtrace.
12904
12905 2010-03-03 Tom Tromey <tromey@redhat.com>
12906
12907 PR gdb/11345:
12908 * gdb.base/printcmds.exp (test_printf): Add test.
12909
12910 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
12911
12912 * gdb.arch/amd64-byte.exp: New.
12913 * gdb.arch/amd64-dword.exp: Likewise.
12914 * gdb.arch/amd64-pseudo.c: Likewise.
12915 * gdb.arch/amd64-word.exp: Likewise.
12916 * gdb.arch/i386-byte.exp: Likewise.
12917 * gdb.arch/i386-pseudo.c: Likewise.
12918 * gdb.arch/i386-word.exp: Likewise.
12919
12920 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
12921
12922 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
12923 types. Add structreg, bitfields, and flags registers.
12924 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
12925 registers.
12926
12927 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
12928
12929 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
12930 (load_description): Set architecture if defined.
12931
12932 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
12933
12934 * gdb.python/py-frame.exp: Add read_var block tests.
12935 * gdb.python/py-frame.c (block): New function.
12936
12937 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12938 Daniel Jacobowitz <dan@codesourcery.com>
12939
12940 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
12941
12942 2010-02-25 David S. Miller <davem@davemloft.net>
12943
12944 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
12945 fix logic for setting all_syscalls_numbers.
12946
12947 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12948
12949 * Makefile.in: Add py-block and py-symbol.
12950 * gdb.python/py-symbol.exp: New File.
12951 * gdb.python/py-symtab.exp: New File.
12952 * gdb.python/py-block.exp: New File.
12953 * gdb.python/py-symbol.c: New File.
12954 * gdb.python/py-block.c: New File.
12955
12956 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12957
12958 PR python/11314
12959 * lib/gdb.exp (skip_python_tests): New function.
12960 * gdb.python/py-cmd.exp: Use skip_python_tests.
12961 * gdb.python/py-frame.exp: Likewise.
12962 * gdb.python/py-function.exp: Likewise.
12963 * gdb.python/py-prettyprint.exp: Likewise.
12964 * gdb.python/py-template.exp: Likewise.
12965 * gdb.python/py-type.exp: Likewise.
12966 * gdb.python/py-value.exp: Likewise.
12967
12968 2010-02-22 Pedro Alves <pedro@codesourcery.com>
12969
12970 PR9605
12971
12972 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
12973
12974 2010-02-19 Tom Tromey <tromey@redhat.com>
12975
12976 PR c++/8693, PR c++/9496:
12977 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
12978 regression tests.
12979
12980 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12981
12982 Fix compatibility with m68k as.
12983 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
12984 Use only /* comments */.
12985
12986 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12987
12988 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
12989 * configure: Regenerate.
12990
12991 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
12992
12993 * gdb.python/py-type.exp: Check for Python support.
12994
12995 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12996
12997 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
12998 `regsub' syntax available.
12999
13000 2010-02-17 Pedro Alves <pedro@codesourcery.com>
13001
13002 * gdb.base/shmain.c (main): Remove printf call.
13003 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
13004 * gdb.base/unload.c (main): Make format of fprintf a string
13005 literal. Add missing endlines to prints to stderr.
13006 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
13007
13008 2010-02-17 Tom Tromey <tromey@redhat.com>
13009
13010 * gdb.java/jprint.java (jprint.props): New field.
13011 * gdb.java/jprint.exp (set_lang_java): Add regression test.
13012
13013 2010-02-17 Pedro Alves <pedro@codesourcery.com>
13014
13015 * gdb.base/charset.exp: Don't assume new `regsub' syntax
13016 available.
13017
13018 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13019
13020 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
13021 creation to support remote host testing.
13022
13023 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13024
13025 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
13026 Recognize "command not found".
13027
13028 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13029
13030 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
13031 single-stepping.
13032
13033 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13034
13035 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
13036 if arguments are not supported.
13037
13038 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13039
13040 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
13041 be const or non-const.
13042
13043 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13044
13045 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
13046 mi_send_resuming_command to send -exec-continue.
13047
13048 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13049
13050 * gdb.base/list.exp (test_list_filename_and_function): Add test
13051 with single quotes.
13052 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
13053 matching.
13054 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
13055 Add KFAIL'd tests for PR gdb/11289.
13056
13057 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13058
13059 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
13060
13061 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13062
13063 * gdb.base/comp-dir/subdir/dummy.txt: New file.
13064 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
13065 a temporary directory.
13066
13067 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13068
13069 * gdb.base/charset.exp: Use a single regular expression to match
13070 show host-charset and show target-charset output.
13071
13072 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13073
13074 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
13075 "Illegal process-id" expect string more exact.
13076 (attach to digits-starting nonsense is prohibited): New.
13077
13078 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13079
13080 * gdb.base/prelink.exp (set verbose on): New.
13081
13082 2010-02-12 Tomas Holmberg <th@virtutech.com>
13083
13084 * mi-reverse.exp: New file. Test for reverse option to the
13085 following MI commands: exec-continue, exec-finish, exec-next,
13086 exec-step, exec-next-instruction, exec-step-instruction.
13087
13088 2010-02-09 Joel Brobecker <brobecker@adacore.com>
13089
13090 * gdb.ada/ptype_tagged_param: New testcase.
13091
13092 2010-02-08 Tom Tromey <tromey@redhat.com>
13093
13094 PR c++/8017:
13095 * gdb.cp/overload.exp: Add tests.
13096 * gdb.cp/overload.cc (struct K): New.
13097 (namespace N): New.
13098 (main): Call new functions.
13099 (K::staticoverload): Define.
13100
13101 2010-02-08 Chris Moller <moller@mollerware.com>
13102
13103 PR gdb/10728
13104 * gdb.cp/pr10728-x.h: New file.
13105 * gdb.cp/pr10728-x.cc: New file.
13106 * gdb.cp/pr10728-y.cc: New file.
13107 * gdb.cp/pr10728.exp: New file.
13108 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
13109
13110 2010-02-08 Chris Moller <moller@mollerware.com>
13111
13112 PR gdb/9067
13113 * gdb.cp/pr9067.exp: New
13114 * gdb.cp/pr9067.cc: New
13115 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
13116
13117 2010-02-08 Joel Brobecker <brobecker@adacore.com>
13118
13119 * lib/gdb.exp (gdb_test_timeout): New global variable.
13120 Set it to timeout if not already set.
13121 (gdb_init): Reset the value of timeout to gdb_test_timeout.
13122
13123 2010-02-05 Doug Evans <dje@google.com>
13124
13125 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
13126 user.
13127
13128 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
13129
13130 PR c++/7935:
13131 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
13132
13133 2010-02-04 Tom Tromey <tromey@redhat.com>
13134
13135 * gdb.cp/virtbase.exp: Make test case names unique.
13136
13137 2010-02-02 Tom Tromey <tromey@redhat.com>
13138
13139 * gdb.cp/virtbase.exp: Add regression tests.
13140 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
13141 (main): Instantiate RHC.
13142
13143 2010-02-02 Tom Tromey <tromey@redhat.com>
13144
13145 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
13146 type-printing change.
13147
13148 2010-02-02 Tom Tromey <tromey@redhat.com>
13149
13150 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
13151 * gdb.cp/virtbase.cc: New file.
13152 * gdb.cp/virtbase.exp: New file.
13153 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
13154
13155 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13156
13157 PR libc/11214:
13158 * gdb.threads/current-lwp-dead.c: Include features.h.
13159 (HAS_NOMMU): New.
13160 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
13161
13162 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13163
13164 * gdb.base/symbol-without-target_section.exp,
13165 gdb.base/symbol-without-target_section.c: New.
13166
13167 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13168
13169 * gdb.base/bigcore.exp: Reset increased timeout.
13170 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
13171
13172 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13173
13174 * gdb.base/gcore.exp (capture_command_output): Use
13175 gdb_test_multiple.
13176
13177 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13178
13179 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
13180 * gdb.arch/thumb2-it.exp (test_it_break): New function.
13181 (Top level): Call it.
13182
13183 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13184
13185 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
13186
13187 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
13188
13189 * gdb.base/call-strs.exp, gdb.base/default.exp,
13190 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
13191 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
13192 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
13193 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
13194 gdb.base/watchpoint-solib.exp: Save and restore timeout.
13195 * gdb.base/ending-run.exp: Correct restore of timeout.
13196 * gdb.base/page.exp: Remove unnecessary timeout setting.
13197
13198 2010-01-29 Joel Brobecker <brobecker@adacore.com>
13199
13200 * gdb.ada/rec_return: New testcase.
13201
13202 2010-01-29 Joel Brobecker <brobecker@adacore.com>
13203
13204 * gdb.ada/call_pn: New testcase.
13205
13206 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
13207
13208 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
13209 (Top level): Use it to resume.
13210 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
13211 the Thumb mode displaced stepping error as unsupported.
13212
13213 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
13214
13215 * gdb.cp/nsusing.exp: Added more tests.
13216 * gdb.cp/nsrecurs.exp: Ditto.
13217 * gdb.cp/nsusing.cc: Added test functions.
13218 * gdb.cp/nsrecurs.cc: Ditto.
13219
13220 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13221
13222 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
13223 absolute directory pathnames in gdb.sum file.
13224
13225 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
13226
13227 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
13228 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
13229
13230 2010-01-26 Tom Tromey <tromey@redhat.com>
13231
13232 PR exp/7643:
13233 * gdb.base/printcmds.exp (test_print_string_constants): Remove
13234 setup_kfail.
13235
13236 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
13237
13238 * gdb.cp/nsrecurs.exp: New test.
13239 * gdb.cp/nsrecurs.cc: New test program.
13240 * gdb.cp/nsstress.exp: New test.
13241 * gdb.cp/nsstress.cc: New test program.
13242 * gdb.cp/nsdecl.exp: New test.
13243 * gdb.cp/nsdecl.cc: New test program.
13244
13245 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
13246
13247 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
13248 imported into file scope.
13249 Marked test as xfail.
13250 * gdb.cp/namespace-using.cc (marker5): New function.
13251 * gdb.cp/shadow.exp: New test.
13252 * gdb.cp/shadow.cc: New test program.
13253 * gdb.cp/nsimport.exp: New test.
13254 * gdb.cp/nsimport.cc: New test program.
13255
13256 2010-01-25 Tom Tromey <tromey@redhat.com>
13257
13258 PR gdb/11049:
13259 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
13260 with "set print null-stop on".
13261
13262 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13263
13264 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
13265 Adjust it for DISASSEMBLY_OMIT_FNAME.
13266
13267 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13268
13269 PR symtab/11199:
13270 * gdb.dwarf2/member-ptr-forwardref.exp,
13271 gdb.dwarf2/member-ptr-forwardref.S: New.
13272
13273 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13274
13275 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
13276 (thread1_func): Protect thread1_tid with thread1_tid_cond by
13277 thread1_tid_mutex. Remove gdbstop_mutex handling.
13278 (thread2_func): Protect thread2_tid with thread2_tid_cond by
13279 thread2_tid_mutex. Remove gdbstop_mutex handling.
13280 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
13281 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
13282 pthread_cond_wait conditionalizations by while loops.
13283
13284 2010-01-20 Tom Tromey <tromey@redhat.com>
13285
13286 PR backtrace/10770:
13287 * gdb.dwarf2/pr10770.exp: New file.
13288 * gdb.dwarf2/pr10770.c: New file.
13289 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
13290
13291 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
13292
13293 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
13294 that target was removed, and the test always runs native anyway.
13295
13296 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13297
13298 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
13299 gdb.base/watchpoint-cond-gone-stripped.c: New.
13300
13301 2010-01-19 Tom Tromey <tromey@redhat.com>
13302
13303 PR c++/8000:
13304 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
13305 existing tests.
13306 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
13307 (main): Use AAA::SomeEnum.
13308
13309 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13310
13311 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
13312 (test_ignore_count): Declare line_callme_body global.
13313 (run to breakpoint with ignore count): Use line_callme_body.
13314 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
13315 (set line_main_hello, set line_main_return): Reindent.
13316 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
13317 New.
13318 (continue to callee4): Use line_callee4_body.
13319 (check *stopped from CLI command): Use line_callee4_next.
13320 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
13321 (set line_main_hello, set line_main_return): Reindent.
13322 (set line_callee4_head, set line_callee4_body): New.
13323 (continue to callee4): Use line_callee4_body.
13324
13325 2010-01-18 Tom Tromey <tromey@redhat.com>
13326
13327 PR c++/9680:
13328 * gdb.cp/casts.cc: Add new classes and variables.
13329 * gdb.cp/casts.exp: Test new operators.
13330
13331 2010-01-18 Tom Tromey <tromey@redhat.com>
13332 Thiago Jung Bauermann <bauerman@br.ibm.com>
13333
13334 * gdb.python/source2.py: New file.
13335 * gdb.python/source1: New file.
13336 * gdb.python/python.exp: Test "source" command.
13337
13338 2010-01-15 Stan Shebs <stan@codesourcery.com>
13339
13340 * gdb.trace/tfile.c: New file.
13341 * gdb.trace/tfile.exp: New file.
13342
13343 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13344
13345 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
13346
13347 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13348
13349 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
13350
13351 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13352
13353 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
13354 (libfunc): New parameter action. Implement also selectable "sleep".
13355 * gdb.base/break-interp-main.c: Include assert.h.
13356 (libfunc): New parameter action.
13357 (main): New parameters argc and argv. Assert argc. Pass argv.
13358 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
13359 (test_attach): New proc.
13360 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
13361 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
13362
13363 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13364
13365 * gdb.base/break-interp.exp (test_core): New proc.
13366 (test_ld): Call it.
13367
13368 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13369
13370 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
13371 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
13372 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
13373 and gdb_compile_shlib. Use new -Wl compiler options.
13374 (dl bt, main bt): New tests.
13375
13376 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13377
13378 Support PIEs with no symfile_objfile.
13379 * gdb.base/break-interp.exp: New argument at the test_ld calls.
13380 (test_ld): New parameter trynosym.
13381 (test_ld <$trynosym>): New block.
13382
13383 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13384
13385 * gdb.base/break-interp.exp: New file.
13386
13387 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
13388
13389 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
13390 * gdb.python/py-prettyprint.py (pp_ls): New printer.
13391 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
13392 test.
13393 * gdb.python/py-prettyprint.c: Define lazystring test structure.
13394 * gdb.python/py-mi.exp: Add lazy string test.
13395
13396 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
13397
13398 * lib/mi-support.exp (mi_check_thread_states): Handle
13399 core number in thread listing.
13400
13401 2010-01-12 Joel Brobecker <brobecker@adacore.com>
13402
13403 * gdb.base/maint.exp: Adjust the expected output for the
13404 "maint print type" test. Use gdb_test_multiple instead of
13405 gdb_sent/gdb_expect.
13406
13407 2010-01-11 Doug Evans <dje@google.com>
13408
13409 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
13410 from gdbserver_download. All callers updated.
13411
13412 * gdb.server/ext-run.exp: "info os processes" requires xml support.
13413
13414 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13415
13416 Implement binary numbers parsing.
13417 * gdb.base/printcmds.exp (test_integer_literals_accepted)
13418 (test_integer_literals_rejected): New binary tests.
13419
13420 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13421
13422 * gdb.cell/configure: Regenerate.
13423
13424 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13425
13426 * gdb.base/corefile.exp: Move the core finding block out and call it as
13427 core_find, new variable $corefile, replace corefile by $corefile and
13428 [file tail $corefile] for usage vs. test names resp.
13429 * lib/gdb.exp (core_find): Move it as a new function here. New
13430 parameter binfile and deletefiles. New variable $destcore. Pre-delete
13431 $destcore. Return "" on error.
13432
13433 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13434
13435 Workaround PR binutils/10802.
13436 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
13437 (twice).
13438
13439 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
13440
13441 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
13442
13443 2010-01-08 Joel Brobecker <brobecker@adacore.com>
13444
13445 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
13446 call, to avoid interruption.
13447
13448 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13449
13450 * gdb.stabs/weird.def (args93): New.
13451
13452 2010-01-07 Doug Evans <dje@google.com>
13453
13454 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
13455
13456 2010-01-07 Tom Tromey <tromey@redhat.com>
13457
13458 * gdb.base/source.exp: Use correct line number.
13459
13460 2010-01-05 Stan Shebs <stan@codesourcery.com>
13461
13462 * gdb.trace/tracecmd.exp: Test ftrace.
13463
13464 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13465
13466 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
13467
13468 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13469
13470 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
13471 "uint_for_mi_testing".
13472
13473 2010-01-01 Joel Brobecker <brobecker@adacore.com>
13474
13475 Test indented comment in file being sourced.
13476 * gdb.base/commands.exp: Test indented comment in file being sourced.
13477
13478 2010-01-01 Joel Brobecker <brobecker@adacore.com>
13479
13480 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
13481 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
13482 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
13483 notice.
13484
13485 2010-01-01 Joel Brobecker <brobecker@adacore.com>
13486
13487 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
13488 notice.
13489
13490 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13491
13492 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
13493 missing $after_stopped and comma (,) expectation.
13494
13495 2009-12-31 Stan Shebs <stan@codesourcery.com>
13496
13497 * gdb.trace/actions.exp: Test teval action.
13498
13499 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
13500
13501 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
13502 (top level): Call test_watchpoint_in_big_blob.
13503 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
13504 watchpoints.
13505 (func3): Write to buf.
13506
13507 2009-12-29 Stan Shebs <stan@codesourcery.com>
13508
13509 * gdb.trace/actions.exp: Test default-collect.
13510
13511 2009-12-28 Stan Shebs <stan@codesourcery.com>
13512
13513 * gdb.trace/tsv.exp: New file.
13514 * gdb.base/completion.exp: Update ambiguous info output.
13515
13516 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
13517
13518 * gdb.base/find.c (main): Reference search buffers.
13519 * gdb.base/included.c (main): Reference integer.
13520 * gdb.base/ptype.c (charfoo): Declare.
13521 (intfoo): Call charfoo.
13522 * gdb.base/scope0.c (useitp): New function.
13523 (usestatics): Use useitp.
13524 (useit): Add a type for val.
13525 * gdb.base/scope1.c (useit1): Take a pointer argument.
13526 (usestatics1): Update calls to useit1.
13527 * gdb.cp/call-c.cc: Declare foo.
13528 (main): Call foo.
13529 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
13530 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
13531 (main): Call C::ensureRefs and ensureOtherRefs.
13532 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
13533 variables.
13534 (ensureOtherRefs): New function.
13535 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
13536 * gdb.cp/templates.cc (main): Call t5i.value.
13537
13538 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13539
13540 Fix compatibility with G++-4.5.
13541 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
13542 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
13543 (uncaught return): Remove.
13544
13545 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13546 Phil Muldoon <pmuldoon@redhat.com>
13547
13548 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
13549 (bp_location13, bp_location14, bp_location17, bp_location18)
13550 (marker3_proto, marker4_proto): New variables.
13551 (breakpoint info): Update output.
13552 (run until breakpoint at marker3, run until breakpoint at marker4): New
13553 tests.
13554
13555 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13556
13557 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
13558 Replace the printf call of Y by provided "y-set-1" label. New block
13559 for the second shared library.
13560 * gdb.base/unload.exp: Compile also the second library, call
13561 gdb_load_shlibs also for it. Use now gdb_breakpoint.
13562 (single pending breakpoint info): Rename to ...
13563 (pending breakpoint info before run): ... this extended test.
13564 (libfile2, libname2, libsrcfile2, libsrc2)
13565 (lib_sl2): New variables.
13566 (exec_opts): Set also SHLIB_NAME2.
13567 (pending breakpoint info on first run at shrfunc1)
13568 (pending breakpoint info on second run at shrfunc1)
13569 (pending breakpoint info on second run at shrfunc2)
13570 (print y from libfile, print y from libfile2): New tests.
13571 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
13572 * gdb.base/unloadshr2.c: New.
13573
13574 2009-12-22 Hui Zhu <teawater@gmail.com>
13575
13576 * gdb.reverse/sigall-reverse.exp: Adjust.
13577
13578 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
13579
13580 PR gdb/10884
13581
13582 * gdb.mi/var-cmd.c (do_bitfield_tests): New
13583 (main): Call do_bitfield_tests.
13584 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
13585
13586 2009-12-20 Joel Brobecker <brobecker@adacore.com>
13587
13588 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
13589 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
13590 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
13591 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
13592 gdb.modula2/unbounded1.c: Update copyright header.
13593
13594 2009-12-10 Chris Moller <moller@mollerware.com>
13595
13596 PR gdb/9399
13597 * gdb.cp/virtfunc2.exp: New tests
13598 * gdb.cp/virtfunc2.cc: New tests
13599 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
13600
13601 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
13602
13603 * gdb.reverse/i387-env-reverse.c: New file.
13604 * gdb.reverse/i387-env-reverse.exp: New file.
13605 * gdb.reverse/i387-stack-reverse.c: New file.
13606 * gdb.reverse/i387-stack-reverse.exp: New file.
13607
13608 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
13609
13610 * gdb.python/py-type.exp (test_range): New test.
13611
13612 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
13613
13614 PR python/10805
13615
13616 * gdb.python/py-type.exp: New file.
13617 * gdb.python/py-type.c: New file.
13618 * Makefile.in: Add py-type.
13619
13620 2009-12-03 Tom Tromey <tromey@redhat.com>
13621
13622 * gdb.python/py-value.exp (test_parse_and_eval): New
13623 function.
13624
13625 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13626
13627 PR gdb/11022
13628
13629 * gdb.base/pr11022.exp: New test.
13630 * gdb.base/pr11022.c: New test.
13631
13632 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13633
13634 Fix spurious false FAILs.
13635 * gdb.base/structs.c (chartest): New.
13636 (main): Fill-in chartest.
13637 * gdb.base/structs.exp (anychar_re, first): New.
13638 (start_structs_test): Import global anychar_re and first.
13639 New gdb_test call "set print elements 300; ${testfile}"
13640 (start_structs_test <$first>): New block.
13641 (any): Import global anychar_re. New variable ac. Use ${ac}.
13642
13643 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13644
13645 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
13646
13647 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13648
13649 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
13650 Force $srcfile file.
13651 * gdb.base/foll-fork.c (callee): Comment out the printf call.
13652
13653 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13654
13655 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
13656 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
13657 * gdb.threads/watchthreads-reorder.exp: Likewise.
13658
13659 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
13660
13661 PR gdb/8704
13662
13663 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
13664 "if", and "thread". Correct matching in the previous test.
13665
13666 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
13667
13668 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
13669
13670 2009-11-23 Michael Snyder <msnyder@vmware.com>
13671
13672 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
13673 * gdb.reverse-watch-precsave.exp: Ditto.
13674
13675 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
13676
13677 * gdb.asm/asm-source.exp: Adjust.
13678 * gdb.base/help.exp: Adjust.
13679
13680 2009-11-22 Pedro Alves <pedro@codesourcery.com>
13681
13682 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
13683 (do_syscall_tests_without_xml): Set data-directory to
13684 /the/path/to/nowhere.
13685
13686 2009-11-21 Pedro Alves <pedro@codesourcery.com>
13687
13688 * gdb.threads/local-watch-wrong-thread.c,
13689 gdb.threads/local-watch-wrong-thread.exp: New files.
13690
13691 2009-11-21 Pedro Alves <pedro@codesourcery.com>
13692
13693 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
13694 assume new `regsub' syntax available.
13695
13696 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13697
13698 * gdb.base/watchpoint-hw-hit-once.exp,
13699 gdb.base/watchpoint-hw-hit-once.c: New.
13700
13701 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13702
13703 * gdb.threads/watchthreads-reorder.exp,
13704 gdb.threads/watchthreads-reorder.c: New.
13705
13706 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
13707
13708 * gdb.xml/tdesc-regs.exp: Use for m68k.
13709
13710 2009-11-15 Pedro Alves <pedro@codesourcery.com>
13711
13712 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
13713
13714 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13715
13716 * lib/gdb.exp (current_target_name): New procedure.
13717 (gdb_wrapper_target): New variable.
13718 (gdb_wrapper_init): Set gdb_wrapper_target.
13719 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
13720 wrapper.
13721
13722 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13723
13724 * gdb.base/remote.exp: Delete the slowest load test.
13725 Do not load with fixed packet sizes.
13726
13727 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13728
13729 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
13730
13731 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13732
13733 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
13734 srcfile when setting a breakpoint.
13735
13736 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
13737
13738 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
13739 macros.
13740
13741 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13742
13743 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
13744 to be in memory.
13745 * gdb.base/display.c (force_mem): New.
13746 (do_loops): Use it. Add breakpoint comments.
13747 (do_vars): Add a breakpoint comment.
13748 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
13749 line numbers.
13750
13751 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
13752
13753 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
13754 instead of a bare "run".
13755
13756 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13757
13758 * gdb.python/py-prettyprint.exp: Adjust.
13759
13760 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13761
13762 * lib/cell.exp (skip_cell_tests): Clean up test files before
13763 returning.
13764
13765 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13766
13767 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
13768 and the breakpoint menu. Do not call perror if a prompt is seen.
13769 Consume the following GDB prompt.
13770 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
13771 * gdb.cp/namespace.exp: Use gdb_test.
13772 * gdb.cp/templates.exp: Use gdb_test.
13773 (test_template_breakpoints): Use gdb_test_multiple.
13774
13775 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13776
13777 * gdb.base/break1.c (struct some_struct, values): Move earlier.
13778 (marker4): Reference values.
13779
13780 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13781
13782 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
13783 is missing.
13784
13785 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13786
13787 * gdb.base/break.c (need_malloc): New.
13788 * gdb.base/constvars.c (main): Reference crass and crisp.
13789 * gdb.base/gdb1821.c (main): Reference bar.
13790 * gdb.cp/gdb1355.cc (main): Reference s1.
13791 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
13792 (main): Call them.
13793 * gdb.cp/hang2.cc (dummy2): Define.
13794 * gdb.cp/hang3.cc (dummy3): Define.
13795 * gdb.cp/m-data.cc (main): Reference shadow.
13796
13797 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13798 Nathan Froyd <froydnj@codesourcery.com>
13799
13800 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
13801 remote host.
13802
13803 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
13804
13805 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
13806 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
13807 * gdb.dwarf2/dw2-compressed.exp: Likewise.
13808 * gdb.dwarf2/dw2-intercu.exp: Likewise.
13809 * gdb.dwarf2/dw2-intermix.exp: Likewise.
13810 * gdb.dwarf2/dw2-producer.exp: Likewise.
13811 * gdb.dwarf2/mac-fileno.exp: Likewise.
13812 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
13813 py-prettyprint.py to the remote host.
13814 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
13815
13816 2009-11-11 Keith Seitz <keiths@redhat.com>
13817
13818 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
13819 use it instead of "Foo".
13820 * gdb.cp/classes.exp (do_tests): Add a test to access
13821 a method through a typedef'd class name.
13822
13823 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
13824
13825 * gdb.base/long_long.exp: Permit leading zeros on floating-point
13826 exponents.
13827 * gdb.base/pointers.exp: Likewise.
13828 * gdb.cp/ref-types.exp: Likewise.
13829
13830 2009-11-11 Keith Seitz <keiths@redhat.com>
13831
13832 * gdb.cp/cplusfuncs.cc (class foo): Add operators
13833 new[] and delete[].
13834 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
13835 "void".
13836 (probe_demangler): Remove all single-quoting of
13837 method and variable names.
13838 (info_func_regexp): Remove the word "void" from any
13839 occurrence of "(void)".
13840 (print_addr_2): Remove all single-quoting of
13841 method names.
13842 (print_addr_2_kfail): Likewise.
13843 (print_addr): Single-quote C function names before
13844 passing to print_addr_2.
13845 (test_paddr_operator_functions): Remove single-quoting
13846 for method names.
13847 Add tests for operator new[] and operator delete[].
13848
13849 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13850
13851 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
13852
13853 2009-11-09 Keith Seitz <keiths@redhat.com>
13854
13855 * gdb.cp/overload.exp: Add tests for resolving overloaded
13856 methods in expression parsing/evaluation.
13857
13858 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
13859
13860 * lib/gdb.exp (default_gdb_version): Use --version instead of
13861 --command.
13862
13863 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
13864
13865 * lib/gdb.exp (gdb_compile_test): New.
13866 (skip_ada_tests, skip_java_tests): New.
13867 (gdb_compile): Use gdb_compile_test for f77.
13868 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
13869 * lib/java.exp (compile_java_from_source): Remove runtests check,
13870 use gdb_compile_test to record result.
13871 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
13872 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
13873 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
13874 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
13875 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
13876 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
13877 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
13878 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
13879 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
13880 adjust gdb_compile invocations.
13881
13882 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13883
13884 * Makefile.in (abs_builddir): New.
13885 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
13886 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
13887 `$(abs_builddir)/site.exp'.
13888
13889 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
13890
13891 * config/m68k-emc.exp, lib/emc-support.exp,
13892 gdb.trace/gdb_c_test.c: Delete.
13893 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
13894 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13895 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13896 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13897 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13898 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
13899 casing for m68k-*-elf.
13900
13901 2009-11-03 Pedro Alves <pedro@codesourcery.com>
13902
13903 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
13904 * gdb.arch/i386-prologue.exp: Likewise.
13905 * gdb.arch/i386-unwind.exp: Likewise.
13906
13907 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13908
13909 * lib/gdb.exp (gdb_expect): Fix timeout typo.
13910
13911 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13912
13913 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
13914
13915 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13916
13917 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
13918
13919 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13920
13921 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
13922
13923 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13924
13925 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
13926 * gdb.base/sepdebug2.c: New file.
13927
13928 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13929
13930 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
13931 the modified warnings for catch syscall. Verify if GDB was compiled
13932 with support for lib expat, and choose which tests to run depending
13933 on this.
13934
13935 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
13936
13937 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
13938 that composite commands are parsed OK. And also test
13939 that breakpoint commands do work.
13940
13941 2009-10-23 Michael Snyder <msnyder@vmware.com>
13942
13943 gdb.reverse/consecutive-precsave.exp: Change expect pattern
13944 to allow for new disassembly style.
13945
13946 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13947
13948 * gdb.asm/asm-source.exp: Adjust.
13949
13950 2009-10-22 Michael Snyder <msnyder@vmware.com>
13951
13952 * gdb.reverse/break-precsave.exp: New test.
13953 * gdb.reverse/consecutive-precsave.exp: Ditto.
13954 * gdb.reverse/finish-precsave.exp: Ditto.
13955 * gdb.reverse/i386-precsave.exp: Ditto.
13956 * gdb.reverse/machinestate-precsave.exp: Ditto.
13957 * gdb.reverse/sigall-precsave.exp: Ditto.
13958 * gdb.reverse/solilb-precsave.exp: Ditto.
13959 * gdb.reverse/step-precsave.exp: Ditto.
13960 * gdb.reverse/until-precsave.exp: Ditto.
13961 * gdb.reverse/watch-precsave.exp: Ditto.
13962
13963 2009-10-22 Michael Snyder <msnyder@vmware.com>
13964
13965 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
13966 for gdb_expect. Adjust one test's expect strings for the new
13967 format of disassemble.
13968 * gdb.reverse/finish-reverse.exp: Delete 'return'.
13969 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
13970 gdb_test_multiple.
13971 * gdb.reverse/step-reverse.exp: Delete 'return'.
13972 * gdb.reverse/until-reverse.exp: Delete blank lines.
13973 * gdb.reverse/watch-reverse.exp: Delete blank lines.
13974
13975 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
13976
13977 * gdb.base/consecutive.exp: Adjust.
13978 * gdb.base/display.exp: Likewise.
13979 * gdb.base/pc-fp.exp: Likewise.
13980 * gdb.base/sigbpt.exp: Likewise.
13981
13982 2009-10-19 Michael Snyder <msnyder@vmware.com>
13983
13984 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
13985 * gdb.reverse/finish-reverse.c: Ditto.
13986 * gdb.reverse/sigall-reverse.c: Ditto.
13987 * gdb.reverse/solib-reverse.c: Ditto.
13988 * gdb.reverse/step-reverse.c: Ditto.
13989 * gdb.reverse/watch-reverse.c: Ditto.
13990
13991 2009-10-19 Pedro Alves <pedro@codesourcery.com>
13992 Stan Shebs <stan@codesourcery.com>
13993
13994 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
13995 * gdb.base/foll-exec.exp: Adjust to expect a process id before
13996 "Executing new program".
13997 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
13998 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
13999 left listed after having been killed.
14000 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
14001 * gdb.base/maint.exp: Adjust test.
14002
14003 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
14004 * gdb.multi/Makefile.in: New.
14005 * gdb.multi/base.exp: New.
14006 * gdb.multi/goodbye.c: New.
14007 * gdb.multi/hangout.c: New.
14008 * gdb.multi/hello.c: New.
14009 * gdb.multi/bkpt-multi-exec.c: New.
14010 * gdb.multi/bkpt-multi-exec.exp: New.
14011 * gdb.multi/crashme.c: New.
14012
14013 2009-10-13 Tristan Gingold <gingold@adacore.com>
14014
14015 * gdb.base/sepdebug.exp: Check debug info are found.
14016
14017 2009-10-08 Pedro Alves <pedro@codesourcery.com>
14018
14019 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
14020 bits.
14021
14022 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14023
14024 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
14025
14026 2009-10-07 Joel Brobecker <brobecker@adacore.com>
14027
14028 * gdb.base/watchpoints.c: Add copyright header. Reformat one
14029 of the comments.
14030
14031 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
14032
14033 * gdb.base/annota1.exp: Remove obsolete match_max increase.
14034 * gdb.base/annota3.exp: Idem.
14035 * gdb.base/maint.exp: Idem.
14036
14037 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
14038
14039 * lib/gdb.exp (default_gdb_init): Set current value of match_max
14040 to default.
14041
14042 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
14043
14044 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
14045 mingw and cygwin targets.
14046
14047 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
14048 Pedro Alves <pedro@codesourcery.com>
14049
14050 * lib/gdb.exp (gdb_compile): Avoid adding
14051 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
14052
14053 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
14054
14055 * gdb.base/shr1.c: Use %p in format string.
14056 * gdb.base/unload.c: Avoid warning in fprintf.
14057 * gdb.base/watchpoint-solib.c: Idem.
14058
14059 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
14060
14061 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
14062 long type.
14063 (test_unlink): Correct printf string.
14064 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
14065 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
14066
14067 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14068
14069 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
14070 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
14071 * gdb.arch/ia64-breakpoint-shadow.S: New file.
14072
14073 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14074
14075 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
14076 * gdb.objc/nondebug.exp: Likewise.
14077
14078 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14079
14080 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
14081 target_info setting.
14082
14083 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
14084 that detect new threads during "info threads".
14085
14086 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14087
14088 * gdb.threads/manythreads.c (main): Increase thread stack size
14089 to 2*PTHREAD_STACK_MIN.
14090 * gdb.threads/multi-create.c (main): Likewise.
14091 (create_function): Likewise.
14092
14093 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14094
14095 * gdb.base/dump.exp: Pass difference of pointer types instead
14096 of integer types as offset to restore in intarr3.srec case.
14097
14098 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14099
14100 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
14101
14102 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14103
14104 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
14105
14106 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
14107
14108 New test for two watchpoints, with disabling of
14109 the first inserted.
14110 * testsuite/gdb.base/watchpoints.c: New file.
14111 * testsuite/gdb.base/watchpoints.exp: New file.
14112
14113 2009-09-25 Tom Tromey <tromey@redhat.com>
14114
14115 * gdb.base/charset.exp: Test utf-16 strings with Python.
14116
14117 2009-09-25 Tom Tromey <tromey@redhat.com>
14118
14119 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
14120 UCS-4.
14121 * gdb.base/charset.c (utf_32_string): Rename.
14122 (init_utf32): Rename.
14123 (main): Update.
14124
14125 2009-09-22 Tom Tromey <tromey@redhat.com>
14126
14127 * gdb.python/py-function.exp: Add regression tests.
14128
14129 2009-09-21 Keith Seitz <keiths@redhat.com>
14130
14131 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
14132 with invalid operator.
14133
14134 2009-09-21 Keith Seitz <keiths@redhat.com>
14135
14136 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
14137 and destructor using typedef name of class.
14138 * gdb.cp/classes.cc (class Base1): Add a destructor.
14139 (base1): New typedef.
14140 (use_methods): Instanitate an object of type base1.
14141 * gdb.cp/templates.exp (test_template_typedef): New procedure.
14142 (do_tests): Call test_template_typedef.
14143 * gdb.cp/templates.cc (Baz::~Baz): New method.
14144 (intBazOne): New typedef.
14145 (main): Instantiate intBazOne.
14146
14147 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
14148
14149 PR python/10633
14150
14151 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
14152 Function.
14153 (run_lang_tests): Add print elements test.
14154
14155 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
14156
14157 * gdb.python/py-value.exp (test_subscript_regression): New
14158 function. Test for invalid subscripts.
14159 * gdb.python/py-value.c (main): Add test array, and pointer to it.
14160 (ptr_ref): New function.
14161
14162 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14163
14164 * gdb.base/default.exp: Fix "show convenience".
14165
14166 2009-09-15 Tom Tromey <tromey@redhat.com>
14167
14168 * lib/mi-support.exp (mi_create_varobj): Update.
14169 (mi_create_floating_varobj): Likewise.
14170 (mi_create_dynamic_varobj): New proc.
14171 (mi_varobj_update): Update.
14172 (mi_varobj_update_with_type_change): Likewise.
14173 (mi_varobj_update_kv_helper): New proc.
14174 (mi_varobj_update_dynamic_helper): Rewrite.
14175 (mi_varobj_update_dynamic): New proc.
14176 (mi_list_varobj_children): Update.
14177 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
14178 * gdb.python/python-prettyprint.py (pp_outer): New class.
14179 (pp_nullstr): Likewise.
14180 (lookup_function): Register new printers.
14181 * gdb.python/python-prettyprint.c (struct substruct): New type.
14182 (struct outerstruct): Likewise.
14183 (substruct_test): New function.
14184 (struct nullstr): New type.
14185 (string_1, string_2): New globals.
14186 (main): Add new tests.
14187 * gdb.python/python-mi.exp: Added regression tests.
14188 * gdb.mi/mi2-var-display.exp: Update.
14189 * gdb.mi/mi2-var-cmd.exp: Update.
14190 * gdb.mi/mi2-var-child.exp: Update.
14191 * gdb.mi/mi2-var-block.exp: Update.
14192 * gdb.mi/mi-var-invalidate.exp: Update.
14193 * gdb.mi/mi-var-display.exp: Update.
14194 * gdb.mi/mi-var-cmd.exp: Update.
14195 * gdb.mi/mi-var-child.exp: Update.
14196 * gdb.mi/mi-var-block.exp: Update.
14197 * gdb.mi/mi-break.exp: Update.
14198 * gdb.mi/gdb701.exp: Update.
14199
14200 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
14201
14202 * Makefile.in: Inclusion of catch-syscall object.
14203 * gdb.base/catch-syscall.c: New file.
14204 * gdb.base/catch-syscall.exp: New file.
14205
14206 2009-09-12 Michael Snyder <msnyder@vmware.com>
14207
14208 * gdb.reverse/step-reverse.exp: Explicitly check for targets
14209 that can support reverse debuggnig.
14210
14211 2009-09-11 Tom Tromey <tromey@redhat.com>
14212
14213 * gdb.dwarf2/valop.S: New file.
14214 * gdb.dwarf2/valop.exp: New file.
14215
14216 2009-09-11 Mark Kettenis <kettenis@gnu.org>
14217
14218 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
14219
14220 2009-09-10 Doug Evans <dje@google.com>
14221
14222 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
14223 Add $gdb_prompt to second breakpoint regexp.
14224
14225 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
14226
14227 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
14228 names, add missing ones.
14229 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
14230 * gdb.python/py-frame.c: Rename from python-frame.c.
14231 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
14232 testfile name.
14233 * gdb.python/py-function.exp: Rename from python-function.exp.
14234 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
14235 testfile name.
14236 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
14237 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
14238 Adjust testfile name.
14239 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
14240 * gdb.python/py-template.cc: Rename from python-template.cc.
14241 * gdb.python/py-template.exp: Rename from python-template.exp.
14242 Adjust testfile name.
14243 * gdb.python/py-value.c: Rename from python-value.c.
14244 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
14245 testfile name.
14246
14247 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14248
14249 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
14250 $bpt2address.
14251 (Second breakpoint address is valid on ia64)
14252 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
14253
14254 2009-09-03 Joseph Myers <joseph@codesourcery.com>
14255
14256 * gdb.base/ending-run.exp: Restrict regular expression matching
14257 line number to require closing brace following.
14258
14259 2009-09-03 Doug Evans <dje@google.com>
14260
14261 * gdb.base/store.exp (check_set): Fix typo in expected value message.
14262
14263 2009-09-02 Tom Tromey <tromey@redhat.com>
14264
14265 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
14266
14267 2009-09-02 Tom Tromey <tromey@redhat.com>
14268
14269 * gdb.dwarf2/callframecfa.exp: New file.
14270 * gdb.dwarf2/callframecfa.S: New file.
14271
14272 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14273
14274 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
14275 gdb.base/solib-overlap-main.c: New.
14276
14277 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
14278
14279 PR gdb/10565
14280
14281 * gdb.base/bitfields.c (struct container, container): New.
14282 (main): Initialize it and call break5.
14283 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
14284
14285 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
14286
14287 Support constant DW_AT_data_member_location by GCC PR debug/40659.
14288 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
14289
14290 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14291
14292 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
14293
14294 2009-08-26 Michael Snyder <msnyder@vmware.com>
14295
14296 * gdb.base/i386-reverse.c: New file.
14297 * gdb.base/i386-reverse.exp: New file.
14298 * gdb.base/Makefile.in: Add new files to be removed.
14299
14300 2009-08-26 Joseph Myers <joseph@codesourcery.com>
14301
14302 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
14303 environment-pwd for remote host.
14304 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
14305
14306 2009-08-24 Keith Seitz <keiths@redhat.com>
14307
14308 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
14309 Add two new C++ completer tests which limit the output to a
14310 given class.
14311
14312 2009-08-24 Michael Snyder <msnyder@vmware.com>
14313
14314 * gdb.base/del.exp: Fix typo in comment.
14315 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
14316
14317 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14318
14319 * configure: Regenerate.
14320 * gdb.hp/configure: Likewise.
14321 * gdb.hp/gdb.aCC/configure: Likewise.
14322 * gdb.hp/gdb.base-hp/configure: Likewise.
14323 * gdb.hp/gdb.compat/configure: Likewise.
14324 * gdb.hp/gdb.defects/configure: Likewise.
14325 * gdb.hp/gdb.objdbg/configure: Likewise.
14326 * gdb.stabs/configure: Likewise.
14327
14328 2009-08-19 Doug Evans <dje@google.com>
14329
14330 * gdb.base/gdbvars.c: New file.
14331 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
14332
14333 2009-08-14 Pedro Alves <pedro@codesourcery.com>
14334
14335 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
14336 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
14337
14338 2009-08-13 Pedro Alves <pedro@codesourcery.com>
14339
14340 * gdb.base/default.exp: Adjust "set language test": it's now an
14341 enum command. Larger help string moved to "help set language".
14342 * gdb.base/help.exp: Adjust "help set language" expected output,
14343 now lists all known languages.
14344
14345 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
14346
14347 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
14348 all frame arguments.
14349 * gdb.arch/altivec-regs.exp: Likewise.
14350
14351 2009-08-07 Tom Tromey <tromey@redhat.com>
14352
14353 * gdb.base/setshow.exp: Add tests for changes to set language, set
14354 check range, and set check type.
14355
14356 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
14357
14358 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
14359 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
14360 Call it.
14361
14362 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14363
14364 * configure.ac: Run gdb.cell tests when appropriate.
14365 * configure: Regenerate.
14366 * lib/cell.exp: New file.
14367 * gdb.cell: New directory.
14368 * gdb.cell/configure.ac: New file.
14369 * gdb.cell/configure: New file.
14370 * gdb.cell/Makefile.in: New file.
14371 * gdb.cell/arch.exp: New file.
14372 * gdb.cell/break.c: New file.
14373 * gdb.cell/break.exp: New file.
14374 * gdb.cell/break-spu.c: New file.
14375 * gdb.cell/bt.c: New file.
14376 * gdb.cell/bt2-spu.c: New file.
14377 * gdb.cell/bt-spu.c: New file.
14378 * gdb.cell/bt.exp: New file.
14379 * gdb.cell/coremaker.c: New file.
14380 * gdb.cell/coremaker-spu.c: New file.
14381 * gdb.cell/core.exp: New file.
14382 * gdb.cell/gcore.exp: New file.
14383 * gdb.cell/data.c: New file.
14384 * gdb.cell/data.exp: New file.
14385 * gdb.cell/data-spu.c: New file.
14386 * gdb.cell/ea-cache.exp: New file.
14387 * gdb.cell/ea-cache.c: New file.
14388 * gdb.cell/ea-cache-spu.c: New file.
14389 * gdb.cell/ea-standalone.c: New file.
14390 * gdb.cell/ea-standalone.exp: New file.
14391 * gdb.cell/ea-test.c: New file.
14392 * gdb.cell/ea-test.exp: New file.
14393 * gdb.cell/f-regs.exp: New file.
14394 * gdb.cell/mem-access.c: New file.
14395 * gdb.cell/mem-access.exp: New file.
14396 * gdb.cell/mem-access-spu.c: New file.
14397 * gdb.cell/ptype.exp: New file.
14398 * gdb.cell/registers.exp: New file.
14399 * gdb.cell/size.c: New file.
14400 * gdb.cell/sizeof.exp: New file.
14401 * gdb.cell/size-spu.c: New file.
14402 * gdb.cell/solib.exp: New file.
14403 * gdb.cell/solib-symbol.exp: New file.
14404
14405 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14406
14407 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
14408
14409 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
14410
14411 * gdb.base/float.exp: Handle VFP registers.
14412
14413 2009-07-14 Michael Snyder <msnyder@vmware.com>
14414
14415 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
14416 to bring gdb to the beginning of the calling line.
14417
14418 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
14419 confusing the i386 epilogue unwinder.
14420
14421 2009-07-14 Stan Shebs <stan@codesourcery.com>
14422
14423 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
14424
14425 2009-07-14 Michael Snyder <msnyder@vmware.com>
14426
14427 * gdb.reverse/step-reverse.exp (stepi into function call):
14428 Call instruction may not be first instruction in the line.
14429 (reverse stepi from a function call): Used wrong line number.
14430
14431 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14432
14433 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
14434
14435 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14436
14437 Fix gdb.base/macscp.exp when using custom inputrc.
14438 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
14439 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
14440 env(TERM) set.
14441 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
14442 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
14443
14444 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14445
14446 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
14447 * gdb.base/annota1.exp (thread_test): Import global $testfile.
14448 Change the compilation target to match the testcase name.
14449 * gdb.base/sect-cmd.exp: Change the compilation target to match the
14450 testcase name.
14451 * a2-run.exp: Use for setup prepare_for_testing. Change the
14452 compilation target to match the testcase name.
14453 * gdb.base/commands.exp: Likewise.
14454 * gdb.base/finish.exp: Likewise.
14455 * gdb.base/float.exp: Likewise.
14456 * gdb.base/info-target.exp: Likewise.
14457 * gdb.base/relational.exp: Likewise.
14458 * gdb.base/term.exp: Likewise.
14459 * gdb.base/until.exp: Likewise.
14460 * gdb.base/volatile.exp: Likewise.
14461 * gdb.base/whatis-exp.exp: Likewise.
14462
14463 2009-07-11 Hui Zhu <teawater@gmail.com>
14464
14465 * gdb.base/help.exp (disassemble): Update expected help text.
14466
14467 2009-07-09 Tom Tromey <tromey@redhat.com>
14468
14469 * lib/gdb.exp: Handle TRANSCRIPT.
14470 (remote_spawn, remote_close, send_gdb): New procs.
14471
14472 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
14473
14474 * gdb.python/python-prettyprint.c: Add counted null string
14475 structure.
14476 * gdb.python/python-prettyprint.exp: Print null string. Test for
14477 embedded nulls.
14478 * gdb.python/python-prettyprint.py (pp_ns): New Function.
14479 * gdb.python/python-value.exp (test_value_in_inferior): Add
14480 variable length string fetch tests.
14481 * gdb.python/python-value.c (main): Add strings for string fetch tests.
14482
14483 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14484
14485 * gdb.base/dump.exp (inaccessible memory is reported): New test.
14486
14487 2009-07-07 Tom Tromey <tromey@redhat.com>
14488
14489 * gdb.base/call-rt-st.exp: Update for change to escape output.
14490 * gdb.base/callfuncs.exp: Likewise.
14491 * gdb.base/charset.exp: Likewise.
14492 * gdb.base/constvars.exp: Likewise.
14493 * gdb.base/long_long.exp: Likewise.
14494 * gdb.base/pointers.exp: Likewise.
14495 * gdb.base/printcmds.exp: Likewise.
14496 * gdb.base/setvar.exp: Likewise.
14497 * gdb.base/store.exp: Likewise.
14498 * gdb.cp/ref-types.exp: Likewise.
14499 * gdb.mi/mi-var-child.exp: Likewise.
14500 * gdb.mi/mi-var-display.exp: Likewise.
14501 * gdb.mi/mi2-var-display.exp: Likewise.
14502 * gdb.base/charset.exp: Test octal escape sequence length.
14503 Update for change to escape output.
14504
14505 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14506
14507 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
14508
14509 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
14510
14511 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
14512
14513 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14514
14515 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
14516 gdbserver increasing $portnum if "Can't bind address" has been seen.
14517
14518 2009-07-05 Pedro Alves <pedro@codesourcery.com>
14519
14520 * gdb.base/ending-run.exp: Add "step out of main" pattern for
14521 mingw32ce.
14522
14523 2009-07-05 Pedro Alves <pedro@codesourcery.com>
14524
14525 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
14526 VFP format.
14527
14528 2009-07-02 Pedro Alves <pedro@codesourcery.com>
14529
14530 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
14531 linux. Adjust to use "inferior", "info inferiors", "detach
14532 inferior" and "kill inferior" instead of "restart", "info fork",
14533 "detach fork" and "delete fork".
14534 * gdb.base/ending-run.exp: Spell out "info".
14535 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
14536 the "kill" command.
14537
14538 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14539
14540 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
14541 change to prefix TLS offset in hex with 0x.
14542
14543 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14544
14545 * gdb.base/default.exp: Update test case for "x" changes.
14546
14547 2009-07-01 Tristan Gingold <gingold@adacore.com>
14548
14549 * gdb.base/bigcore.exp: Make darwin untested.
14550
14551 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14552
14553 * gdb.base/completion.exp (directory completion): Create the directory.
14554 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
14555 escapeuniquesub.
14556 (directory completion 2): Expect now ${escapeuniquesub}.
14557 (Glob remaining of directory test): Remove one excessive newline.
14558 Expect the real output.
14559
14560 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14561
14562 Fix `make check//%' target after `make check' has been ran.
14563 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
14564 a mkdir call.
14565 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
14566 (%/.dir): Remove.
14567
14568 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14569
14570 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
14571 the expected result record.
14572
14573 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14574
14575 Remove racy FAILs relying just on the timeouts.
14576 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
14577 (annotation_level 2): Remove racy FAILs.
14578
14579 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14580
14581 gdb/10275
14582 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
14583
14584 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
14585
14586 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
14587
14588 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
14589
14590 * gdb.mi/mi-stack.exp: Testing symbolic options
14591 to -stack-list-locals and -stack-list-arguments.
14592
14593 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14594
14595 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
14596
14597 2009-06-29 Tom Tromey <tromey@redhat.com>
14598
14599 * dg-extract-results.sh: New file.
14600 * Makefile.in (FORCE_PARALLEL): New variable.
14601 (CHECK_TARGET): New conditional variable.
14602 (check): Use CHECK_TARGET.
14603 (DO_RUNTEST): New variable.
14604 (check-single): New target.
14605 (TEST_DIRS): New variable.
14606 (TEST_TARGETS): Likewise.
14607 (check-parallel): New target.
14608 (check-gdb.%): New pattern.
14609 (BASE1_FILES): New variable.
14610 (BASE2_FILES): Likewise.
14611 (check-gdb.base%): New pattern.
14612 (%/.dir): New pattern.
14613 * configure: Rebuild.
14614 * aclocal.m4 (AM_CONDITIONAL): New defun.
14615 * configure.ac: Check whether user is using GNU make.
14616 (GMAKE): New conditional.
14617
14618 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
14619
14620 * gdb.cp/namespace-nested-import.cc: New test.
14621 * gdb.cp/namespace-nested-import.exp: New test.
14622
14623 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
14624
14625 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
14626 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
14627 * gdb.opt/Makefile.in (EXECUTABLES): Update.
14628 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
14629 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
14630 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
14631 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
14632 gdb.opt/inline-markers.c: New files.
14633 * lib/gdb.exp (skip_inline_frame_tests): New function.
14634 (skip_inline_var_tests): New function.
14635
14636 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
14637
14638 * gdb.cp/exception.exp: Don't require $hex before inner frame in
14639 backtrace.
14640
14641 2009-06-27 Michael Snyder <msnyder@vmware.com>
14642
14643 * gdb.reverse: New directory.
14644 * gdb.reverse/break-reverse.c: New test.
14645 * gdb.reverse/break-reverse.exp: New test.
14646 * gdb.reverse/consecutive-reverse.c: New test.
14647 * gdb.reverse/consecutive-reverse.exp: New test.
14648 * gdb.reverse/finish-reverse.c: New test.
14649 * gdb.reverse/finish-reverse.exp: New test.
14650 * gdb.reverse/machinestate.c: New test.
14651 * gdb.reverse/ms1.c: New test.
14652 * gdb.reverse/machinestate.exp: New test.
14653 * gdb.reverse/Makefile.in: New file.
14654 * gdb.reverse/shr2.c: New test.
14655 * gdb.reverse/solib-reverse.c: New test.
14656 * gdb.reverse/solib-reverse.exp: New test.
14657 * gdb.reverse/step-reverse.c: New test.
14658 * gdb.reverse/step-reverse.exp: New test.
14659 * gdb.reverse/until-reverse.c: New test.
14660 * gdb.reverse/ur1.c: New test.
14661 * gdb.reverse/until-reverse.exp: New test.
14662 * gdb.reverse/watch-reverse.c: New test.
14663 * gdb.reverse/watch-reverse.exp: New test.
14664 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
14665 * configure: Regenerate.
14666
14667 2009-06-26 Doug Evans <dje@google.com>
14668
14669 * gdb.base/psymtab.exp: Turn off pending breakpoints.
14670
14671 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
14672
14673 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
14674 windows problem for 'file delete $binfile'.
14675
14676 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
14677
14678 * gdb.cp/namespace-using.exp: New test.
14679 * gdb.cp/namespace-using.cc: New test.
14680
14681 2009-05-20 Joel Brobecker <brobecker@adacore.com>
14682
14683 * gdb.ada/variant_record_packed_array: New testcase.
14684
14685 2009-06-23 Tom Tromey <tromey@redhat.com>
14686
14687 * gdb.base/charset.exp (test_combination): Regression test.
14688 * gdb.base/charset.c (my_wchar_t): New typedef.
14689 (myvar): New global.
14690 (main): Set myvar.
14691
14692 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
14693
14694 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
14695 target.
14696
14697 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14698
14699 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
14700
14701 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14702
14703 * gdb.mi/gdb680.exp: Update test for error message.
14704
14705 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14706
14707 * gdb.base/annota1.exp: Allow multiple occurrences of the
14708 frames-invalid annotation.
14709 * gdb.cp/annota2.exp: Likewise.
14710
14711 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
14712
14713 * gdb.cp/gdb2495.cc: New file.
14714 * gdb.cp/gdb2495.exp: New file.
14715
14716 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14717
14718 Report error on GDB crash during runto.
14719 * lib/gdb.exp (runto <eof>): New.
14720
14721 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
14722
14723 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
14724 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
14725 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
14726 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
14727 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
14728 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
14729 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
14730 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
14731 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
14732 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
14733 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
14734 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
14735 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14736 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
14737 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
14738 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
14739 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
14740 gdb.server/server-mon.exp, gdb.server/server-run.exp,
14741 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14742 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
14743 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
14744 gdb.trace/passcount.exp, gdb.trace/report.exp,
14745 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
14746 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
14747 gdb.trace/while-stepping.exp: Use a unique name for the compiled
14748 executable.
14749
14750 2009-06-07 Pedro Alves <pedro@codesourcery.com>
14751
14752 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
14753 defined before referencing it.
14754
14755 2009-06-03 Doug Evans <dje@google.com>
14756
14757 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
14758 * gdb.arch/i386-see.c: Ditto.
14759
14760 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
14761
14762 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
14763 (check_macro): Return 1 if undefined.
14764 If first test fails, check if macro debug information is available,
14765 and report unsupported test if no macro information is found.
14766
14767 2009-05-29 Doug Evans <dje@google.com>
14768
14769 * gdb.threads/hand-call-in-threads.exp: New.
14770 * gdb.threads/hand-call-in-threads.c: New.
14771
14772 2009-05-29 Michael Snyder <msnyder@vmware.com>
14773
14774 * gdb.base/break-always.exp: Change "1" to "on".
14775 Add confirmation check.
14776
14777 2009-05-28 Pedro Alves <pedro@codesourcery.com>
14778
14779 * gdb.threads/threxit-hop-specific.c: New.
14780 * gdb.threads/threxit-hop-specific.exp: New.
14781 * gdb.threads/thread-execl.c: New.
14782 * gdb.threads/thread-execl.exp: New.
14783
14784 2009-05-27 Tom Tromey <tromey@redhat.com>
14785 Thiago Jung Bauermann <bauerman@br.ibm.com>
14786
14787 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
14788 (mi_child_regexp): Likewise.
14789 (mi_list_varobj_children_range): Likewise.
14790 (mi_get_features): Likewise.
14791 (mi_list_varobj_children): Rewrite.
14792 * gdb.python/python-mi.exp: New file.
14793
14794 2009-05-27 Tom Tromey <tromey@redhat.com>
14795 Thiago Jung Bauermann <bauerman@br.ibm.com>
14796 Phil Muldoon <pmuldoon@redhat.com>
14797 Paul Pluzhnikov <ppluzhnikov@google.com>
14798
14799 * gdb.python/python-prettyprint.exp: New file.
14800 * gdb.python/python-prettyprint.c: New file.
14801 * gdb.python/python-prettyprint.py: New file.
14802 * gdb.base/display.exp: print/r is now valid.
14803
14804 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
14805 Tom Tromey <tromey@redhat.com>
14806 Pedro Alves <pedro@codesourcery.com>
14807 Paul Pluzhnikov <ppluzhnikov@google.com>
14808
14809 * gdb.python/python-template.exp: New file.
14810 * gdb.python/python-template.cc: New file.
14811 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14812 tests.
14813 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14814 Call it.
14815 (test_value_after_death): New proc.
14816 * gdb.python/python-value.c (PTR): New typedef.
14817 (main): New variable 'x'.
14818
14819 2009-05-27 Tom Tromey <tromey@redhat.com>
14820
14821 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14822 tests.
14823 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14824 Call it.
14825
14826 2009-05-27 Pedro Alves <pedro@codesourcery.com>
14827
14828 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
14829
14830 2009-05-24 Pedro Alves <pedro@codesourcery.com>
14831
14832 * gdb.threads/fork-thread-pending.c: New.
14833 * gdb.threads/fork-thread-pending.exp: New.
14834
14835 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14836
14837 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
14838 * gdb.dwarf2/dw2-strp.S (a_string2): New.
14839
14840 2009-05-18 Jon Beniston <jon@beniston.com>
14841
14842 * gdb.asm/asm-source.exp: Add lm32 target.
14843
14844 2009-05-17 Pedro Alves <pedro@codesourcery.com>
14845
14846 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
14847 `gdb_get_line_number'. Call `callee' in both parent and child.
14848 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
14849 `gdb_get_line_number' instead of hardcoding line numbers.
14850 (catch_fork_unpatch_child): New procedure to test detaching
14851 breakpoints from child fork.
14852 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
14853 hardcoding line numbers.
14854 (do_fork_tests): Run `catch_fork_unpatch_child'.
14855
14856 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
14857
14858 * gdb.mi/mi-cmd-var.exp: Check that when varobj
14859 of structure type enters or leaves the scope, it
14860 is reported by -var-update.
14861
14862 2009-05-11 Doug Evans <dje@sebabeach.org>
14863
14864 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
14865 * gdb.threads/pending-step.c (main): Fix off-by-one error.
14866 * gdb.threads/schedlock.c (main): Fix off-by-one error.
14867
14868 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14869
14870 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
14871
14872 2009-04-30 Doug Evans <dje@google.com>
14873
14874 * gdb.threads/watchthreads2.exp: New testcase.
14875 * gdb.threads/watchthreads2.c: New testcase.
14876
14877 2009-04-29 Doug Evans <dje@google.com>
14878
14879 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
14880 * gdb.cp/mb-ctor.cc: Ditto.
14881 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
14882 * gdb.cp/mb-inline.h (multi_line_foo): New function.
14883 * gdb.cp/mb-inline1.cc: Call it.
14884 * gdb.cp/mb-inline2.cc: Ditto.
14885 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
14886 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
14887
14888 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14889
14890 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
14891 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
14892 Replace all uses of `decimal' by `nonzero'.
14893 (info macro FROM_COMMANDLINE): New test.
14894
14895 2009-04-27 Tom Tromey <tromey@redhat.com>
14896
14897 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
14898
14899 2009-04-27 Doug Evans <dje@google.com>
14900
14901 * gdb.threads/watchthreads.c (main): Initialize args before starting
14902 the threads. Plus formatting cleanup.
14903 * gdb.threads/watchthreads.exp: Avoid errant failures due to
14904 biased scheduling of one thread.
14905
14906 2009-04-27 Jerome Guitton <guitton@adacore.com>
14907
14908 * gdb.cp/templates.cc (GetMax): New template.
14909 (main): Declare two instances of GetMax.
14910 * gdb.cp/templates.exp: Add new test.
14911
14912 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14913
14914 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
14915
14916 2009-04-22 Joseph Myers <joseph@codesourcery.com>
14917
14918 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
14919
14920 2009-04-15 Tom Tromey <tromey@redhat.com>
14921
14922 * gdb.base/charset.exp: Add regression test.
14923
14924 2009-04-14 Joel Brobecker <brobecker@adacore.com>
14925
14926 * gdb.base/exe-lock.exp: New testcase.
14927
14928 2009-04-13 Tom Tromey <tromey@redhat.com>
14929
14930 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
14931 operator on Frame.
14932
14933 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14934
14935 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
14936 * gdb.server/ext-attach.exp: Likewise.
14937
14938 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
14939
14940 Eliminate some sleep usage.
14941
14942 * gdb.mi/basics.c (do_nothing): New.
14943 (main): Use do_nothing instead of printf, so that
14944 not to introduce race condition between output of
14945 inferiour and output of gdb. Do not use sleep as it
14946 is not generally available on embedded targets.
14947
14948 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14949
14950 * gdb.server/ext-attach.exp: Expect an optional process id after
14951 "Detached from remote process".
14952
14953 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14954
14955 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
14956 gdb.dwarf2/dw2-unresolved.exp: New.
14957
14958 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14959
14960 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
14961 mi_run_to_main.
14962
14963 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14964
14965 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
14966 mi_run_to_main. Skip thread exit test on remote targets.
14967 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
14968 mi_run_to_main.
14969 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
14970 mi_run_to_main.
14971 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
14972 when expecting ^connected. Detect when the target doesn't support
14973 non-stop mode.
14974 (mi_run_cmd): Detect if non-stop mode was requested by isn't
14975 supported. Return -1 on error, 0 on success.
14976 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
14977 (mi_runto): Return mi_runto_helper's result explicitly.
14978
14979 2009-04-01 Pedro Alves <pedro@codesourcery.com>
14980
14981 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
14982
14983 2009-04-01 Tom Tromey <tromey@redhat.com>
14984
14985 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
14986 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
14987 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
14988 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
14989
14990 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
14991 Jan Kratochvil <jan.kratochvil@redhat.com>
14992
14993 PR gdb/931
14994 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
14995 output.
14996 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
14997 for gdb/931.
14998 * dw2-strp.S (DW_AT_language): Change to C++.
14999 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
15000
15001 2009-03-31 Joel Brobecker <brobecker@adacore.com>
15002
15003 * gdb.ada/tasks: New testcase.
15004
15005 2009-03-30 Stan Shebs <stan@codesourcery.com>
15006
15007 * gdb.trace/actions.exp: Update to match new info trace format.
15008 * gdb.trace/deltrace.exp: Ditto.
15009 * gdb.trace/infotrace.exp: Ditto.
15010 * gdb.trace/passcount.exp: Ditto.
15011 * gdb.trace/save-trace.exp: Ditto.
15012 * gdb.trace/while-stepping.exp: Ditto.
15013 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
15014
15015 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
15016
15017 * gdb.python/python-frame.c: New file.
15018 * gdb.python/python-frame.exp: New file.
15019
15020 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
15021
15022 * gdb.python/python-value.exp: Add tests for the address
15023 attribute.
15024
15025 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
15026
15027 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
15028
15029 2009-03-26 Doug Evans <dje@google.com>
15030
15031 * gdb.mi/mi-nonstop-exit.exp: New file.
15032 * gdb.mi/non-stop-exit.c: New file.
15033
15034 2009-03-26 Tom Tromey <tromey@redhat.com>
15035
15036 Update for change to prologue skipping:
15037 * gdb.mi/mi2-simplerun.exp: Update.
15038 * gdb.mi/mi2-break.exp: Update.
15039 * gdb.mi/mi-simplerun.exp: Update.
15040 * gdb.mi/mi-break.exp: Update.
15041 * gdb.base/ending-run.exp: Update.
15042
15043 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
15044
15045 * gdb.python/python-value.exp (test_value_in_inferior): Test
15046 gdb.Value.is_optimized_out attribute.
15047
15048 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15049
15050 * gdb.dwarf2/dw2-noloc-main.c: New file.
15051 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
15052 (.text): Remove.
15053 (.data): New.
15054 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
15055 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
15056 (DW_TAG_subprogram func_cu1, noloc): Remove.
15057 (main): New.
15058 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
15059 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
15060 (file_symbols): New procedure.
15061
15062 2009-03-25 Tom Tromey <tromey@redhat.com>
15063
15064 * gdb.base/charset.exp (valid_target_charset): New proc.
15065 Use it to skip tests on invalid charsets.
15066
15067 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
15068
15069 * gdb.base/completion.exp: Add a test for directory completion.
15070
15071 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15072
15073 Fix a racy FAIL.
15074 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
15075 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
15076
15077 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
15078
15079 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
15080 * gdb.python/python-function.exp: Add test for function returning
15081 a GDB value.
15082
15083 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
15084
15085 * gdb.python/python-function.exp: New file.
15086
15087 2009-03-20 Tom Tromey <tromey@redhat.com>
15088
15089 * gdb.base/store.exp: Update for change to escape output.
15090 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
15091 to escape output.
15092 * gdb.base/pointers.exp: Update for change to escape output.
15093 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
15094 to escape output.
15095 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
15096 escape output.
15097 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
15098 to escape output.
15099 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
15100 escape output.
15101 * gdb.base/setvar.exp: Update for change to escape output.
15102 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
15103 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
15104 to escape output.
15105 (test_print_string_constants): Likewise.
15106 * gdb.base/charset.exp (valid_host_charset): Check size of
15107 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
15108 cases. Handle "auto"-related output.
15109 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
15110 (uvar, Uvar): New globals.
15111
15112 2009-03-19 Jerome Guitton <guitton@adacore.com>
15113
15114 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
15115 deltas.
15116 * gdb.ada/fixed_points.exp: Ditto.
15117
15118 2009-03-18 Pedro Alves <pedro@codesourcery.com>
15119
15120 * return-nodebug.c: Don't include stdio.h.
15121 (init): Delete.
15122 (func): Delete definition and provide extern declaration.
15123 (t): New.
15124 (main): Don't call printf. Call func and store its result in t.
15125 * return-nodebug1.c: New.
15126 * return-nodebug.exp: Don't expect stdio output. Instead, print
15127 the global variable t. Drop printf formatters and cast types from
15128 foreach loop. Don't use prepare_for_testing. Compile
15129 return-nodebug.c and return-nodebug1.c in separate steps. Don't
15130 define FORMAT or CAST.
15131
15132 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15133
15134 * gdb.base/solib-display.exp: Disable test for remote targers.
15135
15136 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15137
15138 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
15139
15140 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15141
15142 Fix a racy FAIL.
15143 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
15144 code from `follow parent, print pids'.
15145 (`follow child, print pids', `follow parent, print pids'): Call it.
15146 Replace `gdb_test "break..."' by gdb_breakpoint.
15147
15148 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
15149
15150 * gdb.mi/mi-cli.exp: Adjust for output difference in
15151 sync and async modes.
15152
15153 2009-03-12 Joel Brobecker <brobecker@adacore.com>
15154
15155 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
15156 that was checked in by mistake. Remove loading of ada.exp, since
15157 this is not necessary in this case.
15158
15159 2009-03-12 Joel Brobecker <brobecker@adacore.com>
15160
15161 * gdb.ada/ptype_arith_binop.exp: New testcase.
15162
15163 2009-03-12 Joel Brobecker <brobecker@adacore.com>
15164
15165 * gdb.ada/mod_from_name: New testcase.
15166
15167 2009-03-12 Joel Brobecker <brobecker@adacore.com>
15168
15169 * gdb.ada/tick_last_segv: New testcase.
15170
15171 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
15172
15173 * gdb.mi/mi-cli.exp: Remove debug print.
15174
15175 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
15176
15177 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
15178 include the token in ^running and frame info in *stopped.
15179
15180 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15181
15182 * solib-display.exp: New file.
15183 * solib-display-main.c: New file.
15184 * solib-display-lib.c: New file.
15185
15186 2009-03-05 Pedro Alves <pedro@codesourcery.com>
15187
15188 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
15189
15190 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
15191
15192 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
15193 (list_and_check_macro): Use more specific test name.
15194 (next to definition): Make the test names unique.
15195
15196 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
15197
15198 * gdb.pascal/floats.exp: Accept approximate results everywhere.
15199
15200 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
15201
15202 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
15203 notifications.
15204 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
15205 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
15206 * lib/mi-support.exp (library_loaded_re): New.
15207 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
15208
15209 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
15210
15211 * gdb.gdb/observer.exp: Use test_notification observer, not
15212 normal_stop, everywhere.
15213 (test_normal_stop_notifications): Rename to...
15214 (test_notifications): ...this.
15215 (test_observer_normal_stop): Rename to...
15216 (test_observer): ...this.
15217
15218 2009-02-16 Doug Evans <dje@google.com>
15219
15220 * gdb.arch/amd64-disp-step.S (test_int3): New test.
15221 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
15222 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
15223 (test_prefixed_syscall,test_int3): New tests.
15224 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
15225 (test_prefixed_syscall,test_int3): New tests.
15226
15227 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
15228
15229 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
15230 (mi_expect_interrupt): Likewise.
15231 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
15232 response.
15233
15234 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
15235
15236 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
15237 * gdb.base/pc-fp.exp (get_valueofx): Remove.
15238 Replace calls to get_valueofx by get_hexadecimal_valueof.
15239
15240 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
15241
15242 * lib/gdb.exp (get_valueof): Accept anything as a return value.
15243 (get_integer_valueof): New procedure.
15244 (get_sizeof): Use new get_integer_value_of.
15245 * gdb.base/sizeof.exp: Replace all uses of get_valueof
15246 by get_integer_valueof.
15247
15248 2009-02-13 Tom Tromey <tromey@redhat.com>
15249
15250 * gdb.base/remote.exp (get_sizeof): Remove.
15251 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
15252 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
15253 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
15254 * lib/gdb.exp (get_valueof): Move from long_long.exp.
15255 (get_sizeof): Likewise.
15256
15257 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15258
15259 PR fortran/9806
15260 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
15261
15262 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15263
15264 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
15265
15266 2009-02-06 Pedro Alves <pedro@codesourcery.com>
15267
15268 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
15269
15270 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
15271
15272 * gdb.python/python-cmd.exp: New file.
15273
15274 2009-02-06 Tristan Gingold <gingold@adacore.com>
15275
15276 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
15277
15278 2009-02-05 Tristan Gingold <gingold@adacore.com>
15279
15280 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
15281 pointer is dereferenced and use this signal name in regexp.
15282 * gdb.base/signull.exp: Ditto.
15283 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
15284 * gdb.base/signull.c (main): Ditto.
15285
15286 2009-02-04 Tom Tromey <tromey@redhat.com>
15287 Thiago Jung Bauermann <bauerman@br.ibm.com>
15288
15289 * gdb.python/python-value.exp: Use `gdb.history' instead of
15290 `gdb.value_from_history'.
15291 (test_value_numeric_ops): Add test for conversion of enum constant.
15292 * gdb.python/python-value.c (enum e): New type.
15293 (evalue): New global.
15294 (main): Use argv.
15295
15296 2009-02-04 Jerome Guitton <guitton@adacore.com>
15297
15298 * gdb.ada/uninitialized_vars: New test program.
15299 * gdb.ada/uninitialized_vars.exp: New testcase.
15300
15301 2009-02-02 Tom Tromey <tromey@redhat.com>
15302
15303 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
15304 * gdb.cp/pr2489.cc: Rename...
15305 * gdb.cp/pr9594.cc: ... to this.
15306
15307 2009-02-02 Tom Tromey <tromey@redhat.com>
15308
15309 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
15310 * gdb.cp/pr2489.cc: New file.
15311 * gdb.cp/cpcompletion.exp: New file.
15312
15313 2009-02-02 Tom Tromey <tromey@redhat.com>
15314
15315 PR exp/9059:
15316 * gdb.cp/call-c.exp: Add regression test.
15317 * gdb.cp/call-c.cc (FooHandle): New typedef.
15318 (main): New variable 'handle'.
15319
15320 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
15321
15322 * lib/mi-support.exp (et_mi_thread_list)
15323 (check_mi_and_console_threads): Adjust for current thread in
15324 -thread-list-ids output.
15325
15326 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
15327
15328 * gdb.mi/mi-break.exp (test_disabled_creation): New.
15329 Call it.
15330
15331 2009-01-28 Doug Evans <dje@google.com>
15332
15333 * gdb.arch/amd64-disp-step.S: New file.
15334 * gdb.arch/amd64-disp-step.exp: New file.
15335 * gdb.arch/i386-disp-step.S: New file.
15336 * gdb.arch/i386-disp-step.exp: New file.
15337
15338 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
15339
15340 * gdb.base/find.exp: Set newline variable
15341 using quotes instead of braces to fix cygwin failures.
15342
15343 2009-01-23 Pedro Alves <pedro@codesourcery.com>
15344
15345 * gdb.base/radix.exp: Add tests to ensure that that set
15346 input-radix 0 and set output-radix 0 are really rejected.
15347
15348 2009-01-23 Pedro Alves <pedro@codesourcery.com>
15349
15350 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
15351 copyright years.
15352
15353 2009-01-23 Pedro Alves <pedro@codesourcery.com>
15354
15355 PR gdb/9664:
15356 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
15357
15358 2009-01-22 Pedro Alves <pedro@codesourcery.com>
15359
15360 PR c++/9631:
15361 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
15362
15363 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
15364
15365 * gdb.server/file-transfer.exp: Use EXEEXT variable for
15366 binfile definition to fix Windows OS failure.
15367
15368 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
15369
15370 PR gdb/9346
15371 * gdb.base/interrupt.c (sigint_handler): New.
15372 (main): Install a SIGINT handler if SIGNALS is defined. Exit
15373 on error.
15374 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
15375 Test "signal SIGINT".
15376
15377 2009-01-19 Doug Evans <dje@google.com>
15378
15379 * gdb.base/break.exp: Update expected gdb output.
15380 * gdb.base/sepdebug.exp: Ditto.
15381 * gdb.mi/mi-syn-frame.exp: Ditto.
15382 * gdb.mi/mi2-syn-frame.exp: Ditto.
15383 * gdb.base/call-signal-resume.exp: New file.
15384 * gdb.base/call-signals.c: New file.
15385 * gdb.base/unwindonsignal.exp: New file.
15386 * gdb.base/unwindonsignal.c: New file.
15387 * gdb.threads/interrupted-hand-call.exp: New file.
15388 * gdb.threads/interrupted-hand-call.c: New file.
15389 * gdb.threads/thread-unwindonsignal.exp: New file.
15390
15391 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
15392
15393 * gdb.base/define.exp: Test defining and hooking prefix commands.
15394 * gdb.python/python.exp: Update test for "show user" output.
15395
15396 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15397
15398 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
15399 now the output exactly, using less wildcards. Expect also the output
15400 of gfortran-4.3. Update for the f-valprint.c modification from
15401 2008-04-22.
15402 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
15403 Remove gdb_test test names where matching the command.
15404
15405 2009-01-01 Pedro Alves <pedro@codesourcery.com>
15406
15407 PR breakpoints/9681:
15408 * gdb.base/watchpoint.exp: Add regression test.
15409
15410 2008-12-31 Pedro Alves <pedro@codesourcery.com>
15411
15412 * gdb.threads/attach-into-signal.exp: Don't use
15413 gdb_suppress_entire_file.
15414 * gdb.threads/attach-stopped.exp: Ditto.
15415 * gdb.threads/attachstop-mt.exp: Ditto.
15416
15417 2008-12-31 Pedro Alves <pedro@codesourcery.com>
15418
15419 PR gdb/8812:
15420 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
15421
15422 2008-12-29 Pedro Alves <pedro@codesourcery.com>
15423
15424 PR gdb/7536:
15425 * gdb.base/radix.exp: Add tests to ensure invalid input radices
15426 and unsupported output radices are really rejected.
15427
15428 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15429
15430 * gdb.cp/punctuator.exp: Backslash the '$' signs.
15431
15432 2008-12-22 Tom Tromey <tromey@redhat.com>
15433
15434 * gdb.cp/punctuator.exp: New file.
15435
15436 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15437
15438 * gdb.base/completion.exp (Completing non-existing component): New test.
15439
15440 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15441
15442 Fix for PR gdb/8648.
15443 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
15444 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
15445 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
15446 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
15447
15448 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15449
15450 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
15451
15452 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
15453
15454 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
15455 compiler actually generate code at the expected line number.
15456
15457 2008-12-15 Jie Zhang <jie.zhang@analog.com>
15458
15459 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
15460
15461 2008-12-12 Tom Tromey <tromey@redhat.com>
15462
15463 * gdb.base/commands.exp (redefine_hook_test): New proc.
15464 Call it.
15465
15466 2008-12-11 Tom Tromey <tromey@redhat.com>
15467
15468 * gdb.base/macscp.exp: New regression test.
15469
15470 2008-12-11 Tom Tromey <tromey@redhat.com>
15471
15472 * gdb.base/macscp.exp: Print "address.addr".
15473 * gdb.base/macscp1.c (struct outer): New struct.
15474 (address): New global.
15475
15476 2008-12-09 Tom Tromey <tromey@redhat.com>
15477
15478 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
15479 Call it.
15480
15481 2008-12-04 Doug Evans <dje@google.com>
15482
15483 * gdb.server/ext-run.exp: Relax regexp for init program.
15484
15485 2008-12-03 Tristan Gingold <gingold@adacore.com>
15486
15487 * gdb.base/macscp.exp: Generate an object file during compilation
15488 to work around Darwin dsymutil limitations.
15489
15490 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15491
15492 Test resolving external references to TLS variables.
15493 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
15494 FILE2_THREAD_LOCAL.
15495 (testfile2, srcfile2): New variables.
15496 * gdb.threads/tls.c (file2_thread_local)
15497 (function_referencing_file2_thread_local): New.
15498 * gdb.threads/tls2.c: New file.
15499
15500 2008-11-28 Joel Brobecker <brobecker@adacore.com>
15501
15502 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
15503 rather than integer, as integer might not be big enough when
15504 on 64bit targets.
15505
15506 2008-11-27 Jerome Guitton <guitton@adacore.com>
15507
15508 * gdb.cp/formatted-ref.exp: Add equality test.
15509 * gdb.ada/formatted_ref.exp: Ditto.
15510
15511 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15512
15513 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
15514 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
15515
15516 2008-11-20 Andreas Schwab <schwab@suse.de>
15517
15518 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
15519 matching syscall entry point.
15520 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
15521 (tcatch_vfork_then_child_follow): Likewise. Finish through
15522 vfork even if we stopped at the syscall trampoline.
15523
15524 2008-11-20 Doug Evans <dje@google.com>
15525
15526 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
15527
15528 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
15529
15530 * gdb.arch/ppc-dfp.exp: New file.
15531 * gdb.arch/ppc-dfp.c: New file.
15532
15533 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15534
15535 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
15536
15537 2008-11-17 Doug Evans <dje@google.com>
15538
15539 * gdb.mi/mi-syn-frame.exp: Update expected output.
15540 * gdb.mi/mi2-syn-frame.exp: Update expected output.
15541
15542 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
15543
15544 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
15545 "thread N" results in =thread-selected.
15546 * lib/mi-support (mi_run_cmd, mi_expect_stop)
15547 (mi_send_resuming_command_raw): Be prepared for
15548 =thread-selected.
15549
15550 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
15551
15552 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
15553 * lib/mi-support.exp: Likewise.
15554
15555 2008-11-16 Joel Brobecker <brobecker@adacore.com>
15556
15557 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
15558 commands from the expected output for "help catch".
15559
15560 2008-11-15 Joel Brobecker <brobecker@adacore.com>
15561
15562 * gdb.ada/int_deref.exp: New testcase.
15563
15564 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
15565
15566 * gdb.mi/gdb2549.exp: New file.
15567
15568 2008-11-11 Doug Evans <dje@google.com>
15569
15570 * gdb.base/callexit.exp: New file.
15571 * gdb.base/callexit.c: New file.
15572
15573 2008-11-10 Doug Evans <dje@google.com>
15574
15575 * lib/gdb.exp (GDBFLAGS): Move -nx ...
15576 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
15577 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
15578 (default_gdb_start,default_gdb_exit): Ditto.
15579 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
15580 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
15581 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
15582 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
15583 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
15584 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
15585
15586 2008-11-03 Andreas Schwab <schwab@suse.de>
15587
15588 * gdb.base/hashline2.exp: Fix typo.
15589 * gdb.base/hashline3.exp: Likewise.
15590
15591 2008-10-30 Tom Tromey <tromey@redhat.com>
15592
15593 * gdb.base/pointers.exp: Add test.
15594 * gdb.base/pointers.c (k, S): New typedefs.
15595 (instance): New global.
15596
15597 2008-10-30 Andreas Schwab <schwab@suse.de>
15598
15599 * gdb.base/args.exp: Add tests for newlines.
15600
15601 2008-10-30 Joel Brobecker <brobecker@adacore.com>
15602
15603 gdb.base/foll-exec.exp: Update the expected output of a couple
15604 of "info breakpoints" tests.
15605
15606 2008-10-28 Tom Tromey <tromey@redhat.com>
15607
15608 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
15609
15610 2008-10-24 Pedro Alves <pedro@codesourcery.com>
15611
15612 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
15613 gdb_start_cmd.
15614 Use runto_main before any test that requires execution.
15615
15616 2008-10-23 Pedro Alves <pedro@codesourcery.com>
15617
15618 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
15619 instead of SIGINT.
15620
15621 2008-10-22 Joel Brobecker <brobecker@adacore.com>
15622
15623 * gdb.base/completion.exp: Update expected output following
15624 the addition of the "info tasks" command.
15625
15626 2008-10-22 Tom Tromey <tromey@redhat.com>
15627
15628 * gdb.base/exprs.exp (test_expr): Add test for string
15629 concatenation.
15630
15631 2008-10-19 Pedro Alves <pedro@codesourcery.com>
15632
15633 * configure.ac: Output gdb.python/Makefile.
15634 * configure: Regenerate.
15635 * gdb.python/Makefile.in: New.
15636
15637 2008-10-16 Joel Brobecker <brobecker@adacore.com>
15638
15639 * gdb.base/foll-fork.exp: Adjust the expected output to match
15640 the new description for fork/vfork catchpoints in the "info
15641 breakpoints" output.
15642
15643 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15644
15645 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
15646
15647 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15648
15649 * gdb.python/python-value.c: New file.
15650 * gdb.python/python-value.exp: New file.
15651
15652 2008-10-15 Pedro Alves <pedro@codesourcery.com>
15653
15654 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
15655
15656 2008-10-15 Denis Pilat <denis.pilat@st.com>
15657
15658 * gdb.cp/mb-ctor.exp: Fix a typo.
15659
15660 2008-10-09 Tom Tromey <tromey@redhat.com>
15661
15662 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
15663 'fprintf' and 'stderr'.
15664
15665 2008-10-07 Joel Brobecker <brobecker@adacore.com>
15666
15667 * gdb.ada/ref_tick_size.exp: New testcase.
15668
15669 2008-10-06 Doug Evans <dje@google.com>
15670
15671 * gdb.dwarf2/dw2-cu-size.exp: New file.
15672 * gdb.dwarf2/dw2-cu-size.S: New file.
15673
15674 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
15675 .Ltype_int for clarity.
15676
15677 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
15678
15679 PR gdb/2384:
15680 * gdb.cp/gdb2384.exp: Extended to test more cases.
15681 * gdb.cp/gdb2384.cc: Likewise.
15682 * gdb.cp/gdb2384-base.h: Likewise.
15683 * gdb.cp/gdb2384-base.cc: Likewise.
15684
15685 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15686
15687 * gdb.base/maint.exp (maint print type): Remove printing
15688 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
15689
15690 2008-09-30 Tom Tromey <tromey@redhat.com>
15691
15692 * gdb.base/macscp.exp: Add completion tests.
15693 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
15694 (TWENTY_THREE): Likewise.
15695 (FORTY_EIGHT): Likewise.
15696
15697 2008-09-30 Tom Tromey <tromey@redhat.com>
15698
15699 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
15700 everywhere.
15701 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
15702
15703 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
15704
15705 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
15706 testcase is derived from. Fix racy dependency on an expected PID
15707 number. No longer support the testcase on Linux kernel 2.4.x.
15708
15709 2008-09-27 Tom Tromey <tromey@redhat.com>
15710
15711 * gdb.base/macscp.exp: Add tests for stringification, splicing,
15712 and varargs.
15713
15714 2008-09-22 Pedro Alves <pedro@codesourcery.com>
15715
15716 * lib/mi-support.exp (mi_expect_interrupt): New.
15717 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
15718 from gdb.mi/mi-nonstop.exp.
15719 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
15720 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
15721 lib/mi-support.exp.
15722 Use mi_check_thread_states throughout. Avoid ".*" and do not
15723 require an anchor after -exec-run.
15724
15725 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
15726
15727 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
15728 stop is pending. Avoid ".*" when two stops are pending.
15729 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
15730 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
15731 newlines in fullnames.
15732 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
15733 (mi_expect_stop): Update comments. Only anchor in sync mode.
15734 Do not match newlines.
15735 (mi_send_resuming_command_raw): Always return status.
15736 (mi_get_stop_line): Do not match more than one line by accident.
15737 Only anchor in sync mode.
15738 (mi_run_inline_test): If -exec-next fails, give up.
15739
15740 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15741
15742 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
15743 on SPU.
15744
15745 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15746
15747 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
15748
15749 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15750
15751 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
15752 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
15753 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
15754 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
15755 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
15756 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
15757 gdb.ada/interface.exp, gdb.ada/null_array.exp,
15758 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
15759 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
15760 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
15761 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
15762 Include the "= " sequence in the expected output of print tests.
15763
15764 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15765
15766 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
15767 description for boolean types.
15768
15769 2008-09-09 Pedro Alves <pedro@codesourcery.com>
15770
15771 * gdb.base/hook-stop-continue.c: New.
15772 * gdb.base/hook-stop-continue.exp: New.
15773
15774 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
15775
15776 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
15777
15778 2008-09-08 Jerome Guitton <guitton@adacore.com>
15779
15780 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
15781 (stack_check_probe_2, stack_check_probe_loop_1)
15782 (stack_check_probe_loop_2): New functions.
15783 (main): Add call to these new functions.
15784 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
15785 functions, check that the breakpoint is inserted at the appropriate
15786 location.
15787 (insert_breakpoint): Slightly refine this procedure so that it can
15788 be called several times in the test.
15789
15790 2008-09-08 Jerome Guitton <guitton@adacore.com>
15791
15792 * gdb.base/stack-checking.c: New file.
15793 * gdb.base/stack-checking.exp: New file.
15794
15795 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15796
15797 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
15798 * gdb.arch/altivec-regs.exp: Likewise.
15799 * gdb.arch/vsx-regs.exp: Likewise.
15800
15801 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15802
15803 * gdb.arch/ppc-fp.exp: New file.
15804 * gdb.arch/ppc-fp.c: New file.
15805
15806 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15807
15808 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
15809 lest gcc-4.3.1 optimizes the whole thing away.
15810
15811 2008-09-04 Michael Snyder <msnyder@vmware.com>
15812
15813 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
15814 as "at" (for non-debug functions such as _start).
15815
15816 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15817
15818 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
15819 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
15820 software watchpoints.
15821 * gdb.base/watch_thread_num.exp: Likewise.
15822
15823 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
15824
15825 * gdb.arch/i386-bp_permanent.exp: New test.
15826
15827 2008-08-24 Tom Tromey <tromey@redhat.com>
15828
15829 * gdb.base/maint.exp: Update "maint print type".
15830
15831 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
15832
15833 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
15834 support. Adjust the order of "*running" notifications.
15835 * gdb.mi/non-stop.c: Don't cast from int to void* and
15836 back.
15837
15838 2008-08-20 Mark Kettenis <kettenis@gnu.org>
15839
15840 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
15841 expect to find it in the "info frame" output.
15842
15843 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
15844
15845 * gdb.base/interp.exp: Always consume both prompts.
15846
15847 2008-08-20 Pedro Alves <pedro@codesourcery.com>
15848
15849 * gdb.base/pending.exp: Test pending breakpoints without symbols
15850 loaded.
15851
15852 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15853
15854 * lib/mi-support.exp (mi_expect_stop): Produce
15855 more details on failures.
15856 * gdb.mi/mi-nonstop.exp: New.
15857 * gdb.mi/non-stop.c: New.
15858
15859 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15860
15861 * gdb.mi/mi-async.exp: Use 'set target-async'.
15862 * lib/mi-support.exp: Use 'set/show target-async'.
15863
15864 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
15865
15866 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
15867
15868 2008-08-17 Tom Tromey <tromey@redhat.com>
15869
15870 * gdb.base/help.exp (help catch): Rewrite.
15871
15872 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15873
15874 * gdb.base/define.exp: Test indented command documentation.
15875 * gdb.python/python.exp: Test indented multi-line command.
15876
15877 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
15878
15879 * testsuite/gdb.arch/vsx-regs.c: New source file.
15880 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
15881 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
15882
15883 2008-08-14 Tom Tromey <tromey@redhat.com>
15884
15885 * gdb.base/macscp.exp: Add regression test for "macro define" or
15886 "macro undef" with no arguments.
15887
15888 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15889
15890 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
15891
15892 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15893
15894 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
15895
15896 2008-08-06 Tom Tromey <tromey@redhat.com>
15897
15898 * gdb.python/python.exp: New file.
15899
15900 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15901
15902 Fix for PR gdb/1543.
15903 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
15904 $LOCATION.
15905 (location): New variable.
15906 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
15907 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
15908 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
15909 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
15910 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
15911 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
15912 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
15913 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
15914 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
15915 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
15916 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
15917 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
15918 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
15919 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
15920 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
15921 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
15922 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
15923 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
15924 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
15925 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15926 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
15927 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
15928 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
15929 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
15930 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
15931 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
15932 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
15933 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
15934 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
15935 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
15936 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
15937 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
15938 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
15939 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
15940 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
15941 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
15942 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
15943 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
15944 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
15945 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
15946 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
15947 gdb.base/type-opaque.exp, gdb.base/until.exp,
15948 gdb.base/value-double-free.c, gdb.base/varargs.exp,
15949 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
15950 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
15951 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
15952 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
15953 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
15954 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
15955 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
15956 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
15957 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
15958 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
15959 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
15960 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
15961 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
15962 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
15963 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
15964 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
15965 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
15966 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
15967 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
15968 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
15969 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
15970 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
15971 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
15972 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
15973 gdb.pascal/types.exp, gdb.stabs/weird.exp,
15974 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
15975 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
15976 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
15977 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
15978 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
15979 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
15980 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15981 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
15982 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15983 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
15984 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15985 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
15986 lib/mi-support.exp, lib/trace-support.exp: Remove reference
15987 to bug-gdb@prep.ai.mit.edu .
15988
15989 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
15990
15991 * lib/mi-support.exp (mi_load_shlibs): New.
15992 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
15993
15994 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
15995
15996 * lib/mi-support.exp (get_mi_thread_list)
15997 (check_mi_and_console_threads): New, moved from ...
15998 * gdb.mi/mi-pthread.exp: ...here.
15999 * gdb.mi/gdb669.exp (get_mi_thread_list)
16000 (check_mi_and_console_threads): Delete.
16001 * gdb.mi/mi2-pthread.exp: Likewise.
16002
16003 2008-07-28 Tom Tromey <tromey@redhat.com>
16004
16005 * Makefile.in (just-check): Remove. Move body to...
16006 (check): ... here.
16007
16008 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16009
16010 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
16011 Add a test for duplicated SIGINTs.
16012
16013 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16014
16015 * gdb.threads/schedlock.exp (get_args): Update to work for any
16016 value of NUM.
16017 (Top level): Report the number of threads that did not resume.
16018
16019 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16020
16021 * gdb.dwarf2/dw2-compressed.S: Also define __start.
16022
16023 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16024
16025 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
16026 non-MI prompt.
16027
16028 2008-07-26 Tom Tromey <tromey@redhat.com>
16029
16030 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
16031 (function_struct, function_struct_ptr): New globals.
16032 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
16033 function pointer in a struct.
16034
16035 2008-07-26 Tom Tromey <tromey@redhat.com>
16036
16037 * gdb.base/macscp.exp: Add test for macro lexing bug.
16038
16039 2008-07-18 Tom Tromey <tromey@redhat.com>
16040
16041 * gdb.base/macscp.exp: Add macro tests.
16042
16043 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
16044
16045 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
16046
16047 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
16048
16049 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
16050
16051 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
16052
16053 * gdb.cp/class2.exp: fix for failure on spu-elf
16054
16055 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
16056
16057 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
16058
16059 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16060
16061 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
16062
16063 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
16064
16065 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
16066
16067 2008-07-11 Kevin Buettner <kevinb@redhat.com>
16068
16069 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
16070 of regexp to account for changes made to GDB in the printing of
16071 byte vectors.
16072
16073 2008-07-11 Tom Tromey <tromey@redhat.com>
16074
16075 * gdb.base/completion.exp: Add 'help' completion test.
16076
16077 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16078
16079 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
16080
16081 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16082
16083 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
16084
16085 2008-07-09 Pedro Alves <pedro@codesourcery.com>
16086
16087 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
16088
16089 2008-07-09 Pedro Alves <pedro@codesourcery.com>
16090
16091 * gdb.base/fullname.exp: Restore pwd if compiling failed.
16092
16093 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16094
16095 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
16096
16097 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
16098
16099 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
16100 previous commit. Add a comment.
16101
16102 2008-06-28 Pedro Alves <pedro@codesourcery.com>
16103
16104 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
16105
16106 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
16107
16108 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
16109
16110 2008-06-27 Pedro Alves <pedro@codesourcery.com>
16111
16112 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
16113 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
16114 compiling an executable, link in an object that forces unbuffered
16115 output.
16116 * lib/set_unbuffered_mode.c: New file.
16117
16118 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16119
16120 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
16121
16122 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
16123
16124 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
16125 mi_expect_stop.
16126 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
16127 Demand that *running is output.
16128 (detect_async): Perform checking every time.
16129 (mi_send_resuming_command): Extract everything into...
16130 (mi_send_resuming_command_raw): ...this.
16131 (mi_expect_stop): Don't accept any output before *stopped.
16132
16133 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
16134
16135 Robustify mi-simplerun.
16136 * gdb.mi/basics.c (main): Add a call to sleep.
16137 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
16138 * gdb.mi/mi2-cli.exp: Likewise.
16139 * gdb.mi/mi-break.exp: Likewise.
16140
16141 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
16142
16143 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
16144
16145 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
16146
16147 * gdb.mi/mi-console.exp: Adjust.
16148 * gdb.mi/mi-syn-frame.exp: Adjust.
16149 * gdb.mi/mi2-console.exp: Adjust.
16150 * gdb.mi/mi2-syn-frame.exp: Adjust.
16151 * lib/mi-support.exp (mi_run_cmd): Adjust.
16152 (mi_send_resuming_command): Adjust.
16153
16154 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
16155
16156 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
16157 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
16158 testing of stopped.
16159 * gdb.mi/mi2-syn-frame.exp: Likewise.
16160 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
16161 (async, detect_async): New.
16162 (mi_expect_stop, mi_continue_to_line): Adjust expectation
16163 depending on if we're running in sync or async mode.
16164
16165 2008-06-09 Tom Tromey <tromey@redhat.com>
16166
16167 * gdb.base/completion.exp: New tests for field name completion
16168 with spaces, and field name completion with '->'.
16169
16170 2008-06-06 Tom Tromey <tromey@redhat.com>
16171
16172 * gdb.base/break1.c (struct some_struct): New struct.
16173 (values): New global.
16174 * gdb.base/completion.exp: Add field name completion test.
16175
16176 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16177
16178 * gdb.cp/call-c.exp: Test for incorrect handling of reference
16179 to pointer.
16180 * gdb.cp/call-c.cc: Likewise.
16181
16182 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
16183
16184 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
16185 annotation.
16186
16187 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16188 Pedro Alves <pedro@codesourcery.com>
16189
16190 * gdb.threads/execl.c, gdb.threads/execl1.c,
16191 gdb.threads/execl.exp: New tests.
16192
16193 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
16194 Daniel Jacobowitz <dan@codesourcery.com>
16195
16196 * gdb.cp/exception.exp: Activate test, make it work with pending
16197 catchpoints.
16198
16199 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
16200
16201 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
16202
16203 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
16204
16205 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
16206 now printed.
16207 * gdb.mi/mi2-var-cmd.exp: Likewise.
16208
16209 2008-05-27 Andreas Schwab <schwab@suse.de>
16210
16211 * gdb.base/frame-args.exp: Handle arguments that are optimized
16212 out.
16213
16214 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
16215
16216 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
16217 quiet for ppc32 and group options into a single variable.
16218
16219 2008-05-23 Joel Brobecker <brobecker@adacore.com>
16220
16221 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
16222 of zero-size elements.
16223 * gdb.ada/null_array.exp: Test printing this new array.
16224
16225 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16226
16227 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
16228
16229 2008-05-21 Joel Brobecker <brobecker@adacore.com>
16230
16231 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
16232 of the "finish" command.
16233
16234 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
16235
16236 * gdb.base/annota1.exp: Test for new annotation.
16237
16238 2008-05-16 Pedro Alves <pedro@codesourcery.com>
16239
16240 * gdb.base/fixsection.exp: New file.
16241 * gdb.base/fixsection0.c: New file.
16242 * gdb.base/fixsection1.c: New file.
16243
16244 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16245
16246 * gdb.base/annota1.exp: Accept printf@... in place of printf.
16247 * gdb.base/annota3.exp: Likewise.
16248
16249 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
16250
16251 * gdb.base/watch_thread_num.exp: Don't run tests that require
16252 watchpoints if the target doesn't support them.
16253
16254 2008-05-12 Doug Evans <dje@google.com>
16255
16256 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
16257
16258 2008-05-09 Joel Brobecker <brobecker@adacore.com>
16259
16260 * gdb.ada/assign_1.exp: New testcase.
16261
16262 2008-05-09 Doug Evans <dje@google.com>
16263
16264 * gdb.base/find.exp: New file.
16265 * gdb.base/find.c: New file.
16266
16267 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
16268
16269 * gdb.base/commands.exp (watchpoint_command_test): Handle
16270 gdb,no_hardware_watchpoints.
16271 * gdb.base/float.exp: Allow ARM targets without floating point.
16272 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
16273
16274 2008-05-06 Jerome Guitton <guitton@adacore.com>
16275 Joel Brobecker <brobecker@adacore.com>
16276
16277 * gdb.ada/lang_switch: New test program.
16278 * gdb.ada/lang_switch.exp: New testcase.
16279
16280 2008-05-05 Doug Evans <dje@google.com>
16281
16282 * gdb.base/help.exp (disassemble): Update expected help text.
16283
16284 2008-05-04 Pedro Alves <pedro@codesourcery.com>
16285
16286 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
16287
16288 2008-05-04 Pedro Alves <pedro@codesourcery.com>
16289
16290 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
16291 different times.
16292
16293 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
16294
16295 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
16296 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
16297 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
16298 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
16299
16300 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
16301
16302 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
16303 notification to appear.
16304
16305 2008-05-04 Daniel Jacobowitz <dan@debian.org>
16306
16307 * gdb.base/fullname.c: New file.
16308 * gdb.base/fullname.exp: New file.
16309 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
16310
16311 2008-05-03 Pedro Alves <pedro@codesourcery.com>
16312
16313 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
16314 expressions with macros.
16315
16316 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16317
16318 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
16319
16320 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
16321
16322 * gdb.base/completion.exp: Handle lack of other symbols beginning
16323 with "a".
16324
16325 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
16326
16327 2008-05-02 Jim Blandy <jimb@codesourcery.com>
16328
16329 * gdb.asm/asmsrc1.s: Add scratch space.
16330
16331 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16332 Daniel Jacobowitz <dan@codesourcery.com>
16333
16334 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
16335 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
16336 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
16337
16338 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
16339
16340 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
16341
16342 2008-05-01 Joel Brobecker <brobecker@adacore.com>
16343
16344 * gdb.base/info-target.exp: New testcase.
16345
16346 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
16347
16348 * gdb.cp/hang.exp: Use .cc instead of .C.
16349 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
16350 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
16351
16352 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
16353
16354 * gdb.base/gdb1250.exp: Remove perror.
16355 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
16356
16357 2008-04-30 Pedro Alves <pedro@codesourcery.com>
16358
16359 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
16360 .2byte.
16361
16362 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
16363
16364 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
16365 (maybe_kfail): New.
16366
16367 2008-04-25 Pedro Alves <pedro@codesourcery.com>
16368
16369 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
16370
16371 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16372
16373 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
16374 * gdb.mi/mi2-syn-frame.exp: Likewise.
16375 * lib/mi-support.exp: Likewise.
16376
16377 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16378
16379 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
16380 to specify regexp for the location to stop at.
16381 * gdb.base/break-always.c: New.
16382 * gdb.base/break-always.exp: New.
16383
16384 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16385
16386 * lib/mi-support.exp (mi_runto_helper): Adjust
16387 for the original-location field.
16388 (mi_create_breakpoint, mi_list_breakpoints): New.
16389 * gdb.mi/mi-break.exp: Adjust.
16390 * gdb.mi/mi2-break.exp: Adjust.
16391 * gdb.mi/mi-pending.exp: Adjust.
16392 * gdb.mi/mi-simplerun.exp: Adjust.
16393 * gdb.mi/mi2-simplerun.exp: Adjust.
16394 * gdb.mi/mi-syn-frame.exp: Adjust.
16395 * gdb.mi/mi2-syn-frame.exp: Adjust.
16396 * gdb.mi/mi-until.exp: Adjust.
16397 * gdb.mi/mi2-until.exp: Adjust.
16398 * gdb.mi/mi-var-display.exp: Adjust.
16399 * gdb.mi/mi2-var-display.exp: Adjust.
16400 * gdb.mi/mi-watch.exp: Adjust.
16401 * gdb.mi/mi2-watch.exp: Adjust.
16402
16403 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
16404
16405 * aclocal.m4: Add override.m4.
16406 * configure: Regenerate.
16407
16408 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
16409
16410 * gdb.mi/var-cmd.c (do_at_tests): Verify that
16411 '-var-update --all-values' reports new value even the type
16412 of a variable object has changed.
16413
16414 2008-04-18 Craig Silverstein <csilvers@google.com>
16415
16416 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
16417 files.
16418
16419 2008-04-18 Joel Brobecker <brobecker@adacore.com>
16420
16421 * gdb.ada/atomic_enum: New test program.
16422 * gdb.ada/atomic_enum.exp: New testcase.
16423
16424 2008-04-17 Doug Evans <dje@google.com>
16425
16426 * gdb.opt/Makefile.in: Fix whitespace.
16427
16428 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
16429
16430 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
16431
16432 2008-04-17 Doug Evans <dje@google.com>
16433
16434 * gdb.base/hashline1.exp: New testcase.
16435 * gdb.base/hashline2.exp: New testcase.
16436 * gdb.base/hashline2.exp: New testcase.
16437
16438 2008-04-17 Pedro Alves <pedro@codesourcery.com>
16439
16440 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
16441
16442 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
16443
16444 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
16445 temporary breakpoint to match "Temporary breakpoint".
16446 * gdb.base/break.exp (delete_breakpoints): Likewise.
16447 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
16448 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
16449 * gdb.base/display.exp: Likewise.
16450 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
16451 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
16452 * gdb.base/restore.exp (restore_tests): Likewise.
16453 * gdb.base/sepdebug.exp: Likewise.
16454 * gdb.base/watchpoint.exp: Likewise.
16455 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
16456 * gdb.mi/mi-pending.exp: Likewise.
16457 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
16458 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
16459 * gdb.mi/mi-var-cmd.exp: Likewise.
16460 * gdb.mi/mi-var-display.exp: Likewise.
16461 * gdb.mi/mi2-cli.exp: Likewise.
16462 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
16463 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
16464 * gdb.mi/mi2-var-display.exp: Likewise.
16465 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
16466 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
16467 new "disp" field.
16468 (mi_expect_stop): Move after_reason argument to be really after
16469 reason. This is to support fix for PR2424.
16470
16471 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16472
16473 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
16474
16475 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
16476
16477 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
16478 field. Add more floating varobj tests.
16479 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
16480 field.
16481 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
16482 (main): Call do_at_tests.
16483 * lib/mi-support.exp (mi_create_floating_varobj)
16484 (mi_varobj_update_with_type_change): New.
16485
16486 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
16487
16488 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
16489 option of -var-evaluate-expression.
16490 * gdb.mi/mi2-var-display.exp: Likewise.
16491
16492 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
16493
16494 Introduce test setup helpers.
16495 * lib/gdb.exp (build_executable, clean_restart)
16496 (prepare_for_testing): New.
16497 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
16498 * gdb.base/return.exp: Likewise.
16499 * gdb.base/ending-run.exp: Likewise.
16500
16501 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
16502
16503 * gdb.mi/mi-async.exp: New test for asynchronous Machine
16504 Interface (MI) responses.
16505
16506 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
16507
16508 * gdb.cp/breakpoint.cc: New code to test conditions involving
16509 member variables.
16510 * gdb.cp/breakpoint.exp: Test condition involving member
16511 variables.
16512
16513 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
16514
16515 * lib/mi-support.exp (mi_expect_stop): New.
16516 (mi_run_cmd): Change the
16517 token. Use mi_send_resuming_command, use
16518 mi_expect_stop.
16519 (mi_execute_to_helper): Rename to mi_execute_to.
16520 (mi_send_resuming_command): Add more error patterns.
16521 (mi_wait_for_stop): Renamed to...
16522 (mi_get_stop_line): ...this.
16523 (mi_run_inline_test): Adjust.
16524
16525 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
16526 * gdb.mi/mi-console.exp: Likewise.
16527 * gdb.mi/mi-pending.exp: Likewise.
16528 * gdb.mi/mi-simplerun.exp: Likewise.
16529 * gdb.mi/mi-stack.exp: Likewise.
16530 * gdb.mi/mi-stepi.exp: Likewise.
16531 * gdb.mi/mi-syn-frame.exp: Add comment.
16532 * gdb.mi/mi-until.exp: Likewise.
16533 * gdb.mi/mi-var-display.exp: Likewise.
16534 * gdb.mi/mi-watch.exp: Likewise.
16535 * gdb.mi/mi2-cli.exp: Likewise.
16536 * gdb.mi/mi2-console.exp: Likewise.
16537 * gdb.mi/mi2-simplerun.exp: Likewise.
16538 * gdb.mi/mi2-stack.exp: Likewise.
16539 * gdb.mi/mi2-stepi.exp: Likewise.
16540 * gdb.mi/mi2-until.exp: Likewise.
16541 * gdb.mi/mi2-var-display.exp: Likewise.
16542 * gdb.mi/mi2-watch.exp: Likewise.
16543
16544 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16545
16546 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
16547
16548 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
16549
16550 2008-04-04 Pedro Alves <pedro@codesourcery.com>
16551
16552 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
16553 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
16554 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
16555 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
16556 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
16557 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
16558 expect an mi error duplicated in stderr.
16559
16560 2008-04-03 Joel Brobecker <brobecker@adacore.com>
16561
16562 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
16563 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
16564 Add a couple of tests that verify the behavior when the new setting
16565 is set to "cancel" and "all".
16566 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
16567 "ask" before we start the testing.
16568
16569 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
16570
16571 * gdb.cp/casts.cc: Add class reference variables.
16572 * gdb.cp/casts.exp: New test cases for up/down casting references.
16573
16574 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
16575
16576 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
16577 instead of beginning to make an extra test pass.
16578 * gdb.mi/mi2-var-display.exp: Likewise.
16579
16580 2008-03-31 Maciej W. Rozycki <macro@mips.com>
16581
16582 * gdb.base/break.exp: Mark failures as such. Fix formatting.
16583
16584 2008-03-31 Markus Deuling <deuling@de.ibm.com>
16585 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16586
16587 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
16588 value. Add xfail for older kernels.
16589
16590 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
16591
16592 Bring mi-support in line with gdb.exp.
16593 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
16594 (mi_gdb_start): New function.
16595
16596 2008-03-28 Maciej W. Rozycki <macro@mips.com>
16597
16598 * gdb.mi/mi-var-cmd.exp: Fix a typo.
16599
16600 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
16601
16602 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
16603 * gdb.mi/mi2-var-display.exp: Likewise.
16604
16605 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
16606
16607 * lib/mi-support.exp (mi_create_varobj_checked): New.
16608 (mi_list_varobj_children): Allow to check for a
16609 value.
16610 (mi_list_array_varobj_children): New.
16611
16612 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
16613 and mi_list_varobj_children, as opposed to hardcoding
16614 expected strings.
16615 * gdb.mi/gdb701.exp: Likewise.
16616 * gdb.mi/gdb792.exp: Likewise.
16617 * gdb.mi/mi-var-block.exp: Likewise.
16618 * gdb.mi/mi-var-cmd.exp: Likewise.
16619 * gdb.mi/mi-var-invalidate.exp: Likewise.
16620 * gdb.mi/mi2-var-block.exp: Likewise.
16621 * gdb.mi/mi2-var-child.exp: Likewise.
16622 * gdb.mi/mi2-var-cmd.exp: Likewise.
16623 * gdb.mi/mi2-var-display.exp: Likewise.
16624
16625 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16626
16627 Fix random false FAILs on i386.
16628 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
16629
16630 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
16631
16632 PR gdb/544
16633 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
16634
16635 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
16636
16637 PR gdb/544
16638 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
16639
16640 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16641
16642 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
16643 fixed PR gdb/544.
16644
16645 2008-03-21 Pedro Alves <pedro@codesourcery.com>
16646
16647 * gdb.threads/fork-child-threads.exp: Test next over fork.
16648
16649 2008-03-21 Chris Demetriou <cgd@google.com>
16650
16651 * gdb.base/break.exp (rbreak junk): New test for rbreak
16652 "Junk at end of arguments" issue.
16653
16654 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16655
16656 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
16657 *& to work on created array elements.
16658 (Top level): Test print $pc with a file. Test string operations
16659 without a target.
16660 * gdb.base/ptype.exp: Do not expect *& to work on created array
16661 elements.
16662
16663 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16664
16665 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
16666 gdb.threads/staticthreads.exp: Update exit query.
16667
16668 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
16669
16670 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
16671
16672 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
16673
16674 * gdb.base/watchpoint.c (global_ptr, func4): New.
16675 (main): Call func4.
16676 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
16677 (test_inaccessible_watchpoint): New.
16678
16679 2008-02-29 Maciej W. Rozycki <macro@mips.com>
16680
16681 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
16682 select the largest.
16683
16684 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
16685
16686 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
16687 frames-invalid annotations.
16688
16689 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
16690
16691 * gdb.base/assign.exp: avoid same output for different tests.
16692
16693 2008-02-27 Doug Evans <dje@google.com>
16694
16695 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
16696 for bug 1738.
16697 (breakpoint_to_handler_entry): Ditto.
16698
16699 2008-02-27 Joel Brobecker <brobecker@adacore.com>
16700
16701 * gdb.base/ending-run.exp: Use the first line of code inside
16702 function body to test breakpoints.
16703 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
16704 location where the breakpoint is inserted when using the line
16705 where a function is declared. Fix typo in the description of
16706 one of the tests.
16707 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
16708
16709 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16710
16711 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
16712 tests.
16713
16714 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16715
16716 * gdb.base/args.exp: avoid same output for tests
16717 with single quotes.
16718
16719 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
16720
16721 * gdb.base/annota1.exp: Adjust for 'info break'
16722 format changes.
16723 * gdb.base/annota3.exp: Likewise.
16724 * gdb.base/break.exp: Likewise.
16725 * gdb.base/condbreak.exp: Likewise.
16726 * gdb.base/pending.exp: Likewise.
16727 * gdb.base/sepdebug.exp: Likewise.
16728 * gdb.base/unload.exp: Likewise.
16729 * gdb.cp/ovldbreak.exp: Likewise.
16730 * gdb.mi/mi-pending.exp: Likewise.
16731
16732 2008-02-07 Doug Evans <dje@google.com>
16733
16734 * gdb.cp/mb-inline.exp: New.
16735 * gdb.cp/mb-inline.h: New.
16736 * gdb.cp/mb-inline1.cc: New.
16737 * gdb.cp/mb-inline2.cc: New.
16738
16739 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
16740
16741 * gdb.pascal/floats.pas: New test program.
16742 * gdb.pascal/floats.exp: New testcase.
16743
16744 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
16745
16746 * gdb.base/callfuncs.c (t_float_many_args): New function.
16747 (t_double_many_args): New function.
16748 * gdb.base/callfuncs.exp: Add tests for exceeding float
16749 and double parameters passed through the stack.
16750
16751 2008-02-05 Joel Brobecker <brobecker@adacore.com>
16752
16753 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
16754 gdb.ada/complete/foo.adb: New files.
16755 * gdb.ada/complete.exp: New testcase.
16756
16757 2008-02-03 Doug Evans <dje@google.com>
16758
16759 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
16760
16761 * gdb.cp/gdb2384.exp: New file.
16762 * gdb.cp/gdb2384.cc: New file.
16763 * gdb.cp/gdb2384-base.h: New file.
16764 * gdb.cp/gdb2384-base.cc: New file.
16765
16766 2008-02-02 Doug Evans <dje@google.com>
16767
16768 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
16769
16770 2007-02-01 Joel Brobecker <brobecker@adacore.com>
16771
16772 * gdb.ada/sym_print_name: New test program.
16773 * gdb.ada/sym_print_name.exp: New testcase.
16774
16775 2007-02-01 Joel Brobecker <brobecker@adacore.com>
16776
16777 * gdb.ada/nested/hello.adb: New file.
16778 * gdb.ada/nested.exp: New testcase.
16779 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16780
16781 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16782
16783 * gdb.mi/basic.c (return_1): New function.
16784 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
16785 don't cause future evaluations of function to report
16786 creation of internal breakpoints.
16787
16788 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16789
16790 * gdb.mi/mi-break.exp (test_error): New.
16791 Call it.
16792
16793 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
16794
16795 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
16796 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
16797
16798 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16799
16800 * gdb.pascal/integers.pas: New test program.
16801 * gdb.pascal/integers.exp: New testcase.
16802
16803 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16804
16805 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
16806
16807 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
16808
16809 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
16810 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
16811
16812 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
16813
16814 * gdb.ada/formatted_ref: New test program.
16815 * gdb.ada/formatted_ref.exp: New testcase.
16816
16817 * gdb.cp/formatted-ref.cc: New file.
16818 * gdb.cp/formatted-ref.exp: New testcase.
16819
16820 2008-01-30 Joel Brobecker <brobecker@adacore.com>
16821
16822 * gdb.base/ptype.exp: Add testing of "ptype $pc".
16823
16824 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
16825
16826 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
16827 (test_file_list_exec_source_file): Update to new macro-info field.
16828
16829 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
16830
16831 * gdb.ada/exprs: New test program.
16832 * gdb.ada/exprs.exp: New testcase.
16833
16834 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
16835
16836 * dfp-test.c (DELTA, DELTA_B): New definitions.
16837 (double_val1, double_val2, double_val3, double_val4, double_val5,
16838 double_val6, double_val7, double_val8, double_val9, double_val10,
16839 double_val11, double_val12, double_val13, double_val14, dec32_val1,
16840 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
16841 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
16842 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
16843 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
16844 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
16845 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
16846 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
16847 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
16848 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
16849 dec128_val16): New global variables.
16850 (decimal_dec128_align): New function.
16851 (decimal_mixed): Likewise.
16852 (decimal_many_args_dec32): Likewise.
16853 (decimal_many_args_dec64): Likewise.
16854 (decimal_many_args_dec128): Likewise.
16855 (decimal_many_args_mixed): Likewise.
16856 * dfp-test.exp: Add tests calling new inferior functions.
16857
16858 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16859
16860 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
16861 gdb.server/ext-run.exp: New files.
16862 * lib/gdbserver-support.exp (gdbserver_download): New.
16863 (gdbserver_start): New. Update gdbserver expected
16864 output.
16865 (gdbserver_spawn): Use them.
16866 (gdbserver_start_extended): New.
16867
16868 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16869
16870 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
16871 Run on GNU/Linux.
16872 (do_exec_tests): Check for systems which do not support catchpoints.
16873 Do not match START.
16874 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
16875 Run on GNU/Linux. Enable verbose output.
16876 (check_fork_catchpoints): New.
16877 (explicit_fork_child_follow, catch_fork_child_follow)
16878 (tcatch_fork_parent_follow): Update expected messages.
16879 (do_fork_tests): Use check_fork_catchpoints.
16880 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
16881 Run on GNU/Linux. Enable verbose output.
16882 (check_vfork_catchpoints): New.
16883 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
16884 expected messages.
16885 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
16886
16887 2008-01-29 Jim Blandy <jimb@red-bean.com>
16888
16889 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
16890 host' errors.
16891 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
16892
16893 2008-01-29 Jim Blandy <jimb@red-bean.com>
16894
16895 * gdb.threads/sigthread.c: Use barriers to ensure that
16896 child_thread and child_thread_two are always initialized before we
16897 start to use them.
16898
16899 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
16900
16901 * gdb.base/watchpoint-solib.exp: New.
16902 * gdb.base/watchpoint-solib.c: New.
16903 * gdb.base/watchpoint-solib-shr.c: New.
16904
16905 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
16906
16907 * gdb.base/gdb1056.exp: Add unsigned integer test.
16908
16909 2008-01-28 Doug Evans <dje@google.com>
16910
16911 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
16912
16913 2008-01-27 Jim Blandy <jimb@codesourcery.com>
16914
16915 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
16916
16917 * gdb.base/expand-psymtabs.exp: Doc fix.
16918
16919 2008-01-26 Mark Kettenis <kettenis@gnu.org>
16920
16921 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16922
16923 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
16924
16925 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
16926 -var-set-format.
16927
16928 2008-01-23 Chris Demetriou <cgd@google.com>
16929
16930 * gdb.threads/thread_events.c: New testcase source file.
16931 * gdb.threads/thread_events.exp: New testcase expect file.
16932
16933 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
16934
16935 * lib/gdb.exp: Add the variable octal.
16936
16937 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
16938 -var-set-format.
16939
16940 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
16941 Vladimir Prus <vladimir@codesourcery.com>
16942
16943 * gdb.base/float.exp: Allow missing floating point for m68k and
16944 PowerPC.
16945
16946 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
16947
16948 * gdb.mi/basics.c: Setup for testing breakpoints
16949 ignore count.
16950 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
16951 * gdb.mi/mi-cli.exp: Adjust.
16952 * gdb.mi/mi2-cli.exp: Adjust.
16953
16954 2008-01-17 Pedro Alves <pedro@codesourcery.com>
16955
16956 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
16957 and 'dummy_ptr' integer pointer. Initialize struct_declarations
16958 with dummy_ptr's address.
16959 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
16960 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
16961 all targets.
16962 * gdb.mi/mi2-var-child.exp: Likewise.
16963
16964 2008-01-09 Joel Brobecker <brobecker@adacore.com>
16965
16966 * gdb.ada/null_array: New test program.
16967 * gdb.ada/null_array.exp: New testcase.
16968
16969 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
16970
16971 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
16972 with required float modifiers.
16973
16974 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16975
16976 * gdb.ada/funcall_param: New test program.
16977 * gdb.ada/funcall_param.exp: New testcase.
16978
16979 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16980
16981 * gdb.ada/arrayparam: New test program.
16982 * gdb.ada/arrayparam.exp: New testcase.
16983
16984 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16985
16986 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
16987 landed. Should also fix random failures in the test following it.
16988
16989 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
16990
16991 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
16992 for expressions with decimal float values.
16993 (test_dfp_conversions): New function to test casts to and from
16994 decimal float types.
16995 Call test_dfp_conversions.
16996 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
16997 elements.
16998 (main): Initialize ds.float4 and ds.double8 elements.
16999 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
17000 string to new error message.
17001 (d64_set_tests): Likewise.
17002 (d128_set_tests): Likewise.
17003 Add tests for expressions with decimal float variables. Add tests for
17004 conversions to and from decimal float types.
17005
17006 2008-01-05 Joel Brobecker <brobecker@adacore.com>
17007
17008 * gdb.ada/packed_tagged/comp_bug.adb: New file.
17009 * gdb.ada/packed_tagged.exp: New testcase.
17010
17011 2008-01-04 Joel Brobecker <brobecker@adacore.com>
17012
17013 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
17014 gdb.ada/homonym/homonym_main.adb: New files.
17015 * gdb.ada/homonym.exp: New testcase.
17016
17017 2008-01-04 Joel Brobecker <brobecker@adacore.com>
17018
17019 * gdb.ada/packed_array.exp: Add testing of references to
17020 a packed array.
17021
17022 2008-01-04 Joel Brobecker <brobecker@adacore.com>
17023
17024 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
17025 New files.
17026 * gdb.ada/type_coercion.exp: New testcase.
17027
17028 2008-01-04 Joel Brobecker <brobecker@adacore.com>
17029
17030 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
17031 gdb.ada/tagged/foo.adb: New file.
17032 * gdb.ada/tagged.exp: New testcase.
17033
17034 2008-01-04 Joel Brobecker <brobecker@adacore.com>
17035
17036 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
17037 gdb.ada/ptype_field/foo.adb: New files.
17038 * gdb.ada/ptype_field.exp: New testcase.
17039
17040 2008-01-03 Joel Brobecker <brobecker@adacore.com>
17041
17042 * gdb.ada/print_pc.exp: New testcase.
17043
17044 2008-01-03 Joel Brobecker <brobecker@adacore.com>
17045
17046 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
17047 gdb.ada/taft_type/p.adb: New files.
17048 * gdb.ada/taft_type.exp: New testcase.
17049
17050 2008-01-03 Joel Brobecker <brobecker@adacore.com>
17051
17052 * gdb.ada/array_bounds/bar.adb: New file.
17053 * gdb.ada/array_bounds.exp: New testcase.
17054
17055 2008-01-03 Joel Brobecker <brobecker@adacore.com>
17056
17057 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
17058 gdb.ada/arrayptr/foo.adb: New files.
17059 * gdb.ada/arrayptr.exp: New testcase.
17060
17061 2008-01-03 Joel Brobecker <brobecker@adacore.com>
17062
17063 * gdb.base/set-lang-auto.exp: New testcase.
17064
17065 2008-01-03 Joel Brobecker <brobecker@adacore.com>
17066
17067 * gdb.ada/fun_addr/foo.adb: New file.
17068 * gdb.ada/fun_addr.exp: New testcase.
17069
17070 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17071
17072 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
17073 New files
17074
17075 2008-01-02 Joel Brobecker <brobecker@adacore.com>
17076
17077 * array_subscript_addr/p.adb: New file.
17078 * array_subscript_addr.exp: New testcase.
17079
17080 2008-01-02 Joel Brobecker <brobecker@adacore.com>
17081
17082 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
17083 New files.
17084 * gdb.ada/str_cmp_ref.exp: New testcase.
17085
17086 2008-01-01 Joel Brobecker <brobecker@adacore.com>
17087
17088 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
17089 gdb.ada/fun_in_declare/foo.adb: New files.
17090 * gdb.ada/fun_in_declare.exp: New testcase.
17091
17092 2008-01-01 Joel Brobecker <brobecker@adacore.com>
17093
17094 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
17095 gdb.ada/ref_param/pck.ads: New files.
17096 * gdb.ada/ref_param.exp: New testcase.
17097
17098 2008-01-01 Joel Brobecker <brobecker@adacore.com>
17099
17100 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
17101 gdb.ada/interface/foo.adb: New files.
17102 * gdb.ada/interface.exp: New testcase.
17103
17104 2007-12-31 Jim Blandy <jimb@codesourcery.com>
17105
17106 * gdb.base/multi-forks.exp: Consume all output from child
17107 processes before proceeding to next test.
17108
17109 2007-12-29 Jim Blandy <jimb@codesourcery.com>
17110
17111 * configure: Regenerated.
17112
17113 2007-12-27 Joel Brobecker <brobecker@adacore.com>
17114
17115 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
17116 gdb.ada/fixed_cmp/fixed.adb: New files.
17117 * gdb.ada/fixed_cmp.exp: New testcase.
17118
17119 2007-12-27 Joel Brobecker <brobecker@adacore.com>
17120
17121 * gdb.ada/boolean_expr.exp: New testcase.
17122
17123 2007-12-26 Jim Blandy <jimb@codesourcery.com>
17124
17125 * gdb.base/multi-forks.exp: Doc fix.
17126
17127 2007-12-26 Joel Brobecker <brobecker@adacore.com>
17128
17129 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
17130 * gdb.ada/char_param.exp: Do not compile our test program with
17131 -gnata, this is unnecessary.
17132 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
17133
17134 2007-12-24 Joel Brobecker <brobecker@adacore.com>
17135
17136 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
17137 gdb.ada/print_chars/foo.adb: New files.
17138 * gdb.ada/print_chars.exp: New testcase.
17139
17140 2007-12-24 Joel Brobecker <brobecker@adacore.com>
17141
17142 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
17143 gdb.ada/char_param/foo.adb: New files.
17144 * gdb.ada/char_param.exp: New testcase.
17145
17146 2007-12-22 Jim Blandy <jimb@codesourcery.com>
17147
17148 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
17149 hard-coding source line numbers into the test.
17150 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
17151 gdb_get_line_number to find.
17152
17153 2007-12-22 Joel Brobecker <brobecker@adacore.com>
17154
17155 * gdb.base/ptype.c (highest): New struct type.
17156 (the_highest): New variable of that type.
17157 (main): Add dummy assignment to a field of variable the_highest.
17158 * gdb.base/ptype.exp: Test type printing of our new variable.
17159
17160 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
17161
17162 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
17163 and record first explicitly generated thread number.
17164 Use that thread number for thread specific watchpoint test.
17165 Add iteration number to repetitive tests.
17166
17167 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
17168 Jim Blandy <jimb@codesourcery.com>
17169
17170 * gdb.base/expand-psymtabs.c: New testcase
17171 source file.
17172 * gdb.base/expand-psymtabs.exp: New testcase
17173 expect file.
17174
17175 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
17176
17177 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
17178 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
17179
17180 2007-12-17 Joel Brobecker <brobecker@adacore.com>
17181
17182 * gdb.ada/frame_args/foo.adb: New file.
17183 * gdb.ada/frame_args/pck.ads: New file.
17184 * gdb.ada/frame_args/pck.adb: New file.
17185 * gdb.ada/frame_args.exp: New testcase.
17186
17187 2007-12-17 Joel Brobecker <brobecker@adacore.com>
17188
17189 * gdb.base/frame-args.c: New file.
17190 * gdb.base/frame-args.exp: New testcase.
17191
17192 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
17193 Joseph Myers <joseph@codesourcery.com>
17194
17195 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
17196
17197 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
17198
17199 * gdb.mi/mi-pending.exp: New.
17200 * gdb.mi/mi-pending.c: New.
17201 * gdb.mi/mi-pendshr.c: New.
17202
17203 2007-12-06 Jim Blandy <jimb@codesourcery.com>
17204
17205 * gdb.base/default.exp: Update expected output for 'info catch'.
17206
17207 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17208
17209 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
17210 must be set to binary.
17211
17212 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
17213
17214 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
17215
17216 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
17217
17218 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
17219 gdb.mi/mi-file-transfer.exp: New.
17220
17221 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17222
17223 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
17224
17225 2007-11-22 Maciej W. Rozycki <macro@mips.com>
17226
17227 * gdb.trace/backtrace.exp: Fix a typo.
17228 * gdb.trace/circ.exp: Likewise.
17229 * gdb.trace/collection.exp: Likewise.
17230 * gdb.trace/limits.exp: Likewise.
17231 * gdb.trace/report.exp: Likewise.
17232 * gdb.trace/tfind.exp: Likewise.
17233 * gdb.trace/while-dyn.exp: Likewise.
17234
17235 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
17236
17237 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
17238 objects of pointers that can't be dereferenced are now
17239 "noneditable".
17240
17241 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17242
17243 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
17244 (target_cpu): Remove.
17245
17246 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
17247
17248 * gdb.base/ending-run.exp: Expect the list of cleared
17249 breakpoint to come in natural order, not the reversed one.
17250
17251 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
17252
17253 * gdb.mi/mi-var-child.c (do_child_deletion): New.
17254 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
17255
17256 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
17257
17258 * gdb.base/printcmds.exp: New function
17259 test_printf_with_dfp.
17260
17261 2007-11-02 Doug Evans <dje@google.com>
17262
17263 * gdb.disasm/t01_mov.s: Remove carriage returns.
17264 * gdb.disasm/t02_mova.s: Ditto.
17265 * gdb.disasm/t03_add.s: Ditto.
17266 * gdb.disasm/t04_sub.s: Ditto.
17267 * gdb.disasm/t05_cmp.s: Ditto.
17268 * gdb.disasm/t06_ari2.s: Ditto.
17269 * gdb.disasm/t07_ari3.s: Ditto.
17270 * gdb.disasm/t08_or.s: Ditto.
17271 * gdb.disasm/t09_xor.s: Ditto.
17272 * gdb.disasm/t10_and.s: Ditto.
17273 * gdb.disasm/t11_logs.s: Ditto.
17274 * gdb.disasm/t12_bit.s: Ditto.
17275 * gdb.disasm/t13_otr.s: Ditto.
17276
17277 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17278
17279 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
17280
17281 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17282
17283 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
17284 provide DFP support.
17285
17286 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
17287
17288 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
17289 Test "set powerpc vector-abi". Skip auto-detection tests for old
17290 toolchains.
17291
17292 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
17293
17294 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
17295 with [string compare].
17296
17297 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
17298
17299 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
17300 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
17301
17302 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
17303
17304 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
17305 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
17306 * gdb.opt/Makefile.in: New makefile.
17307 * Makefile.in: Create new directory "gdb.opt".
17308 * configure.ac: Add "gdb.opt" directory.
17309 * configure: Regenerated.
17310
17311 2007-10-25 Doug Evans <dje@google.com>
17312
17313 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
17314 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
17315
17316 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
17317 Thiago Jung Bauermann <bauerman@br.ibm.com>
17318
17319 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
17320 Floating Point expressions.
17321 * gdb.base/dfp-test.exp: new file adding tests for Decimal
17322 Floating Point variables.
17323 * gdb.base/dfp-test.c: new file containing program with Decimal
17324 Floating variables, used by gdb.base/dfp-test.exp.
17325
17326 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
17327
17328 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
17329
17330 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17331
17332 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
17333 compiling test case with GCC.
17334 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
17335
17336 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17337
17338 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17339 format changes.
17340
17341 2007-10-18 Michael Snyder <msnyder@specifix.com>
17342
17343 * gdb.base/dbx.exp: Add missing "-re " operator.
17344
17345 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
17346
17347 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
17348 * configure.ac: Removed trailing spaces after backslash.
17349 * gdb.modula2: New directory.
17350 * gdb.modula2/Makefile.in: New file.
17351 * gdb.modula2/unbounded-array.exp: New file.
17352 * gdb.modula2/unbounded1.c: New file.
17353
17354 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
17355
17356 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
17357
17358 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
17359
17360 * gdb.base/sigstep.c (main): Add checks for
17361 return values for setitimer call.
17362 Call setitimer again with itimer = ITIMER_REAL
17363 if first call to setitimer fails.
17364
17365 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
17366
17367 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
17368 of $timeout.
17369
17370 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
17371
17372 * gdb.server/server-run.exp: Test for dynamic linker symbols.
17373
17374 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
17375
17376 * lib/gdb.exp (gdb_run_cmd): Move comment outside
17377 of gdb_expect call, to avoid interruption.
17378
17379 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
17380
17381 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
17382 (v_unsigned_long_long, v_long_long_array)
17383 (v_signed_long_long_array, v_unsigned_long_long_array)
17384 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
17385 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
17386 [!NO_LONG_LONG]: New.
17387 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
17388 v_long_long_member.
17389
17390 (v_long_long_func, v_signed_long_long_func)
17391 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
17392 (main) [!NO_LONG_LONG]: Initialize long long variants.
17393
17394 * gdb.base/whatis.exp: If board file requests no_long_long, build
17395 test with NO_LONG_LONG defined. Test long long, signed long long,
17396 and unsigned long long variants but only if board file doesn't
17397 disable it.
17398
17399 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
17400 Daniel Jacobowitz <dan@codesourcery.com>
17401
17402 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
17403 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
17404 * configure: Regenerated.
17405 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
17406 gdb.pascal/types.exp, lib/pascal.exp: New files.
17407
17408 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
17409
17410 * gdb.cp/classes.exp (do_tests): Always step to the line after the
17411 call.
17412 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
17413 to return to the call.
17414 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
17415 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
17416 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
17417 * gdb.mi/mi-until.exp (test_until): Likewise.
17418 * gdb.mi/mi2-until.exp (test_until): Likewise.
17419
17420 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
17421
17422 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
17423 two-char array.
17424 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
17425
17426 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
17427
17428 * gdb.threads/watchthreads.c (thread_function): Sleep between
17429 iterations.
17430 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
17431 at once for S/390. Generate matching fails and passes.
17432
17433 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
17434
17435 * gdb.mi/var-cmd.c (do_children_tests): Initialize
17436 the 'struct_declarations' variable to zeros.
17437
17438 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
17439
17440 * gdb.cp/mb-ctor.cc: New.
17441 * gdb.cp/mb-ctor.exp: New.
17442 * gdb.cp/mb-templates.cc: New.
17443 * gdb.cp/mb-templates.exp: New.
17444
17445 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
17446
17447 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
17448
17449 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
17450
17451 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
17452 targets.
17453 * configure: Regenerate.
17454
17455 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
17456
17457 * gdb.base/annota1.exp: Adjust for 'info break'
17458 format changes.
17459 * gdb.base/annota3.exp: Likewise.
17460 * gdb.base/break.exp: Likewise.
17461 * gdb.base/condbreak.exp: Likewise.
17462 * gdb.base/pending.exp: Likewise.
17463 * gdb.base/sepdebug.exp: Likewise.
17464 * gdb.base/unload.exp: Likewise.
17465 * gdb.base/ovldbreak.exp: Likewise.
17466
17467 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
17468
17469 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
17470 messages.
17471 * gdb.base/chng-syms.exp: Likewise.
17472 * gdb.base/unload.exp: Likewise.
17473
17474 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
17475
17476 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
17477
17478 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
17479
17480 * schedlock.c (NUM): Change to 1.
17481 (main): Use args[0] for the main thread.
17482 * schedlock.exp: Only expect two threads. Only issue one pass or fail
17483 regardless of the number of threads.
17484
17485 2007-09-14 Maciej W. Rozycki <macro@mips.com>
17486
17487 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
17488 type down.
17489 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
17490 test.
17491 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
17492 watchpoint type down.
17493 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
17494 test.
17495
17496 2007-09-14 Maciej W. Rozycki <macro@mips.com>
17497
17498 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
17499 Move all the tests here and run them twice, once using software
17500 watchpoints and once using hardware watchpoints.
17501 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
17502
17503 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
17504
17505 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
17506 test.
17507
17508 2007-09-10 Mark Kettenis <kettenis@gnu.org>
17509
17510 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
17511 build-id.
17512
17513 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
17514 know about $ORIGIN. Calculate output dir from $dest instead of
17515 using ${objdir}/{$subdir}.
17516
17517 2007-09-09 Mark Kettenis <kettenis@gnu.org>
17518
17519 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
17520 gcore, before continuing with the test.
17521
17522 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
17523
17524 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
17525 * gdb.mi/mi-watch.exp: Likewise.
17526
17527 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
17528 Jim Blandy <jimb@codesourcery.com>
17529
17530 * gdb.arch/i386-sse.exp: Do not expect character constants.
17531 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
17532 * gdb.base/display.exp: Allow print/s.
17533 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
17534 and unsigned char array changes.
17535
17536 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
17537
17538 * gdb.base/display.exp: Add tests for printf %p.
17539
17540 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
17541
17542 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
17543 the dll name to unicode.
17544
17545 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17546
17547 * gdb.base/default.exp (show version): Update the version text.
17548 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
17549
17550 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17551
17552 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
17553 New files.
17554
17555 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17556
17557 * lib/gdb.exp (build_id_debug_filename_get): New function.
17558 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
17559 Remove the generate DEBUG file for the future testcase runs.
17560 New testcase for the NT_GNU_BUILD_ID retrieval.
17561 Move the final testing step to ...
17562 (test_different_dir): ... a new function.
17563 New parameter XFAIL to XFAIL all the tests performed.
17564 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
17565 New parameter TYPE to PF_PREFIX all the tests performed.
17566
17567 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
17568
17569 * gdb.mi/mi-var-cp.cc (path_expression): New
17570 function.
17571 * gdb.mi/mi-var-cp.exp: Run path exression tests.
17572
17573 2007-08-27 Markus Deuling <deuling@de.ibm.com>
17574
17575 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
17576 to fit into SPU Local Store memory.
17577
17578 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17579
17580 * gdb.base/default.exp: Adjust the expected output of "info
17581 warranty" after the switch to GPLv3.
17582
17583 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17584
17585 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
17586 to 30000 (from 20000).
17587
17588 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17589
17590 Switch the license of all .exp files to GPLv3.
17591 Switch the license of all .f and .f90 files to GPLv3.
17592 Switch the license of all .s and .S files to GPLv3.
17593
17594 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17595
17596 * configure.ac: Switch license to GPLv3.
17597
17598 2007-08-23 Joel Brobecker <brobecker@adacore.com>
17599
17600 Switch the licensing to GPLv3 for all .ads and .adb files.
17601
17602 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
17603
17604 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
17605 and t_int_double.
17606 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
17607
17608 2007-08-17 Joel Brobecker <brobecker@adacore.com>
17609
17610 * gdb.base/step-line.c: Switch license to GPL version 3, and
17611 update copyright year.
17612 * gdb.base/step-line.inp: Likewise.
17613
17614 2007-08-17 Joel Brobecker <brobecker@adacore.com>
17615
17616 * gdb.base/gdb1555.exp: Make expected output immune to formatting
17617 changes inside gdb1555.c.
17618 * gdb.base/pending.exp: Likewise.
17619
17620 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
17621
17622 * config/default.exp: New file.
17623
17624 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17625
17626 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
17627 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
17628
17629 2007-07-30 Maciej W. Rozycki <macro@mips.com>
17630
17631 * gdb.base/dump.exp: Force the correct endianness for binary
17632 formats not carrying this information.
17633
17634 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17635
17636 * gdb.threads/staticthreads.exp: Match .*sem_post.
17637
17638 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17639
17640 * gdb.base/readline.exp (operate_and_get_next): Match the final
17641 prompt.
17642
17643 2007-07-23 Kevin Buettner <kevinb@redhat.com>
17644
17645 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
17646 to restarting SID.
17647
17648 2007-07-18 Kevin Buettner <kevinb@redhat.com>
17649
17650 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
17651 prior to `gdb_start'.
17652
17653 2007-07-18 Kevin Buettner <kevinb@redhat.com>
17654
17655 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
17656 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
17657 Remove call to gdb_unload.
17658
17659 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
17660 Daniel Jacobowitz <dan@codesourcery.com>
17661
17662 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
17663 for __WIN32__.
17664 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
17665 * gdb.base/unload.exp: Use shared library test routines.
17666
17667 2007-07-03 Markus Deuling <deuling@de.ibm.com>
17668
17669 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
17670 * gdb.base/solib-symbol-lib.c: Likewise.
17671 * gdb.base/solib-symbol-main.c: Likewise.
17672
17673 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
17674
17675 * config/gdbserver.exp (gdb_reconnect): New.
17676 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
17677 gdb.base/solib-disc.exp: New files.
17678 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
17679 remote debugging".
17680 (gdb_compile): Add shlib_load flag.
17681 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
17682 port.
17683 (gdbserver_reconnect): New.
17684
17685 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
17686 Daniel Jacobowitz <dan@codesourcery.com>
17687
17688 * gdb.base/annota3.exp: Test for if construct.
17689
17690 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
17691
17692 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
17693
17694 2007-06-21 Chris Dearman <chris@mips.com>
17695 Maciej W. Rozycki <macro@mips.com>
17696
17697 * gdb.base/display.exp: Allow a newline after display/i.
17698 * gdb.base/pc-fp.exp: Likewise.
17699 * gdb.base/sigbpt.exp: Likewise.
17700
17701 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17702
17703 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
17704 required features to be included.
17705
17706 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
17707
17708 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
17709 in info threads output.
17710
17711 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17712 Markus Deuling <deuling@de.ibm.com>
17713
17714 * gdb.arch/spu-info.exp: New testcase.
17715 * gdb.arch/spu-info.c: New file.
17716
17717 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
17718
17719 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
17720 tpcs_offset. Restore lr after the call.
17721 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
17722
17723 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
17724
17725 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
17726 (gdbserver_run): Kill any running gdbserver.
17727 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
17728
17729 2007-05-17 Maciej W. Rozycki <macro@mips.com>
17730
17731 * gdb.base/sigbpt.exp: Preset segv_addr.
17732
17733 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
17734
17735 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
17736 (gdb_compile_shlib): Likewise.
17737 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
17738 (default_gdb_init): Clear cleanfiles.
17739 (gdb_finish): Delete recorded cleanfiles.
17740 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
17741
17742 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
17743 Do not use isnative.
17744 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
17745 gdb.base/so-impl-ld.exp: Likewise.
17746 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
17747 * gdb.base/unload.exp: Likewise. Do not pass empty option to
17748 gdb_compile.
17749
17750 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
17751
17752 * config/unknown.exp: Remove.
17753
17754 2007-05-15 Markus Deuling <deuling@de.ibm.com>
17755
17756 * gdb.base/info-proc.exp: Check is_remote.
17757
17758 2007-05-14 Markus Deuling <deuling@de.ibm.com>
17759
17760 * gdb.base/gcore.exp: Initialize variable core_supported.
17761
17762 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17763
17764 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
17765
17766 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17767
17768 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
17769 * gdb.threads/print-threads.exp (test_all_threads): Allow
17770 negative and hexadecimal thread IDs.
17771
17772 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17773
17774 * gdb.java/jprint.java (public): Avoid invalid call to static
17775 method.
17776
17777 2007-05-14 Denis Pilat <denis.pilat@st.com>
17778
17779 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
17780 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
17781 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
17782 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
17783 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
17784
17785 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17786
17787 * gdb.base/overlays.exp: Add support for targets with only code
17788 overlay support, not data overlay. Support spu-*-* target in
17789 this mode.
17790 * gdb.base/ovlymgr.c: Provide stubs for spu target.
17791 * gdb.base/spu.ld: New file.
17792
17793 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
17794
17795 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
17796
17797 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
17798
17799 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
17800
17801 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17802
17803 * gdb.java/jmain.exp: Handle demangled names with and without method
17804 signatures.
17805
17806 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17807
17808 * gdb.mi/mi-syn-frame.c (main, foo, bar)
17809 (have_a_very_merry_interrupt): Remove calls to puts.
17810 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
17811 inferior output.
17812 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
17813 test names.
17814
17815 2007-04-29 Markus Deuling <deuling@de.ibm.com>
17816 Daniel Jacobowitz <dan@codesourcery.com>
17817
17818 * gdb.base/auxv.exp (core_works): Also check is_remote.
17819 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
17820
17821 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
17822
17823 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
17824 message, not the undefined 'module' variable.
17825 * gdb.base/siginfo.exp: Likewise.
17826 * gdb.base/sigstep.exp: Likewise.
17827 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
17828 serialport.
17829 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
17830
17831 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
17832
17833 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
17834 target sim fails. Return 0 otherwise.
17835 (gdb_load): Return prematurely if gdb_target_sim fails.
17836
17837 2007-04-16 Denis Pilat <denis.pilat@st.com>
17838
17839 * gdb.base/setshow.exp: Reset height after having set it to 100.
17840
17841 2007-04-16 Denis Pilat <denis.pilat@st.com>
17842
17843 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
17844
17845 2007-04-16 Denis Pilat <denis.pilat@st.com>
17846
17847 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
17848
17849 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
17850
17851 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
17852 tests. Run the frozen varobjs test.
17853 * gdb.mi/var-cmd.c (do_frozen_tests): New.
17854 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
17855
17856 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17857
17858 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
17859 gdb.base/type-opaque.exp: New files.
17860
17861 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
17862
17863 * gdb.mi/mi-var-child.c
17864 (do_children_tests): User char[2] instead of
17865 char so that automatic printing of pointers to char
17866 don't give unpredicable result.
17867 * gdb.mi/var-cmd.c (do_locals_test): Initialize
17868 local variables.
17869 * gdb.mi/mi-var-child.exp: Step to right line
17870 of do_children_tests.
17871 * gdb.mi/mi2-var-child.exp: Likewise.
17872 * gdb.mi/mi-var-cmd.exp: Step to right line of
17873 do_locals_tests.
17874 (do_children_tests): User char[2] instead of
17875 char so that automatic printing of pointers to char
17876 don't give unpredicable result.
17877 * gdb.mi/mi2-var-cmd.exp: Likewise.
17878 * lib/mi-support.exp (mi_continue_to_line):
17879 Pass test name to mi_wait_for_stop.
17880
17881 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17882
17883 * gdb.asm/asm-source.exp: Remove d10v case.
17884 * lib/gdb.exp (skip_cplus_tests): Likewise.
17885 * gdb.asm/d10v.inc: Deleted.
17886
17887 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17888
17889 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
17890
17891 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17892
17893 * config/netware.exp: Delete file.
17894
17895 2007-03-29 Joel Brobecker <brobecker@adacore.com>
17896
17897 * gdb.dwarf2/dw2-noloc.S: New file.
17898 * gdb.dwarf2/dw2-noloc.exp: New file.
17899
17900 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
17901
17902 * gdb.cp/method2.cc: New test.
17903 * gdb.cp/method2.exp: New test.
17904 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
17905
17906 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17907
17908 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
17909
17910 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
17911
17912 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
17913
17914 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17915
17916 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
17917 (gdb_load): Delete, replace with...
17918 (gdb_reload): ...this.
17919 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
17920 * gdb.server/server-mon.exp: Likewise.
17921 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
17922 (gdb_start_cmd): New.
17923 (gdb_file_cmd): Save the last loaded file.
17924 (gdb_reload): New.
17925 (gdb_gnu_strip_debug): Use transform.
17926 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
17927 support here. Use new $last_loaded_file. Check mtime.
17928 (gdb_target_cmd): Handle ObjC failure case.
17929 (infer_host_exec): Delete.
17930 (gdbserver_load): Rename to...
17931 (gdbserver_run): ...this. Simplify.
17932 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
17933 (mi_gdb_load): Move most contents to a new function...
17934 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
17935 (mi_run_cmd): Use mi_gdb_target_load.
17936 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
17937 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
17938 Use gdb_run_cmd.
17939 * gdb.base/charsign.exp: Remove incorrect comment.
17940 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
17941 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
17942 gdb.base/start.exp: Use gdb_start_cmd.
17943
17944 2007-03-23 Nigel Stephens <nigel@mips.com>
17945 Maciej W. Rozycki <macro@mips.com>
17946
17947 * gdb.base/sigbpt.exp: Fix the message when skipping test.
17948 * gdb.base/signull.exp: Similarly.
17949
17950 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17951
17952 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
17953 messages available to test cases (like chng-sym.exp).
17954
17955 2007-03-14 Andreas Schwab <schwab@suse.de>
17956
17957 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17958 format changes.
17959
17960 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
17961
17962 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
17963 (optimized_1): New.
17964 (main): Call optimized_1.
17965 (gdb2029): Correct typos. Call gdb2029_marker.
17966 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
17967 for gdb2029.
17968
17969 2007-03-12 Mark Kettenis <kettenis@gnu.org>
17970
17971 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
17972 as tabs. Remove redundant test pattern.
17973
17974 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17975
17976 * gdb.base/long_long.exp: Accept optional symbol name in <...>
17977 for /a format output.
17978
17979 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
17980
17981 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
17982 collect output incrementally.
17983
17984 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17985
17986 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
17987 for -var-create lpcharacter test.
17988 * gdb.mi/mi2-var-cmd.exp: Likewise.
17989
17990 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17991
17992 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
17993 pass on targets where address zero is readable.
17994
17995 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17996
17997 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
17998 just a single architecture.
17999
18000 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18001
18002 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
18003 (fetch_all_registers): New function, uses gdb_test_multiple and
18004 exp_continue to fetch inferior output line-by-line.
18005 Replace all uses of do_get_all_registers by fetch_all_registers.
18006
18007 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18008
18009 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
18010 in target_info.
18011
18012 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
18013
18014 * gdb.threads/manythreads.exp: Use $message string for
18015 consistancy; add a default (timeout) case.
18016
18017 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
18018
18019 * gdb.base/watchpoint.exp: Fix truncated comment.
18020
18021 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
18022
18023 * Makefile.in: Remove spurious single-quotes from sed command.
18024
18025 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
18026
18027 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
18028 func.
18029 * gdb.mi/mi2-var-cmd.exp: Likewise.
18030
18031 2007-02-27 Joel Brobecker <brobecker@adacore.com>
18032
18033 * gdb.dwarf2/dw2-producer.S: New file.
18034 * gdb.dwarf2/dw2-producer.exp: New testcase.
18035
18036 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
18037
18038 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
18039 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
18040 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
18041 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
18042 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
18043 Revert tests to use mi_gdb_test and include value field in output
18044 of -var-create.
18045
18046 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
18047
18048 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
18049
18050 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
18051
18052 * gdb.base/maint.exp: Remove full paths from test names.
18053 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
18054 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
18055
18056 2007-02-27 Joel Brobecker <brobecker@adacore.com>
18057
18058 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
18059
18060 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
18061
18062 * gdb.server/server-mon.exp: New test.
18063
18064 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
18065
18066 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
18067
18068 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
18069
18070 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
18071 register capitalization.
18072
18073 2007-02-13 Denis Pilat <denis.pilat@st.com>
18074
18075 * gdb.mi/mi-var-invalidate.exp: New file.
18076
18077 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
18078
18079 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
18080
18081 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
18082
18083 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
18084
18085 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
18086
18087 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
18088 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
18089
18090 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
18091
18092 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
18093 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
18094 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
18095 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
18096 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
18097 * gdb.mi/gdb792.exp, lib/mi-support.exp:
18098 Update tests to include value field in output of -var-create.
18099
18100 2007-02-08 Andreas Schwab <schwab@suse.de>
18101
18102 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
18103
18104 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
18105
18106 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
18107 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
18108
18109 2007-02-02 Denis Pilat <denis.pilat@st.com>
18110
18111 * gdb.threads/threadapply.exp: check that frame is not changed by
18112 the thread apply all command.
18113
18114 2007-01-31 Andreas Schwab <schwab@suse.de>
18115
18116 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
18117
18118 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
18119 in the dwarf sections.
18120 * gdb.dwarf2/mac-fileno.S: Likewise.
18121
18122 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
18123 bspstore register on ia64.
18124
18125 2007-01-29 Andreas Schwab <schwab@suse.de>
18126
18127 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
18128 "frame-begin" annotation.
18129
18130 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
18131 number of "frames-invalid" annotations.
18132
18133 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
18134
18135 * gdb.base/commands.exp: Call if_commands_test.
18136 (gdb_test_no_prompt, if_commands_test): New.
18137
18138 2007-01-28 Mark Kettenis <kettenis@gnu.org>
18139
18140 * gdb.threads/sigthread.c (NSIGS): Make bigger.
18141
18142 2007-01-27 Andreas Schwab <schwab@suse.de>
18143
18144 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
18145 .short/.int/.quad in the dwarf sections.
18146 * gdb.dwarf2/dw2-intercu.S: Likewise.
18147 * gdb.dwarf2/dw2-intermix.S: Likewise.
18148
18149 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18150
18151 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
18152 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
18153 array.
18154 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
18155 * gdb.base/setvar.exp: Likewise.
18156
18157 2007-01-26 Andreas Schwab <schwab@suse.de>
18158
18159 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
18160 test.
18161
18162 * gdb.base/multi-forks.exp ("restart $i"): Also match
18163 __kernel_syscall_via_break.
18164
18165 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
18166
18167 * lib/mi-support.exp (mi_delete_varobj): New.
18168 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
18169 testcase.
18170 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
18171 (main): Call the above.
18172 (reference_update_test, base_in_reference_test)
18173 (reference_to_pointer): Delete the created varobjs.
18174
18175 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
18176
18177 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
18178 * configure: Regenerated.
18179 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
18180 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
18181 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
18182 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
18183 * lib/gdb.exp (gdb_skip_xml_test): New function.
18184
18185 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
18186
18187 * gdb.base/sigrepeat.exp: Correct error message.
18188
18189 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18190 Daniel Jacobowitz <dan@codesourcery.com>
18191
18192 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
18193 gdb.arch/i386-gnu-cfi-asm.S: New files.
18194
18195 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18196
18197 * lib/gdb.exp: Abort on missing `site.exp'.
18198
18199 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18200 Daniel Jacobowitz <dan@codesourcery.com>
18201
18202 * gdb.base/included.c, gdb.base/included.exp,
18203 gdb.base/included.h: New files.
18204
18205 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
18206
18207 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
18208 (maximize_rlimit): Reduce limits on 64-bit systems.
18209
18210 2007-01-19 Mark Kettenis <kettenis@gnu.org>
18211
18212 From Marcus Deuling <deuling@de.ibm.com>:
18213 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
18214 every case.
18215
18216 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
18217
18218 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
18219 (test_path_specification): Use objdir instead of srcdir to always
18220 get an absolute filename.
18221
18222 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
18223
18224 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
18225
18226 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
18227
18228 * gdb.mi/mi-var-cp.cc (reference_update_tests):
18229 Make sure the variable we're using is in scope.
18230 (reference_to_pointer): Likewise.
18231
18232 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
18233
18234 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
18235 has no debug information.
18236
18237 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
18238
18239 * gdb.base/annota1.exp: Remove extra send_gdb.
18240
18241 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18242
18243 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
18244
18245 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18246
18247 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
18248
18249 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
18250 Daniel Jacobowitz <dan@codesourcery.com>
18251
18252 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
18253 lcharacter or linteger change. Correct duplicated test name.
18254 * gdb.mi/mi2-var-cmd.exp: Likewise.
18255
18256 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
18257
18258 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
18259
18260 2007-01-05 Joel Brobecker <brobecker@adacore.com>
18261
18262 * gdb.base/nofield.c: New file.
18263 * gdb.base/nofield.exp: New testcase.
18264
18265 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
18266
18267 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
18268
18269 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
18270 test.
18271
18272 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
18273
18274 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
18275
18276 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
18277
18278 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
18279 when continuing.
18280
18281 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18282
18283 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
18284 Expect ".exe" extension.
18285
18286 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18287
18288 * gdb.base/charset.exp: Add explicit filename to break.
18289 * gdb.base/dbx.exp: Add explicit filename to breaks.
18290
18291 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18292
18293 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
18294 * gdb.mi/mi2-file.exp: Likewise.
18295
18296 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
18297
18298 Implement specification of MI tests as comments
18299 in C and C++ sources.
18300 * lib/mi-support.exp (mi_autotest_data): New variable.
18301 (mi_autotest_source): New variable.
18302 (count_newlines, mi_prepare_inline_tests)
18303 (mi_get_inline_test, mi_continue_to_line)
18304 (mi_run_inline_test, mi_tbreak)
18305 (mi_send_resuming_command, mi_wait_for_stop): New functions.
18306 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
18307 Run inline tests.
18308 * gdb.mi/mi-var-cp.cc: Define tests here.
18309
18310 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
18311
18312 Simplify usage of mi_continue_to.
18313 * lib/mi-support.exp (mi_runto_helper): Renamed
18314 from mi_runto, added new parameter 'run_or_continue'.
18315 (mi_runto): Use mi_runto_helper.
18316 (mi_continue_to): Accept just function name as parameter.
18317 Use mi_runto_helper.
18318 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
18319 * gdb.mi/mi2-var-cmd.exp: Likewise.
18320
18321 2006-01-04 Joel Brobecker <brobecker@adacore.com>
18322
18323 Make this testcase a bit more realistic. The current code
18324 is too simplistic, and allows the compiler to optimize out
18325 some of the entities we need for this testcase.
18326 * gdb.ada/null_record/bar.ads (Void_Star): New type.
18327 (Do_Nothing): Add extra parameter.
18328 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
18329 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
18330 by using a variable of type Void_Star.
18331
18332 2006-01-04 Joel Brobecker <brobecker@adacore.com>
18333
18334 * gdb.ada/catch_ex/foo.adb: New file.
18335 * gdb.ada/catch_ex.exp: New testcase.
18336
18337 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
18338
18339 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
18340 pass --image-base to linker.
18341
18342 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18343 Daniel Jacobowitz <dan@codesourcery.com>
18344
18345 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
18346 secondary prompts.
18347
18348 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
18349
18350 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
18351 output. Test the types of members and member pointers.
18352 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
18353 gdb/2092.
18354 * gdb.cp/member-ptr.exp: Search for a comment instead of a
18355 statement. Enable for GCC. Update expected output for some tests
18356 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
18357 layout.
18358 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
18359 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
18360 (Diamond::vget_base): New.
18361 (main): Add new tests.
18362 * gdb.cp/printmethod.exp: Update expected output for member functions.
18363 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
18364 print pEe->D::vg().
18365
18366 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
18367
18368 * gdb.threads/tls.exp: Allow stops in sem_post.
18369
18370 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
18371
18372 * gdb.base/annota1.exp: Allow .*printf in backtraces.
18373 * gdb.base/annota3.exp: Likewise.
18374 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
18375 again (instead of timing out).
18376 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
18377 GCC bug 26475.
18378 * gdb.java/jmisc.exp: Adjust to work with method signatures including
18379 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
18380 test from jmisc1.exp.
18381 * gdb.java/jmisc1.exp: Delete.
18382 * gdb.java/jprint.exp: Adjust to work with method signatures including
18383 return types.
18384 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
18385 * gdb.threads/linux-dp.exp: Don't be confused by program output.
18386 * lib/java.exp (compile_java_from_source): Pass the correct type
18387 to target_compile.
18388
18389 2006-12-31 Joel Brobecker <brobecker@adacore.com>
18390
18391 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
18392 (stack_align_edx): New function.
18393 (stack_align_eax): New function.
18394 (main): Add calls to stack_align_edx and stack_align_eax.
18395 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
18396 Add testing for the cases where the register used during a stack
18397 realignment is edx. Same for eax.
18398
18399 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
18400
18401 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
18402 and generic PE targets.
18403
18404 2006-12-29 Joel Brobecker <brobecker@adacore.com>
18405
18406 * gdb.ada/array_return.exp: Update copyright date list.
18407
18408 2006-12-27 Joel Brobecker <brobecker@adacore.com>
18409
18410 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
18411 (Create_Small_Float_Vector): New function.
18412 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
18413 function body.
18414 * gdb.ada/array_return/p.adb: Use new type and function from
18415 package Pck.
18416 * gdb.ada/array_return.exp: Add a test verifying that GDB is
18417 able to print the value returned by a function returning an
18418 array of float.
18419
18420 2006-12-20 Joel Brobecker <brobecker@adacore.com>
18421
18422 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
18423 The associated tests should be PASSing.
18424
18425 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
18426
18427 Test for base in references.
18428 * gdb.mi/mi-var-cp.cc: Add test code.
18429 * gdb.mi/mi-var-cp.exp: Test for bases in references.
18430 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
18431 * gdb.mi/mi2-watch.exp: Likewise.
18432 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
18433 (mi_list_varobj_children): New function.
18434
18435 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
18436
18437 * lib/mi-support.exp
18438 (mi_runto): Accept "()" after function name.
18439 (mi_create_varobj): New function.
18440 (mi_varobj_update): New function.
18441 (mi_Check_varobj_value): New function.
18442 * gdb.mi/mi-var-cp.exp: New file.
18443 * gdb.mi/mi-var-cp.cc: New file.
18444
18445 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
18446
18447 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
18448 gdb.base/weaklib2.c: New files.
18449
18450 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
18451
18452 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
18453 info. Adjust test names.
18454
18455 * gdb.base/break.c (main): Move position of malloc.
18456 * gdb.base/break.exp: Revert mistaken checkin.
18457
18458 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
18459
18460 * gdb.mi/mi-var-cmd.exp: Check -var-update after
18461 assignement of arrays and function pointers.
18462 * gdb.mi/var-cmd.c: Add declaration necessary for above
18463 tests.
18464
18465 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
18466
18467 * gdb.base/break.c (main): Call malloc.
18468
18469 * gdb.threads/linux-dp.exp: Read thread table before and after
18470 creating each philosopher and verify it.
18471
18472 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
18473 Paul Brook <paul@codesourcery.com>
18474 Daniel Jacobowitz <dan@codesourcery.com>
18475
18476 * gdb.base/ending-run.exp: Flatten expect script stepping out of
18477 main to remove duplication. Add start function of the form
18478 '_*start[1-9]*'. Add RVDS start function.
18479
18480 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
18481
18482 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
18483
18484 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18485
18486 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
18487 * gdb.asm/spu.inc: New file.
18488 * gdb.base/term.exp: Disable if [target_info exists noargs].
18489 * gdb.gdb/complaints.exp: Disable if ![isnative].
18490 * gdb.gdb/selftest.exp: Likewise.
18491 * gdb.gdb/observer.exp: Likewise.
18492 * gdb.gdb/xfullpath.exp: Likewise.
18493 * gdb.base/attach.exp: Disable on SPU target.
18494 * gdb.cp/bs145503.exp: Likewise.
18495 * gdb.cp/exception.exp: Likewise.
18496 * gdb.cp/userdef.exp: Likewise.
18497
18498 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
18499
18500 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
18501
18502 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
18503
18504 * gdb.base/completion.exp: Fix completion tests for
18505 'info' and 'info '.
18506 * gdb.base/help.exp (help_test_raw, test_class_help)
18507 (test_prefix_command_help): Move...
18508 * lib/gdb.exp: Here.
18509 * gdb.base/main.exp: Adjust.
18510 * gdb.cp/maint.exp: Adjust.
18511 * gdb.trace/tracecmd.exp: Use test_help_class.
18512
18513 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
18514
18515 * gdb.stabs/weird.exp (print_weird_var): Use
18516 gdb_test_multiple instead of gdb_expect.
18517
18518 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
18519
18520 * gdb.base/help.exp (help_test_raw): New.
18521 (test_class_help): New.
18522 (test_prefix_command_help): New.
18523 Adjust testcases.
18524
18525 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
18526
18527 * gdb.base/constvars.c (main): Write to crass and crips, so that
18528 they are allocated by the compiler.
18529
18530 2006-10-27 Andreas Schwab <schwab@suse.de>
18531
18532 * gdb.base/multi-forks.exp: Use "detach fork" instead of
18533 "detach-fork".
18534
18535 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
18536
18537 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
18538 of patterns.
18539
18540 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
18541
18542 * gdb.base/sepdebug.exp: Remove debug format test.
18543 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
18544 Handle no-symtab.
18545 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
18546
18547 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
18548
18549 * gdb.threads/manythreads.c (thread_function, main): Don't cast
18550 int to pointer or pointer to int.
18551 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
18552
18553 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
18554
18555 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
18556
18557 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18558
18559 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
18560
18561 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
18562
18563 PR c++/2116
18564 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
18565
18566 2006-10-06 Joel Brobecker <brobecker@adacore.com>
18567
18568 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
18569 the corresponding bug has been fixed in GDB (PR/2018).
18570
18571 2006-10-06 Joel Brobecker <brobecker@adacore.com>
18572
18573 * gdb.base/subst.exp: New testcase.
18574
18575 2006-10-06 Joel Brobecker <brobecker@adacore.com>
18576
18577 * gdb.ada/array_return/pck.ads: Add copyright notice.
18578 * gdb.ada/array_return/pck.adb: Likewise.
18579 * gdb.ada/array_return/p.adb: Likewise.
18580 * gdb.ada/exec_changed/first.adb: Likewise.
18581 * gdb.ada/exec_changed/second.adb: Likewise.
18582
18583 2006-10-06 Joel Brobecker <brobecker@adacore.com>
18584
18585 * gdb.ada/watch_arg/watch.adb: New file.
18586 * gdb.ada/watch_arg.exp: New testcase.
18587
18588 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
18589
18590 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
18591 via string_to_regexp.
18592 * gdb.mi/mi2-basics.exp: Likewise.
18593
18594 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
18595
18596 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
18597 Remove unused / obsolete files.
18598
18599 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
18600
18601 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
18602
18603 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
18604
18605 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
18606 HIGH_FRAME argument to -stack-list-arguments can be larger than
18607 the number of frames.
18608
18609 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
18610
18611 * gdb.base/args.c (main): Add breakpoint marker.
18612 * gdb.base/args.exp: Use args_test for tests. Add new tests which
18613 really test empty arguments.
18614 (args_load): Delete.
18615 (args_test): New.
18616
18617 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
18618
18619 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
18620 check for one file.
18621
18622 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
18623
18624 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
18625 HIGH_FRAME argument to -stack-list-locals can be larger than
18626 the number of frames.
18627
18628 2006-08-18 Fred Fish <fnf@specifix.com>
18629
18630 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
18631 '$' in front of skip_vmx_tests_saved when setting that.
18632
18633 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
18634
18635 * gdb.base/trace-commands.exp: New file.
18636
18637 2006-08-10 Joel Brobecker <brobecker@adacore.com>
18638 Daniel Jacobowitz <dan@codesourcery.com>
18639
18640 * gdb.base/step-bt.exp: Make hexadecimal address optional in
18641 expected output of the backtrace commands.
18642
18643 2006-08-09 Joel Brobecker <brobecker@adacore.com>
18644
18645 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
18646 untested followed by return combination.
18647 * gdb.arch/altivec-regs.exp: Likewise.
18648 * gdb.arch/e500-abi.exp: Likewise.
18649 * gdb.arch/e500-regs.exp: Likewise.
18650 * gdb.arch/gdb1291.exp: Likewise.
18651 * gdb.arch/gdb1431.exp: Likewise.
18652 * gdb.arch/gdb1558.exp: Likewise.
18653 * gdb.arch/i386-prologue.exp: Likewise.
18654 * gdb.arch/i386-unwind.exp: Likewise.
18655 * gdb.asm/asm-source.exp: Likewise.
18656 * gdb.base/a2-run.exp: Likewise.
18657 * gdb.base/advance.exp: Likewise.
18658 * gdb.base/all-bin.exp: Likewise.
18659 * gdb.base/annota1.exp: Likewise.
18660 * gdb.base/annota3.exp: Likewise.
18661 * gdb.base/args.exp: Likewise.
18662 * gdb.base/arithmet.exp: Likewise.
18663 * gdb.base/assign.exp: Likewise.
18664 * gdb.base/async.exp: Likewise.
18665 * gdb.base/attach.exp: Likewise.
18666 * gdb.base/bang.exp: Likewise.
18667 * gdb.base/bigcore.exp: Likewise.
18668 * gdb.base/bitfields.exp: Likewise.
18669 * gdb.base/bitfields2.exp: Likewise.
18670 * gdb.base/break.exp: Likewise.
18671 * gdb.base/call-sc.exp: Likewise.
18672 * gdb.base/call-strs.exp: Likewise.
18673 * gdb.base/callfuncs.exp: Likewise.
18674 * gdb.base/checkpoint.exp: Likewise.
18675 * gdb.base/chng-syms.exp: Likewise.
18676 * gdb.base/code-expr.exp: Likewise.
18677 * gdb.base/commands.exp: Likewise.
18678 * gdb.base/completion.exp: Likewise.
18679 * gdb.base/cond-expr.exp: Likewise.
18680 * gdb.base/condbreak.exp: Likewise.
18681 * gdb.base/consecutive.exp: Likewise.
18682 * gdb.base/constvars.exp: Likewise.
18683 * gdb.base/corefile.exp: Likewise.
18684 * gdb.base/cvexpr.exp: Likewise.
18685 * gdb.base/dbx.exp: Likewise.
18686 * gdb.base/define.exp: Likewise.
18687 * gdb.base/detach.exp: Likewise.
18688 * gdb.base/display.exp: Likewise.
18689 * gdb.base/dump.exp: Likewise.
18690 * gdb.base/ena-dis-br.exp: Likewise.
18691 * gdb.base/ending-run.exp: Likewise.
18692 * gdb.base/environ.exp: Likewise.
18693 * gdb.base/eval-skip.exp: Likewise.
18694 * gdb.base/exprs.exp: Likewise.
18695 * gdb.base/fileio.exp: Likewise.
18696 * gdb.base/finish.exp: Likewise.
18697 * gdb.base/float.exp: Likewise.
18698 * gdb.base/foll-exec.exp: Likewise.
18699 * gdb.base/foll-fork.exp: Likewise.
18700 * gdb.base/foll-vfork.exp: Likewise.
18701 * gdb.base/freebpcmd.exp: Likewise.
18702 * gdb.base/funcargs.exp: Likewise.
18703 * gdb.base/gcore.exp: Likewise.
18704 * gdb.base/gdb1090.exp: Likewise.
18705 * gdb.base/gdb1250.exp: Likewise.
18706 * gdb.base/huge.exp: Likewise.
18707 * gdb.base/info-proc.exp: Likewise.
18708 * gdb.base/interrupt.exp: Likewise.
18709 * gdb.base/jump.exp: Likewise.
18710 * gdb.base/langs.exp: Likewise.
18711 * gdb.base/lineinc.exp: Likewise.
18712 * gdb.base/list.exp: Likewise.
18713 * gdb.base/logical.exp: Likewise.
18714 * gdb.base/long_long.exp: Likewise.
18715 * gdb.base/macscp.exp: Likewise.
18716 * gdb.base/maint.exp: Likewise.
18717 * gdb.base/mips_pro.exp: Likewise.
18718 * gdb.base/miscexprs.exp: Likewise.
18719 * gdb.base/multi-forks.exp: Likewise.
18720 * gdb.base/opaque.exp: Likewise.
18721 * gdb.base/overlays.exp: Likewise.
18722 * gdb.base/pc-fp.exp: Likewise.
18723 * gdb.base/pointers.exp: Likewise.
18724 * gdb.base/printcmds.exp: Likewise.
18725 * gdb.base/psymtab.exp: Likewise.
18726 * gdb.base/ptype.exp: Likewise.
18727 * gdb.base/recurse.exp: Likewise.
18728 * gdb.base/relational.exp: Likewise.
18729 * gdb.base/relocate.exp: Likewise.
18730 * gdb.base/remote.exp: Likewise.
18731 * gdb.base/reread.exp: Likewise.
18732 * gdb.base/restore.exp: Likewise.
18733 * gdb.base/return.exp: Likewise.
18734 * gdb.base/return2.exp: Likewise.
18735 * gdb.base/scope.exp: Likewise.
18736 * gdb.base/sect-cmd.exp: Likewise.
18737 * gdb.base/sep.exp: Likewise.
18738 * gdb.base/sepdebug.exp: Likewise.
18739 * gdb.base/setshow.exp: Likewise.
18740 * gdb.base/setvar.exp: Likewise.
18741 * gdb.base/sigall.exp: Likewise.
18742 * gdb.base/sigbpt.exp: Likewise.
18743 * gdb.base/signals.exp: Likewise.
18744 * gdb.base/signull.exp: Likewise.
18745 * gdb.base/sizeof.exp: Likewise.
18746 * gdb.base/solib.exp: Likewise.
18747 * gdb.base/step-line.exp: Likewise.
18748 * gdb.base/step-test.exp: Likewise.
18749 * gdb.base/structs.exp: Likewise.
18750 * gdb.base/structs2.exp: Likewise.
18751 * gdb.base/term.exp: Likewise.
18752 * gdb.base/twice.exp: Likewise.
18753 * gdb.base/until.exp: Likewise.
18754 * gdb.base/varargs.exp: Likewise.
18755 * gdb.base/volatile.exp: Likewise.
18756 * gdb.base/watchpoint.exp: Likewise.
18757 * gdb.base/whatis-exp.exp: Likewise.
18758 * gdb.base/whatis.exp: Likewise.
18759 * gdb.cp/ambiguous.exp: Likewise.
18760 * gdb.cp/annota2.exp: Likewise.
18761 * gdb.cp/annota3.exp: Likewise.
18762 * gdb.cp/bool.exp: Likewise.
18763 * gdb.cp/breakpoint.exp: Likewise.
18764 * gdb.cp/casts.exp: Likewise.
18765 * gdb.cp/class2.exp: Likewise.
18766 * gdb.cp/classes.exp: Likewise.
18767 * gdb.cp/cplusfuncs.exp: Likewise.
18768 * gdb.cp/ctti.exp: Likewise.
18769 * gdb.cp/derivation.exp: Likewise.
18770 * gdb.cp/exception.exp: Likewise.
18771 * gdb.cp/gdb1355.exp: Likewise.
18772 * gdb.cp/hang.exp: Likewise.
18773 * gdb.cp/inherit.exp: Likewise.
18774 * gdb.cp/local.exp: Likewise.
18775 * gdb.cp/m-data.exp: Likewise.
18776 * gdb.cp/m-static.exp: Likewise.
18777 * gdb.cp/member-ptr.exp: Likewise.
18778 * gdb.cp/method.exp: Likewise.
18779 * gdb.cp/misc.exp: Likewise.
18780 * gdb.cp/namespace.exp: Likewise.
18781 * gdb.cp/overload.exp: Likewise.
18782 * gdb.cp/ovldbreak.exp: Likewise.
18783 * gdb.cp/pr-1023.exp: Likewise.
18784 * gdb.cp/pr-1210.exp: Likewise.
18785 * gdb.cp/pr-574.exp: Likewise.
18786 * gdb.cp/printmethod.exp: Likewise.
18787 * gdb.cp/psmang.exp: Likewise.
18788 * gdb.cp/ref-params.exp: Likewise.
18789 * gdb.cp/ref-types.exp: Likewise.
18790 * gdb.cp/rtti.exp: Likewise.
18791 * gdb.cp/templates.exp: Likewise.
18792 * gdb.cp/try_catch.exp: Likewise.
18793 * gdb.cp/userdef.exp: Likewise.
18794 * gdb.cp/virtfunc.exp: Likewise.
18795 * gdb.disasm/am33.exp: Likewise.
18796 * gdb.disasm/h8300s.exp: Likewise.
18797 * gdb.disasm/mn10300.exp: Likewise.
18798 * gdb.disasm/sh3.exp: Likewise.
18799 * gdb.disasm/t01_mov.exp: Likewise.
18800 * gdb.disasm/t02_mova.exp: Likewise.
18801 * gdb.disasm/t03_add.exp: Likewise.
18802 * gdb.disasm/t04_sub.exp: Likewise.
18803 * gdb.disasm/t05_cmp.exp: Likewise.
18804 * gdb.disasm/t06_ari2.exp: Likewise.
18805 * gdb.disasm/t07_ari3.exp: Likewise.
18806 * gdb.disasm/t08_or.exp: Likewise.
18807 * gdb.disasm/t09_xor.exp: Likewise.
18808 * gdb.disasm/t10_and.exp: Likewise.
18809 * gdb.disasm/t11_logs.exp: Likewise.
18810 * gdb.disasm/t12_bit.exp: Likewise.
18811 * gdb.disasm/t13_otr.exp: Likewise.
18812 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
18813 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
18814 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18815 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
18816 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
18817 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18818 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18819 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18820 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
18821 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
18822 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18823 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18824 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18825 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18826 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18827 * gdb.mi/gdb701.exp: Likewise.
18828 * gdb.mi/gdb792.exp: Likewise.
18829 * gdb.mi/mi-basics.exp: Likewise.
18830 * gdb.mi/mi-break.exp: Likewise.
18831 * gdb.mi/mi-cli.exp: Likewise.
18832 * gdb.mi/mi-console.exp: Likewise.
18833 * gdb.mi/mi-disassemble.exp: Likewise.
18834 * gdb.mi/mi-eval.exp: Likewise.
18835 * gdb.mi/mi-file.exp: Likewise.
18836 * gdb.mi/mi-read-memory.exp: Likewise.
18837 * gdb.mi/mi-regs.exp: Likewise.
18838 * gdb.mi/mi-return.exp: Likewise.
18839 * gdb.mi/mi-simplerun.exp: Likewise.
18840 * gdb.mi/mi-stack.exp: Likewise.
18841 * gdb.mi/mi-stepi.exp: Likewise.
18842 * gdb.mi/mi-syn-frame.exp: Likewise.
18843 * gdb.mi/mi-until.exp: Likewise.
18844 * gdb.mi/mi-var-block.exp: Likewise.
18845 * gdb.mi/mi-var-child.exp: Likewise.
18846 * gdb.mi/mi-var-cmd.exp: Likewise.
18847 * gdb.mi/mi-var-display.exp: Likewise.
18848 * gdb.mi/mi-watch.exp: Likewise.
18849 * gdb.mi/mi2-basics.exp: Likewise.
18850 * gdb.mi/mi2-break.exp: Likewise.
18851 * gdb.mi/mi2-cli.exp: Likewise.
18852 * gdb.mi/mi2-console.exp: Likewise.
18853 * gdb.mi/mi2-disassemble.exp: Likewise.
18854 * gdb.mi/mi2-eval.exp: Likewise.
18855 * gdb.mi/mi2-file.exp: Likewise.
18856 * gdb.mi/mi2-read-memory.exp: Likewise.
18857 * gdb.mi/mi2-regs.exp: Likewise.
18858 * gdb.mi/mi2-return.exp: Likewise.
18859 * gdb.mi/mi2-simplerun.exp: Likewise.
18860 * gdb.mi/mi2-stack.exp: Likewise.
18861 * gdb.mi/mi2-stepi.exp: Likewise.
18862 * gdb.mi/mi2-syn-frame.exp: Likewise.
18863 * gdb.mi/mi2-until.exp: Likewise.
18864 * gdb.mi/mi2-var-block.exp: Likewise.
18865 * gdb.mi/mi2-var-child.exp: Likewise.
18866 * gdb.mi/mi2-var-cmd.exp: Likewise.
18867 * gdb.mi/mi2-var-display.exp: Likewise.
18868 * gdb.mi/mi2-watch.exp: Likewise.
18869 * gdb.stabs/exclfwd.exp: Likewise.
18870 * gdb.stabs/weird.exp: Likewise.
18871 * gdb.threads/gcore-thread.exp: Likewise.
18872 * gdb.trace/actions.exp: Likewise.
18873 * gdb.trace/backtrace.exp: Likewise.
18874 * gdb.trace/circ.exp: Likewise.
18875 * gdb.trace/collection.exp: Likewise.
18876 * gdb.trace/deltrace.exp: Likewise.
18877 * gdb.trace/infotrace.exp: Likewise.
18878 * gdb.trace/limits.exp: Likewise.
18879 * gdb.trace/packetlen.exp: Likewise.
18880 * gdb.trace/passc-dyn.exp: Likewise.
18881 * gdb.trace/passcount.exp: Likewise.
18882 * gdb.trace/report.exp: Likewise.
18883 * gdb.trace/save-trace.exp: Likewise.
18884 * gdb.trace/tfind.exp: Likewise.
18885 * gdb.trace/tracecmd.exp: Likewise.
18886 * gdb.trace/while-dyn.exp: Likewise.
18887 * gdb.trace/while-stepping.exp: Likewise.
18888
18889 2006-08-08 Joel Brobecker <brobecker@adacore.com>
18890
18891 * gdb.base/step-bt.c: New file.
18892 * gdb.base/step-bt.exp: New testcase.
18893
18894 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
18895
18896 * config/monitor.exp (gdb_load): Remove support for obsolete
18897 download-write-size.
18898 * gdb.base/remote.exp: Likewise. Update all callers of
18899 gdb_timed_load.
18900
18901 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
18902
18903 * cursal.exp: Pass binfile to gdb_load.
18904
18905 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
18906
18907 * gdb.base/cursal.exp: Add "" to gdb_load call.
18908
18909 2006-07-29 Mark Kettenis <kettenis@gnu.org>
18910
18911 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
18912 NetBSD/ELF targets.
18913
18914 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
18915
18916 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
18917 operator*.
18918
18919 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
18920
18921 * gdb.base/completion.exp: Update for change in "file" behavior.
18922 * gdb.stabs/weird.exp: Likewise.
18923 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
18924 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
18925
18926 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
18927
18928 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
18929 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
18930
18931 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
18932
18933 * gdb.base/default.exp: Update source command error message.
18934 * gdb.base/help.exp: Update 'help source' message.
18935
18936 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
18937
18938 * gdb.cp/bs15503.exp: Update comment for no longer crashing
18939 test.
18940
18941 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
18942
18943 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
18944
18945 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18946
18947 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
18948
18949 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18950
18951 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
18952
18953 2006-07-17 Mark Kettenis <kettenis@gnu.org>
18954
18955 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
18956 *-*-openbsd* from targets for wich we expect ARM FPA floating
18957 point format.
18958
18959 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
18960
18961 * gdb.cp/annota3.exp: Expect frame-begin annotation.
18962
18963 2006-07-17 Mark Kettenis <kettenis@gnu.org>
18964
18965 * gdb.base/annota3.exp: Expect frame-begin annotation.
18966
18967 2006-07-14 Joel Brobecker <brobecker@adacore.com>
18968
18969 * gdb.base/help.exp: Adjust "help unset" test to accept
18970 any list of unset commands.
18971
18972 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
18973 Daniel Jacobowitz <dan@codesourcery.com>
18974
18975 * gdb.cp/ref-params.exp: New test.
18976 * gdb.cp/ref-params.cc: New source file.
18977 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
18978
18979 2006-07-08 Mark Kettenis <kettenis@gnu.org>
18980
18981 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
18982 spaces/tabs in regular expressions since they might not be there.
18983
18984 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
18985
18986 * gdb.base/ifelse.exp: New file.
18987
18988 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
18989
18990 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
18991 line.
18992 * gdb.base/huge.exp: Loop over compilation to find a size that
18993 is acceptable.
18994 * gdb.base/remote.exp: Correct expected strings.
18995 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
18996
18997 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18998
18999 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
19000
19001 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19002
19003 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
19004 native.
19005
19006 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19007
19008 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
19009 enable stabs testing.
19010
19011 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19012
19013 * gdb.base/auxv.exp: Intercept undefined command messages before
19014 gdb_test_multiple does.
19015
19016 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19017
19018 * Makefile.in (host_alias): Remove.
19019 (target_alias): Use @target_noncanonical@.
19020 (site.exp): Don't set host_alias.
19021 * aclocal.m4: Remove contents. Include acx.m4.
19022 * configure: Regenerated.
19023 * configure.ac: Use ACX_NONCANONICAL_TARGET.
19024
19025 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
19026
19027 * lib/gdb.exp (gdb_load_cmd): New.
19028
19029 * gdb.base/fileio.c: Add system(NULL) test.
19030 * gdb.base/fileio.exp: Check it.
19031
19032 * gdb.base/break.c: Add 10a breakpoint at }
19033 * gdb.base/break.exp: Add test for breakpoint at }
19034 * gdb.cp/anon-union.cc: Add code at end of function.
19035 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
19036 * gdb.mi/var-cmd.c: Add code at end of function.
19037 * gdb.mi/mi-var-display.exp: Adjust end of next.
19038 * gdb.mi/mi2-var-display.exp: Likewise.
19039 * gdb.base/fileio.c: Add stop function and insert calls at
19040 stopping places.
19041 * gdb.base/fileio.exp: Breakpoint stop function and remove
19042 explicit line number references.
19043
19044 2006-05-19 Joel Brobecker <brobecker@adacore.com>
19045
19046 * gdb.base/del.exp (test_delete_alias): New function.
19047 Now check that both "del" and "d" work as aliases for "delete".
19048
19049 2006-05-18 Fred Fish <fnf@specifix.com>
19050
19051 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
19052 required. Check for spurious output after program exits normally.
19053
19054 2006-05-17 Fred Fish <fnf@specifix.com>
19055
19056 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
19057 gdb_load, so it works in the simulator.
19058
19059 2006-05-11 Fred Fish <fnf@specifix.com>
19060
19061 * gdb.base/bang.exp: Ignore unexpected output between the
19062 "program exited normally" and the gdb prompt, as many other
19063 tests do.
19064
19065 2006-05-07 Mark Kettenis <kettenis@gnu.org>
19066
19067 * gdb.base/help.exp: Make "delete checkpoint" part option for
19068 "help d" and "help delete" tests.
19069
19070 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19071
19072 * gdb.mi/mi-basics.exp: Add missing serial number to
19073 expected output in some mi_gdb_test statements.
19074 * gdb.mi/mi2-basics.exp: Likewise.
19075
19076 2006-05-05 Joel Brobecker <brobecker@adacore.com>
19077
19078 * gdb.base/del.c: New file.
19079 * gdb.base/del.exp: New testcase.
19080
19081 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
19082
19083 * gdb.base/break.exp: Do not assume a breakpoint on
19084 main will actually be in $srcfile when optimizing.
19085 * gdb.base/savedregs.exp: Do not require that the dummy
19086 frame location match up to a symbol and source file location.
19087 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
19088 will get printed without a mi_cmd_data_list_register_values prefix.
19089 (*-data-list-register-*): Correct regular expressions to expect the new
19090 pseudo d? floating point registers.
19091 * gdb.mi/mi2-regs.exp: Likewise.
19092
19093 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
19094
19095 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
19096 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
19097 is allocated by the compiler.
19098 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
19099 anons, e, anone to force their allocation by the compiler.
19100
19101 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
19102
19103 * gdb.base/help.exp: Update expected text for help d and
19104 help delete.
19105
19106 2006-05-02 Mark Kettenis <kettenis@gnu.org>
19107
19108 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
19109 NetBSD/ELF targets.
19110
19111 2006-04-30 Mark Kettenis <kettenis@gnu.org>
19112
19113 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
19114 single-step breakpoint fails; make this a KFAIL on
19115 sparc*-*-openbsd*.
19116 * gdb.base/siginfo.exp: Likewise.
19117 * gdb.base/sigstep.exp (advance, advancei): Likewise.
19118
19119 2006-04-26 Michael Snyder <msnyder@redhat.com>
19120
19121 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
19122 which may have to consume output from other forks.
19123 Add tests to make sure that "delete fork" succeeded.
19124
19125 2006-04-20 Michael Snyder <msnyder@redhat.com>
19126
19127 * 2006-03-22 Jim Blandy <jimb@redhat.com>
19128 Add support for the Renesas M32C and M16C.
19129
19130 * gdb.asm/asm-source.exp: Add m32c target.
19131 * gdb.asm/m32c.inc: Support for m32c target.
19132
19133 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
19134
19135 * gdb.base/commands.exp (recursive_source_test): New test.
19136
19137 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
19138
19139 * gdb.base/float.exp: Add pattern for sparc targets.
19140
19141 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
19142
19143 * gdb.base/commands.exp (stray_arg0_test): New test.
19144
19145 2006-03-30 Paul Brook <paul@codesourcery.com>
19146
19147 * gdb.mi/mi-until.exp: kfail broken until command.
19148 * gdb.mi/mi2-until.exp: Ditto.
19149
19150 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
19151
19152 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
19153
19154 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
19155
19156 * gdb.base/prelink.exp: Anchor tested-for regular expression
19157 on gdb prompt.
19158
19159 2006-03-07 Paul Brook <paul@codesourcery.com>
19160
19161 * gdb.base/assign.exp: Correct fail message.
19162
19163 2006-03-07 Paul Brook <paul@codesourcery.com>
19164
19165 * lib/compiler.c: Extract armcc version number.
19166 * lib/compiler.cc: Ditto.
19167
19168 2006-03-07 Paul Brook <paul@codesourcery.com>
19169
19170 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
19171 additional_flags=-w.
19172 * gdb.arch/altivec-regs.exp: Ditto.
19173 * gdb.arch/e500-abi.exp: Ditto.
19174 * gdb.arch/e500-regs.exp: Ditto.
19175 * gdb.base/all-bin.exp: Ditto.
19176 * gdb.base/annota1.exp: Ditto.
19177 * gdb.base/annota3.exp: Ditto.
19178 * gdb.base/args.exp: Ditto.
19179 * gdb.base/arithmet.exp: Ditto.
19180 * gdb.base/assign.exp: Ditto.
19181 * gdb.base/async.exp: Ditto.
19182 * gdb.base/bang.exp: Ditto.
19183 * gdb.base/break.exp: Ditto.
19184 * gdb.base/call-rt-st.exp: Ditto.
19185 * gdb.base/completion.exp: Ditto.
19186 * gdb.base/cond-expr.exp: Ditto.
19187 * gdb.base/condbreak.exp: Ditto.
19188 * gdb.base/consecutive.exp: Ditto.
19189 * gdb.base/define.exp: Ditto.
19190 * gdb.base/display.exp: Ditto.
19191 * gdb.base/ena-dis-br.exp: Ditto.
19192 * gdb.base/environ.exp: Ditto.
19193 * gdb.base/eval-skip.exp: Ditto.
19194 * gdb.base/info-proc.exp: Ditto.
19195 * gdb.base/jump.exp: Ditto.
19196 * gdb.base/logical.exp: Ditto.
19197 * gdb.base/long_long.exp: Ditto.
19198 * gdb.base/maint.exp: Ditto.
19199 * gdb.base/miscexprs.exp: Ditto.
19200 * gdb.base/pc-fp.exp: Ditto.
19201 * gdb.base/pointers.exp: Ditto.
19202 * gdb.base/relational.exp: Ditto.
19203 * gdb.base/reread.exp: Ditto.
19204 * gdb.base/sect-cmd.exp: Ditto.
19205 * gdb.base/sep.exp: Ditto.
19206 * gdb.base/sepdebug.exp: Ditto.
19207 * gdb.base/until.exp: Ditto.
19208 * gdb.base/whatis-exp.exp: Ditto.
19209 * gdb.cp/annota2.exp: Ditto.
19210 * gdb.cp/annota3.exp: Ditto.
19211 * gdb.trace/actions.exp: Ditto.
19212 * gdb.trace/backtrace.exp: Ditto.
19213 * gdb.trace/circ.exp: Ditto.
19214 * gdb.trace/collection.exp: Ditto.
19215 * gdb.trace/deltrace.exp: Ditto.
19216 * gdb.trace/infotrace.exp: Ditto.
19217 * gdb.trace/limits.exp: Ditto.
19218 * gdb.trace/packetlen.exp: Ditto.
19219 * gdb.trace/passc-dyn.exp: Ditto.
19220 * gdb.trace/passcount.exp: Ditto.
19221 * gdb.trace/report.exp: Ditto.
19222 * gdb.trace/save-trace.exp: Ditto.
19223 * gdb.trace/tfind.exp: Ditto.
19224 * gdb.trace/tracecmd.exp: Ditto.
19225 * gdb.trace/while-dyn.exp: Ditto.
19226 * gdb.trace/while-stepping.exp: Ditto.
19227 * lib/gdb.exp: Ditto.
19228 (gdb_compile): Handle nowarning option.
19229
19230 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
19231
19232 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
19233 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
19234 Rename executable to prelinkt. Don't re-prelink if we didn't
19235 get a core file. Test prelink -u exit status to tell whether
19236 prelinking failed. Use gdb_test_multiple.
19237
19238 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
19239
19240 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
19241 (do_tests): Call it.
19242
19243 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
19244
19245 * gdb.base/prelink.exp: New test.
19246 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
19247
19248 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
19249
19250 * gdb.fortran/derived-type.f90: New file.
19251 * gdb.fortran/derived-type.exp: New testcase.
19252
19253 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
19254
19255 * gdb.base/default.exp: Allow ';' as a directory separator.
19256
19257 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
19258
19259 * gdb.base/help.exp (help add-symbol-file): Update.
19260
19261 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
19262
19263 * gdb.base/help.exp (help load): Update expected results.
19264
19265 2006-02-19 Fred Fish <fnf@specifix.com>
19266
19267 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
19268 specifix hex value as part of results.
19269 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
19270
19271 2006-02-16 Fred Fish <fnf@specifix.com>
19272
19273 * gdb.base/whatis.c: Define variables using typedefs char_addr,
19274 ushort_addr, and slong_addr, so the typedefs are not optimized
19275 away.
19276 * gdb.base/whatis.exp: Add tests using type name for struct type,
19277 union type, enum type, and typedef.
19278
19279 2006-02-13 Mark Kettenis <kettenis@gnu.org>
19280
19281 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
19282
19283 2006-02-13 Jim Blandy <jimb@redhat.com>
19284
19285 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
19286 case where it takes two "next" commands to skip past the init
19287 call.
19288
19289 2006-02-12 Fred Fish <fnf@specifix.com>
19290
19291 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
19292 to handle cases where it takes two "next" commands to skip
19293 past the init call.
19294
19295 2006-02-07 Joel Brobecker <brobecker@adacore.com>
19296
19297 * gdb.ada/array_return.exp: Mark the last test as expected to fail
19298 on hppa32 targets.
19299
19300 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
19301
19302 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
19303 field.
19304
19305 2006-01-29 Mark Kettenis <kettenis@gnu.org>
19306
19307 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
19308
19309 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
19310
19311 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
19312 files.
19313
19314 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
19315
19316 * gdb.cp/maint.exp: Set complaints to a positive value.
19317
19318 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
19319
19320 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
19321 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
19322 function name.
19323
19324 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
19325
19326 * gdb.base/checkpoint.c: Update copyright notice. Include
19327 <stdlib.h>.
19328
19329 2006-01-04 Jim Blandy <jimb@redhat.com>
19330
19331 * gdb.asm/asm-source.exp: Independently provide default values for
19332 asm-flags and debug-flags. Use 'string equal' to do the
19333 comparison, not the implicit expr's '==' operator. Remove
19334 now-unneeded assignments to asm-flags. In h8300 case, place
19335 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
19336
19337 2006-01-04 Michael Snyder <msnyder@redhat.com>
19338
19339 * gdb.base/checkpoint.c: New file.
19340 * gdb.base/checkpoint.exp: New file.
19341 * gdb.base/multi-fork.c: New file.
19342 * gdb.base/multi-fork.exp: New file.
19343 * gdb.base/pi.txt: New file (data for checkpoint.c test).
19344
19345 2006-01-04 Fred Fish <fnf@specifix.com>
19346
19347 * gdb.base/ptype.c (foo): Add typedef.
19348 (intfoo): Add function.
19349 * gdb.base/ptype1.c: New file.
19350 * gdb.base/ptype.exp: Handle compilation and linking with two
19351 source files. Test that proper type for "foo" is found based
19352 on source context rather than first match found in symtabs.
19353
19354 2005-12-28 Mark Kettenis <kettenis@gnu.org>
19355
19356 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
19357 * gdb.asm/openbsd.inc: Indent commands.
19358
19359 2005-12-26 Mark Kettenis <kettenis@gnu.org>
19360
19361 * gdb.base/freebpcmd.exp: Increase timeout.
19362
19363 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
19364
19365 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
19366
19367 * gdb.base/default.exp: Update check for "show version".
19368
19369 2005-12-09 Randolph Chung <tausq@debian.org>
19370
19371 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
19372 * gdb.asm/pa64.inc: New file.
19373
19374 2005-12-09 Randolph Chung <tausq@debian.org>
19375
19376 * gdb.asm/common.inc: Indent commands.
19377 * gdb.asm/asmsrc1.s: Likewise.
19378 * gdb.asm/asmsrc2.s: Likewise.
19379
19380 2005-12-09 Randolph Chung <tausq@debian.org>
19381
19382 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
19383 (get_addr_of_sym): Remove duplicate print.
19384 (gen_core): xfail hppa*-*-hpux*, update expected output.
19385 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
19386 * gdb.arch/pa64-nullify.s: New file.
19387
19388 2005-12-09 Randolph Chung <tausq@debian.org>
19389
19390 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
19391
19392 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
19393
19394 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
19395 code generation for these functions.
19396 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
19397 error message.
19398
19399 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
19400
19401 * gdb.base/help.exp (help b, help br, help bre, help brea)
19402 (help break): Update the expected message.
19403
19404 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
19405
19406 * gdb.asm/m68hc11.inc: Setup the data section.
19407 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
19408 script for this test.
19409 (m6812-*-*): Likewise.
19410
19411 2005-11-09 Randolph Chung <tausq@debian.org>
19412
19413 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
19414
19415 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
19416
19417 * gdb.base/break.exp: Fix a comment typo.
19418
19419 2005-11-03 Jim Blandy <jimb@redhat.com>
19420
19421 Checked in by Elena Zannoni <ezannoni@redhat.com>
19422
19423 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
19424
19425 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
19426
19427 * gdb.arch/gdb1558.c: Include stdio.h.
19428
19429 2005-10-31 Mark Kettenis <kettenis@gnu.org>
19430
19431 * gdb.asm/asm-source.exp: Use -e instead of --entry.
19432
19433 2005-10-31 Mark Kettenis <kettenis@gnu.org>
19434
19435 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
19436
19437 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
19438
19439 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
19440 vscr" tests to better match output.
19441
19442 2005-10-12 Jim Blandy <jimb@redhat.com>
19443
19444 * gdb.base/structs.exp (any): New function.
19445 (test_struct_returns): Don't make any assumptions at all about
19446 what value the function returns when GDB can't set the return
19447 value.
19448
19449 2005-10-09 Joel Brobecker <brobecker@adacore.com>
19450
19451 * gdb.ada/arrayidx/p.adb: New file.
19452 * gdb.ada/arrayidx.exp: New testcase
19453
19454 2005-10-09 Joel Brobecker <brobecker@adacore.com>
19455
19456 * gdb.ada/array_return/pck.ads: New file.
19457 * gdb.ada/array_return/pck.adb: New file.
19458 * gdb.ada/array_return/p.adb: New file.
19459 * gdb.ada/array_return.exp: New testcase.
19460
19461 2005-10-03 Joel Brobecker <brobecker@adacore.com>
19462
19463 * gdb.base/arrayidx.c: New file.
19464 * gdb.base/arrayidx.exp: New testcase.
19465
19466 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
19467
19468 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
19469 frames-invalid and breakpoints-invalid are no longer generated
19470 with level 3 so don't expect them in the output.
19471
19472 2005-09-27 Bob Rossi <bob@brasko.net>
19473
19474 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
19475 from test. Escape the | in mi_gdb_test call.
19476 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
19477 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
19478 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
19479 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
19480 expected regex's in mi_gdb_test calls.
19481 * lib/mi-support.exp: Remove arbitrary .* from tests.
19482 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
19483 Fully anchor GDB/MI expected results in mi_gdb_test.
19484 * lib/gdb.exp (string_to_regexp): Escape the ] character.
19485 * gdb.base/sizeof.exp: Remove escape character. Correct test.
19486
19487 2005-09-26 Paul Brook <paul@codesourcery.com>
19488
19489 * long_long.exp: Exclude eabi targets from arm FPA float format test.
19490
19491 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
19492
19493 * bfp-test.c: New file.
19494 * bfp-test.exp: New testcase.
19495
19496 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
19497
19498 * gdb.fortran/subarray.exp: New testcase to test the evaluation
19499 of subarray and substring variable.
19500 * gdb.fortran/subarray.f: New source file for the test of subarray
19501 and substring variable evaluation.
19502 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
19503 of string constant.
19504
19505 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
19506
19507 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
19508 copyright dates.
19509
19510 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
19511
19512 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
19513 powerpc altivec' test with an almost identical 'info vector' test.
19514
19515 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
19516
19517 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
19518 vscr" tests to match output.
19519
19520 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
19521
19522 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
19523 output.
19524
19525 2005-09-11 Bob Rossi <bob@brasko.net>
19526
19527 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
19528 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
19529 commands that return an MI output command and an asyncronous MI output
19530 command.
19531 * gdb.mi/mi-console.exp: Ditto.
19532
19533 2005-09-11 Bob Rossi <bob@brasko.net>
19534
19535 * gdb.mi/mi-var-child.c: Include <string.h>.
19536
19537 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
19538
19539 * killed.exp: Correct gdb_expect syntax.
19540
19541 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
19542
19543 * lib/mi-support.exp (mi_gdb_load): Fix typo.
19544
19545 2005-08-02 Bob Rossi <bob@brasko.net>
19546
19547 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
19548 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
19549 Change tests to inferior-tty-set/show.
19550 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
19551 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
19552 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
19553 inferior. Use mi_gdb_test to get GDB and Inferior output.
19554 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
19555 descriptor.
19556 (mi_inferior_tty_name): Add inferior PTY file name.
19557 (mi_gdb_start): Add INFERIOR_PTY parameter.
19558 (mi_gdb_test): Add IPATTERN parameter.
19559
19560 2005-08-02 Bob Rossi <bob@brasko.net>
19561
19562 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
19563 parameter to mi_gdb_test.
19564 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
19565
19566 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
19567
19568 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
19569 struct_declarations.
19570 * gdb.mi/mi-var-child.exp: Step over the initialization of
19571 struct_declarations.
19572
19573 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
19574
19575 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
19576 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
19577 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
19578 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
19579 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
19580 file.
19581
19582 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
19583
19584 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
19585 (do_children_tests): Assign values to the extra elements.
19586
19587 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
19588 them for tests for "-var-update --no-values" and
19589 "-var-update --all-values".
19590 Add test for "-var-list-children --simple-values".
19591
19592 * gdb.mi/basics.c (callee4): Add integer array D[3]...
19593
19594 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
19595 "-stack-list-locals --simple-values" Improve doc strings and
19596 comments.
19597
19598 2005-07-18 Mark Kettenis <kettenis@gnu.org>
19599
19600 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
19601 *-*-openbsd*.
19602 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
19603
19604 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
19605 sigaltsatck'.
19606
19607 2005-07-14 Bob Rossi <bob@brasko.net>
19608
19609 * gdb.base/default.exp (tty): Changed output of command.
19610 * gdb.base/help.exp (help tty): Ditto.
19611
19612 2005-07-12 Mark Kettenis <kettenis@gnu.org>
19613
19614 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
19615
19616 2005-07-10 Mark Kettenis <kettenis@gnu.org>
19617
19618 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
19619 -stack-select-frame without arguments.
19620 (test_stack_frame_listing): Add test for newly implemented command
19621 -stack-info-frame.
19622
19623 2005-07-06 Bob Rossi <bob@brasko.net>
19624
19625 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
19626 command.
19627 (Copyright): Update copyright.
19628
19629 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
19630
19631 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
19632 tests to evaluate exponentiation expression.
19633
19634 2005-06-29 Andreas Schwab <schwab@suse.de>
19635
19636 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
19637 main to avoid warnings.
19638
19639 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
19640
19641 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
19642
19643 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
19644 -stack-select-frame without arguments.
19645 (test_stack_frame_listing): Add test for newly implemented command
19646 -stack-info-frame.
19647
19648 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
19649
19650 * gdb.fortran/array-element.f: New file.
19651 * gdb.fortran/array-element.exp: New testcase.
19652
19653 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
19654
19655 * gdb.base/bigcore.exp: Correct checks for systems which can
19656 not dump a large core file.
19657
19658 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
19659
19660 * gdb.base/relocate.c: Add a copyright notice.
19661 (dummy): Remove.
19662 * gdb.base/relocate.exp: Test printing the values of variables
19663 from a relocatable file.
19664
19665 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
19666
19667 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
19668 excess MI output after an error.
19669
19670 2005-05-29 Joel Brobecker <brobecker@adacore.com>
19671
19672 * gdb.arch/alpha-step.c: New file.
19673 * gdb.arch/alpha-step.exp: New testcase.
19674
19675 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
19676 Dennis Brueni <dennis@slickedit.com>
19677
19678 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
19679 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
19680 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
19681 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
19682 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
19683 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
19684 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
19685
19686 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
19687 Wu Zhou <woodzltc@cn.ibm.com>
19688
19689 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
19690 IBM's xlc compiler.
19691 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
19692 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
19693
19694 2005-05-13 Jim Blandy <jimb@redhat.com>
19695
19696 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
19697 calling gdb_suppress_entire_file.
19698 * gdb.base/charset.exp: Same.
19699 * gdb.base/call-rt-st.exp: Same.
19700
19701 2005-05-05 Bob Rossi <bob_rossi@cox.net>
19702
19703 * lib/gdb.exp (fullname_syntax): Added global regex.
19704 (fullname_syntax_POSIX): Ditto.
19705 (fullname_syntax_UNC): Ditto.
19706 (fullname_syntax_DOS_CASE): Ditto.
19707 (fullname_syntax_DOS): Ditto.
19708 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
19709 fullname_syntax variable to scope and use it.
19710 (test_file_list_exec_source_files): Ditto.
19711 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
19712
19713 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
19714
19715 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
19716
19717 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
19718
19719 * lib/gdb.exp (skip_altivec_tests): New function, based on
19720 check_vmx_hw_available from the GCC testsuite.
19721 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
19722 * lib/gdb.arch/altivec-regs.exp: Likewise.
19723
19724 2005-05-02 Jim Blandy <jimb@redhat.com>
19725
19726 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
19727 calling gdb_suppress_entire_file.
19728
19729 2005-04-30 Randolph Chung <tausq@debian.org>
19730
19731 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
19732 Slightly relax "sem_post" name checking.
19733
19734 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19735
19736 * gdb.base/unload.exp: Use new shared library infrastructure.
19737
19738 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19739
19740 * gdb.base/so-impl-ld.exp: Use new shared library
19741 infrastructure.
19742
19743 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
19744
19745 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
19746 * gdb.asm/h8300.inc: New file.
19747
19748 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19749
19750 * gdb.base/shlib-call.exp: Change to use new shared library
19751 infrastructure.
19752
19753 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19754
19755 * gdb.base/pending.exp: Change to use new shared library
19756 infrastructure.
19757
19758 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19759
19760 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
19761 use test_compiler_info instead of gcc_compiled, and update copyright.
19762
19763 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
19764
19765 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
19766 shared objects being adjusted and update copyright years.
19767
19768 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
19769
19770 * ChangeLog: Correct some 2003-01-13 dates.
19771 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
19772 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
19773 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
19774 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
19775 gdb.trace/tfind.exp: Update copyright years.
19776
19777 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
19778 Daniel Jacobowitz <dan@codesourcery.com>
19779
19780 * lib/gdb.exp (gdb_compile): Handle shlib=.
19781 (gdb_compile_shlib): New function.
19782
19783 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
19784
19785 * lib/gdb.exp (test_compiler_info): Give argument a default value.
19786
19787 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19788
19789 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
19790 gdb.server.
19791 * configure.ac: Likewise.
19792 * configure: Regenerated.
19793 * gdb.gdbserver/Makefile.in: Moved to...
19794 * gdb.server/Makefile.in: ... here.
19795 * gdb.gdbserver/server.c: Moved to...
19796 * gdb.server/server.c: ... here.
19797 * gdb.gdbserver/server-run.exp: Moved to...
19798 * gdb.server/server-run.exp: ... here.
19799
19800 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19801
19802 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
19803 * configure.ac: Create gdb.gdbserver/Makefile.
19804 * configure: Regenerated.
19805 * lib/gdbserver-support.exp: New file, derived from
19806 config/gdbserver.exp.
19807 * config/gdbserver.exp: Use gdbserver-support.exp.
19808 * gdb.gdbserver/Makefile.in: New file.
19809 * gdb.gdbserver/server.c: New file.
19810 * gdb.gdbserver/server-run.exp: New file.
19811
19812 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
19813
19814 * lib/gdb.exp (test_compiler_info): Return compiler_info
19815 if no arguments are given.
19816
19817 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
19818
19819 * gdb.arch/altivec-abi.exp: Check for compiler and set
19820 use altivec' flag accordingly.
19821 * gdb.arch/altivec-regs.exp: Likewise.
19822
19823 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
19824
19825 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
19826
19827 2005-03-27 Andreas Schwab <schwab@suse.de>
19828
19829 * gdb.base/bigcore.c (main): Add missing mode argument in open
19830 call.
19831
19832 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
19833
19834 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
19835 downloads.
19836 * config/gdbserver.exp (gdb_load): Likewise.
19837
19838 2005-03-14 Paul Brook <paul@codesourcery.com>
19839
19840 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
19841 targets.
19842
19843 2005-03-09 Joel Brobecker <brobecker@adacore.com>
19844
19845 * gdb.dwarf2/dup-psym.S: New file.
19846 * gdb.dwarf2/dup-psym.exp: New testcase.
19847
19848 2005-03-09 Joel Brobecker <brobecker@adacore.com>
19849
19850 * gdb.ada/exec_changed/first.adb: New file.
19851 * gdb.ada/exec_changed/second.adb: New file.
19852 * gdb.ada/exec_changed.exp: New testcase.
19853
19854 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
19855
19856 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
19857 (A2): New class.
19858 (main): Test operator+.
19859 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
19860 breakpoint test.
19861
19862 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
19863 * gdb.base/signull.exp: Disable if gdb,nosignals.
19864 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
19865 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
19866 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
19867 * gdb.mi/mi2-console.exp: Likewise.
19868 * gdb.trace/collection.exp (run_trace_experiment): Consume the
19869 continue output at start.
19870 (gdb_collect_locals_test): Robustify regexp.
19871 * gdb.trace/passc-dyn.exp: Fix comment typo.
19872 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
19873
19874 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
19875
19876 * gdb.asm/asm-source.exp: Add iq2000 case.
19877 * gdb.asm/iq2000.inc: New file.
19878
19879 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
19880
19881 * gdb.base/command.exp: Change hardcoded value to regular expression.
19882 * gdb.base/float.exp: Add powerpc to the list of targets checked.
19883
19884 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
19885
19886 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
19887 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
19888 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
19889 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
19890 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
19891
19892 2005-03-05 Mark Kettenis <kettenis@gnu.org>
19893
19894 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
19895 changes.
19896
19897 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
19898
19899 * lib/compiler.c: Add test for IBM's xlc compiler.
19900 * lib/compiler.cc: Likewise.
19901
19902 2004-02-24 Joel Brobecker <brobecker@adacore.com>
19903
19904 * gdb.ada/fixed_points.exp: Create compilation object directory
19905 before running the test.
19906 * gdb.ada/null_record.exp: Likewise.
19907 * gdb.ada/packed_array.exp: Likewise.
19908 * gdb.ada/start.exp: Likewise.
19909
19910 2005-02-15 Joel Brobecker <brobecker@adacore.com>
19911
19912 * gdb.ada/packed_array/pa.adb: New file.
19913 * gdb.ada/packed_array.exp: New testcase.
19914
19915 2005-02-10 Mark Kettenis <kettenis@gnu.org>
19916
19917 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
19918 files.
19919
19920 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
19921 on *-*-openbsd*. Correctly match whitespace in regukar
19922 expressions.
19923
19924 2005-02-10 Daniel Jacobowitz <dan@debian.org>
19925
19926 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
19927 PR exp/1821
19928 * gdb.base/gdb1821.c: New test file.
19929 * gdb.base/gdb1821.exp: New test file.
19930
19931 2005-02-09 Joel Brobecker <brobecker@adacore.com>
19932
19933 * gdb.base/start.c: New file.
19934 * gdb.base/start.exp: New testcase.
19935
19936 2005-02-09 Joel Brobecker <brobecker@adacore.com>
19937
19938 * gdb.ada/start/dummy.adb: New file.
19939 * gdb.ada/start.exp: New testcase.
19940
19941 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
19942
19943 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
19944 for printing symbols and statistics.
19945 Add test for using relative pathnames in "maint print msymbols" test.
19946 Mark "maint info sections DATA" XFAIL on Cygwin.
19947 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
19948 tests.
19949
19950 2005-02-09 Andreas Schwab <schwab@suse.de>
19951
19952 Committed by Andrew Cagney <cagney@gnu.org>
19953 * gdb.base/remotetimeout.exp: New file.
19954
19955 2005-02-07 Mark Kettenis <kettenis@gnu.org>
19956
19957 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
19958
19959 2005-02-03 Joel Brobecker <brobecker@adacore.com>
19960
19961 * gdb.ada/gnat_ada.gpr: New file.
19962 * gdb.ada/gnat_ada.gin: Delete, no longer used.
19963 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
19964 * configure.ac: No longer generate gnat_ada.gpr.
19965 * configure: Regenerate.
19966 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
19967 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
19968 * gdb.ada/null_record/bar.ads: Likewise.
19969 * gdb.ada/null_record/bar.adb: Likewise.
19970 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
19971 * gdb.ada/null_record.exp (testdir): New variable.
19972 (testfile): executable is now in testdir subdirectory.
19973 (srcfile): Use full path to the main compilation unit.
19974 * gdb.ada/fixed_points.exp: Same changes as above.
19975
19976 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
19977
19978 * gdb.base/interp.exp: New test.
19979
19980 2005-01-24 Andrew Cagney <cagney@gnu.org>
19981
19982 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
19983
19984 2005-01-19 Andrew Cagney <cagney@gnu.org>
19985
19986 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
19987 configure.ac not configure.in.
19988
19989 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
19990 of powerpc*-*-*.
19991 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
19992 * gdb.base/list.exp (test_list_function)
19993 (test_list_filename_and_function): Ditto.
19994 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
19995
19996 2005-01-16 Andrew Cagney <cagney@gnu.org>
19997
19998 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
19999
20000 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
20001
20002 2005-01-14 Andrew Cagney <cagney@gnu.org>
20003
20004 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
20005 * gdb.mi/mi2-var-cmd.exp: Ditto.
20006
20007 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
20008
20009 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
20010
20011 2005-01-07 Andrew Cagney <cagney@gnu.org>
20012
20013 * configure.ac: Rename configure.in, require autoconf 2.59.
20014 * configure: Re-generate.
20015 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
20016 * gdb.stabs/configure: Re-generate.
20017 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
20018 * gdb.hp/configure: Re-generate.
20019 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
20020 autoconf 2.59.
20021 * gdb.hp/gdb.objdbg/configure: Re-generate.
20022 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
20023 autoconf 2.59.
20024 * gdb.hp/gdb.defects/configure: Re-generate.
20025 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
20026 autoconf 2.59.
20027 * gdb.hp/gdb.compat/configure: Re-generate.
20028 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
20029 autoconf 2.59.
20030 * gdb.hp/gdb.base-hp/configure: Re-generate.
20031 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
20032 autoconf 2.59.
20033 * gdb.hp/gdb.aCC/configure: Re-generate.
20034
20035 2004-12-15 Jim Blandy <jimb@redhat.com>
20036
20037 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
20038 under NPTL when there is debugging info available for libpthread.
20039
20040 2004-12-13 Jerome Guitton <guitton@gnat.com>
20041
20042 * gdb.ada/fixed_points.c: New file.
20043 * gdb.ada/fixed_points.exp: New file.
20044
20045 2004-12-03 Randolph Chung <tausq@debian.org>
20046
20047 * gdb.arch/pa-nullify.exp: New file.
20048 * gdb.arch/pa-nullify.s: New file.
20049
20050 2004-11-30 Randolph Chung <tausq@debian.org>
20051
20052 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
20053 instead of "tbug". Fix regexp to work properly with gdb_test.
20054
20055 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
20056
20057 * gdb.base/bitfields2.exp: New test.
20058 * gdb.base/bitfields2.c: New file.
20059
20060 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
20061
20062 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
20063
20064 2004-11-16 Randolph Chung <tausq@debian.org>
20065
20066 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
20067
20068 2004-11-14 Daniel Jacobowitz <dan@debian.org>
20069
20070 * gdb.threads/threadapply.exp: Correct "macro details" test.
20071
20072 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
20073
20074 * gdb.threads/threadapply.exp: New test.
20075 * gdb.threads/threadapply.c: New file.
20076
20077 2004-11-07 Mark Kettenis <kettenis@gnu.org>
20078
20079 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
20080 frames.
20081
20082 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
20083
20084 * gdb.base/cursal.exp: New file.
20085 * gdb.base/cursal.c: New file.
20086
20087 2004-11-03 Andrew Cagney <cagney@gnu.org>
20088
20089 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
20090
20091 2004-10-30 Mark Kettenis <kettenis@gnu.org>
20092
20093 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
20094 NetBSD/ELF targets.
20095
20096 2004-10-29 Joel Brobecker <brobecker@gnat.com>
20097
20098 * gdb.threads/bp_in_thread.c: New file, copied from
20099 pthread_cond_wait.c.
20100 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
20101 file, rather than reusing the .c file from another testcase.
20102
20103 2004-10-20 Joel Brobecker <brobecker@gnat.com>
20104
20105 * gdb.ada/null_record.exp: Check where we stopped after
20106 sending the start command, instead of where the associated
20107 temporary breakpoint was inserted.
20108
20109 2004-10-14 Andrew Cagney <cagney@gnu.org>
20110
20111 * gdb.mi/gdb701.c (main): Return 0.
20112
20113 2004-10-13 Daniel Jacobowitz <dan@debian.org>
20114
20115 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
20116
20117 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
20118
20119 * gdb.threads/schedlock.c: Add comment markers to use to find
20120 line numbers.
20121 * gdb.threads/schedlock.exp: Adjust regex to handle the new
20122 comments.
20123 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
20124 breakpoint lines.
20125
20126 2004-10-12 Daniel Jacobowitz <dan@debian.org>
20127
20128 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
20129
20130 2004-10-12 Daniel Jacobowitz <dan@debian.org>
20131
20132 * configure.in: Add gdb.dwarf2.
20133 * configure: Regenerated.
20134 * Makefile.in: Add gdb.dwarf2.
20135 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
20136 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
20137 gdb.dwarf2/file1.txt: New files.
20138
20139 2004-10-11 Orjan Friberg <orjanf@axis.com>
20140
20141 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
20142 of "run", since the latter doesn't work with remote targets. Adjust
20143 the breakpoint numbering accordingly.
20144 * gdb.threads/pthread_cond_wait.exp: Ditto.
20145
20146 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
20147
20148 * gdb.base/overlays.exp: Update copyright years.
20149
20150 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
20151
20152 * gdb.base/overlays.exp: Disable if target is Linux.
20153
20154 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
20155
20156 * config/gdbserver.exp (gdb_load): Use right filename on remote.
20157
20158 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
20159
20160 * gdb.asm/asm-source.exp: Add m32r-linux target.
20161 * gdb.asm/m32r-linux.inc: New file.
20162
20163 2004-09-24 Andrew Cagney <cagney@redhat.com>
20164 David Anderson <anderson@redhat.com>
20165
20166 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
20167 command fails, assume things will work.
20168 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
20169 (_GNU_SOURCE): Define.
20170 (print_unsigned, print_hex): Change parameter to "long long".
20171 (print_byte_count): New function, use to print byte counts.
20172 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
20173 O_LARGEFILE.
20174 (main): Compute an upper bound on a corefile in max_core_size.
20175 Limit memory chunk size to max_core_size. Limit total memory
20176 allocated to max_core_size.
20177
20178 2004-09-23 Andrew Cagney <cagney@gnu.org>
20179
20180 * gdb.base/bigcore.exp: Replace the code that creates a corefile
20181 from a separate process with code that creates a corefile by
20182 making the inferior dump core.
20183
20184 2004-09-23 Mark Kettenis <kettenis@gnu.org>
20185
20186 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
20187 block.
20188
20189 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
20190
20191 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
20192 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
20193 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
20194 Likewise.
20195
20196 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
20197
20198 * gdb.java/jprint.exp: New test case for java inferior call.
20199 * gdb.java/jprint.java: Ditto.
20200
20201 2004-09-15 Joel Brobecker <brobecker@gnat.com>
20202
20203 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
20204
20205 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
20206
20207 * gdb.threads/killed.c: Include <stdlib.h>.
20208 * gdb.threads/pthreads.c: Likewise.
20209
20210 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
20211
20212 * gdb.threads/killed.c: Add copyright notice.
20213
20214 2004-09-10 Jason Molenda (jmolenda@apple.com)
20215
20216 * gdb.base/define.exp: Two new tests to verify zero space chars
20217 after 'if' and 'while' commands in a user-defined command is correctly
20218 parsed.
20219
20220 2004-09-08 Andrew Cagney <cagney@gnu.org>
20221
20222 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
20223 delivery test with duplicate at end of file.
20224
20225 2004-09-06 Mark Kettenis <kettenis@jive.nl>
20226
20227 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
20228
20229 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
20230
20231 * config/hppro.exp: Removed.
20232
20233 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
20234
20235 * config/sparclet.exp: Removed.
20236
20237 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
20238
20239 * config/udi.exp: Removed.
20240
20241 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
20242
20243 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
20244 of "exp_continue".
20245 (advancei): Likewise.
20246
20247 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
20248
20249 * gdb.base/unload.exp: Fix so messages aren't duplicated.
20250
20251 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
20252
20253 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
20254 to check for nodebug in executable.
20255 * gdb.gdb/observer.exp (setup_test): Likewise.
20256 * gdb.gdb/selftest.exp (test_with_self): Likewise.
20257 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
20258
20259 2004-09-01 Andrew Cagney <cagney@gnu.org>
20260
20261 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
20262 files.
20263
20264 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
20265
20266 * gdb.base/unload.exp: Fix expected warning message to match
20267 latest format.
20268
20269 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
20270
20271 * gdb.base/call-rt-st.exp: Fix typos.
20272
20273 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
20274
20275 * gdb.threads/thread_check.exp: New testcase.
20276 * gdb.threads/thread_check.c: New testcase.
20277
20278 2004-08-31 Andrew Cagney <cagney@gnu.org>
20279
20280 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
20281 (skip_to_handler_entry): New procedures. Test stepping into a
20282 handler when the breakpoint is at the handler's entry point.
20283
20284 2004-08-30 Andrew Cagney <cagney@gnu.org>
20285
20286 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
20287 gdb/1757.
20288
20289 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
20290
20291 With code from Manoj Iyer <manjo@austin.ibm.com>:
20292 * lib/gdb.exp (gdb_file_cmd): Return more information in the
20293 return value. Add an arm for "no debugging symbols found".
20294 Change a stray "error" to "perror".
20295 (gdb_run_cmd): Adapt to new return value.
20296 * gdb.base/remote.exp: Adapt to new return value.
20297 * gdb.gdb/complaints.exp: Likewise.
20298 * gdb.gdb/observer.exp: Likewise.
20299 * gdb.gdb/selftest.exp: Likewise.
20300 * gdb.gdb/xfullpath.exp: Likewise.
20301
20302 2004-08-27 Joel Brobecker <brobecker@gnat.com>
20303
20304 * gdb.threads/bp_in_thread.exp: New testcase.
20305
20306 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
20307
20308 Fix PR testsuite/1735.
20309 * gdb.threads/schedlock.c (thread_function): Add a cast
20310 to suppress a gcc warning.
20311 * gdb.threads/thread-specific.c (thread_function): Likewise.
20312
20313 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20314
20315 * gdb.base/unload.c: Include <stdlib.h>.
20316
20317 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20318
20319 From Paul Gilliam <pgilliam@us.ibm.com>:
20320 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
20321 synchronized after the "return".
20322
20323 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20324
20325 * gdb.mi/basics.c: Include <stdio.h>.
20326 * gdb.mi/pthreads.c: Include <stdlib.h>.
20327 * gdb.mi/var-cmd.c: Include <stdlib.h>.
20328
20329 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20330
20331 * gdb.threads/schedlock.c: Add copyright notice.
20332
20333 2004-08-25 Andrew Cagney <cagney@gnu.org>
20334
20335 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
20336 (skip_over_handler, breakpoint_over_hander): New test procedures.
20337 (advance, advancei): Add a proper prefix, do not use
20338 rerun_to_main.
20339 * gdb.base/sigstep.c (main): Change to use an infinite loop.
20340
20341 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
20342
20343 * gdb.mi/basics.c: Add copyright notice.
20344 * gdb.mi/var-cmd.c: Add copyright notice.
20345
20346 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20347
20348 * lib/gdb.exp: Remove signed_keyword_not_used.
20349 * lib/compiler.c: Likewise.
20350 * lib/compiler.cc: Likewise.
20351
20352 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20353
20354 * gdb.base/whatis.c: Remove conditional disabling of "signed".
20355 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
20356
20357 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20358
20359 * gdb.base/whatis.c: Add copyright notice.
20360
20361 2004-08-20 Mark Kettenis <kettenis@gnu.org>
20362
20363 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
20364 it to skip the breakpoints encoded in the inline assembly.
20365
20366 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
20367
20368 * Makefile.in: Add gdb.fortran.
20369
20370 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
20371
20372 * gdb.base/call-sc.exp (test_scalar_returns):
20373 Fix cut-and-paste glitch in "Make fun return now".
20374
20375 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
20376
20377 * configure.in: Add gdb.fortran.
20378 * configure: Regenerate.
20379 * gdb.fortran/Makefile.in: New file.
20380 * lib/gdb.exp (skip_fortran_tests): New procedure.
20381
20382 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
20383
20384 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
20385 reference to bug-gnu@prep.ai.mit.edu.
20386 * gdb.mi/mi-var-child.exp: Likewise.
20387 * gdb.mi/mi-var-cmd.exp: Likewise.
20388 * gdb.mi/mi-var-display.exp: Likewise.
20389 * gdb.mi/mi2-var-block.exp: Likewise.
20390 * gdb.mi/mi2-var-child.exp: Likewise.
20391 * gdb.mi/mi2-var-cmd.exp: Likewise.
20392 * gdb.mi/mi2-var-display.exp: Likewise.
20393
20394 2004-08-15 Mark Kettenis <kettenis@gnu.org>
20395
20396 * gdb.base/unload.c (main): Make local variable msg const.
20397
20398 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
20399
20400 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
20401 to bug-gnu@prep.ai.mit.edu.
20402 * gdb.mi/mi-disassemble.exp: Likewise.
20403 * gdb.mi/mi-eval.exp: Likewise.
20404 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
20405 default line number.
20406 * gdb.mi/mi-return.exp: Likewise.
20407 * gdb.mi/mi-simplerun.exp: Likewise.
20408 * gdb.mi/mi-stack.exp: Likewise.
20409 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
20410 number with explicit range test.
20411 * gdb.mi/mi-watch.exp: Likewise.
20412 * gdb.mi/mi2-break.exp: Likewise.
20413 * gdb.mi/mi2-cli.exp: Likewise.
20414 * gdb.mi/mi2-disassemble.exp: Likewise.
20415 * gdb.mi/mi2-eval.exp: Likewise.
20416 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
20417 default line number.
20418 * gdb.mi/mi2-return.exp: Likewise.
20419 * gdb.mi/mi2-simplerun.exp: Likewise.
20420 * gdb.mi/mi2-stack.exp: Likewise.
20421 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
20422 number with explicit range test.
20423 * gdb.mi/mi2-watch.exp: Likewise.
20424
20425 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
20426
20427 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
20428 * gdb.cp/m-static.exp: Likewise.
20429 * gdb.cp/rtti.exp: Likewise.
20430
20431 2004-08-14 Mark Kettenis <kettenis@gnu.org>
20432
20433 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
20434
20435 2004-08-14 Eli Zaretskii <eliz@gnu.org>
20436
20437 * ChangeLog: Prefix Local Variables with semi-colons and indent
20438 the reference to older ChangeLog files, to fix fontification in
20439 Emacs.
20440
20441 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20442
20443 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
20444 * gdb.mi/mi2-break.exp: Likewise.
20445
20446 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20447
20448 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
20449
20450 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20451
20452 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
20453
20454 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20455
20456 * gdb.cp/classes.exp: Remove unused declarations. Just let
20457 test names default instead of providing special names. Remove
20458 extraneous demangler test.
20459
20460 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
20461
20462 * gdb.base/unload.exp: New test for breakpoints in dynamically
20463 loaded libraries.
20464 * gdb.base/unload.c: Ditto.
20465 * gdb.base/unloadshr.c: Ditto.
20466
20467 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
20468
20469 * gdb.cp/classes.exp (test_ptype_class_objects): Call
20470 cp_test_ptype_class.
20471 (test_enums): Likewise.
20472
20473 2004-08-10 Andrew Cagney <cagney@gnu.org>
20474
20475 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
20476 files.
20477
20478 2004-08-10 Andrew Cagney <cagney@gnu.org>
20479
20480 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
20481 init_malloc call.
20482
20483 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
20484
20485 * ChangeLog: Add copyright notice. The notice is copied
20486 from emacs 21.3 top level ChangeLog.
20487
20488 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20489
20490 * lib/cp-support.exp: New file.
20491 * lib/cp-support.exp (cp_test_type_class): New function.
20492 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
20493 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
20494 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
20495 cp_test_ptype_class.
20496
20497 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20498
20499 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
20500 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
20501 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
20502 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
20503 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
20504 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
20505 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
20506 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
20507 gdb.mi/mi2-watch.exp: Update copyright years.
20508
20509 2004-08-09 Mark Kettenis <kettenis@gnu.org>
20510
20511 * gdb.base/sigaltstack.exp: Provide proper anchoring.
20512
20513 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20514
20515 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
20516 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
20517 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
20518 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
20519 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
20520 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
20521 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
20522 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
20523 gdb.mi/mi-watch.exp: Update copyright years.
20524
20525 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20526
20527 PR gdb/1738
20528 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
20529 from a breakpoint with a pending signal.
20530
20531 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20532
20533 PR gdb/1736
20534 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
20535 * gdb.base/sigaltstack.exp (finish_test): Consume output until
20536 the prompt.
20537 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
20538
20539 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20540
20541 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
20542
20543 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20544
20545 PR gdb/1736
20546 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
20547 for i?86-*-linux*.
20548
20549 2004-08-08 Daniel Jacobowitz <dan@debian.org>
20550
20551 * gdb.arch/i386-prologue.exp: Compile without debug information.
20552
20553 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
20554
20555 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
20556 rather than asking gdb to search.
20557
20558 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20559
20560 * gdb.base/gcore.c: Include <string.h>.
20561
20562 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20563
20564 * gdb.base/gcore.c: Add copyright notice.
20565
20566 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20567
20568 * gdb.base/freebpcmd.c: Include <stdio.h>.
20569 * gdb.base/long_long.c: Include <string.h>.
20570 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
20571 * gdb.base/siginfo.c: Include <string.h>.
20572 * gdb.base/sigstep.c: Include <string.h>.
20573
20574 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20575
20576 * gdb.base/complex.c: Include <stdlib.h>.
20577
20578 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20579
20580 * gdb.base/complex.c: Add copyright notice.
20581
20582 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20583
20584 * gdb.base/charset.c: Include <stdlib.h>.
20585
20586 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20587
20588 * gdb.base/auxv.c: Include <stdlib.h>.
20589
20590 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20591
20592 * gdb.base/auxv.c: Add copyright notice.
20593
20594 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20595
20596 * gdb.base/coremaker.c: Add copyright notice.
20597 * gdb.base/coremaker2.c: Add copyright notice.
20598
20599 2004-08-04 Andrew Cagney <cagney@gnu.org>
20600
20601 * gdb.base/store.exp: Update copyright.
20602 (check_set, up_set, check_struct, up_struct): Add a prefix to test
20603 names, do not import gdb_prompt.
20604
20605 2004-08-01 Andrew Cagney <cagney@gnu.org>
20606
20607 Fix PR testsuite/1729.
20608 * gdb.base/dump.exp: Add test name to callers of capture_value, do
20609 not use capture_value with value 4.
20610 (capture_value): Add optional test name parameter.
20611 (test_reload_saved_value, test_restore_saved_value): Use $msg as
20612 the prefix, pass to capture_value.
20613
20614 2004-08-01 Mark Kettenis <kettenis@gnu.org>
20615
20616 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
20617 * gdb.arch/i386-prologue.c (standard): New prototype and function.
20618 (main): Call new function.
20619
20620 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20621
20622 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
20623
20624 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20625
20626 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
20627
20628 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20629
20630 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
20631 Accept more values of vtbl pointer. Remove some messages
20632 about "obsolete gcc or gdb".
20633
20634 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
20635
20636 * gdb.cp/classes.exp: Accept more varieties of ptype output.
20637
20638 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
20639
20640 * gdb.base/asm-source.exp: Properly convert target board
20641 debug flags from gcc format to binutils format.
20642
20643 2004-07-28 Mark Kettenis <kettenis@gnu.org>
20644
20645 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
20646 gdb1718". PR backtrace/1718 partially fixed.
20647
20648 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
20649
20650 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
20651
20652 2004-07-26 Nick Clifton <nickc@redhat.com>
20653
20654 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
20655 good default value for a specific architecture is available then
20656 set it to that value. Otherwise default to the -gstabs switch.
20657 Remove the -g... switches from the asm-flags variable. Allow the
20658 target board info to override the value if it wants to. Pass the
20659 switch on the assembler command line.
20660
20661 2004-07-23 Mark Kettenis <kettenis@gnu.org>
20662
20663 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
20664 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
20665 (main): Call new function.
20666
20667 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
20668
20669 Test for PR exp/1715.
20670 * gdb.base/radix.exp: Refactor common procedures. Make all
20671 test names unique. Change XFAIL to KFAIL.
20672
20673 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
20674
20675 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
20676 * gdb.ada/gnat_ada.gin: ... to here.
20677 * configure.in: Use gnat_ada.gin.
20678 * configure: Regenerate.
20679
20680 2004-07-20 Andrew Cagney <cagney@gnu.org>
20681
20682 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
20683 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
20684 XFAILs. Clean up test messages and comments. Check backtraces.
20685 Delete re-sync code.
20686
20687 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
20688
20689 Fix PR cli/740.
20690 * gdb.base/annota1.exp: Honor gdb,nosignals.
20691 * gdb.base/annota3.exp: Likewise.
20692
20693 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
20694
20695 * lib/java.exp: Update copyright notice.
20696
20697 2004-07-19 Andrew Cagney <cagney@gnu.org>
20698
20699 * gdb.base/selftest.exp: Copy file from here ...
20700 * gdb.gdb/selftest.exp: ... to here.
20701
20702 2004-07-16 Andrew Cagney <cagney@redhat.com>
20703
20704 * lib/insight-support.exp: Delete file.
20705 * lib/java.exp (java_init): Fix copyright.
20706
20707 2004-07-16 Andrew Cagney <cagney@gnu.org>
20708
20709 * gdb.base/restore.c: Append "prologue" to comments marking the a
20710 function's prologue.
20711 * gdb.base/restore.exp: Update copyright, re-indent.
20712 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
20713 callerN" prefix where needed. Update patterns that match a
20714 function's prologue.
20715
20716 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
20717
20718 * gdb.base/restore.c: Add copyright notice.
20719
20720 2004-07-16 Andrew Cagney <cagney@gnu.org>
20721
20722 * gdb.base/logical.exp: Update copyright.
20723 (evaluate): New procedure. Use to re-implement tests using
20724 several tables.
20725
20726 2004-07-14 Martin Hunt <hunt@redhat.com>
20727
20728 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
20729 which fixes some problems where init.tcl was not found.
20730
20731 2004-07-13 Andrew Cagney <cagney@gnu.org>
20732
20733 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
20734 (check_sizeof, check_valueof): Do not include the output in the
20735 test name. Use gdb_test.
20736 (get_valueof): Use gdb_test_multiple.
20737
20738 * gdb.base/step-test.exp: Update copyright. Use
20739 gdb_test_multiple. Ensure that test names do not include
20740 architecture dependent output.
20741
20742 * gdb.gdb/observer.exp: Update copyright.
20743 (setup_test): Use gdb_test_multiple.
20744 (attach_first_observer, attach_second_observer)
20745 (attach_third_observer, detach_first_observer)
20746 (detach_second_observer, detach_third_observer)
20747 (reset_counters, check_counters): Make $message a prefix.
20748 (test_normal_stop_notifications): Add "args" parameter - a list of
20749 init functions to be called. Make $message a prefix,
20750 (test_observer_normal_stop): Change the message prefixes so that
20751 they are unique, pass the attach / detach procedures to
20752 test_normal_stop_notifications.
20753
20754 * gdb.base/signull.exp (test_segv): Prefix all tests with
20755 "${name}". Clean up test messages.
20756
20757 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
20758
20759 * gdb.base/ena-dis-br.exp: Update copyright.
20760 (break_at): New function. Replace send_gdb with gdb_test,
20761 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
20762 ignore count, not stopped at bpt", with KFAIL.
20763
20764 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
20765
20766 * gdb.base/attach.exp: Remove cleanupfile handling.
20767
20768 2004-07-12 Andrew Cagney <cagney@gnu.org>
20769
20770 * gdb.base/annota1.exp: Cleanup corefile test name.
20771 * gdb.base/annota3.exp: Ditto.
20772
20773 2004-07-12 Andrew Cagney <cagney@gnu.org>
20774
20775 * gdb.base/signals.exp: Clean up copyright, re-indent.
20776
20777 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
20778 gdb_test and gdb_test_multiple.
20779
20780 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
20781
20782 * gdb.java/jmain.exp: Fix expected line number for main to
20783 break at. Set XFAIL for break at main test since gcj does not
20784 provide line number info for first statement in main.
20785
20786 2004-07-08 Andrew Cagney <cagney@gnu.org>
20787
20788 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
20789
20790 * gdb.base/sigbpt.exp: Make the common part of each test name a
20791 prefix instead of suffix.
20792
20793 2004-07-07 Bob Rossi <bob_rossi@cox.net>
20794
20795 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
20796 test from test_tbreak_creation_and_listing to
20797 test_file_list_exec_source_file
20798 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
20799 Changed name of test from test_tbreak_creation_and_listing to
20800 test_file_list_exec_source_file
20801
20802 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
20803
20804 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
20805 the jmisc() constructor instead of <init>.
20806 * gdb.java/jmisc1.exp: Ditto.
20807
20808 2004-07-07 Andrew Cagney <cagney@gnu.org>
20809
20810 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
20811 corrupting the PC.
20812
20813 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
20814
20815 * gdb.cp/templates.exp: Accept whitespace change in demangler
20816 output.
20817
20818 2004-07-06 Andrew Cagney <cagney@gnu.org>
20819
20820 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
20821
20822 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
20823
20824 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
20825 * lib/compiler.cc: Likewise.
20826
20827 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
20828
20829 * lib/compiler.cc: Work around string preprocessing problem
20830 with old hp c++ compiler.
20831 * lib/compiler.c: Likewise.
20832
20833 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
20834
20835 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
20836 directives to conditionalize symbol prefixing.
20837 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
20838 additional_flags handling. Add underscore prefix for Cygwin.
20839 * gdb.arch/i386-unwind.c: Use preprocessor directives to
20840 conditionalize symbol prefixing.
20841 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
20842 additional_flags handling. Add underscore prefix for Cygwin.
20843
20844 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
20845
20846 * gdb.base/bigcore.exp: Skip test on Cygwin.
20847
20848 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
20849
20850 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
20851 formats for "info register". Use gdb_test_multiple. Fix
20852 the "invalid register" test.
20853
20854 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
20855
20856 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
20857 PID for Cygwin. Add Cygwin specific strings to check for in some
20858 tests.
20859 (do_attach_tests): Add a test for user interaction when attaching
20860 to a process with no matching symbol table already loaded.
20861
20862 2004-06-26 Andrew Cagney <cagney@gnu.org>
20863
20864 Test PR java/1567 and PR java/1565.
20865 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
20866 * gdb.java/jmisc2.exp: Delete file.
20867
20868 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
20869
20870 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
20871
20872 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
20873
20874 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
20875 attach process.
20876
20877 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
20878
20879 * gdb.cp/pr-1553.exp: Remove.
20880
20881 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
20882
20883 * gdb.cp/pr-1553.cc: Remove.
20884 * gdb.cp/pr-1553.exp: Disable this test.
20885
20886 2004-06-20 Jim Blandy <jimb@redhat.com>
20887
20888 Fix PR testsuite/1680.
20889 * gdb.arch/i386-sse.exp: Properly quote curly braces in
20890 regular expressions.
20891
20892 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
20893
20894 Fix PR testsuite/1679.
20895 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
20896 Issue an UNSUPPORTED result instead.
20897
20898 2004-06-18 Jim Blandy <jimb@redhat.com>
20899
20900 * gdb.base/charset.exp: Only send a control-C if we see a new
20901 prompt and incomplete command.
20902
20903 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
20904
20905 * gdb.cp/pr-574.cc: Add copyright notice.
20906
20907 2004-06-17 Jim Blandy <jimb@redhat.com>
20908
20909 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
20910 cases where the regexp has no groups; this grabs random text from
20911 the previous test suite, whatever that was.
20912
20913 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
20914
20915 * gdb.cp/printmethod.cc: Add copyright notice.
20916
20917 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
20918
20919 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
20920
20921 2004-06-16 Andrew Cagney <cagney@gnu.org>
20922
20923 * gdb.base/signull.c: Update copyright. Include <string.h>.
20924 (bowler): Replace data_pointer with data_read
20925 and data_write cases. Add code_descriptor case.
20926 (zero, desc): New array and pointer.
20927 (data, code): Change to simple pointers.
20928 * gdb.base/signull.exp: Fix probe pattern matching a function
20929 descriptor SIGSEGV. Replace data_pointer with data_read and
20930 data_write tests.
20931
20932 2004-06-16 Andrew Cagney <cagney@gnu.org>
20933
20934 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
20935
20936 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20937
20938 * gdb.base/long_long.c: Add copyright notice.
20939
20940 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20941
20942 * gdb.base/long_long.exp: Remove reference to
20943 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
20944 to gdb_breakpoint and gdb_continue_to_breakpoint.
20945
20946 2004-06-14 Jim Blandy <jimb@redhat.com>
20947
20948 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
20949 endian case.
20950
20951 2004-06-14 Andrew Cagney <cagney@gnu.org>
20952
20953 * gdb.base/gcore.exp (capture_command_output): Delete the always
20954 passing tests containing inferior values.
20955 * gdb.base/ending-run.exp: Do not include the breakpoint address
20956 in the test message. Update copyright.
20957 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
20958 size in the test name, use gdb_test_multiple. Update copyright.
20959
20960 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20961
20962 * gdb.cp/ref-types.cc: Add copyright notice.
20963
20964 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20965
20966 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
20967 hp_aCC_compiler.
20968 * lib/compiler.cc: Likewise.
20969 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
20970 'set' commands. Log diagnostics for other lines. Set
20971 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
20972
20973 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
20974
20975 * gdb.cp/try_catch.cc: Add copyright notice.
20976
20977 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
20978
20979 * gdb.cp/userdef.cc: Add copyright notice.
20980
20981 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
20982
20983 * gdb.cp/virtfunc.cc: Add copyright notice.
20984
20985 2004-06-11 Randolph Chung <tausq@debian.org>
20986
20987 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
20988 problem.
20989
20990 2004-06-10 Andrew Cagney <cagney@gnu.org>
20991
20992 * lib/compiler.cc, lib/compiler.c: Append either
20993 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
20994 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
20995 instead of gcc-3-3.
20996
20997 2004-06-09 Andrew Cagney <cagney@gnu.org>
20998
20999 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
21000 gdb/1455, bug is specific to "long long" and "double".
21001
21002 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
21003 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
21004 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
21005 fixed.
21006
21007 2004-06-09 Andrew Cagney <cagney@gnu.org>
21008
21009 * gdb.base/structs.exp (test_struct_returns): Replace
21010 "return_value_unknown" and "finish_value_unknown" by
21011 "return_value_known" and "finish_value_known". Instead of
21012 "return_value_unknown" iff "finish_value_unknown", check
21013 "return_value_known" implies "finish_value_known".
21014
21015 2004-06-08 Martin Hunt <hunt@redhat.com>
21016
21017 * gdb.base/float.exp: Add pattern for mips targets.
21018
21019 2004-06-08 Randolph Chung <tausq@debian.org>
21020
21021 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
21022 message for unknown architectures more clear.
21023
21024 2004-06-08 Joel Brobecker <brobecker@gnat.com>
21025
21026 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
21027 start the execution of the program.
21028
21029 2004-06-07 Jim Blandy <jimb@redhat.com>
21030
21031 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
21032 * gdb.arch/i386-cpuid.h: New helper file.
21033
21034 2004-06-07 Randolph Chung <tausq@debian.org>
21035
21036 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
21037 has started.
21038
21039 2004-06-04 Roland McGrath <roland@redhat.com>
21040
21041 Fix PR gdb/1647.
21042 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
21043 differently to be robust to output buffering differences.
21044
21045 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
21046
21047 * gdb.threads/pthreads.exp: Update copyright years.
21048 (check_control_c): Change asynchronous 'after' to synchronous.
21049
21050 2004-06-04 Roland McGrath <roland@redhat.com>
21051
21052 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
21053 next gdb prompt.
21054
21055 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
21056
21057 Fix PR gdb/1636.
21058 * gdb.threads/manythreads.exp: Change asynchronous 'after'
21059 calls to synchronous.
21060
21061 2004-05-26 Jim Blandy <jimb@redhat.com>
21062
21063 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
21064
21065 2004-05-24 Randolph Chung <tausq@debian.org>
21066
21067 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
21068 * gdb.asm/pa.inc: New file.
21069
21070 2004-05-22 Mark Kettenis <kettenis@gnu.org>
21071
21072 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
21073
21074 2004-05-21 Joel Brobecker <brobecker@gnat.com>
21075 Daniel Jacobowitz <drow@mvista.com>
21076
21077 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
21078 GDB prompt.
21079
21080 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21081
21082 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
21083 setjmp/longjmp. Use sigaction instead of signal.
21084
21085 2004-05-19 J. Brobecker <brobecker@gnat.com>
21086 Michael Snyder <msnyder@redhat.com>
21087
21088 * gdb.threads/pthread_cond_wait.c: New file.
21089 * gdb.threads/pthread_cond_wait.exp: New testcase.
21090
21091 2004-05-13 Andrew Cagney <cagney@redhat.com>
21092
21093 * gdb.base/signull.exp, gdb.base/signull.c: New files.
21094 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
21095
21096 2004-05-11 Andrew Cagney <cagney@redhat.com>
21097
21098 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
21099 fixed but revealed gdb/1639.
21100
21101 2004-05-10 Andrew Cagney <cagney@redhat.com>
21102
21103 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
21104 func1" and "next to 2nd alarm", kernel bug avoided.
21105
21106 2004-05-10 Daniel Jacobowitz <dan@debian.org>
21107
21108 PR external/1568
21109 * gdb.base/bigcore.exp: Check the size of the dumped core file.
21110 XFAIL if it is smaller than bytes_allocated.
21111 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
21112 (main): Make chunks_allocated unsigned. Correct comment.
21113
21114 2004-05-07 Joel Brobecker <brobecker@gnat.com>
21115
21116 * gdb.arch/powerpc-aix-prologue.c: New file.
21117 * gdb.arch/powerpc-aix-prologue.exp: New file.
21118
21119 2004-05-07 Jim Blandy <jimb@redhat.com>
21120
21121 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
21122 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
21123
21124 2004-05-06 Joel Brobecker <brobecker@gnat.com>
21125
21126 * gdb.base/sep.exp: No longer setup_kfail when the program was
21127 built with dwarf2.
21128
21129 2004-05-05 Jim Ingham <jingham@apple.com>
21130
21131 * gdb.base/pending.exp: Make sure pending breakpoints
21132 preserve the ignore count.
21133
21134 2004-04-27 Jerome Guitton <guitton@gnat.com>
21135
21136 * i386-prologue.exp: Add testcase for jump instruction as first
21137 instruction of the real code.
21138 * i386-prologue.c (jump_at_beginning): New function.
21139
21140 2004-04-28 Mark Kettenis <kettenis@gnu.org>
21141
21142 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
21143 x86_64-*-*.
21144
21145 2004-04-28 Mark Kettenis <kettenis@gnu.org>
21146
21147 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
21148 i*86-*-*.
21149
21150 2004-04-25 Mark Kettenis <kettenis@gnu.org>
21151
21152 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
21153 expression that checks the return type.
21154
21155 2004-04-23 Andrew Cagney <cagney@redhat.com>
21156
21157 * gdb.base/call-sc.exp: New test of scalar call/return values.
21158 * gdb.base/call-sc.c: Ditto.
21159
21160 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21161
21162 * gdb.threads/manythreads.c: Reduce thread stack size.
21163
21164 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
21165
21166 * gdb.threads/manythreads.c: Add copyright notice.
21167
21168 2004-04-23 Andrew Cagney <cagney@redhat.com>
21169
21170 * gdb.base/siginfo.exp: Better handle step out of signal.
21171 * gdb.base/sigstep.exp: Ditto.
21172
21173 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
21174 Daniel Jacobowitz <drow@mvista.com>
21175
21176 * gdb.threads/manythreads.c: New testcase.
21177 * gdb.threads/manythreads.exp: Ditto.
21178
21179 2004-04-22 Jim Blandy <jimb@redhat.com>
21180
21181 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
21182 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
21183
21184 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
21185
21186 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
21187
21188 2004-04-21 Andrew Cagney <cagney@redhat.com>
21189
21190 * gdb.base/sigstep.c: New file.
21191 * gdb.base/sigstep.exp: New file.
21192
21193 2004-04-16 Joel Brobecker <brobecker@gnat.com>
21194
21195 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
21196 call to observer_notify_normal_stop.
21197
21198 2004-04-15 Andrew Cagney <cagney@redhat.com>
21199
21200 * gdb.base/siginfo.c: New file.
21201 * gdb.base/siginfo.exp: New file.
21202
21203 2004-04-12 J. Brobecker <brobecker@gnat.com>
21204
21205 * gdb.base/sep.exp: Fix typo in comment.
21206
21207 2004-04-12 J. Brobecker <brobecker@gnat.com>
21208
21209 * gdb.base/sep.c: New file.
21210 * gdb.base/sep-proc.c: New file.
21211 * gdb.base/sep.exp: New testcase.
21212
21213 2004-04-09 Mark Kettenis <kettenis@gnu.org>
21214
21215 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
21216 support.
21217
21218 2004-04-05 Andrew Cagney <cagney@redhat.com>
21219
21220 * gdb.base/sigaltstack.c: New file.
21221 * gdb.base/sigaltstack.exp: New file.
21222
21223 2004-04-04 Joel Brobecker <brobecker@gnat.com>
21224
21225 * gdb.base/foll-fork.exp: Update the expected output for
21226 "help set follow-fork-mode", to match a change that was made
21227 to the help of this variable on 2004-01-13.
21228
21229 2004-04-01 Joel Brobecker <brobecker@gnat.com>
21230
21231 * lib/ada.exp: Add copyright notice.
21232 * bar.ads: Likewise.
21233 * bar.adb: Likewise.
21234 * null_record.adb: Likewise.
21235 * null_record.exp: Likewise.
21236 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
21237
21238 2004-04-01 Joel Brobecker <brobecker@gnat.com>
21239
21240 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
21241 * configure: Regenerate.
21242
21243 2004-04-01 Joel Brobecker <brobecker@gnat.com>
21244
21245 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
21246 to build the application. Remove the message printed when in
21247 verbose mode, redundant with the UNSUPPORTED message above.
21248
21249 2004-03-31 Joel Brobecker <brobecker@gnat.com>
21250
21251 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
21252 * gdb.ada (null_record.exp): New testcase.
21253
21254 2004-03-31 Joel Brobecker <brobecker@gnat.com>
21255
21256 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
21257
21258 2004-03-31 Joel Brobecker <brobecker@gnat.com>
21259
21260 * gdb.ada: New subdirectory.
21261 * gdb.ada/Makefile.in: New file.
21262 * gdb.ada/gnat_ada.gpr.in: New file.
21263
21264 2004-03-31 Joel Brobecker <brobecker@gnat.com>
21265
21266 * lib/ada.exp: New file.
21267
21268 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
21269
21270 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
21271 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
21272
21273 2004-03-22 Andrew Cagney <cagney@redhat.com>
21274
21275 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
21276 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
21277 Problem identified by Ulrich Weigand.
21278
21279 2004-03-17 David Carlton <carlton@kealia.com>
21280
21281 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
21282 PR c++/826.
21283
21284 2004-03-16 Roland McGrath <roland@redhat.com>
21285
21286 * gdb.base/auxv.exp: New file.
21287 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
21288
21289 2004-03-12 David Carlton <carlton@kealia.com>
21290
21291 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
21292 * gdb.cp/pr-1553.cc: Ditto.
21293 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
21294 pass branch.
21295
21296 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
21297
21298 * gdb.cp/templates.exp: Accept more template types.
21299
21300 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21301
21302 From Corinna Vinschen with modifications.
21303 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
21304 local variable obj_with_enum.
21305 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
21306 results with obj_with_enum.
21307
21308 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21309
21310 * gdb.cp/classes.cc: New file, copied from misc.cc.
21311 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
21312
21313 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21314
21315 * gdb.cp/misc.cc: Add copyright notice.
21316
21317 2004-03-05 David Carlton <carlton@kealia.com>
21318
21319 * gdb.cp/rtti.exp: Add 'print *obj3' test.
21320 * gdb.cp/rtti.h: Update copyright.
21321 (namespace n2::n3): New.
21322 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
21323 (n2::n3::func3): New.
21324 (main): Call n2::n3::func3.
21325 * gdb.cp/rtti2.cc: Update copyright.
21326 (n2::create3): New.
21327
21328 2004-03-04 Mark Kettenis <kettenis@gnu.org>
21329
21330 * gdb.asm/openbsd.inc: Fix typo.
21331
21332 2004-03-03 Fred Fish <fnf@redhat.com>
21333
21334 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
21335 "val" instead of unused "size". Update copyright year.
21336
21337 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
21338
21339 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
21340 to use unsigned char.
21341 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
21342 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
21343
21344 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
21345
21346 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
21347 line of output.
21348
21349 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
21350
21351 * gdb.base/relocate.c (dummy): Initialize.
21352
21353 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
21354
21355 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
21356 a breakpoint at exit.
21357
21358 2004-02-27 Fred Fish <fnf@redhat.com>
21359
21360 * gdb.base/chng-syms.exp: Add expect condition to match failing
21361 case that isn't a timeout.
21362
21363 2004-02-27 Andrew Cagney <cagney@redhat.com>
21364
21365 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
21366 support.
21367
21368 2004-02-26 Fred Fish <fnf@redhat.com>
21369
21370 * gdb.arch/gdb1431.c: Remove.
21371 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
21372 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
21373 of "until" incorrectly.
21374
21375 2004-02-26 J. Brobecker <brobecker@gnat.com>
21376
21377 * gdb.cp/class2.cc (empty): New class.
21378 (refer): New function.
21379 (main): Declare an object of type empty and use it.
21380 * gdb.cp/class2.exp: Print the value of an object of type empty.
21381
21382 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
21383
21384 * gdb.base/langs.exp: Update query string to match the
21385 new nquery format used for pending breakpoints.
21386
21387 2004-02-26 Andrew Cagney <cagney@redhat.com>
21388
21389 Fix PR i18n/1570.
21390 * gdb.base/charset.c: Update copyright notice.
21391 (main, init_string): Remove the escape character '\e' tests.
21392 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
21393 * gdb.base/charset.exp (valid_host_charset): Ditto.
21394 * gdb.base/setvar.exp: Ditto.
21395
21396 2004-02-24 Andrew Cagney <cagney@redhat.com>
21397
21398 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
21399 mmapped data in core file" PASS and FAIL messages consistent.
21400
21401 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
21402 setting a breakpoint. Work around PR java/1565.
21403
21404 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
21405
21406 * lib/gdb.exp (gdb_breakpoint): Update query string to match
21407 new nquery format.
21408 * gdb.base/pending.exp: Ditto.
21409
21410 2004-02-22 Mark Kettenis <kettenis@gnu.org>
21411
21412 * configure.in: Run stabs tests on *BSD.
21413 * configure: Regenerated.
21414
21415 2004-02-21 Mark Kettenis <kettenis@gnu.org>
21416
21417 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
21418
21419 2004-02-20 Fred Fish <fnf@redhat.com>
21420
21421 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
21422 blank in test for "returns short", for consistency with other
21423 "returns xxx" tests. Update copyright year.
21424
21425 2004-02-19 Fred Fish <fnf@redhat.com>
21426
21427 New testcase for PR breakpoint/1558.
21428 * gdb.arch/gdb1558.exp: New file.
21429 * gdb.arch/gdb1558.c: New file.
21430
21431 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
21432
21433 * gdb.base/nodebug.exp: Fix typo.
21434
21435 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21436
21437 Committed by Jim Blandy <jimb@redhat.com>.
21438
21439 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
21440
21441 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
21442
21443 * gdb.base/float.exp: Support s390*-*-* targets.
21444
21445 2004-02-17 Adam Fedor <fedor@gnu.org>
21446
21447 * gdb.base/gdb1555.exp: New file.
21448 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
21449
21450 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
21451
21452 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
21453
21454 2004-02-16 Fred Fish <fnf@redhat.com>
21455
21456 * gdb.arch/gdb1291.c: Remove
21457 * gdb.arch/gdb1291.s: New test input file.
21458 * gdb.arch/gdb1291.exp: Expand test to check case that should not
21459 fail. Test for correct result, known incorrect result, other
21460 failures and timeouts.
21461
21462 2004-02-16 Andrew Cagney <cagney@redhat.com>
21463
21464 * gdb.base/bigcore.exp: New file.
21465 * gdb.base/bigcore.c: New file.
21466
21467 2004-02-13 Andrew Cagney <cagney@redhat.com>
21468
21469 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
21470 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
21471 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
21472 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
21473 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
21474 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
21475 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
21476 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
21477 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
21478 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
21479
21480 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
21481
21482 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
21483 executed is an alloc instruction.
21484
21485 2004-02-11 David Carlton <carlton@kealia.com>
21486
21487 * gdb.cp/breakpoint.exp: New.
21488 * gdb.cp/breakpoint.cc: New.
21489
21490 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
21491
21492 Partial fix for PR gdb/1543.
21493 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
21494 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
21495 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
21496 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
21497 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
21498 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
21499 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
21500 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
21501 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
21502 to bug-gdb@prep.ai.mit.edu .
21503 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
21504 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
21505 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
21506 Likewise.
21507
21508 2004-02-10 Andrew Cagney <cagney@redhat.com>
21509
21510 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
21511 using gdb_internal_error_resync.
21512
21513 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
21514
21515 * gdb.threads/thread-specific.exp: Stop early if no threads are
21516 found.
21517
21518 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
21519
21520 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
21521
21522 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
21523
21524 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
21525 breakpoints.
21526
21527 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
21528
21529 * config/sim.exp (gdb_load): Handle $arg == "".
21530 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
21531 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
21532
21533 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
21534
21535 * gdb.base/maint.exp: Update test to reflect
21536 obstack changes.
21537
21538 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
21539
21540 * gdb.base/pendshr.c (pendfunc): New function that calls
21541 pendfunc1.
21542 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
21543
21544 2004-02-04 Fred Fish <fnf@redhat.com>
21545
21546 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
21547 function symbols and update copyright years.
21548 * gdb.arch/gdb1291.c: Ditto.
21549
21550 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21551
21552 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
21553
21554 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21555
21556 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
21557
21558 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21559
21560 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
21561
21562 2004-02-02 Fred Fish <fnf@redhat.com>
21563
21564 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
21565 remote targets. Update copyright years.
21566
21567 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
21568
21569 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
21570 support.
21571 * gdb.base/langs.exp: Fix test which attempts to create
21572 breakpoint on non-existent function to handle new pending
21573 support.
21574 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
21575 a breakpoint.
21576 * gdb.base/pending.exp: New test.
21577 * gdb.base/pending.c: New file.
21578 * gdb.base/pendshr.c: Ditto.
21579
21580 2004-02-02 David Carlton <carlton@kealia.com>
21581
21582 * gdb.cp/overload.exp: Add overloadNamespace tests.
21583 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
21584 (overloadNamespace, XXX): New.
21585 (main): Call XXX::marker2.
21586
21587 2004-02-01 Fred Fish <fnf@redhat.com>
21588
21589 * gdb.base/dump.exp: Use runto_main instead of "runto main".
21590 * gdb.base/finish.exp: Ditto.
21591 * gdb.base/gcore.exp: Ditto.
21592 * gdb.base/huge.exp: Ditto.
21593 * gdb.base/info-proc.exp: Ditto.
21594 * gdb.base/return2.exp: Ditto.
21595 * gdb.threads/gcore-thread.exp: Ditto.
21596
21597 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
21598
21599 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
21600
21601 2004-02-01 Mark Kettenis <kettenis@gnu.org>
21602
21603 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
21604 that opening the file succeeds on OpenBSD.
21605
21606 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
21607
21608 * gdb.threads/thread-specific.c: New file.
21609 * gdb.threads/threads-specific.exp: New test script.
21610 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
21611 to expect_out.
21612
21613 2004-02-01 Mark Kettenis <kettenis@gnu.org>
21614
21615 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
21616 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
21617 only on the "print_small_structs from print_long_arg_list" test.
21618
21619 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
21620
21621 * gdb.base/completion.exp: Kill a stray backslash.
21622
21623 From Jim Ingham <jingham@apple.com>:
21624 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
21625 agrees with the result from sending a tab.
21626
21627 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
21628
21629 * gdb.base/chng-syms.exp: Remove stray newline.
21630
21631 2004-01-31 Mark Kettenis <kettenis@gnu.org>
21632
21633 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
21634 *-*-openbsd*.
21635 * gdb.asm/openbsd.inc: New file.
21636
21637 2004-01-30 Mark Kettenis <kettenis@gnu.org>
21638
21639 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
21640 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
21641 *-*solaris2*. Remove commented out default settings for
21642 asm-flags. Replace gdb_compile with target_link.
21643
21644 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
21645
21646 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
21647 for all tests. Remove old hp-ux and cygnus xfail cases.
21648
21649 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
21650
21651 * gdb.base/chng-syms.exp: New file.
21652 * gdb.base/chng-syms.c: New file.
21653
21654 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
21655
21656 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
21657 Provide arms for current output in all my configurations.
21658
21659 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
21660
21661 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
21662 * lib/compiler.cc: Likewise.
21663 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
21664 get the right preprocessor. Eval the output directly. Remove
21665 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
21666 hp_f77_compiler and hp_f90_compiler completely.
21667 (gdb_preprocess): Delete.
21668 (get_compiler): Delete.
21669
21670 2004-01-24 Mark Kettenis <kettenis@gnu.org>
21671
21672 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
21673 <string.h>.
21674
21675 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
21676
21677 * gdb.mi/mi-stack.exp: Update copyright.
21678
21679 2004-01-23 David Carlton <carlton@kealia.com>
21680
21681 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
21682 test for cp_lookup_transparent_type.
21683 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
21684 call them.
21685
21686 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
21687
21688 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
21689 after -var-update.
21690
21691 2004-01-23 David Carlton <carlton@kealia.com>
21692
21693 * gdb.cp/namespace.cc (C::ensureRefs): New.
21694 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
21695
21696 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
21697
21698 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
21699 case "-stack-list-locals 2".
21700 * gdb.mi/mi-var-child.exp: Test for case
21701 "-var-list-children --all-values NAME".
21702
21703 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
21704
21705 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
21706
21707 2004-01-18 Mark Kettenis <kettenis@gnu.org>
21708
21709 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
21710 used with gdb_test_multiple.
21711
21712 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
21713 read at address 0. This fixes PR testsuite/1504.
21714
21715 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
21716
21717 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
21718 Remove downloading, guessing the host executable, the calls to
21719 gdb_file_cmd and gdb_target_cmd, and "load" support.
21720 (infer_host_exec): New function broken out from gdb_load.
21721 (gdb_load): New wrapper for gdbserver_gdb_load.
21722 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
21723 gdb_target_cmd. Use -target-select.
21724 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
21725 Download binaries to the host. Clear last_mi_remote_file when
21726 we load a new binary.
21727 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
21728 call gdbserver_gdb_load and mi_gdb_target_cmd.
21729
21730 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21731
21732 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
21733 type patterns.
21734
21735 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21736
21737 * gdb.cp/templates.exp: Fix typo in test name of
21738 "print Foo<volatile char*>::foo".
21739
21740 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21741
21742 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
21743
21744 2004-01-16 Ben Elliston <bje@wasabisystems.com>
21745
21746 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
21747 (clean mostlyclean): Remove empty rm.
21748
21749 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21750
21751 * gdb.base/setvar.exp: Add copyright years.
21752
21753 2004-01-14 David Carlton <carlton@bactrian.org>
21754
21755 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
21756 PR c++/1511 and update coment.
21757 * gdb.cp/templates.exp: Update patterns to match current output.
21758 If changes involve something other than whitespace, KFAIL
21759 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
21760
21761 2004-01-14 David Carlton <carlton@kealia.com>
21762
21763 * gdb.cp/namespace.exp: Add tests involving classes defined within
21764 namespaces.
21765 * gdb.cp/namespace.cc (C::CClass): New.
21766 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
21767
21768 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
21769
21770 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
21771 what debug info we have. Print a better message if something goes
21772 wrong while producing the separate debug info file.
21773
21774 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21775
21776 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
21777
21778 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21779
21780 * gdb.base/callfuncs.c: Add copyright notice.
21781
21782 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
21783
21784 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
21785 inheritance. PR gdb/1498, PR gcc/13539.
21786
21787 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
21788
21789 * gdb.threads/gcore-thread.exp: Prefix name of binary with
21790 test specific name.
21791 * gdb.mi/gdb669.exp: Ditto.
21792 * gdb.mi/mi-pthreads.exp: Ditto.
21793 * gdb.mi/mi1-pthreads.exp: Ditto.
21794 * gdb.mi/mi2-pthreads.exp: Ditto.
21795
21796 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21797
21798 * gdb.cp/member-ptr.cc: Add copyright notice.
21799
21800 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21801
21802 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
21803 some patterns for recent versions of gcc and hpacc. Delete
21804 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
21805 Delete tests that access a NULL pointer-to-member-data. This
21806 script is still disabled for gcc.
21807
21808 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
21809
21810 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
21811 escaped correctly.
21812
21813 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
21814
21815 * gdb.base/sepdebug.exp: New file.
21816 * gdb.base/sepdebug.c: New file.
21817 * lib/gdb.exp (separate_debug_filename): New procedure.
21818 (gdb_gnu_strip_debug): New procedure.
21819
21820 2004-01-12 Andrew Cagney <cagney@redhat.com>
21821
21822 * gdb.mi/ChangeLog: Delete file. Renamed to ...
21823 * gdb.mi/ChangeLog-1999-2003: New file.
21824
21825 2004-01-12 Andrew Cagney <cagney@redhat.com>
21826
21827 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
21828 "Renaming a directory to a non-empty directory returns ENOTEMPTY
21829 or EEXIST", treat EBUSY as an XFAIL.
21830
21831 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
21832
21833 * gdb.base/scope.exp: Remove obsolete setup_xfail for
21834 hp_cc_compiler.
21835
21836 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21837
21838 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
21839 decorations.
21840
21841 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21842
21843 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
21844 and "(aCC)" decorations. Remove obsolete doco about old
21845 test results.
21846
21847 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21848
21849 * gdb.cp/exception.exp: Fix typo in doco.
21850
21851 2004-01-09 Mark Kettenis <kettenis@gnu.org>
21852
21853 * gdb.base/gdb1476.exp: Fix typo.
21854
21855 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21856
21857 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
21858 file.
21859
21860 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21861
21862 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
21863 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
21864 Use gdb_compile. Remove restriction on gcc. Add some patterns
21865 for recent version of gdb. Delete second half, which was a copy
21866 of the first half with different build flags. This test is
21867 still disabled because it is still not ready for production.
21868
21869 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21870
21871 * gdb.cp/exception.cc: Add copyright notice.
21872 * gdb.cp/exception.exp: Add a notice that this file is broken
21873 because of line number changes caused by addition of copyright
21874 notice.
21875
21876 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21877
21878 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
21879 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
21880
21881 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21882
21883 * gdb.cp/classes.exp: Accept gnu abi 2.
21884 * gdb.cp/derivation.exp: Likewise.
21885 * gdb.cp/overload.exp: Likewise.
21886 * gdb.cp/virtfunc.exp: Likewise.
21887
21888 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21889
21890 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
21891 semicolon after end of function.
21892
21893 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21894
21895 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
21896 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
21897 boilerplate code for compiling and running the program under
21898 test. Add some string method tests.
21899
21900 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21901
21902 * gdb.cp/bs15503.cc: Add copyright notice.
21903 * gdb.cp/bs15503.exp: Adjust line number.
21904
21905 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21906
21907 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
21908 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
21909
21910 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21911
21912 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
21913 hp_cc_compiler.
21914
21915 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21916
21917 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
21918 * gdb.cp/ctti.exp: Use the marker instead of "next".
21919 With gcc, run further before bailing.
21920
21921 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21922
21923 * gdb.cp/cttiadd.cc: Add copyright notice.
21924 * gdb.cp/cttiadd1.cc: Likewise.
21925 * gdb.cp/cttiadd2.cc: Likewise.
21926 * gdb.cp/cttiadd3.cc: Likewise.
21927
21928 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21929
21930 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
21931 Use gdb_test, gdb_test_multiple. Use floating-point values that
21932 have exact representations in IEEE-ish formats.
21933
21934 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21935
21936 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
21937 compilers. Delete duplicate call to get_compiler_info.
21938 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
21939 * gdb.base/volatile.exp: Likewise.
21940
21941 2004-01-07 Mark Kettenis <kettenis@gnu.org>
21942
21943 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
21944 memory at address 0.
21945
21946 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21947
21948 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
21949 to test for hp-ux assembler. Fix copyright years.
21950
21951 2004-01-07 Andrew Cagney <cagney@redhat.com>
21952
21953 * gdb.base/fileio.c (strerrno): Add "EBUSY".
21954
21955 2004-01-07 Andrew Cagney <cagney@redhat.com>
21956
21957 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
21958 when creating the read-only file. From analysis by Roland McGrath
21959 and Elena Zannoni.
21960
21961 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21962
21963 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
21964
21965 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21966
21967 * gdb.base/cvexpr.c: Be type-safe with function pointers and
21968 data pointers.
21969
21970 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21971
21972 * gdb.cp/m-static.exp: Compile one source file at a time.
21973 Delete unused call to get_compiler_info.
21974
21975 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21976
21977 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
21978 * gdb.base/call-rt-st.exp: Likewise.
21979 * gdb.base/nodebug.exp: Likewise.
21980 * gdb.base/volatile.exp: Likewise.
21981 * gdb.cp/ref-types.exp: Likewise.
21982 * gdb.cp/templates.exp: Likewise.
21983
21984 2004-01-05 Mark Kettenis <kettenis@gnu.org>
21985
21986 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
21987
21988 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
21989
21990 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
21991 hppa*-hp-hpux*.
21992
21993 2004-01-04 Mark Kettenis <kettenis@gnu.org>
21994
21995 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21996 x86_64-*-*.
21997
21998 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21999 sparc64-*-* and sparc*-solaris2*.
22000
22001 2004-01-04 Mark Kettenis <kettenis@gnu.org>
22002
22003 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
22004 return ${tests}" test. The ${tests} already mentions the
22005 filename.
22006
22007 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
22008
22009 * gdb.cp/local.exp: Accept gcc abi 2.
22010
22011 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
22012
22013 * gdb.cp/templates.exp: Accept gcc abi 2.
22014
22015 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
22016
22017 * lib/compiler.cc: Remove supports_template_debugging.
22018 * gdb.cp/templates.exp: Do not test supports_template_debugging.
22019
22020 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22021
22022 * gdb.cp/namespace.exp: Accept gcc abi 2.
22023
22024 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22025
22026 * gdb.cp/method.exp: Accept gcc abi 2.
22027
22028 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22029
22030 * gdb.cp/classes.exp: Generate identical results as old version.
22031 * gdb.cp/derivation.exp: Likewise.
22032 * gdb.cp/overload.exp: Likewise.
22033 * gdb.cp/virtfunc.exp: Likewise.
22034
22035 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22036
22037 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
22038 mysterious bug with sourceware version of expect.
22039
22040 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22041
22042 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
22043 current versions of gcc, including gcc abi 2. Remove gratuitous
22044 restart of test program. Use gdb_test_multiple and gdb_test for
22045 all tests. Add patterns to xfail missing "const" in "const char *"
22046 and kfail PR gdb/1155.
22047
22048 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22049
22050 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
22051 current versions of gcc, including gcc abi 2. Remove gratuitous
22052 restart of test program. Use gdb_test_multiple and gdb_test for
22053 all tests. Add patterns to kfail PR gdb/1498.
22054
22055 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
22056
22057 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
22058 current versions of gcc, including gcc abi 2. Use "breakpoint"
22059 and "continue" instead of restarting the target program. Use
22060 gdb_test_multiple and gdb_test for all tests.
22061
22062 2004-01-01 Mark Kettenis <kettenis@gnu.org>
22063
22064 * gdb.asm/asm-source.exp: Update copyright year. Link statically
22065 for *-*-solaris2*.
22066
22067 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
22068
22069 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
22070 current versions of gcc, including gcc abi 2. Use "breakpoint"
22071 and "continue" instead of restarting the target program several
22072 times. Use gdb_test_multiple and gdb_test for all tests.
22073
22074 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
22075
22076 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
22077 source files.
22078
22079 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
22080
22081 * gdb.base/environ.exp: Handle compiling test case from multiple
22082 source files.
22083
22084 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
22085
22086 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
22087
22088 2003-12-17 Jim Blandy <jimb@redhat.com>
22089
22090 * gdb.base/freebpcmd.c: Add copyright notice.
22091
22092 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
22093
22094 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
22095
22096 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
22097
22098 2003-12-13 Jim Blandy <jimb@redhat.com>
22099
22100 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
22101
22102 2003-12-12 Kevin Buettner <kevinb@redhat.com>
22103
22104 * gdb.asm/frv.inc: New file.
22105 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
22106
22107 2003-12-09 Fred Fish <fnf@redhat.com>
22108
22109 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
22110 functions to break1.c and leave prototypes behind. Add more
22111 "set breakpoint NN here" comments.
22112 * gdb.base/break1.c: New file.
22113
22114 * gdb.base/break.exp: Handle compiling test case from multiple
22115 source files and change source file references as needed.
22116 * gdb.base/completion.exp: Ditto.
22117 * gdb.base/condbreak.exp: Ditto.
22118 * gdb.base/define.exp: Ditto.
22119 * gdb.base/ena-dis-br.exp: Ditto.
22120 * gdb.base/info-proc.exp: Ditto.
22121 * gdb.base/maint.exp: Ditto.
22122 * gdb.base/until.exp: Ditto.
22123
22124 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
22125 hardcoded line numbers.
22126 * gdb.base/define.exp: Ditto.
22127 * gdb.base/ena-dis-br.exp: Ditto.
22128 * gdb.base/maint.exp: Ditto.
22129 * gdb.base/until.exp: Ditto.
22130
22131 * gdb.base/completion.exp: Use "break1" for completion tests since
22132 "break" is no longer a unique prefix.
22133
22134 2003-12-06 Andrew Cagney <cagney@redhat.com>
22135
22136 * gdb.base/structs.exp (test_struct_returns): When applicable, set
22137 "return_value_unimplemented". When an unimplemented struct return
22138 architecture, report incorrect values as a KFAIL
22139
22140 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
22141
22142 * gdb.cp/rtti.exp: Accept new wording of warning from
22143 cp_lookup_rtti_type.
22144
22145 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
22146
22147 Partial fix for PR testsuite/1456.
22148 * gdb.base/scope.exp (test_at_main): Replace references to
22149 gcc_compiled with calls to test_compiler_info.
22150 (test_at_foo): Likewise.
22151 (test_at_bar): Likewise.
22152
22153 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
22154
22155 Partial fix for PR testsuite/1456.
22156 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
22157 to test_compiler_info.
22158
22159 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
22160
22161 * gdb.base/so-impl-ld.exp: Update copyright notice.
22162
22163 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
22164
22165 Partial fix for PR testsuite/1456.
22166 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
22167 to test_compiler_info.
22168
22169 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
22170
22171 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
22172 from current versions of gdb. Clean up regular expressions.
22173 Delete redundant timeout case.
22174
22175 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
22176
22177 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
22178 from current versions of gdb. Clean up regular expressions.
22179 Delete redundant timeout case.
22180
22181 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
22182
22183 Partial fix for PR testsuite/1456.
22184 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
22185 gcc_compiled with call to test_compiler_info.
22186
22187 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
22188
22189 Partial fix for PR testsuite/1456.
22190 * gdb.base/list.exp (test_list_function): Delete unused declaration
22191 of gcc_compiled.
22192
22193 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
22194
22195 Partial fix for PR testsuite/1456.
22196 * gdb.base/complex.exp: Replace reference to gcc_compiled with
22197 call to test_compiler_info.
22198
22199 2003-11-29 Mark Kettenis <kettenis@gnu.org>
22200
22201 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
22202 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
22203 it to create the appropriate note.inc.
22204 * gdb.asm/asmsrc1.s: Include "note.inc".
22205 * gdb.asm/netbsd.inc: New file.
22206 * gdb.asm/empty.inc: New file.
22207
22208 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
22209
22210 Partial fix for PR testsuite/1456.
22211 * gdb.base/constvars.exp: Replace references to gcc_compiled with
22212 calls to test_compiler_info.
22213
22214 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
22215
22216 Partial fix for PR testsuite/1456.
22217 * gdb.base/volatile.exp: Replace references to gcc_compiled with
22218 calls to test_compiler_info.
22219
22220 2003-11-27 Mark Kettenis <kettenis@gnu.org>
22221
22222 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
22223 pattern for the KFAILs.
22224
22225 2003-11-25 Adam Fedor <fedor@gnu.org>
22226
22227 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
22228 * gdb.objc/objcdecode.m: New file.
22229
22230 2003-11-25 Adam Fedor <fedor@gnu.org>
22231
22232 * gdb.objc/nondebug.exp: Test for PR objc/1236.
22233 * gdb.objc/nondebug.m: New file.
22234
22235 2003-11-26 Ben Elliston <bje@wasabisystems.com>
22236
22237 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22238 NetBSD as it does on FreeBSD. Modelled on a similar change by
22239 Mark Kettenis on 2003-05-30.
22240 (link-flags): Set to "--entry _start" regardless of target.
22241 Special linker flags are to be appended to $link-flags.
22242 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
22243
22244 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
22245
22246 * gdb.cp/method.exp: Accept output of new demangler.
22247
22248 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
22249
22250 * gdb/class2.exp: New file.
22251 * gdb/class2.cc: New file.
22252
22253 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
22254
22255 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
22256 of new demangler.
22257
22258 2003-11-23 Mark Kettenis <kettenis@gnu.org>
22259
22260 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
22261 of gdb_test "run".
22262
22263 2003-11-23 Mark Kettenis <kettenis@gnu.org>
22264
22265 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
22266 "continue" into "run".
22267
22268 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
22269
22270 Partial fix for PR testsuite/1456.
22271 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
22272 call to test_compiler_info.
22273 * gdb.cp/ctti.exp: Likewise.
22274 * gdb.cp/derivation.exp: Likewise.
22275 * gdb.cp/member-ptr.exp: Likewise.
22276 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
22277 reference to gcc_compiled.
22278
22279 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
22280
22281 Fix PR testsuite/1463.
22282 * gdb.base/structs.exp (start_structs_test): Call
22283 get_debug_format before using the debug format.
22284
22285 2003-11-22 Andrew Cagney <cagney@redhat.com>
22286
22287 * lib/gdb.exp (gdb_test_multiple): Add simple example.
22288 * gdb.base/structs.exp: Use gdb_test_multiple.
22289
22290 2003-11-20 Andrew Cagney <cagney@redhat.com>
22291
22292 * gdb.base/structs.exp: Handle and recover from internal errors.
22293 Replace "foo${n}" with "foo<n>" in test messages.
22294
22295 * gdb.base/structs.exp: Update copyright. Rewrite.
22296 * gdb.base/structs.c: Update copyright. Rewrite.
22297
22298 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
22299 resync count exceeded.
22300
22301 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
22302 from the internal error.
22303 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
22304 Original from Jim Blandy.
22305 (gdb_test_multiple): Use gdb_internal_error_resync.
22306
22307 2003-11-19 Andrew Cagney <cagney@redhat.com>
22308
22309 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
22310 KFAIL.
22311
22312 2003-11-17 Mark Kettenis <kettenis@gnu.org>
22313
22314 New testcase for PR backtrace/1435.
22315 * gdb.arch/i386-unwind.exp: New file.
22316 * gdb.arch/i386-unwind.c: New file.
22317
22318 2003-11-17 Andrew Cagney <cagney@redhat.com>
22319
22320 * lib/gdb.exp (compiler_info): New global.
22321 (test_compiler_info): New function.
22322 (get_compiler_info): Set compiler_info.
22323 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
22324 "compiler_info" to gcc-<major>-<minor>.
22325
22326 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
22327
22328 * gdb.trace/configure: Remove.
22329
22330 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
22331
22332 * gdb.base/break.c: Add comments to aid finding line numbers for
22333 breakpoints.
22334 * gdb.base/break.exp: Remove all references to explicit line
22335 numbers.
22336
22337 2003-11-11 Nick Clifton <nickc@redhat.com>
22338
22339 * gdb.base/shreloc.exp: Do not run for targets which do not
22340 support shared objects.
22341
22342 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
22343
22344 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
22345 Don't run tests if nofileio flag is given.
22346
22347 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
22348
22349 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
22350 as well as 'Watchpoint'.
22351
22352 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
22353
22354 Reported by Jim Ingham <jingham@apple.com>:
22355 * gdb.base/annota1.exp: Match at least one occurrence of the
22356 signal handler annotation.
22357
22358 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
22359
22360 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
22361 as well as 'Watchpoint'.
22362
22363 2003-11-05 Michael Chastain <mec@shout.net>
22364
22365 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
22366
22367 2003-11-03 Kris Warkentin <kewarken@qnx.com>
22368
22369 * gdb.arch/gdb1291.c: New test file.
22370 * gdb.arch/gdb1291.exp: New test script.
22371 * gdb.arch/gdb1431.c: New test file.
22372 * gdb.arch/gdb1431.exp: New test script.
22373
22374 2003-10-22 Michael Chastain <mec@shout.net>
22375
22376 * gdb.mi/pthreads.c: Add copyright notice.
22377
22378 2003-10-22 Michael Chastain <mec@shout.net>
22379
22380 * gdb.threads/pthreads.c: Add copyright notice.
22381
22382 2003-10-20 Michael Chastain <mec@shout.net>
22383
22384 * gdb.base/gdb1056.exp: New test script.
22385
22386 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
22387
22388 * gdb.threads/killed.exp: Use gdb_run_cmd.
22389
22390 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
22391
22392 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
22393 create a core file.
22394 * gdb.threads/gcore-thread.exp: Likewise.
22395
22396 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
22397
22398 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
22399 type, based on char type.
22400 (struct bit_flags_short_t): New bitfield type, based on short type.
22401 (init_bit_flags_char): New fuction.
22402 (init_bit_flags_short): Ditto.
22403 (print_bit_flags_char): Ditto.
22404 (print_bit_flags_short): Ditto.
22405 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
22406
22407 2003-10-11 Michael Chastain <mec@shout.net>
22408
22409 * gdb.base/call-rt-st.exp: Update copyright year.
22410
22411 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
22412
22413 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
22414 * gdb.disasm/sh3.s: Ditto.
22415
22416 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
22417
22418 * gdb.threads/switch-threads.exp: New test.
22419 * gdb.threads/switch-threads.c: New source file.
22420
22421 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
22422
22423 * gdb.base/ending-run.exp: Add sh specific case.
22424
22425 2003-10-06 Andrew Cagney <cagney@redhat.com>
22426
22427 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
22428 * gdb.disasm/mn10200.exp: Delete obsolete file.
22429
22430 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
22431
22432 * ChangeLog: Correct an entry command.exp -> commands.exp.
22433 * gdb.base/commands.exp (bp_deleted_in_command_test)
22434 (temporary_breakpoint_commands): Check noargs.
22435
22436 2003-09-25 David Carlton <carlton@kealia.com>
22437
22438 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
22439 of some print tests, where appropriate. Add tests for C::D::cd,
22440 E::ce, F::cXfX, G::XgX.
22441 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
22442
22443 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
22444
22445 * lib/java.exp (java_init): Import target_alias before using it.
22446
22447 2003-09-25 David Carlton <carlton@kealia.com>
22448
22449 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
22450
22451 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
22452
22453 * gdb.base/selftest.exp: Accomodate more instruction reordering
22454 weirdness.
22455
22456 2003-09-17 Michael Chastain <mec@shout.net>
22457
22458 * gdb.cp/gdb1355.exp: New file.
22459 * gdb.cp/gdb1355.c: New file.
22460
22461 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
22462
22463 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
22464 * gdb.asm/sh.inc: New file.
22465
22466 2003-09-11 David Carlton <carlton@kealia.com>
22467
22468 * gdb.cp/namespace.exp: Add tests for namespace types.
22469 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
22470 (test_namespace): New.
22471
22472 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
22473
22474 * gdb.base/relocate.exp: Handle new gdb output at startup.
22475 * gdb.stabs/weird.exp: Ditto.
22476
22477 2003-09-08 Michael Chastain <mec@shout.net>
22478
22479 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
22480
22481 2003-09-07 Michael Chastain <mec@shout.net>
22482
22483 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
22484 'parse error'.
22485
22486 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
22487
22488 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
22489
22490 2003-08-30 Michael Chastain <mec@shout.net>
22491
22492 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
22493 * gdb.gdb/observer.exp: Ditto.
22494 * gdb.gdb/xfullpath.exp: Ditto.
22495
22496 2003-08-29 Mark Kettenis <kettenis@gnu.org>
22497
22498 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
22499 *-*-*bsd*.
22500
22501 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
22502
22503 * gdb.base/dump.exp: Skip for ia64.
22504
22505 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
22506
22507 * gdb.asm/asm-source.exp: Add ia64 support.
22508 * gdb.asm/ia64.inc: New file.
22509
22510 2003-08-22 Michael Chastain <mec@shout.net>
22511
22512 * gdb.cp: New directory.
22513 * gdb.cp/*: Copy from gdb.c++/*.
22514 * gdb.c++/*: Remove.
22515 * Makefile.in: Change gdb.c++ to gdb.cp.
22516 * configure.in: Ditto.
22517 * configure: Regnerate.
22518
22519 2003-08-18 Mark Kettenis <kettenis@gnu.org>
22520
22521 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
22522 * gdb.arch/i386-prologue.c (gdb1338): Add function.
22523
22524 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
22525
22526 * mi-var-display.exp (-var-list-children weird): Accept function
22527 pointers with argument types.
22528 * mi1-var-display.exp (-var-list-children weird): Likewise.
22529 * mi2-var-display.exp (-var-list-children weird): Likewise.
22530
22531 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
22532
22533 * gdb.base/annota3.exp: Add missing newline.
22534
22535 2003-08-06 Michael Chastain <mec@shout.net>
22536
22537 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
22538
22539 2003-08-12 Michael Snyder <msnyder@redhat.com>
22540
22541 * gdb.base/float.exp: Add test for SH.
22542
22543 2003-08-10 Mark Kettenis <kettenis@gnu.org>
22544
22545 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
22546
22547 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
22548
22549 * gdb.base/completion.exp: Remove reduntant completion test
22550 on filename.
22551
22552 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
22553
22554 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
22555 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
22556 gdb.trace/save-trace.exp: Make sure that full pathnames are
22557 escaped correctly.
22558
22559 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
22560
22561 * configure.in: Don't generate config.h from config.hin.
22562 * configure: Regenerate.
22563 * config.hin: Remove file.
22564 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
22565 * gdb.threads/pthreads.c: Ditto.
22566
22567 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
22568
22569 From Kei Sakamoto <sakamoto.kei@renesas.com>:
22570 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
22571 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
22572 Replace ld24 with seth/add3.
22573
22574 2003-08-02 Andrew Cagney <cagney@redhat.com>
22575
22576 * gdb.base/annota3.exp: New file.
22577 * gdb.base/annota3.c: New file.
22578 * gdb.c++/annota3.exp: New file.
22579 * gdb.c++/annota3.cc: New file.
22580
22581 2003-07-29 Michael Chastain <mec@shout.net>
22582
22583 * gdb.threads/tls.c (spin): Check errno only if sem_wait
22584 actually failed.
22585 (do_pass): Likewise.
22586 * gdb.threads/tls.exp: Always initialize no_of_threads.
22587
22588 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
22589
22590 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
22591 pattern.
22592 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
22593 * gdb.threads/tls.exp: Recognize one case of the host library not
22594 supporting TLS.
22595
22596 2003-07-27 Andrew Cagney <cagney@redhat.com>
22597
22598 * gdb.base/fileio.exp: Use SH when running commands using
22599 remote_exec.
22600
22601 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
22602
22603 From Kei Sakamoto <sakamoto.kei@renesas.com>:
22604 * gdb.base/relocate.c (dummy): New padding array.
22605
22606 2003-07-22 Michael Snyder <msnyder@redhat.com>
22607
22608 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
22609
22610 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
22611 patterns to be more general, accepting old and new output.
22612 Some output chars (such as '+') also must be quoted.
22613 Some addresses are displayed numerically instead of
22614 symbolically.
22615
22616 2003-07-23 Michael Snyder <msnyder@redhat.com>
22617
22618 * gdb.base/return2.exp: Don't test long-long return.
22619
22620 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
22621 * gdb.disasm/t01_mov.exp: Ditto.
22622 * gdb.disasm/t02_mova.s: Ditto.
22623 * gdb.disasm/t02_mova.exp: Ditto.
22624 * gdb.disasm/t03_add.s: Ditto.
22625 * gdb.disasm/t03_add.exp: Ditto.
22626 * gdb.disasm/t04_sub.s: Ditto.
22627 * gdb.disasm/t04_sub.exp: Ditto.
22628 * gdb.disasm/t05_cmp.s: Ditto.
22629 * gdb.disasm/t05_cmp.exp: Ditto.
22630 * gdb.disasm/t06_ari2.s: Ditto.
22631 * gdb.disasm/t06_ari2.exp: Ditto.
22632 * gdb.disasm/t07_ari3.s: Ditto.
22633 * gdb.disasm/t07_ari3.exp: Ditto.
22634 * gdb.disasm/t08_or.s: Ditto.
22635 * gdb.disasm/t08_or.exp: Ditto.
22636 * gdb.disasm/t09_xor.s: Ditto.
22637 * gdb.disasm/t09_xor.exp: Ditto.
22638 * gdb.disasm/t10_and.s: Ditto.
22639 * gdb.disasm/t10_and.exp: Ditto.
22640 * gdb.disasm/t11_logs.s: Ditto.
22641 * gdb.disasm/t11_logs.exp: Ditto.
22642 * gdb.disasm/t12_bit.s: Ditto.
22643 * gdb.disasm/t12_bit.exp: Ditto.
22644 * gdb.disasm/t13_otr.s: Ditto.
22645 * gdb.disasm/t13_otr.exp: Ditto.
22646
22647 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
22648
22649 * gdb.threads/tls.exp :Add kfail for 'info address' case.
22650
22651 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
22652
22653 * gdb.threads/tls.c : New file.
22654 * gdb.threads/tls.exp : New file.
22655 * gdb.threads/tls-main.c : New file.
22656 * gdb.threads/tls-shared.c : New file.
22657 * gdb.threads/tls-shared.exp : New file.
22658
22659 2003-07-22 Andreas Schwab <schwab@suse.de>
22660
22661 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
22662
22663 2003-07-20 Andreas Schwab <schwab@suse.de>
22664
22665 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
22666 due to insn reordering.
22667
22668 2003-07-15 Andrew Cagney <cagney@redhat.com>
22669
22670 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
22671
22672 2003-07-15 Michael Chastain <mec@shout.net>
22673
22674 * gdb.base/gdb1250.exp: New file.
22675 * gdb.base/gdb1250.c: New file.
22676
22677 2003-07-09 Michal Ludvig <mludvig@suse.cz>
22678
22679 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
22680 expansion of size_t to 'unsigned long', not only to 'unsigned'.
22681
22682 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
22683
22684 * gdb.threads/tls.c: New file.
22685 * gdb.threads/tls.exp: New file.
22686 * gdb.threads/tls-main.c: New file.
22687 * gdb.threads/tls-shared.c: New file.
22688 * gdb.threads/tls-shared.exp: New file.
22689
22690 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
22691
22692 * gdb.base/annota1.exp: Make sure that we properly escape the
22693 full path of the source file. Xfail more permissive patterns,
22694 due to a compiler debug info problem.
22695
22696 2003-07-07 Andreas Schwab <schwab@suse.de>
22697
22698 * gdb.asm/m68k.inc: New file.
22699 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
22700
22701 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
22702 arguments"): Also match negative number.
22703
22704 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
22705
22706 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
22707
22708 * gdb.base/store.c (charest): New typedef.
22709 (add_char): Rename to add_charest, update.
22710 (wack_char): Rename to wack_charest, update types. Return l + r
22711 to keep r live across the call.
22712 (wack_short, wack_int, wack_long, wack_longest, wack_float)
22713 (wack_double, wack_doublest): Return l + r to keep r live across
22714 the call.
22715 * gdb.base/store.exp: Accomodate store.c changes.
22716
22717 2003-06-30 David Carlton <carlton@kealia.com>
22718
22719 * gdb.c++/maint.exp (test_invalid_name): New.
22720 (test_first_component): Add tests for invalid names.
22721
22722 2003-06-29 Michael Chastain <mec@shout.net>
22723
22724 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
22725 output of '<VTT for class>' for virtual base classes.
22726
22727 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22728
22729 * gdb.base/completion.exp: Tab-complete "complet" instead of
22730 "compl".
22731 * gdb.base/complex.exp, gdb.base/complex.c: New files.
22732
22733 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22734
22735 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
22736 * gdb.base/volatile.exp: Likewise.
22737
22738 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22739
22740 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
22741 gdb/1265.
22742
22743 2003-06-28 Michael Chastain <mec@shout.net>
22744 Daniel Jacobowitz <drow@mvista.com>
22745
22746 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
22747 initial line count of 'captured_main' from 26 to 32.
22748 (test_with_self): Allow xmalloc call to be interleaved with the
22749 preceding two lines.
22750
22751 2003-06-24 Joel Brobecker <brobecker@gnat.com>
22752
22753 * gdb.base/bang.exp: New testcase.
22754
22755 2003-06-23 Joel Brobecker <brobecker@gnat.com>
22756
22757 * gdb.base/langs.exp: Add some tests for the "minimal" language
22758 support.
22759
22760 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
22761
22762 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
22763 the testcase.
22764
22765 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
22766
22767 * gdb.base/relocate.exp: Test add-symbol-file with a variable
22768 offset.
22769
22770 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
22771
22772 * gdb.c++/pr-1210.cc: New file.
22773 * gdb.c++/pr-1210.exp: New file.
22774
22775 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
22776
22777 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
22778 000-exec-continue.
22779
22780 2003-06-15 Mark Kettenis <kettenis@gnu.org>
22781
22782 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
22783 on *-*-*bsd* instead of *-*-freebsd*.
22784
22785 2003-06-14 Andrew Cagney <cagney@redhat.com>
22786
22787 * gdb.base/store.exp: Test longest and doublest. Test all
22788 parameters. Weaken return statement match.
22789 * gdb.base/store.c: Add longest and doublest - aka long long and
22790 long double functions. Put all parameters into local register
22791 variables. Use negative values.
22792
22793 2003-06-14 Andrew Cagney <cagney@redhat.com>
22794
22795 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
22796 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
22797 exit status.
22798 * gdb.base/fileio.exp: Disable target when nointerrupts and
22799 noinferiorio, instead of limiting it to remote. Use remote_exec
22800 instead of system.
22801
22802 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
22803
22804 * gdb.base/float.exp: Add ia64 support.
22805
22806 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
22807
22808 * gdb.base/fileio.exp: Run only on remote targets.
22809
22810 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
22811
22812 * gdb.base/fileio.c: New file, testing File-I/O.
22813 * gdb.base/fileio.exp: Ditto.
22814
22815 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
22816
22817 * gdb.base/shreloc.exp: New file, check symbol values obtained from
22818 shared objects after relocation at load time (gdb PR/1132).
22819 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
22820 as above, part of the shared object relocation test.
22821
22822 2003-06-08 Mark Kettenis <kettenis@gnu.org>
22823
22824 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
22825 fully filled history list.
22826 * gdb.base/gdb_history: New file.
22827
22828 * gdb.base/signals.exp: XFAIL "continue to func1" on
22829 i*86-*-freebsd*.
22830
22831 * gdb.base/attach.exp: When trying to attach to a nonexistent
22832 process, make it possible to specify the PID based on the target,
22833 and do so for *-*-freebsd*.
22834
22835 2003-06-02 Richard Henderson <rth@redhat.com>
22836
22837 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
22838
22839 2003-06-02 Richard Henderson <rth@redhat.com>
22840
22841 * gdb.base/selftest.exp: Next over lim_at_start initialization.
22842
22843 2003-06-02 Richard Henderson <rth@redhat.com>
22844
22845 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
22846
22847 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
22848
22849 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
22850 of globalvar.
22851
22852 2003-06-01 Mark Kettenis <kettenis@gnu.org>
22853
22854 * gdb.asm/asm-source.exp: Check for memory read errors in
22855 disassembler test on *BSD too.
22856
22857 2003-06-01 Richard Henderson <rth@redhat.com>
22858
22859 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
22860 for .frame.
22861 (gdbasm_call): Lose ldgp.
22862 (gdbasm_startup): Add frame information.
22863 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
22864
22865 2003-05-31 Mark Kettenis <kettenis@gnu.org>
22866
22867 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
22868 i?86-*-*.
22869
22870 2003-05-30 Mark Kettenis <kettenis@gnu.org>
22871
22872 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22873 FreeBSD.
22874
22875 2003-05-29 Richard Henderson <rth@redhat.com>
22876
22877 * gdb.asm/alpha.inc: New file.
22878 * gdb.asm/asm-source.exp: Use it.
22879
22880 2003-05-29 Jim Blandy <jimb@redhat.com>
22881
22882 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
22883 'core.PID'.
22884
22885 2003-05-22 Jim Blandy <jimb@redhat.com>
22886
22887 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
22888 backtrace.
22889
22890 2003-05-20 David Carlton <carlton@math.stanford.edu>
22891
22892 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
22893 this time.
22894
22895 2003-05-19 David Carlton <carlton@bactrian.org>
22896
22897 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
22898 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
22899
22900 2003-05-19 David Carlton <carlton@bactrian.org>
22901
22902 * gdb.c++/namespace.exp: Add namespace scope and anonymous
22903 namespace tests.
22904 Bump copyright date.
22905 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
22906 (main): Call C::D::marker2.
22907 * gdb.c++/namespace1.cc: New file.
22908
22909 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
22910
22911 Roland McGrath <roland@redhat.com>
22912 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
22913 there is no manager thread.
22914
22915 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
22916
22917 * gdb.threads/schedlock.exp: Remove assumption that all threads
22918 will run in a particular small time slice. Also ensure we break
22919 in one of the child threads rather than the main thread.
22920
22921 2003-05-07 Jim Blandy <jimb@redhat.com>
22922
22923 Add support for assembly source testing on the s390x.
22924 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
22925 architecture.
22926 * gdb.asm/s390x.inc: New file.
22927
22928 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
22929 succession of 'if' statements.
22930
22931 2003-05-05 Andrew Cagney <cagney@redhat.com>
22932
22933 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
22934
22935 2003-05-05 Andrew Cagney <cagney@redhat.com>
22936
22937 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
22938 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
22939
22940 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
22941
22942 * gdb.base/charset.exp: Update based on new behavior of set/show
22943 charset commands.
22944
22945 2003-05-01 Andrew Cagney <cagney@redhat.com>
22946
22947 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
22948 variable do not give memory errors.
22949
22950 2003-04-30 Adam Fedor <fedor@gnu.org>
22951
22952 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
22953 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
22954 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
22955 gdb.objc/basicclass.m: : New files
22956
22957 * lib/gdb.exp (gdb_compile_objc): New procedure.
22958
22959 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
22960
22961 * gdb.base/signals.exp: Make backtrace tests more specific.
22962
22963 2003-04-23 David Carlton <carlton@bactrian.org>
22964
22965 * gdb.c++/maint.exp (test_first_component): Add tests for
22966 'operator' in more locations.
22967
22968 2003-04-16 Kevin Buettner <kevinb@redhat.com>
22969
22970 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
22971
22972 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
22973
22974 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
22975 func marke' instead. Update test name.
22976
22977 2003-04-15 David Carlton <carlton@math.stanford.edu>
22978
22979 * gdb.c++/maint.exp: New file.
22980
22981 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
22982
22983 * gdb.threads/schedlock.c: Change type of thread function argument
22984 to long, to avoid warnings on 64-bit platforms.
22985
22986 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
22987
22988 * gdb.base/attach.exp: Add new message from ptrace in case of
22989 attaching to nonexistent process.
22990
22991 2003-04-11 Jim Blandy <jimb@redhat.com>
22992
22993 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22994 gdb.c++/userdef.cc: Place comments on the lines to which the
22995 marker function might return.
22996 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22997 gdb.c++/userdef.exp: Look for those comments to check that we've
22998 returned to the right place, instead of checking line numbers.
22999
23000 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
23001
23002 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
23003 match on sourcefile name, instead of directory name.
23004
23005 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
23006
23007 * gdb.base/completion.exp: Use string_to_regexp to match the
23008 working directory name.
23009
23010 2003-04-09 Jim Blandy <jimb@redhat.com>
23011
23012 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
23013 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
23014 after an inferior function call, report the failure, but allow the
23015 test to continue.
23016
23017 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
23018
23019 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
23020 with -DPROTOTYPES.
23021
23022 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
23023
23024 * gdb.base/break.exp: Revert last patch.
23025
23026 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
23027
23028 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
23029 with -DPROTOTYPES.
23030
23031 2003-04-02 Andrew Cagney <cagney@redhat.com>
23032
23033 * gdb.base/callfuncs.exp: Make "print add" messages unique.
23034 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
23035 matching directories by the name breakpoint.
23036 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
23037 Make "continue to marker1" consistent.
23038 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
23039 message consistent.
23040 * lib/gdb.exp: Put "the program is no longer running", and "the
23041 program exited" in parenthesis.
23042 * lib/mi-support.exp: Ditto.
23043
23044 2003-04-02 Bob Rossi <bob_rossi@cox.net>
23045
23046 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
23047
23048 2003-03-29 Andrew Cagney <cagney@redhat.com>
23049
23050 * gdb.base/sizeof.c (main): Print the value of '\377'.
23051 * gdb.base/sizeof.exp: Check the sign of '\377'.
23052
23053 2003-03-27 Michael Chastain <mec@shout.net>
23054
23055 * gdb.base/gdb1090.exp: New file.
23056 * gdb.base/gdb1090.cc: New file.
23057
23058 2003-03-27 J. Brobecker <brobecker@gnat.com>
23059
23060 * gdb.gdb/observer.exp: New regression test.
23061
23062 2003-03-27 Michael Chastain <mec@shout.net>
23063
23064 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
23065 * gdb.base/ptype.exp: Likewise.
23066
23067 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
23068
23069 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
23070
23071 2003-03-26 Michael Chastain <mec@shout.net>
23072
23073 * gdb.base/ptype.exp: Actually use some typedef'd types.
23074
23075 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
23076
23077 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
23078 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
23079
23080 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
23081
23082 * gdb.base/default.exp: Fix regular expression.
23083
23084 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
23085
23086 * gdb.base/args.exp: Fix regular expression.
23087
23088 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
23089
23090 * gdb.base/help.exp: Allow Win32 child process.
23091
23092 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
23093
23094 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
23095 when stepping out of main().
23096
23097 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
23098
23099 * gdb.base/default.exp: Check for win32 specific message when calling
23100 "run" without executable.
23101
23102 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
23103
23104 * gdb.base/args.exp: Expect .exe in output.
23105
23106 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
23107
23108 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
23109 Cygwin native.
23110
23111 2003-03-17 Andrew Cagney <cagney@redhat.com>
23112
23113 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
23114 vector registes.
23115 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
23116 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
23117
23118 2003-03-17 David Carlton <carlton@math.stanford.edu>
23119
23120 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
23121 test, for PR breakpoints/38.
23122 Call test_watchpoint_and_breakpoint.
23123 * gdb.base/watchpoint.c (func3): New function.
23124 (main): Call func3.
23125
23126 2003-03-04 David Carlton <carlton@math.stanford.edu>
23127
23128 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
23129 Garply<Garply<char> >:: garply".
23130 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
23131 with respect to PR c++/1111; note also PR c++/1113.
23132 (test_template_breakpoints): KFAIL "constructor breakpoint" with
23133 respect to PR c++/1062.
23134 KFAIL "destructor breakpoint" with respect to PR c++/1112.
23135
23136 2003-03-03 David Carlton <carlton@math.stanford.edu>
23137
23138 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
23139 with respect to PR c++/57.
23140 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
23141 c++/826.
23142 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
23143 respect to PR c++/57.
23144
23145 2003-03-03 David Carlton <carlton@math.stanford.edu>
23146
23147 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
23148 respect to PR c++/33 into FAILs.
23149
23150 2003-03-03 Michael Chastain <mec@shout.net>
23151
23152 * configure.in: Update copyright years.
23153
23154 2003-03-03 Michael Chastain <mec@shout.net>
23155
23156 * Makefile.in: Update copyright years.
23157
23158 2003-02-28 David Carlton <carlton@math.stanford.edu>
23159
23160 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
23161 print class instead of struct and/or superfluous protection
23162 specifiers, as long as the resulting output is equivalent to the
23163 source code.
23164 Delete FIXME from end of messages on tests that don't need
23165 fixing.
23166
23167 2003-02-28 David Carlton <carlton@math.stanford.edu>
23168
23169 * gdb.c++/templates.exp (do_tests): Allow const in the two
23170 Foo<volatile char *>::foo tests.
23171
23172 2003-02-27 Michael Snyder <msnyder@redhat.com>
23173
23174 * gdb.base/restore.c (main): Return zero, so exit code
23175 will be consistant.
23176
23177 2003-02-26 David Carlton <carlton@math.stanford.edu>
23178
23179 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
23180 char *>::foo" test with respect to PR c++/33. Create a new test
23181 which is identical to that one except that it doesn't put the
23182 space between the "char" and the "*"; KFAIL it, too.
23183
23184 2003-02-26 David Carlton <carlton@math.stanford.edu>
23185
23186 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
23187 template types into either PASSes or KFAILs (corresponding to PR
23188 c++/57). Tweak indentation. Update copyright.
23189
23190 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
23191
23192 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
23193
23194 2003-02-13 Michael Chastain <mec@shout.net>
23195
23196 * gdb.base/exprs.exp: Remove i960 remnants.
23197 * gdb.base/funcargs.exp: Likewise.
23198 * gdb.base/list.exp: Likewise.
23199 * gdb.base/ptype.exp: Likewise.
23200
23201 2003-02-14 David Carlton <carlton@math.stanford.edu>
23202
23203 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
23204 pEe->D::vg()" from XFAIL to KFAIL.
23205
23206 2003-02-13 Jason Molenda (jmolenda@apple.com)
23207
23208 * gdb.base/maint.exp: Update maint print statistics regexp to include
23209 new entries.
23210
23211 2003-02-13 Michael Chastain <mec@shout.net>
23212
23213 * gdb.c++/inherit.exp: Remove call to get_debug_format.
23214
23215 2003-02-12 Michael Chastain <mec@shout.net>
23216
23217 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
23218 * gdb.c++/inherit.exp: Likewise.
23219 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
23220 * gdb.c++/templates.exp: Likewise.
23221 * gdb.c++/virtfunc.exp: Likewise.
23222
23223 2003-02-06 Jason Molenda (jason-cl@molenda.com)
23224
23225 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
23226 why the code is written that way.
23227
23228 2003-02-05 Michael Chastain <mec@shout.net>
23229
23230 * gdb.base/dump.exp: Add missing copyright line.
23231
23232 2003-02-05 Jason Molenda (jason-cl@molenda.com)
23233
23234 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
23235 at the beginning so the breakpoint doesn't get set on the loop.
23236
23237 2003-02-05 Michael Chastain <mec@shout.net>
23238
23239 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
23240 output for configurations with gcc 2.95.3.
23241
23242 2003-02-05 Keith Seitz <keiths@redhat.com>
23243 Andrew Cagney <ac131313@redhat.com>
23244
23245 * gdb.mi/mi-cli.exp: New file.
23246
23247 2003-02-04 Michael Chastain <mec@shout.net>
23248
23249 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
23250 Call perror and then continue.
23251
23252 2003-02-03 Michael Chastain <mec@shout.net>
23253
23254 * gdb.c++/pr-1023.cc: New file.
23255 * gdb.c++/pr-1023.exp: New file.
23256
23257 2003-02-05 Jim Blandy <jimb@redhat.com>
23258
23259 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
23260 it's local to foobar. Check for it there, and check that it's not
23261 present in main.
23262 * gdb.c++/local.cc (marker2): New function.
23263 (foobar): Call marker1.
23264 (main): Call marker2 instead of marker1.
23265
23266 2003-02-04 Andrew Cagney <ac131313@redhat.com>
23267
23268 * gdb.disasm/mn10200.exp: Obsolete file.
23269 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
23270 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
23271 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
23272
23273 2003-02-04 David Carlton <carlton@math.stanford.edu>
23274
23275 * gdb.c++/overload.exp: Test intToChar(1).
23276 * gdb.c++/overload.cc (intToChar): New.
23277 (main): Call intToChar.
23278
23279 2003-02-03 David Carlton <carlton@math.stanford.edu>
23280
23281 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
23282 'might_kfail' arg.
23283 KFAIL some of the continue_to_bp_overloaded calls, according to
23284 PR c++/1025.
23285
23286 2003-02-01 Michael Chastain <mec@shout.net>
23287
23288 * gdb.base/advance.c (marker1): New marker function.
23289 * gdb.base/advance.exp: When the 'advance' command lands on the
23290 return breakpoint, it can legitimately stop on either the
23291 current line or the next line. Accommodate both outcomes.
23292 * gdb.base/until.exp: Likewise.
23293
23294 2003-02-02 Andrew Cagney <ac131313@redhat.com>
23295
23296 2002-11-10 Jason Molenda (jason-cl@molenda.com):
23297 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
23298 now a list, not a tuple.
23299 * gdb.mi/mi-var-display.exp: Ditto.
23300 * gdb.mi/gdb792.exp: Ditto.
23301
23302 2003-02-01 Andrew Cagney <ac131313@redhat.com>
23303
23304 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
23305 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
23306 stack backtraces.
23307 * gdb.mi/mi-syn-frame.c: Part of same.
23308
23309 2003-02-01 Mark Kettenis <kettenis@gnu.org>
23310
23311 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
23312 gdb.mi/mi1-pthreads.exp: Return instead of calling
23313 gdb_suppress_entire_file.
23314
23315 2003-02-01 Mark Salter <msalter@redhat.com>
23316
23317 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
23318
23319 2003-01-31 Mark Salter <msalter@redhat.com>
23320
23321 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
23322 Support empty arg.
23323
23324 2003-01-30 Michael Chastain <mec@shout.net>
23325
23326 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
23327 This was a workaround for a UTF-8 bug in readline 4.3. The bug
23328 has been fixed in gdb/readline on 2003-01-09.
23329
23330 2003-01-29 Michael Snyder <msnyder@redhat.com>
23331
23332 * gdb.base/maint.exp: Allow for leading underscore in symbol.
23333 * gdb.base/display.exp: Allow for leading underscore in symbol.
23334 * gdb.base/args.exp: Skip if target does not support args passing.
23335
23336 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
23337
23338 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
23339 gdb_test. Accept a list of expect arguments as the third
23340 parameter.
23341 (gdb_test): Use it.
23342
23343 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
23344
23345 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
23346 allow for different test tree configurations. Update some
23347 tescases accordingly.
23348 * gdb.arch/altivec-regs.exp: Ditto.
23349 * gdb.asm/asm-source.exp: Ditto.
23350 * gdb.base/advance.exp: Ditto.
23351 * gdb.base/display.exp: Ditto.
23352 * gdb.base/long_long.exp: Ditto.
23353 * gdb.base/mips_pro.exp: Ditto.
23354 * gdb.base/overlays.exp: Ditto.
23355 * gdb.base/relocate.exp: Ditto.
23356 * gdb.base/setshow.exp: Ditto.
23357 * gdb.base/step-line.exp: Ditto.
23358 * gdb.base/step-test.exp: Ditto.
23359 * gdb.base/until.exp: Ditto.
23360 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
23361
23362 2003-01-17 David Carlton <carlton@math.stanford.edu>
23363
23364 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
23365 corresponding to PR c++/945.
23366 Update copyright.
23367
23368 2003-01-17 David Carlton <carlton@math.stanford.edu>
23369
23370 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
23371 corresponding to PR c++/68.
23372
23373 2003-01-17 David Carlton <carlton@math.stanford.edu>
23374
23375 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
23376 (test_paddr_hairy_functions): Call print_addr_2_kfail for
23377 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
23378
23379 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
23380
23381 * gdb.base/break.exp: Fix change of default location, because of
23382 removal of until tests.
23383 * gdb.base/help.exp: Update test for new 'until' help message.
23384 Add test for help on 'advance'.
23385 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
23386
23387 2003-01-15 Mark Kettenis <kettenis@gnu.org>
23388
23389 * gdb.base/default.exp: Adapt "info float" test for recent changes
23390 to that command. Add test for "info vector".
23391 * gdb.base/float.exp: New file. Add test for "info float" that
23392 resembles the old test in gdb.base/default.exp.
23393
23394 2003-01-15 David Carlton <carlton@math.stanford.edu>
23395
23396 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
23397
23398 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
23399
23400 * gdb.base/break.exp: Move the tests of until command from here...
23401 * gdb.base/until.exp: ... to here. New file. Add other tests.
23402 * gdb.base/advance.c: New file.
23403 * gdb.base/advance.exp: New file.
23404
23405 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
23406
23407 * gdb.base/args.c: New file.
23408 * gdb.base/args.exp: New file.
23409
23410 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
23411
23412 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
23413
23414 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
23415
23416 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
23417
23418 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
23419
23420 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
23421 dates.
23422
23423 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23424
23425 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
23426
23427 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23428
23429 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
23430 (ptype &*"foo").
23431 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
23432
23433 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23434
23435 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
23436 * gdb.mi/mi1-console.exp: Likewise.
23437
23438 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23439
23440 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
23441 * gdb.mi/mi1-console.exp: Likewise.
23442
23443 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
23444
23445 * gdb.c++/overload.exp: Remove some fixed XFAILs.
23446
23447 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
23448
23449 * gdb.base/detach.exp: New test.
23450
23451 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
23452
23453 * Makefile.in (ALL_SUBDIRS): New variable.
23454 (subdirs, clean, distclean): Use it.
23455 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
23456 regenerating Makefile, since it is generated from the top level.
23457 * gdb.asm/Makefile.in: Likewise.
23458 * gdb.base/Makefile.in: Likewise.
23459 * gdb.c++/Makefile.in: Likewise.
23460 * gdb.disasm/Makefile.in: Likewise.
23461 * gdb.java/Makefile.in: Likewise.
23462 * gdb.mi/Makefile.in: Likewise.
23463 * gdb.threads/Makefile.in: Likewise.
23464 * gdb.trace/Makefile.in: Likewise.
23465
23466 2003-01-09 David Carlton <carlton@math.stanford.edu>
23467
23468 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
23469 Add copyright year 2003.
23470
23471 2003-01-06 Michael Chastain <mec@shout.net>
23472
23473 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
23474 When selecting a thread, 'line' and 'file' are optional.
23475 * gdb.mi/mi1-pthreads.exp: Likewise.
23476
23477 2003-01-06 Andreas Schwab <schwab@suse.de>
23478
23479 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
23480 failures.
23481
23482 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
23483
23484 Fix PR gdb/844
23485 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
23486 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
23487
23488 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
23489 instead of calling gdb_suppress_entire_file.
23490 * gdb.threads/print-threads.exp: Likewise.
23491 * gdb.threads/schedlock.exp: Likewise.
23492
23493 * gdb.threads/killed.exp: Return instead of calling
23494 gdb_suppress_entire_file.
23495 * gdb.threads/linux-dp.exp: Likewise.
23496 * gdb.threads/pthreads.exp: Likewise.
23497
23498 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
23499
23500 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
23501 stabs.
23502 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
23503 * gdb.base/whatis.exp: Always allow (void) after function names.
23504
23505 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
23506
23507 * gdb.c++/casts.exp: Correct regexp.
23508
23509 2003-01-04 Mark Kettenis <kettenis@gnu.org>
23510
23511 * configure.in: Call AC_CONFIG_HEADER. Don't call
23512 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
23513 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
23514 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
23515 aforementioned directories in the AC_OUPUT call.
23516 * config.hin: New file.
23517 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
23518 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
23519 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
23520 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
23521 pass -I$objdir instead of -I$objdir/$subdir in compilation.
23522 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
23523 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
23524 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
23525 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
23526 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
23527 gdb.threads/configure.in, gdb.threads/configure,
23528 gdb.threads/config.in, gdb.trace/configure.in,
23529 gdb.trace/configure: Removed.
23530
23531 2003-01-03 Michael Chastain <mec@shout.net>
23532
23533 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
23534 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
23535
23536 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
23537
23538 * gdb.base/store.exp: Fix regular expressions.
23539
23540 2002-12-28 Mark Kettenis <kettenis@gnu.org>
23541
23542 * configure.in: Rewrite.
23543 * configure: Regenerated.
23544
23545 2003-01-03 David Carlton <carlton@math.stanford.edu>
23546
23547 * gdb.base/psymtab.exp: New file.
23548 * gdb.base/psymtab1.c: Ditto.
23549 * gdb.base/psymtab2.c: Ditto.
23550
23551 2002-12-23 Adam Fedor <fedor@gnu.org>
23552
23553 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
23554
23555 2002-12-23 David Carlton <carlton@math.stanford.edu>
23556
23557 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
23558 and current_directory initialization.
23559
23560 2002-12-22 Jim Blandy <jimb@redhat.com>
23561
23562 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
23563 rather than as part of the output file name.
23564
23565 * gdb.base/attach.exp: There's no need to copy the test program to
23566 /tmp; that was only ever necessary on HP/UX, and this test is
23567 entirely disabled there anyway.
23568
23569 2002-12-21 Jim Blandy <jimb@redhat.com>
23570
23571 * gdb.c++/psmang.exp: Doc fix.
23572
23573 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
23574 test.
23575
23576 2002-12-20 David Carlton <carlton@math.stanford.edu>
23577
23578 * gdb.c++/annota2.exp: KFAIL annotate-quit.
23579
23580 2002-12-18 Michael Chastain <mec@shout.net>
23581
23582 * gdb.c++/annota2.exp: Add copyright year 2002.
23583
23584 2002-12-17 David Carlton <carlton@math.stanford.edu>
23585
23586 * gdb.c++/try_catch.cc: Add marker comments.
23587 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
23588 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
23589 * gdb.c++/m-static.cc: Ditto.
23590 * gdb.c++/m-static1.cc: Ditto.
23591 * gdb.c++/try_catch.cc: Ditto.
23592
23593 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
23594
23595 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
23596 to see whether we are using the new -environment-directory
23597 command which resets via -r or the old version of the command
23598 which may prompt the user. Part of fix for gdb/741.
23599
23600 2002-12-13 Andrew Cagney <ac131313@redhat.com>
23601
23602 * gdb.fortran/types.exp: Update obsolete comment.
23603 * gdb.fortran/exprs.exp: Ditto.
23604 * lib/gdb.exp: Delete obsolete code.
23605 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
23606 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
23607 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
23608 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
23609 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
23610 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
23611 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
23612 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
23613 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
23614 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
23615 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
23616 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
23617 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
23618 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
23619 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
23620 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
23621 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
23622 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
23623 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
23624 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
23625 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
23626 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
23627 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
23628 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
23629 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
23630 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
23631 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
23632 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
23633 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
23634 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
23635 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
23636 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
23637 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
23638 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
23639 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
23640 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
23641 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
23642
23643 2002-12-11 David Carlton <carlton@math.stanford.edu>
23644
23645 * gdb.c++/m-data.exp: Add test for members that shadow global
23646 variables: see PR gdb/804.
23647 * gdb.c++/m-data.cc: Ditto.
23648
23649 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
23650
23651 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
23652
23653 2002-12-06 David Carlton <carlton@math.stanford.edu>
23654
23655 * gdb.base/store.c: Don't declare functions static.
23656
23657 2002-12-04 Andrew Cagney <ac131313@redhat.com>
23658
23659 * gdb.base/store.exp, gdb.base/store.c: New files.
23660
23661 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
23662
23663 * gdb.base/selftest.exp: Update for current gdb.
23664
23665 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
23666
23667 * gdb.base/maint.exp: Only dump symbols from one source file
23668 or objfile.
23669
23670 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
23671
23672 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
23673 function call.
23674
23675 2002-11-25 Jim Blandy <jimb@redhat.com>
23676
23677 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
23678 function appearing in error message.
23679
23680 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
23681
23682 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
23683
23684 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
23685
23686 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
23687 for mi1 and current mi is in correct format. New mi startup message
23688 should be in mi console format. This is part of fix for PR gdb/604.
23689
23690 2002-09-18 Fernando Nasser <fnasser@redhat.com>
23691
23692 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
23693 which explicitly prints the zero offset as "+0".
23694
23695 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
23696
23697 * gdb.threads/schedlock.c (args): Make unsigned.
23698
23699 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
23700
23701 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
23702 numbers. Allow "foo2|selected stack frame".
23703 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
23704 * gdb.asm/asmsrc2.s: Likewise.
23705 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
23706 comments.
23707 * gdb.asm/mips.inc: New file.
23708
23709 2002-10-18 Adam Fedor <fedor@gnu.org>
23710
23711 * gdb.base/default.exp: Update expected output to include 'ObjC'.
23712 * gdb.base/help.exp: Likewise.
23713
23714 2002-10-17 Kevin Buettner <kevinb@redhat.com>
23715
23716 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
23717 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
23718
23719 2002-10-02 Jim Blandy <jimb@redhat.com>
23720
23721 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
23722
23723 2002-10-01 Andrew Cagney <ac131313@redhat.com>
23724
23725 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
23726 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
23727 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
23728 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
23729 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
23730 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
23731 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
23732
23733 2002-09-29 Andrew Cagney <ac131313@redhat.com>
23734
23735 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
23736 * mi0-disassemble.exp, mi0-eval.exp: Delete.
23737 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
23738 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
23739 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
23740 * mi0-var-block.exp, mi0-var-child.exp: Delete.
23741 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
23742
23743 2002-09-27 Kevin Buettner <kevinb@redhat.com>
23744
23745 * gdb.base/annota1.exp (info break): Make directory components of
23746 path optional since not all compilers emit this debug information.
23747
23748 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
23749 step ends up stepping out of the function instead of stopping on
23750 the epilogue.
23751
23752 2002-09-26 Keith Seitz <keiths@redhat.com>
23753
23754 * lib/insight-support.exp (gdbtk_start): Figure out where
23755 the insight executable is based on where gdb is. Use this
23756 executable to start insight instead of gdb.
23757
23758 2002-09-25 Andrew Cagney <cagney@redhat.com>
23759
23760 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
23761
23762 2002-09-24 Andrew Cagney <ac131313@redhat.com>
23763
23764 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
23765 test_isolated_complaints.
23766 (test_empty_complaint): New function.
23767 (test_empty_complaints): New function. Check no output when no
23768 complaints.
23769
23770 2002-09-19 Jim Blandy <jimb@redhat.com>
23771
23772 * gdb.base/charset.exp, gdb.base/charset.c: New files.
23773
23774 2002-09-19 Andrew Cagney <ac131313@redhat.com>
23775
23776 * gdb.gdb/complaints.exp: New file.
23777
23778 2002-09-18 Andrew Cagney <ac131313@redhat.com>
23779
23780 * gdb.base/maint.exp: Check `help maint internal-warning'.
23781
23782 2002-09-18 David Carlton <carlton@math.stanford.edu>
23783
23784 * gdb.c++/m-static.exp: Remove breakpoints depending on line
23785 numbers, and replace them by a single breakpoint after the
23786 constructors are all finished.
23787 Add test 4.
23788 * gdb.c++/m-static.cc: Add test 4.
23789 * gdb.c++/m-static.h: New file.
23790 * gdb.c++/m-static1.cc: New file.
23791
23792 * gdb.c++/printmethod.exp: New file.
23793 * gdb.c++/printmethod.cc: New file.
23794
23795 * gdb.c++/pr-574.exp: New file.
23796 * gdb.c++/pr-574.cc: New file.
23797
23798 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23799
23800 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
23801 embedded targets which never actually exit.
23802
23803 2002-09-18 Fernando Nasser <fnasser@redhat.com>
23804
23805 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
23806 "don't step after run" as unresolved or unsupported, instead of xfail.
23807
23808 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23809
23810 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
23811 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
23812 Add newline to expected string in "step out of main (status wrapper)"
23813 case.
23814
23815 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23816
23817 * lib/gdb.exp (rerun_to_main): Allow restarting application.
23818 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
23819
23820 2002-09-17 Tom Tromey <tromey@redhat.com>
23821
23822 * gdb.base/printcmds.exp (test_print_string_constants): Expect
23823 \000, not \0, in double-quoted string.
23824
23825 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
23826
23827 * gdb.base/commands.exp: Don't expect a "Program exited normally"
23828 string after running the commands execution on breakpoint tests.
23829
23830 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
23831
23832 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
23833
23834 2002-09-12 Joel Brobecker <brobecker@gnat.com>
23835
23836 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
23837
23838 2002-09-10 Keith Seitz <keiths@redhat.com>
23839
23840 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
23841 runto proc.
23842 (mi_run_to_main): Use mi_runto.
23843 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
23844
23845 2002-09-10 Keith Seitz <keiths@redhat.com>
23846
23847 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
23848 regexp for stopping at main. Could have multiple event notifications.
23849 Don't assume that main was declared with no parameters.
23850 (mi_next): Use mi_step_to.
23851 (mi_step): Use mi_next_to.
23852
23853 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
23854
23855 * gdb.base/default.exp: Fix expected string in `info float' test.
23856
23857 2002-09-09 Ben Elliston <bje@redhat.com>
23858
23859 * config/mips.exp: Update comments.
23860 * config/mips-idt.exp: Likewise.
23861 * config/nind.exp: Likewise.
23862 * config/slite.exp: Likewise.
23863 * config/sparclet.exp: Likewise.
23864 * config/udi.exp: Likewise.
23865 * config/vx.exp: Likewise.
23866 * config/vxworks29k.exp: Likewise.
23867
23868 2002-09-05 Jim Blandy <jimb@redhat.com>
23869
23870 * gdb.threads/killed.exp: Fix test failure message.
23871
23872 2002-09-04 Keith Seitz <keiths@redhat.com>
23873
23874 * lib/mi-support.exp: Update copyright.
23875 (mi_gdb_test): Increase the priority of the expected pattern
23876 so that it matches gdb_test.
23877
23878 2002-09-03 Keith Seitz <keiths@redhat.com>
23879
23880 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
23881 Use integer comparison instead of string comparison for testing
23882 whether binary was built.
23883
23884 2002-09-03 Jim Blandy <jimb@redhat.com>
23885
23886 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
23887
23888 2002-08-29 Jim Blandy <jimb@redhat.com>
23889
23890 * gdb.threads/pthreads.exp: Move the portable thread compilation
23891 code into a function in lib/gdb.exp, and call that from here.
23892 * lib/gdb.exp (gdb_compile_pthreads): New function.
23893
23894 2002-08-29 Keith Seitz <keiths@redhat.com>
23895
23896 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
23897 expect_out so that callers can get at it.
23898
23899 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
23900
23901 * gdb.threads/print-threads.c: New file.
23902 * gdb.threads/print-threads.exp: New file.
23903 * gdb.threads/schedlock.c: New file.
23904 * gdb.threads/schedlock.exp: New file.
23905
23906 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
23907
23908 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
23909 not altivec.c.
23910
23911 2002-08-17 Mark Kettenis <kettenis@gnu.org>
23912
23913 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
23914 targets. The problem should be fixed now.
23915
23916 2002-08-15 Mark Kettenis <kettenis@gnu.org>
23917
23918 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
23919 2002-07-24 change that removes final dots from error messages.
23920
23921 2002-08-13 Tom Tromey <tromey@redhat.com>
23922
23923 * gdb.base/readline.exp: New file.
23924
23925 2002-08-01 Andrew Cagney <ac131313@redhat.com>
23926
23927 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
23928 supress message.
23929
23930 2002-08-01 Andrew Cagney <cagney@redhat.com>
23931
23932 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
23933 CHILL_FOR_TARGET and CHILL_LIB.
23934 * configure.in (configdirs): Remove gdb.chill.
23935 * configure: Regenerate.
23936 * lib/gdb.exp: Obsolete references to chill.
23937 * gdb.fortran/types.exp: Ditto.
23938 * gdb.fortran/exprs.exp: Ditto.
23939
23940 2002-07-30 Kevin Buettner <kevinb@redhat.com>
23941
23942 * gdb.base/shlib-call.exp (additional_flags): Conditionally
23943 set Irix-specific compile and link flags.
23944
23945 2002-07-29 Kevin Buettner <kevinb@redhat.com>
23946
23947 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
23948 source files. The ``-o'' option doesn't work with the ``-E'' option
23949 when using the Irix compiler.
23950
23951 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
23952
23953 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
23954 Improve support for reusing an exec file. Copy exec file
23955 to target, and run gdbserver on the target instead of on the host.
23956
23957 2002-07-18 Jim Blandy <jimb@redhat.com>
23958
23959 * gdb.base/ending-run.exp: Don't expect to see the program end in
23960 some orderly fashion when we're running on a real stand-alone
23961 board.
23962
23963 * gdb.base/interrupt.exp: Correct logic for skipping tests on
23964 targets that don't support interrupts.
23965
23966 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
23967
23968 * gdb.base/attach.exp: Add patterns to match output from /proc-based
23969 systems.
23970 Move comments in expect statements to inside the actions, so that they
23971 don't get matched against.
23972
23973 2002-07-10 Mark Kettenis <kettenis@gnu.org>
23974
23975 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
23976 function when asleep" test.
23977
23978 2002-07-10 Andrew Cagney <ac131313@redhat.com>
23979
23980 * gdb.base/page.exp: Rewrite to handle problems with very long
23981 `info set' output. Update copyright.
23982
23983 2002-06-26 Andrew Cagney <ac131313@redhat.com>
23984
23985 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
23986 gdb.threads-hp.
23987 * gdb.hp/configure: Regenerate.
23988 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
23989 * gdb.hp/gdb.threads-hp/configure: Delete file.
23990 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
23991
23992 2002-06-22 Andrew Cagney <ac131313@redhat.com>
23993
23994 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
23995 setlocale, bindtextdomain and textdomain.
23996
23997 2002-06-11 Jim Blandy <jimb@redhat.com>
23998
23999 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
24000 preprocessor macro information is present.
24001
24002 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
24003 tests.
24004
24005 2002-06-06 Michael Snyder <msnyder@redhat.com>
24006
24007 * gdb.base/overlays.exp: Record addresses of overlay
24008 functions in TCL variables rather than in GDB variables,
24009 to avoid having GDB convert them to pointers (with loss
24010 of information).
24011
24012 * gdb.base/d10v.ld: Merge in several years worth of
24013 default linker script changes.
24014 * gdb.base/long_long.exp: Add check for sizeof (long double).
24015
24016 2002-06-06 Michal Ludvig <mludvig@suse.cz>
24017
24018 * gdb.asm/asm-source.exp: Add x86-64 target.
24019 * gdb.asm/x86_64.inc: New.
24020
24021 2002-05-30 Michael Chastain <mec@shout.net>
24022
24023 From Benjamin Kosnik <bkoz@redhat.com>:
24024 * gdb.c++/m-static.cc: New file.
24025 * gdb.c++/m-static.exp: New file.
24026
24027 2002-05-28 Michael Snyder <msnyder@redhat.com>
24028
24029 * gdb.base/call-ar-st.exp: Allow for reduced floating point
24030 precision.
24031
24032 2002-05-27 Michael Chastain <mec@shout.net>
24033
24034 From Benjamin Kosnik <bkoz@redhat.com>:
24035 * gdb.c++/m-data.cc: New file.
24036 * gdb.c++/m-data.exp: New file.
24037
24038 2002-05-27 Michael Chastain <mec@shout.net>
24039
24040 From Benjamin Kosnik <bkoz@redhat.com>:
24041 * gdb.c++/try_catch.cc: New file.
24042 * gdb.c++/try_catch.exp: New file.
24043
24044 2002-05-27 Michael Chastain <mec@shout.net>
24045
24046 * gdb.c++/local.exp: Accept more nested types in output.
24047
24048 2002-05-26 Michael Chastain <mec@shout.net>
24049
24050 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
24051
24052 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
24053
24054 * lib/gdb.exp (gdb_wrapper_init): Just because
24055 gdb_wrapper_file exists, this does not mean that the file
24056 should not be rebuilt. That is what gdb_wrapper_initialized
24057 is for.
24058 (default_gdb_init): Reset gdb_wrapper_initialized.
24059
24060 2002-05-23 Michael Snyder <msnyder@redhat.com>
24061
24062 * gdb.base/all-bin.exp: Revise previous patch by just reducing
24063 the precision of the floating point test results.
24064 * gdb.base/call-rt-st.exp: Ditto.
24065
24066 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
24067 * gdb.base/call-rt-st.exp: Ditto.
24068
24069 2002-05-19 Michael Chastain <mec@shout.net>
24070
24071 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
24072
24073 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
24074
24075 * configure.in (configdirs): Add gdb.arch.
24076 * configure: Regenerate.
24077
24078 2002-05-17 Jim Blandy <jimb@redhat.com>
24079
24080 * gdb.base/completion.exp: Recognize the more detailed error
24081 messages produced by the macro expander's lexical analyzer.
24082
24083 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
24084
24085 * gdb.arch/altivec-abi.c: New file.
24086 * gdb.arch/altivec-abi.exp: New file.
24087 * gdb.arch/altivec-regs.c: New file.
24088 * gdb.arch/altivec-regs.exp: New file.
24089
24090 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
24091
24092 * gdb.base/maint.exp (maint print type): Update for new type
24093 structure.
24094
24095 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
24096
24097 * gdb.arch: New directory.
24098 * gdb.arch/configure.in: New file.
24099 * gdb.arch/configure: New file.
24100 * gdb.arch/Makefile.in: New file.
24101
24102 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
24103
24104 * gdb.asm/asm-source.exp: Add v850 as supported target.
24105 * gdb.asm/v850.inc: New file.
24106
24107 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
24108
24109 * gdb.c++/annota2.exp (annotate-quit): Add comment.
24110
24111 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
24112
24113 * gdb.base/break.exp: Check 'break "marker2"'.
24114
24115 2002-05-10 Michael Snyder <msnyder@redhat.com>
24116
24117 * gdb.base/long_long.exp: Fix typo.
24118
24119 2002-05-10 Jim Blandy <jimb@redhat.com>
24120
24121 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
24122 a bug.
24123
24124 * gdb.base/printcmds.exp (test_integer_literals_rejected):
24125 Recognize more detailed error message produced by the macro
24126 expander's lexical analyzer.
24127 * lib/gdb.exp (test_print_reject): Same.
24128
24129 2002-05-09 Mark Kettenis <kettenis@gnu.org>
24130
24131 * gdb.c++/method.exp: Fix typo.
24132
24133 2002-05-08 Michael Snyder <msnyder@redhat.com>
24134
24135 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
24136 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
24137 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
24138 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
24139 Add iftarget clause for strongarm.
24140
24141 2002-05-06 Michael Snyder <msnyder@redhat.com>
24142
24143 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
24144 (gdb_continue_to_end): Accept output from status wrapper.
24145 * gdb.base/ending-run.exp: Add case for output from status wrapper.
24146 Clean up fail messages to match pass messages.
24147
24148 Enable the "needs_status_wrapper" testsuite feature.
24149 * lib/gdb.exp (gdb_wrapper_init): New procedure.
24150 (gdb_compile): Conditionally call gdb_wrapper_init.
24151 * gdb.base/a2-run.exp: Recognize output from status wrapper.
24152 * gdb.c++/method.exp: Recognize output from status wrapper.
24153
24154 2002-05-06 Ben Elliston <bje@redhat.com>
24155 From Graydon Hoare <graydon@redhat.com>
24156
24157 * config/sid.exp: Include support for "rawsid" protocol.
24158
24159 2002-05-03 Jim Blandy <jimb@redhat.com>
24160
24161 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
24162 * gdb.c++/hang3.C: New file.
24163
24164 2002-05-04 Andrew Cagney <ac131313@redhat.com>
24165
24166 * gdb.base/default.exp: Remove obsolete code.
24167 * gdb.c++/misc.exp: Ditto. Update copyright.
24168 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
24169 * gdb.base/whatis.exp: Ditto. Update copyright.
24170 * gdb.base/scope.exp: Ditto. Update copyright.
24171 * gdb.base/ptype.exp: Ditto. Update copyright.
24172 * gdb.base/printcmds.exp: Ditto. Update copyright.
24173 * gdb.base/opaque.exp: Ditto. Update copyright.
24174 * gdb.base/list.exp: Ditto.
24175 * gdb.base/funcargs.exp: Ditto. Update copyright.
24176 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
24177 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
24178 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
24179 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
24180 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
24181 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
24182
24183 2002-05-02 Michael Snyder <msnyder@redhat.com>
24184
24185 * gdb.base/watchpoint.exp: Add xscale target.
24186 * gdb.base/long_long.exp: Add xscale target.
24187 * gdb.base/default.exp: Add xscale target.
24188
24189 2002-05-01 Jim Blandy <jimb@redhat.com>
24190
24191 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
24192 gdb.c++/hang.exp: New test.
24193
24194 2002-05-01 Fred Fish <fnf@redhat.com>
24195
24196 * gdb.base/completion.exp: Handle completions of "./Make" for
24197 more than one completion possibility, as is the case when we
24198 build and test in the source tree.
24199
24200 2002-04-29 Anthony Green <green@redhat.com>
24201
24202 * gdb.java/jmisc1.exp: New file.
24203 * gdb.java/jmisc2.exp: New file.
24204
24205 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
24206
24207 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
24208
24209 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
24210
24211 * gdb.base/help.exp: Change 'help status' to allow for target
24212 dependent output differences.
24213
24214 2002-04-22 Michael Chastain <mec@shout.net>
24215
24216 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
24217
24218 2002-04-22 Michael Chastain <mec@shout.net>
24219
24220 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
24221
24222 2002-04-17 David S. Miller <davem@redhat.com>
24223
24224 * gdb.asm/sparc64.inc: New file.
24225 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
24226
24227 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
24228
24229 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
24230 instruction file directly into the build tree. Clean up at end of
24231 test.
24232
24233 2002-04-18 David S. Miller <davem@redhat.com>
24234
24235 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
24236 handle 64-bit platforms correctly.
24237 * gdb.base/maint.exp: Likewise.
24238
24239 2002-04-18 Kevin Buettner <kevinb@redhat.com>
24240
24241 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
24242 ``-fpic'' when compiling files comprising a shared library, but
24243 it does need additional linker flags in order to find shared
24244 libraries at run time.
24245
24246 2002-04-18 Kevin Buettner <kevinb@redhat.com>
24247
24248 * gdb.base/cvexpr.c (use): New function.
24249 (main): Invoke use() on all global variables to prevent
24250 some linkers from deleting these otherwise unused symbols.
24251
24252 2002-04-17 Michael Chastain <mec@shout.net>
24253 From David S. Miller <davem@redhat.com>
24254
24255 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
24256 handle 64-bit platforms correctly.
24257
24258 2002-04-12 Michael Snyder <msnyder@redhat.com>
24259 From Jim Blandy <jimb@redhat.com>
24260 * gdb.base/foo.c (foox): Remove section attribute; the linker
24261 script can handle this instead.
24262 * gdb.base/bar.c (barx): Same.
24263 * gdb.base/baz.c (bazx): Same.
24264 * gdb.base/grbx.c (grbxx): Same.
24265
24266 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
24267 manager doesn't automatically unmap overlays unnecessarily.
24268
24269 2002-04-10 Martin M. Hunt <hunt@redhat.com>
24270
24271 * gdb.base/ending-run.exp: Fix pattern for Mips targets
24272 stepping out of main.
24273
24274 2002-04-09 Michael Chastain <mec@shout.net>
24275
24276 * gdb.c++/local.cc (main): Move call to marker1() inside nested
24277 scope so that the nested scope tests will make sense.
24278 * gdb.c++/local.exp: Write patterns that actually work with gcc
24279 (the HP patterns "were never known to work with gcc").
24280 Keep the old aCC patterns too.
24281
24282 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
24283
24284 * gdb.base/attach.exp: Correct target board test.
24285
24286 2002-04-08 Michael Chastain <mec@shout.net>
24287
24288 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
24289 in a const method. Add some xfail and fail cases for configurations
24290 that do not emit the "const ...".
24291
24292 2002-04-07 Michael Chastain <mec@shout.net>
24293
24294 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
24295 Accept "A * const" and "const A * const" as type of "this".
24296 Fix spelling of getFunky throughout. Make messages uniform.
24297
24298 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
24299
24300 Work around for PR gdb/285:
24301 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
24302
24303 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
24304
24305 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
24306 instructions file at run time instead of configure time.
24307 Sometimes we run the test in a directory that is not the one we
24308 configured in.
24309 * gdb.asm/configure.in: Delete creation of symlink.
24310 * gdb.asm/configure: Regenerate.
24311
24312 2002-04-05 J. Brobecker <brobecker@gnat.com>
24313
24314 * gdb.gdb/xfullpath.exp: New test, to exercise the new
24315 xfullpath () function.
24316
24317 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
24318
24319 * gdb.asm/Makefile.in: Correct dependencies.
24320
24321 * gdb.asm/powerpc.inc: New file.
24322 * gdb.asm/asm-source.exp: Add PowerPC.
24323 * gdb.asm/configure.in: Likewise.
24324 * gdb.asm/configure: Regenerated.
24325
24326 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
24327
24328 * gdb.base/relocate.exp: New file.
24329 * gdb.base/relocate.c: New file.
24330
24331 2002-04-04 Fred Fish <fnf@redhat.com>
24332
24333 * gdb.base/step-test.exp: Update comment regarding stopping in
24334 memcpy/bcopy calls inserted as part of the compiler runtime.
24335
24336 2002-04-04 Michael Snyder <msnyder@redhat.com>
24337
24338 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
24339
24340 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
24341
24342 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
24343 (gdb_expect): Remove $notransfer hack.
24344
24345 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
24346
24347 * gdb.c++/classes.exp ("calling method for small class"): Match
24348 updated register output.
24349
24350 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
24351
24352 Fix PR gdb/452
24353 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
24354 when finished. Make gdb_file_cmd send "exec-file" when
24355 appropriate.
24356
24357 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
24358
24359 * gdb.base/attach.exp: Remove extra setup_xfail.
24360
24361 2002-03-26 Michael Snyder <msnyder@redhat.com>
24362
24363 * gdb.base/default.exp: Add tests for dump, append, and restore.
24364 * gdb.base/help.exp: Add tests for dump, append, and restore.
24365 * gdb.base/dump.exp: New file, test dump, append and restore.
24366 * gdb.base/dump.c: New file.
24367
24368 2002-03-27 Michael Snyder <msnyder@redhat.com>
24369
24370 * gdb.base/help.exp: Modify expect strings to reflect
24371 clean-ups in help messages.
24372
24373 2002-03-26 Fred Fish <fnf@redhat.com>
24374
24375 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
24376 have debugging info for those functions and the compiler uses them
24377 internally to copy structs around.
24378
24379 2002-03-26 Fred Fish <fnf@redhat.com>
24380
24381 * gdb.base/list.exp: Revert the change made yesterday and add note
24382 about why we don't list the default lines for remote targets.
24383
24384 2002-03-25 Michael Snyder <msnyder@redhat.com>
24385
24386 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
24387
24388 2002-03-25 Fred Fish <fnf@redhat.com>
24389
24390 * gdb.base/list.exp: This test works on remote targets so remove
24391 the short circuit for remote targets. Update copyright.
24392
24393 2002-03-25 Fred Fish <fnf@redhat.com>
24394
24395 * gdb.base/attach.exp: Fix logic error that was suppressing this
24396 test for all non hppa*-*-hpux* targets, instead of the hp target.
24397 Move comments closer to the suppression point. Also now need to
24398 check that we are running natively.
24399
24400 2002-03-22 Michael Snyder <msnyder@redhat.com>
24401
24402 * gdb.base/default.exp: Add test for gcore. Update copyright.
24403 * gdb.base/help.exp: Add test for gcore. Update copyright.
24404
24405 2002-03-06 Fred Fish <fnf@redhat.com>
24406
24407 * gdb.base/funcargs.c: Remove extraneous ';' character.
24408 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
24409
24410 2002-03-04 Michael Chastain <mec@shout.net>
24411
24412 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
24413 accommodate gcc v3 function signature.
24414 * gdb.mi/mi0-var-cmd-exp: Ditto.
24415
24416 2002-02-24 Andrew Cagney <ac131313@redhat.com>
24417
24418 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
24419 ``GNU/Linux'' or ``Linux kernel''
24420 * testsuite/gdb.threads/pthreads.c: Ditto.
24421
24422 2002-02-24 Michael Chastain <mec@shout.net>
24423
24424 * gdb.threads/pthreads.c (thread1): Add a return statement.
24425 (thread2): Likewise.
24426 (foo): Likewise.
24427
24428 2002-02-23 Michael Chastain <mec@shout.net>
24429
24430 * gdb.threads/linux-dp.c (philosopher): Add a return statement
24431 to placate gcc.
24432
24433 2002-02-23 Michael Chastain <mec@shout.net>
24434
24435 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
24436 test "ptype bint". The test passes on all my stabs configurations.
24437
24438 2002-02-21 Jim Blandy <jimb@redhat.com>
24439
24440 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
24441 filename at a time, and watch for the ones we want to see.
24442
24443 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
24444 types of pointers to prototyped functions.
24445
24446 2002-02-20 Andrew Cagney <ac131313@redhat.com>
24447
24448 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
24449 signed, unsigned and straight char.
24450 (padding_char, padding_short, padding_int, padding_long,
24451 padding_long_long, padding_float, padding_double,
24452 padding_long_double): New global variables.
24453 (fill, fill_structs): New functions.
24454
24455 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
24456 for correctly sized writes. Update copyright.
24457 (get_valueof): New procedure.
24458 (get_sizeof): Call get_valueof.
24459 (check_valueof): New procedure.
24460 (check_padding): New procedure.
24461
24462 2002-02-20 Michael Chastain <mec@shout.net>
24463
24464 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
24465 to setup_xfail. Document some of the remaining calls.
24466
24467 2002-02-18 Michael Chastain <mec@shout.net>
24468
24469 * gdb.c++/userdef.exp: Update copyright year.
24470
24471 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
24472
24473 * gdb.c++/userdef.exp: Test overloaded operators properly.
24474 Remove xfails.
24475
24476 2002-02-14 Michael Snyder <msnyder@redhat.com>
24477
24478 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
24479
24480 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
24481
24482 * gdb.base/a2-run.exp: Check for a remote target properly.
24483 * gdb.base/annota1.exp: Likewise.
24484 * gdb.base/list.exp: Likewise.
24485 * gdb.base/reread.exp: Likewise.
24486 * gdb.base/scope.exp: Likewise.
24487 * gdb.base/shlib-call.exp: Likewise.
24488 * gdb.base/term.exp: Likewise.
24489 * gdb.c++/annota2.exp: Likewise.
24490
24491 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
24492
24493 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
24494
24495 2002-02-10 Michael Chastain <mec@shout.net>
24496
24497 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
24498 (call_after_alloca): Ditto.
24499
24500 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
24501
24502 * gdb.base/ending-run.exp: Guard "cont" test with
24503 gdb_skip_stdio_test.
24504
24505 2002-02-06 Jim Blandy <jimb@redhat.com>
24506
24507 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
24508 from here...
24509 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
24510 To here. Disable this test on non-HP platforms. Add big comment.
24511
24512 2002-02-04 Michael Snyder <msnyder@redhat.com>
24513
24514 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
24515 other than d10v and m32r.
24516
24517 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
24518
24519 * gdb.base/default.exp: Rewrite test patterns to reduce time
24520 taken to match them.
24521
24522 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
24523
24524 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
24525 Allow a start function above main.
24526 * gdb.threads/linux-dp.exp: Fix copyright date.
24527
24528 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
24529
24530 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
24531 (check_philosopher_stack): Check for manager thread before checking
24532 for a just-starting thread.
24533
24534 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
24535
24536 From Neil Booth <neil@daikokuya.demon.co.uk>:
24537 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
24538 warnings.
24539
24540 2002-01-21 Fred Fish <fnf@redhat.com>
24541
24542 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
24543 not caller.
24544
24545 2002-01-21 Jim Blandy <jimb@redhat.com>
24546
24547 * gdb.base/reread.exp: Check that GDB properly re-reads the
24548 executable file when it changes while no inferior is running.
24549
24550 2002-01-21 Fred Fish <fnf@redhat.com>
24551
24552 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
24553 optionally accept the "shlib events" variation.
24554
24555 2002-01-21 Jim Blandy <jimb@redhat.com>
24556
24557 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
24558 call `fflush' after every `printf', so that the output is produced
24559 at predictable points, regardless of whatever buffering does (or
24560 doesn't) take place.
24561 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
24562 at different points.
24563
24564 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
24565
24566 * gdb.c++/inherit.exp: Update copyright years.
24567 * gdb.c++/method.exp: Likewise.
24568
24569 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
24570
24571 * gdb.c++/classes.exp: Update for improved v3 support and skipping
24572 artificial methods/arguments.
24573 * gdb.c++/derivation.exp: Likewise.
24574 * gdb.c++/inherit.exp: Likewise.
24575 * gdb.c++/method.exp: Likewise.
24576 * gdb.c++/virtfunc.exp: Likewise.
24577
24578 2002-01-18 Andrew Cagney <ac131313@redhat.com>
24579
24580 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
24581 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
24582 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
24583 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
24584 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
24585 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
24586
24587 2002-01-17 Jim Blandy <jimb@redhat.com>
24588
24589 * gdb.asm/asm-source.exp (info symbol): Take another shot at
24590 anchoring the pattern matching the entry point symbol's name.
24591
24592 2002-01-17 Andrew Cagney <ac131313@redhat.com>
24593
24594 * gdb.base/maint.exp: Update ``maint internal-error'' to match
24595 continue/quit query. Update copyright.
24596
24597 2002-01-14 Michael Snyder <msnyder@redhat.com>
24598
24599 * gdb.base/gcore.exp: Remove extra debugging output.
24600
24601 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
24602
24603 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
24604 for slightly dubious v2 mangled string.
24605
24606 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
24607
24608 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
24609
24610 2002-01-10 Jason Merrill <jason@redhat.com>
24611
24612 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
24613
24614 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
24615 constructors.
24616 * gdb.c++/derivation.exp: Likewise.
24617 * gdb.c++/templates.exp: Likewise.
24618 * gdb.c++/virtfunc.exp: Likewise.
24619
24620 2002-01-10 Michael Snyder <msnyder@redhat.com>
24621
24622 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
24623
24624 2002-01-08 Michael Snyder <msnyder@redhat.com>
24625
24626 * gdb.base/gcore.exp: New test for generate-core-file command.
24627 * gdb.base/gcore.c: Testcase for above.
24628 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
24629
24630 2002-01-08 Jason Merrill <jason@redhat.com>
24631
24632 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
24633
24634 2002-01-07 Fred Fish <fnf@redhat.com>
24635
24636 * gdb.c++/overload.exp: Remove unconditional xfails for:
24637 print foo_instance1.overloadargs(1)
24638 print foo_instance1.overloadargs(1, 2)
24639 print foo_instance1.overloadargs(1, 2, 3)
24640 print foo_instance1.overloadargs(1, 2, 3, 4)
24641 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
24642 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
24643 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
24644 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
24645 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
24646 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
24647 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
24648 print foo_instance1.overload1arg()
24649 print foo_instance1.overload1arg((char)arg2)
24650 print foo_instance1.overload1arg((signed char)arg3)
24651 print foo_instance1.overload1arg((unsigned char)arg4)
24652 print foo_instance1.overload1arg((int)arg7)
24653 print foo_instance1.overload1arg((unsigned int)arg8)
24654 print foo_instance1.overload1arg((float)arg11)
24655 print foo_instance1.overload1arg((double)arg12)
24656
24657 2002-01-07 Michael Snyder <msnyder@redhat.com>
24658
24659 * gdb.base/huge.exp: New test. Print a very large target data object.
24660 (skip_huge_test): New test variable. Define if you want to skip this
24661 test. The test reads an 8 megabyte data object from the target, so it
24662 might be very time consuming on remote targets with a slow connection.
24663 * gdb.base/huge.c: New file. Test case for above.
24664
24665 2002-01-07 Fred Fish <fnf@redhat.com>
24666
24667 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
24668 g_instance.bfoo, and g_instance.cfoo.
24669
24670 2002-01-07 Jeffrey A Law <law@redhat.com>
24671
24672 * gdb.base/break.c (multi_line_if_conditional): New function.
24673 (multi_ilne_while_conditional): Likewise.
24674 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
24675 IF or WHILE condition puts the breakpoint at the start of
24676 the condition.
24677
24678 * gdb.base/selftest.exp (backtrace through signal handler): Remove
24679 hppa*-*-hpux* expected failure.
24680 * gdb.base/structs.exp (do_function_calls): Similarly.
24681
24682 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
24683 watchpoints.
24684
24685 2002-01-06 Andrew Cagney <ac131313@redhat.com>
24686
24687 Fix PR gdb/66.
24688 * gdb.base/structs.exp: Replace skip for a29k with skip for
24689 gdb,cannot_call_functions.
24690 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
24691 * gdb.base/callfuncs.exp: Ditto.
24692 * gdb.base/call-rt-st.exp: Ditto.
24693 * gdb.base/call-strs.exp: Ditto.
24694 * gdb.base/callfwmall.exp: Ditto.
24695 * gdb.base/scope.exp: Obsolete xfail a29k.
24696 * gdb.c++/misc.exp: Ditto.
24697 * gdb.c++/cplusfuncs.exp: Ditto.
24698 * gdb.base/ptype.exp: Ditto.
24699 * gdb.base/printcmds.exp: Ditto.
24700 * gdb.base/opaque.exp: Ditto.
24701 * gdb.base/list.exp: Ditto.
24702 * gdb.base/funcargs.exp: Ditto.
24703 * gdb.base/default.exp: Ditto.
24704
24705 2002-01-04 Michael Snyder <msnyder@redhat.com>
24706
24707 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
24708 * gdb.base/maint.exp: Add tests for maint info sections options.
24709
24710 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
24711
24712 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
24713
24714 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
24715
24716 * gdb.asm/arm.inc: New file.
24717 * gdb.asm/asm-source.exp: Add arm targets.
24718 * gdb.asm/configure.in: Ditto.
24719 * gdb.asm/configure: Recreated from configure.in.
24720
24721 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
24722
24723 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
24724 with HP's compiler.
24725 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
24726 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
24727 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
24728 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
24729
24730 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
24731 either HP's compilers or GCC.
24732
24733 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
24734 a SIGBUS or SIGSEGV.
24735
24736 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
24737
24738 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
24739 can be compiled with either HP's compiler or GCC.
24740
24741 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
24742 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
24743 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
24744
24745 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
24746 to match current gdb output. Update due to using auto-solib-limit
24747 for limiting instead of overloading auto-solib-add.
24748 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
24749 test program.
24750
24751 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
24752 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
24753 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
24754 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
24755 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
24756 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
24757 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
24758 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
24759 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
24760 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
24761 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
24762 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
24763 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
24764
24765 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
24766 a SIGTRAP to the inferior.
24767
24768 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
24769
24770 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
24771 Substitute call to target_link by call to gdb_compile.
24772
24773 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
24774
24775 * gdb.base/break.exp: Fix HP specific search string when testing
24776 backtracing in a called function.
24777
24778 * gdb.base/constvars.exp: Only set lang to C++ if we're
24779 compiling the test with HP's compilers.
24780 * gdb.base/volatile.exp: Similarly.
24781
24782 2001-12-19 Jim Blandy <jimb@redhat.com>
24783
24784 * gdb.base/printcmds.exp: Expect the null character to be printed
24785 as '\0', and the '\013' to be printed as '\v'.
24786 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
24787 * gdb.base/setvar.exp: Same.
24788
24789 2001-12-17 Jim Blandy <jimb@redhat.com>
24790
24791 * gdb.base/completion.exp: Rather than completing very long
24792 filenames, which can make the readline library produce output we
24793 don't recognize, cd to the directory first, and then complete
24794 using nice, short relative paths.
24795
24796 * gdb.base/completion.exp: On some systems, there is, in fact, a
24797 variable named `b' in scope, since GDB treats all static
24798 variables as being in scope. So use `no_var_named_this'
24799 instead of `b'.
24800
24801 * gdb.base/corefile.exp: Recognize the message saying that GDB
24802 can't find the core file's registers as a failure.
24803
24804 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
24805
24806 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
24807 test expect string more specific.
24808
24809 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
24810
24811 * gdb.asm/asm-source.exp: Add support for xstormy16.
24812 * gdb.asm/configure.in: Ditto.
24813 * gdb.asm/configure: Rebuild.
24814 * gdb.asm/xstormy16.inc: New file.
24815
24816 2001-12-10 Fred Fish <fnf@redhat.com>
24817
24818 * gdb.base/maint.exp: Update to match changes in type dumping code.
24819
24820 2001-12-10 Jim Blandy <jimb@redhat.com>
24821
24822 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
24823 matching the entry point symbol's name at the beginning of the
24824 line.
24825
24826 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
24827
24828 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
24829 gdb.c++/inherit.exp, gdb.c++/method.exp,
24830 gdb.c++/namespace.exp, gdb.c++/templates.exp,
24831 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
24832 and class layout support.
24833
24834 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
24835
24836 * gdb.c++/classes.exp: Add test for static member function.
24837 * gdb.c++/misc.cc: Add class with static member function.
24838
24839 2001-12-07 Jim Blandy <jimb@redhat.com>
24840
24841 If GDB says it can't find the struct the function returned, report
24842 those tests as `unsupported'.
24843 * gdb.base/call-rt-st.exp (print_struct_call): New function.
24844 Rewrite subsequent tests to use it.
24845
24846 If GDB says it can't find the struct the function returned, report
24847 those tests as `unsupported'.
24848 * gdb.base/structs.exp (call_struct_func): New function.
24849 (do_function_calls): Use call_struct_func to call the functions
24850 returning structs.
24851
24852 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
24853 whether functions are prototyped or not, so we can't possibly pass
24854 arguments to t_float_values2 properly.
24855
24856 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
24857 value of `timeout' for targets other than the mips*tx39-*.
24858
24859 2001-12-06 Michael Snyder <msnyder@redhat.com>
24860
24861 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
24862 and detect whether the start symbol has a leading underscore.
24863
24864 2001-12-04 Jim Blandy <jimb@redhat.com>
24865
24866 * gdb.base/completion.exp: Clarify indentation.
24867
24868 2001-12-03 Jim Blandy <jimb@redhat.com>
24869
24870 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
24871 variables on the S/390, not `.word'.
24872
24873 2001-11-30 Jim Blandy <jimb@redhat.com>
24874
24875 Add assembly-source tests for s390-ibm-linux.
24876 * gdb.asm/s390.inc: New file.
24877 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
24878 the S/390 architecture.
24879 * gdb.asm/configure: Regenerated.
24880
24881 2001-11-30 Michael Snyder <msnyder@redhat.com>
24882
24883 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
24884 next, info source, info sources, info line, global and static
24885 variables, and static functions.
24886 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
24887 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
24888 * gdb.asm/asmsrc1.s: Add a static function and some variables.
24889 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
24890 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
24891 (gdbasm_leave): Restore frame pointer.
24892 (gdbasm_startup): Copy stack set-up from crt0.S.
24893
24894 2001-11-26 Fernando Nasser <fnasser@redhat.com>
24895
24896 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
24897 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
24898 to a local (non-static) variable. Copy tstruct.a to a static buffer
24899 and return a pointer to that buffer.
24900 * gdb.base/callfwmall.c (t_structs_a): Ditto.
24901
24902 2001-11-24 Mark Kettenis <kettenis@gnu.org>
24903
24904 * gdb.asm/configure.in: Fix recognition of ix86 target.
24905 * gdb.asm/configure: Regenerate.
24906
24907 2001-11-21 Michael Snyder <msnyder@redhat.com>
24908
24909 * gdb.asm/sparc.inc: New file.
24910 * gdb.asm/asm-source.exp: Recognize sparc target.
24911 * gdb.asm/configure.in: Recognize sparc target.
24912 * gdb.asm/configure: Regenerate.
24913
24914 2001-11-21 Michael Snyder <msnyder@redhat.com>
24915
24916 * gdb.asm/m32r.inc: New file.
24917 * gdb.asm/asm-source.exp: Recognize m32r target.
24918 * gdb.asm/configure.in: Recognize m32r target.
24919 * gdb.asm/configure: Regenerate.
24920
24921 2001-11-20 Michael Snyder <msnyder@redhat.com>
24922
24923 * gdb.asm/i386.inc: New file.
24924 * gdb.asm/asm-source.exp: Recognize ix86 target.
24925 * gdb.asm/configure.in: Recognize ix86 target.
24926 * gdb.asm/configure: Regenerate.
24927
24928 * gdb.c++/namespace.exp: Fix quotes in output messages.
24929
24930 2001-11-14 Michael Snyder <msnyder@redhat.com>
24931
24932 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
24933 qualifier in a type cast expression, to designate an address
24934 in the instruction space (Harvard architecture).
24935
24936 2001-11-13 Michael Snyder <msnyder@redhat.com>
24937
24938 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
24939 Tests for expressions using 'const' and 'volatile'.
24940
24941 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
24942
24943 * gdb.asm/asm-sources.exp: Allow defining linker flags.
24944
24945 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
24946
24947 * lib/mi-support.exp (mi_run_to_helper): Move comments
24948 outside of gdb_expect.
24949
24950 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
24951
24952 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
24953 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
24954 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
24955 mi0_run_to): New functions.
24956 * gdb.mi/mi-simplerun.exp: Use them.
24957 * gdb.mi/mi0-simplerun.exp: Likewise.
24958 * gdb.mi/mi-var-cmd.exp: Likewise.
24959 * gdb.mi/mi0-var-cmd.exp: Likewise.
24960
24961 2001-11-10 Andrew Cagney <ac131313@redhat.com>
24962
24963 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
24964 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
24965
24966 2001-11-09 Andrew Cagney <ac131313@redhat.com>
24967
24968 * gdb.base/restore.exp: Include $expected value in restored test
24969 message.
24970
24971 2001-11-09 Andrew Cagney <ac131313@redhat.com>
24972
24973 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
24974 implemented.
24975
24976 2001-11-08 Michael Snyder <msnyder@redhat.com>
24977
24978 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
24979 Add pass/fail message for stop at breakpoint in call dummy function.
24980
24981 2001-11-07 Michael Snyder <msnyder@redhat.com>
24982
24983 * gdb.c++/templates.exp (test_template_breakpoints):
24984 If we get an overload menu, but it does not match what
24985 we expect, we still need to issue the "cancel" command.
24986 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
24987 making the whitespace optional. Argument for "new" may be
24988 "unsigned" as well as "unsigned int/long".
24989 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
24990 making the whitespace optional. Also replace "(void) with
24991 "((void|)), making the keyword "void" optional.
24992 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
24993 making the whitespace optional. Also replace "(void) with
24994 "((void|)), making the keyword "void" optional.
24995 * gdb.base/callfuncs.c (t_float_values): This function must
24996 _not_ be prototyped, and the following function (t_float_values2)
24997 must be prototyped (if the compiler supports it), so that GDB
24998 can be tested against both cases. Usually one case involves
24999 promotion of float to double, while the other does not.
25000 * gdb.base/callfwmall.c: Ditto.
25001 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
25002 includes a stack frame for "start".
25003
25004 2001-11-05 Jim Blandy <jimb@redhat.com>
25005
25006 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
25007 pointers are 32 bits long, and that offsets of relocs are always
25008 stored in the data (REL-style), and not in the reloc entry itself
25009 (RELA-style).
25010 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
25011 stabs.
25012
25013 2001-11-01 Michael Snyder <msnyder@redhat.com>
25014
25015 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
25016 and regular expression operators by using quoting.
25017
25018 2001-10-31 Michael Snyder <msnyder@redhat.com>
25019
25020 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
25021 depending on what the symbol table contains.
25022 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
25023 the output of the ptype command. Similarly, accept both "const &"
25024 and "const&".
25025
25026 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
25027
25028 * gdb.base/miscexprs.c (main): Add usage of preprocessor
25029 symbol `STORAGE' to allow to choose the storage class of
25030 the local datastructures.
25031 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
25032 compiler directive.
25033
25034 2001-10-30 Michael Snyder <msnyder@redhat.com>
25035
25036 * gdb.base/jump.exp: Allow it to run for all targets.
25037
25038 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
25039
25040 * gdb.base/call-ar-st.c (print_double_array): Match for loop
25041 with new double_array size.
25042 (main): Change storage class of all local variables to static.
25043 Reduce size of double_array to 9.
25044 * gdb.base/call-ar-st.exp: Increase timeout value.
25045 Change expected output for double array to match new size in
25046 call-ar-st.c.
25047
25048 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
25049
25050 * gdb.base/ending-run.exp: Create identical output when passing
25051 `step to end of run' case. Add regular expression branch satisfying
25052 Stormy16 target.
25053
25054 2001-10-28 Mark Kettenis <kettenis@gnu.org>
25055
25056 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
25057 that we catch the expected failure under Linux/x86.
25058
25059 2001-10-29 Orjan Friberg <orjanf@axis.com>
25060
25061 * gdb.base/setvar.exp: Escape curly braces.
25062 * gdb.stabs/weird.exp: Ditto.
25063
25064 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
25065
25066 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
25067 * gdm.mi/mi0-hack-cli.exp: Likewise.
25068
25069 2001-10-25 Andrew Cagney <ac131313@redhat.com>
25070
25071 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
25072 messages.
25073
25074 2001-10-21 Andrew Cagney <ac131313@redhat.com>
25075
25076 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
25077 checking MI enabled.
25078
25079 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
25080
25081 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
25082
25083 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
25084
25085 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
25086 if gdb child process crashes, just signal an error.
25087
25088 2001-10-02 Jim Blandy <jimb@redhat.com>
25089
25090 * lib/gdb.exp (test_xfail_format): Simplify.
25091
25092 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
25093 front of the variable name `format'. Simplify `if'.
25094
25095 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
25096
25097 * gdb.threads/pthreads.exp: Wait for output and delay
25098 before sending ^C.
25099
25100 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
25101
25102 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
25103 some incorrect output instead of timing out.
25104 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
25105
25106 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
25107
25108 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
25109 check to allow additional `int'.
25110
25111 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
25112
25113 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
25114 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
25115
25116 2001-09-27 Michael Snyder <msnyder@redhat.com>
25117
25118 * lib/gdb.exp (test_debug_format): New proc.
25119 (setup_xfail_format): Use new proc test_debug_format.
25120 * gdb.base/constvars.exp (local_compiler_xfail_check): New
25121 proc; use new service proc test_debug_format.
25122 Replace all other "gcc_compiled" tests with this test.
25123 * gdb.base/volatile.exp (local_compiler_xfail_check): New
25124 proc; use new service proc test_debug_format.
25125 Replace all other "gcc_compiled" tests with this test.
25126
25127 2001-09-27 Michael Snyder <msnyder@redhat.com>
25128
25129 * gdb.base/cvexpr.exp: New file.
25130 * gdb.base/cvexpr.c: New file
25131 Test for expressions using const and volatile keywords.
25132
25133 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
25134
25135 * gdb.base/constvars.exp: Check for different orders of keywords
25136 and additional "int" strings in output.
25137
25138 2001-09-22 Andrew Cagney <ac131313@redhat.com>
25139
25140 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
25141 responses from "help maint".
25142
25143 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
25144
25145 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
25146 to localhost:NNN instead of :NNN, in case Xvfb is listening
25147 only on TCP.
25148
25149 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
25150
25151 * gdb.base/recurse.exp: When checking leaving the watchpoint
25152 scope, recognize when gdb is in function's epilogue and pass.
25153
25154 2001-09-18 Keith Seitz <keiths@redhat.com>
25155
25156 * lib/insight-support.exp (_gdbtk_export_target_info): Add
25157 support for running tests against sid targets.
25158 (gdbtk_done): Ditto.
25159
25160 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
25161
25162 * gdb.base/ending-run.c (main): Set stdout buffersize
25163 to the same reasonable value for any target.
25164 * gdb.base/ending-run.exp: Add a regular expression
25165 to make testsuite happy on Sanyo Stormy16 target.
25166
25167 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
25168
25169 * gdb.base/display.c (do_loops): Add float variable `f'.
25170 Increment f in loop.
25171 * gdb.base/display.exp: Increment timeout by 60 seconds.
25172 Change float display test to use variable `f'.
25173
25174 2001-09-17 Jim Blandy <jimb@redhat.com>
25175
25176 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
25177 overflowing the limited breakpoint tables on some ROM monitors
25178 (like the ROM68K).
25179
25180 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
25181
25182 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
25183 the "-ac" (disable access control) flag.
25184
25185 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
25186
25187 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
25188 ints.
25189
25190 2001-08-30 Keith Seitz <keiths@redhat.com>
25191
25192 * lib/gdb.exp: Move all insight-related functionality into
25193 separate file.
25194 * lib/insight-support.exp: New file.
25195
25196 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
25197
25198 * config/sid.exp (sid_start): Never set sid verbosity; disable
25199 expect_background {} that consumed its stdout; tolerate </dev/null.
25200 Attempt to set endianness override in "sid" protocol mode. Cleanup.
25201
25202 2001-08-18 Andrew Cagney <ac131313@redhat.com>
25203
25204 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
25205 CLI jump command to start it.
25206 (mi_run_to_main): Fail immediatly when unexpected output.
25207
25208 2001-08-18 Andrew Cagney <ac131313@redhat.com>
25209
25210 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
25211 beginning of function. Fix PR gdb/191.
25212
25213 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
25214
25215 * config/sid.exp (sid_start): Don't warn if we cannot figure out
25216 what to force sid endianness to.
25217
25218 2001-08-15 Keith Seitz <keiths@redhat.com>
25219
25220 * lib/gdb.exp (gdbtk_start): Don't set environment
25221 variables for TCL_LIBRARY and friends. Insight will
25222 now figure these out for itself.
25223
25224 2001-08-02 Michael Snyder <msnyder@redhat.com>
25225
25226 * gdb.base/completion.exp: Remove the symbol "a64l" from
25227 the expect string; this is target-specific, and not related
25228 to what is being tested.
25229
25230 2001-08-02 Dave Brolley <brolley@redhat.com>
25231
25232 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
25233
25234 2001-07-25 Michael Snyder <msnyder@redhat.com>
25235
25236 * gdb.base/consecutive.exp: New file. Test stepping over
25237 breakpoints on consecutive instructions.
25238 * gdb.base/consecutive.c: New file.
25239
25240 * gdb.base/call-rt-st.exp: Use double-backslash to quote
25241 curly braces in regular expressions.
25242
25243 2001-07-25 Michael Snyder <msnyder@redhat.com>
25244
25245 * gdb.base/ending-run.exp: Accept "Program exited normally" as
25246 legitimate output from stepping out of main.
25247
25248 2001-07-22 Keith Seitz <keiths@redhat.com>
25249
25250 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
25251 the empty string, do not run the tests.
25252
25253 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25254
25255 * gdb.base/long_long.exp: Detect size of pointer. Take into
25256 account 2-byte pointers when testing for p/a results.
25257
25258 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25259
25260 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
25261 and defined to 1K for m68hc11.
25262 (random_data): Reduce table to 1K for embedded platforms (68hc11).
25263 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
25264 (sizeof_random_data): New variable to tell the size of the data table;
25265 don't test past this size; always run to main.
25266
25267 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25268
25269 * gdb.base/return2.exp: return of long long and double fails for
25270 68HC11; don't execute these tests on that platform.
25271 * gdb.base/return.exp: Return of a double fails for 68hc11.
25272
25273 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25274
25275 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
25276 tests that print a float.
25277 * call-rt-st.exp: Likewise.
25278
25279 2001-07-12 Mark Kettenis <kettenis@gnu.org>
25280
25281 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
25282 running this test on Linux.
25283
25284 2001-06-24 Michael Chastain <chastain@redhat.com>
25285
25286 * gdb.base/arithmet.exp: Remove some tests to make all test names
25287 unique.
25288
25289 2001-07-03 Michael Snyder <msnyder@redhat.com>
25290
25291 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
25292 the output of the ptype command.
25293
25294 2001-07-02 Michael Snyder <msnyder@redhat.com>
25295
25296 * gdb.base/completion.exp: Don't assume that break.c is the only
25297 source file that may contain functions named "marker".
25298 * gdb.base/corefile.exp: Quote the curly braces in regexp.
25299
25300 2001-06-28 Andrew Cagney <ac131313@redhat.com>
25301
25302 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
25303 of files to delete.
25304
25305 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
25306 * gdb.disasm/h8300s.exp: New file.
25307 gdb.disasm/h8300s.s: Likewise.
25308
25309 2001-06-27 Andrew Cagney <ac131313@redhat.com>
25310
25311 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
25312 empty breakpoint tables.
25313
25314 2001-06-25 Andrew Cagney <ac131313@redhat.com>
25315
25316 * lib/mi-support.exp: Update args=... part of stop-reason
25317 patterns. Accept either a list or a tuple.
25318
25319 2001-06-23 Andrew Cagney <ac131313@redhat.com>
25320
25321 * lib/mi-support.exp: Remove local emacs variable defining
25322 change-log-default-name.
25323
25324 2001-06-22 Michael Chastain <chastain@redhat.com>
25325
25326 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
25327 This is operationally compatible with the previous version.
25328
25329 2001-06-13 Jim Blandy <jimb@redhat.com>
25330
25331 * lib/gdb.exp (gdb_test): Doc fix.
25332
25333 2001-06-10 Michael Chastain <chastain@redhat.com>
25334
25335 * gdb.base/exprs.exp: Remove a duplicate test.
25336
25337 2001-06-06 Jim Blandy <jimb@redhat.com>
25338
25339 * gdb.base/return2.exp (main): Use values to test float and double
25340 returns that are not NaN's, to avoid being confused by IEEE
25341 comparison rules.
25342
25343 2001-06-04 Michael Snyder <msnyder@redhat.com>
25344
25345 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
25346 non-zero if control_c fails. Terminate the test on failure,
25347 rather than wait for 12 more tests to time out.
25348
25349 2001-06-06 Jim Blandy <jimb@redhat.com>
25350
25351 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
25352 Don't forget to match the GDB prompt.
25353
25354 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
25355
25356 2001-06-04 Jim Blandy <jimb@redhat.com>
25357
25358 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
25359 command.
25360
25361 2001-05-31 Kevin Buettner <kevinb@redhat.com>
25362
25363 * gdb.base/annota1.exp (info break): Match four or more spaces
25364 after "Address".
25365
25366 2001-05-31 Michael Chastain <chastain@redhat.com>
25367
25368 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
25369 (dm_type_int_star): Likewise.
25370 (dm_type_long_star): Likewise.
25371 (dm_type_void_star): Likewise.
25372
25373 2001-05-29 Kevin Buettner <kevinb@redhat.com>
25374
25375 * gdb.base/completion.exp (INPUTRC): Set this environment variable
25376 to a known value in order to get consistent results regardless
25377 of the setting of INPUTRC or the presence or contents of .inputrc.
25378
25379 2001-05-24 Michael Snyder <msnyder@redhat.com>
25380
25381 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
25382 Don't require that the main thread and the manager thread are the
25383 first in the list.
25384
25385 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
25386 debugging. If test fails, issue an "unsupported" not a "fail".
25387
25388 2001-05-24 Jim Blandy <jimb@redhat.com>
25389
25390 Don't assume that short is shorter than int.
25391 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
25392 assume that shorts are smaller than ints. On a 16-bit machine,
25393 this isn't true.
25394 ("print unsigned char == (~0)"): Add test that verifies that ~0,
25395 an int, is not equal to ~0 stored in an unsigned char. This tests
25396 the same thing that the previous test meant to, but works on
25397 16-bit machines, too.
25398 ("print unsigned char != (~0)"): Same test, complemented.
25399
25400 2001-05-24 Michael Snyder <msnyder@redhat.com>
25401
25402 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
25403 test for (full_coverage == 0). This makes the test run faster,
25404 and prevents dejagnu getting out of step.
25405
25406 2001-05-23 Kevin Buettner <kevinb@redhat.com>
25407
25408 * gdb.base/finish.exp (finish_void): Revise pattern for
25409 stopping on the call statement to not permit stopping at
25410 the start of the instructions comprising the call sequence.
25411
25412 2001-05-19 Michael Chastain <chastain@redhat.com>
25413
25414 * gdb.base/callfuncs.exp: Make all test names unique.
25415 * gdb.base/commands.exp: Make all test names unique.
25416 * gdb.base/condbreak.exp: Make all test names unique.
25417 * gdb.base/dbx.exp: Make all test names unique.
25418 * gdb.base/default.exp: Make all test names unique.
25419 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
25420 and TIMEOUT messages to their corresponding PASS message.
25421 * gdb.base/ending-run.exp: Make all test names unique.
25422 * gdb.base/long_long.exp: Remove duplicate test.
25423
25424 2001-05-21 Kevin Buettner <kevinb@redhat.com>
25425
25426 * gdb.base/finish.exp (finish_void): Allow "finish" command to
25427 stop on the call statement as well as the statement after the
25428 call.
25429
25430 2001-05-21 Michael Snyder <msnyder@redhat.com>
25431
25432 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
25433
25434 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
25435
25436 * gdb.base/completion.exp: Revamp test. Make it execute on all
25437 platforms.
25438
25439 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
25440
25441 * config/gdbserver.exp (gdb_load): Handle the case
25442 in which the arguments to gdbserver are given in the
25443 baseboard configuration file.
25444 Also handle the case in which the server needs to do a
25445 load.
25446
25447 2001-05-07 Keith Seitz <keiths@cygnus.com>
25448
25449 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
25450 set up the display for testing.
25451 (gdbtk_start): Convert all paths to paths that tcl will like.
25452 Export target information to environment.
25453 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
25454 necessary.
25455 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
25456 (to_tcl_path): New proc to convert a given pathname into
25457 a path acceptible as an argument to a tcl command.
25458 (_gdbtk_export_target_info): New proc to export target info
25459 into the environment for gdbtk testing.
25460 (gdbtk_done): New proc to signal end-of-test.
25461
25462 2001-05-06 Jim Blandy <jimb@redhat.com>
25463
25464 * restore.c: Make the code of caller0 correspond to its comment.
25465
25466 2001-05-03 Michael Snyder <msnyder@redhat.com>
25467
25468 * config/sid.exp (gdb_target_sid): Check for error messages.
25469 On error or timeout, don't make expect exit (which will terminate
25470 all subsequent tests); instead just make gdb exit.
25471 (gdb_load): Check for error messages. On error or timeout,
25472 return a negative value.
25473
25474 2001-04-24 Jim Blandy <jimb@redhat.com>
25475
25476 * gdb.c++/templates.exp: If we see the prompt for the overload
25477 list, but we haven't recognized any of the longer patterns,
25478 arrange for this test to fail, not hang.
25479
25480 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
25481 variations.
25482
25483 2001-04-22 Michael Chastain <chastain@redhat.com>
25484
25485 * gdb.c++/local.exp: Use the 'runto' library function.
25486 * gdb.c++/namespace.exp: Likewise.
25487 * gdb.c++/overload.exp: Likewise.
25488
25489 2001-03-26 Kevin Buettner <kevinb@redhat.com>
25490
25491 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
25492 * gdb.base/step-line.exp: New file. Test step/next in presence of
25493 #line directives.
25494 * gdb.base/step-line.c: New file. Test program for the above.
25495 * gdb.base/step-line.inp: New file. We pretend that this file has
25496 been transformed by some other tool into step-line.c.
25497
25498 2001-03-21 Jim Blandy <jimb@redhat.com>
25499
25500 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
25501 unmangled operator names.
25502
25503 2001-03-20 Jim Blandy <jimb@redhat.com>
25504
25505 * gdb.threads/linux-dp.exp: Recognize an additional message
25506 generated by GDB when it doesn't understand how to debug threads
25507 on the target system.
25508
25509 2001-03-19 Andrew Cagney <ac131313@redhat.com>
25510
25511 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
25512
25513 2001-03-12 Michael Chastain <chastain@redhat.com>
25514
25515 * gdb.c++/derivation.exp: Use the 'runto' library function.
25516
25517 2001-03-12 Michael Chastain <chastain@redhat.com>
25518
25519 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
25520
25521 2001-02-24 Michael Chastain <chastain@redhat.com>
25522
25523 * gdb.c++/ref-types.exp: Change handwritten code to library
25524 function 'runto'.
25525
25526 2001-03-16 Orjan Friberg <orjanf@axis.com>
25527
25528 * gdb.base/signals.exp: Set count to 0 explicitly.
25529
25530 2001-03-15 Mark Salter <msalter@redhat.com>
25531
25532 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
25533 (gdb_target_monitor): Add check of gdb_target_cmd return value.
25534 (gdb_load): Add support for additional target_info: gdb_download_size
25535 and gdb_load_timeout.
25536
25537 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
25538
25539 * gdb.base/annota1.exp: Move test of isnative to earlier in the
25540 file -- to prevent failing when the compile fails but we have no
25541 intention of running the tests anyway.
25542
25543 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
25544 tests if set.
25545
25546 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
25547 integers.
25548
25549 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
25550 * gdb.c++/namespace.exp: Ditto.
25551
25552 2001-03-07 Orjan Friberg <orjanf@axis.com>
25553
25554 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
25555 * gdb.base/pointers.exp: Relax pattern match of decimals.
25556
25557 2001-03-06 Kevin Buettner <kevinb@redhat.com>
25558
25559 * Makefile.in, config/abug.exp, config/cfdbug.exp,
25560 config/cpu32bug.exp, config/dve.exp, config/est.exp,
25561 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
25562 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
25563 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
25564 config/sh.exp, config/sid.exp, config/slite.exp,
25565 config/sparclet.exp, config/udi.exp, config/unknown.exp,
25566 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
25567 config/vxworks.exp, config/vxworks29k.exp,
25568 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
25569 gdb.base/all-bin.exp, gdb.base/annota1.exp,
25570 gdb.base/arithmet.exp, gdb.base/assign.exp,
25571 gdb.base/async.exp, gdb.base/attach.exp,
25572 gdb.base/bitfields.exp, gdb.base/bitops.exp,
25573 gdb.base/break.exp, gdb.base/call-ar-st.exp,
25574 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
25575 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
25576 gdb.base/commands.exp, gdb.base/completion.exp,
25577 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
25578 gdb.base/constvars.exp, gdb.base/corefile.exp,
25579 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
25580 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
25581 gdb.base/ending-run.exp, gdb.base/environ.exp,
25582 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
25583 gdb.base/finish.exp, gdb.base/foll-exec.exp,
25584 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
25585 gdb.base/funcargs.exp, gdb.base/help.exp,
25586 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
25587 gdb.base/logical.exp, gdb.base/long_long.exp,
25588 gdb.base/maint.exp, gdb.base/mips_pro.exp,
25589 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
25590 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
25591 gdb.base/pointers.exp, gdb.base/printcmds.exp,
25592 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
25593 gdb.base/regs.exp, gdb.base/relational.exp,
25594 gdb.base/remote.exp, gdb.base/reread.exp,
25595 gdb.base/restore.exp, gdb.base/return2.exp,
25596 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
25597 gdb.base/selftest.exp, gdb.base/setshow.exp,
25598 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
25599 gdb.base/sigall.exp, gdb.base/signals.exp,
25600 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
25601 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
25602 gdb.base/step-test.exp, gdb.base/structs.c,
25603 gdb.base/structs.exp, gdb.base/structs2.exp,
25604 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
25605 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
25606 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
25607 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
25608 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
25609 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
25610 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
25611 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
25612 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
25613 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
25614 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
25615 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
25616 gdb.fortran/types.exp, gdb.java/jmisc.exp,
25617 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
25618 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
25619 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
25620 gdb.trace/circ.exp, gdb.trace/collection.exp,
25621 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
25622 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
25623 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
25624 gdb.trace/report.exp, gdb.trace/save-trace.exp,
25625 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
25626 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
25627 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
25628 notices.
25629
25630 2001-02-27 Michael Snyder <msnyder@cygnus.com>
25631
25632 * gdb.base/varargs.c (find_max_double): Fix printf format string:
25633 first arg is int not float.
25634
25635 2001-02-22 Michael Snyder <msnyder@cygnus.com>
25636
25637 * gdb.base/reread.exp: Unsupported for non-native targets;
25638 doesn't work for remote debugging.
25639
25640 2001-02-19 Fernando Nasser <fnasser@redhat.com>
25641
25642 From Drew Moseley <dmoseley@redhat.com>
25643 * gdb.base/ending-run.exp: Properly handle the BSP state when
25644 stepping past the end of main.
25645
25646 2001-02-19 John Moore <jmoore@redhat.com>
25647
25648 * gdb.base/commands.exp (infrun_breakpoint_command_test):
25649 Converted HPUX fix for non-expected items following multiple
25650 step commands into general solution for all platforms.
25651
25652 2001-02-18 Michael Chastain <chastain@redhat.com>
25653
25654 * gdb.c++/classes.exp (do_tests): Change runto statements
25655 from "runto 'foo(void)'" to "runto 'foo'". This makes the
25656 statements demangler agnostic.
25657 * gdb.c++/virtfunc.exp (do_tests): Likewise.
25658 (gdb_virtfunc_restart): Likewise.
25659
25660 2001-02-14 Michael Chastain <chastain@redhat.com>
25661
25662 * gdb.c++/inherit.exp (do_tests): Change runto statements
25663 from "runto 'foo(void)'" to "runto 'foo'". This makes the
25664 statements demangler agnostic.
25665
25666 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
25667
25668 * gdb.threads/pthreads.exp: Unify pass/fail messages for
25669 ``continue to bkpt at common_routine in thread 2'' and ``stopped
25670 before calling common_routine 15 times'' tests.
25671
25672 2001-02-11 Michael Chastain <chastain@redhat.com>
25673
25674 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
25675 Helps the test script figure out which demangler is in use.
25676 (dm_type_foo_ref): Ditto.
25677 (dm_type_int_star): Ditto.
25678 (dm_type_long_star): Ditto.
25679 (dm_type_unsigned_int): Ditto.
25680 (dm_type_void): Ditto.
25681 (dm_type_void_star): Ditto.
25682 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
25683 Probe the gdb demangler and set variables to accommodate
25684 formatting differences.
25685 (info_func_regexp): New function. Same as info_func, but
25686 matches against a regexp.
25687 (info_func): Match against a literal string.
25688 (print_addr_2): New function. Match against a literal string,
25689 which can be different from the input to gdb.
25690 (print_addr): Simply call print_addr_2 with the same argument twice.
25691 (test_lookup_operator_functions): Use demangler formatting variables.
25692 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
25693 the tests in the same order as the C++ class declaration.
25694 (test_paddr_operator_functions): Ditto.
25695 (test_paddr_overloaded_functions): Ditto.
25696 (test_paddr_hairy_functions): Use demangler formatting variables.
25697 Add reference to gdb/19 for related tests.
25698 (do_tests): Call probe_demangler.
25699
25700 2001-01-30 Kevin Buettner <kevinb@redhat.com>
25701
25702 * gdb.c++/templates.cc (printf): Remove unused function definition.
25703
25704 2001-01-26 Felix Lee <flee@redhat.com>
25705
25706 * sid.exp (sid_exit): Pass host, not target, to remote_close.
25707
25708 2001-01-25 matthew green <mrg@redhat.com>
25709
25710 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
25711 up sid.
25712 (sid_exit): Call `remote_pop_conn' after GDB is gone.
25713
25714 2001-01-25 matthew green <mrg@redhat.com>
25715
25716 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
25717 Deprecate $sid_spawn_id.
25718 (sid_exit): Remove code necessary only for `spawn.'
25719
25720 2001-01-25 matthew green <mrg@redhat.com>
25721
25722 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
25723
25724 2001-01-28 Michael Chastain <chastain@redhat.com>
25725
25726 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
25727 to call when tests fail. It takes gdb out of the overloaded
25728 function choice menu back to the main prompt, so that the test
25729 program stays synchronized.
25730 (set_bp_overloaded): New proc to collect all the common
25731 code for setting a breakpoint on an overloaded name. Calls
25732 take_gdb_out_of_choice_menu when needed.
25733 (menu_overload1arg): New variable to collect the repeated
25734 instances of the expected menu for an overloaded name. Change
25735 the regular expression to handle changes in g++ type encoding:
25736 "void" can be either "void" or "", and "unsigned int" can be
25737 either "unsigned int" or "unsigned".
25738 (continue_to_bp_overloaded): Change regular expressions to handle
25739 changes in g++ type encoding.
25740 (no proc): Call take_gdb_out_of_choice_menu when needed.
25741 Remove redundant calls to "info break". Accept either "canceled"
25742 or "cancelled". Change regular expressions in "info break"
25743 calls to handle changes in g++ type encoding. Give all tests
25744 unique strings.
25745
25746 2001-01-17 Ben Elliston <bje@redhat.com>
25747
25748 * config/sid.exp: New file.
25749
25750 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
25751
25752 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
25753
25754 2000-12-21 Michael Snyder <msnyder@cygnus.com>
25755
25756 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
25757 Add a RE to accept a non-ascii char if one is ever presented.
25758
25759 2000-12-20 Fernando Nasser <fnasser@redhat.com>
25760
25761 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
25762
25763 2000-12-18 Michael Snyder <msnyder@cygnus.com>
25764
25765 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
25766 in regexp. One '\' does not suffice on Linux.
25767
25768 2000-12-09 Michael Chastain <chastain@redhat.com>
25769
25770 * gdb.base/break.exp (test_clear_command): Use a marker function
25771 rather than 'main' for the test function. Also move this
25772 test to an execution point where the marker function names are
25773 guaranteed to be bound to functions. (Executing tests after a
25774 'finish' from main runs into name conflicts with local names
25775 in __libc_start_main).
25776
25777 2000-12-07 Michael Snyder <msnyder@cygnus.com>
25778
25779 * gdb.base/finish.exp: New test for gdb's "finish" command.
25780 * gdb.base/return2.exp: New test for gdb's "return" command.
25781 * gdb.base/return2.c: New source file for above.
25782
25783 2000-12-05 Michael Snyder <msnyder@cygnus.com>
25784
25785 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
25786 * gdb.base/miscexprs.exp: Ditto.
25787 * gdb.base/pointers.exp: Ditto.
25788 * gdb.c++/derivation.exp: Ditto.
25789 * gdb.c++/local.exp: Ditto.
25790 * gdb.c++/namespace.exp: Ditto.
25791 * gdb.c++/overload.exp: Ditto.
25792 * gdb.c++/ref-types.exp: Ditto.
25793
25794 2000-12-05 Michael Snyder <msnyder@cygnus.com>
25795
25796 * gdb.base/constvars.exp: Test result of "up" command.
25797 * gdb.base/miscexprs.exp: Ditto.
25798 * gdb.base/pointers.exp: Ditto.
25799 * gdb.base/scope.exp: Ditto.
25800 * gdb.c++/derivation.exp: Ditto.
25801 * gdb.c++/local.exp: Ditto.
25802 * gdb.c++/namespace.exp: Ditto.
25803 * gdb.c++/overload.exp: Ditto.
25804 * gdb.c++/ref-types.exp: Ditto.
25805
25806 2000-11-22 Michael Chastain <chastain@redhat.com>
25807
25808 * mips_pro.exp: Accept either "middle -> top -> main" or
25809 "middle -> main" in the backtrace, because gcc can optimize
25810 tail calls to jumps. Remove setup_xfail for the hppa case.
25811 Add a comment with the original warning messages from PR 3016,
25812 which was filed in 1993, to preserve them for posterity.
25813
25814 2000-11-17 Nick Duffek <nsd@redhat.com>
25815
25816 * lib/gdb.exp (gdb_test): Override timeout with board info.
25817
25818 2000-11-17 Nick Duffek <nsd@redhat.com>
25819
25820 * gdb.base/display.exp: Don't kill running stub. Add "again" to
25821 the second kill and detach messages.
25822
25823 2000-11-17 Nick Duffek <nsd@redhat.com>
25824
25825 * configure.in: Add AC_EXEEXT.
25826 * configure: Regenerate.
25827 * Makefile.in (just-check): Export EXEEXT.
25828 * lib/gdb.exp ($EXEEXT): Import from environment.
25829 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
25830 expect "maint dump-me" on Cygwin.
25831 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
25832 $EXEEXT.
25833
25834 2000-11-17 Nick Duffek <nsd@redhat.com>
25835
25836 * gdb.base/break.exp: Test backtrace and finish from called
25837 function on all platforms, not just HP-UX.
25838
25839 2000-11-03 Michael Snyder <msnyder@cygnus.com>
25840
25841 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
25842 code from gdb_target_monitor, so it can be used independantly
25843 for gdbserver. Also comment out an unnecessary PUTS.
25844
25845 2000-11-03 Michael Snyder <msnyder@cygnus.com>
25846
25847 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
25848 * gdb.base/corefile.exp: Expect the message "Program is being
25849 debugged already" when we send the "corefile" command, since
25850 the preceeding gdb_load may have connected gdb to a remote target.
25851 * gdb.base/display.exp: Disable hardware watchpoints if new
25852 board info variable "no_hardware_watchpoints" is true.
25853 Replace single-letter commands with more readable ones.
25854 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
25855 if new board info variable "no_hardware_watchpoints" is true.
25856 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
25857 to see if stdio (printf) testing is possible.
25858 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
25859 board info variable "no_hardware_watchpoints" is true. Use new
25860 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
25861
25862 2000-11-13 Fernando Nasser <fnasser@redhat.com>
25863
25864 From Orjan Friberg <orjanf@axis.com>:
25865 * gdb.base/printcmds.exp: Escape curly braces followed by a number
25866 in array print pattern match.
25867
25868 2000-11-09 Fernando Nasser <fnasser@redhat.com>
25869
25870 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
25871 spelling "cancelled" to U.S. spelling "canceled" to match changes
25872 made to gdb.
25873 * gdb.c++/ovldbreak.exp: Ditto.
25874
25875 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25876
25877 * gdb.base/callfuncs.c (main): Moved to end of file, call
25878 t_double_values to initialize the FPU before inferior calls are made.
25879 * gdb.base/callfuncs.exp: Test for register preservation after calling
25880 inferior functions. Add tests for continuining, finishing and
25881 returning from a stop in a call dummy.
25882
25883 2000-10-24 Michael Snyder <msnyder@cygnus.com>
25884
25885 * gdb.base/commands.exp: Break up long lines, and re-indent.
25886
25887 2000-10-19 Michael Snyder <msnyder@cygnus.com>
25888
25889 * config/gdbserver.exp: Rewritten from the ground up, to make it
25890 compatible with the current dejagnu tree, and to make it work with
25891 the new "gdbserver" in libremote.
25892
25893 2000-10-16 Michael Snyder <msnyder@cygnus.com>
25894
25895 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
25896 * gdb.base/varargs.exp: Skip entire test if no printf support.
25897 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
25898 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
25899
25900 2000-10-13 Michael Snyder <msnyder@cygnus.com>
25901
25902 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
25903 no floating point support.
25904 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
25905 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
25906 * gdb.base/call-rt-st.exp: Ditto.
25907 * gdb.base/call-strs.exp: Ditto.
25908
25909 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
25910
25911 * gdb.base/sizeof.c: include <stdio.h>.
25912
25913 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
25914 'finish', otherwise uncaptured gdb_prompt would potentially
25915 throw remaining test points out of sync.
25916
25917 2000-07-26 Scott Bambrough <scottb@netwinder.org>
25918
25919 * gdb.base/recurse.exp: Run tests for all targets.
25920 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
25921 gnu-oldld case on ARM.
25922 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
25923 for ARM targets.
25924
25925 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
25926
25927 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
25928 * gdb.java/configure: Rebuild.
25929
25930 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
25931
25932 * gdb.java/jv-exp.exp: New file.
25933
25934 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
25935
25936 * configure: Rebuilt.
25937 * configure.in (configdirs): Add gdb.java.
25938 * gdb.java/jmisc.java: New file.
25939 * gdb.java/jmisc.exp: New file.
25940 * gdb.java/Makefile.in: New file.
25941 * gdb.java/configure: Rebuilt.
25942 * gdb.java/configure.in: New file.
25943 * lib/java.exp: New file.
25944
25945 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
25946
25947 * gdb.base/exprs.exp: Test casts to a pointer including over and
25948 underflow.
25949
25950 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
25951
25952 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
25953 and the compilers sizes.
25954
25955 2000-07-09 Nick Duffek <nsd@redhat.com>
25956
25957 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
25958 (use_methods): New function.
25959 (main): Call use_methods().
25960 * gdb.c++/classes.exp (test_method_param_class): New procedure.
25961 (do_tests): Call test_method_param_class.
25962
25963 2000-07-09 Nick Duffek <nsd@redhat.com>
25964
25965 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
25966 spelling.
25967 (test_enums): New procedure. Move enum tests from end of script
25968 to here. Set breakpoint on function name instead of line number.
25969 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
25970 (enums2): New marker function.
25971 (enums1): New function.
25972 (main): Call enums1(). Move enum tests to enums1().
25973
25974 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
25975
25976 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
25977 compile/link program. Update line numbers.
25978 * gdb.asm/d10v.inc: Define ``startup''.
25979 * gdb.asm/asmsrc1.s: Add definition of _start.
25980
25981 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
25982
25983 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
25984
25985 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25986
25987 * gdb.base/maint.exp: Add 'maint print architecture' item to output
25988 of 'help maint print' command.
25989
25990 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
25991
25992 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
25993 they use gdb_expect_list.
25994
25995 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
25996
25997 * gdb.base/commands.exp: Use ``set remote
25998 memory-read-packet-size'' instead of ``set endian big'' to test
25999 long commands.
26000
26001 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
26002
26003 * gdb.c++/templates.exp (do_tests): Make all of these work under
26004 g++, and stop skipping them.
26005
26006 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
26007 work under g++.
26008
26009 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
26010 initialization.
26011
26012 2000-06-02 Michael Snyder <msnyder@cygnus.com>
26013
26014 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
26015 the regular expression: accept an (almost) arbitrary sequence of
26016 "frames-invalid" and "breakpoints-invalid" messages both before
26017 and after the "starting" message.
26018
26019 2000-06-02 Michael Snyder <msnyder@cygnus.com>
26020
26021 * gdb.c++/local.exp: This test has never been known to work with g++.
26022
26023 2000-05-18 Michael Snyder <msnyder@cygnus.com>
26024
26025 * gdb.base/annota1.exp (annotate-signal-handler-caller):
26026 Relax the regular expression a little, make it pass on Solaris 8.
26027
26028 2000-05-12 Kevin Buettner <kevinb@redhat.com>
26029
26030 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
26031 a call, do not require that gdb stop on the line after the call.
26032 Instead, it is permissible for gdb to stop on the line of the
26033 call itself.
26034
26035 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
26036
26037 * gdb.base/break.exp (bp on small function, optimized file):
26038 Add a second pass pattern. The behavior differs here between stabs
26039 and dwarf for one-line functions. Stabs preserves two line symbols
26040 (one before the prologue and one after) with the same line number,
26041 but dwarf regards these as duplicates and discards one of them.
26042 Therefore the address after the prologue (where the breakpoint is)
26043 has no exactly matching line symbol, and GDB reports the breakpoint
26044 as if it were in the middle of a line rather than at the beginning.
26045
26046 2000-05-08 Michael Snyder <msnyder@cygnus.com>
26047
26048 * gdb.base/interrupt.exp: Make "pass" message say "send"
26049 rather than "send_gdb" (for consistancy).
26050
26051 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
26052
26053 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
26054 * gdb.c++/templates.cc: Properly check for GCC version number.
26055 * lib/compiler.cc: Likewise
26056
26057 2000-04-28 Michael Snyder <msnyder@cygnus.com>
26058
26059 * gdb.base/break.exp: When compiled with -O2 optimization,
26060 gdb may not stop at the first line of main, due to code motion.
26061
26062 2000-04-26 Michael Snyder <msnyder@cygnus.com>
26063
26064 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
26065 This test depends on parsing the printf output from the target.
26066 Since the sparclet stub doesn't do stdio, this will never work.
26067 * gdb.base/call-rt-st.exp: ditto.
26068 * gdb.base/call-strs: ditto.
26069
26070 2000-04-24 Michael Snyder <msnyder@cygnus.com>
26071
26072 * gdb.base/miscexprs.exp: make sizeof long array test portable.
26073
26074 * gdb.base/ending-run.exp: After connecting to a remote target,
26075 but before running, the target will appear to be in a random
26076 location. Specify both a file and a line for breakpoints.
26077 Also, the function that calls main may be called 'init'
26078 rather than 'start'.
26079
26080 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26081
26082 * gdb.base/help.exp: Update output for add-symbol-file command.
26083
26084 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
26085
26086 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
26087 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
26088
26089 2000-04-07 J.T. Conklin <jtc@redback.com>
26090
26091 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
26092
26093 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
26094
26095 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
26096
26097 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
26098 values that can be represented exactly.
26099 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
26100 above change, and to not check against the directory part of the source
26101 file name.
26102 (step into print_long_arg_list): Likewise.
26103 (print print_small_structs from print_long_arg_list): Likewise.
26104 (print print_long_arg_list): Likewise.
26105
26106 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26107
26108 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
26109
26110 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
26111
26112 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
26113
26114 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
26115
26116 * gdb.base/commands.exp (deprecated_command_test): Add test for
26117 deprecate with no arguments.
26118
26119 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
26120
26121 * gdb.base/break.exp: Add new test for setting breakpoints on
26122 optimized code so we can test breakpoints work even when function
26123 prologues may be optimized away
26124
26125 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
26126
26127 From David Whedon <dwhedon@gordian.com>
26128 * gdb.base/commands.exp : Added command deprecator tests.
26129
26130 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
26131
26132 * gdb.base/help.exp: Added test for new apropos command.
26133
26134 2000-03-21 Kevin Buettner <kevinb@redhat.com>
26135
26136 * gdb.base/pointers.c (usevar): New function.
26137 (main): Make sure that global variables v_int_pointer2, rptr,
26138 and y are all referenced someplace in the program by calling
26139 usevar() on them. [Some linkers delete symbols which are
26140 never referenced. The space remains, but there's no way to
26141 get a (symbolic) handle on the variable from the debugger.]
26142
26143 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26144
26145 * gdb.base/printcmds.c: Add typedeffed arrays.
26146
26147 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
26148 procedure to test arrays that are typedef'd.
26149
26150 2000-03-13 James Ingham <jingham@leda.cygnus.com>
26151
26152 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
26153 the library directories.
26154
26155 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
26156
26157 * configure.in (configdirs): Add sub directory gdb.mi.
26158 * configure: Re-generate.
26159
26160 * gdb.mi: New directory.
26161
26162 2000-02-25 Scott Bambrough <scottb@netwinder.org>
26163
26164 * gdb.base/long_long.exp: Correct test suite failure when printing
26165 a long long value as a double on ARM platforms.
26166
26167 2000-02-16 Jim Blandy <jimb@redhat.com>
26168
26169 * gdb.base/break.exp ("breakpoint line number"): Make sure the
26170 default source file is set properly before running this test.
26171
26172 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26173
26174 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
26175 gdbtk/library directory, not in gdbtcl2.
26176
26177 2000-02-04 Jim Blandy <jimb@redhat.com>
26178
26179 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
26180 backslash from regexp pattern.
26181
26182 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
26183 procedure. Use it to run all the "continue to bp overloaded"
26184 tests. Note that this changes the names of the tests slightly.
26185 If the breakpoint hit message includes a hex PC value, because
26186 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
26187 from the real source code, still consider that a pass.
26188
26189 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
26190 XFAIL here if the breakpoint message contains a hex address. Note
26191 similar change on 1999-11-02.
26192
26193 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
26194
26195 * gdb.base/ptype.exp: Establish a default source file before
26196 calling get_debug_format.
26197
26198 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
26199
26200 * gdb.base/watchpoint.exp: Remove duplication of test messages.
26201
26202 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
26203
26204 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
26205 of successive stepi commands -- while in the prologue we should see
26206 the function entry bracket.
26207
26208 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
26209
26210 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
26211 reach __change_mode() when stepping through the end of main().
26212
26213 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
26214
26215 * gdb.base/default.exp: Fix expected pattern.
26216 * gdb.base/help.exp: Same.
26217
26218 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26219
26220 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
26221 Don't use xfail's because that affects only the following test.
26222
26223 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
26224 solaris or linux.
26225
26226 * gdb.base/selftest.exp: Update to reflect changes to main.c.
26227
26228 2000-01-07 Michael Snyder <msnyder@cygnus.com>
26229
26230 * gdb.base/display.exp: Some yacc parsers like to say
26231 "A syntax error" rather than "A parse error". Accept both.
26232
26233 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
26234
26235 * gdb.base/default.exp: Remove OS dependent string from "target
26236 remote" test.
26237 * gdb.base/help.exp: Same for "help target remote" test.
26238
26239 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26240
26241 From Jim Kingdon <kingdon@redhat.com>:
26242
26243 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
26244 prompt (cleanup rather than necessity, but still might keep output
26245 from spilling to next test).
26246
26247 2000-01-02 Fred Fish <fnf@cygnus.com>
26248
26249 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
26250 AIX, which defines them in <sys/types.h>.
26251
26252 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
26253
26254 * gdb.base/default.exp: Match arm* etc instead of arm in "info
26255 float" test.
26256
26257 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
26258
26259 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
26260
26261 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
26262 outermost frame disallowed".
26263
26264 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
26265
26266 * gdb.base/setvar.exp: New tests for setting the value of a struct
26267 with a constant list.
26268
26269 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26270
26271 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
26272 require the user to type a cast before setting the value of a struct.
26273
26274 1999-12-06 Jim Blandy <jimb@cygnus.com>
26275
26276 * gdb.base/default.exp: Expect the new 'info float' command on
26277 all i386 platforms.
26278
26279 * gdb.threads/linux-dp.exp: Expand our ability to recognize
26280 LinuxThreads libraries that don't support debugging.
26281
26282 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
26283
26284 * gdb.base/remote.c: Fill the buffer with truely random data.
26285 Change the buffer type to ``unsigned char'' to simplify size
26286 arithmetic.
26287
26288 * gdb.base/remote.exp: Reduce download numbers by one. Typical
26289 stub only handles 400-1 byte packets. Verify that the download
26290 worked.
26291
26292 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
26293
26294 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
26295 tests, using UNRESOLVED for the untested cases. Also, does not wait
26296 for a timeout if the prompt was received before a recognizable pattern.
26297
26298 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
26299
26300 * lib/gdb.exp (gdb_expect_list): Fix spelling.
26301
26302 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26303
26304 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
26305 watchpoints.
26306
26307 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
26308
26309 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
26310
26311 * gdb.c++/local.exp: Be more flexible in recognizing local class
26312 name mangling. Don't allow horribly truncated method names.
26313 * gdb.c++/derivation.exp: Expect protected inheritance.
26314 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
26315 * gdb.c++/virtfunc.exp: Likewise.
26316 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
26317 when printing a nested enum.
26318
26319 1999-11-22 Jim Blandy <jimb@cygnus.com>
26320
26321 * gdb.base/step-test.exp: Properly await GDB's response to setting
26322 a breakpoint on the call to large_struct_by_value.
26323
26324 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
26325 just because we have debug info for the `start' function.
26326
26327 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
26328
26329 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
26330 "Unknown signal" messages, which indicate (on LinuxThreads) that
26331 GDB doesn't know how to debug threads on this system. This is
26332 better than hanging while philosopher 0 dumps chatter into gdb.log.
26333
26334 1999-11-18 Tom Tromey <tromey@cygnus.com>
26335
26336 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
26337
26338 1999-11-18 Fred Fish <fnf@cygnus.com>
26339
26340 * gdb.base/coremaker2.c: Add sample program for generating
26341 cores that is more self contained than coremaker.c. Eventually
26342 I'll add more code to this and tie it into the testsuite.
26343
26344 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
26345
26346 * gdb.base/dollar.exp: Remove, now in gdb.hp.
26347
26348 1999-11-10 Jimmy Guo <guo@cup.hp.com>
26349
26350 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
26351 from $srcdir/lib/.
26352 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
26353 and gdb.c++/.
26354
26355 * gdb.c++/derivation.exp: remove redundant get compiler info code.
26356
26357 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
26358 'continue with watch' test point.
26359
26360 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
26361
26362 Merged from p2linux-990323-branch:
26363
26364 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
26365
26366 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
26367
26368 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
26369 {limit,fixed}''. Test ``set download-write-size''.
26370
26371 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
26372
26373 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
26374 gdb_expect_list.
26375
26376 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
26377
26378 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
26379
26380 1999-11-03 Mark Salter <msalter@cygnus.com>
26381
26382 * gdb.base/break.exp: Fix "stub continue" pattern.
26383
26384 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
26385
26386 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
26387
26388 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
26389
26390 * gdb.base/display.exp ("finish"): Add timeout clause.
26391
26392 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
26393 plain prompt clause, so this doesn't have to time out in order to
26394 fail.
26395
26396 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
26397 breakpoint hit messages include an address.
26398
26399 * gdb.base/display.exp: Don't forget to escape parens in regular
26400 expressions. Unix regexp notatation sucks.
26401
26402 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26403
26404 * gdb.base/annota1.exp: Test for annotate-signalled: change output
26405 order for 'signalled' message.
26406
26407 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
26408
26409 From Jimmy Guo <guo@cup.hp.com>:
26410 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
26411 * gdb.base/annota1.c: Add code for tests to work with.
26412
26413 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
26414
26415 * gdb.base/remote.exp: New test for remote downloading settings.
26416 * gdb.base/remote.c: New file with large .data.
26417
26418 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
26419
26420 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
26421 for LinuxThreads support, merged from the Code Fusion branch.
26422
26423 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
26424
26425 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
26426 containing exp_continue into a while within an expect. Don't
26427 attempt a start more than three times. Check return value from
26428 gdb_load.
26429
26430 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
26431
26432 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
26433 a pass case.
26434
26435 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
26436
26437 * gdb.base/break.c (main): Added a statement that we can step
26438 off of.
26439 * gdb.base/break.exp: Added tests for setting a breakpoint
26440 at an offset and stepping onto a breakpoint.
26441
26442 1999-10-01 Fred Fish <fnf@cygnus.com>
26443
26444 * gdb.base/help.exp (help add-symbol-file): Update to match current
26445 gdb output.
26446
26447 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
26448
26449 * gdb.base/break.exp: Code locations are in hex, don't forget!
26450 (For HP-UX.)
26451
26452 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
26453
26454 * condbreak.exp: Use break.c as test program.
26455 * condbreak.c: Remove, redundant with break.c.
26456
26457 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
26458
26459 * config/monitor.exp (gdb_target_monitor): Disable X- and
26460 Z-packets if the target needs it.
26461
26462 1999-09-13 James Ingham <jingham@leda.cygnus.com>
26463
26464 * gdb.c++/overload.exp: Added tests for listing overloaded
26465 functions with function pointers in the arg, explicitly calling
26466 out the version you want.
26467
26468 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
26469
26470 * long_long.exp: Add variations of test cases that work for
26471 targets with 16-bit ints and 32-bit doubles.
26472
26473 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
26474
26475 * break.c (main): Compare a possibly-uninitialized argc with an
26476 unlikely value that fits in 16 bits.
26477
26478 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
26479
26480 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
26481 0xfeeb, don't want negative numbers if ints are 16 bits.
26482
26483 * lib/gdb.exp (skip_cplus_tests): New proc.
26484 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
26485 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
26486 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
26487 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
26488 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
26489 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
26490 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
26491 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
26492
26493 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
26494
26495 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
26496
26497 * gdb.base/corefile.exp (up): Allow a parameter to appear
26498 in the frame that we're going up to.
26499
26500 From Jim Blandy <jimb@cygnus.com>:
26501
26502 * gdb.base/default.exp (info float): Expect some output now.
26503
26504 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
26505 returning floating-point values to fail on the x86.
26506 * gdb.base/callfwmall.exp (do_function_calls): Same.
26507
26508 * gdb.base/list.exp (test_listsize): Correct expectations for
26509 listing line 1 with listsize 2. Also, listing a single line
26510 works now, as does listing three lines. [Kevin's note: There
26511 were a number of other cases fixed too where the expectations
26512 differed...]
26513
26514 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
26515
26516 * gdb.base/selftest.exp: Add case for when version prints as
26517 constant string instead of char pointer.
26518
26519 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
26520
26521 * gdb.base/ending-run.exp: Add Solaris case for what happens when
26522 stepping out of main.
26523
26524 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
26525 G++ used.
26526
26527 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
26528 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
26529
26530 * gdb.c++/ovldbreak.exp: Update match string in test that
26531 includes a warning of multiple breakpoints.
26532
26533 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
26534
26535 * gdb.base/display.exp: Improve precision of step-after-finish
26536 added yesterday.
26537
26538 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
26539 test.
26540
26541 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
26542 configs when using G++, not just hppa*.
26543
26544 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26545
26546 * gdb.base/async.c: New file.
26547 * gdb.base/async.exp: New file.
26548
26549 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
26550
26551 * gdb.base/break.exp: Tweak PA specific tests to properly handle
26552 PA64.
26553
26554 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
26555
26556 * gdb.base/display.exp: "finish" can leave us mid-line on many
26557 targets, deal with it. Add a small constant to main, instead of
26558 1000 since main+1000 may not be a valid address in the target.
26559
26560 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
26561 on hpux11.
26562
26563 * gdb.base/attach.exp: Handle another hpux11 error message variant
26564 when attaching to a process that does not exist.
26565
26566 1999-08-19 J.T. Conklin <jtc@redback.com>
26567
26568 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
26569 characters in 'continue to 1241' test.
26570
26571 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
26572
26573 * gdb.base/call-ar-st.exp: Add a shorter match case for the
26574 stop in print_long_arg_list, define and use a whitespace
26575 variable in print_small_structs test, add an XFAIL for Solaris.
26576 * gdb.base/dbx.exp: XFAIL func commands until somebody is
26577 interested enough to fix.
26578
26579 1999-08-13 Keith Seitz <keiths@cygnus.com>
26580
26581 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
26582 (dbx_gdb_load): Remove. Use gdb_load instead, since that
26583 proc knows about targets other than the natives.
26584 (test_assign): Use "gdb_run_cmd" to "run" the target.
26585 Check that we've actually hit the breakpoint at main.
26586 When we attempt to assign a value to a local variable, check
26587 that the variable is in the current scope, i.e., don't use
26588 a test with an empty result.
26589
26590 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
26591
26592 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
26593 command.
26594
26595 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
26596
26597 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26598 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
26599 gdb.compat, gdb.threads-hp.
26600 gdb.hp/configure, gdb.hp/configure.in: New files.
26601 gdb.hp/Makefile.in: Recurse into new subdirs.
26602 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
26603 gdb.hp/gdb.objdbg: New directory, tests for debugging info
26604 in object files.
26605 gdb.hp/tools: New directory, aux tools for HP-specific tests.
26606
26607 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
26608
26609 * gdb.base/display.exp: Help expect by putting a newline in the
26610 funky printf, remove a bogus p/a test.
26611
26612 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26613
26614 * gdb.base/display.exp: Make sure that when we say 'run', we are
26615 connected to the target. This is necessary when running not
26616 natively.
26617
26618 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
26619
26620 * gdb.base/step-test.exp: Removed some extraneous messages.
26621
26622 * gdb.base/long_long.exp: Don't run memory examination tests
26623 on little-endian targets (they will need a different set of
26624 results to match).
26625
26626 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
26627
26628 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
26629 until somebody decides to fix GDB.
26630
26631 * gdb.base/long_long.c: Stop compiler complaint by specifying long
26632 constant as "ULL".
26633 * gdb.base/long_long.exp: Loosen x/c test, add partial result
26634 matches for a couple x/2 commands.
26635
26636 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
26637
26638 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
26639 by merging in ref-types2 tests.
26640 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
26641
26642 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26643 * gdb.c++/Makefile.in: Add standard actions.
26644 (EXECUTABLES): Rename from PROGS, update list.
26645 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
26646 from gdb.hp.
26647 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
26648 foo and bar locals.
26649 * gdb.c++/anon-union.exp: Fix tests to match.
26650 * gdb.c++/classes.exp: Run if HP compiler used, add extra
26651 expect matches to handle output variations.
26652 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
26653 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
26654 output, add HP alternatives for new and delete prints.
26655 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
26656 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
26657 * gdb.c++/demangle.exp: Use $style when reporting failure.
26658 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
26659 * gdb.c++/inherit.exp: Run if HP compiler used, add some
26660 match alternatives.
26661 * gdb.c++/local.exp: Add match alternatives or xfails for HP
26662 compilers.
26663 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
26664 * gdb.c++/method.exp: Add match alternatives.
26665 * gdb.c++/misc.cc: Add bool types.
26666 * gdb.c++/misc.exp: Add tests for bool types.
26667 * gdb.c++/overload.exp: Add xfails.
26668 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
26669 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
26670 add some more template parameter tests (only for HP currently).
26671 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
26672 * gdb.c++/virtfunc.cc: Add return type and value for main.
26673 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
26674 match alternatives.
26675
26676 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26677
26678 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
26679
26680 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
26681
26682 * gdb.base/signals.exp: Don't expect getting a backtrace from
26683 within a signal handler to fail on Linux.
26684
26685 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
26686
26687 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26688 * lib/gdb.exp: Remove some gratuitious semicolons.
26689 (delete_breakpoints): Increase timeout.
26690 (gdb_expect): Add -notransfer option.
26691 (gdb_test): Use -notransfer option.
26692 (get_compiler_info): Add f77 case.
26693 (get_compiler): New proc, split out from gdb_preprocess, add f77
26694 case.
26695 (gdb_preprocess): Call get_compiler.
26696
26697 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
26698 * gdb.base/attach.exp, gdb.base/display.exp,
26699 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
26700 gdb.base/long_long.exp, gdb.base/printcmds.exp,
26701 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
26702 third arg to gdb_test.
26703 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
26704 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
26705 HP-UX xfails, add others.
26706 * gdb.base/completion.exp: Reflect name change of self-test.
26707 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
26708 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
26709 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
26710 HP failure number.
26711 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
26712 useless HP-UX 10.30 references.
26713 * gdb.base/maint.exp: Loosen matches.
26714 * gdb.base/pointers.c (main): Declare more_code.
26715 * gdb.base/pointers.exp: Match on output of a `next'.
26716 * gdb.base/structs.c: Add prototypes.
26717 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
26718 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
26719
26720 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26721
26722 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
26723 command.
26724
26725 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26726
26727 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
26728 Fix run to main failures. Watchpoint can be hardware watchpoint.
26729
26730 * gdb.base/annota1.exp: Clean up some more, in case printf has
26731 debug info. Deal with lack of signal hanlder info in stack.
26732
26733 From Jim Kingdon <kingdon@redhat.com>:
26734 * gdb.base/annota1.exp: If printf has debug info, deal with it.
26735
26736 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
26737
26738 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
26739 gdb.base/foll-vfork.exp: Don't run for crosses.
26740
26741 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
26742
26743 * gdb.base/configure.in: Check for gdbvars.exp instead of
26744 a1-selftest.exp.
26745 * gdb.base/configure: Re-generate.
26746
26747 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
26748
26749 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
26750 in trying to run first and name is too long.
26751
26752 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
26753 pointers2.c and pointers2.exp, respectively.
26754 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
26755 doschk happier.
26756
26757 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
26758
26759 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
26760 callfuncs2.c and callfuncs2.exp.
26761
26762 * gdb.base/list.exp: Remove mistaken xfails.
26763 * gdb.base/list0.h: Add optional prototypes.
26764
26765 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
26766
26767 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
26768 calling malloc.
26769 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
26770 * ptype.exp: Move test for get_debug_format to before its first
26771 use.
26772
26773 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26774
26775 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
26776 * gdb.base/annota2.cc, annota2.exp: Move from here.
26777 * gdb.c++/annota2.cc, annota2.exp: To here.
26778 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
26779
26780 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
26781
26782 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
26783 a consistent format.
26784
26785 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
26786
26787 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26788 * lib/gdb.exp (get_compiler_info): Add detection for assorted
26789 HP compilers, also set the globals $true and $false.
26790
26791 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
26792 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
26793 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
26794 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
26795 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
26796 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
26797 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
26798 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
26799 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
26800 whatis.c} Add C++ compatible function definitions and return
26801 types, add includes for library functions.
26802 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
26803 * gdb.base/step-test.c (myglob): Rename from glob.
26804 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
26805 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
26806 files, move here from gdb.hp.
26807 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
26808 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
26809 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
26810 Adjust line numbers in regexps.
26811
26812 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
26813 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
26814 instead of 0/1.
26815
26816 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
26817 foll-vfork.exp: New files, move here from gdb.hp.
26818 * gdb.base/page.exp: New file, test of pagination command.
26819
26820 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
26821 recursion test.
26822 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
26823
26824 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
26825 gdb.base/solib.exp: Fix compiler invocation process.
26826
26827 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
26828 HP-UX 11, turn off overload resolution explicitly.
26829 * gdb.base/commands.exp: Set argument list explicitly, add
26830 watchpoint test.
26831 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
26832 them work.
26833 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
26834 expressions properly.
26835 * gdb.base/corefile.exp: Loosen the match slightly.
26836 * gdb.base/default.exp: Allow "Error accessing memory" message
26837 also.
26838 * gdb.base/display.exp: Skip over x/0 j if PA64.
26839 * gdb.base/funcargs.exp: Add xfails for HP-UX.
26840 * gdb.base/interrupt.exp: Ditto.
26841 * gdb.base/langs.exp: Add symbolic matches governed by compiler
26842 in use.
26843 * gdb.base/list.exp: Add xfails for HP-UX.
26844 * gdb.base/long_long.exp: Refine some of the numeric matches.
26845 * gdb.base/mips_pro.exp: Xfail on HP-UX.
26846 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
26847 * gdb.base/nodebug.exp: Succeed on more varieties of output.
26848 * gdb.base/opaque.exp: Remove some HP-UX xfails.
26849 * gdb.base/ptype.exp: Succeed on more varieties of output.
26850 * gdb.base/scope.exp: Add xfails for HP-UX.
26851 * gdb.base/sect-cmd.exp: Add more cases.
26852 * gdb.base/setvar.exp: Add xfails for HP-UX.
26853 * gdb.base/shlib-call.exp: Loosen some matches slightly.
26854 * gdb.base/signals.exp: Match on void symbolically.
26855 * gdb.base/step-test.exp: Add case for PA64.
26856 * gdb.base/term.exp: Add exit and restart.
26857 * gdb.base/twice.exp: Clean up after self.
26858 * gdb.base/varargs.exp: Disable overload resolution explicitly.
26859 * gdb.base/whatis.exp: Allow more ways to pass tests.
26860
26861 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
26862 no longer useful.
26863
26864 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
26865
26866 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
26867 list of patterns.
26868 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
26869 print_double_array(double_array)", "continuing to breakpoint
26870 1018", "print print_double_array(array_d)" and "continuing to
26871 1034" tests.
26872
26873 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
26874
26875 * Makefile.in: Add empty html and install-html targets.
26876
26877 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
26878
26879 * config/mt-*: Remove, these haven't been used since 1996.
26880
26881 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
26882
26883 * gdb.base/call-strs.c, gdb.base/ending-run.c,
26884 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
26885 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
26886
26887 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
26888
26889 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
26890 simpler match case for the ptype of the big class.
26891
26892 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26893
26894 * gdb.exp: Fix test for gdb_prompt existence.
26895
26896 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26897
26898 * gdb.exp (gdb_test): Add fail after calls to perror.
26899
26900 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26901
26902 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
26903
26904 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26905
26906 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
26907
26908 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
26909
26910 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
26911 malloc() is linked in.
26912
26913 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26914
26915 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
26916 step at end.
26917
26918 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
26919
26920 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
26921
26922 * gdb.java/jv-print.exp: New file. (Our first Java test!)
26923
26924 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
26925
26926 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
26927 * gdb.base/mips_pro.exp: Likewise.
26928
26929 1999-06-02 Keith Seitz <keiths@cygnus.com>
26930
26931 * gdb.c++/templates.cc: Change all "new" operators to throw
26932 an exception.
26933 * gdb.c++/cplusfuncs.cc: Likewise.
26934
26935 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
26936
26937 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
26938
26939 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
26940 * gdb.base/ending-run.exp: When stepping out of main, accept a
26941 step into an arbitrary assembler file.
26942
26943 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26944
26945 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
26946 "breakpoint-invalid" to be printed.
26947 * gdb.base/annota2.exp: Revise line number for main
26948 breakpoint. Allow any number of "frames-invalid" and
26949 "breakpoint-invalid" to be printed.
26950 * gdb.base/annota2.cc: Initialize a.x to 0.
26951
26952 1999-05-17 Keith Seitz <keiths@cygnus.com>
26953
26954 * gdb.base/call-ar-st.exp: Skip
26955 "print print_double_array (double_array)" when "skip_float_tests" set.
26956 Ditto for "print print_double_array(array_d)",
26957 "print print_small_structs", "print print_ten_doubles", and
26958 "step into print_long_arg_list".
26959 Don't assume we can step into "print_long_arg_list": we could step
26960 into memcpy.
26961 * gdb.base/call-rt-st.exp: Don't run float-related tests when
26962 "skip_float_tests" is set: "print print_one_double(*d1)"
26963 and "print print_two_floats(*f3)".
26964 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
26965 "skip_float_tests" is set.
26966 * gdb.base/varargs.exp: Skip
26967 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
26968 "skip_float_tests" set.
26969
26970 1999-05-06 Keith Seitz <keiths@cygnus.com>
26971
26972 * gdb.base/annota2.cc: Include stdio.h.
26973
26974 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
26975
26976 * gdb.base/crossload.exp: Remove, this has been disabled ever
26977 since BFD stopped including all targets, and cross-GDB gets
26978 plenty of testing anyway.
26979 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
26980 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
26981 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
26982 * gdb.base/README: Remove, was doc for this.
26983 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
26984 needed.
26985
26986 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26987
26988 * gdb.base/call-ar-st.exp: Fix one regular expression in test
26989 output.
26990
26991 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
26992 * gdb.base/annota2.exp: New file. More annotation tests.
26993 * gdb.base/annota1.c: New file. Source file for annota1.exp.
26994 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
26995
26996 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
26997
26998 * config/cfdbug.exp: New file.
26999
27000 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
27001
27002 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
27003 Marcus Daniel's and Dale Hawkins's demangler crashes.
27004
27005 * gdb.c++/demangle.exp (test_gnu_style_demangling,
27006 test_lucid_style_demangling, test_arm_style_demangling,
27007 test_hp_style_demangling): Try Tom Tromey's core-dumping
27008 identifier under each demangling style.
27009
27010 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
27011
27012 * gdb.c++/demangle.exp: Include the current demangling style
27013 in all test names.
27014 (current_demangling_style): New global variable.
27015 (set_demangling_style, test_demangling_core, test_demangling,
27016 test_demangling_exact): New functions.
27017 (test_gnu_style_demangling, test_lucid_style_demangling,
27018 test_arm_style_demangling, test_hp_style_demangling): Use those,
27019 instead of calling gdb_test and gdb_test_exact directly.
27020 (catch_demangling_errors): New function, which reports errors
27021 signalled by the demangling test functions in an orderly way.
27022 (do_tests): Use catch_demangling_errors.
27023
27024 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
27025
27026 * gdb.base/signals.exp (test_handle_all_print): Use () for
27027 grouping in expressions, not {}.
27028
27029 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
27030 initialized yet.
27031
27032 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
27033
27034 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
27035 are listed.
27036
27037 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
27038
27039 * gdb.stabs/weird.exp: Test for CC being defined before
27040 looking at its value.
27041
27042 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
27043
27044 * gdb.base/call-ar-st.exp: Remove stray '#'.
27045 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
27046 "short int" and "long int".
27047 * gdb.c++/overload.cc: Cast the string added in the previous
27048 change, to mollify finicky HP compiler.
27049 * gdb.hp/reg-test.exp (testfile): Fix file name.
27050 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
27051
27052 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
27053 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
27054 alternate form of enum ptype.
27055
27056 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
27057
27058 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
27059 * gdb.hp/*.exp: Change all to run compiler probe only after
27060 passing skip_hp_tests, so as not to waste time on guaranteed
27061 failure.
27062
27063 * gdb.c++/overload.cc: Pass string instead of char addr, always
27064 init ccpfoo.
27065 * gdb.c++/templates.cc: Fix syntax error.
27066
27067 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27068
27069 * gdb.base/commands.exp: Add test for correct position of '>'
27070 when issuing the 'commands' command after a 'while' or 'if'
27071 command.
27072
27073 1999-03-18 James Ingham <jingham@cygnus.com>
27074
27075 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
27076
27077 * gdb.c++/method.exp: It was testing an uninitialized int on the
27078 stack and assuming it was positive.
27079
27080 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
27081
27082 * gdb.base/step-test.exp: Catch a case where finish is broken and
27083 keep it from killing the rest of the tests.
27084 Use gdb_continue_to_end.
27085
27086 * gdb.base/sigall.exp: use gdb_continue_to_end.
27087
27088 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
27089
27090 * gdb.base/display.exp: use runto_main, not run.
27091
27092 * gdb.base/default.exp: Check for the current error message in the
27093 r abbreviation test.
27094 Add strongarm to the targets that know info float.
27095
27096 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
27097 run which doesn't work with monitors.
27098
27099 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
27100 1034 test.
27101
27102 * gdb.base/break.exp: use the gdb_continue_to_end proc.
27103
27104 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
27105 end of a program. Traps the case (in Cygmon) when the program
27106 never really exits. Same as Mark's continue_to_exit, but I had
27107 put it in a lot more places, so I used my name. Sorry Mark...
27108
27109 * config/monitor.exp (gdb_target_monitor): added another
27110 target_info parameter: remotebinarydownload. This will set the
27111 remotebinarydownload flag if this is causing some boards trouble.
27112
27113 1999-03-18 Mark Salter <msalter@cygnus.com>
27114
27115 * lib/gdb.exp (continue_to_exit): New function.
27116
27117 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
27118 * gdb.base/ending-run.exp: Ditto.
27119 * gdb.base/step-test.exp: Ditto.
27120
27121 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
27122
27123 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
27124 (suggested by Art Haas <ahaas@neosoft.com>).
27125
27126 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
27127
27128 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
27129
27130 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
27131
27132 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
27133 descriptions of types (short unsigned int vs unsigned short, etc).
27134
27135 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
27136
27137 * gdb.base/call-strs.exp: Don't assume that `step' will step over
27138 a call to strlen; sometimes we do have sources.
27139
27140 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
27141
27142 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
27143 character, so GDB won't print garbage after its end.
27144
27145 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
27146 breakpoint there instead. Sometimes GCC emits memcpy to handle
27147 the large structures being passed by value, so we step into that
27148 instead of sum_array_print, which obscures what we're really testing.
27149 * gdb.base/step-test.exp: However, we do want a test that notices
27150 the bizarre steps into memcpy, so do that here. Add check for
27151 stepping into function calls that pass large structures by value.
27152 ("Is that a noun clause, or are you just happy to see me?")
27153 Remove all references to specific line numbers.
27154 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
27155 New type and function.
27156 (main): Call large_struct_by_value, passing it a large struct by value.
27157 * lib/gdb.exp (gdb_get_line_number): New function.
27158
27159 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
27160 more portable.
27161
27162 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
27163
27164 * lib/gdb.exp: Doc fixes.
27165
27166 1999-03-05 Nick Clifton <nickc@cygnus.com>
27167
27168 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
27169
27170 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
27171
27172 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
27173 commands. They're not germane to this test, and they don't work
27174 that way on remote targets.
27175
27176 1999-03-01 James Ingham <jingham@cygnus.com>
27177
27178 * Changelog entries merged over from gdb development branch.
27179
27180 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
27181
27182 * lib/gdb.exp (gdbtk_analyze_results): Generic function
27183 for outputting results of test run.
27184
27185 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
27186
27187 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
27188
27189 1999-02-25 Felix Lee <flee@cygnus.com>
27190
27191 * lib/gdb.exp (debug_format): initialize
27192
27193 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
27194
27195 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
27196 * gdb.base/call-rt-st.c: Ditto.
27197
27198 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
27199
27200 * gdb.threads/pthreads.exp (horiz): New variable.
27201 (test_startup): Fix regexps that capture thread numbers.
27202
27203 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
27204
27205 * gdb.base/smoke.exp: Disambiguate two test case names (both
27206 called ``print'').
27207
27208 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
27209
27210 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
27211 compilation.
27212
27213 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
27214
27215 * gdb.base/miscexprs.exp: Change patterns to match GDB's
27216 actual output formatting.
27217 * gdb.base/smoke.exp: GDB removes leading 0's.
27218 * gdb.base/volatile.exp: Don't check type of remuneration;
27219 that variable is no longer defined in constvars.c.
27220 * gdb.base/step-test.c (main): Exit with explicit exit code.
27221 * gdb.base/step-test.exp: Remove two nexti checks--they are
27222 not portable.
27223
27224 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
27225
27226 * gdb.base/help.exp ("help delete display"): Fix test to match
27227 gdb's output.
27228
27229 * gdb.base/long_long.c (known_types): Initialize values to zero.
27230 * gdb.base/long_long.exp: Step one more line
27231 so 'dec' is initialized in "get to known place". GDB removes
27232 leading zeros. Explicitly ask for hex formatting. Use
27233 unique test case names.
27234
27235 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27236
27237 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
27238
27239 * gdb.c++/method.exp: Add missing close brace.
27240
27241 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
27242
27243 * gdb.base/maint.exp: Use 'set height 0' to disable page
27244 prompting, not 'set height 400'.
27245
27246 Fix a bunch of timeouts.
27247 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
27248 four separate tests, so expect doesn't take forever to match a ton
27249 of text against a regexp with lots of .* forms.
27250 ("maint print psymbols", "maint print symbols"): Make some of
27251 these greps more selective, so that expect doesn't try to wade
27252 through huge piles of output and time out.
27253
27254 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
27255
27256 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
27257 tests: one which doesn't expect shlib events to be reported, and
27258 another which does, but is XFAIL for all platforms other than
27259 HP/UX.
27260
27261 * gdb.base/break.exp: Teach the test suite that the `catch
27262 fork', `catch vfork', and `catch exec' commands produce error
27263 messages on platforms that don't provide these features.
27264
27265 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
27266
27267 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
27268 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
27269 (shortening names from solib_threshold.exp etc), won't run on
27270 anything but HP-UX for the foreseeable future.
27271 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
27272 reflect move.
27273
27274 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
27275
27276 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
27277 gdb.trace/Makefile.in (clean): Remove all test executables.
27278
27279 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
27280
27281 * gdb.base/shlib-call.exp: add test cases to verify that gdb
27282 successfully re-sets breakpoints in shared libraries.
27283 * gdb.base/shmain.c (main): return 0, don't fall off the end.
27284
27285 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27286
27287 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
27288 and compiled w/o GCC.
27289
27290 * gdb.hp/watch-cmd.exp: ditto.
27291
27292 * gdb.hp/watch-hp.exp: ditto.
27293
27294 * gdb.hp/xdb1.exp: ditto.
27295
27296 * gdb.hp/xdb2.exp: ditto.
27297
27298 * gdb.hp/dbx.exp: ditto.
27299
27300 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
27301
27302 * constvars.c: Remove C++-isms.
27303 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
27304 with GCC.
27305
27306 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
27307
27308 The following changes are part of the HP merge.
27309
27310 * gdb.base/break.exp: new tests to verify that catchpoints for
27311 fork, vfork, and exec don't trigger inappropriately.
27312
27313 * gdb.base/opaque.exp: compile one file at a time, then link.
27314
27315 * gdb.base/signals.exp: be more restrictive about which hppa
27316 systems receive a setup_xfail. new tests.
27317
27318 * gdb.base/solib_threshold.build: new file.
27319 * gdb.base/solib_threshold.exp: new file.
27320 * gdb.base/solib_threshold.link_opts: new file.
27321 * gdb.base/solib_threshold.mk: new file.
27322 * gdb.base/gen_solib_threshold.c: new file.
27323
27324 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
27325 tests. New tests for enums inside classes.
27326
27327 * gdb.c++/compiler.cc: indicate support of template debugging.
27328
27329 * gdb.c++/demangle.exp: run hp style demangling tests.
27330
27331 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
27332 tests.
27333
27334 * gdb.c++/misc.cc: changes to support new tests.
27335
27336 * gdb.c++/templates.cc: changes to support HP's compiler; changes
27337 to support new tests.
27338
27339 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
27340 gcc, then skip these tests.
27341
27342 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
27343
27344 The following files are part of the HP merge; some had longer
27345 names at HP, but have been renamed to be no more than 14
27346 characters in length.
27347
27348 * gdb.hp/ambiguous.cc: new file.
27349 * gdb.hp/ambiguous.exp: new file.
27350 * gdb.hp/attach.exp: new file.
27351 * gdb.hp/attach2.exp: new file.
27352 * gdb.hp/classes-hp.exp: new file.
27353 * gdb.hp/ctti.exp: new file.
27354 * gdb.hp/ctti-add.cc: new file.
27355 * gdb.hp/ctti-add1.cc: new file.
27356 * gdb.hp/ctti-add2.cc: new file.
27357 * gdb.hp/ctti-add3.cc: new file.
27358 * gdb.hp/dbx.exp: new file.
27359 * gdb.hp/exception.cc: new file.
27360 * gdb.hp/exception.exp: new file.
27361 * gdb.hp/foll-exec.c: new file.
27362 * gdb.hp/foll-exec.exp: new file.
27363 * gdb.hp/foll-fork.c: new file.
27364 * gdb.hp/foll-fork.exp: new file.
27365 * gdb.hp/foll-vfork.c: new file.
27366 * gdb.hp/foll-vfork.exp: new file.
27367 * gdb.hp/inherit-hp.exp: new file.
27368 * gdb.hp/more-steps.exp: new file.
27369 * gdb.hp/namespace.cc: new file.
27370 * gdb.hp/namespace.exp: new file.
27371 * gdb.hp/optimize.exp: new file.
27372 * gdb.hp/pxdb.c: new file.
27373 * gdb.hp/pxdb.exp: new file.
27374 * gdb.hp/quicksort.exp: new file.
27375 * gdb.hp/reg-test.exp: new file.
27376 * gdb.hp/reg-test.s: new file.
27377 * gdb.hp/sized-enum.c: new file.
27378 * gdb.hp/sized-enum.exp: new file.
27379 * gdb.hp/start-stop.exp: new file.
27380 * gdb.hp/templ-hp.cc: new file.
27381 * gdb.hp/templ-hp.exp: new file.
27382 * gdb.hp/thr-lib.c: new file.
27383 * gdb.hp/thr-lib.exp: new file.
27384 * gdb.hp/thr-lib.h: new file.
27385 * gdb.hp/thr-liblib.c: new file.
27386 * gdb.hp/virtfun-hp.c: new file.
27387 * gdb.hp/virtfun-hp.exp: new file.
27388 * gdb.hp/watch-cmd.exp: new file.
27389 * gdb.hp/watch-hp.exp: new file.
27390 * gdb.hp/xdb1.exp: new file.
27391 * gdb.hp/xdb2.exp: new file.
27392 * gdb.hp/xdb3.exp: new file.
27393
27394 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
27395
27396 The following files are part of the HP merge; some had longer
27397 names at HP, but have been renamed to be no more than 14
27398 characters in length.
27399
27400 * gdb.base/ss.h: new file.
27401 * gdb.base/call-ar-st.c: new file.
27402 * gdb.base/call-ar-st.exp: new file.
27403 * gdb.base/call-rt-st.c: new file.
27404 * gdb.base/call-rt-st-exp: new file.
27405 * gdb.base/call-strs.exp: new file.
27406 * gdb.base/ena-dis-br.exp: new file.
27407 * gdb.base/environ.exp: new file.
27408 * gdb.base/long_long.exp: new file.
27409 * gdb.base/sect-cmd.exp: new file.
27410 * gdb.base/shlib-cl2.exp: new file.
27411 * gdb.base/smoke.exp: new file.
27412 * gdb.base/so-impl-ld.c: new file.
27413 * gdb.base/so-impl-ld.exp: new file.
27414 * gdb.base/so-indr-cl.c: new file.
27415 * gdb.base/so-indr-cl.exp: new file.
27416 * gdb.base/varargs.exp: new file.
27417 * gdb.base/volatile.exp: new file.
27418 * gdb.base/whatis-exp.exp: new file.
27419 * gdb.base/display.exp: new file.
27420 * gdb.c++/derivation.exp: new file.
27421 * gdb.c++/local.exp: new file.
27422 * gdb.c++/member-ptr.exp: new file.
27423 * gdb.c++/overload.exp: new file.
27424 * gdb.c++/ovldbreak.exp: new file.
27425 * gdb.c++/ref-types.exp: new file.
27426 * gdb.c++/ref-types2.exp: new file.
27427 * gdb.c++/userdef.exp: new file.
27428
27429 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
27430
27431 * gdb.base/default.exp: Reflect wording change in remote.c.
27432
27433 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
27434
27435 * gdb.base/help.exp: Update to reflect current text.
27436
27437 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
27438
27439 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
27440 they're stack variables and contain garbage.
27441 * gdb.c++/anon-union.exp: new file.
27442
27443 The following changes were made by David Taylor
27444 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
27445 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
27446 in changes by HP.
27447
27448 * gdb.base/bitops.exp: new file.
27449 * gdb.base/default.exp: change expected messages for catch and
27450 info catch tests to reflect HP merge changes.
27451 * gdb.base/enable-disable-break.exp
27452 * gdb.base/ending-run.c: new file.
27453 * gdb.base/long_long.c: new file.
27454 * gdb.base/maint.exp: new file.
27455 * gdb.base/pointers2.exp: new file.
27456 * gdb.base/shlib-call2.exp: new file.
27457 * gdb.base/solib.exp: new file.
27458 * gdb.base/step-test.c: new file.
27459 * gdb.c++/anon-union.cc: new file.
27460 * gdb.c++/local.cc: new file.
27461 * gdb.c++/member-pointer.cc: new file.
27462 * gdb.c++/method.cc: new file.
27463 * gdb.c++/ref-types.cc: new file.
27464 * gdb.c++/ref-types2.cc: new file.
27465 * gdb.c++/userdef.cc: new file.
27466
27467 * gdb.base/scope.exp: compile one file at a time, then link.
27468 * gdb.base/langs.exp: ditto.
27469 * gdb.base/list.exp: ditto.
27470
27471 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
27472
27473 The following changes were made by David Taylor
27474 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
27475 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
27476 in changes by HP.
27477
27478 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
27479 skip tests. When compiling pass c++ flag to gdb_compile.
27480 * gdb.c++/
27481
27482 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
27483 test for on hppa*-*-hpux*; use args to see if c++ was specified.
27484 (skip_hp_tests): new function.
27485 (gdb_preprocess): new function.
27486
27487 * configure.in (hpdir): decide whether to configure gdb.hp.
27488 * configure: regenerated.
27489
27490 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
27491 to delete on clean.
27492 (EXECUTABLES): update to reflect new additions.
27493 * gdb.base/commands.exp: update message expected.
27494 * gdb.base/default.exp: add copyright notice.
27495 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
27496 * gdb.base/help.exp: update messages to reflect current text.
27497 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
27498 targets for recurse tests.
27499 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
27500 skip this file.
27501
27502 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
27503 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
27504 compilation.
27505 * gdb.c++/misc.exp: ditto.
27506 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
27507 run the tests. tell gdb_compile that it's a c++ compilation.
27508
27509 * gdb.threads/pthreads.exp: fix typo in message.
27510
27511 * gdb.base/all-bin.exp: new file.
27512 * gdb.base/arithmet.exp: new file.
27513 * gdb.base/assign.exp: new file.
27514 * gdb.base/completion.exp: new file.
27515 * gdb.base/cond-expr.exp: new file.
27516 * gdb.base/condbreak.exp: new file.
27517 * gdb.base/define.exp: new file.
27518 * gdb.base/dollar.exp: new file.
27519 * gdb.base/environment.exp: new file.
27520 * gdb.base/eval-skip.exp: new file.
27521 * gdb.base/jump.exp: new file.
27522 * gdb.base/logical.exp: new file.
27523 * gdb.base/pointers.exp: new file.
27524 * gdb.base/relational.exp: new file.
27525 * gdb.base/section_command.exp: new file.
27526 * gdb.base/whatis-expr.exp: new file.
27527
27528 * gdb.base/all-types.c: new file.
27529 * gdb.base/call-array-struct.c: new file.
27530 * gdb.base/call-return-struct.c: new file.
27531 * gdb.base/call-strings.c: new file.
27532 * gdb.base/callfuncs2.c: new file.
27533 * gdb.base/condbreak.c: new file.
27534 * gdb.base/constvars.c: new file.
27535 * gdb.base/display.c: new file.
27536 * gdb.base/int-type.c: new file.
27537 * gdb.base/jump.c: new file.
27538 * gdb.base/miscexprs.c: new file.
27539 * gdb.base/pointers.c: new file.
27540 * gdb.base/pointers2.c: new file.
27541 * gdb.base/shmain.c: new file.
27542 * gdb.base/shr1.c: new file.
27543 * gdb.base/shr2.c: new file.
27544 * gdb.base/solib.c: new file.
27545 * gdb.base/solib1.c: new file.
27546 * gdb.base/solib2.c: new file.
27547 * gdb.base/varargs.c: new file.
27548 * gdb.c++/derivation.cc: new file.
27549 * gdb.c++/overload.cc: new file.
27550 * gdb.c++/ovldbreak.cc: new file.
27551 * gdb.hp/attach.c: new file.
27552 * gdb.hp/attach2.c: new file.
27553 * gdb.hp/average.c: new file.
27554 * gdb.hp/compiler.c: new file.
27555 * gdb.hp/compiler.cc: new file.
27556 * gdb.hp/execd-program.c: new file.
27557 * gdb.hp/follow-exec.c: new file.
27558 * gdb.hp/follow-fork.c: new file.
27559 * gdb.hp/follow-vfork-and-exec.c: new file.
27560 * gdb.hp/misc-hp.cc: new file.
27561 * gdb.hp/more-steps.c: new file.
27562 * gdb.hp/optimize.c: new file.
27563 * gdb.hp/quicksort.c: new file.
27564 * gdb.hp/run-hp.c: new file.
27565 * gdb.hp/start-stop.c: new file.
27566 * gdb.hp/sum.c: new file.
27567 * gdb.hp/templates-hp.cc: new file.
27568 * gdb.hp/thread-local-in-lib.c: new file.
27569 * gdb.hp/thread-local-in-lib.h: new file.
27570 * gdb.hp/thread-local-in-lib.lib.c: new file.
27571 * gdb.hp/vforked-program.c: new file.
27572 * gdb.hp/virtfunc-hp.cc: new file.
27573 * gdb.hp/watchpoint-hp.c: new file.
27574 * gdb.hp/xdb.c: new file.
27575 * gdb.hp/xdb0.c: new file.
27576 * gdb.hp/xdb0.h: new file.
27577 * gdb.hp/xdb1.c: new file.
27578
27579 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
27580
27581 The following change was made by Edith Epstein
27582 <eepstein@cygnus.com> as part of a project to merge in changes
27583 originally made by HP; HP did not create ChangeLog entries.
27584
27585 * gdb.c++/demangle.exp: changed the expected output for some
27586 ARM-style mangling -- removed second reference to datatype.
27587 For example, maint demangle __dt__11T1__pt__2_cFv
27588 T1<char>::~T1<char>(void)
27589 becomes,
27590 maint demangle __dt__11T1__pt__2_cFv
27591 T1<char>::~T1(void)
27592
27593 (test_hp_style_demangling): new hp specific demangling test cases.
27594
27595 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
27596
27597 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
27598 * gdb.trace/backtrace.exp: Likewise.
27599 * gdb.trace/circ.exp: Likewise.
27600 * gdb.trace/collection.exp: Likewise.
27601 * gdb.trace/deltrace.exp: Likewise.
27602 * gdb.trace/infotrace.exp: Likewise.
27603 * gdb.trace/limits.exp: Likewise.
27604 * gdb.trace/packetlen.exp: Likewise.
27605 * gdb.trace/passc-dyn.exp: Likewise.
27606 * gdb.trace/passcount.exp: Likewise.
27607 * gdb.trace/report.exp: Likewise.
27608 * gdb.trace/save-trace.exp: Likewise.
27609 * gdb.trace/tfind.exp: Likewise.
27610 * gdb.trace/tracecmd.exp: Likewise.
27611 * gdb.trace/while-dyn.exp: Likewise.
27612 * gdb.trace/while-stepping.exp: Likewise.
27613
27614 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
27615
27616 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
27617
27618 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
27619
27620 From Brendan Kehoe:
27621 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
27622 int return types.
27623
27624 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
27625
27626 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
27627 remote dos host testing right.
27628
27629 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
27630
27631 * gdb.base/corefile.exp: remove some xfails.
27632
27633 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
27634
27635 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
27636 have different timestamps.
27637
27638 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
27639
27640 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
27641 gdb.base/default.exp: Replace "exec" with "executable".
27642
27643 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
27644
27645 * gdb.base/default.exp: Change else if to elseif from previous
27646 delta.
27647
27648 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
27649
27650 * gdb.base/default.exp: Add brace missing from previous delta.
27651
27652 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
27653
27654 * gdb.base/default.exp: Support test for info float for all
27655 varieties of arm toolchain.
27656
27657 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
27658
27659 * gdb.trace/*.exp: remove "remote_download" command.
27660
27661 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
27662
27663 * gdb.trace/*.exp: remove -gdwarf from compile.
27664
27665 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
27666
27667 * gdb.trace/configure.in(AC_INIT): typo
27668 * gdb.trace/configure: regenerated
27669
27670 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
27671
27672 * config/m68k-emc.exp: New file.
27673 * lib/<emc-support.exp trace-support.exp}: New files.
27674 * configure.in: add new test directory gdb.trace.
27675 * gdb.trace/{configure configure.in Makefile.in}: New files.
27676 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
27677 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
27678 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
27679 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
27680 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
27681 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
27682 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
27683
27684 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
27685
27686 * gdb.c++/classes.exp: Change all regular expressions to match
27687 arbitrary combinations of newline/carriage-return, so that they
27688 will work equally well on Unix and Windows.
27689 * gdb.c++/inherit.exp: ditto.
27690 * gdb.c++/virtfunc.exp: ditto.
27691
27692 1998-08-11 Dawn Perchik <dawn@cygnus.com>
27693
27694 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
27695
27696 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
27697
27698 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
27699 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
27700 to use a0-a3/d0-d3 as needed.
27701
27702 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
27703
27704 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
27705 * gdb.disasm/am33.exp: Corresponding changes.
27706
27707 1998-07-11 Felix Lee <flee@cygnus.com>
27708
27709 * gdb.base/callfuncs.exp: add cmp10 test.
27710 * gdb.base/callfuncs.c (cmp10): new function.
27711
27712 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
27713
27714 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
27715 into two parts to get around a synchronization problem in expect.
27716
27717 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
27718
27719 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
27720
27721 * configure.in: Add options for gdbtk testsuite.
27722
27723 * configure: Regenerate.
27724
27725 * gdb.gdbtk: New directory to hold gdbtk tests.
27726
27727 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27728
27729 * gdb.fortran/types.exp: Escape brackets in expect patterns
27730 for test_float_literal_types_accepted tests.
27731 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
27732 before run test.
27733
27734 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
27735
27736 * am33.exp: Just compile, do not link the testcase.
27737 * am33.s: Add ".am33" pseudoop to force am33 mode.
27738
27739 1998-06-25 Felix Lee <flee@cygnus.com>
27740
27741 * gdb.base/setshow.exp: make sure $pc is sane.
27742
27743 * gdb.stabs/weird.exp: split expect patterns properly.
27744
27745 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
27746
27747 * gdb.disasm/am33.s: New disassembler testfile for the am33.
27748 * gdb.disasm/am33.exp: Run it.
27749
27750 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
27751
27752 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
27753 match processing (and eliminate spurious timeouts when running).
27754
27755 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
27756
27757 * gdb.base/signals.exp (test_handle_all_print): put back Mach
27758 exception test, but conditionalize it on target [mach | gnu].
27759
27760 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
27761
27762 * gdb.base/overlays.exp: fixup compile line for linker script.
27763
27764 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
27765
27766 * gdb.fortran/types.exp: don't guess at float size.
27767
27768 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
27769
27770 * gdb.base/exprs.exp: delete test that depends on int size.
27771
27772 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
27773
27774 * config/sim.exp: Removed checks for target triplets.
27775 (gdb_target_sim): Use gdb,target_sim_options.
27776
27777 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
27778
27779 * gdb.base/reread.exp: New file.
27780 * gdb.base/reread1.c: New file.
27781 * gdb.base/reread2.c: New file.
27782
27783 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
27784
27785 * config/sim.exp: Use 'target sim -sparclite' when running
27786 SPARClite programs.
27787
27788 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
27789
27790 * gdb.base/structs2.exp: New file.
27791 * gdb.base/structs2.c: New file.
27792
27793 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
27794
27795 * gdb.asm/common.inc: New file.
27796 * gdb.asm/d10v.inc: New file.
27797 * asm-source.exp: Pass -I's to gas to find .inc files.
27798 Update line numbers in expected output.
27799 * asmsrc1.s: Rewrite.
27800 * asmsrc2.s: Rewrite.
27801 * configure.in: Create arch.inc symlink.
27802 * configure: Regenerate.
27803 * Makefile.in (distclean): Delete arch.inc.
27804
27805 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
27806
27807 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
27808 (t_enum_value2): ditto
27809 (t_enum_value3): ditto
27810 (main): ditto
27811 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27812
27813 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
27814 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
27815 change.
27816 Use gdb_test instead of send_gdb/gdb_expect sequences.
27817
27818 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
27819
27820 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
27821 not void.
27822
27823 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
27824
27825 * gdb.base/branches.c: Code with lots of loops and
27826 subroutines. Used to test gdbs ability to single step through PC
27827 changes, especially to test mips-tdep.c:mips_next_pc
27828
27829 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
27830
27831 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
27832 more rigorous EGCS C++ error checking.
27833
27834 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27835
27836 * gdb.base/help.exp: Clean up `help set args' and `help show args'
27837 tests.
27838 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
27839 function when asleep.
27840 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
27841 for i*86 Linux and SVR4 signal handling problems.
27842 Remove linux xfail for `next to handler in signals_tests_1', fixed
27843 by recent infrun.c change.
27844 Limit backtrace to 10 frames to avoid timeout problems with infinite
27845 stack backtraces.
27846 Adjust expect pattern in `handle all print' test to match Apr 28 1997
27847 target.[ch] change.
27848
27849 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
27850
27851 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
27852 for a newline from gdb before continuing.
27853 (default_gdb_exit): Just look for y or n.
27854 (gdb_test): Detect abnormal exit from GDB running on DOS; if
27855 it does, fail the rests of the tests in the file.
27856
27857 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
27858
27859 * config/cygmon.exp: New file.
27860
27861 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
27862
27863 * gdb.base/list.exp: Fix problem with "list default lines around
27864 main" test on remote targets.
27865
27866 * gdb.base/scope.exp: Fix problem with filelocal_bss before
27867 run test on remote targets.
27868
27869 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
27870
27871 * gdb.asm: New directory.
27872 * configure.in: Configure it.
27873 * configure: Regenerate.
27874 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
27875 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
27876
27877 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
27878
27879 * config/mn10300-eval.exp: New file to support MN10300 eval board.
27880
27881 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
27882
27883 * gdb.base/overlays (several files): Merge the two overlay
27884 managers into one. Change variables (foox, barx, bazx, grbxx)
27885 back into ints but force them to load in their proper sections.
27886
27887 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
27888
27889 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
27890 on-chip insn memory and IMAP1 to upper 128k.
27891 (D10VCopy): Handle memory regions crossing 16k boundaries.
27892 (D10VCopy): Transfer data in 32 bit chunks.
27893
27894 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
27895
27896 * gdb.base/overlays.c (main): Exit normally when result is
27897 correct.
27898
27899 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
27900 map. Include space for printf in .text segment.
27901
27902 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
27903 updated d10v memory VMA/LMA map.
27904 (D10VCopy): Call D10VTranslate.
27905
27906 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
27907
27908 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
27909
27910 * gdb.base/bar.c (barx, bar): Change variable to small array so
27911 that it won't be put into the .sdata - small data -
27912 section. Update reference.
27913 * gdb.base/baz.c (bazx, baz): Ditto.
27914 * gdb.base/foo.c (foox, foo): Ditto.
27915 * gdb.base/grbx.c (grbxx, grbx): Ditto.
27916
27917 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
27918 to be arrays.
27919
27920 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
27921
27922 * gdb.base/overlays.exp: fix up and get working again.
27923 Add tests for backtraces from an overlay function.
27924
27925 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
27926
27927 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
27928 "calling function with watchpoint enabled".
27929
27930 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
27931
27932 * gdb.base/break.exp (test_next_with_recursion): Remove
27933 gdb_suppress_tests for d10v-*-*.
27934 * lib/gdb.exp (gdb_suppress_tests): Disable this function
27935 pending review of whether it is useful or not.
27936
27937 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
27938
27939 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
27940
27941 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
27942
27943 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
27944 * config/dve.exp: New file to support Densan boards.
27945
27946 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
27947
27948 * gdb.base/interrupt.exp: Document problem of simulators, signals,
27949 reads and BSD.
27950
27951 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
27952
27953 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
27954 response.
27955
27956 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
27957
27958 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
27959
27960 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
27961 test.
27962
27963 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
27964 target_sizeof_long and target_bigendian_p.
27965 (structs_by_value, structs_by_reference): Check values according
27966 to targets word size and endianess.
27967
27968 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
27969
27970 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
27971 output.
27972
27973 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
27974
27975 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
27976 Update test of set args help to match source change.
27977
27978 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
27979
27980 * gdb.base/default.exp: Expect help system output to be in
27981 alphabetical order.
27982 * gdb.base/help.exp: Ditto.
27983
27984 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
27985
27986 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
27987 "i*86-pc-linux-gnu*".
27988 * gdb.base/interrupt.exp: Ditto.
27989 * gdb.base/corefile.exp: Ditto.
27990
27991 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
27992 define vxworks when building the testcase.
27993
27994 * gdb.base/ptype.exp: Fix testnames to be unique.
27995 * gdb.base/radix.exp: Ditto.
27996 * gdb.base/term.exp: Ditto.
27997 * gdb.base/whatis.exp: Ditto.
27998 * gdb.c++/classes.exp: Ditto.
27999
28000 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
28001
28002 * gdb.base/callfuncs.exp: Fix indentation.
28003
28004 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
28005 suppress_flag has been set.
28006 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
28007 target feature.
28008
28009 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
28010
28011 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
28012 the testcase.
28013
28014 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
28015 set_debug_traps() and breakpoint().
28016 * gdb.c++/misc.cc (main): Ditto.
28017 * gdb.c++/templates.cc (main): Ditto.
28018 * gdb.c++/virtfunc.cc (main): Ditto.
28019
28020 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
28021
28022 * lib/gdb.exp(gdb_step_for_stub): New function.
28023 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
28024 exists, reload the executable and do a "continue" instead of
28025 doing a jump.
28026 (runto_main): Use gdb_step_for_stub.
28027
28028 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
28029 tests to have unique names.
28030 * gdb.base/callfuncs.exp: Ditto.
28031 * gdb.base/commands.exp: Ditto.
28032 * gdb.base/default.exp: Ditto.
28033 * gdb.base/help.exp: Ditto.
28034 * gdb.base/list.exp: Ditto.
28035 * gdb.base/opaque.exp: Ditto.
28036 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
28037 similar tests.
28038
28039 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
28040 * gdb.c++/cplusfuncs.cc: Ditto.
28041 * gdb.c++/virtfunc.cc: Ditto.
28042
28043 * config/monitor.exp: Keep track of the last file we saw, rather
28044 than trying to get the info from gdb.
28045
28046 * gdb.fortran/types.exp: Move comment to previous line.
28047
28048 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
28049
28050 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
28051 target mode.
28052
28053 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
28054
28055 From Bob Manson:
28056 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
28057 string from GDB when it connects.
28058
28059 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
28060
28061 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
28062
28063 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
28064 if we can't get a debug format from GDB (we may be testing an
28065 older GDB). Use a 10 second timeout when checking for the format.
28066
28067 * gdb.stabs/weird.exp: Fix quoting.
28068
28069 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
28070
28071 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
28072
28073 * config/arm-ice.exp: New file.
28074
28075 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
28076
28077 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
28078 until it has been modified to work with the new testsuite.
28079
28080 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
28081 testcase won't compile, cause all of the testcases in the file to
28082 fail instead.
28083
28084 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
28085 (gdb_clear_suppressed): New procedure.
28086 (gdb_stop_suppressing_tests): Only clear suppress_flag if
28087 it contains a positive value.
28088
28089 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
28090
28091 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
28092
28093 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
28094
28095 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
28096
28097 * lib/gdb.exp (setup_xfail_format): New function.
28098 (get_debug_format): New function to get debug format.
28099 (debug_format): New global variable to hold last value set
28100 by get_debug_format.
28101 * gdb.base/list.exp: Call get_debug_format and expect some
28102 tests to fail for DWARF 1 and COFF formats.
28103 * gdb.c++/ptype.exp: Ditto.
28104 * gdb.c++/classes.exp: Ditto.
28105 * gdb.c++/cplusfuncs.exp: Ditto.
28106 * gdb.c++/inherit.exp: Ditto.
28107 * gdb.c++/templates.exp: Ditto.
28108 * gdb.c++/virtfunc.exp: Ditto.
28109
28110 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
28111
28112 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
28113 host doesn't have a currently-open connection.
28114
28115 * config/sparclet.exp: Cleanups and fixes to make it generic for
28116 any gdb stub target. Handle cases where gdb doesn't respond when
28117 interrupted in a sane fashion.
28118
28119 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
28120 same thing in a totally different way.
28121
28122 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
28123 setting "timeout".
28124 (gdb_start): We set the global gdb_prompt variable in
28125 default_gdb_init now.
28126
28127 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
28128
28129 * gdb.base/printcmds.exp: Fix "check for floating addition"
28130 regexp to accept results within approx +/- .01 of exact value.
28131 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
28132
28133 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
28134
28135 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
28136 properly.
28137 (gdb_expect): Add optional timeout parameter, and add timeout
28138 value to various calls.
28139 (gdb_suppress_tests): Only give one warning message per group.
28140
28141 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
28142
28143 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
28144 global variables. Handle getting a value for $timeout more
28145 gracefully.
28146
28147 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
28148
28149 * lib/gdb.exp: Close connection to remote host if gdb doesn't
28150 initialize.
28151 (default_gdb_init): New procedure; allow gdb_init to be overridden
28152 by a target configuration file.
28153 (gdb_expect): Pass the timeout to remote_expect.
28154
28155 * config/monitor.exp(gdb_load): Fix typo in regexp.
28156
28157 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
28158
28159 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
28160
28161 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
28162
28163 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
28164 here. Call gdb_target_exec before rebooting the target, to make
28165 sure the connection to the target is closed.
28166 (gdb_load): Pass the name of the executable to gdb_target_monitor.
28167 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
28168 Also detect "Timeout reading from remote" error.
28169
28170 * config/gdbserver.exp: Pass the executable being loaded to
28171 gdb_target_monitor. Don't call gdb_file_cmd here; let
28172 gdb_target_monitor do it.
28173
28174 * gdb.disasm/hppa.exp: Don't use exec_output.
28175
28176 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
28177
28178 * gdb.base/list.exp: If we're debugging a non-native target,
28179 try to set the pc register to point to the start of the
28180 program before doing the first list command.
28181
28182 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
28183 test_calls after restarting.
28184
28185 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
28186 reloading.
28187
28188 * gdb.base/watchpoint.exp: Fix typo.
28189
28190 * gdb.base/setshow.exp: Check for use_gdb_stub.
28191
28192 * gdb.base/break.exp: Fix continue until exit test for the gdb
28193 stub case.
28194 * gdb.base/langs.exp: Ditto.
28195
28196 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
28197 gdb_load_offset. If we weren't given a file to load, figure out
28198 what the current file is and use it.
28199
28200 * config/i386-bozo.exp: New file.
28201
28202 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
28203
28204 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
28205 feature.
28206
28207 * config/proelf.exp: New entry.
28208
28209 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
28210
28211 * lib/gdb.exp: Remove spurious .* patterns at the beginning
28212 of regexps.
28213
28214 * gdb.base/watchpoint.exp: Don't run the test_stepping
28215 tests if gdb can't call functions on the target.
28216
28217 * gdb.base/setshow.exp: Don't run the set prompt tests if
28218 the board has gdb_prompt set.
28219
28220 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
28221
28222 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
28223 * gdb.base/commands.exp: Likewise.
28224 * gdb.base/setshow.exp: Likewise.
28225
28226 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
28227
28228 * config/monitor.exp(gdb_start): Look for gdb_prompt target
28229 feature.
28230
28231 * config/i960.exp: New file.
28232
28233 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
28234
28235 * gdb.base/funcargs.exp: Check for gdb,short_int target
28236 feature instead of looking for explicit target triplets.
28237
28238 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
28239
28240 * gdb.base/printcmds.exp: add a couple more tests a la
28241 "p 123DEADBEEF", to check parse_number.
28242 * top.c: change "to enable to enable" to "to enable" in a couple
28243 of help strings.
28244
28245 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
28246
28247 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
28248 on the mn10300.
28249
28250 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
28251
28252 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
28253 where the test executable is run with explicit args.
28254 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
28255
28256 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
28257
28258 * gdb.base/run.c: Use FAKEARGV to build test executable that
28259 does not require a command line arg, since most simulators
28260 don't currently support passing such an arg into the simulated
28261 program.
28262 * gdb.base/commands.exp: Change tests to insert the proper
28263 value as the arg to the first recursive factorial call. Change
28264 compilation line to define FAKEARGV at compile time.
28265
28266 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
28267
28268 * gdb.base/recurse.exp: Enable these tests for the mn10300.
28269 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
28270 function with watchpoint enabled" test.
28271
28272 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
28273
28274 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
28275 Don't call gdb_test when the command doesn't return to a gdb prompt.
28276
28277 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
28278 "Tests restarted" messages.
28279
28280 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
28281
28282 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
28283
28284 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
28285
28286 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
28287 for INFO SYMBOL; add help tests for OVERLAY commands.
28288 * gdb.base/default.exp: add tests for INFO SYMBOL command;
28289 add tests for OVERLAY commands
28290 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
28291 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
28292 * gdb.base/sigall.c: add usestubs code frag
28293 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
28294
28295 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
28296
28297 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
28298 failures.
28299 (gdb_stop_suppressing_tests): Note that tests have restarted.
28300
28301 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
28302
28303 * config/h8300.exp: New file.
28304
28305 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
28306
28307 * gdb.base/setshow.exp: Check for the existence of a
28308 feature, not its value.
28309
28310 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
28311
28312 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
28313
28314 * gdb.base/scope.exp: It's now init0(), not init().
28315
28316 * gdb.base/scope0.c: For now, change init() to be init0().
28317
28318 * config/monitor.exp: Use gdb_serial in preference to serial
28319 or netport.
28320
28321 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
28322 and it's not already set.
28323
28324 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
28325
28326 * gdb.base/setshow.exp: Only test the run command if the target
28327 isn't using a stub and if it supports argument passing.
28328
28329 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
28330
28331 * config/udi.exp(gdb_start): Make sure UDICONF is set
28332 properly before starting gdb.
28333
28334 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
28335
28336 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
28337 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
28338 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
28339
28340 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
28341
28342 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
28343 specialized code to reboot the board, use remote_reboot instead.
28344
28345 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
28346
28347 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
28348
28349 * config/monitor.exp: Make sure we disconnect from the target.
28350 Also, try a reboot/reload cycle instead of failing if the
28351 load fails.
28352
28353 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
28354
28355 * gdb.base/default.exp: Don't set match_max.
28356 * gdb.base/help.exp: Ditto.
28357 * gdb.base/list.exp: Ditto.
28358 * gdb.base/signals.exp: Ditto.
28359
28360 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
28361 set, use remote_ld to download the testcase instead of
28362 the GDB loader.
28363
28364 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
28365
28366 * config/vr5000.exp: New file.
28367
28368 * config/monitor.exp(gdb_target_monitor): Add pattern for
28369 "Ending remote" to detect errors in connecting.
28370
28371 * gdb.base/setshow.exp: Add .* within auto language test.
28372
28373 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
28374 target feature.
28375
28376 * config/monitor.exp(gdb_load): Check for a failure when loading,
28377 and reboot the board if necessary.
28378
28379 * gdb.base/setvar.exp(test_set): Handle multiple prints within
28380 a set of tests. Remove print.* from the patterns being checked.
28381
28382 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
28383
28384 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
28385 refer to gdb_spawn_id.
28386
28387 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
28388 longer used.
28389 * config/sparclet.exp: Ditto.
28390 * config/sparclet-old.exp: Ditto.
28391 * config/slite.exp: Ditto.
28392 * config/sim.exp: Ditto.
28393 * gdb.base/funcargs.exp: Ditto.
28394
28395 * lib/gdb.exp:Remove references to gdb_spawn_id.
28396 (gdb_expect): Move to remote.exp.
28397
28398 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
28399
28400 * config/monitor.exp: Detect the "Couldn't establish connection"
28401 message from GDB.
28402
28403 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
28404
28405 * gdb.base/bitfields.exp: Use runto instead of explicit
28406 gdb_run_cmd/gdb_expect sequences.
28407
28408 * gdb.base/break.exp(text_next_with_recursion): Add match for
28409 gdb_expect call.
28410
28411 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
28412 We also need to handle the "A program is being debugged already"
28413 prompt from gdb. Use gdb_test to set the baud rate.
28414
28415 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
28416 to 20000. Really. I mean it.
28417
28418 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
28419
28420 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
28421 fails. If suppress_flag is set, skip perror message about not
28422 being able to send to GDB.
28423 (send_gdb): If suppress_flag is set, don't try to send commands to
28424 GDB.
28425 (gdb_expect): If suppress_flag is set, always fail immediately.
28426 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
28427 (gdb_init): Call gdb_stop_suppressing_tests.
28428 (default_gdb_exit): Ditto.
28429 (default_gdb_start): Ditto.
28430
28431 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
28432 gdb_stop_suppressing_tests as appropriate.
28433 * gdb.base/break.exp: Ditto.
28434 * gdb.base/callfuncs.exp: Ditto.
28435 * gdb.base/commands.exp: Ditto.
28436 * gdb.base/exprs.exp: Ditto.
28437 * gdb.base/funcargs.exp: Ditto.
28438 * gdb.base/list.exp: Ditto.
28439 * gdb.base/recurse.exp: Ditto.
28440 * gdb.base/scope.exp: Ditto.
28441 * gdb.base/structs.exp: Ditto.
28442 * gdb.c++/inherit.exp: Ditto.
28443
28444 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
28445
28446 * config/vr4300.exp: New file.
28447
28448 * gdb.*/*.exp: Call gdb_expect instead of expect.
28449
28450 * lib/gdb.exp(gdb_expect): New function.
28451
28452 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
28453
28454 * lib/gdb.exp(gdb_init): New function.
28455
28456 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
28457 for each individual variable set.
28458
28459 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
28460 name.
28461
28462 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
28463
28464 * gdb.base/scope.exp: Use gdb_test.
28465
28466 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
28467 aborting; the testsuite driver will do that for us (see
28468 gdb_finish). Also, use gdb_test in a few more places.
28469
28470 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
28471
28472 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
28473
28474 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
28475
28476 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
28477 and "add_tests" are not at the same address.
28478
28479 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
28480
28481 * gdb.base/ptype.exp: Use gdb_test.
28482
28483 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
28484
28485 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
28486 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
28487 left in. No longer expect them to fail.
28488
28489 * gdb.stabs/*.mt; Deleted, no longer used.
28490 * gdb.stabs/configure.in: Remove references to target makefile
28491 frags.
28492 * gdb.stabs/configure: Rebuilt.
28493
28494 * gdb.disasm/*.mt: Deleted, no longer used.
28495 * gdb.disasm/configure.in: Remove references to target makefile
28496 frags. Use "sh3.s" as the unique filename for this directory.
28497 * gdb.disasm/configure: Rebuilt.
28498
28499 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
28500 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
28501 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
28502
28503 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
28504
28505 * config/udi.exp: Use mondfe,name instead of remote_host.
28506
28507 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
28508
28509 * gdb.base/watchpoint.exp: Don't expect a failure when calling
28510 a function with a watchpoint enabled on the mn10200.
28511
28512 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
28513 before trying to create it!
28514
28515 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
28516
28517 * config/vx.exp: Use hostname instead of netport.
28518
28519 * config/vxworks.exp: New file.
28520
28521 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
28522
28523 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
28524 gdb before assuming everything worked. Send a ^C if a timeout
28525 occurs.
28526
28527 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
28528 $gdb_spawn_id directly.
28529 (gdb_run_cmd): Try _start as well as start. Use the target feature
28530 gdb,start_symbol as the symbol to start from when jumping.
28531
28532 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
28533
28534 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
28535 redundant) test.
28536
28537 * gdb.base/recurse.exp: Relax final value test for 'b' so that
28538 it doesn't lose for 16bit integer systems.
28539
28540 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
28541
28542 * gdb.fortran/types.exp: If the target doesn't support "double"
28543 data types, then expect "real" types to only be 4 bytes.
28544
28545 * gdb.c++/virtfunc.exp: Expect failure for virtual function
28546 call tests if the target doesn't support inferior function calls.
28547
28548 * gdb.base/printcmds.exp: Allow minor deviation in FP values
28549 in printf tests.
28550
28551 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
28552
28553 * gdb.base/help.exp: Disable "help set", "help show", and
28554 "help support". Simplify regexp for "help stack".
28555
28556 * gdb.base/default.exp: Set match_max to 5000 and the timeout
28557 to 60 seconds. Temporarily set match_max to 15000 around the
28558 "info copying" test.
28559
28560 * gdb.base/nodebug.exp: Don't try to do an inferior function
28561 call if the target doesn't support them.
28562 * gdb.base/printcmds.exp: Likewise.
28563 * gdb.base/setvar.exp: Likewise.
28564 * gdb.base/structs.exp: Likewise.
28565 * gdb.c++/templates.exp: Likewise.
28566 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
28567
28568 * gdb.base/recurse.exp: Enable for the mn10200.
28569
28570 * configure.in: Do configure gdb.stabs directory for *-*-elf
28571 targets.
28572 * configure: Rebuilt.
28573
28574 * gdb.base/break.exp: Check for gdb,noresults before testing
28575 exit status and/or results from the target.
28576 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
28577 * lib/gdb.exp: Remove old (now bogus) initialization of
28578 noinferior, noargs, noresults and nosignals.
28579
28580 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
28581
28582 * config/sh.exp: New file.
28583
28584 * config/slite.exp: Try to connect multiple times to the board
28585 before rebooting. Only send a "monitor run" if need_monitor_run
28586 is set.
28587
28588 * gdb.base/break.exp: Don't do the "stub continue" test if
28589 the target has gdb_stub set.
28590
28591 * gdb.base/callfuncs.exp: Increase the timeout.
28592
28593 * gdb.base/interrupt.exp: Don't even try to compile the testcase
28594 if the target has gdb,noinferiorio set.
28595
28596 * gdb.base/list.exp: Increase match_max to 10000 characters.
28597
28598 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
28599
28600 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
28601 target.
28602
28603 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
28604
28605 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
28606
28607 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
28608 trying to delete the copy of gdb. Catch the file delete so we
28609 don't die if the delete fails; also, the file should be copied to
28610 the host, not to the build.
28611
28612 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
28613
28614 * lib/gdb.exp(gdb_test): Surround the result pattern with
28615 parenthesis in case it contains multiple regexps separated
28616 with |.
28617
28618 * gdb.base/watchpoint.exp: Use gdb_test.
28619 * gdb.base/default.exp: Ditto.
28620
28621 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
28622
28623 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
28624
28625 * gdb.base/scope.exp: Use gdb_test.
28626 * gdb.c++/classes.exp: Ditto.
28627 * gdb.c++/inherit.exp: Ditto.
28628
28629 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
28630
28631 * gdb.base/crossload.exp: Don't use execute_anywhere, use
28632 remote_exec instead.
28633 * gdb.base/corefile.exp: Don't be ridiculous.
28634 * gdb.base/*.c: Add missing stub invocations.
28635
28636 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
28637
28638 * config/slite.exp: Miscellaneous fixes.
28639
28640 * lib/gdb.exp: Fix runto.
28641
28642 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
28643 the target.
28644
28645 * gdb.base/watchpoint.exp: Fix regexp.
28646
28647 * lib/gdb.exp(default_gdb_exit): Add a catch to the
28648 close and wait commands, as the descriptor may now be
28649 invalid. Always call "remote_close host".
28650
28651 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
28652
28653 Major rewrite for testsuite revision.
28654
28655 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
28656 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
28657 instead of relying on spawn_id to always contain a valid
28658 spawn id.
28659 (get_compiler_info): New procedure to build the ${binfile}.ci
28660 file, instead of replicating this in N different places.
28661 (gdb_compile): New procedure.
28662
28663 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
28664 appropriate arguments) instead of compile. Use gdb_test in a lot
28665 more places. Use send_gdb instead of send. Always run gdb_start
28666 at the start of a testcase, as this is no longer done magically.
28667
28668 config/*-gdb.exp: Rename without the -gdb suffix.
28669
28670 config/mips.exp: Use remote_close instead of exit_remote_shell.
28671 config/monitor.exp: Use target_info instead of looking at
28672 baud, timeout, etc.
28673 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
28674
28675 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28676
28677 * gdb.c++/templates.exp (test_ptype_of_templates),
28678 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
28679 Update expect patterns for destructors and assignment operators
28680 to match corresponding c-typeprint.c changes.
28681 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
28682 to destructor breakpoint test, GDB should be able to set the
28683 destructor breakpoint without specifying arguments.
28684
28685 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
28686
28687 * gdb.threads/pthreads.exp: Change result for failure to compile due
28688 to lack of pthreads runtime support from an error to simply an
28689 unsupported test, per dejagnu standards.
28690
28691 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28692
28693 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
28694 where GDB exits to reduce pattern match time.
28695 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
28696
28697 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
28698
28699 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
28700
28701 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
28702 * gdb.base/default.exp: ditto.
28703 * gdb.base/nodebug.exp: ditto.
28704 * gdb.base/printcmds.exp: ditto.
28705 * gdb.base/ptype.exp: ditto.
28706 * gdb.base/setvar.exp: ditto.
28707 * gdb.base/structs.exp: ditto.
28708 * gdb.base/setshow.c: Guard against uninitialized values of argc.
28709
28710 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
28711
28712 * configure, */configure: Rebuild with autoconf 2.12.
28713
28714 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
28715
28716 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
28717 use new i*86-pc-linux*-gnu quads.
28718 * gdb.base/corefile.exp: Ditto.
28719 * gdb.base/signals.exp: Ditto.
28720 * gdb.base/sigall.exp: Ditto.
28721 * gdb.base/interrupt.exp: Ditto.
28722
28723 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
28724 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
28725 RedHat 4.0.
28726
28727 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
28728 linux. This allows the test case to at least compile on latest
28729 linux, but still not run due to missing the threads runtime library.
28730
28731 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28732
28733 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
28734 directory to search gdb directory. Accept and step over conditional
28735 stack alignment code. Consume $prompt in failure cases.
28736 Reset timeout to $oldtimeout instead of some arbitrary value.
28737 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
28738 timeout problems with infinite stack backtraces.
28739 * gdb.base/ptype.exp (ptype struct link, union tu_link):
28740 Accept function parameters for linkfunc member.
28741
28742 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
28743
28744 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
28745 (CXXFLAGS): Remove, unreferenced.
28746 (B_OPTIONS): Add for -B options and add code to initialize with
28747 previous -B options and also add -B option to pick up cross compiled
28748 runtime.
28749 (TARGET_INCLUDES): Add for -I options and add code to initialize when
28750 doing cross compiles.
28751 (target_alias): Declare global.
28752 (xgcc): Set variable to full path of gcc in build tree. Use findfile
28753 to verify that gcc exists in build tree, and if so set CC to that
28754 gcc and to use B_OPTIONS and TARGET_INCLUDES.
28755
28756 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
28757
28758 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
28759 ptype test for anonymous union. Fixup testcase to match
28760 current gcc debug output.
28761
28762 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
28763
28764 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
28765 force argument to an unsigned long type.
28766
28767 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
28768
28769 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
28770 tests and anonymous union print/ptype tests.
28771 * gdb.base/list.exp (test_forward-search): Increase timeout by
28772 5 minutes for the "search extremely long line" case.
28773 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
28774 completely optional and that the pass/fail messages use the command as
28775 the message if that third arg is a null string.
28776 (gdb_test_exact): Arrange that a null string pattern means match a
28777 null string output rather than any output, which might include random
28778 errors.
28779 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
28780 backtrace test.
28781 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
28782 always failing and failure is now exposed by gdb.exp changes.
28783
28784 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
28785
28786 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
28787 weren't being noted.
28788
28789 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28790
28791 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
28792 * gdb.stabs/weird.exp: Remove v_comb xfails.
28793
28794 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
28795
28796 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
28797 list.exp scope.exp watchpoint.exp]
28798 Make all timeout error msgs explicitly say "(timeout)".
28799
28800 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
28801
28802 * config/monitor.exp: Increase download timeout to 1000 seconds.
28803
28804 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
28805
28806 * config/m32r.exp: Increase timeout to 120 seconds.
28807
28808 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
28809
28810 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
28811 and accept older ordering as obsolescent gcc or gdb.
28812 * gdb.c++/templates.exp: Ditto.
28813 * gdb.c++/virtfunc.exp: Ditto.
28814
28815 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
28816
28817 * gdb.base/coremaker.c: Add code to mmap some data so we
28818 can check that it ends up in the core file.
28819 * gdb.base/corefile.exp: Add test to read mmapped data
28820 from core file.
28821
28822 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
28823
28824 * config/m32r.exp: New file.
28825
28826 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
28827
28828 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
28829 that cflags can contains -gstabs, and work correctly for other tests.
28830
28831 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
28832
28833 * gdb.base/setshow.exp: New file, tests show and set.
28834 * gdb.base/setshow.c: New file, tests show and set.
28835 * gdb.base/help.exp: Add test for help set|show annotate.
28836 * gdb.base/default.exp: Add test for set|show annotate.
28837
28838 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
28839
28840 * testsuite/gdb.base/break.exp: Make backtrace from factorial
28841 errors unique.
28842 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
28843 explicitly.
28844
28845 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
28846
28847 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
28848 and width commands. This is done elsewhere.
28849 * (gdb_start): Don't call gdb_start_sim here. That's already
28850 done in gdb_load. This fixes lots of failures in default.exp.
28851
28852 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
28853
28854 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
28855 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
28856 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
28857 in the same we we treat other failures (since it may be an expected
28858 condition), rather than as an error.
28859 * gdb.base/signals.exp (test_handle_all_print): Revert back to
28860 old test format.
28861
28862 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
28863
28864 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
28865 (distclean maintainer-clean realclean): No need to remove files
28866 twice. Nuke the duplicates.
28867 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
28868 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
28869 Remove config.h along with other config files.
28870
28871 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
28872
28873 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
28874 "p func1 ()" and note that rests of tests are skipped.
28875 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
28876 setup_xfails for "print func2::coremaker_local".
28877 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
28878 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
28879 affected by the previous run test.
28880 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
28881 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
28882 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
28883 "pass int powerset tuple" and "pass modeless int powerset tuple".
28884 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
28885 "real write 4" and "real write 8".
28886 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
28887 setup_xfails for "print vs1 after tuple assign 2",
28888 "print \$i after tuple assign 2", and
28889 "print vs2 after tuple assign 2".
28890 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
28891 meaningful error message and return -1 so the caller can
28892 suppress further tests and avoid a cascade of errors.
28893
28894 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
28895
28896 * gdb.base/a1-selftest.exp: Tweak tests to account for new
28897 format for printing version.
28898 * gdb.base/default.exp: Ditto.
28899 * gdb.base/interrupt.exp: Fix problem with cascade of
28900 errors if child process dies while calling a function.
28901
28902 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
28903
28904 * Makefile.in (VPATH): Add
28905 * Makefile.in (Makefile, config.status): Fix rules so things get
28906 remade when necessary.
28907
28908 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
28909
28910 * Makefile.in (just-check): Add path to sibling expect dir
28911 to environment variable specified by RPATH_ENVVAR.
28912
28913 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
28914
28915 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
28916 (just-check): Add shared library paths for libstdc++, tk,
28917 tcl, bfd, and opcodes to the environment variable specified
28918 in RPATH_ENVVAR.
28919 * configure.in: Add support to recognize --enable-shared flag
28920 and generate correct value for RPATH_ENVVAR.
28921 * configure: Regenerated with autoconf.
28922
28923 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
28924
28925 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
28926 include all osf versions.
28927 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
28928 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
28929 when target is linux. When failing to build pthreads test
28930 executable, give more meaningful message.
28931 * gdb.threads/pthreads.c: Hpux also uses old definition of second
28932 arg for pthread_create.
28933
28934 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
28935
28936 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
28937 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
28938 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
28939 and -lpthreads (everybody else).
28940 (test_startup): Fail gracefully if threads are not supported.
28941 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
28942 "p/c array_index("abcdef",2)" when not gcc compiled.
28943 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
28944 "print func2::coremaker_local" when not gcc compiled.
28945 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
28946 "ptype on opaque struct tagname (statically)",
28947 "ptype on opaque struct tagname (dynamically) 1", and
28948 "ptype on opaque struct tagname (dynamically) 2"
28949 for not compiled with gcc.
28950 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
28951 backtrace when compiled with gcc.
28952 * lib/gdb.exp (runto_main): Return result of "runto main" rather
28953 than always return success.
28954
28955 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
28956
28957 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
28958
28959 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
28960
28961 * gdb.base/structs.exp: Undo last change.
28962
28963 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
28964
28965 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
28966 encapsulate all the steps/nexts done during self test, starting
28967 at main, and makes them less sensitive to optimization issues.
28968 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
28969 signal handler" test.
28970 * gdb.threads/pthreads.exp: Only run this for native configs.
28971 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
28972 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
28973 tests.
28974 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
28975 for "runto test_calls(void)" test.
28976
28977 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
28978
28979 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
28980 and don't expect address info in breakpoint confirmations.
28981
28982 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
28983
28984 * gdb.base/list.exp (test_forward_search): Increase timeout
28985 temporarily by 60 seconds for searching extremely long line,
28986 and then reset to old value when done. Increase expect input
28987 buffer to 10000.
28988
28989 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
28990
28991 * gdb.base/list.exp (test_forward_search): Fix to handle very
28992 long source line without overflowing expect's input buffer.
28993
28994 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
28995
28996 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
28997 "buffer_full".
28998
28999 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
29000 "buffer_full".
29001
29002 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
29003 "buffer_full".
29004
29005 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
29006 "buffer_full".
29007
29008 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
29009
29010 * configure.in (configdirs): Add gdb.threads.
29011 * configure: Regenerated with autoconf.
29012 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
29013 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
29014 * gdb.threads/configure: New, generated with autoconf.
29015
29016 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
29017
29018 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
29019
29020 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
29021
29022 * gdb.base/signals.exp (test_handle_all_print): Test separately for
29023 each signal's status in the output of "handle all print".
29024 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
29025 the \r\n sequence that immediately precedes the gdb prompt.
29026 * gdb.base/a1-selftest.exp: Save original timeout and restore
29027 after test.
29028
29029 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
29030
29031 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
29032 symbol.
29033
29034 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
29035
29036 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
29037
29038 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
29039
29040 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
29041 timeout by 60 seconds.
29042
29043 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
29044
29045 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
29046 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
29047 error return.
29048
29049 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
29050
29051 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
29052 gdb initialization, also report how long dejagnu waited. Restore
29053 old timeout before doing error return. Temporarily increase timeout
29054 by 3 minutes to allow for slow startups over heavy NFS use.
29055
29056 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
29057
29058 * lib/gdb.exp: Report timeout value for verbosity level 2.
29059 * config/gdbserver.exp: Ditto.
29060 * config/hppro.exp: Ditto.
29061 * config/mips-gdb.exp: Ditto.
29062 * config/monitor.exp: Ditto.
29063 * config/netware.exp: Ditto.
29064 * config/sim-gdb.exp: Ditto.
29065 * config/slite-gdb.exp: Ditto.
29066 * config/udi-gdb.exp: Ditto.
29067 * config/unix-gdb.exp: Ditto.
29068 * config/vx-gdb.exp: Ditto.
29069 * gdb.base/a1-selftest.exp: Ditto.
29070 * gdb.base/a2-run.exp: Ditto.
29071 * gdb.base/break.exp: Ditto.
29072 * gdb.base/corefile.exp: Ditto.
29073 * gdb.base/list.exp: Ditto.
29074 * gdb.base/recurse.exp: Ditto.
29075 * gdb.base/scope.exp: Ditto.
29076 * gdb.base/signals.exp: Ditto.
29077
29078 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
29079
29080 * gdb.threads/Makefile.in (docdir): Removed.
29081
29082 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
29083
29084 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
29085 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
29086 @srcdir@.
29087 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
29088 autoconf 2.5 or higher.
29089 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
29090
29091 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
29092
29093 * configure: Regenerated.
29094 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
29095 avoid name clashes with SunOS headers.
29096
29097 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
29098
29099 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
29100
29101 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
29102
29103 * gdb.base/callfuncs.exp: Finish last change -- make sure the
29104 prototype information ends up in the compiler info file.
29105
29106 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
29107
29108 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
29109 attempting to regenerate it. Eliminate use of a temporary file
29110 and just generate the info file directly. Source it immediately,
29111 for consistency of use.
29112 * gdb.base/corefile.exp: Ditto
29113 * gdb.base/exprs.exp: Ditto.
29114 * gdb.base/funcargs.exp: Ditto.
29115 * gdb.base/langs.exp: Ditto.
29116 * gdb.base/list.exp: Ditto.
29117 * gdb.base/mips_pro.exp: Ditto.
29118 * gdb.base/nodebug.exp: Ditto.
29119 * gdb.base/opaque.exp: Ditto.
29120 * gdb.base/ptype.exp: Ditto.
29121 * gdb.base/scope.exp: Ditto.
29122 * gdb.base/setvar.exp: Ditto.
29123 * gdb.base/signals.exp: Ditto.
29124 * gdb.base/whatis.exp: Ditto.
29125 * gdb.c++/templates.exp: Ditto.
29126 * gdb.c++/virtfunc.exp: Ditto.
29127 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
29128 whether or not to add -lstdc++ to the compile command line args.
29129
29130 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29131
29132 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
29133 it got fixed by the recent lookup_minimal_symbol_by_pc change.
29134 Increase timeout, a lot of single stepping might be needed if the
29135 target has no hardware watchpoints.
29136
29137 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
29138
29139 * gdb.base/break.exp: Ignore compiler warnings when compiling
29140 break.c.
29141 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
29142 * gdb.base/default.exp: Add h8300 xfails. Handle messages
29143 from remote-sim.
29144 * gdb.base/exprs.exp: Add h8300 xfails.
29145 * gdb.base/funcargs.exp: Likewise.
29146 * gdb.base/nodebug.exp: Likewise.
29147 * gdb.base/printcmds.exp: Likewise.
29148 * gdb.base/ptype.exp: Likewise.
29149 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
29150 h8300 xfails.
29151 * gdb.base/return.exp: Handle float/double precision problems
29152 on the h8300.
29153 * gdb.base/funcargs.c: Explicitly make last constant argument to
29154 call_after_alloca_subr an unsigned long type.
29155 * gdb.base/return.c: Include stdio.h.
29156
29157 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
29158
29159 * config/abug.exp: New file for the older Motorola Bug monitor
29160 that runs on the mvme13x series VME boards.
29161 * config/monitor.exp: Use the new config array for target settings
29162 if they exist.
29163
29164 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
29165
29166 * sim-gdb.exp: Make the SH simulator allocate less space when
29167 it is targeted.
29168
29169 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
29170
29171 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
29172 test.
29173
29174 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
29175
29176 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
29177 "rs6000-*-*" for "list function in include file" when gcc compiled.
29178 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
29179 for "p ctable1[120]".
29180 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
29181 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
29182 Remove setup_xfail for "rs6000-*-*" for
29183 "print 'scope0.c'::filelocal before run".
29184 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
29185 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
29186 since some compilers don't allow both options to be given
29187 on the same command line. Create object file and move it.
29188
29189 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
29190
29191 * gdb.base/corefile.exp: Always regenerate the core file, since
29192 we always regenerate the coremaker program. Detect special case
29193 where registers cannot be read from core file.
29194
29195 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
29196
29197 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
29198 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
29199 * gdb.c++/templates.exp: Only match on basename of file since
29200 some formats like xcoff don't encode directory information.
29201 * gdb.stabs/weird.exp: Use the right sed script for powerpc
29202 and rs6000 AIX xcoff targets.
29203 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
29204 * configure: Regenerate.
29205 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
29206 here, rather than in distclean.
29207
29208 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
29209
29210 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
29211 defined, and use it to compile the test case with -O2. The
29212 native compilation still uses no optimization.
29213 * gdb.base/mips_pro.c: Remove inline assembly code since
29214 it is compiled PIC by default, which results in assembler
29215 warnings that make the testsuite think the compilation
29216 was unsuccessful.
29217
29218 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
29219
29220 * gdb.c++/misc.exp: Add note to message for
29221 "print s.a for foo struct" that this is a known gcc 2.7.2
29222 and earlier bug.
29223
29224 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
29225
29226 * gdb.base/break.exp: Fix pattern for matching "Delete all
29227 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
29228 setup_xfail for deleting all breakpoints test. Fix various
29229 timeout messages to include "(timeout)".
29230 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
29231 for "p t_float_values2(3.14159,float_val2)".
29232 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
29233 for "continue to call2g" when gcc compiled.
29234 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
29235 "up to foo in langs.exp", "show language at foo in langs.exp",
29236 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
29237 and "show language at fsub in langs.exp".
29238 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
29239 "list line 1 in include file", "list message for lines past EOF",
29240 "list function in include file", "list list0.h:foo", and
29241 "list filename:function; nonexistant function".
29242 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
29243 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
29244 and "ptype t_char_array" to be for native cc only.
29245
29246 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
29247
29248 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
29249 setup_xfail for "print coremaker_bss", "print coremaker_ro",
29250 "print func2::coremaker_local", and "backtrace in corefile.exp".
29251
29252 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
29253
29254 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
29255 "bt in signals.exp". This problem only appears when running
29256 the testsuite, and then only intermittently.
29257
29258 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
29259
29260 * gdb.base/return.exp (return_tests): Differentiate between
29261 two tests of continuing.
29262
29263 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
29264
29265 * */Makefile.in (maintainer-clean): Remove config.log.
29266 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
29267 * gdb.c++/Makefile.in (PROGS): Add inherit.
29268 (clean): Remove *.ci.
29269
29270 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
29271
29272 * gdb.c++/misc.cc: Add test code from Mike Stump.
29273 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
29274
29275 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
29276
29277 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
29278 to "alpha-*-osf2*" and add comment.
29279 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
29280 setup_xfail for "step over execarg initialization" and
29281 "step over corearg initialization".
29282 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
29283 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
29284 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
29285 gcc compiled for "print coremaker_bss", "print coremaker_ro",
29286 "print func2::coremaker_local", and "backtrace in corefile.exp".
29287 * gdb.base/signals.exp: Build and source signals.ci.
29288 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
29289 to be for gcc only.
29290 * lib/gdb.exp: Move verbose statements outside conditionals.
29291
29292 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29293
29294 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
29295 Feb 3 procfs.c change.
29296
29297 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
29298
29299 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
29300
29301 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
29302
29303 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
29304 from dejagnu's apparent default of 10 seconds, which gives random
29305 results when running the tests over NFS on moderately loaded systems.
29306 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
29307
29308 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
29309
29310 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
29311 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
29312 result reports.
29313
29314 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
29315
29316 * configure.in (CY_AC_PATH_TCLH): Remove.
29317 * configure: Regenerate.
29318
29319 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
29320
29321 * gdb.c++/Makefile.in (clean): Add missing '{'.
29322
29323 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
29324
29325 * lib/gdb.exp: Provide a default value for noinferior.
29326
29327 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
29328 Load libgloss.exp.
29329
29330 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
29331
29332 * gdb.disasm/hppa.exp: Compile directly into an executable, use
29333 the executable, not the .o to run the tests from.
29334
29335 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
29336
29337 * gdb.base/break.exp: Don't test for program exit or exit status
29338 if $noresults if nonzero.
29339 * gdb.base/langs.exp: Likewise.
29340 * gdb.base/watchpoint.exp: Likewise.
29341
29342 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
29343 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
29344 trying to compile the testcase.
29345
29346 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
29347
29348 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
29349 * gdb.base/signals.exp (continue to handler): Likewise.
29350
29351 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
29352
29353 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
29354
29355 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
29356
29357 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
29358
29359 * gdb.base/corefile.exp: Recognize "not found" as failure
29360 when trying to determine if a core file was generated.
29361 If no core file was generate the first time, try again without
29362 the ulimit -c to work around braindamaged shells.
29363
29364 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
29365
29366 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
29367 [] tests with "test" and enclose string in quotes.
29368 * gdb.stabs/configure: Rebuild
29369
29370 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
29371
29372 Changes in sync with expect:
29373 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
29374 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
29375 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
29376 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
29377 argument to AC_REQUIRE.
29378 * configure: Regenerated.
29379
29380 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
29381
29382 * gdb.base/corefile.exp: When generating a core, discard any
29383 error messages about ulimit not found and the "core dumped"
29384 message from the shell that runs the coredumper.
29385
29386 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
29387
29388 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
29389
29390 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
29391 which sed script to run. Expect failure for v_comb test
29392 on PA targets too.
29393
29394 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
29395
29396 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
29397 "print func2::coremaker_local" and for "backtrace in corefile.exp"
29398
29399 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
29400
29401 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
29402 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
29403 "sparc-sun-solaris*" xfails for "p v_comb".
29404 * lib/gdb.exp (default_gdb_start): Fix typo.
29405 * gdb.base/corefile.exp: Allow "Core was generated by ..."
29406 messages to not include the full program name that caused
29407 the core dump since some systems (such as solaris) apparently
29408 truncate this path to about 80 characters.
29409 When generating a core file first try increasing the core file
29410 size limit to unlimited since some systems may default it to
29411 zero, and it is harmless to try it. Move the test for failing
29412 to generate a core file to where it will actually get executed.
29413 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
29414 new gdb result from g++ debug info improvements and make old
29415 pattern obsolescent. Also account for size_t differences
29416 (may be int or long).
29417 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
29418 initialization before function call is placed in the delay slot
29419 and thus appears to be skipped over by commands such as "next".
29420
29421 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
29422
29423 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
29424
29425 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
29426
29427 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
29428 input source file; fix code to compile test to deal with this
29429 convention.
29430 * gdb.c++/*.exp: Likewise.
29431
29432 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
29433
29434 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
29435 "bt in signals.exp".
29436
29437 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
29438
29439 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
29440 "step over execarg initialization" and
29441 "step over corearg initialization".
29442
29443 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
29444
29445 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
29446 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
29447
29448 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
29449
29450 From Rob Savoye (rob@poseidon.cygnus.com)
29451 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
29452 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
29453 configure.in}, gdb.disasm/{Makefile.in, configure.in},
29454 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
29455 configure.in}: Major reworking for autoconfig.
29456 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
29457 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
29458 New files.
29459 * config/unix-gdb.exp: Make GDB global.
29460 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
29461 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
29462 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
29463 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
29464 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
29465 term.exp, twice.exp, watchpoint.exp, whatis.exp},
29466 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
29467 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
29468 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
29469 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
29470 pr-8136.exp, result.exp, string.exp, tuples.exp},
29471 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
29472 to returns as necessary, arrange for test to compile own testcase
29473 executable.
29474 * lib/gdb.exp: Changes for testsuite to compile own test cases.
29475
29476 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
29477
29478 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
29479 clear_xfail at end of test which might not call either pass or fail.
29480 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
29481 "backtrace through signal handler".
29482
29483 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29484
29485 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
29486 continuing from a job control stop signal.
29487 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
29488
29489 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
29490
29491 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
29492 * gdb.base/corefile.exp: Likewise.
29493 * gdb.base/funcargs.exp: Likewise.
29494
29495 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
29496
29497 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
29498 * config/monitor.exp: Add support for setting baud rate.
29499
29500 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
29501
29502 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
29503 i*86-*-linux* xfails for "backtrace through signal handler".
29504 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
29505 "print func2::coremaker_local".
29506 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
29507 alpha-dec-osf2* xfail for
29508 "delete all breakpoints when none".
29509
29510 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
29511
29512 * gdb.base/break.exp: Change test that deletes all breakpoints
29513 when no user breakpoints are installed. A post 4.15 change
29514 causes gdb to no longer prompt in this case.
29515
29516 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
29517
29518 * gdb.base/return.exp (return_tests): Change xfail for test
29519 "correct value returned double test" to stop xfailing at
29520 Solaris 2.5. Apparently the bug has been fixed.
29521
29522 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
29523
29524 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
29525 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
29526
29527 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
29528
29529 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
29530 * gdb.disasm/hppa.s: Corresponding changes.
29531
29532 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
29533
29534 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
29535 makefile fragment.
29536 * config/mt-hpux: Deleted.
29537
29538 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
29539
29540 * Many files: When warning about suppressed tests due to a
29541 nonexistant test binary, avoid incrementing the warning count.
29542
29543 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
29544
29545 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
29546
29547 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29548
29549 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
29550 "sparc-*-solaris2*".
29551
29552 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29553
29554 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
29555 Add global and local variables and initialize them.
29556 * gdb.base/corefile.exp: Test correct mapping of corefile sections
29557 by printing variables. Remove rs6000 and powerpc xfails, BFD now
29558 extracts the file name and terminating signal from the core file.
29559 * TODO: Remove note about tests for correct mapping of corefile.
29560 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
29561 from optimizing it away.
29562 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
29563 handles common blocks.
29564
29565 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
29566
29567 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
29568 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
29569
29570 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
29571
29572 * Makefile.in (maintainer-clean): New target, synonym for
29573 realclean.
29574 * gdb.base/Makefile.in (maintainer-clean): Likewise.
29575 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
29576 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
29577 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
29578 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
29579 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
29580
29581 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
29582
29583 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
29584 xfails when not gcc compiled for "print foo::funclocal".
29585 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
29586 "print foo::funclocal at foo",
29587 "print 'scope1.c'::foo::funclocal at foo",
29588 "print foo::funclocal_bss at foo",
29589 "print 'scope1.c'::foo::funclocal_bss at foo",
29590 "print foo::funclocal_ro at foo",
29591 "print 'scope1.c'::foo::funclocal_ro at foo",
29592 "print bar::funclocal at foo" and
29593 "print 'scope1.c'::bar::funclocal at foo".
29594 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
29595 gcc compiled for "print foo::funclocal at bar".
29596 Expand all messages to ensure that they identify that
29597 the test is at bar().
29598 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
29599 gcc compiled for:
29600 "ptype on opaque struct pointer (statically)",
29601 "ptype on opaque struct tagname (statically)",
29602 "ptype on opaque struct pointer (dynamically) 1",
29603 "ptype on opaque struct tagname (dynamically) 1",
29604 "ptype on opaque struct pointer (dynamically) 2" and
29605 "ptype on opaque struct tagname (dynamically) 2
29606 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
29607 gcc compiled for:
29608 "p datalocal"
29609 "whatis datalocal",
29610 "ptype datalocal",
29611 "p bsslocal",
29612 "whatis bsslocal", and
29613 "ptype bsslocal".
29614 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
29615 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
29616 when not gcc compiled.
29617 * gdb.base/funcargs.exp (float_and_integral_args): Add
29618 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
29619 compiled.
29620 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
29621 "backtrace from call6a" when not gcc compiled.
29622 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
29623 "backtrace from call7a" when not gcc compiled.
29624 * gdb.base/callfuncs.exp (do_function_calls):
29625 Add "hppa*-*-hpux*" xfail when not gcc compiled for
29626 "p t_char_array_values(char_array_val2,char_array_val1)",
29627 "p t_char_array_values(char_array_val1,char_array_val2)",
29628 "p t_char_array_values("carray 1","carray 2")",
29629 "p t_char_array_values("carray 1",char_array_val2)",
29630 "p t_char_array_values(char_array_val1,"carray 2")",
29631 "p sum_args(1,{2})",
29632 "p sum_args(2,{2,3})",
29633 "p sum_args(3,{2,3,4})",
29634 "p sum_args(4,{2,3,4,5})"
29635 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
29636 "backtrace in corefile.exp" when not gcc compiled.
29637
29638 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29639
29640 * gdb.base/signals.exp: Rewrite `handle all print' test as
29641 a procedure. Accept blanks or TABs as whitespace, increase
29642 timeout and expect input buffer size for the large output
29643 from the command. Remove "i*86-*-bsdi2.0" xfail.
29644
29645 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29646
29647 * gdb.base/setvar.exp: Add new testcases for truncation when
29648 assigning invalid values to bitfields.
29649
29650 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
29651
29652 * gdb.base/callfuncs.exp (do_function_calls): Remove
29653 mips-sgi-irix* xfail for
29654 "call inferior func with struct - returns char *"
29655 and fix test so that an optional (unsigned char *) cast is
29656 accepted in the result.
29657
29658 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
29659
29660 * gdb.base/funcargs.exp (float_and_integral_args): Remove
29661 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
29662 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
29663 * gdb.base/signals.exp: Remove duplicate "handle all print" test
29664 that accidentally got checked in.
29665
29666 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
29667
29668 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
29669 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
29670 compiled test.
29671 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
29672 Add mips-sgi-irix5* xfail for not gcc compiled.
29673 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
29674 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
29675 compiled for "p top", "whatis top", "p middle", and "whatis
29676 middle".
29677 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
29678 "whatis signed char" for not gcc compiled.
29679 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
29680 "set variable signed char=-1 (-1)" and
29681 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
29682 * gdb.base/funcargs.exp (float_and_integral_args):
29683 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
29684 Add mips-sgi-irix* xfail when not gcc compiled for
29685 "continue to call2b".
29686 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
29687 "continue to call2g".
29688 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
29689 compiled for "backtrace from call6a"
29690 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
29691 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
29692 when not gcc compiled for "backtrace from call7a".
29693 (localvars_after_alloca): Fix gdb_test cmds for
29694 "print * after runto ...".
29695 Remove rs6000-*-* xfails for
29696 "print i after runto localvars_after_alloca" and
29697 "print l after runto localvars_after_alloca"
29698 for all compilers.
29699 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
29700 when not compiled with gcc, for:
29701 "print signed char == (minus)",
29702 "print signed char != (minus)",
29703 "print signed char < (minus)",
29704 "print signed char > (minus)".
29705 * gdb.base/callfuncs.exp (do_function_calls):
29706 Add mips-sgi-irix* xfail, when compiled with native compiler, for
29707 "call inferior func with struct - returns char *".
29708 * gdb.base/return.exp (return_tests): Change xfail for
29709 "correct value returned double test" to include Solaris 2.4.
29710 * gdb.base/funcargs.exp (float_and_integral_args):
29711 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
29712
29713 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29714
29715 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
29716 enumeration bitfields if compiling with GNU C.
29717 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
29718 to empty' prompt.
29719
29720 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
29721
29722 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
29723 test for PRO targets.
29724
29725 * gdb.base/funcargs.exp: Avoid ever setting more than 8
29726 breakpoints in the inferior at any given time by making
29727 two groups of breakpoints for call2*, call6* and call7*
29728 tests.
29729
29730 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29731
29732 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
29733 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
29734 from optimizing it away.
29735 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
29736 "call inferior func with struct".
29737
29738 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
29739
29740 * configure.in: Only configure gdb.chill for particular targets.
29741
29742 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
29743
29744 * gdb.base/Makefile.in: Add action to .c.o transformation
29745 rule that generates a .ci file for each .o file and remove
29746 explicit .c.o rules except for callfuncs.o.
29747 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
29748 generates a .ci file for each .o file and remove explicit
29749 .cc.o rules.
29750 (clean): Remove *.tmp *.ci files.
29751 (EXECUTABLES): Remove templ-info.exp.
29752 * gdb.base/compiler.c: New file.
29753 * gdb.c++/compiler.cc: New file
29754 * gdb.base/scope.exp: Source gdb.base/scope.ci.
29755 Change rs6000-*-* xfail for
29756 "print 'scope0.c'::filelocal_ro" and
29757 "print 'scope1.c'::filelocal" and
29758 "print 'scope1.c'::filelocal_bss" and
29759 "print 'scope1.c'::filelocal_ro" and
29760 "print 'scope1.c'::foo::funclocal" and
29761 "print 'scope1.c'::foo::funclocal_ro" and
29762 "print 'scope1.c'::bar::funclocal" and
29763 "print 'scope0.c'::filelocal_ro" and
29764 "print 'scope1.c'::filelocal at foo" and
29765 "print 'scope1.c'::filelocal_bss at foo" and
29766 "print 'scope1.c'::filelocal_ro at foo" and
29767 "print 'scope1.c'::foo::funclocal at foo" and
29768 "print 'scope1.c'::foo::funclocal_bss at foo" and
29769 "print 'scope1.c'::foo::funclocal_ro at foo" and
29770 "print 'scope1.c'::bar::funclocal at foo" and
29771 "print 'scope0.c'::filelocal_ro" and
29772 "print 'scope1.c'::filelocal" and
29773 "print 'scope1.c'::filelocal_bss" and
29774 "print 'scope1.c'::filelocal_ro" and
29775 "print 'scope1.c'::foo::funclocal" and
29776 "print 'scope1.c'::foo::funclocal_bss" and
29777 "print 'scope1.c'::foo::funclocal_ro" and
29778 "print 'scope1.c'::bar::funclocal" and
29779 "print 'scope1.c'::bar::funclocal_bss"
29780 to only be xfail'd when not compiled with gcc.
29781 Add rs6000-*-* xfail for
29782 "print 'scope0.c'::filelocal_bss before run"
29783 when compiled with gcc.
29784 (test_at_main): Add rs6000-*-* xfail for
29785 "print filelocal_ro in test_at_main"
29786 when compiled with gcc.
29787 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
29788 Add rs6000-*-aix* xfail for
29789 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
29790 "ptype t_char_array", not compiled with gcc.
29791 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
29792 xfail for "list foo (in include file)" when gcc compiled.
29793 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
29794 (integral_args): Add rs6000-*-* xfail for
29795 "run to call0a" if not compiled with gcc.
29796 (unsigned_integral_args): Add rs6000-*-* xfail for
29797 "run to call1a" if not compiled with gcc.
29798 (float_and_integral_args): Add rs6000-*-* xfail for
29799 "run to call2a" if not compiled with gcc and for
29800 "continue to call2b" for any compiler.
29801 Add rs6000-*-* xfail to
29802 "print f1 after run to call2a" for gcc compiled.
29803 (discard_and_shuffle): Add rs6000-*-* xfail for
29804 "run to call6a".
29805 (shuffle_round_robin): Add rs6000-*-* xfail for
29806 "backtrace from call7a" if not compiled with gcc.
29807 Add rs6000-*-* xfail for
29808 "backtrace from call7b" if compiled with gcc.
29809 (call_after_alloca): Add rs6000-*-* xfail for
29810 "print c in call_after_alloca" and
29811 "print s in call_after_alloca" and
29812 "backtrace from call_after_alloca_subr"
29813 if not compiled with gcc.
29814 (localvars_in_indirect_call): Add rs6000-*-* xfail for
29815 "print c in localvars_in_indirect_call" and
29816 "print c in localvars_in_indirect_call" and
29817 "backtrace in indirectly called function" and
29818 "stepping into indirectly called function"
29819 if not compiled with gcc.
29820 (localvars_after_alloca): Add rs6000-*-* xfail for
29821 "print c after runto localvars_after_alloca" and
29822 "print s after runto localvars_after_alloca" and
29823 "print i after runto localvars_after_alloca" and
29824 "print l after runto localvars_after_alloca"
29825 for all compilers.
29826 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
29827 than whatis-info.exp.
29828 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
29829 than opaque-info.exp.
29830 Setup rs6000-*-* xfail for
29831 "ptype on opaque struct pointer (statically)" and
29832 "ptype on opaque struct pointer (dynamically)" when
29833 not compiled with gcc.
29834 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
29835 rather than callf-info.exp.
29836 (do_function_calls): Add clear_xfail for rs6000-*-* for
29837 "p t_float_values2(3.14159,float_val2)". Seems to work
29838 fine there, both with xlc and gcc. Need to find out what
29839 it is doing right and fix other platforms.
29840 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
29841 "call inferior func with struct - returns int",
29842 "call inferior func with struct - returns long",
29843 "call inferior func with struct - returns float",
29844 "call inferior func with struct - returns double",
29845 "call inferior func with struct - returns char *",
29846 but only if not gcc compiled (presumes xlc compiled).
29847 Change rs6000-*-* xfails for
29848 "call inferior func with struct - returns char" and
29849 " call inferior func with struct - returns short" to only
29850 xfail if not using gcc.
29851 (clean mostlyclean): Remove *.ci and *.tmp files.
29852 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
29853 than templ-info.exp.
29854 * gdb.base/langs.exp: Source gdb.base/langs.ci.
29855 Add rs6000-*-* xfail for "up to foo in langs.exp"
29856 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
29857 when not gcc compiled.
29858
29859 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29860
29861 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
29862 * gdb.base/corefile.exp: Likewise.
29863 * gdb.base/list.exp: Likewise.
29864 * gdb.base/scope.exp: Likewise.
29865 * gdb.base/siganls.exp: Likewise.
29866
29867 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
29868 compiler output.
29869 * gdb.base/whatis.exp: Likewise.
29870
29871 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
29872
29873 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
29874 failure (opcode table has been fixed to match reality).
29875
29876 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
29877
29878 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
29879 "call inferior func with struct - returns char",
29880 "call inferior func with struct - returns short"
29881
29882 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
29883 "print 'scope0.c'::filelocal at main",
29884 "print 'scope0.c'::filelocal_bss in test_at_main",
29885 "print 'scope0.c'::filelocal at foo",
29886 "print 'scope0.c'::filelocal_bss in test_at_foo",
29887 "print 'scope0.c'::filelocal at bar",
29888 "print 'scope0.c'::filelocal_bss in test_at_bar"
29889
29890 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
29891 in source file 1". This bug seems to have been fixed with both
29892 gcc and native cc (was native assembler bug?).
29893
29894 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
29895
29896 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
29897 "backtrace through signal handler" to "i*86-*-sysv4*".
29898 * gdb.base/signals.exp: Add xfail for "'next' behaved as
29899 continue" case. Add "known SVR4 bug" to fail message.
29900 Add "i*86-*-bsdi2.0" xfail for "handle all print".
29901 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
29902 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
29903 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
29904 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
29905 "up to foo in langs.exp", "show language at foo in
29906 langs.exp", "up to cppsub_ in langs.exp", "show
29907 language at cppsub_ in langs.exp", "up to fsub in
29908 langs.exp", and "show language at fsub in langs.exp".
29909 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
29910 "bactrace in corefile.exp".
29911 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
29912 "call inferior function with struct - returns float" and
29913 "call inferior function with struct - returns double".
29914
29915 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
29916
29917 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
29918 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
29919 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
29920 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
29921
29922 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
29923
29924 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
29925 (or overriden) "CHILL" macro rather then bare "gcc".
29926 Also look for ../../gcc/xgcc since that is what we will
29927 actually need, not "Makefile". Remove following assignment
29928 of CHILL to CHILL_FOR_TARGET because that results in
29929 recursive definition.
29930
29931 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
29932
29933 * gdb.base/corefile.exp: Change xfail for backtrace in
29934 corefile.exp from linuxaout to all linux.
29935 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
29936 cases where we miss the breakpoint at the signal handler
29937 for some reason. Setup xfail for linuxoldld/linuxaout and
29938 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
29939 hitting SIGURG breakpoint.
29940 * gdb.base/signals.exp: Setup xfail for "next" acting like
29941 continue to add linuxoldld. Setup xfail for all linux for
29942 "next to handler in signals_tests_1", "backtrace in
29943 signals_tests_1", "continue to func1", "pass SIGUSR1",
29944 and continue to handler".
29945
29946 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
29947
29948 * Update all FSF addresses except those in COPYING* files.
29949
29950 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
29951
29952 * gdb.base/a2-run.exp: Change messages to be more explicit about
29953 the status of args, and quote binfile in results.
29954
29955 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
29956
29957 * gdb.base/callfuncs.exp: Add tests for passing structs to
29958 inferior functions and return various types.
29959 * gdb.base/callfuncs.c: Add functions to receive a struct
29960 and return a member of the struct, in various types.
29961
29962 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29963
29964 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
29965
29966 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
29967
29968 * config/vxworks29k.exp: New file, sources vxworks.exp.
29969
29970 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29971
29972 * config/gdbremote.exp: New file. Testing framework using
29973 gdbserver.
29974
29975 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
29976
29977 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
29978 "call function when asleep" and "send end of file".
29979 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
29980 for "backtrace in corefile.exp".
29981 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
29982 for "backtrace through signal handler".
29983 * gdb.base/corefile.exp: Make sure we actually generate a core file
29984 before trying the core tests. Some systems allow the user to suppress
29985 generation of core files and default to that (linux for example).
29986 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
29987 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
29988
29989 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29990
29991 * gdb.threads: New directory with some crude multi-threaded
29992 gdb tests (step.exp and step2.exp).
29993 * config/mt-lynx (STEP_EXECUTABLE): Define.
29994 (THREADFLAGS): Define.
29995
29996 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
29997
29998 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
29999
30000 * gdb.base/signals.exp: Disable whole file for lynx until
30001 further notice.
30002
30003 * gdb.base/signals.exp: xfail test where "next" acts like
30004 "continue" for lynx.
30005
30006 * gdb.base/interrupt.exp: xfail test for calling function while
30007 inferior is asleep for lynx.
30008
30009 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
30010 than one cr-lf after each command.
30011
30012 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30013
30014 * configure.in: Reinstate setting of stabsdirs variable, fix
30015 typo in setting up configdirs for native builds.
30016
30017 * gdb.base/return.exp: Fix typo in return double test.
30018 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
30019 compiler from optimizing them away.
30020
30021 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
30022
30023 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
30024 sequences to be echo'd by gdb when using gdb_test.
30025 * gdb.chill/chexp.exp: Likewise.
30026 * gdb.fortran/exprs.exp: Likewise
30027
30028 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
30029
30030 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
30031 after the inferior gdb has started.
30032
30033 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
30034 after each command.
30035 * gdb.base/funcargs.exp: Likewise.
30036 * gdb.base/gdbvars.exp: Likewise.
30037 * gdb.base/interrupt.exp: Likewise.
30038 * gdb.base/list.exp: Likewise.
30039 * gdb.base/watchpoint.exp: Likewise.
30040 * gdb.c++/demangle.exp: Likewise.
30041 * gdb.c++/inherit.exp: Likewise.
30042 * gdb.chill/chexp.exp: Likewise.
30043 * gdb.fortran/exprs.exp: Likewise.
30044
30045 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
30046 test if we can't handle IO to/from the inferior.
30047
30048 * gdb.c++/misc.exp: Always check for a program already being
30049 started after sending a "run" command to gdb.
30050
30051 * gdb.base/twice.exp: Start with a fresh gdb.
30052
30053 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
30054 only depend on gdb's expression code, not the chill runtime.
30055
30056 * gdb.base/return.c: Put return values into variables so we
30057 can have gdb print them rather than depending on the program
30058 to print them.
30059 * gdb.base/return.exp: Corresponding changes.
30060
30061 * lib/gdb.exp: Provide default value for noinferiorio.
30062 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
30063 the inferior.
30064
30065 * gdb.base/break.exp: Always check for a program already being
30066 started after sending a "run" command to gdb.
30067 (text_next_with_recursion): Don't check the output from the
30068 program's printf statement. Instead just make sure the program
30069 exited.
30070
30071 * gdb.base/commands.exp: Protect tests which need arguments with
30072 $noargs conditionals.
30073
30074 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30075
30076 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
30077 of structure member arrays to match gdb/valops.c:value_addr change.
30078
30079 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
30080
30081 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
30082 cases.
30083
30084 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
30085
30086 * configure.in (configdirs): Remove gdb.chill from default list
30087 of subdirs and then add it back in only if doing a native build.
30088 The current chill compiler does not yet work in any cross build.
30089 * Revert all signal changes from Jul 6.
30090 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
30091 for sh-hms targets, allowing these tests to link, with no other
30092 changes. Testing is suppressed by setting "nosignals" in site.exp.
30093
30094 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
30095
30096 * configure.in (signaldirs): Define and add to configdirs for all
30097 targets except some specific ones that are known to not support signals.
30098 Also clean up formatting.
30099 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
30100 (signals, sigall): Remove rules to build.
30101 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
30102 Moved to new gdb.signals directory.
30103 * gdb.signals: New test directory.
30104 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
30105 signals.c signals.exp}: New or moved files.
30106
30107 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
30108
30109 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
30110
30111 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
30112
30113 * gdb.base/return.exp: Xfail `return double' test failure
30114 on at least Solaris 2.3 and handle future/past versions on
30115 a case by case basis as appropriate. Also update message
30116 to include i*86 failures.
30117
30118 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30119
30120 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
30121
30122 * lib/gdb.exp: Fix comment which erroneously identified
30123 gdb_file_cmd as gdb_load (the 19 May change was in fact to
30124 gdb_file_cmd not gdb_load).
30125 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
30126
30127 * gdb.base/setvar.exp: Make test names consistent between pass and
30128 fail cases. Use gdb_test more.
30129
30130 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30131
30132 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
30133
30134 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30135
30136 * gdb.base/help.exp: Fix expected help string for `show commands'.
30137
30138 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
30139
30140 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
30141
30142 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
30143 of a text section.
30144
30145 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
30146
30147 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
30148 that loop eventually terminates. Fix Connection refused logic so
30149 that testsuite will expire nicely.
30150
30151 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
30152
30153 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
30154 config/rom68k.exp: New tcl glue for the appropriate monitors.
30155 These all just end up calling monitor.exp.
30156 * config/monitor.exp (gdb_target_monitor): Handle `Connection
30157 refused' by retrying. Cleanup some timeout issues.
30158 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
30159 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
30160 callers don't have to set/restore global timeout variable.
30161
30162 * The following set of changes centralizes management of the global
30163 timeout variable. This way, it can be set in one target dependent
30164 place instead of dozens of places scattered throughout the test suite.
30165 If you need to lengthen a timeout, then you should either set timeout
30166 in one of the config/{target}.exp files, or multiply it by a factor.
30167 Setting it to an absolute value is always going to lose for some
30168 targets.
30169 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
30170 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
30171 * gdb.base/funcargs.exp: Don't set timeout.
30172 * gdb.base/list.exp (test_forward_search): Only use local timeout.
30173 * gdb.base/printcmds.exp (test_print_string_constants
30174 test_print_array_constants): Don't set timeout.
30175 * gdb.base/ptype.exp: Don't set timeout.
30176 * gdb.base/recurse.exp: Don't set timeout.
30177 * gdb.base/return.exp: Don't set timeout.
30178 * gdb.base/watchpoint.exp: Don't set timeout.
30179 * gdb.c++/classes.exp (do_tests): Don't set timeout.
30180 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
30181
30182 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
30183
30184 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
30185
30186 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30187
30188 * lib/gdb.exp: Disable chill tests for irix5.
30189
30190 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30191
30192 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
30193 each test pass or fail.
30194
30195 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30196
30197 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
30198 xlc not gcc.
30199
30200 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
30201
30202 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
30203
30204 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
30205
30206 * config/est.exp: Fix copyright and comments. Remove dead code.
30207 Use targetname, serialport and baud variables instead of fixed
30208 constants.
30209 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
30210 * config/cpu32bug.exp: New file to support cpu32bug monitors.
30211
30212 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30213
30214 * gdb.base/watchpoint.exp: Don't run
30215 test_watchpoint_triggered_in_syscall for sunos.
30216
30217 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30218
30219 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
30220 they don't seem to exist. Do include stdio.h.
30221
30222 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30223
30224 * gdb.base/a1-selftest.exp: Add alpha xfail.
30225
30226 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30227
30228 * gdb.base/watchpoint.c (main): Prompt before calling read().
30229 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
30230 Revise accordingly. Remove cruft about sending "123" several
30231 times, until it gets noticed. Clean up the "print buf[0]" stuff
30232 so that it passes or fails, and waits for prompts in the usual way.
30233
30234 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30235
30236 * gdb.base/recurse.exp: Fix comment.
30237
30238 * TODO: Remove item about printing variables in nodebug.exp. Add
30239 item about enabling tests which are only run on some targets.
30240
30241 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
30242 fail, make test names unique, use new gdb_test convention
30243 regarding pattern, use gdb_test more, etc.).
30244
30245 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
30246 fail, make test names unique, etc.).
30247
30248 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30249
30250 * gdb.base/nodebug.c: Change return type of top and middle to
30251 short.
30252 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
30253 are fixed by the recent mdebugread.c changes. Allow `short ()'
30254 as type for top and middle.
30255
30256 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30257
30258 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
30259 nearly as I can tell, the whole thing was an accident in Stu's
30260 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
30261 to replace a send/expect pair with gdb_test, but ended up only
30262 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
30263 of 30 Mar 1995 took care of it, but left this vestigial comment
30264 which I am now nuking.
30265
30266 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30267
30268 * gdb.base/break.exp: Look for different line number for
30269 breakpoint at main depending on usestubs.
30270
30271 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30272
30273 * gdb.base/list.exp: Adjust some alternate expect patterns to
30274 match recent list0.c change. Add alternate expect pattern for
30275 output from `list default lines around main' for optimizing
30276 compilers.
30277
30278 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30279
30280 * lib/gdb.exp: If nosignals is not set, set it to 0.
30281
30282 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
30283
30284 * config/slite-gdb.exp: Responds to load symbol table prompt.
30285 * gdb.base/break.exp: Adjust line number, fix rerun.
30286 * gdb.base/langs0.c: Add #ifdef usestubs.
30287
30288 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
30289
30290 * gdb.base/list.exp: Adjust line contents after adding new lines in
30291 list0.c. Also fix a syntax error.
30292
30293 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
30294 * gdb.base/break.exp: ditto.
30295 * gdb.base/list.exp: ditto.
30296 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
30297 * gdb.base/run.c: ditto.
30298 * gdb.base/list0.c: ditto.
30299 * gdb.base/funcargs.c: ditto.
30300
30301 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
30302
30303 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
30304 $targetname, $serialport and $baud instead of hardwired variables.
30305 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
30306 target doesn't support signals.
30307
30308 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
30309
30310 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
30311
30312 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30313
30314 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
30315 Don't rely on the value of an auto variable before it has been
30316 initialized. Use gdb_test more.
30317
30318 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30319
30320 * lib/gdb.exp (default_gdb_version): A version number must start
30321 with a digit, but other than that contains all characters up to
30322 the first whitespace character.
30323
30324 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30325
30326 * gdb.base/commands.exp (breakpoint_command_test): New tests.
30327
30328 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30329
30330 * gdb.c++/*.exp: Warn if executable does not exist. The original
30331 reason for skipping the warning was that configure.in sometimes
30332 intentionally skipped building the executables but the tcl code
30333 had no way of knowing. That (a) was always bogus with respect to
30334 error handling, (b) is no longer true (right now there is no way
30335 to skip C++ tests).
30336
30337 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
30338
30339 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30340
30341 * gdb.base/list.exp: Add expect patterns for output from
30342 SunPRO compiled executables.
30343 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
30344 types.
30345
30346 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30347
30348 * gdb.base/break.exp (test_next_with_recursion): Accept any line
30349 number (we are already testing that the correct source line text
30350 gets printed).
30351
30352 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
30353 that is what is intended, but something needed to be done to get
30354 sunos4 native working again.
30355
30356 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
30357
30358 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
30359 apparently went with a (very) old xfail.
30360
30361 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
30362
30363 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
30364 runto_main is a proc in gdb.exp that will do 'step' for target use
30365 stubs.
30366 * gdb.base/exprs.exp: ditto.
30367 * gdb.base/interrupt.exp: ditto.
30368 * gdb.base/opaque.exp: ditto.
30369 * gdb.base/printcmds.exp: ditto.
30370 * gdb.base/ptype.exp: ditto.
30371 * gdb.base/scope.exp: ditto.
30372 * gdb.base/setvar.exp: ditto.
30373 * gdb.base/signals.exp: ditto.
30374 * gdb.base/twice.exp: ditto.
30375 * gdb.c++/classes.exp: ditto.
30376 * gdb.c++/inherit.exp: ditto.
30377 * gdb.c++/templates.exp: ditto.
30378 * gdb.base/break.exp: no run and hit main for stubs. Change line
30379 numbers for breakpoints and info breakpoint.
30380 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
30381 breakpoint().
30382 * gdb.base/callfuncs.c: ditto.
30383 * gdb.base/exprs: ditto.
30384 * gdb.base/interrupt.c: ditto.
30385 * gdb.base/opaque0.c: ditto.
30386 * gdb.base/printcmds.c: ditto.
30387 * gdb.base/ptype.c: ditto.
30388 * gdb.base/scope0.c: ditto.
30389 * gdb.base/setvar.c: ditto.
30390 * gdb.base/signals.c: ditto.
30391 * gdb.base/twice.c: ditto.
30392 * gdb.c++/misc.cc: ditto.
30393 * gdb.c++/templates.cc: ditto.
30394
30395 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30396
30397 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
30398
30399 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
30400 somewhere between `read' and `main.c'. I'm pretty sure the
30401 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
30402 and it isn't particularly useful.
30403
30404 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
30405
30406 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30407
30408 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
30409
30410 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
30411
30412 * config/mt-slite: add LIBS and -nostdlib.
30413 * config/slite-gdb.exp: add this new file to support sparclite target.
30414
30415 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
30416
30417 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
30418
30419 * gdb.base/a2-run.exp: Change argument to istarget from
30420 "*-*-vxworks" to "*-*-vxworks*".
30421 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
30422
30423 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
30424
30425 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
30426 will not runto main but do a 'step' to step out of breakpoint().
30427 * config/mt-slite: add -Dusestubs.
30428
30429 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30430
30431 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
30432 instead of just @.
30433
30434 * gdb.base/signals.exp: Add test for "handle all print".
30435 * TODO: Remove "handle all print". Also remove item about
30436 checking copyright date (I don't like the idea of a spurious FAIL
30437 based on when we run the tests).
30438
30439 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
30440 for SunOS4 (reason for failure not investigated). Remove
30441 redundant test for $binfile.
30442
30443 * gdb.base/nodebug.c (array_index): Call malloc.
30444
30445 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
30446
30447 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
30448
30449 * gdb.base/recurse.exp: Update gdb_test invocation to use new
30450 conventions and slightly simplify the matching regexp.
30451
30452 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30453
30454 * gdb.base/break.exp: Update gdb_test invocation to use new
30455 convention.
30456
30457 * lib/gdb.exp: If noargs is not set, set it to 0.
30458
30459 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
30460 tests unique.
30461
30462 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
30463
30464 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30465
30466 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
30467 one argument of type "<non-float parameter>".
30468
30469 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
30470
30471 * config/rom68k.exp: New file to support Motorola IDP board.
30472 * gdb.base/a2-run.exp: Skip this file if noargs is set.
30473 * gdb.base/break.c: Change things around so that this program
30474 doesn't depend upon args. This is necessary to make remote
30475 targets work (in general, they can't take args).
30476 * gdb.base/break.exp: Don't try to send args to program. Don't
30477 expect output. Also, replace lots of code with gdb_test.
30478
30479 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30480
30481 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
30482 printing of '\'' (which is what the comment says we are testing,
30483 even though we were not), not '''.
30484 (test_integer_literals_rejected): Test that printing ''' is an error.
30485
30486 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30487 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
30488 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
30489 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
30490 Use gdb_test not test_print_accept.
30491 * lib/gdb.exp: Remove test_print_accept.
30492
30493 * gdb.base/signals.exp (signal_tests_1): Make pass message
30494 consistent with fail message.
30495
30496 * gdb.base/whatis.exp: Remove xfails for printing char vs.
30497 unsigned char; the bug (PR 1821) is fixed.
30498
30499 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
30500
30501 * gdb.base/scope.exp (test_at_localscopes): Call pass for
30502 successful tests--makes xfailing them work right.
30503
30504 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30505
30506 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
30507 only \r\n, not .*. The test can pass .* as the last thing in
30508 $pattern if that is what it wants. In addition to providing this
30509 flexibility, this change should speed up pattern matching in cases
30510 where the pattern already ended with .* (there were a number of
30511 them). This change also helps catch bad patterns--in the old
30512 scheme the typo "char \*" instead of "char \\*" would pass. Now
30513 it is caught.
30514 * Many .exp files: Update callers.
30515
30516 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
30517 clearer and does not spuriously match multiple ('s. Likewise for
30518 ) and *.
30519
30520 * gdb.base/nodebug.exp: Test ability to call a function and pass
30521 it a string (even with no debugging info).
30522
30523 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
30524 "p '\'", which is the same as "p ''" once tcl gets done with
30525 quoting, to "p '\\'", which I suspect is what is intended (one
30526 backslash gets sent to GDB).
30527
30528 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
30529
30530 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30531
30532 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
30533 1817) was fixed literally years ago.
30534
30535 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30536
30537 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
30538 test, it causes stepping out of call_after_alloca_subr with
30539 optimizing compilers.
30540 (localvars_in_indirect_call): Consume GDB prompt if `finish'
30541 fails.
30542
30543 * gdb.c++/templates.exp: Source templ-info.exp only if
30544 the templates executable exists.
30545
30546 * gdb.c++/misc.cc (class Contains_static_instance,
30547 class Contains_nested_static_instance),
30548 gdb.c++/classes.exp (test_static_members): Test printing of
30549 a class that contains a static instance of the class.
30550
30551 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30552
30553 * gdb.base/langs2.c (cppsub_): Don't prototype.
30554 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
30555 only, I believe).
30556
30557 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30558
30559 * lib/gdb.exp (skip_chill_tests): New procedure.
30560
30561 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
30562
30563 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
30564
30565 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
30566 each expect pattern. Cuts runtime from 12 to about 4 seconds.
30567
30568 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30569
30570 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
30571
30572 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
30573 disassemble 8, not 16, instructions for part 4.
30574
30575 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
30576 support the latter anymore.
30577
30578 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
30579 -DNO_PROTOTYPES.
30580 * gdb.base/callfuncs.c: Control use of prototypes based on
30581 NO_PROTOTYPES, not __STDC__.
30582 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
30583 t_float_values2 tests if prototypes in use.
30584
30585 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
30586 t_double_values): When checking differences against DELTA, check
30587 that difference is within the range (-DELTA,DELTA), not just
30588 (-infinity,DELTA).
30589
30590 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
30591
30592 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
30593 'file' command firts, then 'target', then 'load', this is due to gdb
30594 target set up.
30595 * config/mips-gdb.exp: Fix a couple regular exp bugs.
30596
30597 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
30598
30599 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
30600 FP load/store variants.
30601 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
30602
30603 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
30604
30605 * gdb.base/term.exp: Do not give a warning if not native, it is
30606 not an abnormal condition.
30607
30608 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
30609
30610 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
30611 t_char_array".
30612
30613 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
30614
30615 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
30616 are getting the version number.
30617
30618 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
30619 if not native, it is not an abnormal condition.
30620
30621 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30622
30623 * lib/gdb.exp: Just use "file exists", rather than undocumented
30624 dejagnu procedure "findfile".
30625
30626 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
30627
30628 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
30629 (LDFLAGS): Set to -Xlinker -Ur.
30630
30631 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
30632 Removed, these values are set by lib/gdb.exp.
30633
30634 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
30635
30636 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
30637
30638 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
30639 of replicating gdb startup code.
30640
30641 * config/mt-vxworks (LDFLAGS): Set to -r.
30642 (CFLAGS_FOR_TARGET): Removed.
30643
30644 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
30645 (gdb) and gdb for vxworks uses (vxgdb).
30646
30647 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
30648 executable is not in the tree and host != target, use sed and
30649 program_transform_name to determine the gdb name used by the
30650 target.
30651
30652 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
30653 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
30654
30655 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30656
30657 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
30658 floats, chars, and shorts where there are ANSI-style function
30659 definitions.
30660
30661 * gdb.base/langs.exp, gdb.base/langs*: New test.
30662 * gdb.base/Makefile.in: Build it.
30663 * TODO: Remove item about checking that C names don't get C++
30664 demangling applied; this test tests it.
30665
30666 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30667
30668 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
30669 went with the const70 xfail. The xfail went away a year ago.
30670
30671 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
30672
30673 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
30674 for hp300.
30675
30676 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
30677
30678 * gdb.base/a1-selftest.exp: Don't run on hp300.
30679
30680 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30681
30682 * Makefile.in (site.exp): Set host_alias and target_alias as well
30683 as host_triplet and target_triplet.
30684
30685 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30686
30687 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
30688
30689 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
30690 places as other ecoff systems).
30691
30692 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
30693 ultrix.
30694
30695 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30696
30697 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
30698 remove them.
30699 * gdb.base/nodebug.exp: Accept "function" in addition to "text
30700 variable and "variable" in addition to "data variable".
30701 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
30702
30703 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
30704 2.
30705 * gdb.base/list1.c (long_line): Add additional statement at start
30706 of function.
30707 * gdb.base/list.exp (test_forward_search): Update line number to
30708 reflect new statement.
30709
30710 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30711
30712 * gdb.base/signals.exp: Reinitialize searched source directories
30713 after gdb_start call.
30714
30715 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
30716
30717 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
30718 * gdb.stabs/Makefile.in: Likewise.
30719
30720 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
30721 change. Instead split the tests into smaller pieces.
30722 * gdb.disasm/hppa.s: Corresponding changes.
30723
30724 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30725
30726 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30727 Quote ^C when passing it to stty. For some shells ^ is a pipe.
30728
30729 * gdb.base/funcargs.exp: Modify many tests so that every test
30730 either passes or fails. Make some test names unique.
30731
30732 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30733
30734 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30735 Call stty to set interrupt character.
30736
30737 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
30738 for HP assembler versus GNU assembler based on actual behavior of
30739 $(CC), rather than assuming that $(AS) is always the GNU assembler.
30740
30741 * TODO: Suggest a few more stepping tests.
30742
30743 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
30744
30745 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
30746 restart GDB for h8300 after a continue.
30747 (return): Add pattern to match a29k-udi behavior.
30748 * gdb.base/nodebug.exp: Remove obsolete comment.
30749 * gdb.base/regs.exp: New file, testing of register displays.
30750 * gdb.base/return.exp: Fix typo in reference to $objdir.
30751 * gdb.base/whatis.exp: Always start with a fresh GDB.
30752
30753 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30754
30755 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
30756 higher, these tests generate a lot of output.
30757
30758 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30759
30760 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
30761 code following the catch silently ignored some errors; without the
30762 catch they should be thrown like any other tcl error. Also, the
30763 catch used "" instead of {} which meant all the callers who wanted
30764 to include one of the characters "[]$ had to quote it an extra time.
30765 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
30766 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
30767 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
30768 Remove extra quoting.
30769
30770 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
30771
30772 * gdb.base/commands.exp: Make test names unique; every test either
30773 passes or fails. Update some comments.
30774
30775 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
30776
30777 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30778
30779 The following fixes a FAIL caused by the fact that the alpha stabs
30780 configuration didn't use the ".if alpha" code in weird.def.
30781 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
30782 bit pointer, so the 32 bit version works even on the alpha.
30783 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
30784 Remove the stuff which allowed us to have separate versions for
30785 alpha and everything else.
30786
30787 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
30788 regexp which "info func operator\[\](" is supposed to match. Fix
30789 string to send to GDB. Note that GDB still doesn't work right. Add a
30790 new test for "info func .perator\[\](" which GDB does handle correctly.
30791
30792 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
30793
30794 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30795
30796 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
30797 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
30798 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
30799 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
30800 it makes the tests harder to understand and confuses test-o-matic.
30801 The preferred style is that each test provides a PASS or a FAIL,
30802 and has a unique message (e.g. "continue #54" not just "continue")
30803 which is the same for the pass and the fail.
30804 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30805 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
30806 to lib/gdb.exp.
30807 * gdb.base/printcmds.exp: Use test_print_accept. Remove
30808 prt_accept which was basically the same thing. Likewise for
30809 test_print_reject and prt_reject.
30810 * lib/gdb.exp (test_print_reject): Add some more error message
30811 patterns to match from the former printcmds.exp (prt_reject).
30812 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
30813 One defect of the passcount stuff is that some of it failed to
30814 report XPASS where appropriate.
30815 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
30816 stuff before and after arg in expected pattern.
30817 (test_paddr_operator_functions): Re-do test without print_addr_of;
30818 this is the only test which seems to want extra stuff there.
30819
30820 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30821
30822 * gdb.base/nodebug.exp: Update new tests to reflect improved
30823 wording of gdb output.
30824
30825 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
30826 and "ptype" work on variables in files compiled without -g.
30827 Replaces commented out "maint print msymbol" tests.
30828
30829 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30830
30831 * gdb.base/setvar.c (dummy): Call malloc.
30832
30833 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
30834 losing with the irix4 sed.
30835
30836 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
30837 ALRM" on irix4.
30838
30839 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30840
30841 * TODO: Remove items about corefile.exp testing new exec-file and
30842 backtrace; both are now done. Add items about printing enums.
30843
30844 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30845
30846 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
30847 "get signal $thissig" test fails.
30848
30849 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
30850
30851 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30852
30853 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
30854 compiler warning with dec alpha compiler.
30855
30856 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
30857 extra \n from gdb_test call (this explains why the prompt test
30858 that I removed yesterday was there).
30859 (user_defined_command_test): Remove extra \n and prompt test.
30860
30861 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
30862 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
30863 doesn't exist.
30864 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
30865 Also remove alpha workaround, which turns out to be because
30866 SIGABRT == SIGLOST.
30867
30868 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
30869
30870 * gdb.base/help.exp: Don't test "help show".
30871
30872 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30873
30874 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
30875 "set print address" is on.
30876 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
30877 pass prompt to gdb_test; gdb_test already looks for the prompt.
30878
30879 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
30880
30881 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
30882 was a vestige of the manual TESTSTRATEGY, and the purpose of it
30883 was to make sure that gdb can read a core file. But (a) the "read
30884 the corefile" part didn't make it to a1-selftest.exp, we just
30885 delete the corefile after creating it, and (b) we test reading
30886 corefiles in corefile.exp anyway. Also, this test left around a
30887 xgdb process on Solaris.
30888
30889 * gdb.base/corefile.exp: Also test backtrace.
30890
30891 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
30892
30893 * gdb.base/commands.exp: Test a simple user defined command with
30894 arguments and if/while statements; verify the full user command is
30895 printed by "show user".
30896
30897 * gdb.base/commands.exp: Test if/while commands as part of a
30898 breakpoint command list; verify they appear in breakpoint
30899 information.
30900
30901 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30902
30903 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
30904 than by dividing by zero.
30905
30906 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
30907
30908 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
30909 performing an inferior call with watchpoints enabled.
30910 * gdb.base/watchpoint.c (main): Delete second unnecessary read
30911 call.
30912
30913 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30914
30915 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
30916 of "file" command.
30917
30918 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
30919 Add additional pattern for when "int operator int(void);" appears
30920 in a different order.
30921
30922 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30923
30924 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
30925
30926 * gdb.base/help.exp: Replace most of docstrings for "info signals"
30927 and "signal" with ".*".
30928
30929 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30930
30931 * TODO: Add note about "handle all nostop".
30932
30933 * gdb.base/{sigall.c, sigall.exp}: New test.
30934 * gdb.base/Makefile.in: Add it.
30935
30936 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
30937
30938 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
30939 when invoking GDB, suppresses any windowing interface.
30940
30941 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
30942
30943 * config/sim-gdb: New file, simulator testing support.
30944
30945 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
30946
30947 * gdb.base/interrupt.exp: Test calling func1 twice.
30948
30949 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
30950
30951 * gdb.base/list.exp (test_forward_search): Set timeout higher
30952 when we'll be getting lots of output from gdb.
30953
30954 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
30955 "init_malloc" to after the expect statement. Run it if that
30956 regexp is taken, but also for two others which happen if source
30957 cannot be found.
30958
30959 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30960
30961 * gdb.base/printcmds.exp: New test, for printing register before
30962 program is running.
30963
30964 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30965
30966 * gdb.base/list.exp: Correct some alternate expect patterns
30967 to reflect changes in list1.c.
30968
30969 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30970
30971 * TODO: Add item regarding large frames.
30972
30973 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
30974
30975 * TODO: Remove item about enabling return.exp; it
30976 is enabled. Suggest a few more "return" tests.
30977
30978 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30979
30980 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
30981 anonymous unions.
30982
30983 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30984
30985 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
30986 and pr-5646.o, so "make" is the same as "make all", not "make
30987 pr-4975.o".
30988
30989 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
30990
30991 * gdb.base/list.exp: Adjust expectations to reflect changes in
30992 list1.c.
30993 (test_forward_search): New test proc.
30994 * gdb.base/list1.c (long_line): New function, has long source line.
30995
30996 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
30997
30998 * gdb.base/a1-selftest.exp: Change initial stepping to know about
30999 additional line of code that was added.
31000
31001 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
31002
31003 * gdb.disasm/hppa.s: Break the large branching tests into smaller
31004 tests so as not to overflow expect's input buffers.
31005 * gdb.disasm/hppa.exp: Corresponding changes.
31006
31007 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31008
31009 Beginnings of template debugging tests.
31010 * gdb.c++/templ-info.cc: New file to test for template
31011 debugging capability of the compiler.
31012 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
31013 templ-info.cc.
31014 * gdb.c++/templates.cc: Add explicit template instantiations
31015 to enable compiling with -fno-implicit-templates. Add destructor
31016 and 'value' method to T5 class for template tests.
31017 * gdb.c++/templates.exp: Add testcases for printing of template
31018 types, setting breakpoints on template methods and calling a
31019 template method.
31020
31021 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
31022
31023 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
31024 branch target since some assemblers (gas-2.5) may emit a
31025 relocation for the branch instead of resolving it in the
31026 assembler.
31027
31028 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31029
31030 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
31031 through signal handler.
31032
31033 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31034
31035 * configure.in (*-*-netware): Use config/mt-netware.
31036
31037 * config/mt-netware: New file.
31038 * config/mt-i386-netware: Removed, separate configs for different
31039 netware architectures are no longer needed now that we have
31040 --with-headers.
31041
31042 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31043
31044 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
31045 by the recent changes to use ANSI C arithmetic conversions.
31046
31047 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31048
31049 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
31050 bug involving using inferior_pid to figure out whether to select a
31051 frame.
31052
31053 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
31054
31055 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
31056 match the current disassembler output.
31057
31058 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
31059
31060 * gdb.fortran/exprs.exp: Expect VOID instead of void.
31061 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
31062 types, expect "int" as type of integer values (for now).
31063
31064 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
31065
31066 * gdb.base/commands.exp: New tests for if/while commands.
31067
31068 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
31069
31070 * lib/gdb.exp (runto): Replace sub-pattern for hex value
31071 by .*, since hex values have different syntax in Chill mode.
31072
31073 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31074
31075 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
31076 linefeed from expect pattern for repeated types with indices > 9.
31077
31078 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
31079
31080 First part of Fortran test suite.
31081 * gdb.fortran: New directory.
31082 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
31083
31084 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31085
31086 * gdb.base/default.exp: Update expect pattern for load command
31087 without arguments.
31088
31089 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
31090
31091 * configure.in: Change i386 to i[345]86.
31092 * gdb.base/configure.in: Likewise.
31093 * gdb.c++/configure.in: Likewise.
31094 * gdb.chill/configure.in: Likewise.
31095
31096 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
31097
31098 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
31099 patterns, since that is not a valid context for comments.
31100
31101 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
31102
31103 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
31104 repeated types and repeated types with indices > 9.
31105
31106 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
31107
31108 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
31109 2417; old bug has been fixed.
31110
31111 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
31112
31113 * gdb.base/interrupt.exp: When trying to wake up the inferior,
31114 send the newline ourselves instead of assuming gdb_test will do
31115 so when passed an empty input string.
31116
31117 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
31118 stabs testcode.
31119
31120 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31121
31122 * lib/gdb.exp (gdb_test): Don't send anything if the first
31123 argument is an empty string. This makes cases where we want to
31124 match output that is already in expect's buffers (for example,
31125 matching a breakpoint after gdb_run_cmd has been called) work
31126 reliably.
31127
31128 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31129
31130 * config/netware.exp: New file.
31131
31132 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31133
31134 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
31135 the -B and -L prefixes so we can find the debugging stub.
31136
31137 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
31138 there and we are using the gcc from the tree.
31139
31140 * gdb.base/types.c: Removed.
31141
31142 * gdb.base/configure.in: Look for makefile fragments in ../config.
31143 Recognize i386-*-netware.
31144 * gdb.c++/configure.in: Likewise.
31145
31146 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31147
31148 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
31149 the correct TCL syntax.
31150
31151 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31152
31153 * gdb.base/opaque.exp: use runto instead of messing around with
31154 breakpoints. Simplify by using gdb_test.
31155
31156 * gdb.base/bitfields.exp: restart between tests on netware targets
31157 because breakpoints aren't relocated after target death. Run
31158 processes to completion.
31159
31160 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
31161
31162 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
31163
31164 * Makefile.in: Remove extra tabs that confuse some versions
31165 of "make". Use the newly built gdb to test with by default,
31166 rather than the first one in the tester's search path.
31167
31168 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
31169
31170 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
31171
31172 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
31173 condition help.
31174
31175 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31176
31177 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
31178
31179 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
31180 running.
31181 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
31182 * gdb.base/funcargs.exp: Likewise.
31183
31184 * gdb.base/bitfields.exp: Simplify by using gdb_test.
31185 * gdb.base/funcargs.exp: Likewise.
31186
31187 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
31188 message is "".
31189
31190 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31191
31192 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
31193 return,signals,twice}.exp: Handle non-existant binaries
31194 consistantly.
31195
31196 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
31197 * gdb.base/Makefile.in: Don't try to generate a core dump, we
31198 might testing a cross development system.
31199
31200 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31201
31202 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
31203 runtest script is relative to ${srcdir}, not ${rootdir}.
31204
31205 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
31206
31207 * gdb.base/signals.exp: Allow for optionality of breakpoint
31208 address.
31209
31210 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31211
31212 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
31213
31214 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31215
31216 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
31217 for size_t definition.
31218 * gdb.c++/templates.cc: Likewise
31219
31220 * config/mt-i386-netware: New file.
31221
31222 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
31223 defined.
31224
31225 * gdb.base/Makefile.in: Added support for systems that name core
31226 files by appending "core" to the program name.
31227 * gdb.base/a1-selftest.exp: Likewise.
31228
31229 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31230
31231 * gdb.base/return.exp: Add comment and message for `return double'
31232 test failure on Sparc Solaris.
31233
31234 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
31235
31236 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
31237
31238 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31239
31240 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
31241 from optimizing them away.
31242 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
31243 patterns to include default constructors and assignment operators,
31244 to match gcc versions beyond 2.5.8. Accept any cplus demangling
31245 character in the output of the virtual base pointer.
31246
31247 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31248
31249 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
31250 expression match in print_addr_of to avoid unintented matches.
31251 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
31252 versions up to 2.5.8.
31253
31254 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31255
31256 * gdb.base/list.exp: Tweak alternate pattern for listing of an
31257 included file to run under newer versions of expect.
31258 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
31259 consecutive >'s in templates to accomodate recent cplus-dem.c change.
31260 Remove xfail for the virtual table of BDDHookV.
31261
31262 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
31263
31264 * lib/gdb.exp (string_to_regexp): Set a default result.
31265 (default_gdb_start): Fix misleading message.
31266
31267 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
31268
31269 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
31270 Remove all CC, etc definitions.
31271 * config/mt-hpux: New file.
31272 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
31273 (CFLAGS, LDFLAGS): Define.
31274 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
31275
31276 * Makefile.in (site.exp): Don't insert host_os, etc.
31277 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
31278 (distclean): Check existence of subdir.
31279 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
31280 * gdb.base/Makefile.in: General cleanup and simplification.
31281 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
31282 to build executables. Use default rule to build .o files.
31283 (EXPECT, RUNTEST, CC): Fix relative pathname.
31284 (site.exp): Don't insert host_os, etc.
31285 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
31286 and/or SIGUSR1 defined.
31287 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
31288 * gdb.c++/Makefile.in: General cleanup and simplification.
31289 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
31290 (CFLAGS): Remove.
31291 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
31292
31293 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
31294
31295 * gdb.base/recurse.exp: Misc changes to get tests running again
31296 after Kung's changes to the watchpoint code.
31297 * gdb.base/watchpoint.exp: Likewise.
31298
31299 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
31300
31301 * lib/gdb.exp (string_to_regexp): Convert {\} also.
31302
31303 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
31304
31305 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
31306 * lib/gdb.exp (default_gdb_start): Define.
31307 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
31308 gdb.base/funcargs.exp, gdb.base/opaque.exp,
31309 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
31310 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
31311 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
31312 Don't call gdb_target_udi in between tests.
31313
31314 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31315
31316 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
31317 (which was basically just a local version of the same thing). In
31318 addition to avoiding duplication, gdb_test_exact is faster.
31319 * lib/gdb.exp (gdb_test_exact): Fix typo.
31320
31321 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
31322 don't give an error.
31323
31324 * gdb.base/term.exp: Call delete_breakpoints before starting.
31325
31326 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
31327 (t10): Add comment.
31328
31329 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
31330
31331 Reorganization of the GDB Test Suite.
31332
31333 * gdb.base: New directory, contains all the basic tests.
31334 * gdb.c++: New directory, tests specific to C++.
31335 * gdb.chill: New directory, tests specific to Chill.
31336 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
31337 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
31338 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
31339 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
31340 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
31341 t30-31 to chill).
31342 * */gdbme.*: Rename to match appropriate expect scripts.
31343 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
31344 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
31345 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
31346 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
31347 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
31348 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
31349 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
31350 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
31351 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
31352 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
31353 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
31354 gdb.c++/virtfunc.cc: New names of C++ files.
31355 * gdb.chill/chillvars.ch: New name of Chill file.
31356 * gdb.base/configure.in, gdb.c++/configure.in,
31357 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
31358 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
31359 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
31360 * configure.in (configdirs): Update to reflect directory changes.
31361 (target_abbrev): No longer define for any configuration.
31362 * Makefile.in: Cosmetic improvements to header comments.
31363
31364 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
31365
31366 Various changes to gdb.t31:
31367
31368 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
31369 * gdbme.ch: Make all key-words and predefineds be upper-case.
31370 * chillvars.exp: Expect key-words and predefinds in upper-case.
31371
31372 * chillvars.exp: Use gdb_test_exact many places.
31373 Change expected output for arrays (which now includes index labels).
31374
31375 * pr-5020.exp, gdme.ch (module PR_5020):
31376 New test, for PR-5020.
31377
31378 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
31379
31380 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
31381 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
31382
31383 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
31384
31385 * Makefile.in: Fix bit-rot in definitions of CHILL,
31386 CHILL_FOR_TARGET and Chill_LIB.
31387 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
31388 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
31389 CHILL, and CHILL_LIB.
31390
31391 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
31392
31393 * Revert the previous changes. Please see Rob's directory
31394 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
31395
31396 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
31397
31398 * Makefile.in, configure.in, config/mips-gdb.exp,
31399 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
31400 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
31401 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
31402 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
31403 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
31404 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
31405 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
31406 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
31407 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
31408 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
31409 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
31410 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
31411 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
31412 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
31413 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
31414 changes from 94Q1.
31415
31416 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
31417
31418 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
31419 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
31420 Rob's new testing fragments.
31421
31422 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
31423
31424 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
31425 lib/gdb.exp: Replace error proc calls with perror.
31426
31427 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
31428
31429 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
31430 version also, match on casted version strings, and match on
31431 gdb startup case where the line numbers might be messed up.
31432
31433 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
31434
31435 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
31436 (CFLAGS): Delete it from here.
31437
31438 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
31439
31440 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
31441
31442 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
31443
31444 * Makefile.in (RUNTEST): Default to just "runtest".
31445
31446 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31447
31448 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
31449 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
31450 the code has been restructured.
31451
31452 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31453
31454 * gdb.t00/default.exp (set write): Allow any number of \r and/or
31455 \n, not just one of each.
31456
31457 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
31458 /bin/cc gives a warning if you do.
31459
31460 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
31461
31462 * gdb.t24/demangle.exp: change expect pattern of
31463 __t10ListS_link1ZUiRCUiPT0
31464
31465 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31466
31467 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
31468 on local variables in recursive functions.
31469
31470 * gdb.t07/Makefile.in: Build the new test.
31471
31472 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31473
31474 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
31475 directly. Instead compare the return values from actual calls.
31476
31477 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
31478
31479 * Makefile.in (check): Set TCL_LIBRARY for runtest.
31480
31481 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31482
31483 * From Peter Schauer with minor modifications.
31484 * gdb.t15/return.exp (return_tests): Handle targets where "return"
31485 stops in mid-line in the caller. Add xfail for returning a float
31486 value on X86 targets.
31487
31488 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31489
31490 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
31491 to avoid expect lossage.
31492 (fmem_LRbug_tests): Likewise.
31493 * gdb.disasm/hppa.s: Corresponding changes.
31494
31495 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
31496 conditions to work with latest dejagnu/expect.
31497
31498 * gdb.t15/funcargs.exp (finish from indirect call): No longer
31499 expected to fail on the PA.
31500 (backtrace in call with trampolines): Explicitly require main
31501 to be frame #1 (no trampolines should show up in backtrace).
31502
31503 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
31504 "continue -expect".
31505 * gdb.t06/break.exp: Likewise.
31506 * gdb.t07/watchpoint.exp: Likewise.
31507 * gdb.t13/bitfields.exp: Likewise.
31508 * gdb.t15/{funcargs,return}.exp: Likewise.
31509 * gdb.stabs/weird.exp: Likewise.
31510 * config/{mips,udi}-gdb.exp: Likewise.
31511
31512 * hppa.sed: Enclose comments within a sed command to avoid
31513 losing with the old OSF1 sed.
31514
31515 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31516
31517 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
31518 sequent dynix.
31519 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
31520 * gdb.t15/funcargs.exp: Conditionally step again to really
31521 finish from marker_call_with_trampolines. Handle the case where
31522 the first step from within call_with_trampolines already steps
31523 us back to main.
31524 * gdb.t15/gdbme.c: Add comment to closing brace of
31525 call_with_trampolines for funcargs.exp.
31526
31527 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31528
31529 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
31530 Fix typo(s).
31531
31532 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31533
31534 * gdb.t07/gdbme.c: More code for watchpoint testing.
31535
31536 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
31537 "Hardware watchpoint" throughout file.
31538 (test_watchpoint_triggered_in_syscall): New test.
31539 (test_complex_watchpoint): New test.
31540
31541 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31542
31543 * gdbme.c (call_with_trampolines): New function to try and step
31544 into. Tests trampoline problems on the PA.
31545
31546 * funcargs.exp (localvars_in_indirect_call): No longer expect
31547 stepping into indirect call to fail on PAs.
31548 (test_stepping_over_trampolines): New test.
31549
31550 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31551
31552 * TODO: Add suggestions for static member function tests, and
31553 completion tests.
31554
31555 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31556
31557 * TODO: Add suggestions for "p/a" tests.
31558
31559 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
31560 (default_gdb_exit): Replace all the hair with sending "quit" to
31561 the process with a simple close.
31562
31563 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31564
31565 * TODO: Add suggestions for shared library tests.
31566
31567 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31568
31569 * TODO: Add suggestions for x/s tests.
31570
31571 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31572
31573 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
31574 "enable once", and "enable breakpoints once" with ".*".
31575
31576 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31577
31578 * TODO: Add suggestions about structure passing tests.
31579
31580 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31581
31582 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
31583 the primary1 test, use work around if __GNUC__ < 2.
31584 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
31585 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
31586 Test for bad output rather than waiting for timeout. Issue
31587 second continue only if first continue failed.
31588
31589 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31590
31591 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
31592 operator[] test with gdb_test because the old code didn't seem to
31593 be getting the quoting right with the new dejagnu.
31594
31595 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
31596
31597 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
31598 one from the path.
31599 * Makefile.in: Use a fresh expect if there is one, use runtest
31600 from the src tree if there is one.
31601
31602 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31603
31604 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
31605 next over recursive call. Revise the tests from that point on
31606 (which had been skipped) to match GDB's actual (correct) output.
31607
31608 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
31609 with next over a breakpoint whose condition is false.
31610
31611 * gdb.t00/help.exp: Comment out "help set print" tests just like
31612 (and for same reason as) "help set" test.
31613
31614 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31615
31616 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
31617 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
31618
31619 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31620
31621 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
31622 necessary gdb_target_udi.
31623
31624 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
31625
31626 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
31627 1838 and 2417; they are fixed.
31628
31629 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
31630 gdb.t03/ptype.exp (ptype structure, ptype union):
31631 Remove xfails; the test is looser than when the xfails were added.
31632
31633 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
31634 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
31635
31636 * gdb.t01/run.exp: Only run shell test if isnative.
31637
31638 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
31639 since "run" automatically loads if necessary. Call gdb_target_udi
31640 after the "file" since "file" kills any execution target.
31641
31642 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
31643 GDB. GDB doesn't work that way (not anymore at least) on UDI.
31644 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
31645 argument for UDI.
31646
31647 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31648
31649 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
31650
31651 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
31652
31653 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31654
31655 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
31656 properly quoting regexps. This makes the second argument to
31657 demangle a fixed string, which matches the callers, instead of a
31658 shell-style pattern which is what the previous implementation
31659 used. Update some of the callers.
31660
31661 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31662
31663 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
31664 (comib_nullified_tests): Fix typo.
31665 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
31666 strings. No longer expected to fail.
31667
31668 * gdb.disasm/hppa.s (addib_tests): Fix typo.
31669 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
31670 strings. No longer expected to fail.
31671
31672 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
31673 string. No longer expected to fail.
31674
31675 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31676
31677 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
31678 No longer expected to fail.
31679
31680 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
31681 string. No longer expected to fail.
31682
31683 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31684
31685 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
31686 only in the names (I probably got most of them). I was even
31687 generous with some which differed in underscores in names, and
31688 probably missed a few, and I *still* was able to remove almost a
31689 third of the file with almost no impact on testsuite coverage.
31690
31691 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31692
31693 * gdb.t00/default.exp: Match udi_attach error message as well as
31694 the one from child_attach.
31695
31696 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
31697
31698 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
31699
31700 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
31701 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
31702
31703 * Move test with enums and partial symbols back to
31704 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
31705 Reverts the change of 26 May 93. Per today's change to
31706 stabs.texinfo, the behavior that weird.exp was expecting was
31707 unreasonable; what is important is that the compiler+gdb get
31708 things right, which happens with a recent gcc. Also fix the test
31709 to deal with native compilers which put out the stab gdb can't
31710 deal with.
31711
31712 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31713
31714 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
31715 in the names. The main thing these accomplish is to slow things down.
31716 Many more such duplicates surely remain.
31717
31718 * gdb.t00/help.exp: Comment out "help support" test just like
31719 (and for same reason as) "help set" test.
31720
31721 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
31722
31723 * gdb.t06/break.exp: Remove setup_xfails for
31724 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
31725 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
31726 about known bug in gcc to include up through 2.5.8.
31727 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
31728 well as "_vb$".
31729 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
31730 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
31731 with latest gcc and gdb.
31732 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
31733 well as "_vb$".
31734
31735 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31736
31737 * configure.in (hppa*-*-*): Also configure and build stabs-only
31738 tests.
31739
31740 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31741
31742 * gdb.t10/hppa.mt: A makefile fragment for the PA.
31743 * gdb.t10/configure.in (hppa*-*-*): Use it.
31744
31745 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31746
31747 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
31748
31749 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31750
31751 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
31752 versions prior to 1.13.5.
31753
31754 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31755
31756 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
31757 the prompt is at the start of a line.
31758
31759 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31760
31761 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
31762 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
31763 in the copr tests now.
31764 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
31765 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
31766 expected to fail.
31767
31768 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
31769
31770 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
31771 gdb.t31/chillvars.exp, lib/gdb.exp:
31772 Tweak to run under either version of expect.
31773 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
31774 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
31775 * gdb.t11/list.exp: Remove extraneous whitespace.
31776
31777 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31778
31779 * gdb.t16/printcmds.exp (test_print_strings): Accept
31780 "(unsigned char *) " before the string.
31781
31782 * TODO: Add notes about printing of fancy types and GDB expressions.
31783
31784 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
31785
31786 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
31787 * gdb.t06/configure.in: Don't try to compile signals test program
31788 if doing mips-idt-ecoff.
31789
31790 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
31791
31792 * Most .exp files: Tweak to run under either version of expect.
31793
31794 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31795
31796 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
31797 xfails; I'm not sure why they are failing, but not because of PR 1806.
31798
31799 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
31800
31801 * config/unix-gdb.exp: Remove gdb_unload cause it's already
31802 defined in lib/gdb.exp.
31803
31804 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31805
31806 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
31807 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
31808 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
31809 have to be typeless.
31810
31811 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31812
31813 * TODO: Add suggestion for copyright year test.
31814
31815 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
31816
31817 * configure.in (*-*-lynxos*): Add stabs tests.
31818
31819 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31820
31821 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
31822 so insert a tab before any assembler directive in column zero.
31823
31824 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
31825 stores.
31826 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
31827 stores.
31828 (fpu_short_memory_tests): Likewise.
31829
31830 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31831
31832 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
31833 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
31834 .stabs directives in comments.
31835
31836 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31837
31838 * TODO: New file, describing tests we could write.
31839 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
31840
31841 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31842
31843 * gdb.t06/signals.exp: Add kludge to force re-sync.
31844
31845 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
31846 to xgdb instead of gdb, get out of gdb.
31847
31848 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
31849
31850 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
31851 for info.
31852
31853 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31854
31855 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
31856 * gdb.stabs/configure.in (hppa*-*-*): Use it.
31857 * gdb.stabs/hppa.sed: New sed script for the PA.
31858
31859 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31860
31861 * gdb.stabs: Re-write weird.def and configuration to use sed
31862 instead of cpp. sed is portable and POSIX; cpp is neither.
31863
31864 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31865
31866 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
31867
31868 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31869
31870 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
31871
31872 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31873
31874 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
31875 "_vb$".
31876 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
31877 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
31878
31879 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31880
31881 * lib/gdb.exp: Comment out code which depends on non-existent
31882 `transform' procedure.
31883
31884 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
31885
31886 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
31887 * lib/gdb.exp: Transform tool name.
31888 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
31889 1.1's new error handling system.
31890
31891 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31892
31893 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
31894
31895 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31896
31897 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
31898 They made pattern matching so slow that timeouts happened on
31899 heavily loaded systems. Now any output from "show print" which
31900 gets us back to the GDB prompt is a PASS.
31901
31902 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
31903
31904 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
31905
31906 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31907
31908 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
31909
31910 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
31911 It is not from PR 3220.
31912
31913 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31914
31915 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
31916 just started failing because they depended on the order the
31917 subcommands are presented, or exact docstring text. This kind of
31918 test is a pain and has minimal benefit.
31919
31920 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31921
31922 * gdb.t09/corefile.exp: At end of test, use "core" command with
31923 no arguments.
31924
31925 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
31926
31927 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
31928 17}/Makefile.in: Make it possible to run the testsuite with Sun
31929 make and CC = cross gcc by adding explicit build rules for .o
31930 files.
31931
31932 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31933
31934 * gdb.t15/funcargs.exp: Don't put comments on same line as
31935 setup_xfail (@#$*%& tcl braindamage!).
31936
31937 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31938
31939 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
31940
31941 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
31942
31943 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
31944 * gdb.t20/inherit.exp: remove three dumplicate entries.
31945
31946 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31947
31948 * gdb.t06/break.exp: For "next over recursive call", fail on any
31949 incorrect output, not just on "factorial (value=2)".
31950
31951 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31952
31953 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
31954 working now. Add an xfail if accesing a bss variable causes
31955 a memory error if the target is not yet run.
31956
31957 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31958
31959 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
31960 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
31961 name of __st* demangling (2 strings). Did Kung really get the
31962 more than 95 others right without testing them?
31963
31964 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
31965
31966 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
31967
31968 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
31969
31970 * configure.in (configdirs): Add gdb.disasm
31971 * gdb.disasm: New directory for GDB disassembler tests.
31972 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
31973
31974 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31975
31976 * gdb.t00/help.exp: Don't test "help set".
31977
31978 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
31979 from within expect statements. None of these happen anymore and
31980 they cause regressions to be silently unnoticed.
31981
31982 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
31983 messages) about known failures with gcc cygnus-2.4.5-930417.
31984
31985 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
31986 comp-info.exp so it gets built if it doesn't exist.
31987
31988 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
31989 it is no longer used.
31990 * gdb.t13/comp-info.c: Removed.
31991
31992 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31993
31994 * gdb.t06/signals.exp: Add xfail for sun3.
31995
31996 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31997
31998 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
31999 relevant because ^C doesn't get sent but failure can be reproduced
32000 interactively).
32001
32002 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32003
32004 * gdb.stabs/alpha.mt: New configuration file for alpha.
32005 * gdb.stabs/configure.in: Use it.
32006 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
32007 sharing with alpha.mt, redefine long to word via preprocessor.
32008 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
32009 for alpha.
32010 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
32011 native cc.
32012 * gdb.t00/teststrategy.exp: Change expect string so that we
32013 consume the `(xgdb)' from the command echo and from the gdb prompt.
32014 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
32015 gdb currently compares all values as long, so this failure probably
32016 applies to any configuration where LONGEST is bigger than a target int.
32017 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
32018 with gcc.
32019 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
32020 to handle opaque pointers, gcc is.
32021 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
32022 as first argument. Include <sys/types.h> and change all operator
32023 new definitions to use size_t.
32024 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
32025 now that we use size_t.
32026
32027 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32028
32029 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
32030 a long or float array cast all array members to the same type.
32031 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
32032 with 64 bit longs.
32033 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
32034 on alpha.
32035 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
32036
32037 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32038
32039 * gdb.t24 (demangle.exp): Constructors of templates have names like
32040 vector<int>::vector(int) not vector<int>::vector<int>(int). See
32041 section 14.6 of the ARM.
32042
32043 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
32044 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
32045 accomplish little and slow down the testsuite.
32046
32047 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
32048 Accept spaces various places.
32049
32050 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32051
32052 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
32053 with watchpoint enabled.
32054
32055 * Makefile.in: Remove definition of CC and remove the second
32056 definition of CXX (the "CXX = gcc" one remains). These definitions
32057 were causing backquotes to be expanded within backquotes, which
32058 doesn't work.
32059
32060 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
32061
32062 * gdb.t17/callfuncs.exp: Add "return 0" to end.
32063
32064 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32065
32066 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
32067 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
32068 by mips cc and contains no stabs entries.
32069
32070 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
32071
32072 * config/vx-gdb.exp: Use fake device to load files rather than
32073 NFS.
32074 * lib/gdb.exp: New proc to do "file" command.
32075 * config/unix-gdb.exp: Use new "file" proc.
32076
32077 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
32078
32079 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
32080 Rework board rebooting slightly.
32081 (gdb_exit): Don't exit from the remote shell; there isn't one.
32082 * gdb.stabs/weird.exp: If a program is being debugged already,
32083 kill it.
32084 * gdb.t04/setvar.exp: Stop and restart gdb.
32085 * gdb.t05/expr.exp: Likewise.
32086 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
32087 restart gdb and reload the program.
32088 * gdb.t08/opaque.exp: Likewise.
32089 * gdb.t12/scope.exp: Likewise.
32090 * gdb.t13/bitfields.exp: Likewise.
32091 * gdb.t15/funcargs.exp: Likewise.
32092 * gdb.t20/classes.exp: Likewise.
32093 * gdb.t03/ptype.exp: Increase timeout.
32094 * gdb.t16/printcmds.exp (test_print_string_constants,
32095 test_print_array_constants): Likewise.
32096 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
32097 * gdb.t20/classes.exp (do_tests): Likewise.
32098 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
32099
32100 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
32101
32102 * gdb.stabs: Renamed *wierd* to *weird*.
32103
32104 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
32105
32106 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
32107 for timeout. Add "known gcc 2.4.5 bug" to failure message.
32108
32109 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
32110
32111 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
32112 (do_tests): Remove xfail for whatis on one_var and two_var.
32113
32114 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
32115
32116 * Makefile.in: Made cross building work better by adding
32117 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
32118
32119 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32120
32121 * gdb.t15/{return.c,return.exp,Makefile.in}:
32122 New test, currently commented out.
32123
32124 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
32125
32126 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
32127 still running and removes the leftover named socket so GDb can do
32128 clean restarts.
32129
32130 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
32131
32132 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
32133 console, not GDB.
32134 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
32135 cross testing works better with "make check"
32136 * config/unix-gdb: Use default procedures for exit and version.
32137 * config/vx-gdb.exp: Cleaned up and massaged back to working order
32138 with the newest VxWorks.
32139
32140 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32141
32142 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
32143 old form.
32144
32145 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
32146 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
32147
32148 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
32149
32150 * config/unix-gdb.exp: Remove this version of gdb_exit
32151 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
32152 Rob says he'll look at it when he gets back to testing boards.
32153
32154 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
32155
32156 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
32157 an expected fail for certain ptype commands.
32158
32159 * gdb.t20/classes.exp: Update expected results of "ptype class
32160 Base1" to account for the constructor that now appears in the type.
32161
32162 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
32163
32164 * configure.in (configdirs): Restore gdb.t04, which mysteriously
32165 disappeared from list.
32166 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
32167 "alldone" proc with call to cleanup and exit.
32168 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
32169 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
32170 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
32171 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
32172 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
32173 "alldone" proc with simple returns that suppress remaining
32174 tests. The alldone proc went away many months ago.
32175
32176 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32177
32178 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
32179
32180 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
32181
32182 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32183
32184 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
32185 as vax gdb will display them.
32186
32187 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32188
32189 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
32190 optimizers.
32191
32192 * scope.exp: Change "bad value for localval" messages so each one
32193 is unique.
32194
32195 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
32196 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
32197
32198 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
32199
32200 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32201
32202 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
32203 doesn't exist (due to optimization).
32204
32205 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32206
32207 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
32208 contains \r because the filename is long.
32209
32210 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
32211 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
32212
32213 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32214
32215 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
32216 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
32217 Ultrix.
32218 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
32219 int tests.
32220 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
32221
32222 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
32223
32224 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
32225
32226 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
32227 to match does not match the passing case but still matches the
32228 failing case.
32229
32230 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32231
32232 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
32233
32234 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
32235
32236 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
32237 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
32238 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
32239 Remove various versions of gdb_exit.
32240 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
32241 gdb_exit.
32242 * config/unix-gdb.exp: gdb_exit remains here, and should override
32243 the generic version, since it's doing a lot of wierd stuff that
32244 the other versions aren't. FIXME, fold it in, or abandon this
32245 version.
32246
32247 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32248
32249 * gdb.t24/demangle.exp: Add tests for PR 3220.
32250
32251 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32252
32253 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
32254
32255 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
32256
32257 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
32258 "i386-*-*". Works for i486 as well.
32259
32260 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
32261 bug, and expand domain of xfail to all SVR4 systems, since the
32262 actual problem is likely to be in generic SVR4 /proc support.
32263
32264 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32265
32266 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
32267
32268 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
32269
32270 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
32271 xfails for other systems. Match a missing 'Continuing.' as an
32272 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
32273
32274 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
32275 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
32276 Only issue warning for missing executables if -all option is used.
32277
32278 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
32279 file if -all option is used. It's like an unpredictable XFAIL.
32280
32281 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32282
32283 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
32284 for dynamically linked binaries.
32285
32286 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
32287
32288 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32289
32290 * gdb.t20/inherit.exp: Change message for "print tagless struct"
32291 to state that this is a known bug in old versions of g++.
32292
32293 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32294
32295 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
32296 while waiting for `Continuing'.
32297
32298 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
32299
32300 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
32301 in text, data, and bss.
32302 * gdb.t10/nodebug.c: Add local and global test variables for
32303 initialized and uninitialized data.
32304
32305 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32306
32307 * config/unix-gdb.exp (gdb_exit): Add "wait".
32308
32309 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32310
32311 * gdb.t06/signals.exp: xfail the continue from the handler for all
32312 targets.
32313
32314 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
32315 function with watchpoints enabled, the i386 call dummy starts with
32316 a call.
32317
32318 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
32319 386 bsd names its corefiles.
32320
32321 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
32322
32323 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
32324 compilers don't grok it.
32325 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
32326 with small octal ints rather than character constants, which
32327 are signed and might not fit if first promoted to int.
32328
32329 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
32330
32331 * gdb.t09/Makefile.in (clean): Remove corefile.
32332
32333 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32334
32335 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
32336
32337 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32338 and Jim Kingdon (kingdon@cygnus.com)
32339
32340 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
32341 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
32342 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
32343
32344 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32345
32346 * gdb.t17/interrupt.exp: Add xfail for hppa.
32347
32348 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32349
32350 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
32351 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
32352 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
32353 to determine signed-ness of bitfields and use the result to setup
32354 the xfail.
32355 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
32356 * gdb.t15/funcargs.exp: Use them to step until the second indirect
32357 call line is reached if necessary.
32358
32359 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32360
32361 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
32362
32363 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32364
32365 * gdb.t06/break.exp: Also test `clear' command.
32366
32367 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32368
32369 * gdb.t00/teststrategy.exp: Remove extra quote.
32370
32371 * gdb.t07/watchpoint.exp: Change xfail for calling function with
32372 watchpoint enabled to be for all non-68k machines.
32373
32374 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
32375
32376 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32377
32378 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
32379 targets use aout.mt instead of ecoff.mt as gas understands
32380 standard aout format.
32381
32382 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32383
32384 * lib/gdb.exp (runto): Don't insist that function we are running to
32385 was compiled with -g.
32386
32387 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
32388
32389 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
32390 to get back into the read system call.
32391 Accept leading newline in case where we woke it up.
32392
32393 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32394
32395 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
32396 to make the stabs test work on ecoff systems using gcc and -with-stabs.
32397 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
32398 enable ecoff configuration.
32399
32400 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32401
32402 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
32403
32404 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32405
32406 * gdb.t16/printcmds.exp: Add another printf test.
32407
32408 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
32409
32410 * configure.in: If configured -with-stabs on any target, add
32411 stabsdirs to configdirs.
32412
32413 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32414
32415 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
32416 fun" so pattern does not match the command itself.
32417
32418 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32419
32420 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
32421
32422 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32423
32424 * gdb.t17/interrupt.exp: Test for more things.
32425
32426 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32427
32428 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
32429 compiler arranges the code and line numbers.
32430
32431 * gdb.t17/interrupt.exp: Don't send \n after ^C.
32432
32433 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32434
32435 * gdb.t00/help.exp: Increase expect input buffer size.
32436
32437 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32438
32439 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
32440
32441 * gdb.t07/watchpoint.exp: Add xfail for hppa.
32442
32443 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
32444
32445 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
32446 [0-9]*, not just [0-9].
32447
32448 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32449
32450 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
32451
32452 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
32453
32454 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32455
32456 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
32457
32458 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32459
32460 * gdb.t06/signals.c: Add xfails for sun3.
32461
32462 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
32463
32464 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
32465 test_stepping tests.
32466
32467 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32468
32469 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
32470
32471 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
32472
32473 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
32474 rather than actually putting it through cpp twice.
32475
32476 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
32477
32478 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
32479
32480 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
32481 no longer needed.
32482
32483 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32484
32485 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
32486
32487 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
32488 C++ features prints as "struct", make it a pass, not an xfail.
32489
32490 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32491
32492 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
32493 Don't require VA to print as "class" rather than "struct".
32494
32495 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
32496
32497 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
32498
32499 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32500
32501 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
32502
32503 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32504
32505 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
32506 order.
32507
32508 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32509
32510 * gdb.t16/printcmds.exp: Add printf tests.
32511
32512 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
32513
32514 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
32515
32516 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
32517
32518 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
32519 pass counts, to counteract any existing or future setup_xfails.
32520
32521 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32522
32523 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
32524 {BEGIN,END}_COMMON for common block instead of STAB.
32525 * gdb.stabs/wierd.exp: Add xfail for rs6000.
32526
32527 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
32528 intp_var should be N_GSYM not N_LSYM.
32529 wierd-aout.S: Use a label for the value of the N_SO.
32530 wierd.def: Remove all backslashes.
32531 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
32532
32533 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32534
32535 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
32536 get the expected next to inheritance3.
32537
32538 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32539
32540 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
32541 now that gcc-2.4 gets it right.
32542
32543 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32544
32545 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
32546
32547 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
32548 generating comp-info.exp which works for cross-compilation.
32549
32550 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
32551
32552 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
32553 "*-*-sysv4.*".
32554
32555 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
32556
32557 * gdb.t01/run.exp: Start with a fresh gdb.
32558 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
32559 SVR4.x.
32560
32561 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
32562
32563 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
32564 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
32565 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
32566 Makefile.in (distclean, realclean): Remove gdbme.c from list of
32567 things to remove.
32568
32569 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
32570
32571 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
32572 test cases from bug reports.
32573
32574 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
32575
32576 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
32577 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
32578 avoid spurious xfails.
32579 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
32580 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
32581 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
32582
32583 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
32584
32585 * gdb.t00/teststrategy.exp: Rework to provide more useful
32586 description of each test, fix problem with systems that define
32587 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
32588 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
32589 results for "next over recursive call" so timeouts aren't taken
32590 by error.
32591
32592 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
32593
32594 * gdb.t12/scope.exp: Test printing of variables before run.
32595
32596 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
32597 printed in wrong order due to sorting.
32598
32599 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
32600
32601 * gdb.t00/teststrategy.exp: Fix expected results for printing
32602 user entered string constant. Is array of char, prints with no
32603 address.
32604
32605 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
32606 commands.
32607 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
32608 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
32609 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
32610 of struct of char arrays.
32611 * gdb.t00/radix.exp: New tests for radix commands.
32612
32613 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
32614
32615 * gdb.t16/printcmd.exp: Print a variable before running program
32616 (with xfail for AIX).
32617
32618 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
32619
32620 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
32621
32622 * gdb.t16/printcmd.exp: Don't print variables before running program.
32623
32624 * gdb.t06/break.exp: Don't require envp argument to main.
32625
32626 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
32627
32628 * gdb.t02/whatis.exp, gdb.t11/list.exp:
32629 Add xfails for rs6000.
32630
32631 * gdb.t02/whatis.exp: Change other tests not to re-test something
32632 we already tested.
32633
32634 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
32635 each type used has a variable of that type.
32636
32637 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
32638
32639 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
32640
32641 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
32642
32643 * configure.in: change srctrigger to be a file, not a directory
32644
32645 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
32646
32647 * configure.in (mips-idt-ecoff*): Added trailing '*'.
32648
32649 * gdb.t11/list.exp: Fixed a couple of typos.
32650
32651 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
32652
32653 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
32654 is fixed and PR is closed.
32655 * gdb.t16 (gdbme.c): Add simple test string variable.
32656 * gdb.t16 (printcmds.exp): Add tests with simple test string
32657 variable, primarily for boundaries on "set print elements".
32658
32659 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
32660
32661 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
32662 Make leading 0's optional and don't expect a tab in the middle
32663 of the number.
32664
32665 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
32666
32667 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
32668 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
32669 don't end command passed to gdb_test with newline.
32670
32671 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
32672 signed keyword away, don't expect signed bitfields to be signed.
32673
32674 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
32675 printing with only as many 1's as are in the field as well as printing
32676 with 32 1's (see comment).
32677
32678 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
32679
32680 * gdb.t00/default.exp: Start with a fresh gdb.
32681 * configure.in (configdirs): Remove gdb.t31 until the chill
32682 compiler works again. It no longer is able to find chillrt0
32683 since it isn't in libchill.a anymore.
32684 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
32685 wierd.o, make more modular.
32686 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
32687 spurious newlines that caused problems.
32688
32689 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32690
32691 * Move test with enums and partial symbols from gdb.t03/ptype.exp
32692 to gdb.stabs/wierd.exp since GCC has worked around the bug.
32693 gdb.stabs/wierd.{exp,def}: Many new tests.
32694
32695 * gdb.t00/default.exp: update info line for new message.
32696
32697 * gdb.t02/{whatis.exp,gdbme.c}:
32698 Test that "char *" doesn't print as "caddr_t".
32699
32700 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32701
32702 * gdb.t00/help.exp: Use .* in place of some help messages which
32703 just changed.
32704 gdb.t00/default.exp: Update "info frame" test for new message.
32705 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
32706 Remove some xfails
32707
32708 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32709
32710 * gdb.t03/{gdbme.c,ptype.exp}:
32711 Add tests for typedef'd struct and union without tags.
32712 Also check "whatis" on a variable of a typedef'd enum without a tag.
32713
32714 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
32715 PRMS 1823; the bug still exists but isn't reproduced by this test
32716 anymore), and remove rs6000 XFAIL (the bug is fixed).
32717
32718 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
32719 duplicated from whatis.exp. For those that are left, accept
32720 "long", "long int", or "int" for long variables (whatis.exp already
32721 has an XFAIL for "int", so no need to fail it here).
32722
32723 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
32724 Deal with GCC's names for types now that GDB uses the compiler's names.
32725
32726 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
32727 setup_xfail's for sunos4. If we #defined the signed keyword away,
32728 don't expect GDB to know that char it is signed.
32729
32730 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
32731
32732 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
32733
32734 * configure.in (configdirs): Add gdb.t24 for C++ tests that
32735 should work on any system, regardless of debugging format.
32736 * gdb.t21/demangle.exp: Move to gdb.t24.
32737 * gdb.t24/demangle.exp: Move from gdb.t21.
32738 * gdb.t24/{Makefile.in, configure.in}: New files.
32739
32740 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32741
32742 * configure.in: Do gdb.stabs and C++ tests only for stabs.
32743 * gdb.stabs: New directory.
32744
32745 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32746
32747 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
32748 not just "Quit anyway?".
32749
32750 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
32751
32752 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
32753 that all setup_xfails are immediately followed by clear_xfails.
32754
32755 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
32756
32757 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
32758 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
32759 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
32760 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
32761 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
32762 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32763 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32764 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
32765 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
32766 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
32767 gdb.t31/chillvars.exp, lib/gdb.exp:
32768 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
32769 bug-gdb@prep.ai.mit.edu.
32770
32771 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
32772
32773 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
32774 with 0.0, not integer 0.
32775
32776 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
32777
32778 * gdb.t06/break.exp: Update for "Kill the program" message change.
32779
32780 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
32781
32782 * Makefile.in (GDBFLAGS): Set to -nx.
32783 * Makefile.in (site.exp): Use GDBFLAGS.
32784
32785 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32786
32787 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
32788 Makefiles.
32789 (check): depend on just-check.
32790 (just-check): added so that tests can be run without a noop
32791 build pass.
32792
32793 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32794
32795 Switch to using configure's configdirs.
32796 * Makefile.in (Makefile): add configure.in dependency.
32797 (SUBDIRS): removed redundant assignment.
32798 * configure.in: switch subdirs assignment to configdirs.
32799 * gdb.t*/configure.in: new files.
32800
32801 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
32802
32803 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
32804 works.
32805
32806 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
32807
32808 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
32809 in explicit rules. Apparently this is not supported by some makes.
32810
32811 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
32812
32813 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
32814
32815 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32816
32817 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
32818 disappeared.
32819
32820 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
32821
32822 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
32823
32824 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
32825
32826 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
32827 watchpoint problem that is now fixed.
32828 * gdb.t30/chexp.exp: Remove setup_xfail for printing
32829 uninitialized convenience variables.
32830 * gdb.t31/chillvars.exp: Fix expected patterns for printing
32831 structures.
32832
32833 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32834
32835 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
32836 which causes expect to get out of sync with gdb on long output
32837 from help set.
32838 * gdb.t09/corefile.exp: Make expected pattern for core file
32839 failing signal and frame output format less sun specific.
32840
32841 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
32842
32843 * gdb.t31/chillvars.exp: Add and remove initial dummy
32844 breakpoint, so that symbol table is forced in.
32845 (Needed at least on Sunos4, though it seems not SVR4.)
32846 * gdb.t31/chillvars.exp: Update for changed output format.
32847
32848 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
32849
32850 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
32851
32852 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
32853
32854 * Makefile.in: Added --srcdir when invoking runtest, removed the
32855 need for a local config file. (optional now)
32856
32857 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
32858
32859 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
32860 failure count used to force early termination. Add some more
32861 expected failures for gnu style demangling.
32862
32863 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32864
32865 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
32866 pmi variable from gdb.t20/gdbme to get optimized away.
32867 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
32868 Check for written corefile upon timeout _and_ eof.
32869
32870 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32871
32872 * config/unix-gdb.exp: Add missing return 0.
32873
32874 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32875
32876 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
32877 test termination.
32878
32879 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
32880
32881 * configure.in (subdirs): Put back gdb.t17 which mysteriously
32882 disappeared.
32883
32884 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
32885
32886 * gdb.t10/crossload.exp: Disable the i860-elf test until such
32887 time as i860 support works.
32888
32889 * gdb.t15/funcargs.exp: Fix expected outputs to include
32890 "backtrace 100\r" rather than just "backtrace\r", to match last
32891 change.
32892
32893 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
32894
32895 * config/udi-gdb.exp (gdb_exit): Remove close command.
32896 (gdb_target_udi): New procedure to set the UDI target.
32897 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
32898 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
32899 Added waits for prompts after several question responses. Added
32900 some more responses used by a29k-amd-udi-gdb.
32901 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
32902 pass different arguments, restart UDI connection after program
32903 completion.
32904 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
32905 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32906 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
32907 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
32908 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
32909 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
32910 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32911 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
32912 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
32913 after program completion.
32914 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
32915 compiled with a SELECT_VECS setting.
32916 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
32917 infinite recursion.
32918
32919 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
32920 Added checks for COFF results, and made them expected failures for
32921 all targets. It would be better to make them expected failures
32922 for COFF targets only.
32923
32924 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
32925
32926 * Makefile.in: add null dvi target, don't bother to recurse
32927 through test directories for info and install-info; rename
32928 $(datadir) to be dejagnu instead of deja-gnu
32929
32930 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
32931
32932 * gdb.t31/gdbme.ch: Re-enable code that previously caused
32933 compiler to coredump.
32934 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
32935 code.
32936
32937 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
32938
32939 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
32940 coredump.
32941 * gdb.t31/chillvars.exp: Comment out tests that depend on that
32942 code.
32943
32944 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
32945
32946 * gdb.t03/ptype.exp: tests for return code from gdb_test.
32947 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
32948 which in a shell. Deletes xgdb when done.
32949 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
32950 Tests the return from the "set height" or "set width" commands.
32951 Added a few return codes where needed.
32952
32953 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
32954
32955 * Makefile.in (SUBDIRS): Add gdb.t17.
32956 * configure.in (subdirs): Add gdb.t17.
32957 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
32958 files to test gdb's calling of functions in the inferior with
32959 the correct arguments and gdb's ability to retrieve any
32960 result returned.
32961
32962 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
32963
32964 * config/unix-gdb.exp (gdb_exit): Remove close commands that
32965 may be called after gdb goes away. Previous versions of expect
32966 needed these to avoid file descriptor leaks, but they cause
32967 errors with the current revision of expect.
32968 * gdb.t00/gdbvars.exp: Use -re on expected output after
32969 setting sevenbit-strings.
32970 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
32971 to set sevenbit-strings consistent across tests.
32972 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
32973 set sevenbit-strings consistent across tests.
32974
32975 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
32976
32977 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
32978 expected output to match current "expect" expectations.
32979
32980 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
32981
32982 * gdb.t00/default.exp: Change expected output for default "source"
32983 command, to match new gdb behavior which requires a filename to
32984 source.
32985
32986 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
32987
32988 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
32989 expected fail for i486-*-* that misses the marker2 function.
32990 * gdb.t10/crossload.exp (bfddefault): Allow successful
32991 recognition of a format to pass even if no symbols are found.
32992 Explicitly catch failures where the format is not recognized
32993 or is ambiguous, and add the reason to the fail message.
32994 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
32995 the cause is and invalid target and add reason to failure message.
32996 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
32997 elf32-i386, elf32-sparc, and elf32-i860.
32998 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
32999 Set up expected failure for 'filename'::variable scope resolution,
33000 which is now apparently broken on all targets.
33001 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
33002 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
33003 gdb.t23/templates.exp: Change failure for missing binfile into
33004 just a warning.
33005 gdb.t21/demangle.exp: Change all cfront references to 'arm'
33006 references.
33007
33008 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
33009
33010 * gdb.t00/default.exp: Add expected output for default "source"
33011 command, to match new gdb behavior.
33012 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
33013
33014 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
33015
33016 * config/*-gdb.exp: returns an error, rather than exiting on
33017 internal errors.
33018
33019 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
33020
33021 * gdb.t03/gdbme.c: Add pointer to struct variable.
33022 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
33023 referencing struct members.
33024
33025 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
33026
33027 * configure.in (mips-idt-ecoff): New target.
33028 * config/mips-gdb.exp: New file for remote board using MIPS remote
33029 debugging protocol.
33030
33031 * Redid configuration scheme. Removed gdb.t*/configure.in.
33032 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
33033 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
33034 distclean targets. Built executables via .o files. Adjusted
33035 tests to account for source files in $(srcdir) rather than
33036 $(objdir).
33037 * lib/gdb.exp (runto): Don't expect () after the function name,
33038 because it may have arguments.
33039
33040 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
33041
33042 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
33043 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
33044 expected failures for mips-idt-* and mips-sgi-*.
33045 * gdb.t00/default.exp (attach): Kill process if requested.
33046 * gdb.t00/help.exp (help target core, help target): Accept a gdb
33047 that does not read core files.
33048 * gdb.t01/run.exp: Removed checks for exit status code.
33049 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
33050 it is linked in.
33051 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
33052 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
33053 appropriate, rather than doing it by hand.
33054 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
33055 execution.
33056 * gdb.t10/crossload.exp: Kill existing program if needed.
33057 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
33058 appropriate, rather than doing it by hand. Always increase
33059 timeout for this test, not just for VxWorks.
33060
33061 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
33062
33063 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
33064 of Chill STRUCT types and STRUCT values.
33065 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
33066 than "char".
33067 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
33068 struct2): New struct definitions and initializations to test
33069 simple Chill STRUCT types.
33070
33071 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
33072
33073 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
33074 the null byte at the end of strings.
33075 * gdb.t00/default.exp: Make show version insensitive to copyright
33076 date.
33077 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
33078 to avoid dependencies on target char signedness.
33079 * gdb.t16/printcmds.exp: Update expected results for explicitly
33080 unsigned char.
33081 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
33082 now work.
33083 * gdb.t21/demangle.exp: Add many more patterns for template
33084 demangling, most of them being expected failures.
33085 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
33086 string we are matching for, to match on the whole string.
33087 * gdb.t21/demangle.exp: Add many new test strings to demangle,
33088 and fix a whole bunch that had incorrect expected output but were
33089 passing anyway because of the bug in "proc demangle".
33090 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
33091 type.
33092 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
33093
33094 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
33095
33096 * gdb/testsuite: made modifications to testcases, etc., to allow
33097 them to work properly given the reorganization of deja-gnu and the
33098 relocation of the testcases from deja-gnu to a "tool" subdirectory.
33099
33100 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
33101
33102 * gdb/testsuite: Initial creation of gdb/testsuite.
33103 Migrated dejagnu testcases and support files for testing nm to
33104 gdb/testsuite from deja-gnu. These files were moved "as is"
33105 with no modifications. This migration is part of a major overhaul
33106 of dejagnu. The modifications to these testcases, etc., which
33107 will allow them to work with the new version of dejagnu will be
33108 made in a future update.
33109
33110 For additional changes see gdb.mi/ChangeLog-1999-2003.
33111 \f
33112 ;; Local Variables:
33113 ;; mode: change-log
33114 ;; left-margin: 8
33115 ;; fill-column: 74
33116 ;; version-control: never
33117 ;; End:
33118
33119 Copyright 1993-2013 Free Software Foundation, Inc.
33120 Copying and distribution of this file, with or without modification,
33121 are permitted provided the copyright notice and this notice are preserved.
This page took 0.66246 seconds and 5 git commands to generate.