* elf32-m68k.c (elf_m68k_size_dynamic_sections): Add DT_DEBUG also
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
c968bd18
JB
12013-10-08 Joel Brobecker <brobecker@adacore.com>
2
3 * gdb.ada/mi_catch_ex.exp: Make "mi_execute_to" test names unique.
4
f44eeb11
TT
52013-10-07 Tom Tromey <tromey@redhat.com>
6
7 * lib/mi-support.exp (varobj_tree::walk_tree): Set _root_idx
8 to 0.
9
0c557179
SDJ
102013-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
11
12 * gdb.base/corefile.exp: Test whether $_exitsignal is set and
13 $_exitcode is void when opening a corefile.
14 * gdb.base/exitsignal.exp: New file.
15 * gdb.base/segv.c: Likewise.
16 * gdb.base/normal.c: Likewise.
17
5713b9b5
JB
182013-10-04 Joel Brobecker <brobecker@adacore.com>
19
20 * gdb.mi/mi-start.c, gdb.mi/mi-start.exp: New files.
21
3f983d47
YZ
222013-10-02 Vidya Praveen <vidyapraveen@arm.com>
23
24 * gdb.trace/entry-values.exp: Modify regular expression to scan for
25 'bl' instruction instead of 'call' for ARM and AArch64 targets.
26
901461f8
PA
272013-10-02 Pedro Alves <palves@redhat.com>
28
29 * gdb.dwarf2/dw2-reg-undefined.exp <pattern_rax_rbx_rcx_print,
30 pattern_rax_rbx_rcx_info>: Set to "<not saved>".
31 * gdb.mi/mi-reg-undefined.exp (opt_out_pattern): Delete.
32 (not_saved_pattern): New.
33 Replace use of the former with the latter.
34
b477a5e6
PA
352013-10-02 Pedro Alves <palves@redhat.com>
36
37 * README (Board Settings): Document "exit_is_reliable".
38 * lib/gdb.exp (gdb_continue_to_end): Check whether the board says
39 running to exit reliably reports program exits.
40 * boards/native-gdbserver.exp: Set exit_is_reliable in the board
41 info.
42 * boards/native-stdio-gdbserver.exp: Likewise.
43
a49bed3a
DE
442013-10-01 Doug Evans <dje@google.com>
45
46 * gdb.python/python.exp: Remove redundant print-stack tests.
47 Make all print-stack test names unique. Fix spelling of print-stack.
48
2ed2ad44
YQ
492013-09-29 Yao Qi <yao@codesourcery.com>
50
51 * gdb.base/shreloc.exp: Set $msymfile to 'shreloc.txt' if host
52 is remote.
53
7d760051
UW
542013-09-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
55
56 PR shlibs/8882
57 * gdb.base/corefile.exp: Add a check to assure warning-free
58 core-file load.
59
82bf32bc
JK
602013-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
61
62 * gdb.dwarf2/dwp-symlink.c: New file.
63 * gdb.dwarf2/dwp-symlink.exp: New file.
64
4fa7d390
DE
652013-09-20 Doug Evans <dje@google.com>
66
6b4646ce
DE
67 * lib/dwarf.exp (build_executable_from_fission_assembler): New proc.
68 * gdb.dwarf2/fission-base.S: Update. Split out .dwo into separate
69 file.
70 * gdb.dwarf2/fission-loclists.S: Ditto.
71 * gdb.dwarf2/fission-reread.S: Ditto.
72 * gdb.dwarf2/fission-base.exp: Skip of remote host. Compile with
73 build_executable_from_fission_assembler.
74 * gdb.dwarf2/fission-loclists.exp: Ditto.
75 * gdb.dwarf2/fission-reread.exp: Ditto.
76
4fa7d390
DE
77 * lib/future.exp (gdb_find_objcopy, gdb_find_readelf): New procs.
78 * lib/gdb.exp (build_id_debug_filename_get): Update to use them.
79 (gdb_gnu_strip_debug): Ditto.
80 * lib/prelink-support.exp (section_get, prelink_no): Ditto.
81 * gdb.arch/altivec-abi.exp: Ditto.
82 * gdb.base/attach-pie-misread.exp: Ditto.
83 * gdb.base/comprdebug.exp: Ditto.
84 * gdb.base/dup-sect.exp: Ditto.
85 * gdb.base/gnu-debugdata.exp: Ditto.
86 * gdb.base/step-symless.exp: Ditto.
87 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
88 * gdb.dwarf2/dw2-skip-prologue.exp: Ditto.
89 * gdb.dwarf2/gdb-index.exp: Ditto.
90
e4c6a2c4
AB
912013-09-18 Andrew Burgess <aburgess@broadcom.com>
92
93 * gdb.dwarf2/dw2-reg-undefined.exp: Change pattern for info
94 register to "<optimized out>", and also print the registers.
95
a205fbfc
PA
962013-09-18 Pedro Alves <palves@redhat.com>
97
98 PR server/15967
99 * gdb.server/wrapper.exp: Also return unsupported for Cygwin, and
100 change text.
101
ee47b2f8
YQ
1022013-09-18 Yao Qi <yao@codesourcery.com>
103
104 * gdb.server/wrapper.c: New.
105 * gdb.server/wrapper.exp: New.
106
49fa26b0
PA
1072013-09-17 Muhammad Waqas <mwaqas@codesourccery.com>
108 Jan Kratochvil <jan.kartochvil@redhat.com>
109 Pedro Alves <palves@redhat.com>
110
111 PR gdb/11568
112 * gdb.thread/thread-specific-bp.c: New file.
113 * gdb.thread/thread-specific-bp.exp: New file.
114
e83b28bc
SDJ
1152013-09-17 Sergio Durigan Junior <sergiodj@redhat.com>
116
117 * gdb.base/defaults.exp (<show_conv_list>): Add check for $_isvoid
118 convenience function.
119
08d72866
PA
1202013-09-17 Pedro Alves <palves@redhat.com>
121
122 PR gdb/15911
123 * gdb.threads/info-threads-cur-sal-2.c: New file.
124 * gdb.threads/info-threads-cur-sal.c: New file.
125 * gdb.threads/info-threads-cur-sal.exp: New file.
126
57b0d98e
YQ
1272013-09-17 Yao Qi <yao@codesourcery.com>
128
129 * gdb.base/catch-load.c: Remove the include of "dlfcn.h".
130 [__WIN32__]: Include "windows.h" and define macro dlopen
131 and dlclose.
132 [!__WIN32__]: Include "dlfcn.h".
133 * gdb.base/catch-load.exp (one_catch_load_test): Match
134 directory separator.
135
0295a32e
DE
1362013-09-16 Doug Evans <dje@google.com>
137
a587b477
DE
138 * lib/gdb.exp (using_fission): New proc.
139 * gdb.base/info-macros.exp: Skip test if using Fission.
140
0295a32e
DE
141 * gdb.base/break-interp.exp: Fix indentation.
142
a280dbd1
SDJ
1432013-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
144
145 * gdb.base/gdbvars.c (foo_void): New function.
146 (foo_int): Likewise.
147 * gdb.base/gdbvars.exp (test_convenience_functions): New
148 function. Call it.
149
4ac33720
UW
1502013-09-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
151
152 * gdb.arch/s390-tdbregs.c: New file.
153 * gdb.arch/s390-tdbregs.exp: New file.
154
b866c52d
SS
1552013-09-12 Stan Shebs <stan@codesourcery.com>
156
157 * README: New file.
158
dc59cba6
DE
1592013-09-12 Doug Evans <dje@google.com>
160
161 * gdb.python/py-events.py (new_objfile_handler): Remove accidentally
162 added code to print event.inferior.
163
edf9f00c
JK
1642013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
165
166 * gdb.base/gnu-debugdata.exp (objcopy 1): Move it lower and use only
167 debug part of the binary.
168
5423b017
JK
1692013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
170
171 * gdb.base/gnu-debugdata.exp (strip): Add -R .comment.
172 (addlink): Add comment.
173
9295cf6f
SA
1742013-09-10 Sanimir Agovic <sanimir.agovic@intel.com>
175
176 * gdb.base/default.exp: Adjust regexpr for 'cd' to match optional
177 canonical pathname.
178
89e63ee4
DE
1792013-09-04 Doug Evans <dje@google.com>
180
314bb8c3
DE
181 * gdb.python/py-events.py (exit_handler): Verify we get the expected
182 event.
183 (continue_handler, new_objfile_handler): Ditto.
184 (test_events): Rename command to "test-events".
185 (test_newobj_events): Rename command to "test-objfile-events".
186 * gdb.python/py-events.exp: Update.
187 * gdb.python/py-evsignal.exp: Update.
188 * gdb.python/py-evthreads.exp: Update.
189
89e63ee4
DE
190 * gdb.base/enumval.c (ZERO): New enum value.
191 (main): Use it
192 * gdb.base/enumval.exp: Test ability to print ZERO.
193
1942013-09-03 Muhammad Bilal <mbilal@codesourcery.com>
41dc8db8
MB
195 Pedro Alves <palves@redhat.com>
196
197 * gdb.base/relocate.exp: Check that invalid options are
198 rejected.
199
26c2b53c
AB
2002013-08-30 Andrew Burgess <aburgess@broadcom.com>
201
202 * gdb.base/code_elim1.c (my_bss_symbol): New variable added.
203 (my_static_symbol): Add comment.
204 (main): Reference my_bss_symbol.
205
96d9056e
PM
2062013-08-30 Phil Muldoon <pmuldoon@redhat.com>
207
208 * gdb.python/py-arch.exp: Tests for invalid architecture.
209
489d4f4d
SA
2102013-08-29 Sterling Augustine <saugustine@google.com>
211
212 * boards/remote-stdio-gdbserver.exp: Set rcp_prog and
213 rsh_prog in new conditional. Move use of REMOTE_PORTNUM into
214 said conditional.
215
5b791bb5
PM
2162013-08-29 Phil Muldoon <pmuldoon@redhat.com>
217
218 * gdb.python/py-arch.exp: Load gdb-python.exp.
219
8f28f522
PM
2202013-08-29 Phil Muldoon <pmuldoon@redhat.com>
221
222 * gdb.python/py-framefilter.py (FrameFilter.filter): Check
223 itertools for imap attribute. Otherwise use map().
224 (ElidingIterator): Define wrapper function __next__.
225 * gdb.python/py-framefilter-mi.exp: Do not use execfile,
226 use exec (open (read ())) instead.
227 * gdb.python/py-framefilter.exp: Ditto.
228 * gdb.python/py-arch.exp: Update print based test to Python 3.x
229 compliance.
230 * gdb.python/py-frame.exp: Ditto.
231 * gdb.python/py-type.exp: Ditto.
232
1f0c4988
JK
2332013-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
234
235 PR gdb/15415
236 * gdb.base/argv0-symlink.c: New file.
237 * gdb.base/argv0-symlink.exp: New file.
238
7893c162
TT
2392013-08-28 Tom Tromey <tromey@redhat.com>
240
241 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name
242 when saving index.
243
6211c335
YQ
2442013-08-27 Yao Qi <yao@codesourcery.com>
245
246 * gdb.trace/entry-values.exp: Test unavailable entry value is
247 not shown when option '--skip-unavailable' is specified.
248 * gdb.trace/mi-trace-unavailable.exp (test_trace_unavailable):
249 Add tests for new option '--skip-unavailable'.
250
ce4ea2bb
YQ
2512013-08-27 Yao Qi <yao@codesourcery.com>
252
253 * lib/gdb.exp (gdb_remote_download): Don't pass $tofile to
254 remote_download if it is empty.
255
6e45f158
DE
2562013-08-26 Doug Evans <dje@google.com>
257
779bd270
DE
258 PR symtab/15885
259 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add gdb-index.
260 (clean): rm -f *.gdb-index *.with-index.
261 * gdb.dwarf2/gdb-index.exp: New testcase.
262
6e45f158
DE
263 * lib/gdb.exp (run_on_host): Moved here from gnu-debugdata.exp.
264 * gdb.base/gnu-debugdata.exp (run): Moved to gdb.exp and renamed to
265 run_on_host. All callers updated.
266
b1224238
YQ
2672013-08-24 Yao Qi <yao@codesourcery.com>
268
269 * gdb.trace/entry-values.c (end): New
270 (main): Call end.
271 * gdb.trace/entry-values.exp: Load trace-support.exp. Set
272 tracepoint and collect data. Test entry value is unavailable.
273
b39a8faf
YQ
2742013-08-24 Yao Qi <yao@codesourcery.com>
275
276 * lib/dwarf.exp (_location): Handle DW_OP_deref_size.
277 * gdb.trace/entry-values.c: New.
278 * gdb.trace/entry-values.exp: New.
279
9eaabc75
MW
2802013-07-12 Muhammad Waqas <mwaqas@codesourccery.com>
281
282 PR gdb/15501
283 * gdb.base/ena-dis-br.exp: Add test to verify
284 enable/disable commands work correctly with
285 multiple arguments that include multiple locations.
286
9f948660
SDJ
2872013-08-22 Samuel Bronson <naesten@gmail.com>
288
289 ARM Linux support for `catch syscall'.
290 * gdb.base/catch-syscall.exp: Test this on ARM now.
291 (fill_all_syscalls_numbers): ARM has close/chroot on 6/61, too.
292
e630b974
TT
2932013-08-22 Tom Tromey <tromey@redhat.com>
294
295 * lib/dwarf.exp (cu, tu): Handle addr_size of "default". Change
296 default addr_size.
297 * lib/gdb.exp (is_64_target): New gdb_caching_proc.
298
f3a76454
TT
2992013-08-22 Tom Tromey <tromey@redhat.com>
300
301 * lib/gdb.exp (skip_btrace_tests): Use gdb_caching_proc and
302 standard_temp_file.
303
de5f37e1
TT
3042013-08-22 Tom Tromey <tromey@redhat.com>
305
306 * gdb.arch/amd64-byte.exp: Use standard_testfile,
307 clean_restart.
308 * gdb.arch/amd64-disp-step.exp: Use standard_testfile.
309 * gdb.arch/amd64-dword.exp: Use standard_testfile,
310 clean_restart.
311 * gdb.arch/amd64-entry-value-param.exp: Use standard_testfile.
312 * gdb.arch/amd64-entry-value.exp: Use standard_testfile.
313 * gdb.arch/amd64-prologue-xmm.exp: Use standard_testfile.
314 * gdb.arch/amd64-word.exp: Use standard_testfile,
315 clean_restart.
316 * gdb.arch/i386-avx.exp: Use standard_testfile, clean_restart.
317 * gdb.arch/i386-byte.exp: Use standard_testfile, clean_restart.
318 * gdb.arch/i386-disp-step.exp: Use standard_testfile.
319 * gdb.arch/i386-dr3-watch.exp: Use standard_testfile.
320 * gdb.arch/i386-permbkpt.exp: Use standard_testfile, clean_restart.
321 * gdb.arch/i386-signal.exp: Use standard_testfile.
322 * gdb.arch/i386-size-overlap.exp: Use standard_testfile, clean_restart.
323 * gdb.arch/i386-sse.exp: Use standard_testfile, clean_restart.
324 * gdb.arch/i386-unwind.exp: Use standard_testfile.
325 * gdb.arch/i386-word.exp: Use standard_testfile, clean_restart.
326
8448e842
TT
3272013-08-22 Tom Tromey <tromey@redhat.com>
328
329 * gdb.python/py-error.exp: Use gdb_remote_download.
330 * gdb.python/py-mi.exp: Use gdb_remote_download.
331 * gdb.python/py-objfile-script.exp: Use standard_output_file.
332 * gdb.python/py-prettyprint.exp: Use gdb_remote_download.
333 (run_lang_tests): Likewise.
334 * gdb.python/py-section-script.c: Use SCRIPT_FILE rather than
335 filename.
336 * gdb.python/py-section-script.exp: Set SCRIPT_FILE when
337 compiling. Use gdb_remote_download. Update some tests.
338 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
339 standard_output_file.
340 * gdb.python/py-typeprint.exp: Use gdb_remote_download.
341 * gdb.python/py-frame-args.exp: Use gdb_remote_download.
342 * gdb.python/py-framefilter-mi.exp: Use gdb_remote_download.
343 * gdb.python/py-framefilter.exp: Use gdb_remote_download,
344 standard_output_file.
345
16cfcbc2
TT
3462013-08-22 Tom Tromey <tromey@redhat.com>
347
348 * lib/cell.exp (skip_cell_tests): Use standard_temp_file.
349
44ee8174
TT
3502013-08-22 Tom Tromey <tromey@redhat.com>
351
352 * gdb.dwarf2/dw2-basic.exp: Use gdb_remote_download.
353 * gdb.dwarf2/dw2-compressed.exp: Use gdb_remote_download.
354 * gdb.dwarf2/dw2-intercu.exp: Use gdb_remote_download.
355 * gdb.dwarf2/dw2-intermix.exp: Use gdb_remote_download.
356 * gdb.dwarf2/dw2-producer.exp: Use gdb_remote_download.
357 * gdb.dwarf2/mac-fileno.exp: Use gdb_remote_download.
358 * lib/gdb.exp (gdb_remote_download): New proc.
359
7a218f88
TT
3602013-08-22 Tom Tromey <tromey@redhat.com>
361
362 * gdb.dwarf2/clztest.exp: Use standard_testfile.
363 * gdb.dwarf2/dw2-minsym-in-cu.exp: Use standard_testfile.
364 * gdb.dwarf2/fission-base.S: Remove directory from
365 DW_AT_GNU_dwo_name.
366 * gdb.dwarf2/fission-base.exp: Use build_executable. Set
367 debug-file-directory.
368 * gdb.dwarf2/fission-reread.S: Remove directory from
369 DW_AT_GNU_dwo_name.
370 * gdb.dwarf2/fission-reread.exp: Use build_executable. Set
371 debug-file-directory.
372
70cc1c23
DE
3732013-08-16 Doug Evans <dje@google.com>
374
375 * lib/prelink-support.exp (prelink_yes): Flag test as unsupported if
376 prelink complains about an unhandled DWARF version.
377
61884d20
DE
3782013-08-14 Cary Coutant <ccoutant@google.com>
379
380 * boards/fission.exp: Add -fdebug-types-section to debug_flags.
381
5e92f71a
TT
3822013-08-13 Tom Tromey <tromey@redhat.com>
383 Yao Qi <yao@codesourcery.com>
384
385 * lib/cache.exp (gdb_do_cache): Handle GDB_PARALLEL.
386 * lib/gdb.exp: Handle GDB_PARALLEL.
387 (default_gdb_version): Kill inotify_pid if it exists.
388 (default_gdb_exit): Emit warning if the inotify log is not
389 empty.
390 (standard_output_file): Respect GDB_PARALLEL.
391 (standard_temp_file): Likewise.
392 (gdb_init): Start inotifywait if requested.
393
5c30d39a
AB
3942013-08-13 Andrew Burgess <aburgess@broadcom.com>
395
396 * gdb.base/printcmds.exp (test_printf): Add test for printf of
397 pointer with various flags.
398
17e1c970
TT
3992013-08-13 Tom Tromey <tromey@redhat.com>
400
401 * lib/cache.exp: New file.
402 * lib/cell.exp (skip_cell_tests): Use gdb_caching_proc.
403 * lib/gdb.exp: Load cache.exp.
404 (support_complex_tests, is_ilp32_target, is_lp64_target)
405 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests)
406 (gdb_skip_xml_test): Use gdb_caching_proc.
407 * lib/opencl.exp (skip_opencl_tests): Use gdb_caching_proc.
408
4e234898
TT
4092013-08-13 Tom Tromey <tromey@redhat.com>
410
411 * lib/gdb.exp (standard_temp_file): New proc.
412 (support_complex_tests, is_ilp32_target, is_lp64_target)
413 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests): Use
414 standard_temp_file.
415
53e981d9
TT
4162013-08-13 Tom Tromey <tromey@redhat.com>
417
418 * lib/gdb.exp (build_id_debug_filename_get): Use
419 standard_output_file.
420 * lib/prelink-support.exp (section_get)
421 (build_executable_own_libs): Use standard_output_file.
422
3f539315
TT
4232013-08-12 Tom Tromey <tromey@redhat.com>
424
425 * Makefile.in (ALL_SUBDIRS): Add gdb.go.
426
b4013987
AA
4272013-08-12 Ali Anwar <alianwar@codesourcery.com>
428
429 * gdb.base/break.exp: Test break via convenience variable
430 with file name.
431
f61d5529
DE
4322013-08-09 Doug Evans <dje@google.com>
433
434 * lib/future.exp (gdb_find_ldd): New proc.
435 * lib/prelink-support.exp (build_executable_own_libs): Call it.
436 Make "/usr/sbin/" in prelink path optional.
437
1ed8d800
YQ
4382013-08-09 Yao Qi <yao@codesourcery.com>
439
440 * gdb.trace/collection.exp (gdb_collect_args_test): Set
441 "only" and "both" to 'print entry-values' before selecting
442 trace frame.
443
82a0a75f
YQ
4442013-08-08 Yao Qi <yao@codesourcery.com>
445
446 * gdb.trace/mi-trace-unavailable.exp: Don't set
447 "print entry-values" to "no".
448 (test_trace_unavailable): Set various values to
449 "print entry-values" to test that the output of
450 '-stack-list-locals' is not affected, and then set
451 set "print entry-values" to "no".
452
ac52f9a2
DE
4532013-08-07 Doug Evans <dje@google.com>
454
455 * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
456 * gdb.python/py-value-cc.exp: Update.
457 * gdb.python/py-value.exp: Use different names for .o files for
458 C and C++. Only perform C++ tests if !skip_cplus_tests.
459
bf6d8a91
TT
4602013-08-07 Tom Tromey <tromey@redhat.com>
461
462 * gdb.base/maint.exp: Allow zero symtabs to be expanded.
463
f9125b6c
TT
4642013-08-07 Tom Tromey <tromey@redhat.com>
465
466 * gdb.dwarf2/dwz.exp: New file.
467
3a1115a0
TT
4682013-08-02 Tom Tromey <tromey@redhat.com>
469
470 * gdb.base/watchpoint.c (struct foo5): New.
471 (nullptr): New global.
472 * gdb.base/watchpoint.exp (test_watch_location): Add test.
473
b846d303
DE
4742013-08-01 Doug Evans <dje@google.com>
475
7ee85ab1
DE
476 PR symtab/15691
477 * gdb.dwarf2/fission-mix.exp: New file.
478 * gdb.dwarf2/fission-mix.h: New file.
479 * gdb.dwarf2/fission-mix.c: New file.
480 * gdb.dwarf2/fission-mix2.c: New file.
481
b846d303
DE
482 PR symtab/15695
483 * gdb.base/func-ptr.exp: New file.
484 * gdb.base/func-ptr.c: New file.
485
67d21849
YQ
4862013-08-01 Yao Qi <yao@codesourcery.com>
487
488 * gdb.python/py-sync-interp.c: New.
489 * gdb.python/py-sync-interp.exp: New.
490
de74e63a
YQ
4912013-07-31 Yao Qi <yao@codesourcery.com>
492
493 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Test command
494 'tdump' on stack frame 0 and 1 respectively.
495
680558e8
YQ
4962013-07-31 Yao Qi <yao@codesourcery.com>
497
498 PR gdb/13443
499 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_3): Add parameter
500 'traceframe'. Wrap test with with_test_prefix.
501 (top level): Update.
502
48bbe0bf
YQ
5032013-07-31 Yao Qi <yao@codesourcery.com>
504
505 * gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
506 'gdb_start'.
507 Invoke 'prepare_for_testing' instead of 'gdb_compile'.
508 Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.
509
11b4b7cc
AB
5102013-07-30 Andrew Burgess <aburgess@broadcom.com>
511
512 * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
513 when printing an optimized out value. Expect an error when using
514 an optimized out value in an expression.
515
b0c54aa5
AB
5162013-07-30 Andrew Burgess <aburgess@broadcom.com>
517
518 * gdb.dwarf2/pieces-optimized-out.exp: New file.
519 * gdb.dwarf2/pieces-optimized-out.c: New file.
520 * gdb.dwarf2/pieces-optimized-out.S: New file.
521
97c85fc6
MB
5222013-07-30 Muhammad Bilal <mbilal@codesourcery.com>
523
524 PR gdb/15715
525 * gdb.base/setshow.exp: Test that relative paths passed to
526 'set history filename' are converted to absolute paths.
527
5b32ae97
KS
5282013-07-26 Keith Seitz <keiths@redhat.com>
529
530 * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead
531 of f77.
532 Allow for compiler variations of integer types.
533 Use mi_create_varobj.
534 Use mi_list_varobj_children for the immediate children of `array'.
535 Add "has_more" attribute for grandchildren test.
536
6f64ef53
PA
5372013-07-26 Pedro Alves <palves@redhat.com>
538
539 * gdb.base/interrupt-noterm.c, gdb.base/interrupt-noterm.exp: New
540 files.
541
fdc8aae8
AB
5422013-07-25 Andrew Burgess <aburgess@broadcom.com>
543
544 * gdb.mi/mi-reg-undefined.exp: New file.
545 * gdb.mi/mi-reg-undefined.c: Likewise.
546 * gdb.mi/mi-reg-undefined.S: Likewise.
547
6fbe845e
AB
5482013-07-25 Andrew Burgess <aburgess@broadcom.com>
549
550 * gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
551 z, o, and t output formats.
552 * gdb.base/display.exp: Use 'k' as an undefined format now that
553 'z' is defined.
554
7b79b135
DE
5552013-07-24 Doug Evans <dje@google.com>
556
557 * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
558 "--" to switch.
559
a0607b84
YQ
5602013-07-24 Yao Qi <yao@codesourcery.com>
561
562 * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
563 host.
564 * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons):
565 Likewise. If host is remote, copy ${binfile} to host.
566
2eb14a9b
YQ
5672013-07-23 Yao Qi <yao@codesourcery.com>
568
569 * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
570 message.
571
5d0a3b53
WN
5722013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
573
574 * gdb.base/disp-step-syscall.exp: Add svc and swi syscall
575 instructions and enable disp-step-syscall for arm targets.
576
9a5911c0
WN
5772013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
578
579 * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
580 assembler errors on arm.
581 * gdb.dwarf2/mac-fileno.S: Likewise.
582 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
583 * gdb.dwarf2/pr13961.S: Likewise.
584
fa876972
HZ
5852013-07-19 Hui Zhu <hui@codesourcery.com>
586
587 PR gdb/15692
588 * gdb.mi/mi-dprintf.exp: Add double quotes test.
589
1527aea8
YQ
5902013-07-19 Yao Qi <yao@codesourcery.com>
591
592 * gdb.trace/read-memory.exp (test_from_remote): Update test.
593 (teset_from_exec): Likewise.
594
73c1d57e
YQ
5952013-07-19 Yao Qi <yao@codesourcery.com>
596
597 * gdb.trace/read-memory.c: New.
598 * gdb.trace/read-memory.exp: New.
599
a075c3e5
YQ
6002013-07-19 Yao Qi <yao@codesourcery.com>
601
602 * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
603 $dest to link options if host is remote. Move the
604 generated file to $dest.a on host if host is remote.
605
623cc285
WN
6062013-07-18 Will Newton <will.newton@linaro.org>
607
608 * gdb.threads/tls-nodebug.c: Call pthread_testcancel
609 to ensure the test is linked against pthreads.
610 * gdb.threads/tls-var-main.c: Likewise.
611 * gdb.threads/tls-shared.c: Likewise.
612
1f74d3b5
YQ
6132013-07-18 Yao Qi <yao@codesourcery.com>
614
615 * lib/future.exp (gdb_default_target_compile): Use tail name
616 of $destfile as the output name of compile. Move the
617 generated file to $destfile on build.
618
f6dc277e
YQ
6192013-07-18 Yao Qi <yao@codesourcery.com>
620
621 * lib/gdb.exp (gdb_compile): Set
622 gdb_saved_set_unbuffered_mode_obj to
623 set_unbuffered_mode_saved.o if host is remote. Invoke
624 remote_download to copy $unbuf_obj to host.
625
e7045703
DE
6262013-07-17 Doug Evans <dje@google.com>
627
628 * gdb.python/py-frame-args.c: New file.
629 * gdb.python/py-frame-args.py: New file.
630 * gdb.python/py-frame-args.exp New file.
631
5ea5559b
AB
6322013-07-16 Andrew Burgess <aburgess@broadcom.com>
633
634 * gdb.base/printcmds.exp (test_printf): Add tests for format
635 strings with missing format specifier.
636
4229ca0e
TT
6372013-07-16 Tom Tromey <tromey@redhat.com>
638
639 * gdb.ada/info_types.exp: Use standard_testfile.
640
5ee657d5
TT
6412013-07-16 Tom Tromey <tromey@redhat.com>
642
643 * gdb.mi/mi-basics.exp: Use standard_output_file.
644 (test_dir_specification, test_cwd_specification)
645 (test_path_specification): Use testsubdir, not subdir and objdir.
646
20e3d738
TT
6472013-07-16 Tom Tromey <tromey@redhat.com>
648
649 * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
650
7d7c6477
JB
6512013-07-09 Joel Brobecker <brobecker@adacore.com>
652
653 * gdb.ada/small_reg_param.exp: Accept optional entry value
654 for parameter "w".
655
52cd8b7d
JB
6562013-07-09 Joel Brobecker <brobecker@adacore.com>
657
658 * gdb.ada/small_reg_param.exp: Remove trailing space.
659
2a998fc0
DE
6602013-07-09 Doug Evans <dje@google.com>
661
662 * gdb.base/default.exp: Update expected output of "show print array"
663 and "show print pretty".
664
0329e9fb
UW
6652013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
666
667 * gdb.threads/wp-replication.exp: Stop counting available hardware
668 watchpoints after NR_THREADS iterations.
669
1953058f
AB
6702013-07-08 Andrew Burgess <aburgess@broadcom.com>
671
672 * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
673
7c0de741
YQ
6742013-07-07 Yao Qi <yao@codesourcery.com>
675
676 * boards/native-gdbserver.exp: Move invoke of
677 process_multilib_options to gdbserver-base.exp.
678 Move set_board_info 'compiler', 'gdb,noinferiorio',
679 'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
680 gdbserver-base.exp.
681 Move proc ${board}_download, ${board}_upload and
682 ${board}_file to gdbserver-base.exp.
683 * boards/native-extended-gdbserver.exp: Likewise.
684 * boards/native-stdio-gdbserver.exp: Likewise.
685 * boards/gdbserver-base.exp: New file.
686
497a4c48
LM
6872013-07-05 Luis Machado <lgustavo@codesourcery.com>
688
689 * gdb.base/dump.exp: Remove arch-specific tests and do a
690 generic data address check to set is64bitonly correctly.
691
bb3f62fc
LM
6922013-07-05 Luis Machado <lgustavo@codesourcery.com>
693
694 * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
695 the register number instead of expecting only 0.
696
005faa9d
WN
6972013-07-05 Will Newton <will.newton@linaro.org>
698
699 * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
700 in asm syntax to allow building on ARM.
701
4767856f
YQ
7022013-07-05 Yao Qi <yao@codesourcery.com>
703
704 * boards/local-remote-host.exp: Remove obsolete comments.
705 * boards/native-extended-gdbserver.exp: Likewise.
706 * boards/native-gdbserver.exp: Likewise.
707 * boards/native-stdio-gdbserver.exp: Likewise.
708
691a26f5
AB
7092013-07-04 Andrew Burgess <aburgess@broadcom.com>
710
711 * gdb.dwarf2/dw2-reg-undefined.exp: New file.
712 * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
713 * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
714
4d142eaa
JK
7152013-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
716
717 * gdb.base/break-on-linker-gcd-function.exp: Replace
718 prepare_for_testing by build_executable_from_specs and clean_restart.
719
62cef515
TT
7202013-06-27 Tom Tromey <tromey@redhat.com>
721
722 * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
723 gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
724 gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
725 gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
726 gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
727 gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
728 gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
729 gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
730 gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
731 gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
732 gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
733 Use standard_testfile, standard_output_file, prepare_for_testing,
734 clean_restart.
735
0ab77f5f
TT
7362013-06-27 Tom Tromey <tromey@redhat.com>
737
738 * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
739 gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
740 gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
741 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
742 gdb.base/shreloc.exp, gdb.base/sigall.exp,
743 gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
744 gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
745 gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
746 gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
747 gdb.base/signull.exp, gdb.base/sigrepeat.exp,
748 gdb.base/sigstep.exp, gdb.base/sizeof.exp,
749 gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
750 gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
751 gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
752 gdb.base/solib-weak.exp, gdb.base/source.exp,
753 gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
754 gdb.base/stap-probe.exp, gdb.base/start.exp,
755 gdb.base/step-break.exp, gdb.base/step-bt.exp,
756 gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
757 gdb.base/step-test.exp, gdb.base/structs.exp,
758 gdb.base/structs2.exp, gdb.base/structs3.exp,
759 gdb.base/symbol-without-target_section.exp: Use standard_testfile,
760 standard_output_file, prepare_for_testing, clean_restart.
761
822bd149
TT
7622013-06-27 Tom Tromey <tromey@redhat.com>
763
764 * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
765 gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
766 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
767 gdb.base/pending.exp, gdb.base/permissions.exp,
768 gdb.base/pie-execl.exp, gdb.base/pointers.exp,
769 gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
770 gdb.base/printcmds.exp, gdb.base/prologue.exp,
771 gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
772 gdb.base/ptype.exp, gdb.base/randomize.exp,
773 gdb.base/readline-ask.exp, gdb.base/recpar.exp,
774 gdb.base/recurse.exp, gdb.base/relativedebug.exp,
775 gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
776 gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
777 standard_testfile, standard_output_file, prepare_for_testing,
778 clean_restart.
779
f8b41b00
TT
7802013-06-27 Tom Tromey <tromey@redhat.com>
781
a8c97a87
TT
782 * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
783 gdb.base/huge.exp, gdb.base/included.exp,
784 gdb.base/inferior-died.exp, gdb.base/infnan.exp,
785 gdb.base/info-fun.exp, gdb.base/info-macros.exp,
786 gdb.base/info-os.exp, gdb.base/info-proc.exp,
787 gdb.base/info-target.exp, gdb.base/infoline.exp,
788 gdb.base/interp.exp, gdb.base/interrupt.exp,
789 gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
790 gdb.base/kill-after-signal.exp, gdb.base/label.exp,
791 gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
792 gdb.base/logical.exp, gdb.base/long_long.exp,
793 gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
794 gdb.base/memattr.exp, gdb.base/mips_pro.exp,
795 gdb.base/miscexprs.exp, gdb.base/morestack.exp,
796 gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
f8b41b00
TT
797 standard_testfile, standard_output_file, prepare_for_testing,
798 clean_restart.
799
289f9037
TT
8002013-06-27 Tom Tromey <tromey@redhat.com>
801
a8c97a87
TT
802 * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
803 gdb.base/enumval.exp, gdb.base/environ.exp,
804 gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
805 gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
806 gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
807 gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
808 gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
809 gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
810 gdb.base/fullname.exp, gdb.base/funcargs.exp,
811 gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
812 gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
813 gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
814 gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
815 gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
816 gdb.base/gnu_vector.exp: Use standard_testfile,
817 standard_output_file, prepare_for_testing, clean_restart.
289f9037 818
f76495c8
TT
8192013-06-27 Tom Tromey <tromey@redhat.com>
820
a8c97a87
TT
821 * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
822 gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
823 gdb.base/call-strs.exp, gdb.base/callexit.exp,
824 gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
825 gdb.base/catch-syscall.exp, gdb.base/charset.exp,
826 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
827 gdb.base/code-expr.exp, gdb.base/code_elim.exp,
828 gdb.base/commands.exp, gdb.base/completion.exp,
829 gdb.base/complex.exp, gdb.base/cond-expr.exp,
830 gdb.base/condbreak.exp, gdb.base/consecutive.exp,
831 gdb.base/constvars.exp, gdb.base/corefile.exp,
832 gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
833 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
834 gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
835 gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
836 gdb.base/dup-sect.exp: Use standard_testfile,
f76495c8
TT
837 standard_output_file, prepare_for_testing, clean_restart.
838
a64d2530
TT
8392013-06-27 Tom Tromey <tromey@redhat.com>
840
a8c97a87
TT
841 * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
842 gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
843 gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
844 gdb.base/async-shell.exp, gdb.base/async.exp,
845 gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
846 gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
847 gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
848 gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
849 gdb.base/break-entry.exp, gdb.base/break-interp.exp,
850 gdb.base/break-on-linker-gcd-function.exp,
851 gdb.base/breakpoint-shadow.exp: Use standard_testfile,
a64d2530
TT
852 standard_output_file, prepare_for_testing, clean_restart.
853
aaff8d73
YQ
8542013-06-26 Yao Qi <yao@codesourcery.com>
855
856 * gdb.trace/mi-trace-frame-collected.exp: New.
857
a0743c90
YQ
8582013-06-25 Yao Qi <yao@codesourcery.com>
859
860 * boards/native-extended-gdbserver.exp: Set board_info
861 'gdb,predefined_tsv'.
862 * boards/native-gdbserver.exp: Likewise.
863 * boards/native-stdio-gdbserver.exp: Likewise.
864 * gdb.server/ext-attach.exp: Load trace-support.exp. Check
865 uploaded TSVs if target supports tracing.
866 * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
867 tracing and target has predefined tsv.
868
9d6e6e84
HZ
8692013-06-25 Yao Qi <yao@codesourcery.com>
870 Hui Zhu <hui@codesourcery.com>
871 Pedro Alves <palves@redhat.com>
872
873 PR breakpoints/15075
874 PR breakpoints/15434
875 * gdb.base/dprintf-next.c: New file.
876 * gdb.base/dprintf-next.exp: New file.
877 * gdb.base/dprintf-non-stop.c: New file.
878 * gdb.base/dprintf-non-stop.exp: New file.
879 * gdb.base/dprintf.exp: Don't check "continue" in the output
880 of "info breakpoints".
881 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
882 Don't check "continue" in script field.
883
e7ab3185
TT
8842013-06-21 Tom Tromey <tromey@redhat.com>
885
886 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
887 name in a test name.
888
c898adb7
YQ
8892013-06-20 Yao Qi <yao@codesourcery.com>
890
891 * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
892 and set an action.
893 (test_trace_unavailable): Test command -data-list-register-values
894 in the context of traceframe and with option --skip-unavailable.
895 * gdb.trace/trace-unavailable.c (foo): New.
896 (main): Call it.
897 * gdb.mi/gdb2549.exp: Update matching pattern.
898
4d157a3d
MF
8992013-06-19 Mike Frysinger <vapier@gentoo.org>
900
901 * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
902 * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
903 * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
904 * gdb.arch/i386-sse.c: Call new i386_cpuid function.
905 * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
906
d69cace4
LM
9072013-06-19 Luis Machado <lgustavo@codesourcery.com>
908
909 * gdb.base/subst.exp: Delete default rules before further
910 tests.
911
9bdd0636
YQ
9122013-06-19 Yao Qi <yao@codesourcery.com>
913
914 * gdb.base/maint.exp: Make the test to command 'maint dump-me'
915 unsupported if it is not registered.
916
427cd150
TT
9172013-06-18 Tom Tromey <tromey@redhat.com>
918
919 * gdb.base/random-signal.c: New file.
920 * gdb.base/random-signal.exp: New file.
921
6de7c271
WN
9222013-06-18 Will Newton <will.newton@linaro.org>
923
924 * gdb.base/skip.c: Use comma to evaluate results of foo()
925 and bar() before passing to baz().
926 * gdb.base/skip.c: baz() now takes one argument instead of
927 two.
928
5bd1ef56
TT
9292013-06-18 Tom Tromey <tromey@redhat.com>
930
931 * gdb.dwarf2/implptrpiece.exp: New file.
932 * gdb.dwarf2/implptrconst.exp (d): New variable.
933 Print d.
934 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
935
e379b391
TT
9362013-06-18 Tom Tromey <tromey@redhat.com>
937
938 * lib/selftest-support.exp (do_self_tests): Reject remote or
939 non-native targets.
940 * gdb.gdb/complaints.exp: Remove check.
941 * gdb.gdb/observer.exp: Remove check.
942 * gdb.gdb/xfullpath.exp: Remove check.
943 * gdb.gdb/complaints.exp: Remove check.
944
4ec70201
PA
9452013-06-07 Pedro Alves <palves@redhat.com>
946
947 * boards/native-extended-gdbserver.exp: Remove semicolon.
948 * config/arm-ice.exp: Likewise.
949 * config/bfin.exp: Likewise.
950 * config/cygmon.exp: Likewise.
951 * config/h8300.exp: Likewise.
952 * config/monitor.exp: Likewise.
953 * config/sid.exp: Likewise.
954 * config/sim.exp: Likewise.
955 * config/slite.exp: Likewise.
956 * config/vx.exp: Likewise.
957 * gdb.arch/i386-bp_permanent.exp: Likewise.
958 * gdb.asm/asm-source.exp: Likewise.
959 * gdb.base/args.exp: Likewise.
960 * gdb.base/attach-pie-misread.exp: Likewise.
961 * gdb.base/auxv.exp: Likewise.
962 * gdb.base/bigcore.exp: Likewise.
963 * gdb.base/bitfields2.exp: Likewise.
964 * gdb.base/bitfields.exp: Likewise.
965 * gdb.base/break.exp: Likewise.
966 * gdb.base/break-interp.exp: Likewise.
967 * gdb.base/callfuncs.exp: Likewise.
968 * gdb.base/call-sc.exp: Likewise.
969 * gdb.base/commands.exp: Likewise.
970 * gdb.base/corefile.exp: Likewise.
971 * gdb.base/dbx.exp: Likewise.
972 * gdb.base/ending-run.exp: Likewise.
973 * gdb.base/exprs.exp: Likewise.
974 * gdb.base/funcargs.exp: Likewise.
975 * gdb.base/hbreak2.exp: Likewise.
976 * gdb.base/huge.exp: Likewise.
977 * gdb.base/list.exp: Likewise.
978 * gdb.base/memattr.exp: Likewise.
979 * gdb.base/overlays.exp: Likewise.
980 * gdb.base/printcmds.exp: Likewise.
981 * gdb.base/recurse.exp: Likewise.
982 * gdb.base/remotetimeout.exp: Likewise.
983 * gdb.base/reread.exp: Likewise.
984 * gdb.base/savedregs.exp: Likewise.
985 * gdb.base/scope.exp: Likewise.
986 * gdb.base/sepdebug.exp: Likewise.
987 * gdb.base/setshow.exp: Likewise.
988 * gdb.base/setvar.exp: Likewise.
989 * gdb.base/sigaltstack.exp: Likewise.
990 * gdb.base/siginfo-addr.exp: Likewise.
991 * gdb.base/siginfo.exp: Likewise.
992 * gdb.base/siginfo-obj.exp: Likewise.
993 * gdb.base/sigrepeat.exp: Likewise.
994 * gdb.base/sigstep.exp: Likewise.
995 * gdb.base/structs.exp: Likewise.
996 * gdb.base/testenv.exp: Likewise.
997 * gdb.base/twice.exp: Likewise.
998 * gdb.base/valgrind-db-attach.exp: Likewise.
999 * gdb.base/valgrind-infcall.exp: Likewise.
1000 * gdb.base/varargs.exp: Likewise.
1001 * gdb.base/watchpoint.exp: Likewise.
1002 * gdb.cp/gdb1355.exp: Likewise.
1003 * gdb.cp/misc.exp: Likewise.
1004 * gdb.disasm/hppa.exp: Likewise.
1005 * gdb.disasm/t01_mov.exp: Likewise.
1006 * gdb.disasm/t02_mova.exp: Likewise.
1007 * gdb.disasm/t03_add.exp: Likewise.
1008 * gdb.disasm/t04_sub.exp: Likewise.
1009 * gdb.disasm/t05_cmp.exp: Likewise.
1010 * gdb.disasm/t06_ari2.exp: Likewise.
1011 * gdb.disasm/t07_ari3.exp: Likewise.
1012 * gdb.disasm/t08_or.exp: Likewise.
1013 * gdb.disasm/t09_xor.exp: Likewise.
1014 * gdb.disasm/t10_and.exp: Likewise.
1015 * gdb.disasm/t11_logs.exp: Likewise.
1016 * gdb.disasm/t12_bit.exp: Likewise.
1017 * gdb.disasm/t13_otr.exp: Likewise.
1018 * gdb.gdb/selftest.exp: Likewise.
1019 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1020 * gdb.mi/mi-reverse.exp: Likewise.
1021 * gdb.pascal/floats.exp: Likewise.
1022 * gdb.python/py-inferior.exp: Likewise.
1023 * gdb.threads/attach-into-signal.exp: Likewise.
1024 * gdb.threads/pthreads.exp: Likewise.
1025 * gdb.threads/thread_events.exp: Likewise.
1026 * gdb.threads/watchthreads.exp: Likewise.
1027 * gdb.trace/actions-changed.exp: Likewise.
1028 * gdb.trace/actions.exp: Likewise.
1029 * gdb.trace/ax.exp: Likewise.
1030 * gdb.trace/backtrace.exp: Likewise.
1031 * gdb.trace/change-loc.exp: Likewise.
1032 * gdb.trace/deltrace.exp: Likewise.
1033 * gdb.trace/disconnected-tracing.exp: Likewise.
1034 * gdb.trace/ftrace.exp: Likewise.
1035 * gdb.trace/infotrace.exp: Likewise.
1036 * gdb.trace/passc-dyn.exp: Likewise.
1037 * gdb.trace/passcount.exp: Likewise.
1038 * gdb.trace/pending.exp: Likewise.
1039 * gdb.trace/qtro.exp: Likewise.
1040 * gdb.trace/range-stepping.exp: Likewise.
1041 * gdb.trace/report.exp: Likewise.
1042 * gdb.trace/save-trace.exp: Likewise.
1043 * gdb.trace/status-stop.exp: Likewise.
1044 * gdb.trace/strace.exp: Likewise.
1045 * gdb.trace/tfile.exp: Likewise.
1046 * gdb.trace/tfind.exp: Likewise.
1047 * gdb.trace/trace-break.exp: Likewise.
1048 * gdb.trace/tracecmd.exp: Likewise.
1049 * gdb.trace/trace-mt.exp: Likewise.
1050 * gdb.trace/tspeed.exp: Likewise.
1051 * gdb.trace/tsv.exp: Likewise.
1052 * gdb.trace/while-stepping.exp: Likewise.
1053 * lib/gdb.exp: Likewise.
1054 * lib/gdbserver-support.exp: Likewise.
1055 * lib/java.exp: Likewise.
1056 * lib/mi-support.exp: Likewise.
1057 * lib/pascal.exp: Likewise.
1058 * lib/prompt.exp: Likewise.
1059 * lib/trace-support.exp: Likewise.
1060
47d48711
PA
10612013-06-07 Pedro Alves <palves@redhat.com>
1062
1063 * gdb.ada/info_types.c: Fix formating in copyright header.
1064 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
1065 * gdb.base/float.c: Likewise.
1066 * gdb.base/inferior-died.c: Likewise.
1067 * gdb.base/interp.c: Likewise.
1068 * gdb.base/jit-main.c: Likewise.
1069 * gdb.base/jit-solib.c: Likewise.
1070 * gdb.base/long_long.c: Likewise.
1071 * gdb.base/longjmp.c: Likewise.
1072 * gdb.base/nextoverexit.c: Likewise.
1073 * gdb.base/pr11022.c: Likewise.
1074 * gdb.base/prelink-lib.c: Likewise.
1075 * gdb.base/prelink.c: Likewise.
1076 * gdb.base/prologue.c: Likewise.
1077 * gdb.base/restore.c: Likewise.
1078 * gdb.base/sigchld.c: Likewise.
1079 * gdb.base/solib-search-lib1.c: Likewise.
1080 * gdb.base/solib-search-lib2.c: Likewise.
1081 * gdb.base/solib-search.c: Likewise.
1082 * gdb.base/solib-search.h: Likewise.
1083 * gdb.base/whatis.c: Likewise.
1084 * gdb.cp/abstract-origin.cc: Likewise.
1085 * gdb.cp/anon-struct.cc: Likewise.
1086 * gdb.cp/baseenum.cc: Likewise.
1087 * gdb.cp/bs15503.cc: Likewise.
1088 * gdb.cp/call-c-1.c: Likewise.
1089 * gdb.cp/call-c.cc: Likewise.
1090 * gdb.cp/class2.cc: Likewise.
1091 * gdb.cp/classes.cc: Likewise.
1092 * gdb.cp/cttiadd.cc: Likewise.
1093 * gdb.cp/cttiadd1.cc: Likewise.
1094 * gdb.cp/cttiadd2.cc: Likewise.
1095 * gdb.cp/cttiadd3.cc: Likewise.
1096 * gdb.cp/derivation.cc: Likewise.
1097 * gdb.cp/derivation2.cc: Likewise.
1098 * gdb.cp/dispcxx.cc: Likewise.
1099 * gdb.cp/exception.cc: Likewise.
1100 * gdb.cp/gdb2384-base.cc: Likewise.
1101 * gdb.cp/gdb2384-base.h: Likewise.
1102 * gdb.cp/gdb2384.cc: Likewise.
1103 * gdb.cp/gdb2495.cc: Likewise.
1104 * gdb.cp/mb-inline.h: Likewise.
1105 * gdb.cp/mb-inline1.cc: Likewise.
1106 * gdb.cp/mb-inline2.cc: Likewise.
1107 * gdb.cp/member-name.cc: Likewise.
1108 * gdb.cp/member-ptr.cc: Likewise.
1109 * gdb.cp/misc.cc: Likewise.
1110 * gdb.cp/namespace1.cc: Likewise.
1111 * gdb.cp/nextoverthrow.cc: Likewise.
1112 * gdb.cp/pr-574.cc: Likewise.
1113 * gdb.cp/pr9631.cc: Likewise.
1114 * gdb.cp/printmethod.cc: Likewise.
1115 * gdb.cp/psmang1.cc: Likewise.
1116 * gdb.cp/psmang2.cc: Likewise.
1117 * gdb.cp/psymtab-parameter.cc: Likewise.
1118 * gdb.cp/ptype-flags.cc: Likewise.
1119 * gdb.cp/ref-params.cc: Likewise.
1120 * gdb.cp/ref-types.cc: Likewise.
1121 * gdb.cp/smartp.cc: Likewise.
1122 * gdb.cp/try_catch.cc: Likewise.
1123 * gdb.cp/userdef.cc: Likewise.
1124 * gdb.cp/using-crash.cc: Likewise.
1125 * gdb.cp/virtfunc.cc: Likewise.
1126 * gdb.cp/virtfunc2.cc: Likewise.
1127 * gdb.dwarf2/callframecfa.S: Likewise.
1128 * gdb.dwarf2/dw2-ranges.c: Likewise.
1129 * gdb.dwarf2/dw2-ranges2.c: Likewise.
1130 * gdb.dwarf2/dw2-ranges3.c: Likewise.
1131 * gdb.dwarf2/dw2-restore.S: Likewise.
1132 * gdb.dwarf2/pieces.S: Likewise.
1133 * gdb.dwarf2/valop.S: Likewise.
1134 * gdb.java/jnpe.java: Likewise.
1135 * gdb.mi/mi-stepn.c: Likewise.
1136 * gdb.mi/mi-var-cp.cc: Likewise.
1137 * gdb.mi/mi-var-rtti.cc: Likewise.
1138 * gdb.mi/ns-stale-regcache.c: Likewise.
1139 * gdb.mi/pr11022.c: Likewise.
1140 * gdb.mi/solib-lib.c: Likewise.
1141 * gdb.mi/solib-main.c: Likewise.
1142 * gdb.python/py-arch.c: Likewise.
1143 * gdb.python/py-block.c: Likewise.
1144 * gdb.python/py-breakpoint.c: Likewise.
1145 * gdb.python/py-events.c: Likewise.
1146 * gdb.python/py-evthreads.c: Likewise.
1147 * gdb.python/py-explore.c: Likewise.
1148 * gdb.python/py-explore.cc: Likewise.
1149 * gdb.python/py-finish-breakpoint.c: Likewise.
1150 * gdb.python/py-finish-breakpoint2.cc: Likewise.
1151 * gdb.python/py-symbol.c: Likewise.
1152 * gdb.threads/execl.c: Likewise.
1153 * gdb.threads/execl1.c: Likewise.
1154
88ab5684
WN
11552013-06-07 Will Newton <will.newton@linaro.org>
1156
1157 * gdb.base/long_long.exp: Fix ARM EABI target glob.
1158
42daa7a0
WN
11592013-06-07 Will Newton <will.newton@linaro.org>
1160
1161 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
1162 and "starting".
1163
f4059ef3
WN
11642013-06-07 Will Newton <will.newton@linaro.org>
1165
1166 * gdb.cp/anon-struct.exp: Conditionalize constructor and
1167 destructor prototypes for ARM ABI.
1168 * gdb.cp/m-static.exp: Likewise.
1169
8cb5cc78
YQ
11702013-06-07 Yao Qi <yao@codesourcery.com>
1171
1172 * gdb.trace/mi-trace-unavailable.exp: New.
1173 * gdb.trace/trace-unavailable.c: New.
1174
c6cf1712
DE
11752013-06-06 Doug Evans <dje@google.com>
1176
1177 * gdb.cp/derivation.exp: Make tests have unique names.
1178
bf6be0f4
TT
11792013-06-06 Tom Tromey <tromey@redhat.com>
1180
1181 * gdb.base/dump.exp (capture_value): Don't put expression into
1182 test name if arguments passed in.
1183 Rename a couple more tests to make them unique.
1184
ebb022fa
TT
11852013-06-06 Tom Tromey <tromey@redhat.com>
1186
1187 * gdb.base/break-always.exp: Explicitly specify test name.
1188
69fc87c2
DE
11892013-06-05 Doug Evans <dje@google.com>
1190 Keith Seitz <keiths@redhat.com>
1191
1192 * gdb.cp/derivation2.cc: New file.
1193 * gdb.cp/derivation.cc (main): Call foo2.
1194 * gdb.cp/derivation.exp: Add tests for typedefs in another
1195 file, and when there's an active block.
1196
f993f39e
LM
11972013-06-05 Luis Machado <lgustavo@codesourcery.com>
1198
1199 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
1200 from targets that use function descriptors in the virtual tables.
1201 Handle presence of dot symbols.
1202
afacd7f3
GB
12032013-06-04 Gary Benson <gbenson@redhat.com>
1204
1205 * gdb.base/break-probes.exp: New file.
1206 * gdb.base/break-probes.c: Likewise.
1207 * gdb.base/break-probes-solib.c: Likewise.
1208 * gdb.base/info-shared.exp: New file.
1209 * gdb.base/info-shared.c: Likewise.
1210 * gdb.base/info-shared-solib1.c: Likewise.
1211 * gdb.base/info-shared-solib2.c: Likewise.
1212
a29a3fb7
GB
12132013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1214 Gary Benson <gbenson@redhat.com>
1215
1216 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
1217 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
1218 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
1219 to be set to "no" to indicate that no ld.so copy should be made.
1220 * gdb.base/break-interp.exp (solib_bp): New constant.
1221 (reach_1): Use the above instead of "_dl_debug_state".
1222 (test_attach): Likewise.
1223 (test_ld): Likewise.
1224 * gdb.threads/dlopen-libpthread.exp: New file.
1225 * gdb.threads/dlopen-libpthread.c: Likewise.
1226 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
1227 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
1228
62a813cc
YQ
12292013-05-30 Yao Qi <yao@codesourcery.com>
1230
1231 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1232 Add a test that no MI notification is emitted when executing
1233 -exec-arguments.
1234
8f56dad4
JK
12352013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1236
1237 PR testsuite/12649
1238 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
1239 $mi_gdb_prompt expectation by mi_expect_stop.
1240 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
1241 (mi info dprintf second time): Replace them by mi_send_resuming_command
1242 and mi_expect_stop.
1243
c588eb20
GB
12442013-05-24 Gary Benson <gbenson@redhat.com>
1245
1246 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
1247 backslash.
1248 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
1249 backslashes.
1250 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
1251 backslash.
1252
c0ea94eb
YQ
12532013-05-24 Yao Qi <yao@codesourcery.com>
1254
1255 * gdb.trace/tfile.exp: Test inferior and thread.
1256
db1ac436
YQ
12572013-05-24 Yao Qi <yao@codesourcery.com>
1258 Pedro Alves <palves@redhat.com>
1259
1260 * gdb.base/range-stepping.exp: Skip the rest of tests if the
1261 test fails.
1262 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1263 Return 0 if the test passes, otherwise return 1.
1264
b6abb10c
DE
12652013-05-23 Doug Evans <dje@google.com>
1266
1267 * boards/fission-dwp.exp: New file.
1268
bc5065a7
PA
12692013-05-23 Yao Qi <yao@codesourcery.com>
1270 Pedro Alves <palves@redhat.com>
1271
1272 * gdb.base/range-stepping.c: New file.
1273 * gdb.base/range-stepping.exp: New file.
1274 * gdb.trace/range-stepping.c: New file.
1275 * gdb.trace/range-stepping.exp: New file.
1276 * lib/range-stepping-support.exp: New file.
1277
5f2e6b00
TT
12782013-05-22 Tom Tromey <tromey@redhat.com>
1279
1280 * gdb.cp/class2.cc (main): New local 'aref'.
1281 * gdb.cp/class2.exp: Check printing of 'aref'.
1282
e6ba475a
DE
12832013-05-22 Doug Evans <dje@google.com>
1284
1285 * gdb.threads/wp-replication.c (main): Insert some code at the start
1286 to ensure the breakpoint on main is only hit once. Fix comment.
1287
52c935b6
KS
12882013-05-21 Keith Seitz <keiths@redhat.com>
1289 Pedro Alves <palves@redhat.com>
1290
1291 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
1292 gdb_expect.
1293 Add test to flush the remaining input buffer so that this
1294 file passes testsuite/12649.
1295
bd9673a4
PW
12962013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1297
1298 * gdb.base/catch-signal-fork.exp: New file.
1299 * gdb.base/catch-signal-fork.c: New file.
1300
69a97597
SA
13012013-05-21 Sterling Augustine <saugustine@google.com>
1302
1303 * boards/remote-stdio-gdbserver.exp: New file.
1304
44e97363
JK
13052013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1306
1307 PR testsuite/12649
1308 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
1309 racy matches.
1310
02392865
CG
13112013-05-21 Christian Groessler <chris@groessler.org>
1312
1313 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
1314 since it's not supported in all shells.
1315
c5867ab6
HZ
13162013-05-21 Hui Zhu <hui@codesourcery.com>
1317
1318 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
1319 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
1320
6c9e2db4
DE
13212013-05-20 Doug Evans <dje@google.com>
1322
1323 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
1324 (_handle_DW_TAG): Use it.
1325 (cu, tu): Replace parameters is_64, version, addr_size with options.
1326 All callers updated. Add Fission support.
1327 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
1328 * gdb.dwarf2/method-ptr.exp: Ditto.
1329 * gdb.dwarf2/nostaticblock.exp: Ditto.
1330 * gdb.dwarf2/subrange.exp: Ditto.
1331 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
1332
4a6e676c
TT
13332013-05-20 Tom Tromey <tromey@redhat.com>
1334
1335 * gdb.gdb/python-selftest.exp: New file.
1336
e19d3afb
DE
13372013-05-20 Doug Evans <dje@google.com>
1338
1339 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
1340 -fdebug-types-section.
1341
4d804846
JB
13422013-05-20 Joel Brobecker <brobecker@adacore.com>
1343
1344 * gdb.ada/float_param: New testcase.
1345
8d324e83
DE
13462013-05-17 Doug Evans <dje@google.com>
1347
7d0c9981
DE
1348 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
1349 Add tests for "maint check-symtabs", "maint expand-symtabs".
1350
8d324e83
DE
1351 * gdb.base/maint.exp: Remove testing of individual maint command
1352 help output.
1353
177aadc4
PA
13542013-05-16 Pedro Alves <palves@redhat.com>
1355
1356 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
1357 comment. Use gdb_test_no_output.
1358
b8fea896
JB
13592013-05-16 Joel Brobecker <brobecker@adacore.com>
1360
1361 * gdb.ada/complete.exp: Add test verifying completion using
1362 the "tab" key.
1363
52c935b6
KS
13642013-05-15 Keith Seitz <keiths@redhat.com>
1365
1366 * gdb.base/filesym.exp: New completer test.
1367 * gdb.base/filesym.c: New file.
1368
ed0f00b8
PA
13692013-05-15 Pedro Alves <palves@redhat.com>
1370
1371 * gdb.base/fixsection.c: Remove attribution.
1372 * gdb.base/watch-read.exp: Ditto.
1373
55fb6d27
TT
13742013-05-13 Tom Tromey <tromey@redhat.com>
1375
1376 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
1377 size and change type sizes to 4 bytes.
1378
ac1ca910
TT
13792013-05-13 Tom Tromey <tromey@redhat.com>
1380
1381 * gdb.base/exprs.exp (test_expr): Add regression test.
1382 * gdb.base/exprs.c (null_t_struct): New global.
1383
8414efef
MB
13842013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
1385
1386 * gdb.base/default.exp: Disable history saving.
1387 * gdb.base/setshow.exp: Likewise.
1388
9779ab84
PA
13892013-05-10 Pedro Alves <palves@redhat.com>
1390
1391 PR remote/15455
1392
1393 * gdb.trace/qtro.c: New file.
1394 * gdb.trace/qtro.exp: New file.
1395
1e611234
PM
13962013-05-10 Phil Muldoon <pmuldoon@redhat.com>
1397
1398 * gdb.python/py-framefilter.py: New File.
1399 * gdb.python/py-framefilter-mi.exp: Ditto.
1400 * gdb.python/py-framefilter.c: Ditto.
1401 * gdb.python/py-framefilter-mi.exp: Ditto.
1402 * gdb.python/py-framefilter-mi.c: Ditto,
1403 * gdb.python/py-framefilter-gdb.py.in: Ditto.
1404
5e4c3ac4
TT
14052013-05-08 Tom Tromey <tromey@redhat.com>
1406
1407 * gdb.base/solib-search.exp: Set test name for "set
1408 solib-search-path" test.
1409
993654a9
HAQ
14102013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
1411
1412 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
1413 (set_a_tracepoint): Set tracepoint before prologue.
1414 (run_trace_experiment): Test setup_tracepoints and 'break end'
1415 in it.
1416 (trace_buffer_normal): Remove.
1417 (gdb_trace_circular_tests): Remove. Move tests to...
1418 (top level): ...here. Call 'runto_main' before checking for
1419 trace support. Use commands to check the support for circular
1420 trace buffer and changing of trace buffer size. Add test
1421 to calculate size of single frame. Use this size to
1422 calculate the size of trace buffer. Use 'tfind pc func9'
1423 instead of 'tfind 9'. Use 'with_test_prefix'.
1424
c95aea6b
TT
14252013-05-07 Tom Tromey <tromey@redhat.com>
1426
1427 * lib/selftest-support.exp: New file.
1428 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1429 do_self_tests.
1430 (setup_test, find_gdb): Remove.
1431 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
1432 do_self_tests.
1433 (setup_test, find_gdb): Remove.
1434 (test_observer): Don't call setup_test. Remove argument.
1435 * gdb.gdb/selftest.exp: Load selftest-support.exp.
1436 (find_gdb): Remove.
1437 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1438 do_self_tests.
1439 (setup_test, find_gdb): Remove.
1440 (test_with_self): Don't call setup_test. Remove argument.
1441
1f031429
PA
14422013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1443
1444 * gdb.arch/system-gcore.exp: Remove.
1445 * gdb.arch/gcore.c: Remove.
1446 * gdb.base/gcore.exp: Add "info reg system".
1447
58ce7251
SDJ
14482013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
1449
1450 PR breakpoints/15413:
1451 * gdb.base/pending.exp: Add test for completion of the "condition"
1452 command for pending breakpoints.
1453 * gdb.linespec/linespec.ex: Add test for completion of the
1454 "condition" command when dealing with multiple locations.
1455
aacbb8a5
LM
14562013-05-07 Luis Machado <lgustavo@codesourcery.com>
1457
1458 * gdb.threads/wp-replication.c: New file.
1459 * gdb.threads/wp-replication.exp: New file.
1460
2dd6254d
SL
14612013-05-06 Sandra Loosemore <sandra@codesourcery.com>
1462
1463 * gdb.xml/tdesc-regs.exp: Add case for nios2.
1464
c2a96e8c
DE
14652013-05-06 Doug Evans <dje@google.com>
1466
b903e17e
DE
1467 * gdb.base/solib-search-lib1.c: New file.
1468 * gdb.base/solib-search-lib2.c: New file.
1469 * gdb.base/solib-search.c: New file.
1470 * gdb.base/solib-search.h: New file.
1471 * gdb.base/solib-search.exp: New file.
1472
fac51dd9
DE
1473 * lib/gdb.exp (gdb_core_cmd): New function.
1474 * gdb.arch/system-gcore.exp: Use it.
1475 * gdb.arch/vsx-regs.exp: Ditto.
1476 * gdb.base/gcore.exp: Ditto.
1477 * gdb.threads/gcore-thread.exp: Ditto.
1478
c2a96e8c
DE
1479 * gdb.reverse/shr.h: New file.
1480 * gdb.reverse/shr1.c: New file.
1481 * gdb.reverse/shr2.c: #include "shr.h".
1482 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
1483 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
1484 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
1485 Update tests using sleep/printf to use shr2.sl instead.
1486 * gdb.reverse/solib-reverse.exp: Ditto.
1487
b6807d98
TT
14882013-05-06 Tom Tromey <tromey@redhat.com>
1489
1490 * gdb.dwarf2/implptrconst.c: New file.
1491 * gdb.dwarf2/implptrconst.exp: New file.
1492 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
1493 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
1494 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
1495
96f7d3f1
PW
14962013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1497
1498 * gdb.base/catch-sig.c (main): Raise SIGINT.
1499 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
1500
1ebff1fd
HAQ
15012013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
1502
1503 * status-stop.exp (test_tstart_tstart): Check for error
1504 returned by the second 'tstart' command.
1505
f92b06da
WT
15062013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
1507
1508 * gdb.xml/maint_print_struct.exp: New file.
1509 * gdb.xml/maint_print_struct.xml: New file.
1510
ff546935
TT
15112013-04-25 Tom Tromey <tromey@redhat.com>
1512
1513 * gdb.dwarf2/nostaticblock.exp: New file.
1514
bf9e4d0c
MB
15152013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
1516
1517 PR gdb/10462
1518 * gdb.base/setshow.exp: Add test case.
1519
a11cfd87
HZ
15202013-04-23 Hui Zhu <hui@codesourcery.com>
1521
1522 PR gdb/15293
a11cfd87
HZ
1523 * gdb.base/dprintf.exp: Add ignore command.
1524
2d9442cc
HZ
15252013-04-23 Hui Zhu <hui@codesourcery.com>
1526
1527 PR gdb/15165
2d9442cc
HZ
1528 * gdb.base/save-bp.exp: Add test for dprintf.
1529
0f3305ed
TT
15302013-04-22 Tom Tromey <tromey@redhat.com>
1531
1532 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
1533 notice_open_fds.
1534
d504301e
SDJ
15352013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1536
1537 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
1538 ldflags.
1539
9991b207
SDJ
15402013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1541
1542 * gdb.arch/arm-bl-branch-dest.c: New file.
1543 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
1544
433730c9
PA
15452013-04-19 Vladimir Kargov <kargov@gmail.com>
1546 Pedro Alves <palves@redhat.com>
1547
1548 * gdb.arch/i386-float.S: New file.
1549 * gdb.arch/i386-float.exp: New file.
1550
9a908334
LM
15512013-04-18 Luis Machado <lgustavo@codesourcery.com>
1552
1553 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
1554 type void *.
1555
4f22ed5c
DE
15562013-04-17 Doug Evans <dje@google.com>
1557
1558 * lib/dwarf.exp (Dwarf): New proc "tu".
1559 * gdb.dwarf2/missing-sig-type.exp: New file.
1560
a0d3f2f5
SCR
15612013-04-15 Siva Chandra Reddy <sivachandra@google.com>
1562
1563 Add option to link testcases with Pthreads library when
1564 using 'prepare_for_testing' in tests.
1565
1566 * lib/gdb.exp (build_executable_from_specs): Use
1567 gdb_compile_pthreads to compile if option "pthreads" is
1568 specified.
1569
cc16e6c9
TT
15702013-04-15 Tom Tromey <tromey@redhat.com>
1571
1572 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
1573
72f1fe8a
TT
15742013-04-15 Tom Tromey <tromey@redhat.com>
1575
1576 * gdb.base/default.exp: Update for $_exception.
1577 * gdb.cp/exceptprint.cc: New file.
1578 * gdb.cp/exceptprint.exp: New file.
1579 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
1580
6e72ca20
TT
15812013-04-15 Tom Tromey <tromey@redhat.com>
1582
1583 * gdb.cp/typeid.cc: New file.
1584 * gdb.cp/typeid.exp: New file.
1585
591f19e8
TT
15862013-04-15 Tom Tromey <tromey@redhat.com>
1587
1588 * gdb.cp/exception.exp: Add "catch rethrow" tests.
1589
da9160e4
YQ
15902013-04-13 Yao Qi <yao@codesourcery.com>
1591
1592 * gdb.base/completion.exp: Test completion of command
1593 'target ctf' if target ctf is supported.
1594
f81d1120
PA
15952013-04-10 Pedro Alves <palves@redhat.com>
1596
1597 * gdb.base/completion.exp: Test "set height", "set listsize" and
1598 "set trace-buffer-size" completion.
1599 * gdb.base/setshow.exp: Test "set height unlimited".
1600 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
1601 unlimited".
1602
393fd4c3
YQ
16032013-04-10 Yao Qi <yao@codesourcery.com>
1604
1605 * gdb.trace/actions.exp: Save trace data to CTF.
1606 Change to ctf target if GDB supports, read CTF data in ctf
1607 target, and check the actions of tracepoints.
1608 * gdb.trace/while-stepping.exp: Likewise.
1609 * gdb.trace/report.exp: Test GDB saves trace data to CTF
1610 format and read CTF trace file if GDB supports.
1611 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
1612 target is supported, change to ctf target, read trace data and
1613 check output of command "tstatus".
1614 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
1615 read CTF data by target ctf and call check_tsv.
1616
b7a273f8
YQ
16172013-04-10 Yao Qi <yao@codesourcery.com>
1618
1619 * gdb.trace/actions.exp (check_tracepoint): New.
1620 (top level): Start the tracing and check the actions of
1621 tracepoints. Save trace data to tfile format. Restart GDB
1622 and read trace file in tfile target. Check the actions of
1623 tracepoints again.
1624 * gdb.trace/while-stepping.exp: Likewise.
1625
f3786771
YQ
16262013-04-10 Yao Qi <yao@codesourcery.com>
1627
1628 * gdb.trace/report.exp: Use standard_output_file for saved
1629 trace file.
1630
5c2b4418
HZ
16312013-04-10 Hui Zhu <hui@codesourcery.com>
1632
1633 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
1634 (MISCELLANEOUS): Add dprintf-pendshr.sl.
1635 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
1636
f7543f0a
JK
16372013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1638
1639 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
1640 response.
1641
f6de8ec2
PA
16422013-04-08 Pedro Alves <palves@redhat.com>
1643
1644 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
1645 the location.
1646
b8abfd58
SL
16472013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1648
1649 * gdb.cp/cplabel.exp: Allow empty directory in file reported
1650 for breakpoint location.
1651
156bffd0
SL
16522013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1653
1654 * gdb.linespec/linespec.exp: Make dir/file:line tests
1655 conditional for non-remote hosts only.
1656
c9a6ce02
PA
16572013-04-04 Stan Shebs <stan@codesourcery.com>
1658 Pedro Alves <palves@redhat.com>
1659
1660 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
1661 * gdb.trace/actions-changed.c: New file.
1662 * gdb.trace/actions-changed.exp: New file.
1663 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
1664 (gdb_trace_setactions_command): ... this. Add "actions_command"
1665 parameter, and handle it.
1666 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
1667
4bd05f24
YQ
16682013-04-04 Yao Qi <yao@codesourcery.com>
1669
1670 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
1671 'step'.
1672
3758b5ce
YQ
16732013-04-03 Yao Qi <yao@codesourcery.com>
1674
1675 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
1676 "tfile-basic.tf".
1677 (test_tfind_tfile): Likewise.
1678
1dcaed0d
YQ
16792013-04-03 Yao Qi <yao@codesourcery.com>
1680
1681 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
1682 "tfile-basic.tf" instead of "basic.tf".
1683 (write_error_trace_file): Pass argument "tfile-error.tf"
1684 instead of "error.tf".
1685 * gdb.trace/tfile.exp: Update tfile names to
1686 "tfile-basic.tf" and "tfile-error.tf".
1687
0e7a53fc
SL
16882013-04-02 Sandra Loosemore <sandra@codesourcery.com>
1689
1690 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
1691 empty directory in file for breakpoint hit.
1692
9852c492
YQ
16932013-03-29 Yao Qi <yao@codesourcery.com>
1694
1695 * gdb.base/completion.exp: Test completion of commands
1696 "target core", "target tfile" and "target exec".
1697 * gdb.trace/tfile.exp: Test completion of command
1698 "target tfile".
1699
af312be7
JB
17002013-03-28 Joel Brobecker <brobecker@adacore.com>
1701
1702 * gdb.ada/win_fu_syms: New testcase.
1703
e4a48d9d
DE
17042013-03-28 Doug Evans <dje@google.com>
1705
1706 * gdb.base/maint.exp (maint print statistics): Update expected output.
1707
7f7cc265
PA
17082013-03-28 Pedro Alves <palves@redhat.com>
1709
1710 PR gdb/15294
1711
1712 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
1713 mean unlimited instead of $arg < 0.
1714 (test_listsize): Remove "listsize of 0 suppresses output" test.
1715 Test that "set listsize 0" ends up with an unlimited listsize.
1716
fc0da894
PA
17172013-03-28 Pedro Alves <palves@redhat.com>
1718
1719 * gdb.base/list.exp (last_line): New global.
1720 (last_line_re): New global.
1721 (test_listsize, test_list_function, test_list_forward)
1722 (test_repeat_list_command, test_list_range)
1723 (test_list_filename_and_function): Use them.
1724 * gdb.base/list0.c: Comment the last line of the file with "last
1725 line".
1726
abe7b711
PA
17272013-03-28 Pedro Alves <palves@redhat.com>
1728
1729 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
1730 list the whole file.
1731
15b3979c
PA
17322013-03-28 Pedro Alves <palves@redhat.com>
1733
1734 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
1735 "set listsize".
1736
96811e3b
KS
17372013-03-26 Keith Seitz <keiths@redhat.com>
1738
1739 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
1740 from passing.
1741
4043f22b
PA
17422013-03-26 Pedro Alves <palves@redhat.com>
1743
1744 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
1745 until after GDB has run.
1746
14a1aa17
YQ
17472013-03-26 Yao Qi <yao@codesourcery.com>
1748
1749 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
1750 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
1751
99c819ee
MM
17522013-03-26 Markus Metzger <markus.t.metzger@intel.com>
1753
1754 * gdb.btrace/enable.exp: Add regression test.
1755
24955f63
TT
17562013-03-25 Tom Tromey <tromey@redhat.com>
1757
1758 * gdb.cp/m-static.exp: Add destructor-printing tests.
1759
fce632b6
TT
17602013-03-25 Tom Tromey <tromey@redhat.com>
1761
1762 * gdb.cp/m-static.exp: Add constructor ptype tests.
1763 * gdb.cp/m-static.cc (single_constructor): New class.
1764 (main): Make instance of single_constructor.
1765
598d3636
JK
17662013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1767 Pedro Alves <palves@redhat.com>
1768
1769 * gdb.server/server-kill.c: New file.
1770 * gdb.server/server-kill.exp: New file.
1771
c12440c9
PA
17722013-03-21 Pedro Alves <palves@redhat.com>
1773
1774 * gdb.trace/trace-buffer-size.exp (get default buffer size):
1775 Expect $gdb_prompt in gdb_test_multiple.
1776
bd712aed
DE
17772013-03-21 Doug Evans <dje@google.com>
1778
1779 * gdb.base/maint.exp: Update tests for per-command stats.
1780
b2f83c08
TT
17812013-03-21 Tom Tromey <tromey@redhat.com>
1782
1783 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
1784 * gdb.cp/misc.exp: Add test for FILENAME:: case.
1785
ef0026f0
PA
17862013-03-20 Pedro Alves <palves@redhat.com>
1787
1788 PR gdb/15289
1789
1790 * gdb.base/remote.exp: Test
1791 "set remote hardware-watchpoint-limit -1",
1792 "set remote hardware-breakpoint-limit -1",
1793 "set remote hardware-watchpoint-limit 2147483647" and
1794 "set remote hardware-breakpoint-limit 2147483647".
1795
3f1175a9
PA
17962013-03-20 Pedro Alves <palves@redhat.com>
1797 Yao Qi <yao@codesourcery.com>
1798
1799 * gdb.trace/tfile.c: Add comments.
1800 (nonconstglob): New global.
1801 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
1802 global that is not covered by the trace frame. Test
1803 disassembling.
1804
a09ae1c1
JK
18052013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1806
1807 * gdb.base/valgrind-infcall.exp
1808 (continue #$continue_count) <remote connection closed>
1809 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
1810 $valgrind_pid.
1811
9ce98649
TT
18122013-03-15 Tom Tromey <tromey@redhat.com>
1813
1814 * gdb.cp/overload.cc (intintfunc): New.
1815 * gdb.cp/overload.exp: Add regression test.
1816
0a251e08
YQ
18172013-03-15 Yao Qi <yao@codesourcery.com>
1818
1819 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
1820 using with_test_prefix.
1821 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
1822 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
1823 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
1824 * gdb.threads/watchpoint-fork.exp (test): Likewise.
1825 * gdb.base/break-interp.exp (test_core): Likewise.
1826 (test_attach_gdb): Likewise.
1827 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1828 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1829 Likewise.
1830 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1831 * gdb.base/jit.exp (one_jit_test): Likewise.
1832 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
1833 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
1834 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
1835 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
1836 Likewise.
1837 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1838 Likewise.
1839 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
1840 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
1841 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
1842 (tracepoint_change_loc_2): Likewise.
1843 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1844 Likewise.
1845 (disconnected_tfind): Likewise.
1846 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
1847 Likewise.
1848 (test_tfind_remote): Likewise.
1849 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
1850 Likewise.
1851 (test_pending_resolved): Likewise.
1852 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
1853 Likewise.
1854 (test_upload_tsv): Likewise.
1855 * gdb.trace/pending.exp (pending_tracepoint_resolved):
1856 Likewise.
1857 (pending_tracepoint_works): Likewise.
1858 * gdb.trace/report.exp (use_collected_data): Likewise.
1859 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
1860 Likewise.
1861 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
1862 * gdb.trace/strace.exp (strace_info_marker): Likewise.
1863 (strace_trace_on_same_addr): Likewise.
1864 (strace_trace_on_diff_addr): Likewise.
1865 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
1866 (gdb_collect_locals_test): Likewise.
1867 (gdb_unavailable_registers_test): Likewise.
1868 (gdb_collect_globals_test): Likewise.
1869
2c415c0f
YQ
18702013-03-15 Yao Qi <yao@codesourcery.com>
1871
1872 * gdb.base/condbreak.exp: Add semicolon back which was removed
1873 by my previous commit.
1874
ae59b1da
YQ
18752013-03-14 Yao Qi <yao@codesourcery.com>
1876
1877 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
1878 'return'.
1879 (gdb_target_monitor, gdb_load): Likewise.
1880 * config/sid.exp (gdb_load): Likewise.
1881 * config/slite.exp (gdb_load): Likewise.
1882 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
1883 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
1884 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
1885 (single_step_until): Likewise.
1886 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1887 * gdb.arch/system-gcore.exp: Likewise.
1888 * gdb.base/bigcore.exp (extract_heap): Likewise.
1889 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
1890 * gdb.base/call-ar-st.exp: Likewise.
1891 * gdb.base/call-rt-st.exp: Likewise.
1892 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
1893 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
1894 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
1895 * gdb.base/corefile.exp: Likewise.
1896 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
1897 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
1898 * gdb.base/fixsection.exp: Likewise.
1899 * gdb.base/funcargs.exp: Likewise.
1900 * gdb.base/gcore-buffer-overflow.exp: Likewise.
1901 * gdb.base/gcore-relro.exp: Likewise.
1902 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
1903 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
1904 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
1905 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
1906 * gdb.base/list.exp: Likewise.
1907 (set_listsize): Likewise.
1908 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
1909 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
1910 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
1911 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
1912 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
1913 * gdb.base/setvar.exp: Likewise.
1914 (test_set): Likewise.
1915 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
1916 * gdb.base/solib-overlap.exp: Likewise.
1917 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
1918 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
1919 * gdb.base/watchpoint.exp (initialize): Likewise.
1920 (test_simple_watchpoint): Likewise.
1921 (test_disabling_watchpoints): Likewise.
1922 (test_watchpoint_triggered_in_syscall): Likewise.
1923 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
1924 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
1925 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
1926 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
1927 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
1928 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
1929 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1930 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1931 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
1932 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
1933 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1934 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
1935 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
1936 * gdb.mi/gdb792.exp: Likewise.
1937 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
1938 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
1939 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
1940 * gdb.threads/gcore-thread.exp: Likewise.
1941 (load_core): Likewise.
1942 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
1943 (test_startup, check_control_c): Likewise.
1944 * gdb.threads/sigstep-threads.exp: Likewise.
1945 * gdb.threads/thread_check.exp: Likewise.
1946 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
1947 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
1948 (set_a_tracepoint, trace_buffer_normal): Likewise.
1949 (gdb_trace_circular_tests): Likewise.
1950 * gdb.trace/collection.exp: Likewise.
1951 * gdb.trace/disconnected-tracing.exp: Likewise.
1952 * gdb.trace/infotrace.exp: Likewise.
1953 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1954 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1955 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
1956 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
1957 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
1958 * gdb.trace/stap-trace.exp: Likewise.
1959 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
1960 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
1961 * gdb.trace/trace-buffer-size.exp: Likewise.
1962 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
1963 * gdb.trace/unavailable.exp: Likewise.
1964 * gdb.trace/while-dyn.exp: Likewise.
1965 * lib/fortran.exp (set_lang_fortran): Likewise.
1966 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
1967 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
1968 (default_gdb_start, get_compiler_info): Likewise.
1969 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
1970 (get_debug_format, setup_xfail_format): Likewise.
1971 (rerun_to_main, gdb_skip_float_test): Likewise.
1972 (build_id_debug_filename_get, get_remotetimeout): Likewise.
1973 * lib/java.exp (set_lang_java): Likewise.
1974 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
1975 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
1976 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
1977 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
1978 * lib/objc.exp (set_lang_objc): Likewise.
1979 * lib/pascal.exp (set_lang_pascal): Likewise.
1980 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
1981 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
1982 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
1983
bb869963
SDJ
19842013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
1985
1986 PR c++/15203
1987 PR c++/15210
1988 * gdb.cp/m-static.cc (keepalive_int): New function.
1989 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
1990 * gdb.cp/m-static.exp: New test for `sintvar'.
1991
e2be70a0
YQ
19922013-03-14 Yao Qi <yao@codesourcery.com>
1993
1994 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
1995 of 'tstatus' into tstatus_output.
1996 (top level): Save the trace data to tfile. Read trace file in
1997 tfile target. Check the trace status.
1998
8ddb1965
YQ
19992013-03-13 Yao Qi <yao@codesourcery.com>
2000
2001 * gdb.trace/tsv.exp (check_tsv): New.
2002 (top level): Save a tfile on current trace session. Call
2003 check_tsv on live target. Load the tfile with target tfile
2004 and call check_tsv again.
2005
045dd51f
YQ
20062013-03-13 Yao Qi <yao@codesourcery.com>
2007
2008 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
2009 Replace some "gdb_test" with "gdb_test_no_output".
2010
82d049ab
PH
20112013-03-12 Paul Hilfinger <hilfingr@adacore.com>
2012
2013 * gdb.ada/expr_delims.exp: New file.
2014 * gdb.ada/expr_delims/foo.adb: New file.
2015 * gdb.ada/expr_delims/pck.ads: New file.
2016 * gdb.ada/expr_delims/pck.adb: New file.
2017
cb8ea32b
KS
20182013-03-11 Keith Seitz <keiths@redhat.com>
2019
2020 * watchpoint.exp (test_no_hw_watchpoints): Add test using
2021 both condition and thread. Then delete the watchpoint.
2022
2f1d9bdd
MM
20232013-03-11 Christian Himpel <christian.himpel@intel.com>
2024
2025 * Makefile.in: Add btrace testsuite.
2026 * configure: Regenerated.
2027 * configure.ac: Add btrace testsuite.
2028 * gdb.btrace/Makefile.in: New file.
2029 * gdb.btrace/enable.c: New file.
2030 * gdb.btrace/enable.exp: New file.
2031 * gdb.btrace/function_call_history.c: New file.
2032 * gdb.btrace/function_call_history.exp: New file.
2033 * gdb.btrace/instruction_history.c: New file.
2034 * gdb.btrace/instruction_history.exp: New file.
2035 * gdb.btrace/instruction_history.S: New file.
2036 * lib/gdb.exp: Add btrace skip proc.
2037
05c56a9d
JK
20382013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2039
2040 Fix entry-values if the callee called a noreturn function.
2041 * gdb.arch/amd64-tailcall-noret.S: New file.
2042 * gdb.arch/amd64-tailcall-noret.c: New file.
2043 * gdb.arch/amd64-tailcall-noret.exp: New file.
2044
9112db09
JK
20452013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2046
2047 Fix entry-values in C++ across CUs.
2048 * gdb.arch/amd64-tailcall-cxx.exp: New file.
2049 * gdb.arch/amd64-tailcall-cxx1.S: New file.
2050 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
2051 * gdb.arch/amd64-tailcall-cxx2.S: New file.
2052 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
2053
be9a119c 20542013-03-08 Stan Shebs <stan@codesourcery.com>
f6f899bf
HAQ
2055 Hafiz Abid Qadeer <abidh@codesourcery.com>
2056
2057 gdb/testsuite/
2058 * gdb.trace/trace-buffer-size.exp: New file.
2059 * gdb.trace/trace-buffer-size.c: New file.
2060
049109b0
PA
20612013-03-06 Pedro Alves <palves@redhat.com>
2062
2063 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
2064 doesn't support the tested optional feature, call "unsupported"
2065 with the same test message as the "pass" case, instead of calling
2066 "pass" with a different message. Use the same text for the "fail"
2067 cases too.
2068
4aa54120
YQ
20692013-03-06 Yao Qi <yao@codesourcery.com>
2070
2071 * gdb.trace/tstatus.exp: Remove the invocation of
2072 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
2073 (test_tracepoints): Don't set fast tracepoint.
2074 (top level): Don't check agent library is loaded or not.
2075
b8b71e63
YQ
20762013-03-06 Yao Qi <yao@codesourcery.com>
2077
2078 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
2079 parentheses by "\\".
2080
33f448b1
JK
20812013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2082
2083 * gdb.linespec/base/one/thefile.cc (twodup): New.
2084 (m): Call it.
2085 * gdb.linespec/base/two/thefile.cc (dupname): New.
2086 (n): Call it.
2087 * gdb.linespec/break-ask.exp: New file.
2088 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
2089
1c942fb9
YQ
20902013-02-28 Yao Qi <yao@codesourcery.com>
2091
2092 * gdb.trace/report.exp: Move some code to ...
2093 (use_collected_data): New.
2094 (top level): Call use_collected_data once on the live target.
2095 Save at file of the current trace session, load it with target
2096 tfile, and call use_collected_data again.
2097
5b967901
JK
20982013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2099
2100 * gdb.threads/fork-thread-pending.c (main): Add alarm.
2101
6447023f
JK
21022013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2103
2104 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
2105 Add final kill of ${valgrind_pid}.
2106
9f44fbc0
SCR
21072013-02-20 Siva Chandra Reddy <sivachandra@google.com>
2108
2109 * gdb.python/py-arch.c: New test case
2110 * gdb.python/py-arch.exp: New tests to test
2111 gdb.Architecture.disassemble
2112 * gdb.python/Makefile.in: Add py-arch to the list of
2113 EXECUTABLES.
2114
4c9ad8c2
TT
21152013-02-18 Tom Tromey <tromey@redhat.com>
2116
2117 * gdb.dwarf2/subrange.exp: New file.
2118
f5911ea1
HAQ
21192013-02-15 Pedro Alves <pedro@codesourcery.com>
2120 Hafiz Abid Qadeer <abidh@codesourcery.com>
2121
2122 * gdb.trace/tfile.exp: Add test for -trace-status command.
2123
420f4384
JK
21242013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2125
2126 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
2127 nanosleep by sleep.
2128
4819b3f8
PA
21292013-02-14 Pedro Alves <palves@redhat.com>
2130
2131 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
2132
1773c82c
HAQ
21332013-02-14 Pedro Alves <pedro@codesourcery.com>
2134 Hafiz Abid Qadeer <abidh@codesourcery.com>
2135
2136 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
2137
e234dfaf
TT
21382013-02-12 Tom Tromey <tromey@redhat.com>
2139
2140 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
2141 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
2142
6c01dd94
PA
21432013-02-12 Pedro Alves <palves@redhat.com>
2144
2145 * gdb.base/catch-signal.c: Update copyright years.
2146 * gdb.base/catch-signal.exp: Update copyright years.
2147 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
2148 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
2149 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
2150 * gdb.dwarf2/dw2-error.S: Update copyright years.
2151 * gdb.dwarf2/dw2-error.c: Update copyright years.
2152 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
2153 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
2154 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
2155
595fc67f
PA
21562013-02-12 Pedro Alves <palves@redhat.com>
2157
2158 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
2159 message.
2160 * gdb.base/sigaltstack.exp: Ditto.
2161 * gdb.base/siginfo.exp: Ditto.
2162 * gdb.base/sizeof.exp: Ditto.
2163
17282693
PA
21642013-02-12 Pedro Alves <palves@redhat.com>
2165
2166 * gdb.mi/mi-basics.exp: Tweak intro comment.
2167 * gdb.mi/mi-break.exp: Tweak intro comment.
2168 * gdb.mi/mi-console.exp: Tweak intro comment.
2169 * gdb.mi/mi-file.exp: Tweak intro comment.
2170 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
2171 * gdb.mi/mi-return.exp: Tweak intro comment.
2172 * gdb.mi/mi-stepi.exp: Tweak intro comment.
2173 * gdb.mi/mi-until.exp: Tweak intro comment.
2174 * gdb.mi/mi-watch.exp: Tweak intro comment.
2175
8a4ac37e
PA
21762013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2177
2178 * gdb.server/no-thread-db.exp: New file.
2179 * gdb.server/no-thread-db.c: New file.
2180 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
2181
c2792f5a
DE
21822013-02-11 Doug Evans <dje@google.com>
2183
2184 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
2185 two decfloats.
2186
d9e98382
SDJ
21872013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2188
2189 * gdb.base/bitfields.c (struct internalvartest): New declaration.
2190 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
2191
a321661a
JK
21922013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2193
2194 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
2195
134a2066
YQ
21962013-02-06 Yao Qi <yao@codesourcery.com>
2197
2198 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
2199 to ...
2200 (test_create_delete_modify_tsv): ... here. New test on modifying
2201 the initial value of a tsv.
2202
5a2dc60a
JK
22032013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2204
2205 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
2206 (cd .../rdir): ... here.
2207
233d95b5
JK
22082013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2209
2210 * gdb.linespec/base/one/header.h: New file.
2211 * gdb.linespec/base/two/header.h: New file.
2212 * gdb.linespec/macro-relative.c: New file.
2213 * gdb.linespec/macro-relative.exp: New file.
2214
fbd9ab74
JK
22152013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2216
2217 * gdb.base/fullpath-expand-func.c: New file.
2218 * gdb.base/fullpath-expand.c: New file.
2219 * gdb.base/fullpath-expand.exp: New file.
2220 * gdb.base/realname-expand-real.c: New file.
2221 * gdb.base/realname-expand.c: New file.
2222 * gdb.base/realname-expand.exp: New file.
2223
1b56eb55
JK
22242013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2225
2226 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
2227 * gdb.dwarf2/dw2-dir-file-name.c: New file.
2228
af529f8f
JK
22292013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2230
2231 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
2232 (compare_filenames_for_search does not match)
2233 (compare_filenames_for_search does match): New tests.
2234
f5b95b50
JK
22352013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2236
2237 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
2238
d47921b9
JK
22392013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2240
2241 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
2242
8a92335b
JK
22432013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2244
2245 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
2246 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
2247 ${binfile}.mini_debuginfo-debuglink and
2248 ${binfile}.mini_debuginfo-debuglink.xz.
2249
17f2157d
TT
22502013-02-01 Tom Tromey <tromey@redhat.com>
2251
2252 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
2253 attributes.
2254
d65f0a9c
TT
22552013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2256 Tom Tromey <tromey@redhat.com>
2257
2258 * gdb.dwarf2/method-ptr.exp: Link with c++.
2259 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
2260
f25c0135
TT
22612013-01-31 Tom Tromey <tromey@redhat.com>
2262
2263 * gdb.base/jit.exp (compile_jit_test): New proc.
2264 Add PIE tests.
2265
7078baeb
TT
22662013-01-31 Tom Tromey <tromey@redhat.com>
2267
2268 * gdb.dwarf2/method-ptr.cc: New file.
2269 * gdb.dwarf2/method-ptr.exp: New file.
2270
1d24041a
TT
22712013-01-31 Tom Tromey <tromey@redhat.com>
2272
2273 * lib/dwarf.exp (namespace Dwarf): New.
2274
8d9878a4
TT
22752013-01-29 Tom Tromey <tromey@redhat.com>
2276
2277 * gdb.dwarf2/fission-reread.exp: Add unload test.
2278
bed911e5
DE
22792013-01-28 Doug Evans <dje@google.com>
2280
2281 * gdb.dwarf2/fission-loclists.exp: New file.
2282 * gdb.dwarf2/fission-loclists.S: New file.
2283
e229648e
JK
22842013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2285
2286 Code cleanup.
2287 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
2288 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
2289 and prepare_for_testing.
2290 * gdb.base/store.exp: Likewise.
2291
86700f00
TT
22922013-01-25 Tom Tromey <tromey@redhat.com>
2293
2294 * gdb.python/py-explore.exp: Expect the gdb prompt.
2295
8954db33
AB
22962013-01-25 Andrew Burgess <aburgess@broadcom.com>
2297
2298 * gdb.base/gnu_vector.c: New variable for use in tests.
2299 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
2300 changes in scalar to vector casting and widening.
2301 * gdb.python/py-type.c: New variables for use in tests.
2302 * gdb.python/py-type.exp: Update vector related tests to reflect
2303 changes in scalar to vector casting and widening.
2304
2077afdd
TD
23052013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
2306
2307 * gdb.base/prologue-include.c: New file.
2308 * gdb.base/prologue-include.exp: New file.
2309 * gdb.base/prologue-include.h: New file.
2310
d7499464
HAQ
23112013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
2312
2313 PR gdb/13443
2314 * gdb.mi/mi-var-block.exp: Make test messages unique.
2315
e2a3e0f1
TT
23162013-01-23 Tom Tromey <tromey@redhat.com>
2317
2318 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
2319
152fcc9c
TT
23202013-01-23 Tom Tromey <tromey@redhat.com>
2321
2322 * gdb.cp/converts.cc (main): Initialize 'a'.
2323
bea883fd
SCR
23242013-01-23 Siva Chandra Reddy <sivachandra@google.com>
2325
2326 * testsuite/gdb.python/frame.exp: Add a test for
2327 gdb.Frame.architecture() method.
2328
0928e93d
PA
23292013-01-22 Pedro Alves <palves@redhat.com>
2330
2331 * gdb.base/annota1.exp (signal sent): No longer expect
2332 breakpoints-invalid.
2333 * gdb.cp/annota2.exp (continue until exit)
2334 (watch triggered on a.x): Ditto.
2335
9c97429f
PA
23362013-01-22 Pedro Alves <palves@redhat.com>
2337
2338 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
2339 Adjust tests to breakpoints-invalid changes.
2340 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
2341 variables.
2342 Adjust tests to breakpoints-invalid changes.
2343
187d10dd
PA
23442013-01-22 Pedro Alves <palves@redhat.com>
2345
2346 * gdb.base/annota1.exp (annotate ignore count change): Add
2347 expected output for failure case.
2348
ea3aedcb
TT
23492013-01-22 Tom Tromey <tromey@redhat.com>
2350
2351 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
2352 call.
2353
998580f1
MK
23542013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
2355
2356 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
8f1d5693 2357 * gdb.mi/mi-catch-load.exp: Ditto.
998580f1
MK
2358 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
2359 Also handle 'thread' field.
2360 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
2361 * gdb.mi/mi-watch.exp: Ditto.
2362 * lib/mi-support.exp: Ditto.
2363
8f1d5693
MK
23642013-01-21 Siva Chandra Reddy <sivachandra@google.com>
2365
2366 * gdb.python/py-explore.exp: Improve a test
2367
2d8c5d7c
DB
23682013-01-18  David Blaikie  <dblaikie@gmail.com>
2369
2370 * gdb.base/label.c (main): Correct the type of the second
2371 parameter.
2372
46f35228
TT
23732013-01-18 Tom Tromey <tromey@redhat.com>
2374
2375 * gdb.dwarf2/trace-crash.s: New file.
2376 * gdb.dwarf2/trace-crash.exp: New file.
2377
5965d69d
HAQ
23782013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
2379
43aaf8b6
PA
2380 PR gdb/13443
2381 * gdb.base/checkpoint.exp: Update test messages to make them
2382 unique.
5965d69d 2383
5ae4861a
YQ
23842013-01-18 Yao Qi <yao@codesourcery.com>
2385
2386 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
2387 output of 'info tracepoints'.
2388 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
2389 Likewise.
2390 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
2391 * gdb.trace/disconnected-tracing.c (struct foo): New.
2392
d84fca2c
JK
23932013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2394
2395 * gdb.dwarf2/dw2-dos-drive.S: New file.
2396 * gdb.dwarf2/dw2-dos-drive.exp: New file.
2397
aebb1cc9
DE
23982013-01-17 Doug Evans <dje@google.com>
2399
2782d512
DE
2400 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
2401 CXX_FOR_TARGET.
2402
aebb1cc9
DE
2403 * boards/cc-with-tweaks.exp: New file.
2404
db2b2972
TT
24052013-01-17 Tom Tromey <tromey@redhat.com>
2406
2407 * gdb.base/completion.exp: Add "set cp-abi" completion test.
2408
96343774
PA
24092013-01-17 Pedro Alves <palves@redhat.com>
2410
2411 Merge dg-extract-results.sh from upstream (svn 195224).
2412
2413 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 2414 * dg-extract-results.sh: Fix order of summary counts.
96343774
PA
2415
2416 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 2417 * dg-extract-results.sh: Constrain the start-of-log pattern.
96343774
PA
2418
2419 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 2420 * dg-extract-results.sh: Handle KPASSes.
96343774
PA
2421
2422 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2423 * dg-extract-results.sh: Redirect grep output to /dev/null instead
2424 of grep -q.
2425
675921c0
SD
24262012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2427
2428 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
2429 interface.
2430 * gdb.base/jithost.c: New file.
2431 * gdb.base/jithost.h: New file.
2432 * gdb.base/jitreader.c : New file.
2433 * gdb.base/jit-protocol.h: New file.
2434
ab04a2af
TT
24352013-01-16 Tom Tromey <tromey@redhat.com>
2436
2437 * gdb.base/catch-signal.c: New file.
2438 * gdb.base/catch-signal.exp: New file.
2439
8ac3646f
TT
24402013-01-16 Tom Tromey <tromey@redhat.com>
2441
2442 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
2443
22fc223e
JK
24442013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2445
2446 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
2447
44478ab3
TT
24482013-01-14 Tom Tromey <tromey@redhat.com>
2449
2450 * gdb.base/completion.exp: Add "set gnutarget" test.
2451
06d66ee9
TT
24522013-01-14 Tom Tromey <tromey@redhat.com>
2453
2454 * gdb.dwarf2/dw2-restrict.S: New file.
2455 * gdb.dwarf2/dw2-restrict.c: New file.
2456 * gdb.dwarf2/dw2-restrict.exp: New file.
2457
c9bf0622
TT
24582013-01-14 Tom Tromey <tromey@redhat.com>
2459
2460 * gdb.dwarf2/dw2-error.exp: New file.
2461 * gdb.dwarf2/dw2-error.c: New file.
2462 * gdb.dwarf2/dw2-error.S: New file.
2463
5b12a61c
JK
24642013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2465
2466 * gdb.cp/parse-lang.cc: New file.
2467 * gdb.cp/parse-lang.exp: New file.
2468
f0a4b570
JK
24692013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2470
2471 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
2472 (set substitute-path): New test.
2473 (fullname present): Remove content.
2474 (substituted fullname): New test.
2475
f751cc97
JB
24762013-01-13 Joel Brobecker <brobecker@adacore.com>
2477
2478 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
2479 check. Move $gdb_py_is_py24 value check right after.
2480
04164e8e
JK
24812013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2482
2483 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
2484 targets.
2485
5bf480a5
YQ
24862013-01-11 Yao Qi <yao@codesourcery.com>
2487
2488 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
2489 for dprintf.
2490 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2491 Check the fields in "=breakpoint-created" for dprintf.
2492
f35a17b5
JK
24932012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2494
2495 * gdb.mi/mi-fullname-deleted.exp: New file.
2496
85817405
JK
24972012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2498
2499 * gdb.base/skip-solib.exp (info skip with pending file): Update the
2500 expected output.
2501 (info skip with pending file): Remove.
2502 (ignoring function in solib, info skip for function multiply): Update
2503 the expected output.
2504 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
2505 (info skip (delete 1), info skip after disabling all)
2506 (info skip after enabling all, info skip after disabling 4 2-3)
2507 (info skip after enabling 2-3, info skip 2-3)
2508 (info skip after deleting 2 3): Update the expected output.
2509 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
2510 statement to its initialization and return.
2511 * gdb.linespec/skip-two.exp: New file.
2512
27210e12
DE
25132012-12-19 Doug Evans <dje@google.com>
2514
2515 * gdb.base/maint.exp: Handle testing with .gdb_index.
2516
bb627a12
JB
25172012-12-19 Joel Brobecker <brobecker@adacore.com>
2518
2519 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
2520 Cavium to FSF.
2521
7785b880
JB
25222012-12-19 Joel Brobecker <brobecker@adacore.com>
2523
2524 * dg-extract-results.sh: Update contact info in copyright notice.
2525 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
2526 GPL v3 or later. Update contact info.
2527 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
2528 gdb.threads/watchpoint-fork-mt.c,
2529 gdb.threads/watchpoint-fork-parent.c,
2530 gdb.threads/watchpoint-fork-st.c,
2531 gdb.threads/watchpoint-fork.h: Likewise.
2532
f2a8bc8a
YQ
25332012-12-15 Yao Qi <yao@codesourcery.com>
2534
2535 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
2536 'installed' field in '=breakpoint-modified'.
2537 (test_reconnect): Check 'installed' field in
2538 '=breakpoint-modified' and '=breakpoint-created'.
2539
2540 * gdb.trace/actions.exp: Update test for 'installed' field.
2541 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
2542 (tracepoint_change_loc_2): Likewise.
2543 Check 'info tracepoint' display nothing else.
2544 * gdb.trace/deltrace.exp: Likewise.
2545 * gdb.trace/infotrace.exp: Likewise.
2546 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
2547 Likewise.
2548 * gdb.trace/passcount.exp: Likewise.
2549 * gdb.trace/tracecmd.exp: Likewise.
2550 * gdb.trace/while-stepping.exp: Likewise.
2551
6592e36f
TT
25522012-12-14 Tom Tromey <tromey@redhat.com>
2553
2554 * gdb.cp/member-name.exp: New file.
2555 * gdb.cp/member-name.cc: New file.
2556
7d27a96d
TT
25572012-12-14 Tom Tromey <tromey@redhat.com>
2558
2559 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
2560
f8c05d0d
DE
25612012-12-14 Doug Evans <dje@google.com>
2562
2563 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
2564 DW_OP_GNU_implicit_pointer is section-relative.
2565
451b7c33
TT
25662012-12-14 Tom Tromey <tromey@redhat.com>
2567
43aaf8b6 2568 * gdb.base/info-proc.exp: Add core file tests.
451b7c33 2569
10e339df
PA
25702012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
2571
6fdff2c5 2572 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
10e339df 2573
e780d813
DE
25742012-12-13 Doug Evans <dje@google.com>
2575
2576 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
2577 * gdb.multi/multi-arch.exp: Ditto.
2578
ca3dbcc8 25792012-12-12 Keven Boell <keven.boell@intel.com>
6fdff2c5 2580
ca3dbcc8
MG
2581 * gdb.mi/mi-catch-load-so.c: New. Clone of the
2582 catch load test library source file.
2583 * gdb.mi/mi-catch-load.c: New. Clone of the catch
2584 load test source file.
2585 * gdb.mi/mi-catch-load.exp: New. Test file for
2586 basic MI -catch-load and -catch-unload tests.
2587
2960a434
PK
25882012-12-11 Paul Koning <paul_koning@dell.com>
2589
2590 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
2591 exception.
2592 (_iterator_except): New function.
2593 (ArrayPrinter): Use _iterator function instead of local _iterator
2594 class for Python 3 compatibility.
2595 (NoStringContainerPrinter): Use _iterator_except instead of
6fdff2c5 2596 _iterator.
2960a434
PK
2597 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
2598 execfile for Python 3 compatibility.
2599 * gdb.python/python.exp: Handle Python 2.4 exception traceback
2600 format in error_prompt test.
6fdff2c5 2601
9325cb04
PK
26022012-12-10 Paul Koning <paul_koning@dell.com>
2603
2604 * gdb.base/charset.exp: Change print syntax for Python 3
6fdff2c5 2605 compatibility.
9325cb04
PK
2606 * gdb.python/py-block.exp: Ditto.
2607 * gdb.python/py-breakpoint.exp: Ditto.
2608 * gdb.python/py-cmd.exp: Ditto.
2609 * gdb.python/py-events.py: Ditto.
2610 * gdb.python/py-finish-breakpoint.py: Ditto.
2611 * gdb.python/py-finish-breakpoint2.exp: Ditto.
2612 * gdb.python/py-finish-breakpoint2.py: Ditto.
2613 * gdb.python/py-frame-inline.exp: Ditto.
2614 * gdb.python/py-frame.exp: Ditto.
2615 * gdb.python/py-infthread.exp: Ditto.
2616 * gdb.python/py-objfile.exp: Ditto.
2617 * gdb.python/py-parameter.exp: Ditto.
2618 * gdb.python/py-progspace.exp: Ditto.
2619 * gdb.python/py-prompt.exp: Ditto.
2620 * gdb.python/py-symbol.exp: Ditto.
2621 * gdb.python/py-symtab.exp: Ditto.
2622 * gdb.python/py-template.exp: Ditto.
2623 * gdb.python/py-value-cc.exp: Ditto.
2624 * gdb.python/python.exp: Ditto.
2625 * gdb.python/source2.py: Ditto.
2626 * gdb.python/lib-types.exp: Change print syntax for Python 3
6fdff2c5 2627 compatibility.
9325cb04
PK
2628 Use sorted() function rather than sort() method.
2629 Accept either int or long values for enum values.
2630 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
2631 execfile for Python 3 compatibility.
2632 * gdb.python/py-evsignal.exp: Ditto.
2633 * gdb.python/py-evthreads.exp: Ditto.
2634 * gdb.python/py-mi.exp: Ditto.
2635 * gdb.python/py-pp-maint.exp: Ditto.
2636 * gdb.python/py-prettyprint.exp: Ditto.
2637 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
6fdff2c5 2638 Python 3 compatibility.
9325cb04
PK
2639 Skip tests for Python 2.4.
2640 * gdb.python/py-inferior.exp: Change print syntax for
6fdff2c5 2641 Python 3 compatibility.
9325cb04
PK
2642 Use byte string rather than character string in memory write test
2643 if Python 3.
2644 * gdb.python/py-pp-maint.py: Change class declarations to "new
2645 class" syntax.
2646 * gdb.python/py-prettyprint.py: Change iterator class to generator
2647 function for Python 3 compatibility.
2648 Make all classes "new style".
2649 Fix indentation issue and stray semicolon.
2650 * gdb.python/py-shared.expChange print syntax for Python 3
2651 compatibility.
2652 Define "long" if Python 3.
2653 * gdb.python/py-type.exp: Change print syntax for Python 3
6fdff2c5 2654 compatibility.
9325cb04
PK
2655 Accept either int or long values for enum values.
2656 * gdb.python/py-value.exp: Change print syntax for Python 3
6fdff2c5 2657 compatibility.
9325cb04
PK
2658 Skip "long" and "unicode" tests if Python 3.
2659 Accept either "type" or "class" in type checks.
2660 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
2661 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
2662
8b9737bf
TT
26632012-12-10 Tom Tromey <tromey@redhat.com>
2664
2665 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
2666 (test): Add "two_cu" argument.
2667 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
2668 for types; allow two CUs.
2669
1b80a9fa
JK
26702012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2671
2672 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
2673 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
2674
f0b6d50a
YQ
26752012-12-08 Yao Qi <yao@codesourcery.com>
2676 Pedro Alves <palves@redhat.com>
2677
2678 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
2679 '=breakpoint-created' when GDB merges the tracepoints of both
2680 sides.
2681
2f68a895
TT
26822012-12-07 Tom Tromey <tromey@redhat.com>
2683
2684 * gdb.base/break1.c (enum some_enum, union some_union): New.
2685 (some_enum_global, some_union_global, some_value): New globals.
2686 * gdb.base/completion.exp: Add tag completion tests.
2687
4fc5d43e
TT
26882012-12-07 Tom Tromey <tromey@redhat.com>
2689
2690 * gdb.base/completion.exp: Add tests for ptype and whatis
2691 completion.
2692
6559e013
JB
26932012-12-07 Joel Brobecker <brobecker@adacore.com>
2694
2695 * gdb.base/stale-infcall.exp: Fix copyright line.
2696
ae2b630d
JB
26972012-12-07 Joel Brobecker <brobecker@adacore.com>
2698
2699 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
2700
0ba2eb0f
TT
27012012-12-06 Pedro Alves <palves@redhat.com>
2702 Tom Tromey <tromey@redhat.com>
2703
2704 * gdb.base/exprs.exp: Add tests for cast to void.
2705
731145cb
TT
27062012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
2707
2708 * gdb.python/py-mi.exp: Correct expected results for attribute
2709 "dynamic" returned by -var-update.
2710 Add test case for correct handling of "diplayhint" for children
2711 of dynamic varobjs.
2712 * gdb.python/py-prettyprint.c (set_itme): New function.
2713 (bug_14741) New function.
2714 (main) Add call to bug_14741().
2715 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
2716
e58fcc15
UW
27172012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
2718
2719 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
2720 ${binfile}.funcsyms list.
2721
e9eb0d14
YQ
27222012-12-04 Yao Qi <yao@codesourcery.com>
2723
2724 PR gdb/13443
2725 * gdb.trace/actions.exp: Make test messages unique.
2726
4983028c
TT
27272012-11-29 Tom Tromey <tromey@redhat.com>
2728
2729 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
2730
ea5e6b0e
UW
27312012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
2732
2733 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
2734 * gdb.opencl/datatypes.exp: Likewise.
2735 * gdb.opencl/operators.exp: Likewise.
2736 * gdb.opencl/vec_comps.exp: Likewise.
2737
cdde3dfb
JG
27382012-11-29 Jerome Guitton <guitton@adacore.com>
2739
2740 * gdb.ada/iwide: New testcase.
2741
b50d69b5
JG
27422012-11-29 Jerome Guitton <guitton@adacore.com>
2743
2744 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
2745 ptype test.
2746
c2d3fccf
JG
27472012-11-29 Jerome Guitton <guitton@adacore.com>
2748
2749 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
2750 form {VARIANT_TYPE}ADDRESS.
2751
5edf51fe
YQ
27522012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
2753
2754 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
2755 (func): New function.
2756 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
2757 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
2758 pointers to members with pointer-to-function type.
2759
608e2dbb
TT
27602012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2761 Tom Tromey <tromey@redhat.com>
2762
2763 * gdb.base/gnu-debugdata.exp: New file.
2764 * gdb.base/gnu-debugdata.c: New file.
2765 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
2766 (gdb_unload): Return 0 on success.
2767
4648e588
JK
27682012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2769
2770 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
2771
17d6efc4
JB
27722012-11-26 Joel Brobecker <brobecker@adacore.com>
2773
2774 * gdb.base/empty_exe.exp: New testcase.
2775
ace21957
MF
27762012-11-20 Mike Frysinger <vapier@gentoo.org>
2777
2778 * gdb.base/completion.exp: Add test for help aliases completion.
2779
5c401a0a
YQ
27802012-11-20 Yao Qi <yao@codesourcery.com>
2781
2782 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2783 Don't test 'maint set show-debug-regs'.
2784 Use command 'set remotecache' instead of
2785 'set circular-trace-buffer'.
2786
8dea366b
KS
27872012-11-16 Keith Seitz <keiths@redhat.com>
2788
2789 PR c++/13615
2790 * gdb.cp/baseenum.cc: New file.
2791 * gdb.cp/baseenum.exp: New file.
2792 * gdb.cp/derivation.cc (A): Add copyright.
2793 Add a typedef.
2794 (B): Use A::value_type instead of int. Change all references.
2795 (D): Use value_type instead of int. Change all references.
2796 (E): Likewise.
2797 (F); Likewise.
2798 (Z): New class.
2799 (ZZ): New class.
6fdff2c5 2800 (N, Base, Derived): New namespace and classes.
8dea366b
KS
2801 (main): Add instances of Z and ZZ.
2802 Make sure all symbols from N are kept.
2803 * gdb.cp/derivation.exp: Update typedef changes in tests.
2804 Add tests for class typedefs both before and after starting
2805 the inferior.
2806 Add tests for searching for a typedef while stopped in a
2807 method.
2808
5e34c6c3
LM
28092012-11-14 Luis Machado <lgustavo@codesourcery.com>
2810
2811 * gdb.mi/mi-var-create-rtti.c: New file.
2812 * gdb.mi/mi-var-create-rtti.exp: New file.
2813
5e487a5f
LM
28142012-11-14 Luis Machado <lgustavo@codesourcery.com>
2815
2816 * gdb.base/structs3.exp: Run to main before doing any tests.
2817
6d67b990
AB
28182012-11-14 Andrew Burgess <aburgess@broadcom.com>
2819
2820 * gdb.python/py-type.exp: Uniquify test names.
2821
e5d98164
YQ
28222012-11-14 Yao Qi <yao@codesourcery.com>
2823
2824 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
2825 (thread_function) [DEBUG]: Call 'printf'.
2826 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
2827 command line if 'DEBUG=1' is passed to test.
2828 Remove a pattern to match inferior's output.
2829
62747a60
TT
28302012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
2831
2832 * gdb.mi/mi-fill-memory.exp: New test.
2833
18a9fc12
TT
28342012-11-12 Tom Tromey <tromey@redhat.com>
2835
2836 * gdb.base/completion.exp: Update for "info type-printers".
2837 * gdb.python/py-typeprint.cc: New file.
2838 * gdb.python/py-typeprint.exp: New file.
2839 * gdb.python/py-typeprint.py: New file.
2840
bd69fc68
TT
28412012-11-12 Tom Tromey <tromey@redhat.com>
2842
2843 * gdb.base/call-sc.exp: Use "ptype/r".
2844 * gdb.base/volatile.exp: Don't expect "int".
2845 * gdb.cp/ptype-flags.cc: New file.
2846 * gdb.cp/ptype-flags.exp: New file.
2847 * gdb.cp/templates.exp: Use ptype/r.
2848 (test_ptype_of_templates, test_template_typedef): Likewise.
2849 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
2850 argument. Handle template names and template parameters.
2851 * gdb.mi/mi-var-cmd.exp: Accept "long".
2852 * gdb.mi/mi-var-child.exp: Accept "long".
2853 * gdb.mi/mi-var-display.exp: Accept "long".
2854 * gdb.mi/mi2-var-child.exp: Accept "long".
2855
b3720c3a
TT
28562012-11-12 Tom Tromey <tromey@redhat.com>
2857
2858 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
2859 "ptype" from calls to cp_test_ptype_class.
2860 (test_enums): Likewise.
2861 * gdb.cp/derivation.exp: Remove "ptype" from calls to
2862 cp_test_ptype_class.
2863 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
2864 calls to cp_test_ptype_class.
2865 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
2866 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
2867 from calls to cp_test_ptype_class.
2868 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
2869 command here. Change "in_command" argument to "in_exp".
2870
0d63ecda
KS
28712012-11-10 Keith Seitz <keiths@redhat.com>
2872
2873 PR gdb/14288
2874 * gdb.base/printcmds.c: Add invalid_XXX globals
2875 for repeated byte tests.
2876 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
2877 * gdb.base/wchar.c (main): Add and construct a wchar_t
2878 array with repeated characters.
2879 * gdb.base/wchar.exp: Add repeated character tests.
2880
ed8a1c2d
AB
28812012-11-09 Andrew Burgess <aburgess@broadcom.com>
2882
2883 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
2884 disassembly output.
2885
9107fc8d
PA
28862012-11-09 Pedro Alves <palves@redhat.com>
2887
2888 PR gdb/14306
2889
2890 * gdb.multi/multi-arch-exec.c: New file.
2891 * gdb.multi/multi-arch-exec.exp: New file.
2892
558a9d82
YQ
28932012-11-09 Yao Qi <yao@codesourcery.com>
2894
2895 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
2896 (top level): Call it.
2897
e714f336
YQ
28982012-11-09 Yao Qi <yao@codesourcery.com>
2899
2900 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
2901 typo.
2902
6ecd4729
PA
29032012-11-09 Pedro Alves <palves@redhat.com>
2904
2905 * gdb.multi/multi-arch.exp: New.
2906
9015683b
TT
29072012-11-08 Tom Tromey <tromey@redhat.com>
2908
2909 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
2910 core files, if possible.
2911 * gdb.base/siginfo-thread.c: New file
2912 * gdb.base/siginfo-thread.exp: New file
2913
ea9f10bb
TT
29142012-11-08 Tom Tromey <tromey@redhat.com>
2915
2916 * gdb.base/comprdebug.exp: New file.
2917
f6592439
PA
29182012-11-06 Pedro Alves <palves@redhat.com>
2919
2920 PR gdb/14810
2921
2922 * gdb.base/disabled-location.c: New file.
2923 * gdb.base/disabled-location.exp: New file.
2924
2d338fa9
TT
29252012-11-06 Tom Tromey <tromey@redhat.com>
2926
2927 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
2928 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
2929 gdb_gcore_cmd.
2930 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
2931 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
2932 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
2933 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
2934 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
2935 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
2936 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
2937 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
2938 * lib/gdb.exp (gdb_gcore_cmd): New proc.
2939
68c9da30
PA
29402012-11-05 Pedro Alves <palves@redhat.com>
2941
2942 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
2943 procedure.
2944 (do_vfork_and_follow_child_tests_exec)
2945 (do_vfork_and_follow_child_tests_exit): Call it.
2946
a7c8c931
PA
29472012-11-05 Pedro Alves <palves@redhat.com>
2948
2949 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
2950 fails.
2951
6f6484cd
YQ
29522012-11-03 Yao Qi <yao@codesourcery.com>
2953
2954 Fix PR gdb/14617.
2955 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2956 Remove setup_kfail, and update test.
2957
b45627a0
TT
29582012-11-02 Tom Tromey <tromey@redhat.com>
2959
2960 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
2961 test.
2962
f50f4e56
PA
29632012-11-02 Pedro Alves <palves@redhat.com>
2964
2965 PR gdb/14766
2966
2967 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
2968 setup_kfail.
2969 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
2970 get registers".
2971
71ce889d
PA
29722012-11-02 Pedro Alves <palves@redhat.com>
2973
2974 * gdb.base/foll-vfork-exit.c: New file.
2975 * gdb.base/foll-vfork.exp (top level): New file-describing
2976 comment.
2977 (vfork_child_follow_to_exit): New procedure.
2978 (tcatch_vfork_then_child_follow): Rename as ...
2979 (tcatch_vfork_then_child_follow_exec): ... this.
2980 (tcatch_vfork_then_child_follow_exit): New procedure.
2981 (do_vfork_and_follow_parent_tests): New procedure, factored out
2982 from do_vfork_and_exec_tests.
2983 (do_vfork_and_follow_child_tests_exec): Ditto.
2984 (do_vfork_and_exec_tests): Delete.
2985 (do_vfork_and_follow_child_tests_exit): New procedure.
2986 (top level): Run tests with both the program that has the vfork
2987 child execing, and the program has the vfork child exiting.
2988
1e35b1a9
PA
29892012-11-02 Pedro Alves <palves@redhat.com>
2990
2991 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
2992 (check_vfork_catchpoints, vfork_parent_follow_through_step)
2993 (vfork_parent_follow_to_bp): Call it.
2994 (kill_child): Delete.
2995 (vfork_and_exec_child_follow_to_main_bp)
2996 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
2997 longer call kill_child.
2998 (tcatch_vfork_then_parent_follow): Call setup_gdb.
2999 (do_vfork_and_exec_tests): Don't runto_main before calling each
3000 test procedure.
3001 (top level): Don't clean restart and set verbose before running
3002 each test procedure.
3003
30042012-11-02 Pedro Alves <palves@redhat.com>
3005
3006 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
3007 (vfork_parent_follow_to_bp)
3008 (vfork_and_exec_child_follow_to_main_bp)
3009 (vfork_and_exec_child_follow_through_step)
3010 (tcatch_vfork_then_parent_follow)
3011 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
3012 Use with_test_prefix.
3013
30142012-11-02 Pedro Alves <palves@redhat.com>
3015
3016 * gdb.base/foll-vfork.c: Add copyright header.
3017 * gdb.base/vforked-prog.c: Add copyright header.
3018
30192012-11-02 Pedro Alves <palves@redhat.com>
3020
3021 * gdb.base/foll-vfork.exp
3022 (vfork_and_exec_child_follow_through_step): Don't skip on
3023 non-HP/UX targets. Expect the next to only step one line on
3024 non-HP/UX targets, rather than stopping only after the exec.
3025
30262012-11-02 Pedro Alves <palves@redhat.com>
3027
3028 Don't hard code line numbers.
3029
3030 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
3031 Expect text from the sources instead of a line number.
3032 (vfork_parent_follow_to_bp)
3033 (vfork_and_exec_child_follow_to_main_bp)
3034 (vfork_and_exec_child_follow_through_step)
3035 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
3036 Use gdb_get_line_number.
3037
30382012-11-02 Pedro Alves <palves@redhat.com>
3039
3040 Modernize.
3041
3042 * gdb.base/foll-vfork.exp: Use standard_testfile and
3043 build_executable. Pass descriptive string to untested.
3044 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
3045 (vfork_and_exec_child_follow_to_main_bp)
3046 (vfork_and_exec_child_follow_through_step)
3047 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
3048 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
3049 of send_gdb/gdb_expect.
3050
3051 (kill_child): New procedure.
3052 (vfork_and_exec_child_follow_to_main_bp)
3053 (vfork_and_exec_child_follow_through_step): Use it.
3054
f0559fff
YQ
30552012-11-02 Yao Qi <yao@codesourcery.com>
3056
3057 * gdb.base/setvar.exp: Test setting nested struct.
3058 * gdb.base/setvar.c (v_struct3): New.
3059
c207c6da
DE
30602012-11-01 Doug Evans <dje@google.com>
3061
3062 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
3063 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
3064 use them.
3065
2f27adfe
AB
30662012-10-31 Andrew Burgess <aburgess@broadcom.com>
3067
3068 PR cli/14772
3069 * gdb.base/gnu_vector.c (union_with_vector_1)
3070 (struct_with_vector_1): Add new struct and union for testing
3071 ptype.
3072 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
3073 structs / unions containing vectors.
3074
bb662ca6
YQ
30752012-10-25 Yao Qi <yao@codesourcery.com>
3076
3077 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
3078 'setup_kfail' instead of 'setup_kfail_for_target'.
3079 * gdb.base/varargs.exp: Likewise.
3080 * lib/gdb.exp (setup_kfail_for_target): Remove.
3081
635d23ff
MK
30822012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
3083
3084 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
3085
afdb064f
MK
30862012-10-25 Mark Kettenis <kettenis@gnu.org>
3087
3088 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
3089
d99dcf51
JB
30902012-10-24 Joel Brobecker <brobecker@adacore.com>
3091
3092 * gdb.ada/set_wstr: New testcase.
3093
32560274
JB
30942012-10-24 Joel Brobecker <brobecker@adacore.com>
3095
3096 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
3097
5ded5331
JB
30982012-10-24 Joel Brobecker <brobecker@adacore.com>
3099
3100 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
3101
d8d84291
MK
31022012-10-24 Mark Kettenis <kettenis@gnu.org>
3103
3104 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
3105
6e933c51
JK
31062012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3107
3108 * gdb.base/callfuncs.exp (do_function_calls): Fix
3109 setup_kfail_for_target for -m32 mode.
3110
274bd000
MK
31112012-10-23 Mark Kettenis <kettenis@gnu.org>
3112
3113 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
3114 are now fixed.
3115
545f743d
YQ
31162012-10-23 Yao Qi <yao@codesourcery.com>
3117
3118 * gdb.base/info-os.exp: Resume the inferior until it exits.
3119
48b56b6a 31202012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
3121
99c7d5a8 3122 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
3123 * gdb.base/print-file-var.exp: Likewise.
3124 * gdb.base/type-opaque.exp: Likewise.
48b56b6a 3125
8de0566d
YQ
31262012-10-17 Yao Qi <yao@codesourcery.com>
3127
3128 * gdb.mi/mi-memory-changed.exp: New.
3129
44883546
YQ
31302012-10-16 Yao Qi <yao@codesourcery.com>
3131
3132 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
3133 returns true.
3134 Call gdb_load_shlibs.
3135 * gdb.reverse/solib-reverse.exp: Likewise.
3136
345f514a
KS
31372012-10-15 Keith Seitz <keiths@redhat.com>
3138
3139 * lib/cp-support.exp (cp_test_ptype_class): Add support
3140 for class typedefs.
3141
3142 * gdb.cp/derivation.exp: Add tests for g_instance.
3143
9e3a7d65
JK
31442012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3145
3146 Fix entry values resolving in inlined frames.
3147 * gdb.arch/amd64-entry-value-inline.S: New file.
3148 * gdb.arch/amd64-entry-value-inline.c: New file.
3149 * gdb.arch/amd64-entry-value-inline.exp: New file.
3150
21a7b089
JK
31512012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3152 Doug Evans <dje@google.com>
3153
3154 Fix recent gdb_breakpoint regression.
3155 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
3156 braces from the parameter.
3157 * gdb.java/jprint.exp: Likewise.
3158
2c47921e
DE
31592012-10-15 Doug Evans <dje@google.com>
3160
3161 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
3162
89398707
JB
31632012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
3164
3165 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
3166
801e4185
TT
31672012-10-15 Tom Tromey <tromey@redhat.com>
3168
3169 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
3170
74f910c8
TT
31712012-10-15 Tom Tromey <tromey@redhat.com>
3172
3173 * gdb.python/py-symbol.exp: Test symbol destructor.
3174
91567807
YQ
31752012-10-14 Yao Qi <yao@codesourcery.com>
3176
3177 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
3178 * gdb.mi/mi-cli.exp: New.
3179
3180 * gdb.mi/mi2-basics.exp: Remove.
3181 * gdb.mi/mi2-break.exp: Remove.
3182 * gdb.mi/mi2-console.exp: Remove.
3183 * gdb.mi/mi2-disassemble.exp: Remove.
3184 * gdb.mi/mi2-eval.exp: Remove.
3185 * gdb.mi/mi2-file.exp: Remove.
3186 * gdb.mi/mi2-hack-cli.exp: Remove.
3187 * gdb.mi/mi2-pthreads.exp: Remove.
3188 * gdb.mi/mi2-read-memory.exp: Remove.
3189 * gdb.mi/mi2-regs.exp: Remove.
3190 * gdb.mi/mi2-return.exp: Remove.
3191 * gdb.mi/mi2-simplerun.exp: Remove.
3192 * gdb.mi/mi2-stack.exp: Remove.
3193 * gdb.mi/mi2-stepi.exp: Remove.
3194 * gdb.mi/mi2-syn-frame.exp: Remove.
3195 * gdb.mi/mi2-until.exp: Remove.
3196 * gdb.mi/mi2-watch.exp: Remove.
3197 * gdb.mi/mi2-var-block.exp: Remove.
3198 * gdb.mi/mi2-var-cmd.exp: Remove.
3199 * gdb.mi/mi2-var-display.exp: Remove.
3200
87332029
YQ
32012012-10-12 Yao Qi <yao@codesourcery.com>
3202
3203 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
3204 trail '.*' on matching patterns.
3205
11fc9057
L
32062012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3207
3208 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
3209 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
3210 * gdb.arch/i386-disp-step.exp: Likewise.
3211 * gdb.arch/i386-gnu-cfi.exp: Likewise.
3212 * gdb.arch/i386-prologue.exp: Likewise.
3213 * gdb.arch/i386-size-overlap.exp: Likewise.
3214 * gdb.arch/i386-size.exp: Likewise.
3215 * gdb.arch/i386-unwind.exp: Likewise.
3216
7d46bcdc
L
32172012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3218
3219 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
3220 * gdb.arch/i386-word.exp: Likewise.
3221
31224d9d
L
32222012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3223
3224 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
3225 is_ilp32_target to set nr_regs.
3226 * gdb.arch/i386-sse.exp: Likewise.
3227
5b7d0050
DE
32282012-10-11 Doug Evans <dje@google.com>
3229
7c09e5a0
DE
3230 PR breakpoints/14643.
3231 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
3232 * gdb.linespec/thread.c: New file.
3233 * gdb.linespec/thread.exp: New file.
3234
5b7d0050
DE
3235 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
3236 Recognize "message" -> print pass and fail. Add eof case.
3237 (runto): Recognize message, no-message. Print pass/fail if requested,
3238 with same treatment as gdb_breakpoint.
3239 (runto_main): Pass no-message to runto.
3240 (gdb_internal_error_resync): Add log message.
3241 (gdb_file_cmd): Tweak internal error fail text for consistency.
3242
2e24f4aa
JK
32432012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3244
3245 Fix crash during stepping on ppc32.
3246 * gdb.base/step-symless.c: New file.
3247 * gdb.base/step-symless.exp: New file.
3248
aa14df25
DE
32492012-10-03 Doug Evans <dje@google.com>
3250
3251 PR symtab/14601
3252 * gdb.cp/using-crash.exp: New file.
3253 * gdb.cp/using-crash.cc: New file.
3254
975531db
DE
32552012-10-02 Doug Evans <dje@google.com>
3256
3257 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
3258 more consistent.
3259 (runto,gdb_debug_format): Ditto.
3260 (gdb_file_cmd): Watch for eof in nested gdb_expect.
3261 Clean up logging and error messages.
3262
b3dc46ff
AB
32632012-10-01 Andrew Burgess <aburgess@broadcom.com>
3264
3265 Test find command on unmapped memory.
3266 * gdb.base/find-unmapped.c: New file.
3267 * gdb.base/find-unmapped.exp: New file.
3268
45814d45
YQ
32692012-09-29 Yao Qi <yao@codesourcery.com>
3270
3271 * gdb.trace/mi-tracepoint-changed.exp: New.
3272 * gdb.mi/mi-breakpoint-changed.exp: New.
3273 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
3274 * gdb.mi/pendshr2.c: New.
3275
4c2786ba
YQ
32762012-09-28 Yao Qi <yao@codesourcery.com>
3277
3278 * gdb.mi/pr11022.exp: New.
3279 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
3280
7977e5d2
TT
32812012-09-27 Tom Tromey <tromey@redhat.com>
3282
3283 * gdb.cp/derivation.exp: Add regression test.
3284 * gdb.cp/derivation.cc (class V_base, class V_inter, class
3285 V_derived): New.
3286 (vderived): New global.
3287
0971de02
TT
32882012-09-26 Tom Tromey <tromey@redhat.com>
3289
3290 * gdb.dwarf2/dw2-common-block.S: New file.
3291 * gdb.dwarf2/dw2-common-block.exp: New file.
3292
4357ac6c
TT
32932012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3294
3295 * gdb.fortran/common-block.exp: New file.
3296 * gdb.fortran/common-block.f90: New file.
3297
6f380991
AB
32982012-09-26 Andrew Burgess <aburgess@broadcom.com>
3299
3300 * gdb.base/duplicate-bp.c: New file.
3301 * gdb.base/duplicate-bp.exp: New file.
3302
8ae551cf
YQ
33032012-09-26 Yao Qi <yao@codesourcery.com>
3304
3305 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
3306
3307 Revert:
3308 2012-09-21 Yao Qi <yao@codesourcery.com>
3309
3310 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
3311
318102b9
SP
33122012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3313
3314 * gdb.base/longest-types.c: New test case.
3315 * gdb.base/longest-types.exp: New test case.
3316
a1e5fd69
YQ
33172012-09-25 Yao Qi <yao@codesourcery.com>
3318
3319 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
3320
04e7407c
JK
33212012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3322
3323 Fix internal error on canonicalization of clang types.
3324 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
3325 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
3326 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
3327
9bf4bce9
JK
33282012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3329
3330 Fix disassemble without parameters in tailcall frame.
3331 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
3332
2603f7ee
AB
33332012-09-21 Andrew Burgess <aburgess@broadcom.com>
3334
3335 * gdb.dwarf2/dw2-op-out-param.S: New file.
3336 * gdb.dwarf2/dw2-op-out-param.exp: New file.
3337
a3569abd
YQ
33382012-09-21 Yao Qi <yao@codesourcery.com>
3339
3340 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
3341
a065d7af
YQ
33422012-09-21 Yao Qi <yao@codesourcery.com>
3343
3344 * gdb.mi/mi-cli.exp: Remove.
3345 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
3346
15544bd9
YQ
33472012-09-21 Yao Qi <yao@codesourcery.com>
3348
3349 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
3350 "=record-started" notification.
3351
82a90ccf
YQ
33522012-09-21 Yao Qi <yao@codesourcery.com>
3353
3354 * gdb.mi/mi-record-changed.exp: New.
3355 * gdb.mi/mi-reverse.exp: Adjust expected output.
3356
d7de8e3c
TT
33572012-09-20 Tom Tromey <tromey@redhat.com>
3358
3359 * gdb.python/python.exp: Test atexit.register.
3360
1aa99537
DE
33612012-09-20 Doug Evans <dje@google.com>
3362
05eade73
DE
3363 * boards/dwarf4-gdb-index.exp: New file.
3364
1aa99537
DE
3365 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
3366 while running the tests.
3367
4ae24af0
JB
33682012-09-18 Joel Brobecker <brobecker@adacore.com>
3369
3370 * gdb.ada/bp_reset: New testcase.
3371
bb25a15c
YQ
33722012-09-18 Yao Qi <yao@codesourcery.com>
3373
3374 * gdb.trace/mi-tsv-changed.exp: New.
3375
201b4506
YQ
33762012-09-18 Yao Qi <yao@codesourcery.com>
3377
3378 * gdb.trace/mi-traceframe-changed.exp: New.
3379
6fc1c773
YQ
33802012-09-17 Yao Qi <yao@codesourcery.com>
3381
3382 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
3383 when it is less than 0.
3384
1ab3b62c
JK
33852012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3386
3387 PR 14119
3388 * gdb.arch/amd64-tailcall-ret.S: New file.
3389 * gdb.arch/amd64-tailcall-ret.c: New file.
3390 * gdb.arch/amd64-tailcall-ret.exp: New file.
3391 * gdb.reverse/amd64-tailcall-reverse.S: New file.
3392 * gdb.reverse/amd64-tailcall-reverse.c: New file.
3393 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
3394
acf9414f
JK
33952012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3396
3397 PR 14548
3398 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
3399 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
3400 * gdb.reverse/singlejmp-reverse.S: New file.
3401 * gdb.reverse/singlejmp-reverse.c: New file.
3402 * gdb.reverse/singlejmp-reverse.exp: New file.
3403
666b578b
JK
34042012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3405
3406 Fix compatibility with old GCC (~4.1).
3407 * gdb.cp/converts.cc (my_enum_var): New variable.
3408
42056501
AB
34092012-09-14 Andrew Burgess <aburgess@broadcom.com>
3410
3411 * gdb.xml/tdesc-regs.exp: Update expected output for new
3412 vector_size syntax of vector types.
3413
b9516fa1
YPK
34142012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
3415
3416 Refactor Python "gdb" module into a proper Python package, by
3417 introducing a new "_gdb" module for code implemented in C, and
3418 using reload/__import__ instead of exec.
3419 * gdb.python/python.exp (Test stderr location): Update module
3420 location of GDB-specific sys.stderr.
3421 (Test stdout location): Ditto for sys.stdout.
3422
18dc9ad8
JK
34232012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3424
3425 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
3426
ea3a9873
KS
34272012-09-12 Keith Seitz <keiths@redhat.com>
3428
3429 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
3430 conversion statement.
3431
5941debb
DE
34322012-09-12 Doug Evans <dje@google.com>
3433
3434 * gdb.base/help.exp: Remove testing of individual command help text,
3435 too much of a maintenance burden. Instead, test the functionality
3436 of "help" itself.
3437
cfc35e02
DE
34382012-09-11 Doug Evans <dje@google.com>
3439
3a0ed5d7
DE
3440 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
3441 breakpoint.
3442
cfc35e02
DE
3443 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
3444 * gdb.dwarf2/fission-reread.S: Ditto.
3445 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
3446 * gdb.dwarf2/fission-reread.exp: Ditto.
3447
350b1b26
AB
34482012-09-11 Andrew Burgess <aburgess@broadcom.com>
3449
3450 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
3451
2fa15f23
JB
34522012-09-10 Joel Brobecker <brobecker@adacore.com>
3453
3454 * gdb.ada/optim_drec: New testcase.
3455
09be558e
DE
34562012-09-10 Doug Evans <dje@google.com>
3457
3458 * boards/fission.exp: Explicitly mark "board" as not remote.
3459
5b4f6e25
KS
34602012-09-10 Keith Seitz <keiths@redhat.com>
3461
3462 PR gdb/13483
3463 * gdb.cp/converts.cc (A::A): Add ctor.
3464 (A::member_): Add member.
3465 (enum my_enum): New enumeration.
3466 (main): Add calls to foo1_7 with various
3467 permitted arguments.
3468 * gdb.cp/converts.exp: Add tests for boolean
3469 conversions permitted by the standard.
3470
b4ca5ed9
YPK
34712012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
3472
3473 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
3474 avoid spurious results due to ~/.gdbinit.
3475 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
3476 $INTERNAL_GDBFLAGS in run command.
3477 * gdb.gdb/observer.exp (setup_test): Ditto.
3478 * gdb.gdb/selftest.exp (test_with_self): Ditto.
3479 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
3480
d54b30bb
DE
34812012-09-06 Doug Evans <dje@google.com>
3482
14910956
DE
3483 * boards/fission.exp: New file.
3484
d54b30bb
DE
3485 * gdb.python/py-value.exp: Use clean_restart.
3486
91b253e1
DE
34872012-09-05 Doug Evans <dje@google.com>
3488
3489 * gdb.base/info-macros.c: Fix whitespace.
3490
1292279a
PA
34912012-08-28 Pedro Alves <palves@redhat.com>
3492
3493 PR gdb/14428
3494
3495 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
3496
1c8cdcb1
JK
34972012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3498
3499 * gdb.base/break-caller-line.c: New file.
3500 * gdb.base/break-caller-line.exp: New file.
3501
1e8e8b51
JK
35022012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3503
3504 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
3505 * gdb.arch/i386-cfi-notcurrent.S: New file.
3506 * gdb.arch/i386-cfi-notcurrent.exp: New file.
3507
1591a1e8
PA
35082012-08-27 Wei-cheng Wang <cole945@gmail.com>
3509 Yao Qi <yao@codesourcery.com>
3510 Pedro Alves <palves@redhat.com>
3511
3512 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
3513 New procedures.
3514 (top level): Add overlap checking tests.
3515
4442ada7
TT
35162012-08-24 Tom Tromey <tromey@redhat.com>
3517
3518 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
3519 gdb_test_multiple fails for other reasons.
3520
e7d50cc9
YQ
35212012-08-24 Yao Qi <yao@codesourcery.com>
3522
3523 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
3524
dfbd5e7b
PA
35252012-08-23 Pedro Alves <palves@redhat.com>
3526
3527 * gdb.base/help.exp: Adjust to "handle" help text change.
3528
8d735b87
YQ
35292012-08-23 Yao Qi <yao@codesourcery.com>
3530
3531 * gdb.trace/disconnected-tracing.c (start, end): New.
3532 (main): Call start and end.
3533 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
3534 existing tests into this proc.
3535 (disconnected_tfind): New.
3536
61b1d759
YQ
35372012-08-23 Yao Qi <yao@codesourcery.com>
3538
3539 * boards/native-gdbserver.exp (${board}_upload): New.
3540 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
3541 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
3542 Execute tfile on remote target.
3543 Copy trace file from target to host.
3544
6ca1b147
JM
35452012-08-22 Joseph Myers <joseph@codesourcery.com>
3546
3547 * gdb.arch/thumb-bx-pc.S: New file.
3548 * gdb.arch/thumb-bx-pc.exp: New file.
3549
706e3705
TT
35502012-08-22 Tom Tromey <tromey@redhat.com>
3551
3552 * gdb.base/maint.exp: Update.
3553
b4893d48
TT
35542012-08-22 Tom Tromey <tromey@redhat.com>
3555
3556 * lib/gdb.exp (skip_unwinder_tests): New proc.
3557 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
3558 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
3559
45b7da81
TT
35602012-08-21 Tom Tromey <tromey@redhat.com>
3561
3562 * gdb.hp/gdb.aCC/exception.exp: Remove.
3563
f94363d7
AP
3564012-08-19 Andrew Pinski <apinski@cavium.com>
3565
3566 * gdb.arch/mips-octeon-bbit.c: New file.
3567 * gdb.arch/mips-octeon-bbit.exp: New Test.
3568
e5afdbd7
KS
3569012-08-19 Keith Seitz <keiths@redhat.com>
3570
3571 PR c++/14365
3572 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
3573 * gdb.dwarf2/dw2-anon-mptr.S: New file.
3574
c29e8b64
JK
35752012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3576
3577 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
3578 verbose -log by more specific untested call.
3579
15a7e7bc
YQ
35802012-08-18 Yao Qi <yao@codesourcery.com>
3581
3582 * gdb.trace/tfind.exp: Move tests on various command help before
3583 checking target supports trace.
3584 Fix the expected output of 'help tfind end'.
3585
a451cb65
KS
35862012-08-17 Keith Seitz <keiths@redhat.com>
3587
3588 PR c++/13356
3589 * gdb.base/default.exp: Update all "check type" tests.
3590 * gdb.base/help.exp: Likewise.
3591 * gdb.base/setshow.exp: Likewise.
3592 * gdb.cp/converts.cc (foo1_type_check): New function.
3593 (foo2_type_check): New function.
3594 (foo3_type_check): New function.
3595 (main): Call new functions.
3596 * converts.exp: Add tests for integer-to-pointer conversions
3597 with/without strict type-checking.
3598
dbf6a605
MF
35992012-08-16 Mike Frysinger <vapier@gentoo.org>
3600
3601 * gdb.base/help.exp: Update expected output.
3602
0c92d8c1
JB
36032012-08-16 Joel Brobecker <brobecker@adacore.com>
3604
3605 * gdb.ada/rdv_wait: New testcase.
3606
e56f7f42
JK
36072012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3608
3609 * gdb.base/attach-twice.exp: Remove excessive ps exec.
3610
f47f77df
DE
36112012-08-13 Doug Evans <dje@google.com>
3612
e202d6e8 3613 * gdb.base/help.exp: Update expected output.
f47f77df
DE
3614 * gdb.base/default.exp: Update expected output of "show convenience".
3615
a72c3253
DE
36162012-08-10 Doug Evans <dje@google.com>
3617
3618 * gdb.python/py-strfns.c: New file.
3619 * gdb.python/py-strfns.exp: New file.
3620 * gdb.python/py-type.exp (test_fields): Add vector tests.
3621
de0bea00
MF
36222012-08-10 Mike Frysinger <vapier@gentoo.org>
3623
3624 PR cli/10436:
3625 * gdb.base/completion.exp: Add tests for handle completion.
3626
5b9afe8a
YQ
36272012-08-09 Yao Qi <yao@codesourcery.com>
3628
3629 * gdb.mi/mi-cmd-param-changed.exp: New.
3630 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
3631 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
3632 * gdb.mi/mi2-prompt.exp: Likewise.
3633
4f485ebc
DE
36342012-08-08 Doug Evans <dje@google.com>
3635
3636 * gdb.base/debug-expr.c: New file.
3637 * gdb.base/debug-expr.exp: New file.
3638 * gdb.base/exprs.exp: Test {type} casts.
3639 * gdb.cp/debug-expr.exp: New file.
3640
5888842d
JK
36412012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3642
3643 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
3644 global variable loop, not a 'break'. Add loop count limit to 100.
3645 Add new fail case for terminated vgdb.
3646
4f69f4c2
JK
36472012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3648 Jean-Marc Saffroy <saffroy@gmail.com>
3649
3650 PR 11804
3651 * gdb.base/gcore-relro.exp: New file.
3652 * gdb.base/gcore-relro-main.c: New file.
3653 * gdb.base/gcore-relro-lib.c: New file.
3654
e2de5390
JK
36552012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3656
3657 Do not false FAIL with old GCCs.
3658 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
3659 GCC < 4.5 in $no_hw mode.
3660
606603c5
JK
36612012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3662
3663 * gdb.base/default.exp (cd): Accept new directory with no arguments.
3664
777f26c2
JK
36652012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3666
3667 * gdb.base/list.exp (test_only_end): New function.
3668 Call it.
3669
2c12abee
TT
36702012-08-06 Tom Tromey <tromey@redhat.com>
3671
3672 * gdb.python/py-mi.exp: Add test for printer whose children
3673 are a list.
3674 * gdb.python/py-prettyprint.c (struct children_as_list): New.
3675 (main): New variable children_as_list.
3676 * gdb.python/py-prettyprint.py (class pp_children_as_list):
3677 New.
3678 (register_pretty_printers): Register new printer.
3679
0eae2cf4
EBM
36802012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
3681
3682 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
3683 symbols. Abort if vgdb remote connection is closed.
3684
09e0881d
DE
36852012-08-02 Doug Evans <dje@google.com>
3686
3687 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
3688
b40f514f
SDJ
36892012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
3690
3691 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
3692 s390x, PowerPC 64 and m68k-linux.
3693
11315ae0
UW
36942012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3695
3696 * gdb.base/annota1.exp: Accept no frames-invalid notification
3697 when starting up the program.
3698 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
3699 show a symbolic value as well.
3700 * gdb.server/server-exec-info.exp: Skip test when skipping
3701 gdbserver test and/or when skipping shared library tests.
3702 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
3703 avoid name conflicts with other tests.
3704
0547eeed
UW
37052012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3706
3707 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
3708 Fix wrong output on big-endian systems.
3709 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
3710 4-byte pointer types on 64-bit s390x.
3711
bdddb4de
UW
37122012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3713
3714 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
3715 marker comment at the beginning (after intialization).
3716 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
3717 breakpoint on marker comment instead of function begin.
3718 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
3719 PowerPC.
3720 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
3721 or 64-bit PowerPC.
3722 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
3723 gdb,no_hardware_watchpoints flag is set.
3724 (initialize): Remove now redundant can-use-hw-watchpoints change.
3725
5d206025
YQ
37262012-08-02 Yao Qi <yao@codesourcery.com>
3727 Pedro Alves <palves@redhat.com>
3728
3729 * boards/local-remote-host.exp: New.
3730
4f665099
UW
37312012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3732
3733 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
3734 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
3735 * gdb.base/print-file-var.exp: Likewise.
3736 * gdb.server/solib-list.exp: Skip on remote targets.
3737
b62e2b27
UW
37382012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3739
3740 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
3741 watchpoints on ARM. When expecting software watchpoints, tolerate
3742 (remote) targets that report unsupported hardware watchpoint only
3743 at continue time.
3744 (test_wide_location_2): Likewise.
3745
a967a851
JK
37462012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3747
3748 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
3749 valgrind versions.
3750
75d9f9ff 37512012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
a14dd77e
JK
3752
3753 * gdb.base/valgrind-infcall.c: New file.
3754 * gdb.base/valgrind-infcall.exp: New file.
3755
75d9f9ff
JK
3756 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
3757
1c9f2ed2
KS
37582012-07-30 Keith Seitz <keiths@redhat.com>
3759
3760 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
3761 linespecs.
3762
7f9b2034
DE
37632012-07-30 Doug Evans <dje@google.com>
3764
85220e01
DE
3765 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
3766 * gdb.dwarf2/pr13961.S: Ditto.
3767
7f9b2034
DE
3768 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
3769
4e969b4f
AB
37702012-07-30 Andrew Burgess <aburgess@broadcom.com>
3771
3772 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
3773 change its format immediately after reloading the binary.
3774
e7de8362
JK
37752012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3776
3777 Fix testsuite regression after --use-deprecated-index-sections removal.
3778 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
3779 string.
3780 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
3781
7255706c
YQ
37822012-07-27 Yao Qi <yao@codesourcery.com>
3783
3784 KFAIL for PR remote/14161.
3785 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
3786 Cleanup socket files.
3787 (strace_info_marker): Detach inferior.
3788
f2e8016f
TT
37892012-07-26 Tom Tromey <tromey@redhat.com>
3790
6fdff2c5 3791 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
f2e8016f 3792
f66713d2
JK
37932012-07-26 Markus Metzger <markus.t.metzger@intel.com>
3794
3795 * gdb.python/py-inferior.c (thread): New function.
3796 (check_threads): New function.
3797 (test_threads): New function.
3798 * gdb.python/py-inferior.exp: Added test.
3799 Replaced runto with continue to breakpoint.
3800
8223e12c
TT
38012012-07-26 Tom Tromey <tromey@redhat.com>
3802
3803 * lib/ada.exp (standard_ada_testfile): New proc.
3804 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
3805 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
3806 * gdb.ada/array_return.exp: Use standard_ada_testfile.
3807 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
3808 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
3809 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
3810 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
3811 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
3812 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
3813 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
3814 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
3815 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
3816 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
3817 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
3818 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
3819 * gdb.ada/char_param.exp: Use standard_ada_testfile.
3820 * gdb.ada/complete.exp: Use standard_ada_testfile.
3821 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
3822 standard_output_file.
3823 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
3824 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
3825 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
3826 standard_output_file.
3827 * gdb.ada/exprs.exp: Use standard_ada_testfile.
3828 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
3829 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
3830 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
3831 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
3832 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
3833 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
3834 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
3835 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
3836 * gdb.ada/homonym.exp: Use standard_ada_testfile.
3837 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
3838 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
3839 * gdb.ada/interface.exp: Use standard_ada_testfile.
3840 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
3841 standard_output_file
3842 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
3843 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
3844 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
3845 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
3846 * gdb.ada/nested.exp: Use standard_ada_testfile.
3847 * gdb.ada/null_array.exp: Use standard_ada_testfile.
3848 * gdb.ada/null_record.exp: Use standard_ada_testfile.
3849 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
3850 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
3851 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
3852 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
3853 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
3854 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
3855 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
3856 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
3857 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
3858 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
3859 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
3860 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
3861 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
3862 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
3863 * gdb.ada/start.exp: Use standard_ada_testfile.
3864 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
3865 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
3866 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
3867 * gdb.ada/tagged.exp: Use standard_ada_testfile.
3868 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
3869 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
3870 * gdb.ada/tasks.exp: Use standard_ada_testfile.
3871 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
3872 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
3873 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
3874 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
3875 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
3876 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
3877 * gdb.ada/widewide.exp: Use standard_ada_testfile.
3878
bbec57e4
JK
38792012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3880
3881 Fix testsuite regression after --use-deprecated-index-sections removal.
3882 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
3883
9cc8e32c
JK
38842012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3885
3886 Fix compatibility with Tcl before 7.5.
3887 * lib/future.exp (lreverse): New function if it does not exist.
3888
ea5ca7b5
MK
38892012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
3890
3891 * gdb.mi/mi-pending.c: New method to set a second pending
3892 breakpoint.
3893 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
3894 condition.
3895
64776a0b
PA
38962012-07-20 Pedro Alves <palves@redhat.com>
3897
3898 PR threads/11692
3899 PR gdb/12203
3900
3901 * gdb.threads/create-fail.c: New file.
3902 * gdb.threads/create-fail.exp: New file.
3903
13e4e967
PA
39042012-07-19 Pedro Alves <palves@redhat.com>
3905
3906 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
3907 * config/vx.exp (gdb_start): Likewise.
3908 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
3909 * gdb.base/setvar.exp (test_set): Likewise.
3910 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
3911 * gdb.reverse/sigall-precsave.exp: Likewise.
3912 * gdb.reverse/sigall-reverse.exp: Likewise.
3913
b7aefa4d
PA
39142012-07-19 Pedro Alves <palves@redhat.com>
3915
3916 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
3917 handler before recording.
3918
608b4967
TT
39192012-07-19 Tom Tromey <tromey@redhat.com>
3920
3921 * gdb.cp/casts.exp: Add tests for typeof and decltype.
3922 * gdb.cp/casts.cc (decltype): New function.
3923 (main): Use it.
3924
b1e0c0fa
PA
39252012-07-19 Pedro Alves <palves@redhat.com>
3926
3927 * gdb.base/sigall.exp (signals): New list.
3928 <top level>: Loop over signals in the $signals list instead of
3929 calling a test function once per signal.
3930 * gdb.reverse/sigall-precsave.exp (signals): New list.
3931 <top level>: Loop over signals in the $signals list instead of
3932 calling a test function once per signal.
3933 * gdb.reverse/sigall-reverse.exp (signals): New list.
3934 <top level>: Loop over signals in the $signals list instead of
3935 calling a test function once per signal.
3936
6ace3df1
YQ
39372012-07-19 Yao Qi <yao@codesourcery.com>
3938
3939 * gdb.base/setshow.exp: Test 'set args ~'.
3940
263a0f8c
JK
39412012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3942
3943 * gdb.base/store.exp (check_set): Import gdb_prompt.
3944 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
3945 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
3946
8f043999
JK
39472012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3948
3949 PR 11914
3950 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
3951 (main): Call eval_sub.
3952 * gdb.python/py-prettyprint.exp:
3953 (python execfile ('py-prettyprint.py')): Move it earlier.
3954 New breakpoint for eval-break.
3955 (continue to breakpoint: eval-break, info locals): New test.
3956 (python execfile ('py-prettyprint.py')): Move it from here.
3957 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
3958 (register_pretty_printers): Register pp_eval_type.
3959
725c7b66
JK
39602012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3961
3962 Fix a testcase regression by me.
3963 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
3964 DW_FORM_data4.
3965
4359dff1
JK
39662012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3967 Doug Evans <dje@google.com>
3968
3969 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
3970 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
3971
61e44cfa
JK
39722012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3973
3974 Fix gdbserver run regression.
3975 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
3976
93c0ef37
TT
39772012-07-12 Tom Tromey <tromey@redhat.com>
3978
3979 * lib/gdb.exp (standard_testfile): Don't declare objdir.
3980 (clean_restart): Likewise.
3981 (core_find): Use standard_output_file.
3982
76027ef5
TT
39832012-07-12 Tom Tromey <tromey@redhat.com>
3984
3985 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
3986 * gdb.dwarf2/dw2-anonymous-func.exp: Use
3987 prepare_for_testing_full.
3988 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
3989 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
3990 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
3991 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
3992 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
3993 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
3994 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
3995 prepare_for_testing_full.
3996 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
3997 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
3998 prepare_for_testing_full.
3999 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
4000 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
4001 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
4002
85b4440a
TT
40032012-07-12 Tom Tromey <tromey@redhat.com>
4004
4005 * lib/gdb.exp (build_executable_from_specs): New proc, from
4006 build_executable.
4007 (build_executable): Use it.
4008 (prepare_for_testing_full): New proc.
4009
55baab26
TT
40102012-07-11 Tom Tromey <tromey@redhat.com>
4011
4012 * gdb.reverse/break-precsave.exp: Use standard_output_file.
4013 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
4014 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
4015 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
4016 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
4017 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
4018 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
4019 * gdb.reverse/step-precsave.exp: Use standard_output_file.
4020 * gdb.reverse/until-precsave.exp: Use standard_output_file.
4021 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
4022
298a9cf0
TT
40232012-07-10 Tom Tromey <tromey@redhat.com>
4024
4025 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
4026 standard_output_file.
4027 * gdb.mi/gdb2549.exp: Use standard_testfile.
4028 * gdb.mi/gdb669.exp: Use standard_testfile.
4029 * gdb.mi/gdb701.exp: Use standard_testfile.
4030 * gdb.mi/gdb792.exp: Use standard_testfile.
4031 * gdb.mi/mi-async.exp: Use standard_testfile.
4032 * gdb.mi/mi-basics.exp: Use standard_testfile.
4033 * gdb.mi/mi-break.exp: Use standard_testfile.
4034 * gdb.mi/mi-cli.exp: Use standard_testfile.
4035 * gdb.mi/mi-console.exp: Use standard_testfile.
4036 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
4037 * gdb.mi/mi-eval.exp: Use standard_testfile.
4038 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
4039 * gdb.mi/mi-file.exp: Use standard_testfile.
4040 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
4041 * gdb.mi/mi-logging.exp: Use standard_testfile.
4042 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
4043 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
4044 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
4045 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
4046 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
4047 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
4048 * gdb.mi/mi-pending.exp: Use standard_testfile,
4049 standard_output_file.
4050 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
4051 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
4052 * gdb.mi/mi-regs.exp: Use standard_testfile.
4053 * gdb.mi/mi-return.exp: Use standard_testfile.
4054 * gdb.mi/mi-reverse.exp: Use standard_testfile.
4055 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
4056 * gdb.mi/mi-solib.exp: Use standard_testfile,
4057 standard_output_file.
4058 * gdb.mi/mi-stack.exp: Use standard_testfile.
4059 * gdb.mi/mi-stepi.exp: Use standard_testfile.
4060 * gdb.mi/mi-stepn.exp: Use standard_testfile.
4061 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
4062 * gdb.mi/mi-until.exp: Use standard_testfile.
4063 * gdb.mi/mi-var-block.exp: Use standard_testfile.
4064 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
4065 * gdb.mi/mi-var-child.exp: Use standard_testfile.
4066 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
4067 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
4068 * gdb.mi/mi-var-display.exp: Use standard_testfile.
4069 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
4070 standard_output_file.
4071 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
4072 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
4073 * gdb.mi/mi-watch.exp: Use standard_testfile.
4074 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
4075 * gdb.mi/mi2-basics.exp: Use standard_testfile.
4076 * gdb.mi/mi2-break.exp: Use standard_testfile.
4077 * gdb.mi/mi2-cli.exp: Use standard_testfile.
4078 * gdb.mi/mi2-console.exp: Use standard_testfile.
4079 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
4080 * gdb.mi/mi2-eval.exp: Use standard_testfile.
4081 * gdb.mi/mi2-file.exp: Use standard_testfile.
4082 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
4083 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
4084 * gdb.mi/mi2-regs.exp: Use standard_testfile.
4085 * gdb.mi/mi2-return.exp: Use standard_testfile.
4086 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
4087 * gdb.mi/mi2-stack.exp: Use standard_testfile.
4088 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
4089 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
4090 * gdb.mi/mi2-until.exp: Use standard_testfile.
4091 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
4092 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
4093 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
4094 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
4095 * gdb.mi/mi2-watch.exp: Use standard_testfile.
4096
f5f3a911
TT
40972012-07-10 Tom Tromey <tromey@redhat.com>
4098
4099 * gdb.cp/abstract-origin.exp: Use standard_testfile.
4100 * gdb.cp/ambiguous.exp: Use standard_testfile,
4101 prepare_for_testing.
4102 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
4103 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
4104 * gdb.cp/anon-ns.exp: Use standard_testfile.
4105 * gdb.cp/anon-struct.exp: Use standard_testfile.
4106 * gdb.cp/anon-union.exp: Use standard_testfile,
4107 prepare_for_testing.
4108 * gdb.cp/arg-reference.exp: Use standard_testfile,
4109 prepare_for_testing.
4110 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
4111 * gdb.cp/breakpoint.exp: Use standard_testfile,
4112 prepare_for_testing.
4113 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
4114 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
4115 standard_output_file.
4116 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
4117 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
4118 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
4119 (test_static_members): Update.
4120 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
4121 * gdb.cp/converts.exp: Use standard_testfile.
4122 * gdb.cp/cp-relocate.exp: Use standard_testfile.
4123 * gdb.cp/cpcompletion.exp: Use standard_testfile,
4124 prepare_for_testing.
4125 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
4126 * gdb.cp/cplabel.exp: Use standard_testfile.
4127 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
4128 prepare_for_testing.
4129 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
4130 * gdb.cp/derivation.exp: Use standard_testfile,
4131 prepare_for_testing.
4132 * gdb.cp/destrprint.exp: Use standard_testfile.
4133 * gdb.cp/dispcxx.exp: Use standard_testfile.
4134 * gdb.cp/exception.exp: Use standard_testfile,
4135 prepare_for_testing.
4136 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
4137 * gdb.cp/extern-c.exp: Use standard_testfile,
4138 prepare_for_testing.
4139 * gdb.cp/formatted-ref.exp: Use standard_testfile,
4140 prepare_for_testing.
4141 * gdb.cp/fpointer.exp: Use standard_testfile.
4142 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
4143 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
4144 standard_output_file.
4145 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
4146 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
4147 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
4148 standard_output_file.
4149 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
4150 (do_tests): Update.
4151 * gdb.cp/koenig.exp: Use standard_testfile.
4152 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
4153 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
4154 * gdb.cp/m-static.exp: Use standard_testfile,
4155 prepare_for_testing.
4156 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
4157 * gdb.cp/mb-inline.exp: Use standard_testfile,
4158 prepare_for_testing.
4159 * gdb.cp/mb-templates.exp: Use standard_testfile,
4160 prepare_for_testing.
4161 * gdb.cp/member-ptr.exp: Use standard_testfile,
4162 prepare_for_testing.
4163 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
4164 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
4165 * gdb.cp/method2.exp: Use standard_testfile.
4166 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
4167 standard_output_file.
4168 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
4169 (do_tests): Update.
4170 * gdb.cp/namespace-enum.exp: Use standard_testfile,
4171 prepare_for_testing.
4172 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
4173 prepare_for_testing.
4174 * gdb.cp/namespace.exp: Use standard_testfile,
4175 prepare_for_testing.
4176 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
4177 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
4178 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
4179 * gdb.cp/nsimport.exp: Use standard_testfile,
4180 prepare_for_testing.
4181 * gdb.cp/nsnested.exp: Use standard_testfile.
4182 * gdb.cp/nsnoimports.exp: Use standard_testfile.
4183 * gdb.cp/nsrecurs.exp: Use standard_testfile,
4184 prepare_for_testing.
4185 * gdb.cp/nsstress.exp: Use standard_testfile,
4186 prepare_for_testing.
4187 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
4188 * gdb.cp/operator.exp: Use standard_testfile.
4189 * gdb.cp/oranking.exp: Use standard_testfile.
4190 * gdb.cp/overload-const.exp: Use standard_testfile.
4191 * gdb.cp/overload.exp: Use standard_testfile,
4192 prepare_for_testing.
4193 * gdb.cp/ovldbreak.exp: Use standard_testfile.
4194 * gdb.cp/ovsrch.exp: Use standard_testfile.
4195 * gdb.cp/paren-type.exp: Use standard_testfile.
4196 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
4197 prepare_for_testing.
4198 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
4199 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
4200 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
4201 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
4202 * gdb.cp/pr10728.exp: Use standard_testfile,
4203 standard_output_file.
4204 * gdb.cp/pr12028.exp: Use standard_testfile.
4205 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
4206 * gdb.cp/pr9167.exp: Use standard_testfile.
4207 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
4208 * gdb.cp/printmethod.exp: Use standard_testfile,
4209 prepare_for_testing.
4210 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
4211 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
4212 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
4213 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
4214 standard_output_file.
4215 * gdb.cp/readnow-language.exp: Use standard_testfile.
4216 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
4217 (gdb_start_again): Use clean_restart.
4218 * gdb.cp/ref-types.exp: Use standard_testfile,
4219 prepare_for_testing.
4220 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
4221 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
4222 * gdb.cp/smartp.exp: Use standard_testfile.
4223 * gdb.cp/static-method.exp: Use standard_testfile.
4224 * gdb.cp/static-print-quit.exp: Use standard_testfile.
4225 * gdb.cp/temargs.exp: Use standard_testfile.
4226 * gdb.cp/templates.exp: Use standard_testfile,
4227 prepare_for_testing.
4228 (do_tests): Update.
4229 * gdb.cp/try_catch.exp: Use standard_testfile,
4230 prepare_for_testing.
4231 * gdb.cp/typedef-operator.exp: Use standard_testfile.
4232 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
4233 * gdb.cp/virtbase.exp: Use standard_testfile,
4234 prepare_for_testing.
4235 * gdb.cp/virtfunc.exp: Use standard_testfile,
4236 prepare_for_testing.
4237 (do_tests): Update.
4238 * gdb.cp/virtfunc2.exp: Use standard_testfile,
4239 prepare_for_testing.
4240
686f09d0
TT
42412012-07-10 Tom Tromey <tromey@redhat.com>
4242
4243 * lib/gdb.exp (standard_testfile): Unset output variables from
4244 earlier invocations.
4245
9357e021
YQ
42462012-07-10 Yao Qi <yao@codesourcery.com>
4247
4248 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
4249 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
4250 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
4251 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
4252 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
4253 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
4254 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
4255 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
4256 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
4257 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
4258 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
4259 * gdb.mi/mi-var-display.exp: Likewise.
4260 * gdb.mi/mi-var-invalidate.exp: Likewise.
4261 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
4262 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
4263 * gdb.mi/mi2-console.exp: Likewise.
4264 * gdb.mi/mi2-disassemble.exp: Likewise.
4265 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
4266 * gdb.mi/mi2-read-memory.exp: Likewise.
4267 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
4268 * gdb.mi/mi2-simplerun.exp: Likewise.
4269 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
4270 * gdb.mi/mi2-syn-frame.exp: Likewise.
4271 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
4272 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
4273 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
4274
e314d629
TT
42752012-07-09 Tom Tromey <tromey@redhat.com>
4276
4277 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
4278 * gdb.base/callfuncs.exp: Add cast-based test.
4279 * gdb.base/callfuncs.c (voidfunc): New function.
4280
06928b3f
DE
42812012-07-08 Doug Evans <dje@google.com>
4282
4283 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
4284
32f11bad
JK
42852012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4286
4287 Fix XFAIL compatibility with old i386 systems.
4288 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
4289 Check also 'Cannot insert breakpoint 0'.
4290
76b83c51
JK
42912012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4292
4293 PR 14321
4294 * gdb.base/find.exp
4295 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
4296
a6fb9c08
TT
42972012-07-06 Tom Tromey <tromey@redhat.com>
4298
4299 * gdb.base/whatis.exp: Add test.
4300
71918a86
TT
43012012-07-06 Tom Tromey <tromey@redhat.com>
4302
4303 * gdb.base/whatis.exp: Add regression test.
4304
fcde5961
TT
43052012-07-06 Tom Tromey <tromey@redhat.com>
4306
4307 * gdb.base/whatis.exp: Add tests.
4308
f9cf0f4a
JK
43092012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4310
4311 PR 12649
4312 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
4313 gdb_test_multiple $gdb_prompt terminator.
4314
979ade8b
PA
43152012-07-04 Pedro Alves <palves@redhat.com>
4316
4317 * gdb.mi/mi-reverse.exp: Use supports_reverse and
4318 supports_process_record.
4319
8a980b44
PA
43202012-07-04 Pedro Alves <palves@redhat.com>
4321
4322 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
4323 endings.
4324 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
4325
855ba978
SS
43262012-07-03 Stan Shebs <stan@codesourcery.com>
4327
4328 * gdb.base/info-os.c (main): Retry resource acquisition until an
4329 available one is found.
4330 * gdb.base/info-os.exp: Collect resource keys from the program
4331 and use them in matching.
4332
fcb44371
JK
43332012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4334
4335 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
4336 Wrap the test into loop for corefile and core0file.
4337
08a67be6
JK
43382012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4339
4340 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
4341 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
4342 .note.GNU-stack.
4343
0f3c2347
JK
4344 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
4345
ff4a4500
SDJ
43462012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
4347
4348 * gdb.base/help.exp (help b, help br, help bre, help brea, help
4349 break): Include help message for the new `-probe' and `-probe-stap'
4350 options.
4351
d3ce09f5
SS
43522012-07-02 Stan Shebs <stan@codesourcery.com>
4353
4354 * gdb.base/dprintf.exp: Add agent style tests.
4355
a1624241
JK
43562012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4357
4358 * gdb.base/stale-infcall.c (infcall): New label test-next.
4359 (main): New labels test-pass and test-fail.
4360 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
4361 $test_fail_bpnum to test-fail.
4362 (test system longjmp tracking support): New test.
4363 Delete $test_fail_bpnum.
4364 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
4365 breakpoint.
4366
42e7ad6c
DE
43672012-06-30 Doug Evans <dje@google.com>
4368
4369 * gdb.dwarf2/fission-reread.S: New file.
4370 * gdb.dwarf2/fission-reread.exp: New file.
4371
37ce89eb
SS
43722012-06-28 Stan Shebs <stan@codesourcery.com>
4373
4374 * gdb.mi/mi-logging.exp: New file.
4375
e5ef252a
PA
43762012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4377 Pedro Alves <palves@redhat.com>
4378
4379 * gdb.threads/siginfo-threads.exp: New file.
4380 * gdb.threads/siginfo-threads.c: New file.
4381 * gdb.threads/sigstep-threads.exp: New file.
4382 * gdb.threads/sigstep-threads.c: New file.
4383
22f1fbae
TT
43842012-06-28 Tom Tromey <tromey@redhat.com>
4385
4386 * gdb.go/package.exp: Partially revert earlier patch; use
4387 gdb_compile again. Use standard_output_file.
4388
2e3cf129
DE
43892012-06-27 Doug Evans <dje@google.com>
4390
4391 * gdb.dwarf2/fission-base.c: New file.
4392 * gdb.dwarf2/fission-base.S: New file.
4393 * gdb.dwarf2/fission-base.exp: New file.
4394
785fd303
JK
43952012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4396
4397 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
4398
1bb9788d
TT
43992012-06-27 Tom Tromey <tromey@redhat.com>
4400
4401 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
4402 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
4403
c83ee902
TT
44042012-06-27 Tom Tromey <tromey@redhat.com>
4405
4406 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
4407 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
4408 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
4409 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
4410 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
4411 prepare_for_testing.
4412 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
4413 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
4414 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
4415 standard_testfile.
4416 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
4417 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
4418 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
4419 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
4420 prepare_for_testing.
4421 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
4422 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
4423 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
4424 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
4425 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
4426 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
4427 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
4428 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
4429 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
4430 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
4431 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
4432 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
4433 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
4434 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
4435 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
4436 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
4437 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
4438 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
4439 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
4440 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
4441 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
4442 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
4443 standard_output_file.
4444 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
4445 standard_output_file.
4446 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
4447 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
4448 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
4449 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
4450 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
4451 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
4452 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
4453 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
4454 * gdb.dwarf2/implptr.exp: Use standard_testfile.
4455 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
4456 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
4457 * gdb.dwarf2/pieces.exp: Use standard_testfile.
4458 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
4459 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
4460 * gdb.dwarf2/valop.exp: Use standard_testfile,
4461 prepare_for_testing.
4462
5204774b
TT
44632012-06-27 Tom Tromey <tromey@redhat.com>
4464
4465 * gdb.python/python.exp: Fix regexps in pagination tests.
4466
ee0bf529
SCR
44672012-06-26 Siva Chandra Reddy <sivachandra@google.com>
4468
4469 * gdb.python/py-symtab.exp: Add tests to test the new attribute
4470 'last' of gdb.Symtab_and_line.
4471 * gdb.python/py-symbol.c: Move break point comment to enable
4472 testing of gdb.Symtab_and_line.last.
4473
14fcc022
TT
44742012-06-26 Tom Tromey <tromey@redhat.com>
4475
4476 * gdb.threads/step.c: Remove.
4477 * gdb.threads/step.exp: Remove.
4478 * gdb.threads/step2.exp: Remove.
4479
0efbbabc
TT
44802012-06-26 Tom Tromey <tromey@redhat.com>
4481
4482 * gdb.threads/watchpoint-fork.exp (test): Use
4483 standard_output_file. Don't declare objdir.
4484 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
4485 standard_output_file.
4486 * gdb.threads/attach-stopped.exp: Use standard_testfile.
4487 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
4488 clean_restart. Remove incdir.
4489 * gdb.threads/corethreads.exp: Use standard_testfile.
4490 * gdb.threads/execl.exp: Use standard_testfile,
4491 standard_output_file, clean_restart.
4492 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
4493 clean_restart.
4494 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
4495 clean_restart.
4496 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
4497 incdir.
4498 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
4499 clean_restart. Remove incdir.
4500 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
4501 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
4502 clean_restart. Remove incdir.
4503 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
4504 Remove incdir.
4505 * gdb.threads/leader-exit.exp: Use standard_testfile.
4506 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
4507 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
4508 clean_restart.
4509 * gdb.threads/manythreads.exp: Use standard_testfile,
4510 clean_restart. Remove incdir.
4511 * gdb.threads/multi-create.exp: Use standard_testfile,
4512 clean_restart.
4513 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
4514 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
4515 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
4516 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
4517 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
4518 * gdb.threads/pending-step.exp: Use standard_testfile,
4519 clean_restart. Remove incdir.
4520 * gdb.threads/print-threads.exp: Use standard_testfile,
4521 clean_restart. Remove incdir.
4522 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
4523 clean_restart. Remove incdir.
4524 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
4525 Remove incdir.
4526 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
4527 incdir.
4528 * gdb.threads/sigthread.exp: Use standard_testfile,
4529 clean_restart.
4530 * gdb.threads/staticthreads.exp: Use standard_testfile,
4531 clean_restart. Remove incdir.
4532 * gdb.threads/switch-threads.exp: Use standard_testfile,
4533 clean_restart. Remove incdir.
4534 * gdb.threads/thread-execl.exp: Use standard_testfile,
4535 clean_restart. Remove incdir.
4536 * gdb.threads/thread-find.exp: Use standard_testfile,
4537 clean_restart.
4538 * gdb.threads/thread-specific.exp: Use standard_testfile,
4539 clean_restart. Remove incdir.
4540 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
4541 clean_restart. Remove incdir.
4542 * gdb.threads/thread_check.exp: Use standard_testfile,
4543 clean_restart. Remove incdir.
4544 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
4545 incdir.
4546 * gdb.threads/threadapply.exp: Use standard_testfile,
4547 clean_restart. Remove incdir.
4548 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
4549 clean_restart. Remove incdir.
4550 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
4551 clean_restart.
4552 * gdb.threads/tls-shared.exp: Use standard_testfile,
4553 clean_restart, standard_output_file.
4554 * gdb.threads/tls-var.exp: Use standard_testfile,
4555 standard_output_file.
4556 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
4557 Remove incdir.
4558 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
4559 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
4560 incdir.
4561 * gdb.threads/watchthreads2.exp: Use standard_testfile,
4562 clean_restart. Remove incdir.
4563
497a5eb0
TT
45642012-06-26 Tom Tromey <tromey@redhat.com>
4565
4566 * gdb.trace/actions.exp: Use standard_testfile.
4567 * gdb.trace/ax.exp: Use standard_testfile.
4568 * gdb.trace/backtrace.exp: Use standard_testfile.
4569 * gdb.trace/change-loc.exp: Use standard_testfile.
4570 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
4571 * gdb.trace/collection.exp: Use standard_testfile,
4572 prepare_for_testing.
4573 * gdb.trace/deltrace.exp: Use standard_testfile.
4574 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
4575 * gdb.trace/ftrace.exp: Use standard_testfile.
4576 * gdb.trace/infotrace.exp: Use standard_testfile.
4577 * gdb.trace/packetlen.exp: Use standard_testfile.
4578 * gdb.trace/passc-dyn.exp: Use standard_testfile.
4579 * gdb.trace/passcount.exp: Use standard_testfile.
4580 * gdb.trace/pending.exp: Use standard_testfile.
4581 * gdb.trace/report.exp: Use standard_testfile.
4582 * gdb.trace/save-trace.exp: Use standard_testfile.
4583 * gdb.trace/stap-trace.exp: Use standard_testfile.
4584 * gdb.trace/status-stop.exp: Use standard_testfile.
4585 * gdb.trace/strace.exp: Use standard_testfile.
4586 * gdb.trace/tfile.exp: Use standard_testfile.
4587 * gdb.trace/tfind.exp: Use standard_testfile.
4588 * gdb.trace/trace-break.exp: Use standard_testfile.
4589 * gdb.trace/trace-mt.exp: Use standard_testfile.
4590 * gdb.trace/tracecmd.exp: Use standard_testfile.
4591 * gdb.trace/tspeed.exp: Use standard_testfile.
4592 * gdb.trace/tstatus.exp: Use standard_testfile.
4593 * gdb.trace/tsv.exp: Use standard_testfile.
4594 * gdb.trace/unavailable.exp: Use standard_testfile,
4595 prepare_for_testing.
4596 * gdb.trace/while-dyn.exp: Use standard_testfile.
4597 * gdb.trace/while-stepping.exp: Use standard_testfile.
4598
7686c074
TT
45992012-06-26 Tom Tromey <tromey@redhat.com>
4600
4601 * gdb.reverse/break-precsave.exp: Use standard_testfile.
4602 * gdb.reverse/break-reverse.exp: Use standard_testfile.
4603 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
4604 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
4605 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
4606 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
4607 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
4608 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
4609 prepare_for_testing.
4610 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
4611 prepare_for_testing.
4612 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
4613 prepare_for_testing.
4614 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
4615 prepare_for_testing.
4616 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
4617 prepare_for_testing
4618 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
4619 * gdb.reverse/machinestate.exp: Use standard_testfile.
4620 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
4621 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
4622 build_executable.
4623 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
4624 build_executable.
4625 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
4626 standard_output_file.
4627 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
4628 standard_output_file.
4629 * gdb.reverse/step-precsave.exp: Use standard_testfile.
4630 * gdb.reverse/step-reverse.exp: Use standard_testfile.
4631 * gdb.reverse/until-precsave.exp: Use standard_testfile.
4632 * gdb.reverse/until-reverse.exp: Use standard_testfile.
4633 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
4634 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
4635
481fc100
TT
46362012-06-26 Tom Tromey <tromey@redhat.com>
4637
4638 * gdb.stabs/weird.exp: Remove directory-checking code. Use
4639 standard_output_file.
4640 * gdb.stabs/exclfwd.exp: Use standard_testfile,
4641 prepare_for_testing. Remove directory-checking code.
4642
7bb18ae2
TT
46432012-06-25 Tom Tromey <tromey@redhat.com>
4644
4645 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
4646 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
4647 build_executable, not prepare_for_testing.
4648 * gdb.multi/base.exp: Use standard_output_file. Use
4649 build_executable, not prepare_for_testing.
4650
cf09b3e4
TT
46512012-06-25 Tom Tromey <tromey@redhat.com>
4652
4653 * gdb.fortran/subarray.exp: Use standard_testfile,
4654 prepare_for_testing.
4655 * gdb.fortran/multi-dim.exp: Use standard_testfile.
4656 * gdb.fortran/module.exp: Use standard_testfile.
4657 * gdb.fortran/logical.exp: Use standard_testfile.
4658 * gdb.fortran/library-module.exp: Use standard_testfile,
4659 standard_output_file.
4660 * gdb.fortran/derived-type.exp: Use standard_testfile,
4661 prepare_for_testing.
4662 * gdb.fortran/complex.exp: Use standard_testfile,
4663 prepare_for_testing.
4664 * gdb.fortran/charset.exp: Use standard_testfile.
4665 * gdb.fortran/array-element.exp: Use standard_testfile,
4666 prepare_for_testing.
4667
18b5ff1b
KS
46682012-06-25 Keith Seitz <keiths@redhat.com>
4669
4670 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
4671 Change rbreak-related tests to KFAIL and add bugzilla numbers.
4672
17b77626
TT
46732012-06-25 Tom Tromey <tromey@redhat.com>
4674
4675 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
4676 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
4677 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
4678 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
4679
f91e3dc1
TT
46802012-06-25 Tom Tromey <tromey@redhat.com>
4681
4682 * gdb.linespec/ls-errs.exp: Use standard_testfile.
4683 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
4684 * gdb.linespec/linespec.exp: Use standard_testfile.
4685
a884434d
TT
46862012-06-25 Tom Tromey <tromey@redhat.com>
4687
4688 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
4689 prepare_for_testing.
4690
efc9d70a
TT
46912012-06-25 Tom Tromey <tromey@redhat.com>
4692
4693 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
4694 prepare_for_testing.
4695 * gdb.opt/inline-break.exp: Use standard_testfile,
4696 prepare_for_testing.
4697 * gdb.opt/inline-bt.exp: Use standard_testfile,
4698 prepare_for_testing.
4699 * gdb.opt/inline-cmds.exp: Use standard_testfile,
4700 prepare_for_testing.
4701 * gdb.opt/inline-locals.exp: Use standard_testfile,
4702 prepare_for_testing.
4703
e2fc92c6
TT
47042012-06-25 Tom Tromey <tromey@redhat.com>
4705
4706 * gdb.asm/asm-source.exp: Use standard_output_file,
4707 standard_testfile. Construct .o files in proper subdir.
4708
b0963d73
TT
47092012-06-25 Tom Tromey <tromey@redhat.com>
4710
4711 * gdb.server/ext-attach.exp: Use standard_testfile,
4712 prepare_for_testing.
4713 * gdb.server/ext-run.exp: Use standard_testfile,
4714 build_executable.
4715 * gdb.server/file-transfer.exp: Use standard_testfile,
4716 prepare_for_testing.
4717 * gdb.server/server-exec-info.exp: Use standard_testfile.
4718 * gdb.server/server-mon.exp: Use standard_testfile,
4719 prepare_for_testing.
4720 * gdb.server/server-run.exp: Use standard_testfile,
4721 build_executable.
4722 * gdb.server/solib-list.exp: Use standard_testfile,
4723 standard_output_file.
4724
8a3e1f8d
TT
47252012-06-25 Tom Tromey <tromey@redhat.com>
4726
4727 * lib/gdb.exp (standard_output_file): Use "file join".
4728 * gdb.go/chan.exp: Use standard_testfile.
4729 * gdb.go/handcall.exp: Use standard_testfile.
4730 * gdb.go/hello.exp: Use standard_testfile.
4731 * gdb.integers/chan.exp: Use standard_testfile.
4732 * gdb.go/methods.exp: Use standard_testfile.
4733 * gdb.go/package.exp: Use standard_testfile.
4734 * gdb.go/strings.exp: Use standard_testfile.
4735 * gdb.go/types.exp: Use standard_testfile.
4736 * gdb.go/unsafe.exp: Use standard_testfile.
4737
944a9061
MGD
47382012-06-25 Greta Yorsh <greta.yorsh@arm.com>
4739
4740 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
4741
1c06bd58
JK
47422012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4743
4744 Fix regression by the previous commit.
4745 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
4746
b4a58790
TT
47472012-06-22 Tom Tromey <tromey@redhat.com>
4748
4749 * gdb.python/lib-types.exp: Use standard_testfile,
4750 prepare_for_testing.
4751 * gdb.python/py-block.exp: Use standard_testfile.
4752 * gdb.python/py-breakpoint.exp: Use standard_testfile.
4753 * gdb.python/py-events.exp: Use standard_testfile,
4754 standard_output_file.
4755 * gdb.python/py-evsignal.exp: Use standard_testfile.
4756 * gdb.python/py-evethreads.exp: Use standard_testfile.
4757 * gdb.python/py-explore-cc.exp: Use standard_testfile.
4758 * gdb.python/py-explore.exp: Use standard_testfile.
4759 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
4760 standard_output_file.
4761 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
4762 prepare_for_testing.
4763 * gdb.python/py-frame-inline.exp: Use standard_testfile.
4764 * gdb.python/py-frame.exp: Use standard_testfile.
4765 * gdb.python/py-inferior.exp: Use standard_testfile.
4766 * gdb.python/py-infthread.exp: Use standard_testfile.
4767 * gdb.python/py-mi.exp: Use standard_testfile.
4768 * gdb.python/py-objfile-script.exp: Use standard_testfile,
4769 build_executable.
4770 * gdb.python/py-objfile.exp: Use standard_testfile.
4771 * gdb.python/py-pp-maint.exp: Use standard_testfile,
4772 prepare_for_testing.
4773 * gdb.python/py-prettyprint.exp: Use standard_testfile.
4774 * gdb.python/py-progspace.exp: Use standard_testfile,
4775 build_executable.
4776 * gdb.python/py-prompt.exp: Use standard_testfile,
4777 build_executable.
4778 * gdb.python/py-section-script.exp: Use standard_testfile,
4779 build_executable.
4780 * gdb.python/py-shared.exp: Use standard_testfile,
4781 standard_output_file, clean_restart.
4782 * gdb.python/py-symbol.exp: Use standard_output_file,
4783 prepare_for_testing.
4784 * gdb.python/py-symtab.exp: Use standard_output_file,
4785 prepare_for_testing
4786 * gdb.python/py-template.exp: Use standard_testfile.
4787 * gdb.python/py-type.exp: Use standard_testfile.
4788 * gdb.python/py-value-cc.exp: Use standard_testfile.
4789 * gdb.python/py-value.exp: Use standard_testfile.
4790 * gdb.python/python.exp: Use standard_testfile, build_executable.
4791
2c44deac
TT
47922012-06-22 Tom Tromey <tromey@redhat.com>
4793
4794 * gdb.objc/basicclass.exp: Use standard_testfile.
4795 (do_objc_tests): Don't declare objdir.
4796 * gdb.objc/nondebug.exp: Use standard_testfile.
4797 (do_objc_tests): Don't declare objdir.
4798 * gdb.objc/objcdecode.exp: Use standard_testfile.
4799 (do_objc_tests): Don't declare objdir.
4800
c24ccbce
TT
48012012-06-22 Tom Tromey <tromey@redhat.com>
4802
4803 * gdb.java/jmain.exp: Use standard_testfile.
4804 * gdb.java/jmisc.exp: Use standard_testfile.
4805 * gdb.java/jnpe.exp: Use standard_testfile.
4806 * gdb.java/jprint.exp: Use standard_testfile.
4807
0a6d0306
TT
48082012-06-22 Tom Tromey <tromey@redhat.com>
4809
4810 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
4811 (standard_output_file, standard_testfile): New procs.
4812 (build_executable, clean_restart): Use standard_output_file.
4813
6ea815ef
YQ
48142012-06-22 Yao Qi <yao@codesourcery.com>
4815
4816 * boards/native-gdbserver.exp: New proc ${board}_exec.
4817 * boards/native-stdio-gdbserver.exp: Likewise.
4818
4c93b1db
TT
48192012-06-21 Tom Tromey <tromey@redhat.com>
4820
4821 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
4822 (build_executable): Update.
4823 (get_compiler_info): Remove 'binfile' argument.
4824 * gdb.ada/arrayidx.exp: Update.
4825 * gdb.ada/null_array.exp: Update.
4826 * gdb.arch/altivec-abi.exp: Update.
4827 * gdb.arch/altivec-regs.exp: Update.
4828 * gdb.arch/amd64-byte.exp: Update.
4829 * gdb.arch/amd64-dword.exp: Update.
4830 * gdb.arch/amd64-word.exp: Update.
4831 * gdb.arch/i386-avx.exp: Update.
4832 * gdb.arch/i386-byte.exp: Update.
4833 * gdb.arch/i386-sse.exp: Update.
4834 * gdb.arch/i386-word.exp: Update.
4835 * gdb.arch/ppc-dfp.exp: Update.
4836 * gdb.arch/ppc-fp.exp: Update.
4837 * gdb.arch/vsx-regs.exp: Update.
4838 * gdb.base/all-bin.exp: Update.
4839 * gdb.base/annota1.exp: Update.
4840 * gdb.base/async.exp: Update.
4841 * gdb.base/attach.exp: Update.
4842 * gdb.base/break-interp.exp: Update.
4843 * gdb.base/call-ar-st.exp: Update.
4844 * gdb.base/call-rt-st.exp: Update.
4845 * gdb.base/call-sc.exp: Update.
4846 * gdb.base/callfuncs.exp: Update.
4847 * gdb.base/catch-load.exp: Update.
4848 * gdb.base/completion.exp: Update.
4849 * gdb.base/complex.exp: Update.
4850 * gdb.base/condbreak.exp: Update.
4851 * gdb.base/consecutive.exp: Update.
4852 * gdb.base/constvars.exp: Update.
4853 * gdb.base/corefile.exp: Update.
4854 * gdb.base/eval-skip.exp: Update.
4855 * gdb.base/expand-psymtabs.exp: Update.
4856 * gdb.base/exprs.exp: Update.
4857 * gdb.base/fileio.exp: Update.
4858 * gdb.base/fixsection.exp: Update.
4859 * gdb.base/funcargs.exp: Update.
4860 * gdb.base/gdb11530.exp: Update.
4861 * gdb.base/gdb1555.exp: Update.
4862 * gdb.base/gnu-ifunc.exp: Update.
4863 * gdb.base/gnu_vector.exp: Update.
4864 * gdb.base/info-macros.exp: Update.
4865 * gdb.base/jit-simple.exp: Update.
4866 * gdb.base/jit-so.exp: Update.
4867 * gdb.base/jit.exp: Update.
4868 * gdb.base/langs.exp: Update.
4869 * gdb.base/list.exp: Update.
4870 * gdb.base/logical.exp: Update.
4871 * gdb.base/long_long.exp: Update.
4872 * gdb.base/longjmp.exp: Update.
4873 * gdb.base/macscp.exp: Update.
4874 * gdb.base/mips_pro.exp: Update.
4875 * gdb.base/miscexprs.exp: Update.
4876 * gdb.base/morestack.exp: Update.
4877 * gdb.base/nodebug.exp: Update.
4878 * gdb.base/opaque.exp: Update.
4879 * gdb.base/pc-fp.exp: Update.
4880 * gdb.base/pending.exp: Update.
4881 * gdb.base/permissions.exp: Update.
4882 * gdb.base/pointers.exp: Update.
4883 * gdb.base/prelink.exp: Update.
4884 * gdb.base/printcmds.exp: Update.
4885 * gdb.base/psymtab.exp: Update.
4886 * gdb.base/ptype.exp: Update.
4887 * gdb.base/relational.exp: Update.
4888 * gdb.base/scope.exp: Update.
4889 * gdb.base/setvar.exp: Update.
4890 * gdb.base/shlib-call.exp: Update.
4891 * gdb.base/shreloc.exp: Update.
4892 * gdb.base/signals.exp: Update.
4893 * gdb.base/sizeof.exp: Update.
4894 * gdb.base/so-impl-ld.exp: Update.
4895 * gdb.base/so-indr-cl.exp: Update.
4896 * gdb.base/solib-disc.exp: Update.
4897 * gdb.base/solib-display.exp: Update.
4898 * gdb.base/solib-nodir.exp: Update.
4899 * gdb.base/solib-overlap.exp: Update.
4900 * gdb.base/solib-symbol.exp: Update.
4901 * gdb.base/solib-weak.exp: Update.
4902 * gdb.base/solib.exp: Update.
4903 * gdb.base/store.exp: Update.
4904 * gdb.base/structs.exp: Update.
4905 * gdb.base/structs2.exp: Update.
4906 * gdb.base/type-opaque.exp: Update.
4907 * gdb.base/unload.exp: Update.
4908 * gdb.base/varargs.exp: Update.
4909 * gdb.base/volatile.exp: Update.
4910 * gdb.base/watch_thread_num.exp: Update.
4911 * gdb.base/watchpoint-solib.exp: Update.
4912 * gdb.base/watchpoint.exp: Update.
4913 * gdb.base/watchpoints.exp: Update.
4914 * gdb.base/whatis.exp: Update.
4915 * gdb.cell/arch.exp: Update.
4916 * gdb.cell/break.exp: Update.
4917 * gdb.cell/bt.exp: Update.
4918 * gdb.cell/core.exp: Update.
4919 * gdb.cell/data.exp: Update.
4920 * gdb.cell/ea-cache.exp: Update.
4921 * gdb.cell/f-regs.exp: Update.
4922 * gdb.cell/fork.exp: Update.
4923 * gdb.cell/gcore.exp: Update.
4924 * gdb.cell/mem-access.exp: Update.
4925 * gdb.cell/ptype.exp: Update.
4926 * gdb.cell/registers.exp: Update.
4927 * gdb.cell/sizeof.exp: Update.
4928 * gdb.cell/solib-symbol.exp: Update.
4929 * gdb.cell/solib.exp: Update.
4930 * gdb.cp/ambiguous.exp: Update.
4931 * gdb.cp/breakpoint.exp: Update.
4932 * gdb.cp/bs15503.exp: Update.
4933 * gdb.cp/casts.exp: Update.
4934 * gdb.cp/class2.exp: Update.
4935 * gdb.cp/cpexprs.exp: Update.
4936 * gdb.cp/cplusfuncs.exp: Update.
4937 * gdb.cp/ctti.exp: Update.
4938 * gdb.cp/dispcxx.exp: Update.
4939 * gdb.cp/gdb1355.exp: Update.
4940 * gdb.cp/gdb2384.exp: Update.
4941 * gdb.cp/gdb2495.exp: Update.
4942 * gdb.cp/infcall-dlopen.exp: Update.
4943 * gdb.cp/local.exp: Update.
4944 * gdb.cp/m-data.exp: Update.
4945 * gdb.cp/m-static.exp: Update.
4946 * gdb.cp/mb-ctor.exp: Update.
4947 * gdb.cp/mb-inline.exp: Update.
4948 * gdb.cp/mb-templates.exp: Update.
4949 * gdb.cp/member-ptr.exp: Update.
4950 * gdb.cp/method.exp: Update.
4951 * gdb.cp/namespace.exp: Update.
4952 * gdb.cp/nextoverthrow.exp: Update.
4953 * gdb.cp/nsdecl.exp: Update.
4954 * gdb.cp/nsrecurs.exp: Update.
4955 * gdb.cp/nsstress.exp: Update.
4956 * gdb.cp/nsusing.exp: Update.
4957 * gdb.cp/pr-1023.exp: Update.
4958 * gdb.cp/pr-1210.exp: Update.
4959 * gdb.cp/pr-574.exp: Update.
4960 * gdb.cp/pr9631.exp: Update.
4961 * gdb.cp/printmethod.exp: Update.
4962 * gdb.cp/psmang.exp: Update.
4963 * gdb.cp/re-set-overloaded.exp: Update.
4964 * gdb.cp/rtti.exp: Update.
4965 * gdb.cp/shadow.exp: Update.
4966 * gdb.cp/templates.exp: Update.
4967 * gdb.cp/try_catch.exp: Update.
4968 * gdb.dwarf2/dw2-ranges.exp: Update.
4969 * gdb.dwarf2/pr10770.exp: Update.
4970 * gdb.fortran/library-module.exp: Update.
4971 * gdb.hp/gdb.aCC/optimize.exp: Update.
4972 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
4973 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
4974 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
4975 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
4976 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
4977 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
4978 * gdb.hp/gdb.compat/xdb1.exp: Update.
4979 * gdb.hp/gdb.compat/xdb2.exp: Update.
4980 * gdb.hp/gdb.compat/xdb3.exp: Update.
4981 * gdb.hp/gdb.defects/bs14602.exp: Update.
4982 * gdb.hp/gdb.defects/solib-d.exp: Update.
4983 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
4984 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
4985 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
4986 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
4987 * gdb.mi/gdb792.exp: Update.
4988 * gdb.mi/mi-pending.exp: Update.
4989 * gdb.mi/mi-solib.exp: Update.
4990 * gdb.mi/mi-var-cp.exp: Update.
4991 * gdb.opt/clobbered-registers-O2.exp: Update.
4992 * gdb.opt/inline-bt.exp: Update.
4993 * gdb.opt/inline-cmds.exp: Update.
4994 * gdb.opt/inline-locals.exp: Update.
4995 * gdb.python/py-events.exp: Update.
4996 * gdb.python/py-finish-breakpoint.exp: Update.
4997 * gdb.python/py-type.exp: Update.
4998 * gdb.reverse/solib-precsave.exp: Update.
4999 * gdb.reverse/solib-reverse.exp: Update.
5000 * gdb.server/solib-list.exp: Update.
5001 * gdb.stabs/weird.exp: Update.
5002 * gdb.threads/attach-into-signal.exp: Update.
5003 * gdb.threads/attach-stopped.exp: Update.
5004 * gdb.threads/tls-shared.exp: Update.
5005 * gdb.trace/change-loc.exp: Update.
5006 * gdb.trace/strace.exp: Update.
5007
95c391b6
TT
50082012-06-19 Tom Tromey <tromey@redhat.com>
5009
5010 * gdb.base/whatis.exp: Add tests.
5011
e910f0b6
TT
50122012-06-19 Tom Tromey <tromey@redhat.com>
5013
5014 * gdb.cp/m-static.cc (keepalive): New function.
5015 (gnu_obj_1::method): Use it.
5016
422d65e7
DE
50172012-06-18 Doug Evans <dje@google.com>
5018
5019 * gdb.base/info-fun.exp: New file.
5020 * gdb.base/info-fun.c: New file.
5021 * gdb.base/info-fun-solib.c: New file.
5022
e2e4d78b
JK
50232012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5024
5025 Remove stale dummy frames.
5026 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
5027 (maintenance info breakpoints): New tests.
5028 * gdb.base/stale-infcall.c: New file.
5029 * gdb.base/stale-infcall.exp: New file.
5030
1788b2d3
JK
50312012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5032
5033 * gdb.arch/amd64-entry-value-param.S: New file.
5034 * gdb.arch/amd64-entry-value-param.c: New file.
5035 * gdb.arch/amd64-entry-value-param.exp: New file.
5036
663b969e
TT
50372012-06-15 Tom Tromey <tromey@redhat.com>
5038
5039 * gdb.cp/namespace.exp: Add "show lang" test.
5040
8e09ad05
IS
50412012-06-15 Iain Sandoe <iain@codesourcery.com>
5042
5043 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
5044 case. (top level): Use gdb_file_cmd instead of gdb_load.
5045
f85e18ee
JK
50462012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5047
5048 PR tdep/14222
5049 * gdb.arch/i386-sse-stack-align.S: New file.
5050 * gdb.arch/i386-sse-stack-align.c: New file.
5051 * gdb.arch/i386-sse-stack-align.exp: New file.
5052
f3b5e280
KS
50532012-06-13 Keith Seitz <keiths@redhat.com>
5054
5055 PR breakpoints/13798 and mi/11541
5056 * gdb.linespec/ls-errs.exp: Add a few more tests for
5057 filenames with spaces and colons.
5058
50af5481
JK
50592012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5060
5061 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
5062 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
5063 (test_function): Call CV_f.
5064 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
5065 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
5066 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
5067 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
5068 (p CV_f(CV::i)): New tests.
5069
d55637df
TT
50702012-06-13 Tom Tromey <tromey@redhat.com>
5071
5072 * gdb.base/condbreak.exp: Add tests for "condition" completion.
5073
cc80f267
JK
50742012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5075
5076 Fix regression by the "ambiguous linespec" series.
5077 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
5078 tests.
5079
bb2af9cc
JK
50802012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5081
5082 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
5083 missing.
5084
e81a37f7
TT
50852012-06-11 Tom Tromey <tromey@redhat.com>
5086
5087 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
5088 location...
5089 (main): ...here.
5090
8efd7788
YQ
50912012-06-07 Yao Qi <yao@codesourcery.com>
5092
5093 * gdb.trace/strace.exp: Shorten some too-long lines.
5094
359f5fe6
PA
50952012-06-06 Pedro Alves <palves@redhat.com>
5096
5097 * gdb.threads/clone-new-thread-event.c: New file.
5098 * gdb.threads/clone-new-thread-event.exp: New file.
5099
7b2fe205
YQ
51002012-06-06 Yao Qi <yao@codesourcery.com>
5101
5102 * gdb.base/dprintf.c (main): Add extra parameter when calling
5103 printf and fprintf.
5104 (bar): New function. It is a dead function, but to ensure
5105 'malloc' is linked explicitly.
5106
3eca55e8
YQ
51072012-06-06 Yao Qi <yao@codesourcery.com>
5108
5109 * gdb.base/info-proc.exp: Return if target doesn't support
5110 'info proc'.
5111
91cc9324
JK
51122012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5113
5114 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
5115 (run program with breakpoint commands): XFAIl if it is not.
5116
c56e7c43
JB
51172012-06-05 Joel Brobecker <brobecker@adacore.com>
5118
5119 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
5120 and add comment.
5121 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
5122 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
5123 "STOP" marker. Adjust testing strategy to make it work on
5124 all targets.
5125
5126 * gdb.base/print-file-var-main.c (main): Rewrite using local
5127 variables and adjust get_version_2's return value check.
5128 Add small comment.
5129 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
5130 marker. Adjust testing strategy to make it work on all targets.
5131
ccab2054
JB
51322012-06-05 Joel Brobecker <brobecker@adacore.com>
5133
5134 * gdb.ada/bad-task-bp-keyword: New testcase.
5135
d0d86158
JK
51362012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5137
5138 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
5139 Simplify it to ...
5140 (symbol-file ${testfile1}): ... here.
5141 (test eliminated var my_global_symbol)
5142 (test eliminated var my_static_symbol)
5143 (test eliminated var my_global_func, get address of main): Wrap them to
5144 'single psymtabs' and 'single symtabs'
5145 (get address of my_global_symbol, get address of my_static_symbol)
5146 (get address of my_global_func, get address of main): Wrap them to
5147 'order1' and 'order2'.
5148
952cf74c
JK
5149 * gdb.base/code_elim.exp
5150 (add-symbol-file ${testfile1} 0x100000)
5151 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
5152 'order2'.
5153 (order1: add-symbol-file ${testfile1} 0x100000)
5154 (order1: add-symbol-file ${testfile2} 0x200000)
5155 (order2: add-symbol-file ${testfile2} 0x200000)
5156 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
5157 .bss as appropriate.
5158
0c5bf5a9
JK
51592012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5160
5161 * gdb.server/solib-list-lib.c: New file.
5162 * gdb.server/solib-list-main.c: New file.
5163 * gdb.server/solib-list.exp: New file.
5164
4196f325
MR
51652012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
5166
5167 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
5168 for 'set print symbol' change.
5169
bfb05775
JK
51702012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5171
5172 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
5173 .debug_abbrev_seg3.
5174
685b1105
JK
51752012-05-24 John Steele Scott <toojays@toojays.net>
5176
5177 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
5178 * gdb.dwarf2/dw2-icc-opaque.S: New file.
5179 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
5180
f3e0e960
SS
51812012-05-23 Stan Shebs <stan@codesourcery.com>
5182
5183 * gdb.mi/mi-info-os.exp: New file.
5184
11eb1b4d
KS
51852012-05-23 Keith Seitz <keiths@redhat.com>
5186
5187 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
5188 return -1 to suppress the rest of the tests.
5189 (compile_stap_bin): Return boolean success value.
5190
b1af9e97
TT
51912012-05-21 Tom Tromey <tromey@redhat.com>
5192
5193 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
5194 Remove kfails.
5195 (test_print_mi_member_types): Likewise.
5196
248537e3
TT
51972012-05-21 Tom Tromey <tromey@redhat.com>
5198
5199 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
5200 print symbol' change.
5201
d791e155
TJB
52022012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
5203
5204 * gdb.python/py-prompt.exp: Quit if the target is remote.
5205
e77afa2e
JK
52062012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5207
5208 Fix ERROR: internal buffer is full.
5209 * gdb.base/info-os.exp (expect_multiline): New function.
5210 (get process list, get process groups, get threads)
5211 (get file descriptors, get internet-domain sockets)
5212 (get shared-memory regions, get semaphores, get message queues): Use
5213 it for these tests.
5214
9cb709b6
TT
52152012-05-18 Tom Tromey <tromey@redhat.com>
5216
5217 * gdb.mi/mi-var-cmd.exp: Update.
5218 * gdb.objc/basicclass.exp (do_objc_tests): Update.
5219 * gdb.cp/virtbase.exp: Update.
5220 * gdb.cp/classes.exp (test_static_members): Update.
5221 * gdb.cp/casts.exp: Update.
5222 * gdb.base/pointers.exp: Update.
5223 * gdb.base/funcargs.exp (pointer_args): Update.
5224 (structs_by_reference): Update.
5225 * gdb.base/find.exp: Update.
5226 * gdb.base/call-strs.exp: Send "set print symbol off".
5227 * gdb.base/call-ar-st.exp: Update.
5228 * gdb.ada/fun_addr.exp: Update.
5229 * gdb.base/printcmds.exp (test_print_symbol): New proc.
5230 Call it.
5231 (test_print_repeats_10, test_print_strings)
5232 (test_print_char_arrays): Update.
5233
b012acdd
TT
52342012-05-18 Tom Tromey <tromey@redhat.com>
5235
5236 * gdb.base/charset.exp (string_display): Update.
5237
1d51a733
TT
52382012-05-18 Tom Tromey <tromey@redhat.com>
5239
5240 * gdb.mi/mi2-var-display.exp: Update.
5241 * gdb.mi/mi-var-display.exp: Update.
5242 * gdb.mi/mi-var-child.exp: Update.
5243 * gdb.cp/expand-psymtabs-cxx.exp: Update.
5244 * gdb.cp/cp-relocate.exp (get_func_address): Update.
5245
957df313
DE
52462012-05-17 Doug Evans <dje@google.com>
5247
682c7f7b
DE
5248 * info-macros.exp: Pass "debug" to prepare_for_testing.
5249
957df313
DE
5250 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
5251 * gdb.ada/Makefile.in (clean): Ditto.
5252 * gdb.arch/Makefile.in (clean): Ditto.
5253 * gdb.asm/Makefile.in (clean): Ditto.
5254 * gdb.base/Makefile.in (clean): Ditto.
5255 * gdb.cell/Makefile.in (clean): Ditto.
5256 * gdb.cp/Makefile.in (clean): Ditto.
5257 * gdb.disasm/Makefile.in (clean): Ditto.
5258 * gdb.dwarf2/Makefile.in (clean): Ditto.
5259 * gdb.fortran/Makefile.in (clean): Ditto.
5260 * gdb.go/Makefile.in (clean): Ditto.
5261 * gdb.hp/Makefile.in (clean): Ditto.
5262 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
5263 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
5264 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
5265 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
5266 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
5267 * gdb.java/Makefile.in (clean): Ditto.
5268 * gdb.linespec/Makefile.in (clean): Ditto.
5269 * gdb.mi/Makefile.in (clean): Ditto.
5270 * gdb.modula2/Makefile.in (clean): Ditto.
5271 * gdb.multi/Makefile.in (clean): Ditto.
5272 * gdb.objc/Makefile.in (clean): Ditto.
5273 * gdb.opencl/Makefile.in (clean): Ditto.
5274 * gdb.opt/Makefile.in (clean): Ditto.
5275 * gdb.pascal/Makefile.in (clean): Ditto.
5276 * gdb.python/Makefile.in (clean): Ditto.
5277 * gdb.reverse/Makefile.in (clean): Ditto.
5278 * gdb.server/Makefile.in (clean): Ditto.
5279 * gdb.stabs/Makefile.in (clean): Ditto.
5280 * gdb.threads/Makefile.in (clean): Ditto.
5281 * gdb.trace/Makefile.in (clean): Ditto.
5282 * gdb.xml/Makefile.in (clean): Ditto.
5283
abc9d0dc
TT
52842012-05-16 Tom Tromey <tromey@redhat.com>
5285
5286 * gdb.base/macscp1.c (macscp_expr): Add comment.
5287 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
5288
6a3a010b
MR
52892012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5290
5291 * gdb.base/return-nodebug.exp: Also test float and double types.
5292
01429c8e
JK
52932012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5294
5295 PR testsuite/12649
5296 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
5297
54115cd4
JK
5298 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
5299
0c5f383f
SDJ
53002012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
5301
5302 * gdb.base/stap-probe.exp (stap_test): Remove calls to
5303 `rerun_to_main'.
5304 (stap_test_no_debuginfo): Likewise.
5305
e7e0cddf
SS
53062012-05-14 Stan Shebs <stan@codesourcery.com>
5307
5308 * gdb.base/dprintf.c: New file.
5309 * gdb.base/dprintf.exp: New file.
5310
c772f8e7
HZ
53112012-05-14 Hui Zhu <hui_zhu@mentor.com>
5312
5313 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
5314 * gdb.trace/disconnected-tracing.c: New file.
5315 * gdb.trace/disconnected-tracing.exp: New file.
5316
7efc75aa
SCR
53172012-05-13 Siva Chandra Reddy <sivachandra@google.com>
5318
5319 * gdb.python/python.c: Add a new breakpoint comment.
5320 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
5321
85d4a676
SS
53222011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
5323
5324 * gdb.base/info-os.exp: New file.
5325 * gdb.base/info-os.c: New file.
5326
64ea88dc
JB
53272012-05-10 Joel Brobecker <brobecker@adacore.com>
5328
4647ab1b
JB
5329 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
5330 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
5331 New files.
64ea88dc 5332
afba63f1
JB
53332012-05-10 Joel Brobecker <brobecker@adacore.com>
5334
5335 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
5336 gdb.base/ctxobj.exp: New files.
5337
9d198b1e
TT
53382012-05-09 Tom Tromey <tromey@redhat.com>
5339
5340 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
5341
9bfee719
MR
53422012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
5343
5344 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
5345
3a7341d8
MR
53462012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
5347
5348 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
5349 before using it.
5350
52b3699b
TG
53512012-05-04 Tristan Gingold <gingold@adacore.com>
5352
5353 * gdb.base/set-noassign.exp: New test.
5354
a20ee7a4
SCR
53552012-05-03 Siva Chandra Reddy <sivachandra@google.com>
5356
5357 * gdb.python/py-symbol.exp: Add tests to test the new methods
5358 gdb.Symtab.global_block() and gdb.Symtab.static_block().
5359 * gdb.python/py-symbol.c: Add new struct to help test
5360 gdb.Symtab.static_block().
5361
bf2f0858
DE
53622012-05-03 Doug Evans <dje@google.com>
5363
5364 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
5365 commented out.
5366
2d4e0376
YQ
53672012-05-03 Yao Qi <yao@codesourcery.com>
5368
5369 * gdb.base/catch-syscall.exp: Skip it before compilation if target
5370 doesn't support.
5371 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
5372 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
5373
6d0bb9f3
YQ
53742012-05-03 Yao Qi <yao@codesourcery.com>
5375
5376 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
5377
fd820528
DE
53782012-04-30 Doug Evans <dje@google.com>
5379
5380 PR testsuite/13961
5381 * gdb.dwarf2/pr13961.S: New file.
5382 * gdb.dwarf2/pr13961.exp: New file.
5383
b9e219b9
YQ
53842012-04-29 Yao Qi <yao@codesourcery.com>
5385
5386 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
5387
3019eac3
DE
53882012-04-28 Doug Evans <dje@google.com>
5389
5390 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
5391 .Ltype_int_in_cu2. Use name "int2" instead of "int".
5392 All uses updated.
5393 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
5394 "ptype func_cu1" to expand cu2 before cu1.
5395
62e5f89c
SDJ
53962012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
5397 Tom Tromey <tromey@redhat.com>
5398
5399 * gdb.base/default.exp: Add `$_probe_arg*' convenience
5400 variables.
5401 * gdb.base/stap-probe.c: New file.
5402 * gdb.base/stap-probe.exp: New file.
5403 * gdb.trace/stap-trace.c: New file.
5404 * gdb.trace/stap-trace.exp: New file.
5405 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
5406 libgcc's unwinder.
5407
14132e89
MR
54082012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
5409
5410 * gdb.arch/mips16-thunks-inmain.c: New file.
5411 * gdb.arch/mips16-thunks-main.c: New file.
5412 * gdb.arch/mips16-thunks-sin.c: New file.
5413 * gdb.arch/mips16-thunks-sinfrob.c: New file.
5414 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
5415 * gdb.arch/mips16-thunks-sinmain.c: New file.
5416 * gdb.arch/mips16-thunks-sinmips16.c: New file.
5417 * gdb.arch/mips16-thunks.exp: New file.
5418
a766d390
DE
54192012-04-25 Doug Evans <dje@google.com>
5420
5421 * configure.ac: Create gdb.go/Makefile.
5422 * configure: Regenerate.
5423 * gdb.base/default.exp: Add "go" to "set language" testing.
5424 * gdb.go/Makefile.in: New file.
5425 * gdb.go/basic-types.exp: New file.
5426 * gdb.go/chan.exp: New file.
5427 * gdb.go/chan.go: New file.
5428 * gdb.go/handcall.exp: New file.
5429 * gdb.go/handcall.go: New file.
5430 * gdb.go/hello.exp: New file.
5431 * gdb.go/hello.go: New file.
5432 * gdb.go/integers.exp: New file.
5433 * gdb.go/integers.go: New file.
5434 * gdb.go/methods.exp: New file.
5435 * gdb.go/methods.go: New file.
5436 * gdb.go/package.exp: New file.
5437 * gdb.go/package1.go: New file.
5438 * gdb.go/package2.go: New file.
5439 * gdb.go/print.exp: New file.
5440 * gdb.go/strings.exp: New file.
5441 * gdb.go/strings.go: New file.
5442 * gdb.go/types.exp: New file.
5443 * gdb.go/types.go: New file.
5444 * gdb.go/unsafe.exp: New file.
5445 * gdb.go/unsafe.go: New file.
5446 * lib/future.exp: Add Go support.
5447 (gdb_find_go, gdb_find_go_linker): New procs.
5448 (gdb_default_target_compile): Add Go support.
5449 * lib/gdb.exp (skip_go_tests): New proc.
5450 * lib/go.exp: New file.
5451
e65f9ffb
TT
54522012-04-25 Tom Tromey <tromey@redhat.com>
5453
5454 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
5455
14e75d8e
JK
54562012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5457 Jan Kratochvil <jan.kratochvil@redhat.com>
5458
5459 PR symtab/7259:
5460 * gdb.base/enumval.c: New test case.
5461 * gdb.base/enumval.exp: New test case.
5462 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
5463 field.bitpos.
5464
f3525b70
PA
54652012-04-17 Pedro Alves <palves@redhat.com>
5466
5467 * Makefile.in (site.exp): Make site.exp source
5468 $srcdir/lib/append_gdb_boards_dir.exp.
5469 * lib/append_gdb_boards_dir.exp: New file.
5470
bccbefd2
JK
54712012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5472
5473 New option "set auto-load safe-path".
5474 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
5475 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
5476
bf88dd68
JK
54772012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5478
5479 auto-load: Implementation.
5480 * gdb.base/help.exp (test set height): Increase the height.
5481 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
5482 to ...
5483 (info auto-load python-scripts): ... here.
5484 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
5485 to ...
5486 (info auto-load python-scripts *): ... here.
5487
c0d4d1c0
YQ
54882012-04-16 Yao Qi <yao@codesourcery.com>
5489
5490 * lib/trace-support.exp (get_in_proc_agent): New.
5491 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
5492 of in process trace agent.
5493 * gdb.trace/ftrace.exp: Likewise.
5494 * gdb.trace/pending.exp: Likewise.
5495 * gdb.trace/trace-break.exp: Likewise.
5496 * gdb.trace/trace-mt.exp
5497 * gdb.trace/tspeed.exp: Likewise.
5498 * gdb.trace/tstatus.exp
5499 * gdb.trace/strace.exp: Likewise.
5500
cbf68a60
TS
55012012-04-16 Thomas Schwinge <thomas@codesourcery.com>
5502
dd6d3b70
TS
5503 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
5504 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
5505
cbf68a60
TS
5506 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
5507
8264ba82
AG
55082012-04-14 Anton Gorenkov <xgsa@yandex.ru>
5509
5510 PR mi/13393
5511 * gdb.mi/mi-var-rtti.cc: New file.
5512 * gdb.mi/mi-var-rtti.exp: New file.
5513 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
5514 function.
5515 (mi_varobj_update_with_type_change): updated to avoid code duplication.
5516
de0919f8 55172012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
5518
5519 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
5520 EXECUTABLES.
5521 * gdb.python/py-explore.c: C program used for testing the new
5522 'explore' command on C constructs.
5523 * gdb.python/py-explore.cc: C++ program used for testing the new
5524 'explore' command on C++ constructs.
5525 * gdb-python/py-explore.exp: Tests for the new 'explore'
5526 command on C constructs.
5527 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
5528 command on C++ constructs.
5529
a82da7dd
MK
55302012-04-07 Mark Kettenis <kettenis@gnu.org>
5531
5532 * gdb.base/funcargs.exp (complex_args): Fix typo.
5533
e127cba8
JK
55342012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5535
5536 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
5537 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
5538
40e084e1
KS
55392012-04-05 Keith Seitz <keiths@redhat.com>
5540
5541 * gdb.base/advance.exp: Update error message for
5542 "advance malformed" test.
5543 * gdb.base/break.exp: Likewise for "breakpoint with
5544 trailing garbage" test.
5545 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
5546 with trailing garbage" test.
5547 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
5548 trailng garbage" test.
5549 * gdb.base/until.exp: Likewise for "malformed until" test.
5550 * gdb.cp/ovldbreak.exp: Create the breakpoint table
5551 for "breakpoint info (after setting on all)".
5552 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
5553 tests.
5554 * gdb.cp/cplabel.cc: New file.
5555 * gdb.cp/cplabel.exp: New test.
5556 * gdb.linespec/ls-errs.c: New file.
5557 * gdb.linespec/ls-errs.exp: New test.
5558
a72c8f6a
JK
55592012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5560
5561 * gdb.trace/unavailable.exp
5562 (collect globals: print object on: print derived_partial)
5563 (collect globals: print object on: print derived_whole)
5564 (collect globals: print object off: print derived_partial)
5565 (collect globals: print object off: print derived_whole): Update
5566 expected output.
5567
f87a3023
KS
55682012-03-30 Keith Seitz <keiths@redhat.com>
5569
5570 * gdb.python: Add test for linespecs with commas.
5571
e2171b3c
KS
55722012-03-28 Keith Seitz <keiths@redhat.com>
5573
5574 * gdb.linespec/ls-dollar.cc: New file.
5575 * gdb.linespec/ls-dollar.exp: New test.
5576
55772012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
5578
5579 * gdb.cp/namespace.exp: Add breakpoint tests for functions
5580 starting with the global namespace.
5581
2f4e0a80
DE
55822012-03-23 Doug Evans <dje@google.com>
5583
5584 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
5585
7b282c5a
SCR
55862012-03-22 Siva Chandra Reddy <sivachandra@google.com>
5587
5588 * gdb.python/py-value.cc: Add test case for testing the
5589 methodology exposing C++ values to Python.
5590 * gdb.python/py-value-cc.exp: Add tests testing the methodology
5591 exposing C++ values to Python.
5592 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
5593
2e98ca53
JK
55942012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5595 Siddhesh Poyarekar <siddhesh@redhat.com>
5596
5597 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
5598 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
5599 (generate native core dump): Make the test unsupported if core cannot
5600 be generated.
5601
8320cc4f
JK
56022012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5603
5604 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
5605 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
5606 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
5607
3a69ffb2
JK
56082012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5609
5610 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
5611
8fabffee
DE
56122012-03-17 Doug Evans <dje@google.com>
5613
5614 * dg-extract-results.sh: Handle KFAILs.
5615
ab260dad
JK
56162012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5617
5618 PR symtab/13777
5619 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
5620
53ba8333
JB
56212012-03-16 Joel Brobecker <brobecker@adacore.com>
5622
5623 * gdb.ada/set_pckd_arr_elt: New testcase.
5624
481860b3
GB
56252012-03-16 Gary Benson <gbenson@redhat.com>
5626
5627 PR breakpoints/10738
5628 * gdb.opt/inline-break.exp: New file.
5629 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
5630 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
5631 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
5632 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
5633 * gdb.base/async-shell.exp: Likewise.
5634 * lib/mi-support.exp (library_loaded_re): Likewise.
5635
410528f0
TT
56362012-03-15 Tom Tromey <tromey@redhat.com>
5637
5638 * gdb.cp/virtfunc2.exp: Update expected output.
5639 * gdb.cp/pr9631.exp: Update expected output.
5640 * gdb.cp/member-ptr.exp: Update expected output.
5641 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
5642 output.
5643 * gdb.cp/casts.exp: Update expected output.
5644
c4aeac85
TT
56452012-03-15 Tom Tromey <tromey@redhat.com>
5646
5647 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
5648 (test_info_vtbl): Likewise.
5649 (do_tests): Call test_info_vtbl.
5650 * gdb.cp/virtfunc.cc (va): New global.
5651
856d06f9
TS
56522012-03-15 Thomas Schwinge <thomas@codesourcery.com>
5653
5654 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
5655 describing DWARF data structures.
5656 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
5657 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
5658 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
5659 * gdb.dwarf2/dw2-entry-value.S: Likewise.
5660 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
5661 * gdb.dwarf2/dw2-param-error.S: Likewise.
5662 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
5663 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
5664 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
5665 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
5666 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
5667 * gdb.dwarf2/pr11465.S: Likewise.
5668
e837f12a
JK
56692012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5670
5671 * gdb.mi/mi2-prompt.exp: New file.
5672
ccbb4f28
JB
56732012-03-13 Joel Brobecker <brobecker@adacore.com>
5674
5675 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
5676
32039130
JB
56772012-03-13 Joel Brobecker <brobecker@adacore.com>
5678
5679 * gdb.ada/bp_range_type: New testcase.
5680
16899756
DE
56812012-03-13 Doug Evans <dje@google.com>
5682
5683 * gdb.base/default.exp: Delete tests for symbol-reloading.
5684 * gdb.base/help.exp: Ditto.
5685 * gdb.base/setshow.exp: Ditto.
5686 * gdb.base/gdb_history: Delete references to symbol-reloading.
5687
87b0bb13
JK
56882012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5689
5690 * gdb.base/attach-twice.c: New files.
5691 * gdb.base/attach-twice.exp: New files.
5692
0d7941a9
KS
56932012-03-08 Keith Seitz <keiths@redhat.com>
5694
5695 * lib/gdb.exp (gdb_get_line_number): Throw an
5696 error instead of returning -1.
5697 * gdb.base/break.exp: Remove unused variable
5698 bp_location5.
5699 * gdb.base/hbreak2.exp: Likewise.
5700 * gdb.base/sepdebug.exp: Likewise.
5701
f4647387
YQ
57022012-03-08 Yao Qi <yao@codesourcery.com>
5703 Pedro Alves <palves@redhat.com>
5704
5705 Fix PR server/13392.
5706 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
5707 (tracepoint_change_loc_2): Remove kfail. Return if failed to
5708 download tracepoints.
5709 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
5710 (pending_tracepoint_resolved_during_trace): Likewise.
5711 (pending_tracepoint_installed_during_trace): Likewise.
5712 (pending_tracepoint_with_action_resolved): Likewise.
5713
83c532cb
KS
57142012-03-08 Keith Seitz <keiths@redhat.com>
5715
5716 * gdb.ada/array_bounds.exp: Get breakpoint for line
5717 with "START", not "STOP".
5718 * gdb.python/py-infthread.exp: Do not continue to
5719 line marked "Break here.", which is undefined.
5720
d6b6bbb7
LM
57212012-03-08 Luis Machado <lgustavo@codesourcery.com>
5722
5723 Revert:
5724
5725 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5726
5727 Implement testsuite workaround for PR breakpoints/13781.
5728 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5729 (set breakpoint condition-evaluation host): New conditional command.
5730
7fe25d9b
JK
57312012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5732
5733 Fix CU relative vs. absolute DIE offsets.
5734 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
5735 one.
5736
51898c15
JK
57372012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5738
5739 Fix false FAIL on distros with relro linkage as default.
5740 * gdb.reverse/solib-precsave.exp: Try to compile the test using
5741 -Wl,-z,norelro first.
5742
8131799e
JB
57432012-03-06 Joel Brobecker <brobecker@adacore.com>
5744
5745 * gdb.ada/bp_on_var: New testcase.
5746
ba241969
JB
57472012-03-06 Joel Brobecker <brobecker@adacore.com>
5748
5749 * gdb.ada/bp_enum_homonym: New testcase.
5750
abe49676
YQ
57512012-03-06 Yao Qi <yao@codesourcery.com>
5752
5753 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
5754 x86_64-*-* and i?86-*-*.
5755 Set up KFAIL for gdb/13808.
5756
d8df103b
TT
57572012-03-05 Tom Tromey <tromey@redhat.com>
5758
5759 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
5760 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
5761
b7b189f3
TT
57622012-03-05 Tom Tromey <tromey@redhat.com>
5763
5764 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
5765
69dc1c4d
YQ
57662012-03-04 Yao Qi <yao@codesourcery.com>
5767
5768 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
5769 messages for KFAIL.
5770
3f20c47f
JK
57712012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5772
5773 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
5774 (print one_two_three, indexes off, print few_reps, indexes off)
5775 (print many_reps, indexes off, print empty, indexes off)
5776 (print one_two_three, print few_reps, print many_reps, print empty):
5777 Call setup_xfail if $gcc_old.
5778
abf1152a
JK
57792012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5780
5781 Implement testsuite workaround for PR breakpoints/13781.
5782 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5783 (set breakpoint condition-evaluation host): New conditional command.
5784
a06715f8
JK
57852012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5786
5787 Code cleanup.
5788 * gdb.cp/mb-templates.exp: New variables executable. Use it for
5789 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
5790 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
5791 number 1 by $bpnum. Four times.
5792
5808517f
YQ
57932012-03-03 Yao Qi <yao@codesourcery.com>
5794
5795 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
5796
dfe2ac14
JK
57972012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5798
5799 Setup KFAIL for PR server/13796.
5800 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
5801
8bbc467a
JB
58022012-03-02 Joel Brobecker <brobecker@adacore.com>
5803
5804 * gdb.ada/operator_bp: New testcase.
5805
c0eac87f
JB
58062012-03-02 Joel Brobecker <brobecker@adacore.com>
5807
5808 * gdb.ada/info_locals_renaming: New testcase.
5809
4f42c881
TT
58102012-03-02 Tom Tromey <tromey@redhat.com>
5811
5812 * gdb.base/nextoverexit.c: New file.
5813 * gdb.base/nextoverexit.exp: New file.
5814
7380c0c9
EBM
58152012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
5816
5817 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
5818 parameter.
5819
1faeff08
MR
58202012-03-01 Maciej W. Rozycki <macro@mips.com>
5821
5822 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
5823 core registers.
5824
320b6f49 58252012-03-01 Maciej W. Rozycki <macro@mips.com>
6fdff2c5
PA
5826 Maciej W. Rozycki <macro@codesourcery.com>
5827 Daniel Jacobowitz <dan@codesourcery.com>
320b6f49
MR
5828
5829 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
5830
ad5f7d6e
PA
58312012-03-01 Pedro Alves <palves@redhat.com>
5832
5833 PR gdb/13767
5834
5835 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
5836 (gdb_collect_globals_test): Call it.
5837
d3dc44a6
KS
58382012-03-01 Keith Seitz <keiths@redhat.com>
5839
5840 * gdb.cp/method2.exp: Output of overload menu is now
5841 alphabetized. Update tests for "break A::method".
5842 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
5843 of hard-coding them.
5844 Overload menu is alphabetized: rewrite to accommodate.
5845 Unset variables LINE and TYPES which are used in other tests.
5846 Compute the output of "info break".
5847 Update the breakpoint table after all breakpoints are deleted.
5848 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
5849 compute ACTUALS and the method body based on parameters.
5850 Update expected output accordingly.
5851 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
5852 unique comments to allow the use of gdb_get_line_number.
5853
58542012-03-01 Keith Seitz <keiths@redhat.com>
5855
5856 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
5857 some Tcl syntax.
5858 * gdb.cp/ovldbreak.exp: Likewise.
5859
7949c2a0
KS
58602012-03-01 Keith Seitz <keiths@redhat.com>
5861
5862 * gdb.base/help.exp (help show user): Update expected result
5863 for new doc string changes (add "non-python").
5864
7d74f244
DE
58652012-03-01 Scott J. Goldman <scottjg@vmware.com>
5866
5867 * gdb.python/py-cmd.exp: Add test to verify that python commands can
5868 be put in the user-defined category and that the commands appear in
5869 "help user-defined".
5870
1b611343
JB
58712012-02-29 Joel Brobecker <brobecker@adacore.com>
5872
5873 * gdb.ada/tagged_not_init: New testcase.
5874
99b1c762
JB
58752012-02-29 Joel Brobecker <brobecker@adacore.com>
5876
5877 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
5878 * gdb.ada/enum_idx_packed: New testcase.
5879
2d4a02ee
JB
58802012-02-29 Joel Brobecker <brobecker@adacore.com>
5881
5882 * gdb.ada/aliased_array: New testcase.
5883
2e6fda7d
JB
58842012-02-29 Joel Brobecker <brobecker@adacore.com>
5885
5886 * gdb.ada/whatis_array_val: New testcase.
5887
9a7f938f
JK
58882012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5889
5890 Fix disp-step-syscall.exp: fork: single step over fork.
5891 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
5892 whitespaces.
5893 (single step over $syscall): Remove its check.
5894 (single step over $syscall final pc): New check.
5895
8703a944
JK
58962012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5897
5898 Support processors without SSSE3.
5899 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
5900 pabsd into ...
5901 (ssse3_test): ... a new function.
5902 (main): Call ssse3_test.
5903 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
5904 Update expected values everywhere.
5905 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
5906 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
5907 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
5908 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
5909 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
5910 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
5911 Move these tests lower.
5912 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
5913 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
5914 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
5915 New tests.
5916
c03e6ccc
YQ
59172012-02-29 Yao Qi <yao@codesourcery.com>
5918 Pedro Alves <palves@redhat.com>
5919
5920 * gdb.trace/trace-mt.c: New.
5921 * gdb.trace/trace-mt.exp: New.
5922
7964b62a
TS
59232012-02-28 Thomas Schwinge <thomas@codesourcery.com>
5924
2c8910ba
TS
5925 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
5926 numbers instead of hardcoding them.
5927 * gdb.base/annota1.c: Provide suitable markers.
5928 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
5929 numbers instead of hardcoding them.
5930 * gdb.base/annota3.c: Provide suitable markers.
5931
5932 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
5933 * gdb.base/annota3.c: Likewise.
5934 * gdb.base/sigall.c: Likewise.
5935 * gdb.base/signals.c: Likewise.
5936 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 5937
5a41c0b7
MR
59382012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
5939
5940 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
5941 failure return path.
5942
ebbbe5c5
LM
59432012-02-27 Luis Machado <lgustavo@codesourcery.com>
5944
5945 * gdb.base/save-bp.exp: Account for new condition evaluator output.
5946
8d126d8a
LM
59472012-02-24 Luis Machado <lgustavo@codesourcery.com>
5948
5949 * gdb.base/cond-eval-mode.exp: New file.
5950
11337c2f
PA
59512012-02-24 Pedro Alves <palves@redhat.com>
5952
5953 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
5954 (top level): Use with_test_prefix.
5955
13fc3e3c
PA
59562012-02-24 Pedro Alves <palves@redhat.com>
5957
5958 * gdb.threads/attach-into-signal.exp (corefunc): Use
5959 with_test_prefix.
5960
07c1b626
JK
59612012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5962
5963 Fix false FAILs on old CPUs without SSE.
5964 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
5965 Return untested for Illegal instruction.
5966
596ba138
JK
59672012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5968
5969 Fix false FAILs with glibc debug infos installed.
5970 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
5971 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
5972
aeaa2474
SA
59732012-02-22 Sterling Augustine <saugustine@google.com>
5974
5975 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
5976 constant with cast.
5977
aed555c9
PA
59782012-02-21 Pedro Alves <palves@redhat.com>
5979
5980 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
5981
78afebb4
PA
59822012-02-21 Pedro Alves <palves@redhat.com>
5983
5984 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
5985
fdcfef12
PA
59862012-02-21 Pedro Alves <palves@redhat.com>
5987
5988 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
5989 with_test_prefix.
5990
0f4d39d5
PA
59912012-02-21 Pedro Alves <palves@redhat.com>
5992
5993 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
5994 with_test_prefix here.
5995 (top level): Do it here instead. Remove `:' from the
5996 with_test_prefix string.
5997 * gdb.base/attach-pie-misread.exp: Remove the leading space the
5998 the suffix `:' from the with_test_prefix prefix string.
5999 * gdb.base/break-interp.exp: Ditto.
6000 * gdb.base/catch-load.exp: Ditto.
6001 * gdb.base/disp-step-syscall.exp: Ditto.
6002 * gdb.base/jit-so.exp: Ditto.
6003 * gdb.base/jit.exp: Ditto.
6004 * gdb.base/sepdebug.exp: Ditto.
6005 * gdb.base/solib-display.exp: Ditto.
6006 * gdb.base/solib-overlap.exp: Ditto.
6007 * gdb.base/watch-cond-infcall.exp: Ditto.
6008 * gdb.base/watchpoint.exp: Ditto.
6009 * gdb.dwarf2/dw2-noloc.exp: Ditto.
6010 * gdb.mi/mi-watch.exp: Ditto.
6011 * gdb.mi/mi2-watch.exp: Ditto.
6012 * gdb.threads/non-ldr-exc-1.exp: Ditto.
6013 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6014 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6015 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6016 * gdb.threads/watchpoint-fork.exp: Ditto.
6017 * gdb.threads/watchthreads-reorder.exp: Ditto.
6018 * gdb.trace/change-loc.exp: Ditto.
6019 * gdb.trace/pending.exp: Ditto.
6020 * gdb.trace/status-stop.exp: Ditto.
6021 * gdb.trace/strace.exp: Ditto.
6022 * gdb.trace/trace-break.exp: Ditto.
6023 * gdb.trace/unavailable.exp: Ditto.
6024 * lib/gdb.exp (with_test_prefix): Always prefix with space and
6025 suffix with colon. Adjust leading comments.
6026
6a5870ce
PA
60272012-02-21 Pedro Alves <palves@redhat.com>
6028 Tom Tromey <tromey@redhat.com>
6029
6030 * lib/gdb.exp: Add description of test prefixes.
6031 (with_test_prefix): New procedure.
6032 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
6033 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
6034 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
6035 instead of lappend to append to pf_prefix.
6036 * gdb.base/catch-load.exp: Use with_test_prefix.
6037 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
6038 * gdb.base/jit-so.exp: Use with_test_prefix.
6039 * gdb.base/jit.exp: Use with_test_prefix.
6040 * gdb.base/return-nodebug.exp (do_test): Use append instead of
6041 lappend to append to pf_prefix.
6042 * gdb.base/sepdebug.exp: Use with_test_prefix.
6043 * gdb.base/solib-display.exp: Use with_test_prefix.
6044 * gdb.base/solib-overlap.exp: Use with_test_prefix.
6045 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
6046 * gdb.base/watchpoint.exp: Use with_test_prefix.
6047 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
6048 * gdb.mi/mi-watch.exp: Use with_test_prefix.
6049 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
6050 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
6051 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
6052 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
6053 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
6054 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
6055 append instead of lappend to append to pf_prefix.
6056 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
6057 * gdb.trace/change-loc.exp: Use with_test_prefix.
6058 * gdb.trace/pending.exp: Use with_test_prefix.
6059 * gdb.trace/status-stop.exp: Use with_test_prefix.
6060 * gdb.trace/strace.exp: Use with_test_prefix.
6061 * gdb.trace/trace-break.exp: Use with_test_prefix.
6062 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
6063 instead of lappend to append to pf_prefix.
6064
35dc4a6b
JK
60652012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6066
6067 Fix racy FAILs.
6068 * gdb.base/inferior-died.c (main): Add return of 0.
6069 * gdb.base/inferior-died.exp (continue): Fix expectation of
6070 asynchronous events.
6071 (p 1): New test.
6072
c5a006e6
PA
60732012-02-20 Pedro Alves <palves@redhat.com>
6074
6075 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
6076 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
6077 gdb's internal debug output. For the non-threaded case, look for
6078 "Program received signal SIGLARM", for the threaded case, peek at
6079 the thread's siginfo.
6080
cc51a170
PA
60812012-02-20 Pedro Alves <palves@redhat.com>
6082
6083 General cleanup, make output test messages unique, and build
6084 different executable files for the non-threaded and threaded
6085 cases.
6086
6087 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
6088 Delete.
6089 (executable_nothr, executable_thr): New globals.
6090 (top level): Adjust to delete both executables.
6091 (corefunc): New parameter $executable. Set $pf_prefix instead of
6092 hand writing a prefix in tests. Issue a clean_restart and enable
6093 lin-lwp debug output here.
6094 (top level): Adjust. Use build_executable. Don't start gdb here,
6095 and don't enable lin-lwp debug output here.
6096 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
6097
c755f03d
JK
60982012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6099
6100 Fix racy FAILs.
6101 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
6102 "continue" command.
6103
6bec5e0a
JK
61042012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6105
6106 Fix for gdbserver non-extended mode.
6107 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
6108 and gdb_run_cmd.
6109
2e8265fd
TT
61102012-02-17 Tom Tromey <tromey@redhat.com>
6111
6112 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
6113 * gdb.python/py-events.exp: Check 'dir' output.
6114 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
6115
9e507076
YQ
61162012-02-17 Yao Qi <yao@codesourcery.com>
6117
6118 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
6119
32d22ab1
TT
61202012-02-16 Tom Tromey <tromey@redhat.com>
6121
6122 * gdb.base/inferior-died.c: Don't include stdio.h.
6123
9addecb9
TT
61242012-02-16 Tom Tromey <tromey@redhat.com>
6125
6126 * gdb.base/inferior-died.c: New file.
6127 * gdb.base/inferior-died.exp: New file.
6128
4cb6da1c
AR
61292012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
6130
6131 * gdb.base/break-inline.exp: New file.
6132 * gdb.base/break-inline.c: New file.
6133
3af2590d
TT
61342012-02-15 Tom Tromey <tromey@redhat.com>
6135
6136 * gdb.base/pc-fp.exp: Add "info register" tests.
6137
29988831
TT
61382012-02-15 Tom Tromey <tromey@redhat.com>
6139
6140 * gdb.base/regs.exp: Remove.
6141
10010058
PA
61422012-02-15 Pedro Alves <palves@redhat.com>
6143
6144 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
6145 the target doesn't support tracepoints.
6146 * gdb.trace/circ.exp: Ditto.
6147 * gdb.trace/collection.exp: Ditto.
6148 * gdb.trace/packetlen.exp: Ditto.
6149 * gdb.trace/passc-dyn.exp: Ditto.
6150 * gdb.trace/report.exp: Ditto.
6151 * gdb.trace/tfind.exp: Ditto.
6152 * gdb.trace/tspeed.exp: Ditto.
6153 * gdb.trace/tsv.exp: Ditto.
6154 * gdb.trace/unavailable.exp: Ditto.
6155 * gdb.trace/while-dyn.exp: Ditto.
6156
a2e0062d
PA
61572012-02-15 Pedro Alves <palves@redhat.com>
6158
6159 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
6160 gdb_test_multiple, and call unsupported instead of fail, if the
6161 remote side does not support the request.
6162
a1999d40
PA
61632012-02-15 Pedro Alves <palves@redhat.com>
6164
6165 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
6166 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
6167 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
6168 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
6169 * gdb.server/server-run.exp: Make sure gdb is disconnected.
6170 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
6171 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
6172 doesn't start with "extended-" already.
6173
7cee1e54
PA
61742012-02-15 Pedro Alves <palves@redhat.com>
6175
6176 Support extended-remote. Avoid cascading timeouts.
6177
6178 * gdb.base/attach.exp (do_attach_tests): Add expected output for
6179 the extended-remote target. If attaching with no file fails, load
6180 the file manually.
6181 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
6182
816338b5
SS
61832012-02-14 Stan Shebs <stan@codesourcery.com>
6184
6185 * gdb.base/ena-dis-br.exp: Add enable count test.
6186
cc30c4bd
PA
61872012-02-13 Pedro Alves <palves@redhat.com>
6188
6189 * config/mips-idt.exp: Delete.
6190 * gdb.base/a2-run.exp: Remove mips-idt xfails.
6191 * gdb.base/bitfields.exp: Remove mips-idt restarts.
6192 * gdb.base/break.exp: Remove mips-idt references.
6193 * gdb.base/chng-syms.exp: Ditto.
6194 * gdb.base/default.exp: Ditto.
6195 * gdb.base/funcargs.exp (funcargs_reload): Delete.
6196 (top level): Don't call it.
6197 * gdb.base/opaque.exp: Remove mips-idt restarts.
6198 * gdb.base/ptype.exp: Remove mips-idt xfails.
6199 * gdb.base/scope.exp: Remove mips-idt restarts.
6200 * gdb.base/sepdebug.exp: Remove mips-idt references.
6201 * gdb.base/watchpoint.exp (maybe_clean_restart)
6202 (maybe_reinitialize): Delete.
6203 (test_disabling_watchpoints, test_disabling_watchpoints)
6204 (test_watchpoint_triggered_in_syscall)
6205 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
6206 Don't call them.
6207
57008375
JK
62082012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6209
6210 * gdb.server/server-exec-info.exp: New file.
6211
4a2d9c08
PA
62122012-02-10 Pedro Alves <palves@redhat.com>
6213
6214 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
6215 always non-empty.
6216 (test_attach): Always pass $exec to test_attach_gdb.
6217
09fa21bd
TT
62182012-02-08 Tom Tromey <tromey@redhat.com>
6219
6220 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
6221 before inferior is started.
6222
f0823d2c
TT
62232012-02-07 Tom Tromey <tromey@redhat.com>
6224
6225 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
6226 Symbol.value.
6227 * gdb.python/py-symbol.c (qq): Set default value.
6228
62292012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
6230
6231 * gdb.python/py-symbol.c (qq): New global.
6232 * gdb.python/py-symbol.exp: Add test for frame-less
6233 lookup_symbol.
6234 * gdb.python/py-symtab.exp: Fix line number.
6235
f7e44f65
JB
62362012-02-03 Joel Brobecker <brobecker@adacore.com>
6237
6238 * gdb.ada/mi_task_arg: New testcase.
6239
4c9ed63c
PA
62402012-02-02 Pedro Alves <palves@redhat.com>
6241
6242 * gdb.reverse/until-precsave.exp: Also put "record save" under the
6243 extended timeout.
6244
c0b9f2c6
PA
62452012-02-02 Pedro Alves <palves@redhat.com>
6246
6247 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
6248 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
6249
5f8cefd7
PA
62502012-02-02 Pedro Alves <palves@redhat.com>
6251
6252 * gdb.base/term.exp: Rewrite.
6253 * gdb.base/term.c: New.
6254
2f3a2569
PA
62552012-02-02 Pedro Alves <palves@redhat.com>
6256
6257 * gdb.base/default.exp (run "r" abbreviation, run): Add
6258 extended-remote expected output.
6259
f149aabd
TT
62602012-02-02 Tom Tromey <tromey@redhat.com>
6261
6262 * gdb.cp/dispcxx.exp: New file.
6263 * gdb.cp/dispcxx.cc: New file.
6264
03bef283
TT
62652012-02-01 Tom Tromey <tromey@redhat.com>
6266
6267 * gdb.base/jit-simple.exp: New file.
6268 * gdb.base/jit-simple.c: New file.
6269
a79b18b5
YQ
62702012-01-30 Yao Qi <yao@codesourcery.com>
6271
6272 * gdb.base/skip.exp: Make test result unique.
6273
f0d1a53e
JK
62742012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6275
6276 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
6277 compatibility with valgrind-3.7.0.
6278
4b3c9f41
PA
62792012-01-27 Pedro Alves <palves@redhat.com>
6280
6281 * gdb.base/watchpoint.exp (no_hw): New global.
6282 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
6283 disable hw watchpoints.
6284 (test_wide_location_1, test_wide_location_2): If no_hw is set,
6285 don't expect hw watchpoints.
6286 (no_hw_watchpoints): Always clean restart.
6287 (do_tests): New procedure, factored out from the top level.
6288 (top level): Run tests twice. Once with hw watchpoints enabled,
6289 another time with hw watchpoints disabled.
6290
a13491c8
PA
62912012-01-27 Pedro Alves <palves@redhat.com>
6292
6293 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
6294 out from the top level.
6295 (top level): Call it instead.
6296
f2c8a051
PA
62972012-01-27 Pedro Alves <palves@redhat.com>
6298
6299 * gdb.base/watchpoint.exp (top level): Re-enable hardware
6300 watchpoints sooner.
6301
654d7a9e
PA
63022012-01-27 Pedro Alves <palves@redhat.com>
6303
6304 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
6305
274f47f3
PA
63062012-01-27 Pedro Alves <palves@redhat.com>
6307
6308 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
6309 "You may have requested too many hardware
6310 breakpoints/watchpoints".
6311
e4d63ba2
PA
63122012-01-27 Pedro Alves <palves@redhat.com>
6313
6314 * gdb.base/watchpoint.exp (maybe_clean_restart)
6315 (maybe_reinitialize): New.
6316 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
6317 expect "hit N times".
6318 (test_disabling_watchpoints, test_complex_watchpoint)
6319 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
6320 Call maybe_clean_restart.
6321 (top level): Use clean_restart. Remove "mips-idt-*"
6322 reinitialization.
6323
dbd95daf
PA
63242012-01-27 Pedro Alves <palves@redhat.com>
6325
6326 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
6327
f3ad2025
PA
63282012-01-27 Pedro Alves <palves@redhat.com>
6329
6330 * gdb.base/watchpoint.exp: Clean restart after tests that don't
6331 require `initialize' anymore. Remove unnecessary `initialize'
6332 calls.
6333
100aa3ae
PA
63342012-01-27 Pedro Alves <palves@redhat.com>
6335
6336 * gdb.base/watchpoint.exp (wp_set): Delete.
6337 (initialize, test_simple_watchpoint, top level): Remove dead code.
6338
c79a8e11
PA
63392012-01-27 Pedro Alves <palves@redhat.com>
6340
6341 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
6342 typo.
6343
048fe15a
PA
63442012-01-27 Pedro Alves <palves@redhat.com>
6345
6346 * config/extended-gdbserver.exp: New file.
6347 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
6348 comment.
6349 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
6350 * boards/native-extended-gdbserver.exp: New file.
6351
4033a6bf
PA
63522012-01-26 Pedro Alves <palves@redhat.com>
6353
6354 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
6355 and gdb_test_multiple.
6356
3d7f4b81
PA
63572012-01-26 Pedro Alves <palves@redhat.com>
6358
6359 Make test messages unique, and more identifiable.
6360 * gdb.multi/watchpoint-multi.exp: Change test messages.
6361
484abf42
TT
63622012-01-25 Tom Tromey <tromey@redhat.com>
6363
6364 * gdb.base/solib-disc.exp: Fix regexps.
6365
edcc5120
TT
63662012-01-24 Tom Tromey <tromey@redhat.com>
6367
6368 * lib/mi-support.exp (mi_expect_stop): Add special case for
6369 solib-event.
6370 * gdb.base/catch-load-so.c: New file.
6371 * gdb.base/catch-load.exp: New file.
6372 * gdb.base/catch-load.c: New file.
6373 * gdb.base/break-interp.exp (reach_1): Update regexp.
6374
30b91c90
JK
63752012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6376
6377 Fix fuzzy results.
6378 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
6379 lpsimple and func.
6380
53fe1783
GB
63812012-01-24 Gary Benson <gbenson@redhat.com>
6382
6383 Delete #if 0'd out code.
6384 * gdb.base/default.exp (info catch): Remove.
6385 * gdb.base/gdb_history (info catch): Likewise.
6386 * gdb.base/help.exp (info catch): Likewise.
6387
d0d8b0c6
JK
63882012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6389
6390 Fix watchpoints to be specific for each inferior.
6391 * gdb.multi/watchpoint-multi.c: New file.
6392 * gdb.multi/watchpoint-multi.exp: New file.
6393
4403d8e9
JK
63942012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6395
6396 Fix watchpoints across inferior fork.
6397 * gdb.threads/watchpoint-fork-child.c: New file.
6398 * gdb.threads/watchpoint-fork-mt.c: New file.
6399 * gdb.threads/watchpoint-fork-parent.c: New file.
6400 * gdb.threads/watchpoint-fork-st.c: New file.
6401 * gdb.threads/watchpoint-fork.exp: New file.
6402 * gdb.threads/watchpoint-fork.h: New file.
6403
050a2e1d
PA
64042012-01-23 Pedro Alves <palves@redhat.com>
6405
6406 * gdb.base/call-signal-resume.exp: Allow output after "return".
6407
6a52fb62
PA
64082012-01-20 Pedro Alves <palves@redhat.com>
6409
6410 * gdb.python/py-finish-breakpoint.py: Fix typo.
6411
145b16a9
UW
64122012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
6413
6414 * gdb.base/info-proc.exp: Also run on remote targets. Main
6415 "info proc" command is now always present; whether target supports
6416 actual info proc operation is detected when attempting to issue
6417 the command.
6418
26f6125e
JK
64192012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6420
6421 * .gdbinit: Remove.
6422
eb5227ce
PA
64232012-01-19 Pedro Alves <palves@redhat.com>
6424
6425 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
6426 look at the funtions' returns.
6427 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
6428 (jprint.print(int, int)): Change return type to int. Adjust.
6429
1db33378
PP
64302012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6431
6432 PR gdb/9538
6433 * gdb.base/sepdebug.exp: New test.
6434
b9736cf8
PA
64352012-01-18 Pedro Alves <palves@redhat.com>
6436
6437 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
6438 Allow output before ^done.
6439
4aac40c8
TT
64402012-01-16 Tom Tromey <tromey@redhat.com>
6441
6442 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
6443 Add tests for relative directory.
6444
cafec441
TT
64452012-01-16 Tom Tromey <tromey@redhat.com>
6446
6447 * gdb.base/printcmds.c (enum flag_enum): New.
6448 (three): New global.
6449 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
6450 enum printing.
6451 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
6452 FlagEnumerationPrinter.
6453 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
6454 * gdb.python/py-pp-maint.c (enum flag_enum): New.
6455 (fval): New global.
6456
abcc4978
PA
64572012-01-16 Pedro Alves <palves@redhat.com>
6458
6459 * lib/gdb.exp (banned_procedures): New variable.
6460 (banned_variables_traced): Rename to ...
6461 (banned_traced): ... this.
6462 (gdb_init): Also trace banned procedures.
6463 (gdb_finish): Also untrace banned procedures.
6464
97ccebe8
PA
64652012-01-16 Pedro Alves <palves@redhat.com>
6466
6467 Remove all calls to strace.
6468
2af7517b
JK
64692012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6470
6471 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
6472 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
6473
9241a8bc
PP
64742012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6475
6476 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
6477 * gdb.base/pie-execl.exp: Likewise.
6478
3848a17f
KS
64792012-01-12 Keith Seitz <keiths@redhat.com>
6480
6481 PR mi/10586
6482 * gdb.mi/var-cmd.c (struct anonymous): New structure.
6483 (do_anonymous_type_tests): New function.
6484 (main): Call do_anonymous_type_tests.
6485 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
6486 (verify_everything): New procedure.
6487 * gdb.mi/mi-var-cp.cc (class A): New class.
6488 (anonymous_structs_and_unions): New function.
6489 (main): Call anonymous_structs_and_unions.
6490 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
6491 (verify_everything): New procedure.
6492
440e2fca
KS
64932012-01-12 Keith Seitz <keiths@redhat.com>
6494
6495 * lib/mi-support.exp: Expand comments about PATH_EXPR.
6496 (varobj_tree::get_path_expr): Assume that all varobjs are
6497 compound unless they are known simple types.
6498 Adjust path expressions based on parent type, path parent type,
6499 and tree language.
6500 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
6501 the root varobj.
6502 (mi_walk_varobj_tree): Add LANGUAGE parameter.
6503
675399c9
PA
65042012-01-11 Pedro Alves <palves@redhat.com>
6505
6506 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
6507 core files on this machine" anymore.
6508
97ddaa9b
PH
65092012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6510
6511 * gdb.base/watchpoint.c (recurser): Initialize local_x.
6512 (main): Repeat recurser call.
6513 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
6514 equivalent to 'local_x'.
6515
ea733575 65162012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6fdff2c5 6517 Joel Brobecker <brobecker@adacore.com>
ea733575
PH
6518
6519 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
6520
2ca0b532
PA
65212012-01-05 Pedro Alves <alves.ped@gmail.com>
6522
6523 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
6524 * gdb.python/py-events.c (first): Add bits for new "step N" test.
6525 * gdb.python/py-events.exp: Test that "step N" tripping on a
6526 breakpoint emits a breakpoint event.
6527
6e681866
JB
65282012-01-03 Joel Brobecker <brobecker@adacore.com>
6529
6530 * gdb.base/auxv.exp: Reformat the copyright notice.
6531
3c2d6aff
YQ
65322012-01-03 Yao Qi <yao@codesourcery.com>
6533
6534 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
6535 (strace_trace_on_diff_addr): New.
6536 * gdb.trace/strace.c: (main): Add two local variables.
6537
0852fee3
UW
65382011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
6539
6540 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
6541 * gdb.cell/gcore.exp: Likewise.
6542 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
6543 to verify the correct instance of main is selected.
6544
12c3e59c
JB
65452012-01-02 Joel Brobecker <brobecker@adacore.com>
6546
6547 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
6548 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
6549 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
6550 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
6551 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
6552 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
6553 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
6554 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
6555 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
6556 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
6557 gdb.threads/thread_check.c: Reformat copyright header.
6558
c0f378ec
EBM
65592011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
6560
e4a7ca93 6561 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
6562 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
6563 is not enabled.
6564
3bc96cfb
JK
65652011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6566
6567 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
6568 parameter to self_exec, adjust the function.
6569 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
6570 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
6571 (set var do_exit = 0): Remove test.
6572 (newline at end of file): Add one.
6573
095bcf5e
JB
65742011-12-27 Joel Brobecker <brobecker@adacore.com>
6575
6576 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
6577 New files.
6578
18d19bd1
JK
65792011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6580
6581 Fix racy FAILs.
6582 * gdb.threads/fork-thread-pending.c (barrier): New variable.
6583 (thread_function, thread_forker): Call pthread_barrier_wait for it.
6584 (main): Call pthread_barrier_init for it.
6585
e809353a
JK
65862011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6587
6588 Fix double send_gdb leading to racy FAILs.
6589 * gdb.base/break.exp (set silent break bp_location1): Replace
6590 3x send_gdb and gdb_expect by gdb_test.
6591 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
6592 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
6593 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
6594 instead of send_gdb. Twice.
6595 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
6596 3x send_gdb and gdb_expect by gdb_test.
6597 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
6598
da8cb7ec
JK
65992011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6600
6601 * gdb.linespec/linespec.exp: Compile using {c++}.
6602
ae1a303e
JK
66032011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6604
6605 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
6606 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
6607 (verify GCC PR debug/51668): New test.
6608
cc72b2a2
KP
66092011-12-23 Kevin Pouget <kevin.pouget@st.com>
6610
6611 Introduce gdb.FinishBreakpoint in Python.
6612 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
6613 py-finish-breakpoint2
6614 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
6615 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
6616 instead of line number.
6617 * gdb.python/py-finish-breakpoint.c: New file.
6618 * gdb.python/py-finish-breakpoint.exp: New file.
6619 * gdb.python/py-finish-breakpoint.py: New file.
6620 * gdb.python/py-finish-breakpoint2.cc: New file.
6621 * gdb.python/py-finish-breakpoint2.exp: New file.
6622 * gdb.python/py-finish-breakpoint2.py: New file.
6623
3b7962f9
JK
66242011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6625
6626 Partial fix of compatibility with gcc-4.7.
6627 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
6628 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
6629 Add comment to add a PASS case in the future.
6630
6538471c
JK
6631 Fix compatibility with gcc-4.7.
6632 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
6633
7052e42c
UW
66342011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
6635
6636 PR tdep/12797
6637 * gdb.base/callfuncs.exp: Remove KFAIL.
6638
9ac7f98e
JB
66392011-12-21 Joel Brobecker <brobecker@adacore.com>
6640
6641 * gdb.ada/task_bp: New testcase.
6642
f6eeced0
JK
66432011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6644
6645 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
6646 -DNO_SECTIONS.
6647 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
6648
72225e17
JK
66492011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6650
6651 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
6652 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
6653 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6654 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
6655 conditional for gcc <= 4.5.
6656
13ac8d2c
JK
66572011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6658
6659 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
6660 by XFAIL.
6661 * gdb.cp/static-method.exp (info addr A::func())
6662 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6663 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6664 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6665 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
6666 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
6667 (test value of F in k3_m): Likewise.
6668 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6669 Likewise.
6670
049682ba
JK
66712011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6672
6673 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
6674 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
6675 Remove.
6676 * gdb.threads/attachstop-mt.c: Remove.
6677 * gdb.threads/attachstop-mt.exp: Remove.
6678
2c9d8796
MK
66792011-12-17 Mark Kettenis <kettenis@gnu.org>
6680
6681 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
6682
e0f9f062
DE
66832011-12-16 Doug Evans <dje@google.com>
6684
f4aa2101 6685 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
6686 * boards/native-gdbserver.exp: New file.
6687
e0f9f062
DE
6688 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
6689 gdbserver output.
6690 (gdbserver_default_get_remote_address): New function.
6691 (gdbserver_start): Call gdb,get_remote_address to compute argument
6692 to "target remote" command.
6693
80b6e756
PM
66942011-12-16 Phil Muldoon <pmuldoon@redhat.com>
6695
1c3ad6ab 6696 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
6697 python print-stack. Add set/show python print-stack
6698 off|full|message tests.
6699
1576bd00
YQ
67002011-12-15 Yao Qi <yao@codesourcery.com>
6701
6702 * gdb.trace/strace.c: New
6703 * gdb.trace/strace.exp: New.
6704
d6a0f6e0
TT
67052011-12-14 Tom Tromey <tromey@redhat.com>
6706
6707 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
6708
31015e1d
DE
67092011-12-14 Doug Evans <dje@google.com>
6710
6711 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
6712
7b50312a
PA
67132011-12-14 Pedro Alves <pedro@codesourcery.com>
6714
6715 PR threads/10729
6716
6717 * gdb.mi/watch-nonstop.c: New file.
6fdff2c5 6718 * gdb.mi/mi-watch-nonstop.exp: New file.
7b50312a 6719
924437bc
PA
67202011-12-13 Pedro Alves <pedro@codesourcery.com>
6721 Doug Evans <dje@google.com>
6722
6723 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
6724 (clean_restart): Remove references to the gdb_stub target board
6725 variable.
6726 (gdb_step_for_stub): Delete.
6727
6728 * gdb.base/annota1.exp: Remove all references to [target_info
6729 exists gdb_stub], gdb_step_for_stub and usestubs.
6730 * gdb.base/annota3.exp: Ditto.
6731 * gdb.base/async.exp: Ditto.
6732 * gdb.base/break.exp: Ditto.
6733 * gdb.base/code-expr.exp: Ditto.
6734 * gdb.base/commands.exp: Ditto.
6735 * gdb.base/completion.exp: Ditto.
6736 * gdb.base/condbreak.exp: Ditto.
6737 * gdb.base/consecutive.exp: Ditto.
6738 * gdb.base/cvexpr.exp: Ditto.
6739 * gdb.base/define.exp: Ditto.
6740 * gdb.base/display.exp: Ditto.
6741 * gdb.base/ena-dis-br.exp: Ditto.
6742 * gdb.base/environ.exp: Ditto.
6743 * gdb.base/gnu-ifunc.exp: Ditto.
6744 * gdb.base/maint.exp: Ditto.
6745 * gdb.base/pending.exp: Ditto.
6746 * gdb.base/sect-cmd.exp: Ditto.
6747 * gdb.base/sepdebug.exp: Ditto.
6748 * gdb.base/unload.exp: Ditto.
6749 * gdb.base/watchpoint-solib.exp: Ditto.
6750 * gdb.cp/annota2.exp: Ditto.
6751 * gdb.cp/annota3.exp: Ditto.
6752 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
6753 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
6754 * gdb.mi/mi-pending.exp: Ditto.
6755 * gdb.trace/circ.exp: Ditto.
6756 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
6757 * gdb.base/list.exp: Ditto.
6758
6759 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
6760 breakpoint function and all references to the usestubs macro.
6761 * gdb.base/exprs.c: Ditto.
6762 * gdb.base/freebpcmd.c: Ditto.
6763 * gdb.base/bitfields.c: Ditto.
6764 * gdb.base/bitfields2.c: Ditto.
6765 * gdb.base/break.c: Ditto.
6766 * gdb.base/call-sc.c: Ditto.
6767 * gdb.base/call-signals.c: Ditto.
6768 * gdb.base/callfuncs.c: Ditto.
6769 * gdb.base/charset.c: Ditto.
6770 * gdb.base/consecutive.c: Ditto.
6771 * gdb.base/constvars.c: Ditto.
6772 * gdb.base/funcargs.c: Ditto.
6773 * gdb.base/int-type.c: Ditto.
6774 * gdb.base/interrupt.c: Ditto.
6775 * gdb.base/langs0.c: Ditto.
6776 * gdb.base/list0.c: Ditto.
6777 * gdb.base/mips_pro.c: Ditto.
6778 * gdb.base/miscexprs.c: Ditto.
6779 * gdb.base/nodebug.c: Ditto.
6780 * gdb.base/opaque0.c: Ditto.
6781 * gdb.base/pointers.c: Ditto.
6782 * gdb.base/printcmds.c: Ditto.
6783 * gdb.base/ptype.c: Ditto.
6784 * gdb.base/recurse.c: Ditto.
6785 * gdb.base/reread1.c: Ditto.
6786 * gdb.base/reread2.c: Ditto.
6787 * gdb.base/restore.c: Ditto.
6788 * gdb.base/return.c: Ditto.
6789 * gdb.base/run.c: Ditto.
6790 * gdb.base/scope0.c: Ditto.
6791 * gdb.base/sepdebug.c: Ditto.
6792 * gdb.base/setshow.c: Ditto.
6793 * gdb.base/setvar.c: Ditto.
6794 * gdb.base/sigall.c: Ditto.
6795 * gdb.base/signals.c: Ditto.
6796 * gdb.base/structs.c: Ditto.
6797 * gdb.base/structs2.c: Ditto.
6798 * gdb.base/testenv.c: Ditto.
6799 * gdb.base/twice.c: Ditto.
6800 * gdb.base/unwindonsignal.c: Ditto.
6801 * gdb.base/watchpoint.c: Ditto.
6802 * gdb.base/watchpoints.c: Ditto.
6803 * gdb.base/whatis.c: Ditto.
6804 * gdb.cp/classes.cc: Ditto.
6805 * gdb.cp/cplusfuncs.cc: Ditto.
6806 * gdb.cp/derivation.cc: Ditto.
6807 * gdb.cp/formatted-ref.cc: Ditto.
6808 * gdb.cp/misc.cc: Ditto.
6809 * gdb.cp/overload.cc: Ditto.
6810 * gdb.cp/ovldbreak.cc: Ditto.
6811 * gdb.cp/ref-params.cc: Ditto.
6812 * gdb.cp/ref-types.cc: Ditto.
6813 * gdb.cp/templates.cc: Ditto.
6814 * gdb.cp/virtfunc.cc: Ditto.
6815 * gdb.hp/gdb.aCC/run.c: Ditto.
6816 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
6817 * gdb.hp/gdb.compat/xdb0.c: Ditto.
6818 * gdb.reverse/consecutive-reverse.c: Ditto.
6819 * gdb.reverse/sigall-reverse.c: Ditto.
6820 * gdb.reverse/until-reverse.c: Ditto.
6821 * gdb.reverse/watch-reverse.c: Ditto.
6822 * gdb.trace/actions.c: Ditto.
6823 * gdb.trace/circ.c: Ditto.
6824 * gdb.trace/collection.c: Ditto.
6825
fabde485
PA
68262011-12-13 Pedro Alves <pedro@codesourcery.com>
6827
6828 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
6829 (func6, func7): New.
6830 (main): Call func6 and func7.
6831 * gdb.base/watchpoint.exp (test_wide_location_1)
6832 (test_wide_location_2): New.
6833 (top level): Re-enable hardware watchpoints if necessary. Call
6834 test_wide_location_1 and test_wide_location_2.
6835
ff7d1690
YQ
68362011-12-11 Yao Qi <yao@codesourcery.com>
6837
6838 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
6839
a6af7abe
JB
68402011-12-11 Joel Brobecker <brobecker@adacore.com>
6841
6842 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
6843 expected output for unsupported case.
6844
61638e15
JK
68452011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6846
6847 PR testsuite/12649
6848 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
6849 Protect gdb_test_multiple by final $gdb_prompt match.
6850
0a00efc3
JK
68512011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6852
6853 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
6854 New variable, new test.
6855 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6856 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6857 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6858 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
6859 them if HAVE_GCC_45682_FIXED is not set.
6860
4511b1ba
YQ
68612011-12-10 Yao Qi <yao@codesourcery.com>
6862
6863 * gdb.trace/status-stop.exp: New.
6864 * gdb.trace/status-stop.c: New.
6865
27949e73
JK
68662011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6867
6868 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
6869 timeout.
6870
d8ea7931
TT
68712011-12-08 Tom Tromey <tromey@redhat.com>
6872
6873 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
6874 condition.
6875
1cc310d2
SS
68762011-12-07 Stan Shebs <stan@codesourcery.com>
6877
6878 * gdb.trace/tfind.exp: Update for output changes.
6879
d482a875
PA
68802011-12-07 Pedro Alves <pedro@codesourcery.com>
6881
6882 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
6883 throws "Cannot insert catchpoints in this configuration".
6884 * gdb.ada/mi_catch_ex.exp: Likewise.
6885
f0ba3972
PA
68862011-12-06 Pedro Alves <pedro@codesourcery.com>
6887
6888 * gdb.base/break-always.exp: Test changing memory at addresses
6889 with breakpoints inserted.
6890
f8eba3c6
TT
68912011-12-06 Joel Brobecker <brobecker@acacore.com>
6892
6fdff2c5
PA
6893 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
6894 involving a fully qualified function name.
f8eba3c6
TT
6895
68962011-12-06 Tom Tromey <tromey@redhat.com>
6897
6898 * gdb.ada/homonym.exp: Add three breakpoint tests.
6899
69002011-12-06 Tom Tromey <tromey@redhat.com>
6901
6902 * gdb.base/solib-weak.exp (do_test): Remove kfail.
6903 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
6904 * gdb.objc/objcdecode.exp: Update for output changes.
6905 * gdb.linespec/linespec.exp: New file.
6906 * gdb.linespec/lspec.cc: New file.
6907 * gdb.linespec/lspec.h: New file.
6908 * gdb.linespec/body.h: New file.
6909 * gdb.linespec/base/two/thefile.cc: New file.
6910 * gdb.linespec/base/one/thefile.cc: New file.
6911 * gdb.linespec/Makefile.in: New file.
6912 * gdb.cp/templates.exp (test_template_breakpoints): Update for
6913 output changes.
6914 * gdb.cp/re-set-overloaded.exp: Remove kfail.
6915 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
6916 makes one breakpoint.
6917 * gdb.cp/method2.exp (test_break): Update for output changes.
6918 * gdb.cp/mb-templates.exp: Update for output changes.
6919 * gdb.cp/mb-inline.exp: Update for output changes.
6920 * gdb.cp/mb-ctor.exp: Update for output changes.
6921 * gdb.cp/ovsrch.exp: Use fully-qualified names.
6922 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
6923 has multiple matches.
6924 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
6925 error message change.
6926 * gdb.base/list.exp (test_list_filename_and_number): Update for
6927 error message change.
6928 * gdb.base/break.exp: Disable pending breakpoints. Update for
6929 output changes.
6930 * configure.ac: Add gdb.linespec.
6931 * configure: Rebuild.
6932 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
6933
c642a434
UW
69342011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
6935
6936 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
6937 last_break register on s390*-*-* targets.
6938
b18003d1
JB
69392011-12-06 Joel Brobecker <brobecker@adacore.com>
6940
6941 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
6942 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
6943 of parameter X in procedure Foo.
6944
fe96589c
SS
69452011-12-05 Stan Shebs <stan@codesourcery.com>
6946
6947 * gdb.trace/tfind.exp: Update help string matches.
6948
1820ab47
JK
69492011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6950
6951 * gdb.server/ext-run.exp (get process list): Accept also systemd
6952 as PID 1.
6953
e11ac3a3
JK
69542011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6955 Pedro Alves <pedro@codesourcery.com>
6956
6957 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
6958 starting GDB.
6959 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
6960 $use_gdb_stub.
6961 * gdb.base/display.exp: Likewise.
6962 * gdb.base/ending-run.exp: Likewise.
6963 * gdb.base/list.exp (test_listsize): Likewise.
6964 * gdb.base/setshow.exp: Likewise.
6965 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
6966 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
6967 check by global $use_gdb_stub.
6968 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
6969 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
6970 (default_gdb_init): Unset global $use_gdb_stub.
6971 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
6972 by global $use_gdb_stub.
6973 * lib/gdbserver-support.exp: Extend comments for set_board_info
6974 gdb_protocol and gdb,socketport.
6975 (gdbserver_start_extended): Set global gdbserver_protocol and
6976 gdbserver_gdbport. Clear global use_gdb_stub.
6977 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
6978 from target use_gdb_stub.
6979 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
6980
1d41d75c
DE
69812011-12-03 Doug Evans <dje@google.com>
6982
6983 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
6984 (gdb_step_for_stub): Add comments.
6985
d6d7a51a
MR
69862011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
6987
6988 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
6989 to the caller.
6990 (gdb_test_multiple): Likewise.
6991
05acf274
JK
69922011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6993
6994 Fix gdb.mi/mi-solib.exp without system debug info installed.
6995 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
6996 expect attribute, return 0 for it. Update comments.
6997
2268b414
JK
69982011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6999
7000 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
7001 (corrupted list): Adjust the expectation.
7002
585861ea
JK
70032011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7004
7005 PR threads/13448
7006 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
7007 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
7008 * gdb.threads/tls-var-main.c: New file.
7009 * gdb.threads/tls-var.c: New file.
7010 * gdb.threads/tls-var.exp: New file.
7011
968643aa
JK
70122011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7013
7014 PR testsuite/12649
7015 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
7016 Protect gdb_test_multiple by final $gdb_prompt match.
7017 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
7018 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
7019 (test_tracepoints): Likewise.
7020
9750bca9
JK
70212011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7022
7023 PR breakpoints/13346
7024 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
7025 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
7026 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
7027
ac1349b7
JB
70282011-12-01 Joel Brobecker <brobecker@adacore.com>
7029
7030 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
7031 * gdb.ada/homonym/homonym.adb: For use of all types defined
7032 locally inside both Get_Value subprograms.
7033
26d44faf
JK
70342011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7035
7036 Fix racy FAILs.
7037 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
7038 of send_gdb.
7039
514f6425
UW
70402011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7041
7042 * gdb.base/testenv.exp: Skip on remote targets. Unset global
7043 environment variable after test completed.
7044
4255c8d2
UW
70452011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7046
7047 * gdb.base/solib-nodir.exp: Skip if remote target.
7048 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
7049 application. Call gdb_load_shlibs.
7050 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
7051
a35ad96a
JB
70522011-11-29 Joel Brobecker <brobecker@adacore.com>
7053
7054 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
7055
1a1d5513
JB
70562011-11-28 Joel Brobecker <brobecker@adacore.com>
7057
7058 * gdb.ada/fullname_bp: New testcase.
7059
50b4ddf8
JK
70602011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7061
7062 PR testsuite/12649
7063 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
7064 Wrap send_gdb into a new gdb_test.
7065
fb0aec57
JK
7066 Code cleanup.
7067 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
7068 Convert send_gdb and gdb_expect to gdb_test_multiple.
7069
2376d946
JK
70702011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7071
7072 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
7073
1eec78bd
KS
70742011-11-23 Keith Seitz <keiths@redhat.com>
7075
7076 * lib/mi-support.exp (varobj_tree): New namespace and procs.
7077 (mi_varobj_tree_test_children_callback): New proc.
7078 (mi_walk_varobj_tree): New proc.
7079
36dfb11c
TT
70802011-11-22 Tom Tromey <tromey@redhat.com>
7081
7082 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
7083 Add "use_mi_command" argument.
7084 (mi_run_cmd, mi_run_with_cli): New procs.
7085 * gdb.mi/solib-lib.c: New file.
7086 * gdb.mi/solib-main.c: New file.
7087 * gdb.mi/mi-solib.exp: New file.
7088
0e965dd0
DE
70892011-11-21 Doug Evans <dje@google.com>
7090
7091 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
7092 _Unwind_DebugHook is missing.
7093
f196051f
SS
70942011-11-20 Stan Shebs <stan@codesourcery.com>
7095
7096 * gdb.trace/tstatus.exp: New.
7097 * gdb.trace/actions.c: Include string.h.
7098
bfccc43c
YQ
70992011-11-18 Yao Qi <yao@codesourcery.com>
7100
7101 * gdb.trace/pending.exp: New.
7102 * gdb.trace/pending.c: New.
7103 * gdb.trace/pendshr1.c: New.
7104 * gdb.trace/pendshr2.c: New.
7105 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
7106 tracepoint location becomes pending.
7107 (tracepoint_change_loc_2): New.
7108
73cd8ab1
DM
71092011-11-16 David S. Miller <davem@davemloft.net>
7110
7111 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
7112 target is sparc*-*-linux*
7113
77426730
PK
71142011-11-15 Paul Koning <paul_koning@dell.com>
7115
7116 * gdb.python/py-type.exp: New testcases for exceptions on scalar
7117 types.
7118
ed59ded5
DE
71192011-11-14 Doug Evans <dje@google.com>
7120
7121 * gdb.base/shell.exp: New file.
7122
405f8e94
SS
71232011-11-14 Stan Shebs <stan@codesourcery.com>
7124
7125 * gdb.trace/ftrace.c: New.
7126 * gdb.trace/ftrace.exp: New.
7127
1e4d1764
YQ
71282011-11-14 Yao Qi <yao@codesourcery.com>
7129
7130 * gdb.trace/change-loc-1.c: New.
7131 * gdb.trace/change-loc-2.c: New.
7132 * gdb.trace/change-loc.c: New.
7133 * gdb.trace/change-loc.exp: New.
7134 * gdb.trace/change-loc.h: New.
7135 * gdb.trace/trace-break.c (marker): Define new symbol.
7136 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6fdff2c5 7137 New.
1e4d1764
YQ
7138 (break_trace_same_addr_6): New.
7139
71eba9c2 71402011-11-12 Matt Rice <ratmice@gmail.com>
7141
7142 * gdb.base/info-macros.exp: Make tests for info definitions
7143 test info macro. Add tests for info macro argument processing.
7144 Rename a few tests.
7145
1d93e29a
KS
71462011-11-11 Keith Seitz <keiths@redhat.com>
7147
7148 PR gdb/12843
7149 * gdb.base/linespecs.exp: New file.
7150
a4b5b48a
DE
71512011-11-11 Doug Evans <dje@google.com>
7152
7153 * gdb.threads/print-threads.exp: Extend timeout for slower
7154 tests.
7155
f6b47be4
DE
71562011-11-10 Doug Evans <dje@google.com>
7157
792a0230
DE
7158 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
7159 "record to end of main" test.
7160
f6b47be4
DE
7161 * gdb.python/py-type.c (TS): New typedef.
7162 (ts): New global.
7163 * gdb.python/py-type.exp: Test field list of typedef.
7164
22355c90
JB
71652011-11-10 Joel Brobecker <brobecker@adacore.com>
7166
7167 * gdb.ada/small_reg_param: New testcase.
7168
a7860e76
TT
71692011-11-09 Tom Tromey <tromey@redhat.com>
7170
7171 * gdb.cp/destrprint.exp: New file.
7172 * gdb.cp/destrprint.cc: New file.
7173
72a2e3dc
MI
71742011-11-08 Meador Inge <meadori@codesourcery.com>
7175
7176 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
7177 (switch_stack_to_other): New test function.
7178 * gdb.arch/thumb-prologue.exp: New test cases.
7179
c7195df2 71802011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
7181
7182 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
7183
d3895d7d
YQ
71842011-11-08 Yao Qi <yao@codesourcery.com>
7185
7186 * gdb.exp (supports_process_record): New.
7187 (supports_reverse): New.
7188 * gdb.reverse/break-precsave.exp: Call support_process_record
7189 to run test conditionally.
7190 * gdb.reverse/consecutive-precsave.exp: Likewise.
7191 * gdb.reverse/i386-precsave.exp: Likewise.
7192 * gdb.reverse/machinestate-precsave.exp: Likewise.
7193 * gdb.reverse/solib-precsave.exp: Likewise.
7194 * gdb.reverse/step-precsave.exp: Likewise.
7195 * gdb.reverse/until-precsave.exp: Likewise.
7196 * gdb.reverse/watch-precsave.exp: Likewise.
7197 * gdb.reverse/break-reverse.exp: Call support_reverse to run
7198 test conditionally.
7199 * gdb.reverse/consecutive-reverse.exp: Likewise.
7200 * gdb.reverse/finish-precsave.exp: Likewise.
7201 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
7202 * gdb.reverse/finish-reverse.exp: Likewise.
7203 * gdb.reverse/i386-reverse.exp: Likewise.
7204 * gdb.reverse/i386-sse-reverse.exp: Likewise.
7205 * gdb.reverse/machinestate.exp: Likewise.
7206 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
7207 * gdb.reverse/sigall-precsave.exp: Likewise.
7208 * gdb.reverse/sigall-reverse.exp: Likewise.
7209 * gdb.reverse/solib-reverse.exp: Likewise.
7210 * gdb.reverse/step-reverse.exp: Likewise.
7211 * gdb.reverse/until-reverse.exp: Likewise.
7212 * gdb.reverse/watch-reverse.exp: Likewise.
7213
a59306a3
YQ
72142011-11-05 Yao Qi <yao@codesourcery.com>
7215
7216 * gdb.trace/trace-break.exp: Add test on setting two
7217 fast tracepoints at the same address.
7218
87769f59
JK
72192011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7220
7221 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
7222
3065dfb6
SS
72232011-11-02 Stan Shebs <stan@codesourcery.com>
7224
7225 * gdb.trace/collection.c: Add code using strings.
7226 * gdb.trace/collection.exp: Add tests of string collection.
7227
89e208db
JK
72282011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7229
7230 * gdb.base/skip-solib.exp (executable_main): New variable.
7231 (binfile_main): Base it on that.
7232 Use $executable_main in clean_restart calls. Drop gdb_exit and
7233 gdb_start calls.
7234
405e54e9
JK
72352011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7236
7237 Fix racy FAILs.
7238 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
7239 breakpoint_re globals import by async. Set string_regex to .* for
7240 async. Remove the optional thread_selected_re and breakpoint_re
7241 globals expectations.
7242
58e8570a
JM
72432011-11-01 Joseph Myers <joseph@codesourcery.com>
7244
7245 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
7246 well as Cygwin.
7247
7b35ec7f 72482011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
7249
7250 Add tests for skip command.
89e208db
JK
7251 * gdb.base/skip-solib-lib.c: New
7252 * gdb.base/skip-solib-main.c: New
7253 * gdb.base/skip-solib.exp: New
7254 * gdb.base/skip.c: New
7255 * gdb.base/skip.exp: New
7256 * gdb.base/skip1.c: New
7257 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 7258
b9fd1791
PA
72592011-10-31 Yao Qi <yao@codesourcery.com>
7260 Pedro Alves <pedro@codesourcery.com>
7261
6fdff2c5
PA
7262 * gdb.trace/trace-break.c: New.
7263 * gdb.trace/trace-break.exp: New.
b9fd1791 7264
4323fecc
JK
72652011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7266
7267 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
7268 break-here-2.
7269
0e5bf2a8
PA
72702011-10-28 Pedro Alves <pedro@codesourcery.com>
7271
7272 * gdb.threads/no-unwaited-for-left.c: New.
7273 * gdb.threads/no-unwaited-for-left.exp: New.
7274 * gdb.threads/non-ldr-exc-1.c: New.
7275 * gdb.threads/non-ldr-exc-1.exp: New.
7276 * gdb.threads/non-ldr-exc-2.c: New.
7277 * gdb.threads/non-ldr-exc-2.exp: New.
7278 * gdb.threads/non-ldr-exc-3.c: New.
7279 * gdb.threads/non-ldr-exc-3.exp: New.
7280 * gdb.threads/non-ldr-exc-4.c: New.
7281 * gdb.threads/non-ldr-exc-4.exp: New.
7282
3a3dad98
JK
72832011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7284
7285 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
7286 * gdb.base/attach-pie-misread.exp: Likewise.
7287 * gdb.base/break-interp.exp: Likewise.
7288 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
7289 testcases for use_gdb_stub.
7290 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
7291 (continue): New testcase.
7292 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
7293 * gdb.threads/attach-into-signal.exp: Likewise.
7294 * gdb.threads/attach-stopped.exp: Likewise.
7295 * gdb.threads/attachstop-mt.exp: Likewise.
7296
d6a5d40c
PK
72972011-10-28 Paul Koning <paul_koning@dell.com>
7298
7299 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
7300
ca539be8
JK
73012011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7302
7303 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
7304 (mi_gdb_test): Import globals thread_selected_re
7305 and breakpoint_re. Expect them optionally at the regex start.
7306
d234ef5c
DE
73072011-10-27 Doug Evans <dje@google.com>
7308
7309 * gdb.python/python.exp: Test source -s.
7310
ab964825
PK
73112011-10-26 Paul Koning <paul_koning@dell.com>
7312
7313 * gdb.python/lib-types.cc (struct A): New structure.
7314 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 7315
54d8a644
PK
73162011-10-25 Paul Koning <paul_koning@dell.com>
7317
7318 PR python/13327
d234ef5c 7319
54d8a644
PK
7320 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
7321 fetch_lazy method.
7322
b0221781
YQ
73232011-10-24 Yao Qi <yao@codesourcery.com>
7324
7325 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
7326 target is tic6x-*-*.
7327
6cda5a20
JB
73282011-10-21 Joel Brobecker <brobecker@adacore.com>
7329
7330 * gdb.ada/mi_task_info/task_switch.adb: New file.
7331 * gdb.ada/mi_task_info.exp: New file.
7332
5ed9db04
JK
73332011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7334
7335 * gdb.cp/expand-psymtabs-cxx.exp: New file.
7336 * gdb.cp/expand-psymtabs-cxx.cc: New file.
7337
9df2fbc4
PM
73382011-10-20 Phil Muldoon <pmuldoon@redhat.com>
7339
7340 PR python/12656
7341
7342 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
7343 global_block tests.
7344
736086ba
TT
73452011-10-18 Tom Tromey <tromey@redhat.com>
7346
7347 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
7348
4af31552
TT
73492011-10-18 Tom Tromey <tromey@redhat.com>
7350
7351 * gdb.base/source.exp: Don't include full file name in test name.
7352 * gdb.python/python.exp: Don't include full file name in test
7353 name.
7354
43136979
AR
73552011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7356
7357 * gdb.base/attach-pie-noexec.c: New files.
7358 * gdb.base/attach-pie-noexec.exp: New files.
7359
543a9323
JM
73602011-10-17 Joseph Myers <joseph@codesourcery.com>
7361
7362 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
7363 prompt for each extra line in command.
7364
21ae7a4d
JK
73652011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7366
7367 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
7368 Revert the part of:
7369 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7370 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7371 Change the expected string.
7372
20ec36d9
JK
73732011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7374
7375 Fix results with system glibc debug info installed.
7376 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
7377 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
7378 Accept also __libc_ symbol prefix and no prefix.
7379
6501c2fc
KS
73802011-10-14 Keith Seitz <keiths@redhat.com>
7381
7382 PR c++/13225
7383 * gdb.cp/converts.cc (foo3_1): New function.
7384 (foo3_2): New functions.
7385 * gdb.cp/converts.exp: Add tests for int to pointer conversion
7386 and null pointer conversions of integer constant zero.
7387 Add test to check if all arguments are checked for incompatible
7388 conversion BADNESS.
7389
55b1fd0c
TT
73902011-10-14 Tom Tromey <tromey@redhat.com>
7391
7392 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
7393 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
7394 linespec.
7395
22c05d8a
JK
73962011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7397
7398 Fix internal error regression.
7399 * gdb.dwarf2/implptr-optimized-out.S: New file.
7400 * gdb.dwarf2/implptr-optimized-out.exp: New file.
7401
1d6edc3c
JK
74022011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7403
7404 Fix empty DWARF expressions DATA vs. SIZE conditionals.
7405 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
7406 (loclist): New.
7407 (4): New abbrev.
7408 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
7409 Use prepare_for_testing, remove clean_restart.
7410 (p arraynoloc, p arraycallnoloc): New tests.
7411
9ec72168
JK
74122011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7413
7414 * gdb.cp/namespace-enum.exp (executable): New variable.
7415 (binfile): Use ${objdir}/${subdir}/ prefix.
7416 Use ${executable} for clean_restart.
7417
9c6c53f7
SA
74182011-10-11 Sterling Augustine <saugustine@google.com>
7419
7420 * gdb.cp/Makefile.in: Add namespace-enum test.
7421 * gdb.cp/namespace-enum.exp: New file.
7422 * gdb.cp/namespace-enum.c: New file.
7423 * gdb.cp/namespace-enum-main.c: New file.
7424
fac7ceb3
UW
74252011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
7426
7427 * gdb.python/py-shared.exp: Relax filename check to handle remote:
7428 sysroot.
7429
941b2081
JK
74302011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7431
7432 Reimplement @entry in input expressions.
7433 * gdb.base/exprs.c (v_int_array_init): New variable.
7434 * gdb.base/exprs.exp (print v_int_array_init)
7435 (print *v_int_array_init@1, print *v_int_array_init@2)
7436 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
7437 (print v_int_array_init[1]@1): New tests.
7438
0344e878
JM
74392011-10-10 Joseph Myers <joseph@codesourcery.com>
7440
7441 * gdb.cp/gdb2495.exp: Do not include directories in filename in
7442 expected message.
7443
5a56e9c5
DE
74442011-10-09 Doug Evans <dje@google.com>
7445
7446 * gdb.base/alias.exp: Add tests for alias command.
7447
2bda9cc5
JK
74482011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7449
7450 * gdb.arch/amd64-entry-value.s: New file.
7451 * gdb.mi/mi2-amd64-entry-value.s: New file.
7452
a471c594
JK
74532011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7454
7455 Display @entry parameter values even for references.
7456 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
7457 functions.
7458 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
7459 reference and datap_input.
7460 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
7461 breakpoints.
7462 (continue to breakpoint: entry_reference: reference)
7463 (entry_reference: bt at entry)
7464 (continue to breakpoint: entry_reference: breakhere_reference)
7465 (entry_reference: bt, entry_reference: ptype regparam)
7466 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
7467 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
7468 (entry_reference: p regcopy, entry_reference: p nodataparam)
7469 (entry_reference: p nodataparam@entry): New tests.
7470
36b11add
JK
74712011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7472
7473 Support @entry in input expressions.
7474 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
7475 (entry_stack: p s1@entry, entry_stack: p s2@entry)
7476 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
7477 (tailcall: p j@entry): New tests.
7478 * gdb.cp/koenig.cc (A::entry): New function.
7479 (main): Call it.
7480 * gdb.cp/koenig.exp (p entry (c)): New test.
7481
e18b2753
JK
74822011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7483
7484 Display @entry parameter values (without references).
7485 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
7486 (different, validity, invalid): New functions.
7487 (main): Call them.
7488 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
7489 stacktest, breakhere_stacktest, different, breakhere_different,
7490 breakhere_validity and breakhere_invalid.
7491 (entry: bt): Update for @entry.
7492 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
7493 (entry_validity: *, entry_invalid: *): Many new tests.
7494 * gdb.base/break.exp
7495 (run until breakpoint set at small function, optimized file): Accept
7496 also the @entry suffix.
7497 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
7498 * gdb.mi/mi2-amd64-entry-value.c: New files.
7499 * gdb.mi/mi2-amd64-entry-value.exp: New files.
7500
2d6c5dc2
JK
75012011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7502
7503 Protect entry values against self tail calls.
7504 * gdb.arch/amd64-entry-value.cc (self2, self): New.
7505 (main): Call self.
7506 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
7507 (set debug entry-values 1, self: bt debug entry-values): New tests.
7508
111c6489
JK
75092011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7510
7511 Recognize virtual tail call frames.
7512 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
7513 (amb_b, amb_a): New.
7514 (main): Call a and b.
7515 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
7516 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
7517 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
7518 New tests.
7519
8e3b41a9
JK
75202011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7521
7522 Implement basic support for DW_TAG_GNU_call_site.
7523 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
7524 * gdb.arch/amd64-entry-value.cc: New file.
7525 * gdb.arch/amd64-entry-value.exp: New file.
7526
181cebd4
JK
75272011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7528
7529 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
7530 * gdb.dwarf2/implptr-64bit.S: New file.
7531 * gdb.dwarf2/implptr-64bit.exp: New file.
7532
741f5e3c
JK
75332011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7534
7535 Fix initial language detection with -readnow.
7536 * gdb.cp/readnow-language.cc: New file.
7537 * gdb.cp/readnow-language.exp: New file.
7538
a73d2258
JK
75392011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7540
7541 Fix printed anonymous struct name.
7542 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
7543
af369495
JM
75442011-10-09 Joseph Myers <joseph@codesourcery.com>
7545
7546 * gdb.base/solib-symbol.exp: Do not include directories in
7547 filenames in expected messages.
7548
1fa57852
DE
75492011-10-07 Doug Evans <dje@google.com>
7550
7551 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
7552
bd054e06
KP
75532011-10-07 Kevin Pouget <kevin.pouget@st.com>
7554
7555 Allow Python notification of new object-file loadings.
7556 * gdb.python/py-events.exp: Test newobjfile event.
7557 * gdb.python/py-events.py: Register newobjfile callback.
7558 * gdb.python/py-events.c: Add call to shared library
7559 * gdb.python/py-events-shlib.c: New file.
7560
8031b6f8
JM
75612011-10-06 Joseph Myers <joseph@codesourcery.com>
7562
7563 * gdb.base/fixsection.exp: Do not include directories in filename
7564 in expected message.
7565
7fea6923
PM
75662011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7567
7568 Add tests for passing of environment variables to inferior.
7569 * gdb.base/testenv.c: New test source.
7570 * gdb.base/testenv.exp: New expect test.
7571
687f2a88
PK
75722011-10-04 Paul Koning <paul_koning@dell.com>
7573
7574 * gdb.python/py-value.c (main): Break before return.
7575
cb6be26b
KP
75762011-10-04 Kevin Pouget <kevin.pouget@st.com>
7577
7578 PR python/12691: Add the inferior to Python exited event
7579 * gdb.python/py-events.exp: Test the inferior attribute of exited
7580 event with a fork.
7581 * gdb.python/py-events.py: Print inferior number on exit.
7582 * gdb.python/py-events.c: Fork the inferior.
7583
fb213700
EBM
75842011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
7585
7586 * gdb.base/jit.exp: Add testcase name to log message
7587
aa2071bd
PK
75882011-10-03 Paul Koning <paul_koning@dell.com>
7589 Jan Kratochvil <jan.kratochvil@redhat.com>
7590
7591 * gdb.python/py-value.exp
7592 (python inval = gdb.parse_and_eval('*(int*)0'))
7593 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
7594 (set argc=2, python print argc_lazy): New tests.
7595
dd11a36c
JB
75962011-10-02 Joel Brobecker <brobecker@adacore.com>
7597
7598 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
7599
46f886f1
JK
76002011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7601 Pedro Alves <pedro@codesourcery.com>
7602
7603 * gdb.python/py-value.exp (test_value_in_inferior): New variable
7604 can_read_0, test for it.
7605 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
7606 (parse_and_eval with memory error): ... here, make it untested if
7607 can_read_0.
7608
c5cb204f
MP
76092011-09-30 Marek Polacek <mpolacek@redhat.com>
7610
7611 * gdb.python/python.exp (verify pagination beforehand)
7612 (verify pagination afterwards): Fix race by splitting the line.
7613
68fb0ec0
JM
76142011-09-29 Joseph Myers <joseph@codesourcery.com>
7615
7616 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
7617 for 64-bit multilibs from i?86-* targets.
7618
6aee0d90
MP
76192011-09-29 Marek Polacek <mpolacek@redhat.com>
7620
7621 * lib/gdb.exp: Fix a typo in one of the comments.
7622
e9101ff5
MP
76232011-09-29 Marek Polacek <mpolacek@redhat.com>
7624
7625 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
7626 matching pattern.
7627
7a81bdbf
PK
76282011-09-28 Paul Koning <paul_koning@dell.com>
7629
7630 * gdb.python/py-type.c (enum E): New.
7631 * gdb.python/py-type.exp (test_fields): Add tests for Python
7632 mapping access to fields.
7633 (test_enums): New test for field access on enums.
7634
6710bf39
SS
76352011-09-27 Stan Shebs <stan@codesourcery.com>
7636
7637 * gdb.trace/collection.exp: Test collection of $_ret.
7638
b2a6bdeb
AT
76392011-09-22 Andreas Tobler <andreast@fgznet.ch>
7640
7641 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
7642 list of compilation switches for <*-*-freebsd*>.
7643
3c9057f3
SS
76442011-09-19 Stan Shebs <stan@codesourcery.com>
7645
7646 * gdb.trace/tspeed.exp: New file.
7647 * gdb.trace/tspeed.c: New file.
7648
34518530
YQ
76492011-09-18 Yao Qi <yao@codesourcery.com>
7650
7651 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
7652 instructions.
7653 (test_adr_32bit, test_pop_pc): Likewise.
7654 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
7655 Thumb instructions.
7656 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
7657 in gdb_test_multiple.
7658 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
7659
ab254057
YQ
76602011-09-17 Yao Qi <yao@codesourcery.com>
7661
7662 * lib/gdb.exp (can_single_step_to_signal_handler): New.
7663 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
7664 support single step to signal handler.
7665
9c317b71
YQ
76662011-09-17 Yao Qi <yao@codesourcery.com>
7667
7668 * gdb.base/disp-step-fork.c: New.
7669 * gdb.base/disp-step-syscall.exp: New.
7670 * gdb.base/disp-step-vfork.c: New.
7671
a8123151
JB
76722011-09-16 Joel Brobecker <brobecker@adacore.com>
7673
7674 * gdb.ada/tasks.exp: Make the expected output for
7675 the `info tasks' tests more resilient to spacing
7676 changes.
7677
63a9aad8
JK
76782011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7679
7680 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
7681 (reached breakpoint 2, reached breakpoint 3): Update expected output.
7682
2aa48337
KP
76832011-09-15 Kevin Pouget <kevin.pouget@st.com>
7684
7685 PR Python/12692 Add gdb.selected_inferior() to Python interface.
7686 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
7687
6839b47f
KP
76882011-04-30 Kevin Pouget <kevin.pouget@st.com>
7689
7690 Handle multiple breakpoint hits in Python interface:
7691 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
7692 presence.
7693 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
7694 breakpoint hits.
7695
0935723e
JK
76962011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
7697 Jan Kratochvil <jan.kratochvil@redhat.com>
7698
7699 * gdb.python/py-events.exp: Remove pretty printing comment.
7700 * gdb.python/py-evsignal.exp: New file.
7701 * gdb.python/py-evthreads.c: Include signal.h.
7702 (thread3): Remove variable count3. Remove variable bad and use raise
7703 instead.
7704 (thread2): Remove variable count2. Move thread3 pthread_create here,
7705 merge pthread_join to a single line.
7706 (main): Remove variable count1. Merge pthread_join with pthread_create
7707 to a single line.
7708 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
7709 KFAIL python/12966 for gdbserver. Test return value of
7710 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
7711 gdb_expect by gdb_test and gdb_test_multiple.
7712 (thread 2, thread 3): New tests.
7713
4801a9a3
PA
77142011-09-12 Matt Rice <ratmice@gmail.com>
7715 Pedro Alves <pedro@codesourcery.com>
7716
7717 PR gdb/13175
7718
7719 * gdb.base/interp.exp: New tests.
7720 * gdb.base/interp.c: New file.
7721
24ece742
DE
77222011-09-12 Doug Evans <dje@google.com>
7723
7724 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
7725 * gdb.dwarf2/typeddwarf.exp: Ditto.
7726
7f062217
JK
77272011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7728
7729 Fix compatibility with x32 arch.
7730 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
7731 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
7732 is_x86_like_target.
7733 * testsuite/gdb.trace/collection.exp: Likewise.
7734 * testsuite/gdb.trace/report.exp: Likewise.
7735 * testsuite/gdb.trace/unavailable.exp: Likewise.
7736 * testsuite/gdb.trace/while-dyn.exp: Likewise.
7737 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
7738 (is_x86_like_target): Check also is_amd64_regs_target.
7739
08711b9a
JK
77402011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7741
7742 PR breakpoints/12435
7743 * gdb.arch/amd64-prologue-xmm.c: New file.
7744 * gdb.arch/amd64-prologue-xmm.exp: New file.
7745 * gdb.arch/amd64-prologue-xmm.s: New file.
7746
b99b5f66
JK
77472011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7748
7749 * gdb.dwarf2/dw2-param-error-main.c: New file.
7750 * gdb.dwarf2/dw2-param-error.S: New file.
7751 * gdb.dwarf2/dw2-param-error.exp: New file.
7752
a391a2f6
PA
77532011-09-08 Pedro Alves <pedro@codesourcery.com>
7754
7755 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
7756 inferior's pid and look for a core dump named core.$pid. Use
7757 `remote_file' commands on the host instead of hand coding shell
7758 commands on the build.
7759 * gdb.base/valgrind-db-attach.exp: Kill the program before
7760 finishing the test.
7761
7d8e6458 77622011-09-02 Matt Rice <ratmice@gmail.com>
7763
7764 * lib/prompt.exp: New file for testing the first prompt.
7765 * gdb.python/py-prompt.exp: Ditto.
7766 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
7767
68e77c9e
PA
77682011-09-02 Pedro Alves <pedro@codesourcery.com>
7769
7770 * gdb.threads/gcore-thread.exp: Set the global core_supported to
7771 0, before testing gcore.
7772
9655e943
JK
77732011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7774
df6dc84d
JK
7775 * dw2-ifort-parameter-debug.S: Update copyright year.
7776 * dw2-ifort-parameter.c: Update copyright year.
7777 * dw2-ifort-parameter.exp: Update copyright year.
7778
9655e943
JK
7779 * dw2-ifort-parameter-debug.S: New file.
7780 * dw2-ifort-parameter.c: New file.
7781 * dw2-ifort-parameter.exp: New file.
7782
353d1d73
JK
77832011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7784
7785 * gdb.base/commands.exp (error_clears_commands_left): New function.
7786 (): Call it.
7787
5c07461a
JK
77882011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7789
7790 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
7791 (C): Initialize `a'.
7792 * gdb.mi/mi-inheritance-syntax-error.exp
7793 (-data-evaluate-expression $path): Expect `a' as 5.
7794
0d932b2f
MK
77952011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
7796
7797 PR mi/11912
7798 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
7799 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
7800 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
7801 keyword in output of -var-info-path-expression.
7802
bdb54049
JK
78032011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7804
7805 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
7806 * gdb.trace/collection.exp: Likewise.
7807 * gdb.trace/report.exp: Likewise.
7808 * gdb.trace/unavailable.exp: Likewise.
7809 * gdb.trace/while-dyn.exp: Likewise.
7810
59cde39c
KS
78112011-08-18 Keith Seitz <keiths@redhat.com>
7812
7813 PR c++/12266
7814 * gdb.cp/meth-typedefs.cc: New file.
7815 * gdb.cp/meth-typedefs.exp: New file.
7816
fa3a4f15
PM
78172011-08-17 Phil Muldoon <pmuldoon@redhat.com>
7818
6fdff2c5 7819 * gdb.python/python.exp: Add extended-prompt tests.
fa3a4f15 7820
c1049fca
JK
78212011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7822
7823 * gdb.arch/i386-dr3-watch.exp
7824 (watchpoint on gap1 does not fit debug registers)
7825 (delete all watchpoints): Fix racy expect strings.
7826
d93f7b5c
YQ
78272011-08-14 Yao Qi <yao@codesourcery.com>
7828
7829 * gdb.base/maint.exp: set data_section to ".neardata".
7830 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
7831 * gdb.base/savedregs.exp: Handle SIGILL.
7832 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
7833 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
7834
457e09f0
DE
78352011-08-12 Doug Evans <dje@google.com>
7836
7837 * gdb.python/py-symbol.exp: Add test for symbol.type.
7838
5d0bb2fb
UW
78392011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
7840
7841 * gdb.threads/pthreads.exp: Enable on non-native configurations.
7842 * gdb.mi/mi-pthreads.exp: Likewise.
7843 * gdb.mi/mi2-pthreads.exp: Likewise.
7844 * gdb.mi/gdb669.exp.exp: Likewise.
7845
fcdfa280
PA
78462011-08-09 Pedro Alves <pedro@codesourcery.com>
7847
7848 * lib/mi-support.exp (detect_async): Rename to...
7849 (mi_detect_async): ... this.
7850 * gdb.mi/mi-nonstop-exit.exp: Adjust.
7851 * gdb.mi/mi-nonstop.exp: Adjust.
7852 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
7853 * gdb.mi/mi-nsintrall.exp: Adjust.
7854 * gdb.mi/mi-nsmoribund.exp: Adjust.
7855 * gdb.mi/mi-nsthrexec.exp: Adjust.
7856
9d8fa392
PA
78572011-08-09 Pedro Alves <pedro@codesourcery.com>
7858
7859 * gdb.base/display.c (do_loops): New `p_i' local.
7860 * gdb.base/display.exp: Test displaying a variable that is
7861 temporarily at a bad address.
7862
b6cede78
JK
78632011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7864
7865 * gdb.dwarf2/dw2-op-stack-value.S: New file.
7866 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
7867
67bedb8c
JK
78682011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7869
7870 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
7871 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
7872 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 7873
af6e93b2
PA
78742011-08-05 Pedro Alves <pedro@codesourcery.com>
7875
7876 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
7877 procedure.
7878 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
7879
1cf0e11f
YQ
78802011-08-05 Yao Qi <yao@codesourcery.com>
7881
7882 * gdb.base/callfuncs.exp: Set language after main.
7883 * gdb.cp/cplusfuncs.exp: Likewise.
7884 * gdb.cp/inherit.exp: Likewise.
7885
a1e28cb2
UW
78862011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7887
7888 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
7889 * gdb.base/watch-vfork.exp: Skip on remote targets.
7890
d4f5bbb9
UW
78912011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7892
7893 * gdb.threads/thread-find.exp: Support remote targets.
7894
724f4f80
UW
78952011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7896
7897 * gdb.base/jit.exp: Download solib_binfile to target.
7898 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
7899 and call dlopen without full path name.
7900 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
7901 dlopen without full path name.
7902
934709f0
PW
79032011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7904
7905 * gdb.base/break-always.exp: Complete the test
7906 with duplicated breakpoints and enabling/disabling them.
7907
c26106c4
TT
79082011-08-02 Tom Tromey <tromey@redhat.com>
7909
7910 PR gdb/11289:
7911 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
7912
9300444e 79132011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
7914
7915 PR gdb/13045
7916 * gdb.base/float.exp: Add new test case for PR gdb/13045
7917 * gdb.base/float.c: New file.
7918
00bd41d6
PM
79192011-07-28 Phil Muldoon <pmuldoon@redhat.com>
7920
7921 * gdb.python/py-mi.exp: Test printers returning string hint, and
7922 also not returning a value.
7923 * gdb.python/py-prettyprint.c: Add testcase for above.
7924 * gdb.python/py-prettyprint.py: Add test printer for above.
7925
d24f74ce
JK
79262011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7927
7928 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
7929 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
7930 (.Ldie30) Add as field "data4".
7931 (.Ldie32) Rename field "b" to "shl".
7932 (abbrev4) Change for the "data4" field.
7933 (abbrev5, abbrev6) Remove.
7934 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
7935 (p &s.shl): ... here. Add comment.
7936 (p &s.data4): New.
7937
bb7da2bf
JK
79382011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7939
7940 Fix crash on lval_computed values.
7941 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
7942
11081198
JK
79432011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7944
7945 * gdb.base/help.exp (help whatis): Update the expected string.
7946
3c6e0cb3
JK
79472011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7948
7949 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
7950 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
7951 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7952 Change the expected string.
7953
efa80663
PA
79542011-07-26 Pedro Alves <pedro@codesourcery.com>
7955
7956 * gdb.base/watchpoint.exp
7957 (test_disable_enable_software_watchpoint): New procedure.
7958 (top level): Run it.
7959
db8e4570
UW
79602011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
7961
7962 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
7963 executable file "${binfile}", C++ version "${binfile}-cxx".
7964 * gdb.python/py-prettyprint.exp: Likewise.
7965 * gdb.python/py-symbol.exp: Likewise.
7966 * gdb.python/py-type.exp: Likewise.
7967 * gdb.python/py-value.exp: Likewise.
7968 * gdb.python/py-template.exp (test_template_arg): Pass full executable
7969 file name instead of just suffix.
7970
543305c9
JK
79712011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7972
7973 Fix implicit pointer offsets.
7974 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
7975 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
7976 (continue to breakpoint: continue to baz breakpoint for implptr)
7977 (sanity check element 0, sanity check element 1)
7978 (enter the inlined function, check element 0 for the offset)
7979 (check element 1 for the offset)
7980 (continue to breakpoint: ignore the second baz breakpoint): New tests.
7981 (set foo breakpoint for implptr): Update the breakpoint number.
7982
b3215adc
UW
79832011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7984
7985 * gdb.python/py-mi.exp: Use different file names for different
7986 versions of the executable under test.
7987 * gdb.python/py-prettyprint.exp: Likewise.
7988 * gdb.python/py-symbol.exp: Likewise.
7989 * gdb.python/py-template.exp: Likewise.
7990 * gdb.python/py-type.exp: Likewise.
7991 * gdb.python/py-value.exp: Likewise.
7992
182b9acc
UW
79932011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7994
7995 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
7996 flag after restarting GDB if necessary.
7997
e6052b5d
UW
79982011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7999
8000 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
8001
1ced966e
PA
80022011-07-22 Pedro Alves <pedro@codesourcery.com>
8003
8004 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
8005 backend doesn't leave used debug registers behind.
8006
3543a589
TT
80072011-07-22 Tom Tromey <tromey@redhat.com>
8008
8009 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
8010 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
8011 argument.
8012 * gdb.dwarf2/typeddwarf-amd64.S: New file.
8013
14d15303 80142011-07-21 Matt Rice <ratmice@gmail.com>
8015
8016 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
8017 in mostlyclean rule. Add files ending in .core.
8018
9b158ba0 80192011-07-21 Matt Rice <ratmice@gmail.com>
8020
8021 PR macros/12999
8022 * gdb.base/info-macros.c: New test sources.
8023 * gdb.base/info-macros.exp: New tests.
8024
d17b6f81
PM
80252011-07-21 Phil Muldoon <pmuldoon@redhat.com>
8026
8027 * gdb.python/python.exp: Add prompt substitution tests.
8028
918dd910
JK
80292011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8030
8031 Fix crash if referenced CU is aged out.
8032 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
8033 New.
8034 * gdb.dwarf2/implptr.exp: Likewise.
8035
0e37a63c
JK
80362011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8037
8038 * gdb.dwarf2/implptr.S: Rebuilt.
8039 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
8040 (bar): Use them for j, k, l.
8041 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
8042 COMPILE.
8043 (print j in implptr:bar): Update for the intp typedef.
8044 (print p[0].x in implptr:foo): Use more exact regex.
8045
f65cf84c
TT
80462011-07-18 Tom Tromey <tromey@redhat.com>
8047
8048 * gdb.cp/static-method.exp: Add missing single quote.
8049
d5b4a7be
YQ
80502011-07-18 Yao Qi <yao@codesourcery.com>
8051
8052 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
8053 supported.
8054 * gdb.mi/mi-nonstop-exit.exp: Likewise.
8055 * gdb.mi/mi-nonstop.exp: Likewise.
8056 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8057 * gdb.mi/mi-nsintrall.exp: Likewise.
8058 * gdb.mi/mi-nsmoribund.exp: Likewise.
8059 * gdb.mi/mi-nsthrexec.exp: Likewise.
8060 * gdb.python/py-evthreads.exp: Likewise.
8061
e9ea2662
JK
80622011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8063
8064 Code cleanup.
8065 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
8066 it. Substitute it instead of test_compiler_info everywhere.
8067
ce451573
UW
80682011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8069
8070 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
8071 remote targets as well.
8072
756d88a7
UW
80732011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8074
8075 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
8076 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
8077
31f83dc5
UW
80782011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8079
8080 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
8081 a remote machine, not the host.
8082 (gdb_compile_shlib): Set soname if target is remote.
8083
059241a0
PP
80842011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
8085
8086 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
8087
28a0b48c 80882011-07-13 Matt Rice <ratmice@gmail.com>
8089
8090 * gdb.python/py-objfile-script-gdb.py: Renamed to
8091 py-objfile-script-gdb.py.in.
8092 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
8093 py-objfile-script-gdb.py.
8094 * gdb.python/py-objfile-script.exp: Update reference to
8095 py-objfile-script-gdb.py.
8096
9a771b67
JK
80972011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8098
8099 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
8100 reference undefined label.
8101
04ad99e6
JK
81022011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8103
8104 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
8105 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
8106 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
8107 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
8108
713389e0
PM
81092011-07-11 Phil Muldoon <pmuldoon@redhat.com>
8110
6fdff2c5 8111 PR python/12438
713389e0 8112 * gdb.python/python.exp: Add maint set/show python print-stack
6fdff2c5 8113 deprecated tests. Add set/show python print-backtrace tests.
713389e0 8114
97d146f8
JK
81152011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8116
8117 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
8118 debug info.
8119
facde0e5 81202011-07-06 Matt Rice <ratmice@gmail.com>
8121
8122 * gdb.python/python.exp: Update filename paths.
8123 * gdb.python/py-symtab.exp: Ditto.
8124
438640d1
MP
81252011-07-06 Marek Polacek <mpolacek@redhat.com>
8126
8127 * gdb.python/py-evthreads.exp: Add missing `$'.
8128
33a365df
MF
81292011-07-06 Jie Zhang <jie.zhang@analog.com>
8130
8131 * config/bfin.exp: New file.
8132 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
8133 * gdb.asm/bfin.inc: New file.
8134
8f7ae686
MP
81352011-07-06 Marek Polacek <mpolacek@redhat.com>
8136
df46027d 8137 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
8138 the whole output.
8139
eb2a6f42
TT
81402011-07-05 Tom Tromey <tromey@redhat.com>
8141
8142 * gdb.java/jprint.java (jprint.hi): New field.
8143 * gdb.java/jprint.exp: Print string.
8144
177b42fe
TJB
81452011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
8146
8147 * gdb.base/call-sc.c: Fix typos.
8148 * gdb.base/ifelse.exp: Likewise.
8149 * gdb.base/structs.c: Likewise.
8150
3b2a0cf2
JB
81512011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8152
8153 * gdb.base/jit-so.exp: New test.
8154 * gdb.base/jit-dlmain.c: New file.
8155 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
8156
46fc714c
JK
81572011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8158
8159 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
8160 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
8161 * gdb.cp/pr9167.exp (p b): Likewise.
8162 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
8163 (test value of P in inner_m, test type of Z in inner_m): Call
8164 setup_xfail for gcc <= 4.5.
46fc714c 8165
418c7cf7
JK
81662011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8167
8168 * gdb.cp/paren-type.cc: New files.
8169 * gdb.cp/paren-type.exp: New files.
8170
3d50dd94
JK
81712011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8172
8173 Stop on first linespec terminator instead of eating what we can.
8174 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
8175 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
8176 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
8177 (break C::f()): ... this one.
8178 (break C::operator()()): New test.
8179 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
8180 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
8181 test.
8182
dcf9f4ab
JK
81832011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8184
8185 Fall back linespec to minimal symbols.
8186 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
8187 error message.
8188 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
8189 * gdb.cp/minsym-fallback-main.cc: New file.
8190 * gdb.cp/minsym-fallback.cc: New file.
8191 * gdb.cp/minsym-fallback.exp: New file.
8192 * gdb.cp/minsym-fallback.h: New file.
8193
3f542ed1
JK
81942011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8195
8196 * gdb.cp/no-dmgl-verbose.cc: New file.
8197 * gdb.cp/no-dmgl-verbose.exp: New file.
8198
81992011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
8200
8201 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
8202 __GI_.
8203 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
8204 (f): New function.
8205 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
8206 (complete p 'func<short>(): ... here.
8207 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
8208 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
8209 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
8210 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
8211 Make them KFAIL gcc/49546.
8212
00eb2c4a
JB
82132011-07-01 Joel Brobecker <brobecker@adacore.com>
8214
8215 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
8216
85a20c42
JK
82172011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8218
8219 Test GCC PR debug/49546.
8220 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
8221 (test type of F in k3_m, test value of F in k3_m): New.
8222 * gdb.cp/temargs.cc (struct S3, struct K3): New.
8223 (main): New variable k3. Call k3.k3_m.
8224
d2d43431
JB
82252011-07-01 Jean-Charles Delay <delay@adacore.com>
8226
8227 * gdb.ada/packed_array.exp: Fix expected outout.
8228
54ae186f
JB
82292011-07-01 Jean-Charles Delay <delay@adacore.com>
8230
8231 * gdb.ada/packed_array.exp: fixed expected output.
8232
8f17729f
JB
82332011-07-01 Joel Brobecker <brobecker@adacore.com>
8234
8235 * gdb.ada/same_enum: New testcase.
8236
f5aa6869
JB
82372011-07-01 Joel Brobecker <brobecker@adacore.com>
8238
8239 * gdb.ada/ptr_typedef: New testcase.
8240
828292f2
JB
82412011-07-01 Joel Brobecker <brobecker@adacore.com>
8242
8243 * gdb.ada/arrayptr.exp: Add ptype test.
8244
18920c42
JB
82452011-07-01 Joel Brobecker <brobecker@adacore.com>
8246
8247 * gdb.ada/char_enum: New testcase.
8248
3536d9e3 82492011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
8250
8251 * gdb.base/dump.exp (capture_pointer_with_type): New.
8252 Get value from address instead of name.
8253 Start GDB once, and do `dump' and `restore'
8254 tests together.
8255
db863c42
MF
82562011-06-30 Jie Zhang <jie.zhang@analog.com>
8257 Mike Frysinger <vapier@gentoo.org>
8258
8259 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
8260 helper functions for getting/setting remotetimeout variable.
8261 * lib/gdb.exp (gdb_load): If the target is remote, set
8262 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
8263 with $loadtimeout. Set $load_ok to 0 before doing the load.
8264 Instead of returning, immediately, set $load_ok to 0. Call
8265 set_remotetimeout with $oldremotetimeout, and then return if
8266 $load_ok is 1.
8267
e9e642a8
AB
82682011-06-30 Andrew Burgess <aburgess@broadcom.com>
8269
8270 * gdb.python/py-template.exp: Don't run this test if the target
8271 does not support c++ tests.
8272
32019081
JK
82732011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8274
8275 Fix non-only rename list for Fortran modules import.
8276 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
8277 tests.
8278 * gdb.fortran/module.f90 (module moduse): New.
8279 (program module): use moduse, test var_x, var_y and var_z.
8280
0ecee54c
TT
82812011-06-29 Tom Tromey <tromey@redhat.com>
8282
8283 PR testsuite/12040:
8284 * gdb.fortran/array-element.exp: Use f90, not f77.
8285 * gdb.fortran/complex.exp: Use f90, not f77.
8286 * gdb.fortran/derived-type.exp: Use f90, not f77.
8287 * gdb.fortran/library-module.exp: Use f90, not f77.
8288 * gdb.fortran/logical.exp: Use f90, not f77.
8289 * gdb.fortran/module.exp: Use f90, not f77.
8290 * gdb.fortran/multi-dim.exp: Use f90, not f77.
8291 * gdb.fortran/subarray.exp: Use f90, not f77.
8292
3b2b8fea
TT
82932011-06-29 Tom Tromey <tromey@redhat.com>
8294
8295 * gdb.fortran/charset.exp: New file.
8296 * gdb.fortran/charset.f90: New file.
8297
42159ca5
TT
82982011-06-29 Tom Tromey <tromey@redhat.com>
8299
8300 PR testsuite/12040:
8301 * lib/future.exp: New file, mostly extracted from ada.exp.
8302 Rewrote compatibility code to use rename.
8303 (gdb_find_gfortran): New proc.
8304 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
8305 gfortran patch.
8306 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
8307 Move to future.exp.
8308 * lib/gdb.exp: Always load future.exp.
8309
af69a5ce
YQ
83102011-06-28 Yao Qi <yao@codesourcery.com>
8311
8312 * gdb.cp/exception.cc: Don't include iostream.
8313 (bar): Remove print statement.
8314 (catcher): New.
8315 (main): Remove print statements. Call function catcher.
8316 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
8317 Set breakpoint on catcher, and check the value of parameter.
8318
ab5c6a72
YQ
83192011-06-23 Yao Qi <yao@codesourcery.com>
8320
6fdff2c5
PA
8321 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
8322 breakpoint 1.2 is disabled. KFAIL for uclinux.
ab5c6a72 8323
9497469f
MP
83242011-06-23 Marek Polacek <mpolacek@redhat.com>
8325
8326 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
8327 mi_gdb_test.
8328
b9132588
MP
83292011-06-23 Marek Polacek <mpolacek@redhat.com>
8330
5d197ed0 8331 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 8332
e55595ca
MP
83332011-06-23 Marek Polacek <mpolacek@redhat.com>
8334
5d197ed0
MP
8335 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
8336
83372011-06-23 Marek Polacek <mpolacek@redhat.com>
8338
8339 * gdb.mi/mi2-basics.exp: Fix races. Honour the
8340 `test_exec_and_symbol_mi_operatons' return value.
8341 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8342 gdb_test_multiple.
8343 (test_exec_and_symbol_mi_operatons): Likewise.
8344 (test_path_specification): Likewise.
e55595ca 8345
be777e08
YQ
83462011-06-23 Yao Qi <yao@codesourcery.com>
8347
8348 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
8349 supported.
8350 * lib/gdb.exp (support_displaced_stepping): New.
8351
615556d6
YQ
83522011-06-23 Yao Qi <yao@codesourcery.com>
8353
8354 * gdb.threads/execl.exp: Skip on remote target.
8355
833b0ca7
MP
83562011-06-21 Marek Polacek <mpolacek@redhat.com>
8357
5d197ed0 8358 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
8359 mi_gdb_test.
8360
1ee4023a
MP
83612011-06-20 Marek Polacek <mpolacek@redhat.com>
8362
5d197ed0 8363 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 8364
d0b1d624
MP
83652011-06-20 Marek Polacek <mpolacek@redhat.com>
8366
5d197ed0 8367 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
8368 mi_gdb_test.
8369
79aa92c1
MP
83702011-06-20 Marek Polacek <mpolacek@redhat.com>
8371
5d197ed0 8372 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 8373
5ce5db06
YQ
83742011-06-14 Yao Qi <yao@codesourcery.com>
8375
8376 gdb/testsuite/
8377 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
8378
533a737e
JK
83792011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8380
8381 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
8382
d0e53741
TT
83832011-06-10 Tom Tromey <tromey@redhat.com>
8384
8385 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
8386 Add tests for pointer-to-member-function.
8387 * gdb.cp/temargs.cc (S::somefunc): New function.
8388 (K2): New class.
8389 (main): Instantiate K2; call method.
8390
b5916bbd
JB
83912011-06-08 Joel Brobecker <brobecker@adacore.com>
8392
8393 * gdb.python/py-inferior.c (f2): Make str an array rather
8394 than a pointer.
8395 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
8396
5be4dfca
JK
83972011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8398
8399 * gdb.base/async-shell.c: New file.
8400 * gdb.base/async-shell.exp: New file.
8401
9f47e254
PA
84022011-06-06 Pedro Alves <pedro@codesourcery.com>
8403
8404 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
8405
64b9b334
JB
84062011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
8407
8408 From Stephen Kitt <steve@sk2.org>
8409 * gdb.base/help.exp: Adjust following some spelling corrections
8410 in GDB.
8411
dbc0f131
YQ
84122011-06-01 Yao Qi <yao@codesourcery.com>
8413
8414 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
8415
fd336a18
KS
84162010-05-31 Keith Seitz <keiths@redhat.com>
8417
8418 PR c++/12750
8419 * gdb.cp/static-method.cc: New file.
8420 * gdb.cp/static-method.exp: New file.
8421
fa8b9902
KS
84222010-05-31 Keith Seitz <keiths@redhat.com>
8423
8424 PR symtab/12704
8425 * gdb.cp/anon-ns.cc: New file.
8426 * gdb.cp/anon-ns.exp: New file.
8427
0a5b1e09
PA
84282011-05-31 Pedro Alves <pedro@codesourcery.com>
8429
8430 * gdb.arch/i386-dr3-watch.c: New file.
8431 * gdb.arch/i386-dr3-watch.exp: New file.
8432
0578b8d1
YQ
84332011-05-30 Yao Qi <yao@codesourcery.com>
8434
8435 * gdb.base/callfuncs.c (t_structs_fc): New.
8436 (t_structs_dc, t_structs_ldc): New.
8437 (t_double_many_args):
8438 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
8439 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
8440 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
8441 * gdb.base/callfuncs.exp: Call new functions.
8442
6680506e
YQ
84432011-05-30 Yao Qi <yao@codesourcery.com>
8444
ff4d2c60
YQ
8445 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
8446 Call rerun_and_prepare for each test to isolate effects.
8447
84482011-05-30 Yao Qi <yao@codesourcery.com>
8449
8450 * gdb.base/varargs.c (find_max_float_real): New.
8451 (find_max_double_real, find_max_long_double_real): New.
8452 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
8453 * lib/gdb.exp (setup_kfail_for_target): New.
8454
e43ec454
YQ
84552011-05-30 Yao Qi <yao@codesourcery.com>
8456
8457 * gdb.base/funcargs.c (callca, callcb, callcc): New.
8458 (callcd, callce, callcf, callc1a, callc1b): New.
8459 (callc2a, callc2b): New.
8460 * gdb.base/funcargs.exp (complex_args): New.
8461 (complex_integral_args, complex_float_integral_args): New.
8462 * lib/gdb.exp (support_complex_tests): New. Determine
8463 whether to run test cases on _Complex types.
8464
432b4d03
JK
84652011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8466
8467 * gdb.threads/leader-exit.c: New file.
8468 * gdb.threads/leader-exit.exp: New file.
8469
6caf069d
MP
84702011-05-27 Marek Polacek <mpolacek@redhat.com>
8471
9497469f 8472 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 8473
97fce28b
MP
84742011-05-27 Marek Polacek <mpolacek@redhat.com>
8475
8476 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
8477 remove the `supported' variable.
8478 * gdb.mi/mi-nonstop.exp: Likewise.
8479 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8480 * gdb.mi/mi-nsintrall.exp: Likewise.
8481 * gdb.mi/mi-nsmoribund.exp: Likewise.
8482 * gdb.mi/mi-nsthrexec.exp: Likewise.
8483
9da8c2a0
PA
84842011-05-26 Pedro Alves <pedro@codesourcery.com>
8485
8486 * gdb.reverse/finish-reverse-bkpt.exp: New test.
8487
2c03e5be
PA
84882011-05-26 Pedro Alves <pedro@codesourcery.com>
8489
8490 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
8491
2e21250d
KS
84922011-05-24 Keith Seitz <keiths@redhat.com>
8493
8494 PR breakpoint/12803
8495 * gdb.cp/cmpd-minsyms.cc (a): New method.
8496 (b): New method.
8497 (c): New method.
8498 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
8499
cdac0397
PA
85002011-05-24 Pedro Alves <pedro@codesourcery.com>
8501
8502 * gdb.base/commands.exp (watchpoint_command_test): Check that the
8503 watchpoint's command list didn't execute when the watchpoint went
8504 out of scope.
8505
ee5683ab
PM
85062011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
8507
8508 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
8509 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
8510 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
8511 * gdb.arch/i386-gnu-cfi.exp: Likewise.
8512 * gdb.arch/i386-permbkpt.exp: Likewise.
8513 * gdb.arch/i386-prologue.exp: Likewise.
8514 * gdb.arch/i386-size-overlap.exp: Likewise.
8515 * gdb.arch/i386-size.exp: Likewise.
8516 * gdb.arch/i386-unwind.exp: Likewise.
8517 * gdb.reverse/i386-precsave.exp: Likewise.
8518 * gdb.reverse/i386-reverse.exp: Likewise.
8519 * gdb.reverse/i386-sse-reverse.exp: Likewise.
8520 * gdb.reverse/i387-env-reverse.exp: Likewise.
8521 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8522
c91c8c16
PA
85232011-05-24 Pedro Alves <pedro@codesourcery.com>
8524
8525 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
8526 file doesn't error, using MI.
8527
c50491a7
TT
85282011-05-23 Tom Tromey <tromey@redhat.com>
8529
8530 * gdb.base/charset.exp (string_display): Add tests to assign to
8531 arrays.
8532 * gdb.base/charset.c (short_array, int_array, long_array): New.
8533
4a07b7da
PA
85342011-05-20 Pedro Alves <pedro@codesourcery.com>
8535
8536 Cope with async mode.
8537
4a07b7da
PA
8538 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
8539 into gdb_test + mi_expect_stop.
8540
b275f2d2
PA
85412011-05-20 Pedro Alves <pedro@codesourcery.com>
8542
8543 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
8544 (callme): Remove printf call.
8545
eec52c44
PM
85462011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
8547
8548 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
8549 quote pattern to avoid problems with Cygwin/mingw expect versions.
8550 * gdb.base/default.exp (show convenience): Use double
8551 quote pattern for regular expressions.
8552
b3c8eb43
JK
85532011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8554
8555 Fix -readnow for -gdwarf-4 unused type units.
8556 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
8557 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
8558
ed731959
JK
85592011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8560
8561 * gdb.base/kill-after-signal.c: New file.
8562 * gdb.base/kill-after-signal.exp: New file.
8563
3b48433d
PA
85642011-05-16 Pedro Alves <pedro@codesourcery.com>
8565
8566 * gdb.ada/start.exp: Call untested with the correct test filename.
8567 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
8568 test filename. Make the test's binary unique.
8569 * gdb.arch/i386-signal.exp: Call untested with the correct test
8570 filename.
8571 * gdb.arch/i386-size-overlap.exp: Ditto.
8572 * gdb.arch/Makefile.in (EXECUTABLES): Update.
8573 * gdb.base/gcore-buffer-overflow.exp: Ditto.
8574 * gdb.cp/call-c.exp: Ditto.
8575 * gdb.mi/mi-reverse.exp: Call untested with the correct test
8576 filename. Make the test's binary unique.
8577 * gdb.mi/Makefile.in (EXECUTABLES): Update.
8578 * gdb.python/py-mi.exp: Ditto.
8579 * gdb.python/Makefile.in (EXECUTABLES): Update.
8580 * gdb.reverse/i386-precsave.exp: Ditto.
8581 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
8582 test filename.
8583 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8584 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
8585 unique.
8586 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
8587 test filename.
8588 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
8589 * gdb.trace/tfile.exp: Ditto.
8590
ba4a8bdd
YQ
85912011-05-14 Yao Qi <yao@codesourcery.com>
8592
8593 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
8594 type.
8595
dbaefcf7
DE
85962011-05-13 Doug Evans <dje@google.com>
8597
8598 * gdb.python/py-objfile-script.exp: New file.
8599 * gdb.python/py-objfile-script.c: New file.
8600 * gdb.python/py-objfile-script-gdb.py: New file.
8601 * testsuite/gdb.python/py-section-script.exp: Test
8602 "info auto-load-scripts".
8603
9930639c
TT
86042011-05-13 Tom Tromey <tromey@redhat.com>
8605
8606 * gdb.dwarf2/clztest.exp: New file.
8607 * gdb.dwarf2/clztest.c: New file.
8608 * gdb.dwarf2/clztest.S: New file.
8609
05272e11
DE
86102011-05-13 Doug Evans <dje@google.com>
8611
cc63ef9b
DE
8612 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
8613 String16 tests.
05272e11 8614
6edba76f
TT
86152011-05-13 Tom Tromey <tromey@redhat.com>
8616
8617 * lib/gdb.exp (is_x86_like_target): New proc.
8618 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
8619 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
8620 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
8621 -nostdlib to compiler.
8622 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
8623 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
8624 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
8625 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
8626 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
8627
028d0ed5
TJB
86282011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8629
8630 * gdb.python/py-function.exp: Test setting a value from a function
8631 which executes a command.
8632
8a9b8146
TT
86332011-05-12 Tom Tromey <tromey@redhat.com>
8634
8635 * gdb.dwarf2/typeddwarf.S: New file.
8636 * gdb.dwarf2/typeddwarf.c: New file.
8637 * gdb.dwarf2/typeddwarf.exp: New file.
8638
10483e8e
MP
86392011-05-12 Marek Polacek <mpolacek@redhat.com>
8640
8641 * gdb.mi/mi-basics.exp: Fix races. Honour the
8642 `test_exec_and_symbol_mi_operatons' return value.
8643 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8644 gdb_test_multiple.
8645 (test_exec_and_symbol_mi_operatons): Likewise.
8646 (test_path_specification): Likewise.
8647
faf067f1
JK
86482011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8649
8650 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
8651 (gdb_touch_execfile): Remove catch wrappers. New variable time.
8652 Replace `file copy' and `file rename' by `file mtime'. Twice.
8653
7ff911a3
JK
86542011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8655
8656 * gdb.base/readline-ask.c: New file.
8657 * gdb.base/readline-ask.exp: New file.
8658 * gdb.base/readline-ask.inputrc: New file.
8659
a536c6d7
UW
86602011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
8661
8662 * gdb.cell/bt.exp: Delete breakpoints before running to signal
8663 to avoid race condition.
8664 * gdb.cell/coremaker.c: Use small stack size.
8665 * gdb.cell/ea-standalone.exp: Use file name without path as
8666 argument to c_to.
8667 * gdb.cell/fork.exp: Allow other output when continuing to end.
8668
d472a426
JK
86692011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8670
8671 * gdb.threads/corethreads.c: New file.
8672 * gdb.threads/corethreads.exp: New file.
8673
86742011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
8675
8676 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
8677 Try to compile the test using -Wl,-z,norelro first.
8678 (load_core): New variable libthread_db_seen, initialize it.
8679 (zeroed-threads cannot be listed): Protect it by XFAIL on
8680 !$libthread_db_seen.
8681
8be455d7
JK
86822011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8683
8684 PR 12573
8685 * gdb.dwarf2/dw2-skip-prologue.S: New file.
8686 * gdb.dwarf2/dw2-skip-prologue.c: New file.
8687 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
8688
1976171a
JK
86892011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8690
8691 * gdb.cp/psymtab-parameter.cc: New file.
8692 * gdb.cp/psymtab-parameter.exp: New file.
8693
7db6f30f
JK
86942011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8695
8696 Fix a race.
8697 * gdb.cp/static-print-quit.exp (print c): Split to ...
8698 (print c - <return>, print c - q <return>, print c - to quit):
8699 ... these. Make the testfile untested on gdb-7.1.
8700
85161e9e 87012011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
8702
8703 * lib/gdb.exp (exec_target_file, exec_symbol_file,
8704 gdb_rename_execfile, gdb_touch_execfile): New.
8705 * gdb.base/reread.exp: Use new procs to handle multiple
8706 exec files.
8707
0c51be18
YQ
87082011-05-05 Yao Qi <yao@codesourcery.com>
8709
8710 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
8711 (test_adr_32bit, test_pop_pc): New.
8712 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
8713 (test_adr_32bit, test_pop_pc): New.
8714
4d393d60
JM
87152011-05-04 Joseph Myers <joseph@codesourcery.com>
8716
8717 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
8718 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
8719 targets.
8720 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
8721 handle targets.
8722
8ffd0459
JK
87232011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8724
8725 * gdb.base/completion.exp (complete help info wat): Rename to ...
8726 (complete 'help info wat'): ... here.
8727 Remove all `-re ".*' and `-re "^.*' redundant regexes.
8728 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
8729
8e28d804
PA
87302011-05-04 Pedro Alves <pedro@codesourcery.com>
8731
8732 * gdb.base/completion.exp: Use gdb_test_multiple instead of
8733 gdb_test and explicit $gdb_prompt/timeout matches.
8734
3eb2ef34
YQ
87352011-05-04 Yao Qi <yao@codesourcery.com>
8736
8737 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
8738 and __thumb2__.
8739
aaaf81a3
MP
87402011-05-03 Marek Polacek <mpolacek@redhat.com>
8741
8742 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
8743 in place of `gdb_test "delete breakpoints"'. This eliminates two
8744 testcases.
8745
c4cbc0df
PA
87462011-05-02 Pedro Alves <pedro@codesourcery.com>
8747
8748 PR testsuite/12649
8749 Fix races.
8750
8751 * gdb.base/completion.exp: Remove all sleep calls. Remove
8752 unnecessary regexs. Don't explicitly expect anything after the
8753 prompt. Eat the prompt if necessary.
8754
b4cbb4a3
EBM
87552011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
8756
8757 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
8758 accept to show the caller line again as well as the line after.
8759
d65aec65
PM
87602011-04-29 Phil Muldoon <pmuldoon@redhat.com>
8761
8762 PR mi/12531
8763
8764 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
8765 compile target.
8766 * gdb.python/py-prettyprint.exp: Add C++ object for
8767 CPLUS_FAKE_CHILD test.
8768
30852783
UW
87692011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
8770
8771 * gdb.base/signest.exp: New file.
8772 * gdb.base/signest.c: Likewise.
8773
c7b1f0d9
JK
87742011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8775
8776 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
8777 thread and breakpoint notifications.
8778
559a7a62
JK
87792011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8780
8781 * gdb.base/fortran-sym-case.c: New file.
8782 * gdb.base/fortran-sym-case.exp: New file.
8783 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
8784 * gdb.dwarf2/dw2-case-insensitive.c: New file.
8785 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
8786
8344e389
JK
87872011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8788
8789 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
8790 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
8791 false #1', `if true else false #2' and `if true else false #3'.
8792
2484c66b
UW
87932011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
8794
8795 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
8796 while delivering signal.
8797
8d3788bd
VP
87982011-04-27 Vladimir Prus <vladimir@codesourcery.com>
8799
8800 MI breakpoint notifications.
8801
8802 * testsuite/gdb.mi/mi-cli.exp: Adust.
6fdff2c5
PA
8803 * testsuite/gdb.mi/mi2-cli.exp: Adust.
8804 * testsuite/gdb.mi/mi-watch.exp: Adust.
8805 * testsuite/gdb.mi/mi2-watch.exp: Adust.
8806 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
8807 notifications.
8d3788bd 8808
3e03848b
JK
88092011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8810
8811 * gdb.base/gdbindex-stabs-dwarf.c: New file.
8812 * gdb.base/gdbindex-stabs.c: New file.
8813 * gdb.base/gdbindex-stabs.exp: New file.
8814
918c9108
YQ
88152011-04-25 Yao Qi <yao@codesourcery.com>
8816
8817 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
8818 with /*...*/.
8819 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
8820
90556b8c
JK
88212011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8822
8823 * gdb.python/py-value.exp (test_objfiles): Name the first test
8824 `py-value in file.filename'.
8825
03f2bd59
JK
88262011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8827
8828 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
8829 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
8830 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
8831 !gdbserver_reconnect_p..
8832 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
8833
7b08b9eb
JK
88342011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8835
8836 * gdb.cp/cpcompletion.exp (complete class methods)
8837 (complete class methods beginning with F): Move them above runto. New
8838 comment about the runto delimiter.
8839
b78974c3
PA
88402011-04-20 Pedro Alves <pedro@codesourcery.com>
8841
8842 * gdb.base/maint.exp: Test that "maint print registers" works
8843 without a running program.
8844
20429c40 88452011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 8846
20429c40
MP
8847 * gdb.base/setshow.exp: Fix racy tests.
8848 ($old_gdb_prompt): New variable.
8849
7a9dd1b2
TT
88502011-04-19 Tom Tromey <tromey@redhat.com>
8851
8852 * gdb.mi/mi-nsmoribund.exp:
8853 * gdb.hp/gdb.objdbg/objdbg01.exp:
8854 * gdb.base/structs.exp (test_struct_returns):
8855 * gdb.base/call-sc.exp (test_scalar_returns):
8856 * gdb.base/bigcore.exp: Remove duplicate words.
8857
02835898
JK
88582011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8859
8860 * gdb.base/break-interp-lib.c (v, vptr): New variables.
8861 * gdb.base/break-interp.exp (test_attach): New comment.
8862
254f582e
JK
88632011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8864
8865 * gdb.threads/gcore-thread.exp ($core0file): New variable.
8866 (clear __stack_user.next, clear stack_used.next)
8867 (save a zeroed-threads corefile): New test.
8868 Call core_load for $core0file.
8869 (zeroed-threads cannot be listed): New test.
8870
4fe85f5c
JK
88712011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8872
8873 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
8874 filename.
8875 ($srcfile): Preserve the original value.
8876 ($testfile): Match it the .exp filename.
8877 ($corefile): New variable. Substitute it around.
8878 Use clean_restart.
8879 ($prev_timeout): Remove.
8880 (load_core): Move core loading into this proc.
8881 Fix restore of $timeout if load_core fails.
8882
63524580
JK
88832011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8884
8885 * gdb.base/eu-strip-infcall.c: New file.
8886 * gdb.base/eu-strip-infcall.exp: New file.
8887
90359a16
JK
88882011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8889
8890 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
8891 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
8892
626e7282
JK
88932011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8894
8895 Fix Python access to inlined frames.
8896 * gdb.python/py-frame-inline.c: New file.
8897 * gdb.python/py-frame-inline.exp: New file.
8898
3363d018
EBM
88992011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
8900
8901 * gdb.base/gdb1090.exp: Change breakpoint location to read the
8902 content of 's24' correctly (avoiding "optimized out").
8903 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
8904
28781456
JK
89052011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8906
8907 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
8908
4a4106ca
TJB
89092011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8910
8911 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
8912 expect a colon in watch -location output.
8913
d26ccb4f
JK
89142011-04-13 Marek Polacek <mpolacek@redhat.com>
8915
df46027d 8916 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
8917 New testcase `expect response to define backtrace'. Also remove
8918 redundant `default' block.
8919
e1ab1f9c
JK
89202011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8921
8922 * gdb.python/py-prettyprint.c (struct hint_error): New.
8923 (main): New variable hint_error.
8924 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
8925 "print hint_error".
8926 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
8927 (register_pretty_printers): Register it.
8928
0c2e6019
TT
89292011-04-04 Tom Tromey <tromey@redhat.com>
8930
8931 * gdb.cp/maint.exp (test_help): Update.
8932 (test_namespace): Likewise.
8933
af57139d
JB
89342011-04-01 Joel Brobecker <brobecker@adacore.com>
8935
8936 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
8937 * gdb.ada/arrayptr.exp: Add new tests.
8938
956a9fb9
JB
89392011-04-01 Joel Brobecker <brobecker@adacore.com>
8940
8941 * gdb.ada/mi_catch_ex: New testcase.
8942
d0c4d642
PA
89432011-04-01 Pedro Alves <pedro@codesourcery.com>
8944
8945 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
8946 base::overload(void) method without specifying "const".
8947
18819fa6
UW
89482011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
8949
8950 * gdb.arch/thumb-singlestep.S: New file.
8951 * gdb.arch/thumb-singlestep.exp: Likewise.
8952
a4c8e806
TT
89532011-03-31 Tom Tromey <tromey@redhat.com>
8954
8955 * gdb.python/py-prettyprint.py (exception_flag): New global.
8956 (NoStringContainerPrinter._iterator.next): Check it.
8957 * gdb.python/py-prettyprint.c (main): New variable nstype2.
8958 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
8959
53832f31
TT
89602011-03-29 Tom Tromey <tromey@redhat.com>
8961
8962 * gdb.cp/anon-struct.cc: New file.
8963 * gdb.cp/anon-struct.exp: New file.
8964
e4620230
JK
89652011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8966
8967 Test STT_GNU_IFUNC support.
8968 * gdb.base/gnu-ifunc-lib.c: New file.
8969 * gdb.base/gnu-ifunc.c: New file.
8970 * gdb.base/gnu-ifunc.exp: New file.
8971
d0fb5eae
JK
89722011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8973
8974 Support a ring of related breakpoints.
8975 * gdb.base/watchpoint-delete.c: New file.
8976 * gdb.base/watchpoint-delete.exp: New file.
8977
20106cfb
JK
89782011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8979
8980 * gdb.ada/arrayparam.exp (print first after function call): Use
8981 explicit package name. Add a comment
8982 (print lasta after function call): Rename ...
8983 (print last after function call): ... it and use explicit package
8984 name.
8985 (print length after function call): Use explicit package name.
8986 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
8987 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
8988 (multiple matches for symbol i): Rename ...
8989 (multiple matches for symbol integervar): ... it.
8990 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
8991 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
8992
e7ab5e63
AB
89932011-03-25 Andrew Burgess <aburgess@broadcom.com>
8994
8995 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
8996 environment variable to make grep output more predictable. Move
8997 all the environment setup into gdb_init so it's done once per test
8998 case rather than each time we start gdb.
8999
9ef07c8c
TT
90002011-03-24 Tom Tromey <tromey@redhat.com>
9001
9002 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
9003 test.
9004
dd90784c
JK
90052011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9006
9007 * gdb.dwarf2/dw2-entry-value-main.c: New file.
9008 * gdb.dwarf2/dw2-entry-value.S: New file.
9009 * gdb.dwarf2/dw2-entry-value.exp: New file.
9010
05775840
PM
90112011-03-22 Phil Muldoon <pmuldoon@redhat.com>
9012
6fdff2c5 9013 PR python/12183
05775840
PM
9014
9015 * gdb.python/py-function.exp: Add GdbError tests.
9016
8661b11b
PA
90172011-03-18 Pedro Alves <pedro@codesourcery.com>
9018
9019 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
9020 (reglocal_test_func, statlocal_test_func): New functions.
9021 (globals_test_func): Call new functions.
9022 * gdb.trace/unavailable.exp (gdb_collect_args_test)
9023 (gdb_collect_locals_test): New procedure.
9024 (gdb_trace_collection_test): Call new procedures.
9025
0fdb4f18
PA
90262011-03-18 Pedro Alves <pedro@codesourcery.com>
9027
9028 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
9029 (test_register, test_register_unavailable): New procedures.
9030 (gdb_unavailable_registers_test): New procedure.
9031 (gdb_trace_collection_test): Call it.
9032
99c3dc11
PM
90332011-03-18 Phil Muldoon <pmuldoon@redhat.com>
9034
6fdff2c5 9035 PR python/12149
99c3dc11
PM
9036
9037 * gdb.python/python.exp: Add gdb.write tests.
9038
29703da4
PM
90392010-03-17 Phil Muldoon <pmuldoon@redhat.com>
9040
9041 * gdb.python/Makefile.in: Add py-objfile.
9042 * gdb.python/py-objfile.exp: New file.
9043 * gdb.python/py-objfile.c: New file.
9044 * gdb.python/py-block.exp: Add is_valid tests.
9045 * gdb.python/py-inferior.exp: Ditto.
9046 * gdb.python/py-infthread.exp: Ditto.
9047 * gdb.python/py-symbol.exp: Ditto.
9048 * gdb.python/py-symtab.exp: Ditto.
9049
598997c8
KS
90502011-03-16 Keith Seitz <keiths@redhat.com>
9051
9052 PR c++/12273
9053 * gdb.cp/cmpd-minsyms.exp: New test.
9054 * gdb.cp/cmpd-minsyms.cc: New file.
9055
9056 PR c++/11734
9057 * gdb.cp/ovsrch.exp: New test.
9058 * gdb.cp/ovsrch.h: New file.
9059 * gdb.cp/ovsrch1.cc: New file.
9060 * gdb.cp/ovsrch2.cc: New file.
9061 * gdb.cp/ovsrch3.cc: New file.
9062 * gdb.cp/ovsrch4.cc: New file.
9063
c91513d8
PP
90642011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9065
9066 PR gdb/12528
9067 * gdb.base/Makefile.in: Adjust EXECUTABLES.
9068 * gdb.base/break-on-linker-gcd-function.exp: New test.
9069 * gdb.base/break-on-linker-gcd-function.cc: New file.
9070
7470fc63
AT
90712011-03-15 Andreas Tobler <andreast@fgznet.ch>
9072
9073 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
9074
959e7469
PM
90752011-03-15 Phil Muldoon <pmuldoon@redhat.com>
9076
9077 * lib/gdb.exp (gdb_unload): Add another termination case.
9078
9373cf26
JK
90792011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9080
9081 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
9082 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
9083 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
9084 Provide a stub byte there.
9085 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
9086 DW_AT_entry_pc.
9087 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
9088
24e9cda0
UW
90892011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
9090
9091 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
9092 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
9093 "generic ABI, auto".
9094 (altivec_abi_tests): Accept vectors returned by reference.
9095
7371cf6d
PM
90962010-03-14 Phil Muldoon <pmuldoon@redhat.com>
9097
9098 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
9099
ce77046a
UW
91002011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
9101
9102 * gdb.python/py-section-script.exp: Skip test if no Python support.
9103
176400c3
UW
91042011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
9105
9106 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
9107
ecec24e6
PM
91082011-03-10 Phil Muldoon <pmuldoon@redhat.com>
9109
9110 * gdb.python/py-parameter.exp: Update tests to the new Python
9111 parameter API. Add "no documentation" test. Add deprecated API
9112 backward compatibility test.
9113
5dbdd470
TT
91142011-03-09 Tom Tromey <tromey@redhat.com>
9115
9116 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
9117 gdb_continue_to_end.
9118
b66e66ee
MK
91192011-03-09 Mark Kettenis <kettenis@gnu.org>
9120
9121 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
9122 tabs.
9123
eceb0c5f
TT
91242011-03-09 Tom Tromey <tromey@redhat.com>
9125
9126 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
9127 parentheses.
9128 (gdb_continue_to_end): Add "allow_extra" parameter. Use
9129 $command.
9130 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
9131 argument to gdb_continue_to_end.
9132 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
9133 argument to gdb_continue_to_end.
9134 * gdb.cp/annota3.exp: Fix regex.
9135 * gdb.cp/annota2.exp: Fix regex.
9136 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
9137 gdb_continue_to_end.
9138 * gdb.base/call-signal-resume.exp: Revert earlier patch.
9139 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
9140 gdb_continue_to_end.
9141
63154eca
PA
91422011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9143
9144 * gdb.server/ext-run.exp
9145 (load new file without any gdbserver inferior): New test.
9146
967d1f9b
TT
91472011-03-07 Tom Tromey <tromey@redhat.com>
9148
9149 * Makefile.in (TAGS): Rewrite.
9150
d68dcbb9
JK
91512011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9152
9153 * gdb.trace/report.exp (12.1: trace report #1): New match for the
9154 initial commands echo. New match for `Found trace'. Anchor all the
9155 other matches. Anchor and match for `No trace frame found' the final
9156 match.
9157
6bf58e63
TT
91582011-03-07 Tom Tromey <tromey@redhat.com>
9159
9160 * Makefile.in (TAGS): New target.
9161
fda326dd
TT
91622011-03-07 Tom Tromey <tromey@redhat.com>
9163
9164 * lib/opencl.exp (skip_opencl_tests): Update for exit message
9165 change.
9166 * lib/mi-support.exp (mi_gdb_test): Update for exit message
9167 change.
9168 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
9169 exit message change.
9170 (skip_altivec_tests): Update for exit message change.
9171 (skip_vsx_tests): Likewise.
9172 (gdb_continue_to_end): Likewise. Add 'command' argument.
9173 * lib/cell.exp (skip_cell_tests): Update for exit message change.
9174 * gdb.threads/tls.exp: Update for exit message change.
9175 * gdb.threads/thread-unwindonsignal.exp: Use
9176 gdb_continue_to_end.
9177 * gdb.threads/step.exp (step_it): Update for exit message change.
9178 (continue_all): Likewise.
9179 * gdb.threads/print-threads.exp (test_all_threads): Update for
9180 exit message change.
9181 * gdb.threads/interrupted-hand-call.exp: Use
9182 gdb_continue_to_end.
9183 * gdb.threads/execl.exp: Use gdb_continue_to_end.
9184 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
9185 gdb_continue_to_end.
9186 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
9187 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
9188 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
9189 * gdb.cp/method.exp: Update for exit message change.
9190 * gdb.cp/mb-templates.exp: Update for exit message change.
9191 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
9192 * gdb.cp/annota3.exp: Update for exit message change.
9193 * gdb.cp/annota2.exp: Update for exit message change.
9194 * gdb.cell/fork.exp: Use gdb_continue_to_end.
9195 * gdb.base/term.exp: Update for exit message change.
9196 * gdb.base/step-test.exp (test_i): Update for exit message change.
9197 * gdb.base/sigstep.exp (advance): Update for exit message change.
9198 (advancei): Likewise.
9199 * gdb.base/siginfo.exp: Update for exit message change.
9200 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
9201 * gdb.base/reread.exp: Use gdb_continue_to_end.
9202 * gdb.base/langs.exp: Use gdb_continue_to_end.
9203 * gdb.base/interrupt.exp: Update for exit message change.
9204 * gdb.base/gdb1555.exp: Update for exit message change.
9205 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
9206 * gdb.base/ending-run.exp: Update for exit message change.
9207 * gdb.base/chng-syms.exp: Update for exit message change.
9208 * gdb.base/checkpoint.exp: Update for exit message change.
9209 * gdb.base/catch-syscall.exp (check_for_program_end): Use
9210 gdb_continue_to_end.
9211 (test_catch_syscall_with_wrong_args): Likewise.
9212 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
9213 * gdb.base/break-interp.exp (test_ld): Update for exit message
9214 change.
9215 * gdb.base/bang.exp: Update for exit message change.
9216 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
9217 (do_call_attach_tests): Likewise.
9218 * gdb.base/a2-run.exp: Update for exit message change.
9219 * gdb.arch/ppc-dfp.exp: Update for exit message change.
9220 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
9221 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
9222
dd19bd70
JK
92232011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9224
9225 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
9226
30e62689
TT
92272011-03-03 Tom Tromey <tromey@redhat.com>
9228
9229 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
9230 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
9231 * gdb.hp/gdb.aCC/configure.ac: Remove.
9232 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
9233 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
9234 * gdb.hp/gdb.base-hp/configure.ac: Remove.
9235 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
9236 * gdb.hp/gdb.compat/configure (Makefile): Remove.
9237 * gdb.hp/gdb.compat/configure.ac: Remove.
9238 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
9239 * gdb.hp/gdb.defects/configure (Makefile): Remove.
9240 * gdb.hp/gdb.defects/configure.ac: Remove.
9241 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
9242 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
9243 * gdb.hp/gdb.objdbg/configure.ac: Remove.
9244 * gdb.hp/configure.ac: Remove.
9245 * gdb.hp/configure: Remove.
9246 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
9247 substitution.
9248 (Makefile): Remove rule.
9249 * gdb.cell/configure.ac: Remove.
9250 * gdb.cell/configure: Remove.
9251 * gdb.stabs/Makefile.in (Makefile): Remove.
9252 (distclean): Don't remove config.status or config.log.
9253 * gdb.stabs/configure (Makefile): Remove.
9254 * gdb.stabs/configure.ac: Remove.
9255 * configure: Rebuild.
9256 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
9257 Remove stabs- and cell-specific logic. Test for existence of
9258 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
9259 subdirectories, gdb.cell, and and gdb.stabs.
9260 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
9261
c171f854
JB
92622011-03-03 Joel Brobecker <brobecker@adacore.com>
9263
9264 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
9265 end of buffer.
9266
9a5193cb
JB
92672011-03-02 Joel Brobecker <brobecker@adacore.com>
9268
9269 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
9270 gdb_test when running a test where we expected no output back.
9271
9bb4c1bb
MS
92722011-02-28 Michael Snyder <msnyder@vmware.com>
9273
9274 * gdb.cp/overload.cc: Change initializer value to integer.
9275
3bd0f5ef
MS
92762011-02-27 Michael Snyder <msnyder@vmware.com>
9277
9278 * gdb.multi/base.exp: Add test for remove-inferiors.
9279
2279eaad
JB
92802011-02-26 Joel Brobecker <brobecker@adacore.com>
9281
9282 * gdb.python/py-frame.exp: Simplify the initialization phase
9283 using prepare_for_testing.
9284
c82c0b55
MS
92852011-02-25 Michael Snyder <msnyder@vmware.com>
9286
9287 * gdb.multi/base.exp: Add tests for info inferiors with args.
9288
1d94651b
JK
92892011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9290
9291 * gdb.dwarf2/dw2-ranges.S: Rename to ...
9292 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
9293 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
9294 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
9295 asmfile3. Comment the STABS (#3) file compilation. Compile
9296 everything through assembler. Provide KFAIL for symtab/12497.
9297 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
9298 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
9299 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
9300 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
9301
3bd0f5ef
MS
93022011-02-24 Michael Snyder <msnyder@vmware.com>
9303
9304 * gdb.base/break.exp: Add tests for delete breakpoints using
9305 convenience variables and value history references.
9306
12c1418e
MS
93072011-02-24 Michael Snyder <msnyder@vmware.com>
9308
9309 * gdb.base/break.exp: Remove debugging 'printf' accidentally
9310 left behind in previous check-in.
9311
e5a67952
MS
93122011-02-23 Michael Snyder <msnyder@vmware.com>
9313
9314 * gdb.base/break.exp: Add tests for "info break" with arguments.
9315 * gdb.trace/infotrace.exp: Update patterns for error and help.
9316 * gdb.base/completion.exp: Update pattern.
9317 * gdb.base/ena-dis-br.exp: Update pattern.
9318 * gdb.base/help.exp: Update patterns.
9319
93202011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
9321
9322 * gdb.base/memattr.exp: New test.
9323 * gdb.base/memattr.c: Test load for memattr.exp.
9324
6e6fbe60
DE
93252011-02-22 Doug Evans <dje@google.com>
9326
9327 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
9328
1d41d745
MS
93292011-02-22 Michael Snyder <msnyder@vmware.com>
9330
9331 * Makefile.in: Make more clean.
9332 * gdb.ada/Makefile.in: Ditto.
9333 * gdb.arch/Makefile.in: Ditto.
9334 * gdb.asm/Makefile.in: Ditto.
9335 * gdb.base/Makefile.in: Ditto.
9336 * gdb.cp/Makefile.in: Ditto.
9337 * gdb.dwarf2/Makefile.in: Ditto.
9338 * gdb.java/Makefile.in: Ditto.
9339 * gdb.mi/Makefile.in: Ditto.
9340 * gdb.modula2/Makefile.in: Ditto.
9341 * gdb.python/Makefile.in: Ditto.
9342 * gdb.server/Makefile.in: Ditto.
9343 * gdb.stabs/Makefile.in: Ditto.
9344 * gdb.threads/Makefile.in: Ditto.
9345 * gdb.trace/Makefile.in: Ditto.
9346
79ba84ca
MS
93472011-02-22 Michael Snyder <msnyder@vmware.com>
9348
df46027d 9349 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
9350 info threads.
9351
b9b35694
JB
93522011-02-22 Joel Brobecker <brobecker@adacore.com>
9353
9354 * gdb.python/py-breakpoint.exp: Fix the expected output of
9355 one of the "maint info breakpoints" tests to accept the output
9356 generated on platforms that do not have hardware watchpoints.
9357
8bfb830f
JB
93582011-02-22 Joel Brobecker <brobecker@adacore.com>
9359
9360 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
9361 clean_restart. Be a little stricter in the expected output
9362 for one of the tests. Fix a typo in one of the comments.
9363
c45f3c54
JB
93642011-02-22 Joel Brobecker <brobecker@adacore.com>
9365
9366 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
9367 Delete variable binfile, no longer use. Add or modify test
9368 comments to make them unique.
9369
b97c863c
MS
93702011-02-21 Michael Snyder <msnyder@vmware.com>
9371
9372 * Makefile.in: Update for make clean.
9373 * gdb.ada/Makefile.in: Ditto.
9374 * gdb.arch/Makefile.in: Ditto.
9375 * gdb.asm/Makefile.in: Ditto.
9376 * gdb.base/Makefile.in: Ditto.
9377 * gdb.cp/Makefile.in: Ditto.
9378 * gdb.dwarf2/Makefile.in: Ditto.
9379 * gdb.java/Makefile.in: Ditto.
9380 * gdb.mi/Makefile.in: Ditto.
9381 * gdb.modula2/Makefile.in: Ditto.
9382 * gdb.python/Makefile.in: Ditto.
9383 * gdb.server/Makefile.in: Ditto.
9384 * gdb.stabs/Makefile.in: Ditto.
9385 * gdb.threads/Makefile.in: Ditto.
9386 * gdb.trace/Makefile.in: Ditto.
9387
aea5b279
MS
93882011-02-21 Michael Snyder <msnyder@vmware.com>
9389
9390 * gdb.threads/thread-find.exp: Update patterns for changes in
9391 output of "info threads" command.
9392
e3039479
UW
93932011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9394 Ulrich Weigand <uweigand@de.ibm.com>
9395
9396 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
9397 (skip_hw_watchpoint_tests): Likewise.
9398 (skip_hw_watchpoint_multi_tests): Likewise.
9399
b800ec70
UW
94002011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
9401
9402 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
9403 (skip_hw_watchpoint_tests): Likewise.
9404 (skip_hw_watchpoint_multi_tests): Likewise.
9405 (skip_hw_watchpoint_access_tests): Likewise.
9406
9407 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
9408 * gdb.base/pr11022.exp: Likewise.
9409 * gdb.base/watch-read.exp: Likewise.
9410 * gdb.base/watch_thread_num.exp: Likewise.
9411 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
9412 * gdb.base/watchpoint-hw.exp: Likewise.
9413 * gdb.base/watchpoint.exp: Likewise.
9414 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
9415 * gdb.threads/watchthreads-reorder.exp: Likewise.
9416 * gdb.threads/watchthreads.exp: Likewise.
9417 * gdb.threads/watchthreads2.exp: Likewise.
9418
91033e37
JB
94192011-02-21 Joel Brobecker <brobecker@adacore.com>
9420
9421 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
9422 the debugger is unable to find the array bounds.
9423
eeaafae2
JK
94242011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9425
9426 * gdb.cp/typedef-operator.exp: New file.
9427 * gdb.cp/typedef-operator.cc: New file.
9428
e338d953
MS
94292011-02-17 Michael Snyder <msnyder@vmware.com>
9430
9431 * gdb.threads/thread-find.exp: Fix regular expressions.
9432
e67ad678
JB
94332011-02-17 Joel Brobecker <brobecker@adacore.com>
9434
9435 * gdb.ada/packed_array: Expand testcase to test printing of
9436 unconstrained packed array.
9437
93084bca
JB
94382011-02-17 Joel Brobecker <brobecker@adacore.com>
9439
9440 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
9441
a0c78a73
PA
94422011-02-16 Pedro Alves <pedro@codesourcery.com>
9443
f65d5553 9444 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
9445 (main): Initialize it before collecting, and and clear it
9446 afterwards.
f65d5553
PA
9447 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9448 collecting with '{type} addr', where the addr expression is not an
9449 rvalue.
a0c78a73 9450
3dfcbbd2
KW
94512011-02-16 Ken Werner <ken.werner@de.ibm.com>
9452
9453 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
9454 a bool variable. Expect correct OpenCL names for vector types. Use the
9455 uc3 variable name instead of referring to the uchar3 built-in type.
9456 Escape the asterisk at the half pointer test.
9457
08807d5a
PA
94582011-02-16 Pedro Alves <pedro@codesourcery.com>
9459
f65d5553 9460 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
9461 (main): Initialize it before collecting, and and clear it
9462 afterwards.
f65d5553
PA
9463 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9464 collecting overlapping memory ranges.
08807d5a 9465
60f98dde
MS
94662011-02-15 Michael Snyder <msnyder@vmware.com>
9467
9468 * gdb.base/default.exp: Add tests for thread commands.
9469 * gdb.base/help.exp: Add tests for thread commands.
9470 * gdb.threads/thread-find.exp: New test for thread find command.
9471
648cd113
KW
94722011-02-15 Ken Werner <ken.werner@de.ibm.com>
9473
9474 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
9475
494e194e
YQ
94762011-02-15 Yao Qi <yao@codesourcery.com>
9477
9478 PR tdep/12352
9479 * gdb.arch/arm-disp-step.S : New test for str instruction.
9480 * gdb.arch/arm-disp-step.exp : Likewise.
9481
d9492458
TJB
94822011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
9483
9484 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
9485 "vector_register2_vr" test strings. Test the extended floating
9486 point registers (F32~F63).
9487 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
9488 IBM XL C compiler. Make the test program use a register provided
9489 by the compiler for the lxvd2x instruction.
9490
8af8e3bc
PA
94912011-02-14 Pedro Alves <pedro@codesourcery.com>
9492
9493 * gdb.trace/unavailable.cc (class Base, class Middle, class
9494 Derived): New types.
9495 (derived_unavail, derived_partial, derived_whole): New globals.
9496 (virtual_partial): New global.
9497 (virtualp): Point at virtual_partial.
9498 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
9499 related to unavailable vptr.
9500
1b28d0b3
PA
95012011-02-14 Pedro Alves <pedro@codesourcery.com>
9502
9503 * gdb.trace/unavailable.cc (a, b, c): New globals.
9504 (main): Set and clear them.
9505 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
9506 `a' and `c', and check that `b' isn't collected, although `a' and
9507 `c' are.
9508
ec0a52e1
PA
95092011-02-14 Pedro Alves <pedro@codesourcery.com>
9510
9511 * gdb.trace/unavailable.cc (struct Virtual): New.
9512 (virtualp): New global pointer.
9513 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
9514 printing a pointer to an object whose type has a vtable, with
9515 print object on.
9516
24e6bcee
PA
95172011-02-14 Pedro Alves <pedro@codesourcery.com>
9518
9519 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
9520 value repeat handles unavailableness.
9521
39d37385
PA
95222011-02-14 Pedro Alves <pedro@codesourcery.com>
9523
9524 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
9525 tests for building arrays from unavailable values, subscripting
9526 non-memory rvalue unvailable arrays, and accessing fields or
9527 baseclasses of non-lazy unavailable values,
9528 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
9529 struct types.
9530 (g_smallstruct, g_smallstruct_b): New globals.
9531
06d72e16
PA
95322011-02-14 Pedro Alves <pedro@codesourcery.com>
9533
9534 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
9535
bc9a5551
JK
95362011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9537
9538 Fix const/volatile qualifiers of C++ types, PR c++/12328.
9539 * gdb.cp/overload-const.exp: New file.
9540 * gdb.cp/overload-const.cc: New file.
9541
54fcddd0
UW
95422011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9543
9544 * gdb.opencl/callfuncs.cl: New file.
9545 * gdb.opencl/callfuncs.exp: New test.
9546 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
9547
d6dafb7c
UW
95482011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9549
9550 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
9551 when computing result.
9552 * gdb.arch/altivec-abi.exp: Update expected results.
9553
a449c2d8
TJB
95542011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
9555
9556 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
9557 * gdb.base/jit.exp: Likewise.
9558 * gdb.base/pie-execl.exp: Likewise.
9559 * gdb.base/solib-nodir.exp: Likewise.
9560 * gdb.base/solib-overlap.exp: Likewise.
9561
764880b7
PA
95622011-02-07 Pedro Alves <pedro@codesourcery.com>
9563
9564 * gdb.trace/collection.c (global_pieces): New.
9565 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
9566 New procedure.
9567 (gdb_trace_collection_test): Call it.
9568
505500db
SW
95692011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
9570
9571 * gdb.python/py-evthreads.c: New file.
9572 * gdb.python/py-evthreads.exp: New file.
9573 * gdb.python/py-events.py: New file.
9574 * gdb.python/py-events.exp: New file.
9575 * gdb.python/py-events.c: New file.
9576
385203ed
DD
95772011-02-04 David Daney <ddaney@caviumnetworks.com>
9578
9579 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
9580
9011945e
AB
95812011-02-03 Andrew Burgess <aburgess@broadcom.com>
9582
9583 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
9584 gdb.base/disasm-end-cu.exp: New test for disassembling over the
9585 boundary between two compilation units.
9586
580688f3
PA
95872011-02-02 Pedro Alves <pedro@codesourcery.com>
9588
9589 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
9590 (Virtual): New structs.
9591 (virtual_o, virtual_middle_b): New globals.
9592 * gdb.cp/virtbase.exp: New tests.
9593
d3f0f853
PP
95942011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9595
9596 * gdb.base/jit.exp: New file.
9597 * gdb.base/jit-main.c: New file.
9598 * gdb.base/jit-solib.c: New file.
9599
b2030fb5
UW
96002011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
9601
9602 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
9603 proceed to initial kernel entry point.
9604 * gdb.opencl/datatypes.exp: Likewise.
9605 * gdb.opencl/operators.exp: Likewise.
9606 * gdb.opencl/vec_comps.exp: Likewise.
9607
2db19d1e
SW
96082011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
9609
9610 * gdb.cp/nsnested.cc: New.
9611 * gdb.cp/nsnested.exp: New.
9612 * gdb.cp/nsnoimports.exp: New.
9613 * gdb.cp/nsnoimports.cc: New.
9614
6b0c4c1f
JB
96152011-01-31 Joel Brobecker <brobecker@adacore.com>
9616
9617 * gdb.base/interact.exp: Add extra tests that verify that
9618 the value of the interactive-mode setting does not change
9619 after the script is sourced.
9620
80b23b6a
JK
96212011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9622
9623 * gdb.cp/noparam.exp: New file.
9624 * gdb.cp/noparam.cc: New file.
9625
ffd5ec24
PA
96262011-01-28 Pedro Alves <pedro@codesourcery.com>
9627
9628 * gdb.trace/tfile.exp: Test that with no traceframe selected,
9629 there's no stack or registers.
9630
a81766d8
TT
96312011-01-26 Tom Tromey <tromey@redhat.com>
9632
9633 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
9634 space before string output. Add test for "set print pretty off"
9635 case.
9636
585fdaa1
PA
96372011-01-25 Pedro Alves <pedro@codesourcery.com>
9638
9639 * gdb.base/frame-args.exp: Adjust.
9640 * gdb.dwarf2/dw2-noloc.exp: Adjust.
9641 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
9642 * gdb.dwarf2/pieces.exp: Adjust.
9643 * gdb.opt/clobbered-registers-O2.exp: Adjust.
9644 * gdb.opt/inline-locals.exp: Adjust.
9645 * gdb.threads/fork-child-threads.exp: Adjust.
9646
d468832a
KW
96472011-01-25 Ken Werner <ken.werner@de.ibm.com>
9648
9649 * gdb.opencl/convs_casts.cl: Move program scope variables into the
9650 OpenCL kernel function. Add a comment as marker. Add address space
9651 qualifiers for the remaining program scope variables.
9652 * gdb.opencl/datatypes.cl: Likewise.
9653 * gdb.opencl/operators.cl: Likewise.
9654 * gdb.opencl/vec_comps.cl: Likewise.
9655 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
9656 Add breakpoint at the marker comment.
9657 * gdb.opencl/datatypes.exp: Likewise.
9658 * gdb.opencl/operators.exp: Likewise.
9659 * gdb.opencl/vec_comps.exp: Likewise.
9660
490f124f
PA
96612011-01-24 Pedro Alves <pedro@codesourcery.com>
9662
9663 * gdb.base/printcmds.c (some_struct): New struct and instance.
9664 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
9665 procedure.
9666 <global scope>: Call it.
9667
6da78614
KW
96682011-01-21 Ken Werner <ken.werner@de.ibm.com>
9669
9670 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
9671 argument to the gdb_compile_opencl_hostapp call.
9672
ec64c9aa
YQ
96732011-01-19 Yao Qi <yao@codesourcery.com>
9674
9675 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
9676 positve list.
9677
810cfdbb
YQ
96782011-01-19 Yao Qi <yao@codesourcery.com>
9679
9680 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
9681 canonical form.
9682 Remove "xscale-*-*"
9683 * gdb.xml/tdesc-regs.exp: Likewise.
9684 * gdb.python/py-section-script.exp: Replace ARM target triplet
9685 with canonical form.
9686 Match arm*-*-symbianelf*.
9687 * gdb.base/dup-sect.exp: Likewise.
9688 * lib/dwarf.exp: New.
9689 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
9690 dwarf2_support.
9691 * gdb.dwarf2/dup-psym.exp: Likewise.
9692 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
9693 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9694 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
9695 * gdb.dwarf2/dw2-basic.exp: Likewise.
9696 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9697 * gdb.dwarf2/dw2-const.exp: Likewise.
9698 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
9699 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
9700 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9701 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
9702 * gdb.dwarf2/dw2-filename.exp: Likewise.
9703 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9704 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
9705 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9706 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9707 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
9708 * gdb.dwarf2/dw2-noloc.exp: Likewise.
9709 * gdb.dwarf2/dw2-op-call.exp: Likewise.
9710 * gdb.dwarf2/dw2-producer.exp: Likewise.
9711 * gdb.dwarf2/dw2-ranges.exp: Likewise.
9712 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
9713 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
9714 * gdb.dwarf2/dw2-strp.exp: Likewise.
9715 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
9716 * gdb.dwarf2/implptr.exp: Likewise.
9717 * gdb.dwarf2/mac-fileno.exp: Likewise.
9718 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
9719 * gdb.dwarf2/pieces.exp: Likewise.
9720 * gdb.dwarf2/pr11465.exp: Likewise.
9721 * gdb.dwarf2/valop.exp: Likewise.
9722 * gdb.dwarf2/watch-notconst.exp: Likewise.
9723 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
9724
4694da01
TT
97252011-01-19 Tom Tromey <tromey@redhat.com>
9726
9727 * gdb.python/py-infthread.exp: Add thread tests.
9728
b075872c
JB
97292011-01-14 Joel Brobecker <brobecker@adacore.com>
9730
9731 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
9732
2c3e6e24
JB
97332011-01-14 Joel Brobecker <brobecker@adacore.com>
9734
9735 * gdb.ada/widewide: New testcase.
9736
de8fa76c
JB
97372011-01-13 Joel Brobecker <brobecker@adacore.com>
9738
9739 * gdb.base/interact.exp: New testcase.
9740
1b05df00
TT
97412011-01-12 Tom Tromey <tromey@redhat.com>
9742
9743 * gdb.mi/gdb2549.exp: Update for error message changes.
9744 * gdb.mi/mi-cli.exp: Likewise.
9745 * gdb.mi/mi-disassemble.exp: Likewise.
9746 * gdb.mi/mi-pthreads.exp: Likewise.
9747 * gdb.mi/mi-regs.exp: Likewise.
9748 * gdb.mi/mi-stack.exp: Likewise.
9749 * gdb.mi/mi-var-block.exp: Likewise.
9750 * gdb.mi/mi-var-cmd.exp: Likewise.
9751 * gdb.mi/mi2-cli.exp: Likewise.
9752 * gdb.mi/mi2-disassemble.exp: Likewise.
9753 * gdb.mi/mi2-pthreads.exp: Likewise.
9754 * gdb.mi/mi2-regs.exp: Likewise.
9755 * gdb.mi/mi2-stack.exp: Likewise.
9756 * gdb.mi/mi2-var-block.exp: Likewise.
9757 * gdb.mi/mi2-var-cmd.exp: Likewise.
9758
c2ff108b
JK
97592011-01-12 Andrew Burgess <aburgess@broadcom.com>
9760 Jan Kratochvil <jan.kratochvil@redhat.com>
9761
9762 PR fortran/11104 and DWARF unbound arrays detection.
9763 * gdb.fortran/multi-dim.exp: New file.
9764 * gdb.fortran/multi-dim.f90: New file.
9765
b716877b
AB
97662011-01-12 Andrew Burgess <aburgess@broadcom.com>
9767
9768 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
9769 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
9770 add new tests for opcode dumping.
9771
6c162d5e
TT
97722011-01-11 Tom Tromey <tromey@redhat.com>
9773
9774 * gdb.python/py-infthread.exp: Load gdb-python.exp.
9775
77b06cd7
TJB
97762010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
9777
9778 Convert hardware watchpoints to use breakpoint_ops.
9779 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
9780 type is not supported.
9781 * gdb.base/foll-fork.exp: Likewise.
9782 * gdb.base/foll-vfork.exp: Likewise.
9783
f39a75d0
PM
97842011-01-10 Phil Muldoon <pmuldoon@redhat.com>
9785
9786 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
9787 Use load_lib gdb-python.exp.
9788 * gdb.python/python.exp: Ditto.
9789 * gdb.python/py-function.exp: Ditto.
9790
fc529d80
AS
97912011-01-09 Andreas Schwab <schwab@linux-m68k.org>
9792
9793 * gdb.threads/tls.exp ("info address me"): Fix expected output.
9794
fb03cb59
JK
97952011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9796
9797 * configure: Regenerate.
9798
d8e22779
TT
97992011-01-06 Tom Tromey <tromey@redhat.com>
9800
9801 * gdb.python/py-frame.exp: Test gdb.newest_frame.
9802
09050809
JB
98032011-01-06 Joel Brobecker <brobecker@adacore.com>
9804
fc529d80
AS
9805 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
9806 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
9807 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9808 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
9809 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
9810 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9811 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
9812 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
9813 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
9814 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
9815 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
9816 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
9817 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
9818 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9819 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9820 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
9821 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
9822 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
9823 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9824 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
9825 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
9826 gdb.ada/uninitialized_vars.exp,
9827 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
9828 Simplify by using clean_restart.
09050809 9829
8ed5dd9e
JB
98302011-01-06 Joel Brobecker <brobecker@adacore.com>
9831
9832 Add marker to be used as anchor for inserting breakpoints.
9833 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
9834 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
9835 Likewise.
9836
9837 Remove uses of gdb_start_cmd.
9838 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
9839 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
9840
9841 Do not run testcase if testing with GDBserver.
9842 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
9843 if testing with GDBserver.
9844
368a124f
JB
98452011-01-06 Joel Brobecker <brobecker@adacore.com>
9846
9847 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
9848 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
9849 copyright header.
9850
44944448
JB
98512011-01-05 Joel Brobecker <brobecker@adacore.com>
9852
9853 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
9854 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
9855 testsuite/gdb.fortran/complex.f,
9856 testsuite/gdb.fortran/derived-type.f90,
9857 testsuite/gdb.fortran/library-module-lib.f90,
9858 testsuite/gdb.fortran/library-module-main.f90,
9859 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
9860 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
9861 Copyright year update.
9862
31886ea6
JB
98632011-01-05 Joel Brobecker <brobecker@adacore.com>
9864
9865 * gdb.base/langs1.f: Add copyright header.
9866
ebedcab5
JK
98672011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9868
9869 * gdb.base/morestack.exp: New file.
9870 * gdb.base/morestack.c: New file.
9871
de1eb2f9
JK
98722011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9873
9874 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
9875
9e87a409
JB
98762010-12-29 Joel Brobecker <brobecker@adacore.com>
9877
9878 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
9879 * gdb.ada/arrayptr.exp: Add test printing that new variable.
9880
720d1a40
JB
98812010-12-29 Joel Brobecker <brobecker@adacore.com>
9882
9883 * gdb.ada/lang_switch.exp: Correct expected parameter value.
9884
a283af87
AS
98852010-12-25 Andreas Schwab <schwab@linux-m68k.org>
9886
5d3d9cba
AS
9887 * gdb.threads/tls.exp: Fix typo.
9888
a283af87
AS
9889 * gdb.threads/thread-specific.exp (get_thread_list): Update.
9890 * gdb.threads/execl.exp: Update.
9891
2a20745c
YQ
98922010-12-23 Yao Qi <yao@codesourcery.com>
9893
9894 * gdb.arch/arm-disp-step.exp: New.
9895 * gdb.arch/arm-disp-step.S: New.
9896
a7658b96
TT
98972010-12-21 Tom Tromey <tromey@redhat.com>
9898
9899 * gdb.threads/execl.exp: Update.
9900 * gdb.threads/linux-dp.exp: Update.
9901 * gdb.threads/manythreads.exp: Update.
9902 * gdb.threads/tls.exp: Update.
9903
5b79abe7
TT
99042010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9905
9906 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
9907 (NextOverThrowDerivates) <resumebpt>: New.
9908 (resumebpt_test): New.
9909 (main): Call resumebpt_test.
9910 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
9911
0914bcdb
SS
99122010-12-12 Stan Shebs <stan@codesourcery.com>
9913
9914 * gdb.trace/tsv.exp: Test print command on trace state variables.
9915
305aeedc
TT
99162010-12-09 Tom Tromey <tromey@redhat.com>
9917
9918 * gdb.base/interp.exp: Add regression test.
9919
186c406b
TT
99202010-12-09 Tom Tromey <tromey@redhat.com>
9921
9922 * gdb.java/jnpe.java: New file.
9923 * gdb.java/jnpe.exp: New file.
9924 * gdb.cp/nextoverthrow.exp: New file.
9925 * gdb.cp/nextoverthrow.cc: New file.
9926
aae1c79a
DE
99272010-12-07 Doug Evans <dje@google.com>
9928
9929 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
9930 of data-directory.
9931 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
9932 updated.
9933 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
9934
60f98dde 99352010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
9936
9937 * gdb.base/callfuncs.exp: Test for skip_float_tests.
9938 * gdb.base/call-sc.exp: Ditto.
9939 * gdb.base/finish.exp: Ditto.
9940 * gdb.base/return.exp: Ditto.
9941 * gdb.base/return2.exp: Ditto.
9942
5fa290c1
DE
99432010-11-30 Doug Evans <dje@google.com>
9944
9945 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
9946 (gdb_expect_list): Fix spelling errors in comments.
9947 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
9948 send_gdb/gdb_expect_list where applicable.
9949 * gdb.base/call-ar-st.exp: Ditto.
9950 * gdb.base/funcargs.exp: Ditto.
9951 * gdb.base/gcore.exp: Ditto.
9952 * gdb.base/page.exp: Ditto.
9953 * gdb.base/sigaltstack.exp: Ditto.
9954 * gdb.base/siginfo.exp: Ditto.
9955 * gdb.base/sigstep.exp: Ditto.
9956 * gdb.base/trace-commands.exp: Ditto.
9957
4e04c971
DE
99582010-11-29 Doug Evans <dje@google.com>
9959
9960 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
9961 printer-name;subprinter-name.
9962
8cf6f0b1
TT
99632010-11-29 Tom Tromey <tromey@redhat.com>
9964
9965 * gdb.dwarf2/implptr.exp: New file.
9966 * gdb.dwarf2/implptr.c: New file.
9967 * gdb.dwarf2/implptr.S: New file.
9968
94b6973e
PM
99692010-11-29 Phil Muldoon <pmuldoon@redhat.com>
9970
fc529d80 9971 PR python/12199
94b6973e
PM
9972
9973 * gdb.python/py-breakpoint.exp: Test the delete method.
9974
8358c15c
JK
99752010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9976
9977 Fix step_resume_breakpoint unsaved during an infcall.
9978 * gdb.base/step-resume-infcall.exp: New file.
9979 * gdb.base/step-resume-infcall.c: New file.
9980
f6df29bc
TJB
99812010-11-24 Edjunior Machado <emachado@br.ibm.com>
9982
9983 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
9984
f2b5a5cf
TJB
99852010-11-24 Edjunior Machado <emachado@br.ibm.com>
9986
9987 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
9988 on ppc64's symbols; "finish" and "return" commands must accept to
9989 show the caller line again as well as the line after.
9990 * gdb.asm/powerpc64.inc: New file.
9991
6b0ecdc2
DE
99922010-11-23 Doug Evans <dje@google.com>
9993
9994 * lib/gdb.exp (gdb_test_sequence): New function.
9995 (gdb_expect_list): Add verbose -log call for each pattern.
9996 * gdb.base/signals.exp (test_handle_all_print): Call it.
9997 Reduce timeout increment from 6 minutes to 1 minute.
9998 * gdb.server/ext-run.exp: Call it.
9999
ea976c60
PM
100002010-11-23 Phil Muldoon <pmuldoon@redhat.com>
10001
f2b5a5cf 10002 PR python/12212
ea976c60
PM
10003
10004 * gdb.python/python.exp: Check that selected_thread raises an
10005 error when no inferior is loaded.
10006
c0efa795
JK
100072010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10008
10009 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
10010 * gdb.dwarf2/dw2-stack-boundary.S: New file.
10011
ec3aa567
JK
100122010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10013
10014 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
10015 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
10016
d8249011
DE
100172010-11-18 Doug Evans <dje@google.com>
10018
10019 * gdb.server/ext-run.exp: Fix intermittent failures.
10020
d4eba7d1
NF
100212010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10022
10023 * gdb.stabs/gdb11479.exp: Use runto_main.
10024
b04c2f88
NF
100252010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10026
10027 * gdb.base/break-entry.exp: Skip if using a stub.
10028
ae9d7ce4
NF
100292010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10030
10031 * gdb.python/py-inferior.exp: Pack values in target endianness.
10032
621c8364
TT
100332010-11-12 Tom Tromey <tromey@redhat.com>
10034
10035 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
10036 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
10037 MemoryError.
10038 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
10039 type.
10040 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
10041 MemoryError.
10042 (test_subscript_regression): Update exception type.
10043
84f4c1fe
PM
100442010-11-11 Phil Muldoon <pmuldoon@redhat.com>
10045
10046 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
10047 breakpoint tests.
10048
a1442452
PA
100492010-11-09 Pedro Alves <pedro@codesourcery.com>
10050
10051 * gdb.base/watchpoint.exp: Test "watch -location" with an
10052 innacessible location.
10053
efd11a33
JK
100542010-11-09 Edjunior Machado <emachado@br.ibm.com>
10055 Luis Machado <luisgpm@br.ibm.com>
10056
10057 * gdb.base/maint.exp: Expect "." prefix.
10058 * gdb.base/nodebug.exp: Expect "." Likewise.
10059 * gdb.base/sepsymtab.exp: Expect "." Likewise.
10060 * gdb.base/watchpoint-cond-gone.exp: Likewise.
10061 * gdb.base/watchpoint.exp: Expect a software watch to be created for
10062 POWER server processors.
10063
aa00efb5
JK
100642010-11-08 Edjunior Machado <emachado@br.ibm.com>
10065 Luis Machado <luisgpm@br.ibm.com>
10066
10067 * gdb.base/break-entry.exp: convert entry point for
10068 ppc64 and expect leading `.' on ppc64's symbols
10069
99e7ae30
DE
100702010-11-05 Doug Evans <dje@google.com>
10071
10072 * gdb.base/help.exp: Update expected output.
b521dba8
DE
10073 * gdb.python/py-param.exp: Delete, contents moved to ...
10074 * gdb.python/py-parameter.exp: ... here. New file.
10075 Add test for gdb.parameter ("directories").
99e7ae30 10076
f4b8a18d
KW
100772010-11-05 Ken Werner <ken.werner@de.ibm.com>
10078
10079 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
10080 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
10081 * configure: Regenerate.
10082 * gdb.opencl/Makefile.in: New File.
10083 * gdb.opencl/datatypes.exp: Likewise.
10084 * gdb.opencl/datatypes.cl: Likewise.
10085 * gdb.opencl/operators.exp: Likewise.
10086 * gdb.opencl/operators.cl: Likewise.
10087 * gdb.opencl/vec_comps.exp: Likewise.
10088 * gdb.opencl/vec_comps.cl: Likewise.
10089 * gdb.opencl/convs_casts.exp: Likewise.
10090 * gdb.opencl/convs_casts.cl: Likewise.
10091 * lib/opencl.exp: Likewise.
10092 * lib/opencl_hostapp.c: Likewise.
10093 * lib/opencl_kernel.cl: Likewise.
10094 * lib/cl_util.c: Likewise.
10095 * lib/cl_util.c: Likewise.
10096 * gdb.base/default.exp (set language): Add "opencl" to the list of
10097 languages.
10098
a9d5ef47
SW
100992010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
10100
10101 * gdb.cp/overload.exp: Added test for inheritance overload.
10102 * gdb.cp/overload.cc: Ditto.
10103 * gdb.cp/oranking.exp: Removed releveant kfails.
10104
03eb1c79
JK
101052010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10106 Joel Brobecker <brobecker@adacore.com>
10107
10108 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
10109 check test_compiler_info.
10110
dbc98a8b
KW
101112010-11-03 Ken Werner <ken.werner@de.ibm.com>
10112
10113 * gdb.base/gnu_vector.exp: Adjust expect messages.
10114
120bd360
KW
101152010-11-03 Ken Werner <ken.werner@de.ibm.com>
10116
10117 * gdb.base/gnu_vector.exp: Add unary operator tests.
10118
c37f7098
KW
101192010-11-03 Ken Werner <ken.werner@de.ibm.com>
10120
10121 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
10122
7b51bc51
DE
101232010-11-02 Doug Evans <dje@google.com>
10124
10125 * gdb.python/py-pp-maint.c: New file.
10126 * gdb.python/py-pp-maint.exp: New file.
10127 * gdb.python/py-pp-maint.py: New file.
10128
50c97f38
TT
101292010-11-02 Tom Tromey <tromey@redhat.com>
10130
10131 * gdb.base/default.exp: Remove "scheme" from language list.
10132
a289b8f6
JK
101332010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10134
10135 Revert:
10136 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10137 * gdb.threads/sigstep-threads.exp: New file.
10138 * gdb.threads/sigstep-threads.c: New file.
10139
cd017491
MS
101402010-10-20 Michael Snyder <msnyder@vmware.com>
10141
10142 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
10143
8e6a5956
UW
101442010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
10145
10146 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
10147 Skip test completely if gdb,no_hardware_watchpoints.
10148
2c04da0d
UW
101492010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
10150
10151 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
10152 strict, but do not check for any particular function name within libc.
10153
79afc5ef
SW
101542010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
10155
10156 * gdb.cp/smartp.exp: New test.
10157 * gdb.cp/smartp.cc : New test.
10158
026ffab7
SW
101592010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
10160
10161 * gdb.cp/converts.exp: Test pointer to bool conversion.
10162 Test pointer to long conversion.
10163 * gdb.cp/oranking.exp: Removed relevant kfail.
10164
3a772aa4
TT
101652010-10-18 Tom Tromey <tromey@redhat.com>
10166
10167 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
10168 argument to lazy_string.
10169 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
10170 (pp_ls.to_string): Use it.
10171 * gdb.python/py-prettyprint.c (main): Move declarations to top.
10172 Add "estring2" local.
10173
5fc3827b
JK
101742010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10175
10176 Fix s390x compatibility.
10177 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
10178 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
10179
8aeb23f3
JK
101802010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10181
10182 * gdb.threads/sigstep-threads.exp: New file.
10183 * gdb.threads/sigstep-threads.c: New file.
10184
c1e56572
JK
101852010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10186
10187 * gdb.base/pie-execl.exp: New file.
10188 * gdb.base/pie-execl.c: New file.
10189
92163a10
JK
101902010-10-13 Doug Evans <dje@google.com>
10191 Jan Kratochvil <jan.kratochvil@redhat.com>
10192
10193 PR exp/12117
10194 * gdb.cp/ptype-cv-cp.cc: New file.
10195 * gdb.cp/ptype-cv-cp.exp: New file.
10196
7062b0a0
SW
101972010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
10198
10199 * gdb.cp/converts.cc: New test program.
10200 * gdb.cp/converts.exp: New test.
10201 * gdb.cp/overload.exp: Added test for void* vs int*.
10202 * gdb.cp/overload.exp: Ditto.
10203 * gdb.cp/oranking.exp: Removed related kfail.
10204
0e3509db
DE
102052010-10-13 Doug Evans <dje@google.com>
10206
10207 * lib/gdb-python.exp (gdb_check_python_config): New function.
10208 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
10209 * gdb.python/lib-types.cc: New file.
10210 * gdb.python/lib-types.exp: New file.
10211
8dc78533
JK
102122010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10213
10214 * gdb.python/py-error.exp: New file.
10215 * gdb.python/py-error.py: New file.
10216
93c17e06
JK
102172010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10218
10219 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
10220 gdb_test_multiple.
10221
d8b34041
JK
102222010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10223
10224 * gdb.base/break-interp.exp: Use ldlags for linking flags.
10225 * gdb.base/prelink.exp: Likewise.
10226 * gdb.base/solib-nodir.exp: Likewise.
10227 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
10228 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
10229 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
10230
e0cc584e
UW
102312010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
10232
10233 * break-interp.exp (test_ld): Use two separate gdb_expect statements
10234 for the "info files" test to avoid timeouts on slow machines.
10235
cfc353b1
JK
102362010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10237
10238 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
10239 (main): Make openlib dummy call.
10240
d3d7896d
JK
102412010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10242
10243 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
10244 * break-interp.exp (reach): Move the core body ...
10245 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
10246 (test_ld): Provide always real argument, even to the linker. Replace
10247 dl_main by _dl_debug_state.
10248
5e533c94
JK
102492010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10250
10251 Fix results of prelinked PIEs on ppc*.
10252 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
10253 Accept also DISPLACEMENT "PRESENT".
10254 (main): Replace "ZERO" displacements by "PRESENT".
10255
33540610
SW
102562010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
10257
10258 * gdb.cp/oranking.exp: New test.
10259 * gdb.cp/oranking.cc: New test program.
10260
3bdf2bbd
KW
102612010-10-08 Ken Werner <ken.werner@de.ibm.com>
10262
10263 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
10264 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
10265
2f608a3a
KW
102662010-10-06 Ken Werner <ken.werner@de.ibm.com>
10267
10268 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
10269 lush, lynx) New constant.
10270 * gdb.base/constvars.exp: Test const array types.
10271 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
10272
aa2e2d8d
DE
102732010-10-06 Doug Evans <dje@google.com>
10274
10275 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
10276 of syscall staging area.
10277
2844d6b5
KW
102782010-10-06 Ken Werner <ken.werner@de.ibm.com>
10279
10280 * gdb.base/gnu_vector.c: Add variable c4.
10281 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
10282 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
10283
7d8ac8bb
MR
102842010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
10285
10286 * gdb.arch/altivec-abi.exp: Fix a typo.
10287
84a02e58
MR
102882010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
10289
10290 * lib/mi-support.exp (thread_selected_re): Correct pattern used
10291 to match a thread ID.
10292
b18e6318
JK
102932010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10294
10295 Fix s390x testcase compatibility.
10296 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
10297
a2c09bd0
DE
102982010-10-01 Doug Evans <dje@google.com>
10299
10300 * lib/gdb-python.exp: New file.
10301 * gdb.python/py-block.exp: Use it.
10302 * gdb.python/py-breakpoint.exp: Ditto.
10303 * gdb.python/py-frame.exp: Ditto.
10304 * gdb.python/py-inferior.exp: Ditto.
10305 * gdb.python/py-param.exp: Ditto.
10306 * gdb.python/py-prettyprint.exp: Ditto.
10307 * gdb.python/py-shared.exp: Ditto.
10308 * gdb.python/py-symbol.exp: Ditto.
10309 * gdb.python/py-symtab.exp: Ditto.
10310 * gdb.python/py-type.exp: Ditto.
10311 * gdb.python/py-value.exp: Ditto.
10312 * gdb.python/python.exp: Ditto.
10313
38f12cfc
TT
103142010-09-30 Tom Tromey <tromey@redhat.com>
10315
10316 * gdb.base/anon.exp: New file.
10317 * gdb.base/anon.c: New file.
10318
9ae8282d
TT
103192010-09-30 Tom Tromey <tromey@redhat.com>
10320
10321 * gdb.base/completion.exp: Test completion through anonymous
10322 union.
10323 * gdb.base/break1.c (struct some_struct): Add anonymous union.
10324
e9e07ba6
JK
103252010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10326
10327 Fix printing parameters of inlined functions.
10328 * gdb.dwarf2/dw2-inline-param.exp: New file.
10329 * gdb.dwarf2/dw2-inline-param-main.c: New file.
10330 * gdb.dwarf2/dw2-inline-param.S: New file.
10331
cd2effb2
JK
103322010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10333
10334 PR corefiles/12071.
10335 * gdb.base/corefile.exp (quit with a process, no question: load core)
10336 (quit with a core file): New tests.
10337
bceffbf3
JK
103382010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10339
10340 Fix GDB crash on inferior calls with self-referencing classes.
10341 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
10342 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
10343 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
10344
1736ad11
JK
103452010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10346
10347 Fix lost siginfo_t for inferior calls.
10348 * gdb.base/siginfo-infcall.exp: New file.
10349 * gdb.base/siginfo-infcall.c: New file.
10350
a176ad92
JB
103512010-09-22 Joel Brobecker <brobecker@adacore.com>
10352
10353 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
10354
c2b0a229
JK
103552010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10356
10357 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
10358 New test.
10359 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
10360
e8ae22d1
JB
103612010-09-22 Joel Brobecker <brobecker@adacore.com>
10362
10363 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
10364 type of our const type.
10365
ec322823
SW
103662010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
10367
10368 * gdb.cp/pr12028.cc: New.
10369 * gdb.cp/pr12028.exp: New.
10370
72929c62
JB
103712010-09-22 Joel Brobecker <brobecker@adacore.com>
10372
10373 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
10374
875b4ff5 103752010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 10376 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
10377
10378 PR mi/11407
10379 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
10380 * gdb.mi/dw2-ref-missing-frame-main.c New File.
10381 * gdb.mi/dw2-ref-missing-frame.S New File.
10382 * gdb.mi/dw2-ref-missing-frame.exp New File.
10383
7155d578
TT
103842010-09-14 Tom Tromey <tromey@redhat.com>
10385
10386 PR symtab/8399:
10387 * gdb.threads/tls.exp: Remove kfail. Update expected output.
10388
515ed532
TT
103892010-09-14 Tom Tromey <tromey@redhat.com>
10390
10391 PR exp/11803:
10392 * gdb.threads/tls.exp: Use C++.
10393 (check_thread_local): Use K::another_thread_local.
10394 * gdb.threads/tls.c (class K): New.
10395 (another_thread_local): Now a member of K.
10396 (spin): Update. No longer K&R C.
10397
450ca57c
SW
103982010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
10399
10400 * gdb.cp/koenig.cc: created class for testing member lookup.
10401 * gdb.cp/koenig.exp: Added test for member lookup.
10402
dbd492a3
JK
104032010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10404
10405 Fix false FAILs on sourcetree topdir directory containing "kill".
10406 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
10407 source line matching regexp.
10408
8d4d924b
JK
104092010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10410
10411 * gdb.python/python.exp (set height 0, collect help from uiout)
10412 (verify help to uiout): New tests.
10413
8e64f2a0
JK
104142010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10415
10416 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
10417 is_lp64_target to check 64bit target.
10418
4569eed2
JK
104192010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10420
10421 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
10422 (test_ld) <powerpc64-*>: New.
10423
5e1617b1
DJ
104242010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10425
10426 * gdb.cp/templates.exp (test_template_args): Allow "struct".
10427
c767944b
DJ
104282010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10429
10430 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
10431 (FunctionArg::method): New function.
10432 (empty, arg): New variables.
10433 (main): Call arg.method.
10434 * gdb.cp/templates.exp (test_template_args): New function.
10435 (do_tests): Call it.
10436
27d3a3fc
UW
104372010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10438
10439 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
10440 of "next" to proceed over pthread_exit call.
10441
55b7ce7f
UW
104422010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10443
10444 * gdb.base/maint.exp: Avoid wildcards against potentially very long
10445 "maint print statistics" output to prevent expect timeouts.
10446
809df446
JK
104472010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10448
10449 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
10450 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10451 (test_float_rejected): ... here.
10452 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
10453 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10454 (test_float_rejected): ... here.
10455 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
10456 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10457 (test_float_rejected): ... here.
10458 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
10459 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10460 (test_float_rejected): ... here.
10461
8464be76
DJ
104622010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10463
10464 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
10465 before disabling hardware watchpoints.
10466 (test_inaccessible_watchpoint): Check that hardware watchpoints
10467 are used. Test for watchpoints on a constant address.
10468
14dba4b4
JK
104692010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10470
10471 * gdb.base/ui-redirect.exp: New file.
10472
3f3540e1 104732010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 10474 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
10475
10476 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
10477
0f254bb7
DE
104782010-08-31 Doug Evans <dje@google.com>
10479
10480 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
10481
03f17ccf
TT
104822010-08-30 Tom Tromey <tromey@redhat.com>
10483
10484 PR python/11792:
10485 * gdb.python/py-value.exp (test_subscript_regression): Add
10486 dynamic_type test.
10487
640617ad
DJ
104882010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
10489
10490 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
10491 instead of running to main. Do not test the main function.
10492 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
10493 Add new main.
10494
2ed91d1b
PA
104952010-08-26 Pedro Alves <pedro@codesourcery.com>
10496
10497 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
10498 one test.
10499
673bfd45
DE
105002010-08-24 Doug Evans <dje@google.com>
10501
10502 PR symtab/11942
10503 * gdb.dwarf2/dw4-sig-types.cc: New file.
10504 * gdb.dwarf2/dw4-sig-types.h: New file.
10505 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
10506 * gdb.dwarf2/dw4-sig-types.exp: New file.
10507
f9ffd4bb
TT
105082010-08-23 Tom Tromey <tromey@redhat.com>
10509
10510 PR python/11145:
10511 * gdb.python/py-value.c (Base, Derived): New types.
10512 (base): New global.
10513 * gdb.python/py-value.exp (test_subscript_regression): Add
10514 dynamic_cast test.
10515
d839c8a4
TT
105162010-08-23 Tom Tromey <tromey@redhat.com>
10517
10518 PR python/10676:
10519 * gdb.python/py-type.exp (test_fields): Add tests for type
10520 equality.
10521
702c2711
TT
105222010-08-23 Tom Tromey <tromey@redhat.com>
10523
10524 PR python/11915:
10525 * gdb.python/py-type.exp (test_fields): Add tests for array.
10526
832bafd3
KS
105272010-08-23 Keith Seitz <keiths@redhat.com>
10528
10529 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
10530 have any children. Create a new abbrev for it.
10531 Add missing terminal sequence to .debug_abbrev.
10532
c37bf528
KS
105332010-08-20 Keith Seitz <keiths@redhat.com>
10534
10535 PR symtab/11465:
10536 * gdb.dwarf2/pr11465.exp: New test.
10537 * gdb.dwarf2/pr11465.S: New file.
10538 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
10539 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
10540
4572cbac
TJB
105412010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
10542
10543 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
10544 registers. Update data sets with the new v2_double element in the
10545 VSX register union. Add vector_register3_vr data set for the AltiVec
10546 registers. Use gdb_test_no_output instead of send_gdb.
10547
e7fbb131
PA
105482010-08-19 Pedro Alves <pedro@codesourcery.com>
10549
10550 * gdb.python/py-shared.exp: New file, factored out from
10551 python.exp.
10552 * gdb.python/py-shared.c: New file.
10553 * gdb.python/py-shared-sl.c: New file.
10554 * gdb.python/python-1.c: New file.
10555 * gdb.python/python-sl.c: Delete.
10556 * gdb.python/python.c: Mention python-1.c.
10557 * gdb.python/python.exp: Move shared library tests to
10558 py-shared.exp.
10559 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
10560 (MISCELLANEOUS): New.
10561 (clean mostlyclean): Also remove $MISCELLANEOUS.
10562
d30f5e1f
DE
105632010-08-19 Doug Evans <dje@google.com>
10564
10565 PR exp/11926
10566 * gdb.base/printcmds.exp (test_float_accepted): New function.
10567 Move existing float tests there. Add tests for floats with suffixes.
10568 (test_float_rejected): New function.
10569 * gdb.java/jv-print.exp (test_float_accepted): New function.
10570 (test_float_rejected): New function.
10571 * gdb.objc/print.exp: New file.
10572 * gdb.pascal/print.exp: New file.
10573 * lib/objc.exp: New file.
10574
7b3fd859
PM
105752010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
10576
10577 * gdb.base/default.exp (info set): Avoid full buffer error and force
10578 reading up to final gdb prompt.
10579 (show): Likewise.
10580
c92817ce
TT
105812010-08-18 Tom Tromey <tromey@redhat.com>
10582
10583 PR symtab/11919:
10584 * gdb.base/completion.exp: Add test.
10585
f1208f9e
DE
105862010-08-18 Doug Evans <dje@google.com>
10587
10588 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
10589 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
10590 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
10591 Simplify, early exit if runto_main fails.
10592 * gdb.fortran/exprs.exp: load_lib fortran.exp.
10593 (set_lang_fortran): Moved to lib/fortran.exp.
10594 * gdb.fortran/types.exp: load_lib fortran.exp.
10595 (set_lang_fortran): Moved to lib/fortran.exp.
10596 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
10597 * gdb.java/jprint.exp (set_lang_java): Ditto.
10598 * gdb.java/jv-exp.exp: load_lib java.exp.
10599 If set_lang_java fails, issue a warning instead of failure to be
10600 consistent with other set_lang_foo uses.
10601 (set_lang_java): Moved to lib/java.exp.
10602 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
10603 If set_lang_java fails, issue a warning instead of failure to be
10604 consistent with other set_lang_foo uses.
10605 * gdb.pascal/types.exp: load_lib pascal.exp.
10606 (set_lang_pascal): Moved to lib/pascal.exp.
10607 * lib/fortran.exp: New file.
10608 * lib/java.exp (set_lang_java): New function.
10609 * lib/pascal.exp (set_lang_pascal): New function.
10610
2f06b485
YQ
106112010-08-18 Yao Qi <yao@codesourcery.com
10612
10613 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
10614 func_nofb_start and func_loopfb_start, so that address of functions
10615 is equal to these labels on Thumb.
10616
96e25403
YQ
106172010-08-18 Yao Qi <yao@codesourcery.com>
10618
10619 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
10620 to reflect latest c source file.
10621
36e6adc4
JK
106222010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10623
10624 * gdb.cp/infcall-dlopen.exp: New file.
10625 * gdb.cp/infcall-dlopen.cc: New file.
10626 * gdb.cp/infcall-dlopen-lib.cc: New file.
10627
f431efe5
PA
106282010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10629 Pedro Alves <pedro@codesourcery.com>
10630
10631 PR breakpoints/11371
10632
10633 * gdb.base/watch-cond-infcall.exp: New file.
10634 * gdb.base/watch-cond-infcall.c: New file.
10635
06a64a0b
TT
106362010-08-16 Tom Tromey <tromey@redhat.com>
10637
10638 * gdb.base/help.exp: Update.
10639 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
10640 watchpoint.
10641 (test_watch_location): New proc.
10642 (test_watchpoint_in_big_blob): Delete watchpoint.
10643 * gdb.base/watchpoint.c (func5): New function.
10644 (main): Call it.
10645
70ebf4ed
DE
106462010-08-16 Doug Evans <dje@google.com>
10647
10648 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
10649
ca5c20b6
PM
106502010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10651
10652 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
10653 tests.
10654
7346b668
KW
106552010-08-11 Ken Werner <ken.werner@de.ibm.com>
10656
10657 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
10658 * gdb.base/gnu_vector.c: New File.
10659 * gdb.base/gnu_vector.exp: Likewise.
10660
cb2e07a6
PM
106612010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10662
10663 * gdb.python/python.c: New File.
10664 * gdb.python/python-sl.c: New File.
10665 * gdb.python/python.exp: Test solib_address and decode_line
10666 * functions.
10667
5da1313b
JK
106682010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10669
10670 * gdb.python/python.exp (show height, set height 10)
10671 (verify pagination beforehand, verify pagination beforehand: q)
10672 (gdb.execute does not page, verify pagination afterwards)
10673 (verify pagination afterwards: q): New.
10674
49c3ccf7
DE
106752010-08-02 Doug Evans <dje@google.com>
10676
10677 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
10678 because of an older gcc, change test2
10679 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
10680 to unsupported.
10681
42c0c4f1
KH
106822010-07-30 Kazu Hirata <kazu@codesourcery.com>
10683
10684 * gdb.base/break-always.exp: Do not expect full paths to file
10685 names.
10686 * gdb.base/commands.exp: Likewise.
10687
d3765805
DE
106882010-07-30 Doug Evans <dje@google.com>
10689
c98ee71b
DE
10690 * gdb.cp/temargs.exp: For new tests that require newer gccs,
10691 xfail them when run with older gccs.
10692
fd961404
DE
10693 * lib/gdb.exp (build_executable): Forward "c++" option to
10694 get_compiler_info.
10695
999adef4
DE
10696 * gdb.python/py-type.exp (test_template): Mark as xfail tests
10697 "python print ttype.template_argument(1)" and
10698 "python print isinstance(ttype.template_argument(1), gdb.Value)"
10699 if using gcc 4.4 or earlier.
10700
d3765805
DE
10701 * gdb.base/valgrind-db-attach.exp: Use unique test name for
10702 attach-to-debugger handling.
10703
1276c759
JK
107042010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10705
10706 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
10707 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
10708 (main): Use copyreloc.
10709 * gdb.base/prelink.exp (split debug of executable)
10710 (.dynbss vs. .bss address shift): New tests.
10711
88caa9b9
PA
107122010-07-29 Pedro Alves <pedro@codesourcery.com>
10713
10714 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
10715 in gdb_test_multiple.
10716
c6f2ac43
PA
107172010-07-29 Pedro Alves <pedro@codesourcery.com>
10718
10719 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
10720 environment.
10721
326fd672
TT
107222010-07-28 Tom Tromey <tromey@redhat.com>
10723
10724 PR python/11060:
10725 * gdb.python/py-type.c (Temargs): New template.
10726 (temvar): New variable.
10727 * gdb.python/py-type.exp (test_template): New proc.
10728
3ce3b1ba
PA
107292010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
10730
10731 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
10732 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
10733
34eaf542
TT
107342010-07-28 Tom Tromey <tromey@redhat.com>
10735
10736 PR c++/9946:
10737 * gdb.cp/temargs.exp: New file.
10738 * gdb.cp/temargs.cc: New file.
10739
d41b819e
JK
107402010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10741
10742 * gdb.base/help.exp (help disassemble): Update the content.
10743
26ab7092
JK
107442010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10745
10746 * gdb.threads/ia64-sigill.exp: New file.
10747 * gdb.threads/ia64-sigill.c: New file.
10748
5283e9e1
TT
107492010-07-27 Tom Tromey <tromey@redhat.com>
10750
10751 * gdb.opt/inline-cmds.c (ATTR): New define.
10752 (func1): Use it.
10753 (func2): Likewise.
10754 (func3): Likewise.
10755 (outer_inline1): Likewise.
10756 (outer_inline2): Likewise.
10757 * gdb.opt/inline-bt.c (ATTR): New define.
10758 (func1): Use it.
10759 (func2): Likewise.
10760 * gdb.opt/inline-locals.c (ATTR): New define.
10761 (func1): Use it.
10762 (func2): Likewise.
10763
e992ef73
TT
107642010-07-27 Tom Tromey <tromey@redhat.com>
10765
10766 * gdb.stabs/gdb11479.c (hack): New function.
10767 (test): Use it.
10768 (test2): Use it.
10769 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
10770 (int32_search_buf, int64_search_buf): No longer static.
10771 (x): Remove.
10772 * gdb.base/relocate.c (hack): New function.
10773
5374244e
PM
107742010-07-27 Phil Muldoon <pmuldoon@redhat.com>
10775
10776 * gdb.python/py-value.exp (test_inferior_function_call): New function.
10777 * gdb.python/py-value.c (func1): New function.
10778 (func2): Likewise.
10779
a99aee83
CV
107802010-07-26 Corinna Vinschen <vinschen@redhat.com>
10781
10782 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
10783 as not to clash with .data section.
10784
a04ba985
JG
107852010-07-26 Jerome Guitton <guitton@adacore.com>
10786
10787 * gdb.base/code_elim.exp: New file.
10788 * gdb.base/code_elim1.c: New file.
10789 * gdb.base/code_elim2.c: New file.
10790
23bd0f7c
PA
107912010-07-21 Pedro Alves <pedro@codesourcery.com>
10792
10793 PR symtab/11827
10794
10795 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
10796 (some_volatile_enum): New variable.
10797 * gdb.base/printcmds.exp (test_print_enums): New.
10798 <top level>: Call it.
10799
883df6dd
SW
108002010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
10801
10802 * gdb.cp/fpointer.cc: New test.
10803 * gdb.cp/fpointer.exp: New test.
10804
569b05a5
JK
108052010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10806
10807 * gdb.base/solib-nodir.exp: New file.
10808 * lib/gdb.exp (runto): New case for a GDB internal error.
10809
51d7d803
JK
108102010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10811 Ulrich Weigand <uweigand@de.ibm.com>
10812 Tom Tromey <tromey@redhat.com>
10813
10814 * gdb.base/charset-malloc.c: New file.
10815 * gdb.base/charset.c (malloc_stub): New prototype.
10816 (main): Call it instead of malloc itself.
10817 * gdb.base/charset.exp: Use only prepare_for_testing.
10818 (binfile): Remove the variable.
10819
c0edd9ed
JK
108202010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10821
10822 Make core files the process_stratum.
10823 * gdb.base/corefile.exp (run: load core again)
10824 (run: sanity check we see the core file, run: with core)
10825 (run: core file is cleared, attach: load core again)
10826 (attach: sanity check we see the core file, attach: with core)
10827 (attach: core file is cleared): New tests.
10828 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
10829
3cbaedff
KW
108302010-07-14 Ken Werner <ken.werner@de.ibm.com>
10831
10832 * gdb.arch/altivec-abi.exp: New tests.
10833
91158a56
TT
108342010-07-13 Tom Tromey <tromey@redhat.com>
10835
10836 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
10837 (main): Use it.
10838 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
10839
0f5238ed
TT
108402010-07-13 Tom Tromey <tromey@redhat.com>
10841
10842 * gdb.base/label.exp: New file.
10843 * gdb.base/label.c: New file.
10844
add265ae
L
108452010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
10846 H.J. Lu <hongjiu.lu@intel.com>
10847
10848 * lib/gdb.exp (is_ilp32_target): New.
10849 (is_lp64_target): Likewise.
10850
10851 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
10852 target.
10853 * gdb.arch/amd64-disp-step.exp: Likewise.
10854 * gdb.arch/amd64-dword.exp: Likewise.
10855 * gdb.arch/amd64-i386-address.exp: Likewise.
10856 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 10857
add265ae
L
10858 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
10859 target.
10860 * gdb.arch/i386-bp_permanent.exp: Likewise.
10861 * gdb.arch/i386-byte.exp: Likewise.
10862 * gdb.arch/i386-disp-step.exp: Likewise.
10863 * gdb.arch/i386-gnu-cfi.exp: Likewise.
10864 * gdb.arch/i386-prologue.exp: Likewise.
10865 * gdb.arch/i386-size-overlap.exp: Likewise.
10866 * gdb.arch/i386-size.exp: Likewise.
10867 * gdb.arch/i386-sse.exp: Likewise.
10868 * gdb.arch/i386-unwind.exp: Likewise.
10869 * gdb.arch/i386-word.exp: Likewise.
10870
10871 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
10872 test only when building 64-bit executables. Do not hard-code
10873 -m64 option.
10874
2dfb8c17
DE
108752010-07-07 Doug Evans <dje@google.com>
10876
10877 * lib/gdb.exp (gdb_test_list_exact): New function.
10878 * gdb.base/default.exp (show convenience): Call it, add tests for
10879 $_sdata = void, $_thread = 0.
10880
4e5799b6
JK
108812010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10882 Joel Brobecker <brobecker@adacore.com>
10883
10884 Fix re-run of PIE executable, PR shlibs/11776.
10885 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
10886 Remove $displacement_main to match the solib-svr4.c change. New "kill"
10887 and re-"run" of the inferior.
10888
1a219cc7
JK
108892010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10890 Joel Brobecker <brobecker@adacore.com>
10891
10892 Cope with missing /usr/sbin/prelink.
10893 * lib/prelink-support.exp (prelink_no):
10894 <result == 1 && $output is "no such file or directory">: New.
10895 (prelink_yes): Likewise. Return on failed prelink_no.
10896
5e3b36f8
JK
108972010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10898 Joel Brobecker <brobecker@adacore.com>
10899
10900 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
10901 build_executable by build_executable_own_libs. Replace "prelink -R"
10902 execution by a call of prelink_yes. Comment why "prelink -r" needs no
10903 change.
10904 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
10905 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
10906 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
10907 Replace build_executable by build_executable_own_libs's function
10908 build_executable_own_libs.
10909 (prelinkNO): Create new stub to call prelink_no.
10910 (prelinkYES): Create new stub to call prelink_yes.
10911 (test_attach): Rename calls of copy to file_copy.
10912 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
10913 (copy): Move to ...
10914 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
10915 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
10916 * gdb.base/prelink.exp: Disable testcase also for is_remote and
10917 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
10918 special flags by gdb_compile_shlib. Replace second gdb_compile by
10919 build_executable_own_libs. Replace "prelink -R" execution by a call of
10920 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
10921 a second call of prelink_yes. Replace restart commands by
10922 clean_restart.
10923 (prelink): Rename to ...
10924 (seen displacement message): ... this test. Extend its expectation
10925 strictness.
10926
86e4bafc
JK
109272010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10928
10929 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
10930 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
10931 displacement message exactly once.
10932
3cd07d20
JK
109332010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10934 Joel Brobecker <brobecker@adacore.com>
10935
10936 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
10937 its restore after the <$relink_args != ""> loop. new comment.
10938
0a1e94c7
JK
109392010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10940 Joel Brobecker <brobecker@adacore.com>
10941
10942 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
10943 code for it. New variable relink_args.
10944 (prelinkYES): Call prelinkNO.
10945 (test_attach): Accept new parameter relink_args. Re-prelink the binary
10946 in such case. Move the core code to ...
10947 (test_attach_gdb): ... a new function. Send GDB command "file".
10948 Extend expected "Attaching to " string.
10949
2f70bcfb
TT
109502010-07-02 Tom Tromey <tromey@redhat.com>
10951
10952 * gdb.base/bitops.exp: Remove extraneous "pass".
10953
a17ac5b0
TT
109542010-07-02 Ken Werner <ken.werner@de.ibm.com>
10955
10956 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
10957
dc10affe
PA
109582010-07-01 Pedro Alves <pedro@codesourcery.com>
10959
d41c0fc8
PA
10960 * gdb.base/help.exp: Adjust expected output.
10961
109622010-07-01 Pedro Alves <pedro@codesourcery.com>
10963
10964 * gdb.base/help.exp: Adjust expected output.
dc10affe 10965
0a600c36
JK
109662010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10967
10968 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
10969 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
10970 c++/11702.
10971
37cc8bfe
JK
109722010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10973 Doug Evans <dje@google.com>
10974
10975 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
10976 add .dynamic entry'.
10977
254e6b9e
DE
109782010-06-29 Doug Evans <dje@google.com>
10979
10980 Test PR c++/11702.
10981 * gdb.cp/m-static.exp: Add testcase.
10982 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
10983
595939de 109842010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
10985 Tom Tromey <tromey@redhat.com>
10986 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
10987
10988 * gdb.python/py-inferior.c: New File.
10989 * gdb.python/py-infthread.c: New File.
10990 * gdb.python/py-inferior.exp: New File.
10991 * gdb.python/py-infthread.exp: New File.
10992
98751a41
JK
109932010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10994
10995 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
10996 (ptype ::C::OtherFileClass typedefs): New.
10997 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
10998 (C::OtherFileClass::cOtherFileClassVar2): New.
10999 (C::OtherFileClass::cOtherFileClassVar_use): Use also
11000 cOtherFileClassVar2.
11001 (C::cOtherFileType2, C::cOtherFileVar2): New.
11002 (C::cOtherFileVar_use): use also cOtherFileVar2.
11003 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
11004
41f62f39
JK
110052010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11006
11007 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
11008 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
11009 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
11010 (print ::C::cOtherFileVar)
11011 (whatis C::OtherFileClass::cOtherFileClassType)
11012 (whatis ::C::OtherFileClass::cOtherFileClassType)
11013 (print C::OtherFileClass::cOtherFileClassVar)
11014 (print ::cOtherFileClassVar)
11015 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
11016 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
11017 trailing content.
11018 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
11019 (C::OtherFileClass::cOtherFileClassVar)
11020 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
11021 (C::cOtherFileVar, C::cOtherFileVar_use): New.
11022
af53d231
JK
110232010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11024
11025 Test PR c++/11703 and PR gdb/1448.
11026 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
11027 gdb/1448.
11028
9655fd1a
JK
110292010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11030
11031 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
11032 (main) <rtti_data>: New.
11033 * gdb.cp/virtbase.exp (print rtti_data): New.
11034
824cc8dd
JK
110352010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11036 Joel Brobecker <brobecker@adacore.com>
11037
11038 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
11039
6036c742
JK
110402010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11041
11042 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
11043
de6a0421
DE
110442010-06-28 Doug Evans <dje@google.com>
11045
11046 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
11047
b2dae948
DE
110482010-06-27 Doug Evans <dje@google.com>
11049
11050 * gdb.cp/m-static.exp: Update expected test output.
11051
0f3bb72e
PH
110522010-06-25 Paul Hilfinger <hilfinger@adacore.com>
11053
889bf7c5
PA
11054 * gdb.gdb/selftest.exp: Adjust expected message for
11055 capturing start-up runtime.
0f3bb72e 11056
bc9f0842
TT
110572010-06-25 Tom Tromey <tromey@redhat.com>
11058
11059 PR python/10808:
11060 * gdb.python/python.exp: Add new tests.
11061
099ef718
SW
110622010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
11063
11064 * gdb.cp/operator.cc: Created an import loop.
11065 * gdb.cp/operator.exp: Added testcase for import loop.
11066
5868a632
JK
110672010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11068
11069 Test PR python/11407.
11070 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
11071 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
11072 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
11073 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
11074 executable_nofb and executable_fb. New variables srcsfile, objsfile,
11075 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
11076 binfile. Call gdb_compile with clean_restart twice.
11077 (func_nofb print, func_nofb backtrace, func_loopfb print)
11078 (func_loopfb backtrace): New.
11079
af76db58
JK
110802010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11081
11082 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
11083 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
11084 by a hand made one.
11085 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
11086 i?86 requirement. Remove variables srcfile and binfile. New variable
11087 sources, executable_nofb and executable_fb. Call prepare_for_testing.
11088
f2c7657e
UW
110892010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11090
11091 * gdb.cell/dwarfaddr.exp: New file.
11092 * gdb.cell/dwarfaddr.S: New file.
11093
628fe4e4
JK
110942010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11095
11096 Test PR 9436.
11097 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
11098
f1421989
HZ
110992010-06-24 Hui Zhu <teawater@gmail.com>
11100
11101 * gdb.base/eval.exp: New file.
11102
d03285ec
UW
111032010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11104
11105 * gdb.cell/fork.exp: New file.
11106 * gdb.cell/fork.c: Likewise.
11107 * gdb.cell/fork-spu.c: Likewise.
11108
41b2c92d
PM
111092010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
11110
11111 * lib/gdb.exp (banned_variables_traced): New global variable.
11112 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
11113 (gdb_init): Use `trace add variable' instead of obsolete
11114 `trace variable'.
11115
d5bc977f
DE
111162010-06-21 Doug Evans <dje@google.com>
11117
11118 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
11119
d2ed6730
UW
111202010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11121
11122 * gdb.arch/spu-ls.exp: New file.
11123 * gdb.arch/spu-ls.c: Likewise.
11124
6aed2dbc
SS
111252010-06-18 Stan Shebs <stan@codesourcery.com>
11126
11127 * gdb.threads/thread-specific.exp: Add tests of $_thread.
11128
e0756905
UW
111292010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11130
11131 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
11132 * gdb.base/watch-cond.exp: Likewise.
11133 * gdb.python/py-breakpoint.exp: Likewise.
11134
d8053d4d
PA
111352010-06-18 Pedro Alves <pedro@codesourcery.com>
11136
11137 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
11138 clean_restart, make sure every test has a distinct message, and
11139 that messages don't include the executable' full path.
11140
81ce510c
DE
111412010-06-17 Doug Evans <dje@google.com>
11142
11143 * gdb.arch/i386-size.exp: Updated expected output for
11144 DISASSEMBLY_OMIT_FNAME.
11145
65d79d4b
SDJ
111462010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11147 Sergio Durigan Junior <sergiodj@redhat.com>
11148
11149 * gdb.base/watch-notconst.c: New file.
11150 * gdb.base/watch-notconst.S: New file.
11151 * gdb.base/watch-notconst2.c: New file.
11152 * gdb.base/watch-notconst2.S: New file.
11153 * gdb.base/watch-notconst.exp: New file.
11154 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
11155 (func4): Add operations on `global_ptr_ptr'.
11156 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
11157 routine to test watchpoints created with a constant expression.
11158 (test_inaccessible_watchpoint): Include tests for watchpoints
11159 created with a constant expression.
11160
df0f4836
KB
111612010-06-14 Kevin Buettner <kevinb@redhat.com>
11162
11163 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
11164 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
11165 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
11166 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
11167 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
11168 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
11169 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
11170 of `_start'.
11171
b769def5
UW
111722010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11173
11174 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
11175 not supported on the target.
11176 * gdb.mi/mi-nonstop-exit.exp: Likewise.
11177 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
11178 * gdb.mi/mi-nsintrall.exp: Likewise.
11179 * gdb.mi/mi-nsmoribund.exp: Likewise.
11180 * gdb.mi/mi-nsthrexec.exp: Likewise.
11181
d914c394
SS
111822010-06-11 Stan Shebs <stan@codesourcery.com>
11183
11184 * gdb.base/permissions.exp: New file.
11185
111862010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
11187
11188 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
11189 does not support ELF executable class.
11190
f3ce5b9c
UW
111912010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11192
11193 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
11194
8e46892c
JK
111952010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11196
11197 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
11198 (runto): Catch "The target does not support running in non-stop mode.".
11199
6cc55c64
MS
112002010-06-11 Michael Snyder <msnyder@vmware.com>
11201
11202 * gdb.base/setshow.exp (set language asm): Don't use
11203 gdb_test_no_output, fails on some targets.
11204
caddefa4
UW
112052010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11206
11207 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
11208 * gdb.cp/pr9167.exp: Likewise.
11209
468b1aa7
UW
112102010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11211
11212 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
11213
5c3552dc
UW
112142010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11215
11216 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
11217
02e6fe6a
UW
112182010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11219
11220 * gdb.base/charset.c (main): Make sure malloc gets linked in.
11221
0e03807e
TT
112222010-06-11 Tom Tromey <tromey@redhat.com>
11223
11224 PR gdb/9977, PR exp/11636::
11225 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
11226 (pieces_test_f6): Update expected output.
11227
2bdf28a0
JK
112282010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11229
11230 * gdb.base/moribund-step.exp: New.
11231
f6978de9
MS
112322010-06-08 Michael Snyder <msnyder@vmware.com>
11233
11234 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 11235 * gdb.ada/boolean_expr.exp:
f6978de9
MS
11236 * gdb.ada/frame_args.exp: Ditto.
11237 * gdb.ada/lang_switch.exp: Ditto.
11238 * gdb.ada/ptype_arith_binop.exp: Ditto.
11239 * gdb.ada/ref_param.exp: Ditto.
11240 * gdb.ada/type_coercion.exp:Ditto.
11241
11242 * gdb.asm/asm-source.exp: Ditto.
11243
11244 * gdb.base/attach.exp: Ditto.
11245 * gdb.base/bitfields2.exp: Ditto.
11246 * gdb.base/call-signal-resume.exp: Ditto.
11247 * gdb.base/callfuncs.exp: Ditto.
11248 * gdb.base/commands.exp: Ditto.
11249 * gdb.base/dbx.exp: Ditto.
11250 * gdb.base/default.exp: Ditto.
11251 * gdb.base/dump.exp: Ditto.
11252 * gdb.base/exprs.exp: Ditto.
11253 * gdb.base/freebpcmd.exp: Ditto.
11254 * gdb.base/interrupt.exp: Ditto.
11255 * gdb.base/list.exp: Ditto.
11256 * gdb.base/long_long.exp: Ditto.
11257 * gdb.base/maint.exp: Ditto.
11258 * gdb.base/ptype.exp: Ditto.
11259 * gdb.base/return.exp: Ditto.
11260 * gdb.base/setshow.exp: Ditto.
11261 * gdb.base/sigbpt.exp: Ditto.
11262 * gdb.base/sigrepeat.exp: Ditto.
11263
11264 * gdb.cp/classes.exp: Ditto.
11265
11266 * gdb.dwarf2/dw2-restore.exp: Ditto.
11267
11268 * gdb.gdb/selftest.exp: Ditto.
11269
11270 * gdb.multi/base.exp: Ditto.
11271 * gdb.multi/bkpt-multi-exec.exp: Ditto.
11272
11273 * gdb.python/py-block.exp: Ditto.
11274 * gdb.python/py-prettyprint.exp: Ditto.
11275 * gdb.python/py-template.exp: Ditto.
11276
11277 * gdb.server/ext-attach.exp: Ditto.
11278 * gdb.server/ext-run.exp: Ditto.
11279 * gdb.server/server-mon.exp: Ditto.
11280
11281 * gdb.threads/fork-thread-pending.exp: Ditto.
11282 * gdb.threads/hand-call-in-threads.exp: Ditto.
11283 * gdb.threads/interrupted-hand-call.exp: Ditto.
11284 * gdb.threads/linux-dp.exp: Ditto.
11285 * gdb.threads/manythreads.exp: Ditto.
11286 * gdb.threads/print-threads.exp: Ditto.
11287 * gdb.threads/pthreads.exp: Ditto.
11288 * gdb.threads/schedlock.exp: Ditto.
11289 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11290 * gdb.threads/threadapply.exp: Ditto.
11291
de7ff789
MS
112922010-06-08 Michael Snyder <msnyder@vmware.com>
11293
889bf7c5 11294 * gdb.ada/exec_changed.exp:
de7ff789
MS
11295 Use ".*" instead of "" as wildcard regexp.
11296
11297 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
11298 * gdb.base/call-ar-st.exp: Ditto.
11299 * gdb.base/checkpoint.exp: Ditto.
11300 * gdb.base/default.exp: Ditto.
11301 * gdb.base/dump.exp: Ditto.
11302 * gdb.base/ending-run.exp: Ditto.
11303 * gdb.base/fileio.exp: Ditto.
11304 * gdb.base/miscexprs.exp: Ditto.
11305 * gdb.base/pointers.exp: Ditto.
11306 * gdb.base/readline.exp: Ditto.
11307 * gdb.base/reread.exp: Ditto.
11308 * gdb.base/restore.exp: Ditto.
11309 * gdb.base/shlib-call.exp: Ditto.
11310 * gdb.base/valgrind-db-attach.exp: Ditto.
11311 * gdb.base/volatile.exp: Ditto.
11312 * gdb.base/watchpoints.exp: Ditto.
11313
11314 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
11315
11316 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
11317 * gdb.python/py-value.exp: Ditto.
11318
11319 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
11320 * gdb.trace/circ.exp: Ditto.
11321 * gdb.trace/collection.exp: Ditto.
11322 * gdb.trace/packetlen.exp: Ditto.
11323 * gdb.trace/passc-dyn.exp: Ditto.
11324 * gdb.trace/report.exp: Ditto.
11325 * gdb.trace/tfile.exp: Ditto.
11326 * gdb.trace/tfind.exp: Ditto.
11327 * gdb.trace/while-dyn.exp: Ditto.
11328
3bebe2f2
JK
113292010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11330
11331 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
11332
5c631832
JK
113332010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11334
11335 Test PR 10640.
11336 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
11337
4c3376c8
SW
113382010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
11339
11340 * gdb.cp/koenig.exp: Test for ADL operators.
11341 * gdb.cp/koenig.cc: Added ADL operators.
11342 * gdb.cp/operator.exp: New test.
11343 * gdb.cp/operator.cc: New test.
11344
dc226d5a
MS
113452010-06-04 Michael Snyder <msnyder@vmware.com>
11346
dfb88a23
MS
11347 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
11348 * gdb.base/pending.exp: Ditto.
f7ae76b3 11349
dc226d5a
MS
11350 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
11351
967cf477
DE
113522010-06-04 Doug Evans <dje@google.com>
11353
11354 * gdb.python/py-prettyprint.exp: Add new test for enabled and
11355 disabled printers.
11356 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
11357 (enable_lookup_function): New function.
11358
eb801841
TT
113592010-06-04 Tom Tromey <tromey@redhat.com>
11360
11361 * gdb.python/py-value.exp (test_value_hash): Don't test equality
11362 of hash and id.
11363
38979823
JK
113642010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11365
11366 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
11367 newline.
11368 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
11369 (empty verbose non-noisy clear, empty verbose noisy clear)
11370 (empty non-verbose noisy clear): Likewise.
11371
35ec993f
MS
113722010-06-03 Michael Snyder <msnyder@vmware.com>
11373
11374 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
11375 * gdb.base/display.exp: Ditto.
11376 * gdb.base/find.exp: Ditto.
11377 * gdb.base/ifelse.exp: Ditto.
11378 * gdb.base/multi-forks.exp: Ditto.
11379 * gdb.base/recurse.exp: Ditto.
11380 * gdb.base/setshow.exp: Ditto.
11381 * gdb.base/value-double-free.exp: Ditto.
11382 * gdb.base/watch-vfork.exp: Ditto.
11383 * gdb.base/watch_thread_num.exp: Ditto.
11384 * gdb.base/watchpoint-solib.exp: Ditto.
11385 * gdb.base/watchpoint.exp: Ditto.
11386 * gdb.base/watchpoints.exp: Ditto.
11387
11388 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
11389 * gdb.cp/overload.exp: Ditto.
11390 * gdb.cp/virtfunc.exp: Ditto.
11391
11392 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
11393
889bf7c5 11394 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
11395 Replace gdb_test with gdb_test_no_output.
11396
889bf7c5 11397 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
11398 Replace gdb_test with gdb_test_no_output.
11399 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11400 * gdb.threads/watchthreads.exp: Ditto.
11401 * gdb.threads/watchthreads2.exp: Ditto.
11402
11403 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
11404 * gdb.trace/tfind.exp: Ditto.
11405
c22decce
JB
114062010-06-03 Joel Brobecker <brobecker@adacore.com>
11407
11408 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
11409 successful test if message is the empty string.
11410
fd5700c7
JK
114112010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11412
11413 * gdb.fortran/module.exp (stopped language detection): New test.
11414
f55ee35c
JK
114152010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11416
11417 Support DW_TAG_module as separate namespaces.
11418 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
11419 gdb.fortran/library-module-lib.f90: New.
11420 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
11421 (print i): Remove.
11422 (continue to breakpoint: i-is-1, print var_i value 1)
11423 (continue to breakpoint: i-is-2, print var_i value 2)
11424 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
11425 (print var_d, print var_i value 14, ptype modmany, complete `modm)
11426 (complete `modmany, complete `modmany`, complete `modmany`var)
11427 (show language, setting breakpoint at module): New tests.
11428 * gdb.fortran/module.f90 (module mod): Remove.
11429 (module mod1, module mod2, module modmany, subroutine sub1)
11430 (subroutine sub2, program module): New.
11431
b8e8282f
JK
114322010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11433
11434 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
11435 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
11436 * gdb.cp/anon-union.exp (pass): Rename to ...
11437 (print z 2): ... here.
b8e8282f 11438
019ebafc
MS
114392010-06-02 Michael Snyder <msnyder@vmware.com>
11440
e68d8fd4
MS
11441 * gdb.trace/actions.exp: Use gdb_test_no_output.
11442 * gdb.trace/circ.exp: Ditto.
11443 * gdb.trace/packetlen.exp: Ditto.
11444 * gdb.trace/save-trace.exp: Ditto.
11445 * gdb.trace/tracecmd.exp: Ditto.
11446 * gdb.trace/tsv.exp: Ditto.
11447
12b5d08a
MS
11448 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
11449 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
11450 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11451 * gdb.threads/manythreads.exp: Ditto.
11452 * gdb.threads/print-threads.exp: Ditto.
11453 * gdb.threads/pthreads.exp: Ditto.
11454 * gdb.threads/schedlock.exp: Ditto.
11455 * gdb.threads/staticthreads.exp: Ditto.
11456 * gdb.threads/thread-specific.exp: Ditto.
11457 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11458 * gdb.threads/threadapply.exp: Ditto.
11459 * gdb.threads/watchthreads.exp: Ditto.
11460 * gdb.threads/watchthreads2.exp: Ditto.
11461
89493308
MS
11462 * gdb.python/py-block.exp: Use gdb_test_no_output.
11463 * gdb.python/py-prettyprint.exp: Ditto.
11464 * gdb.python/py-template.exp: Ditto.
11465 * gdb.python/py-value.exp: Ditto.
11466
11467 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
11468 * gdb.reverse/watch-reverse.exp: Ditto.
11469
11470 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
11471 * gdb.server/ext-run.exp: Ditto.
11472
019ebafc
MS
11473 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
11474 * gdb.dwarf2/dw2-compressed.exp: Ditto.
11475 * gdb.dwarf2/dw2-intercu.exp: Ditto.
11476 * gdb.dwarf2/dw2-intermix.exp: Ditto.
11477 * gdb.dwarf2/dw2-producer.exp: Ditto.
11478 * gdb.dwarf2/mac-fileno.exp: Ditto.
11479
11480 * gdb.gdb/observer.exp: Use gdb_test_no_output.
11481 * gdb.gdb/selftest.exp: Ditto.
11482
11483 * gdb.multi/base.exp: Use gdb_test_no_output.
11484
11485 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
11486
3e0ca3a5
JK
114872010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11488
11489 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
11490
9db70545
MS
114912010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
11492
a8d52276
MS
11493 * gdb.cp/class2.exp: Use gdb_test_no_output.
11494 * gdb.cp/classes.exp: Ditto.
11495 * gdb.cp/extern-c.exp: Ditto.
11496 * gdb.cp/inherit.exp: Ditto.
11497 * gdb.cp/maint.exp: Ditto.
11498 * gdb.cp/mb-inline.exp: Ditto.
11499 * gdb.cp/mb-templates.exp: Ditto.
11500 * gdb.cp/method2.exp: Ditto.
11501 * gdb.cp/misc.exp: Ditto.
11502 * gdb.cp/ovldbreak.exp: Ditto.
11503 * gdb.cp/punctuator.exp: Ditto.
11504 * gdb.cp/templates.exp: Ditto.
11505 * gdb.cp/virtbase.exp: Ditto.
11506
889bf7c5 11507 * gdb.threads/attach-stopped.exp:
9db70545 11508 Replace uses of send_gdb / gdb_expect.
889bf7c5 11509 * gdb.threads/attachstop-mt.exp:
9db70545 11510 Replace uses of send_gdb / gdb_expect.
889bf7c5 11511 * gdb.threads/gcore-thread.exp:
9db70545 11512 Replace uses of send_gdb / gdb_expect.
889bf7c5 11513 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
11514 Replace uses of send_gdb / gdb_expect.
11515 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 11516 * gdb.threads/print-threads.exp:
9db70545
MS
11517 Replace uses of send_gdb / gdb_expect.
11518 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
11519 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
11520 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
11521
11522 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
11523 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
11524 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
11525 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
11526 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
11527 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
11528 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
11529 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
11530 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
11531 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
11532 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
11533
359cc68c
JK
115342010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11535
11536 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
11537
7d3fe98e
SW
115382010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
11539
11540 * gdb.cp/koenig.exp: Added new test case.
11541 * gdb.cp/koenig.cc: Ditto.
11542
27d3a1a2
MS
115432010-06-01 Michael Snyder <msnyder@vmware.com>
11544
11545 * gdb.base/arithmet.exp: Use gdb_test_no_output.
11546 * gdb.base/arrayidx.exp: Ditto.
11547 * gdb.base/attach.exp: Ditto.
11548 * gdb.base/auxv.exp: Ditto.
11549 * gdb.base/bigcre.exp: Ditto.
11550 * gdb.base/break-always.exp: Ditto.
11551 * gdb.base/break-interp.exp: Ditto.
11552 * gdb.base/break.exp: Ditto.
11553 * gdb.base/breakpoint-shadow.exp: Ditto.
11554 * gdb.base/call-ar-st.exp: Ditto.
11555 * gdb.base/call-sc.exp: Ditto.
11556 * gdb.base/call-signal-resume.exp: Ditto.
11557 * gdb.base/callfuncs.exp: Ditto.
11558 * gdb.base/catch-syscall.exp: Ditto.
11559 * gdb.base/charset.exp: Ditto.
11560 * gdb.base/code-expr.exp: Ditto.
11561 * gdb.base/commands.exp: Ditto.
11562 * gdb.base/cond-expr.exp: Ditto.
11563 * gdb.base/condbreak.exp: Ditto.
11564 * gdb.base/cursal.exp: Ditto.
11565 * gdb.base/cvexpr.exp: Ditto.
11566 * gdb.base/default.exp: Ditto.
11567 * gdb.base/del.exp: Ditto.
11568 * gdb.base/detach.exp: Ditto.
11569 * gdb.base/display.exp: Ditto.
11570 * gdb.base/ena-dis-br.exp: Ditto.
11571 * gdb.base/eval-skip.exp: Ditto.
11572 * gdb.base/foll-fork.exp: Ditto.
11573 * gdb.base/foll-vfork.exp: Ditto.
11574 * gdb.base/frame-args.exp: Ditto.
11575 * gdb.base/funcargs.exp: Ditto.
11576 * gdb.base/gcore-buffer-overflow.exp: Ditto.
11577 * gdb.base/gdbvars.exp: Ditto.
11578 * gdb.base/help.exp: Ditto.
11579 * gdb.base/ifelse.exp: Ditto.
11580 * gdb.base/included.exp: Ditto.
11581 * gdb.base/list.exp: Ditto.
11582 * gdb.base/macscp.exp: Ditto.
11583 * gdb.base/maint.exp: Ditto.
11584 * gdb.base/multi-fork.exp: Ditto.
11585 * gdb.base/overlays.exp: Ditto.
11586 * gdb.base/page.exp: Ditto.
11587 * gdb.base/pending.exp: Ditto.
11588 * gdb.base/pointers.exp: Ditto.
11589 * gdb.base/pr11022.exp: Ditto.
11590 * gdb.base/prelink.exp: Ditto.
11591 * gdb.base/printcmds.exp: Ditto.
11592 * gdb.base/psymtab.exp: Ditto.
11593 * gdb.base/randomize.exp: Ditto.
11594 * gdb.base/relational.exp: Ditto.
11595 * gdb.base/relocate.exp: Ditto.
11596 * gdb.base/remote.exp: Ditto.
11597 * gdb.base/sepdebug.exp: Ditto.
11598 * gdb.base/set-lang-auto.exp: Ditto.
11599 * gdb.base/setshow.exp: Ditto.
11600 * gdb.base/setvar.exp: Ditto.
11601 * gdb.base/signals.exp: Ditto.
11602 * gdb.base/signull.exp: Ditto.
11603 * gdb.base/sigstep.exp: Ditto.
11604 * gdb.base/sizeof.exp: Ditto.
11605 * gdb.base/solib-disc.exp: Ditto.
11606 * gdb.base/store.exp: Ditto.
11607 * gdb.base/structs.exp: Ditto.
11608 * gdb.base/structs2.exp: Ditto.
11609 * gdb.base/subst.exp: Ditto.
11610 * gdb.base/term.exp: Ditto.
11611 * gdb.base/trace-commands.exp: Ditto.
11612 * gdb.base/unwindonsignal.exp: Ditto.
11613 * gdb.base/valgrind-db-attach.exp: Ditto.
11614 * gdb.base/varargs.exp: Ditto.
11615 * gdb.base/watch-cond.exp: Ditto.
11616 * gdb.base/watch_thread_num.exp: Ditto.
11617 * gdb.base/watchpoint-cond-gone.exp: Ditto.
11618 * gdb.base/watchpoint.exp: Ditto.
11619 * gdb.base/whatis-exp.exp: Ditto.
11620
f8d3bf8f
MS
116212010-06-01 Michael Snyder <msnyder@vmware.com>
11622
11623 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
11624 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
11625 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
11626 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
11627 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
11628 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
11629 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
11630 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
11631 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
11632 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
11633 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
11634 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
11635 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
11636 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
11637 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
11638
3f9e0d32
JK
116392010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11640
11641 * gdb.base/commands.exp (begin commands on watch): Remove excessive
11642 trailing newline.
11643 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
11644 * gdb.java/jmisc.exp (p *args\n): Rename to ...
11645 (p *args): ... here and remove excessive trailing newline.
11646
f629457d
JB
116472010-05-31 Joel Brobecker <brobecker@adacore.com>
11648
11649 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
11650
09eef106
JK
116512010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11652
11653 Accept the new Linux kernel "t (tracing stop)" string.
11654 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
11655 Update comment.
11656 (state_wait) <T (tracing stop)>: New.
11657 (main): Update the state_wait expect string.
11658
94f31136
PA
116592010-05-28 Pedro Alves <pedro@codesourcery.com>
11660
11661 * limits.c, limits.exp: Delete files.
11662 * Makefile.in (clean mostlyclean): Adjust.
11663 * tracecmd.exp: Adjust.
11664
096554ab
JK
116652010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11666
11667 * gdb.base/tui-layout.exp: New.
11668
27d3a1a2 116692010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 11670
889bf7c5 11671 * gdb.reverse/break-precsave.exp:
bcd2dc50 11672 Replace uses of send_gdb / gdb_expect.
889bf7c5 11673 * gdb.reverse/break-reverse.exp:
bcd2dc50 11674 Replace uses of send_gdb / gdb_expect.
889bf7c5 11675 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 11676 Replace uses of send_gdb / gdb_expect.
889bf7c5 11677 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 11678 Replace uses of send_gdb / gdb_expect.
889bf7c5 11679 * gdb.reverse/finish-precsave.exp:
bcd2dc50 11680 Replace uses of send_gdb / gdb_expect.
889bf7c5 11681 * gdb.reverse/finish-reverse.exp:
bcd2dc50 11682 Replace uses of send_gdb / gdb_expect.
889bf7c5 11683 * gdb.reverse/i386-precsave.exp:
bcd2dc50 11684 Replace uses of send_gdb / gdb_expect.
889bf7c5 11685 * gdb.reverse/i386-reverse.exp:
bcd2dc50 11686 Replace uses of send_gdb / gdb_expect.
889bf7c5 11687 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 11688 Replace uses of send_gdb / gdb_expect.
889bf7c5 11689 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 11690 Replace uses of send_gdb / gdb_expect.
889bf7c5 11691 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 11692 Replace uses of send_gdb / gdb_expect.
889bf7c5 11693 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 11694 Replace uses of send_gdb / gdb_expect.
889bf7c5 11695 * gdb.reverse/machinestate.exp:
bcd2dc50 11696 Replace uses of send_gdb / gdb_expect.
889bf7c5 11697 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 11698 Replace uses of send_gdb / gdb_expect.
889bf7c5 11699 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 11700 Replace uses of send_gdb / gdb_expect.
889bf7c5 11701 * gdb.reverse/solib-precsave.exp:
bcd2dc50 11702 Replace uses of send_gdb / gdb_expect.
889bf7c5 11703 * gdb.reverse/solib-reverse.exp:
bcd2dc50 11704 Replace uses of send_gdb / gdb_expect.
889bf7c5 11705 * gdb.reverse/step-precsave.exp:
bcd2dc50 11706 Replace uses of send_gdb / gdb_expect.
889bf7c5 11707 * gdb.reverse/step-reverse.exp:
bcd2dc50 11708 Replace uses of send_gdb / gdb_expect.
889bf7c5 11709 * gdb.reverse/until-precsave.exp:
bcd2dc50 11710 Replace uses of send_gdb / gdb_expect.
889bf7c5 11711 * gdb.reverse/until-reverse.exp:
bcd2dc50 11712 Replace uses of send_gdb / gdb_expect.
889bf7c5 11713 * gdb.reverse/watch-precsave.exp:
bcd2dc50 11714 Replace uses of send_gdb / gdb_expect.
889bf7c5 11715 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
11716 Replace uses of send_gdb / gdb_expect.
11717
3def43e0
JK
117182010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11719
11720 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
11721 excessive newline.
11722
27d3a1a2 117232010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
11724
11725 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
11726 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
11727 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
11728 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
11729 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
11730 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
11731 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
11732 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
11733 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
11734 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
11735 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
11736 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
11737 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
11738 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
11739 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
11740 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
11741 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
11742 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
11743 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 11744
27d3a1a2 117452010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 11746
22454424
MS
11747 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
11748 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
11749
11750 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
11751 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
11752 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
11753
889bf7c5 11754 * gdb.reverse/consecutive-reverse.exp:
22454424 11755 Replace uses of send_gdb / gdb_expect.
889bf7c5 11756 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
11757 Replace uses of send_gdb / gdb_expect.
11758
11759 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
11760 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
11761 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 11762 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
11763 Replace uses of send_gdb / gdb_expect.
11764 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
11765 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
11766 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
11767 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
11768 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
11769 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
11770 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
11771 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
11772 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
11773
117742010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 11775
22454424 11776 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 11777
22454424 11778 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 11779
22454424
MS
11780 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
11781 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
11782 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
11783 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
11784 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
11785 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
11786 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
11787 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
11788 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 11789
6e5f2c59
TT
117902010-05-25 Tom Tromey <tromey@redhat.com>
11791
11792 * gdb.base/macscp.exp: Add missing space after setup_kfail.
11793
bbc8b958
TT
117942010-05-25 Tom Tromey <tromey@redhat.com>
11795
11796 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
11797 argument order.
11798 * gdb.base/macscp.exp: Fix setup_kfail argument order.
11799 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
11800 order.
11801 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
11802 order.
11803 * gdb.base/call-sc.exp (setup_kfails): Remove.
11804 (setup_compiler_kfails): Remove.
11805 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
11806 argument order.
11807 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
11808 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
11809 (advancei): Fix setup_kfail argument order.
11810 * gdb.base/radix.exp: Fix setup_kfail argument order.
11811 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
11812 order.
11813 * gdb.base/structs.exp (setup_kfails): Remove.
11814 (setup_compiler_kfails): Fix setup_kfail argument order.
11815 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
11816 order.
11817 * gdb.java/jmain.exp: Fix setup_kfail argument order.
11818 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
11819 setup_kfail argument order.
11820 * gdb.cp/overload.exp: Fix setup_kfail argument order.
11821
83d1babf
TT
118222010-05-25 Tom Tromey <tromey@redhat.com>
11823
11824 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
11825
6acb16a2
MS
118262010-05-25 Michael Snyder <msnyder@vmware.com>
11827
11828 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
11829 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
11830 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
11831 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
11832 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
11833 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
11834 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
11835 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
11836 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
11837 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
11838 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
11839 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
11840 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
11841 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
11842 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
11843 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
11844 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
11845 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
11846 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
11847 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
11848 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
11849 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
11850 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
11851 * gdb.base/default.exp: Replace send_gdb with gdb_test.
11852 * gdb.base/define.exp: Replace send_gdb with gdb_test.
11853 * gdb.base/display.exp: Replace send_gdb with gdb_test.
11854 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
11855 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
11856 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
11857 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
11858 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
11859 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
11860 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
11861 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
11862 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
11863 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
11864 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
11865 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
11866 * gdb.base/help.exp: Replace send_gdb with gdb_test.
11867 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
11868 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
11869 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
11870 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
11871 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
11872 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
11873 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
11874 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 11875 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
11876
118772010-05-25 Doug Evans <dje@google.com>
11878
11879 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
11880 gdb.string_to_argv.
ad3986f0 11881
d3b1e874
TT
118822010-05-21 Tom Tromey <tromey@redhat.com>
11883
11884 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
11885 Call it.
11886 * gdb.dwarf2/pieces.S: Update.
11887 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
11888
cb826367
TT
118892010-05-21 Tom Tromey <tromey@redhat.com>
11890
11891 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
11892 Call it.
11893 * gdb.dwarf2/pieces.c (struct C): New.
11894 (f6): New function.
11895 * gdb.dwarf2/pieces.S: Replace.
11896
74de6778
TT
118972010-05-21 Tom Tromey <tromey@redhat.com>
11898
11899 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
11900 Call it.
11901
afd74c5f
TT
119022010-05-21 Tom Tromey <tromey@redhat.com>
11903
11904 * gdb.dwarf2.pieces.exp: New file.
11905 * gdb.dwarf2.pieces.S: New file.
11906 * gdb.dwarf2.pieces.c: New file.
11907
a7b75dfd 119082010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 11909 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
11910
11911 * lib/gdb.exp (gdb_test_no_output): New function.
11912 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
11913 when testing commands that should produce no output.
11914
c81c812a
JB
119152010-05-17 Joel Brobecker <brobecker@adacore.com>
11916
11917 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
11918 parameter that we want to watch being a constant.
11919
0cce5bd9
JB
119202010-05-17 Joel Brobecker <brobecker@adacore.com>
11921
11922 * gdb.ada/cond_lang: New testcase.
11923
47050449
JB
119242010-05-17 Joel Brobecker <brobecker@adacore.com>
11925
11926 * lib/gdb.exp (banned_variables): New variable/constant.
11927 (gdb_init): Add write trace on variables listed in banned_variables.
11928 (gdb_finish): Remove write traces on variables listed in
11929 banned_variables.
11930
77c01586
JB
119312010-05-17 Joel Brobecker <brobecker@adacore.com>
11932
11933 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
11934 * gdb.cp/koenig.exp: Likewise.
11935
88d4aea7
PM
119362010-05-14 Phil Muldoon <pmuldoon@redhat.com>
11937
889bf7c5 11938 PR python/11482
88d4aea7
PM
11939
11940 * gdb.python/py-value.exp (test_value_hash): New function.
11941
f5a010c0
PM
119422010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
11943
11944 PR exp/11530.
11945 * gdb.base/gdb11530.c: New file.
11946 * gdb.base/gdb11530.exp: New file.
11947
8ef4892f
JK
119482010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11949
11950 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
11951 * gdb.dwarf2/dw2-modula2-self-type.S: New.
11952
7322dca9
SW
119532010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
11954
11955 * gdb.cp/koenig.exp: New test.
11956 * gdb.cp/koenig.cc: New test program.
11957
02e7ea18
JB
119582010-05-05 Joel Brobecker <brobecker@adacore.com>
11959
11960 Remove the use of prms_id and bug_id throughout the testsuite.
11961
e1c34c5d
PM
119622010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
11963
11964 PR exp/11349.
11965 * testsuite/gdb.cp/ref-types.exp: Add test to examine
11966 use a reference local variable.
11967
8e1d0c49
JK
119682010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11969
11970 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
11971 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
11972 variable different_dir. Move debugfile into a full directory pathname
11973 under DIFFERENT_DIR.
11974 * lib/gdb.exp (separate_debug_filename): Remove.
11975 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
11976 variable debug_dir and mkdir of it. Update function comments.
11977
e66408ed
PA
119782010-04-29 Pedro Alves <pedro@codesourcery.com>
11979
11980 PR gdb/11557
11981
11982 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
11983 files.
11984
d7b32ed3
PM
119852010-04-29 Phil Muldoon <pmuldoon@redhat.com>
11986
889bf7c5 11987 * gdb.python/py-param.exp: New File.
d7b32ed3 11988
6aecb9c2
JB
119892010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
11990
11991 * gdb.base/default.exp: Fix "set language" test.
11992
bdf92a1c
PM
119932010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
11994
11995 PR breakpoints/11531.
11996 * gdb.base/gdb11531.c: New file.
11997 * gdb.base/gdb11531.exp: New file.
11998
3f172e24
TT
119992010-04-26 Tom Tromey <tromey@redhat.com>
12000
12001 * gdb.base/completion.exp: Add tests for completion and deprecated
12002 commands.
12003
64af4c92
JK
120042010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12005
12006 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
12007 (print /x char_array): Escape curly brackets.
12008
492928e4
JK
120092010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12010
12011 Fix deadlock on looped list of loaded shared objects.
12012 * gdb.base/solib-corrupted.exp: New.
12013
66d09542
DE
120142010-04-23 Doug Evans <dje@google.com>
12015
12016 * gdb.python/py-section-script.c: New file.
12017 * gdb.python/py-section-script.exp: New file.
12018 * gdb.python/py-section-script.py: New file.
12019
8bd10a10
CM
120202010-04-20 Chris Moller <cmoller@redhat.com>
12021
12022 PR 10179
12023
12024 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
12025 * gdb.base/pr10179-a.c:
12026 * gdb.base/pr10179-b.c:
12027 * gdb.base/pr10179.exp: New files.
12028
c0201579
JK
120292010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12030
12031 Fix crashes on dangling display expressions.
12032 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
12033 is SEP.
12034 (lib_flags): Remove the "debug" keyword.
12035 (libsepdebug): New variable for iterating new loop.
12036 (save_pf_prefix): New variable wrapping the loop.
12037 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
12038 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
12039
793b0ff8
PM
120402010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12041
12042 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
12043
097f51f7
PM
120442010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12045
12046 PR stabs/11479.
12047 * gdb.stabs/gdb11479.exp: New file.
12048 * gdb.stabs/gdb11479.c: New file.
12049
9a22f0d0
PM
120502010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12051
12052 * gdb.base/charset.c (Strin16, String32): New variables.
12053 * gdb.base/charset.exp (gdb_test): Test correct display
12054 of 16 or 32 bit strings.
12055
120562010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
12057
12058 PR 9167
12059 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
12060 * gdb.cp/pr9167.cc: New file.
12061 * gdb.cp/pr9167.exp: New file.
12062
12063
6e354e5e
PM
120642010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
12065
12066 PR pascal/11492.
12067 * gdb.pascal/gdb11492.pas: New file.
12068 * gdb.pascal/gdb11492.exp: New file.
12069
be942545
JB
120702010-04-20 Joel Brobecker <brobecker@adacore.com>
12071
1667e6e3 12072 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 12073
0c3acc09
JB
120742010-04-20 Joel Brobecker <brobecker@adacore.com>
12075
12076 * gdb.ada/dyn_loc: New testcase.
12077
ec31cde5
CM
120782010-04-20 Chris Moller <cmoller@redhat.com>
12079
12080 PR 10867
889bf7c5 12081
ec31cde5
CM
12082 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
12083 * gdb.cp/pr10687.cc: New file.
12084 * gdb.cp/pr10687.exp: New file.
12085
12086
ce4b0682
SDJ
120872010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12088 Sergio Durigan Junior <sergiodj@redhat.com>
12089
12090 * gdb.fortran/logical.exp: New testcase.
12091 * gdb.fortran/logical.f90: New file.
12092
3436961f
DE
120932010-04-19 Doug Evans <dje@google.com>
12094
12095 * gdb.base/help.exp (help source): Update expected output.
12096
4d836c09
JK
120972010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12098
12099 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
12100 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
12101 gdb_exit and return.
12102 (executable): New variable.
12103 (binfile): Use it.
12104
6149aea9
PA
121052010-04-19 Pedro Alves <pedro@codesourcery.com>
12106
12107 PR breakpoints/8554.
12108
12109 * gdb.trace/save-trace.exp: Adjust.
12110
ed41462c
L
121112010-04-17 H.J. Lu <hongjiu.lu@intel.com>
12112
12113 PR corefiles/11511
12114 * gdb.arch/system-gcore.exp: New.
12115 * gdb.arch/gcore.c: Likewise.
12116
3f7b2faa
DE
121172010-04-15 Doug Evans <dje@google.com>
12118
fa33c3cd
DE
12119 * gdb.python/py-progspace.c: New file.
12120 * gdb.python/py-progspace.exp: New file.
12121
3f7b2faa
DE
12122 * gdb.base/source.exp: Add tests for "source -s".
12123
79f283fe
PM
121242010-04-14 Phil Muldoon <pmuldoon@redhat.com>
12125
12126 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
12127 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
12128 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
12129 * gdb.python/py-mi.exp: New test for to_string returning None.
12130
fc8eb08a
PM
121312010-04-12 Phil Muldoon <pmuldoon@redhat.com>
12132
12133 * gdb.python/py-breakpoint.c: Make result global.
12134
26e197f6
JK
121352010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12136
12137 Fix non-GNU make compatibility.
12138 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
12139
adc36818
PM
121402010-04-09 Phil Muldoon <pmuldoon@redhat.com>
12141
12142 * gdb.python/py-breakpoint.exp: New File.
12143 * gdb.python/py-breakpoint.C: Ditto.
12144
64e17368
SS
121452010-04-08 Stan Shebs <stan@codesourcery.com>
12146
12147 * gdb.trace/actions.exp: Clear default-collect.
12148 * gdb.trace/save-trace.exp: Clear default-collect.
12149
fff5cc64
PM
121502010-04-08 Phil Muldoon <pmuldoon@redhat.com>
12151
12152 * gdb.python/py-value: Add null string variable.
12153 (test_lazy_string): Test zero length, NULL address lazy
12154 strings.
12155
a055a187
L
121562010-04-07 H.J. Lu <hongjiu.lu@intel.com>
12157
12158 * gdb.arch/i386-avx.c: New.
12159 * gdb.arch/i386-avx.exp: Likewise.
12160
12161 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
12162
96e39866
DE
121632010-04-06 Doug Evans <dje@google.com>
12164
12165 * gdb.base/source-test.gdb: New file.
12166 * gdb.base/source.exp: Test source -v.
12167
5984a431
UW
121682010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12169
12170 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
12171
ec8a089a
PM
121722010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
12173
12174 * gdb.stabs/aout.sed: Convert all backslash to double backslash
12175 within one line, unless it is followed by a double quote.
12176 * gdb.stabs/hppa.sed: Idem.
12177 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
12178 * gdb.stabs/weird.exp: Check for correct parsing of
12179 char and string constants.
ec8a089a
PM
12180 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
12181 in .stabs to .stabx substitution.
12182
fce3c1f0
SS
121832010-04-05 Stan Shebs <stan@codesourcery.com>
12184
12185 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
12186 constant global.
12187 * gdb.trace/tfile.exp: Try to print them.
12188
d77f58be
SS
121892010-04-04 Stan Shebs <stan@codesourcery.com>
12190
12191 * gdb.base/completion.exp: Update for new "info watchpoints".
12192 * gdb.base/default.exp: Ditto.
12193 * gdb.base/help.exp: Ditto.
12194 * gdb.base/watchpoint.exp: Ditto.
12195 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 12196
af54718e
SS
121972010-04-04 Stan Shebs <stan@codesourcery.com>
12198
12199 * gdb.trace/tfile.exp: Sharpen tfind test.
12200
74d1f91e
JK
122012010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12202
12203 * gdb.base/break-entry.exp: New.
12204
eb8e76db 122052010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 12206 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
12207
12208 * gdb.reverse/i386-sse-reverse.exp: New file.
12209 * gdb.reverse/i386-sse-reverse.c: New file.
12210
bf65cad8
PA
122112010-04-02 Pedro Alves <pedro@codesourcery.com>
12212
12213 * gdb.trace/tfind.exp: Adjust expected disassembly output.
12214
fff87407
SS
122152010-04-01 Stan Shebs <stan@codesourcery.com>
12216
12217 * gdb.trace/actions.exp: Tweak expected output.
12218 * gdb.trace/while-stepping.exp: Tweak expected output.
12219
fe01d668
L
122202010-04-01 H.J. Lu <hongjiu.lu@intel.com>
12221
12222 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
12223
86b17b60
PA
122242010-04-01 Pedro Alves <pedro@codesourcery.com>
12225
12226 * gdb.base/commands.exp: Adjust.
12227 * gdb.cp/extern-c.exp: Adjust.
12228
2c58c0a9
PA
122292010-04-01 Pedro Alves <pedro@codesourcery.com>
12230
12231 * gdb.trace/collection.c (local_test_func): Define a local struct,
12232 and instanciate it.
12233
0db9b91c
PA
122342010-04-01 Pedro Alves <pedro@codesourcery.com>
12235
12236 * gdb.trace/collection.exp (gdb_collect_args_test)
12237 (gdb_collect_argarray_test): XFAIL the tests that assume the
12238 argarray argument's elements are collected.
12239
8072405b
JK
122402010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
12241
12242 * gdb.dwarf2/dw2-bad-parameter-type.exp,
12243 gdb.dwarf2/dw2-bad-parameter-type.S: New.
12244
8bf6485c
SS
122452010-03-31 Stan Shebs <stan@codesourcery.com>
12246
12247 * gdb.trace/save-trace.exp: Test save/restore of default-collect
12248 and tracepoint conditionals.
12249 (gdb_verify_tracepoints): Delete unused return.
12250
fd7f724a
KS
122512010-03-26 Keith Seitz <keiths@redhat.com>
12252
12253 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
12254 appear in the output before main.
12255 Remove KFAIL for gdb/2215 aka bz 9320.
12256
8d9e7719
DE
122572010-03-30 Doug Evans <dje@google.com>
12258
0906dd0b
DE
12259 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
12260 by dejagnu.
12261 * gdb.arch/amd64-dword.exp: Ditto.
12262
8d9e7719
DE
12263 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
12264 match.
12265 (break printf): Ditto.
12266
1da644f0
SW
122672010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
12268
12269 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
12270 gcc < 4.4.
12271 * gdb.cp/shadow.exp: Ditto.
12272
a8121990
PA
122732010-03-29 Pedro Alves <pedro@codesourcery.com>
12274
12275 * gdb.trace/collection.exp (run_trace_experiment): Make sure
12276 "tstart" is silent.
12277
6e79d367
PA
122782010-03-29 Pedro Alves <pedro@codesourcery.com>
12279
12280 * gdb.trace/collection.exp (executable): New.
12281 (binfile): Use it.
12282 (fpreg, spreg, pcreg): New.
12283 (test_register): Use gdb_test_multiple. Pass /x to print.
12284 (prepare_for_trace_test): New.
12285 (run_trace_experiment): Use "continue", not gdb_run_cmd.
12286 (gdb_collect_args_test, gdb_collect_argstruct_test)
12287 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
12288 prepare_for_trace_test.
12289 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
12290 fpreg, spreg and pcreg.
12291 (gdb_collect_expression_test, gdb_collect_globals_test): Use
12292 prepare_for_trace_test.
12293 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
12294 try to detect tracing support here. Don't set breakpoints at
12295 `begin' or `end' here.
12296 <global scope>: Use clean_restart. Run to main before checking
12297 for tracing support. Check for for tracing support here.
12298
09248348
JK
122992010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12300
12301 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
12302 " as $displacement" to "seen displacement message".
12303
d350db38
PA
123042010-03-28 Pedro Alves <pedro@codesourcery.com>
12305
12306 * gdb.trace/while-dyn.exp (executable): New variable.
12307 (binfile): Use it.
12308 (test_while_stepping): New function. Move most tests here. Call
12309 it once for each of the while-stepping, stepping and ws aliases.
12310
907af001
UW
123112010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12312
12313 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
12314 that do not provide the tagless_struct type name at all.
12315 (test_print_anon_union): Do not check value of uninitialized
12316 union member. Do not use cp_test_ptype_class, so we can accept
12317 "long" as well as "long int".
12318
610197fd
PA
123192010-03-26 Pedro Alves <pedro@codesourcery.com>
12320
12321 * gdb.trace/tfile.c (tohex, bin2hex): New.
12322 (write_error_trace_file): Hexify error description.
12323
6c28cbf2
SS
123242010-03-25 Stan Shebs <stan@codesourcery.com>
12325
12326 * gdb.trace/tfile.c: Generate an additional trace file, improve
12327 portability.
12328 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
12329 files in a better way.
12330
e62b8c7e
KS
123312010-03-25 Keith Seitz <keiths@redhat.com>
12332
12333 * gdb.java/jprint.exp: XFAIL printing of static class members
12334 because of GCC debuginfo problem.
12335
82ccf5a5
JK
123362010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12337
12338 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
12339
293e2f9e
DJ
123402010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12341
12342 * gdb.base/completion.exp: Allow long instead of long int.
12343 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
12344 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
12345 variable p.
12346 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
12347 * gdb.base/pointers.exp: Allow long instead of long int.
12348 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
12349 * gdb.base/step-line.exp: Allow a directory before the source file name.
12350
95a42b64
TT
123512010-03-24 Tom Tromey <tromey@redhat.com>
12352
12353 PR breakpoints/9352:
12354 * gdb.base/default.exp: Update.
12355 * gdb.base/commands.exp: Update.
12356 * gdb.cp/extern-c.exp: Test setting commands on multiple
12357 breakpoints at once.
12358
2390201f
DJ
123592010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12360
12361 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
12362 if gdb,nosignals.
12363 * gdb.base/watchpoints.c: Do not include unnecessary headers.
12364 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
12365 exited".
12366
8c9a6790
SS
123672010-03-24 Stan Shebs <stan@codesourcery.com>
12368
12369 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
12370
a6c727b2
DJ
123712010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12372
12373 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
12374 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
12375 argument. Handle "short" and "long".
12376 (Top level): Pass overprototyped output for old_fptr and xptr.
12377
4dfd5423
PA
123782010-03-23 Pedro Alves <pedro@codesourcery.com>
12379
12380 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
12381 format strings and add casts to avoid compiler warnings.
12382
123832010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
12384
12385 * lib/trace-support.exp (gdb_trace_setactions):
12386 Don't expect whitespace after ">" prompt.
12387 * gdb.trace/actions.exp: Adjust for output changes.
12388 * gdb.trace/while-stepping.exp: Likewise.
12389
c847d045
JK
123902010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12391
12392 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
12393 and r157645).
12394
5f717f1d
JK
123952010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12396
12397 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
12398 New.
12399
7d6d51d5
DJ
124002010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
12401
12402 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
12403 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
12404
3b11a015
SS
124052010-03-19 Stan Shebs <stan@codesourcery.com>
12406
12407 * gdb.trace/ax.exp: New file.
12408
d7d158ed
DE
124092010-03-19 Doug Evans <dje@google.com>
12410
6bb85cd1
DE
12411 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
12412 output from gcc.
12413
d7d158ed
DE
12414 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
12415 named /usr/sbin/prelink<foo>.
12416
4daf5ac0
SS
124172010-03-18 Stan Shebs <stan@codesourcery.com>
12418
12419 * gdb.trace/circ.exp: Test circular-trace-buffer.
12420 * gdb.trace/tfile.exp: Update tstatus test.
12421
e8d05480
JB
124222010-03-18 Joel Brobecker <brobecker@adacore.com>
12423
12424 * gdb.dwarf2/dw2-anonymous-func.S: New file.
12425 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
12426
441b986a
UW
124272010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12428
12429 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
12430
4247603b
PA
124312010-03-18 Pedro Alves <pedro@codesourcery.com>
12432
12433 * gdb.base/default.exp: Adjust the expected output of the finish
12434 and until commands when the inferior is not being run.
12435
13387711
SW
124362010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
12437
12438 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
12439 * gdb.cp/nsusing.exp: Ditto.
12440
6e31430b
TT
124412010-03-15 Tom Tromey <tromey@redhat.com>
12442
12443 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
12444 * gdb.cp/userdef.cc (operator==): New function.
12445 (main): New locals mem1, mem2.
12446
e2d69cb5
JZ
124472010-03-15 Jie Zhang <jie@codesourcery.com>
12448
12449 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
12450 Declare and use new loadtimeout variable.
12451
f572f0a9
DJ
124522010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
12453
12454 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
12455 Use gdb_load later.
12456
51f4c0b0
PA
124572010-03-14 Pedro Alves <pedro@codesourcery.com>
12458
12459 * gdb.base/solib-disc.c (main): Make format of fprintf a string
12460 literal. Add missing endlines to prints to stderr.
12461
1c809c68
TT
124622010-03-12 Tom Tromey <tromey@redhat.com>
12463
12464 PR c++/9708:
12465 * gdb.cp/m-static.exp: Add regression test.
12466 * gdb.cp/m-static.cc (method): New method.
12467 (main): Call it.
12468
00ae8fef
SW
124692010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
12470
12471 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
12472 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
12473
759f0f0b
PA
124742010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12475
21e24d21
PA
12476 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
12477
124782010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12479
759f0f0b
PA
12480 * lib/gdb.exp (skip_stl_tests): New.
12481 (gdb_compile): Symbian needs -ldl.
12482 (shlib_target_file): New.
12483 (shlib_symbol_file): New.
12484 (gdb_load_shlibs): Use shlib_target_file.
12485 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
12486 * gdb.cp/exception.exp: Use skip_stl_tests.
12487 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
12488 * gdb.cp/try_catch.exp: Use skip_stl_tests.
12489 * gdb.cp/mb-templates.exp: Ditto.
12490 * gdb.base/commands.exp: Relax regexes.
12491 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
12492 shlib_target_file and shlib_symbol_file.
12493 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
12494 sections.
12495 * gdb.base/ending-run.exp: Accept E32Main for symbian.
12496 * gdb.base/solib-disc.exp: Use
12497 shlib_target_file and shlib_symbol_file.
12498 * gdb.base/unload.exp: Don't skip on symbian. Use
12499 shlib_target_file and shlib_symbol_file.
12500 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
12501
6a8f2671 125022010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 12503
6a8f2671
PA
12504 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
12505 * gdb.trace/report.exp: Adjust for x86 and x86_64.
12506 Issue a tfind end before looking for a tracepoint frame.
12507 * gdb.trace/tfind.exp: Adjust tstatus output.
12508 Adjust disassembly output.
12509 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
12510
ccf26247
JK
125112010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12512
12513 * gdb.base/break-interp.exp: Create new displacement parameter value
12514 for the test_ld calls.
12515 (reach): New parameter displacement, verify its content. New push of
12516 pf_prefix "reach-$func:". Import global expect_out.
12517 (test_core): New parameter displacement, verify its content. New push
12518 of pf_prefix "core:". New command "set verbose on". Import global
12519 expect_out.
12520 (test_attach): New parameter displacement, verify its content. New
12521 push of pf_prefix "attach:". New command "set verbose on". Import
12522 global expect_out.
12523 (test_ld): New parameter displacement, pass it to the reach, test_core
12524 and test_attach calls and verify its content in the "ld.so exit" test.
12525 * gdb.base/prelink.exp: Remove gdb_exit and final return.
12526 (prelink): Update expected text, use gdb_test.
12527
e469c7fb
DE
125282010-03-10 Doug Evans <dje@google.com>
12529
12530 * gdb.base/checkpoint.exp: Fix comment.
12531 Lengthen timeout while doing >600 checkpoints test.
12532 Rename duplicate "kill all one" test to keep test names unique.
12533
60e1c644
PA
125342010-03-10 Pedro Alves <pedro@codesourcery.com>
12535
12536 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
12537
cec808ec
KS
125382010-03-08 Keith Seitz <keiths@redhat.com>
12539
889bf7c5
PA
12540 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
12541 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
12542 (dm_type_long): New function.
12543 (dm_type_unsigned_short): New function.
12544 (dm_type_unsigned_long): New function.
12545 (myint): New typedef.
12546 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
12547 long, unsigned shor and long, operator char*, and typedef.
12548 (test_lookup_operator_functions): Add operator char* test.
12549 (test_paddr_operator_functions): Likewise.
12550 (test_paddr_overloaded_functions): Use probe values for
12551 short, long, and unsigned short and long.
12552 (test_paddr_hairy_functions): If the demangler probe detected
12553 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
12554 demangler.
12555 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
12556 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
12557 and "print null_pmf".
12558 Add test "ptype a.*pmf".
12559 * gdb.cp/overload.exp: Allow optional "int" to appear with
12560 "short" and "long".
12561 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
12562 long expect value for men_overload1arg.
12563 Allow "int" to appear with "short" and "long".
12564 When testing "info break", add argument for main (void).
12565 Also allow "int" to appear with "short" and "long".
12566 Ditto with "unsigned" and "long long".
cec808ec
KS
12567 * gdb.java/jmain.exp: Do not enclose methods names in single
12568 quotes.
12569 * gdb.java/jmisc.exp: Likewise.
12570 * gdb.java/jprint.exp: Likewise.
12571 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
12572
12573 From Jan Kratochvil <jan.kratochvil@redhat.com>:
12574 * gdb.cp/exception.exp (backtrace after first throw)
12575 (backtrace after second throw): Allow a namespace before __cxa_throw.
12576 (backtrace after first catch, backtrace after second catch): Allow
12577 a namespace before __cxa_begin_catch.
12578
12579 * gdb.cp/cpexprs.exp: New file.
12580 * gdb.cp/cpexprs.cc: New file.
12581
12582 From Daniel Jacobowitz <dan@codesourcery.com>
12583 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
12584 to use string_to_regexp.
12585 (ctor, dtor): New functions. Use them to match constructor
12586 and destructor function types.
12587 (Top level): Use runto_main.
12588
f870a310
TT
125892010-03-05 Tom Tromey <tromey@redhat.com>
12590
12591 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
12592 gdb.target_charset.
12593 (pp_ns.to_string): Likewise.
12594
0c199f28
KS
125952010-03-04 Keith Seitz <keiths@redhat.com>
12596
12597 * gdb.cp/overload.exp: Test that the filename portion of a linespec
12598 can be quoted. Test that both the filename and function/line
12599 portions can be quoted at the same time.
12600
c7437ca6
PA
126012010-03-04 Pedro Alves <pedro@codesourcery.com>
12602
12603 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
12604
b111b805
DE
126052010-03-03 Doug Evans <dje@google.com>
12606
24486cb7
DE
12607 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
12608 libc contains libpthread.
12609
b111b805
DE
12610 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
12611 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
12612 of gdb_compile. Add another pattern to match android backtrace.
12613
a0e0ef55
TT
126142010-03-03 Tom Tromey <tromey@redhat.com>
12615
12616 PR gdb/11345:
12617 * gdb.base/printcmds.exp (test_printf): Add test.
12618
1ba53b71
L
126192010-03-02 H.J. Lu <hongjiu.lu@intel.com>
12620
12621 * gdb.arch/amd64-byte.exp: New.
12622 * gdb.arch/amd64-dword.exp: Likewise.
12623 * gdb.arch/amd64-pseudo.c: Likewise.
12624 * gdb.arch/amd64-word.exp: Likewise.
12625 * gdb.arch/i386-byte.exp: Likewise.
12626 * gdb.arch/i386-pseudo.c: Likewise.
12627 * gdb.arch/i386-word.exp: Likewise.
12628
f5dff777
DJ
126292010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
12630
12631 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
12632 types. Add structreg, bitfields, and flags registers.
12633 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
12634 registers.
12635
90884b2b
L
126362010-03-01 H.J. Lu <hongjiu.lu@intel.com>
12637
12638 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
12639 (load_description): Set architecture if defined.
12640
dc00d89f
PM
126412010-02-28 Phil Muldoon <pmuldoon@redhat.com>
12642
12643 * gdb.python/py-frame.exp: Add read_var block tests.
12644 * gdb.python/py-frame.c (block): New function.
12645
0e095b7e
JK
126462010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12647 Daniel Jacobowitz <dan@codesourcery.com>
12648
12649 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
12650
624f1a65
DM
126512010-02-25 David S. Miller <davem@davemloft.net>
12652
12653 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
12654 fix logic for setting all_syscalls_numbers.
12655
f3e9a817
PM
126562010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12657
12658 * Makefile.in: Add py-block and py-symbol.
12659 * gdb.python/py-symbol.exp: New File.
12660 * gdb.python/py-symtab.exp: New File.
12661 * gdb.python/py-block.exp: New File.
12662 * gdb.python/py-symbol.c: New File.
12663 * gdb.python/py-block.c: New File.
12664
f6bbabf0
PM
126652010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12666
12667 PR python/11314
12668 * lib/gdb.exp (skip_python_tests): New function.
12669 * gdb.python/py-cmd.exp: Use skip_python_tests.
12670 * gdb.python/py-frame.exp: Likewise.
12671 * gdb.python/py-function.exp: Likewise.
12672 * gdb.python/py-prettyprint.exp: Likewise.
12673 * gdb.python/py-template.exp: Likewise.
12674 * gdb.python/py-type.exp: Likewise.
12675 * gdb.python/py-value.exp: Likewise.
12676
85d721b8
PA
126772010-02-22 Pedro Alves <pedro@codesourcery.com>
12678
12679 PR9605
12680
12681 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
12682
48e32051
TT
126832010-02-19 Tom Tromey <tromey@redhat.com>
12684
12685 PR c++/8693, PR c++/9496:
12686 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
12687 regression tests.
12688
ac9c0048
JK
126892010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12690
12691 Fix compatibility with m68k as.
12692 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
12693 Use only /* comments */.
12694
57bb97a4
UW
126952010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12696
12697 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
12698 * configure: Regenerate.
12699
7d1bf85c
DJ
127002010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
12701
12702 * gdb.python/py-type.exp: Check for Python support.
12703
061b5285
PA
127042010-02-17 Pedro Alves <pedro@codesourcery.com>
12705
12706 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
12707 `regsub' syntax available.
12708
f8a8bc2c
PA
127092010-02-17 Pedro Alves <pedro@codesourcery.com>
12710
12711 * gdb.base/shmain.c (main): Remove printf call.
12712 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
12713 * gdb.base/unload.c (main): Make format of fprintf a string
12714 literal. Add missing endlines to prints to stderr.
12715 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
12716
6f451e5e
TT
127172010-02-17 Tom Tromey <tromey@redhat.com>
12718
12719 * gdb.java/jprint.java (jprint.props): New field.
12720 * gdb.java/jprint.exp (set_lang_java): Add regression test.
12721
12d79008
PA
127222010-02-17 Pedro Alves <pedro@codesourcery.com>
12723
ef801a0e 12724 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
12725 available.
12726
d252f7e5
DJ
127272010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12728
12729 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
12730 creation to support remote host testing.
12731
67bdab6c
DJ
127322010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12733
12734 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
12735 Recognize "command not found".
12736
bb391223
DJ
127372010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12738
12739 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
12740 single-stepping.
12741
70362913
DJ
127422010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12743
12744 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
12745 if arguments are not supported.
12746
493f3c00
DJ
127472010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12748
12749 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
12750 be const or non-const.
12751
8034c749
DJ
127522010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12753
12754 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
12755 mi_send_resuming_command to send -exec-continue.
12756
791dfb64
DJ
127572010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12758
12759 * gdb.base/list.exp (test_list_filename_and_function): Add test
12760 with single quotes.
12761 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
12762 matching.
12763 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
12764 Add KFAIL'd tests for PR gdb/11289.
12765
7c5fe868
DJ
127662010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12767
12768 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
12769
fdc498b8
DJ
127702010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12771
12772 * gdb.base/comp-dir/subdir/dummy.txt: New file.
12773 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
12774 a temporary directory.
12775
b519e2a6
DJ
127762010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12777
12778 * gdb.base/charset.exp: Use a single regular expression to match
12779 show host-charset and show target-charset output.
12780
74164c56
JK
127812010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12782
12783 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
12784 "Illegal process-id" expect string more exact.
12785 (attach to digits-starting nonsense is prohibited): New.
12786
701ed6dc
JK
127872010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12788
12789 * gdb.base/prelink.exp (set verbose on): New.
12790
889bf7c5 127912010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
12792
12793 * mi-reverse.exp: New file. Test for reverse option to the
12794 following MI commands: exec-continue, exec-finish, exec-next,
12795 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 12796
dadf0e9c
JB
127972010-02-09 Joel Brobecker <brobecker@adacore.com>
12798
12799 * gdb.ada/ptype_tagged_param: New testcase.
12800
714f19d5
TT
128012010-02-08 Tom Tromey <tromey@redhat.com>
12802
12803 PR c++/8017:
12804 * gdb.cp/overload.exp: Add tests.
12805 * gdb.cp/overload.cc (struct K): New.
12806 (namespace N): New.
12807 (main): Call new functions.
12808 (K::staticoverload): Define.
12809
889bf7c5 128102010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
12811
12812 PR gdb/10728
12813 * gdb.cp/pr10728-x.h: New file.
12814 * gdb.cp/pr10728-x.cc: New file.
12815 * gdb.cp/pr10728-y.cc: New file.
12816 * gdb.cp/pr10728.exp: New file.
12817 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
12818
889bf7c5 128192010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
12820
12821 PR gdb/9067
12822 * gdb.cp/pr9067.exp: New
12823 * gdb.cp/pr9067.cc: New
12824 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
12825
7b356089
JB
128262010-02-08 Joel Brobecker <brobecker@adacore.com>
12827
12828 * lib/gdb.exp (gdb_test_timeout): New global variable.
12829 Set it to timeout if not already set.
12830 (gdb_init): Reset the value of timeout to gdb_test_timeout.
12831
1be00882
DE
128322010-02-05 Doug Evans <dje@google.com>
12833
12834 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
12835 user.
12836
82856980
SW
128372010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
12838
12839 PR c++/7935:
12840 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
12841
1a334831
TT
128422010-02-04 Tom Tromey <tromey@redhat.com>
12843
12844 * gdb.cp/virtbase.exp: Make test case names unique.
12845
9c3c02fd
TT
128462010-02-02 Tom Tromey <tromey@redhat.com>
12847
12848 * gdb.cp/virtbase.exp: Add regression tests.
12849 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
12850 (main): Instantiate RHC.
12851
0cc2414c
TT
128522010-02-02 Tom Tromey <tromey@redhat.com>
12853
12854 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
12855 type-printing change.
12856
edf3d5f3
TT
128572010-02-02 Tom Tromey <tromey@redhat.com>
12858
12859 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
12860 * gdb.cp/virtbase.cc: New file.
12861 * gdb.cp/virtbase.exp: New file.
12862 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
12863
e4b7f41c
JK
128642010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12865
12866 PR libc/11214:
12867 * gdb.threads/current-lwp-dead.c: Include features.h.
12868 (HAS_NOMMU): New.
12869 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
12870
b381ea14
JK
128712010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12872
12873 * gdb.base/symbol-without-target_section.exp,
12874 gdb.base/symbol-without-target_section.c: New.
12875
c593ac0e
DJ
128762010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12877
12878 * gdb.base/bigcore.exp: Reset increased timeout.
12879 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
12880
db25f29d
DJ
128812010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12882
12883 * gdb.base/gcore.exp (capture_command_output): Use
12884 gdb_test_multiple.
12885
f9d67f43
DJ
128862010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12887
12888 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
12889 * gdb.arch/thumb2-it.exp (test_it_break): New function.
12890 (Top level): Call it.
12891
177321bd
DJ
128922010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12893
12894 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
12895
97f2ed50
DJ
128962010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12897
12898 * gdb.base/call-strs.exp, gdb.base/default.exp,
12899 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
12900 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
12901 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
12902 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
12903 gdb.base/watchpoint-solib.exp: Save and restore timeout.
12904 * gdb.base/ending-run.exp: Correct restore of timeout.
12905 * gdb.base/page.exp: Remove unnecessary timeout setting.
12906
e4e2711a
JB
129072010-01-29 Joel Brobecker <brobecker@adacore.com>
12908
12909 * gdb.ada/rec_return: New testcase.
12910
ba581dc1
JB
129112010-01-29 Joel Brobecker <brobecker@adacore.com>
12912
12913 * gdb.ada/call_pn: New testcase.
12914
4ea95be9
DJ
129152010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12916
12917 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
12918 (Top level): Use it to resume.
12919 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
12920 the Thumb mode displaced stepping error as unsupported.
12921
df83a9bf
SW
129222010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
12923
889bf7c5
PA
12924 * gdb.cp/nsusing.exp: Added more tests.
12925 * gdb.cp/nsrecurs.exp: Ditto.
12926 * gdb.cp/nsusing.cc: Added test functions.
12927 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 12928
40b27cdc
JK
129292010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12930
12931 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
12932 absolute directory pathnames in gdb.sum file.
12933
de958931
SW
129342010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
12935
12936 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
12937 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
12938
708ead4e
TT
129392010-01-26 Tom Tromey <tromey@redhat.com>
12940
12941 PR exp/7643:
12942 * gdb.base/printcmds.exp (test_print_string_constants): Remove
12943 setup_kfail.
12944
b14e635e
SW
129452010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
12946
12947 * gdb.cp/nsrecurs.exp: New test.
12948 * gdb.cp/nsrecurs.cc: New test program.
12949 * gdb.cp/nsstress.exp: New test.
12950 * gdb.cp/nsstress.cc: New test program.
12951 * gdb.cp/nsdecl.exp: New test.
12952 * gdb.cp/nsdecl.cc: New test program.
12953
8540c487
SW
129542010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
12955
12956 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
12957 imported into file scope.
12958 Marked test as xfail.
12959 * gdb.cp/namespace-using.cc (marker5): New function.
12960 * gdb.cp/shadow.exp: New test.
12961 * gdb.cp/shadow.cc: New test program.
12962 * gdb.cp/nsimport.exp: New test.
12963 * gdb.cp/nsimport.cc: New test program.
12964
421d5d99
TT
129652010-01-25 Tom Tromey <tromey@redhat.com>
12966
12967 PR gdb/11049:
12968 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
12969 with "set print null-stop on".
12970
691f8dc1
JK
129712010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12972
12973 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
12974 Adjust it for DISASSEMBLY_OMIT_FNAME.
12975
0b92b5bb
TT
129762010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12977
12978 PR symtab/11199:
12979 * gdb.dwarf2/member-ptr-forwardref.exp,
12980 gdb.dwarf2/member-ptr-forwardref.S: New.
12981
23787403
JK
129822010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12983
12984 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
12985 (thread1_func): Protect thread1_tid with thread1_tid_cond by
12986 thread1_tid_mutex. Remove gdbstop_mutex handling.
12987 (thread2_func): Protect thread2_tid with thread2_tid_cond by
12988 thread2_tid_mutex. Remove gdbstop_mutex handling.
12989 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
12990 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
12991 pthread_cond_wait conditionalizations by while loops.
12992
b966cb8a
TT
129932010-01-20 Tom Tromey <tromey@redhat.com>
12994
12995 PR backtrace/10770:
12996 * gdb.dwarf2/pr10770.exp: New file.
12997 * gdb.dwarf2/pr10770.c: New file.
12998 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
12999
fcae584b
VP
130002010-01-20 Vladimir Prus <vladimir@codesourcery.com>
13001
13002 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
13003 that target was removed, and the test always runs native anyway.
13004
a0f49112
JK
130052010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13006
13007 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
13008 gdb.base/watchpoint-cond-gone-stripped.c: New.
13009
ceeb3d5a
TT
130102010-01-19 Tom Tromey <tromey@redhat.com>
13011
13012 PR c++/8000:
13013 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
13014 existing tests.
13015 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
13016 (main): Use AAA::SomeEnum.
13017
dd322c54
JK
130182010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13019
13020 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
13021 (test_ignore_count): Declare line_callme_body global.
13022 (run to breakpoint with ignore count): Use line_callme_body.
13023 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
13024 (set line_main_hello, set line_main_return): Reindent.
13025 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
13026 New.
13027 (continue to callee4): Use line_callee4_body.
13028 (check *stopped from CLI command): Use line_callee4_next.
13029 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
13030 (set line_main_hello, set line_main_return): Reindent.
13031 (set line_callee4_head, set line_callee4_body): New.
13032 (continue to callee4): Use line_callee4_body.
13033
4e8f195d
TT
130342010-01-18 Tom Tromey <tromey@redhat.com>
13035
13036 PR c++/9680:
13037 * gdb.cp/casts.cc: Add new classes and variables.
13038 * gdb.cp/casts.exp: Test new operators.
13039
9e14a9ba
JB
130402010-01-18 Tom Tromey <tromey@redhat.com>
13041 Thiago Jung Bauermann <bauerman@br.ibm.com>
13042
13043 * gdb.python/source2.py: New file.
13044 * gdb.python/source1: New file.
13045 * gdb.python/python.exp: Test "source" command.
13046
00bf0b85
SS
130472010-01-15 Stan Shebs <stan@codesourcery.com>
13048
13049 * gdb.trace/tfile.c: New file.
13050 * gdb.trace/tfile.exp: New file.
889bf7c5 13051
55235ad7
JK
130522010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13053
13054 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
13055
9f2982ff
JK
130562010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13057
13058 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
13059
bbfba9ed
JK
130602010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13061
13062 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
13063 (libfunc): New parameter action. Implement also selectable "sleep".
13064 * gdb.base/break-interp-main.c: Include assert.h.
13065 (libfunc): New parameter action.
13066 (main): New parameters argc and argv. Assert argc. Pass argv.
13067 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
13068 (test_attach): New proc.
13069 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
13070 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
13071
61f0d762
JK
130722010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13073
13074 * gdb.base/break-interp.exp (test_core): New proc.
13075 (test_ld): Call it.
13076
06a6f270
JK
130772010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13078
13079 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
13080 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
13081 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
13082 and gdb_compile_shlib. Use new -Wl compiler options.
13083 (dl bt, main bt): New tests.
13084
51bee8e9
JK
130852010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13086
13087 Support PIEs with no symfile_objfile.
13088 * gdb.base/break-interp.exp: New argument at the test_ld calls.
13089 (test_ld): New parameter trynosym.
13090 (test_ld <$trynosym>): New block.
13091
b8040f19
JK
130922010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13093
13094 * gdb.base/break-interp.exp: New file.
13095
be759fcf
PM
130962010-01-13 Phil Muldoon <pmuldoon@redhat.com>
13097
13098 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
13099 * gdb.python/py-prettyprint.py (pp_ls): New printer.
13100 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
13101 test.
13102 * gdb.python/py-prettyprint.c: Define lazystring test structure.
13103 * gdb.python/py-mi.exp: Add lazy string test.
13104
dc146f7c
VP
131052010-01-13 Vladimir Prus <vladimir@codesourcery.com>
13106
13107 * lib/mi-support.exp (mi_check_thread_states): Handle
13108 core number in thread listing.
13109
b4ba55a1
JB
131102010-01-12 Joel Brobecker <brobecker@adacore.com>
13111
13112 * gdb.base/maint.exp: Adjust the expected output for the
13113 "maint print type" test. Use gdb_test_multiple instead of
13114 gdb_sent/gdb_expect.
13115
08e24bd4
DE
131162010-01-11 Doug Evans <dje@google.com>
13117
6496a609
DE
13118 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
13119 from gdbserver_download. All callers updated.
13120
08e24bd4
DE
13121 * gdb.server/ext-run.exp: "info os processes" requires xml support.
13122
b5cfddf5
JK
131232010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13124
13125 Implement binary numbers parsing.
13126 * gdb.base/printcmds.exp (test_integer_literals_accepted)
13127 (test_integer_literals_rejected): New binary tests.
13128
3725885a
RW
131292010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13130
13131 * gdb.cell/configure: Regenerate.
13132
37aeb5df
JK
131332010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13134
13135 * gdb.base/corefile.exp: Move the core finding block out and call it as
13136 core_find, new variable $corefile, replace corefile by $corefile and
13137 [file tail $corefile] for usage vs. test names resp.
13138 * lib/gdb.exp (core_find): Move it as a new function here. New
13139 parameter binfile and deletefiles. New variable $destcore. Pre-delete
13140 $destcore. Return "" on error.
13141
d521f563
JK
131422010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13143
13144 Workaround PR binutils/10802.
13145 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
13146 (twice).
13147
28f24826
DJ
131482010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
13149
13150 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
13151
2de75e71
JB
131522010-01-08 Joel Brobecker <brobecker@adacore.com>
13153
13154 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
13155 call, to avoid interruption.
13156
fe00719b 131572010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
13158
13159 * gdb.stabs/weird.def (args93): New.
13160
d0ef5df8
DE
131612010-01-07 Doug Evans <dje@google.com>
13162
13163 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
13164
3a08d52f
TT
131652010-01-07 Tom Tromey <tromey@redhat.com>
13166
13167 * gdb.base/source.exp: Use correct line number.
13168
7a697b8d
SS
131692010-01-05 Stan Shebs <stan@codesourcery.com>
13170
13171 * gdb.trace/tracecmd.exp: Test ftrace.
13172
7803799a
UW
131732010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13174
13175 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
13176
c54eabfa
JK
131772010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13178
13179 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
13180 "uint_for_mi_testing".
13181
02e7ef19
JB
131822010-01-01 Joel Brobecker <brobecker@adacore.com>
13183
13184 Test indented comment in file being sourced.
13185 * gdb.base/commands.exp: Test indented comment in file being sourced.
13186
abd775ce
JB
131872010-01-01 Joel Brobecker <brobecker@adacore.com>
13188
13189 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
13190 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
13191 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
13192 notice.
13193
79b55b82
JB
131942010-01-01 Joel Brobecker <brobecker@adacore.com>
13195
13196 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
13197 notice.
13198
8997583e
JK
131992010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13200
13201 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
13202 missing $after_stopped and comma (,) expectation.
13203
6da95a67
SS
132042009-12-31 Stan Shebs <stan@codesourcery.com>
13205
13206 * gdb.trace/actions.exp: Test teval action.
889bf7c5 13207
218d2fc6
TJB
132082009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
13209
13210 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
13211 (top level): Call test_watchpoint_in_big_blob.
13212 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
13213 watchpoints.
13214 (func3): Write to buf.
13215
236f1d4d
SS
132162009-12-29 Stan Shebs <stan@codesourcery.com>
13217
13218 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 13219
f61e138d
SS
132202009-12-28 Stan Shebs <stan@codesourcery.com>
13221
13222 * gdb.trace/tsv.exp: New file.
13223 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 13224
0219b378
DJ
132252009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
13226
13227 * gdb.base/find.c (main): Reference search buffers.
13228 * gdb.base/included.c (main): Reference integer.
13229 * gdb.base/ptype.c (charfoo): Declare.
13230 (intfoo): Call charfoo.
13231 * gdb.base/scope0.c (useitp): New function.
13232 (usestatics): Use useitp.
13233 (useit): Add a type for val.
13234 * gdb.base/scope1.c (useit1): Take a pointer argument.
13235 (usestatics1): Update calls to useit1.
13236 * gdb.cp/call-c.cc: Declare foo.
13237 (main): Call foo.
13238 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
13239 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
13240 (main): Call C::ensureRefs and ensureOtherRefs.
13241 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
13242 variables.
13243 (ensureOtherRefs): New function.
13244 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
13245 * gdb.cp/templates.cc (main): Call t5i.value.
13246
3f78692f
JK
132472009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13248
13249 Fix compatibility with G++-4.5.
13250 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
13251 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
13252 (uncaught return): Remove.
13253
429374b8
JK
132542009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13255 Phil Muldoon <pmuldoon@redhat.com>
13256
13257 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
13258 (bp_location13, bp_location14, bp_location17, bp_location18)
13259 (marker3_proto, marker4_proto): New variables.
13260 (breakpoint info): Update output.
13261 (run until breakpoint at marker3, run until breakpoint at marker4): New
13262 tests.
13263
859825b8
JK
132642009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13265
13266 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
13267 Replace the printf call of Y by provided "y-set-1" label. New block
13268 for the second shared library.
13269 * gdb.base/unload.exp: Compile also the second library, call
13270 gdb_load_shlibs also for it. Use now gdb_breakpoint.
13271 (single pending breakpoint info): Rename to ...
13272 (pending breakpoint info before run): ... this extended test.
13273 (libfile2, libname2, libsrcfile2, libsrc2)
13274 (lib_sl2): New variables.
13275 (exec_opts): Set also SHLIB_NAME2.
13276 (pending breakpoint info on first run at shrfunc1)
13277 (pending breakpoint info on second run at shrfunc1)
13278 (pending breakpoint info on second run at shrfunc2)
13279 (print y from libfile, print y from libfile2): New tests.
13280 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
13281 * gdb.base/unloadshr2.c: New.
13282
e6a386cd
HZ
132832009-12-22 Hui Zhu <teawater@gmail.com>
13284
13285 * gdb.reverse/sigall-reverse.exp: Adjust.
13286
9e19b45e
VP
132872009-12-21 Vladimir Prus <vladimir@codesourcery.com>
13288
13289 PR gdb/10884
13290
13291 * gdb.mi/var-cmd.c (do_bitfield_tests): New
13292 (main): Call do_bitfield_tests.
aacf5b1e 13293 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 13294
d53a7b30
JB
132952009-12-20 Joel Brobecker <brobecker@adacore.com>
13296
13297 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
13298 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
13299 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
13300 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
13301 gdb.modula2/unbounded1.c: Update copyright header.
13302
191ca0a1
CM
133032009-12-10 Chris Moller <moller@mollerware.com>
13304
13305 PR gdb/9399
13306 * gdb.cp/virtfunc2.exp: New tests
13307 * gdb.cp/virtfunc2.cc: New tests
13308 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
13309
0fa6cf1b
MS
133102009-12-10 Oza Pawandeep (paawan1982@yahoo.com
13311
13312 * gdb.reverse/i387-env-reverse.c: New file.
13313 * gdb.reverse/i387-env-reverse.exp: New file.
13314 * gdb.reverse/i387-stack-reverse.c: New file.
13315 * gdb.reverse/i387-stack-reverse.exp: New file.
13316
361ae042
PM
133172009-12-08 Phil Muldoon <pmuldoon@redhat.com>
13318
13319 * gdb.python/py-type.exp (test_range): New test.
13320
bfd31e71
PM
133212009-12-03 Phil Muldoon <pmuldoon@redhat.com>
13322
13323 PR python/10805
13324
13325 * gdb.python/py-type.exp: New file.
13326 * gdb.python/py-type.c: New file.
13327 * Makefile.in: Add py-type.
13328
57a1d736
TT
133292009-12-03 Tom Tromey <tromey@redhat.com>
13330
13331 * gdb.python/py-value.exp (test_parse_and_eval): New
13332 function.
13333
1f3b5d1b
PP
133342009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13335
13336 PR gdb/11022
13337
13338 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
13339 * gdb.base/pr11022.c: New test.
13340
8b7dbdc9
JK
133412009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13342
13343 Fix spurious false FAILs.
13344 * gdb.base/structs.c (chartest): New.
13345 (main): Fill-in chartest.
13346 * gdb.base/structs.exp (anychar_re, first): New.
13347 (start_structs_test): Import global anychar_re and first.
13348 New gdb_test call "set print elements 300; ${testfile}"
13349 (start_structs_test <$first>): New block.
13350 (any): Import global anychar_re. New variable ac. Use ${ac}.
13351
6a53b2ec
JK
133522009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13353
13354 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
13355
d7167b4c
JK
133562009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13357
13358 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
13359 Force $srcfile file.
13360 * gdb.base/foll-fork.c (callee): Comment out the printf call.
13361
b1798462
UW
133622009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13363
13364 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
13365 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
13366 * gdb.threads/watchthreads-reorder.exp: Likewise.
13367
b6199126
DJ
133682009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
13369
13370 PR gdb/8704
13371
13372 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
13373 "if", and "thread". Correct matching in the previous test.
13374
b22a0510
DJ
133752009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
13376
13377 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
13378
930636d2
MS
133792009-11-23 Michael Snyder <msnyder@vmware.com>
13380
13381 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
13382 * gdb.reverse-watch-precsave.exp: Ditto.
13383
21a0512e
PP
133842009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
13385
13386 * gdb.asm/asm-source.exp: Adjust.
13387 * gdb.base/help.exp: Adjust.
889bf7c5 13388
fc30d5e0
PA
133892009-11-22 Pedro Alves <pedro@codesourcery.com>
13390
13391 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
13392 (do_syscall_tests_without_xml): Set data-directory to
13393 /the/path/to/nowhere.
13394
f6bc2008
PA
133952009-11-21 Pedro Alves <pedro@codesourcery.com>
13396
13397 * gdb.threads/local-watch-wrong-thread.c,
13398 gdb.threads/local-watch-wrong-thread.exp: New files.
13399
8c2fb5de
PA
134002009-11-21 Pedro Alves <pedro@codesourcery.com>
13401
13402 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
13403 assume new `regsub' syntax available.
13404
ebec9a0f
PA
134052009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13406
a79d3c27
JK
13407 * gdb.base/watchpoint-hw-hit-once.exp,
13408 gdb.base/watchpoint-hw-hit-once.c: New.
13409
134102009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13411
13412 * gdb.threads/watchthreads-reorder.exp,
13413 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 13414
276a961b
MK
134152009-11-17 Nathan Sidwell <nathan@codesourcery.com>
13416
13417 * gdb.xml/tdesc-regs.exp: Use for m68k.
13418
4867c1fb
PA
134192009-11-15 Pedro Alves <pedro@codesourcery.com>
13420
13421 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
13422
f6838f81
DJ
134232009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13424
13425 * lib/gdb.exp (current_target_name): New procedure.
13426 (gdb_wrapper_target): New variable.
13427 (gdb_wrapper_init): Set gdb_wrapper_target.
13428 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
13429 wrapper.
13430
4ac4dd3f
DJ
134312009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13432
13433 * gdb.base/remote.exp: Delete the slowest load test.
13434 Do not load with fixed packet sizes.
13435
a7881759
DJ
134362009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13437
13438 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
13439
97a5b505
DJ
134402009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13441
13442 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
13443 srcfile when setting a breakpoint.
13444
d3e1fc54
DJ
134452009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
13446
13447 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
13448 macros.
13449
7cbcbded
DJ
134502009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13451
13452 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
13453 to be in memory.
13454 * gdb.base/display.c (force_mem): New.
13455 (do_loops): Use it. Add breakpoint comments.
13456 (do_vars): Add a breakpoint comment.
13457 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
13458 line numbers.
13459
bdea3a92
NF
134602009-11-13 Nathan Froyd <froydnj@codesourcery.com>
13461
13462 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
13463 instead of a bare "run".
13464
269f82e5
PP
134652009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13466
13467 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 13468
a69b7d9d
DJ
134692009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13470
13471 * lib/cell.exp (skip_cell_tests): Clean up test files before
13472 returning.
13473
b598bfda
DJ
134742009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13475
13476 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
13477 and the breakpoint menu. Do not call perror if a prompt is seen.
13478 Consume the following GDB prompt.
13479 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
13480 * gdb.cp/namespace.exp: Use gdb_test.
13481 * gdb.cp/templates.exp: Use gdb_test.
13482 (test_template_breakpoints): Use gdb_test_multiple.
13483
87728fa0
DJ
134842009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13485
13486 * gdb.base/break1.c (struct some_struct, values): Move earlier.
13487 (marker4): Reference values.
13488
b67c692f
DJ
134892009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13490
13491 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
13492 is missing.
13493
f0df251a
DJ
134942009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13495
13496 * gdb.base/break.c (need_malloc): New.
13497 * gdb.base/constvars.c (main): Reference crass and crisp.
13498 * gdb.base/gdb1821.c (main): Reference bar.
13499 * gdb.cp/gdb1355.cc (main): Reference s1.
13500 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
13501 (main): Call them.
13502 * gdb.cp/hang2.cc (dummy2): Define.
13503 * gdb.cp/hang3.cc (dummy3): Define.
13504 * gdb.cp/m-data.cc (main): Reference shadow.
13505
bdf7534a
NF
135062009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13507 Nathan Froyd <froydnj@codesourcery.com>
13508
13509 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
13510 remote host.
13511
f24fce77
NF
135122009-11-12 Nathan Froyd <froydnj@codesourcery.com>
13513
13514 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
13515 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
13516 * gdb.dwarf2/dw2-compressed.exp: Likewise.
13517 * gdb.dwarf2/dw2-intercu.exp: Likewise.
13518 * gdb.dwarf2/dw2-intermix.exp: Likewise.
13519 * gdb.dwarf2/dw2-producer.exp: Likewise.
13520 * gdb.dwarf2/mac-fileno.exp: Likewise.
13521 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
13522 py-prettyprint.py to the remote host.
13523 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
13524
40f0318e
KS
135252009-11-11 Keith Seitz <keiths@redhat.com>
13526
13527 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
13528 use it instead of "Foo".
13529 * gdb.cp/classes.exp (do_tests): Add a test to access
13530 a method through a typedef'd class name.
13531
f3d9f7fb
NF
135322009-11-11 Nathan Froyd <froydnj@codesourcery.com>
13533
13534 * gdb.base/long_long.exp: Permit leading zeros on floating-point
13535 exponents.
13536 * gdb.base/pointers.exp: Likewise.
13537 * gdb.cp/ref-types.exp: Likewise.
13538
a4216f37
KS
135392009-11-11 Keith Seitz <keiths@redhat.com>
13540
13541 * gdb.cp/cplusfuncs.cc (class foo): Add operators
13542 new[] and delete[].
13543 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
13544 "void".
13545 (probe_demangler): Remove all single-quoting of
13546 method and variable names.
13547 (info_func_regexp): Remove the word "void" from any
13548 occurrence of "(void)".
13549 (print_addr_2): Remove all single-quoting of
13550 method names.
13551 (print_addr_2_kfail): Likewise.
13552 (print_addr): Single-quote C function names before
13553 passing to print_addr_2.
13554 (test_paddr_operator_functions): Remove single-quoting
13555 for method names.
13556 Add tests for operator new[] and operator delete[].
13557
9b14d7aa
JK
135582009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13559
13560 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
13561
85feb311
KS
135622009-11-09 Keith Seitz <keiths@redhat.com>
13563
13564 * gdb.cp/overload.exp: Add tests for resolving overloaded
13565 methods in expression parsing/evaluation.
13566
fa335448
DJ
135672009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
13568
13569 * lib/gdb.exp (default_gdb_version): Use --version instead of
13570 --command.
13571
ec3c07fc
NS
135722009-11-10 Nathan Sidwell <nathan@codesourcery.com>
13573
13574 * lib/gdb.exp (gdb_compile_test): New.
13575 (skip_ada_tests, skip_java_tests): New.
13576 (gdb_compile): Use gdb_compile_test for f77.
13577 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
13578 * lib/java.exp (compile_java_from_source): Remove runtests check,
13579 use gdb_compile_test to record result.
13580 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
13581 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
13582 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
13583 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
13584 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
13585 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
13586 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
13587 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
13588 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
13589 adjust gdb_compile invocations.
13590
b8b4e42b
JK
135912009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13592
13593 * Makefile.in (abs_builddir): New.
13594 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
13595 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
13596 `$(abs_builddir)/site.exp'.
13597
f8b7eaf3
DJ
135982009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
13599
13600 * config/m68k-emc.exp, lib/emc-support.exp,
13601 gdb.trace/gdb_c_test.c: Delete.
13602 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
13603 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13604 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13605 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13606 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13607 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
13608 casing for m68k-*-elf.
13609
c4187697
NS
136102009-11-03 Pedro Alves <pedro@codesourcery.com>
13611
13612 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
13613 * gdb.arch/i386-prologue.exp: Likewise.
13614 * gdb.arch/i386-unwind.exp: Likewise.
13615
db16b772
DJ
136162009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13617
13618 * lib/gdb.exp (gdb_expect): Fix timeout typo.
13619
bcf71277
DJ
136202009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13621
13622 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
13623
0105cee2
DJ
136242009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13625
13626 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
13627
24ddea62
JK
136282009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13629
13630 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
13631
287ccc17
JK
136322009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13633
13634 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
13635 * gdb.base/sepdebug2.c: New file.
13636
08bca259 136372009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
13638
13639 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
13640 the modified warnings for catch syscall. Verify if GDB was compiled
13641 with support for lib expat, and choose which tests to run depending
13642 on this.
13643
5d4e2b76
VP
136442009-10-30 Vladimir Prus <vladimir@codesourcery.com>
13645
13646 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
13647 that composite commands are parsed OK. And also test
13648 that breakpoint commands do work.
13649
240e538a
MS
136502009-10-23 Michael Snyder <msnyder@vmware.com>
13651
13652 gdb.reverse/consecutive-precsave.exp: Change expect pattern
13653 to allow for new disassembly style.
13654
9c419145
PP
136552009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13656
13657 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 13658
02506ff1
MS
136592009-10-22 Michael Snyder <msnyder@vmware.com>
13660
13661 * gdb.reverse/break-precsave.exp: New test.
13662 * gdb.reverse/consecutive-precsave.exp: Ditto.
13663 * gdb.reverse/finish-precsave.exp: Ditto.
13664 * gdb.reverse/i386-precsave.exp: Ditto.
13665 * gdb.reverse/machinestate-precsave.exp: Ditto.
13666 * gdb.reverse/sigall-precsave.exp: Ditto.
13667 * gdb.reverse/solilb-precsave.exp: Ditto.
13668 * gdb.reverse/step-precsave.exp: Ditto.
13669 * gdb.reverse/until-precsave.exp: Ditto.
13670 * gdb.reverse/watch-precsave.exp: Ditto.
13671
4cf866a3
MS
136722009-10-22 Michael Snyder <msnyder@vmware.com>
13673
13674 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
13675 for gdb_expect. Adjust one test's expect strings for the new
13676 format of disassemble.
13677 * gdb.reverse/finish-reverse.exp: Delete 'return'.
13678 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
13679 gdb_test_multiple.
13680 * gdb.reverse/step-reverse.exp: Delete 'return'.
13681 * gdb.reverse/until-reverse.exp: Delete blank lines.
13682 * gdb.reverse/watch-reverse.exp: Delete blank lines.
13683
2b28d209
PP
136842009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
13685
13686 * gdb.base/consecutive.exp: Adjust.
13687 * gdb.base/display.exp: Likewise.
13688 * gdb.base/pc-fp.exp: Likewise.
13689 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 13690
33b9c32b
MS
136912009-10-19 Michael Snyder <msnyder@vmware.com>
13692
13693 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
13694 * gdb.reverse/finish-reverse.c: Ditto.
13695 * gdb.reverse/sigall-reverse.c: Ditto.
13696 * gdb.reverse/solib-reverse.c: Ditto.
13697 * gdb.reverse/step-reverse.c: Ditto.
13698 * gdb.reverse/watch-reverse.c: Ditto.
13699
6c95b8df
PA
137002009-10-19 Pedro Alves <pedro@codesourcery.com>
13701 Stan Shebs <stan@codesourcery.com>
13702
13703 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
13704 * gdb.base/foll-exec.exp: Adjust to expect a process id before
13705 "Executing new program".
13706 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
13707 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
13708 left listed after having been killed.
13709 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
13710 * gdb.base/maint.exp: Adjust test.
13711
13712 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
13713 * gdb.multi/Makefile.in: New.
13714 * gdb.multi/base.exp: New.
13715 * gdb.multi/goodbye.c: New.
13716 * gdb.multi/hangout.c: New.
13717 * gdb.multi/hello.c: New.
13718 * gdb.multi/bkpt-multi-exec.c: New.
13719 * gdb.multi/bkpt-multi-exec.exp: New.
13720 * gdb.multi/crashme.c: New.
13721
279017b7
TG
137222009-10-13 Tristan Gingold <gingold@adacore.com>
13723
13724 * gdb.base/sepdebug.exp: Check debug info are found.
13725
0413d738
PA
137262009-10-08 Pedro Alves <pedro@codesourcery.com>
13727
13728 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
13729 bits.
13730
c628eecc
JK
137312009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13732
13733 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
13734
38af1bfe
JB
137352009-10-07 Joel Brobecker <brobecker@adacore.com>
13736
13737 * gdb.base/watchpoints.c: Add copyright header. Reformat one
13738 of the comments.
13739
2b0adecd
PM
137402009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
13741
13742 * gdb.base/annota1.exp: Remove obsolete match_max increase.
13743 * gdb.base/annota3.exp: Idem.
13744 * gdb.base/maint.exp: Idem.
13745
8d417781
PM
137462009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
13747
889bf7c5 13748 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
13749 to default.
13750
bb61102d
PM
137512009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13752
889bf7c5 13753 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
13754 mingw and cygwin targets.
13755
ace5c364
PM
137562009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13757 Pedro Alves <pedro@codesourcery.com>
13758
889bf7c5 13759 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
13760 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
13761
c2d494a0
PM
137622009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13763
e1b52ce2
PM
13764 * gdb.base/shr1.c: Use %p in format string.
13765 * gdb.base/unload.c: Avoid warning in fprintf.
13766 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 13767
209f53f5
PM
137682009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13769
13770 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
13771 long type.
13772 (test_unlink): Correct printf string.
13773 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
13774 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
13775
8172766a
JK
137762009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13777
13778 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
13779 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
13780 * gdb.arch/ia64-breakpoint-shadow.S: New file.
13781
0f73703c
UW
137822009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13783
13784 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
13785 * gdb.objc/nondebug.exp: Likewise.
13786
b32306ca
UW
137872009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13788
13789 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
13790 target_info setting.
13791
13792 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
13793 that detect new threads during "info threads".
13794
0057022f
UW
137952009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13796
13797 * gdb.threads/manythreads.c (main): Increase thread stack size
13798 to 2*PTHREAD_STACK_MIN.
13799 * gdb.threads/multi-create.c (main): Likewise.
13800 (create_function): Likewise.
13801
f29c0325
UW
138022009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13803
13804 * gdb.base/dump.exp: Pass difference of pointer types instead
13805 of integer types as offset to restore in intarr3.srec case.
13806
fcb34849
UW
138072009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13808
13809 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
13810
d5142e3b
UW
138112009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13812
13813 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
13814
087b74b2 138152009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 13816
087b74b2
PM
13817 New test for two watchpoints, with disabling of
13818 the first inserted.
13819 * testsuite/gdb.base/watchpoints.c: New file.
13820 * testsuite/gdb.base/watchpoints.exp: New file.
13821
96c07c5b
TT
138222009-09-25 Tom Tromey <tromey@redhat.com>
13823
13824 * gdb.base/charset.exp: Test utf-16 strings with Python.
13825
b8899f2b
TT
138262009-09-25 Tom Tromey <tromey@redhat.com>
13827
13828 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
13829 UCS-4.
13830 * gdb.base/charset.c (utf_32_string): Rename.
13831 (init_utf32): Rename.
13832 (main): Update.
13833
329719ec
TT
138342009-09-22 Tom Tromey <tromey@redhat.com>
13835
13836 * gdb.python/py-function.exp: Add regression tests.
13837
11ef0d76
KS
138382009-09-21 Keith Seitz <keiths@redhat.com>
13839
13840 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
13841 with invalid operator.
13842
3fe8f3b3
KS
138432009-09-21 Keith Seitz <keiths@redhat.com>
13844
13845 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
13846 and destructor using typedef name of class.
13847 * gdb.cp/classes.cc (class Base1): Add a destructor.
13848 (base1): New typedef.
13849 (use_methods): Instanitate an object of type base1.
13850 * gdb.cp/templates.exp (test_template_typedef): New procedure.
13851 (do_tests): Call test_template_typedef.
13852 * gdb.cp/templates.cc (Baz::~Baz): New method.
13853 (intBazOne): New typedef.
13854 (main): Instantiate intBazOne.
13855
7a9fe101
PM
138562009-09-21 Phil Muldoon <pmuldoon@redhat.com>
13857
13858 PR python/10633
13859
13860 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
13861 Function.
13862 (run_lang_tests): Add print elements test.
13863
2e4d963f
PM
138642009-09-21 Phil Muldoon <pmuldoon@redhat.com>
13865
13866 * gdb.python/py-value.exp (test_subscript_regression): New
13867 function. Test for invalid subscripts.
13868 * gdb.python/py-value.c (main): Add test array, and pointer to it.
13869 (ptr_ref): New function.
13870
ec7e75e7
PP
138712009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13872
13873 * gdb.base/default.exp: Fix "show convenience".
13874
0cc7d26f
TT
138752009-09-15 Tom Tromey <tromey@redhat.com>
13876
13877 * lib/mi-support.exp (mi_create_varobj): Update.
13878 (mi_create_floating_varobj): Likewise.
13879 (mi_create_dynamic_varobj): New proc.
13880 (mi_varobj_update): Update.
13881 (mi_varobj_update_with_type_change): Likewise.
13882 (mi_varobj_update_kv_helper): New proc.
13883 (mi_varobj_update_dynamic_helper): Rewrite.
13884 (mi_varobj_update_dynamic): New proc.
13885 (mi_list_varobj_children): Update.
13886 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
13887 * gdb.python/python-prettyprint.py (pp_outer): New class.
13888 (pp_nullstr): Likewise.
13889 (lookup_function): Register new printers.
13890 * gdb.python/python-prettyprint.c (struct substruct): New type.
13891 (struct outerstruct): Likewise.
13892 (substruct_test): New function.
13893 (struct nullstr): New type.
13894 (string_1, string_2): New globals.
13895 (main): Add new tests.
13896 * gdb.python/python-mi.exp: Added regression tests.
13897 * gdb.mi/mi2-var-display.exp: Update.
13898 * gdb.mi/mi2-var-cmd.exp: Update.
13899 * gdb.mi/mi2-var-child.exp: Update.
13900 * gdb.mi/mi2-var-block.exp: Update.
13901 * gdb.mi/mi-var-invalidate.exp: Update.
13902 * gdb.mi/mi-var-display.exp: Update.
13903 * gdb.mi/mi-var-cmd.exp: Update.
13904 * gdb.mi/mi-var-child.exp: Update.
13905 * gdb.mi/mi-var-block.exp: Update.
13906 * gdb.mi/mi-break.exp: Update.
13907 * gdb.mi/gdb701.exp: Update.
13908
a96d9b2e
SDJ
139092009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13910
13911 * Makefile.in: Inclusion of catch-syscall object.
13912 * gdb.base/catch-syscall.c: New file.
13913 * gdb.base/catch-syscall.exp: New file.
13914
b43b923a
MS
139152009-09-12 Michael Snyder <msnyder@vmware.com>
13916
13917 * gdb.reverse/step-reverse.exp: Explicitly check for targets
13918 that can support reverse debuggnig.
13919
cec03d70
TT
139202009-09-11 Tom Tromey <tromey@redhat.com>
13921
13922 * gdb.dwarf2/valop.S: New file.
13923 * gdb.dwarf2/valop.exp: New file.
13924
e23bb3fc
MK
139252009-09-11 Mark Kettenis <kettenis@gnu.org>
13926
13927 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
13928
37c3696d
DE
139292009-09-10 Doug Evans <dje@google.com>
13930
13931 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
13932 Add $gdb_prompt to second breakpoint regexp.
13933
5172aecb
JB
139342009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
13935
13936 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
13937 names, add missing ones.
13938 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
13939 * gdb.python/py-frame.c: Rename from python-frame.c.
13940 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
13941 testfile name.
13942 * gdb.python/py-function.exp: Rename from python-function.exp.
13943 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
13944 testfile name.
13945 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
13946 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
13947 Adjust testfile name.
13948 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
13949 * gdb.python/py-template.cc: Rename from python-template.cc.
13950 * gdb.python/py-template.exp: Rename from python-template.exp.
13951 Adjust testfile name.
13952 * gdb.python/py-value.c: Rename from python-value.c.
13953 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
13954 testfile name.
13955
b554e4bd
JK
139562009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13957
13958 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
13959 $bpt2address.
13960 (Second breakpoint address is valid on ia64)
13961 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
13962
9a68ae16
JM
139632009-09-03 Joseph Myers <joseph@codesourcery.com>
13964
13965 * gdb.base/ending-run.exp: Restrict regular expression matching
13966 line number to require closing brace following.
13967
146b9145
DE
139682009-09-03 Doug Evans <dje@google.com>
13969
13970 * gdb.base/store.exp (check_set): Fix typo in expected value message.
13971
787d21e1
TT
139722009-09-02 Tom Tromey <tromey@redhat.com>
13973
13974 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
13975
e7802207
TT
139762009-09-02 Tom Tromey <tromey@redhat.com>
13977
13978 * gdb.dwarf2/callframecfa.exp: New file.
13979 * gdb.dwarf2/callframecfa.S: New file.
13980
817aadd2
JK
139812009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13982
13983 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
13984 gdb.base/solib-overlap-main.c: New.
13985
4a76eae5
DJ
139862009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
13987
13988 PR gdb/10565
13989
13990 * gdb.base/bitfields.c (struct container, container): New.
13991 (main): Initialize it and call break5.
13992 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
13993
d4b96c9a
JK
139942009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13995
13996 Support constant DW_AT_data_member_location by GCC PR debug/40659.
13997 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
13998
4e22772d
JK
139992009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14000
14001 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
14002
2efab443
MS
140032009-08-26 Michael Snyder <msnyder@vmware.com>
14004
14005 * gdb.base/i386-reverse.c: New file.
14006 * gdb.base/i386-reverse.exp: New file.
14007 * gdb.base/Makefile.in: Add new files to be removed.
14008
07ab73a0
JM
140092009-08-26 Joseph Myers <joseph@codesourcery.com>
14010
14011 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
14012 environment-pwd for remote host.
14013 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
14014
676accff
KS
140152009-08-24 Keith Seitz <keiths@redhat.com>
14016
14017 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
14018 Add two new C++ completer tests which limit the output to a
889bf7c5 14019 given class.
676accff 14020
f9f7ad22
MS
140212009-08-24 Michael Snyder <msnyder@vmware.com>
14022
14023 * gdb.base/del.exp: Fix typo in comment.
14024 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
14025
81ecdfbb
RW
140262009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14027
14028 * configure: Regenerate.
14029 * gdb.hp/configure: Likewise.
14030 * gdb.hp/gdb.aCC/configure: Likewise.
14031 * gdb.hp/gdb.base-hp/configure: Likewise.
14032 * gdb.hp/gdb.compat/configure: Likewise.
14033 * gdb.hp/gdb.defects/configure: Likewise.
14034 * gdb.hp/gdb.objdbg/configure: Likewise.
14035 * gdb.stabs/configure: Likewise.
14036
cab0c772
UW
140372009-08-19 Doug Evans <dje@google.com>
14038
14039 * gdb.base/gdbvars.c: New file.
14040 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
14041
b8fa0bfa
PA
140422009-08-14 Pedro Alves <pedro@codesourcery.com>
14043
14044 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
14045 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
14046
b84aa90a
PA
140472009-08-13 Pedro Alves <pedro@codesourcery.com>
14048
14049 * gdb.base/default.exp: Adjust "set language test": it's now an
14050 enum command. Larger help string moved to "help set language".
14051 * gdb.base/help.exp: Adjust "help set language" expected output,
14052 now lists all known languages.
14053
0d8f9b2c
NF
140542009-08-11 Nathan Froyd <froydnj@codesourcery.com>
14055
14056 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
14057 all frame arguments.
14058 * gdb.arch/altivec-regs.exp: Likewise.
14059
bda180e0
TT
140602009-08-07 Tom Tromey <tromey@redhat.com>
14061
14062 * gdb.base/setshow.exp: Add tests for changes to set language, set
14063 check range, and set check type.
14064
48cb2d85
VP
140652009-08-03 Vladimir Prus <vladimir@codesourcery.com>
14066
14067 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
14068 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 14069 Call it.
48cb2d85 14070
1ea34204
UW
140712009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14072
14073 * configure.ac: Run gdb.cell tests when appropriate.
14074 * configure: Regenerate.
14075 * lib/cell.exp: New file.
14076 * gdb.cell: New directory.
14077 * gdb.cell/configure.ac: New file.
14078 * gdb.cell/configure: New file.
14079 * gdb.cell/Makefile.in: New file.
14080 * gdb.cell/arch.exp: New file.
14081 * gdb.cell/break.c: New file.
14082 * gdb.cell/break.exp: New file.
14083 * gdb.cell/break-spu.c: New file.
14084 * gdb.cell/bt.c: New file.
14085 * gdb.cell/bt2-spu.c: New file.
14086 * gdb.cell/bt-spu.c: New file.
14087 * gdb.cell/bt.exp: New file.
14088 * gdb.cell/coremaker.c: New file.
14089 * gdb.cell/coremaker-spu.c: New file.
14090 * gdb.cell/core.exp: New file.
14091 * gdb.cell/gcore.exp: New file.
14092 * gdb.cell/data.c: New file.
14093 * gdb.cell/data.exp: New file.
14094 * gdb.cell/data-spu.c: New file.
14095 * gdb.cell/ea-cache.exp: New file.
14096 * gdb.cell/ea-cache.c: New file.
14097 * gdb.cell/ea-cache-spu.c: New file.
14098 * gdb.cell/ea-standalone.c: New file.
14099 * gdb.cell/ea-standalone.exp: New file.
14100 * gdb.cell/ea-test.c: New file.
14101 * gdb.cell/ea-test.exp: New file.
14102 * gdb.cell/f-regs.exp: New file.
14103 * gdb.cell/mem-access.c: New file.
14104 * gdb.cell/mem-access.exp: New file.
14105 * gdb.cell/mem-access-spu.c: New file.
14106 * gdb.cell/ptype.exp: New file.
14107 * gdb.cell/registers.exp: New file.
14108 * gdb.cell/size.c: New file.
14109 * gdb.cell/sizeof.exp: New file.
14110 * gdb.cell/size-spu.c: New file.
14111 * gdb.cell/solib.exp: New file.
14112 * gdb.cell/solib-symbol.exp: New file.
14113
85e747d2
UW
141142009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14115
14116 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
14117
58d6951d
DJ
141182009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
14119
14120 * gdb.base/float.exp: Handle VFP registers.
14121
6e0a4f15
MS
141222009-07-14 Michael Snyder <msnyder@vmware.com>
14123
dcd5da87
MS
14124 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
14125 to bring gdb to the beginning of the calling line.
14126
6e0a4f15
MS
14127 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
14128 confusing the i386 epilogue unwinder.
14129
782b2b07
SS
141302009-07-14 Stan Shebs <stan@codesourcery.com>
14131
14132 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
14133
f662c3bc
MS
141342009-07-14 Michael Snyder <msnyder@vmware.com>
14135
14136 * gdb.reverse/step-reverse.exp (stepi into function call):
14137 Call instruction may not be first instruction in the line.
14138 (reverse stepi from a function call): Used wrong line number.
14139
8f313923
JK
141402009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14141
14142 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
14143
4662c76e
JK
141442009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14145
14146 Fix gdb.base/macscp.exp when using custom inputrc.
14147 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
14148 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
14149 env(TERM) set.
14150 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
14151 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
14152
aa81e255
JK
141532009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14154
14155 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
14156 * gdb.base/annota1.exp (thread_test): Import global $testfile.
14157 Change the compilation target to match the testcase name.
14158 * gdb.base/sect-cmd.exp: Change the compilation target to match the
14159 testcase name.
14160 * a2-run.exp: Use for setup prepare_for_testing. Change the
14161 compilation target to match the testcase name.
14162 * gdb.base/commands.exp: Likewise.
14163 * gdb.base/finish.exp: Likewise.
14164 * gdb.base/float.exp: Likewise.
14165 * gdb.base/info-target.exp: Likewise.
14166 * gdb.base/relational.exp: Likewise.
14167 * gdb.base/term.exp: Likewise.
14168 * gdb.base/until.exp: Likewise.
14169 * gdb.base/volatile.exp: Likewise.
14170 * gdb.base/whatis-exp.exp: Likewise.
14171
4c93b1d7
HZ
141722009-07-11 Hui Zhu <teawater@gmail.com>
14173
14174 * gdb.base/help.exp (disassemble): Update expected help text.
14175
812f7342
TT
141762009-07-09 Tom Tromey <tromey@redhat.com>
14177
14178 * lib/gdb.exp: Handle TRANSCRIPT.
14179 (remote_spawn, remote_close, send_gdb): New procs.
14180
fbb8f299
PM
141812009-07-10 Phil Muldoon <pmuldoon@redhat.com>
14182
14183 * gdb.python/python-prettyprint.c: Add counted null string
14184 structure.
14185 * gdb.python/python-prettyprint.exp: Print null string. Test for
14186 embedded nulls.
14187 * gdb.python/python-prettyprint.py (pp_ns): New Function.
14188 * gdb.python/python-value.exp (test_value_in_inferior): Add
14189 variable length string fetch tests.
14190 * gdb.python/python-value.c (main): Add strings for string fetch tests.
14191
c0ac0ec7
JK
141922009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14193
14194 * gdb.base/dump.exp (inaccessible memory is reported): New test.
14195
30b66ecc
TT
141962009-07-07 Tom Tromey <tromey@redhat.com>
14197
14198 * gdb.base/call-rt-st.exp: Update for change to escape output.
14199 * gdb.base/callfuncs.exp: Likewise.
14200 * gdb.base/charset.exp: Likewise.
14201 * gdb.base/constvars.exp: Likewise.
14202 * gdb.base/long_long.exp: Likewise.
14203 * gdb.base/pointers.exp: Likewise.
14204 * gdb.base/printcmds.exp: Likewise.
14205 * gdb.base/setvar.exp: Likewise.
14206 * gdb.base/store.exp: Likewise.
14207 * gdb.cp/ref-types.exp: Likewise.
14208 * gdb.mi/mi-var-child.exp: Likewise.
14209 * gdb.mi/mi-var-display.exp: Likewise.
14210 * gdb.mi/mi2-var-display.exp: Likewise.
14211 * gdb.base/charset.exp: Test octal escape sequence length.
14212 Update for change to escape output.
14213
187c4a2b
JK
142142009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14215
14216 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
14217
d80a43f9
DJ
142182009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
14219
14220 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
14221
047427a8
JK
142222009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14223
14224 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
14225 gdbserver increasing $portnum if "Can't bind address" has been seen.
14226
8b5a0f4f
PA
142272009-07-05 Pedro Alves <pedro@codesourcery.com>
14228
14229 * gdb.base/ending-run.exp: Add "step out of main" pattern for
14230 mingw32ce.
14231
7d93ba58
PA
142322009-07-05 Pedro Alves <pedro@codesourcery.com>
14233
14234 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
14235 VFP format.
14236
2277426b
PA
142372009-07-02 Pedro Alves <pedro@codesourcery.com>
14238
14239 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
14240 linux. Adjust to use "inferior", "info inferiors", "detach
14241 inferior" and "kill inferior" instead of "restart", "info fork",
14242 "detach fork" and "delete fork".
14243 * gdb.base/ending-run.exp: Spell out "info".
14244 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
14245 the "kill" command.
14246
5af949e3
UW
142472009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14248
14249 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
14250 change to prefix TLS offset in hex with 0x.
14251
5d3729b5
UW
142522009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14253
14254 * gdb.base/default.exp: Update test case for "x" changes.
14255
af589bd0
TG
142562009-07-01 Tristan Gingold <gingold@adacore.com>
14257
14258 * gdb.base/bigcore.exp: Make darwin untested.
14259
40974f91
JK
142602009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14261
14262 * gdb.base/completion.exp (directory completion): Create the directory.
14263 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
14264 escapeuniquesub.
14265 (directory completion 2): Expect now ${escapeuniquesub}.
14266 (Glob remaining of directory test): Remove one excessive newline.
14267 Expect the real output.
14268
59dd3af6
JK
142692009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14270
14271 Fix `make check//%' target after `make check' has been ran.
14272 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
14273 a mkdir call.
14274 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
14275 (%/.dir): Remove.
14276
f4e164aa
JK
142772009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14278
14279 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
14280 the expected result record.
14281
69af2122
JK
142822009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14283
14284 Remove racy FAILs relying just on the timeouts.
14285 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
14286 (annotation_level 2): Remove racy FAILs.
14287
2fd481e1
PP
142882009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14289
14290 gdb/10275
889bf7c5
PA
14291 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
14292
c38f313d
DJ
142932009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
14294
14295 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
14296
8b777f02
VP
142972009-06-30 Vladimir Prus <vladimir@codesourcery.com>
14298
14299 * gdb.mi/mi-stack.exp: Testing symbolic options
14300 to -stack-list-locals and -stack-list-arguments.
14301
00c7eacf
JK
143022009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14303
14304 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
14305
6bc80edc
TT
143062009-06-29 Tom Tromey <tromey@redhat.com>
14307
14308 * dg-extract-results.sh: New file.
14309 * Makefile.in (FORCE_PARALLEL): New variable.
14310 (CHECK_TARGET): New conditional variable.
14311 (check): Use CHECK_TARGET.
14312 (DO_RUNTEST): New variable.
14313 (check-single): New target.
14314 (TEST_DIRS): New variable.
14315 (TEST_TARGETS): Likewise.
14316 (check-parallel): New target.
14317 (check-gdb.%): New pattern.
14318 (BASE1_FILES): New variable.
14319 (BASE2_FILES): Likewise.
14320 (check-gdb.base%): New pattern.
14321 (%/.dir): New pattern.
14322 * configure: Rebuild.
14323 * aclocal.m4 (AM_CONDITIONAL): New defun.
14324 * configure.ac: Check whether user is using GNU make.
14325 (GMAKE): New conditional.
14326
794684b6
SW
143272009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
14328
14329 * gdb.cp/namespace-nested-import.cc: New test.
14330 * gdb.cp/namespace-nested-import.exp: New test.
14331
edb3359d
DJ
143322009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
14333
14334 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
14335 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
14336 * gdb.opt/Makefile.in (EXECUTABLES): Update.
14337 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
14338 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
14339 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
14340 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
14341 gdb.opt/inline-markers.c: New files.
14342 * lib/gdb.exp (skip_inline_frame_tests): New function.
14343 (skip_inline_var_tests): New function.
14344
cf657a0c
AS
143452009-06-27 Andreas Schwab <schwab@linux-m68k.org>
14346
14347 * gdb.cp/exception.exp: Don't require $hex before inner frame in
14348 backtrace.
14349
28d41a99
MS
143502009-06-27 Michael Snyder <msnyder@vmware.com>
14351
14352 * gdb.reverse: New directory.
14353 * gdb.reverse/break-reverse.c: New test.
14354 * gdb.reverse/break-reverse.exp: New test.
14355 * gdb.reverse/consecutive-reverse.c: New test.
14356 * gdb.reverse/consecutive-reverse.exp: New test.
14357 * gdb.reverse/finish-reverse.c: New test.
14358 * gdb.reverse/finish-reverse.exp: New test.
14359 * gdb.reverse/machinestate.c: New test.
14360 * gdb.reverse/ms1.c: New test.
14361 * gdb.reverse/machinestate.exp: New test.
14362 * gdb.reverse/Makefile.in: New file.
14363 * gdb.reverse/shr2.c: New test.
14364 * gdb.reverse/solib-reverse.c: New test.
14365 * gdb.reverse/solib-reverse.exp: New test.
14366 * gdb.reverse/step-reverse.c: New test.
14367 * gdb.reverse/step-reverse.exp: New test.
14368 * gdb.reverse/until-reverse.c: New test.
14369 * gdb.reverse/ur1.c: New test.
14370 * gdb.reverse/until-reverse.exp: New test.
14371 * gdb.reverse/watch-reverse.c: New test.
14372 * gdb.reverse/watch-reverse.exp: New test.
14373 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
14374 * configure: Regenerate.
14375
fe3c8b0d
DE
143762009-06-26 Doug Evans <dje@google.com>
14377
14378 * gdb.base/psymtab.exp: Turn off pending breakpoints.
14379
3a72a602
PM
143802009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
14381
14382 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
14383 windows problem for 'file delete $binfile'.
14384
27aa8d6a
SW
143852009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
14386
14387 * gdb.cp/namespace-using.exp: New test.
14388 * gdb.cp/namespace-using.cc: New test.
14389
8ac055f8
JB
143902009-05-20 Joel Brobecker <brobecker@adacore.com>
14391
14392 * gdb.ada/variant_record_packed_array: New testcase.
14393
85e306ed
TT
143942009-06-23 Tom Tromey <tromey@redhat.com>
14395
14396 * gdb.base/charset.exp (test_combination): Regression test.
14397 * gdb.base/charset.c (my_wchar_t): New typedef.
14398 (myvar): New global.
14399 (main): Set myvar.
14400
56643c5e
PM
144012009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
14402
14403 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
14404 target.
14405
1fac167a
UW
144062009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14407
14408 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
14409
7ccb0be9
UW
144102009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14411
14412 * gdb.mi/gdb680.exp: Update test for error message.
14413
568d6575
UW
144142009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14415
14416 * gdb.base/annota1.exp: Allow multiple occurrences of the
14417 frames-invalid annotation.
14418 * gdb.cp/annota2.exp: Likewise.
14419
7cd1089b
PM
144202009-06-15 Phil Muldoon <pmuldoon@redhat.com>
14421
14422 * gdb.cp/gdb2495.cc: New file.
14423 * gdb.cp/gdb2495.exp: New file.
14424
72c63395
JK
144252009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14426
14427 Report error on GDB crash during runto.
14428 * lib/gdb.exp (runto <eof>): New.
14429
3788363d
DJ
144302009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
14431
14432 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
14433 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
14434 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
14435 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
14436 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
14437 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
14438 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
14439 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
14440 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
14441 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
14442 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
14443 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
14444 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14445 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
14446 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
14447 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
14448 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
14449 gdb.server/server-mon.exp, gdb.server/server-run.exp,
14450 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14451 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
14452 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
14453 gdb.trace/passcount.exp, gdb.trace/report.exp,
14454 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
14455 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
14456 gdb.trace/while-stepping.exp: Use a unique name for the compiled
14457 executable.
14458
17592de3
PA
144592009-06-07 Pedro Alves <pedro@codesourcery.com>
14460
14461 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
14462 defined before referencing it.
14463
701e355d
DE
144642009-06-03 Doug Evans <dje@google.com>
14465
14466 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
14467 * gdb.arch/i386-see.c: Ditto.
14468
f2292c65
PM
144692009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
14470
14471 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
14472 (check_macro): Return 1 if undefined.
14473 If first test fails, check if macro debug information is available,
14474 and report unsupported test if no macro information is found.
14475
5a437975
DE
144762009-05-29 Doug Evans <dje@google.com>
14477
14478 * gdb.threads/hand-call-in-threads.exp: New.
14479 * gdb.threads/hand-call-in-threads.c: New.
14480
c141c696
MS
144812009-05-29 Michael Snyder <msnyder@vmware.com>
14482
14483 * gdb.base/break-always.exp: Change "1" to "on".
14484 Add confirmation check.
14485
b3444185
PA
144862009-05-28 Pedro Alves <pedro@codesourcery.com>
14487
14488 * gdb.threads/threxit-hop-specific.c: New.
14489 * gdb.threads/threxit-hop-specific.exp: New.
14490 * gdb.threads/thread-execl.c: New.
14491 * gdb.threads/thread-execl.exp: New.
14492
b6313243
TT
144932009-05-27 Tom Tromey <tromey@redhat.com>
14494 Thiago Jung Bauermann <bauerman@br.ibm.com>
14495
14496 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
14497 (mi_child_regexp): Likewise.
14498 (mi_list_varobj_children_range): Likewise.
14499 (mi_get_features): Likewise.
14500 (mi_list_varobj_children): Rewrite.
14501 * gdb.python/python-mi.exp: New file.
14502
a6bac58e
TT
145032009-05-27 Tom Tromey <tromey@redhat.com>
14504 Thiago Jung Bauermann <bauerman@br.ibm.com>
14505 Phil Muldoon <pmuldoon@redhat.com>
14506 Paul Pluzhnikov <ppluzhnikov@google.com>
14507
14508 * gdb.python/python-prettyprint.exp: New file.
14509 * gdb.python/python-prettyprint.c: New file.
14510 * gdb.python/python-prettyprint.py: New file.
14511 * gdb.base/display.exp: print/r is now valid.
14512
2c74e833
TT
145132009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
14514 Tom Tromey <tromey@redhat.com>
14515 Pedro Alves <pedro@codesourcery.com>
14516 Paul Pluzhnikov <ppluzhnikov@google.com>
14517
14518 * gdb.python/python-template.exp: New file.
14519 * gdb.python/python-template.cc: New file.
14520 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14521 tests.
14522 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14523 Call it.
14524 (test_value_after_death): New proc.
14525 * gdb.python/python-value.c (PTR): New typedef.
14526 (main): New variable 'x'.
14527
89c73ade
TT
145282009-05-27 Tom Tromey <tromey@redhat.com>
14529
14530 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14531 tests.
14532 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14533 Call it.
14534
a75724bc
PA
145352009-05-27 Pedro Alves <pedro@codesourcery.com>
14536
14537 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
14538
e58b0e63
PA
145392009-05-24 Pedro Alves <pedro@codesourcery.com>
14540
14541 * gdb.threads/fork-thread-pending.c: New.
14542 * gdb.threads/fork-thread-pending.exp: New.
14543
4ac36638
JK
145442009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14545
14546 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
14547 * gdb.dwarf2/dw2-strp.S (a_string2): New.
14548
889bf7c5 145492009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 14550
889bf7c5 14551 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 14552
b242c3c2
PA
145532009-05-17 Pedro Alves <pedro@codesourcery.com>
14554
14555 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
14556 `gdb_get_line_number'. Call `callee' in both parent and child.
14557 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
14558 `gdb_get_line_number' instead of hardcoding line numbers.
14559 (catch_fork_unpatch_child): New procedure to test detaching
14560 breakpoints from child fork.
14561 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
14562 hardcoding line numbers.
14563 (do_fork_tests): Run `catch_fork_unpatch_child'.
14564
ee342b23
VP
145652009-05-17 Vladimir Prus <vladimir@codesourcery.com>
14566
14567 * gdb.mi/mi-cmd-var.exp: Check that when varobj
14568 of structure type enters or leaves the scope, it
14569 is reported by -var-update.
14570
e2009e98
DE
145712009-05-11 Doug Evans <dje@sebabeach.org>
14572
14573 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 14574 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
14575 * gdb.threads/schedlock.c (main): Fix off-by-one error.
14576
00903456
JK
145772009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14578
14579 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
14580
dc621c35
DE
145812009-04-30 Doug Evans <dje@google.com>
14582
14583 * gdb.threads/watchthreads2.exp: New testcase.
14584 * gdb.threads/watchthreads2.c: New testcase.
14585
9ab4e744
DE
145862009-04-29 Doug Evans <dje@google.com>
14587
14588 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
14589 * gdb.cp/mb-ctor.cc: Ditto.
14590 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
14591 * gdb.cp/mb-inline.h (multi_line_foo): New function.
14592 * gdb.cp/mb-inline1.cc: Call it.
14593 * gdb.cp/mb-inline2.cc: Ditto.
14594 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
14595 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
14596
484086b7
JK
145972009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14598
14599 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
14600 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
14601 Replace all uses of `decimal' by `nonzero'.
14602 (info macro FROM_COMMANDLINE): New test.
14603
379a77b5
TT
146042009-04-27 Tom Tromey <tromey@redhat.com>
14605
14606 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
14607
b92b73c2
DE
146082009-04-27 Doug Evans <dje@google.com>
14609
14610 * gdb.threads/watchthreads.c (main): Initialize args before starting
14611 the threads. Plus formatting cleanup.
14612 * gdb.threads/watchthreads.exp: Avoid errant failures due to
14613 biased scheduling of one thread.
14614
945a118d
JG
146152009-04-27 Jerome Guitton <guitton@adacore.com>
14616
14617 * gdb.cp/templates.cc (GetMax): New template.
14618 (main): Declare two instances of GetMax.
14619 * gdb.cp/templates.exp: Add new test.
14620
d389af10
JK
146212009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14622
14623 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
14624
e7f86de9
JM
146252009-04-22 Joseph Myers <joseph@codesourcery.com>
14626
14627 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
14628
334cc82d
TT
146292009-04-15 Tom Tromey <tromey@redhat.com>
14630
14631 * gdb.base/charset.exp: Add regression test.
14632
d12672cc
JB
146332009-04-14 Joel Brobecker <brobecker@adacore.com>
14634
14635 * gdb.base/exe-lock.exp: New testcase.
14636
18e8c3bc
TT
146372009-04-13 Tom Tromey <tromey@redhat.com>
14638
14639 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
14640 operator on Frame.
14641
5ecd5cbe
UW
146422009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14643
14644 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
14645 * gdb.server/ext-attach.exp: Likewise.
14646
7309f756
VP
146472009-04-03 Vladimir Prus <vladimir@codesourcery.com>
14648
14649 Eliminate some sleep usage.
14650
889bf7c5
PA
14651 * gdb.mi/basics.c (do_nothing): New.
14652 (main): Use do_nothing instead of printf, so that
14653 not to introduce race condition between output of
14654 inferiour and output of gdb. Do not use sleep as it
14655 is not generally available on embedded targets.
7309f756 14656
f4b95f6f
PA
146572009-04-02 Pedro Alves <pedro@codesourcery.com>
14658
14659 * gdb.server/ext-attach.exp: Expect an optional process id after
14660 "Detached from remote process".
14661
de40b933
JK
146622009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14663
14664 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
14665 gdb.dwarf2/dw2-unresolved.exp: New.
14666
2ae101a4
PA
146672009-04-02 Pedro Alves <pedro@codesourcery.com>
14668
14669 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
14670 mi_run_to_main.
14671
56a8e183
PA
146722009-04-02 Pedro Alves <pedro@codesourcery.com>
14673
14674 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
14675 mi_run_to_main. Skip thread exit test on remote targets.
14676 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
14677 mi_run_to_main.
14678 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
14679 mi_run_to_main.
14680 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
14681 when expecting ^connected. Detect when the target doesn't support
14682 non-stop mode.
14683 (mi_run_cmd): Detect if non-stop mode was requested by isn't
14684 supported. Return -1 on error, 0 on success.
14685 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
14686 (mi_runto): Return mi_runto_helper's result explicitly.
14687
c35fafde
PA
146882009-04-01 Pedro Alves <pedro@codesourcery.com>
14689
14690 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
14691
f8a8dce6
JB
146922009-04-01 Tom Tromey <tromey@redhat.com>
14693
14694 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
14695 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
14696 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
14697 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
14698
71c25dea
TT
146992009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
14700 Jan Kratochvil <jan.kratochvil@redhat.com>
14701
14702 PR gdb/931
14703 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
14704 output.
14705 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
14706 for gdb/931.
14707 * dw2-strp.S (DW_AT_language): Change to C++.
14708 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
14709
02d9a9ce
JB
147102009-03-31 Joel Brobecker <brobecker@adacore.com>
14711
14712 * gdb.ada/tasks: New testcase.
14713
1042e4c0
SS
147142009-03-30 Stan Shebs <stan@codesourcery.com>
14715
14716 * gdb.trace/actions.exp: Update to match new info trace format.
14717 * gdb.trace/deltrace.exp: Ditto.
14718 * gdb.trace/infotrace.exp: Ditto.
14719 * gdb.trace/passcount.exp: Ditto.
14720 * gdb.trace/save-trace.exp: Ditto.
14721 * gdb.trace/while-stepping.exp: Ditto.
14722 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
14723
f8f6f20b
TJB
147242009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14725
14726 * gdb.python/python-frame.c: New file.
14727 * gdb.python/python-frame.exp: New file.
14728
c0c6f777
TJB
147292009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
14730
14731 * gdb.python/python-value.exp: Add tests for the address
14732 attribute.
14733
3cb51905
AS
147342009-03-29 Andreas Schwab <schwab@linux-m68k.org>
14735
14736 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
14737
88fc996f
DE
147382009-03-26 Doug Evans <dje@google.com>
14739
14740 * gdb.mi/mi-nonstop-exit.exp: New file.
14741 * gdb.mi/non-stop-exit.c: New file.
14742
56ef84b1
TT
147432009-03-26 Tom Tromey <tromey@redhat.com>
14744
14745 Update for change to prologue skipping:
14746 * gdb.mi/mi2-simplerun.exp: Update.
14747 * gdb.mi/mi2-break.exp: Update.
14748 * gdb.mi/mi-simplerun.exp: Update.
14749 * gdb.mi/mi-break.exp: Update.
14750 * gdb.base/ending-run.exp: Update.
14751
def2b000
TJB
147522009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
14753
14754 * gdb.python/python-value.exp (test_value_in_inferior): Test
14755 gdb.Value.is_optimized_out attribute.
14756
442ddf59
JK
147572009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14758
14759 * gdb.dwarf2/dw2-noloc-main.c: New file.
14760 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
14761 (.text): Remove.
14762 (.data): New.
14763 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
14764 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
14765 (DW_TAG_subprogram func_cu1, noloc): Remove.
14766 (main): New.
14767 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
14768 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
14769 (file_symbols): New procedure.
14770
a8df5de4
TT
147712009-03-25 Tom Tromey <tromey@redhat.com>
14772
14773 * gdb.base/charset.exp (valid_target_charset): New proc.
14774 Use it to skip tests on invalid charsets.
14775
cc1d7add
PM
147762009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
14777
14778 * gdb.base/completion.exp: Add a test for directory completion.
14779
bcd5727b
JK
147802009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14781
14782 Fix a racy FAIL.
14783 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
14784 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
14785
cc924cad
TJB
147862009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
14787
14788 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
14789 * gdb.python/python-function.exp: Add test for function returning
14790 a GDB value.
14791
bc3b79fd
TJB
147922009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
14793
14794 * gdb.python/python-function.exp: New file.
14795
6c7a06a3
TT
147962009-03-20 Tom Tromey <tromey@redhat.com>
14797
14798 * gdb.base/store.exp: Update for change to escape output.
14799 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
14800 to escape output.
14801 * gdb.base/pointers.exp: Update for change to escape output.
14802 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
14803 to escape output.
14804 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
14805 escape output.
14806 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
14807 to escape output.
14808 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
14809 escape output.
14810 * gdb.base/setvar.exp: Update for change to escape output.
14811 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
14812 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
14813 to escape output.
14814 (test_print_string_constants): Likewise.
14815 * gdb.base/charset.exp (valid_host_charset): Check size of
14816 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
14817 cases. Handle "auto"-related output.
14818 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
14819 (uvar, Uvar): New globals.
14820
c31af87b
JG
148212009-03-19 Jerome Guitton <guitton@adacore.com>
14822
14823 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
14824 deltas.
14825 * gdb.ada/fixed_points.exp: Ditto.
14826
51272cf2
PA
148272009-03-18 Pedro Alves <pedro@codesourcery.com>
14828
14829 * return-nodebug.c: Don't include stdio.h.
14830 (init): Delete.
14831 (func): Delete definition and provide extern declaration.
14832 (t): New.
14833 (main): Don't call printf. Call func and store its result in t.
14834 * return-nodebug1.c: New.
14835 * return-nodebug.exp: Don't expect stdio output. Instead, print
14836 the global variable t. Drop printf formatters and cast types from
14837 foreach loop. Don't use prepare_for_testing. Compile
14838 return-nodebug.c and return-nodebug1.c in separate steps. Don't
14839 define FORMAT or CAST.
14840
d24948ac
PP
148412009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14842
14843 * gdb.base/solib-display.exp: Disable test for remote targers.
14844
61ff14c6
JK
148452009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14846
14847 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
14848
cb4dce93
JK
148492009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14850
14851 Fix a racy FAIL.
14852 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
14853 code from `follow parent, print pids'.
14854 (`follow child, print pids', `follow parent, print pids'): Call it.
14855 Replace `gdb_test "break..."' by gdb_breakpoint.
14856
f7c60c5e
VP
148572009-03-13 Vladimir Prus <vladimir@codesourcery.com>
14858
14859 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 14860 sync and async modes.
f7c60c5e 14861
383ace49
JB
148622009-03-12 Joel Brobecker <brobecker@adacore.com>
14863
14864 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
14865 that was checked in by mistake. Remove loading of ada.exp, since
14866 this is not necessary in this case.
14867
4ce102af
JB
148682009-03-12 Joel Brobecker <brobecker@adacore.com>
14869
14870 * gdb.ada/ptype_arith_binop.exp: New testcase.
14871
529a2aef
JB
148722009-03-12 Joel Brobecker <brobecker@adacore.com>
14873
14874 * gdb.ada/mod_from_name: New testcase.
14875
8a38181c
JB
148762009-03-12 Joel Brobecker <brobecker@adacore.com>
14877
14878 * gdb.ada/tick_last_segv: New testcase.
14879
11436dee
VP
148802009-03-12 Vladimir Prus <vladimir@codesourcery.com>
14881
61ff14c6 14882 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 14883
1f31650a
VP
148842009-03-12 Vladimir Prus <vladimir@codesourcery.com>
14885
61ff14c6
JK
14886 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
14887 include the token in ^running and frame info in *stopped.
1f31650a 14888
a3247a22
PP
148892009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14890
14891 * solib-display.exp: New file.
14892 * solib-display-main.c: New file.
14893 * solib-display-lib.c: New file.
61ff14c6 14894
aae64587
PA
148952009-03-05 Pedro Alves <pedro@codesourcery.com>
14896
14897 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
14898
44aabfbc
JK
148992009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
14900
14901 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
14902 (list_and_check_macro): Use more specific test name.
14903 (next to definition): Make the test names unique.
14904
c087fcd3
PM
149052009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
14906
14907 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 14908
c86cf029
VP
149092009-02-17 Vladimir Prus <vladimir@codesourcery.com>
14910
14911 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
14912 notifications.
14913 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
14914 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
14915 * lib/mi-support.exp (library_loaded_re): New.
14916 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
14917
3ea85240
VP
149182009-02-17 Vladimir Prus <vladimir@codesourcery.com>
14919
14920 * gdb.gdb/observer.exp: Use test_notification observer, not
14921 normal_stop, everywhere.
14922 (test_normal_stop_notifications): Rename to...
14923 (test_notifications): ...this.
14924 (test_observer_normal_stop): Rename to...
14925 (test_observer): ...this.
14926
1903f0e6
DE
149272009-02-16 Doug Evans <dje@google.com>
14928
14929 * gdb.arch/amd64-disp-step.S (test_int3): New test.
14930 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
14931 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
14932 (test_prefixed_syscall,test_int3): New tests.
14933 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
14934 (test_prefixed_syscall,test_int3): New tests.
14935
1d33d6ba
VP
149362009-02-14 Vladimir Prus <vladimir@codesourcery.com>
14937
3cb51905
AS
14938 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
14939 (mi_expect_interrupt): Likewise.
14940 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
14941 response.
1d33d6ba 14942
faafb047
PM
149432009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
14944
14945 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
14946 * gdb.base/pc-fp.exp (get_valueofx): Remove.
14947 Replace calls to get_valueofx by get_hexadecimal_valueof.
14948
417e16e2
PM
149492009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
14950
14951 * lib/gdb.exp (get_valueof): Accept anything as a return value.
14952 (get_integer_valueof): New procedure.
14953 (get_sizeof): Use new get_integer_value_of.
14954 * gdb.base/sizeof.exp: Replace all uses of get_valueof
14955 by get_integer_valueof.
14956
7065b901
TT
149572009-02-13 Tom Tromey <tromey@redhat.com>
14958
14959 * gdb.base/remote.exp (get_sizeof): Remove.
14960 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
14961 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
14962 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
14963 * lib/gdb.exp (get_valueof): Move from long_long.exp.
14964 (get_sizeof): Likewise.
14965
5d7cb8df
JK
149662009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14967
14968 PR fortran/9806
14969 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
14970
b2febfff
PP
149712009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14972
14973 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
14974
4aa995e1
PA
149752009-02-06 Pedro Alves <pedro@codesourcery.com>
14976
14977 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
14978
d8906c6f
TJB
149792009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
14980
14981 * gdb.python/python-cmd.exp: New file.
14982
ff4ab08d
TG
149832009-02-06 Tristan Gingold <gingold@adacore.com>
14984
14985 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
14986
aacd552b
TG
149872009-02-05 Tristan Gingold <gingold@adacore.com>
14988
14989 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
14990 pointer is dereferenced and use this signal name in regexp.
14991 * gdb.base/signull.exp: Ditto.
14992 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
14993 * gdb.base/signull.c (main): Ditto.
14994
08c637de
TJB
149952009-02-04 Tom Tromey <tromey@redhat.com>
14996 Thiago Jung Bauermann <bauerman@br.ibm.com>
14997
14998 * gdb.python/python-value.exp: Use `gdb.history' instead of
14999 `gdb.value_from_history'.
15000 (test_value_numeric_ops): Add test for conversion of enum constant.
15001 * gdb.python/python-value.c (enum e): New type.
15002 (evalue): New global.
15003 (main): Use argv.
15004
20261af8
JG
150052009-02-04 Jerome Guitton <guitton@adacore.com>
15006
15007 * gdb.ada/uninitialized_vars: New test program.
15008 * gdb.ada/uninitialized_vars.exp: New testcase.
15009
52e44b43
TT
150102009-02-02 Tom Tromey <tromey@redhat.com>
15011
15012 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
15013 * gdb.cp/pr2489.cc: Rename...
15014 * gdb.cp/pr9594.cc: ... to this.
15015
1c71341a
TT
150162009-02-02 Tom Tromey <tromey@redhat.com>
15017
15018 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
15019 * gdb.cp/pr2489.cc: New file.
15020 * gdb.cp/cpcompletion.exp: New file.
15021
a4295225
TT
150222009-02-02 Tom Tromey <tromey@redhat.com>
15023
15024 PR exp/9059:
15025 * gdb.cp/call-c.exp: Add regression test.
15026 * gdb.cp/call-c.cc (FooHandle): New typedef.
15027 (main): New variable 'handle'.
15028
592375cd
VP
150292009-01-30 Vladimir Prus <vladimir@codesourcery.com>
15030
15031 * lib/mi-support.exp (et_mi_thread_list)
15032 (check_mi_and_console_threads): Adjust for current thread in
15033 -thread-list-ids output.
15034
41447f92
VP
150352009-01-30 Vladimir Prus <vladimir@codesourcery.com>
15036
889bf7c5
PA
15037 * gdb.mi/mi-break.exp (test_disabled_creation): New.
15038 Call it.
41447f92 15039
35669430
DE
150402009-01-28 Doug Evans <dje@google.com>
15041
15042 * gdb.arch/amd64-disp-step.S: New file.
15043 * gdb.arch/amd64-disp-step.exp: New file.
15044 * gdb.arch/i386-disp-step.S: New file.
15045 * gdb.arch/i386-disp-step.exp: New file.
15046
09f00d9a
PM
150472009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
15048
15049 * gdb.base/find.exp: Set newline variable
15050 using quotes instead of braces to fix cygwin failures.
15051
1e8fb976
PA
150522009-01-23 Pedro Alves <pedro@codesourcery.com>
15053
15054 * gdb.base/radix.exp: Add tests to ensure that that set
15055 input-radix 0 and set output-radix 0 are really rejected.
15056
da061712
PA
150572009-01-23 Pedro Alves <pedro@codesourcery.com>
15058
15059 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
15060 copyright years.
15061
dd7e2d2b
PA
150622009-01-23 Pedro Alves <pedro@codesourcery.com>
15063
15064 PR gdb/9664:
15065 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
15066
392452f6
PA
150672009-01-22 Pedro Alves <pedro@codesourcery.com>
15068
15069 PR c++/9631:
15070 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
15071
8653e71c
PM
150722009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
15073
15074 * gdb.server/file-transfer.exp: Use EXEEXT variable for
15075 binfile definition to fix Windows OS failure.
15076
a12cc160
DJ
150772009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
15078
15079 PR gdb/9346
15080 * gdb.base/interrupt.c (sigint_handler): New.
15081 (main): Install a SIGINT handler if SIGNALS is defined. Exit
15082 on error.
15083 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
15084 Test "signal SIGINT".
15085
b89667eb
DE
150862009-01-19 Doug Evans <dje@google.com>
15087
15088 * gdb.base/break.exp: Update expected gdb output.
15089 * gdb.base/sepdebug.exp: Ditto.
15090 * gdb.mi/mi-syn-frame.exp: Ditto.
15091 * gdb.mi/mi2-syn-frame.exp: Ditto.
15092 * gdb.base/call-signal-resume.exp: New file.
15093 * gdb.base/call-signals.c: New file.
15094 * gdb.base/unwindonsignal.exp: New file.
15095 * gdb.base/unwindonsignal.c: New file.
15096 * gdb.threads/interrupted-hand-call.exp: New file.
15097 * gdb.threads/interrupted-hand-call.c: New file.
15098 * gdb.threads/thread-unwindonsignal.exp: New file.
15099
adb483fe
DJ
151002009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
15101
15102 * gdb.base/define.exp: Test defining and hooking prefix commands.
15103 * gdb.python/python.exp: Update test for "show user" output.
15104
60023297
JK
151052009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15106
15107 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
15108 now the output exactly, using less wildcards. Expect also the output
15109 of gfortran-4.3. Update for the f-valprint.c modification from
15110 2008-04-22.
15111 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
15112 Remove gdb_test test names where matching the command.
15113
ccc57cf9
PA
151142009-01-01 Pedro Alves <pedro@codesourcery.com>
15115
15116 PR breakpoints/9681:
15117 * gdb.base/watchpoint.exp: Add regression test.
15118
c7a6ca08
PA
151192008-12-31 Pedro Alves <pedro@codesourcery.com>
15120
15121 * gdb.threads/attach-into-signal.exp: Don't use
15122 gdb_suppress_entire_file.
15123 * gdb.threads/attach-stopped.exp: Ditto.
15124 * gdb.threads/attachstop-mt.exp: Ditto.
15125
3a031f65
PA
151262008-12-31 Pedro Alves <pedro@codesourcery.com>
15127
15128 PR gdb/8812:
15129 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
15130
09e6485f
PA
151312008-12-29 Pedro Alves <pedro@codesourcery.com>
15132
15133 PR gdb/7536:
15134 * gdb.base/radix.exp: Add tests to ensure invalid input radices
15135 and unsupported output radices are really rejected.
15136
0cd53049
JK
151372008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15138
15139 * gdb.cp/punctuator.exp: Backslash the '$' signs.
15140
ba163c7e
TT
151412008-12-22 Tom Tromey <tromey@redhat.com>
15142
15143 * gdb.cp/punctuator.exp: New file.
15144
6f4de6c9
JK
151452008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15146
15147 * gdb.base/completion.exp (Completing non-existing component): New test.
15148
0f34d0b4
JK
151492008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15150
15151 Fix for PR gdb/8648.
15152 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
15153 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
15154 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
15155 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
15156
db2ad4c3
JK
151572008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15158
15159 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
15160
bb5ef15e
DP
151612008-12-16 Christophe Lyon <christophe.lyon@st.com>
15162
15163 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
15164 compiler actually generate code at the expected line number.
15165
90142adc
JZ
151662008-12-15 Jie Zhang <jie.zhang@analog.com>
15167
15168 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
15169
fad6eecd
TT
151702008-12-12 Tom Tromey <tromey@redhat.com>
15171
15172 * gdb.base/commands.exp (redefine_hook_test): New proc.
15173 Call it.
15174
17c8aaf5
TT
151752008-12-11 Tom Tromey <tromey@redhat.com>
15176
15177 * gdb.base/macscp.exp: New regression test.
15178
7c8adf68
TT
151792008-12-11 Tom Tromey <tromey@redhat.com>
15180
15181 * gdb.base/macscp.exp: Print "address.addr".
15182 * gdb.base/macscp1.c (struct outer): New struct.
15183 (address): New global.
15184
b05dcbb7
TT
151852008-12-09 Tom Tromey <tromey@redhat.com>
15186
15187 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
15188 Call it.
15189
2d476de1
DE
151902008-12-04 Doug Evans <dje@google.com>
15191
15192 * gdb.server/ext-run.exp: Relax regexp for init program.
15193
87bdc959
TG
151942008-12-03 Tristan Gingold <gingold@adacore.com>
15195
15196 * gdb.base/macscp.exp: Generate an object file during compilation
15197 to work around Darwin dsymutil limitations.
15198
e0740f77
JK
151992008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15200
15201 Test resolving external references to TLS variables.
15202 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
15203 FILE2_THREAD_LOCAL.
15204 (testfile2, srcfile2): New variables.
15205 * gdb.threads/tls.c (file2_thread_local)
15206 (function_referencing_file2_thread_local): New.
15207 * gdb.threads/tls2.c: New file.
15208
67f0aac5
JB
152092008-11-28 Joel Brobecker <brobecker@adacore.com>
15210
15211 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
15212 rather than integer, as integer might not be big enough when
15213 on 64bit targets.
67f0aac5 15214
c332165e
JG
152152008-11-27 Jerome Guitton <guitton@adacore.com>
15216
15217 * gdb.cp/formatted-ref.exp: Add equality test.
15218 * gdb.ada/formatted_ref.exp: Ditto.
15219
fc9b693c
JK
152202008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15221
15222 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
15223 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
15224
a9c64011
AS
152252008-11-20 Andreas Schwab <schwab@suse.de>
15226
15227 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
15228 matching syscall entry point.
15229 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
15230 (tcatch_vfork_then_child_follow): Likewise. Finish through
15231 vfork even if we stopped at the syscall trampoline.
15232
e2fd701e
DE
152332008-11-20 Doug Evans <dje@google.com>
15234
15235 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
15236
69abc51c
TJB
152372008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
15238
15239 * gdb.arch/ppc-dfp.exp: New file.
15240 * gdb.arch/ppc-dfp.c: New file.
15241
c14c28ba
PP
152422008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15243
15244 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 15245
2e74121d
DE
152462008-11-17 Doug Evans <dje@google.com>
15247
15248 * gdb.mi/mi-syn-frame.exp: Update expected output.
15249 * gdb.mi/mi2-syn-frame.exp: Update expected output.
15250
66bb093b
VP
152512008-11-17 Vladimir Prus <vladimir@codesourcery.com>
15252
15253 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
15254 "thread N" results in =thread-selected.
15255 * lib/mi-support (mi_run_cmd, mi_expect_stop)
15256 (mi_send_resuming_command_raw): Be prepared for
15257 =thread-selected.
15258
3d043ef6
VP
152592008-11-17 Vladimir Prus <vladimir@codesourcery.com>
15260
a9c64011
AS
15261 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
15262 * lib/mi-support.exp: Likewise.
3d043ef6 15263
808104c8
JB
152642008-11-16 Joel Brobecker <brobecker@adacore.com>
15265
15266 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
15267 commands from the expected output for "help catch".
15268
00b22944
JB
152692008-11-15 Joel Brobecker <brobecker@adacore.com>
15270
15271 * gdb.ada/int_deref.exp: New testcase.
15272
59669435
TT
152732008-11-14 Nick Roberts <nickrob@snap.net.nz>
15274
15275 * gdb.mi/gdb2549.exp: New file.
15276
de04a248
DE
152772008-11-11 Doug Evans <dje@google.com>
15278
15279 * gdb.base/callexit.exp: New file.
15280 * gdb.base/callexit.c: New file.
15281
6b8ce727
DE
152822008-11-10 Doug Evans <dje@google.com>
15283
15284 * lib/gdb.exp (GDBFLAGS): Move -nx ...
15285 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
15286 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
15287 (default_gdb_start,default_gdb_exit): Ditto.
15288 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
15289 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
15290 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
15291 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
15292 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
15293 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
15294
1b14b8aa
AS
152952008-11-03 Andreas Schwab <schwab@suse.de>
15296
15297 * gdb.base/hashline2.exp: Fix typo.
15298 * gdb.base/hashline3.exp: Likewise.
15299
f3134b88
TT
153002008-10-30 Tom Tromey <tromey@redhat.com>
15301
15302 * gdb.base/pointers.exp: Add test.
15303 * gdb.base/pointers.c (k, S): New typedefs.
15304 (instance): New global.
15305
c2226152
AS
153062008-10-30 Andreas Schwab <schwab@suse.de>
15307
15308 * gdb.base/args.exp: Add tests for newlines.
15309
462f405c
JB
153102008-10-30 Joel Brobecker <brobecker@adacore.com>
15311
15312 gdb.base/foll-exec.exp: Update the expected output of a couple
15313 of "info breakpoints" tests.
15314
79a45b7d
TT
153152008-10-28 Tom Tromey <tromey@redhat.com>
15316
15317 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
15318
adc13a14
PA
153192008-10-24 Pedro Alves <pedro@codesourcery.com>
15320
15321 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
15322 gdb_start_cmd.
15323 Use runto_main before any test that requires execution.
15324
252fbfc8
PA
153252008-10-23 Pedro Alves <pedro@codesourcery.com>
15326
15327 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
15328 instead of SIGINT.
15329
28148e3d
JB
153302008-10-22 Joel Brobecker <brobecker@adacore.com>
15331
15332 * gdb.base/completion.exp: Update expected output following
15333 the addition of the "info tasks" command.
15334
c209f847
TT
153352008-10-22 Tom Tromey <tromey@redhat.com>
15336
15337 * gdb.base/exprs.exp (test_expr): Add test for string
15338 concatenation.
15339
f177e350
PA
153402008-10-19 Pedro Alves <pedro@codesourcery.com>
15341
15342 * configure.ac: Output gdb.python/Makefile.
15343 * configure: Regenerate.
15344 * gdb.python/Makefile.in: New.
15345
cce89356
JB
153462008-10-16 Joel Brobecker <brobecker@adacore.com>
15347
15348 * gdb.base/foll-fork.exp: Adjust the expected output to match
15349 the new description for fork/vfork catchpoints in the "info
15350 breakpoints" output.
15351
176d289d
TJB
153522008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15353
15354 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
15355
a08702d6
TJB
153562008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15357
15358 * gdb.python/python-value.c: New file.
15359 * gdb.python/python-value.exp: New file.
15360
1c5cfe86
PA
153612008-10-15 Pedro Alves <pedro@codesourcery.com>
15362
15363 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
15364
5a98ad69
DP
153652008-10-15 Denis Pilat <denis.pilat@st.com>
15366
41702f1b 15367 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 15368
dcb1a1e2
TT
153692008-10-09 Tom Tromey <tromey@redhat.com>
15370
15371 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
15372 'fprintf' and 'stderr'.
15373
9124fe48
JB
153742008-10-07 Joel Brobecker <brobecker@adacore.com>
15375
15376 * gdb.ada/ref_tick_size.exp: New testcase.
15377
45452591
DE
153782008-10-06 Doug Evans <dje@google.com>
15379
15380 * gdb.dwarf2/dw2-cu-size.exp: New file.
15381 * gdb.dwarf2/dw2-cu-size.S: New file.
15382
15383 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
15384 .Ltype_int for clarity.
15385
4fc5b208
PP
153862008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
15387
15388 PR gdb/2384:
15389 * gdb.cp/gdb2384.exp: Extended to test more cases.
15390 * gdb.cp/gdb2384.cc: Likewise.
15391 * gdb.cp/gdb2384-base.h: Likewise.
15392 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 15393
d78df370
JK
153942008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15395
15396 * gdb.base/maint.exp (maint print type): Remove printing
15397 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
15398
9a044a89
TT
153992008-09-30 Tom Tromey <tromey@redhat.com>
15400
15401 * gdb.base/macscp.exp: Add completion tests.
15402 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
15403 (TWENTY_THREE): Likewise.
15404 (FORTY_EIGHT): Likewise.
15405
506800a9
TT
154062008-09-30 Tom Tromey <tromey@redhat.com>
15407
15408 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
15409 everywhere.
15410 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
15411
1a6f01b5
JK
154122008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
15413
15414 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
15415 testcase is derived from. Fix racy dependency on an expected PID
15416 number. No longer support the testcase on Linux kernel 2.4.x.
15417
2fae03e8
TT
154182008-09-27 Tom Tromey <tromey@redhat.com>
15419
15420 * gdb.base/macscp.exp: Add tests for stringification, splicing,
15421 and varargs.
15422
1ad15515
PA
154232008-09-22 Pedro Alves <pedro@codesourcery.com>
15424
15425 * lib/mi-support.exp (mi_expect_interrupt): New.
15426 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
15427 from gdb.mi/mi-nonstop.exp.
15428 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
15429 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
15430 lib/mi-support.exp.
15431 Use mi_check_thread_states throughout. Avoid ".*" and do not
15432 require an anchor after -exec-run.
15433
d0b76dc6
DJ
154342008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
15435
15436 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
15437 stop is pending. Avoid ".*" when two stops are pending.
15438 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
15439 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
15440 newlines in fullnames.
15441 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
15442 (mi_expect_stop): Update comments. Only anchor in sync mode.
15443 Do not match newlines.
15444 (mi_send_resuming_command_raw): Always return status.
15445 (mi_get_stop_line): Do not match more than one line by accident.
15446 Only anchor in sync mode.
15447 (mi_run_inline_test): If -exec-next fails, give up.
15448
9990c830
UW
154492008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15450
15451 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
15452 on SPU.
15453
ebcf6f00
JB
154542008-09-10 Joel Brobecker <brobecker@adacore.com>
15455
15456 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
15457
b6db24e5
JB
154582008-09-10 Joel Brobecker <brobecker@adacore.com>
15459
15460 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
15461 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
15462 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
15463 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
15464 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
15465 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
15466 gdb.ada/interface.exp, gdb.ada/null_array.exp,
15467 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
15468 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
15469 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
15470 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
15471 Include the "= " sequence in the expected output of print tests.
15472
2bf448e0
JB
154732008-09-10 Joel Brobecker <brobecker@adacore.com>
15474
15475 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
15476 description for boolean types.
15477
d51fd4c8
PA
154782008-09-09 Pedro Alves <pedro@codesourcery.com>
15479
15480 * gdb.base/hook-stop-continue.c: New.
15481 * gdb.base/hook-stop-continue.exp: New.
15482
694182d2
DJ
154832008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
15484
15485 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
15486
3b8a7fc0
JG
154872008-09-08 Jerome Guitton <guitton@adacore.com>
15488
15489 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
15490 (stack_check_probe_2, stack_check_probe_loop_1)
15491 (stack_check_probe_loop_2): New functions.
15492 (main): Add call to these new functions.
15493 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
15494 functions, check that the breakpoint is inserted at the appropriate
15495 location.
15496 (insert_breakpoint): Slightly refine this procedure so that it can
15497 be called several times in the test.
15498
96cc0ae8
JG
154992008-09-08 Jerome Guitton <guitton@adacore.com>
15500
15501 * gdb.base/stack-checking.c: New file.
15502 * gdb.base/stack-checking.exp: New file.
15503
1f08b409
TJB
155042008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15505
15506 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
15507 * gdb.arch/altivec-regs.exp: Likewise.
15508 * gdb.arch/vsx-regs.exp: Likewise.
15509
3099e1c4
TJB
155102008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15511
15512 * gdb.arch/ppc-fp.exp: New file.
15513 * gdb.arch/ppc-fp.c: New file.
15514
cc69bfc1
PP
155152008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15516
15517 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
15518 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 15519
b02a33db
MS
155202008-09-04 Michael Snyder <msnyder@vmware.com>
15521
15522 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
15523 as "at" (for non-debug functions such as _start).
15524
2992cbe0
UW
155252008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15526
15527 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
15528 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
15529 software watchpoints.
15530 * gdb.base/watch_thread_num.exp: Likewise.
15531
514f746b
AR
155322008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
15533
15534 * gdb.arch/i386-bp_permanent.exp: New test.
15535
876cecd0
TT
155362008-08-24 Tom Tromey <tromey@redhat.com>
15537
15538 * gdb.base/maint.exp: Update "maint print type".
15539
80f73d71
VP
155402008-08-21 Vladimir Prus <vladimir@codesourcery.com>
15541
15542 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
15543 support. Adjust the order of "*running" notifications.
15544 * gdb.mi/non-stop.c: Don't cast from int to void* and
15545 back.
15546
d9c78d7d
MK
155472008-08-20 Mark Kettenis <kettenis@gnu.org>
15548
15549 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
15550 expect to find it in the "info frame" output.
15551
97a2d1d3
DJ
155522008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
15553
15554 * gdb.base/interp.exp: Always consume both prompts.
15555
b96e2927
PA
155562008-08-20 Pedro Alves <pedro@codesourcery.com>
15557
15558 * gdb.base/pending.exp: Test pending breakpoints without symbols
15559 loaded.
15560
8cf6e61a
VP
155612008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15562
15563 * lib/mi-support.exp (mi_expect_stop): Produce
15564 more details on failures.
15565 * gdb.mi/mi-nonstop.exp: New.
15566 * gdb.mi/non-stop.c: New.
15567
c6ebd6cf
VP
155682008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15569
a9c64011
AS
15570 * gdb.mi/mi-async.exp: Use 'set target-async'.
15571 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 15572
46a9b8ed
DJ
155732008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
15574
15575 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
15576
44feb3ce
TT
155772008-08-17 Tom Tromey <tromey@redhat.com>
15578
15579 * gdb.base/help.exp (help catch): Rewrite.
15580
311a4e6b
TJB
155812008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15582
15583 * gdb.base/define.exp: Test indented command documentation.
15584 * gdb.python/python.exp: Test indented multi-line command.
15585
604c2f83
LM
155862008-08-15 Luis Machado <luisgpm@br.ibm.com>
15587
15588 * testsuite/gdb.arch/vsx-regs.c: New source file.
15589 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
15590 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
15591
886a217c
TT
155922008-08-14 Tom Tromey <tromey@redhat.com>
15593
15594 * gdb.base/macscp.exp: Add regression test for "macro define" or
15595 "macro undef" with no arguments.
15596
c814a4f3
PP
155972008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15598
15599 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 15600
12ab8a60
UW
156012008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15602
15603 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
15604
d57a3c85
TJB
156052008-08-06 Tom Tromey <tromey@redhat.com>
15606
15607 * gdb.python/python.exp: New file.
15608
c7b778ff
JK
156092008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15610
15611 Fix for PR gdb/1543.
15612 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
15613 $LOCATION.
15614 (location): New variable.
15615 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
15616 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
15617 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
15618 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
15619 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
15620 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
15621 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
15622 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
15623 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
15624 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
15625 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
15626 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
15627 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
15628 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
15629 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
15630 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
15631 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
15632 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
15633 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
15634 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15635 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
15636 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
15637 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
15638 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
15639 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
15640 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
15641 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
15642 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
15643 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
15644 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
15645 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
15646 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
15647 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
15648 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
15649 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
15650 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
15651 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
15652 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
15653 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
15654 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
15655 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
15656 gdb.base/type-opaque.exp, gdb.base/until.exp,
15657 gdb.base/value-double-free.c, gdb.base/varargs.exp,
15658 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
15659 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
15660 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
15661 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
15662 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
15663 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
15664 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
15665 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
15666 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
15667 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
15668 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
15669 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
15670 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
15671 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
15672 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
15673 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
15674 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
15675 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
15676 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
15677 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
15678 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
15679 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
15680 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
15681 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
15682 gdb.pascal/types.exp, gdb.stabs/weird.exp,
15683 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
15684 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
15685 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
15686 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
15687 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
15688 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
15689 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15690 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
15691 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15692 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
15693 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15694 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
15695 lib/mi-support.exp, lib/trace-support.exp: Remove reference
15696 to bug-gdb@prep.ai.mit.edu .
15697
5e06a3d1
VP
156982008-07-31 Vladimir Prus <vladimir@codesourcery.com>
15699
15700 * lib/mi-support.exp (mi_load_shlibs): New.
15701 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
15702
9d81d21b
VP
157032008-07-30 Vladimir Prus <vladimir@codesourcery.com>
15704
15705 * lib/mi-support.exp (get_mi_thread_list)
15706 (check_mi_and_console_threads): New, moved from ...
15707 * gdb.mi/mi-pthread.exp: ...here.
15708 * gdb.mi/gdb669.exp (get_mi_thread_list)
15709 (check_mi_and_console_threads): Delete.
15710 * gdb.mi/mi2-pthread.exp: Likewise.
15711
bae98fe0
TT
157122008-07-28 Tom Tromey <tromey@redhat.com>
15713
15714 * Makefile.in (just-check): Remove. Move body to...
15715 (check): ... here.
15716
57380f4e
DJ
157172008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15718
15719 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
15720 Add a test for duplicated SIGINTs.
15721
e09490f1
DJ
157222008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15723
15724 * gdb.threads/schedlock.exp (get_args): Update to work for any
15725 value of NUM.
15726 (Top level): Report the number of threads that did not resume.
15727
6387b45f
DJ
157282008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15729
15730 * gdb.dwarf2/dw2-compressed.S: Also define __start.
15731
62f64ff2
DJ
157322008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15733
15734 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
15735 non-MI prompt.
15736
fa8de41e
TT
157372008-07-26 Tom Tromey <tromey@redhat.com>
15738
15739 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
15740 (function_struct, function_struct_ptr): New globals.
15741 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
15742 function pointer in a struct.
15743
ccb3ac8a
TT
157442008-07-26 Tom Tromey <tromey@redhat.com>
15745
15746 * gdb.base/macscp.exp: Add test for macro lexing bug.
15747
d7d9f01e
TT
157482008-07-18 Tom Tromey <tromey@redhat.com>
15749
15750 * gdb.base/macscp.exp: Add macro tests.
15751
9bf07184
PP
157522008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15753
15754 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
15755
becf6477
PP
157562008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15757
15758 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
15759
0709f7d3
PP
157602008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
15761
15762 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 15763
7093c834
PP
157642008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15765
15766 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 15767
b432ffe3
JK
157682008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15769
15770 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
15771
b1a268e5
VP
157722008-07-12 Vladimir Prus <vladimir@codesourcery.com>
15773
15774 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
15775
e2995f8e
KB
157762008-07-11 Kevin Buettner <kevinb@redhat.com>
15777
15778 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
15779 of regexp to account for changes made to GDB in the printing of
15780 byte vectors.
15781
14032a66
TT
157822008-07-11 Tom Tromey <tromey@redhat.com>
15783
15784 * gdb.base/completion.exp: Add 'help' completion test.
15785
981505ef
JK
157862008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15787
15788 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
15789
10568435
JK
157902008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15791
15792 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
15793
4487aabf
PA
157942008-07-09 Pedro Alves <pedro@codesourcery.com>
15795
15796 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
15797
a4a9b1c4
PA
157982008-07-09 Pedro Alves <pedro@codesourcery.com>
15799
15800 * gdb.base/fullname.exp: Restore pwd if compiling failed.
15801
3c3185ac
JK
158022008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15803
15804 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
15805
7ebd49dc
VP
158062008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15807
15808 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
15809 previous commit. Add a comment.
15810
84e46146
PA
158112008-06-28 Pedro Alves <pedro@codesourcery.com>
15812
15813 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
15814
0f8d4a2f
VP
158152008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15816
15817 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
15818
f747e0ce
PA
158192008-06-27 Pedro Alves <pedro@codesourcery.com>
15820
15821 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
15822 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
15823 compiling an executable, link in an object that forces unbuffered
15824 output.
15825 * lib/set_unbuffered_mode.c: New file.
15826
734a5c36
JK
158272008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15828
15829 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
15830
a2840c35
VP
158312008-06-25 Vladimir Prus <vladimir@codesourcery.com>
15832
a9c64011
AS
15833 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
15834 mi_expect_stop.
15835 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
15836 Demand that *running is output.
15837 (detect_async): Perform checking every time.
15838 (mi_send_resuming_command): Extract everything into...
15839 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
15840 (mi_expect_stop): Don't accept any output before *stopped.
15841
6ae37fef
VP
158422008-06-13 Vladimir Prus <vladimir@codesourcery.com>
15843
15844 Robustify mi-simplerun.
a9c64011
AS
15845 * gdb.mi/basics.c (main): Add a call to sleep.
15846 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
15847 * gdb.mi/mi2-cli.exp: Likewise.
15848 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 15849
b4aa76f0 158502008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
15851
15852 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
15853
e1ac3328
VP
158542008-06-10 Vladimir Prus <vladimir@codesourcery.com>
15855
a9c64011
AS
15856 * gdb.mi/mi-console.exp: Adjust.
15857 * gdb.mi/mi-syn-frame.exp: Adjust.
15858 * gdb.mi/mi2-console.exp: Adjust.
15859 * gdb.mi/mi2-syn-frame.exp: Adjust.
15860 * lib/mi-support.exp (mi_run_cmd): Adjust.
15861 (mi_send_resuming_command): Adjust.
e1ac3328 15862
f7f9a841
VP
158632008-06-10 Vladimir Prus <vladimir@codesourcery.com>
15864
15865 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
15866 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
15867 testing of stopped.
15868 * gdb.mi/mi2-syn-frame.exp: Likewise.
15869 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
15870 (async, detect_async): New.
15871 (mi_expect_stop, mi_continue_to_line): Adjust expectation
15872 depending on if we're running in sync or async mode.
f7f9a841 15873
37cd5d19
TT
158742008-06-09 Tom Tromey <tromey@redhat.com>
15875
15876 * gdb.base/completion.exp: New tests for field name completion
15877 with spaces, and field name completion with '->'.
15878
65d12d83
TT
158792008-06-06 Tom Tromey <tromey@redhat.com>
15880
15881 * gdb.base/break1.c (struct some_struct): New struct.
15882 (values): New global.
15883 * gdb.base/completion.exp: Add field name completion test.
15884
ebfe2e3f
PP
158852008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15886
15887 * gdb.cp/call-c.exp: Test for incorrect handling of reference
15888 to pointer.
15889 * gdb.cp/call-c.cc: Likewise.
15890
bcf6fc3a
NR
158912008-06-06 Nick Roberts <nickrob@snap.net.nz>
15892
15893 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
15894 annotation.
15895
49fd4a42 158962008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 15897 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
15898
15899 * gdb.threads/execl.c, gdb.threads/execl1.c,
15900 gdb.threads/execl.exp: New tests.
a9c64011 15901
8a34ac3f
AR
159022008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
15903 Daniel Jacobowitz <dan@codesourcery.com>
15904
15905 * gdb.cp/exception.exp: Activate test, make it work with pending
15906 catchpoints.
15907
86ae69ef
JK
159082008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
15909
15910 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
15911
f7f9ae2c
VP
159122008-05-28 Vladimir Prus <vladimir@codesourcery.com>
15913
a9c64011
AS
15914 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
15915 now printed.
15916 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 15917
2a2d4dc3
AS
159182008-05-27 Andreas Schwab <schwab@suse.de>
15919
15920 * gdb.base/frame-args.exp: Handle arguments that are optimized
15921 out.
15922
5099e4d9
LM
159232008-05-26 Luis Machado <luisgpm@br.ibm.com>
15924
15925 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
15926 quiet for ppc32 and group options into a single variable.
15927
d9c36a91
JB
159282008-05-23 Joel Brobecker <brobecker@adacore.com>
15929
15930 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
15931 of zero-size elements.
15932 * gdb.ada/null_array.exp: Test printing this new array.
15933
103a8671
JK
159342008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15935
15936 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
15937
07a4cc1a 159382008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
15939
15940 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
15941 of the "finish" command.
15942
55f996a7
NR
159432008-05-21 Nick Roberts <nickrob@snap.net.nz>
15944
15945 * gdb.base/annota1.exp: Test for new annotation.
15946
907fc202
UW
159472008-05-16 Pedro Alves <pedro@codesourcery.com>
15948
15949 * gdb.base/fixsection.exp: New file.
15950 * gdb.base/fixsection0.c: New file.
15951 * gdb.base/fixsection1.c: New file.
15952
e8f97270
UW
159532008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15954
15955 * gdb.base/annota1.exp: Accept printf@... in place of printf.
15956 * gdb.base/annota3.exp: Likewise.
15957
ac0bb574
NF
159582008-05-13 Nathan Froyd <froydnj@codesourcery.com>
15959
15960 * gdb.base/watch_thread_num.exp: Don't run tests that require
15961 watchpoints if the target doesn't support them.
15962
6fadd07a
DE
159632008-05-12 Doug Evans <dje@google.com>
15964
15965 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
15966
6e9a4a30
JB
159672008-05-09 Joel Brobecker <brobecker@adacore.com>
15968
15969 * gdb.ada/assign_1.exp: New testcase.
15970
08388c79
DE
159712008-05-09 Doug Evans <dje@google.com>
15972
a3c83fae
DE
15973 * gdb.base/find.exp: New file.
15974 * gdb.base/find.c: New file.
08388c79 15975
bd5ddfe8
DJ
159762008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
15977
15978 * gdb.base/commands.exp (watchpoint_command_test): Handle
15979 gdb,no_hardware_watchpoints.
15980 * gdb.base/float.exp: Allow ARM targets without floating point.
15981 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
15982
b5dd68e2 159832008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 15984 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
15985
15986 * gdb.ada/lang_switch: New test program.
15987 * gdb.ada/lang_switch.exp: New testcase.
15988
382d13d1
DE
159892008-05-05 Doug Evans <dje@google.com>
15990
15991 * gdb.base/help.exp (disassemble): Update expected help text.
15992
9dd789d0
PA
159932008-05-04 Pedro Alves <pedro@codesourcery.com>
15994
15995 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
15996
611c83ae
PA
159972008-05-04 Pedro Alves <pedro@codesourcery.com>
15998
15999 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
16000 different times.
16001
ff013f42
JK
160022008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
16003
16004 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
16005 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
16006 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
16007 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
16008
96dff6a2
VP
160092008-05-04 Vladimir Prus <vladimir@codesourcery.com>
16010
16011 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
16012 notification to appear.
16013
55cd6f92
DJ
160142008-05-04 Daniel Jacobowitz <dan@debian.org>
16015
16016 * gdb.base/fullname.c: New file.
16017 * gdb.base/fullname.exp: New file.
16018 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
16019
d705c43c
PA
160202008-05-03 Pedro Alves <pedro@codesourcery.com>
16021
16022 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
16023 expressions with macros.
16024
333222e1
JK
160252008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16026
16027 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
16028
5ac01682
DJ
160292008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
16030
16031 * gdb.base/completion.exp: Handle lack of other symbols beginning
16032 with "a".
16033
16034 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
16035
237fc4c9
PA
160362008-05-02 Jim Blandy <jimb@codesourcery.com>
16037
16038 * gdb.asm/asmsrc1.s: Add scratch space.
16039
ed5e9466
DJ
160402008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16041 Daniel Jacobowitz <dan@codesourcery.com>
16042
16043 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
16044 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
16045 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
16046
b39cc962
DJ
160472007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
16048
16049 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
16050
36d520f5
JB
160512008-05-01 Joel Brobecker <brobecker@adacore.com>
16052
16053 * gdb.base/info-target.exp: New testcase.
16054
8d4e3071
DJ
160552008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
16056
16057 * gdb.cp/hang.exp: Use .cc instead of .C.
16058 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
16059 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
16060
6f3f3097
DJ
160612008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
16062
16063 * gdb.base/gdb1250.exp: Remove perror.
16064 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
16065
5550a914
PA
160662008-04-30 Pedro Alves <pedro@codesourcery.com>
16067
16068 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
16069 .2byte.
16070
d848e687
DJ
160712008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
16072
16073 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
16074 (maybe_kfail): New.
16075
93b5768b
PA
160762008-04-25 Pedro Alves <pedro@codesourcery.com>
16077
16078 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
16079
721c02de
VP
160802008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16081
a9c64011
AS
16082 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
16083 * gdb.mi/mi2-syn-frame.exp: Likewise.
16084 * lib/mi-support.exp: Likewise.
721c02de 16085
74960c60
VP
160862008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16087
16088 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
16089 to specify regexp for the location to stop at.
16090 * gdb.base/break-always.c: New.
16091 * gdb.base/break-always.exp: New.
16092
d24317b4
VP
160932008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16094
16095 * lib/mi-support.exp (mi_runto_helper): Adjust
16096 for the original-location field.
16097 (mi_create_breakpoint, mi_list_breakpoints): New.
16098 * gdb.mi/mi-break.exp: Adjust.
16099 * gdb.mi/mi2-break.exp: Adjust.
16100 * gdb.mi/mi-pending.exp: Adjust.
16101 * gdb.mi/mi-simplerun.exp: Adjust.
16102 * gdb.mi/mi2-simplerun.exp: Adjust.
16103 * gdb.mi/mi-syn-frame.exp: Adjust.
16104 * gdb.mi/mi2-syn-frame.exp: Adjust.
16105 * gdb.mi/mi-until.exp: Adjust.
16106 * gdb.mi/mi2-until.exp: Adjust.
16107 * gdb.mi/mi-var-display.exp: Adjust.
16108 * gdb.mi/mi2-var-display.exp: Adjust.
16109 * gdb.mi/mi-watch.exp: Adjust.
16110 * gdb.mi/mi2-watch.exp: Adjust.
16111
fdc59709 161122008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 16113
a9c64011
AS
16114 * aclocal.m4: Add override.m4.
16115 * configure: Regenerate.
fdc59709 16116
8e91f023
VP
161172008-04-19 Vladimir Prus <vladimir@codesourcery.com>
16118
16119 * gdb.mi/var-cmd.c (do_at_tests): Verify that
16120 '-var-update --all-values' reports new value even the type
16121 of a variable object has changed.
16122
233a11ab
CS
161232008-04-18 Craig Silverstein <csilvers@google.com>
16124
16125 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
16126 files.
d24317b4 16127
9c1137ad
JB
161282008-04-18 Joel Brobecker <brobecker@adacore.com>
16129
16130 * gdb.ada/atomic_enum: New test program.
16131 * gdb.ada/atomic_enum.exp: New testcase.
16132
66d0bbc7
DE
161332008-04-17 Doug Evans <dje@google.com>
16134
16135 * gdb.opt/Makefile.in: Fix whitespace.
16136
100906b0
UW
161372008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
16138
16139 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
16140
4584e32e
DE
161412008-04-17 Doug Evans <dje@google.com>
16142
16143 * gdb.base/hashline1.exp: New testcase.
16144 * gdb.base/hashline2.exp: New testcase.
16145 * gdb.base/hashline2.exp: New testcase.
16146
0a320680
PA
161472008-04-17 Pedro Alves <pedro@codesourcery.com>
16148
16149 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
16150
18ac113b
AR
161512008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
16152
16153 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
16154 temporary breakpoint to match "Temporary breakpoint".
16155 * gdb.base/break.exp (delete_breakpoints): Likewise.
16156 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
16157 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
16158 * gdb.base/display.exp: Likewise.
16159 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
16160 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
16161 * gdb.base/restore.exp (restore_tests): Likewise.
16162 * gdb.base/sepdebug.exp: Likewise.
16163 * gdb.base/watchpoint.exp: Likewise.
16164 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
16165 * gdb.mi/mi-pending.exp: Likewise.
16166 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
16167 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
16168 * gdb.mi/mi-var-cmd.exp: Likewise.
16169 * gdb.mi/mi-var-display.exp: Likewise.
16170 * gdb.mi/mi2-cli.exp: Likewise.
16171 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
16172 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
16173 * gdb.mi/mi2-var-display.exp: Likewise.
16174 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
16175 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
16176 new "disp" field.
a9c64011 16177 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
16178 reason. This is to support fix for PR2424.
16179
add38693
JK
161802008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16181
16182 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
16183
fcacd99f
VP
161842008-04-13 Vladimir Prus <vladimir@codesourcery.com>
16185
16186 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 16187 field. Add more floating varobj tests.
fcacd99f 16188 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
16189 field.
16190 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
16191 (main): Call do_at_tests.
16192 * lib/mi-support.exp (mi_create_floating_varobj)
16193 (mi_varobj_update_with_type_change): New.
fcacd99f 16194
de051565
MK
161952008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
16196
16197 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
16198 option of -var-evaluate-expression.
16199 * gdb.mi/mi2-var-display.exp: Likewise.
16200
dbc52822
VP
162012008-04-07 Vladimir Prus <vladimir@codesourcery.com>
16202
16203 Introduce test setup helpers.
a9c64011
AS
16204 * lib/gdb.exp (build_executable, clean_restart)
16205 (prepare_for_testing): New.
16206 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
16207 * gdb.base/return.exp: Likewise.
16208 * gdb.base/ending-run.exp: Likewise.
dbc52822 16209
473591da
NR
162102008-04-07 Nick Roberts <nickrob@snap.net.nz>
16211
16212 * gdb.mi/mi-async.exp: New test for asynchronous Machine
16213 Interface (MI) responses.
16214
2b2d9e11
VP
162152008-04-06 Vladimir Prus <vladimir@codesourcery.com>
16216
a9c64011
AS
16217 * gdb.cp/breakpoint.cc: New code to test conditions involving
16218 member variables.
16219 * gdb.cp/breakpoint.exp: Test condition involving member
16220 variables.
2b2d9e11 16221
bb378428
VP
162222008-04-05 Vladimir Prus <vladimir@codesourcery.com>
16223
16224 * lib/mi-support.exp (mi_expect_stop): New.
16225 (mi_run_cmd): Change the
16226 token. Use mi_send_resuming_command, use
16227 mi_expect_stop.
16228 (mi_execute_to_helper): Rename to mi_execute_to.
16229 (mi_send_resuming_command): Add more error patterns.
16230 (mi_wait_for_stop): Renamed to...
16231 (mi_get_stop_line): ...this.
16232 (mi_run_inline_test): Adjust.
16233
16234 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
16235 * gdb.mi/mi-console.exp: Likewise.
16236 * gdb.mi/mi-pending.exp: Likewise.
16237 * gdb.mi/mi-simplerun.exp: Likewise.
16238 * gdb.mi/mi-stack.exp: Likewise.
16239 * gdb.mi/mi-stepi.exp: Likewise.
16240 * gdb.mi/mi-syn-frame.exp: Add comment.
16241 * gdb.mi/mi-until.exp: Likewise.
16242 * gdb.mi/mi-var-display.exp: Likewise.
16243 * gdb.mi/mi-watch.exp: Likewise.
16244 * gdb.mi/mi2-cli.exp: Likewise.
16245 * gdb.mi/mi2-console.exp: Likewise.
16246 * gdb.mi/mi2-simplerun.exp: Likewise.
16247 * gdb.mi/mi2-stack.exp: Likewise.
16248 * gdb.mi/mi2-stepi.exp: Likewise.
16249 * gdb.mi/mi2-until.exp: Likewise.
16250 * gdb.mi/mi2-var-display.exp: Likewise.
16251 * gdb.mi/mi2-watch.exp: Likewise.
16252
62172bb9
UW
162532008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16254
16255 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
16256
16257 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
16258
a13e061a
PA
162592008-04-04 Pedro Alves <pedro@codesourcery.com>
16260
16261 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
16262 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
16263 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
16264 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
16265 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
16266 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
16267 expect an mi error duplicated in stderr.
16268
eae06beb
JB
162692008-04-03 Joel Brobecker <brobecker@adacore.com>
16270
16271 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
16272 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
16273 Add a couple of tests that verify the behavior when the new setting
16274 is set to "cancel" and "all".
16275 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
16276 "ask" before we start the testing.
16277
79c6ced6
AR
162782008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
16279
16280 * gdb.cp/casts.cc: Add class reference variables.
16281 * gdb.cp/casts.exp: New test cases for up/down casting references.
16282
6c2d1a6b
MK
162832008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
16284
16285 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
16286 instead of beginning to make an extra test pass.
16287 * gdb.mi/mi2-var-display.exp: Likewise.
16288
55b411d9
MR
162892008-03-31 Maciej W. Rozycki <macro@mips.com>
16290
16291 * gdb.base/break.exp: Mark failures as such. Fix formatting.
16292
c6140da2
MD
162932008-03-31 Markus Deuling <deuling@de.ibm.com>
16294 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16295
16296 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
16297 value. Add xfail for older kernels.
16298
79732189
AR
162992008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
16300
16301 Bring mi-support in line with gdb.exp.
16302 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
16303 (mi_gdb_start): New function.
16304
33c3676e
MR
163052008-03-28 Maciej W. Rozycki <macro@mips.com>
16306
16307 * gdb.mi/mi-var-cmd.exp: Fix a typo.
16308
92e28119
VP
163092008-03-26 Vladimir Prus <vladimir@codesourcery.com>
16310
16311 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
16312 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 16313
9e8e3afe
VP
163142008-03-26 Vladimir Prus <vladimir@codesourcery.com>
16315
16316 * lib/mi-support.exp (mi_create_varobj_checked): New.
16317 (mi_list_varobj_children): Allow to check for a
16318 value.
16319 (mi_list_array_varobj_children): New.
16320
16321 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
16322 and mi_list_varobj_children, as opposed to hardcoding
16323 expected strings.
16324 * gdb.mi/gdb701.exp: Likewise.
16325 * gdb.mi/gdb792.exp: Likewise.
16326 * gdb.mi/mi-var-block.exp: Likewise.
16327 * gdb.mi/mi-var-cmd.exp: Likewise.
16328 * gdb.mi/mi-var-invalidate.exp: Likewise.
16329 * gdb.mi/mi2-var-block.exp: Likewise.
16330 * gdb.mi/mi2-var-child.exp: Likewise.
16331 * gdb.mi/mi2-var-cmd.exp: Likewise.
16332 * gdb.mi/mi2-var-display.exp: Likewise.
16333
9df50351
JK
163342008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16335
16336 Fix random false FAILs on i386.
16337 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
16338
31e5d73a
DJ
163392008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
16340
16341 PR gdb/544
16342 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
16343
12f4afab
DJ
163442008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
16345
16346 PR gdb/544
16347 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
16348
b562a0cb
DJ
163492008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16350
16351 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
16352 fixed PR gdb/544.
16353
17faa917
DJ
163542008-03-21 Pedro Alves <pedro@codesourcery.com>
16355
16356 * gdb.threads/fork-child-threads.exp: Test next over fork.
16357
6214f497
DJ
163582008-03-21 Chris Demetriou <cgd@google.com>
16359
16360 * gdb.base/break.exp (rbreak junk): New test for rbreak
16361 "Junk at end of arguments" issue.
16362
63092375
DJ
163632008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16364
16365 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
16366 *& to work on created array elements.
16367 (Top level): Test print $pc with a file. Test string operations
16368 without a target.
16369 * gdb.base/ptype.exp: Do not expect *& to work on created array
16370 elements.
16371
b21991b0
DJ
163722008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16373
16374 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
16375 gdb.threads/staticthreads.exp: Update exit query.
16376
c4b347c7
SL
163772008-03-07 Sandra Loosemore <sandra@codesourcery.com>
16378
16379 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
16380
fa4727a6
DJ
163812008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
16382
16383 * gdb.base/watchpoint.c (global_ptr, func4): New.
16384 (main): Call func4.
16385 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
16386 (test_inaccessible_watchpoint): New.
16387
2f34202f
MR
163882008-02-29 Maciej W. Rozycki <macro@mips.com>
16389
16390 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
16391 select the largest.
16392
0d6ba1b1
DJ
163932008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
16394
16395 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
16396 frames-invalid annotations.
16397
e691325a
PM
163982008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
16399
a9c64011 16400 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 16401
f85b5ecc
DE
164022008-02-27 Doug Evans <dje@google.com>
16403
16404 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
16405 for bug 1738.
16406 (breakpoint_to_handler_entry): Ditto.
16407
b40e7bf3
JB
164082008-02-27 Joel Brobecker <brobecker@adacore.com>
16409
16410 * gdb.base/ending-run.exp: Use the first line of code inside
16411 function body to test breakpoints.
16412 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
16413 location where the breakpoint is inserted when using the line
16414 where a function is declared. Fix typo in the description of
16415 one of the tests.
16416 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
16417
2faca73a
PM
164182008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16419
16420 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 16421 tests.
2faca73a 16422
6f439c36
PM
164232008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16424
16425 * gdb.base/args.exp: avoid same output for tests
16426 with single quotes.
16427
54e52265
VP
164282008-02-26 Vladimir Prus <vladimir@codesourcery.com>
16429
a9c64011
AS
16430 * gdb.base/annota1.exp: Adjust for 'info break'
16431 format changes.
16432 * gdb.base/annota3.exp: Likewise.
16433 * gdb.base/break.exp: Likewise.
16434 * gdb.base/condbreak.exp: Likewise.
16435 * gdb.base/pending.exp: Likewise.
16436 * gdb.base/sepdebug.exp: Likewise.
16437 * gdb.base/unload.exp: Likewise.
16438 * gdb.cp/ovldbreak.exp: Likewise.
16439 * gdb.mi/mi-pending.exp: Likewise.
54e52265 16440
897b09ca
DE
164412008-02-07 Doug Evans <dje@google.com>
16442
16443 * gdb.cp/mb-inline.exp: New.
16444 * gdb.cp/mb-inline.h: New.
16445 * gdb.cp/mb-inline1.cc: New.
16446 * gdb.cp/mb-inline2.cc: New.
16447
b1c32d35
PM
164482008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
16449
16450 * gdb.pascal/floats.pas: New test program.
16451 * gdb.pascal/floats.exp: New testcase.
16452
1a4ca44a
TJB
164532008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
16454
16455 * gdb.base/callfuncs.c (t_float_many_args): New function.
16456 (t_double_many_args): New function.
16457 * gdb.base/callfuncs.exp: Add tests for exceeding float
16458 and double parameters passed through the stack.
16459
439048e8
JB
164602008-02-05 Joel Brobecker <brobecker@adacore.com>
16461
16462 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
16463 gdb.ada/complete/foo.adb: New files.
16464 * gdb.ada/complete.exp: New testcase.
16465
81fe8080
DE
164662008-02-03 Doug Evans <dje@google.com>
16467
301f0ecf
DE
16468 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
16469
81fe8080
DE
16470 * gdb.cp/gdb2384.exp: New file.
16471 * gdb.cp/gdb2384.cc: New file.
16472 * gdb.cp/gdb2384-base.h: New file.
16473 * gdb.cp/gdb2384-base.cc: New file.
16474
4b071aec
DE
164752008-02-02 Doug Evans <dje@google.com>
16476
16477 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
16478
61137ba6
JB
164792007-02-01 Joel Brobecker <brobecker@adacore.com>
16480
16481 * gdb.ada/sym_print_name: New test program.
16482 * gdb.ada/sym_print_name.exp: New testcase.
16483
164842007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
16485
16486 * gdb.ada/nested/hello.adb: New file.
16487 * gdb.ada/nested.exp: New testcase.
16488 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16489
98deb0da
VP
164902008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16491
16492 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
16493 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
16494 don't cause future evaluations of function to report
16495 creation of internal breakpoints.
98deb0da 16496
723a2275
VP
164972008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16498
16499 * gdb.mi/mi-break.exp (test_error): New.
16500 Call it.
16501
fb546a2f
LM
165022008-01-31 Luis Machado <luisgpm@br.ibm.com>
16503
16504 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
16505 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
16506
2d8fd90a
PM
165072008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16508
16509 * gdb.pascal/integers.pas: New test program.
16510 * gdb.pascal/integers.exp: New testcase.
16511
a7fa0ded
PM
165122008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16513
16514 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
16515
5e1a1926
TJB
165162008-01-30 Luis Machado <luisgpm@br.ibm.com>
16517
16518 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
16519 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
16520
8d04f9f0
JB
165212008-01-30 Paul Hilfinger <hilfinger@adacore.com>
16522
16523 * gdb.ada/formatted_ref: New test program.
16524 * gdb.ada/formatted_ref.exp: New testcase.
16525
16526 * gdb.cp/formatted-ref.cc: New file.
16527 * gdb.cp/formatted-ref.exp: New testcase.
16528
ce75a98f
JB
165292008-01-30 Joel Brobecker <brobecker@adacore.com>
16530
16531 * gdb.base/ptype.exp: Add testing of "ptype $pc".
16532
e835f6bf
NR
165332008-01-30 Nick Roberts <nickrob@snap.net.nz>
16534
16535 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
16536 (test_file_list_exec_source_file): Update to new macro-info field.
16537
d118ef87
PH
165382008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
16539
16540 * gdb.ada/exprs: New test program.
16541 * gdb.ada/exprs.exp: New testcase.
16542
7d35ab09
TJB
165432008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
16544
16545 * dfp-test.c (DELTA, DELTA_B): New definitions.
16546 (double_val1, double_val2, double_val3, double_val4, double_val5,
16547 double_val6, double_val7, double_val8, double_val9, double_val10,
16548 double_val11, double_val12, double_val13, double_val14, dec32_val1,
16549 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
16550 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
16551 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
16552 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
16553 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
16554 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
16555 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
16556 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
16557 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
16558 dec128_val16): New global variables.
16559 (decimal_dec128_align): New function.
16560 (decimal_mixed): Likewise.
16561 (decimal_many_args_dec32): Likewise.
16562 (decimal_many_args_dec64): Likewise.
16563 (decimal_many_args_dec128): Likewise.
16564 (decimal_many_args_mixed): Likewise.
16565 * dfp-test.exp: Add tests calling new inferior functions.
16566
2d717e4f
DJ
165672008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16568
16569 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
16570 gdb.server/ext-run.exp: New files.
16571 * lib/gdbserver-support.exp (gdbserver_download): New.
16572 (gdbserver_start): New. Update gdbserver expected
16573 output.
16574 (gdbserver_spawn): Use them.
16575 (gdbserver_start_extended): New.
16576
e85a822c
DJ
165772008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16578
16579 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
16580 Run on GNU/Linux.
16581 (do_exec_tests): Check for systems which do not support catchpoints.
16582 Do not match START.
16583 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
16584 Run on GNU/Linux. Enable verbose output.
16585 (check_fork_catchpoints): New.
16586 (explicit_fork_child_follow, catch_fork_child_follow)
16587 (tcatch_fork_parent_follow): Update expected messages.
16588 (do_fork_tests): Use check_fork_catchpoints.
16589 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
16590 Run on GNU/Linux. Enable verbose output.
16591 (check_vfork_catchpoints): New.
16592 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
16593 expected messages.
16594 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
16595
401ea829
JB
165962008-01-29 Jim Blandy <jimb@red-bean.com>
16597
16598 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
16599 host' errors.
16600 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
16601
aceaf3ad
JB
166022008-01-29 Jim Blandy <jimb@red-bean.com>
16603
16604 * gdb.threads/sigthread.c: Use barriers to ensure that
16605 child_thread and child_thread_two are always initialized before we
16606 start to use them.
16607
a5606eee
VP
166082008-01-29 Vladimir Prus <vladimir@codesourcery.com>
16609
16610 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
16611 * gdb.base/watchpoint-solib.c: New.
16612 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 16613
c55a82bb
PM
166142008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
16615
16616 * gdb.base/gdb1056.exp: Add unsigned integer test.
16617
0993fe05
DE
166182008-01-28 Doug Evans <dje@google.com>
16619
16620 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
16621
4fe42e7f
JB
166222008-01-27 Jim Blandy <jimb@codesourcery.com>
16623
c7a69933
JB
16624 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
16625
4fe42e7f
JB
16626 * gdb.base/expand-psymtabs.exp: Doc fix.
16627
5def8285
MK
166282008-01-26 Mark Kettenis <kettenis@gnu.org>
16629
16630 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16631
5313c911
NR
166322008-01-24 Nick Roberts <nickrob@snap.net.nz>
16633
a9c64011 16634 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
16635 -var-set-format.
16636
93815fbf
VP
166372008-01-23 Chris Demetriou <cgd@google.com>
16638
16639 * gdb.threads/thread_events.c: New testcase source file.
16640 * gdb.threads/thread_events.exp: New testcase expect file.
16641
467a88ee
NR
166422008-01-23 Nick Roberts <nickrob@snap.net.nz>
16643
16644 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
16645
16646 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
16647 -var-set-format.
16648
d8f82aba
DJ
166492008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
16650 Vladimir Prus <vladimir@codesourcery.com>
16651
16652 * gdb.base/float.exp: Allow missing floating point for m68k and
16653 PowerPC.
16654
60c46647
VP
166552008-01-22 Vladimir Prus <vladimir@codesourcery.com>
16656
16657 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
16658 ignore count.
16659 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
16660 * gdb.mi/mi-cli.exp: Adjust.
16661 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 16662
c7dd36a1
PA
166632008-01-17 Pedro Alves <pedro@codesourcery.com>
16664
16665 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
16666 and 'dummy_ptr' integer pointer. Initialize struct_declarations
16667 with dummy_ptr's address.
16668 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
16669 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
16670 all targets.
16671 * gdb.mi/mi2-var-child.exp: Likewise.
16672
39d5313e
JB
166732008-01-09 Joel Brobecker <brobecker@adacore.com>
16674
16675 * gdb.ada/null_array: New test program.
16676 * gdb.ada/null_array.exp: New testcase.
16677
0aea4bf3
LM
166782008-01-09 Luis Machado <luisgpm@br.ibm.com>
16679
16680 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
16681 with required float modifiers.
16682
0b354900
JB
166832008-01-08 Joel Brobecker <brobecker@adacore.com>
16684
16685 * gdb.ada/funcall_param: New test program.
16686 * gdb.ada/funcall_param.exp: New testcase.
16687
cdb7f5d4
JB
166882008-01-08 Joel Brobecker <brobecker@adacore.com>
16689
16690 * gdb.ada/arrayparam: New test program.
16691 * gdb.ada/arrayparam.exp: New testcase.
16692
88e2547f
JB
166932008-01-08 Joel Brobecker <brobecker@adacore.com>
16694
16695 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
16696 landed. Should also fix random failures in the test following it.
16697
f6867ce0
TJB
166982008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
16699
16700 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
16701 for expressions with decimal float values.
16702 (test_dfp_conversions): New function to test casts to and from
16703 decimal float types.
16704 Call test_dfp_conversions.
16705 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
16706 elements.
16707 (main): Initialize ds.float4 and ds.double8 elements.
16708 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
16709 string to new error message.
16710 (d64_set_tests): Likewise.
16711 (d128_set_tests): Likewise.
16712 Add tests for expressions with decimal float variables. Add tests for
16713 conversions to and from decimal float types.
16714
f9c11282
JB
167152008-01-05 Joel Brobecker <brobecker@adacore.com>
16716
16717 * gdb.ada/packed_tagged/comp_bug.adb: New file.
16718 * gdb.ada/packed_tagged.exp: New testcase.
16719
0ecbca72
JB
167202008-01-04 Joel Brobecker <brobecker@adacore.com>
16721
16722 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
16723 gdb.ada/homonym/homonym_main.adb: New files.
16724 * gdb.ada/homonym.exp: New testcase.
16725
c18d3d89
JB
167262008-01-04 Joel Brobecker <brobecker@adacore.com>
16727
16728 * gdb.ada/packed_array.exp: Add testing of references to
16729 a packed array.
16730
ecc7085b
JB
167312008-01-04 Joel Brobecker <brobecker@adacore.com>
16732
16733 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
16734 New files.
16735 * gdb.ada/type_coercion.exp: New testcase.
16736
c474c922
JB
167372008-01-04 Joel Brobecker <brobecker@adacore.com>
16738
16739 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
16740 gdb.ada/tagged/foo.adb: New file.
16741 * gdb.ada/tagged.exp: New testcase.
16742
9005b927
JB
167432008-01-04 Joel Brobecker <brobecker@adacore.com>
16744
16745 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
16746 gdb.ada/ptype_field/foo.adb: New files.
16747 * gdb.ada/ptype_field.exp: New testcase.
16748
1a6aaad8
JB
167492008-01-03 Joel Brobecker <brobecker@adacore.com>
16750
16751 * gdb.ada/print_pc.exp: New testcase.
16752
0ef22f53
JB
167532008-01-03 Joel Brobecker <brobecker@adacore.com>
16754
16755 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
16756 gdb.ada/taft_type/p.adb: New files.
16757 * gdb.ada/taft_type.exp: New testcase.
16758
1689ecf8
JB
167592008-01-03 Joel Brobecker <brobecker@adacore.com>
16760
16761 * gdb.ada/array_bounds/bar.adb: New file.
16762 * gdb.ada/array_bounds.exp: New testcase.
16763
a4d0b9c3
JB
167642008-01-03 Joel Brobecker <brobecker@adacore.com>
16765
16766 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
16767 gdb.ada/arrayptr/foo.adb: New files.
16768 * gdb.ada/arrayptr.exp: New testcase.
16769
a31ace00
JB
167702008-01-03 Joel Brobecker <brobecker@adacore.com>
16771
16772 * gdb.base/set-lang-auto.exp: New testcase.
16773
a97fced3
JB
167742008-01-03 Joel Brobecker <brobecker@adacore.com>
16775
16776 * gdb.ada/fun_addr/foo.adb: New file.
16777 * gdb.ada/fun_addr.exp: New testcase.
16778
ef29ce1a
JK
167792008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16780
16781 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
16782 New files
16783
0fafefe3
JB
167842008-01-02 Joel Brobecker <brobecker@adacore.com>
16785
16786 * array_subscript_addr/p.adb: New file.
a9c64011 16787 * array_subscript_addr.exp: New testcase.
0fafefe3 16788
c4359f8d
JB
167892008-01-02 Joel Brobecker <brobecker@adacore.com>
16790
a9c64011 16791 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
16792 New files.
16793 * gdb.ada/str_cmp_ref.exp: New testcase.
16794
1aa1b15b
JB
167952008-01-01 Joel Brobecker <brobecker@adacore.com>
16796
16797 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
16798 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 16799 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 16800
81c9b2cf
JB
168012008-01-01 Joel Brobecker <brobecker@adacore.com>
16802
16803 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
16804 gdb.ada/ref_param/pck.ads: New files.
16805 * gdb.ada/ref_param.exp: New testcase.
16806
319e4674
JB
168072008-01-01 Joel Brobecker <brobecker@adacore.com>
16808
16809 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
16810 gdb.ada/interface/foo.adb: New files.
16811 * gdb.ada/interface.exp: New testcase.
16812
ef682c56
JB
168132007-12-31 Jim Blandy <jimb@codesourcery.com>
16814
16815 * gdb.base/multi-forks.exp: Consume all output from child
16816 processes before proceeding to next test.
16817
f6f3eb6c
JB
168182007-12-29 Jim Blandy <jimb@codesourcery.com>
16819
16820 * configure: Regenerated.
16821
f652e42f
JB
168222007-12-27 Joel Brobecker <brobecker@adacore.com>
16823
16824 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
16825 gdb.ada/fixed_cmp/fixed.adb: New files.
16826 * gdb.ada/fixed_cmp.exp: New testcase.
16827
6943e596
JB
168282007-12-27 Joel Brobecker <brobecker@adacore.com>
16829
16830 * gdb.ada/boolean_expr.exp: New testcase.
16831
aad9a193
JB
168322007-12-26 Jim Blandy <jimb@codesourcery.com>
16833
16834 * gdb.base/multi-forks.exp: Doc fix.
16835
fb5f3683
JB
168362007-12-26 Joel Brobecker <brobecker@adacore.com>
16837
16838 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16839 * gdb.ada/char_param.exp: Do not compile our test program with
16840 -gnata, this is unnecessary.
16841 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
16842
384e4a9c
JB
168432007-12-24 Joel Brobecker <brobecker@adacore.com>
16844
16845 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
16846 gdb.ada/print_chars/foo.adb: New files.
16847 * gdb.ada/print_chars.exp: New testcase.
16848
01e044f7
JB
168492007-12-24 Joel Brobecker <brobecker@adacore.com>
16850
16851 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
16852 gdb.ada/char_param/foo.adb: New files.
16853 * gdb.ada/char_param.exp: New testcase.
16854
0ce17860
JB
168552007-12-22 Jim Blandy <jimb@codesourcery.com>
16856
16857 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
16858 hard-coding source line numbers into the test.
16859 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
16860 gdb_get_line_number to find.
16861
919809b9
JB
168622007-12-22 Joel Brobecker <brobecker@adacore.com>
16863
16864 * gdb.base/ptype.c (highest): New struct type.
16865 (the_highest): New variable of that type.
16866 (main): Add dummy assignment to a field of variable the_highest.
16867 * gdb.base/ptype.exp: Test type printing of our new variable.
16868
abc8a88d
PM
168692007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
16870
16871 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 16872 and record first explicitly generated thread number.
abc8a88d
PM
16873 Use that thread number for thread specific watchpoint test.
16874 Add iteration number to repetitive tests.
16875
5158f3e3
CES
168762007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16877 Jim Blandy <jimb@codesourcery.com>
16878
16879 * gdb.base/expand-psymtabs.c: New testcase
16880 source file.
16881 * gdb.base/expand-psymtabs.exp: New testcase
16882 expect file.
16883
37e4754d
LM
168842007-12-17 Luis Machado <luisgpm@br.ibm.com>
16885
16886 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
16887 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
16888
551e5d04
JB
168892007-12-17 Joel Brobecker <brobecker@adacore.com>
16890
16891 * gdb.ada/frame_args/foo.adb: New file.
16892 * gdb.ada/frame_args/pck.ads: New file.
16893 * gdb.ada/frame_args/pck.adb: New file.
16894 * gdb.ada/frame_args.exp: New testcase.
16895
a05ee097
JB
168962007-12-17 Joel Brobecker <brobecker@adacore.com>
16897
16898 * gdb.base/frame-args.c: New file.
16899 * gdb.base/frame-args.exp: New testcase.
16900
c162e8c9 169012007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 16902 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
16903
16904 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
16905
afe8ab22 169062007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 16907
afe8ab22
VP
16908 * gdb.mi/mi-pending.exp: New.
16909 * gdb.mi/mi-pending.c: New.
16910 * gdb.mi/mi-pendshr.c: New.
16911
dfdfb3ca
JB
169122007-12-06 Jim Blandy <jimb@codesourcery.com>
16913
16914 * gdb.base/default.exp: Update expected output for 'info catch'.
16915
b7fca990
JK
169162007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16917
16918 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
16919 must be set to binary.
16920
6a1afc1e
PA
169212007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
16922
16923 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
16924
a6b151f1
DJ
169252007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
16926
16927 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
16928 gdb.mi/mi-file-transfer.exp: New.
16929
43039443
JK
169302007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16931
16932 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
16933
0ef2251b
MR
169342007-11-22 Maciej W. Rozycki <macro@mips.com>
16935
16936 * gdb.trace/backtrace.exp: Fix a typo.
16937 * gdb.trace/circ.exp: Likewise.
16938 * gdb.trace/collection.exp: Likewise.
16939 * gdb.trace/limits.exp: Likewise.
16940 * gdb.trace/report.exp: Likewise.
16941 * gdb.trace/tfind.exp: Likewise.
16942 * gdb.trace/while-dyn.exp: Likewise.
16943
5443631e
NR
169442007-11-21 Nick Roberts <nickrob@snap.net.nz>
16945
16946 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
16947 objects of pointers that can't be dereferenced are now
16948 "noneditable".
16949
a4ce5b0d
UW
169502007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16951
16952 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
16953 (target_cpu): Remove.
16954
d6e956e5
VP
169552007-10-15 Vladimir Prus <vladimir@codesourcery.com>
16956
16957 * gdb.base/ending-run.exp: Expect the list of cleared
16958 breakpoint to come in natural order, not the reversed one.
a9c64011 16959
214270ab
VP
169602007-11-07 Vladimir Prus <vladimir@codesourcery.com>
16961
16962 * gdb.mi/mi-var-child.c (do_child_deletion): New.
16963 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 16964
1a619819
LM
169652007-11-05 Luis Machado <luisgpm@br.ibm.com>
16966
16967 * gdb.base/printcmds.exp: New function
16968 test_printf_with_dfp.
16969
5b01a6fa
DE
169702007-11-02 Doug Evans <dje@google.com>
16971
16972 * gdb.disasm/t01_mov.s: Remove carriage returns.
16973 * gdb.disasm/t02_mova.s: Ditto.
16974 * gdb.disasm/t03_add.s: Ditto.
16975 * gdb.disasm/t04_sub.s: Ditto.
16976 * gdb.disasm/t05_cmp.s: Ditto.
16977 * gdb.disasm/t06_ari2.s: Ditto.
16978 * gdb.disasm/t07_ari3.s: Ditto.
16979 * gdb.disasm/t08_or.s: Ditto.
16980 * gdb.disasm/t09_xor.s: Ditto.
16981 * gdb.disasm/t10_and.s: Ditto.
16982 * gdb.disasm/t11_logs.s: Ditto.
16983 * gdb.disasm/t12_bit.s: Ditto.
16984 * gdb.disasm/t13_otr.s: Ditto.
16985
ec33ab7f
JK
169862007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16987
16988 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
16989
ae0d01ff
UW
169902007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16991
16992 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
16993 provide DFP support.
16994
55eddb0f
DJ
169952007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
16996
16997 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
16998 Test "set powerpc vector-abi". Skip auto-detection tests for old
16999 toolchains.
17000
7020f05c
PA
170012007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
17002
17003 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
17004 with [string compare].
17005
84bc3db9
PA
170062007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
17007
17008 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
17009 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
17010
5876dc88
LM
170112007-10-25 Luis Machado <luisgpm@br.ibm.com>
17012
17013 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
17014 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
17015 * gdb.opt/Makefile.in: New makefile.
17016 * Makefile.in: Create new directory "gdb.opt".
17017 * configure.ac: Add "gdb.opt" directory.
17018 * configure: Regenerated.
a9c64011 17019
c3ea9a14
DE
170202007-10-25 Doug Evans <dje@google.com>
17021
17022 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
17023 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
17024
a9c64011 170252007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
17026 Thiago Jung Bauermann <bauerman@br.ibm.com>
17027
17028 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
17029 Floating Point expressions.
17030 * gdb.base/dfp-test.exp: new file adding tests for Decimal
17031 Floating Point variables.
17032 * gdb.base/dfp-test.c: new file containing program with Decimal
17033 Floating variables, used by gdb.base/dfp-test.exp.
17034
62a24a2b
DJ
170352007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
17036
17037 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
17038
e7b1eae6
UW
170392007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17040
17041 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
17042 compiling test case with GCC.
17043 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
17044
c641edcc
UW
170452007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17046
17047 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17048 format changes.
17049
5e5ebfe6
MS
170502007-10-18 Michael Snyder <msnyder@specifix.com>
17051
17052 * gdb.base/dbx.exp: Add missing "-re " operator.
17053
e831e7b6
GM
170542007-10-16 Gaius Mulley <gaius@glam.ac.uk>
17055
17056 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
17057 * configure.ac: Removed trailing spaces after backslash.
17058 * gdb.modula2: New directory.
17059 * gdb.modula2/Makefile.in: New file.
17060 * gdb.modula2/unbounded-array.exp: New file.
17061 * gdb.modula2/unbounded1.c: New file.
17062
7cc46491
DJ
170632007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
17064
17065 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
17066
170672007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
17068
17069 * gdb.base/sigstep.c (main): Add checks for
17070 return values for setitimer call.
17071 Call setitimer again with itimer = ITIMER_REAL
17072 if first call to setitimer fails.
17073
e91528f0
KH
170742007-10-11 Kazu Hirata <kazu@codesourcery.com>
17075
17076 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
17077 of $timeout.
17078
2ec9a4f8
DJ
170792007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
17080
17081 * gdb.server/server-run.exp: Test for dynamic linker symbols.
17082
170832007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
17084
17085 * lib/gdb.exp (gdb_run_cmd): Move comment outside
17086 of gdb_expect call, to avoid interruption.
17087
64b2fa04
PA
170882007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
17089
17090 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
17091 (v_unsigned_long_long, v_long_long_array)
17092 (v_signed_long_long_array, v_unsigned_long_long_array)
17093 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
17094 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
17095 [!NO_LONG_LONG]: New.
17096 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
17097 v_long_long_member.
17098
17099 (v_long_long_func, v_signed_long_long_func)
17100 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
17101 (main) [!NO_LONG_LONG]: Initialize long long variants.
17102
17103 * gdb.base/whatis.exp: If board file requests no_long_long, build
17104 test with NO_LONG_LONG defined. Test long long, signed long long,
17105 and unsigned long long variants but only if board file doesn't
17106 disable it.
17107
a912286e 171082007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 17109 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
17110
17111 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
17112 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
17113 * configure: Regenerated.
17114 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
17115 gdb.pascal/types.exp, lib/pascal.exp: New files.
17116
471ba8c9
DJ
171172007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
17118
17119 * gdb.cp/classes.exp (do_tests): Always step to the line after the
17120 call.
17121 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
17122 to return to the call.
17123 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
17124 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
17125 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
17126 * gdb.mi/mi-until.exp (test_until): Likewise.
17127 * gdb.mi/mi2-until.exp (test_until): Likewise.
17128
fef8a650
DJ
171292007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
17130
17131 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
17132 two-char array.
17133 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
17134
d983da9c
DJ
171352007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
17136
17137 * gdb.threads/watchthreads.c (thread_function): Sleep between
17138 iterations.
17139 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
17140 at once for S/390. Generate matching fails and passes.
17141
17f62551
VP
171422007-09-27 Vladimir Prus <vladimir@codesourcery.com>
17143
17144 * gdb.mi/var-cmd.c (do_children_tests): Initialize
17145 the 'struct_declarations' variable to zeros.
a9c64011 17146
ed0616c6
VP
171472007-09-24 Vladimir Prus <vladimir@codesourcery.com>
17148
17149 * gdb.cp/mb-ctor.cc: New.
17150 * gdb.cp/mb-ctor.exp: New.
17151 * gdb.cp/mb-templates.cc: New.
17152 * gdb.cp/mb-templates.exp: New.
17153
41f1b697
DJ
171542007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
17155
17156 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
17157
3f213f78
PA
171582007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
17159
17160 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
17161 targets.
17162 * configure: Regenerate.
17163
0d381245 171642007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 17165
0d381245
VP
17166 * gdb.base/annota1.exp: Adjust for 'info break'
17167 format changes.
17168 * gdb.base/annota3.exp: Likewise.
17169 * gdb.base/break.exp: Likewise.
17170 * gdb.base/condbreak.exp: Likewise.
17171 * gdb.base/pending.exp: Likewise.
17172 * gdb.base/sepdebug.exp: Likewise.
17173 * gdb.base/unload.exp: Likewise.
17174 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 17175
fe3f5fa8
VP
171762007-09-22 Vladimir Prus <vladimir@codesourcery.com>
17177
17178 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
17179 messages.
17180 * gdb.base/chng-syms.exp: Likewise.
17181 * gdb.base/unload.exp: Likewise.
a9c64011 17182
a75cf6c0
DJ
171832007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
17184
17185 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
17186
18ecae38
DJ
171872007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
17188
17189 * schedlock.c (NUM): Change to 1.
17190 (main): Use args[0] for the main thread.
17191 * schedlock.exp: Only expect two threads. Only issue one pass or fail
17192 regardless of the number of threads.
17193
5509918f
MR
171942007-09-14 Maciej W. Rozycki <macro@mips.com>
17195
4a543daf
MR
17196 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
17197 type down.
17198 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
17199 test.
17200 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
17201 watchpoint type down.
17202 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
17203 test.
17204
172052007-09-14 Maciej W. Rozycki <macro@mips.com>
17206
5509918f
MR
17207 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
17208 Move all the tests here and run them twice, once using software
17209 watchpoints and once using hardware watchpoints.
17210 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
17211
40b53987
DJ
172122007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
17213
17214 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
17215 test.
17216
695e2681
MK
172172007-09-10 Mark Kettenis <kettenis@gnu.org>
17218
8b3fc8d8
MK
17219 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
17220 build-id.
17221
695e2681
MK
17222 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
17223 know about $ORIGIN. Calculate output dir from $dest instead of
17224 using ${objdir}/{$subdir}.
17225
58d69f29
MK
172262007-09-09 Mark Kettenis <kettenis@gnu.org>
17227
17228 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
17229 gcore, before continuing with the test.
17230
3e347599
DJ
172312007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
17232
17233 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
17234 * gdb.mi/mi-watch.exp: Likewise.
17235
ea37ba09
DJ
172362007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
17237 Jim Blandy <jimb@codesourcery.com>
17238
17239 * gdb.arch/i386-sse.exp: Do not expect character constants.
17240 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
17241 * gdb.base/display.exp: Allow print/s.
17242 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
17243 and unsigned char array changes.
17244
2025a643
DJ
172452007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
17246
17247 * gdb.base/display.exp: Add tests for printf %p.
17248
26669a27
PA
172492007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
17250
17251 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
17252 the dll name to unicode.
17253
c8f021f8
JK
172542007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17255
17256 * gdb.base/default.exp (show version): Update the version text.
17257 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
17258
4cf31eea
JK
172592007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17260
17261 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
17262 New files.
17263
4935890f
JK
172642007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17265
17266 * lib/gdb.exp (build_id_debug_filename_get): New function.
17267 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
17268 Remove the generate DEBUG file for the future testcase runs.
17269 New testcase for the NT_GNU_BUILD_ID retrieval.
17270 Move the final testing step to ...
17271 (test_different_dir): ... a new function.
17272 New parameter XFAIL to XFAIL all the tests performed.
17273 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
17274 New parameter TYPE to PF_PREFIX all the tests performed.
17275
02142340
VP
172762007-08-31 Vladimir Prus <vladimir@codesourcery.com>
17277
17278 * gdb.mi/mi-var-cp.cc (path_expression): New
17279 function.
17280 * gdb.mi/mi-var-cp.exp: Run path exression tests.
17281
36acd84e
UW
172822007-08-27 Markus Deuling <deuling@de.ibm.com>
17283
17284 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
17285 to fit into SPU Local Store memory.
17286
a896d121
JB
172872007-08-23 Joel Brobecker <brobecker@adacore.com>
17288
17289 * gdb.base/default.exp: Adjust the expected output of "info
17290 warranty" after the switch to GPLv3.
17291
7b433602
JB
172922007-08-23 Joel Brobecker <brobecker@adacore.com>
17293
17294 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
17295 to 30000 (from 20000).
17296
e22f8b7c
JB
172972007-08-23 Joel Brobecker <brobecker@adacore.com>
17298
17299 Switch the license of all .exp files to GPLv3.
17300 Switch the license of all .f and .f90 files to GPLv3.
17301 Switch the license of all .s and .S files to GPLv3.
17302
5a0e3bd0
JB
173032007-08-23 Joel Brobecker <brobecker@adacore.com>
17304
17305 * configure.ac: Switch license to GPLv3.
17306
cc00619d
JB
173072007-08-23 Joel Brobecker <brobecker@adacore.com>
17308
17309 Switch the licensing to GPLv3 for all .ads and .adb files.
17310
8d26208a
DJ
173112007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
17312
17313 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
17314 and t_int_double.
17315 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
17316
4fcb9948
JB
173172007-08-17 Joel Brobecker <brobecker@adacore.com>
17318
17319 * gdb.base/step-line.c: Switch license to GPL version 3, and
17320 update copyright year.
17321 * gdb.base/step-line.inp: Likewise.
17322
b9c34f67
JB
173232007-08-17 Joel Brobecker <brobecker@adacore.com>
17324
17325 * gdb.base/gdb1555.exp: Make expected output immune to formatting
17326 changes inside gdb1555.c.
17327 * gdb.base/pending.exp: Likewise.
17328
2cc17678
DJ
173292007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
17330
17331 * config/default.exp: New file.
17332
e48883f7
DJ
173332007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17334
17335 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
17336 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
17337
1ab80e5b
MR
173382007-07-30 Maciej W. Rozycki <macro@mips.com>
17339
17340 * gdb.base/dump.exp: Force the correct endianness for binary
17341 formats not carrying this information.
17342
aba471f5
DJ
173432007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17344
17345 * gdb.threads/staticthreads.exp: Match .*sem_post.
17346
d4e07204
DJ
173472007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17348
17349 * gdb.base/readline.exp (operate_and_get_next): Match the final
17350 prompt.
17351
2b97317d
KB
173522007-07-23 Kevin Buettner <kevinb@redhat.com>
17353
17354 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
17355 to restarting SID.
17356
44efa07a
KB
173572007-07-18 Kevin Buettner <kevinb@redhat.com>
17358
17359 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
17360 prior to `gdb_start'.
17361
7b5ebade
KB
173622007-07-18 Kevin Buettner <kevinb@redhat.com>
17363
17364 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
17365 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
17366 Remove call to gdb_unload.
17367
255e7678
DJ
173682007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
17369 Daniel Jacobowitz <dan@codesourcery.com>
17370
17371 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
17372 for __WIN32__.
17373 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
17374 * gdb.base/unload.exp: Use shared library test routines.
17375
3a40aaa0
UW
173762007-07-03 Markus Deuling <deuling@de.ibm.com>
17377
17378 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
17379 * gdb.base/solib-symbol-lib.c: Likewise.
17380 * gdb.base/solib-symbol-main.c: Likewise.
17381
b0f4b84b
DJ
173822007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
17383
17384 * config/gdbserver.exp (gdb_reconnect): New.
17385 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
17386 gdb.base/solib-disc.exp: New files.
17387 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
17388 remote debugging".
17389 (gdb_compile): Add shlib_load flag.
17390 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
17391 port.
17392 (gdbserver_reconnect): New.
17393
1b05479a
DJ
173942007-07-01 Nick Roberts <nickrob@snap.net.nz>
17395 Daniel Jacobowitz <dan@codesourcery.com>
17396
17397 * gdb.base/annota3.exp: Test for if construct.
17398
86f78eb2
DJ
173992007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
17400
17401 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
17402
6a2eb474 174032007-06-21 Chris Dearman <chris@mips.com>
a9c64011 17404 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
17405
17406 * gdb.base/display.exp: Allow a newline after display/i.
17407 * gdb.base/pc-fp.exp: Likewise.
17408 * gdb.base/sigbpt.exp: Likewise.
17409
f8b73d13
DJ
174102007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17411
17412 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
17413 required features to be included.
17414
4339e69e
DJ
174152007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
17416
17417 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
17418 in info threads output.
17419
23d964e7
UW
174202007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17421 Markus Deuling <deuling@de.ibm.com>
17422
17423 * gdb.arch/spu-info.exp: New testcase.
17424 * gdb.arch/spu-info.c: New file.
17425
fd20f75b
DJ
174262007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
17427
17428 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
17429 tpcs_offset. Restore lr after the call.
17430 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
17431
2226f861
DJ
174322007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
17433
17434 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
17435 (gdbserver_run): Kill any running gdbserver.
17436 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
17437
d12371a9
MR
174382007-05-17 Maciej W. Rozycki <macro@mips.com>
17439
17440 * gdb.base/sigbpt.exp: Preset segv_addr.
17441
93f02886
DJ
174422007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
17443
17444 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
17445 (gdb_compile_shlib): Likewise.
17446 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
17447 (default_gdb_init): Clear cleanfiles.
17448 (gdb_finish): Delete recorded cleanfiles.
17449 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
17450
17451 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
17452 Do not use isnative.
17453 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
17454 gdb.base/so-impl-ld.exp: Likewise.
17455 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
17456 * gdb.base/unload.exp: Likewise. Do not pass empty option to
17457 gdb_compile.
17458
b04e06d7
VP
174592007-05-15 Vladimir Prus <vladimir@codesourcery.com>
17460
17461 * config/unknown.exp: Remove.
17462
069ed931
UW
174632007-05-15 Markus Deuling <deuling@de.ibm.com>
17464
17465 * gdb.base/info-proc.exp: Check is_remote.
17466
09db0d03
UW
174672007-05-14 Markus Deuling <deuling@de.ibm.com>
17468
17469 * gdb.base/gcore.exp: Initialize variable core_supported.
17470
af2cbe8c
DJ
174712007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17472
17473 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
17474
027c0295
DJ
174752007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17476
17477 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
17478 * gdb.threads/print-threads.exp (test_all_threads): Allow
17479 negative and hexadecimal thread IDs.
17480
dc5000e7
DJ
174812007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17482
17483 * gdb.java/jprint.java (public): Avoid invalid call to static
17484 method.
17485
2e74ed18
DP
174862007-05-14 Denis Pilat <denis.pilat@st.com>
17487
17488 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
17489 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
17490 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
17491 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
17492 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
17493
83547f02
UW
174942007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17495
17496 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 17497 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
17498 this mode.
17499 * gdb.base/ovlymgr.c: Provide stubs for spu target.
17500 * gdb.base/spu.ld: New file.
17501
b18be20d
DJ
175022007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
17503
17504 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
17505
be444858
DJ
175062007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
17507
17508 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
17509
b1d53152
DJ
175102007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17511
17512 * gdb.java/jmain.exp: Handle demangled names with and without method
17513 signatures.
17514
d084b331
DJ
175152007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17516
17517 * gdb.mi/mi-syn-frame.c (main, foo, bar)
17518 (have_a_very_merry_interrupt): Remove calls to puts.
17519 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
17520 inferior output.
17521 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
17522 test names.
17523
db9d7fc5
DJ
175242007-04-29 Markus Deuling <deuling@de.ibm.com>
17525 Daniel Jacobowitz <dan@codesourcery.com>
17526
17527 * gdb.base/auxv.exp (core_works): Also check is_remote.
17528 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
17529
ef783a7d 175302007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 17531
ef783a7d
VP
17532 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
17533 message, not the undefined 'module' variable.
17534 * gdb.base/siginfo.exp: Likewise.
17535 * gdb.base/sigstep.exp: Likewise.
17536 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
17537 serialport.
17538 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
17539
b7b73cae
CV
175402007-04-25 Corinna Vinschen <vinschen@redhat.com>
17541
17542 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
17543 target sim fails. Return 0 otherwise.
17544 (gdb_load): Return prematurely if gdb_target_sim fails.
17545
7d90fdfa
DP
175462007-04-16 Denis Pilat <denis.pilat@st.com>
17547
17548 * gdb.base/setshow.exp: Reset height after having set it to 100.
17549
5d3e9c85
DP
175502007-04-16 Denis Pilat <denis.pilat@st.com>
17551
17552 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
17553
18e75969
DP
175542007-04-16 Denis Pilat <denis.pilat@st.com>
17555
17556 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
17557
25d5ea92
VP
175582007-04-14 Vladimir Prus <vladimir@codesourcery.com>
17559
17560 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
17561 tests. Run the frozen varobjs test.
17562 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 17563 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 17564
0b49cb80
JK
175652007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17566
17567 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
17568 gdb.base/type-opaque.exp: New files.
17569
a73bafbc 175702007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
17571
17572 * gdb.mi/mi-var-child.c
a73bafbc
VP
17573 (do_children_tests): User char[2] instead of
17574 char so that automatic printing of pointers to char
17575 don't give unpredicable result.
17576 * gdb.mi/var-cmd.c (do_locals_test): Initialize
17577 local variables.
17578 * gdb.mi/mi-var-child.exp: Step to right line
17579 of do_children_tests.
17580 * gdb.mi/mi2-var-child.exp: Likewise.
17581 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 17582 do_locals_tests.
a73bafbc
VP
17583 (do_children_tests): User char[2] instead of
17584 char so that automatic printing of pointers to char
a9c64011 17585 don't give unpredicable result.
a73bafbc 17586 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 17587 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
17588 Pass test name to mi_wait_for_stop.
17589
7ce59000
DJ
175902007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17591
17592 * gdb.asm/asm-source.exp: Remove d10v case.
17593 * lib/gdb.exp (skip_cplus_tests): Likewise.
17594 * gdb.asm/d10v.inc: Deleted.
17595
20389057
DJ
175962007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17597
17598 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
17599
8807d78b
DJ
176002007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17601
17602 * config/netware.exp: Delete file.
17603
aa3edb8e
JB
176042007-03-29 Joel Brobecker <brobecker@adacore.com>
17605
17606 * gdb.dwarf2/dw2-noloc.S: New file.
17607 * gdb.dwarf2/dw2-noloc.exp: New file.
17608
297561ac
PA
176092007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
17610
17611 * gdb.cp/method2.cc: New test.
17612 * gdb.cp/method2.exp: New test.
17613 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
17614
1f81bd39
DJ
176152007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17616
17617 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
17618
9453113a
DJ
176192007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
17620
17621 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
17622
b741e217
DJ
176232007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17624
17625 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
17626 (gdb_load): Delete, replace with...
17627 (gdb_reload): ...this.
17628 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
17629 * gdb.server/server-mon.exp: Likewise.
17630 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
17631 (gdb_start_cmd): New.
17632 (gdb_file_cmd): Save the last loaded file.
17633 (gdb_reload): New.
17634 (gdb_gnu_strip_debug): Use transform.
17635 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
17636 support here. Use new $last_loaded_file. Check mtime.
17637 (gdb_target_cmd): Handle ObjC failure case.
17638 (infer_host_exec): Delete.
17639 (gdbserver_load): Rename to...
17640 (gdbserver_run): ...this. Simplify.
17641 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
17642 (mi_gdb_load): Move most contents to a new function...
17643 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
17644 (mi_run_cmd): Use mi_gdb_target_load.
17645 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
17646 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
17647 Use gdb_run_cmd.
17648 * gdb.base/charsign.exp: Remove incorrect comment.
17649 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
17650 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
17651 gdb.base/start.exp: Use gdb_start_cmd.
17652
446ab585 176532007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 17654 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
17655
17656 * gdb.base/sigbpt.exp: Fix the message when skipping test.
17657 * gdb.base/signull.exp: Similarly.
17658
bbb88ebf
UW
176592007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17660
17661 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
17662 messages available to test cases (like chng-sym.exp).
17663
cb8c4a99
AS
176642007-03-14 Andreas Schwab <schwab@suse.de>
17665
17666 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17667 format changes.
17668
4e463ff5
DJ
176692007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
17670
17671 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
17672 (optimized_1): New.
17673 (main): Call optimized_1.
17674 (gdb2029): Correct typos. Call gdb2029_marker.
17675 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
17676 for gdb2029.
17677
b6db2c47
MK
176782007-03-12 Mark Kettenis <kettenis@gnu.org>
17679
17680 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
17681 as tabs. Remove redundant test pattern.
17682
70ed3737
UW
176832007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17684
17685 * gdb.base/long_long.exp: Accept optional symbol name in <...>
17686 for /a format output.
17687
47b67b60
DJ
176882007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
17689
17690 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
17691 collect output incrementally.
17692
b8953b0e
UW
176932007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17694
17695 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
17696 for -var-create lpcharacter test.
17697 * gdb.mi/mi2-var-cmd.exp: Likewise.
17698
7acd5c40
UW
176992007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17700
17701 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
17702 pass on targets where address zero is readable.
17703
9c6759c1
UW
177042007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17705
17706 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
17707 just a single architecture.
17708
a2f1aeb4
UW
177092007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17710
17711 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
17712 (fetch_all_registers): New function, uses gdb_test_multiple and
17713 exp_continue to fetch inferior output line-by-line.
17714 Replace all uses of do_get_all_registers by fetch_all_registers.
17715
46579ac2
UW
177162007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17717
17718 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
17719 in target_info.
17720
fc133f24
MS
177212007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17722
a9c64011 17723 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
17724 consistancy; add a default (timeout) case.
17725
7646a51d
MS
177262007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17727
17728 * gdb.base/watchpoint.exp: Fix truncated comment.
17729
dcfff61f
MS
177302007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17731
17732 * Makefile.in: Remove spurious single-quotes from sed command.
17733
664e3ee9
DJ
177342007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
17735
17736 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
17737 func.
17738 * gdb.mi/mi2-var-cmd.exp: Likewise.
17739
d7cc6f2f
JB
177402007-02-27 Joel Brobecker <brobecker@adacore.com>
17741
a9c64011
AS
17742 * gdb.dwarf2/dw2-producer.S: New file.
17743 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
17744
177452007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
17746
17747 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17748 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17749 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17750 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17751 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17752 Revert tests to use mi_gdb_test and include value field in output
17753 of -var-create.
17754
93d42b30
DJ
177552007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17756
17757 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
17758
c499ed39
DJ
177592007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17760
17761 * gdb.base/maint.exp: Remove full paths from test names.
17762 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
17763 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
17764
9836f81b
JB
177652007-02-27 Joel Brobecker <brobecker@adacore.com>
17766
17767 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
17768
c74d0ad8
DJ
177692007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17770
17771 * gdb.server/server-mon.exp: New test.
17772
2711e456
DJ
177732007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17774
17775 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
17776
ff6f572f
DJ
177772007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17778
17779 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
17780 register capitalization.
17781
fada3feb
DP
177822007-02-13 Denis Pilat <denis.pilat@st.com>
17783
17784 * gdb.mi/mi-var-invalidate.exp: New file.
17785
fb1e4ffc
DJ
177862007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17787
17788 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
17789
3da939d7
DJ
177902007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17791
17792 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
17793
123dc839
DJ
177942007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17795
17796 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
17797 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
17798
877e3645 177992007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
17800
17801 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17802 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17803 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17804 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17805 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 17806 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 17807 Update tests to include value field in output of -var-create.
a9c64011 17808
3c0a2960
AS
178092007-02-08 Andreas Schwab <schwab@suse.de>
17810
17811 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
17812
108546a0
DJ
178132007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
17814
17815 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
17816 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
17817
d701dcab
DP
178182007-02-02 Denis Pilat <denis.pilat@st.com>
17819
17820 * gdb.threads/threadapply.exp: check that frame is not changed by
17821 the thread apply all command.
17822
783e3e2f
AS
178232007-01-31 Andreas Schwab <schwab@suse.de>
17824
6d9c3a87
AS
17825 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
17826
3c50d7b9
AS
17827 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
17828 in the dwarf sections.
17829 * gdb.dwarf2/mac-fileno.S: Likewise.
17830
783e3e2f
AS
17831 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
17832 bspstore register on ia64.
17833
78ff580e
AS
178342007-01-29 Andreas Schwab <schwab@suse.de>
17835
cc8e9b12
AS
17836 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
17837 "frame-begin" annotation.
17838
78ff580e
AS
17839 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
17840 number of "frames-invalid" annotations.
17841
704a4f78
DJ
178422007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
17843
17844 * gdb.base/commands.exp: Call if_commands_test.
17845 (gdb_test_no_prompt, if_commands_test): New.
17846
e741bf94
MK
178472007-01-28 Mark Kettenis <kettenis@gnu.org>
17848
17849 * gdb.threads/sigthread.c (NSIGS): Make bigger.
17850
474d0ad3
AS
178512007-01-27 Andreas Schwab <schwab@suse.de>
17852
17853 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
17854 .short/.int/.quad in the dwarf sections.
17855 * gdb.dwarf2/dw2-intercu.S: Likewise.
17856 * gdb.dwarf2/dw2-intermix.S: Likewise.
17857
e784b426
JK
178582007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17859
17860 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
17861 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
17862 array.
e784b426
JK
17863 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
17864 * gdb.base/setvar.exp: Likewise.
17865
37f08e04
AS
178662007-01-26 Andreas Schwab <schwab@suse.de>
17867
9a01813a
AS
17868 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
17869 test.
17870
37f08e04
AS
17871 * gdb.base/multi-forks.exp ("restart $i"): Also match
17872 __kernel_syscall_via_break.
17873
6e2a9270
VP
178742007-01-24 Vladimir Prus <vladimir@codesourcery.com>
17875
17876 * lib/mi-support.exp (mi_delete_varobj): New.
17877 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
17878 testcase.
17879 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
17880 (main): Call the above.
17881 (reference_update_test, base_in_reference_test)
17882 (reference_to_pointer): Delete the created varobjs.
a9c64011 17883
e515b470
DJ
178842007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
17885
17886 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
17887 * configure: Regenerated.
17888 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
17889 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
17890 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
17891 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
17892 * lib/gdb.exp (gdb_skip_xml_test): New function.
17893
08d8bcd7
DJ
178942007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
17895
17896 * gdb.base/sigrepeat.exp: Correct error message.
17897
178982007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
17899 Daniel Jacobowitz <dan@codesourcery.com>
17900
17901 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
17902 gdb.arch/i386-gnu-cfi-asm.S: New files.
17903
97c3f1f3
JK
179042007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17905
17906 * lib/gdb.exp: Abort on missing `site.exp'.
17907
cb1df416
DJ
179082007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17909 Daniel Jacobowitz <dan@codesourcery.com>
17910
17911 * gdb.base/included.c, gdb.base/included.exp,
17912 gdb.base/included.h: New files.
17913
35990120
DJ
179142007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
17915
17916 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
17917 (maximize_rlimit): Reduce limits on 64-bit systems.
17918
6e81a116 179192007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
17920
17921 From Marcus Deuling <deuling@de.ibm.com>:
17922 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
17923 every case.
17924
6c3c41f3
NR
179252007-01-13 Nick Roberts <nickrob@snap.net.nz>
17926
17927 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
17928 (test_path_specification): Use objdir instead of srcdir to always
17929 get an absolute filename.
17930
2f12c312
DJ
179312007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
17932
17933 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
17934
81121995
VP
179352007-01-11 Vladimir Prus <vladimir@codesourcery.com>
17936
17937 * gdb.mi/mi-var-cp.cc (reference_update_tests):
17938 Make sure the variable we're using is in scope.
17939 (reference_to_pointer): Likewise.
17940
4741b737
DJ
179412007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
17942
17943 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
17944 has no debug information.
17945
054410c3
DJ
179462007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
17947
17948 * gdb.base/annota1.exp: Remove extra send_gdb.
17949
818f79f6
DJ
179502007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17951
17952 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
17953
f7a6bb70
DJ
179542007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17955
17956 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
17957
57e66780
DJ
179582007-01-08 Nick Roberts <nickrob@snap.net.nz>
17959 Daniel Jacobowitz <dan@codesourcery.com>
17960
17961 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
17962 lcharacter or linteger change. Correct duplicated test name.
17963 * gdb.mi/mi2-var-cmd.exp: Likewise.
17964
3d799a95
DJ
179652007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
17966
17967 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
17968
179692007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 17970
a9c64011
AS
17971 * gdb.base/nofield.c: New file.
17972 * gdb.base/nofield.exp: New testcase.
51679ba9 17973
eafb94e8
NR
179742007-01-05 Nick Roberts <nickrob@snap.net.nz>
17975
17976 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
17977
17978 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
17979 test.
17980
5e572bb4
DJ
179812007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
17982
17983 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
17984
74a44383
DJ
179852007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
17986
17987 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
17988 when continuing.
17989
1b572db9
DJ
179902007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17991
17992 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
17993 Expect ".exe" extension.
17994
381bc39b
DJ
179952007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17996
17997 * gdb.base/charset.exp: Add explicit filename to break.
17998 * gdb.base/dbx.exp: Add explicit filename to breaks.
17999
2b70e4c6
DJ
180002007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18001
18002 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
18003 * gdb.mi/mi2-file.exp: Likewise.
18004
303b6f5d
DJ
180052007-01-04 Vladimir Prus <vladimir@codesourcery.com>
18006
18007 Implement specification of MI tests as comments
18008 in C and C++ sources.
18009 * lib/mi-support.exp (mi_autotest_data): New variable.
18010 (mi_autotest_source): New variable.
18011 (count_newlines, mi_prepare_inline_tests)
18012 (mi_get_inline_test, mi_continue_to_line)
18013 (mi_run_inline_test, mi_tbreak)
18014 (mi_send_resuming_command, mi_wait_for_stop): New functions.
18015 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
18016 Run inline tests.
18017 * gdb.mi/mi-var-cp.cc: Define tests here.
18018
23da0d94
VP
180192007-01-04 Vladimir Prus <vladimir@codesourcery.com>
18020
18021 Simplify usage of mi_continue_to.
18022 * lib/mi-support.exp (mi_runto_helper): Renamed
18023 from mi_runto, added new parameter 'run_or_continue'.
18024 (mi_runto): Use mi_runto_helper.
18025 (mi_continue_to): Accept just function name as parameter.
18026 Use mi_runto_helper.
18027 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
18028 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 18029
f9e18282
JB
180302006-01-04 Joel Brobecker <brobecker@adacore.com>
18031
18032 Make this testcase a bit more realistic. The current code
18033 is too simplistic, and allows the compiler to optimize out
18034 some of the entities we need for this testcase.
18035 * gdb.ada/null_record/bar.ads (Void_Star): New type.
18036 (Do_Nothing): Add extra parameter.
18037 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
18038 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
18039 by using a variable of type Void_Star.
18040
fd678c65
JB
180412006-01-04 Joel Brobecker <brobecker@adacore.com>
18042
18043 * gdb.ada/catch_ex/foo.adb: New file.
18044 * gdb.ada/catch_ex.exp: New testcase.
18045
05cfdb42
DJ
180462007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
18047
18048 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
18049 pass --image-base to linker.
18050
2e03ee74
DJ
180512007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18052 Daniel Jacobowitz <dan@codesourcery.com>
18053
18054 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
18055 secondary prompts.
18056
0d5de010
DJ
180572007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
18058
18059 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
18060 output. Test the types of members and member pointers.
18061 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
18062 gdb/2092.
18063 * gdb.cp/member-ptr.exp: Search for a comment instead of a
18064 statement. Enable for GCC. Update expected output for some tests
18065 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
18066 layout.
18067 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
18068 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
18069 (Diamond::vget_base): New.
18070 (main): Add new tests.
18071 * gdb.cp/printmethod.exp: Update expected output for member functions.
18072 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
18073 print pEe->D::vg().
18074
61a771aa
DJ
180752007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
18076
18077 * gdb.threads/tls.exp: Allow stops in sem_post.
18078
2fa63963
DJ
180792006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
18080
18081 * gdb.base/annota1.exp: Allow .*printf in backtraces.
18082 * gdb.base/annota3.exp: Likewise.
18083 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
18084 again (instead of timing out).
18085 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
18086 GCC bug 26475.
18087 * gdb.java/jmisc.exp: Adjust to work with method signatures including
18088 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
18089 test from jmisc1.exp.
18090 * gdb.java/jmisc1.exp: Delete.
18091 * gdb.java/jprint.exp: Adjust to work with method signatures including
18092 return types.
18093 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
18094 * gdb.threads/linux-dp.exp: Don't be confused by program output.
18095 * lib/java.exp (compile_java_from_source): Pass the correct type
18096 to target_compile.
18097
5eefc2b7
JB
180982006-12-31 Joel Brobecker <brobecker@adacore.com>
18099
18100 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
18101 (stack_align_edx): New function.
18102 (stack_align_eax): New function.
18103 (main): Add calls to stack_align_edx and stack_align_eax.
18104 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
18105 Add testing for the cases where the register used during a stack
18106 realignment is edx. Same for eax.
18107
227c54da
DJ
181082006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
18109
18110 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
18111 and generic PE targets.
18112
cab8ac94
JB
181132006-12-29 Joel Brobecker <brobecker@adacore.com>
18114
18115 * gdb.ada/array_return.exp: Update copyright date list.
18116
ba54f318
JB
181172006-12-27 Joel Brobecker <brobecker@adacore.com>
18118
18119 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
18120 (Create_Small_Float_Vector): New function.
18121 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
18122 function body.
18123 * gdb.ada/array_return/p.adb: Use new type and function from
18124 package Pck.
18125 * gdb.ada/array_return.exp: Add a test verifying that GDB is
18126 able to print the value returned by a function returning an
18127 array of float.
18128
6b7a35dd
JB
181292006-12-20 Joel Brobecker <brobecker@adacore.com>
18130
18131 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
18132 The associated tests should be PASSing.
18133
038224f6
VP
181342006-12-08 Vladimir Prus <vladimir@codesourcery.com>
18135
18136 Test for base in references.
18137 * gdb.mi/mi-var-cp.cc: Add test code.
18138 * gdb.mi/mi-var-cp.exp: Test for bases in references.
18139 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
18140 * gdb.mi/mi2-watch.exp: Likewise.
18141 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
18142 (mi_list_varobj_children): New function.
18143
b26ed50d
VP
181442006-12-08 Vladimir Prus <vladimir@codesourcery.com>
18145
18146 * lib/mi-support.exp
18147 (mi_runto): Accept "()" after function name.
18148 (mi_create_varobj): New function.
18149 (mi_varobj_update): New function.
18150 (mi_Check_varobj_value): New function.
18151 * gdb.mi/mi-var-cp.exp: New file.
18152 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 18153
08232497
DJ
181542006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
18155
18156 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
18157 gdb.base/weaklib2.c: New files.
18158
d394c993 181592006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 18160
ac6c2fba
NS
18161 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
18162 info. Adjust test names.
18163
8ec659a0 18164 * gdb.base/break.c (main): Move position of malloc.
d394c993 18165 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 18166
acd65feb
VP
181672006-11-28 Vladimir Prus <vladimir@codesourcery.com>
18168
18169 * gdb.mi/mi-var-cmd.exp: Check -var-update after
18170 assignement of arrays and function pointers.
18171 * gdb.mi/var-cmd.c: Add declaration necessary for above
18172 tests.
18173
f556d5e5
NS
181742006-11-27 Nathan Sidwell <nathan@codesourcery.com>
18175
18176 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
18177
18178 * gdb.threads/linux-dp.exp: Read thread table before and after
18179 creating each philosopher and verify it.
18180
697bc68d
NS
181812006-11-27 Nathan Sidwell <nathan@codesourcery.com>
18182 Paul Brook <paul@codesourcery.com>
18183 Daniel Jacobowitz <dan@codesourcery.com>
18184
18185 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 18186 main to remove duplication. Add start function of the form
697bc68d
NS
18187 '_*start[1-9]*'. Add RVDS start function.
18188
29d73ae4
DJ
181892006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
18190
18191 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
18192
c1d88655
UW
181932006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18194
18195 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
18196 * gdb.asm/spu.inc: New file.
18197 * gdb.base/term.exp: Disable if [target_info exists noargs].
18198 * gdb.gdb/complaints.exp: Disable if ![isnative].
18199 * gdb.gdb/selftest.exp: Likewise.
18200 * gdb.gdb/observer.exp: Likewise.
18201 * gdb.gdb/xfullpath.exp: Likewise.
18202 * gdb.base/attach.exp: Disable on SPU target.
18203 * gdb.cp/bs145503.exp: Likewise.
18204 * gdb.cp/exception.exp: Likewise.
18205 * gdb.cp/userdef.exp: Likewise.
18206
32a13b1a
DJ
182072006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
18208
18209 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
18210
d8295fe9
VP
182112006-11-10 Vladimir Prus <vladimir@codesourcery.com>
18212
18213 * gdb.base/completion.exp: Fix completion tests for
18214 'info' and 'info '.
18215 * gdb.base/help.exp (help_test_raw, test_class_help)
18216 (test_prefix_command_help): Move...
18217 * lib/gdb.exp: Here.
18218 * gdb.base/main.exp: Adjust.
18219 * gdb.cp/maint.exp: Adjust.
18220 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 18221
8c394015
VP
182222006-11-09 Vladimir Prus <vladimir@codesourcery.com>
18223
18224 * gdb.stabs/weird.exp (print_weird_var): Use
18225 gdb_test_multiple instead of gdb_expect.
18226
027fc1bc
VP
182272006-11-09 Vladimir Prus <vladimir@codesourcery.com>
18228
18229 * gdb.base/help.exp (help_test_raw): New.
18230 (test_class_help): New.
18231 (test_prefix_command_help): New.
18232 Adjust testcases.
18233
67609209
FR
182342006-11-09 Christophe Lyon <christophe.lyon@st.com>
18235
18236 * gdb.base/constvars.c (main): Write to crass and crips, so that
18237 they are allocated by the compiler.
18238
f73adfeb
AS
182392006-10-27 Andreas Schwab <schwab@suse.de>
18240
18241 * gdb.base/multi-forks.exp: Use "detach fork" instead of
18242 "detach-fork".
18243
2f83a18e
DJ
182442006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
18245
18246 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
18247 of patterns.
18248
94277a38
DJ
182492006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
18250
18251 * gdb.base/sepdebug.exp: Remove debug format test.
18252 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
18253 Handle no-symtab.
18254 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
18255
5bd2f6e2
DJ
182562006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
18257
18258 * gdb.threads/manythreads.c (thread_function, main): Don't cast
18259 int to pointer or pointer to int.
18260 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
18261
8c008720
DJ
182622006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
18263
18264 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
18265
9e35dae4
DJ
182662006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18267
18268 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
18269
d9639e13
DJ
182702006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
18271
18272 PR c++/2116
18273 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
18274
390a1bd0
JB
182752006-10-06 Joel Brobecker <brobecker@adacore.com>
18276
18277 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
18278 the corresponding bug has been fixed in GDB (PR/2018).
18279
dd920c33
JB
182802006-10-06 Joel Brobecker <brobecker@adacore.com>
18281
18282 * gdb.base/subst.exp: New testcase.
18283
53bbefe9
JB
182842006-10-06 Joel Brobecker <brobecker@adacore.com>
18285
18286 * gdb.ada/array_return/pck.ads: Add copyright notice.
18287 * gdb.ada/array_return/pck.adb: Likewise.
18288 * gdb.ada/array_return/p.adb: Likewise.
18289 * gdb.ada/exec_changed/first.adb: Likewise.
18290 * gdb.ada/exec_changed/second.adb: Likewise.
18291
09851417
JB
182922006-10-06 Joel Brobecker <brobecker@adacore.com>
18293
18294 * gdb.ada/watch_arg/watch.adb: New file.
18295 * gdb.ada/watch_arg.exp: New testcase.
18296
041bf30d
VP
182972006-10-02 Vladimir Prus <vladimir@codesourcery.com>
18298
18299 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 18300 via string_to_regexp.
041bf30d 18301 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 18302
f286fbdd 183032006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
18304
18305 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
18306 Remove unused / obsolete files.
18307
7c07f349
NR
183082006-09-19 Nick Roberts <nickrob@snap.net.nz>
18309
18310 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
18311
cd5ff84a
VP
183122006-09-17 Vladimir Prus <vladimir@codesourcery.com>
18313
18314 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
18315 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 18316 the number of frames.
cd5ff84a 18317
ae018d1a
DJ
183182006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
18319
18320 * gdb.base/args.c (main): Add breakpoint marker.
18321 * gdb.base/args.exp: Use args_test for tests. Add new tests which
18322 really test empty arguments.
18323 (args_load): Delete.
18324 (args_test): New.
18325
b399c549
NR
183262006-09-13 Nick Roberts <nickrob@snap.net.nz>
18327
18328 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 18329 check for one file.
b399c549 18330
2ab1eb7a
VP
183312006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
18332
18333 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
18334 HIGH_FRAME argument to -stack-list-locals can be larger than
18335 the number of frames.
a9c64011 18336
476308bf
FF
183372006-08-18 Fred Fish <fnf@specifix.com>
18338
18339 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
18340 '$' in front of skip_vmx_tests_saved when setting that.
18341
8625200f
AS
183422006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
18343
18344 * gdb.base/trace-commands.exp: New file.
18345
089ec8f1
DJ
183462006-08-10 Joel Brobecker <brobecker@adacore.com>
18347 Daniel Jacobowitz <dan@codesourcery.com>
18348
18349 * gdb.base/step-bt.exp: Make hexadecimal address optional in
18350 expected output of the backtrace commands.
18351
b60f0898
JB
183522006-08-09 Joel Brobecker <brobecker@adacore.com>
18353
18354 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
18355 untested followed by return combination.
18356 * gdb.arch/altivec-regs.exp: Likewise.
18357 * gdb.arch/e500-abi.exp: Likewise.
18358 * gdb.arch/e500-regs.exp: Likewise.
18359 * gdb.arch/gdb1291.exp: Likewise.
18360 * gdb.arch/gdb1431.exp: Likewise.
18361 * gdb.arch/gdb1558.exp: Likewise.
18362 * gdb.arch/i386-prologue.exp: Likewise.
18363 * gdb.arch/i386-unwind.exp: Likewise.
18364 * gdb.asm/asm-source.exp: Likewise.
18365 * gdb.base/a2-run.exp: Likewise.
18366 * gdb.base/advance.exp: Likewise.
18367 * gdb.base/all-bin.exp: Likewise.
18368 * gdb.base/annota1.exp: Likewise.
18369 * gdb.base/annota3.exp: Likewise.
18370 * gdb.base/args.exp: Likewise.
18371 * gdb.base/arithmet.exp: Likewise.
18372 * gdb.base/assign.exp: Likewise.
18373 * gdb.base/async.exp: Likewise.
18374 * gdb.base/attach.exp: Likewise.
18375 * gdb.base/bang.exp: Likewise.
18376 * gdb.base/bigcore.exp: Likewise.
18377 * gdb.base/bitfields.exp: Likewise.
18378 * gdb.base/bitfields2.exp: Likewise.
18379 * gdb.base/break.exp: Likewise.
18380 * gdb.base/call-sc.exp: Likewise.
18381 * gdb.base/call-strs.exp: Likewise.
18382 * gdb.base/callfuncs.exp: Likewise.
18383 * gdb.base/checkpoint.exp: Likewise.
18384 * gdb.base/chng-syms.exp: Likewise.
18385 * gdb.base/code-expr.exp: Likewise.
18386 * gdb.base/commands.exp: Likewise.
18387 * gdb.base/completion.exp: Likewise.
18388 * gdb.base/cond-expr.exp: Likewise.
18389 * gdb.base/condbreak.exp: Likewise.
18390 * gdb.base/consecutive.exp: Likewise.
18391 * gdb.base/constvars.exp: Likewise.
18392 * gdb.base/corefile.exp: Likewise.
18393 * gdb.base/cvexpr.exp: Likewise.
18394 * gdb.base/dbx.exp: Likewise.
18395 * gdb.base/define.exp: Likewise.
18396 * gdb.base/detach.exp: Likewise.
18397 * gdb.base/display.exp: Likewise.
18398 * gdb.base/dump.exp: Likewise.
18399 * gdb.base/ena-dis-br.exp: Likewise.
18400 * gdb.base/ending-run.exp: Likewise.
18401 * gdb.base/environ.exp: Likewise.
18402 * gdb.base/eval-skip.exp: Likewise.
18403 * gdb.base/exprs.exp: Likewise.
18404 * gdb.base/fileio.exp: Likewise.
18405 * gdb.base/finish.exp: Likewise.
18406 * gdb.base/float.exp: Likewise.
18407 * gdb.base/foll-exec.exp: Likewise.
18408 * gdb.base/foll-fork.exp: Likewise.
18409 * gdb.base/foll-vfork.exp: Likewise.
18410 * gdb.base/freebpcmd.exp: Likewise.
18411 * gdb.base/funcargs.exp: Likewise.
18412 * gdb.base/gcore.exp: Likewise.
18413 * gdb.base/gdb1090.exp: Likewise.
18414 * gdb.base/gdb1250.exp: Likewise.
18415 * gdb.base/huge.exp: Likewise.
18416 * gdb.base/info-proc.exp: Likewise.
18417 * gdb.base/interrupt.exp: Likewise.
18418 * gdb.base/jump.exp: Likewise.
18419 * gdb.base/langs.exp: Likewise.
18420 * gdb.base/lineinc.exp: Likewise.
18421 * gdb.base/list.exp: Likewise.
18422 * gdb.base/logical.exp: Likewise.
18423 * gdb.base/long_long.exp: Likewise.
18424 * gdb.base/macscp.exp: Likewise.
18425 * gdb.base/maint.exp: Likewise.
18426 * gdb.base/mips_pro.exp: Likewise.
18427 * gdb.base/miscexprs.exp: Likewise.
18428 * gdb.base/multi-forks.exp: Likewise.
18429 * gdb.base/opaque.exp: Likewise.
18430 * gdb.base/overlays.exp: Likewise.
18431 * gdb.base/pc-fp.exp: Likewise.
18432 * gdb.base/pointers.exp: Likewise.
18433 * gdb.base/printcmds.exp: Likewise.
18434 * gdb.base/psymtab.exp: Likewise.
18435 * gdb.base/ptype.exp: Likewise.
18436 * gdb.base/recurse.exp: Likewise.
18437 * gdb.base/relational.exp: Likewise.
18438 * gdb.base/relocate.exp: Likewise.
18439 * gdb.base/remote.exp: Likewise.
18440 * gdb.base/reread.exp: Likewise.
18441 * gdb.base/restore.exp: Likewise.
18442 * gdb.base/return.exp: Likewise.
18443 * gdb.base/return2.exp: Likewise.
18444 * gdb.base/scope.exp: Likewise.
18445 * gdb.base/sect-cmd.exp: Likewise.
18446 * gdb.base/sep.exp: Likewise.
18447 * gdb.base/sepdebug.exp: Likewise.
18448 * gdb.base/setshow.exp: Likewise.
18449 * gdb.base/setvar.exp: Likewise.
18450 * gdb.base/sigall.exp: Likewise.
18451 * gdb.base/sigbpt.exp: Likewise.
18452 * gdb.base/signals.exp: Likewise.
18453 * gdb.base/signull.exp: Likewise.
18454 * gdb.base/sizeof.exp: Likewise.
18455 * gdb.base/solib.exp: Likewise.
18456 * gdb.base/step-line.exp: Likewise.
18457 * gdb.base/step-test.exp: Likewise.
18458 * gdb.base/structs.exp: Likewise.
18459 * gdb.base/structs2.exp: Likewise.
18460 * gdb.base/term.exp: Likewise.
18461 * gdb.base/twice.exp: Likewise.
18462 * gdb.base/until.exp: Likewise.
18463 * gdb.base/varargs.exp: Likewise.
18464 * gdb.base/volatile.exp: Likewise.
18465 * gdb.base/watchpoint.exp: Likewise.
18466 * gdb.base/whatis-exp.exp: Likewise.
18467 * gdb.base/whatis.exp: Likewise.
18468 * gdb.cp/ambiguous.exp: Likewise.
18469 * gdb.cp/annota2.exp: Likewise.
18470 * gdb.cp/annota3.exp: Likewise.
18471 * gdb.cp/bool.exp: Likewise.
18472 * gdb.cp/breakpoint.exp: Likewise.
18473 * gdb.cp/casts.exp: Likewise.
18474 * gdb.cp/class2.exp: Likewise.
18475 * gdb.cp/classes.exp: Likewise.
18476 * gdb.cp/cplusfuncs.exp: Likewise.
18477 * gdb.cp/ctti.exp: Likewise.
18478 * gdb.cp/derivation.exp: Likewise.
18479 * gdb.cp/exception.exp: Likewise.
18480 * gdb.cp/gdb1355.exp: Likewise.
18481 * gdb.cp/hang.exp: Likewise.
18482 * gdb.cp/inherit.exp: Likewise.
18483 * gdb.cp/local.exp: Likewise.
18484 * gdb.cp/m-data.exp: Likewise.
18485 * gdb.cp/m-static.exp: Likewise.
18486 * gdb.cp/member-ptr.exp: Likewise.
18487 * gdb.cp/method.exp: Likewise.
18488 * gdb.cp/misc.exp: Likewise.
18489 * gdb.cp/namespace.exp: Likewise.
18490 * gdb.cp/overload.exp: Likewise.
18491 * gdb.cp/ovldbreak.exp: Likewise.
18492 * gdb.cp/pr-1023.exp: Likewise.
18493 * gdb.cp/pr-1210.exp: Likewise.
18494 * gdb.cp/pr-574.exp: Likewise.
18495 * gdb.cp/printmethod.exp: Likewise.
18496 * gdb.cp/psmang.exp: Likewise.
18497 * gdb.cp/ref-params.exp: Likewise.
18498 * gdb.cp/ref-types.exp: Likewise.
18499 * gdb.cp/rtti.exp: Likewise.
18500 * gdb.cp/templates.exp: Likewise.
18501 * gdb.cp/try_catch.exp: Likewise.
18502 * gdb.cp/userdef.exp: Likewise.
18503 * gdb.cp/virtfunc.exp: Likewise.
18504 * gdb.disasm/am33.exp: Likewise.
18505 * gdb.disasm/h8300s.exp: Likewise.
18506 * gdb.disasm/mn10300.exp: Likewise.
18507 * gdb.disasm/sh3.exp: Likewise.
18508 * gdb.disasm/t01_mov.exp: Likewise.
18509 * gdb.disasm/t02_mova.exp: Likewise.
18510 * gdb.disasm/t03_add.exp: Likewise.
18511 * gdb.disasm/t04_sub.exp: Likewise.
18512 * gdb.disasm/t05_cmp.exp: Likewise.
18513 * gdb.disasm/t06_ari2.exp: Likewise.
18514 * gdb.disasm/t07_ari3.exp: Likewise.
18515 * gdb.disasm/t08_or.exp: Likewise.
18516 * gdb.disasm/t09_xor.exp: Likewise.
18517 * gdb.disasm/t10_and.exp: Likewise.
18518 * gdb.disasm/t11_logs.exp: Likewise.
18519 * gdb.disasm/t12_bit.exp: Likewise.
18520 * gdb.disasm/t13_otr.exp: Likewise.
18521 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
18522 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
18523 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18524 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
18525 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
18526 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18527 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18528 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18529 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
18530 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
18531 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18532 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18533 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18534 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18535 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18536 * gdb.mi/gdb701.exp: Likewise.
18537 * gdb.mi/gdb792.exp: Likewise.
18538 * gdb.mi/mi-basics.exp: Likewise.
18539 * gdb.mi/mi-break.exp: Likewise.
18540 * gdb.mi/mi-cli.exp: Likewise.
18541 * gdb.mi/mi-console.exp: Likewise.
18542 * gdb.mi/mi-disassemble.exp: Likewise.
18543 * gdb.mi/mi-eval.exp: Likewise.
18544 * gdb.mi/mi-file.exp: Likewise.
18545 * gdb.mi/mi-read-memory.exp: Likewise.
18546 * gdb.mi/mi-regs.exp: Likewise.
18547 * gdb.mi/mi-return.exp: Likewise.
18548 * gdb.mi/mi-simplerun.exp: Likewise.
18549 * gdb.mi/mi-stack.exp: Likewise.
18550 * gdb.mi/mi-stepi.exp: Likewise.
18551 * gdb.mi/mi-syn-frame.exp: Likewise.
18552 * gdb.mi/mi-until.exp: Likewise.
18553 * gdb.mi/mi-var-block.exp: Likewise.
18554 * gdb.mi/mi-var-child.exp: Likewise.
18555 * gdb.mi/mi-var-cmd.exp: Likewise.
18556 * gdb.mi/mi-var-display.exp: Likewise.
18557 * gdb.mi/mi-watch.exp: Likewise.
18558 * gdb.mi/mi2-basics.exp: Likewise.
18559 * gdb.mi/mi2-break.exp: Likewise.
18560 * gdb.mi/mi2-cli.exp: Likewise.
18561 * gdb.mi/mi2-console.exp: Likewise.
18562 * gdb.mi/mi2-disassemble.exp: Likewise.
18563 * gdb.mi/mi2-eval.exp: Likewise.
18564 * gdb.mi/mi2-file.exp: Likewise.
18565 * gdb.mi/mi2-read-memory.exp: Likewise.
18566 * gdb.mi/mi2-regs.exp: Likewise.
18567 * gdb.mi/mi2-return.exp: Likewise.
18568 * gdb.mi/mi2-simplerun.exp: Likewise.
18569 * gdb.mi/mi2-stack.exp: Likewise.
18570 * gdb.mi/mi2-stepi.exp: Likewise.
18571 * gdb.mi/mi2-syn-frame.exp: Likewise.
18572 * gdb.mi/mi2-until.exp: Likewise.
18573 * gdb.mi/mi2-var-block.exp: Likewise.
18574 * gdb.mi/mi2-var-child.exp: Likewise.
18575 * gdb.mi/mi2-var-cmd.exp: Likewise.
18576 * gdb.mi/mi2-var-display.exp: Likewise.
18577 * gdb.mi/mi2-watch.exp: Likewise.
18578 * gdb.stabs/exclfwd.exp: Likewise.
18579 * gdb.stabs/weird.exp: Likewise.
18580 * gdb.threads/gcore-thread.exp: Likewise.
18581 * gdb.trace/actions.exp: Likewise.
18582 * gdb.trace/backtrace.exp: Likewise.
18583 * gdb.trace/circ.exp: Likewise.
18584 * gdb.trace/collection.exp: Likewise.
18585 * gdb.trace/deltrace.exp: Likewise.
18586 * gdb.trace/infotrace.exp: Likewise.
18587 * gdb.trace/limits.exp: Likewise.
18588 * gdb.trace/packetlen.exp: Likewise.
18589 * gdb.trace/passc-dyn.exp: Likewise.
18590 * gdb.trace/passcount.exp: Likewise.
18591 * gdb.trace/report.exp: Likewise.
18592 * gdb.trace/save-trace.exp: Likewise.
18593 * gdb.trace/tfind.exp: Likewise.
18594 * gdb.trace/tracecmd.exp: Likewise.
18595 * gdb.trace/while-dyn.exp: Likewise.
18596 * gdb.trace/while-stepping.exp: Likewise.
18597
f4b618d1
JB
185982006-08-08 Joel Brobecker <brobecker@adacore.com>
18599
18600 * gdb.base/step-bt.c: New file.
18601 * gdb.base/step-bt.exp: New testcase.
18602
3d00d119
DJ
186032006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
18604
18605 * config/monitor.exp (gdb_load): Remove support for obsolete
18606 download-write-size.
18607 * gdb.base/remote.exp: Likewise. Update all callers of
18608 gdb_timed_load.
18609
017b5bd4
DJ
186102006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
18611
18612 * cursal.exp: Pass binfile to gdb_load.
18613
837c599d
DJ
186142006-08-01 Nathan Sidwell <nathan@codesourcery.com>
18615
18616 * gdb.base/cursal.exp: Add "" to gdb_load call.
18617
8dd4540b
MK
186182006-07-29 Mark Kettenis <kettenis@gnu.org>
18619
18620 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
18621 NetBSD/ELF targets.
18622
ab5c9f60
DJ
186232006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
18624
18625 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
18626 operator*.
18627
4c42eaff
DJ
186282006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
18629
18630 * gdb.base/completion.exp: Update for change in "file" behavior.
18631 * gdb.stabs/weird.exp: Likewise.
18632 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
18633 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
18634
0155cc76
NS
186352006-07-24 Nathan Sidwell <nathan@codesourcery.com>
18636
18637 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
18638 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
18639
16026cd7
AS
186402006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
18641
18642 * gdb.base/default.exp: Update source command error message.
18643 * gdb.base/help.exp: Update 'help source' message.
18644
16963cb6
DJ
186452006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
18646
18647 * gdb.cp/bs15503.exp: Update comment for no longer crashing
18648 test.
18649
6d7fd486
AS
186502006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
18651
18652 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
18653
29e8a844
DJ
186542006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18655
18656 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
18657
6afcfa39
DJ
186582006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18659
18660 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
18661
267a692b
MK
186622006-07-17 Mark Kettenis <kettenis@gnu.org>
18663
18664 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
18665 *-*-openbsd* from targets for wich we expect ARM FPA floating
18666 point format.
18667
85d2fec4
NR
186682006-07-17 Nick Roberts <nickrob@snap.net.nz>
18669
18670 * gdb.cp/annota3.exp: Expect frame-begin annotation.
18671
186722006-07-17 Mark Kettenis <kettenis@gnu.org>
18673
18674 * gdb.base/annota3.exp: Expect frame-begin annotation.
18675
85b4c6e8
JB
186762006-07-14 Joel Brobecker <brobecker@adacore.com>
18677
18678 * gdb.base/help.exp: Adjust "help unset" test to accept
18679 any list of unset commands.
18680
fb933624
DJ
186812006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
18682 Daniel Jacobowitz <dan@codesourcery.com>
18683
18684 * gdb.cp/ref-params.exp: New test.
18685 * gdb.cp/ref-params.cc: New source file.
18686 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
18687
1dff4b64
MK
186882006-07-08 Mark Kettenis <kettenis@gnu.org>
18689
18690 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
18691 spaces/tabs in regular expressions since they might not be there.
18692
40d2e0e3
AS
186932006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
18694
18695 * gdb.base/ifelse.exp: New file.
18696
f6c957d2
NS
186972006-07-04 Nathan Sidwell <nathan@codesourcery.com>
18698
18699 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
18700 line.
18701 * gdb.base/huge.exp: Loop over compilation to find a size that
18702 is acceptable.
18703 * gdb.base/remote.exp: Correct expected strings.
18704 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
18705
b9c5a23d
DJ
187062006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18707
18708 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
18709
9af2e58d
DJ
187102006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18711
18712 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
18713 native.
18714
30930ca5
DJ
187152006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18716
18717 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
18718 enable stabs testing.
18719
aa32fa1d
DJ
187202006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18721
bd4a4c80 18722 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
18723 gdb_test_multiple does.
18724
321fef15
DJ
187252006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18726
18727 * Makefile.in (host_alias): Remove.
18728 (target_alias): Use @target_noncanonical@.
18729 (site.exp): Don't set host_alias.
18730 * aclocal.m4: Remove contents. Include acx.m4.
18731 * configure: Regenerated.
18732 * configure.ac: Use ACX_NONCANONICAL_TARGET.
18733
e1c2defa
NS
187342006-06-13 Nathan Sidwell <nathan@codesourcery.com>
18735
e63b55d1
NS
18736 * lib/gdb.exp (gdb_load_cmd): New.
18737
5600ea19
NS
18738 * gdb.base/fileio.c: Add system(NULL) test.
18739 * gdb.base/fileio.exp: Check it.
18740
e1c2defa
NS
18741 * gdb.base/break.c: Add 10a breakpoint at }
18742 * gdb.base/break.exp: Add test for breakpoint at }
18743 * gdb.cp/anon-union.cc: Add code at end of function.
18744 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
18745 * gdb.mi/var-cmd.c: Add code at end of function.
18746 * gdb.mi/mi-var-display.exp: Adjust end of next.
18747 * gdb.mi/mi2-var-display.exp: Likewise.
18748 * gdb.base/fileio.c: Add stop function and insert calls at
18749 stopping places.
18750 * gdb.base/fileio.exp: Breakpoint stop function and remove
18751 explicit line number references.
18752
6c0112ec
JB
187532006-05-19 Joel Brobecker <brobecker@adacore.com>
18754
a9c64011
AS
18755 * gdb.base/del.exp (test_delete_alias): New function.
18756 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 18757
154189a4
FF
187582006-05-18 Fred Fish <fnf@specifix.com>
18759
18760 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
18761 required. Check for spurious output after program exits normally.
18762
582e64c2
FF
187632006-05-17 Fred Fish <fnf@specifix.com>
18764
18765 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
18766 gdb_load, so it works in the simulator.
18767
8ef6493a
FF
187682006-05-11 Fred Fish <fnf@specifix.com>
18769
18770 * gdb.base/bang.exp: Ignore unexpected output between the
18771 "program exited normally" and the gdb prompt, as many other
18772 tests do.
18773
692b141c
MK
187742006-05-07 Mark Kettenis <kettenis@gnu.org>
18775
18776 * gdb.base/help.exp: Make "delete checkpoint" part option for
18777 "help d" and "help delete" tests.
18778
540b8a30
UW
187792006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18780
a9c64011 18781 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
18782 expected output in some mi_gdb_test statements.
18783 * gdb.mi/mi2-basics.exp: Likewise.
18784
9b6462d9
JB
187852006-05-05 Joel Brobecker <brobecker@adacore.com>
18786
18787 * gdb.base/del.c: New file.
18788 * gdb.base/del.exp: New testcase.
18789
954de43b
DM
187902006-05-05 David S. Miller <davem@sunset.davemloft.net>
18791
18792 * gdb.base/break.exp: Do not assume a breakpoint on
18793 main will actually be in $srcfile when optimizing.
1303f75e
DM
18794 * gdb.base/savedregs.exp: Do not require that the dummy
18795 frame location match up to a symbol and source file location.
c3242428
DM
18796 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
18797 will get printed without a mi_cmd_data_list_register_values prefix.
18798 (*-data-list-register-*): Correct regular expressions to expect the new
18799 pseudo d? floating point registers.
18800 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 18801
c7e64c9a
DJ
188022006-05-05 Christophe Lyon <christophe.lyon@st.com>
18803
18804 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
18805 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
18806 is allocated by the compiler.
18807 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
18808 anons, e, anone to force their allocation by the compiler.
18809
188102006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
18811
18812 * gdb.base/help.exp: Update expected text for help d and
18813 help delete.
18814
27ce9a6d
MK
188152006-05-02 Mark Kettenis <kettenis@gnu.org>
18816
18817 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
18818 NetBSD/ELF targets.
18819
8608915f
MK
188202006-04-30 Mark Kettenis <kettenis@gnu.org>
18821
18822 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
18823 single-step breakpoint fails; make this a KFAIL on
18824 sparc*-*-openbsd*.
18825 * gdb.base/siginfo.exp: Likewise.
18826 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18827
b8db102d
MS
188282006-04-26 Michael Snyder <msnyder@redhat.com>
18829
18830 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
18831 which may have to consume output from other forks.
18832 Add tests to make sure that "delete fork" succeeded.
18833
c702009a
MS
188342006-04-20 Michael Snyder <msnyder@redhat.com>
18835
18836 * 2006-03-22 Jim Blandy <jimb@redhat.com>
18837 Add support for the Renesas M32C and M16C.
18838
18839 * gdb.asm/asm-source.exp: Add m32c target.
18840 * gdb.asm/m32c.inc: Support for m32c target.
18841
e28493f2
AS
188422006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
18843
18844 * gdb.base/commands.exp (recursive_source_test): New test.
18845
880da185
DM
188462006-04-04 David S. Miller <davem@sunset.davemloft.net>
18847
18848 * gdb.base/float.exp: Add pattern for sparc targets.
18849
61d9b92f
DJ
188502006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18851
18852 * gdb.base/commands.exp (stray_arg0_test): New test.
18853
bd717df8
PB
188542006-03-30 Paul Brook <paul@codesourcery.com>
18855
18856 * gdb.mi/mi-until.exp: kfail broken until command.
18857 * gdb.mi/mi2-until.exp: Ditto.
18858
ec793d3c
NR
188592006-03-27 Nick Roberts <nickrob@snap.net.nz>
18860
18861 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
18862
831004b7
AO
188632006-03-08 Alexandre Oliva <aoliva@redhat.com>
18864
18865 * gdb.base/prelink.exp: Anchor tested-for regular expression
18866 on gdb prompt.
18867
effe49a0
PB
188682006-03-07 Paul Brook <paul@codesourcery.com>
18869
18870 * gdb.base/assign.exp: Correct fail message.
18871
e5461016
PB
188722006-03-07 Paul Brook <paul@codesourcery.com>
18873
18874 * lib/compiler.c: Extract armcc version number.
18875 * lib/compiler.cc: Ditto.
18876
fc91c6c2
PB
188772006-03-07 Paul Brook <paul@codesourcery.com>
18878
18879 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
18880 additional_flags=-w.
18881 * gdb.arch/altivec-regs.exp: Ditto.
18882 * gdb.arch/e500-abi.exp: Ditto.
18883 * gdb.arch/e500-regs.exp: Ditto.
18884 * gdb.base/all-bin.exp: Ditto.
18885 * gdb.base/annota1.exp: Ditto.
18886 * gdb.base/annota3.exp: Ditto.
18887 * gdb.base/args.exp: Ditto.
18888 * gdb.base/arithmet.exp: Ditto.
18889 * gdb.base/assign.exp: Ditto.
18890 * gdb.base/async.exp: Ditto.
18891 * gdb.base/bang.exp: Ditto.
18892 * gdb.base/break.exp: Ditto.
18893 * gdb.base/call-rt-st.exp: Ditto.
18894 * gdb.base/completion.exp: Ditto.
18895 * gdb.base/cond-expr.exp: Ditto.
18896 * gdb.base/condbreak.exp: Ditto.
18897 * gdb.base/consecutive.exp: Ditto.
18898 * gdb.base/define.exp: Ditto.
18899 * gdb.base/display.exp: Ditto.
18900 * gdb.base/ena-dis-br.exp: Ditto.
18901 * gdb.base/environ.exp: Ditto.
18902 * gdb.base/eval-skip.exp: Ditto.
18903 * gdb.base/info-proc.exp: Ditto.
18904 * gdb.base/jump.exp: Ditto.
18905 * gdb.base/logical.exp: Ditto.
18906 * gdb.base/long_long.exp: Ditto.
18907 * gdb.base/maint.exp: Ditto.
18908 * gdb.base/miscexprs.exp: Ditto.
18909 * gdb.base/pc-fp.exp: Ditto.
18910 * gdb.base/pointers.exp: Ditto.
18911 * gdb.base/relational.exp: Ditto.
18912 * gdb.base/reread.exp: Ditto.
18913 * gdb.base/sect-cmd.exp: Ditto.
18914 * gdb.base/sep.exp: Ditto.
18915 * gdb.base/sepdebug.exp: Ditto.
18916 * gdb.base/until.exp: Ditto.
18917 * gdb.base/whatis-exp.exp: Ditto.
18918 * gdb.cp/annota2.exp: Ditto.
18919 * gdb.cp/annota3.exp: Ditto.
18920 * gdb.trace/actions.exp: Ditto.
18921 * gdb.trace/backtrace.exp: Ditto.
18922 * gdb.trace/circ.exp: Ditto.
18923 * gdb.trace/collection.exp: Ditto.
18924 * gdb.trace/deltrace.exp: Ditto.
18925 * gdb.trace/infotrace.exp: Ditto.
18926 * gdb.trace/limits.exp: Ditto.
18927 * gdb.trace/packetlen.exp: Ditto.
18928 * gdb.trace/passc-dyn.exp: Ditto.
18929 * gdb.trace/passcount.exp: Ditto.
18930 * gdb.trace/report.exp: Ditto.
18931 * gdb.trace/save-trace.exp: Ditto.
18932 * gdb.trace/tfind.exp: Ditto.
18933 * gdb.trace/tracecmd.exp: Ditto.
18934 * gdb.trace/while-dyn.exp: Ditto.
18935 * gdb.trace/while-stepping.exp: Ditto.
18936 * lib/gdb.exp: Ditto.
18937 (gdb_compile): Handle nowarning option.
18938
5f4a23d9
AO
189392006-03-07 Alexandre Oliva <aoliva@redhat.com>
18940
18941 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
18942 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
18943 Rename executable to prelinkt. Don't re-prelink if we didn't
18944 get a core file. Test prelink -u exit status to tell whether
18945 prelinking failed. Use gdb_test_multiple.
18946
9733fc94
DJ
189472006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
18948
18949 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
18950 (do_tests): Call it.
18951
cc10cae3
AO
189522006-02-28 Alexandre Oliva <aoliva@redhat.com>
18953
18954 * gdb.base/prelink.exp: New test.
18955 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
18956
15c46491
WZ
189572006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
18958
18959 * gdb.fortran/derived-type.f90: New file.
18960 * gdb.fortran/derived-type.exp: New testcase.
18961
5c9f7ded
DJ
189622006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
18963
18964 * gdb.base/default.exp: Allow ';' as a directory separator.
18965
5b96932b
AS
189662006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
18967
18968 * gdb.base/help.exp (help add-symbol-file): Update.
18969
1986bccd
AS
189702006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
18971
18972 * gdb.base/help.exp (help load): Update expected results.
18973
a8b7528f
FF
189742006-02-19 Fred Fish <fnf@specifix.com>
18975
18976 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
18977 specifix hex value as part of results.
18978 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 18979
f8261448
FF
189802006-02-16 Fred Fish <fnf@specifix.com>
18981
18982 * gdb.base/whatis.c: Define variables using typedefs char_addr,
18983 ushort_addr, and slong_addr, so the typedefs are not optimized
18984 away.
18985 * gdb.base/whatis.exp: Add tests using type name for struct type,
18986 union type, enum type, and typedef.
a9c64011 18987
31d8bdd2
MK
189882006-02-13 Mark Kettenis <kettenis@gnu.org>
18989
18990 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
18991
34e41e63
JB
189922006-02-13 Jim Blandy <jimb@redhat.com>
18993
18994 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
18995 case where it takes two "next" commands to skip past the init
18996 call.
18997
ac6e4f31
FF
189982006-02-12 Fred Fish <fnf@specifix.com>
18999
19000 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
19001 to handle cases where it takes two "next" commands to skip
19002 past the init call.
19003
2db2d571
JB
190042006-02-07 Joel Brobecker <brobecker@adacore.com>
19005
19006 * gdb.ada/array_return.exp: Mark the last test as expected to fail
19007 on hppa32 targets.
19008
38fcd64c
DJ
190092006-02-06 Vladimir Prus <ghost@cs.msu.su>
19010
19011 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
19012 field.
19013
1315ad46
MK
190142006-01-29 Mark Kettenis <kettenis@gnu.org>
19015
19016 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
19017
5625b943
DJ
190182006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
19019
19020 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
19021 files.
19022
80df1bbe
DJ
190232006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
19024
19025 * gdb.cp/maint.exp: Set complaints to a positive value.
19026
9078e690
DJ
190272006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
19028
19029 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
19030 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
19031 function name.
19032
9c903399
DJ
190332006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
19034
19035 * gdb.base/checkpoint.c: Update copyright notice. Include
19036 <stdlib.h>.
19037
761ae4d6
JB
190382006-01-04 Jim Blandy <jimb@redhat.com>
19039
19040 * gdb.asm/asm-source.exp: Independently provide default values for
19041 asm-flags and debug-flags. Use 'string equal' to do the
19042 comparison, not the implicit expr's '==' operator. Remove
19043 now-unneeded assignments to asm-flags. In h8300 case, place
19044 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
19045
099ac3dd
MS
190462006-01-04 Michael Snyder <msnyder@redhat.com>
19047
19048 * gdb.base/checkpoint.c: New file.
19049 * gdb.base/checkpoint.exp: New file.
19050 * gdb.base/multi-fork.c: New file.
19051 * gdb.base/multi-fork.exp: New file.
19052 * gdb.base/pi.txt: New file (data for checkpoint.c test).
19053
f4d85314
FF
190542006-01-04 Fred Fish <fnf@specifix.com>
19055
19056 * gdb.base/ptype.c (foo): Add typedef.
19057 (intfoo): Add function.
19058 * gdb.base/ptype1.c: New file.
19059 * gdb.base/ptype.exp: Handle compilation and linking with two
19060 source files. Test that proper type for "foo" is found based
19061 on source context rather than first match found in symtabs.
19062
a1b06f35
MK
190632005-12-28 Mark Kettenis <kettenis@gnu.org>
19064
19065 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
19066 * gdb.asm/openbsd.inc: Indent commands.
19067
d082a1e2
MK
190682005-12-26 Mark Kettenis <kettenis@gnu.org>
19069
c65016bd
MK
19070 * gdb.base/freebpcmd.exp: Increase timeout.
19071
d082a1e2
MK
19072 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
19073
d3c32a0e
DJ
190742005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
19075
19076 * gdb.base/default.exp: Update check for "show version".
19077
9fdb1f50
RC
190782005-12-09 Randolph Chung <tausq@debian.org>
19079
19080 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
19081 * gdb.asm/pa64.inc: New file.
19082
5f2c56f7
RC
190832005-12-09 Randolph Chung <tausq@debian.org>
19084
19085 * gdb.asm/common.inc: Indent commands.
19086 * gdb.asm/asmsrc1.s: Likewise.
19087 * gdb.asm/asmsrc2.s: Likewise.
19088
8117349c
RC
190892005-12-09 Randolph Chung <tausq@debian.org>
19090
19091 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
19092 (get_addr_of_sym): Remove duplicate print.
19093 (gen_core): xfail hppa*-*-hpux*, update expected output.
19094 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
19095 * gdb.arch/pa64-nullify.s: New file.
19096
8f07f25a
RC
190972005-12-09 Randolph Chung <tausq@debian.org>
19098
19099 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
19100
55b39184
DJ
191012005-12-07 Christophe Lyon <christophe.lyon@st.com>
19102
19103 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
19104 code generation for these functions.
19105 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
19106 error message.
19107
31e2b00f
AS
191082005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
19109
19110 * gdb.base/help.exp (help b, help br, help bre, help brea)
19111 (help break): Update the expected message.
19112
c3d0b56e
SC
191132005-11-11 Stephane Carrez <stcarrez@nerim.fr>
19114
19115 * gdb.asm/m68hc11.inc: Setup the data section.
19116 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
19117 script for this test.
19118 (m6812-*-*): Likewise.
19119
36ae0ea9
RC
191202005-11-09 Randolph Chung <tausq@debian.org>
19121
19122 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
19123
9d6f42e9
WZ
191242005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
19125
19126 * gdb.base/break.exp: Fix a comment typo.
19127
e2126a14
EZ
191282005-11-03 Jim Blandy <jimb@redhat.com>
19129
a9c64011
AS
19130 Checked in by Elena Zannoni <ezannoni@redhat.com>
19131
889bf7c5 19132 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 19133
e0ac7199
CV
191342005-11-02 Corinna Vinschen <vinschen@redhat.com>
19135
19136 * gdb.arch/gdb1558.c: Include stdio.h.
19137
31d3fb18
MK
191382005-10-31 Mark Kettenis <kettenis@gnu.org>
19139
19140 * gdb.asm/asm-source.exp: Use -e instead of --entry.
19141
e52b687c
MK
191422005-10-31 Mark Kettenis <kettenis@gnu.org>
19143
19144 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
19145
f4711d79
PG
191462005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
19147
a9c64011
AS
19148 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
19149 vscr" tests to better match output.
f4711d79 19150
987a9106
JB
191512005-10-12 Jim Blandy <jimb@redhat.com>
19152
19153 * gdb.base/structs.exp (any): New function.
19154 (test_struct_returns): Don't make any assumptions at all about
19155 what value the function returns when GDB can't set the return
19156 value.
19157
2336bb58
JB
191582005-10-09 Joel Brobecker <brobecker@adacore.com>
19159
19160 * gdb.ada/arrayidx/p.adb: New file.
19161 * gdb.ada/arrayidx.exp: New testcase
19162
191632005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
19164
19165 * gdb.ada/array_return/pck.ads: New file.
19166 * gdb.ada/array_return/pck.adb: New file.
19167 * gdb.ada/array_return/p.adb: New file.
19168 * gdb.ada/array_return.exp: New testcase.
19169
705335ea
JB
191702005-10-03 Joel Brobecker <brobecker@adacore.com>
19171
a9c64011
AS
19172 * gdb.base/arrayidx.c: New file.
19173 * gdb.base/arrayidx.exp: New testcase.
705335ea 19174
11ee9940
NR
191752005-09-29 Nick Roberts <nickrob@snap.net.nz>
19176
19177 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
19178 frames-invalid and breakpoints-invalid are no longer generated
19179 with level 3 so don't expect them in the output.
19180
39fb8e9e
BR
191812005-09-27 Bob Rossi <bob@brasko.net>
19182
a9c64011 19183 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
19184 from test. Escape the | in mi_gdb_test call.
19185 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
19186 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
19187 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
19188 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
19189 expected regex's in mi_gdb_test calls.
19190 * lib/mi-support.exp: Remove arbitrary .* from tests.
19191 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
19192 Fully anchor GDB/MI expected results in mi_gdb_test.
19193 * lib/gdb.exp (string_to_regexp): Escape the ] character.
19194 * gdb.base/sizeof.exp: Remove escape character. Correct test.
19195
2af48f68
PB
191962005-09-26 Paul Brook <paul@codesourcery.com>
19197
19198 * long_long.exp: Exclude eabi targets from arm FPA float format test.
19199
f34502bc
WZ
192002005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
19201
19202 * bfp-test.c: New file.
19203 * bfp-test.exp: New testcase.
19204
ca929517
WZ
192052005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
19206
19207 * gdb.fortran/subarray.exp: New testcase to test the evaluation
19208 of subarray and substring variable.
19209 * gdb.fortran/subarray.f: New source file for the test of subarray
19210 and substring variable evaluation.
19211 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
19212 of string constant.
19213
c761af65
DJ
192142005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
19215
19216 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
19217 copyright dates.
19218
561d7a1d
PG
192192005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
19220
19221 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
19222 powerpc altivec' test with an almost identical 'info vector' test.
19223
b2b64cc9
PG
192242005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
19225
a9c64011
AS
19226 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
19227 vscr" tests to match output.
b2b64cc9 19228
6ac4d15a
PG
192292005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
19230
a9c64011
AS
19231 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
19232 output.
6ac4d15a 19233
40e55bef
BR
192342005-09-11 Bob Rossi <bob@brasko.net>
19235
889bf7c5
PA
19236 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
19237 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
19238 commands that return an MI output command and an asyncronous MI output
19239 command.
40e55bef
BR
19240 * gdb.mi/mi-console.exp: Ditto.
19241
3c7385ec
BR
192422005-09-11 Bob Rossi <bob@brasko.net>
19243
19244 * gdb.mi/mi-var-child.c: Include <string.h>.
19245
a6cd0eb3
DJ
192462005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
19247
19248 * killed.exp: Correct gdb_expect syntax.
19249
2f168eed
CV
192502005-08-09 Corinna Vinschen <vinschen@redhat.com>
19251
19252 * lib/mi-support.exp (mi_gdb_load): Fix typo.
19253
ecd3fd0f
BR
192542005-08-02 Bob Rossi <bob@brasko.net>
19255
19256 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
19257 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
19258 Change tests to inferior-tty-set/show.
19259 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
19260 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
19261 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
19262 inferior. Use mi_gdb_test to get GDB and Inferior output.
19263 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
19264 descriptor.
19265 (mi_inferior_tty_name): Add inferior PTY file name.
19266 (mi_gdb_start): Add INFERIOR_PTY parameter.
19267 (mi_gdb_test): Add IPATTERN parameter.
19268
f1ea48cb 192692005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 19270
f1ea48cb
BR
19271 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
19272 parameter to mi_gdb_test.
19273 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
19274
6e650a67
DJ
192752005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
19276
19277 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
19278 struct_declarations.
19279 * gdb.mi/mi-var-child.exp: Step over the initialization of
19280 struct_declarations.
19281
8be260b6
DJ
192822005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
19283
19284 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
19285 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
19286 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
19287 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
19288 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
19289 file.
19290
4e660f07
NR
192912005-07-27 Nick Roberts <nickrob@snap.net.nz>
19292
19293 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
19294 (do_children_tests): Assign values to the extra elements.
19295
19296 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
19297 them for tests for "-var-update --no-values" and
a9c64011 19298 "-var-update --all-values".
4e660f07
NR
19299 Add test for "-var-list-children --simple-values".
19300
19301 * gdb.mi/basics.c (callee4): Add integer array D[3]...
19302
19303 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
19304 "-stack-list-locals --simple-values" Improve doc strings and
19305 comments.
19306
6bdae935
MK
193072005-07-18 Mark Kettenis <kettenis@gnu.org>
19308
598b7a6f
MK
19309 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
19310 *-*-openbsd*.
19311 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
19312
6bdae935
MK
19313 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
19314 sigaltsatck'.
19315
1323e929 193162005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 19317
1323e929
BR
19318 * gdb.base/default.exp (tty): Changed output of command.
19319 * gdb.base/help.exp (help tty): Ditto.
19320
b1a9c082
MK
193212005-07-12 Mark Kettenis <kettenis@gnu.org>
19322
19323 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
19324
10a844a2
MK
193252005-07-10 Mark Kettenis <kettenis@gnu.org>
19326
19327 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
19328 -stack-select-frame without arguments.
19329 (test_stack_frame_listing): Add test for newly implemented command
19330 -stack-info-frame.
19331
3cb3b8df
BR
193322005-07-06 Bob Rossi <bob@brasko.net>
19333
19334 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
19335 command.
19336 (Copyright): Update copyright.
19337
a0c5fbcf
WZ
193382005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
19339
19340 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
19341 tests to evaluate exponentiation expression.
19342
984971d0
AS
193432005-06-29 Andreas Schwab <schwab@suse.de>
19344
19345 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
19346 main to avoid warnings.
19347
19348 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
19349
fe03833f
NR
193502005-06-20 Nick Roberts <nickrob@snap.net.nz>
19351
19352 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
19353 -stack-select-frame without arguments.
19354 (test_stack_frame_listing): Add test for newly implemented command
19355 -stack-info-frame.
a9c64011 19356
7a55f279
WZ
193572005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
19358
0ffa0ea5
DJ
19359 * gdb.fortran/array-element.f: New file.
19360 * gdb.fortran/array-element.exp: New testcase.
7a55f279 19361
26585198
DJ
193622005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
19363
19364 * gdb.base/bigcore.exp: Correct checks for systems which can
19365 not dump a large core file.
19366
c1bd25fd
DJ
193672005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
19368
19369 * gdb.base/relocate.c: Add a copyright notice.
19370 (dummy): Remove.
19371 * gdb.base/relocate.exp: Test printing the values of variables
19372 from a relocatable file.
19373
589e074d
DJ
193742005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
19375
19376 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
19377 excess MI output after an error.
19378
0915f927
JB
193792005-05-29 Joel Brobecker <brobecker@adacore.com>
19380
19381 * gdb.arch/alpha-step.c: New file.
19382 * gdb.arch/alpha-step.exp: New testcase.
19383
76ff342d
DJ
193842005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
19385 Dennis Brueni <dennis@slickedit.com>
19386
19387 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
19388 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
19389 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
19390 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
19391 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
19392 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
19393 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
19394
96b0c7ac
DJ
193952005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
19396 Wu Zhou <woodzltc@cn.ibm.com>
19397
19398 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
19399 IBM's xlc compiler.
19400 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
19401 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
19402
f21565d2
JB
194032005-05-13 Jim Blandy <jimb@redhat.com>
19404
19405 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
19406 calling gdb_suppress_entire_file.
19407 * gdb.base/charset.exp: Same.
19408 * gdb.base/call-rt-st.exp: Same.
19409
6006a3a1
BR
194102005-05-05 Bob Rossi <bob_rossi@cox.net>
19411
19412 * lib/gdb.exp (fullname_syntax): Added global regex.
19413 (fullname_syntax_POSIX): Ditto.
19414 (fullname_syntax_UNC): Ditto.
19415 (fullname_syntax_DOS_CASE): Ditto.
19416 (fullname_syntax_DOS): Ditto.
19417 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
19418 fullname_syntax variable to scope and use it.
19419 (test_file_list_exec_source_files): Ditto.
19420 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
19421
c3b69c04
DJ
194222005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
19423
19424 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
19425
3c95e6af
PG
194262004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
19427
a9c64011
AS
19428 * lib/gdb.exp (skip_altivec_tests): New function, based on
19429 check_vmx_hw_available from the GCC testsuite.
19430 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
19431 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 19432
78df6c56
JB
194332005-05-02 Jim Blandy <jimb@redhat.com>
19434
19435 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
19436 calling gdb_suppress_entire_file.
19437
1690f9cf
DJ
194382005-04-30 Randolph Chung <tausq@debian.org>
19439
19440 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
19441 Slightly relax "sem_post" name checking.
19442
5ea106f7
PG
194432005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19444
19445 * gdb.base/unload.exp: Use new shared library infrastructure.
19446
bf7234cf
PG
194472005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19448
19449 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 19450 infrastructure.
bf7234cf 19451
547b869a
CV
194522005-04-29 Corinna Vinschen <vinschen@redhat.com>
19453
19454 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
19455 * gdb.asm/h8300.inc: New file.
19456
f07e55f0
PG
194572005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19458
19459 * gdb.base/shlib-call.exp: Change to use new shared library
19460 infrastructure.
19461
3cbba3d1
PG
194622005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19463
a9c64011
AS
19464 * gdb.base/pending.exp: Change to use new shared library
19465 infrastructure.
3cbba3d1 19466
ed6df200
PG
194672005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19468
a9c64011
AS
19469 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
19470 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 19471
8c8f4ebe
PG
194722005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
19473
a9c64011
AS
19474 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
19475 shared objects being adjusted and update copyright years.
8c8f4ebe 19476
607fbc54
DJ
194772005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
19478
19479 * ChangeLog: Correct some 2003-01-13 dates.
19480 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
19481 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
19482 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
19483 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
19484 gdb.trace/tfind.exp: Update copyright years.
19485
57bf0e56
DJ
194862005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
19487 Daniel Jacobowitz <dan@codesourcery.com>
19488
19489 * lib/gdb.exp (gdb_compile): Handle shlib=.
19490 (gdb_compile_shlib): New function.
19491
9b593790
PG
194922005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
19493
a9c64011 19494 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 19495
9494c6a5
DJ
194962005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19497
19498 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
19499 gdb.server.
19500 * configure.ac: Likewise.
19501 * configure: Regenerated.
19502 * gdb.gdbserver/Makefile.in: Moved to...
19503 * gdb.server/Makefile.in: ... here.
19504 * gdb.gdbserver/server.c: Moved to...
19505 * gdb.server/server.c: ... here.
19506 * gdb.gdbserver/server-run.exp: Moved to...
19507 * gdb.server/server-run.exp: ... here.
19508
6f8eac0e
DJ
195092005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19510
19511 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
19512 * configure.ac: Create gdb.gdbserver/Makefile.
19513 * configure: Regenerated.
19514 * lib/gdbserver-support.exp: New file, derived from
19515 config/gdbserver.exp.
19516 * config/gdbserver.exp: Use gdbserver-support.exp.
19517 * gdb.gdbserver/Makefile.in: New file.
19518 * gdb.gdbserver/server.c: New file.
19519 * gdb.gdbserver/server-run.exp: New file.
19520
6e87504d
PG
195212005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
19522
a9c64011
AS
19523 * lib/gdb.exp (test_compiler_info): Return compiler_info
19524 if no arguments are given.
6e87504d 19525
d1779be4
PG
195262005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
19527
19528 * gdb.arch/altivec-abi.exp: Check for compiler and set
19529 use altivec' flag accordingly.
19530 * gdb.arch/altivec-regs.exp: Likewise.
19531
88750304
DJ
195322005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
19533
19534 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
19535
f3fb768d
AS
195362005-03-27 Andreas Schwab <schwab@suse.de>
19537
19538 * gdb.base/bigcore.c (main): Add missing mode argument in open
19539 call.
19540
7e813ac5
DJ
195412005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
19542
19543 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
19544 downloads.
19545 * config/gdbserver.exp (gdb_load): Likewise.
19546
8e3049aa
PB
195472005-03-14 Paul Brook <paul@codesourcery.com>
19548
19549 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
19550 targets.
19551
a9df7c44
JB
195522005-03-09 Joel Brobecker <brobecker@adacore.com>
19553
19554 * gdb.dwarf2/dup-psym.S: New file.
19555 * gdb.dwarf2/dup-psym.exp: New testcase.
19556
9f0d94e8
JB
195572005-03-09 Joel Brobecker <brobecker@adacore.com>
19558
19559 * gdb.ada/exec_changed/first.adb: New file.
19560 * gdb.ada/exec_changed/second.adb: New file.
19561 * gdb.ada/exec_changed.exp: New testcase.
19562
5f579bc5
NS
195632005-03-08 Nathan Sidwell <nathan@codesourcery.com>
19564
36e9969c
NS
19565 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
19566 (A2): New class.
19567 (main): Test operator+.
19568 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
19569 breakpoint test.
19570
5f579bc5
NS
19571 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
19572 * gdb.base/signull.exp: Disable if gdb,nosignals.
19573 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
19574 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
19575 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
19576 * gdb.mi/mi2-console.exp: Likewise.
19577 * gdb.trace/collection.exp (run_trace_experiment): Consume the
19578 continue output at start.
19579 (gdb_collect_locals_test): Robustify regexp.
19580 * gdb.trace/passc-dyn.exp: Fix comment typo.
19581 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
19582
be46087e
CV
195832005-03-08 Corinna Vinschen <vinschen@redhat.com>
19584
19585 * gdb.asm/asm-source.exp: Add iq2000 case.
19586 * gdb.asm/iq2000.inc: New file.
19587
384e1a61 195882005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 19589
384e1a61
MI
19590 * gdb.base/command.exp: Change hardcoded value to regular expression.
19591 * gdb.base/float.exp: Add powerpc to the list of targets checked.
19592
584b6e9e
DJ
195932005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
19594
19595 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
19596 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
19597 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
19598 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
19599 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
19600
ab5b5d61
MK
196012005-03-05 Mark Kettenis <kettenis@gnu.org>
19602
19603 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
19604 changes.
19605
ae051c1b
PG
196062004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
19607
a9c64011
AS
19608 * lib/compiler.c: Add test for IBM's xlc compiler.
19609 * lib/compiler.cc: Likewise.
ae051c1b 19610
3f0f6ed2
JB
196112004-02-24 Joel Brobecker <brobecker@adacore.com>
19612
19613 * gdb.ada/fixed_points.exp: Create compilation object directory
19614 before running the test.
19615 * gdb.ada/null_record.exp: Likewise.
19616 * gdb.ada/packed_array.exp: Likewise.
19617 * gdb.ada/start.exp: Likewise.
19618
724f452b
JB
196192005-02-15 Joel Brobecker <brobecker@adacore.com>
19620
19621 * gdb.ada/packed_array/pa.adb: New file.
19622 * gdb.ada/packed_array.exp: New testcase.
19623
57f5cdfb 196242005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 19625
1f393151
MK
19626 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
19627 files.
19628
ebdda337
MK
19629 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
19630 on *-*-openbsd*. Correctly match whitespace in regukar
19631 expressions.
19632
cf309262
DJ
196332005-02-10 Daniel Jacobowitz <dan@debian.org>
19634
19635 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
19636 PR exp/1821
19637 * gdb.base/gdb1821.c: New test file.
19638 * gdb.base/gdb1821.exp: New test file.
19639
3be49e7a
JB
196402005-02-09 Joel Brobecker <brobecker@adacore.com>
19641
19642 * gdb.base/start.c: New file.
19643 * gdb.base/start.exp: New testcase.
19644
e292e67d
JB
196452005-02-09 Joel Brobecker <brobecker@adacore.com>
19646
19647 * gdb.ada/start/dummy.adb: New file.
19648 * gdb.ada/start.exp: New testcase.
19649
dbdfa66c
CV
196502005-02-09 Corinna Vinschen <vinschen@redhat.com>
19651
19652 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
19653 for printing symbols and statistics.
19654 Add test for using relative pathnames in "maint print msymbols" test.
19655 Mark "maint info sections DATA" XFAIL on Cygwin.
19656 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
19657 tests.
19658
d7941671
AC
196592005-02-09 Andreas Schwab <schwab@suse.de>
19660
19661 Committed by Andrew Cagney <cagney@gnu.org>
19662 * gdb.base/remotetimeout.exp: New file.
19663
74e5ef44
MK
196642005-02-07 Mark Kettenis <kettenis@gnu.org>
19665
19666 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
19667
464dd14d
JB
196682005-02-03 Joel Brobecker <brobecker@adacore.com>
19669
19670 * gdb.ada/gnat_ada.gpr: New file.
19671 * gdb.ada/gnat_ada.gin: Delete, no longer used.
19672 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
19673 * configure.ac: No longer generate gnat_ada.gpr.
19674 * configure: Regenerate.
19675 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
19676 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
19677 * gdb.ada/null_record/bar.ads: Likewise.
19678 * gdb.ada/null_record/bar.adb: Likewise.
19679 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
19680 * gdb.ada/null_record.exp (testdir): New variable.
19681 (testfile): executable is now in testdir subdirectory.
19682 (srcfile): Use full path to the main compilation unit.
19683 * gdb.ada/fixed_points.exp: Same changes as above.
19684
30d756ae
NR
196852005-02-03 Nick Roberts <nickrob@snap.net.nz>
19686
19687 * gdb.base/interp.exp: New test.
19688
9d799f85
AC
196892005-01-24 Andrew Cagney <cagney@gnu.org>
19690
19691 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
19692
15656118
AC
196932005-01-19 Andrew Cagney <cagney@gnu.org>
19694
a892c31b
AC
19695 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
19696 configure.ac not configure.in.
19697
15656118
AC
19698 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
19699 of powerpc*-*-*.
19700 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 19701 * gdb.base/list.exp (test_list_function)
15656118
AC
19702 (test_list_filename_and_function): Ditto.
19703 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
19704
a7b01baf
AC
197052005-01-16 Andrew Cagney <cagney@gnu.org>
19706
17d92a02
AC
19707 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
19708
a7b01baf
AC
19709 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
19710
bc8332bb
AC
197112005-01-14 Andrew Cagney <cagney@gnu.org>
19712
19713 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
19714 * gdb.mi/mi2-var-cmd.exp: Ditto.
19715
4d074752
CV
197162005-01-10 Corinna Vinschen <vinschen@redhat.com>
19717
19718 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
19719
bec39cab
AC
197202005-01-07 Andrew Cagney <cagney@gnu.org>
19721
19722 * configure.ac: Rename configure.in, require autoconf 2.59.
19723 * configure: Re-generate.
19724 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
19725 * gdb.stabs/configure: Re-generate.
19726 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
19727 * gdb.hp/configure: Re-generate.
19728 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
19729 autoconf 2.59.
19730 * gdb.hp/gdb.objdbg/configure: Re-generate.
19731 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
19732 autoconf 2.59.
19733 * gdb.hp/gdb.defects/configure: Re-generate.
19734 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
19735 autoconf 2.59.
19736 * gdb.hp/gdb.compat/configure: Re-generate.
19737 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
19738 autoconf 2.59.
19739 * gdb.hp/gdb.base-hp/configure: Re-generate.
19740 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
19741 autoconf 2.59.
19742 * gdb.hp/gdb.aCC/configure: Re-generate.
19743
f10b16d4
JB
197442004-12-15 Jim Blandy <jimb@redhat.com>
19745
19746 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
19747 under NPTL when there is debugging info available for libpthread.
19748
fb6e1814
JG
197492004-12-13 Jerome Guitton <guitton@gnat.com>
19750
19751 * gdb.ada/fixed_points.c: New file.
19752 * gdb.ada/fixed_points.exp: New file.
19753
fe46cd3a
RC
197542004-12-03 Randolph Chung <tausq@debian.org>
19755
19756 * gdb.arch/pa-nullify.exp: New file.
19757 * gdb.arch/pa-nullify.s: New file.
19758
8de0841b
RC
197592004-11-30 Randolph Chung <tausq@debian.org>
19760
19761 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
19762 instead of "tbug". Fix regexp to work properly with gdb_test.
19763
c8170782
PH
197642004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
19765
19766 * gdb.base/bitfields2.exp: New test.
19767 * gdb.base/bitfields2.c: New file.
19768
954269c2
RE
197692004-11-28 Richard Earnshaw <rearnsha@arm.com>
19770
19771 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
19772
0107feed
RC
197732004-11-16 Randolph Chung <tausq@debian.org>
19774
19775 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
19776
f073ae8c
DJ
197772004-11-14 Daniel Jacobowitz <dan@debian.org>
19778
19779 * gdb.threads/threadapply.exp: Correct "macro details" test.
19780
19ad59e7
JJ
197812004-11-11 Jeff Johnston <jjohnstn@redhat.com>
19782
19783 * gdb.threads/threadapply.exp: New test.
19784 * gdb.threads/threadapply.c: New file.
19785
9cf0961b
MK
197862004-11-07 Mark Kettenis <kettenis@gnu.org>
19787
19788 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
19789 frames.
19790
c789492a
FL
197912004-11-05 Felix Lee <felix+log1@specifixinc.com>
19792
19793 * gdb.base/cursal.exp: New file.
19794 * gdb.base/cursal.c: New file.
19795
a1e167bb
AC
197962004-11-03 Andrew Cagney <cagney@gnu.org>
19797
19798 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
19799
b7cbf173
MK
198002004-10-30 Mark Kettenis <kettenis@gnu.org>
19801
19802 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
19803 NetBSD/ELF targets.
19804
88f9d34f
JB
198052004-10-29 Joel Brobecker <brobecker@gnat.com>
19806
19807 * gdb.threads/bp_in_thread.c: New file, copied from
19808 pthread_cond_wait.c.
19809 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
19810 file, rather than reusing the .c file from another testcase.
19811
ca7d6a0c
JB
198122004-10-20 Joel Brobecker <brobecker@gnat.com>
19813
19814 * gdb.ada/null_record.exp: Check where we stopped after
19815 sending the start command, instead of where the associated
19816 temporary breakpoint was inserted.
19817
0d863d03
AC
198182004-10-14 Andrew Cagney <cagney@gnu.org>
19819
19820 * gdb.mi/gdb701.c (main): Return 0.
19821
d11e72cb
DJ
198222004-10-13 Daniel Jacobowitz <dan@debian.org>
19823
d40539a4 19824 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 19825
e1923096
JJ
198262004-10-12 Jeff Johnston <jjohnstn@redhat.com>
19827
19828 * gdb.threads/schedlock.c: Add comment markers to use to find
19829 line numbers.
19830 * gdb.threads/schedlock.exp: Adjust regex to handle the new
19831 comments.
19832 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
19833 breakpoint lines.
19834
ec8ba2c9
DJ
198352004-10-12 Daniel Jacobowitz <dan@debian.org>
19836
19837 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
19838
0eb3658b
DJ
198392004-10-12 Daniel Jacobowitz <dan@debian.org>
19840
19841 * configure.in: Add gdb.dwarf2.
19842 * configure: Regenerated.
19843 * Makefile.in: Add gdb.dwarf2.
19844 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
19845 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
19846 gdb.dwarf2/file1.txt: New files.
19847
a271cc33
OF
198482004-10-11 Orjan Friberg <orjanf@axis.com>
19849
a9c64011 19850 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
19851 of "run", since the latter doesn't work with remote targets. Adjust
19852 the breakpoint numbering accordingly.
19853 * gdb.threads/pthread_cond_wait.exp: Ditto.
19854
895ce074
MC
198552004-10-08 Michael Chastain <mec.gnu@mindspring.com>
19856
19857 * gdb.base/overlays.exp: Update copyright years.
19858
6be3092d
KI
198592004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
19860
19861 * gdb.base/overlays.exp: Disable if target is Linux.
19862
e05389b8
FL
198632004-10-06 Felix Lee <felix+log1@specifixinc.com>
19864
19865 * config/gdbserver.exp (gdb_load): Use right filename on remote.
19866
73cb587d
KI
198672004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
19868
19869 * gdb.asm/asm-source.exp: Add m32r-linux target.
19870 * gdb.asm/m32r-linux.inc: New file.
19871
3c0edcdc
AC
198722004-09-24 Andrew Cagney <cagney@redhat.com>
19873 David Anderson <anderson@redhat.com>
19874
19875 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
19876 command fails, assume things will work.
19877 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
19878 (_GNU_SOURCE): Define.
19879 (print_unsigned, print_hex): Change parameter to "long long".
19880 (print_byte_count): New function, use to print byte counts.
19881 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
19882 O_LARGEFILE.
19883 (main): Compute an upper bound on a corefile in max_core_size.
19884 Limit memory chunk size to max_core_size. Limit total memory
19885 allocated to max_core_size.
19886
4bb3667f
AC
198872004-09-23 Andrew Cagney <cagney@gnu.org>
19888
19889 * gdb.base/bigcore.exp: Replace the code that creates a corefile
19890 from a separate process with code that creates a corefile by
19891 making the inferior dump core.
19892
60fe1a51
MK
198932004-09-23 Mark Kettenis <kettenis@gnu.org>
19894
19895 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
19896 block.
19897
8e937346
MC
198982004-09-23 Michael Chastain <mec.gnu@mindspring.com>
19899
19900 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
19901 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
19902 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
19903 Likewise.
19904
7213f6d6
JJ
199052004-09-20 Jeff Johnston <jjohnstn@redhat.com>
19906
19907 * gdb.java/jprint.exp: New test case for java inferior call.
19908 * gdb.java/jprint.java: Ditto.
19909
eac69dca
JB
199102004-09-15 Joel Brobecker <brobecker@gnat.com>
19911
19912 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
19913
22227696
MC
199142004-09-14 Michael Chastain <mec.gnu@mindspring.com>
19915
19916 * gdb.threads/killed.c: Include <stdlib.h>.
19917 * gdb.threads/pthreads.c: Likewise.
19918
7dd403a4
MC
199192004-09-14 Michael Chastain <mec.gnu@mindspring.com>
19920
19921 * gdb.threads/killed.c: Add copyright notice.
19922
33f2d567
JM
199232004-09-10 Jason Molenda (jmolenda@apple.com)
19924
a9c64011
AS
19925 * gdb.base/define.exp: Two new tests to verify zero space chars
19926 after 'if' and 'while' commands in a user-defined command is correctly
19927 parsed.
33f2d567 19928
e05b62ac
AC
199292004-09-08 Andrew Cagney <cagney@gnu.org>
19930
19931 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
19932 delivery test with duplicate at end of file.
19933
9cbe82da
MK
199342004-09-06 Mark Kettenis <kettenis@jive.nl>
19935
19936 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
19937
564803d9
MC
199382004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19939
19940 * config/hppro.exp: Removed.
19941
7c6807ce
MC
199422004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19943
19944 * config/sparclet.exp: Removed.
19945
bf7e26dd
MC
199462004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19947
19948 * config/udi.exp: Removed.
19949
714e341b
MC
199502004-09-02 Michael Chastain <mec.gnu@mindspring.com>
19951
19952 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
19953 of "exp_continue".
19954 (advancei): Likewise.
19955
1236e623
JJ
199562004-09-01 Jeff Johnston <jjohnstn@redhat.com>
19957
19958 * gdb.base/unload.exp: Fix so messages aren't duplicated.
19959
3bdcad15
MI
199602004-09-01 Manoj Iyer <manjo@austin.ibm.com>
19961
228af206 19962 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
19963 to check for nodebug in executable.
19964 * gdb.gdb/observer.exp (setup_test): Likewise.
19965 * gdb.gdb/selftest.exp (test_with_self): Likewise.
19966 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
19967
c72b934c
AC
199682004-09-01 Andrew Cagney <cagney@gnu.org>
19969
19970 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19971 files.
19972
edd9b715
JJ
199732004-09-01 Jeff Johnston <jjohnstn@redhat.com>
19974
19975 * gdb.base/unload.exp: Fix expected warning message to match
19976 latest format.
19977
fb4ce06b
CV
199782004-09-01 Corinna Vinschen <vinschen@redhat.com>
19979
19980 * gdb.base/call-rt-st.exp: Fix typos.
19981
ce78e7c3
MI
199822004-08-31 Manoj Iyer <manjo@austin.ibm.com>
19983
19984 * gdb.threads/thread_check.exp: New testcase.
19985 * gdb.threads/thread_check.c: New testcase.
19986
2dedb159
AC
199872004-08-31 Andrew Cagney <cagney@gnu.org>
19988
19989 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
19990 (skip_to_handler_entry): New procedures. Test stepping into a
19991 handler when the breakpoint is at the handler's entry point.
19992
68f53502
AC
199932004-08-30 Andrew Cagney <cagney@gnu.org>
19994
19995 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
19996 gdb/1757.
19997
3e3ffd2b
MC
199982004-08-27 Michael Chastain <mec.gnu@mindspring.com>
19999
20000 With code from Manoj Iyer <manjo@austin.ibm.com>:
20001 * lib/gdb.exp (gdb_file_cmd): Return more information in the
20002 return value. Add an arm for "no debugging symbols found".
20003 Change a stray "error" to "perror".
20004 (gdb_run_cmd): Adapt to new return value.
20005 * gdb.base/remote.exp: Adapt to new return value.
20006 * gdb.gdb/complaints.exp: Likewise.
20007 * gdb.gdb/observer.exp: Likewise.
20008 * gdb.gdb/selftest.exp: Likewise.
20009 * gdb.gdb/xfullpath.exp: Likewise.
20010
4b6f5fd2
JB
200112004-08-27 Joel Brobecker <brobecker@gnat.com>
20012
20013 * gdb.threads/bp_in_thread.exp: New testcase.
20014
e5b25496
MC
200152004-08-27 Michael Chastain <mec.gnu@mindspring.com>
20016
20017 Fix PR testsuite/1735.
20018 * gdb.threads/schedlock.c (thread_function): Add a cast
20019 to suppress a gcc warning.
20020 * gdb.threads/thread-specific.c (thread_function): Likewise.
20021
934353d6
MC
200222004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20023
20024 * gdb.base/unload.c: Include <stdlib.h>.
20025
f98a0aef 200262004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 20027
f98a0aef 20028 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
20029 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
20030 synchronized after the "return".
20031
5a2e8882
MC
200322004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20033
20034 * gdb.mi/basics.c: Include <stdio.h>.
20035 * gdb.mi/pthreads.c: Include <stdlib.h>.
20036 * gdb.mi/var-cmd.c: Include <stdlib.h>.
20037
a9640423
MC
200382004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20039
20040 * gdb.threads/schedlock.c: Add copyright notice.
20041
b04e311d
AC
200422004-08-25 Andrew Cagney <cagney@gnu.org>
20043
20044 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
20045 (skip_over_handler, breakpoint_over_hander): New test procedures.
20046 (advance, advancei): Add a proper prefix, do not use
20047 rerun_to_main.
20048 * gdb.base/sigstep.c (main): Change to use an infinite loop.
20049
7c27f15b
MC
200502004-08-24 Michael Chastain <mec.gnu@mindspring.com>
20051
20052 * gdb.mi/basics.c: Add copyright notice.
20053 * gdb.mi/var-cmd.c: Add copyright notice.
20054
fffc87ae
MC
200552004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20056
20057 * lib/gdb.exp: Remove signed_keyword_not_used.
20058 * lib/compiler.c: Likewise.
20059 * lib/compiler.cc: Likewise.
20060
d782e0bf
MC
200612004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20062
20063 * gdb.base/whatis.c: Remove conditional disabling of "signed".
20064 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
20065
96033e83
MC
200662004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20067
20068 * gdb.base/whatis.c: Add copyright notice.
20069
cf38c229
MK
200702004-08-20 Mark Kettenis <kettenis@gnu.org>
20071
20072 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
20073 it to skip the breakpoints encoded in the inline assembly.
20074
f4b49756
MC
200752004-08-20 Michael Chastain <mec.gnu@mindspring.com>
20076
20077 * Makefile.in: Add gdb.fortran.
20078
2f193b69
MC
200792004-08-20 Michael Chastain <mec.gnu@mindspring.com>
20080
20081 * gdb.base/call-sc.exp (test_scalar_returns):
20082 Fix cut-and-paste glitch in "Make fun return now".
20083
89a237cb
MC
200842004-08-17 Michael Chastain <mec.gnu@mindspring.com>
20085
20086 * configure.in: Add gdb.fortran.
20087 * configure: Regenerate.
20088 * gdb.fortran/Makefile.in: New file.
20089 * lib/gdb.exp (skip_fortran_tests): New procedure.
20090
469aff8e
MC
200912004-08-17 Michael Chastain <mec.gnu@mindspring.com>
20092
20093 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
20094 reference to bug-gnu@prep.ai.mit.edu.
20095 * gdb.mi/mi-var-child.exp: Likewise.
20096 * gdb.mi/mi-var-cmd.exp: Likewise.
20097 * gdb.mi/mi-var-display.exp: Likewise.
20098 * gdb.mi/mi2-var-block.exp: Likewise.
20099 * gdb.mi/mi2-var-child.exp: Likewise.
20100 * gdb.mi/mi2-var-cmd.exp: Likewise.
20101 * gdb.mi/mi2-var-display.exp: Likewise.
20102
00b51b9f
MK
201032004-08-15 Mark Kettenis <kettenis@gnu.org>
20104
20105 * gdb.base/unload.c (main): Make local variable msg const.
20106
45f07fef
MC
201072004-08-15 Michael Chastain <mec.gnu@mindspring.com>
20108
20109 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
20110 to bug-gnu@prep.ai.mit.edu.
20111 * gdb.mi/mi-disassemble.exp: Likewise.
20112 * gdb.mi/mi-eval.exp: Likewise.
20113 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
20114 default line number.
20115 * gdb.mi/mi-return.exp: Likewise.
20116 * gdb.mi/mi-simplerun.exp: Likewise.
20117 * gdb.mi/mi-stack.exp: Likewise.
20118 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
20119 number with explicit range test.
20120 * gdb.mi/mi-watch.exp: Likewise.
20121 * gdb.mi/mi2-break.exp: Likewise.
20122 * gdb.mi/mi2-cli.exp: Likewise.
20123 * gdb.mi/mi2-disassemble.exp: Likewise.
20124 * gdb.mi/mi2-eval.exp: Likewise.
20125 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
20126 default line number.
20127 * gdb.mi/mi2-return.exp: Likewise.
20128 * gdb.mi/mi2-simplerun.exp: Likewise.
20129 * gdb.mi/mi2-stack.exp: Likewise.
20130 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
20131 number with explicit range test.
20132 * gdb.mi/mi2-watch.exp: Likewise.
20133
dd8c8ee7
MC
201342004-08-15 Michael Chastain <mec.gnu@mindspring.com>
20135
20136 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
20137 * gdb.cp/m-static.exp: Likewise.
20138 * gdb.cp/rtti.exp: Likewise.
20139
4e838464
MK
201402004-08-14 Mark Kettenis <kettenis@gnu.org>
20141
20142 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
20143
8d8cb839
EZ
201442004-08-14 Eli Zaretskii <eliz@gnu.org>
20145
20146 * ChangeLog: Prefix Local Variables with semi-colons and indent
20147 the reference to older ChangeLog files, to fix fontification in
20148 Emacs.
20149
deea8bb0
MC
201502004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20151
20152 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
20153 * gdb.mi/mi2-break.exp: Likewise.
20154
c3297504
MC
201552004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20156
20157 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
20158
25808999
MC
201592004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20160
20161 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
20162
226a8d71
MC
201632004-08-13 Michael Chastain <mec.gnu@mindspring.com>
20164
20165 * gdb.cp/classes.exp: Remove unused declarations. Just let
20166 test names default instead of providing special names. Remove
20167 extraneous demangler test.
20168
37fdf854
JJ
201692004-08-12 Jeff Johnston <jjohnstn@redhat.com>
20170
20171 * gdb.base/unload.exp: New test for breakpoints in dynamically
20172 loaded libraries.
20173 * gdb.base/unload.c: Ditto.
20174 * gdb.base/unloadshr.c: Ditto.
20175
2d3a7986
MC
201762004-08-12 Michael Chastain <mec.gnu@mindspring.com>
20177
20178 * gdb.cp/classes.exp (test_ptype_class_objects): Call
20179 cp_test_ptype_class.
20180 (test_enums): Likewise.
20181
c72b934c
AC
201822004-08-10 Andrew Cagney <cagney@gnu.org>
20183
20184 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
20185 files.
20186
cc503c8a
AC
201872004-08-10 Andrew Cagney <cagney@gnu.org>
20188
20189 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
20190 init_malloc call.
20191
902f2ccb
MC
201922004-08-10 Michael Chastain <mec.gnu@mindspring.com>
20193
20194 * ChangeLog: Add copyright notice. The notice is copied
20195 from emacs 21.3 top level ChangeLog.
20196
78c90502
MC
201972004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20198
20199 * lib/cp-support.exp: New file.
20200 * lib/cp-support.exp (cp_test_type_class): New function.
20201 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
20202 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
20203 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
20204 cp_test_ptype_class.
20205
88e5ea78
MC
202062004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20207
20208 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
20209 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
20210 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
20211 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
20212 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
20213 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
20214 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
20215 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
20216 gdb.mi/mi2-watch.exp: Update copyright years.
20217
6a89fc9c
MK
202182004-08-09 Mark Kettenis <kettenis@gnu.org>
20219
20220 * gdb.base/sigaltstack.exp: Provide proper anchoring.
20221
1482e0de
MC
202222004-08-09 Michael Chastain <mec.gnu@mindspring.com>
20223
20224 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
20225 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
20226 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
20227 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
20228 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
20229 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
20230 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
20231 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
20232 gdb.mi/mi-watch.exp: Update copyright years.
20233
1a5ce3f3
DJ
202342004-08-08 Daniel Jacobowitz <dan@debian.org>
20235
20236 PR gdb/1738
20237 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
20238 from a breakpoint with a pending signal.
20239
04f6ecf2
DJ
202402004-08-08 Daniel Jacobowitz <dan@debian.org>
20241
20242 PR gdb/1736
20243 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
20244 * gdb.base/sigaltstack.exp (finish_test): Consume output until
20245 the prompt.
20246 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
20247
54d90d35
DJ
202482004-08-08 Daniel Jacobowitz <dan@debian.org>
20249
20250 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
20251
d2f6abb0
DJ
202522004-08-08 Daniel Jacobowitz <dan@debian.org>
20253
20254 PR gdb/1736
20255 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
20256 for i?86-*-linux*.
20257
5598c03d
DJ
202582004-08-08 Daniel Jacobowitz <dan@debian.org>
20259
20260 * gdb.arch/i386-prologue.exp: Compile without debug information.
20261
c6fee705
MC
202622004-08-08 Michael Chastain <mec.gnu@mindspring.com>
20263
20264 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
20265 rather than asking gdb to search.
20266
dd90efdb
MC
202672004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20268
20269 * gdb.base/gcore.c: Include <string.h>.
20270
1e84bec1
MC
202712004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20272
20273 * gdb.base/gcore.c: Add copyright notice.
20274
e425eb2b
MC
202752004-08-05 Michael Chastain <mec.gnu@mindspring.com>
20276
20277 * gdb.base/freebpcmd.c: Include <stdio.h>.
20278 * gdb.base/long_long.c: Include <string.h>.
20279 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
20280 * gdb.base/siginfo.c: Include <string.h>.
20281 * gdb.base/sigstep.c: Include <string.h>.
20282
cb9aaed5
MC
202832004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20284
20285 * gdb.base/complex.c: Include <stdlib.h>.
20286
55944f3d
MC
202872004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20288
20289 * gdb.base/complex.c: Add copyright notice.
20290
7b2953d9
MC
202912004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20292
20293 * gdb.base/charset.c: Include <stdlib.h>.
20294
c9133d23
MC
202952004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20296
20297 * gdb.base/auxv.c: Include <stdlib.h>.
20298
0a8490ad
MC
202992004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20300
20301 * gdb.base/auxv.c: Add copyright notice.
20302
3426d5ec
MC
203032004-08-04 Michael Chastain <mec.gnu@mindspring.com>
20304
20305 * gdb.base/coremaker.c: Add copyright notice.
20306 * gdb.base/coremaker2.c: Add copyright notice.
20307
8da195dd
AC
203082004-08-04 Andrew Cagney <cagney@gnu.org>
20309
20310 * gdb.base/store.exp: Update copyright.
20311 (check_set, up_set, check_struct, up_struct): Add a prefix to test
20312 names, do not import gdb_prompt.
20313
8d394f98
AC
203142004-08-01 Andrew Cagney <cagney@gnu.org>
20315
20316 Fix PR testsuite/1729.
20317 * gdb.base/dump.exp: Add test name to callers of capture_value, do
20318 not use capture_value with value 4.
20319 (capture_value): Add optional test name parameter.
20320 (test_reload_saved_value, test_restore_saved_value): Use $msg as
20321 the prefix, pass to capture_value.
20322
b6702b23
MK
203232004-08-01 Mark Kettenis <kettenis@gnu.org>
20324
20325 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
20326 * gdb.arch/i386-prologue.c (standard): New prototype and function.
20327 (main): Call new function.
20328
c203e0ca
MC
203292004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20330
20331 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
20332
a7995a30
MC
203332004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20334
20335 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
20336
9366563b
MC
203372004-07-31 Michael Chastain <mec.gnu@mindspring.com>
20338
b6eeaf26 20339 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
20340 Accept more values of vtbl pointer. Remove some messages
20341 about "obsolete gcc or gdb".
20342
2fc1f950
MC
203432004-07-30 Michael Chastain <mec.gnu@mindspring.com>
20344
20345 * gdb.cp/classes.exp: Accept more varieties of ptype output.
20346
c724d49b
MC
203472004-07-30 Michael Chastain <mec.gnu@mindspring.com>
20348
20349 * gdb.base/asm-source.exp: Properly convert target board
20350 debug flags from gcc format to binutils format.
20351
736b0fce
MK
203522004-07-28 Mark Kettenis <kettenis@gnu.org>
20353
20354 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
20355 gdb1718". PR backtrace/1718 partially fixed.
20356
5633ea5c
JJ
203572004-07-27 Jeff Johnston <jjohnstn@redhat.com>
20358
20359 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
20360
575eebb1
NC
203612004-07-26 Nick Clifton <nickc@redhat.com>
20362
20363 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
20364 good default value for a specific architecture is available then
20365 set it to that value. Otherwise default to the -gstabs switch.
20366 Remove the -g... switches from the asm-flags variable. Allow the
20367 target board info to override the value if it wants to. Pass the
20368 switch on the assembler command line.
20369
62104619
MK
203702004-07-23 Mark Kettenis <kettenis@gnu.org>
20371
20372 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
20373 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
20374 (main): Call new function.
20375
4a1135b8
MC
203762004-07-22 Michael Chastain <mec.gnu@mindspring.com>
20377
20378 Test for PR exp/1715.
20379 * gdb.base/radix.exp: Refactor common procedures. Make all
20380 test names unique. Change XFAIL to KFAIL.
20381
8a12c1f0
MC
203822004-07-20 Michael Chastain <mec.gnu@mindspring.com>
20383
20384 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
20385 * gdb.ada/gnat_ada.gin: ... to here.
20386 * configure.in: Use gnat_ada.gin.
20387 * configure: Regenerate.
20388
23b451cf
AC
203892004-07-20 Andrew Cagney <cagney@gnu.org>
20390
20391 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
20392 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
20393 XFAILs. Clean up test messages and comments. Check backtraces.
20394 Delete re-sync code.
20395
ab618a02
MC
203962004-07-19 Michael Chastain <mec.gnu@mindspring.com>
20397
20398 Fix PR cli/740.
20399 * gdb.base/annota1.exp: Honor gdb,nosignals.
20400 * gdb.base/annota3.exp: Likewise.
20401
46dad340
MC
204022004-07-19 Michael Chastain <mec.gnu@mindspring.com>
20403
20404 * lib/java.exp: Update copyright notice.
20405
756d8c70
AC
204062004-07-19 Andrew Cagney <cagney@gnu.org>
20407
20408 * gdb.base/selftest.exp: Copy file from here ...
20409 * gdb.gdb/selftest.exp: ... to here.
20410
586027e6
AC
204112004-07-16 Andrew Cagney <cagney@redhat.com>
20412
20413 * lib/insight-support.exp: Delete file.
20414 * lib/java.exp (java_init): Fix copyright.
20415
029d2200
AC
204162004-07-16 Andrew Cagney <cagney@gnu.org>
20417
20418 * gdb.base/restore.c: Append "prologue" to comments marking the a
20419 function's prologue.
20420 * gdb.base/restore.exp: Update copyright, re-indent.
20421 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
20422 callerN" prefix where needed. Update patterns that match a
20423 function's prologue.
20424
653b62c5
MC
204252004-07-16 Michael Chastain <mec.gnu@mindspring.com>
20426
20427 * gdb.base/restore.c: Add copyright notice.
20428
f7d690e5
AC
204292004-07-16 Andrew Cagney <cagney@gnu.org>
20430
20431 * gdb.base/logical.exp: Update copyright.
20432 (evaluate): New procedure. Use to re-implement tests using
20433 several tables.
20434
d629a7cb
MH
204352004-07-14 Martin Hunt <hunt@redhat.com>
20436
20437 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
20438 which fixes some problems where init.tcl was not found.
20439
9c7bb332
AC
204402004-07-13 Andrew Cagney <cagney@gnu.org>
20441
6bf46641
AC
20442 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
20443 (check_sizeof, check_valueof): Do not include the output in the
20444 test name. Use gdb_test.
20445 (get_valueof): Use gdb_test_multiple.
20446
c4ffd4c0
AC
20447 * gdb.base/step-test.exp: Update copyright. Use
20448 gdb_test_multiple. Ensure that test names do not include
20449 architecture dependent output.
20450
ab89363a
AC
20451 * gdb.gdb/observer.exp: Update copyright.
20452 (setup_test): Use gdb_test_multiple.
20453 (attach_first_observer, attach_second_observer)
20454 (attach_third_observer, detach_first_observer)
20455 (detach_second_observer, detach_third_observer)
20456 (reset_counters, check_counters): Make $message a prefix.
20457 (test_normal_stop_notifications): Add "args" parameter - a list of
20458 init functions to be called. Make $message a prefix,
20459 (test_observer_normal_stop): Change the message prefixes so that
20460 they are unique, pass the attach / detach procedures to
20461 test_normal_stop_notifications.
20462
ec58997a
AC
20463 * gdb.base/signull.exp (test_segv): Prefix all tests with
20464 "${name}". Clean up test messages.
20465
b475183b
AC
20466 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
20467
9c7bb332
AC
20468 * gdb.base/ena-dis-br.exp: Update copyright.
20469 (break_at): New function. Replace send_gdb with gdb_test,
20470 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
20471 ignore count, not stopped at bpt", with KFAIL.
20472
2dd95497
CV
204732004-07-13 Corinna Vinschen <vinschen@redhat.com>
20474
20475 * gdb.base/attach.exp: Remove cleanupfile handling.
20476
419e626b
AC
204772004-07-12 Andrew Cagney <cagney@gnu.org>
20478
20479 * gdb.base/annota1.exp: Cleanup corefile test name.
20480 * gdb.base/annota3.exp: Ditto.
20481
8b1b3228
AC
204822004-07-12 Andrew Cagney <cagney@gnu.org>
20483
78650829
AC
20484 * gdb.base/signals.exp: Clean up copyright, re-indent.
20485
8b1b3228
AC
20486 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
20487 gdb_test and gdb_test_multiple.
20488
935c2760
JJ
204892004-07-08 Jeff Johnston <jjohnstn@redhat.com>
20490
20491 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 20492 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
20493 provide line number info for first statement in main.
20494
1544280f
AC
204952004-07-08 Andrew Cagney <cagney@gnu.org>
20496
1279f4ff
AC
20497 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
20498
1544280f
AC
20499 * gdb.base/sigbpt.exp: Make the common part of each test name a
20500 prefix instead of suffix.
20501
bcc82369
BR
205022004-07-07 Bob Rossi <bob_rossi@cox.net>
20503
20504 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
20505 test from test_tbreak_creation_and_listing to
20506 test_file_list_exec_source_file
20507 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
20508 Changed name of test from test_tbreak_creation_and_listing to
20509 test_file_list_exec_source_file
20510
23f4b0aa
JJ
205112004-07-07 Jeff Johnston <jjohnstn@redhat.com>
20512
20513 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
20514 the jmisc() constructor instead of <init>.
20515 * gdb.java/jmisc1.exp: Ditto.
20516
56401cd5
AC
205172004-07-07 Andrew Cagney <cagney@gnu.org>
20518
20519 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
20520 corrupting the PC.
20521
44ae2f6a
MC
205222004-07-06 Michael Chastain <mec.gnu@mindspring.com>
20523
20524 * gdb.cp/templates.exp: Accept whitespace change in demangler
20525 output.
20526
45a83408
AC
205272004-07-06 Andrew Cagney <cagney@gnu.org>
20528
20529 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
20530
d205ad70
MC
205312004-07-02 Michael Chastain <mec.gnu@mindspring.com>
20532
20533 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
20534 * lib/compiler.cc: Likewise.
20535
06ea1a61
MC
205362004-06-30 Michael Chastain <mec.gnu@mindspring.com>
20537
20538 * lib/compiler.cc: Work around string preprocessing problem
20539 with old hp c++ compiler.
20540 * lib/compiler.c: Likewise.
20541
daab1251
CV
205422004-06-29 Corinna Vinschen <vinschen@redhat.com>
20543
20544 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
20545 directives to conditionalize symbol prefixing.
20546 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
20547 additional_flags handling. Add underscore prefix for Cygwin.
20548 * gdb.arch/i386-unwind.c: Use preprocessor directives to
20549 conditionalize symbol prefixing.
20550 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
20551 additional_flags handling. Add underscore prefix for Cygwin.
20552
cc984116
CV
205532004-06-29 Corinna Vinschen <vinschen@redhat.com>
20554
20555 * gdb.base/bigcore.exp: Skip test on Cygwin.
20556
c279b077
MC
205572004-06-28 Michael Chastain <mec.gnu@mindspring.com>
20558
20559 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
20560 formats for "info register". Use gdb_test_multiple. Fix
20561 the "invalid register" test.
20562
0e915747
CV
205632004-06-28 Corinna Vinschen <vinschen@redhat.com>
20564
20565 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
20566 PID for Cygwin. Add Cygwin specific strings to check for in some
20567 tests.
20568 (do_attach_tests): Add a test for user interaction when attaching
20569 to a process with no matching symbol table already loaded.
20570
11422c86
AC
205712004-06-26 Andrew Cagney <cagney@gnu.org>
20572
20573 Test PR java/1567 and PR java/1565.
20574 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
20575 * gdb.java/jmisc2.exp: Delete file.
20576
cefbce26
MC
205772004-06-26 Michael Chastain <mec.gnu@mindspring.com>
20578
20579 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
20580
e19f872c
CV
205812004-06-25 Corinna Vinschen <vinschen@redhat.com>
20582
20583 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
20584 attach process.
20585
d931ba3b
MC
205862004-06-23 Michael Chastain <mec.gnu@mindspring.com>
20587
20588 * gdb.cp/pr-1553.exp: Remove.
20589
aef68c48
MC
205902004-06-22 Michael Chastain <mec.gnu@mindspring.com>
20591
20592 * gdb.cp/pr-1553.cc: Remove.
20593 * gdb.cp/pr-1553.exp: Disable this test.
20594
8d5df71a
JB
205952004-06-20 Jim Blandy <jimb@redhat.com>
20596
a9c64011 20597 Fix PR testsuite/1680.
8d5df71a
JB
20598 * gdb.arch/i386-sse.exp: Properly quote curly braces in
20599 regular expressions.
20600
4ac6f39d
MC
206012004-06-19 Michael Chastain <mec.gnu@mindspring.com>
20602
20603 Fix PR testsuite/1679.
20604 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
20605 Issue an UNSUPPORTED result instead.
20606
1b413552
JB
206072004-06-18 Jim Blandy <jimb@redhat.com>
20608
20609 * gdb.base/charset.exp: Only send a control-C if we see a new
20610 prompt and incomplete command.
20611
6daa6ebd
MC
206122004-06-18 Michael Chastain <mec.gnu@mindspring.com>
20613
20614 * gdb.cp/pr-574.cc: Add copyright notice.
20615
51fa4ae0
JB
206162004-06-17 Jim Blandy <jimb@redhat.com>
20617
20618 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
20619 cases where the regexp has no groups; this grabs random text from
20620 the previous test suite, whatever that was.
20621
8fea26c5
MC
206222004-06-17 Michael Chastain <mec.gnu@mindspring.com>
20623
20624 * gdb.cp/printmethod.cc: Add copyright notice.
20625
1e3aeb41
MC
206262004-06-16 Michael Chastain <mec.gnu@mindspring.com>
20627
20628 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
20629
9d9030bc
AC
206302004-06-16 Andrew Cagney <cagney@gnu.org>
20631
20632 * gdb.base/signull.c: Update copyright. Include <string.h>.
20633 (bowler): Replace data_pointer with data_read
20634 and data_write cases. Add code_descriptor case.
20635 (zero, desc): New array and pointer.
20636 (data, code): Change to simple pointers.
20637 * gdb.base/signull.exp: Fix probe pattern matching a function
20638 descriptor SIGSEGV. Replace data_pointer with data_read and
20639 data_write tests.
20640
acd4ad44
AC
206412004-06-16 Andrew Cagney <cagney@gnu.org>
20642
20643 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
20644
08fd625c
MC
206452004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20646
20647 * gdb.base/long_long.c: Add copyright notice.
20648
1903502c
MC
206492004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20650
20651 * gdb.base/long_long.exp: Remove reference to
20652 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
20653 to gdb_breakpoint and gdb_continue_to_breakpoint.
20654
83313cb1
JB
206552004-06-14 Jim Blandy <jimb@redhat.com>
20656
20657 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
20658 endian case.
20659
1bf404ef
AC
206602004-06-14 Andrew Cagney <cagney@gnu.org>
20661
20662 * gdb.base/gcore.exp (capture_command_output): Delete the always
20663 passing tests containing inferior values.
20664 * gdb.base/ending-run.exp: Do not include the breakpoint address
20665 in the test message. Update copyright.
20666 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
20667 size in the test name, use gdb_test_multiple. Update copyright.
20668
ef220b33
MC
206692004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20670
20671 * gdb.cp/ref-types.cc: Add copyright notice.
20672
4f70a4c9
MC
206732004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20674
20675 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
20676 hp_aCC_compiler.
20677 * lib/compiler.cc: Likewise.
20678 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
20679 'set' commands. Log diagnostics for other lines. Set
20680 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
20681
335928ac
MC
206822004-06-13 Michael Chastain <mec.gnu@mindspring.com>
20683
20684 * gdb.cp/try_catch.cc: Add copyright notice.
20685
2efb12e8
MC
206862004-06-12 Michael Chastain <mec.gnu@mindspring.com>
20687
20688 * gdb.cp/userdef.cc: Add copyright notice.
20689
0bbed51a
MC
206902004-06-11 Michael Chastain <mec.gnu@mindspring.com>
20691
20692 * gdb.cp/virtfunc.cc: Add copyright notice.
20693
e12a46c9
RC
206942004-06-11 Randolph Chung <tausq@debian.org>
20695
20696 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
20697 problem.
20698
338e05af
AC
206992004-06-10 Andrew Cagney <cagney@gnu.org>
20700
20701 * lib/compiler.cc, lib/compiler.c: Append either
20702 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
20703 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
20704 instead of gcc-3-3.
20705
dc3f10cb
AC
207062004-06-09 Andrew Cagney <cagney@gnu.org>
20707
b4d946af
AC
20708 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
20709 gdb/1455, bug is specific to "long long" and "double".
a9c64011 20710
dc3f10cb
AC
20711 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
20712 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
20713 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
20714 fixed.
20715
b5c0bfa2
AC
207162004-06-09 Andrew Cagney <cagney@gnu.org>
20717
20718 * gdb.base/structs.exp (test_struct_returns): Replace
20719 "return_value_unknown" and "finish_value_unknown" by
20720 "return_value_known" and "finish_value_known". Instead of
20721 "return_value_unknown" iff "finish_value_unknown", check
20722 "return_value_known" implies "finish_value_known".
20723
caeb605f
MH
207242004-06-08 Martin Hunt <hunt@redhat.com>
20725
20726 * gdb.base/float.exp: Add pattern for mips targets.
20727
c892bb64
RC
207282004-06-08 Randolph Chung <tausq@debian.org>
20729
20730 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
20731 message for unknown architectures more clear.
20732
48306d3e
JB
207332004-06-08 Joel Brobecker <brobecker@gnat.com>
20734
20735 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
20736 start the execution of the program.
20737
83ecb59f
JB
207382004-06-07 Jim Blandy <jimb@redhat.com>
20739
20740 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
20741 * gdb.arch/i386-cpuid.h: New helper file.
20742
55264cb4
RC
207432004-06-07 Randolph Chung <tausq@debian.org>
20744
20745 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
20746 has started.
20747
23cadb28
RM
207482004-06-04 Roland McGrath <roland@redhat.com>
20749
20750 Fix PR gdb/1647.
20751 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
20752 differently to be robust to output buffering differences.
20753
51d01eda
MC
207542004-06-04 Michael Chastain <mec.gnu@mindspring.com>
20755
20756 * gdb.threads/pthreads.exp: Update copyright years.
20757 (check_control_c): Change asynchronous 'after' to synchronous.
20758
f4fc3b93
RM
207592004-06-04 Roland McGrath <roland@redhat.com>
20760
20761 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
20762 next gdb prompt.
20763
4013522b
MC
207642004-06-02 Michael Chastain <mec.gnu@mindspring.com>
20765
20766 Fix PR gdb/1636.
20767 * gdb.threads/manythreads.exp: Change asynchronous 'after'
20768 calls to synchronous.
20769
7a8f1e6b
JB
207702004-05-26 Jim Blandy <jimb@redhat.com>
20771
20772 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
20773
81bb3443
RC
207742004-05-24 Randolph Chung <tausq@debian.org>
20775
20776 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
20777 * gdb.asm/pa.inc: New file.
20778
8f5a3103
MK
207792004-05-22 Mark Kettenis <kettenis@gnu.org>
20780
20781 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
20782
734b8fe8 207832004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 20784 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
20785
20786 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
20787 GDB prompt.
20788
725603e1
UW
207892004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20790
f4fc3b93 20791 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
20792 setjmp/longjmp. Use sigaction instead of signal.
20793
8b923272 207942004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 20795 Michael Snyder <msnyder@redhat.com>
8b923272
JB
20796
20797 * gdb.threads/pthread_cond_wait.c: New file.
20798 * gdb.threads/pthread_cond_wait.exp: New testcase.
20799
8bfabb04
AC
208002004-05-13 Andrew Cagney <cagney@redhat.com>
20801
20802 * gdb.base/signull.exp, gdb.base/signull.c: New files.
20803 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
20804
42edda50
AC
208052004-05-11 Andrew Cagney <cagney@redhat.com>
20806
20807 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
20808 fixed but revealed gdb/1639.
20809
d303a6c7
AC
208102004-05-10 Andrew Cagney <cagney@redhat.com>
20811
20812 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
20813 func1" and "next to 2nd alarm", kernel bug avoided.
20814
bf08c2a1
DJ
208152004-05-10 Daniel Jacobowitz <dan@debian.org>
20816
20817 PR external/1568
20818 * gdb.base/bigcore.exp: Check the size of the dumped core file.
20819 XFAIL if it is smaller than bytes_allocated.
20820 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
20821 (main): Make chunks_allocated unsigned. Correct comment.
20822
c0586a34
JB
208232004-05-07 Joel Brobecker <brobecker@gnat.com>
20824
20825 * gdb.arch/powerpc-aix-prologue.c: New file.
20826 * gdb.arch/powerpc-aix-prologue.exp: New file.
20827
f2785d12
JB
208282004-05-07 Jim Blandy <jimb@redhat.com>
20829
20830 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
20831 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
20832
bd7f6e30
JB
208332004-05-06 Joel Brobecker <brobecker@gnat.com>
20834
20835 * gdb.base/sep.exp: No longer setup_kfail when the program was
20836 built with dwarf2.
20837
0a5e7efe
JI
208382004-05-05 Jim Ingham <jingham@apple.com>
20839
20840 * gdb.base/pending.exp: Make sure pending breakpoints
20841 preserve the ignore count.
f4fc3b93 20842
a8958849
MK
208432004-04-27 Jerome Guitton <guitton@gnat.com>
20844
20845 * i386-prologue.exp: Add testcase for jump instruction as first
20846 instruction of the real code.
20847 * i386-prologue.c (jump_at_beginning): New function.
20848
7e103f5b
MK
208492004-04-28 Mark Kettenis <kettenis@gnu.org>
20850
20851 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
20852 x86_64-*-*.
20853
5d38b224
MK
208542004-04-28 Mark Kettenis <kettenis@gnu.org>
20855
20856 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
20857 i*86-*-*.
20858
0ef32fd9
MK
208592004-04-25 Mark Kettenis <kettenis@gnu.org>
20860
20861 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
20862 expression that checks the return type.
20863
71d7dd7c
AC
208642004-04-23 Andrew Cagney <cagney@redhat.com>
20865
20866 * gdb.base/call-sc.exp: New test of scalar call/return values.
20867 * gdb.base/call-sc.c: Ditto.
20868
1e9f977e
JJ
208692004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20870
20871 * gdb.threads/manythreads.c: Reduce thread stack size.
20872
899d9e3a
JJ
208732004-04-23 Jeff Johnston <jjohnstn@redhat.com>
20874
20875 * gdb.threads/manythreads.c: Add copyright notice.
20876
61bcae62
AC
208772004-04-23 Andrew Cagney <cagney@redhat.com>
20878
20879 * gdb.base/siginfo.exp: Better handle step out of signal.
20880 * gdb.base/sigstep.exp: Ditto.
20881
7339a42e 208822004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 20883 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
20884
20885 * gdb.threads/manythreads.c: New testcase.
20886 * gdb.threads/manythreads.exp: Ditto.
20887
5c98409b
JB
208882004-04-22 Jim Blandy <jimb@redhat.com>
20889
20890 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
20891 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
20892
3b611f1a
MC
208932004-04-21 Michael Chastain <mec.gnu@mindspring.com>
20894
20895 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
20896
f0fd9238
AC
208972004-04-21 Andrew Cagney <cagney@redhat.com>
20898
20899 * gdb.base/sigstep.c: New file.
20900 * gdb.base/sigstep.exp: New file.
20901
90990674
JB
209022004-04-16 Joel Brobecker <brobecker@gnat.com>
20903
20904 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
20905 call to observer_notify_normal_stop.
20906
78cef34b
AC
209072004-04-15 Andrew Cagney <cagney@redhat.com>
20908
20909 * gdb.base/siginfo.c: New file.
20910 * gdb.base/siginfo.exp: New file.
20911
d2343407
JB
209122004-04-12 J. Brobecker <brobecker@gnat.com>
20913
20914 * gdb.base/sep.exp: Fix typo in comment.
20915
a2dba3c8
JB
209162004-04-12 J. Brobecker <brobecker@gnat.com>
20917
20918 * gdb.base/sep.c: New file.
20919 * gdb.base/sep-proc.c: New file.
20920 * gdb.base/sep.exp: New testcase.
20921
15f7b60e
MK
209222004-04-09 Mark Kettenis <kettenis@gnu.org>
20923
20924 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
20925 support.
20926
44f4de1a
AC
209272004-04-05 Andrew Cagney <cagney@redhat.com>
20928
20929 * gdb.base/sigaltstack.c: New file.
20930 * gdb.base/sigaltstack.exp: New file.
20931
ef04f396
JB
209322004-04-04 Joel Brobecker <brobecker@gnat.com>
20933
20934 * gdb.base/foll-fork.exp: Update the expected output for
20935 "help set follow-fork-mode", to match a change that was made
20936 to the help of this variable on 2004-01-13.
20937
d40d2c92
JB
209382004-04-01 Joel Brobecker <brobecker@gnat.com>
20939
20940 * lib/ada.exp: Add copyright notice.
20941 * bar.ads: Likewise.
20942 * bar.adb: Likewise.
20943 * null_record.adb: Likewise.
20944 * null_record.exp: Likewise.
20945 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
20946
f86ef5a3
JB
209472004-04-01 Joel Brobecker <brobecker@gnat.com>
20948
20949 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
20950 * configure: Regenerate.
20951
414e70e3
JB
209522004-04-01 Joel Brobecker <brobecker@gnat.com>
20953
20954 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
20955 to build the application. Remove the message printed when in
20956 verbose mode, redundant with the UNSUPPORTED message above.
20957
f0aaee49
JB
209582004-03-31 Joel Brobecker <brobecker@gnat.com>
20959
20960 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
20961 * gdb.ada (null_record.exp): New testcase.
20962
ac81cb54
JB
209632004-03-31 Joel Brobecker <brobecker@gnat.com>
20964
20965 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
20966
854af2f7
JB
209672004-03-31 Joel Brobecker <brobecker@gnat.com>
20968
20969 * gdb.ada: New subdirectory.
20970 * gdb.ada/Makefile.in: New file.
20971 * gdb.ada/gnat_ada.gpr.in: New file.
20972
034cb681
JB
209732004-03-31 Joel Brobecker <brobecker@gnat.com>
20974
20975 * lib/ada.exp: New file.
20976
78a1a894
DJ
209772004-03-24 Daniel Jacobowitz <drow@mvista.com>
20978
20979 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
20980 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
20981
4b2b3b3e
AC
209822004-03-22 Andrew Cagney <cagney@redhat.com>
20983
20984 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
20985 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
20986 Problem identified by Ulrich Weigand.
20987
23c73aa3
DC
209882004-03-17 David Carlton <carlton@kealia.com>
20989
20990 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
20991 PR c++/826.
20992
d63a86f8
RM
209932004-03-16 Roland McGrath <roland@redhat.com>
20994
20995 * gdb.base/auxv.exp: New file.
20996 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
20997
0e02aa50
DC
209982004-03-12 David Carlton <carlton@kealia.com>
20999
21000 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
21001 * gdb.cp/pr-1553.cc: Ditto.
21002 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
21003 pass branch.
21004
c20b71be
MC
210052004-03-12 Michael Chastain <mec.gnu@mindspring.com>
21006
21007 * gdb.cp/templates.exp: Accept more template types.
21008
c7414a01
MC
210092004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21010
21011 From Corinna Vinschen with modifications.
21012 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
21013 local variable obj_with_enum.
21014 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
21015 results with obj_with_enum.
21016
ed69573c
MC
210172004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21018
21019 * gdb.cp/classes.cc: New file, copied from misc.cc.
21020 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
21021
28301461
MC
210222004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21023
21024 * gdb.cp/misc.cc: Add copyright notice.
21025
1198ecbe
DC
210262004-03-05 David Carlton <carlton@kealia.com>
21027
21028 * gdb.cp/rtti.exp: Add 'print *obj3' test.
21029 * gdb.cp/rtti.h: Update copyright.
21030 (namespace n2::n3): New.
21031 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
21032 (n2::n3::func3): New.
21033 (main): Call n2::n3::func3.
21034 * gdb.cp/rtti2.cc: Update copyright.
21035 (n2::create3): New.
21036
9e08c470
MK
210372004-03-04 Mark Kettenis <kettenis@gnu.org>
21038
21039 * gdb.asm/openbsd.inc: Fix typo.
21040
4bebc3aa
FF
210412004-03-03 Fred Fish <fnf@redhat.com>
21042
21043 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
21044 "val" instead of unused "size". Update copyright year.
21045
6ea9fb37
DJ
210462004-02-29 Daniel Jacobowitz <drow@mvista.com>
21047
21048 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
21049 to use unsigned char.
21050 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
21051 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
21052
23b23974
DJ
210532004-02-29 Daniel Jacobowitz <drow@mvista.com>
21054
21055 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
21056 line of output.
21057
7574fd53
DJ
210582004-02-28 Daniel Jacobowitz <drow@mvista.com>
21059
21060 * gdb.base/relocate.c (dummy): Initialize.
21061
a195357f
DJ
210622004-02-28 Daniel Jacobowitz <drow@mvista.com>
21063
21064 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
21065 a breakpoint at exit.
21066
72fd54a9
FF
210672004-02-27 Fred Fish <fnf@redhat.com>
21068
21069 * gdb.base/chng-syms.exp: Add expect condition to match failing
21070 case that isn't a timeout.
21071
b9d23137
AC
210722004-02-27 Andrew Cagney <cagney@redhat.com>
21073
21074 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
21075 support.
21076
15d208f6 210772004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 21078
15d208f6
FF
21079 * gdb.arch/gdb1431.c: Remove.
21080 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
21081 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
21082 of "until" incorrectly.
21083
98f9cd2d
JB
210842004-02-26 J. Brobecker <brobecker@gnat.com>
21085
21086 * gdb.cp/class2.cc (empty): New class.
21087 (refer): New function.
21088 (main): Declare an object of type empty and use it.
21089 * gdb.cp/class2.exp: Print the value of an object of type empty.
21090
9b50c11b
JJ
210912004-02-26 Jeff Johnston <jjohnstn@redhat.com>
21092
21093 * gdb.base/langs.exp: Update query string to match the
21094 new nquery format used for pending breakpoints.
21095
0dcd613f
AC
210962004-02-26 Andrew Cagney <cagney@redhat.com>
21097
21098 Fix PR i18n/1570.
21099 * gdb.base/charset.c: Update copyright notice.
21100 (main, init_string): Remove the escape character '\e' tests.
21101 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
21102 * gdb.base/charset.exp (valid_host_charset): Ditto.
21103 * gdb.base/setvar.exp: Ditto.
21104
b8a56647
AC
211052004-02-24 Andrew Cagney <cagney@redhat.com>
21106
90d59e34
AC
21107 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
21108 mmapped data in core file" PASS and FAIL messages consistent.
21109
b8a56647
AC
21110 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
21111 setting a breakpoint. Work around PR java/1565.
21112
9f27c604
JJ
211132004-02-23 Jeff Johnston <jjohnstn@redhat.com>
21114
21115 * lib/gdb.exp (gdb_breakpoint): Update query string to match
21116 new nquery format.
21117 * gdb.base/pending.exp: Ditto.
21118
3224a706
MK
211192004-02-22 Mark Kettenis <kettenis@gnu.org>
21120
21121 * configure.in: Run stabs tests on *BSD.
21122 * configure: Regenerated.
21123
41e0a9ca
MK
211242004-02-21 Mark Kettenis <kettenis@gnu.org>
21125
21126 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
21127
1e1b3428
FF
211282004-02-20 Fred Fish <fnf@redhat.com>
21129
21130 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
21131 blank in test for "returns short", for consistency with other
21132 "returns xxx" tests. Update copyright year.
21133
f9a7572a
FF
211342004-02-19 Fred Fish <fnf@redhat.com>
21135
21136 New testcase for PR breakpoint/1558.
21137 * gdb.arch/gdb1558.exp: New file.
21138 * gdb.arch/gdb1558.c: New file.
21139
b2ce2854
EZ
211402004-02-19 Elena Zannoni <ezannoni@redhat.com>
21141
21142 * gdb.base/nodebug.exp: Fix typo.
21143
e7c9ff01
JB
211442004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21145
21146 Committed by Jim Blandy <jimb@redhat.com>.
21147
62f4b920
JB
21148 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
21149
2db536a1
JB
21150 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
21151
e7c9ff01
JB
21152 * gdb.base/float.exp: Support s390*-*-* targets.
21153
f3205b34
AF
211542004-02-17 Adam Fedor <fedor@gnu.org>
21155
21156 * gdb.base/gdb1555.exp: New file.
21157 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
21158
9d62932d
EZ
211592004-02-17 Elena Zannoni <ezannoni@redhat.com>
21160
21161 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
21162
344c9711
FF
211632004-02-16 Fred Fish <fnf@redhat.com>
21164
21165 * gdb.arch/gdb1291.c: Remove
21166 * gdb.arch/gdb1291.s: New test input file.
21167 * gdb.arch/gdb1291.exp: Expand test to check case that should not
21168 fail. Test for correct result, known incorrect result, other
21169 failures and timeouts.
21170
2d822687
AC
211712004-02-16 Andrew Cagney <cagney@redhat.com>
21172
21173 * gdb.base/bigcore.exp: New file.
21174 * gdb.base/bigcore.c: New file.
21175
dac15b66
AC
211762004-02-13 Andrew Cagney <cagney@redhat.com>
21177
21178 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
21179 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
21180 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
21181 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
21182 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
21183 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
21184 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
21185 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
21186 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
21187 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
21188
6bdfc2c4
JJ
211892004-02-11 Jeff Johnston <jjohnstn@redhat.com>
21190
21191 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
21192 executed is an alloc instruction.
21193
87b3ede8
DC
211942004-02-11 David Carlton <carlton@kealia.com>
21195
21196 * gdb.cp/breakpoint.exp: New.
21197 * gdb.cp/breakpoint.cc: New.
21198
6e19e2bf
MC
211992004-02-11 Michael Chastain <mec.gnu@mindspring.com>
21200
21201 Partial fix for PR gdb/1543.
21202 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
21203 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
21204 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
21205 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
21206 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
21207 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
21208 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
21209 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
21210 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
21211 to bug-gdb@prep.ai.mit.edu .
21212 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
21213 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
21214 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
21215 Likewise.
21216
5c5455dc
AC
212172004-02-10 Andrew Cagney <cagney@redhat.com>
21218
21219 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
21220 using gdb_internal_error_resync.
21221
9cf689d7
DJ
212222004-02-09 Daniel Jacobowitz <drow@mvista.com>
21223
21224 * gdb.threads/thread-specific.exp: Stop early if no threads are
21225 found.
21226
d2dc51db
MC
212272004-02-09 Michael Chastain <mec.gnu@mindspring.com>
21228
21229 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
21230
14b1a056
DJ
212312004-02-08 Daniel Jacobowitz <drow@mvista.com>
21232
21233 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
21234 breakpoints.
21235
83f66e8f
DJ
212362004-02-07 Daniel Jacobowitz <drow@mvista.com>
21237
21238 * config/sim.exp (gdb_load): Handle $arg == "".
21239 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
21240 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
21241
30fc0091
EZ
212422004-02-07 Elena Zannoni <ezannoni@redhat.com>
21243
a9c64011
AS
21244 * gdb.base/maint.exp: Update test to reflect
21245 obstack changes.
30fc0091 21246
4d806929
JJ
212472004-02-04 Jeff Johnston <jjohnstn@redhat.com>
21248
21249 * gdb.base/pendshr.c (pendfunc): New function that calls
21250 pendfunc1.
21251 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
21252
7bfdd688
FF
212532004-02-04 Fred Fish <fnf@redhat.com>
21254
21255 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
21256 function symbols and update copyright years.
21257 * gdb.arch/gdb1291.c: Ditto.
21258
aaa08ee4
MC
212592004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21260
21261 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
21262
dbad7755
MC
212632004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21264
21265 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
21266
ec4646ef
MC
212672004-02-03 Michael Chastain <mec.gnu@mindspring.com>
21268
21269 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
21270
1b802196
FF
212712004-02-02 Fred Fish <fnf@redhat.com>
21272
21273 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
21274 remote targets. Update copyright years.
21275
18fe2033
JJ
212762004-02-02 Jeff Johnston <jjohnstn@redhat.com>
21277
21278 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
21279 support.
21280 * gdb.base/langs.exp: Fix test which attempts to create
21281 breakpoint on non-existent function to handle new pending
21282 support.
21283 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
21284 a breakpoint.
21285 * gdb.base/pending.exp: New test.
21286 * gdb.base/pending.c: New file.
21287 * gdb.base/pendshr.c: Ditto.
21288
8d577d32
DC
212892004-02-02 David Carlton <carlton@kealia.com>
21290
21291 * gdb.cp/overload.exp: Add overloadNamespace tests.
21292 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
21293 (overloadNamespace, XXX): New.
21294 (main): Call XXX::marker2.
21295
3ad13771
FF
212962004-02-01 Fred Fish <fnf@redhat.com>
21297
21298 * gdb.base/dump.exp: Use runto_main instead of "runto main".
21299 * gdb.base/finish.exp: Ditto.
21300 * gdb.base/gcore.exp: Ditto.
21301 * gdb.base/huge.exp: Ditto.
21302 * gdb.base/info-proc.exp: Ditto.
21303 * gdb.base/return2.exp: Ditto.
21304 * gdb.threads/gcore-thread.exp: Ditto.
21305
44c75849
DJ
213062004-02-01 Daniel Jacobowitz <drow@mvista.com>
21307
21308 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
21309
005bc093
MK
213102004-02-01 Mark Kettenis <kettenis@gnu.org>
21311
21312 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
21313 that opening the file succeeds on OpenBSD.
21314
c47cebdb
DJ
213152004-02-01 Daniel Jacobowitz <drow@mvista.com>
21316
21317 * gdb.threads/thread-specific.c: New file.
21318 * gdb.threads/threads-specific.exp: New test script.
21319 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
21320 to expect_out.
21321
5a01311c
MK
213222004-02-01 Mark Kettenis <kettenis@gnu.org>
21323
21324 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
21325 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
21326 only on the "print_small_structs from print_long_arg_list" test.
21327
ce22a4f1
DJ
213282004-02-01 Daniel Jacobowitz <drow@mvista.com>
21329
21330 * gdb.base/completion.exp: Kill a stray backslash.
21331
21332 From Jim Ingham <jingham@apple.com>:
21333 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
21334 agrees with the result from sending a tab.
21335
abbab9d3
DJ
213362004-01-31 Daniel Jacobowitz <drow@mvista.com>
21337
21338 * gdb.base/chng-syms.exp: Remove stray newline.
21339
53904d1e
MK
213402004-01-31 Mark Kettenis <kettenis@gnu.org>
21341
21342 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
21343 *-*-openbsd*.
21344 * gdb.asm/openbsd.inc: New file.
21345
3a4b3aac
MK
213462004-01-30 Mark Kettenis <kettenis@gnu.org>
21347
21348 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
21349 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
21350 *-*solaris2*. Remove commented out default settings for
21351 asm-flags. Replace gdb_compile with target_link.
21352
ebac27b4
MC
213532004-01-29 Michael Chastain <mec.gnu@mindspring.com>
21354
21355 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
21356 for all tests. Remove old hp-ux and cygnus xfail cases.
21357
d8679d84
PH
213582004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
21359
21360 * gdb.base/chng-syms.exp: New file.
21361 * gdb.base/chng-syms.c: New file.
21362
0a55bc22
MC
213632004-01-24 Michael Chastain <mec.gnu@mindspring.com>
21364
21365 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
21366 Provide arms for current output in all my configurations.
21367
94b8e876
MC
213682004-01-24 Michael Chastain <mec.gnu@mindspring.com>
21369
21370 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
21371 * lib/compiler.cc: Likewise.
21372 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
21373 get the right preprocessor. Eval the output directly. Remove
21374 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
21375 hp_f77_compiler and hp_f90_compiler completely.
21376 (gdb_preprocess): Delete.
21377 (get_compiler): Delete.
21378
7cf03d44
MK
213792004-01-24 Mark Kettenis <kettenis@gnu.org>
21380
21381 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
21382 <string.h>.
21383
68b6dce9
NR
213842004-01-24 Nick Roberts <nick@nick.uklinux.net>
21385
21386 * gdb.mi/mi-stack.exp: Update copyright.
21387
b368761e
DC
213882004-01-23 David Carlton <carlton@kealia.com>
21389
21390 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
21391 test for cp_lookup_transparent_type.
21392 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
21393 call them.
21394
f2061b53
DJ
213952004-01-23 Daniel Jacobowitz <drow@mvista.com>
21396
21397 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
21398 after -var-update.
21399
37fc574a
DC
214002004-01-23 David Carlton <carlton@kealia.com>
21401
21402 * gdb.cp/namespace.cc (C::ensureRefs): New.
21403 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
21404
8e94b928
NR
214052004-01-20 Nick Roberts <nick@nick.uklinux.net>
21406
21407 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
21408 case "-stack-list-locals 2".
21409 * gdb.mi/mi-var-child.exp: Test for case
21410 "-var-list-children --all-values NAME".
21411
997b0952
MC
214122004-01-18 Michael Chastain <mec.gnu@mindspring.com>
21413
21414 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
21415
52470da3
MK
214162004-01-18 Mark Kettenis <kettenis@gnu.org>
21417
7049b4b8
MK
21418 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
21419 used with gdb_test_multiple.
21420
52470da3
MK
21421 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
21422 read at address 0. This fixes PR testsuite/1504.
21423
da6012e5
DJ
214242004-01-18 Daniel Jacobowitz <drow@mvista.com>
21425
21426 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
21427 Remove downloading, guessing the host executable, the calls to
21428 gdb_file_cmd and gdb_target_cmd, and "load" support.
21429 (infer_host_exec): New function broken out from gdb_load.
21430 (gdb_load): New wrapper for gdbserver_gdb_load.
21431 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
21432 gdb_target_cmd. Use -target-select.
21433 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
21434 Download binaries to the host. Clear last_mi_remote_file when
21435 we load a new binary.
21436 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
21437 call gdbserver_gdb_load and mi_gdb_target_cmd.
21438
32c70722
MC
214392004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21440
21441 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
21442 type patterns.
21443
b0cecf36
MC
214442004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21445
21446 * gdb.cp/templates.exp: Fix typo in test name of
21447 "print Foo<volatile char*>::foo".
21448
4120d7e6
MC
214492004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21450
21451 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
21452
f679e530
BE
214532004-01-16 Ben Elliston <bje@wasabisystems.com>
21454
21455 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
21456 (clean mostlyclean): Remove empty rm.
21457
091c48f6
MC
214582004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21459
21460 * gdb.base/setvar.exp: Add copyright years.
21461
3e5fc8d2
DC
214622004-01-14 David Carlton <carlton@bactrian.org>
21463
21464 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
21465 PR c++/1511 and update coment.
21466 * gdb.cp/templates.exp: Update patterns to match current output.
21467 If changes involve something other than whitespace, KFAIL
21468 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
21469
63d06c5c
DC
214702004-01-14 David Carlton <carlton@kealia.com>
21471
21472 * gdb.cp/namespace.exp: Add tests involving classes defined within
21473 namespaces.
21474 * gdb.cp/namespace.cc (C::CClass): New.
21475 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
21476
a51dab88
EZ
214772004-01-14 Elena Zannoni <ezannoni@redhat.com>
21478
21479 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
21480 what debug info we have. Print a better message if something goes
21481 wrong while producing the separate debug info file.
21482
a476ccc9
MC
214832004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21484
21485 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
21486
f453692c
MC
214872004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21488
21489 * gdb.base/callfuncs.c: Add copyright notice.
21490
f40063a5
MC
214912004-01-13 Michael Chastain <mec.gnu@mindspring.com>
21492
21493 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
21494 inheritance. PR gdb/1498, PR gcc/13539.
21495
19ac3974
EZ
214962004-01-13 Elena Zannoni <ezannoni@redhat.com>
21497
a9c64011
AS
21498 * gdb.threads/gcore-thread.exp: Prefix name of binary with
21499 test specific name.
21500 * gdb.mi/gdb669.exp: Ditto.
21501 * gdb.mi/mi-pthreads.exp: Ditto.
21502 * gdb.mi/mi1-pthreads.exp: Ditto.
21503 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 21504
56c97c6e
MC
215052004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21506
21507 * gdb.cp/member-ptr.cc: Add copyright notice.
21508
a0644324
MC
215092004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21510
21511 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
21512 some patterns for recent versions of gcc and hpacc. Delete
21513 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
21514 Delete tests that access a NULL pointer-to-member-data. This
21515 script is still disabled for gcc.
21516
32fabe09
EZ
215172004-01-12 Elena Zannoni <ezannoni@redhat.com>
21518
21519 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 21520 escaped correctly.
32fabe09 21521
1f8a6abb
EZ
215222004-01-12 Elena Zannoni <ezannoni@redhat.com>
21523
21524 * gdb.base/sepdebug.exp: New file.
21525 * gdb.base/sepdebug.c: New file.
21526 * lib/gdb.exp (separate_debug_filename): New procedure.
21527 (gdb_gnu_strip_debug): New procedure.
21528
48efe704
AC
215292004-01-12 Andrew Cagney <cagney@redhat.com>
21530
21531 * gdb.mi/ChangeLog: Delete file. Renamed to ...
21532 * gdb.mi/ChangeLog-1999-2003: New file.
21533
a9415475
AC
215342004-01-12 Andrew Cagney <cagney@redhat.com>
21535
21536 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
21537 "Renaming a directory to a non-empty directory returns ENOTEMPTY
21538 or EEXIST", treat EBUSY as an XFAIL.
21539
83b8cf9d
MC
215402004-01-11 Michael Chastain <mec.gnu@mindspring.com>
21541
21542 * gdb.base/scope.exp: Remove obsolete setup_xfail for
21543 hp_cc_compiler.
21544
9939d2a8
MC
215452004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21546
21547 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
21548 decorations.
21549
1ff8cadf
MC
215502004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21551
21552 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
21553 and "(aCC)" decorations. Remove obsolete doco about old
21554 test results.
21555
6fa9022e
MC
215562004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21557
21558 * gdb.cp/exception.exp: Fix typo in doco.
21559
209721fe
MK
215602004-01-09 Mark Kettenis <kettenis@gnu.org>
21561
21562 * gdb.base/gdb1476.exp: Fix typo.
21563
ef11303e
MC
215642004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21565
21566 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
21567 file.
21568
041ab88c
MC
215692004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21570
21571 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
21572 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
21573 Use gdb_compile. Remove restriction on gcc. Add some patterns
21574 for recent version of gdb. Delete second half, which was a copy
21575 of the first half with different build flags. This test is
21576 still disabled because it is still not ready for production.
21577
e36d075a
MC
215782004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21579
21580 * gdb.cp/exception.cc: Add copyright notice.
21581 * gdb.cp/exception.exp: Add a notice that this file is broken
21582 because of line number changes caused by addition of copyright
21583 notice.
21584
42b190ad
MC
215852004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21586
21587 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
21588 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
21589
8f25f06b
MC
215902004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21591
21592 * gdb.cp/classes.exp: Accept gnu abi 2.
21593 * gdb.cp/derivation.exp: Likewise.
21594 * gdb.cp/overload.exp: Likewise.
21595 * gdb.cp/virtfunc.exp: Likewise.
21596
06ded8b8
MC
215972004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21598
21599 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
21600 semicolon after end of function.
21601
77c26ae3
MC
216022004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21603
21604 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
21605 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
21606 boilerplate code for compiling and running the program under
21607 test. Add some string method tests.
21608
20757486
MC
216092004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21610
21611 * gdb.cp/bs15503.cc: Add copyright notice.
21612 * gdb.cp/bs15503.exp: Adjust line number.
21613
0fd3b503
MC
216142004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21615
21616 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
21617 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
21618
10d1bea8
MC
216192004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21620
21621 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
21622 hp_cc_compiler.
21623
2789202a
MC
216242004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21625
21626 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
21627 * gdb.cp/ctti.exp: Use the marker instead of "next".
21628 With gcc, run further before bailing.
21629
b862f14c
MC
216302004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21631
21632 * gdb.cp/cttiadd.cc: Add copyright notice.
21633 * gdb.cp/cttiadd1.cc: Likewise.
21634 * gdb.cp/cttiadd2.cc: Likewise.
21635 * gdb.cp/cttiadd3.cc: Likewise.
21636
96da2469
MC
216372004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21638
21639 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
21640 Use gdb_test, gdb_test_multiple. Use floating-point values that
21641 have exact representations in IEEE-ish formats.
21642
053248ff
MC
216432004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21644
21645 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
21646 compilers. Delete duplicate call to get_compiler_info.
21647 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
21648 * gdb.base/volatile.exp: Likewise.
21649
84acecdd
MK
216502004-01-07 Mark Kettenis <kettenis@gnu.org>
21651
21652 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
21653 memory at address 0.
21654
fe11a27f
MC
216552004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21656
21657 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
21658 to test for hp-ux assembler. Fix copyright years.
21659
60ad077b
AC
216602004-01-07 Andrew Cagney <cagney@redhat.com>
21661
21662 * gdb.base/fileio.c (strerrno): Add "EBUSY".
21663
1c9b8f33
AC
216642004-01-07 Andrew Cagney <cagney@redhat.com>
21665
21666 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
21667 when creating the read-only file. From analysis by Roland McGrath
21668 and Elena Zannoni.
21669
753ccc7a
MC
216702004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21671
21672 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
21673
eca3e36b
MC
216742004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21675
21676 * gdb.base/cvexpr.c: Be type-safe with function pointers and
21677 data pointers.
21678
f8d4bac4
MC
216792004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21680
21681 * gdb.cp/m-static.exp: Compile one source file at a time.
21682 Delete unused call to get_compiler_info.
21683
9b4e0f94
MC
216842004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21685
21686 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
21687 * gdb.base/call-rt-st.exp: Likewise.
21688 * gdb.base/nodebug.exp: Likewise.
21689 * gdb.base/volatile.exp: Likewise.
21690 * gdb.cp/ref-types.exp: Likewise.
21691 * gdb.cp/templates.exp: Likewise.
21692
023c1024
MK
216932004-01-05 Mark Kettenis <kettenis@gnu.org>
21694
21695 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
21696
19703c4a
MC
216972004-01-05 Michael Chastain <mec.gnu@mindspring.com>
21698
21699 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
21700 hppa*-hp-hpux*.
21701
18b67037
MK
217022004-01-04 Mark Kettenis <kettenis@gnu.org>
21703
ba6219c8
MK
21704 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21705 x86_64-*-*.
21706
18b67037
MK
21707 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21708 sparc64-*-* and sparc*-solaris2*.
21709
1bfbbb9d
MK
217102004-01-04 Mark Kettenis <kettenis@gnu.org>
21711
21712 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
21713 return ${tests}" test. The ${tests} already mentions the
21714 filename.
21715
06846494
MC
217162004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21717
21718 * gdb.cp/local.exp: Accept gcc abi 2.
21719
3b0cb202
MC
217202004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21721
21722 * gdb.cp/templates.exp: Accept gcc abi 2.
21723
0643ec3f
MC
217242004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21725
21726 * lib/compiler.cc: Remove supports_template_debugging.
21727 * gdb.cp/templates.exp: Do not test supports_template_debugging.
21728
d231d0b1
MC
217292004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21730
21731 * gdb.cp/namespace.exp: Accept gcc abi 2.
21732
44ffb27c
MC
217332004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21734
21735 * gdb.cp/method.exp: Accept gcc abi 2.
21736
184ad485
MC
217372004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21738
21739 * gdb.cp/classes.exp: Generate identical results as old version.
21740 * gdb.cp/derivation.exp: Likewise.
21741 * gdb.cp/overload.exp: Likewise.
21742 * gdb.cp/virtfunc.exp: Likewise.
21743
116f09e7
MC
217442004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21745
21746 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
21747 mysterious bug with sourceware version of expect.
21748
b1379776
MC
217492004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21750
21751 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
21752 current versions of gcc, including gcc abi 2. Remove gratuitous
21753 restart of test program. Use gdb_test_multiple and gdb_test for
21754 all tests. Add patterns to xfail missing "const" in "const char *"
21755 and kfail PR gdb/1155.
21756
6b7a4c0e
MC
217572004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21758
21759 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
21760 current versions of gcc, including gcc abi 2. Remove gratuitous
21761 restart of test program. Use gdb_test_multiple and gdb_test for
21762 all tests. Add patterns to kfail PR gdb/1498.
21763
51615d72
MC
217642003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21765
21766 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
21767 current versions of gcc, including gcc abi 2. Use "breakpoint"
21768 and "continue" instead of restarting the target program. Use
21769 gdb_test_multiple and gdb_test for all tests.
21770
7b79a9d7
MK
217712004-01-01 Mark Kettenis <kettenis@gnu.org>
21772
21773 * gdb.asm/asm-source.exp: Update copyright year. Link statically
21774 for *-*-solaris2*.
21775
1cd3489f
MC
217762003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21777
21778 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
21779 current versions of gcc, including gcc abi 2. Use "breakpoint"
21780 and "continue" instead of restarting the target program several
21781 times. Use gdb_test_multiple and gdb_test for all tests.
21782
850742db
MC
217832003-12-18 Michael Chastain <mec.gnu@mindspring.com>
21784
21785 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
21786 source files.
21787
eb4bbda8
MC
217882003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21789
21790 * gdb.base/environ.exp: Handle compiling test case from multiple
21791 source files.
21792
e42c7771
MC
217932003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21794
21795 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
21796
80e4b428
JB
217972003-12-17 Jim Blandy <jimb@redhat.com>
21798
5f06973a
JB
21799 * gdb.base/freebpcmd.c: Add copyright notice.
21800
80e4b428
JB
21801 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
21802
0ab84fb7
MC
218032003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21804
21805 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
21806
1b3bb3d0
JB
218072003-12-13 Jim Blandy <jimb@redhat.com>
21808
21809 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
21810
3a4c9371
KB
218112003-12-12 Kevin Buettner <kevinb@redhat.com>
21812
21813 * gdb.asm/frv.inc: New file.
21814 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
21815
a1dea79a
FF
218162003-12-09 Fred Fish <fnf@redhat.com>
21817
21818 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
21819 functions to break1.c and leave prototypes behind. Add more
21820 "set breakpoint NN here" comments.
21821 * gdb.base/break1.c: New file.
21822
21823 * gdb.base/break.exp: Handle compiling test case from multiple
21824 source files and change source file references as needed.
21825 * gdb.base/completion.exp: Ditto.
21826 * gdb.base/condbreak.exp: Ditto.
21827 * gdb.base/define.exp: Ditto.
21828 * gdb.base/ena-dis-br.exp: Ditto.
21829 * gdb.base/info-proc.exp: Ditto.
21830 * gdb.base/maint.exp: Ditto.
21831 * gdb.base/until.exp: Ditto.
21832
21833 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
21834 hardcoded line numbers.
21835 * gdb.base/define.exp: Ditto.
21836 * gdb.base/ena-dis-br.exp: Ditto.
21837 * gdb.base/maint.exp: Ditto.
21838 * gdb.base/until.exp: Ditto.
21839
21840 * gdb.base/completion.exp: Use "break1" for completion tests since
21841 "break" is no longer a unique prefix.
21842
5266b69c
AC
218432003-12-06 Andrew Cagney <cagney@redhat.com>
21844
21845 * gdb.base/structs.exp (test_struct_returns): When applicable, set
21846 "return_value_unimplemented". When an unimplemented struct return
21847 architecture, report incorrect values as a KFAIL
21848
374451f0
MC
218492003-12-05 Michael Chastain <mec.gnu@mindspring.com>
21850
21851 * gdb.cp/rtti.exp: Accept new wording of warning from
21852 cp_lookup_rtti_type.
21853
ba9b20a7
MC
218542003-12-05 Michael Chastain <mec.gnu@mindspring.com>
21855
21856 Partial fix for PR testsuite/1456.
21857 * gdb.base/scope.exp (test_at_main): Replace references to
21858 gcc_compiled with calls to test_compiler_info.
21859 (test_at_foo): Likewise.
21860 (test_at_bar): Likewise.
21861
b74b6d0b
MC
218622003-12-04 Michael Chastain <mec.gnu@mindspring.com>
21863
21864 Partial fix for PR testsuite/1456.
21865 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
21866 to test_compiler_info.
21867
ccfa3402
MC
218682003-12-03 Michael Chastain <mec.gnu@mindspring.com>
21869
21870 * gdb.base/so-impl-ld.exp: Update copyright notice.
21871
f6246aba
MC
218722003-12-02 Michael Chastain <mec.gnu@mindspring.com>
21873
21874 Partial fix for PR testsuite/1456.
21875 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
21876 to test_compiler_info.
21877
13ae734a
MC
218782003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21879
21880 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
21881 from current versions of gdb. Clean up regular expressions.
21882 Delete redundant timeout case.
21883
d8e1cdee
MC
218842003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21885
21886 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
21887 from current versions of gdb. Clean up regular expressions.
21888 Delete redundant timeout case.
21889
96457b64
MC
218902003-12-01 Michael Chastain <mec.gnu@mindspring.com>
21891
21892 Partial fix for PR testsuite/1456.
21893 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
21894 gcc_compiled with call to test_compiler_info.
21895
f35309fc
MC
218962003-11-30 Michael Chastain <mec.gnu@mindspring.com>
21897
21898 Partial fix for PR testsuite/1456.
21899 * gdb.base/list.exp (test_list_function): Delete unused declaration
21900 of gcc_compiled.
21901
d7afdf9b
MC
219022003-11-29 Michael Chastain <mec.gnu@mindspring.com>
21903
21904 Partial fix for PR testsuite/1456.
21905 * gdb.base/complex.exp: Replace reference to gcc_compiled with
21906 call to test_compiler_info.
21907
71507b56
MK
219082003-11-29 Mark Kettenis <kettenis@gnu.org>
21909
21910 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
21911 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
21912 it to create the appropriate note.inc.
21913 * gdb.asm/asmsrc1.s: Include "note.inc".
21914 * gdb.asm/netbsd.inc: New file.
21915 * gdb.asm/empty.inc: New file.
21916
f81f93f7
MC
219172003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21918
21919 Partial fix for PR testsuite/1456.
21920 * gdb.base/constvars.exp: Replace references to gcc_compiled with
21921 calls to test_compiler_info.
21922
9a77938e
MC
219232003-11-27 Michael Chastain <mec.gnu@mindspring.com>
21924
21925 Partial fix for PR testsuite/1456.
21926 * gdb.base/volatile.exp: Replace references to gcc_compiled with
21927 calls to test_compiler_info.
21928
e8367dc7
MK
219292003-11-27 Mark Kettenis <kettenis@gnu.org>
21930
21931 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
21932 pattern for the KFAILs.
21933
526c61ee
AF
219342003-11-25 Adam Fedor <fedor@gnu.org>
21935
21936 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
21937 * gdb.objc/objcdecode.m: New file.
21938
28f2d600
AF
219392003-11-25 Adam Fedor <fedor@gnu.org>
21940
21941 * gdb.objc/nondebug.exp: Test for PR objc/1236.
21942 * gdb.objc/nondebug.m: New file.
21943
a3895cee
BE
219442003-11-26 Ben Elliston <bje@wasabisystems.com>
21945
21946 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
21947 NetBSD as it does on FreeBSD. Modelled on a similar change by
21948 Mark Kettenis on 2003-05-30.
21949 (link-flags): Set to "--entry _start" regardless of target.
21950 Special linker flags are to be appended to $link-flags.
21951 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
21952
c9f2c8a3
MC
219532003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21954
21955 * gdb.cp/method.exp: Accept output of new demangler.
21956
15a0587a 219572003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
21958
21959 * gdb/class2.exp: New file.
21960 * gdb/class2.cc: New file.
21961
3c00b570
MC
219622003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21963
21964 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
21965 of new demangler.
21966
7027acc7
MK
219672003-11-23 Mark Kettenis <kettenis@gnu.org>
21968
21969 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
21970 of gdb_test "run".
21971
b0e1598a
MK
219722003-11-23 Mark Kettenis <kettenis@gnu.org>
21973
21974 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
21975 "continue" into "run".
21976
4d9eda44
MC
219772003-11-23 Michael Chastain <mec.gnu@mindspring.com>
21978
21979 Partial fix for PR testsuite/1456.
21980 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
21981 call to test_compiler_info.
21982 * gdb.cp/ctti.exp: Likewise.
21983 * gdb.cp/derivation.exp: Likewise.
21984 * gdb.cp/member-ptr.exp: Likewise.
21985 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
21986 reference to gcc_compiled.
21987
219882003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
21989
21990 Fix PR testsuite/1463.
21991 * gdb.base/structs.exp (start_structs_test): Call
21992 get_debug_format before using the debug format.
21993
d422fe19
AC
219942003-11-22 Andrew Cagney <cagney@redhat.com>
21995
21996 * lib/gdb.exp (gdb_test_multiple): Add simple example.
21997 * gdb.base/structs.exp: Use gdb_test_multiple.
21998
039cf96d
AC
219992003-11-20 Andrew Cagney <cagney@redhat.com>
22000
6882279b
AC
22001 * gdb.base/structs.exp: Handle and recover from internal errors.
22002 Replace "foo${n}" with "foo<n>" in test messages.
22003
e53890ae
AC
22004 * gdb.base/structs.exp: Update copyright. Rewrite.
22005 * gdb.base/structs.c: Update copyright. Rewrite.
22006
2b211c59
AC
22007 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
22008 resync count exceeded.
d63a86f8 22009
039cf96d
AC
22010 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
22011 from the internal error.
22012 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
22013 Original from Jim Blandy.
22014 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 22015
eac98b22
AC
220162003-11-19 Andrew Cagney <cagney@redhat.com>
22017
22018 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
22019 KFAIL.
22020
67455b2a
MK
220212003-11-17 Mark Kettenis <kettenis@gnu.org>
22022
22023 New testcase for PR backtrace/1435.
22024 * gdb.arch/i386-unwind.exp: New file.
22025 * gdb.arch/i386-unwind.c: New file.
22026
853d6e5b
AC
220272003-11-17 Andrew Cagney <cagney@redhat.com>
22028
22029 * lib/gdb.exp (compiler_info): New global.
22030 (test_compiler_info): New function.
22031 (get_compiler_info): Set compiler_info.
22032 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
22033 "compiler_info" to gcc-<major>-<minor>.
22034
38cf6e11
MC
220352003-11-15 Michael Chastain <mec.gnu@mindspring.com>
22036
22037 * gdb.trace/configure: Remove.
22038
a50d3602
EZ
220392003-11-13 Elena Zannoni <ezannoni@redhat.com>
22040
22041 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 22042 breakpoints.
a50d3602
EZ
22043 * gdb.base/break.exp: Remove all references to explicit line
22044 numbers.
22045
d9407aaa
NC
220462003-11-11 Nick Clifton <nickc@redhat.com>
22047
22048 * gdb.base/shreloc.exp: Do not run for targets which do not
22049 support shared objects.
22050
db488fc1
CV
220512003-11-10 Corinna Vinschen <vinschen@redhat.com>
22052
22053 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
22054 Don't run tests if nofileio flag is given.
22055
6a90a18e
EZ
220562003-11-07 Elena Zannoni <ezannoni@redhat.com>
22057
22058 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 22059 as well as 'Watchpoint'.
6a90a18e 22060
0b915e9c
EZ
220612003-11-06 Elena Zannoni <ezannoni@redhat.com>
22062
22063 Reported by Jim Ingham <jingham@apple.com>:
22064 * gdb.base/annota1.exp: Match at least one occurrence of the
22065 signal handler annotation.
22066
d7e4b55f
EZ
220672003-11-06 Elena Zannoni <ezannoni@redhat.com>
22068
a9c64011
AS
22069 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
22070 as well as 'Watchpoint'.
d7e4b55f 22071
2fe4e8d0
MC
220722003-11-05 Michael Chastain <mec@shout.net>
22073
22074 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
22075
6ef88553
KW
220762003-11-03 Kris Warkentin <kewarken@qnx.com>
22077
22078 * gdb.arch/gdb1291.c: New test file.
22079 * gdb.arch/gdb1291.exp: New test script.
22080 * gdb.arch/gdb1431.c: New test file.
22081 * gdb.arch/gdb1431.exp: New test script.
22082
ae7dc4d8
MC
220832003-10-22 Michael Chastain <mec@shout.net>
22084
22085 * gdb.mi/pthreads.c: Add copyright notice.
22086
c39d7427
MC
220872003-10-22 Michael Chastain <mec@shout.net>
22088
22089 * gdb.threads/pthreads.c: Add copyright notice.
22090
8b7d96c1
MC
220912003-10-20 Michael Chastain <mec@shout.net>
22092
22093 * gdb.base/gdb1056.exp: New test script.
22094
d1d69fdd
DJ
220952003-10-13 Daniel Jacobowitz <drow@mvista.com>
22096
22097 * gdb.threads/killed.exp: Use gdb_run_cmd.
22098
7d605576
DJ
220992003-10-13 Daniel Jacobowitz <drow@mvista.com>
22100
22101 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
22102 create a core file.
22103 * gdb.threads/gcore-thread.exp: Likewise.
22104
618ec112
CV
221052003-10-13 Corinna Vinschen <vinschen@redhat.com>
22106
22107 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
22108 type, based on char type.
22109 (struct bit_flags_short_t): New bitfield type, based on short type.
22110 (init_bit_flags_char): New fuction.
22111 (init_bit_flags_short): Ditto.
22112 (print_bit_flags_char): Ditto.
22113 (print_bit_flags_short): Ditto.
22114 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
22115
9367a73c
MC
221162003-10-11 Michael Chastain <mec@shout.net>
22117
22118 * gdb.base/call-rt-st.exp: Update copyright year.
22119
1decf120
KI
221202003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
22121
22122 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
22123 * gdb.disasm/sh3.s: Ditto.
22124
5445b2ae
DJ
221252003-10-07 Daniel Jacobowitz <drow@mvista.com>
22126
22127 * gdb.threads/switch-threads.exp: New test.
22128 * gdb.threads/switch-threads.c: New source file.
22129
aec24853
CV
221302003-10-07 Corinna Vinschen <vinschen@redhat.com>
22131
22132 * gdb.base/ending-run.exp: Add sh specific case.
22133
adc7428d
AC
221342003-10-06 Andrew Cagney <cagney@redhat.com>
22135
22136 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
22137 * gdb.disasm/mn10200.exp: Delete obsolete file.
22138
c9d37158
DJ
221392003-09-29 Daniel Jacobowitz <drow@mvista.com>
22140
22141 * ChangeLog: Correct an entry command.exp -> commands.exp.
22142 * gdb.base/commands.exp (bp_deleted_in_command_test)
22143 (temporary_breakpoint_commands): Check noargs.
22144
79c2c32d
DC
221452003-09-25 David Carlton <carlton@kealia.com>
22146
22147 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
22148 of some print tests, where appropriate. Add tests for C::D::cd,
22149 E::ce, F::cXfX, G::XgX.
22150 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
22151
594e6d67
RE
221522003-09-25 Richard Earnshaw <rearnsha@arm.com>
22153
22154 * lib/java.exp (java_init): Import target_alias before using it.
22155
10f0d451
DC
221562003-09-25 David Carlton <carlton@kealia.com>
22157
22158 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
22159
274bcba0
EZ
221602003-09-23 Elena Zannoni <ezannoni@redhat.com>
22161
d63a86f8 22162 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 22163 weirdness.
274bcba0 22164
cdbf20f7
MC
221652003-09-17 Michael Chastain <mec@shout.net>
22166
22167 * gdb.cp/gdb1355.exp: New file.
22168 * gdb.cp/gdb1355.c: New file.
22169
71e06f80
CV
221702003-09-15 Corinna Vinschen <vinschen@redhat.com>
22171
22172 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
22173 * gdb.asm/sh.inc: New file.
22174
5c4e30ca
DC
221752003-09-11 David Carlton <carlton@kealia.com>
22176
bd45b7af
DC
22177 * gdb.cp/namespace.exp: Add tests for namespace types.
22178 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
22179 (test_namespace): New.
22180
1c199746
EZ
221812003-09-11 Elena Zannoni <ezannoni@redhat.com>
22182
a9c64011 22183 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 22184 * gdb.stabs/weird.exp: Ditto.
1c199746 22185
04ed252f
MC
221862003-09-08 Michael Chastain <mec@shout.net>
22187
22188 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
22189
d8a2d9e7
MC
221902003-09-07 Michael Chastain <mec@shout.net>
22191
22192 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
22193 'parse error'.
22194
161afb24
MK
221952003-09-07 Mark Kettenis <m.kettenis@osp.nl>
22196
22197 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
22198
49f2741a
MC
221992003-08-30 Michael Chastain <mec@shout.net>
22200
22201 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
22202 * gdb.gdb/observer.exp: Ditto.
22203 * gdb.gdb/xfullpath.exp: Ditto.
22204
8afa723e
MK
222052003-08-29 Mark Kettenis <kettenis@gnu.org>
22206
22207 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
22208 *-*-*bsd*.
22209
f31dfe3b
JJ
222102003-08-28 Jeff Johnston <jjohnstn@redhat.com>
22211
22212 * gdb.base/dump.exp: Skip for ia64.
22213
4630e498
JJ
222142003-08-25 Jeff Johnston <jjohnstn@redhat.com>
22215
22216 * gdb.asm/asm-source.exp: Add ia64 support.
22217 * gdb.asm/ia64.inc: New file.
22218
1105b7ef
MC
222192003-08-22 Michael Chastain <mec@shout.net>
22220
22221 * gdb.cp: New directory.
22222 * gdb.cp/*: Copy from gdb.c++/*.
22223 * gdb.c++/*: Remove.
22224 * Makefile.in: Change gdb.c++ to gdb.cp.
22225 * configure.in: Ditto.
22226 * configure: Regnerate.
22227
c945b932
MK
222282003-08-18 Mark Kettenis <kettenis@gnu.org>
22229
22230 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
22231 * gdb.arch/i386-prologue.c (gdb1338): Add function.
22232
2b66634b
DJ
222332003-08-17 Daniel Jacobowitz <drow@mvista.com>
22234
22235 * mi-var-display.exp (-var-list-children weird): Accept function
22236 pointers with argument types.
22237 * mi1-var-display.exp (-var-list-children weird): Likewise.
22238 * mi2-var-display.exp (-var-list-children weird): Likewise.
22239
a356f73b
DJ
222402003-08-17 Daniel Jacobowitz <drow@mvista.com>
22241
22242 * gdb.base/annota3.exp: Add missing newline.
22243
483417b8
MC
222442003-08-06 Michael Chastain <mec@shout.net>
22245
22246 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
22247
c99c59c3
MS
222482003-08-12 Michael Snyder <msnyder@redhat.com>
22249
22250 * gdb.base/float.exp: Add test for SH.
22251
55ed7501
MK
222522003-08-10 Mark Kettenis <kettenis@gnu.org>
22253
22254 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
22255
1a371f2e
EZ
222562003-08-07 Elena Zannoni <ezannoni@redhat.com>
22257
22258 * gdb.base/completion.exp: Remove reduntant completion test
22259 on filename.
22260
e0f353ce
EZ
222612003-08-07 Elena Zannoni <ezannoni@redhat.com>
22262
a9c64011
AS
22263 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
22264 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
22265 gdb.trace/save-trace.exp: Make sure that full pathnames are
22266 escaped correctly.
e0f353ce 22267
5710a1af 222682003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 22269
a9c64011
AS
22270 * configure.in: Don't generate config.h from config.hin.
22271 * configure: Regenerate.
22272 * config.hin: Remove file.
22273 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
22274 * gdb.threads/pthreads.c: Ditto.
5710a1af 22275
dcd81ce9
DJ
222762003-08-07 Daniel Jacobowitz <drow@mvista.com>
22277
22278 From Kei Sakamoto <sakamoto.kei@renesas.com>:
22279 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
22280 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
22281 Replace ld24 with seth/add3.
22282
6009d884
AC
222832003-08-02 Andrew Cagney <cagney@redhat.com>
22284
22285 * gdb.base/annota3.exp: New file.
22286 * gdb.base/annota3.c: New file.
22287 * gdb.c++/annota3.exp: New file.
22288 * gdb.c++/annota3.cc: New file.
22289
51514e06
MC
222902003-07-29 Michael Chastain <mec@shout.net>
22291
22292 * gdb.threads/tls.c (spin): Check errno only if sem_wait
22293 actually failed.
22294 (do_pass): Likewise.
22295 * gdb.threads/tls.exp: Always initialize no_of_threads.
22296
4ee6625b
DJ
222972003-07-27 Daniel Jacobowitz <drow@mvista.com>
22298
22299 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
22300 pattern.
22301 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
22302 * gdb.threads/tls.exp: Recognize one case of the host library not
22303 supporting TLS.
22304
225f2bf6
AC
223052003-07-27 Andrew Cagney <cagney@redhat.com>
22306
22307 * gdb.base/fileio.exp: Use SH when running commands using
22308 remote_exec.
22309
bcb27c9f
DJ
223102003-07-24 Daniel Jacobowitz <drow@mvista.com>
22311
22312 From Kei Sakamoto <sakamoto.kei@renesas.com>:
22313 * gdb.base/relocate.c (dummy): New padding array.
22314
3d67be83
MS
223152003-07-22 Michael Snyder <msnyder@redhat.com>
22316
d63a86f8 22317 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
22318
22319 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
22320 patterns to be more general, accepting old and new output.
22321 Some output chars (such as '+') also must be quoted.
d63a86f8 22322 Some addresses are displayed numerically instead of
3d67be83
MS
22323 symbolically.
22324
57ba3b85
MS
223252003-07-23 Michael Snyder <msnyder@redhat.com>
22326
686d097c
MS
22327 * gdb.base/return2.exp: Don't test long-long return.
22328
57ba3b85
MS
22329 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
22330 * gdb.disasm/t01_mov.exp: Ditto.
22331 * gdb.disasm/t02_mova.s: Ditto.
22332 * gdb.disasm/t02_mova.exp: Ditto.
22333 * gdb.disasm/t03_add.s: Ditto.
22334 * gdb.disasm/t03_add.exp: Ditto.
22335 * gdb.disasm/t04_sub.s: Ditto.
22336 * gdb.disasm/t04_sub.exp: Ditto.
22337 * gdb.disasm/t05_cmp.s: Ditto.
22338 * gdb.disasm/t05_cmp.exp: Ditto.
22339 * gdb.disasm/t06_ari2.s: Ditto.
22340 * gdb.disasm/t06_ari2.exp: Ditto.
22341 * gdb.disasm/t07_ari3.s: Ditto.
22342 * gdb.disasm/t07_ari3.exp: Ditto.
22343 * gdb.disasm/t08_or.s: Ditto.
22344 * gdb.disasm/t08_or.exp: Ditto.
22345 * gdb.disasm/t09_xor.s: Ditto.
22346 * gdb.disasm/t09_xor.exp: Ditto.
22347 * gdb.disasm/t10_and.s: Ditto.
22348 * gdb.disasm/t10_and.exp: Ditto.
22349 * gdb.disasm/t11_logs.s: Ditto.
22350 * gdb.disasm/t11_logs.exp: Ditto.
22351 * gdb.disasm/t12_bit.s: Ditto.
22352 * gdb.disasm/t12_bit.exp: Ditto.
22353 * gdb.disasm/t13_otr.s: Ditto.
22354 * gdb.disasm/t13_otr.exp: Ditto.
22355
e00759ef
EZ
223562003-07-22 Elena Zannoni <ezannoni@redhat.com>
22357
22358 * gdb.threads/tls.exp :Add kfail for 'info address' case.
22359
8bc2021f
EZ
223602003-07-22 Elena Zannoni <ezannoni@redhat.com>
22361
a9c64011
AS
22362 * gdb.threads/tls.c : New file.
22363 * gdb.threads/tls.exp : New file.
22364 * gdb.threads/tls-main.c : New file.
22365 * gdb.threads/tls-shared.c : New file.
22366 * gdb.threads/tls-shared.exp : New file.
8bc2021f 22367
89320c4c
AS
223682003-07-22 Andreas Schwab <schwab@suse.de>
22369
22370 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
22371
180dea7c
AS
223722003-07-20 Andreas Schwab <schwab@suse.de>
22373
22374 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
22375 due to insn reordering.
22376
0714963c
AC
223772003-07-15 Andrew Cagney <cagney@redhat.com>
22378
22379 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
22380
98a23b3f
MC
223812003-07-15 Michael Chastain <mec@shout.net>
22382
22383 * gdb.base/gdb1250.exp: New file.
22384 * gdb.base/gdb1250.c: New file.
22385
27e417a2
ML
223862003-07-09 Michal Ludvig <mludvig@suse.cz>
22387
22388 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
22389 expansion of size_t to 'unsigned long', not only to 'unsigned'.
22390
8bc2021f
EZ
223912003-07-09 Elena Zannoni <ezannoni@redhat.com>
22392
a9c64011
AS
22393 * gdb.threads/tls.c: New file.
22394 * gdb.threads/tls.exp: New file.
22395 * gdb.threads/tls-main.c: New file.
22396 * gdb.threads/tls-shared.c: New file.
22397 * gdb.threads/tls-shared.exp: New file.
8bc2021f 22398
d99968dc
EZ
223992003-07-09 Elena Zannoni <ezannoni@redhat.com>
22400
22401 * gdb.base/annota1.exp: Make sure that we properly escape the
22402 full path of the source file. Xfail more permissive patterns,
d63a86f8 22403 due to a compiler debug info problem.
d99968dc 22404
83876b3b
AS
224052003-07-07 Andreas Schwab <schwab@suse.de>
22406
2705e972
AS
22407 * gdb.asm/m68k.inc: New file.
22408 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
22409
83876b3b
AS
22410 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
22411 arguments"): Also match negative number.
22412
22413 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
22414
3a871b37
DJ
224152003-07-03 Daniel Jacobowitz <drow@mvista.com>
22416
22417 * gdb.base/store.c (charest): New typedef.
22418 (add_char): Rename to add_charest, update.
22419 (wack_char): Rename to wack_charest, update types. Return l + r
22420 to keep r live across the call.
22421 (wack_short, wack_int, wack_long, wack_longest, wack_float)
22422 (wack_double, wack_doublest): Return l + r to keep r live across
22423 the call.
22424 * gdb.base/store.exp: Accomodate store.c changes.
22425
b2a7f303
DC
224262003-06-30 David Carlton <carlton@kealia.com>
22427
22428 * gdb.c++/maint.exp (test_invalid_name): New.
22429 (test_first_component): Add tests for invalid names.
22430
3c6cb4a1
MC
224312003-06-29 Michael Chastain <mec@shout.net>
22432
22433 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
22434 output of '<VTT for class>' for virtual base classes.
22435
f1c2644b
DJ
224362003-06-29 Daniel Jacobowitz <drow@mvista.com>
22437
22438 * gdb.base/completion.exp: Tab-complete "complet" instead of
22439 "compl".
22440 * gdb.base/complex.exp, gdb.base/complex.c: New files.
22441
18080350
DJ
224422003-06-29 Daniel Jacobowitz <drow@mvista.com>
22443
22444 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
22445 * gdb.base/volatile.exp: Likewise.
22446
f56973f8
DJ
224472003-06-29 Daniel Jacobowitz <drow@mvista.com>
22448
22449 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
22450 gdb/1265.
22451
224522003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
22453 Daniel Jacobowitz <drow@mvista.com>
22454
22455 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
22456 initial line count of 'captured_main' from 26 to 32.
22457 (test_with_self): Allow xmalloc call to be interleaved with the
22458 preceding two lines.
22459
e766d4d6
JB
224602003-06-24 Joel Brobecker <brobecker@gnat.com>
22461
22462 * gdb.base/bang.exp: New testcase.
22463
f125c9a4
JB
224642003-06-23 Joel Brobecker <brobecker@gnat.com>
22465
22466 * gdb.base/langs.exp: Add some tests for the "minimal" language
22467 support.
22468
6e25beaf
EZ
224692003-06-23 Elena Zannoni <ezannoni@redhat.com>
22470
22471 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
22472 the testcase.
22473
2f816dda
DJ
224742003-06-22 Daniel Jacobowitz <drow@mvista.com>
22475
22476 * gdb.base/relocate.exp: Test add-symbol-file with a variable
22477 offset.
22478
db5a5748
DJ
224792003-06-22 Daniel Jacobowitz <drow@mvista.com>
22480
22481 * gdb.c++/pr-1210.cc: New file.
22482 * gdb.c++/pr-1210.exp: New file.
22483
1df0c130
DJ
224842003-06-21 Daniel Jacobowitz <drow@mvista.com>
22485
22486 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
22487 000-exec-continue.
22488
a92feac0
MK
224892003-06-15 Mark Kettenis <kettenis@gnu.org>
22490
22491 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
22492 on *-*-*bsd* instead of *-*-freebsd*.
22493
81a58f5b
AC
224942003-06-14 Andrew Cagney <cagney@redhat.com>
22495
22496 * gdb.base/store.exp: Test longest and doublest. Test all
22497 parameters. Weaken return statement match.
22498 * gdb.base/store.c: Add longest and doublest - aka long long and
22499 long double functions. Put all parameters into local register
22500 variables. Use negative values.
22501
b257a0d3
AC
225022003-06-14 Andrew Cagney <cagney@redhat.com>
22503
22504 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
22505 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
22506 exit status.
22507 * gdb.base/fileio.exp: Disable target when nointerrupts and
22508 noinferiorio, instead of limiting it to remote. Use remote_exec
22509 instead of system.
d63a86f8 22510
21c38304
JJ
225112003-06-12 Jeff Johnston <jjohnstn@redhat.com>
22512
22513 * gdb.base/float.exp: Add ia64 support.
22514
1bcdb424
CV
225152003-06-12 Corinna Vinschen <vinschen@redhat.com>
22516
22517 * gdb.base/fileio.exp: Run only on remote targets.
22518
6aeb981f
CV
225192003-06-10 Corinna Vinschen <vinschen@redhat.com>
22520
22521 * gdb.base/fileio.c: New file, testing File-I/O.
22522 * gdb.base/fileio.exp: Ditto.
22523
53df362e
RG
225242003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
22525
22526 * gdb.base/shreloc.exp: New file, check symbol values obtained from
22527 shared objects after relocation at load time (gdb PR/1132).
22528 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 22529 as above, part of the shared object relocation test.
53df362e 22530
ffee1b46
MK
225312003-06-08 Mark Kettenis <kettenis@gnu.org>
22532
b5ca3722
MK
22533 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
22534 fully filled history list.
22535 * gdb.base/gdb_history: New file.
22536
03ed860d
MK
22537 * gdb.base/signals.exp: XFAIL "continue to func1" on
22538 i*86-*-freebsd*.
22539
ffee1b46
MK
22540 * gdb.base/attach.exp: When trying to attach to a nonexistent
22541 process, make it possible to specify the PID based on the target,
22542 and do so for *-*-freebsd*.
22543
d80dbb52
RH
225442003-06-02 Richard Henderson <rth@redhat.com>
22545
22546 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
22547
6dd77b81
RH
225482003-06-02 Richard Henderson <rth@redhat.com>
22549
22550 * gdb.base/selftest.exp: Next over lim_at_start initialization.
22551
f6347e16
RH
225522003-06-02 Richard Henderson <rth@redhat.com>
22553
22554 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
22555
2c161407
DJ
225562003-06-01 Daniel Jacobowitz <drow@mvista.com>
22557
22558 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
22559 of globalvar.
22560
572eb746
MK
225612003-06-01 Mark Kettenis <kettenis@gnu.org>
22562
22563 * gdb.asm/asm-source.exp: Check for memory read errors in
22564 disassembler test on *BSD too.
22565
9e9617a5
RH
225662003-06-01 Richard Henderson <rth@redhat.com>
22567
22568 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
22569 for .frame.
22570 (gdbasm_call): Lose ldgp.
22571 (gdbasm_startup): Add frame information.
22572 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
22573
7b34ad4e
MK
225742003-05-31 Mark Kettenis <kettenis@gnu.org>
22575
22576 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
22577 i?86-*-*.
22578
10059fdf
MK
225792003-05-30 Mark Kettenis <kettenis@gnu.org>
22580
22581 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22582 FreeBSD.
22583
acf4b816
RH
225842003-05-29 Richard Henderson <rth@redhat.com>
22585
22586 * gdb.asm/alpha.inc: New file.
22587 * gdb.asm/asm-source.exp: Use it.
22588
e9ecd949
JB
225892003-05-29 Jim Blandy <jimb@redhat.com>
22590
22591 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
22592 'core.PID'.
22593
e3e5a4f3
JB
225942003-05-22 Jim Blandy <jimb@redhat.com>
22595
22596 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
22597 backtrace.
d63a86f8 22598
72fe3d25
DC
225992003-05-20 David Carlton <carlton@math.stanford.edu>
22600
22601 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
22602 this time.
22603
58da2eb2
DC
226042003-05-19 David Carlton <carlton@bactrian.org>
22605
22606 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
22607 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
22608
1fcb5155
DC
226092003-05-19 David Carlton <carlton@bactrian.org>
22610
22611 * gdb.c++/namespace.exp: Add namespace scope and anonymous
22612 namespace tests.
22613 Bump copyright date.
22614 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
22615 (main): Call C::D::marker2.
22616 * gdb.c++/namespace1.cc: New file.
22617
85e85163
JJ
226182003-05-14 Jeff Johnston <jjohnstn@redhat.com>
22619
22620 Roland McGrath <roland@redhat.com>
d63a86f8 22621 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
22622 there is no manager thread.
22623
a25fbfec
JJ
226242003-05-08 Jeff Johnston <jjohnstn@redhat.com>
22625
d63a86f8
RM
22626 * gdb.threads/schedlock.exp: Remove assumption that all threads
22627 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
22628 in one of the child threads rather than the main thread.
22629
be375bae
JB
226302003-05-07 Jim Blandy <jimb@redhat.com>
22631
09bf6082
JB
22632 Add support for assembly source testing on the s390x.
22633 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
22634 architecture.
22635 * gdb.asm/s390x.inc: New file.
22636
be375bae
JB
22637 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
22638 succession of 'if' statements.
22639
00905d52
AC
226402003-05-05 Andrew Cagney <cagney@redhat.com>
22641
22642 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
22643
b1e29e33
AC
226442003-05-05 Andrew Cagney <cagney@redhat.com>
22645
22646 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
22647 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
22648
e33d66ec
EZ
226492003-05-02 Elena Zannoni <ezannoni@redhat.com>
22650
22651 * gdb.base/charset.exp: Update based on new behavior of set/show
22652 charset commands.
22653
2b6fd0d8
AC
226542003-05-01 Andrew Cagney <cagney@redhat.com>
22655
22656 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
22657 variable do not give memory errors.
22658
130cacce
AF
226592003-04-30 Adam Fedor <fedor@gnu.org>
22660
22661 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
22662 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
22663 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
22664 gdb.objc/basicclass.m: : New files
22665
22666 * lib/gdb.exp (gdb_compile_objc): New procedure.
22667
bea71854
DJ
226682003-04-27 Daniel Jacobowitz <drow@mvista.com>
22669
22670 * gdb.base/signals.exp: Make backtrace tests more specific.
22671
0f20eeea
DC
226722003-04-23 David Carlton <carlton@bactrian.org>
22673
22674 * gdb.c++/maint.exp (test_first_component): Add tests for
22675 'operator' in more locations.
22676
c8c4d8dc
KB
226772003-04-16 Kevin Buettner <kevinb@redhat.com>
22678
22679 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
22680
3fe60e3c
EZ
226812003-04-16 Elena Zannoni <ezannoni@redhat.com>
22682
22683 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 22684 func marke' instead. Update test name.
3fe60e3c 22685
9219021c
DC
226862003-04-15 David Carlton <carlton@math.stanford.edu>
22687
22688 * gdb.c++/maint.exp: New file.
22689
5dd55bdd
EZ
226902003-04-14 Elena Zannoni <ezannoni@redhat.com>
22691
22692 * gdb.threads/schedlock.c: Change type of thread function argument
22693 to long, to avoid warnings on 64-bit platforms.
22694
00890572
EZ
226952003-04-14 Elena Zannoni <ezannoni@redhat.com>
22696
a9c64011
AS
22697 * gdb.base/attach.exp: Add new message from ptrace in case of
22698 attaching to nonexistent process.
d63a86f8 22699
93201743
JB
227002003-04-11 Jim Blandy <jimb@redhat.com>
22701
22702 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22703 gdb.c++/userdef.cc: Place comments on the lines to which the
22704 marker function might return.
22705 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22706 gdb.c++/userdef.exp: Look for those comments to check that we've
22707 returned to the right place, instead of checking line numbers.
22708
2a11c64d
EZ
227092003-04-11 Elena Zannoni <ezannoni@redhat.com>
22710
a9c64011
AS
22711 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
22712 match on sourcefile name, instead of directory name.
2a11c64d 22713
68ab8fc5
EZ
227142003-04-10 Elena Zannoni <ezannoni@redhat.com>
22715
d63a86f8 22716 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
22717 working directory name.
22718
5624293a
JB
227192003-04-09 Jim Blandy <jimb@redhat.com>
22720
22721 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22722 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
22723 after an inferior function call, report the failure, but allow the
22724 test to continue.
22725
f1f02ee4
SC
227262003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22727
22728 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22729 with -DPROTOTYPES.
22730
6eb79af0
SC
227312003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22732
22733 * gdb.base/break.exp: Revert last patch.
22734
8dfb4cf0
SC
227352003-04-04 Stephane Carrez <stcarrez@nerim.fr>
22736
22737 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22738 with -DPROTOTYPES.
22739
ed4c619a
AC
227402003-04-02 Andrew Cagney <cagney@redhat.com>
22741
22742 * gdb.base/callfuncs.exp: Make "print add" messages unique.
22743 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
22744 matching directories by the name breakpoint.
22745 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
22746 Make "continue to marker1" consistent.
22747 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
22748 message consistent.
22749 * lib/gdb.exp: Put "the program is no longer running", and "the
22750 program exited" in parenthesis.
22751 * lib/mi-support.exp: Ditto.
d63a86f8 22752
4e35d5f0 227532003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 22754
4e35d5f0
BR
22755 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
22756
71900fe8
AC
227572003-03-29 Andrew Cagney <cagney@redhat.com>
22758
22759 * gdb.base/sizeof.c (main): Print the value of '\377'.
22760 * gdb.base/sizeof.exp: Check the sign of '\377'.
22761
c0655a16
MC
227622003-03-27 Michael Chastain <mec@shout.net>
22763
22764 * gdb.base/gdb1090.exp: New file.
22765 * gdb.base/gdb1090.cc: New file.
22766
5b2a3989
JB
227672003-03-27 J. Brobecker <brobecker@gnat.com>
22768
22769 * gdb.gdb/observer.exp: New regression test.
22770
79876890
MC
227712003-03-27 Michael Chastain <mec@shout.net>
22772
22773 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
22774 * gdb.base/ptype.exp: Likewise.
22775
6eac95e3
CV
227762003-03-27 Corinna Vinschen <vinschen@redhat.com>
22777
22778 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
22779
e8c71839
MC
227802003-03-26 Michael Chastain <mec@shout.net>
22781
22782 * gdb.base/ptype.exp: Actually use some typedef'd types.
22783
71b10041
SC
227842003-03-21 Stephane Carrez <stcarrez@nerim.fr>
22785
22786 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
22787 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
22788
2512cf80
CV
227892003-03-20 Corinna Vinschen <vinschen@redhat.com>
22790
22791 * gdb.base/default.exp: Fix regular expression.
22792
0d195a4f
CV
227932003-03-20 Corinna Vinschen <vinschen@redhat.com>
22794
22795 * gdb.base/args.exp: Fix regular expression.
22796
8a2dbca8
CV
227972003-03-20 Corinna Vinschen <vinschen@redhat.com>
22798
22799 * gdb.base/help.exp: Allow Win32 child process.
22800
bf028682
CV
228012003-03-20 Corinna Vinschen <vinschen@redhat.com>
22802
22803 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
22804 when stepping out of main().
22805
182dbe85
CV
228062003-03-20 Corinna Vinschen <vinschen@redhat.com>
22807
22808 * gdb.base/default.exp: Check for win32 specific message when calling
22809 "run" without executable.
22810
d67a6ba5
CV
228112003-03-20 Corinna Vinschen <vinschen@redhat.com>
22812
22813 * gdb.base/args.exp: Expect .exe in output.
22814
a955b5bb
CV
228152003-03-20 Corinna Vinschen <vinschen@redhat.com>
22816
22817 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
22818 Cygwin native.
22819
bf6bad4b
AC
228202003-03-17 Andrew Cagney <cagney@redhat.com>
22821
22822 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
22823 vector registes.
22824 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
22825 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
22826
293e9a31
DC
228272003-03-17 David Carlton <carlton@math.stanford.edu>
22828
22829 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
22830 test, for PR breakpoints/38.
22831 Call test_watchpoint_and_breakpoint.
22832 * gdb.base/watchpoint.c (func3): New function.
22833 (main): Call func3.
22834
5330f2db
DC
228352003-03-04 David Carlton <carlton@math.stanford.edu>
22836
22837 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
22838 Garply<Garply<char> >:: garply".
22839 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
22840 with respect to PR c++/1111; note also PR c++/1113.
22841 (test_template_breakpoints): KFAIL "constructor breakpoint" with
22842 respect to PR c++/1062.
22843 KFAIL "destructor breakpoint" with respect to PR c++/1112.
22844
6ece72da
DC
228452003-03-03 David Carlton <carlton@math.stanford.edu>
22846
22847 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
22848 with respect to PR c++/57.
22849 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
22850 c++/826.
22851 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
22852 respect to PR c++/57.
22853
85ca1584
DC
228542003-03-03 David Carlton <carlton@math.stanford.edu>
22855
22856 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
22857 respect to PR c++/33 into FAILs.
22858
98e9c5b8
MC
228592003-03-03 Michael Chastain <mec@shout.net>
22860
7bedbf27
MC
22861 * configure.in: Update copyright years.
22862
228632003-03-03 Michael Chastain <mec@shout.net>
22864
22865 * Makefile.in: Update copyright years.
98e9c5b8 22866
f683e100
DC
228672003-02-28 David Carlton <carlton@math.stanford.edu>
22868
22869 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
22870 print class instead of struct and/or superfluous protection
22871 specifiers, as long as the resulting output is equivalent to the
22872 source code.
22873 Delete FIXME from end of messages on tests that don't need
22874 fixing.
22875
a9e0cf2c
DC
228762003-02-28 David Carlton <carlton@math.stanford.edu>
22877
22878 * gdb.c++/templates.exp (do_tests): Allow const in the two
22879 Foo<volatile char *>::foo tests.
22880
e8d359df
MS
228812003-02-27 Michael Snyder <msnyder@redhat.com>
22882
d63a86f8 22883 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
22884 will be consistant.
22885
0b71dc91
DC
228862003-02-26 David Carlton <carlton@math.stanford.edu>
22887
22888 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
22889 char *>::foo" test with respect to PR c++/33. Create a new test
22890 which is identical to that one except that it doesn't put the
22891 space between the "char" and the "*"; KFAIL it, too.
22892
dd14ab43
DC
228932003-02-26 David Carlton <carlton@math.stanford.edu>
22894
22895 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
22896 template types into either PASSes or KFAILs (corresponding to PR
22897 c++/57). Tweak indentation. Update copyright.
22898
1146c7f1
SC
228992003-02-23 Stephane Carrez <stcarrez@nerim.fr>
22900
22901 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
22902
74641dfb
MC
229032003-02-13 Michael Chastain <mec@shout.net>
22904
22905 * gdb.base/exprs.exp: Remove i960 remnants.
22906 * gdb.base/funcargs.exp: Likewise.
22907 * gdb.base/list.exp: Likewise.
22908 * gdb.base/ptype.exp: Likewise.
22909
559cd2d0
DC
229102003-02-14 David Carlton <carlton@math.stanford.edu>
22911
22912 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
22913 pEe->D::vg()" from XFAIL to KFAIL.
22914
c4f90d87
JM
229152003-02-13 Jason Molenda (jmolenda@apple.com)
22916
22917 * gdb.base/maint.exp: Update maint print statistics regexp to include
22918 new entries.
22919
cbc4d97c
MC
229202003-02-13 Michael Chastain <mec@shout.net>
22921
22922 * gdb.c++/inherit.exp: Remove call to get_debug_format.
22923
40f235b7
MC
229242003-02-12 Michael Chastain <mec@shout.net>
22925
22926 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
22927 * gdb.c++/inherit.exp: Likewise.
22928 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
22929 * gdb.c++/templates.exp: Likewise.
22930 * gdb.c++/virtfunc.exp: Likewise.
22931
c56716b0
JM
229322003-02-06 Jason Molenda (jason-cl@molenda.com)
22933
22934 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
22935 why the code is written that way.
22936
070afcf8
MC
229372003-02-05 Michael Chastain <mec@shout.net>
22938
22939 * gdb.base/dump.exp: Add missing copyright line.
22940
5d0331e5
JM
229412003-02-05 Jason Molenda (jason-cl@molenda.com)
22942
f7ae6d3e 22943 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
22944 at the beginning so the breakpoint doesn't get set on the loop.
22945
92851186
MC
229462003-02-05 Michael Chastain <mec@shout.net>
22947
22948 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
22949 output for configurations with gcc 2.95.3.
22950
cbf1e085
AC
229512003-02-05 Keith Seitz <keiths@redhat.com>
22952 Andrew Cagney <ac131313@redhat.com>
22953
22954 * gdb.mi/mi-cli.exp: New file.
d63a86f8 22955
29518e1e
MC
229562003-02-04 Michael Chastain <mec@shout.net>
22957
22958 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
22959 Call perror and then continue.
22960
5af1d5f3
MC
229612003-02-03 Michael Chastain <mec@shout.net>
22962
22963 * gdb.c++/pr-1023.cc: New file.
22964 * gdb.c++/pr-1023.exp: New file.
22965
6b549786
JB
229662003-02-05 Jim Blandy <jimb@redhat.com>
22967
22968 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
22969 it's local to foobar. Check for it there, and check that it's not
22970 present in main.
22971 * gdb.c++/local.cc (marker2): New function.
22972 (foobar): Call marker1.
22973 (main): Call marker2 instead of marker1.
22974
67f16606
AC
229752003-02-04 Andrew Cagney <ac131313@redhat.com>
22976
22977 * gdb.disasm/mn10200.exp: Obsolete file.
22978 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
22979 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
22980 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
22981
1c5cb38e
DC
229822003-02-04 David Carlton <carlton@math.stanford.edu>
22983
22984 * gdb.c++/overload.exp: Test intToChar(1).
22985 * gdb.c++/overload.cc (intToChar): New.
22986 (main): Call intToChar.
22987
d1fe6965
DC
229882003-02-03 David Carlton <carlton@math.stanford.edu>
22989
22990 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
22991 'might_kfail' arg.
22992 KFAIL some of the continue_to_bp_overloaded calls, according to
22993 PR c++/1025.
22994
9ba61c5d
MC
229952003-02-01 Michael Chastain <mec@shout.net>
22996
22997 * gdb.base/advance.c (marker1): New marker function.
22998 * gdb.base/advance.exp: When the 'advance' command lands on the
22999 return breakpoint, it can legitimately stop on either the
23000 current line or the next line. Accommodate both outcomes.
23001 * gdb.base/until.exp: Likewise.
23002
e7494ffb
AC
230032003-02-02 Andrew Cagney <ac131313@redhat.com>
23004
23005 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
23006 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
23007 now a list, not a tuple.
23008 * gdb.mi/mi-var-display.exp: Ditto.
23009 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 23010
075559bc
AC
230112003-02-01 Andrew Cagney <ac131313@redhat.com>
23012
23013 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
23014 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
23015 stack backtraces.
23016 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 23017
2bd4c7b1
MK
230182003-02-01 Mark Kettenis <kettenis@gnu.org>
23019
23020 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
23021 gdb.mi/mi1-pthreads.exp: Return instead of calling
23022 gdb_suppress_entire_file.
23023
eabd8992
MS
230242003-02-01 Mark Salter <msalter@redhat.com>
23025
23026 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
23027
71469e2f
MS
230282003-01-31 Mark Salter <msalter@redhat.com>
23029
23030 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
23031 Support empty arg.
23032
38a94d44
MC
230332003-01-30 Michael Chastain <mec@shout.net>
23034
23035 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
23036 This was a workaround for a UTF-8 bug in readline 4.3. The bug
23037 has been fixed in gdb/readline on 2003-01-09.
23038
19ea9e73
MS
230392003-01-29 Michael Snyder <msnyder@redhat.com>
23040
e8d359df
MS
23041 * gdb.base/maint.exp: Allow for leading underscore in symbol.
23042 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
23043 * gdb.base/args.exp: Skip if target does not support args passing.
23044
2307bd6a
DJ
230452003-01-22 Daniel Jacobowitz <drow@mvista.com>
23046
19ea9e73 23047 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
23048 gdb_test. Accept a list of expect arguments as the third
23049 parameter.
23050 (gdb_test): Use it.
23051
f2dd3617
EZ
230522003-01-20 Elena Zannoni <ezannoni@redhat.com>
23053
23054 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
23055 allow for different test tree configurations. Update some
23056 tescases accordingly.
23057 * gdb.arch/altivec-regs.exp: Ditto.
23058 * gdb.asm/asm-source.exp: Ditto.
23059 * gdb.base/advance.exp: Ditto.
23060 * gdb.base/display.exp: Ditto.
d63a86f8 23061 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
23062 * gdb.base/mips_pro.exp: Ditto.
23063 * gdb.base/overlays.exp: Ditto.
23064 * gdb.base/relocate.exp: Ditto.
23065 * gdb.base/setshow.exp: Ditto.
23066 * gdb.base/step-line.exp: Ditto.
23067 * gdb.base/step-test.exp: Ditto.
23068 * gdb.base/until.exp: Ditto.
23069 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
23070
c71cdefd
DC
230712003-01-17 David Carlton <carlton@math.stanford.edu>
23072
23073 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
23074 corresponding to PR c++/945.
23075 Update copyright.
23076
fdba05d7
DC
230772003-01-17 David Carlton <carlton@math.stanford.edu>
23078
23079 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
23080 corresponding to PR c++/68.
23081
230822003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
23083
23084 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
23085 (test_paddr_hairy_functions): Call print_addr_2_kfail for
23086 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
23087
c362c33a
EZ
230882003-01-15 Elena Zannoni <ezannoni@redhat.com>
23089
0fbc361c
EZ
23090 * gdb.base/break.exp: Fix change of default location, because of
23091 removal of until tests.
23092 * gdb.base/help.exp: Update test for new 'until' help message.
23093 Add test for help on 'advance'.
a9c64011 23094 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 23095
dabf8a35
MK
230962003-01-15 Mark Kettenis <kettenis@gnu.org>
23097
23098 * gdb.base/default.exp: Adapt "info float" test for recent changes
23099 to that command. Add test for "info vector".
23100 * gdb.base/float.exp: New file. Add test for "info float" that
23101 resembles the old test in gdb.base/default.exp.
23102
a1769aca
DC
231032003-01-15 David Carlton <carlton@math.stanford.edu>
23104
23105 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
23106
82025e13
EZ
231072003-01-15 Elena Zannoni <ezannoni@redhat.com>
23108
23109 * gdb.base/break.exp: Move the tests of until command from here...
23110 * gdb.base/until.exp: ... to here. New file. Add other tests.
23111 * gdb.base/advance.c: New file.
23112 * gdb.base/advance.exp: New file.
23113
8f9ab801
EZ
231142003-01-14 Elena Zannoni <ezannoni@redhat.com>
23115
a9c64011
AS
23116 * gdb.base/args.c: New file.
23117 * gdb.base/args.exp: New file.
8f9ab801 23118
9ae66589
DJ
231192003-01-14 Daniel Jacobowitz <drow@mvista.com>
23120
23121 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
23122
8d77e5c3
DJ
231232003-01-14 Daniel Jacobowitz <drow@mvista.com>
23124
23125 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
23126
12d2f0a1
DJ
231272003-01-14 Daniel Jacobowitz <drow@mvista.com>
23128
23129 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
23130 dates.
23131
6ca37014
DJ
231322003-01-13 Daniel Jacobowitz <drow@mvista.com>
23133
23134 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
23135
b0023472
DJ
231362003-01-13 Daniel Jacobowitz <drow@mvista.com>
23137
23138 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
23139 (ptype &*"foo").
23140 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
23141
607fbc54 231422003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
23143
23144 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
23145 * gdb.mi/mi1-console.exp: Likewise.
23146
607fbc54 231472003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
23148
23149 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
23150 * gdb.mi/mi1-console.exp: Likewise.
23151
a1fb14a2
DJ
231522003-01-13 Daniel Jacobowitz <drow@mvista.com>
23153
23154 * gdb.c++/overload.exp: Remove some fixed XFAILs.
23155
c4cf40b7
DJ
231562003-01-09 Daniel Jacobowitz <drow@mvista.com>
23157
23158 * gdb.base/detach.exp: New test.
23159
696d5a5b
DJ
231602003-01-09 Daniel Jacobowitz <drow@mvista.com>
23161
23162 * Makefile.in (ALL_SUBDIRS): New variable.
23163 (subdirs, clean, distclean): Use it.
23164 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
23165 regenerating Makefile, since it is generated from the top level.
23166 * gdb.asm/Makefile.in: Likewise.
23167 * gdb.base/Makefile.in: Likewise.
23168 * gdb.c++/Makefile.in: Likewise.
23169 * gdb.disasm/Makefile.in: Likewise.
23170 * gdb.java/Makefile.in: Likewise.
23171 * gdb.mi/Makefile.in: Likewise.
23172 * gdb.threads/Makefile.in: Likewise.
23173 * gdb.trace/Makefile.in: Likewise.
23174
754533e4
DC
231752003-01-09 David Carlton <carlton@math.stanford.edu>
23176
23177 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
23178 Add copyright year 2003.
23179
d8b3e9ee
MC
231802003-01-06 Michael Chastain <mec@shout.net>
23181
23182 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
23183 When selecting a thread, 'line' and 'file' are optional.
23184 * gdb.mi/mi1-pthreads.exp: Likewise.
23185
8e9e0fe6
AS
231862003-01-06 Andreas Schwab <schwab@suse.de>
23187
23188 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
23189 failures.
23190
b5ab8ff3
DJ
231912003-01-04 Daniel Jacobowitz <drow@mvista.com>
23192
23193 Fix PR gdb/844
23194 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
23195 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
23196
23197 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
23198 instead of calling gdb_suppress_entire_file.
23199 * gdb.threads/print-threads.exp: Likewise.
23200 * gdb.threads/schedlock.exp: Likewise.
23201
23202 * gdb.threads/killed.exp: Return instead of calling
23203 gdb_suppress_entire_file.
23204 * gdb.threads/linux-dp.exp: Likewise.
23205 * gdb.threads/pthreads.exp: Likewise.
23206
1e698235
DJ
232072003-01-04 Daniel Jacobowitz <drow@mvista.com>
23208
23209 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
23210 stabs.
23211 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
23212 * gdb.base/whatis.exp: Always allow (void) after function names.
23213
147ff08c
DJ
232142003-01-04 Daniel Jacobowitz <drow@mvista.com>
23215
23216 * gdb.c++/casts.exp: Correct regexp.
23217
dc62bfc2
MK
232182003-01-04 Mark Kettenis <kettenis@gnu.org>
23219
23220 * configure.in: Call AC_CONFIG_HEADER. Don't call
23221 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
23222 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
23223 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
23224 aforementioned directories in the AC_OUPUT call.
23225 * config.hin: New file.
23226 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
23227 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
23228 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
23229 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
23230 pass -I$objdir instead of -I$objdir/$subdir in compilation.
23231 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
23232 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
23233 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
23234 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
23235 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
23236 gdb.threads/configure.in, gdb.threads/configure,
23237 gdb.threads/config.in, gdb.trace/configure.in,
23238 gdb.trace/configure: Removed.
23239
77afa639
MC
232402003-01-03 Michael Chastain <mec@shout.net>
23241
23242 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
23243 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
23244
7634bb6e
DJ
232452003-01-03 Daniel Jacobowitz <drow@mvista.com>
23246
23247 * gdb.base/store.exp: Fix regular expressions.
23248
b39c905e
MK
232492002-12-28 Mark Kettenis <kettenis@gnu.org>
23250
23251 * configure.in: Rewrite.
23252 * configure: Regenerated.
23253
0a8551dd
DC
232542003-01-03 David Carlton <carlton@math.stanford.edu>
23255
23256 * gdb.base/psymtab.exp: New file.
23257 * gdb.base/psymtab1.c: Ditto.
23258 * gdb.base/psymtab2.c: Ditto.
23259
c60b7188
AF
232602002-12-23 Adam Fedor <fedor@gnu.org>
23261
23262 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
23263
ee73db83
DC
232642002-12-23 David Carlton <carlton@math.stanford.edu>
23265
23266 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
23267 and current_directory initialization.
23268
d6c1774e
JB
232692002-12-22 Jim Blandy <jimb@redhat.com>
23270
f0a847b8
JB
23271 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
23272 rather than as part of the output file name.
23273
d6c1774e
JB
23274 * gdb.base/attach.exp: There's no need to copy the test program to
23275 /tmp; that was only ever necessary on HP/UX, and this test is
23276 entirely disabled there anyway.
23277
f0708dbb
JB
232782002-12-21 Jim Blandy <jimb@redhat.com>
23279
4c2acfea
JB
23280 * gdb.c++/psmang.exp: Doc fix.
23281
f0708dbb
JB
23282 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
23283 test.
23284
9579e000
DC
232852002-12-20 David Carlton <carlton@math.stanford.edu>
23286
23287 * gdb.c++/annota2.exp: KFAIL annotate-quit.
23288
d1810171
MC
232892002-12-18 Michael Chastain <mec@shout.net>
23290
23291 * gdb.c++/annota2.exp: Add copyright year 2002.
23292
76565097
DC
232932002-12-17 David Carlton <carlton@math.stanford.edu>
23294
23295 * gdb.c++/try_catch.cc: Add marker comments.
23296 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
23297 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
23298 * gdb.c++/m-static.cc: Ditto.
23299 * gdb.c++/m-static1.cc: Ditto.
23300 * gdb.c++/try_catch.cc: Ditto.
23301
da81390b
JJ
233022002-12-16 Jeff Johnston <jjohnstn@redhat.com>
23303
23304 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
23305 to see whether we are using the new -environment-directory
23306 command which resets via -r or the old version of the command
23307 which may prompt the user. Part of fix for gdb/741.
23308
b304d130
AC
233092002-12-13 Andrew Cagney <ac131313@redhat.com>
23310
23311 * gdb.fortran/types.exp: Update obsolete comment.
23312 * gdb.fortran/exprs.exp: Ditto.
23313 * lib/gdb.exp: Delete obsolete code.
23314 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
23315 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
23316 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
23317 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
23318 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
23319 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
23320 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
23321 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
23322 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
23323 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
23324 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
23325 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
23326 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
23327 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
23328 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
23329 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
23330 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
23331 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
23332 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
23333 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
23334 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
23335 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
23336 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
23337 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
23338 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
23339 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
23340 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
23341 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
23342 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
23343 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
23344 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
23345 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
23346 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
23347 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
23348 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
23349 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
23350 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
23351
a23b6e6a
DC
233522002-12-11 David Carlton <carlton@math.stanford.edu>
23353
23354 * gdb.c++/m-data.exp: Add test for members that shadow global
23355 variables: see PR gdb/804.
23356 * gdb.c++/m-data.cc: Ditto.
23357
6604731b
DJ
233582002-12-10 Daniel Jacobowitz <drow@mvista.com>
23359
23360 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
23361
de46ecd7
DC
233622002-12-06 David Carlton <carlton@math.stanford.edu>
23363
23364 * gdb.base/store.c: Don't declare functions static.
23365
27e829d0
AC
233662002-12-04 Andrew Cagney <ac131313@redhat.com>
23367
23368 * gdb.base/store.exp, gdb.base/store.c: New files.
23369
92806416
DJ
233702002-12-03 Daniel Jacobowitz <drow@mvista.com>
23371
23372 * gdb.base/selftest.exp: Update for current gdb.
23373
3bcbaac5
DJ
233742002-12-03 Daniel Jacobowitz <drow@mvista.com>
23375
23376 * gdb.base/maint.exp: Only dump symbols from one source file
23377 or objfile.
23378
f4f00b1f
DJ
233792002-12-03 Daniel Jacobowitz <drow@mvista.com>
23380
23381 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
23382 function call.
23383
f1c8a949
JB
233842002-11-25 Jim Blandy <jimb@redhat.com>
23385
23386 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
23387 function appearing in error message.
23388
9e297a97
DJ
233892002-11-21 Daniel Jacobowitz <drow@mvista.com>
23390
23391 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
23392
1f312e79
JJ
233932002-11-08 Jeff Johnston <jjohnstn@redhat.com>
23394
d63a86f8
RM
23395 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
23396 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
23397 should be in mi console format. This is part of fix for PR gdb/604.
23398
83c31e7d
FN
233992002-09-18 Fernando Nasser <fnasser@redhat.com>
23400
23401 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
23402 which explicitly prints the zero offset as "+0".
23403
322b3f65
DJ
234042002-10-22 Daniel Jacobowitz <drow@mvista.com>
23405
23406 * gdb.threads/schedlock.c (args): Make unsigned.
23407
234082002-10-21 Daniel Jacobowitz <drow@mvista.com>
23409
23410 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
23411 numbers. Allow "foo2|selected stack frame".
23412 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
23413 * gdb.asm/asmsrc2.s: Likewise.
23414 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
23415 comments.
23416 * gdb.asm/mips.inc: New file.
23417
5e2fe5b8
AF
234182002-10-18 Adam Fedor <fedor@gnu.org>
23419
23420 * gdb.base/default.exp: Update expected output to include 'ObjC'.
23421 * gdb.base/help.exp: Likewise.
23422
abe1a5d0
KB
234232002-10-17 Kevin Buettner <kevinb@redhat.com>
23424
23425 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
23426 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
23427
10abb1d4
JB
234282002-10-02 Jim Blandy <jimb@redhat.com>
23429
23430 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
23431
1f609b42
AC
234322002-10-01 Andrew Cagney <ac131313@redhat.com>
23433
23434 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
23435 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
23436 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
23437 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
23438 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
23439 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
23440 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
23441
0aee02e4
AC
234422002-09-29 Andrew Cagney <ac131313@redhat.com>
23443
23444 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
23445 * mi0-disassemble.exp, mi0-eval.exp: Delete.
23446 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
23447 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
23448 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
23449 * mi0-var-block.exp, mi0-var-child.exp: Delete.
23450 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 23451
6fde09ad
KB
234522002-09-27 Kevin Buettner <kevinb@redhat.com>
23453
23454 * gdb.base/annota1.exp (info break): Make directory components of
23455 path optional since not all compilers emit this debug information.
23456
889bf7c5
PA
23457 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
23458 step ends up stepping out of the function instead of stopping on
23459 the epilogue.
6fde09ad 23460
9e8aab75
KS
234612002-09-26 Keith Seitz <keiths@redhat.com>
23462
23463 * lib/insight-support.exp (gdbtk_start): Figure out where
23464 the insight executable is based on where gdb is. Use this
23465 executable to start insight instead of gdb.
23466
e36180d7
AC
234672002-09-25 Andrew Cagney <cagney@redhat.com>
23468
23469 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
23470
9dd34b2b
AC
234712002-09-24 Andrew Cagney <ac131313@redhat.com>
23472
23473 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
23474 test_isolated_complaints.
23475 (test_empty_complaint): New function.
23476 (test_empty_complaints): New function. Check no output when no
23477 complaints.
d63a86f8 23478
dea97812
KB
234792002-09-19 Jim Blandy <jimb@redhat.com>
23480
a9c64011 23481 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 23482
54951bd7
AC
234832002-09-19 Andrew Cagney <ac131313@redhat.com>
23484
23485 * gdb.gdb/complaints.exp: New file.
23486
dec43320
AC
234872002-09-18 Andrew Cagney <ac131313@redhat.com>
23488
23489 * gdb.base/maint.exp: Check `help maint internal-warning'.
23490
e70d6e3f
DC
234912002-09-18 David Carlton <carlton@math.stanford.edu>
23492
23493 * gdb.c++/m-static.exp: Remove breakpoints depending on line
23494 numbers, and replace them by a single breakpoint after the
23495 constructors are all finished.
23496 Add test 4.
23497 * gdb.c++/m-static.cc: Add test 4.
23498 * gdb.c++/m-static.h: New file.
23499 * gdb.c++/m-static1.cc: New file.
23500
23501 * gdb.c++/printmethod.exp: New file.
23502 * gdb.c++/printmethod.cc: New file.
23503
23504 * gdb.c++/pr-574.exp: New file.
23505 * gdb.c++/pr-574.cc: New file.
23506
afb5c968
CV
235072002-09-18 Corinna Vinschen <vinschen@redhat.com>
23508
23509 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
23510 embedded targets which never actually exit.
23511
31e45dee
FN
235122002-09-18 Fernando Nasser <fnasser@redhat.com>
23513
23514 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
23515 "don't step after run" as unresolved or unsupported, instead of xfail.
23516
a283c5a1
CV
235172002-09-18 Corinna Vinschen <vinschen@redhat.com>
23518
23519 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
23520 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
23521 Add newline to expected string in "step out of main (status wrapper)"
23522 case.
23523
11350d2a
CV
235242002-09-18 Corinna Vinschen <vinschen@redhat.com>
23525
23526 * lib/gdb.exp (rerun_to_main): Allow restarting application.
23527 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
23528
0deec7d6
TT
235292002-09-17 Tom Tromey <tromey@redhat.com>
23530
23531 * gdb.base/printcmds.exp (test_print_string_constants): Expect
23532 \000, not \0, in double-quoted string.
23533
b2b4a1b5
CV
235342002-09-14 Corinna Vinschen <vinschen@redhat.com>
23535
c9d37158 23536 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
23537 string after running the commands execution on breakpoint tests.
23538
1c56143a
CV
235392002-09-13 Corinna Vinschen <vinschen@redhat.com>
23540
23541 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
23542
37f8da45
JB
235432002-09-12 Joel Brobecker <brobecker@gnat.com>
23544
23545 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
23546
08b468e0
KS
235472002-09-10 Keith Seitz <keiths@redhat.com>
23548
23549 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
23550 runto proc.
23551 (mi_run_to_main): Use mi_runto.
23552 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
23553
dc360f58
KS
235542002-09-10 Keith Seitz <keiths@redhat.com>
23555
23556 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
23557 regexp for stopping at main. Could have multiple event notifications.
23558 Don't assume that main was declared with no parameters.
23559 (mi_next): Use mi_step_to.
23560 (mi_step): Use mi_next_to.
23561
ce3abcfb
CV
235622002-09-09 Corinna Vinschen <vinschen@redhat.com>
23563
23564 * gdb.base/default.exp: Fix expected string in `info float' test.
23565
d1f5b980
BE
235662002-09-09 Ben Elliston <bje@redhat.com>
23567
23568 * config/mips.exp: Update comments.
23569 * config/mips-idt.exp: Likewise.
23570 * config/nind.exp: Likewise.
23571 * config/slite.exp: Likewise.
23572 * config/sparclet.exp: Likewise.
23573 * config/udi.exp: Likewise.
23574 * config/vx.exp: Likewise.
23575 * config/vxworks29k.exp: Likewise.
23576
2f71430b
JB
235772002-09-05 Jim Blandy <jimb@redhat.com>
23578
23579 * gdb.threads/killed.exp: Fix test failure message.
23580
7ddebc7e
KS
235812002-09-04 Keith Seitz <keiths@redhat.com>
23582
23583 * lib/mi-support.exp: Update copyright.
23584 (mi_gdb_test): Increase the priority of the expected pattern
23585 so that it matches gdb_test.
23586
0ae67eb3
KS
235872002-09-03 Keith Seitz <keiths@redhat.com>
23588
23589 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
23590 Use integer comparison instead of string comparison for testing
23591 whether binary was built.
23592
38fc42c8
JB
235932002-09-03 Jim Blandy <jimb@redhat.com>
23594
23595 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
23596
b6ff0e81
JB
235972002-08-29 Jim Blandy <jimb@redhat.com>
23598
23599 * gdb.threads/pthreads.exp: Move the portable thread compilation
23600 code into a function in lib/gdb.exp, and call that from here.
23601 * lib/gdb.exp (gdb_compile_pthreads): New function.
23602
07c98896
KS
236032002-08-29 Keith Seitz <keiths@redhat.com>
23604
23605 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
23606 expect_out so that callers can get at it.
23607
0312286c
DJ
236082002-08-23 Daniel Jacobowitz <drow@mvista.com>
23609
23610 * gdb.threads/print-threads.c: New file.
23611 * gdb.threads/print-threads.exp: New file.
23612 * gdb.threads/schedlock.c: New file.
23613 * gdb.threads/schedlock.exp: New file.
23614
dd039bc4
EZ
236152002-08-22 Elena Zannoni <ezannoni@redhat.com>
23616
a9c64011
AS
23617 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
23618 not altivec.c.
dd039bc4 23619
1f36144c
MK
236202002-08-17 Mark Kettenis <kettenis@gnu.org>
23621
23622 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
23623 targets. The problem should be fixed now.
23624
16057ec7 236252002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
23626
23627 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
23628 2002-07-24 change that removes final dots from error messages.
23629
3c1499ad
TT
236302002-08-13 Tom Tromey <tromey@redhat.com>
23631
23632 * gdb.base/readline.exp: New file.
23633
a20ce2c3
AC
236342002-08-01 Andrew Cagney <ac131313@redhat.com>
23635
23636 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
23637 supress message.
23638
db034ac5
AC
236392002-08-01 Andrew Cagney <cagney@redhat.com>
23640
23641 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
23642 CHILL_FOR_TARGET and CHILL_LIB.
23643 * configure.in (configdirs): Remove gdb.chill.
23644 * configure: Regenerate.
23645 * lib/gdb.exp: Obsolete references to chill.
23646 * gdb.fortran/types.exp: Ditto.
23647 * gdb.fortran/exprs.exp: Ditto.
23648
3e000b18
KB
236492002-07-30 Kevin Buettner <kevinb@redhat.com>
23650
23651 * gdb.base/shlib-call.exp (additional_flags): Conditionally
23652 set Irix-specific compile and link flags.
23653
28f4966b
KB
236542002-07-29 Kevin Buettner <kevinb@redhat.com>
23655
23656 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
23657 source files. The ``-o'' option doesn't work with the ``-E'' option
23658 when using the Irix compiler.
23659
46c0d5a6
DJ
236602002-07-19 Daniel Jacobowitz <drow@mvista.com>
23661
23662 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
23663 Improve support for reusing an exec file. Copy exec file
23664 to target, and run gdbserver on the target instead of on the host.
23665
eecf4bed
JB
236662002-07-18 Jim Blandy <jimb@redhat.com>
23667
0f815cdf
JB
23668 * gdb.base/ending-run.exp: Don't expect to see the program end in
23669 some orderly fashion when we're running on a real stand-alone
23670 board.
23671
eecf4bed
JB
23672 * gdb.base/interrupt.exp: Correct logic for skipping tests on
23673 targets that don't support interrupts.
23674
52d309e4
JB
236752002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
23676
23677 * gdb.base/attach.exp: Add patterns to match output from /proc-based
23678 systems.
23679 Move comments in expect statements to inside the actions, so that they
23680 don't get matched against.
23681
ff683d9e
MK
236822002-07-10 Mark Kettenis <kettenis@gnu.org>
23683
23684 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
23685 function when asleep" test.
23686
b5356753
AC
236872002-07-10 Andrew Cagney <ac131313@redhat.com>
23688
23689 * gdb.base/page.exp: Rewrite to handle problems with very long
23690 `info set' output. Update copyright.
23691
6aa4d13a
AC
236922002-06-26 Andrew Cagney <ac131313@redhat.com>
23693
23694 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
23695 gdb.threads-hp.
23696 * gdb.hp/configure: Regenerate.
23697 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
23698 * gdb.hp/gdb.threads-hp/configure: Delete file.
23699 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
23700
8cf8c2b8
AC
237012002-06-22 Andrew Cagney <ac131313@redhat.com>
23702
23703 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
23704 setlocale, bindtextdomain and textdomain.
23705
6827a8f8
JB
237062002-06-11 Jim Blandy <jimb@redhat.com>
23707
919d772c
JB
23708 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
23709 preprocessor macro information is present.
23710
6827a8f8
JB
23711 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
23712 tests.
23713
c15b0d21
MS
237142002-06-06 Michael Snyder <msnyder@redhat.com>
23715
c5984d70
MS
23716 * gdb.base/overlays.exp: Record addresses of overlay
23717 functions in TCL variables rather than in GDB variables,
23718 to avoid having GDB convert them to pointers (with loss
23719 of information).
23720
d63a86f8 23721 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 23722 default linker script changes.
c15b0d21
MS
23723 * gdb.base/long_long.exp: Add check for sizeof (long double).
23724
be26fe0d
ML
237252002-06-06 Michal Ludvig <mludvig@suse.cz>
23726
23727 * gdb.asm/asm-source.exp: Add x86-64 target.
23728 * gdb.asm/x86_64.inc: New.
d63a86f8 23729
258093ca 237302002-05-30 Michael Chastain <mec@shout.net>
258093ca 23731
4b3153f1 23732 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
23733 * gdb.c++/m-static.cc: New file.
23734 * gdb.c++/m-static.exp: New file.
23735
241264c6
MS
237362002-05-28 Michael Snyder <msnyder@redhat.com>
23737
23738 * gdb.base/call-ar-st.exp: Allow for reduced floating point
23739 precision.
23740
9bba8c8f 237412002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 23742
4b3153f1 23743 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
23744 * gdb.c++/m-data.cc: New file.
23745 * gdb.c++/m-data.exp: New file.
23746
237472002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 23748
4b3153f1 23749 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 23750 * gdb.c++/try_catch.cc: New file.
d63a86f8 23751 * gdb.c++/try_catch.exp: New file.
9bba8c8f 23752
def1b996
MC
237532002-05-27 Michael Chastain <mec@shout.net>
23754
23755 * gdb.c++/local.exp: Accept more nested types in output.
23756
522ba268
MC
237572002-05-26 Michael Chastain <mec@shout.net>
23758
23759 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
23760
277254ba
MS
237612002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
23762
23763 * lib/gdb.exp (gdb_wrapper_init): Just because
23764 gdb_wrapper_file exists, this does not mean that the file
23765 should not be rebuilt. That is what gdb_wrapper_initialized
23766 is for.
23767 (default_gdb_init): Reset gdb_wrapper_initialized.
23768
b61a8733
MS
237692002-05-23 Michael Snyder <msnyder@redhat.com>
23770
d63a86f8 23771 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
23772 the precision of the floating point test results.
23773 * gdb.base/call-rt-st.exp: Ditto.
23774
b61a8733
MS
23775 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
23776 * gdb.base/call-rt-st.exp: Ditto.
23777
56f6e910
MC
237782002-05-19 Michael Chastain <mec@shout.net>
23779
23780 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
23781
ad0b0016
EZ
237822002-05-19 Elena Zannoni <ezannoni@redhat.com>
23783
a9c64011
AS
23784 * configure.in (configdirs): Add gdb.arch.
23785 * configure: Regenerate.
ad0b0016 23786
f617d2b6
JB
237872002-05-17 Jim Blandy <jimb@redhat.com>
23788
23789 * gdb.base/completion.exp: Recognize the more detailed error
23790 messages produced by the macro expander's lexical analyzer.
23791
eac2a696
EZ
237922002-05-14 Elena Zannoni <ezannoni@redhat.com>
23793
a9c64011
AS
23794 * gdb.arch/altivec-abi.c: New file.
23795 * gdb.arch/altivec-abi.exp: New file.
23796 * gdb.arch/altivec-regs.c: New file.
23797 * gdb.arch/altivec-regs.exp: New file.
eac2a696 23798
2fdde8f8
DJ
237992002-05-14 Daniel Jacobowitz <drow@mvista.com>
23800
23801 * gdb.base/maint.exp (maint print type): Update for new type
23802 structure.
d63a86f8 23803
e31f1a7c
EZ
238042002-05-14 Elena Zannoni <ezannoni@redhat.com>
23805
23806 * gdb.arch: New directory.
23807 * gdb.arch/configure.in: New file.
23808 * gdb.arch/configure: New file.
23809 * gdb.arch/Makefile.in: New file.
23810
db589741
CV
238112002-05-13 Corinna Vinschen <vinschen@redhat.com>
23812
23813 * gdb.asm/asm-source.exp: Add v850 as supported target.
23814 * gdb.asm/v850.inc: New file.
23815
8ce2a7dc
DJ
238162002-05-13 Daniel Jacobowitz <drow@mvista.com>
23817
23818 * gdb.c++/annota2.exp (annotate-quit): Add comment.
23819
df763c7f
DJ
238202002-05-12 Daniel Jacobowitz <drow@mvista.com>
23821
23822 * gdb.base/break.exp: Check 'break "marker2"'.
23823
377daeed
MS
238242002-05-10 Michael Snyder <msnyder@redhat.com>
23825
23826 * gdb.base/long_long.exp: Fix typo.
23827
c4b7bc2b
JB
238282002-05-10 Jim Blandy <jimb@redhat.com>
23829
ecac9a4e
JB
23830 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
23831 a bug.
23832
c4b7bc2b
JB
23833 * gdb.base/printcmds.exp (test_integer_literals_rejected):
23834 Recognize more detailed error message produced by the macro
23835 expander's lexical analyzer.
23836 * lib/gdb.exp (test_print_reject): Same.
23837
e71019a1
MK
238382002-05-09 Mark Kettenis <kettenis@gnu.org>
23839
23840 * gdb.c++/method.exp: Fix typo.
23841
fedfc8e6
MS
238422002-05-08 Michael Snyder <msnyder@redhat.com>
23843
166a1957
MS
23844 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
23845 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 23846 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
23847 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
23848 Add iftarget clause for strongarm.
d63a86f8 23849
f1c47eb2
MS
238502002-05-06 Michael Snyder <msnyder@redhat.com>
23851
cb9a9d3e
MS
23852 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
23853 (gdb_continue_to_end): Accept output from status wrapper.
23854 * gdb.base/ending-run.exp: Add case for output from status wrapper.
23855 Clean up fail messages to match pass messages.
23856
f1c47eb2
MS
23857 Enable the "needs_status_wrapper" testsuite feature.
23858 * lib/gdb.exp (gdb_wrapper_init): New procedure.
23859 (gdb_compile): Conditionally call gdb_wrapper_init.
23860 * gdb.base/a2-run.exp: Recognize output from status wrapper.
23861 * gdb.c++/method.exp: Recognize output from status wrapper.
23862
6079c749
BE
238632002-05-06 Ben Elliston <bje@redhat.com>
23864From Graydon Hoare <graydon@redhat.com>
23865
23866 * config/sid.exp: Include support for "rawsid" protocol.
23867
188baff3
JB
238682002-05-03 Jim Blandy <jimb@redhat.com>
23869
23870 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
23871 * gdb.c++/hang3.C: New file.
23872
b9c07f0f
AC
238732002-05-04 Andrew Cagney <ac131313@redhat.com>
23874
23875 * gdb.base/default.exp: Remove obsolete code.
23876 * gdb.c++/misc.exp: Ditto. Update copyright.
23877 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
23878 * gdb.base/whatis.exp: Ditto. Update copyright.
23879 * gdb.base/scope.exp: Ditto. Update copyright.
23880 * gdb.base/ptype.exp: Ditto. Update copyright.
23881 * gdb.base/printcmds.exp: Ditto. Update copyright.
23882 * gdb.base/opaque.exp: Ditto. Update copyright.
23883 * gdb.base/list.exp: Ditto.
23884 * gdb.base/funcargs.exp: Ditto. Update copyright.
23885 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
23886 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
23887 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
23888 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
23889 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
23890 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
23891
5c7a0397
MS
238922002-05-02 Michael Snyder <msnyder@redhat.com>
23893
d6dcc264 23894 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
23895 * gdb.base/long_long.exp: Add xscale target.
23896 * gdb.base/default.exp: Add xscale target.
23897
eb7f1c48
JB
238982002-05-01 Jim Blandy <jimb@redhat.com>
23899
23900 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
23901 gdb.c++/hang.exp: New test.
23902
a6befae8
FF
239032002-05-01 Fred Fish <fnf@redhat.com>
23904
23905 * gdb.base/completion.exp: Handle completions of "./Make" for
23906 more than one completion possibility, as is the case when we
23907 build and test in the source tree.
23908
0a310277
AG
239092002-04-29 Anthony Green <green@redhat.com>
23910
23911 * gdb.java/jmisc1.exp: New file.
23912 * gdb.java/jmisc2.exp: New file.
23913
6ff9af88
DJ
239142002-04-24 Daniel Jacobowitz <drow@mvista.com>
23915
23916 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
23917
96b3d632
EZ
239182002-04-23 Elena Zannoni <ezannoni@redhat.com>
23919
23920 * gdb.base/help.exp: Change 'help status' to allow for target
23921 dependent output differences.
23922
5019bb54
MC
239232002-04-22 Michael Chastain <mec@shout.net>
23924
23925 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
23926
a805a116
MC
239272002-04-22 Michael Chastain <mec@shout.net>
23928
23929 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
23930
a1706bfd
DM
239312002-04-17 David S. Miller <davem@redhat.com>
23932
23933 * gdb.asm/sparc64.inc: New file.
23934 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
23935
a73a20a2
EZ
239362002-04-19 Elena Zannoni <ezannoni@redhat.com>
23937
23938 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
23939 instruction file directly into the build tree. Clean up at end of
23940 test.
23941
ba678339
DM
239422002-04-18 David S. Miller <davem@redhat.com>
23943
23944 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
23945 handle 64-bit platforms correctly.
23946 * gdb.base/maint.exp: Likewise.
23947
b03399da
KB
239482002-04-18 Kevin Buettner <kevinb@redhat.com>
23949
23950 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
23951 ``-fpic'' when compiling files comprising a shared library, but
23952 it does need additional linker flags in order to find shared
23953 libraries at run time.
23954
e2004992
KB
239552002-04-18 Kevin Buettner <kevinb@redhat.com>
23956
23957 * gdb.base/cvexpr.c (use): New function.
23958 (main): Invoke use() on all global variables to prevent
23959 some linkers from deleting these otherwise unused symbols.
23960
d8937120
MC
239612002-04-17 Michael Chastain <mec@shout.net>
23962From David S. Miller <davem@redhat.com>
23963
23964 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
23965 handle 64-bit platforms correctly.
23966
ffd61a58
MS
239672002-04-12 Michael Snyder <msnyder@redhat.com>
23968From Jim Blandy <jimb@redhat.com>
a9c64011 23969 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
23970 script can handle this instead.
23971 * gdb.base/bar.c (barx): Same.
23972 * gdb.base/baz.c (bazx): Same.
23973 * gdb.base/grbx.c (grbxx): Same.
23974
23975 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
23976 manager doesn't automatically unmap overlays unnecessarily.
23977
6b8426a6
MH
239782002-04-10 Martin M. Hunt <hunt@redhat.com>
23979
23980 * gdb.base/ending-run.exp: Fix pattern for Mips targets
23981 stepping out of main.
23982
34af4875
MC
239832002-04-09 Michael Chastain <mec@shout.net>
23984
23985 * gdb.c++/local.cc (main): Move call to marker1() inside nested
23986 scope so that the nested scope tests will make sense.
23987 * gdb.c++/local.exp: Write patterns that actually work with gcc
23988 (the HP patterns "were never known to work with gcc").
23989 Keep the old aCC patterns too.
23990
2d1676a0
DJ
239912002-04-09 Daniel Jacobowitz <drow@mvista.com>
23992
23993 * gdb.base/attach.exp: Correct target board test.
23994
3a63e3f9
MC
239952002-04-08 Michael Chastain <mec@shout.net>
23996
23997 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
23998 in a const method. Add some xfail and fail cases for configurations
23999 that do not emit the "const ...".
24000
f18dabd2
MC
240012002-04-07 Michael Chastain <mec@shout.net>
24002
24003 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
24004 Accept "A * const" and "const A * const" as type of "this".
24005 Fix spelling of getFunky throughout. Make messages uniform.
24006
0fcddd82
EZ
240072002-04-07 Elena Zannoni <ezannoni@redhat.com>
24008
a9c64011 24009 Work around for PR gdb/285:
0fcddd82
EZ
24010 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
24011
16a8534a
EZ
240122002-04-07 Elena Zannoni <ezannoni@redhat.com>
24013
24014 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
24015 instructions file at run time instead of configure time.
24016 Sometimes we run the test in a directory that is not the one we
24017 configured in.
24018 * gdb.asm/configure.in: Delete creation of symlink.
24019 * gdb.asm/configure: Regenerate.
24020
24181d81
JB
240212002-04-05 J. Brobecker <brobecker@gnat.com>
24022
24023 * gdb.gdb/xfullpath.exp: New test, to exercise the new
24024 xfullpath () function.
24025
7cdb7107
DJ
240262002-04-04 Daniel Jacobowitz <drow@mvista.com>
24027
24028 * gdb.asm/Makefile.in: Correct dependencies.
24029
24030 * gdb.asm/powerpc.inc: New file.
24031 * gdb.asm/asm-source.exp: Add PowerPC.
24032 * gdb.asm/configure.in: Likewise.
24033 * gdb.asm/configure: Regenerated.
24034
a7d17088
DJ
240352002-04-04 Daniel Jacobowitz <drow@mvista.com>
24036
24037 * gdb.base/relocate.exp: New file.
24038 * gdb.base/relocate.c: New file.
24039
cd721503
FF
240402002-04-04 Fred Fish <fnf@redhat.com>
24041
24042 * gdb.base/step-test.exp: Update comment regarding stopping in
24043 memcpy/bcopy calls inserted as part of the compiler runtime.
24044
b22ad7a7
MS
240452002-04-04 Michael Snyder <msnyder@redhat.com>
24046
24047 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
24048
5f279fa6
DJ
240492002-04-03 Daniel Jacobowitz <drow@mvista.com>
24050
24051 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
24052 (gdb_expect): Remove $notransfer hack.
24053
dd0fd3ce
DJ
240542002-04-02 Daniel Jacobowitz <drow@mvista.com>
24055
24056 * gdb.c++/classes.exp ("calling method for small class"): Match
24057 updated register output.
24058
1e50cda1
DJ
240592002-03-30 Daniel Jacobowitz <drow@mvista.com>
24060
24061 Fix PR gdb/452
24062 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
24063 when finished. Make gdb_file_cmd send "exec-file" when
24064 appropriate.
24065
24015922
DJ
240662002-03-30 Daniel Jacobowitz <drow@mvista.com>
24067
24068 * gdb.base/attach.exp: Remove extra setup_xfail.
24069
dd7dfd64
MS
240702002-03-26 Michael Snyder <msnyder@redhat.com>
24071
24072 * gdb.base/default.exp: Add tests for dump, append, and restore.
24073 * gdb.base/help.exp: Add tests for dump, append, and restore.
24074 * gdb.base/dump.exp: New file, test dump, append and restore.
24075 * gdb.base/dump.c: New file.
24076
48b2f8d7
MS
240772002-03-27 Michael Snyder <msnyder@redhat.com>
24078
d63a86f8 24079 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
24080 clean-ups in help messages.
24081
05b4d525
FF
240822002-03-26 Fred Fish <fnf@redhat.com>
24083
24084 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
24085 have debugging info for those functions and the compiler uses them
24086 internally to copy structs around.
24087
d7679631
FF
240882002-03-26 Fred Fish <fnf@redhat.com>
24089
24090 * gdb.base/list.exp: Revert the change made yesterday and add note
24091 about why we don't list the default lines for remote targets.
24092
523ac3f9
MS
240932002-03-25 Michael Snyder <msnyder@redhat.com>
24094
24095 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
24096
754b2b8d
FF
240972002-03-25 Fred Fish <fnf@redhat.com>
24098
24099 * gdb.base/list.exp: This test works on remote targets so remove
24100 the short circuit for remote targets. Update copyright.
24101
33c3e192
FF
241022002-03-25 Fred Fish <fnf@redhat.com>
24103
24104 * gdb.base/attach.exp: Fix logic error that was suppressing this
24105 test for all non hppa*-*-hpux* targets, instead of the hp target.
24106 Move comments closer to the suppression point. Also now need to
24107 check that we are running natively.
24108
d43e73ee
MS
241092002-03-22 Michael Snyder <msnyder@redhat.com>
24110
882c8f02
MS
24111 * gdb.base/default.exp: Add test for gcore. Update copyright.
24112 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 24113
04c12f60
FF
241142002-03-06 Fred Fish <fnf@redhat.com>
24115
24116 * gdb.base/funcargs.c: Remove extraneous ';' character.
24117 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
24118
b43df995
MC
241192002-03-04 Michael Chastain <mec@shout.net>
24120
24121 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
24122 accommodate gcc v3 function signature.
24123 * gdb.mi/mi0-var-cmd-exp: Ditto.
24124
92362027
AC
241252002-02-24 Andrew Cagney <ac131313@redhat.com>
24126
24127 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
24128 ``GNU/Linux'' or ``Linux kernel''
24129 * testsuite/gdb.threads/pthreads.c: Ditto.
24130
258ad32d
MC
241312002-02-24 Michael Chastain <mec@shout.net>
24132
24133 * gdb.threads/pthreads.c (thread1): Add a return statement.
24134 (thread2): Likewise.
24135 (foo): Likewise.
24136
04c3b3d4
MC
241372002-02-23 Michael Chastain <mec@shout.net>
24138
24139 * gdb.threads/linux-dp.c (philosopher): Add a return statement
24140 to placate gcc.
24141
5a2a0a20
MC
241422002-02-23 Michael Chastain <mec@shout.net>
24143
24144 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
24145 test "ptype bint". The test passes on all my stabs configurations.
24146
a640f7fc
JB
241472002-02-21 Jim Blandy <jimb@redhat.com>
24148
27924826
JB
24149 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
24150 filename at a time, and watch for the ones we want to see.
24151
a640f7fc
JB
24152 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
24153 types of pointers to prototyped functions.
24154
edcc8c75
AC
241552002-02-20 Andrew Cagney <ac131313@redhat.com>
24156
24157 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
24158 signed, unsigned and straight char.
24159 (padding_char, padding_short, padding_int, padding_long,
24160 padding_long_long, padding_float, padding_double,
24161 padding_long_double): New global variables.
24162 (fill, fill_structs): New functions.
24163
24164 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
24165 for correctly sized writes. Update copyright.
24166 (get_valueof): New procedure.
24167 (get_sizeof): Call get_valueof.
24168 (check_valueof): New procedure.
24169 (check_padding): New procedure.
24170
ac57ea44
MC
241712002-02-20 Michael Chastain <mec@shout.net>
24172
24173 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
24174 to setup_xfail. Document some of the remaining calls.
24175
7a10c941
MC
241762002-02-18 Michael Chastain <mec@shout.net>
24177
24178 * gdb.c++/userdef.exp: Update copyright year.
24179
fb8acdcc
DJ
241802002-02-18 Daniel Jacobowitz <drow@mvista.com>
24181
24182 * gdb.c++/userdef.exp: Test overloaded operators properly.
24183 Remove xfails.
24184
fda6ae12
MS
241852002-02-14 Michael Snyder <msnyder@redhat.com>
24186
24187 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
24188
676a0442
DJ
241892002-02-14 Daniel Jacobowitz <drow@mvista.com>
24190
24191 * gdb.base/a2-run.exp: Check for a remote target properly.
24192 * gdb.base/annota1.exp: Likewise.
24193 * gdb.base/list.exp: Likewise.
24194 * gdb.base/reread.exp: Likewise.
24195 * gdb.base/scope.exp: Likewise.
24196 * gdb.base/shlib-call.exp: Likewise.
24197 * gdb.base/term.exp: Likewise.
24198 * gdb.c++/annota2.exp: Likewise.
24199
78b4f468
RE
242002002-02-13 Richard Earnshaw <rearnsha@arm.com>
24201
24202 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
24203
9a81ba51
MC
242042002-02-10 Michael Chastain <mec@shout.net>
24205
24206 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
24207 (call_after_alloca): Ditto.
24208
004af6c7
DJ
242092002-02-10 Daniel Jacobowitz <drow@mvista.com>
24210
24211 * gdb.base/ending-run.exp: Guard "cont" test with
24212 gdb_skip_stdio_test.
24213
37225f62
JB
242142002-02-06 Jim Blandy <jimb@redhat.com>
24215
24216 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
24217 from here...
24218 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
24219 To here. Disable this test on non-HP platforms. Add big comment.
24220
fe6fdd96
MS
242212002-02-04 Michael Snyder <msnyder@redhat.com>
24222
24223 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
24224 other than d10v and m32r.
24225
036fad3f
RE
242262002-02-02 Richard Earnshaw <rearnsha@arm.com>
24227
24228 * gdb.base/default.exp: Rewrite test patterns to reduce time
24229 taken to match them.
24230
7148ab62
DJ
242312002-01-30 Daniel Jacobowitz <drow@mvista.com>
24232
24233 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
24234 Allow a start function above main.
24235 * gdb.threads/linux-dp.exp: Fix copyright date.
24236
396cc255
DJ
242372002-01-30 Daniel Jacobowitz <drow@mvista.com>
24238
a9c64011
AS
24239 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
24240 (check_philosopher_stack): Check for manager thread before checking
24241 for a just-starting thread.
396cc255 24242
f038d31b
DJ
242432002-01-30 Daniel Jacobowitz <drow@mvista.com>
24244
24245 From Neil Booth <neil@daikokuya.demon.co.uk>:
24246 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
24247 warnings.
24248
b3ff9d9a
FF
242492002-01-21 Fred Fish <fnf@redhat.com>
24250
24251 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
24252 not caller.
24253
39ad761d
JB
242542002-01-21 Jim Blandy <jimb@redhat.com>
24255
24256 * gdb.base/reread.exp: Check that GDB properly re-reads the
24257 executable file when it changes while no inferior is running.
24258
aaf320fa
FF
242592002-01-21 Fred Fish <fnf@redhat.com>
24260
a9c64011
AS
24261 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
24262 optionally accept the "shlib events" variation.
aaf320fa 24263
808a31f5
JB
242642002-01-21 Jim Blandy <jimb@redhat.com>
24265
24266 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
24267 call `fflush' after every `printf', so that the output is produced
24268 at predictable points, regardless of whatever buffering does (or
24269 doesn't) take place.
24270 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
24271 at different points.
24272
4420d5e2
DJ
242732002-01-20 Daniel Jacobowitz <drow@mvista.com>
24274
24275 * gdb.c++/inherit.exp: Update copyright years.
24276 * gdb.c++/method.exp: Likewise.
24277
3e36a0f4
DJ
242782002-01-20 Daniel Jacobowitz <drow@mvista.com>
24279
24280 * gdb.c++/classes.exp: Update for improved v3 support and skipping
24281 artificial methods/arguments.
24282 * gdb.c++/derivation.exp: Likewise.
24283 * gdb.c++/inherit.exp: Likewise.
24284 * gdb.c++/method.exp: Likewise.
24285 * gdb.c++/virtfunc.exp: Likewise.
24286
b4ceaee6
AC
242872002-01-18 Andrew Cagney <ac131313@redhat.com>
24288
24289 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
24290 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
24291 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
24292 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
24293 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
24294 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
24295
ecace851
JB
242962002-01-17 Jim Blandy <jimb@redhat.com>
24297
24298 * gdb.asm/asm-source.exp (info symbol): Take another shot at
24299 anchoring the pattern matching the entry point symbol's name.
24300
375fc983
AC
243012002-01-17 Andrew Cagney <ac131313@redhat.com>
24302
24303 * gdb.base/maint.exp: Update ``maint internal-error'' to match
24304 continue/quit query. Update copyright.
24305
fe6fdd96
MS
243062002-01-14 Michael Snyder <msnyder@redhat.com>
24307
24308 * gdb.base/gcore.exp: Remove extra debugging output.
24309
e017c81f
DJ
243102002-01-13 Daniel Jacobowitz <drow@mvista.com>
24311
24312 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
24313 for slightly dubious v2 mangled string.
24314
37ab3bf8
DJ
243152002-01-13 Daniel Jacobowitz <drow@mvista.com>
24316
24317 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
24318
1bc05c3a 243192002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 24320
1bc05c3a 24321 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 24322
1bc05c3a
JM
24323 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
24324 constructors.
24325 * gdb.c++/derivation.exp: Likewise.
24326 * gdb.c++/templates.exp: Likewise.
24327 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 24328
1bc05c3a
JM
243292002-01-10 Michael Snyder <msnyder@redhat.com>
24330
24331 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 24332
a911c360
MS
243332002-01-08 Michael Snyder <msnyder@redhat.com>
24334
24335 * gdb.base/gcore.exp: New test for generate-core-file command.
24336 * gdb.base/gcore.c: Testcase for above.
24337 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
24338
ea2119ec
JM
243392002-01-08 Jason Merrill <jason@redhat.com>
24340
24341 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
24342
68203136
FF
243432002-01-07 Fred Fish <fnf@redhat.com>
24344
24345 * gdb.c++/overload.exp: Remove unconditional xfails for:
24346 print foo_instance1.overloadargs(1)
24347 print foo_instance1.overloadargs(1, 2)
24348 print foo_instance1.overloadargs(1, 2, 3)
24349 print foo_instance1.overloadargs(1, 2, 3, 4)
24350 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
24351 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
24352 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
24353 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
24354 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
24355 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
24356 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
24357 print foo_instance1.overload1arg()
24358 print foo_instance1.overload1arg((char)arg2)
24359 print foo_instance1.overload1arg((signed char)arg3)
24360 print foo_instance1.overload1arg((unsigned char)arg4)
24361 print foo_instance1.overload1arg((int)arg7)
24362 print foo_instance1.overload1arg((unsigned int)arg8)
24363 print foo_instance1.overload1arg((float)arg11)
24364 print foo_instance1.overload1arg((double)arg12)
d63a86f8 24365
21b9b5b1
MS
243662002-01-07 Michael Snyder <msnyder@redhat.com>
24367
24368 * gdb.base/huge.exp: New test. Print a very large target data object.
24369 (skip_huge_test): New test variable. Define if you want to skip this
24370 test. The test reads an 8 megabyte data object from the target, so it
24371 might be very time consuming on remote targets with a slow connection.
24372 * gdb.base/huge.c: New file. Test case for above.
24373
725f922e
FF
243742002-01-07 Fred Fish <fnf@redhat.com>
24375
24376 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
24377 g_instance.bfoo, and g_instance.cfoo.
24378
889bf7c5 243792002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 24380
889bf7c5
PA
24381 * gdb.base/break.c (multi_line_if_conditional): New function.
24382 (multi_ilne_while_conditional): Likewise.
24383 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
24384 IF or WHILE condition puts the breakpoint at the start of
24385 the condition.
f286b2c3 24386
634d57ec
JL
24387 * gdb.base/selftest.exp (backtrace through signal handler): Remove
24388 hppa*-*-hpux* expected failure.
24389 * gdb.base/structs.exp (do_function_calls): Similarly.
24390
24391 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
24392 watchpoints.
24393
9fbfe2dc
AC
243942002-01-06 Andrew Cagney <ac131313@redhat.com>
24395
24396 Fix PR gdb/66.
24397 * gdb.base/structs.exp: Replace skip for a29k with skip for
24398 gdb,cannot_call_functions.
24399 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
24400 * gdb.base/callfuncs.exp: Ditto.
24401 * gdb.base/call-rt-st.exp: Ditto.
24402 * gdb.base/call-strs.exp: Ditto.
24403 * gdb.base/callfwmall.exp: Ditto.
24404 * gdb.base/scope.exp: Obsolete xfail a29k.
24405 * gdb.c++/misc.exp: Ditto.
24406 * gdb.c++/cplusfuncs.exp: Ditto.
24407 * gdb.base/ptype.exp: Ditto.
24408 * gdb.base/printcmds.exp: Ditto.
24409 * gdb.base/opaque.exp: Ditto.
24410 * gdb.base/list.exp: Ditto.
24411 * gdb.base/funcargs.exp: Ditto.
24412 * gdb.base/default.exp: Ditto.
24413
8ddad156
MS
244142002-01-04 Michael Snyder <msnyder@redhat.com>
24415
ca4976a6 24416 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
24417 * gdb.base/maint.exp: Add tests for maint info sections options.
24418
1b074332
JL
24419Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
24420
24421 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
24422
7d159115
CV
244232001-12-20 Corinna Vinschen <vinschen@redhat.com>
24424
24425 * gdb.asm/arm.inc: New file.
24426 * gdb.asm/asm-source.exp: Add arm targets.
24427 * gdb.asm/configure.in: Ditto.
24428 * gdb.asm/configure: Recreated from configure.in.
24429
8fb87725
JL
24430Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
24431
afabe08c
JL
24432 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
24433 with HP's compiler.
24434 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
24435 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
24436 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
24437 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
24438
24439 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
24440 either HP's compilers or GCC.
24441
db521deb
JL
24442 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
24443 a SIGBUS or SIGSEGV.
24444
24445 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
24446
24447 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
24448 can be compiled with either HP's compiler or GCC.
24449
cfa88ab7
JL
24450 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
24451 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
24452 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
24453
ca344dff
JL
24454 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
24455 to match current gdb output. Update due to using auto-solib-limit
24456 for limiting instead of overloading auto-solib-add.
24457 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
24458 test program.
24459
3f3c6e55 24460 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
24461 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
24462 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
24463 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
24464 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
24465 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
24466 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
24467 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
24468 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
24469 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
24470 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
24471 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
24472 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 24473
8fb87725
JL
24474 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
24475 a SIGTRAP to the inferior.
24476
cf599fa7
CV
244772001-12-19 Corinna Vinschen <vinschen@redhat.com>
24478
24479 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
24480 Substitute call to target_link by call to gdb_compile.
24481
2cd045cd
JL
24482Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
24483
a9c64011
AS
24484 * gdb.base/break.exp: Fix HP specific search string when testing
24485 backtracing in a called function.
2cd045cd 24486
a9c64011
AS
24487 * gdb.base/constvars.exp: Only set lang to C++ if we're
24488 compiling the test with HP's compilers.
24489 * gdb.base/volatile.exp: Similarly.
2cd045cd 24490
99ebe9ac
JB
244912001-12-19 Jim Blandy <jimb@redhat.com>
24492
24493 * gdb.base/printcmds.exp: Expect the null character to be printed
24494 as '\0', and the '\013' to be printed as '\v'.
24495 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
24496 * gdb.base/setvar.exp: Same.
24497
b9891b29
JB
244982001-12-17 Jim Blandy <jimb@redhat.com>
24499
0eba65ab
JB
24500 * gdb.base/completion.exp: Rather than completing very long
24501 filenames, which can make the readline library produce output we
24502 don't recognize, cd to the directory first, and then complete
24503 using nice, short relative paths.
24504
6970b5b1
JB
24505 * gdb.base/completion.exp: On some systems, there is, in fact, a
24506 variable named `b' in scope, since GDB treats all static
a9c64011
AS
24507 variables as being in scope. So use `no_var_named_this'
24508 instead of `b'.
6970b5b1 24509
b9891b29 24510 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 24511 can't find the core file's registers as a failure.
b9891b29 24512
e6ccd35f
JSC
245132001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
24514
a9c64011
AS
24515 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
24516 test expect string more specific.
e6ccd35f 24517
105ba819
CV
245182001-12-13 Corinna Vinschen <vinschen@redhat.com>
24519
24520 * gdb.asm/asm-source.exp: Add support for xstormy16.
24521 * gdb.asm/configure.in: Ditto.
24522 * gdb.asm/configure: Rebuild.
24523 * gdb.asm/xstormy16.inc: New file.
24524
e9e79dd9
FF
245252001-12-10 Fred Fish <fnf@redhat.com>
24526
24527 * gdb.base/maint.exp: Update to match changes in type dumping code.
24528
347dc97d
JB
245292001-12-10 Jim Blandy <jimb@redhat.com>
24530
24531 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
24532 matching the entry point symbol's name at the beginning of the
24533 line.
347dc97d 24534
5178b9d6
DJ
245352001-12-07 Daniel Jacobowitz <drow@mvista.com>
24536
24537 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
24538 gdb.c++/inherit.exp, gdb.c++/method.exp,
24539 gdb.c++/namespace.exp, gdb.c++/templates.exp,
24540 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
24541 and class layout support.
24542
af890c52
DJ
245432001-12-07 Daniel Jacobowitz <drow@mvista.com>
24544
24545 * gdb.c++/classes.exp: Add test for static member function.
24546 * gdb.c++/misc.cc: Add class with static member function.
24547
7a345fb3
JB
245482001-12-07 Jim Blandy <jimb@redhat.com>
24549
f2e54a80 24550 If GDB says it can't find the struct the function returned, report
8032bf31
JB
24551 those tests as `unsupported'.
24552 * gdb.base/call-rt-st.exp (print_struct_call): New function.
24553 Rewrite subsequent tests to use it.
24554
24555 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
24556 those tests as `unsupported'.
24557 * gdb.base/structs.exp (call_struct_func): New function.
24558 (do_function_calls): Use call_struct_func to call the functions
24559 returning structs.
24560
0bc69509
JB
24561 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
24562 whether functions are prototyped or not, so we can't possibly pass
24563 arguments to t_float_values2 properly.
24564
7a345fb3
JB
24565 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
24566 value of `timeout' for targets other than the mips*tx39-*.
24567
edb6ede1
MS
245682001-12-06 Michael Snyder <msnyder@redhat.com>
24569
d63a86f8 24570 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
24571 and detect whether the start symbol has a leading underscore.
24572
2d842f13
JB
245732001-12-04 Jim Blandy <jimb@redhat.com>
24574
24575 * gdb.base/completion.exp: Clarify indentation.
24576
68550daf
JB
245772001-12-03 Jim Blandy <jimb@redhat.com>
24578
24579 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
24580 variables on the S/390, not `.word'.
24581
cd5195a8
JB
245822001-11-30 Jim Blandy <jimb@redhat.com>
24583
24584 Add assembly-source tests for s390-ibm-linux.
24585 * gdb.asm/s390.inc: New file.
24586 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
24587 the S/390 architecture.
a9c64011 24588 * gdb.asm/configure: Regenerated.
cd5195a8 24589
ca9efc90
MS
245902001-11-30 Michael Snyder <msnyder@redhat.com>
24591
24592 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
24593 next, info source, info sources, info line, global and static
24594 variables, and static functions.
24595 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
24596 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
24597 * gdb.asm/asmsrc1.s: Add a static function and some variables.
24598 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
24599 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
24600 (gdbasm_leave): Restore frame pointer.
24601 (gdbasm_startup): Copy stack set-up from crt0.S.
24602
d0e66976
FN
246032001-11-26 Fernando Nasser <fnasser@redhat.com>
24604
24605 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
24606 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
24607 to a local (non-static) variable. Copy tstruct.a to a static buffer
24608 and return a pointer to that buffer.
24609 * gdb.base/callfwmall.c (t_structs_a): Ditto.
24610
e2334072
MK
246112001-11-24 Mark Kettenis <kettenis@gnu.org>
24612
24613 * gdb.asm/configure.in: Fix recognition of ix86 target.
24614 * gdb.asm/configure: Regenerate.
24615
756caa3d
MS
246162001-11-21 Michael Snyder <msnyder@redhat.com>
24617
24618 * gdb.asm/sparc.inc: New file.
24619 * gdb.asm/asm-source.exp: Recognize sparc target.
24620 * gdb.asm/configure.in: Recognize sparc target.
24621 * gdb.asm/configure: Regenerate.
d63a86f8 24622
9a4d72d5
MS
246232001-11-21 Michael Snyder <msnyder@redhat.com>
24624
24625 * gdb.asm/m32r.inc: New file.
24626 * gdb.asm/asm-source.exp: Recognize m32r target.
24627 * gdb.asm/configure.in: Recognize m32r target.
24628 * gdb.asm/configure: Regenerate.
24629
a773d1cd
MS
246302001-11-20 Michael Snyder <msnyder@redhat.com>
24631
017ac23d
MS
24632 * gdb.asm/i386.inc: New file.
24633 * gdb.asm/asm-source.exp: Recognize ix86 target.
24634 * gdb.asm/configure.in: Recognize ix86 target.
24635 * gdb.asm/configure: Regenerate.
24636
a773d1cd
MS
24637 * gdb.c++/namespace.exp: Fix quotes in output messages.
24638
bb632afb
MS
246392001-11-14 Michael Snyder <msnyder@redhat.com>
24640
25d559ca 24641 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
24642 qualifier in a type cast expression, to designate an address
24643 in the instruction space (Harvard architecture).
24644
4749e309
MS
246452001-11-13 Michael Snyder <msnyder@redhat.com>
24646
24647 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
24648 Tests for expressions using 'const' and 'volatile'.
24649
25050984
CV
246502001-11-13 Corinna Vinschen <vinschen@redhat.com>
24651
24652 * gdb.asm/asm-sources.exp: Allow defining linker flags.
24653
1902c51f
DJ
246542001-11-12 Daniel Jacobowitz <drow@mvista.com>
24655
24656 * lib/mi-support.exp (mi_run_to_helper): Move comments
24657 outside of gdb_expect.
24658
dcf95b47
DJ
246592001-11-11 Daniel Jacobowitz <drow@mvista.com>
24660
24661 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
24662 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
24663 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
24664 mi0_run_to): New functions.
24665 * gdb.mi/mi-simplerun.exp: Use them.
24666 * gdb.mi/mi0-simplerun.exp: Likewise.
24667 * gdb.mi/mi-var-cmd.exp: Likewise.
24668 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 24669
45b074e1
AC
246702001-11-10 Andrew Cagney <ac131313@redhat.com>
24671
24672 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
24673 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
24674
bf50d346
AC
246752001-11-09 Andrew Cagney <ac131313@redhat.com>
24676
24677 * gdb.base/restore.exp: Include $expected value in restored test
24678 message.
24679
9383332c
AC
246802001-11-09 Andrew Cagney <ac131313@redhat.com>
24681
24682 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
24683 implemented.
24684
db62520a
MS
246852001-11-08 Michael Snyder <msnyder@redhat.com>
24686
24687 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
24688 Add pass/fail message for stop at breakpoint in call dummy function.
24689
b5703437
MS
246902001-11-07 Michael Snyder <msnyder@redhat.com>
24691
d63a86f8
RM
24692 * gdb.c++/templates.exp (test_template_breakpoints):
24693 If we get an overload menu, but it does not match what
760f6330 24694 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
24695 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
24696 making the whitespace optional. Argument for "new" may be
24697 "unsigned" as well as "unsigned int/long".
d63a86f8 24698 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
24699 making the whitespace optional. Also replace "(void) with
24700 "((void|)), making the keyword "void" optional.
d63a86f8 24701 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
24702 making the whitespace optional. Also replace "(void) with
24703 "((void|)), making the keyword "void" optional.
3bf40917
MS
24704 * gdb.base/callfuncs.c (t_float_values): This function must
24705 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 24706 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
24707 can be tested against both cases. Usually one case involves
24708 promotion of float to double, while the other does not.
24709 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
24710 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
24711 includes a stack frame for "start".
24712
c8ab4e6d
JB
247132001-11-05 Jim Blandy <jimb@redhat.com>
24714
24715 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
24716 pointers are 32 bits long, and that offsets of relocs are always
24717 stored in the data (REL-style), and not in the reloc entry itself
24718 (RELA-style).
24719 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
24720 stabs.
24721
3f08ced9
MS
247222001-11-01 Michael Snyder <msnyder@redhat.com>
24723
24724 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
24725 and regular expression operators by using quoting.
24726
cbfa24cd
MS
247272001-10-31 Michael Snyder <msnyder@redhat.com>
24728
24729 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
24730 depending on what the symbol table contains.
24731 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
24732 the output of the ptype command. Similarly, accept both "const &"
24733 and "const&".
24734
aaa68313
CV
247352001-10-31 Corinna Vinschen <vinschen@redhat.com>
24736
24737 * gdb.base/miscexprs.c (main): Add usage of preprocessor
24738 symbol `STORAGE' to allow to choose the storage class of
24739 the local datastructures.
24740 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
24741 compiler directive.
24742
91740388
MS
247432001-10-30 Michael Snyder <msnyder@redhat.com>
24744
24745 * gdb.base/jump.exp: Allow it to run for all targets.
24746
1b7c05e7
CV
247472001-10-29 Corinna Vinschen <vinschen@redhat.com>
24748
24749 * gdb.base/call-ar-st.c (print_double_array): Match for loop
24750 with new double_array size.
24751 (main): Change storage class of all local variables to static.
24752 Reduce size of double_array to 9.
24753 * gdb.base/call-ar-st.exp: Increase timeout value.
24754 Change expected output for double array to match new size in
24755 call-ar-st.c.
24756
36a22261
CV
247572001-10-29 Corinna Vinschen <vinschen@redhat.com>
24758
24759 * gdb.base/ending-run.exp: Create identical output when passing
24760 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 24761 Stormy16 target.
36a22261 24762
92b8ae91
MK
247632001-10-28 Mark Kettenis <kettenis@gnu.org>
24764
24765 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
24766 that we catch the expected failure under Linux/x86.
24767
cb135b83
OF
247682001-10-29 Orjan Friberg <orjanf@axis.com>
24769
24770 * gdb.base/setvar.exp: Escape curly braces.
24771 * gdb.stabs/weird.exp: Ditto.
24772
6884aa54
DJ
247732001-10-27 Daniel Jacobowitz <drow@mvista.com>
24774
24775 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
24776 * gdm.mi/mi0-hack-cli.exp: Likewise.
24777
0398c9aa
AC
247782001-10-25 Andrew Cagney <ac131313@redhat.com>
24779
24780 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
24781 messages.
24782
d20bf2e8
AC
247832001-10-21 Andrew Cagney <ac131313@redhat.com>
24784
24785 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
24786 checking MI enabled.
24787
03dd63aa
CV
247882001-10-09 Corinna Vinschen <vinschen@redhat.com>
24789
24790 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
24791
1d9d99f3
FCE
247922001-10-04 Frank Ch. Eigler <fche@redhat.com>
24793
24794 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
24795 if gdb child process crashes, just signal an error.
24796
838ae6c4
JB
247972001-10-02 Jim Blandy <jimb@redhat.com>
24798
24799 * lib/gdb.exp (test_xfail_format): Simplify.
24800
24801 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
24802 front of the variable name `format'. Simplify `if'.
24803
8f0cbc1c
DJ
248042001-10-01 Daniel Jacobowitz <drow@mvista.com>
24805
24806 * gdb.threads/pthreads.exp: Wait for output and delay
24807 before sending ^C.
24808
1f08dafd
DJ
248092001-10-01 Daniel Jacobowitz <drow@mvista.com>
24810
24811 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
24812 some incorrect output instead of timing out.
24813 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
24814
674f90ff
CV
248152001-09-28 Corinna Vinschen <vinschen@redhat.com>
24816
24817 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
24818 check to allow additional `int'.
24819
9b284272
DJ
248202001-09-27 Daniel Jacobowitz <drow@mvista.com>
24821
24822 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
24823 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
24824
b55a4771
MS
248252001-09-27 Michael Snyder <msnyder@redhat.com>
24826
24827 * lib/gdb.exp (test_debug_format): New proc.
24828 (setup_xfail_format): Use new proc test_debug_format.
24829 * gdb.base/constvars.exp (local_compiler_xfail_check): New
24830 proc; use new service proc test_debug_format.
24831 Replace all other "gcc_compiled" tests with this test.
24832 * gdb.base/volatile.exp (local_compiler_xfail_check): New
24833 proc; use new service proc test_debug_format.
24834 Replace all other "gcc_compiled" tests with this test.
24835
248362001-09-27 Michael Snyder <msnyder@redhat.com>
24837
24838 * gdb.base/cvexpr.exp: New file.
24839 * gdb.base/cvexpr.c: New file
24840 Test for expressions using const and volatile keywords.
24841
4e6667ac
CV
248422001-09-26 Corinna Vinschen <vinschen@redhat.com>
24843
24844 * gdb.base/constvars.exp: Check for different orders of keywords
24845 and additional "int" strings in output.
24846
4f337972
AC
248472001-09-22 Andrew Cagney <ac131313@redhat.com>
24848
24849 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
24850 responses from "help maint".
24851
2015650d
FCE
248522001-09-19 Frank Ch. Eigler <fche@redhat.com>
24853
24854 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
24855 to localhost:NNN instead of :NNN, in case Xvfb is listening
24856 only on TCP.
24857
f3bcedc1
CV
248582001-09-19 Corinna Vinschen <vinschen@redhat.com>
24859
24860 * gdb.base/recurse.exp: When checking leaving the watchpoint
24861 scope, recognize when gdb is in function's epilogue and pass.
24862
6b819c92
KS
248632001-09-18 Keith Seitz <keiths@redhat.com>
24864
24865 * lib/insight-support.exp (_gdbtk_export_target_info): Add
24866 support for running tests against sid targets.
24867 (gdbtk_done): Ditto.
24868
a10c9419
CV
248692001-09-18 Corinna Vinschen <vinschen@redhat.com>
24870
24871 * gdb.base/ending-run.c (main): Set stdout buffersize
24872 to the same reasonable value for any target.
24873 * gdb.base/ending-run.exp: Add a regular expression
24874 to make testsuite happy on Sanyo Stormy16 target.
24875
739d0d99
CV
248762001-09-17 Corinna Vinschen <vinschen@redhat.com>
24877
24878 * gdb.base/display.c (do_loops): Add float variable `f'.
24879 Increment f in loop.
24880 * gdb.base/display.exp: Increment timeout by 60 seconds.
24881 Change float display test to use variable `f'.
24882
1b8947f0
JB
248832001-09-17 Jim Blandy <jimb@redhat.com>
24884
24885 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
24886 overflowing the limited breakpoint tables on some ROM monitors
24887 (like the ROM68K).
24888
9890ac81
FCE
248892001-09-15 Frank Ch. Eigler <fche@redhat.com>
24890
24891 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
24892 the "-ac" (disable access control) flag.
24893
6db765ea
JH
248942001-08-30 Jeff Holcomb <jeffh@redhat.com>
24895
24896 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
24897 ints.
24898
4c32cc04
KS
248992001-08-30 Keith Seitz <keiths@redhat.com>
24900
24901 * lib/gdb.exp: Move all insight-related functionality into
24902 separate file.
24903 * lib/insight-support.exp: New file.
24904
8d6e6f81
FCE
249052001-08-29 Frank Ch. Eigler <fche@redhat.com>
24906
24907 * config/sid.exp (sid_start): Never set sid verbosity; disable
24908 expect_background {} that consumed its stdout; tolerate </dev/null.
24909 Attempt to set endianness override in "sid" protocol mode. Cleanup.
24910
6a90e1d0
AC
249112001-08-18 Andrew Cagney <ac131313@redhat.com>
24912
24913 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
24914 CLI jump command to start it.
24915 (mi_run_to_main): Fail immediatly when unexpected output.
24916
1759b3c3
AC
249172001-08-18 Andrew Cagney <ac131313@redhat.com>
24918
24919 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
24920 beginning of function. Fix PR gdb/191.
24921
61d11d80
FCE
249222001-08-16 Frank Ch. Eigler <fche@redhat.com>
24923
24924 * config/sid.exp (sid_start): Don't warn if we cannot figure out
24925 what to force sid endianness to.
24926
942a4df2
KS
249272001-08-15 Keith Seitz <keiths@redhat.com>
24928
24929 * lib/gdb.exp (gdbtk_start): Don't set environment
24930 variables for TCL_LIBRARY and friends. Insight will
24931 now figure these out for itself.
24932
0521c418
MS
249332001-08-02 Michael Snyder <msnyder@redhat.com>
24934
24935 * gdb.base/completion.exp: Remove the symbol "a64l" from
24936 the expect string; this is target-specific, and not related
24937 to what is being tested.
24938
74a9a58a
DB
249392001-08-02 Dave Brolley <brolley@redhat.com>
24940
24941 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
24942
c70819fa
MS
249432001-07-25 Michael Snyder <msnyder@redhat.com>
24944
c2b8fa57
MS
24945 * gdb.base/consecutive.exp: New file. Test stepping over
24946 breakpoints on consecutive instructions.
24947 * gdb.base/consecutive.c: New file.
24948
c70819fa
MS
24949 * gdb.base/call-rt-st.exp: Use double-backslash to quote
24950 curly braces in regular expressions.
24951
2b1a1355
MS
249522001-07-25 Michael Snyder <msnyder@redhat.com>
24953
24954 * gdb.base/ending-run.exp: Accept "Program exited normally" as
24955 legitimate output from stepping out of main.
24956
413eca6f
KS
249572001-07-22 Keith Seitz <keiths@redhat.com>
24958
24959 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
24960 the empty string, do not run the tests.
24961
7e5a9322
SC
249622001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24963
24964 * gdb.base/long_long.exp: Detect size of pointer. Take into
24965 account 2-byte pointers when testing for p/a results.
24966
de58f10f
SC
249672001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24968
d63a86f8 24969 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
24970 and defined to 1K for m68hc11.
24971 (random_data): Reduce table to 1K for embedded platforms (68hc11).
24972 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
24973 (sizeof_random_data): New variable to tell the size of the data table;
24974 don't test past this size; always run to main.
24975
d6f5fea1
SC
249762001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24977
24978 * gdb.base/return2.exp: return of long long and double fails for
24979 68HC11; don't execute these tests on that platform.
24980 * gdb.base/return.exp: Return of a double fails for 68hc11.
24981
c477543d
SC
249822001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24983
24984 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
24985 tests that print a float.
24986 * call-rt-st.exp: Likewise.
24987
63cf1c79
MK
249882001-07-12 Mark Kettenis <kettenis@gnu.org>
24989
24990 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
24991 running this test on Linux.
24992
112f9ab5
MC
249932001-06-24 Michael Chastain <chastain@redhat.com>
24994
24995 * gdb.base/arithmet.exp: Remove some tests to make all test names
24996 unique.
24997
4970cb0f
MS
249982001-07-03 Michael Snyder <msnyder@redhat.com>
24999
25000 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
25001 the output of the ptype command.
25002
d85da69f
MS
250032001-07-02 Michael Snyder <msnyder@redhat.com>
25004
4c8a82de
MS
25005 * gdb.base/completion.exp: Don't assume that break.c is the only
25006 source file that may contain functions named "marker".
d85da69f
MS
25007 * gdb.base/corefile.exp: Quote the curly braces in regexp.
25008
8afc772b
AC
250092001-06-28 Andrew Cagney <ac131313@redhat.com>
25010
25011 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
25012 of files to delete.
25013
25014 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
25015 * gdb.disasm/h8300s.exp: New file.
25016 gdb.disasm/h8300s.s: Likewise.
25017
cff22675
AC
250182001-06-27 Andrew Cagney <ac131313@redhat.com>
25019
25020 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
25021 empty breakpoint tables.
25022
68c81b54
AC
250232001-06-25 Andrew Cagney <ac131313@redhat.com>
25024
25025 * lib/mi-support.exp: Update args=... part of stop-reason
25026 patterns. Accept either a list or a tuple.
25027
2dd62704
AC
250282001-06-23 Andrew Cagney <ac131313@redhat.com>
25029
25030 * lib/mi-support.exp: Remove local emacs variable defining
25031 change-log-default-name.
25032
b4127474
MC
250332001-06-22 Michael Chastain <chastain@redhat.com>
25034
25035 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
25036 This is operationally compatible with the previous version.
25037
8dbfb380
JB
250382001-06-13 Jim Blandy <jimb@redhat.com>
25039
25040 * lib/gdb.exp (gdb_test): Doc fix.
25041
f2d8c86d
MC
250422001-06-10 Michael Chastain <chastain@redhat.com>
25043
25044 * gdb.base/exprs.exp: Remove a duplicate test.
25045
81564d34
JB
250462001-06-06 Jim Blandy <jimb@redhat.com>
25047
25048 * gdb.base/return2.exp (main): Use values to test float and double
25049 returns that are not NaN's, to avoid being confused by IEEE
25050 comparison rules.
25051
da55addb
MS
250522001-06-04 Michael Snyder <msnyder@redhat.com>
25053
25054 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 25055 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
25056 rather than wait for 12 more tests to time out.
25057
42c65987
JB
250582001-06-06 Jim Blandy <jimb@redhat.com>
25059
b18bced9 25060 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 25061 Don't forget to match the GDB prompt.
b18bced9 25062
42c65987
JB
25063 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
25064
5b41e5f0
JB
250652001-06-04 Jim Blandy <jimb@redhat.com>
25066
25067 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
25068 command.
25069
015e046f
KB
250702001-05-31 Kevin Buettner <kevinb@redhat.com>
25071
25072 * gdb.base/annota1.exp (info break): Match four or more spaces
25073 after "Address".
25074
fb1ffbbe
MC
250752001-05-31 Michael Chastain <chastain@redhat.com>
25076
25077 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
25078 (dm_type_int_star): Likewise.
25079 (dm_type_long_star): Likewise.
25080 (dm_type_void_star): Likewise.
25081
5ea2a32c
KB
250822001-05-29 Kevin Buettner <kevinb@redhat.com>
25083
25084 * gdb.base/completion.exp (INPUTRC): Set this environment variable
25085 to a known value in order to get consistent results regardless
25086 of the setting of INPUTRC or the presence or contents of .inputrc.
25087
ae23c492
MS
250882001-05-24 Michael Snyder <msnyder@redhat.com>
25089
ac55707e
MS
25090 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
25091 Don't require that the main thread and the manager thread are the
25092 first in the list.
25093
ae23c492
MS
25094 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
25095 debugging. If test fails, issue an "unsupported" not a "fail".
25096
400071f1
JB
250972001-05-24 Jim Blandy <jimb@redhat.com>
25098
25099 Don't assume that short is shorter than int.
25100 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
25101 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 25102 this isn't true.
400071f1
JB
25103 ("print unsigned char == (~0)"): Add test that verifies that ~0,
25104 an int, is not equal to ~0 stored in an unsigned char. This tests
25105 the same thing that the previous test meant to, but works on
25106 16-bit machines, too.
25107 ("print unsigned char != (~0)"): Same test, complemented.
25108
0816a3e5
MS
251092001-05-24 Michael Snyder <msnyder@redhat.com>
25110
25111 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 25112 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
25113 and prevents dejagnu getting out of step.
25114
f6dc23a9
KB
251152001-05-23 Kevin Buettner <kevinb@redhat.com>
25116
25117 * gdb.base/finish.exp (finish_void): Revise pattern for
25118 stopping on the call statement to not permit stopping at
25119 the start of the instructions comprising the call sequence.
25120
7dbd117d
MC
251212001-05-19 Michael Chastain <chastain@redhat.com>
25122
25123 * gdb.base/callfuncs.exp: Make all test names unique.
25124 * gdb.base/commands.exp: Make all test names unique.
25125 * gdb.base/condbreak.exp: Make all test names unique.
25126 * gdb.base/dbx.exp: Make all test names unique.
25127 * gdb.base/default.exp: Make all test names unique.
25128 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
25129 and TIMEOUT messages to their corresponding PASS message.
25130 * gdb.base/ending-run.exp: Make all test names unique.
25131 * gdb.base/long_long.exp: Remove duplicate test.
25132
6b0b0a9e
KB
251332001-05-21 Kevin Buettner <kevinb@redhat.com>
25134
25135 * gdb.base/finish.exp (finish_void): Allow "finish" command to
25136 stop on the call statement as well as the statement after the
25137 call.
25138
2caa35cb
MS
251392001-05-21 Michael Snyder <msnyder@redhat.com>
25140
25141 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
25142
40713331
EZ
251432001-05-10 Elena Zannoni <ezannoni@redhat.com>
25144
a9c64011
AS
25145 * gdb.base/completion.exp: Revamp test. Make it execute on all
25146 platforms.
40713331 25147
c2c1be8d
EZ
251482001-05-10 Elena Zannoni <ezannoni@redhat.com>
25149
a9c64011
AS
25150 * config/gdbserver.exp (gdb_load): Handle the case
25151 in which the arguments to gdbserver are given in the
25152 baseboard configuration file.
25153 Also handle the case in which the server needs to do a
25154 load.
2c9cd303 25155
9671de48
KS
251562001-05-07 Keith Seitz <keiths@cygnus.com>
25157
a9c64011
AS
25158 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
25159 set up the display for testing.
25160 (gdbtk_start): Convert all paths to paths that tcl will like.
25161 Export target information to environment.
25162 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
25163 necessary.
25164 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
25165 (to_tcl_path): New proc to convert a given pathname into
25166 a path acceptible as an argument to a tcl command.
25167 (_gdbtk_export_target_info): New proc to export target info
25168 into the environment for gdbtk testing.
25169 (gdbtk_done): New proc to signal end-of-test.
9671de48 25170
5a360f47
JB
251712001-05-06 Jim Blandy <jimb@redhat.com>
25172
25173 * restore.c: Make the code of caller0 correspond to its comment.
25174
66c756c6
MS
251752001-05-03 Michael Snyder <msnyder@redhat.com>
25176
25177 * config/sid.exp (gdb_target_sid): Check for error messages.
25178 On error or timeout, don't make expect exit (which will terminate
25179 all subsequent tests); instead just make gdb exit.
d63a86f8 25180 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
25181 return a negative value.
25182
a966fde5
JB
251832001-04-24 Jim Blandy <jimb@redhat.com>
25184
851c18e0
JB
25185 * gdb.c++/templates.exp: If we see the prompt for the overload
25186 list, but we haven't recognized any of the longer patterns,
25187 arrange for this test to fail, not hang.
25188
a966fde5
JB
25189 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
25190 variations.
25191
db144853
MC
251922001-04-22 Michael Chastain <chastain@redhat.com>
25193
25194 * gdb.c++/local.exp: Use the 'runto' library function.
25195 * gdb.c++/namespace.exp: Likewise.
25196 * gdb.c++/overload.exp: Likewise.
25197
3207ec21
KB
251982001-03-26 Kevin Buettner <kevinb@redhat.com>
25199
25200 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
25201 * gdb.base/step-line.exp: New file. Test step/next in presence of
25202 #line directives.
25203 * gdb.base/step-line.c: New file. Test program for the above.
25204 * gdb.base/step-line.inp: New file. We pretend that this file has
25205 been transformed by some other tool into step-line.c.
25206
13b57657
JB
252072001-03-21 Jim Blandy <jimb@redhat.com>
25208
25209 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
25210 unmangled operator names.
25211
754cbe1c
JB
252122001-03-20 Jim Blandy <jimb@redhat.com>
25213
25214 * gdb.threads/linux-dp.exp: Recognize an additional message
25215 generated by GDB when it doesn't understand how to debug threads
25216 on the target system.
25217
177495c9
AC
252182001-03-19 Andrew Cagney <ac131313@redhat.com>
25219
25220 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
25221
f266096b
MC
252222001-03-12 Michael Chastain <chastain@redhat.com>
25223
25224 * gdb.c++/derivation.exp: Use the 'runto' library function.
25225
cac3c2ff
MC
252262001-03-12 Michael Chastain <chastain@redhat.com>
25227
25228 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
25229
b6c11a24
MC
252302001-02-24 Michael Chastain <chastain@redhat.com>
25231
25232 * gdb.c++/ref-types.exp: Change handwritten code to library
25233 function 'runto'.
25234
6bae5bce
OF
252352001-03-16 Orjan Friberg <orjanf@axis.com>
25236
25237 * gdb.base/signals.exp: Set count to 0 explicitly.
25238
0015fd9a
MS
252392001-03-15 Mark Salter <msalter@redhat.com>
25240
25241 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
25242 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
25243 (gdb_load): Add support for additional target_info: gdb_download_size
25244 and gdb_load_timeout.
0015fd9a 25245
fc33412a
DT
25246Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
25247
25248 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
25249 file -- to prevent failing when the compile fails but we have no
25250 intention of running the tests anyway.
fc33412a
DT
25251
25252 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
25253 tests if set.
25254
25255 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 25256 integers.
fc33412a
DT
25257
25258 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
25259 * gdb.c++/namespace.exp: Ditto.
25260
115f06de
OF
252612001-03-07 Orjan Friberg <orjanf@axis.com>
25262
25263 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
25264 * gdb.base/pointers.exp: Relax pattern match of decimals.
25265
b6ba6518
KB
252662001-03-06 Kevin Buettner <kevinb@redhat.com>
25267
25268 * Makefile.in, config/abug.exp, config/cfdbug.exp,
25269 config/cpu32bug.exp, config/dve.exp, config/est.exp,
25270 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
25271 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
25272 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
25273 config/sh.exp, config/sid.exp, config/slite.exp,
25274 config/sparclet.exp, config/udi.exp, config/unknown.exp,
25275 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
25276 config/vxworks.exp, config/vxworks29k.exp,
25277 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
25278 gdb.base/all-bin.exp, gdb.base/annota1.exp,
25279 gdb.base/arithmet.exp, gdb.base/assign.exp,
25280 gdb.base/async.exp, gdb.base/attach.exp,
25281 gdb.base/bitfields.exp, gdb.base/bitops.exp,
25282 gdb.base/break.exp, gdb.base/call-ar-st.exp,
25283 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
25284 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
25285 gdb.base/commands.exp, gdb.base/completion.exp,
25286 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
25287 gdb.base/constvars.exp, gdb.base/corefile.exp,
25288 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
25289 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
25290 gdb.base/ending-run.exp, gdb.base/environ.exp,
25291 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
25292 gdb.base/finish.exp, gdb.base/foll-exec.exp,
25293 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
25294 gdb.base/funcargs.exp, gdb.base/help.exp,
25295 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
25296 gdb.base/logical.exp, gdb.base/long_long.exp,
25297 gdb.base/maint.exp, gdb.base/mips_pro.exp,
25298 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
25299 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
25300 gdb.base/pointers.exp, gdb.base/printcmds.exp,
25301 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
25302 gdb.base/regs.exp, gdb.base/relational.exp,
25303 gdb.base/remote.exp, gdb.base/reread.exp,
25304 gdb.base/restore.exp, gdb.base/return2.exp,
25305 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
25306 gdb.base/selftest.exp, gdb.base/setshow.exp,
25307 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
25308 gdb.base/sigall.exp, gdb.base/signals.exp,
25309 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
25310 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
25311 gdb.base/step-test.exp, gdb.base/structs.c,
25312 gdb.base/structs.exp, gdb.base/structs2.exp,
25313 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
25314 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
25315 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
25316 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
25317 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
25318 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
25319 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
25320 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
25321 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
25322 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
25323 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
25324 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
25325 gdb.fortran/types.exp, gdb.java/jmisc.exp,
25326 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
25327 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
25328 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
25329 gdb.trace/circ.exp, gdb.trace/collection.exp,
25330 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
25331 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
25332 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
25333 gdb.trace/report.exp, gdb.trace/save-trace.exp,
25334 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
25335 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
25336 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
25337 notices.
25338
dc96c6c7 253392001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
25340
25341 * gdb.base/varargs.c (find_max_double): Fix printf format string:
25342 first arg is int not float.
25343
dc96c6c7 253442001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
25345
25346 * gdb.base/reread.exp: Unsupported for non-native targets;
25347 doesn't work for remote debugging.
25348
9b0c4aeb
FN
253492001-02-19 Fernando Nasser <fnasser@redhat.com>
25350
25351 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
25352 * gdb.base/ending-run.exp: Properly handle the BSP state when
25353 stepping past the end of main.
9b0c4aeb 25354
02aa71d5
MC
253552001-02-19 John Moore <jmoore@redhat.com>
25356
25357 * gdb.base/commands.exp (infrun_breakpoint_command_test):
25358 Converted HPUX fix for non-expected items following multiple
25359 step commands into general solution for all platforms.
25360
1fa449a4
MC
253612001-02-18 Michael Chastain <chastain@redhat.com>
25362
25363 * gdb.c++/classes.exp (do_tests): Change runto statements
25364 from "runto 'foo(void)'" to "runto 'foo'". This makes the
25365 statements demangler agnostic.
25366 * gdb.c++/virtfunc.exp (do_tests): Likewise.
25367 (gdb_virtfunc_restart): Likewise.
25368
b2f9ec70
MC
253692001-02-14 Michael Chastain <chastain@redhat.com>
25370
25371 * gdb.c++/inherit.exp (do_tests): Change runto statements
25372 from "runto 'foo(void)'" to "runto 'foo'". This makes the
25373 statements demangler agnostic.
25374
cf74b8ca
AC
25375Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
25376
25377 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
25378 ``continue to bkpt at common_routine in thread 2'' and ``stopped
25379 before calling common_routine 15 times'' tests.
cf74b8ca 25380
99f78f56
MC
253812001-02-11 Michael Chastain <chastain@redhat.com>
25382
25383 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
25384 Helps the test script figure out which demangler is in use.
25385 (dm_type_foo_ref): Ditto.
25386 (dm_type_int_star): Ditto.
25387 (dm_type_long_star): Ditto.
25388 (dm_type_unsigned_int): Ditto.
25389 (dm_type_void): Ditto.
25390 (dm_type_void_star): Ditto.
99707966 25391 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
25392 Probe the gdb demangler and set variables to accommodate
25393 formatting differences.
25394 (info_func_regexp): New function. Same as info_func, but
25395 matches against a regexp.
25396 (info_func): Match against a literal string.
25397 (print_addr_2): New function. Match against a literal string,
25398 which can be different from the input to gdb.
25399 (print_addr): Simply call print_addr_2 with the same argument twice.
25400 (test_lookup_operator_functions): Use demangler formatting variables.
25401 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
25402 the tests in the same order as the C++ class declaration.
25403 (test_paddr_operator_functions): Ditto.
25404 (test_paddr_overloaded_functions): Ditto.
25405 (test_paddr_hairy_functions): Use demangler formatting variables.
25406 Add reference to gdb/19 for related tests.
25407 (do_tests): Call probe_demangler.
25408
1de8f023
KB
254092001-01-30 Kevin Buettner <kevinb@redhat.com>
25410
25411 * gdb.c++/templates.cc (printf): Remove unused function definition.
25412
ca3f91ed
MS
254132001-01-26 Felix Lee <flee@redhat.com>
25414
25415 * sid.exp (sid_exit): Pass host, not target, to remote_close.
25416
254172001-01-25 matthew green <mrg@redhat.com>
25418
25419 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
25420 up sid.
25421 (sid_exit): Call `remote_pop_conn' after GDB is gone.
25422
254232001-01-25 matthew green <mrg@redhat.com>
25424
25425 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 25426 Deprecate $sid_spawn_id.
ca3f91ed
MS
25427 (sid_exit): Remove code necessary only for `spawn.'
25428
254292001-01-25 matthew green <mrg@redhat.com>
25430
25431 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
25432
fb18ec4a
MC
254332001-01-28 Michael Chastain <chastain@redhat.com>
25434
25435 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
25436 to call when tests fail. It takes gdb out of the overloaded
25437 function choice menu back to the main prompt, so that the test
25438 program stays synchronized.
25439 (set_bp_overloaded): New proc to collect all the common
25440 code for setting a breakpoint on an overloaded name. Calls
25441 take_gdb_out_of_choice_menu when needed.
25442 (menu_overload1arg): New variable to collect the repeated
25443 instances of the expected menu for an overloaded name. Change
25444 the regular expression to handle changes in g++ type encoding:
25445 "void" can be either "void" or "", and "unsigned int" can be
25446 either "unsigned int" or "unsigned".
25447 (continue_to_bp_overloaded): Change regular expressions to handle
25448 changes in g++ type encoding.
25449 (no proc): Call take_gdb_out_of_choice_menu when needed.
25450 Remove redundant calls to "info break". Accept either "canceled"
25451 or "cancelled". Change regular expressions in "info break"
25452 calls to handle changes in g++ type encoding. Give all tests
25453 unique strings.
25454
9c646a6e
BE
254552001-01-17 Ben Elliston <bje@redhat.com>
25456
25457 * config/sid.exp: New file.
25458
9549d9c1
AC
25459Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
25460
25461 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
25462
dc96c6c7 254632000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
25464
25465 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
25466 Add a RE to accept a non-ascii char if one is ever presented.
25467
b4df4f68
FN
254682000-12-20 Fernando Nasser <fnasser@redhat.com>
25469
297dd0fd 25470 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 25471
dc96c6c7 254722000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 25473
d63a86f8 25474 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
25475 in regexp. One '\' does not suffice on Linux.
25476
4a7bddb6
MC
254772000-12-09 Michael Chastain <chastain@redhat.com>
25478
25479 * gdb.base/break.exp (test_clear_command): Use a marker function
25480 rather than 'main' for the test function. Also move this
25481 test to an execution point where the marker function names are
25482 guaranteed to be bound to functions. (Executing tests after a
25483 'finish' from main runs into name conflicts with local names
25484 in __libc_start_main).
25485
dc96c6c7 254862000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
25487
25488 * gdb.base/finish.exp: New test for gdb's "finish" command.
25489 * gdb.base/return2.exp: New test for gdb's "return" command.
25490 * gdb.base/return2.c: New source file for above.
25491
dc96c6c7 254922000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
25493
25494 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
25495 * gdb.base/miscexprs.exp: Ditto.
25496 * gdb.base/pointers.exp: Ditto.
25497 * gdb.c++/derivation.exp: Ditto.
25498 * gdb.c++/local.exp: Ditto.
25499 * gdb.c++/namespace.exp: Ditto.
25500 * gdb.c++/overload.exp: Ditto.
25501 * gdb.c++/ref-types.exp: Ditto.
25502
dc96c6c7 255032000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
25504
25505 * gdb.base/constvars.exp: Test result of "up" command.
25506 * gdb.base/miscexprs.exp: Ditto.
25507 * gdb.base/pointers.exp: Ditto.
25508 * gdb.base/scope.exp: Ditto.
25509 * gdb.c++/derivation.exp: Ditto.
25510 * gdb.c++/local.exp: Ditto.
25511 * gdb.c++/namespace.exp: Ditto.
25512 * gdb.c++/overload.exp: Ditto.
25513 * gdb.c++/ref-types.exp: Ditto.
25514
44097287
FN
255152000-11-22 Michael Chastain <chastain@redhat.com>
25516
25517 * mips_pro.exp: Accept either "middle -> top -> main" or
25518 "middle -> main" in the backtrace, because gcc can optimize
25519 tail calls to jumps. Remove setup_xfail for the hppa case.
25520 Add a comment with the original warning messages from PR 3016,
25521 which was filed in 1993, to preserve them for posterity.
25522
9d2e1bab
ND
255232000-11-17 Nick Duffek <nsd@redhat.com>
25524
25525 * lib/gdb.exp (gdb_test): Override timeout with board info.
25526
1aca8eb7
ND
255272000-11-17 Nick Duffek <nsd@redhat.com>
25528
25529 * gdb.base/display.exp: Don't kill running stub. Add "again" to
25530 the second kill and detach messages.
25531
93076499
ND
255322000-11-17 Nick Duffek <nsd@redhat.com>
25533
25534 * configure.in: Add AC_EXEEXT.
25535 * configure: Regenerate.
25536 * Makefile.in (just-check): Export EXEEXT.
25537 * lib/gdb.exp ($EXEEXT): Import from environment.
25538 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
25539 expect "maint dump-me" on Cygwin.
25540 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
25541 $EXEEXT.
25542
30e87cd3
ND
255432000-11-17 Nick Duffek <nsd@redhat.com>
25544
25545 * gdb.base/break.exp: Test backtrace and finish from called
25546 function on all platforms, not just HP-UX.
25547
dc96c6c7 255482000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
25549
25550 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
25551 code from gdb_target_monitor, so it can be used independantly
25552 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 25553
dc96c6c7 255542000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
25555
25556 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
25557 * gdb.base/corefile.exp: Expect the message "Program is being
25558 debugged already" when we send the "corefile" command, since
25559 the preceeding gdb_load may have connected gdb to a remote target.
25560 * gdb.base/display.exp: Disable hardware watchpoints if new
25561 board info variable "no_hardware_watchpoints" is true.
25562 Replace single-letter commands with more readable ones.
25563 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
25564 if new board info variable "no_hardware_watchpoints" is true.
25565 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
25566 to see if stdio (printf) testing is possible.
25567 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
25568 board info variable "no_hardware_watchpoints" is true. Use new
25569 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
25570
39124dea
FN
255712000-11-13 Fernando Nasser <fnasser@redhat.com>
25572
25573 From Orjan Friberg <orjanf@axis.com>:
25574 * gdb.base/printcmds.exp: Escape curly braces followed by a number
25575 in array print pattern match.
25576
a9e2e984
FN
255772000-11-09 Fernando Nasser <fnasser@redhat.com>
25578
25579 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
25580 spelling "cancelled" to U.S. spelling "canceled" to match changes
25581 made to gdb.
25582 * gdb.c++/ovldbreak.exp: Ditto.
25583
c7db355b
PS
255842000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25585
25586 * gdb.base/callfuncs.c (main): Moved to end of file, call
25587 t_double_values to initialize the FPU before inferior calls are made.
25588 * gdb.base/callfuncs.exp: Test for register preservation after calling
25589 inferior functions. Add tests for continuining, finishing and
25590 returning from a stop in a call dummy.
25591
dc96c6c7 255922000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
25593
25594 * gdb.base/commands.exp: Break up long lines, and re-indent.
25595
dc96c6c7 255962000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
25597
25598 * config/gdbserver.exp: Rewritten from the ground up, to make it
25599 compatible with the current dejagnu tree, and to make it work with
25600 the new "gdbserver" in libremote.
25601
dc96c6c7 256022000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
25603
25604 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
25605 * gdb.base/varargs.exp: Skip entire test if no printf support.
25606 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
25607 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
25608
dc96c6c7 256092000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
25610
25611 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
25612 no floating point support.
25613 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
25614 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
25615 * gdb.base/call-rt-st.exp: Ditto.
25616 * gdb.base/call-strs.exp: Ditto.
25617
bac5fc66
JG
256182000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
25619
25620 * gdb.base/sizeof.c: include <stdio.h>.
25621
25622 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
25623 'finish', otherwise uncaptured gdb_prompt would potentially
25624 throw remaining test points out of sync.
bac5fc66 25625
b22a6027
SB
256262000-07-26 Scott Bambrough <scottb@netwinder.org>
25627
25628 * gdb.base/recurse.exp: Run tests for all targets.
25629 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
25630 gnu-oldld case on ARM.
25631 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
25632 for ARM targets.
d63a86f8 25633
d8231941
AG
25634Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
25635
25636 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
25637 * gdb.java/configure: Rebuild.
25638
8caabe69
AG
25639Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
25640
25641 * gdb.java/jv-exp.exp: New file.
25642
9d273ca3
AG
25643Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
25644
25645 * configure: Rebuilt.
25646 * configure.in (configdirs): Add gdb.java.
25647 * gdb.java/jmisc.java: New file.
25648 * gdb.java/jmisc.exp: New file.
25649 * gdb.java/Makefile.in: New file.
25650 * gdb.java/configure: Rebuilt.
25651 * gdb.java/configure.in: New file.
25652 * lib/java.exp: New file.
25653
4f823a66
AC
25654Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
25655
25656 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 25657 underflow.
4f823a66 25658
2391e11d
AC
25659Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
25660
25661 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 25662 and the compilers sizes.
2391e11d 25663
54602222
ND
256642000-07-09 Nick Duffek <nsd@redhat.com>
25665
25666 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
25667 (use_methods): New function.
25668 (main): Call use_methods().
25669 * gdb.c++/classes.exp (test_method_param_class): New procedure.
25670 (do_tests): Call test_method_param_class.
25671
2bec0572
ND
256722000-07-09 Nick Duffek <nsd@redhat.com>
25673
25674 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
25675 spelling.
25676 (test_enums): New procedure. Move enum tests from end of script
25677 to here. Set breakpoint on function name instead of line number.
25678 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
25679 (enums2): New marker function.
25680 (enums1): New function.
25681 (main): Call enums1(). Move enum tests to enums1().
25682
78492fde
AC
25683Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
25684
25685 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 25686 compile/link program. Update line numbers.
78492fde
AC
25687 * gdb.asm/d10v.inc: Define ``startup''.
25688 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 25689
49a2cef8
AC
25690Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
25691
25692 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
25693
3e6c8688
EZ
256942000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25695
25696 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 25697 of 'help maint print' command.
3e6c8688 25698
9ff5cbe9
AC
25699Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
25700
25701 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 25702 they use gdb_expect_list.
9ff5cbe9 25703
17c579bd
AC
25704Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
25705
25706 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
25707 memory-read-packet-size'' instead of ``set endian big'' to test
25708 long commands.
17c579bd 25709
e6d71bf3
DB
257102000-06-03 Daniel Berlin <dan@cgsoftware.com>
25711
25712 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 25713 g++, and stop skipping them.
e6d71bf3
DB
25714
25715 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
25716 work under g++.
25717
d63a86f8 25718 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
25719 initialization.
25720
dc96c6c7 257212000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
25722
25723 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
25724 the regular expression: accept an (almost) arbitrary sequence of
25725 "frames-invalid" and "breakpoints-invalid" messages both before
25726 and after the "starting" message.
25727
dc96c6c7 257282000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
25729
25730 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 25731
dc96c6c7 257322000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
25733
25734 * gdb.base/annota1.exp (annotate-signal-handler-caller):
25735 Relax the regular expression a little, make it pass on Solaris 8.
25736
8216cda9
KB
257372000-05-12 Kevin Buettner <kevinb@redhat.com>
25738
25739 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 25740 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
25741 Instead, it is permissible for gdb to stop on the line of the
25742 call itself.
25743
1a570b2f
MS
257442000-05-12 Michael Snyder <msnyder@.cygnus.com>
25745
25746 * gdb.base/break.exp (bp on small function, optimized file):
25747 Add a second pass pattern. The behavior differs here between stabs
25748 and dwarf for one-line functions. Stabs preserves two line symbols
25749 (one before the prologue and one after) with the same line number,
25750 but dwarf regards these as duplicates and discards one of them.
25751 Therefore the address after the prologue (where the breakpoint is)
25752 has no exactly matching line symbol, and GDB reports the breakpoint
25753 as if it were in the middle of a line rather than at the beginning.
25754
dc96c6c7 257552000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 25756
d63a86f8 25757 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
25758 rather than "send_gdb" (for consistancy).
25759
7d418785
AC
25760Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
25761
25762 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
25763 * gdb.c++/templates.cc: Properly check for GCC version number.
25764 * lib/compiler.cc: Likewise
25765
dc96c6c7 257662000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 25767
d63a86f8 25768 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
25769 gdb may not stop at the first line of main, due to code motion.
25770
dc96c6c7 257712000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
25772
25773 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
25774 This test depends on parsing the printf output from the target.
25775 Since the sparclet stub doesn't do stdio, this will never work.
25776 * gdb.base/call-rt-st.exp: ditto.
25777 * gdb.base/call-strs: ditto.
25778
dc96c6c7 257792000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
25780
25781 * gdb.base/miscexprs.exp: make sizeof long array test portable.
25782
25783 * gdb.base/ending-run.exp: After connecting to a remote target,
25784 but before running, the target will appear to be in a random
25785 location. Specify both a file and a line for breakpoints.
25786 Also, the function that calls main may be called 'init'
25787 rather than 'start'.
25788
a5a51225
EZ
257892000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25790
25791 * gdb.base/help.exp: Update output for add-symbol-file command.
25792
7930cc7c
FN
257932000-04-10 Fernando Nasser <fnasser@cygnus.com>
25794
25795 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
25796 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
25797
23e37ab1
C
257982000-04-07 J.T. Conklin <jtc@redback.com>
25799
e93c542c
C
25800 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
25801
23e37ab1
C
25802 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
25803
591b8fa3
PDM
25804Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
25805
25806 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 25807 values that can be represented exactly.
591b8fa3
PDM
25808 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
25809 above change, and to not check against the directory part of the source
25810 file name.
25811 (step into print_long_arg_list): Likewise.
25812 (print print_small_structs from print_long_arg_list): Likewise.
25813 (print print_long_arg_list): Likewise.
25814
7a495180
EZ
258152000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25816
30b53638 25817 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 25818
beb998c6
AC
25819Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
25820
25821 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
25822
1c689132
DB
258232000-03-25 Daniel Berlin <dan@cgsoftware.com>
25824
25825 * gdb.base/commands.exp (deprecated_command_test): Add test for
25826 deprecate with no arguments.
25827
c1790a9d
JL
258282000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
25829
25830 * gdb.base/break.exp: Add new test for setting breakpoints on
25831 optimized code so we can test breakpoints work even when function
25832 prologues may be optimized away
25833
003ba290
FN
258342000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
25835
25836 From David Whedon <dwhedon@gordian.com>
a9c64011 25837 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 25838
6837a0a2
DB
258392000-03-22 Daniel Berlin <dan@cgsoftware.com>
25840
25841 * gdb.base/help.exp: Added test for new apropos command.
25842
b9593231
KB
258432000-03-21 Kevin Buettner <kevinb@redhat.com>
25844
25845 * gdb.base/pointers.c (usevar): New function.
25846 (main): Make sure that global variables v_int_pointer2, rptr,
25847 and y are all referenced someplace in the program by calling
25848 usevar() on them. [Some linkers delete symbols which are
25849 never referenced. The space remains, but there's no way to
25850 get a (symbolic) handle on the variable from the debugger.]
25851
751a959b
EZ
258522000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25853
25854 * gdb.base/printcmds.c: Add typedeffed arrays.
25855
25856 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 25857 procedure to test arrays that are typedef'd.
751a959b 25858
73a93a32
JI
258592000-03-13 James Ingham <jingham@leda.cygnus.com>
25860
25861 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 25862 the library directories.
73a93a32 25863
fb40c209
AC
25864Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
25865
25866 * configure.in (configdirs): Add sub directory gdb.mi.
25867 * configure: Re-generate.
25868
25869 * gdb.mi: New directory.
d63a86f8 25870
ee4dd2c9
AC
258712000-02-25 Scott Bambrough <scottb@netwinder.org>
25872
25873 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 25874 a long long value as a double on ARM platforms.
ee4dd2c9 25875
70f0cc22
JB
258762000-02-16 Jim Blandy <jimb@redhat.com>
25877
25878 * gdb.base/break.exp ("breakpoint line number"): Make sure the
25879 default source file is set properly before running this test.
25880
853819b8
EZ
258812000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25882
25883 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 25884 gdbtk/library directory, not in gdbtcl2.
853819b8 25885
dfcd3bfb
JM
258862000-02-04 Jim Blandy <jimb@redhat.com>
25887
25888 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
25889 backslash from regexp pattern.
25890
25891 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
25892 procedure. Use it to run all the "continue to bp overloaded"
25893 tests. Note that this changes the names of the tests slightly.
25894 If the breakpoint hit message includes a hex PC value, because
25895 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
25896 from the real source code, still consider that a pass.
25897
25898 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
25899 XFAIL here if the breakpoint message contains a hex address. Note
25900 similar change on 1999-11-02.
25901
25902 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
25903
25904 * gdb.base/ptype.exp: Establish a default source file before
25905 calling get_debug_format.
25906
259072000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
25908
25909 * gdb.base/watchpoint.exp: Remove duplication of test messages.
25910
8b93c638
JM
259112000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
25912
25913 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
25914 of successive stepi commands -- while in the prologue we should see
25915 the function entry bracket.
25916
259172000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
25918
25919 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
25920 reach __change_mode() when stepping through the end of main().
25921
c5394b80
JM
259222000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
25923
25924 * gdb.base/default.exp: Fix expected pattern.
25925 * gdb.base/help.exp: Same.
25926
0d06e24b
JM
259272000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25928
25929 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 25930 Don't use xfail's because that affects only the following test.
d63a86f8 25931
0d06e24b 25932 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 25933 solaris or linux.
0d06e24b
JM
25934
25935 * gdb.base/selftest.exp: Update to reflect changes to main.c.
25936
dc96c6c7 259372000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 25938
d63a86f8 25939 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
25940 "A syntax error" rather than "A parse error". Accept both.
25941
259422000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
25943
25944 * gdb.base/default.exp: Remove OS dependent string from "target
25945 remote" test.
25946 * gdb.base/help.exp: Same for "help target remote" test.
25947
c3f6f71d
JM
259482000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25949
25950 From Jim Kingdon <kingdon@redhat.com>:
25951
25952 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
25953 prompt (cleanup rather than necessity, but still might keep output
25954 from spilling to next test).
c3f6f71d
JM
25955
259562000-01-02 Fred Fish <fnf@cygnus.com>
25957
25958 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
25959 AIX, which defines them in <sys/types.h>.
25960
ed9a39eb 259611999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 25962
ed9a39eb 25963 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 25964 float" test.
ed9a39eb
JM
25965
259661999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 25967
ed9a39eb 25968 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
25969
25970 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
25971 outermost frame disallowed".
25972
259731999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
25974
25975 * gdb.base/setvar.exp: New tests for setting the value of a struct
25976 with a constant list.
25977
259781999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
25979
25980 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
25981 require the user to type a cast before setting the value of a struct.
25982
de57eccd
JM
259831999-12-06 Jim Blandy <jimb@cygnus.com>
25984
25985 * gdb.base/default.exp: Expect the new 'info float' command on
25986 all i386 platforms.
25987
25988 * gdb.threads/linux-dp.exp: Expand our ability to recognize
25989 LinuxThreads libraries that don't support debugging.
25990
c2d11a7d
JM
25991Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
25992
25993 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
25994 Change the buffer type to ``unsigned char'' to simplify size
25995 arithmetic.
c2d11a7d
JM
25996
25997 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
25998 stub only handles 400-1 byte packets. Verify that the download
25999 worked.
c2d11a7d
JM
26000
260011999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
26002
26003 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
26004 tests, using UNRESOLVED for the untested cases. Also, does not wait
26005 for a timeout if the prompt was received before a recognizable pattern.
26006
260071999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
26008
26009 * lib/gdb.exp (gdb_expect_list): Fix spelling.
26010
260111999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26012
26013 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 26014 watchpoints.
c2d11a7d
JM
26015
260161999-11-24 Jason Merrill <jason@casey.cygnus.com>
26017
26018 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
26019
26020 * gdb.c++/local.exp: Be more flexible in recognizing local class
26021 name mangling. Don't allow horribly truncated method names.
26022 * gdb.c++/derivation.exp: Expect protected inheritance.
26023 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
26024 * gdb.c++/virtfunc.exp: Likewise.
26025 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
26026 when printing a nested enum.
26027
260281999-11-22 Jim Blandy <jimb@cygnus.com>
26029
26030 * gdb.base/step-test.exp: Properly await GDB's response to setting
26031 a breakpoint on the call to large_struct_by_value.
26032
26033 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
26034 just because we have debug info for the `start' function.
26035
260361999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
26037
26038 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
26039 "Unknown signal" messages, which indicate (on LinuxThreads) that
26040 GDB doesn't know how to debug threads on this system. This is
26041 better than hanging while philosopher 0 dumps chatter into gdb.log.
26042
260431999-11-18 Tom Tromey <tromey@cygnus.com>
26044
26045 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
26046
260471999-11-18 Fred Fish <fnf@cygnus.com>
26048
26049 * gdb.base/coremaker2.c: Add sample program for generating
26050 cores that is more self contained than coremaker.c. Eventually
26051 I'll add more code to this and tie it into the testsuite.
26052
4ce44c66
JM
260531999-11-12 Stan Shebs <shebs@andros.cygnus.com>
26054
26055 * gdb.base/dollar.exp: Remove, now in gdb.hp.
26056
260571999-11-10 Jimmy Guo <guo@cup.hp.com>
26058
26059 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 26060 from $srcdir/lib/.
4ce44c66 26061 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 26062 and gdb.c++/.
4ce44c66
JM
26063
26064 * gdb.c++/derivation.exp: remove redundant get compiler info code.
26065
d63a86f8 26066 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
26067 'continue with watch' test point.
26068
260691999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
26070
26071 Merged from p2linux-990323-branch:
d63a86f8 26072
4ce44c66
JM
26073 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
26074
11cf8741
JM
26075Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
26076
26077 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 26078 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
26079
26080Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
26081
26082 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 26083 gdb_expect_list.
11cf8741
JM
26084
26085Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
26086
26087 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
26088
260891999-11-03 Mark Salter <msalter@cygnus.com>
26090
26091 * gdb.base/break.exp: Fix "stub continue" pattern.
26092
260931999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
26094
26095 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
26096
260971999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
26098
26099 * gdb.base/display.exp ("finish"): Add timeout clause.
26100
26101 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
26102 plain prompt clause, so this doesn't have to time out in order to
26103 fail.
26104
26105 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 26106 breakpoint hit messages include an address.
11cf8741
JM
26107
26108 * gdb.base/display.exp: Don't forget to escape parens in regular
26109 expressions. Unix regexp notatation sucks.
26110
261111999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26112
26113 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 26114 order for 'signalled' message.
11cf8741 26115
5c44784c
JM
261161999-11-01 Stan Shebs <shebs@andros.cygnus.com>
26117
26118 From Jimmy Guo <guo@cup.hp.com>:
26119 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
26120 * gdb.base/annota1.c: Add code for tests to work with.
26121
261221999-10-26 Frank Ch. Eigler <fche@cygnus.com>
26123
26124 * gdb.base/remote.exp: New test for remote downloading settings.
26125 * gdb.base/remote.c: New file with large .data.
26126
917317f4
JM
261271999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
26128
26129 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
26130 for LinuxThreads support, merged from the Code Fusion branch.
26131
26132Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
26133
26134 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
26135 containing exp_continue into a while within an expect. Don't
26136 attempt a start more than three times. Check return value from
26137 gdb_load.
d63a86f8 26138
2df3850c
JM
26139Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
26140
26141 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 26142 a pass case.
2df3850c 26143
2acceee2
JM
261441999-10-01 Kevin Buettner <kevinb@cygnus.com>
26145
26146 * gdb.base/break.c (main): Added a statement that we can step
26147 off of.
26148 * gdb.base/break.exp: Added tests for setting a breakpoint
26149 at an offset and stepping onto a breakpoint.
26150
261511999-10-01 Fred Fish <fnf@cygnus.com>
26152
d63a86f8 26153 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
26154 gdb output.
26155
c2c6d25f
JM
261561999-09-18 Jim Blandy <jimb@cris.red-bean.com>
26157
26158 * gdb.base/break.exp: Code locations are in hex, don't forget!
26159 (For HP-UX.)
26160
261611999-09-17 Stan Shebs <shebs@andros.cygnus.com>
26162
26163 * condbreak.exp: Use break.c as test program.
26164 * condbreak.c: Remove, redundant with break.c.
26165
261661999-09-15 Stan Shebs <shebs@andros.cygnus.com>
26167
26168 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 26169 Z-packets if the target needs it.
c2c6d25f
JM
26170
261711999-09-13 James Ingham <jingham@leda.cygnus.com>
26172
26173 * gdb.c++/overload.exp: Added tests for listing overloaded
26174 functions with function pointers in the arg, explicitly calling
26175 out the version you want.
26176
cff3e48b
JM
261771999-09-09 Stan Shebs <shebs@andros.cygnus.com>
26178
26179 * long_long.exp: Add variations of test cases that work for
26180 targets with 16-bit ints and 32-bit doubles.
26181
d4f3574e
SS
261821999-09-08 Stan Shebs <shebs@andros.cygnus.com>
26183
26184 * break.c (main): Compare a possibly-uninitialized argc with an
26185 unlikely value that fits in 16 bits.
26186
261871999-09-07 Stan Shebs <shebs@andros.cygnus.com>
26188
26189 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
26190 0xfeeb, don't want negative numbers if ints are 16 bits.
26191
26192 * lib/gdb.exp (skip_cplus_tests): New proc.
26193 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
26194 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
26195 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
26196 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
26197 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
26198 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
26199 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
26200 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
26201
26202 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
26203
26204Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
26205
26206 * gdb.base/corefile.exp (up): Allow a parameter to appear
26207 in the frame that we're going up to.
26208
26209 From Jim Blandy <jimb@cygnus.com>:
26210
26211 * gdb.base/default.exp (info float): Expect some output now.
26212
26213 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
26214 returning floating-point values to fail on the x86.
26215 * gdb.base/callfwmall.exp (do_function_calls): Same.
26216
26217 * gdb.base/list.exp (test_listsize): Correct expectations for
26218 listing line 1 with listsize 2. Also, listing a single line
26219 works now, as does listing three lines. [Kevin's note: There
26220 were a number of other cases fixed too where the expectations
26221 differed...]
26222
262231999-09-02 Stan Shebs <shebs@andros.cygnus.com>
26224
26225 * gdb.base/selftest.exp: Add case for when version prints as
26226 constant string instead of char pointer.
26227
104c1213
JM
262281999-08-25 Stan Shebs <shebs@andros.cygnus.com>
26229
26230 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 26231 stepping out of main.
104c1213
JM
26232
26233 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
26234 G++ used.
26235
26236 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 26237 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
26238
26239 * gdb.c++/ovldbreak.exp: Update match string in test that
26240 includes a warning of multiple breakpoints.
26241
262421999-08-24 Stan Shebs <shebs@andros.cygnus.com>
26243
26244 * gdb.base/display.exp: Improve precision of step-after-finish
26245 added yesterday.
26246
26247 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 26248 test.
104c1213
JM
26249
26250 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
26251 configs when using G++, not just hppa*.
26252
262531999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26254
26255 * gdb.base/async.c: New file.
26256 * gdb.base/async.exp: New file.
26257
26258Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
26259
26260 * gdb.base/break.exp: Tweak PA specific tests to properly handle
26261 PA64.
26262
53a5351d
JM
26263Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
26264
104c1213
JM
26265 * gdb.base/display.exp: "finish" can leave us mid-line on many
26266 targets, deal with it. Add a small constant to main, instead of
26267 1000 since main+1000 may not be a valid address in the target.
26268
53a5351d
JM
26269 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
26270 on hpux11.
26271
26272 * gdb.base/attach.exp: Handle another hpux11 error message variant
26273 when attaching to a process that does not exist.
26274
262751999-08-19 J.T. Conklin <jtc@redback.com>
26276
26277 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 26278 characters in 'continue to 1241' test.
53a5351d
JM
26279
262801999-08-17 Stan Shebs <shebs@andros.cygnus.com>
26281
26282 * gdb.base/call-ar-st.exp: Add a shorter match case for the
26283 stop in print_long_arg_list, define and use a whitespace
26284 variable in print_small_structs test, add an XFAIL for Solaris.
26285 * gdb.base/dbx.exp: XFAIL func commands until somebody is
26286 interested enough to fix.
26287
7be570e7
JM
262881999-08-13 Keith Seitz <keiths@cygnus.com>
26289
26290 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
26291 (dbx_gdb_load): Remove. Use gdb_load instead, since that
26292 proc knows about targets other than the natives.
26293 (test_assign): Use "gdb_run_cmd" to "run" the target.
26294 Check that we've actually hit the breakpoint at main.
26295 When we attempt to assign a value to a local variable, check
26296 that the variable is in the current scope, i.e., don't use
26297 a test with an empty result.
26298
26299Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
26300
26301 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 26302 command.
7be570e7
JM
26303
263041999-08-09 Stan Shebs <shebs@andros.cygnus.com>
26305
26306 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26307 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
26308 gdb.compat, gdb.threads-hp.
26309 gdb.hp/configure, gdb.hp/configure.in: New files.
26310 gdb.hp/Makefile.in: Recurse into new subdirs.
26311 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
26312 gdb.hp/gdb.objdbg: New directory, tests for debugging info
26313 in object files.
26314 gdb.hp/tools: New directory, aux tools for HP-specific tests.
26315
96baa820
JM
263161999-08-05 Stan Shebs <shebs@andros.cygnus.com>
26317
26318 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 26319 funky printf, remove a bogus p/a test.
96baa820
JM
26320
263211999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26322
26323 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
26324 connected to the target. This is necessary when running not
26325 natively.
96baa820
JM
26326
263271999-08-03 Stan Shebs <shebs@andros.cygnus.com>
26328
26329 * gdb.base/step-test.exp: Removed some extraneous messages.
26330
26331 * gdb.base/long_long.exp: Don't run memory examination tests
26332 on little-endian targets (they will need a different set of
26333 results to match).
26334
263351999-08-02 Stan Shebs <shebs@andros.cygnus.com>
26336
26337 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
26338 until somebody decides to fix GDB.
26339
26340 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 26341 constant as "ULL".
96baa820
JM
26342 * gdb.base/long_long.exp: Loosen x/c test, add partial result
26343 matches for a couple x/2 commands.
26344
a0b3c4fd
JM
263451999-07-30 Stan Shebs <shebs@andros.cygnus.com>
26346
26347 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
26348 by merging in ref-types2 tests.
26349 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
26350
26351 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26352 * gdb.c++/Makefile.in: Add standard actions.
26353 (EXECUTABLES): Rename from PROGS, update list.
26354 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
26355 from gdb.hp.
26356 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
26357 foo and bar locals.
26358 * gdb.c++/anon-union.exp: Fix tests to match.
26359 * gdb.c++/classes.exp: Run if HP compiler used, add extra
26360 expect matches to handle output variations.
26361 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
26362 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 26363 output, add HP alternatives for new and delete prints.
a0b3c4fd 26364 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 26365 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
26366 * gdb.c++/demangle.exp: Use $style when reporting failure.
26367 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
26368 * gdb.c++/inherit.exp: Run if HP compiler used, add some
26369 match alternatives.
26370 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 26371 compilers.
a0b3c4fd
JM
26372 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
26373 * gdb.c++/method.exp: Add match alternatives.
26374 * gdb.c++/misc.cc: Add bool types.
26375 * gdb.c++/misc.exp: Add tests for bool types.
26376 * gdb.c++/overload.exp: Add xfails.
26377 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
26378 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
26379 add some more template parameter tests (only for HP currently).
26380 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
26381 * gdb.c++/virtfunc.cc: Add return type and value for main.
26382 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
26383 match alternatives.
d63a86f8 26384
a0b3c4fd
JM
263851999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26386
26387 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
26388
263891999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
26390
26391 * gdb.base/signals.exp: Don't expect getting a backtrace from
26392 within a signal handler to fail on Linux.
26393
263941999-07-29 Stan Shebs <shebs@andros.cygnus.com>
26395
26396 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26397 * lib/gdb.exp: Remove some gratuitious semicolons.
26398 (delete_breakpoints): Increase timeout.
26399 (gdb_expect): Add -notransfer option.
26400 (gdb_test): Use -notransfer option.
26401 (get_compiler_info): Add f77 case.
26402 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 26403 case.
a0b3c4fd
JM
26404 (gdb_preprocess): Call get_compiler.
26405
26406 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
26407 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
26408 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
26409 gdb.base/long_long.exp, gdb.base/printcmds.exp,
26410 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
26411 third arg to gdb_test.
a0b3c4fd
JM
26412 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
26413 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 26414 HP-UX xfails, add others.
a0b3c4fd
JM
26415 * gdb.base/completion.exp: Reflect name change of self-test.
26416 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
26417 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
26418 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
26419 HP failure number.
a0b3c4fd
JM
26420 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
26421 useless HP-UX 10.30 references.
26422 * gdb.base/maint.exp: Loosen matches.
26423 * gdb.base/pointers.c (main): Declare more_code.
26424 * gdb.base/pointers.exp: Match on output of a `next'.
26425 * gdb.base/structs.c: Add prototypes.
26426 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
26427 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
26428
264291999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26430
26431 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 26432 command.
a0b3c4fd
JM
26433
264341999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26435
26436 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
26437 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
26438
26439 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
26440 debug info. Deal with lack of signal hanlder info in stack.
26441
a9c64011 26442 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
26443 * gdb.base/annota1.exp: If printf has debug info, deal with it.
26444
5a2468f5
JM
264451999-07-19 Stan Shebs <shebs@andros.cygnus.com>
26446
26447 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 26448 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 26449
adf40b2e
JM
26450Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
26451
26452 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 26453 a1-selftest.exp.
adf40b2e
JM
26454 * gdb.base/configure: Re-generate.
26455
264561999-07-12 Stan Shebs <shebs@andros.cygnus.com>
26457
26458 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
26459 in trying to run first and name is too long.
26460
26461 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
26462 pointers2.c and pointers2.exp, respectively.
26463 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
26464 doschk happier.
26465
43e526b9
JM
264661999-07-08 Stan Shebs <shebs@andros.cygnus.com>
26467
26468 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
26469 callfuncs2.c and callfuncs2.exp.
26470
26471 * gdb.base/list.exp: Remove mistaken xfails.
26472 * gdb.base/list0.h: Add optional prototypes.
26473
9846de1b
JM
26474Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
26475
a9c64011 26476 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 26477 calling malloc.
a9c64011
AS
26478 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
26479 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 26480 use.
9846de1b
JM
26481
264821999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26483
26484 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
26485 * gdb.base/annota2.cc, annota2.exp: Move from here.
26486 * gdb.c++/annota2.cc, annota2.exp: To here.
26487 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
26488
43ff13b4
JM
26489Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
26490
26491 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 26492 a consistent format.
43ff13b4 26493
085dd6e6
JM
264941999-06-25 Stan Shebs <shebs@andros.cygnus.com>
26495
26496 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26497 * lib/gdb.exp (get_compiler_info): Add detection for assorted
26498 HP compilers, also set the globals $true and $false.
26499
26500 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
26501 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
26502 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
26503 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
26504 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
26505 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
26506 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
26507 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
26508 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
26509 whatis.c} Add C++ compatible function definitions and return
26510 types, add includes for library functions.
085dd6e6
JM
26511 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
26512 * gdb.base/step-test.c (myglob): Rename from glob.
26513 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
26514 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
26515 files, move here from gdb.hp.
085dd6e6 26516 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
26517 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
26518 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
26519 Adjust line numbers in regexps.
085dd6e6
JM
26520
26521 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
26522 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
26523 instead of 0/1.
26524
26525 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
26526 foll-vfork.exp: New files, move here from gdb.hp.
26527 * gdb.base/page.exp: New file, test of pagination command.
26528
26529 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
26530 recursion test.
26531 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
26532
26533 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 26534 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
26535
26536 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 26537 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 26538 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 26539 watchpoint test.
085dd6e6
JM
26540 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
26541 them work.
26542 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
26543 expressions properly.
26544 * gdb.base/corefile.exp: Loosen the match slightly.
26545 * gdb.base/default.exp: Allow "Error accessing memory" message
26546 also.
26547 * gdb.base/display.exp: Skip over x/0 j if PA64.
26548 * gdb.base/funcargs.exp: Add xfails for HP-UX.
26549 * gdb.base/interrupt.exp: Ditto.
26550 * gdb.base/langs.exp: Add symbolic matches governed by compiler
26551 in use.
26552 * gdb.base/list.exp: Add xfails for HP-UX.
26553 * gdb.base/long_long.exp: Refine some of the numeric matches.
26554 * gdb.base/mips_pro.exp: Xfail on HP-UX.
26555 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
26556 * gdb.base/nodebug.exp: Succeed on more varieties of output.
26557 * gdb.base/opaque.exp: Remove some HP-UX xfails.
26558 * gdb.base/ptype.exp: Succeed on more varieties of output.
26559 * gdb.base/scope.exp: Add xfails for HP-UX.
26560 * gdb.base/sect-cmd.exp: Add more cases.
26561 * gdb.base/setvar.exp: Add xfails for HP-UX.
26562 * gdb.base/shlib-call.exp: Loosen some matches slightly.
26563 * gdb.base/signals.exp: Match on void symbolically.
26564 * gdb.base/step-test.exp: Add case for PA64.
26565 * gdb.base/term.exp: Add exit and restart.
26566 * gdb.base/twice.exp: Clean up after self.
26567 * gdb.base/varargs.exp: Disable overload resolution explicitly.
26568 * gdb.base/whatis.exp: Allow more ways to pass tests.
26569
26570 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 26571 no longer useful.
085dd6e6
JM
26572
26573Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
26574
26575 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 26576 list of patterns.
085dd6e6 26577 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
26578 print_double_array(double_array)", "continuing to breakpoint
26579 1018", "print print_double_array(array_d)" and "continuing to
26580 1034" tests.
d63a86f8 26581
085dd6e6
JM
265821999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
26583
a9c64011 26584 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
26585
265861999-06-24 Stan Shebs <shebs@andros.cygnus.com>
26587
26588 * config/mt-*: Remove, these haven't been used since 1996.
26589
265901999-06-22 Stan Shebs <shebs@andros.cygnus.com>
26591
26592 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 26593 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
26594 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
26595
9e0b60a8
JM
265961999-06-18 Stan Shebs <shebs@andros.cygnus.com>
26597
26598 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
26599 simpler match case for the ptype of the big class.
26600
266011999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26602
26603 * gdb.exp: Fix test for gdb_prompt existence.
26604
266051999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26606
26607 * gdb.exp (gdb_test): Add fail after calls to perror.
26608
266091999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26610
26611 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
26612
266131999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26614
26615 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
26616
0f71a2f6
JM
26617Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
26618
26619 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 26620 malloc() is linked in.
0f71a2f6
JM
26621
266221999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26623
26624 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
26625 step at end.
26626
26627 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
26628
266291999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
26630
26631 * gdb.java/jv-print.exp: New file. (Our first Java test!)
26632
cce74817
JM
26633Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
26634
26635 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
26636 * gdb.base/mips_pro.exp: Likewise.
26637
266381999-06-02 Keith Seitz <keiths@cygnus.com>
26639
26640 * gdb.c++/templates.cc: Change all "new" operators to throw
26641 an exception.
26642 * gdb.c++/cplusfuncs.cc: Likewise.
26643
26644 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
26645
26646Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
26647
26648 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
26649 * gdb.base/ending-run.exp: When stepping out of main, accept a
26650 step into an arbitrary assembler file.
cce74817 26651
392a587b
JM
266521999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26653
d63a86f8 26654 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 26655 "breakpoint-invalid" to be printed.
6fdff2c5
PA
26656 * gdb.base/annota2.exp: Revise line number for main
26657 breakpoint. Allow any number of "frames-invalid" and
26658 "breakpoint-invalid" to be printed.
392a587b
JM
26659 * gdb.base/annota2.cc: Initialize a.x to 0.
26660
9e086581
JM
266611999-05-17 Keith Seitz <keiths@cygnus.com>
26662
6fdff2c5
PA
26663 * gdb.base/call-ar-st.exp: Skip
26664 "print print_double_array (double_array)" when "skip_float_tests" set.
26665 Ditto for "print print_double_array(array_d)",
26666 "print print_small_structs", "print print_ten_doubles", and
26667 "step into print_long_arg_list".
26668 Don't assume we can step into "print_long_arg_list": we could step
26669 into memcpy.
26670 * gdb.base/call-rt-st.exp: Don't run float-related tests when
26671 "skip_float_tests" is set: "print print_one_double(*d1)"
26672 and "print print_two_floats(*f3)".
9e086581
JM
26673 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
26674 "skip_float_tests" is set.
6fdff2c5
PA
26675 * gdb.base/varargs.exp: Skip
26676 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
26677 "skip_float_tests" set.
d63a86f8 26678
cd0fc7c3
SS
266791999-05-06 Keith Seitz <keiths@cygnus.com>
26680
26681 * gdb.base/annota2.cc: Include stdio.h.
26682
26683Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
26684
26685 * gdb.base/crossload.exp: Remove, this has been disabled ever
26686 since BFD stopped including all targets, and cross-GDB gets
26687 plenty of testing anyway.
26688 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
26689 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
26690 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
26691 * gdb.base/README: Remove, was doc for this.
26692 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 26693 needed.
cd0fc7c3 26694
b83266a0
SS
266951999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26696
26697 * gdb.base/call-ar-st.exp: Fix one regular expression in test
26698 output.
26699
26700 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
26701 * gdb.base/annota2.exp: New file. More annotation tests.
26702 * gdb.base/annota1.c: New file. Source file for annota1.exp.
26703 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
26704
267051999-04-23 Angela Marie Thomas <angela@cygnus.com>
26706
26707 * config/cfdbug.exp: New file.
26708
7a292a7a
SS
267091999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
26710
26711 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
26712 Marcus Daniel's and Dale Hawkins's demangler crashes.
26713
26714 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
26715 test_lucid_style_demangling, test_arm_style_demangling,
26716 test_hp_style_demangling): Try Tom Tromey's core-dumping
26717 identifier under each demangling style.
7a292a7a
SS
26718
267191999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
26720
26721 * gdb.c++/demangle.exp: Include the current demangling style
26722 in all test names.
26723 (current_demangling_style): New global variable.
26724 (set_demangling_style, test_demangling_core, test_demangling,
26725 test_demangling_exact): New functions.
26726 (test_gnu_style_demangling, test_lucid_style_demangling,
26727 test_arm_style_demangling, test_hp_style_demangling): Use those,
26728 instead of calling gdb_test and gdb_test_exact directly.
26729 (catch_demangling_errors): New function, which reports errors
26730 signalled by the demangling test functions in an orderly way.
26731 (do_tests): Use catch_demangling_errors.
26732
267331999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
26734
26735 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 26736 grouping in expressions, not {}.
7a292a7a
SS
26737
26738 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 26739 initialized yet.
7a292a7a
SS
26740
267411999-04-01 Stan Shebs <shebs@andros.cygnus.com>
26742
26743 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
26744 are listed.
26745
267461999-03-26 Stan Shebs <shebs@andros.cygnus.com>
26747
26748 * gdb.stabs/weird.exp: Test for CC being defined before
26749 looking at its value.
26750
267511999-03-25 Stan Shebs <shebs@andros.cygnus.com>
26752
26753 * gdb.base/call-ar-st.exp: Remove stray '#'.
26754 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
26755 "short int" and "long int".
26756 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 26757 change, to mollify finicky HP compiler.
7a292a7a
SS
26758 * gdb.hp/reg-test.exp (testfile): Fix file name.
26759 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 26760
7a292a7a
SS
26761 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
26762 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
26763 alternate form of enum ptype.
26764
c906108c
SS
267651999-03-23 Stan Shebs <shebs@andros.cygnus.com>
26766
7a292a7a
SS
26767 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
26768 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
26769 passing skip_hp_tests, so as not to waste time on guaranteed
26770 failure.
7a292a7a 26771
c906108c
SS
26772 * gdb.c++/overload.cc: Pass string instead of char addr, always
26773 init ccpfoo.
26774 * gdb.c++/templates.cc: Fix syntax error.
26775
7a292a7a
SS
26776Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26777
26778 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 26779 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
26780 command.
26781
267821999-03-18 James Ingham <jingham@cygnus.com>
26783
26784 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
26785
26786 * gdb.c++/method.exp: It was testing an uninitialized int on the
26787 stack and assuming it was positive.
26788
26789 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
26790
26791 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 26792 keep it from killing the rest of the tests.
7a292a7a
SS
26793 Use gdb_continue_to_end.
26794
26795 * gdb.base/sigall.exp: use gdb_continue_to_end.
26796
26797 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
26798
26799 * gdb.base/display.exp: use runto_main, not run.
26800
d63a86f8
RM
26801 * gdb.base/default.exp: Check for the current error message in the
26802 r abbreviation test.
7a292a7a
SS
26803 Add strongarm to the targets that know info float.
26804
d63a86f8 26805 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
26806 run which doesn't work with monitors.
26807
6fdff2c5
PA
26808 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
26809 1034 test.
7a292a7a
SS
26810
26811 * gdb.base/break.exp: use the gdb_continue_to_end proc.
26812
6fdff2c5
PA
26813 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
26814 end of a program. Traps the case (in Cygmon) when the program
26815 never really exits. Same as Mark's continue_to_exit, but I had
26816 put it in a lot more places, so I used my name. Sorry Mark...
7a292a7a
SS
26817
26818 * config/monitor.exp (gdb_target_monitor): added another
26819 target_info parameter: remotebinarydownload. This will set the
26820 remotebinarydownload flag if this is causing some boards trouble.
26821
268221999-03-18 Mark Salter <msalter@cygnus.com>
26823
26824 * lib/gdb.exp (continue_to_exit): New function.
26825
26826 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
26827 * gdb.base/ending-run.exp: Ditto.
26828 * gdb.base/step-test.exp: Ditto.
26829
268301999-03-16 Stan Shebs <shebs@andros.cygnus.com>
26831
26832 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
26833 (suggested by Art Haas <ahaas@neosoft.com>).
26834
268351999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
26836
889bf7c5 26837 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
26838
26839Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
26840
26841 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 26842 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
26843
268441999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
26845
26846 * gdb.base/call-strs.exp: Don't assume that `step' will step over
26847 a call to strlen; sometimes we do have sources.
26848
268491999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
26850
26851 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 26852 character, so GDB won't print garbage after its end.
d63a86f8 26853
c906108c
SS
26854 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
26855 breakpoint there instead. Sometimes GCC emits memcpy to handle
26856 the large structures being passed by value, so we step into that
26857 instead of sum_array_print, which obscures what we're really testing.
26858 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
26859 the bizarre steps into memcpy, so do that here. Add check for
26860 stepping into function calls that pass large structures by value.
26861 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
26862 Remove all references to specific line numbers.
26863 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
26864 New type and function.
26865 (main): Call large_struct_by_value, passing it a large struct by value.
26866 * lib/gdb.exp (gdb_get_line_number): New function.
26867
26868 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
26869 more portable.
26870
7a292a7a
SS
268711999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
26872
c906108c
SS
26873 * lib/gdb.exp: Doc fixes.
26874
7a292a7a
SS
268751999-03-05 Nick Clifton <nickc@cygnus.com>
26876
d63a86f8 26877 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
26878
268791999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
26880
c906108c 26881 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
26882 commands. They're not germane to this test, and they don't work
26883 that way on remote targets.
c906108c 26884
3fc11d3e
JM
268851999-03-01 James Ingham <jingham@cygnus.com>
26886
26887 * Changelog entries merged over from gdb development branch.
26888
3fc11d3e
JM
26889 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
26890
26891 * lib/gdb.exp (gdbtk_analyze_results): Generic function
26892 for outputting results of test run.
26893
2d4a1622 26894 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
26895
26896 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 26897
7a292a7a
SS
268981999-02-25 Felix Lee <flee@cygnus.com>
26899
26900 * lib/gdb.exp (debug_format): initialize
26901
c906108c
SS
269021999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
26903
26904 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
26905 * gdb.base/call-rt-st.c: Ditto.
26906
c906108c
SS
269071999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
26908
26909 * gdb.threads/pthreads.exp (horiz): New variable.
26910 (test_startup): Fix regexps that capture thread numbers.
26911
269121999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
26913
26914 * gdb.base/smoke.exp: Disambiguate two test case names (both
26915 called ``print'').
26916
26917Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
26918
26919 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 26920 compilation.
c906108c
SS
26921
269221999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26923
26924 * gdb.base/miscexprs.exp: Change patterns to match GDB's
26925 actual output formatting.
26926 * gdb.base/smoke.exp: GDB removes leading 0's.
26927 * gdb.base/volatile.exp: Don't check type of remuneration;
26928 that variable is no longer defined in constvars.c.
26929 * gdb.base/step-test.c (main): Exit with explicit exit code.
26930 * gdb.base/step-test.exp: Remove two nexti checks--they are
26931 not portable.
26932
269331999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26934
26935 * gdb.base/help.exp ("help delete display"): Fix test to match
26936 gdb's output.
26937
26938 * gdb.base/long_long.c (known_types): Initialize values to zero.
26939 * gdb.base/long_long.exp: Step one more line
26940 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
26941 leading zeros. Explicitly ask for hex formatting. Use
26942 unique test case names.
c906108c
SS
26943
26944Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26945
d63a86f8 26946 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
26947
26948 * gdb.c++/method.exp: Add missing close brace.
26949
269501999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
26951
26952 * gdb.base/maint.exp: Use 'set height 0' to disable page
26953 prompting, not 'set height 400'.
26954
26955 Fix a bunch of timeouts.
26956 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
26957 four separate tests, so expect doesn't take forever to match a ton
26958 of text against a regexp with lots of .* forms.
26959 ("maint print psymbols", "maint print symbols"): Make some of
26960 these greps more selective, so that expect doesn't try to wade
26961 through huge piles of output and time out.
26962
26963 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
26964
26965 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
26966 tests: one which doesn't expect shlib events to be reported, and
26967 another which does, but is XFAIL for all platforms other than
26968 HP/UX.
c906108c
SS
26969
26970 * gdb.base/break.exp: Teach the test suite that the `catch
26971 fork', `catch vfork', and `catch exec' commands produce error
26972 messages on platforms that don't provide these features.
26973
26974Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
26975
26976 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
26977 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
26978 (shortening names from solib_threshold.exp etc), won't run on
26979 anything but HP-UX for the foreseeable future.
c906108c 26980 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 26981 reflect move.
c906108c
SS
26982
26983Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
26984
26985 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 26986 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
26987
26988Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
26989
26990 * gdb.base/shlib-call.exp: add test cases to verify that gdb
26991 successfully re-sets breakpoints in shared libraries.
26992 * gdb.base/shmain.c (main): return 0, don't fall off the end.
26993
26994Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26995
d63a86f8
RM
26996 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
26997 and compiled w/o GCC.
c906108c
SS
26998
26999 * gdb.hp/watch-cmd.exp: ditto.
27000
27001 * gdb.hp/watch-hp.exp: ditto.
27002
27003 * gdb.hp/xdb1.exp: ditto.
27004
27005 * gdb.hp/xdb2.exp: ditto.
27006
27007 * gdb.hp/dbx.exp: ditto.
27008
27009Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
27010
27011 * constvars.c: Remove C++-isms.
27012 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 27013 with GCC.
c906108c
SS
27014
27015Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
27016
27017 The following changes are part of the HP merge.
27018
27019 * gdb.base/break.exp: new tests to verify that catchpoints for
27020 fork, vfork, and exec don't trigger inappropriately.
27021
27022 * gdb.base/opaque.exp: compile one file at a time, then link.
27023
27024 * gdb.base/signals.exp: be more restrictive about which hppa
27025 systems receive a setup_xfail. new tests.
27026
27027 * gdb.base/solib_threshold.build: new file.
27028 * gdb.base/solib_threshold.exp: new file.
27029 * gdb.base/solib_threshold.link_opts: new file.
27030 * gdb.base/solib_threshold.mk: new file.
27031 * gdb.base/gen_solib_threshold.c: new file.
27032
27033 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
27034 tests. New tests for enums inside classes.
27035
27036 * gdb.c++/compiler.cc: indicate support of template debugging.
27037
27038 * gdb.c++/demangle.exp: run hp style demangling tests.
27039
27040 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
27041 tests.
27042
27043 * gdb.c++/misc.cc: changes to support new tests.
27044
27045 * gdb.c++/templates.cc: changes to support HP's compiler; changes
27046 to support new tests.
27047
27048 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
27049 gcc, then skip these tests.
27050
27051Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
27052
27053 The following files are part of the HP merge; some had longer
27054 names at HP, but have been renamed to be no more than 14
27055 characters in length.
27056
27057 * gdb.hp/ambiguous.cc: new file.
27058 * gdb.hp/ambiguous.exp: new file.
27059 * gdb.hp/attach.exp: new file.
27060 * gdb.hp/attach2.exp: new file.
27061 * gdb.hp/classes-hp.exp: new file.
27062 * gdb.hp/ctti.exp: new file.
27063 * gdb.hp/ctti-add.cc: new file.
27064 * gdb.hp/ctti-add1.cc: new file.
27065 * gdb.hp/ctti-add2.cc: new file.
27066 * gdb.hp/ctti-add3.cc: new file.
27067 * gdb.hp/dbx.exp: new file.
27068 * gdb.hp/exception.cc: new file.
27069 * gdb.hp/exception.exp: new file.
27070 * gdb.hp/foll-exec.c: new file.
27071 * gdb.hp/foll-exec.exp: new file.
27072 * gdb.hp/foll-fork.c: new file.
27073 * gdb.hp/foll-fork.exp: new file.
27074 * gdb.hp/foll-vfork.c: new file.
27075 * gdb.hp/foll-vfork.exp: new file.
27076 * gdb.hp/inherit-hp.exp: new file.
27077 * gdb.hp/more-steps.exp: new file.
27078 * gdb.hp/namespace.cc: new file.
27079 * gdb.hp/namespace.exp: new file.
27080 * gdb.hp/optimize.exp: new file.
27081 * gdb.hp/pxdb.c: new file.
27082 * gdb.hp/pxdb.exp: new file.
27083 * gdb.hp/quicksort.exp: new file.
27084 * gdb.hp/reg-test.exp: new file.
27085 * gdb.hp/reg-test.s: new file.
27086 * gdb.hp/sized-enum.c: new file.
27087 * gdb.hp/sized-enum.exp: new file.
27088 * gdb.hp/start-stop.exp: new file.
27089 * gdb.hp/templ-hp.cc: new file.
27090 * gdb.hp/templ-hp.exp: new file.
27091 * gdb.hp/thr-lib.c: new file.
27092 * gdb.hp/thr-lib.exp: new file.
27093 * gdb.hp/thr-lib.h: new file.
27094 * gdb.hp/thr-liblib.c: new file.
27095 * gdb.hp/virtfun-hp.c: new file.
27096 * gdb.hp/virtfun-hp.exp: new file.
27097 * gdb.hp/watch-cmd.exp: new file.
27098 * gdb.hp/watch-hp.exp: new file.
27099 * gdb.hp/xdb1.exp: new file.
27100 * gdb.hp/xdb2.exp: new file.
27101 * gdb.hp/xdb3.exp: new file.
27102
27103Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
27104
27105 The following files are part of the HP merge; some had longer
27106 names at HP, but have been renamed to be no more than 14
27107 characters in length.
27108
27109 * gdb.base/ss.h: new file.
27110 * gdb.base/call-ar-st.c: new file.
27111 * gdb.base/call-ar-st.exp: new file.
27112 * gdb.base/call-rt-st.c: new file.
27113 * gdb.base/call-rt-st-exp: new file.
27114 * gdb.base/call-strs.exp: new file.
27115 * gdb.base/ena-dis-br.exp: new file.
27116 * gdb.base/environ.exp: new file.
27117 * gdb.base/long_long.exp: new file.
27118 * gdb.base/sect-cmd.exp: new file.
27119 * gdb.base/shlib-cl2.exp: new file.
27120 * gdb.base/smoke.exp: new file.
27121 * gdb.base/so-impl-ld.c: new file.
27122 * gdb.base/so-impl-ld.exp: new file.
27123 * gdb.base/so-indr-cl.c: new file.
27124 * gdb.base/so-indr-cl.exp: new file.
27125 * gdb.base/varargs.exp: new file.
27126 * gdb.base/volatile.exp: new file.
27127 * gdb.base/whatis-exp.exp: new file.
7a292a7a 27128 * gdb.base/display.exp: new file.
c906108c
SS
27129 * gdb.c++/derivation.exp: new file.
27130 * gdb.c++/local.exp: new file.
27131 * gdb.c++/member-ptr.exp: new file.
27132 * gdb.c++/overload.exp: new file.
27133 * gdb.c++/ovldbreak.exp: new file.
27134 * gdb.c++/ref-types.exp: new file.
27135 * gdb.c++/ref-types2.exp: new file.
27136 * gdb.c++/userdef.exp: new file.
d63a86f8 27137
c906108c
SS
27138Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
27139
27140 * gdb.base/default.exp: Reflect wording change in remote.c.
27141
dc96c6c7 27142Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27143
27144 * gdb.base/help.exp: Update to reflect current text.
27145
27146Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
27147
27148 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
27149 they're stack variables and contain garbage.
27150 * gdb.c++/anon-union.exp: new file.
27151
27152 The following changes were made by David Taylor
889bf7c5
PA
27153 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
27154 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
27155 in changes by HP.
c906108c
SS
27156
27157 * gdb.base/bitops.exp: new file.
27158 * gdb.base/default.exp: change expected messages for catch and
27159 info catch tests to reflect HP merge changes.
27160 * gdb.base/enable-disable-break.exp
27161 * gdb.base/ending-run.c: new file.
27162 * gdb.base/long_long.c: new file.
27163 * gdb.base/maint.exp: new file.
27164 * gdb.base/pointers2.exp: new file.
27165 * gdb.base/shlib-call2.exp: new file.
27166 * gdb.base/solib.exp: new file.
27167 * gdb.base/step-test.c: new file.
27168 * gdb.c++/anon-union.cc: new file.
27169 * gdb.c++/local.cc: new file.
27170 * gdb.c++/member-pointer.cc: new file.
27171 * gdb.c++/method.cc: new file.
27172 * gdb.c++/ref-types.cc: new file.
27173 * gdb.c++/ref-types2.cc: new file.
27174 * gdb.c++/userdef.cc: new file.
d63a86f8 27175
c906108c
SS
27176 * gdb.base/scope.exp: compile one file at a time, then link.
27177 * gdb.base/langs.exp: ditto.
27178 * gdb.base/list.exp: ditto.
d63a86f8 27179
c906108c
SS
27180Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
27181
27182 The following changes were made by David Taylor
889bf7c5
PA
27183 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
27184 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
27185 in changes by HP.
d63a86f8 27186
c906108c
SS
27187 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
27188 skip tests. When compiling pass c++ flag to gdb_compile.
27189 * gdb.c++/
d63a86f8 27190
c906108c
SS
27191 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
27192 test for on hppa*-*-hpux*; use args to see if c++ was specified.
27193 (skip_hp_tests): new function.
27194 (gdb_preprocess): new function.
27195
27196 * configure.in (hpdir): decide whether to configure gdb.hp.
27197 * configure: regenerated.
27198
27199 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
27200 to delete on clean.
27201 (EXECUTABLES): update to reflect new additions.
27202 * gdb.base/commands.exp: update message expected.
27203 * gdb.base/default.exp: add copyright notice.
27204 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
27205 * gdb.base/help.exp: update messages to reflect current text.
27206 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
27207 targets for recurse tests.
27208 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
27209 skip this file.
27210
27211 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
27212 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
27213 compilation.
27214 * gdb.c++/misc.exp: ditto.
27215 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
27216 run the tests. tell gdb_compile that it's a c++ compilation.
27217
27218 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 27219
c906108c
SS
27220 * gdb.base/all-bin.exp: new file.
27221 * gdb.base/arithmet.exp: new file.
27222 * gdb.base/assign.exp: new file.
27223 * gdb.base/completion.exp: new file.
27224 * gdb.base/cond-expr.exp: new file.
27225 * gdb.base/condbreak.exp: new file.
27226 * gdb.base/define.exp: new file.
27227 * gdb.base/dollar.exp: new file.
27228 * gdb.base/environment.exp: new file.
27229 * gdb.base/eval-skip.exp: new file.
27230 * gdb.base/jump.exp: new file.
27231 * gdb.base/logical.exp: new file.
27232 * gdb.base/pointers.exp: new file.
27233 * gdb.base/relational.exp: new file.
27234 * gdb.base/section_command.exp: new file.
27235 * gdb.base/whatis-expr.exp: new file.
27236
27237 * gdb.base/all-types.c: new file.
27238 * gdb.base/call-array-struct.c: new file.
27239 * gdb.base/call-return-struct.c: new file.
27240 * gdb.base/call-strings.c: new file.
27241 * gdb.base/callfuncs2.c: new file.
27242 * gdb.base/condbreak.c: new file.
27243 * gdb.base/constvars.c: new file.
27244 * gdb.base/display.c: new file.
27245 * gdb.base/int-type.c: new file.
27246 * gdb.base/jump.c: new file.
27247 * gdb.base/miscexprs.c: new file.
27248 * gdb.base/pointers.c: new file.
27249 * gdb.base/pointers2.c: new file.
27250 * gdb.base/shmain.c: new file.
27251 * gdb.base/shr1.c: new file.
27252 * gdb.base/shr2.c: new file.
27253 * gdb.base/solib.c: new file.
27254 * gdb.base/solib1.c: new file.
27255 * gdb.base/solib2.c: new file.
27256 * gdb.base/varargs.c: new file.
27257 * gdb.c++/derivation.cc: new file.
27258 * gdb.c++/overload.cc: new file.
27259 * gdb.c++/ovldbreak.cc: new file.
27260 * gdb.hp/attach.c: new file.
27261 * gdb.hp/attach2.c: new file.
27262 * gdb.hp/average.c: new file.
27263 * gdb.hp/compiler.c: new file.
27264 * gdb.hp/compiler.cc: new file.
27265 * gdb.hp/execd-program.c: new file.
27266 * gdb.hp/follow-exec.c: new file.
27267 * gdb.hp/follow-fork.c: new file.
27268 * gdb.hp/follow-vfork-and-exec.c: new file.
27269 * gdb.hp/misc-hp.cc: new file.
27270 * gdb.hp/more-steps.c: new file.
27271 * gdb.hp/optimize.c: new file.
27272 * gdb.hp/quicksort.c: new file.
27273 * gdb.hp/run-hp.c: new file.
27274 * gdb.hp/start-stop.c: new file.
27275 * gdb.hp/sum.c: new file.
27276 * gdb.hp/templates-hp.cc: new file.
27277 * gdb.hp/thread-local-in-lib.c: new file.
27278 * gdb.hp/thread-local-in-lib.h: new file.
27279 * gdb.hp/thread-local-in-lib.lib.c: new file.
27280 * gdb.hp/vforked-program.c: new file.
27281 * gdb.hp/virtfunc-hp.cc: new file.
27282 * gdb.hp/watchpoint-hp.c: new file.
27283 * gdb.hp/xdb.c: new file.
27284 * gdb.hp/xdb0.c: new file.
27285 * gdb.hp/xdb0.h: new file.
27286 * gdb.hp/xdb1.c: new file.
27287
27288Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
27289
27290 The following change was made by Edith Epstein
889bf7c5
PA
27291 <eepstein@cygnus.com> as part of a project to merge in changes
27292 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
27293
27294 * gdb.c++/demangle.exp: changed the expected output for some
27295 ARM-style mangling -- removed second reference to datatype.
889bf7c5 27296 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 27297 T1<char>::~T1<char>(void)
c906108c 27298 becomes,
a9c64011
AS
27299 maint demangle __dt__11T1__pt__2_cFv
27300 T1<char>::~T1(void)
c906108c 27301
889bf7c5 27302 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 27303
c906108c
SS
27304Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
27305
27306 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
27307 * gdb.trace/backtrace.exp: Likewise.
27308 * gdb.trace/circ.exp: Likewise.
27309 * gdb.trace/collection.exp: Likewise.
27310 * gdb.trace/deltrace.exp: Likewise.
27311 * gdb.trace/infotrace.exp: Likewise.
27312 * gdb.trace/limits.exp: Likewise.
27313 * gdb.trace/packetlen.exp: Likewise.
27314 * gdb.trace/passc-dyn.exp: Likewise.
27315 * gdb.trace/passcount.exp: Likewise.
27316 * gdb.trace/report.exp: Likewise.
27317 * gdb.trace/save-trace.exp: Likewise.
27318 * gdb.trace/tfind.exp: Likewise.
27319 * gdb.trace/tracecmd.exp: Likewise.
27320 * gdb.trace/while-dyn.exp: Likewise.
27321 * gdb.trace/while-stepping.exp: Likewise.
27322
273231998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
27324
27325 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
27326
27327Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
27328
27329 From Brendan Kehoe:
27330 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
27331 int return types.
27332
27333Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
27334
27335 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 27336 remote dos host testing right.
c906108c
SS
27337
27338Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
27339
27340 * gdb.base/corefile.exp: remove some xfails.
27341
27342Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
27343
27344 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 27345 have different timestamps.
c906108c
SS
27346
27347Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
27348
27349 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 27350 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
27351
27352Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
27353
27354 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 27355 delta.
c906108c
SS
27356
27357Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
27358
27359 * gdb.base/default.exp: Add brace missing from previous delta.
27360
27361Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
27362
27363 * gdb.base/default.exp: Support test for info float for all
27364 varieties of arm toolchain.
27365
dc96c6c7 27366Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27367
27368 * gdb.trace/*.exp: remove "remote_download" command.
27369
dc96c6c7 27370Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27371
27372 * gdb.trace/*.exp: remove -gdwarf from compile.
27373
27374Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
27375
27376 * gdb.trace/configure.in(AC_INIT): typo
27377 * gdb.trace/configure: regenerated
27378
dc96c6c7 27379Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27380
27381 * config/m68k-emc.exp: New file.
27382 * lib/<emc-support.exp trace-support.exp}: New files.
27383 * configure.in: add new test directory gdb.trace.
27384 * gdb.trace/{configure configure.in Makefile.in}: New files.
27385 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
27386 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
27387 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
27388 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
27389 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
27390 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
27391 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 27392
dc96c6c7 27393Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27394
27395 * gdb.c++/classes.exp: Change all regular expressions to match
27396 arbitrary combinations of newline/carriage-return, so that they
27397 will work equally well on Unix and Windows.
27398 * gdb.c++/inherit.exp: ditto.
27399 * gdb.c++/virtfunc.exp: ditto.
27400
274011998-08-11 Dawn Perchik <dawn@cygnus.com>
27402
27403 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
27404
c2d11a7d
JM
27405Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
27406
27407 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
27408 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
27409 to use a0-a3/d0-d3 as needed.
27410
27411Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
27412
27413 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
27414 * gdb.disasm/am33.exp: Corresponding changes.
27415
c906108c
SS
274161998-07-11 Felix Lee <flee@cygnus.com>
27417
27418 * gdb.base/callfuncs.exp: add cmp10 test.
27419 * gdb.base/callfuncs.c (cmp10): new function.
27420
27421Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
27422
d63a86f8 27423 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
27424 into two parts to get around a synchronization problem in expect.
27425
3fc11d3e
JM
27426Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
27427
27428 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
27429
27430 * configure.in: Add options for gdbtk testsuite.
27431
27432 * configure: Regenerate.
27433
27434 * gdb.gdbtk: New directory to hold gdbtk tests.
27435
c906108c
SS
27436Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27437
27438 * gdb.fortran/types.exp: Escape brackets in expect patterns
27439 for test_float_literal_types_accepted tests.
27440 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
27441 before run test.
27442
c2d11a7d
JM
27443Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
27444
27445 * am33.exp: Just compile, do not link the testcase.
27446 * am33.s: Add ".am33" pseudoop to force am33 mode.
27447
c906108c
SS
274481998-06-25 Felix Lee <flee@cygnus.com>
27449
27450 * gdb.base/setshow.exp: make sure $pc is sane.
27451
27452 * gdb.stabs/weird.exp: split expect patterns properly.
27453
c2d11a7d
JM
27454Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
27455
27456 * gdb.disasm/am33.s: New disassembler testfile for the am33.
27457 * gdb.disasm/am33.exp: Run it.
27458
dc96c6c7 27459Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27460
27461 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
27462 match processing (and eliminate spurious timeouts when running).
27463
dc96c6c7 27464Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27465
27466 * gdb.base/signals.exp (test_handle_all_print): put back Mach
27467 exception test, but conditionalize it on target [mach | gnu].
27468
dc96c6c7 27469Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27470
27471 * gdb.base/overlays.exp: fixup compile line for linker script.
27472
27473Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
27474
27475 * gdb.fortran/types.exp: don't guess at float size.
27476
27477Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
27478
27479 * gdb.base/exprs.exp: delete test that depends on int size.
27480
27481Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
27482
27483 * config/sim.exp: Removed checks for target triplets.
27484 (gdb_target_sim): Use gdb,target_sim_options.
27485
27486Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
27487
27488 * gdb.base/reread.exp: New file.
27489 * gdb.base/reread1.c: New file.
27490 * gdb.base/reread2.c: New file.
27491
27492Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
27493
27494 * config/sim.exp: Use 'target sim -sparclite' when running
27495 SPARClite programs.
27496
27497Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
27498
27499 * gdb.base/structs2.exp: New file.
27500 * gdb.base/structs2.c: New file.
27501
27502Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
27503
27504 * gdb.asm/common.inc: New file.
27505 * gdb.asm/d10v.inc: New file.
27506 * asm-source.exp: Pass -I's to gas to find .inc files.
27507 Update line numbers in expected output.
27508 * asmsrc1.s: Rewrite.
27509 * asmsrc2.s: Rewrite.
27510 * configure.in: Create arch.inc symlink.
27511 * configure: Regenerate.
27512 * Makefile.in (distclean): Delete arch.inc.
27513
27514Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
27515
27516 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
27517 (t_enum_value2): ditto
27518 (t_enum_value3): ditto
27519 (main): ditto
c906108c
SS
27520Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27521
27522 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
27523 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
27524 change.
27525 Use gdb_test instead of send_gdb/gdb_expect sequences.
27526
27527Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
27528
27529 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
27530 not void.
27531
27532Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
27533
27534 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
27535 subroutines. Used to test gdbs ability to single step through PC
27536 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
27537
27538Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
27539
27540 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
27541 more rigorous EGCS C++ error checking.
27542
27543Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27544
a9c64011
AS
27545 * gdb.base/help.exp: Clean up `help set args' and `help show args'
27546 tests.
27547 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
27548 function when asleep.
27549 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
27550 for i*86 Linux and SVR4 signal handling problems.
27551 Remove linux xfail for `next to handler in signals_tests_1', fixed
27552 by recent infrun.c change.
27553 Limit backtrace to 10 frames to avoid timeout problems with infinite
27554 stack backtraces.
27555 Adjust expect pattern in `handle all print' test to match Apr 28 1997
27556 target.[ch] change.
c906108c
SS
27557
27558Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
27559
27560 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
27561 for a newline from gdb before continuing.
27562 (default_gdb_exit): Just look for y or n.
27563 (gdb_test): Detect abnormal exit from GDB running on DOS; if
27564 it does, fail the rests of the tests in the file.
27565
27566Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
27567
27568 * config/cygmon.exp: New file.
27569
27570Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
27571
27572 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 27573 main" test on remote targets.
c906108c
SS
27574
27575 * gdb.base/scope.exp: Fix problem with filelocal_bss before
27576 run test on remote targets.
27577
27578Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
27579
27580 * gdb.asm: New directory.
27581 * configure.in: Configure it.
27582 * configure: Regenerate.
27583 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
27584 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
27585
27586Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
27587
27588 * config/mn10300-eval.exp: New file to support MN10300 eval board.
27589
dc96c6c7 27590Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 27591
a9c64011
AS
27592 * gdb.base/overlays (several files): Merge the two overlay
27593 managers into one. Change variables (foox, barx, bazx, grbxx)
27594 back into ints but force them to load in their proper sections.
c906108c
SS
27595
27596Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
27597
27598 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 27599 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
27600 (D10VCopy): Handle memory regions crossing 16k boundaries.
27601 (D10VCopy): Transfer data in 32 bit chunks.
27602
27603Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
27604
27605 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 27606 correct.
c906108c
SS
27607
27608 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 27609 map. Include space for printf in .text segment.
c906108c
SS
27610
27611 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 27612 updated d10v memory VMA/LMA map.
c906108c 27613 (D10VCopy): Call D10VTranslate.
d63a86f8 27614
c906108c
SS
27615Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
27616
27617 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
27618
27619 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
27620 that it won't be put into the .sdata - small data -
27621 section. Update reference.
c906108c
SS
27622 * gdb.base/baz.c (bazx, baz): Ditto.
27623 * gdb.base/foo.c (foox, foo): Ditto.
27624 * gdb.base/grbx.c (grbxx, grbx): Ditto.
27625
27626 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 27627 to be arrays.
d63a86f8 27628
dc96c6c7 27629Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 27630
a9c64011
AS
27631 * gdb.base/overlays.exp: fix up and get working again.
27632 Add tests for backtraces from an overlay function.
d63a86f8 27633
c906108c
SS
27634Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
27635
27636 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
27637 "calling function with watchpoint enabled".
27638
27639Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
27640
27641 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 27642 gdb_suppress_tests for d10v-*-*.
c906108c
SS
27643 * lib/gdb.exp (gdb_suppress_tests): Disable this function
27644 pending review of whether it is useful or not.
27645
27646Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
27647
27648 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
27649
27650Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
27651
27652 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
27653 * config/dve.exp: New file to support Densan boards.
27654
27655Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
27656
27657 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 27658 reads and BSD.
c906108c
SS
27659
27660Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
27661
27662 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
27663 response.
27664
27665 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
27666
27667Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
27668
27669 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 27670 test.
c906108c
SS
27671
27672 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 27673 target_sizeof_long and target_bigendian_p.
c906108c 27674 (structs_by_value, structs_by_reference): Check values according
889bf7c5 27675 to targets word size and endianess.
d63a86f8 27676
c906108c
SS
27677Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
27678
27679 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 27680 output.
c906108c
SS
27681
27682Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
27683
27684 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 27685 Update test of set args help to match source change.
c906108c
SS
27686
27687Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
27688
27689 * gdb.base/default.exp: Expect help system output to be in
27690 alphabetical order.
27691 * gdb.base/help.exp: Ditto.
27692
27693Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
27694
27695 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
27696 "i*86-pc-linux-gnu*".
27697 * gdb.base/interrupt.exp: Ditto.
27698 * gdb.base/corefile.exp: Ditto.
27699
27700 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 27701 define vxworks when building the testcase.
c906108c
SS
27702
27703 * gdb.base/ptype.exp: Fix testnames to be unique.
27704 * gdb.base/radix.exp: Ditto.
27705 * gdb.base/term.exp: Ditto.
27706 * gdb.base/whatis.exp: Ditto.
27707 * gdb.c++/classes.exp: Ditto.
27708
27709Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
27710
27711 * gdb.base/callfuncs.exp: Fix indentation.
27712
27713 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
27714 suppress_flag has been set.
27715 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
27716 target feature.
27717
27718Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
27719
27720 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
27721 the testcase.
27722
27723 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 27724 set_debug_traps() and breakpoint().
c906108c
SS
27725 * gdb.c++/misc.cc (main): Ditto.
27726 * gdb.c++/templates.cc (main): Ditto.
27727 * gdb.c++/virtfunc.cc (main): Ditto.
27728
27729Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
27730
27731 * lib/gdb.exp(gdb_step_for_stub): New function.
27732 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
27733 exists, reload the executable and do a "continue" instead of
27734 doing a jump.
27735 (runto_main): Use gdb_step_for_stub.
d63a86f8 27736
c906108c 27737 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 27738 tests to have unique names.
c906108c
SS
27739 * gdb.base/callfuncs.exp: Ditto.
27740 * gdb.base/commands.exp: Ditto.
27741 * gdb.base/default.exp: Ditto.
27742 * gdb.base/help.exp: Ditto.
27743 * gdb.base/list.exp: Ditto.
27744 * gdb.base/opaque.exp: Ditto.
27745 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
27746 similar tests.
d63a86f8 27747
c906108c
SS
27748 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
27749 * gdb.c++/cplusfuncs.cc: Ditto.
27750 * gdb.c++/virtfunc.cc: Ditto.
27751
27752 * config/monitor.exp: Keep track of the last file we saw, rather
27753 than trying to get the info from gdb.
27754
27755 * gdb.fortran/types.exp: Move comment to previous line.
27756
27757Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
27758
27759 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 27760 target mode.
c906108c
SS
27761
27762Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
27763
27764 From Bob Manson:
27765 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 27766 string from GDB when it connects.
c906108c
SS
27767
27768 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
27769
27770Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
27771
27772 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
27773 if we can't get a debug format from GDB (we may be testing an
27774 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
27775
27776 * gdb.stabs/weird.exp: Fix quoting.
27777
27778 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
27779
27780Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
27781
27782 * config/arm-ice.exp: New file.
27783
27784Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
27785
27786 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 27787 until it has been modified to work with the new testsuite.
c906108c 27788
99707966 27789 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
27790 testcase won't compile, cause all of the testcases in the file to
27791 fail instead.
c906108c
SS
27792
27793 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
27794 (gdb_clear_suppressed): New procedure.
27795 (gdb_stop_suppressing_tests): Only clear suppress_flag if
27796 it contains a positive value.
27797
27798Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
27799
27800 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
27801
27802 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
27803
27804Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
27805
27806 * lib/gdb.exp (setup_xfail_format): New function.
27807 (get_debug_format): New function to get debug format.
27808 (debug_format): New global variable to hold last value set
27809 by get_debug_format.
27810 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 27811 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
27812 * gdb.c++/ptype.exp: Ditto.
27813 * gdb.c++/classes.exp: Ditto.
27814 * gdb.c++/cplusfuncs.exp: Ditto.
27815 * gdb.c++/inherit.exp: Ditto.
27816 * gdb.c++/templates.exp: Ditto.
27817 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 27818
c906108c
SS
27819Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
27820
27821 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
27822 host doesn't have a currently-open connection.
27823
27824 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
27825 any gdb stub target. Handle cases where gdb doesn't respond when
27826 interrupted in a sane fashion.
c906108c
SS
27827
27828 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 27829 same thing in a totally different way.
c906108c
SS
27830
27831 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 27832 setting "timeout".
c906108c 27833 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 27834 default_gdb_init now.
c906108c
SS
27835
27836Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
27837
27838 * gdb.base/printcmds.exp: Fix "check for floating addition"
27839 regexp to accept results within approx +/- .01 of exact value.
27840 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
27841
27842Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
27843
27844 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 27845 properly.
c906108c
SS
27846 (gdb_expect): Add optional timeout parameter, and add timeout
27847 value to various calls.
27848 (gdb_suppress_tests): Only give one warning message per group.
27849
27850Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
27851
27852 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
27853 global variables. Handle getting a value for $timeout more
27854 gracefully.
c906108c
SS
27855
27856Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
27857
27858 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 27859 initialize.
c906108c 27860 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 27861 by a target configuration file.
c906108c
SS
27862 (gdb_expect): Pass the timeout to remote_expect.
27863
27864 * config/monitor.exp(gdb_load): Fix typo in regexp.
27865
27866Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
27867
27868 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
27869
27870Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
27871
27872 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
27873 here. Call gdb_target_exec before rebooting the target, to make
27874 sure the connection to the target is closed.
c906108c
SS
27875 (gdb_load): Pass the name of the executable to gdb_target_monitor.
27876 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
27877 Also detect "Timeout reading from remote" error.
27878
27879 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
27880 gdb_target_monitor. Don't call gdb_file_cmd here; let
27881 gdb_target_monitor do it.
c906108c
SS
27882
27883 * gdb.disasm/hppa.exp: Don't use exec_output.
27884
27885Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
27886
27887 * gdb.base/list.exp: If we're debugging a non-native target,
27888 try to set the pc register to point to the start of the
27889 program before doing the first list command.
27890
27891 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 27892 test_calls after restarting.
c906108c
SS
27893
27894 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 27895 reloading.
c906108c
SS
27896
27897 * gdb.base/watchpoint.exp: Fix typo.
27898
27899 * gdb.base/setshow.exp: Check for use_gdb_stub.
27900
27901 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 27902 stub case.
c906108c
SS
27903 * gdb.base/langs.exp: Ditto.
27904
27905 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
27906 gdb_load_offset. If we weren't given a file to load, figure out
27907 what the current file is and use it.
c906108c
SS
27908
27909 * config/i386-bozo.exp: New file.
27910
27911Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
27912
27913 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
27914 feature.
27915
27916 * config/proelf.exp: New entry.
27917
27918Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
27919
27920 * lib/gdb.exp: Remove spurious .* patterns at the beginning
27921 of regexps.
27922
27923 * gdb.base/watchpoint.exp: Don't run the test_stepping
27924 tests if gdb can't call functions on the target.
27925
27926 * gdb.base/setshow.exp: Don't run the set prompt tests if
27927 the board has gdb_prompt set.
27928
27929Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
27930
27931 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
27932 * gdb.base/commands.exp: Likewise.
27933 * gdb.base/setshow.exp: Likewise.
27934
27935Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
27936
27937 * config/monitor.exp(gdb_start): Look for gdb_prompt target
27938 feature.
27939
27940 * config/i960.exp: New file.
27941
27942Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
27943
27944 * gdb.base/funcargs.exp: Check for gdb,short_int target
27945 feature instead of looking for explicit target triplets.
27946
dc96c6c7 27947Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 27948
d63a86f8 27949 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
27950 "p 123DEADBEEF", to check parse_number.
27951 * top.c: change "to enable to enable" to "to enable" in a couple
27952 of help strings.
27953
27954Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
27955
27956 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
27957 on the mn10300.
d63a86f8 27958
c906108c
SS
27959Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
27960
27961 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
27962 where the test executable is run with explicit args.
27963 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
27964
27965Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
27966
27967 * gdb.base/run.c: Use FAKEARGV to build test executable that
27968 does not require a command line arg, since most simulators
27969 don't currently support passing such an arg into the simulated
27970 program.
27971 * gdb.base/commands.exp: Change tests to insert the proper
27972 value as the arg to the first recursive factorial call. Change
27973 compilation line to define FAKEARGV at compile time.
27974
27975Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
27976
27977 * gdb.base/recurse.exp: Enable these tests for the mn10300.
27978 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
27979 function with watchpoint enabled" test.
27980
27981Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
27982
27983 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 27984 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
27985
27986 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 27987 "Tests restarted" messages.
c906108c
SS
27988
27989Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
27990
27991 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
27992
dc96c6c7 27993Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27994
27995 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
27996 for INFO SYMBOL; add help tests for OVERLAY commands.
27997 * gdb.base/default.exp: add tests for INFO SYMBOL command;
27998 add tests for OVERLAY commands
27999 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
28000 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
28001 * gdb.base/sigall.c: add usestubs code frag
28002 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 28003
c906108c
SS
28004Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
28005
28006 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
28007 failures.
28008 (gdb_stop_suppressing_tests): Note that tests have restarted.
28009
28010Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
28011
28012 * config/h8300.exp: New file.
28013
28014Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
28015
28016 * gdb.base/setshow.exp: Check for the existence of a
28017 feature, not its value.
28018
28019Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
28020
28021 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
28022
28023 * gdb.base/scope.exp: It's now init0(), not init().
28024
28025 * gdb.base/scope0.c: For now, change init() to be init0().
28026
28027 * config/monitor.exp: Use gdb_serial in preference to serial
28028 or netport.
28029
28030 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 28031 and it's not already set.
c906108c
SS
28032
28033Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
28034
28035 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 28036 isn't using a stub and if it supports argument passing.
c906108c
SS
28037
28038Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
28039
28040 * config/udi.exp(gdb_start): Make sure UDICONF is set
28041 properly before starting gdb.
28042
28043Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
28044
28045 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
28046 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
28047 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
28048
28049Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
28050
28051 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 28052 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
28053
28054 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
28055
28056 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
28057
28058 * config/monitor.exp: Make sure we disconnect from the target.
28059 Also, try a reboot/reload cycle instead of failing if the
28060 load fails.
28061
28062Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
28063
28064 * gdb.base/default.exp: Don't set match_max.
28065 * gdb.base/help.exp: Ditto.
28066 * gdb.base/list.exp: Ditto.
28067 * gdb.base/signals.exp: Ditto.
28068
28069 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
28070 set, use remote_ld to download the testcase instead of
28071 the GDB loader.
28072
28073Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
28074
28075 * config/vr5000.exp: New file.
28076
28077 * config/monitor.exp(gdb_target_monitor): Add pattern for
28078 "Ending remote" to detect errors in connecting.
28079
28080 * gdb.base/setshow.exp: Add .* within auto language test.
28081
28082 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
28083 target feature.
28084
28085 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 28086 and reboot the board if necessary.
c906108c
SS
28087
28088 * gdb.base/setvar.exp(test_set): Handle multiple prints within
28089 a set of tests. Remove print.* from the patterns being checked.
28090
28091Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
28092
28093 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
28094 refer to gdb_spawn_id.
28095
28096 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
28097 longer used.
28098 * config/sparclet.exp: Ditto.
28099 * config/sparclet-old.exp: Ditto.
28100 * config/slite.exp: Ditto.
28101 * config/sim.exp: Ditto.
28102 * gdb.base/funcargs.exp: Ditto.
28103
28104 * lib/gdb.exp:Remove references to gdb_spawn_id.
28105 (gdb_expect): Move to remote.exp.
28106
28107Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
28108
28109 * config/monitor.exp: Detect the "Couldn't establish connection"
28110 message from GDB.
28111
28112Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
28113
28114 * gdb.base/bitfields.exp: Use runto instead of explicit
28115 gdb_run_cmd/gdb_expect sequences.
28116
28117 * gdb.base/break.exp(text_next_with_recursion): Add match for
28118 gdb_expect call.
28119
28120 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
28121 We also need to handle the "A program is being debugged already"
28122 prompt from gdb. Use gdb_test to set the baud rate.
28123
28124 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
28125 to 20000. Really. I mean it.
28126
28127Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
28128
28129 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
28130 fails. If suppress_flag is set, skip perror message about not
28131 being able to send to GDB.
c906108c 28132 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 28133 GDB.
c906108c
SS
28134 (gdb_expect): If suppress_flag is set, always fail immediately.
28135 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
28136 (gdb_init): Call gdb_stop_suppressing_tests.
28137 (default_gdb_exit): Ditto.
28138 (default_gdb_start): Ditto.
28139
28140 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 28141 gdb_stop_suppressing_tests as appropriate.
c906108c 28142 * gdb.base/break.exp: Ditto.
889bf7c5 28143 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
28144 * gdb.base/commands.exp: Ditto.
28145 * gdb.base/exprs.exp: Ditto.
889bf7c5 28146 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
28147 * gdb.base/list.exp: Ditto.
28148 * gdb.base/recurse.exp: Ditto.
889bf7c5 28149 * gdb.base/scope.exp: Ditto.
c906108c
SS
28150 * gdb.base/structs.exp: Ditto.
28151 * gdb.c++/inherit.exp: Ditto.
28152
28153Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
28154
28155 * config/vr4300.exp: New file.
28156
99707966 28157 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 28158
99707966 28159 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
28160
28161Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
28162
28163 * lib/gdb.exp(gdb_init): New function.
28164
28165 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 28166 for each individual variable set.
c906108c
SS
28167
28168 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
28169 name.
28170
28171 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
28172
28173 * gdb.base/scope.exp: Use gdb_test.
28174
28175 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
28176 aborting; the testsuite driver will do that for us (see
28177 gdb_finish). Also, use gdb_test in a few more places.
28178
28179Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
28180
28181 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
28182
28183Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
28184
28185 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
28186 and "add_tests" are not at the same address.
28187
28188Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
28189
28190 * gdb.base/ptype.exp: Use gdb_test.
28191
28192Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
28193
28194 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
28195 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
28196 left in. No longer expect them to fail.
28197
28198 * gdb.stabs/*.mt; Deleted, no longer used.
28199 * gdb.stabs/configure.in: Remove references to target makefile
28200 frags.
28201 * gdb.stabs/configure: Rebuilt.
28202
28203 * gdb.disasm/*.mt: Deleted, no longer used.
28204 * gdb.disasm/configure.in: Remove references to target makefile
28205 frags. Use "sh3.s" as the unique filename for this directory.
28206 * gdb.disasm/configure: Rebuilt.
28207
28208 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
28209 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
28210 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
28211
28212Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
28213
28214 * config/udi.exp: Use mondfe,name instead of remote_host.
28215
28216Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
28217
28218 * gdb.base/watchpoint.exp: Don't expect a failure when calling
28219 a function with a watchpoint enabled on the mn10200.
28220
28221 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
28222 before trying to create it!
28223
28224Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
28225
28226 * config/vx.exp: Use hostname instead of netport.
28227
28228 * config/vxworks.exp: New file.
28229
28230 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
28231
28232 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 28233 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
28234 occurs.
28235
28236 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
28237 $gdb_spawn_id directly.
28238 (gdb_run_cmd): Try _start as well as start. Use the target feature
28239 gdb,start_symbol as the symbol to start from when jumping.
28240
28241Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
28242
28243 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
28244 redundant) test.
28245
28246 * gdb.base/recurse.exp: Relax final value test for 'b' so that
28247 it doesn't lose for 16bit integer systems.
28248
28249Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
28250
28251 * gdb.fortran/types.exp: If the target doesn't support "double"
28252 data types, then expect "real" types to only be 4 bytes.
28253
28254 * gdb.c++/virtfunc.exp: Expect failure for virtual function
28255 call tests if the target doesn't support inferior function calls.
28256
28257 * gdb.base/printcmds.exp: Allow minor deviation in FP values
28258 in printf tests.
28259
28260Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
28261
28262 * gdb.base/help.exp: Disable "help set", "help show", and
28263 "help support". Simplify regexp for "help stack".
28264
28265 * gdb.base/default.exp: Set match_max to 5000 and the timeout
28266 to 60 seconds. Temporarily set match_max to 15000 around the
28267 "info copying" test.
28268
28269 * gdb.base/nodebug.exp: Don't try to do an inferior function
28270 call if the target doesn't support them.
28271 * gdb.base/printcmds.exp: Likewise.
28272 * gdb.base/setvar.exp: Likewise.
28273 * gdb.base/structs.exp: Likewise.
28274 * gdb.c++/templates.exp: Likewise.
28275 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
28276
28277 * gdb.base/recurse.exp: Enable for the mn10200.
28278
28279 * configure.in: Do configure gdb.stabs directory for *-*-elf
28280 targets.
28281 * configure: Rebuilt.
28282
28283 * gdb.base/break.exp: Check for gdb,noresults before testing
28284 exit status and/or results from the target.
28285 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
28286 * lib/gdb.exp: Remove old (now bogus) initialization of
28287 noinferior, noargs, noresults and nosignals.
28288
28289Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
28290
28291 * config/sh.exp: New file.
28292
28293 * config/slite.exp: Try to connect multiple times to the board
28294 before rebooting. Only send a "monitor run" if need_monitor_run
28295 is set.
28296
28297 * gdb.base/break.exp: Don't do the "stub continue" test if
28298 the target has gdb_stub set.
28299
28300 * gdb.base/callfuncs.exp: Increase the timeout.
28301
28302 * gdb.base/interrupt.exp: Don't even try to compile the testcase
28303 if the target has gdb,noinferiorio set.
28304
28305 * gdb.base/list.exp: Increase match_max to 10000 characters.
28306
28307 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
28308
28309 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
28310 target.
28311
28312 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
28313
28314Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
28315
28316 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
28317 trying to delete the copy of gdb. Catch the file delete so we
28318 don't die if the delete fails; also, the file should be copied to
28319 the host, not to the build.
c906108c
SS
28320
28321Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
28322
28323 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 28324 parenthesis in case it contains multiple regexps separated
c906108c
SS
28325 with |.
28326
28327 * gdb.base/watchpoint.exp: Use gdb_test.
28328 * gdb.base/default.exp: Ditto.
28329
28330Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
28331
99707966 28332 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 28333
c906108c
SS
28334 * gdb.base/scope.exp: Use gdb_test.
28335 * gdb.c++/classes.exp: Ditto.
28336 * gdb.c++/inherit.exp: Ditto.
28337
28338Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
28339
28340 * gdb.base/crossload.exp: Don't use execute_anywhere, use
28341 remote_exec instead.
28342 * gdb.base/corefile.exp: Don't be ridiculous.
28343 * gdb.base/*.c: Add missing stub invocations.
28344
28345Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
28346
28347 * config/slite.exp: Miscellaneous fixes.
28348
28349 * lib/gdb.exp: Fix runto.
28350
28351 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
28352 the target.
28353
28354 * gdb.base/watchpoint.exp: Fix regexp.
28355
28356 * lib/gdb.exp(default_gdb_exit): Add a catch to the
28357 close and wait commands, as the descriptor may now be
28358 invalid. Always call "remote_close host".
28359
28360Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
28361
28362 Major rewrite for testsuite revision.
d63a86f8 28363
c906108c
SS
28364 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
28365 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
28366 instead of relying on spawn_id to always contain a valid
28367 spawn id.
28368 (get_compiler_info): New procedure to build the ${binfile}.ci
28369 file, instead of replicating this in N different places.
28370 (gdb_compile): New procedure.
d63a86f8 28371
c906108c 28372 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
28373 appropriate arguments) instead of compile. Use gdb_test in a lot
28374 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
28375 at the start of a testcase, as this is no longer done magically.
28376
28377 config/*-gdb.exp: Rename without the -gdb suffix.
28378
28379 config/mips.exp: Use remote_close instead of exit_remote_shell.
28380 config/monitor.exp: Use target_info instead of looking at
28381 baud, timeout, etc.
28382 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
28383
28384Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28385
28386 * gdb.c++/templates.exp (test_ptype_of_templates),
28387 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
28388 Update expect patterns for destructors and assignment operators
28389 to match corresponding c-typeprint.c changes.
28390 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
28391 to destructor breakpoint test, GDB should be able to set the
28392 destructor breakpoint without specifying arguments.
28393
28394Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
28395
28396 * gdb.threads/pthreads.exp: Change result for failure to compile due
28397 to lack of pthreads runtime support from an error to simply an
28398 unsupported test, per dejagnu standards.
28399
28400Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28401
28402 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
28403 where GDB exits to reduce pattern match time.
28404 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
28405
28406 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
28407
dc96c6c7 28408Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28409
28410 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
28411 * gdb.base/default.exp: ditto.
28412 * gdb.base/nodebug.exp: ditto.
28413 * gdb.base/printcmds.exp: ditto.
28414 * gdb.base/ptype.exp: ditto.
28415 * gdb.base/setvar.exp: ditto.
28416 * gdb.base/structs.exp: ditto.
28417 * gdb.base/setshow.c: Guard against uninitialized values of argc.
28418
28419Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
28420
28421 * configure, */configure: Rebuild with autoconf 2.12.
28422
28423Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
28424
28425 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
28426 use new i*86-pc-linux*-gnu quads.
28427 * gdb.base/corefile.exp: Ditto.
28428 * gdb.base/signals.exp: Ditto.
28429 * gdb.base/sigall.exp: Ditto.
28430 * gdb.base/interrupt.exp: Ditto.
28431
28432 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
28433 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
28434 RedHat 4.0.
d63a86f8 28435
c906108c 28436 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
28437 linux. This allows the test case to at least compile on latest
28438 linux, but still not run due to missing the threads runtime library.
c906108c
SS
28439
28440Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28441
28442 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
28443 directory to search gdb directory. Accept and step over conditional
28444 stack alignment code. Consume $prompt in failure cases.
28445 Reset timeout to $oldtimeout instead of some arbitrary value.
28446 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
28447 timeout problems with infinite stack backtraces.
28448 * gdb.base/ptype.exp (ptype struct link, union tu_link):
28449 Accept function parameters for linkfunc member.
28450
28451Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
28452
28453 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
28454 (CXXFLAGS): Remove, unreferenced.
28455 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
28456 previous -B options and also add -B option to pick up cross compiled
28457 runtime.
c906108c
SS
28458 (TARGET_INCLUDES): Add for -I options and add code to initialize when
28459 doing cross compiles.
28460 (target_alias): Declare global.
28461 (xgcc): Set variable to full path of gcc in build tree. Use findfile
28462 to verify that gcc exists in build tree, and if so set CC to that
28463 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 28464
c906108c
SS
28465Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
28466
28467 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
28468 ptype test for anonymous union. Fixup testcase to match
28469 current gcc debug output.
28470
28471Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
28472
28473 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
28474 force argument to an unsigned long type.
28475
28476Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
28477
28478 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 28479 tests and anonymous union print/ptype tests.
c906108c
SS
28480 * gdb.base/list.exp (test_forward-search): Increase timeout by
28481 5 minutes for the "search extremely long line" case.
28482 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
28483 completely optional and that the pass/fail messages use the command as
28484 the message if that third arg is a null string.
28485 (gdb_test_exact): Arrange that a null string pattern means match a
28486 null string output rather than any output, which might include random
889bf7c5 28487 errors.
c906108c
SS
28488 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
28489 backtrace test.
28490 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
28491 always failing and failure is now exposed by gdb.exp changes.
28492
28493Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
28494
28495 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
28496 weren't being noted.
28497
28498Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28499
28500 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
28501 * gdb.stabs/weird.exp: Remove v_comb xfails.
28502
dc96c6c7 28503Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28504
28505 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 28506 list.exp scope.exp watchpoint.exp]
c906108c 28507 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 28508
dc96c6c7 28509Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28510
28511 * config/monitor.exp: Increase download timeout to 1000 seconds.
28512
dc96c6c7 28513Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28514
28515 * config/m32r.exp: Increase timeout to 120 seconds.
28516
28517Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
28518
28519 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
28520 and accept older ordering as obsolescent gcc or gdb.
28521 * gdb.c++/templates.exp: Ditto.
28522 * gdb.c++/virtfunc.exp: Ditto.
28523
28524Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
28525
28526 * gdb.base/coremaker.c: Add code to mmap some data so we
28527 can check that it ends up in the core file.
28528 * gdb.base/corefile.exp: Add test to read mmapped data
28529 from core file.
28530
dc96c6c7 28531Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28532
28533 * config/m32r.exp: New file.
28534
28535Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
28536
28537 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
28538 that cflags can contains -gstabs, and work correctly for other tests.
28539
dc96c6c7 28540Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28541
28542 * gdb.base/setshow.exp: New file, tests show and set.
28543 * gdb.base/setshow.c: New file, tests show and set.
28544 * gdb.base/help.exp: Add test for help set|show annotate.
28545 * gdb.base/default.exp: Add test for set|show annotate.
28546
28547Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
28548
28549 * testsuite/gdb.base/break.exp: Make backtrace from factorial
28550 errors unique.
28551 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
28552 explicitly.
28553
28554Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
28555
28556 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
28557 and width commands. This is done elsewhere.
28558 * (gdb_start): Don't call gdb_start_sim here. That's already
28559 done in gdb_load. This fixes lots of failures in default.exp.
28560
28561Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
28562
28563 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
28564 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
28565 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
28566 in the same we we treat other failures (since it may be an expected
889bf7c5 28567 condition), rather than as an error.
c906108c
SS
28568 * gdb.base/signals.exp (test_handle_all_print): Revert back to
28569 old test format.
28570
28571Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
28572
28573 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
28574 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 28575 twice. Nuke the duplicates.
c906108c 28576 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 28577 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
28578 Remove config.h along with other config files.
28579
28580Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
28581
28582 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
28583 "p func1 ()" and note that rests of tests are skipped.
28584 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 28585 setup_xfails for "print func2::coremaker_local".
c906108c
SS
28586 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
28587 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
28588 affected by the previous run test.
28589 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
28590 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
28591 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
28592 "pass int powerset tuple" and "pass modeless int powerset tuple".
28593 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
28594 "real write 4" and "real write 8".
28595 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 28596 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
28597 "print \$i after tuple assign 2", and
28598 "print vs2 after tuple assign 2".
28599 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
28600 meaningful error message and return -1 so the caller can
28601 suppress further tests and avoid a cascade of errors.
d63a86f8 28602
c906108c
SS
28603Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
28604
28605 * gdb.base/a1-selftest.exp: Tweak tests to account for new
28606 format for printing version.
28607 * gdb.base/default.exp: Ditto.
28608 * gdb.base/interrupt.exp: Fix problem with cascade of
28609 errors if child process dies while calling a function.
d63a86f8 28610
c906108c
SS
28611Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
28612
28613 * Makefile.in (VPATH): Add
28614 * Makefile.in (Makefile, config.status): Fix rules so things get
28615 remade when necessary.
28616
28617Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
28618
28619 * Makefile.in (just-check): Add path to sibling expect dir
28620 to environment variable specified by RPATH_ENVVAR.
28621
28622Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
28623
28624 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
28625 (just-check): Add shared library paths for libstdc++, tk,
28626 tcl, bfd, and opcodes to the environment variable specified
28627 in RPATH_ENVVAR.
28628 * configure.in: Add support to recognize --enable-shared flag
28629 and generate correct value for RPATH_ENVVAR.
28630 * configure: Regenerated with autoconf.
28631
28632Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
28633
28634 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 28635 include all osf versions.
c906108c
SS
28636 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
28637 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
28638 when target is linux. When failing to build pthreads test
28639 executable, give more meaningful message.
28640 * gdb.threads/pthreads.c: Hpux also uses old definition of second
28641 arg for pthread_create.
d63a86f8 28642
c906108c
SS
28643Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
28644
28645 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 28646 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 28647 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 28648 and -lpthreads (everybody else).
c906108c
SS
28649 (test_startup): Fail gracefully if threads are not supported.
28650 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
28651 "p/c array_index("abcdef",2)" when not gcc compiled.
28652 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
28653 "print func2::coremaker_local" when not gcc compiled.
28654 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
28655 "ptype on opaque struct tagname (statically)",
28656 "ptype on opaque struct tagname (dynamically) 1", and
28657 "ptype on opaque struct tagname (dynamically) 2"
28658 for not compiled with gcc.
28659 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
28660 backtrace when compiled with gcc.
d63a86f8 28661 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
28662 than always return success.
28663
28664Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
28665
28666 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
28667
28668Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
28669
28670 * gdb.base/structs.exp: Undo last change.
28671
28672Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
28673
28674 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
28675 encapsulate all the steps/nexts done during self test, starting
28676 at main, and makes them less sensitive to optimization issues.
28677 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
28678 signal handler" test.
28679 * gdb.threads/pthreads.exp: Only run this for native configs.
28680 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
28681 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
28682 tests.
28683 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
28684 for "runto test_calls(void)" test.
d63a86f8 28685
c906108c
SS
28686Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
28687
28688 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
28689 and don't expect address info in breakpoint confirmations.
28690
28691Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
28692
28693 * gdb.base/list.exp (test_forward_search): Increase timeout
28694 temporarily by 60 seconds for searching extremely long line,
889bf7c5 28695 and then reset to old value when done. Increase expect input
c906108c
SS
28696 buffer to 10000.
28697
28698Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
28699
28700 * gdb.base/list.exp (test_forward_search): Fix to handle very
28701 long source line without overflowing expect's input buffer.
28702
28703Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
28704
28705 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
28706 "buffer_full".
28707
28708 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
28709 "buffer_full".
28710
28711 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
28712 "buffer_full".
28713
28714 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
28715 "buffer_full".
28716
28717Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
28718
28719 * configure.in (configdirs): Add gdb.threads.
28720 * configure: Regenerated with autoconf.
28721 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
28722 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
28723 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 28724
c906108c
SS
28725Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
28726
28727 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
28728
28729Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
28730
28731 * gdb.base/signals.exp (test_handle_all_print): Test separately for
28732 each signal's status in the output of "handle all print".
28733 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
28734 the \r\n sequence that immediately precedes the gdb prompt.
28735 * gdb.base/a1-selftest.exp: Save original timeout and restore
28736 after test.
28737
28738Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
28739
28740 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
28741 symbol.
28742
28743Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
28744
28745 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
28746
28747Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
28748
28749 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
28750 timeout by 60 seconds.
28751
28752Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
28753
28754 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
28755 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
28756 error return.
28757
28758Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
28759
28760 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
28761 gdb initialization, also report how long dejagnu waited. Restore
28762 old timeout before doing error return. Temporarily increase timeout
889bf7c5 28763 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
28764
28765Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
28766
28767 * lib/gdb.exp: Report timeout value for verbosity level 2.
28768 * config/gdbserver.exp: Ditto.
28769 * config/hppro.exp: Ditto.
28770 * config/mips-gdb.exp: Ditto.
28771 * config/monitor.exp: Ditto.
28772 * config/netware.exp: Ditto.
28773 * config/sim-gdb.exp: Ditto.
28774 * config/slite-gdb.exp: Ditto.
28775 * config/udi-gdb.exp: Ditto.
28776 * config/unix-gdb.exp: Ditto.
28777 * config/vx-gdb.exp: Ditto.
28778 * gdb.base/a1-selftest.exp: Ditto.
28779 * gdb.base/a2-run.exp: Ditto.
28780 * gdb.base/break.exp: Ditto.
28781 * gdb.base/corefile.exp: Ditto.
28782 * gdb.base/list.exp: Ditto.
28783 * gdb.base/recurse.exp: Ditto.
28784 * gdb.base/scope.exp: Ditto.
28785 * gdb.base/signals.exp: Ditto.
28786
28787Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28788
28789 * gdb.threads/Makefile.in (docdir): Removed.
28790
28791Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28792
28793 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 28794 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 28795 @srcdir@.
d63a86f8 28796 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
28797 autoconf 2.5 or higher.
28798 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
28799
28800Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
28801
28802 * configure: Regenerated.
28803 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
28804 avoid name clashes with SunOS headers.
28805
28806Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
28807
28808 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
28809
28810Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
28811
28812 * gdb.base/callfuncs.exp: Finish last change -- make sure the
28813 prototype information ends up in the compiler info file.
28814
28815Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
28816
28817 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
28818 attempting to regenerate it. Eliminate use of a temporary file
28819 and just generate the info file directly. Source it immediately,
28820 for consistency of use.
28821 * gdb.base/corefile.exp: Ditto
28822 * gdb.base/exprs.exp: Ditto.
28823 * gdb.base/funcargs.exp: Ditto.
28824 * gdb.base/langs.exp: Ditto.
28825 * gdb.base/list.exp: Ditto.
28826 * gdb.base/mips_pro.exp: Ditto.
28827 * gdb.base/nodebug.exp: Ditto.
28828 * gdb.base/opaque.exp: Ditto.
28829 * gdb.base/ptype.exp: Ditto.
28830 * gdb.base/scope.exp: Ditto.
28831 * gdb.base/setvar.exp: Ditto.
28832 * gdb.base/signals.exp: Ditto.
28833 * gdb.base/whatis.exp: Ditto.
28834 * gdb.c++/templates.exp: Ditto.
28835 * gdb.c++/virtfunc.exp: Ditto.
28836 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 28837 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
28838
28839Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28840
28841 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
28842 it got fixed by the recent lookup_minimal_symbol_by_pc change.
28843 Increase timeout, a lot of single stepping might be needed if the
28844 target has no hardware watchpoints.
28845
28846Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
28847
28848 * gdb.base/break.exp: Ignore compiler warnings when compiling
28849 break.c.
28850 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
28851 * gdb.base/default.exp: Add h8300 xfails. Handle messages
28852 from remote-sim.
28853 * gdb.base/exprs.exp: Add h8300 xfails.
28854 * gdb.base/funcargs.exp: Likewise.
28855 * gdb.base/nodebug.exp: Likewise.
28856 * gdb.base/printcmds.exp: Likewise.
28857 * gdb.base/ptype.exp: Likewise.
28858 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
28859 h8300 xfails.
d63a86f8 28860 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
28861 on the h8300.
28862 * gdb.base/funcargs.c: Explicitly make last constant argument to
28863 call_after_alloca_subr an unsigned long type.
28864 * gdb.base/return.c: Include stdio.h.
28865
28866Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
28867
28868 * config/abug.exp: New file for the older Motorola Bug monitor
28869 that runs on the mvme13x series VME boards.
28870 * config/monitor.exp: Use the new config array for target settings
28871 if they exist.
28872
28873Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
28874
28875 * sim-gdb.exp: Make the SH simulator allocate less space when
28876 it is targeted.
28877
28878Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
28879
28880 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
28881 test.
28882
28883Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
28884
28885 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
28886 "rs6000-*-*" for "list function in include file" when gcc compiled.
28887 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
28888 for "p ctable1[120]".
28889 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
28890 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
28891 Remove setup_xfail for "rs6000-*-*" for
28892 "print 'scope0.c'::filelocal before run".
28893 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
28894 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
28895 since some compilers don't allow both options to be given
28896 on the same command line. Create object file and move it.
d63a86f8 28897
c906108c
SS
28898Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
28899
28900 * gdb.base/corefile.exp: Always regenerate the core file, since
28901 we always regenerate the coremaker program. Detect special case
28902 where registers cannot be read from core file.
d63a86f8 28903
c906108c
SS
28904Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
28905
28906 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
28907 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
28908 * gdb.c++/templates.exp: Only match on basename of file since
28909 some formats like xcoff don't encode directory information.
28910 * gdb.stabs/weird.exp: Use the right sed script for powerpc
28911 and rs6000 AIX xcoff targets.
28912 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
28913 * configure: Regenerate.
28914 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
28915 here, rather than in distclean.
d63a86f8 28916
c906108c
SS
28917Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
28918
28919 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
28920 defined, and use it to compile the test case with -O2. The
28921 native compilation still uses no optimization.
28922 * gdb.base/mips_pro.c: Remove inline assembly code since
28923 it is compiled PIC by default, which results in assembler
28924 warnings that make the testsuite think the compilation
28925 was unsuccessful.
28926
28927Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
28928
28929 * gdb.c++/misc.exp: Add note to message for
28930 "print s.a for foo struct" that this is a known gcc 2.7.2
28931 and earlier bug.
28932
28933Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
28934
28935 * gdb.base/break.exp: Fix pattern for matching "Delete all
28936 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
28937 setup_xfail for deleting all breakpoints test. Fix various
28938 timeout messages to include "(timeout)".
28939 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
28940 for "p t_float_values2(3.14159,float_val2)".
28941 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
28942 for "continue to call2g" when gcc compiled.
28943 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
28944 "up to foo in langs.exp", "show language at foo in langs.exp",
28945 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
28946 and "show language at fsub in langs.exp".
28947 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
28948 "list line 1 in include file", "list message for lines past EOF",
28949 "list function in include file", "list list0.h:foo", and
28950 "list filename:function; nonexistant function".
28951 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
28952 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
28953 and "ptype t_char_array" to be for native cc only.
d63a86f8 28954
c906108c
SS
28955Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
28956
d63a86f8 28957 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 28958 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 28959 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
28960
28961Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
28962
28963 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
28964 "bt in signals.exp". This problem only appears when running
28965 the testsuite, and then only intermittently.
28966
28967Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
28968
28969 * gdb.base/return.exp (return_tests): Differentiate between
28970 two tests of continuing.
28971
28972Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
28973
28974 * */Makefile.in (maintainer-clean): Remove config.log.
28975 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
28976 * gdb.c++/Makefile.in (PROGS): Add inherit.
28977 (clean): Remove *.ci.
28978
28979Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
28980
28981 * gdb.c++/misc.cc: Add test code from Mike Stump.
28982 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
28983
28984Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
28985
28986 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
28987 to "alpha-*-osf2*" and add comment.
28988 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
28989 setup_xfail for "step over execarg initialization" and
28990 "step over corearg initialization".
c906108c
SS
28991 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
28992 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
28993 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 28994 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
28995 "print func2::coremaker_local", and "backtrace in corefile.exp".
28996 * gdb.base/signals.exp: Build and source signals.ci.
28997 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
28998 to be for gcc only.
28999 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 29000
c906108c
SS
29001Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29002
29003 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
29004 Feb 3 procfs.c change.
29005
29006Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
29007
29008 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
29009
29010Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
29011
29012 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
29013 from dejagnu's apparent default of 10 seconds, which gives random
29014 results when running the tests over NFS on moderately loaded systems.
29015 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
29016
29017Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
29018
29019 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
29020 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 29021 result reports.
c906108c
SS
29022
29023Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
29024
29025 * configure.in (CY_AC_PATH_TCLH): Remove.
29026 * configure: Regenerate.
29027
29028Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
29029
29030 * gdb.c++/Makefile.in (clean): Add missing '{'.
29031
29032Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
29033
29034 * lib/gdb.exp: Provide a default value for noinferior.
29035
29036 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
29037 Load libgloss.exp.
29038
29039Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
29040
29041 * gdb.disasm/hppa.exp: Compile directly into an executable, use
29042 the executable, not the .o to run the tests from.
29043
29044Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
29045
29046 * gdb.base/break.exp: Don't test for program exit or exit status
29047 if $noresults if nonzero.
29048 * gdb.base/langs.exp: Likewise.
29049 * gdb.base/watchpoint.exp: Likewise.
29050
29051 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
29052 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
29053 trying to compile the testcase.
29054
29055Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
29056
29057 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
29058 * gdb.base/signals.exp (continue to handler): Likewise.
29059
29060Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
29061
29062 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
29063
29064 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
29065
29066Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
29067
29068 * gdb.base/corefile.exp: Recognize "not found" as failure
29069 when trying to determine if a core file was generated.
29070 If no core file was generate the first time, try again without
29071 the ulimit -c to work around braindamaged shells.
29072
29073Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
29074
29075 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
29076 [] tests with "test" and enclose string in quotes.
29077 * gdb.stabs/configure: Rebuild
d63a86f8 29078
c906108c
SS
29079Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
29080
29081 Changes in sync with expect:
29082 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
29083 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
29084 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
29085 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
29086 argument to AC_REQUIRE.
29087 * configure: Regenerated.
29088
29089Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
29090
29091 * gdb.base/corefile.exp: When generating a core, discard any
29092 error messages about ulimit not found and the "core dumped"
29093 message from the shell that runs the coredumper.
29094
29095Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
29096
29097 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
29098
29099 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
29100 which sed script to run. Expect failure for v_comb test
29101 on PA targets too.
d63a86f8 29102
c906108c
SS
29103Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
29104
29105 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 29106 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
29107
29108Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
29109
29110 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
29111 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 29112 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
29113 * lib/gdb.exp (default_gdb_start): Fix typo.
29114 * gdb.base/corefile.exp: Allow "Core was generated by ..."
29115 messages to not include the full program name that caused
29116 the core dump since some systems (such as solaris) apparently
29117 truncate this path to about 80 characters.
29118 When generating a core file first try increasing the core file
29119 size limit to unlimited since some systems may default it to
29120 zero, and it is harmless to try it. Move the test for failing
29121 to generate a core file to where it will actually get executed.
29122 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
29123 new gdb result from g++ debug info improvements and make old
29124 pattern obsolescent. Also account for size_t differences
29125 (may be int or long).
29126 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
29127 initialization before function call is placed in the delay slot
29128 and thus appears to be skipped over by commands such as "next".
29129
29130Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
29131
29132 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
29133
29134Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
29135
29136 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
29137 input source file; fix code to compile test to deal with this
29138 convention.
29139 * gdb.c++/*.exp: Likewise.
29140
29141Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
29142
29143 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
29144 "bt in signals.exp".
29145
29146Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
29147
29148 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
29149 "step over execarg initialization" and
889bf7c5 29150 "step over corearg initialization".
c906108c
SS
29151
29152Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
29153
29154 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
29155 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
29156
29157Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
29158
29159 From Rob Savoye (rob@poseidon.cygnus.com)
29160 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
29161 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
29162 configure.in}, gdb.disasm/{Makefile.in, configure.in},
29163 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
29164 configure.in}: Major reworking for autoconfig.
c906108c
SS
29165 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
29166 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 29167 New files.
c906108c
SS
29168 * config/unix-gdb.exp: Make GDB global.
29169 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
29170 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
29171 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
29172 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
29173 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
29174 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 29175 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
29176 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
29177 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
29178 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
29179 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 29180 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
29181 to returns as necessary, arrange for test to compile own testcase
29182 executable.
c906108c 29183 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 29184
c906108c
SS
29185Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
29186
29187 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 29188 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
29189 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
29190 "backtrace through signal handler".
29191
29192Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29193
29194 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
29195 continuing from a job control stop signal.
29196 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
29197
29198Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
29199
29200 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
29201 * gdb.base/corefile.exp: Likewise.
29202 * gdb.base/funcargs.exp: Likewise.
29203
29204Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
29205
29206 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
29207 * config/monitor.exp: Add support for setting baud rate.
29208
29209Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
29210
29211 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
29212 i*86-*-linux* xfails for "backtrace through signal handler".
29213 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
29214 "print func2::coremaker_local".
29215 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 29216 alpha-dec-osf2* xfail for
c906108c
SS
29217 "delete all breakpoints when none".
29218
29219Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
29220
29221 * gdb.base/break.exp: Change test that deletes all breakpoints
29222 when no user breakpoints are installed. A post 4.15 change
29223 causes gdb to no longer prompt in this case.
29224
29225Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
29226
29227 * gdb.base/return.exp (return_tests): Change xfail for test
29228 "correct value returned double test" to stop xfailing at
29229 Solaris 2.5. Apparently the bug has been fixed.
29230
29231Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
29232
29233 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
29234 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
29235
29236Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
29237
29238 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
29239 * gdb.disasm/hppa.s: Corresponding changes.
29240
29241Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
29242
29243 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
29244 makefile fragment.
29245 * config/mt-hpux: Deleted.
29246
29247Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
29248
d63a86f8 29249 * Many files: When warning about suppressed tests due to a
c906108c
SS
29250 nonexistant test binary, avoid incrementing the warning count.
29251
29252Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
29253
29254 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 29255
c906108c
SS
29256Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29257
29258 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
29259 "sparc-*-solaris2*".
29260
29261Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29262
29263 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
29264 Add global and local variables and initialize them.
29265 * gdb.base/corefile.exp: Test correct mapping of corefile sections
29266 by printing variables. Remove rs6000 and powerpc xfails, BFD now
29267 extracts the file name and terminating signal from the core file.
29268 * TODO: Remove note about tests for correct mapping of corefile.
29269 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
29270 from optimizing it away.
29271 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
29272 handles common blocks.
29273
29274Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
29275
29276 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
29277 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
29278
29279Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
29280
29281 * Makefile.in (maintainer-clean): New target, synonym for
29282 realclean.
29283 * gdb.base/Makefile.in (maintainer-clean): Likewise.
29284 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
29285 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
29286 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
29287 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
29288 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
29289
29290Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
29291
29292 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
29293 xfails when not gcc compiled for "print foo::funclocal".
29294 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
29295 "print foo::funclocal at foo",
29296 "print 'scope1.c'::foo::funclocal at foo",
29297 "print foo::funclocal_bss at foo",
29298 "print 'scope1.c'::foo::funclocal_bss at foo",
29299 "print foo::funclocal_ro at foo",
29300 "print 'scope1.c'::foo::funclocal_ro at foo",
29301 "print bar::funclocal at foo" and
29302 "print 'scope1.c'::bar::funclocal at foo".
29303 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
29304 gcc compiled for "print foo::funclocal at bar".
29305 Expand all messages to ensure that they identify that
29306 the test is at bar().
29307 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
29308 gcc compiled for:
29309 "ptype on opaque struct pointer (statically)",
29310 "ptype on opaque struct tagname (statically)",
29311 "ptype on opaque struct pointer (dynamically) 1",
29312 "ptype on opaque struct tagname (dynamically) 1",
29313 "ptype on opaque struct pointer (dynamically) 2" and
29314 "ptype on opaque struct tagname (dynamically) 2
29315 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
29316 gcc compiled for:
29317 "p datalocal"
29318 "whatis datalocal",
29319 "ptype datalocal",
29320 "p bsslocal",
29321 "whatis bsslocal", and
29322 "ptype bsslocal".
29323 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
29324 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
29325 when not gcc compiled.
29326 * gdb.base/funcargs.exp (float_and_integral_args): Add
29327 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
29328 compiled.
29329 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
29330 "backtrace from call6a" when not gcc compiled.
29331 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
29332 "backtrace from call7a" when not gcc compiled.
29333 * gdb.base/callfuncs.exp (do_function_calls):
29334 Add "hppa*-*-hpux*" xfail when not gcc compiled for
29335 "p t_char_array_values(char_array_val2,char_array_val1)",
29336 "p t_char_array_values(char_array_val1,char_array_val2)",
29337 "p t_char_array_values("carray 1","carray 2")",
29338 "p t_char_array_values("carray 1",char_array_val2)",
29339 "p t_char_array_values(char_array_val1,"carray 2")",
29340 "p sum_args(1,{2})",
29341 "p sum_args(2,{2,3})",
29342 "p sum_args(3,{2,3,4})",
29343 "p sum_args(4,{2,3,4,5})"
29344 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
29345 "backtrace in corefile.exp" when not gcc compiled.
29346
29347Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29348
29349 * gdb.base/signals.exp: Rewrite `handle all print' test as
29350 a procedure. Accept blanks or TABs as whitespace, increase
29351 timeout and expect input buffer size for the large output
29352 from the command. Remove "i*86-*-bsdi2.0" xfail.
29353
29354Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29355
29356 * gdb.base/setvar.exp: Add new testcases for truncation when
29357 assigning invalid values to bitfields.
29358
29359Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
29360
d63a86f8 29361 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
29362 mips-sgi-irix* xfail for
29363 "call inferior func with struct - returns char *"
29364 and fix test so that an optional (unsigned char *) cast is
889bf7c5 29365 accepted in the result.
c906108c
SS
29366
29367Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
29368
29369 * gdb.base/funcargs.exp (float_and_integral_args): Remove
29370 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
29371 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
29372 * gdb.base/signals.exp: Remove duplicate "handle all print" test
29373 that accidentally got checked in.
29374
29375Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
29376
d63a86f8 29377 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
29378 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
29379 compiled test.
29380 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
29381 Add mips-sgi-irix5* xfail for not gcc compiled.
29382 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6fdff2c5
PA
29383 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
29384 compiled for "p top", "whatis top", "p middle", and "whatis
29385 middle".
c906108c
SS
29386 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
29387 "whatis signed char" for not gcc compiled.
29388 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
29389 "set variable signed char=-1 (-1)" and
29390 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
29391 * gdb.base/funcargs.exp (float_and_integral_args):
29392 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
29393 Add mips-sgi-irix* xfail when not gcc compiled for
29394 "continue to call2b".
29395 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
29396 "continue to call2g".
6fdff2c5
PA
29397 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
29398 compiled for "backtrace from call6a"
29399 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
29400 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
29401 when not gcc compiled for "backtrace from call7a".
c906108c
SS
29402 (localvars_after_alloca): Fix gdb_test cmds for
29403 "print * after runto ...".
29404 Remove rs6000-*-* xfails for
29405 "print i after runto localvars_after_alloca" and
29406 "print l after runto localvars_after_alloca"
29407 for all compilers.
29408 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 29409 when not compiled with gcc, for:
c906108c
SS
29410 "print signed char == (minus)",
29411 "print signed char != (minus)",
29412 "print signed char < (minus)",
29413 "print signed char > (minus)".
29414 * gdb.base/callfuncs.exp (do_function_calls):
29415 Add mips-sgi-irix* xfail, when compiled with native compiler, for
29416 "call inferior func with struct - returns char *".
d63a86f8 29417 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
29418 "correct value returned double test" to include Solaris 2.4.
29419 * gdb.base/funcargs.exp (float_and_integral_args):
29420 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 29421
c906108c
SS
29422Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29423
29424 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
29425 enumeration bitfields if compiling with GNU C.
29426 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
29427 to empty' prompt.
29428
29429Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
29430
29431 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
29432 test for PRO targets.
29433
29434 * gdb.base/funcargs.exp: Avoid ever setting more than 8
29435 breakpoints in the inferior at any given time by making
29436 two groups of breakpoints for call2*, call6* and call7*
29437 tests.
29438
29439Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29440
29441 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
29442 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
29443 from optimizing it away.
29444 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
29445 "call inferior func with struct".
29446
29447Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
29448
29449 * configure.in: Only configure gdb.chill for particular targets.
29450
29451Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
29452
29453 * gdb.base/Makefile.in: Add action to .c.o transformation
29454 rule that generates a .ci file for each .o file and remove
29455 explicit .c.o rules except for callfuncs.o.
29456 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
29457 generates a .ci file for each .o file and remove explicit
29458 .cc.o rules.
29459 (clean): Remove *.tmp *.ci files.
29460 (EXECUTABLES): Remove templ-info.exp.
29461 * gdb.base/compiler.c: New file.
29462 * gdb.c++/compiler.cc: New file
29463 * gdb.base/scope.exp: Source gdb.base/scope.ci.
29464 Change rs6000-*-* xfail for
29465 "print 'scope0.c'::filelocal_ro" and
29466 "print 'scope1.c'::filelocal" and
29467 "print 'scope1.c'::filelocal_bss" and
29468 "print 'scope1.c'::filelocal_ro" and
29469 "print 'scope1.c'::foo::funclocal" and
29470 "print 'scope1.c'::foo::funclocal_ro" and
29471 "print 'scope1.c'::bar::funclocal" and
29472 "print 'scope0.c'::filelocal_ro" and
29473 "print 'scope1.c'::filelocal at foo" and
29474 "print 'scope1.c'::filelocal_bss at foo" and
29475 "print 'scope1.c'::filelocal_ro at foo" and
29476 "print 'scope1.c'::foo::funclocal at foo" and
29477 "print 'scope1.c'::foo::funclocal_bss at foo" and
29478 "print 'scope1.c'::foo::funclocal_ro at foo" and
29479 "print 'scope1.c'::bar::funclocal at foo" and
29480 "print 'scope0.c'::filelocal_ro" and
29481 "print 'scope1.c'::filelocal" and
29482 "print 'scope1.c'::filelocal_bss" and
29483 "print 'scope1.c'::filelocal_ro" and
29484 "print 'scope1.c'::foo::funclocal" and
29485 "print 'scope1.c'::foo::funclocal_bss" and
29486 "print 'scope1.c'::foo::funclocal_ro" and
29487 "print 'scope1.c'::bar::funclocal" and
29488 "print 'scope1.c'::bar::funclocal_bss"
29489 to only be xfail'd when not compiled with gcc.
d63a86f8 29490 Add rs6000-*-* xfail for
c906108c
SS
29491 "print 'scope0.c'::filelocal_bss before run"
29492 when compiled with gcc.
29493 (test_at_main): Add rs6000-*-* xfail for
29494 "print filelocal_ro in test_at_main"
29495 when compiled with gcc.
29496 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 29497 Add rs6000-*-aix* xfail for
c906108c
SS
29498 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
29499 "ptype t_char_array", not compiled with gcc.
29500 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
29501 xfail for "list foo (in include file)" when gcc compiled.
29502 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 29503 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
29504 "run to call0a" if not compiled with gcc.
29505 (unsigned_integral_args): Add rs6000-*-* xfail for
29506 "run to call1a" if not compiled with gcc.
29507 (float_and_integral_args): Add rs6000-*-* xfail for
29508 "run to call2a" if not compiled with gcc and for
29509 "continue to call2b" for any compiler.
29510 Add rs6000-*-* xfail to
29511 "print f1 after run to call2a" for gcc compiled.
29512 (discard_and_shuffle): Add rs6000-*-* xfail for
29513 "run to call6a".
29514 (shuffle_round_robin): Add rs6000-*-* xfail for
29515 "backtrace from call7a" if not compiled with gcc.
29516 Add rs6000-*-* xfail for
29517 "backtrace from call7b" if compiled with gcc.
29518 (call_after_alloca): Add rs6000-*-* xfail for
29519 "print c in call_after_alloca" and
29520 "print s in call_after_alloca" and
29521 "backtrace from call_after_alloca_subr"
29522 if not compiled with gcc.
29523 (localvars_in_indirect_call): Add rs6000-*-* xfail for
29524 "print c in localvars_in_indirect_call" and
29525 "print c in localvars_in_indirect_call" and
29526 "backtrace in indirectly called function" and
29527 "stepping into indirectly called function"
29528 if not compiled with gcc.
29529 (localvars_after_alloca): Add rs6000-*-* xfail for
29530 "print c after runto localvars_after_alloca" and
29531 "print s after runto localvars_after_alloca" and
29532 "print i after runto localvars_after_alloca" and
29533 "print l after runto localvars_after_alloca"
29534 for all compilers.
29535 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
29536 than whatis-info.exp.
29537 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
29538 than opaque-info.exp.
29539 Setup rs6000-*-* xfail for
d63a86f8 29540 "ptype on opaque struct pointer (statically)" and
c906108c
SS
29541 "ptype on opaque struct pointer (dynamically)" when
29542 not compiled with gcc.
29543 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
29544 rather than callf-info.exp.
29545 (do_function_calls): Add clear_xfail for rs6000-*-* for
29546 "p t_float_values2(3.14159,float_val2)". Seems to work
29547 fine there, both with xlc and gcc. Need to find out what
29548 it is doing right and fix other platforms.
29549 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
29550 "call inferior func with struct - returns int",
29551 "call inferior func with struct - returns long",
29552 "call inferior func with struct - returns float",
29553 "call inferior func with struct - returns double",
29554 "call inferior func with struct - returns char *",
29555 but only if not gcc compiled (presumes xlc compiled).
29556 Change rs6000-*-* xfails for
29557 "call inferior func with struct - returns char" and
29558 " call inferior func with struct - returns short" to only
29559 xfail if not using gcc.
29560 (clean mostlyclean): Remove *.ci and *.tmp files.
29561 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
29562 than templ-info.exp.
29563 * gdb.base/langs.exp: Source gdb.base/langs.ci.
29564 Add rs6000-*-* xfail for "up to foo in langs.exp"
29565 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 29566 when not gcc compiled.
d63a86f8 29567
c906108c
SS
29568Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29569
29570 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
29571 * gdb.base/corefile.exp: Likewise.
29572 * gdb.base/list.exp: Likewise.
29573 * gdb.base/scope.exp: Likewise.
29574 * gdb.base/siganls.exp: Likewise.
29575
29576 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
29577 compiler output.
29578 * gdb.base/whatis.exp: Likewise.
29579
29580Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
29581
29582 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
29583 failure (opcode table has been fixed to match reality).
29584
29585Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
29586
29587 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
29588 "call inferior func with struct - returns char",
29589 "call inferior func with struct - returns short"
29590
29591 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
29592 "print 'scope0.c'::filelocal at main",
29593 "print 'scope0.c'::filelocal_bss in test_at_main",
29594 "print 'scope0.c'::filelocal at foo",
29595 "print 'scope0.c'::filelocal_bss in test_at_foo",
29596 "print 'scope0.c'::filelocal at bar",
29597 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 29598
c906108c
SS
29599 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
29600 in source file 1". This bug seems to have been fixed with both
29601 gcc and native cc (was native assembler bug?).
29602
29603Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
29604
29605 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
29606 "backtrace through signal handler" to "i*86-*-sysv4*".
29607 * gdb.base/signals.exp: Add xfail for "'next' behaved as
29608 continue" case. Add "known SVR4 bug" to fail message.
29609 Add "i*86-*-bsdi2.0" xfail for "handle all print".
29610 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
29611 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
29612 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
29613 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
29614 "up to foo in langs.exp", "show language at foo in
29615 langs.exp", "up to cppsub_ in langs.exp", "show
29616 language at cppsub_ in langs.exp", "up to fsub in
29617 langs.exp", and "show language at fsub in langs.exp".
29618 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
29619 "bactrace in corefile.exp".
29620 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
29621 "call inferior function with struct - returns float" and
29622 "call inferior function with struct - returns double".
d63a86f8 29623
c906108c
SS
29624Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
29625
29626 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
29627 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
29628 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
29629 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
29630
29631Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
29632
29633 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
29634 (or overriden) "CHILL" macro rather then bare "gcc".
29635 Also look for ../../gcc/xgcc since that is what we will
29636 actually need, not "Makefile". Remove following assignment
29637 of CHILL to CHILL_FOR_TARGET because that results in
29638 recursive definition.
29639
29640Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
29641
29642 * gdb.base/corefile.exp: Change xfail for backtrace in
29643 corefile.exp from linuxaout to all linux.
29644 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
29645 cases where we miss the breakpoint at the signal handler
29646 for some reason. Setup xfail for linuxoldld/linuxaout and
29647 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
29648 hitting SIGURG breakpoint.
29649 * gdb.base/signals.exp: Setup xfail for "next" acting like
29650 continue to add linuxoldld. Setup xfail for all linux for
29651 "next to handler in signals_tests_1", "backtrace in
29652 signals_tests_1", "continue to func1", "pass SIGUSR1",
29653 and continue to handler".
29654
29655Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
29656
29657 * Update all FSF addresses except those in COPYING* files.
29658
29659Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
29660
29661 * gdb.base/a2-run.exp: Change messages to be more explicit about
29662 the status of args, and quote binfile in results.
29663
29664Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
29665
29666 * gdb.base/callfuncs.exp: Add tests for passing structs to
29667 inferior functions and return various types.
29668 * gdb.base/callfuncs.c: Add functions to receive a struct
29669 and return a member of the struct, in various types.
29670
29671Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29672
29673 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
29674
29675Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
29676
29677 * config/vxworks29k.exp: New file, sources vxworks.exp.
29678
29679Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29680
29681 * config/gdbremote.exp: New file. Testing framework using
29682 gdbserver.
29683
29684Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
29685
29686 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
29687 "call function when asleep" and "send end of file".
29688 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
29689 for "backtrace in corefile.exp".
29690 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
29691 for "backtrace through signal handler".
29692 * gdb.base/corefile.exp: Make sure we actually generate a core file
29693 before trying the core tests. Some systems allow the user to suppress
29694 generation of core files and default to that (linux for example).
29695 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
29696 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
29697
29698Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29699
29700 * gdb.threads: New directory with some crude multi-threaded
29701 gdb tests (step.exp and step2.exp).
29702 * config/mt-lynx (STEP_EXECUTABLE): Define.
29703 (THREADFLAGS): Define.
29704
29705Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
29706
29707 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
29708
29709 * gdb.base/signals.exp: Disable whole file for lynx until
29710 further notice.
29711
29712 * gdb.base/signals.exp: xfail test where "next" acts like
29713 "continue" for lynx.
29714
29715 * gdb.base/interrupt.exp: xfail test for calling function while
29716 inferior is asleep for lynx.
29717
29718 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
29719 than one cr-lf after each command.
29720
29721Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29722
29723 * configure.in: Reinstate setting of stabsdirs variable, fix
29724 typo in setting up configdirs for native builds.
29725
29726 * gdb.base/return.exp: Fix typo in return double test.
29727 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
29728 compiler from optimizing them away.
29729
29730Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
29731
29732 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
29733 sequences to be echo'd by gdb when using gdb_test.
29734 * gdb.chill/chexp.exp: Likewise.
29735 * gdb.fortran/exprs.exp: Likewise
29736
29737Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29738
29739 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
29740 after the inferior gdb has started.
29741
29742 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
29743 after each command.
29744 * gdb.base/funcargs.exp: Likewise.
29745 * gdb.base/gdbvars.exp: Likewise.
29746 * gdb.base/interrupt.exp: Likewise.
29747 * gdb.base/list.exp: Likewise.
29748 * gdb.base/watchpoint.exp: Likewise.
29749 * gdb.c++/demangle.exp: Likewise.
29750 * gdb.c++/inherit.exp: Likewise.
29751 * gdb.chill/chexp.exp: Likewise.
29752 * gdb.fortran/exprs.exp: Likewise.
29753
29754 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
29755 test if we can't handle IO to/from the inferior.
29756
29757 * gdb.c++/misc.exp: Always check for a program already being
29758 started after sending a "run" command to gdb.
29759
29760 * gdb.base/twice.exp: Start with a fresh gdb.
29761
29762 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
29763 only depend on gdb's expression code, not the chill runtime.
29764
29765 * gdb.base/return.c: Put return values into variables so we
29766 can have gdb print them rather than depending on the program
29767 to print them.
29768 * gdb.base/return.exp: Corresponding changes.
29769
29770 * lib/gdb.exp: Provide default value for noinferiorio.
29771 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
29772 the inferior.
29773
29774 * gdb.base/break.exp: Always check for a program already being
29775 started after sending a "run" command to gdb.
29776 (text_next_with_recursion): Don't check the output from the
29777 program's printf statement. Instead just make sure the program
29778 exited.
29779
29780 * gdb.base/commands.exp: Protect tests which need arguments with
29781 $noargs conditionals.
29782
29783Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29784
29785 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
29786 of structure member arrays to match gdb/valops.c:value_addr change.
29787
29788Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
29789
29790 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
29791 cases.
29792
29793Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
29794
29795 * configure.in (configdirs): Remove gdb.chill from default list
29796 of subdirs and then add it back in only if doing a native build.
29797 The current chill compiler does not yet work in any cross build.
29798 * Revert all signal changes from Jul 6.
29799 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
29800 for sh-hms targets, allowing these tests to link, with no other
29801 changes. Testing is suppressed by setting "nosignals" in site.exp.
29802
29803Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
29804
29805 * configure.in (signaldirs): Define and add to configdirs for all
29806 targets except some specific ones that are known to not support signals.
29807 Also clean up formatting.
29808 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
29809 (signals, sigall): Remove rules to build.
29810 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
29811 Moved to new gdb.signals directory.
29812 * gdb.signals: New test directory.
29813 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
29814 signals.c signals.exp}: New or moved files.
29815
29816Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
29817
29818 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
29819
29820Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
29821
29822 * gdb.base/return.exp: Xfail `return double' test failure
29823 on at least Solaris 2.3 and handle future/past versions on
29824 a case by case basis as appropriate. Also update message
29825 to include i*86 failures.
29826
29827Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29828
29829 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
29830
29831 * lib/gdb.exp: Fix comment which erroneously identified
29832 gdb_file_cmd as gdb_load (the 19 May change was in fact to
29833 gdb_file_cmd not gdb_load).
29834 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
29835
29836 * gdb.base/setvar.exp: Make test names consistent between pass and
29837 fail cases. Use gdb_test more.
29838
29839Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29840
29841 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
29842
29843Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29844
29845 * gdb.base/help.exp: Fix expected help string for `show commands'.
29846
29847Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
29848
29849 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
29850
29851 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
29852 of a text section.
29853
29854Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
29855
29856 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
29857 that loop eventually terminates. Fix Connection refused logic so
29858 that testsuite will expire nicely.
29859
29860Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
29861
29862 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
29863 config/rom68k.exp: New tcl glue for the appropriate monitors.
29864 These all just end up calling monitor.exp.
29865 * config/monitor.exp (gdb_target_monitor): Handle `Connection
29866 refused' by retrying. Cleanup some timeout issues.
29867 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
29868 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
29869 callers don't have to set/restore global timeout variable.
29870
29871 * The following set of changes centralizes management of the global
29872 timeout variable. This way, it can be set in one target dependent
29873 place instead of dozens of places scattered throughout the test suite.
29874 If you need to lengthen a timeout, then you should either set timeout
29875 in one of the config/{target}.exp files, or multiply it by a factor.
29876 Setting it to an absolute value is always going to lose for some
29877 targets.
29878 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
29879 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
29880 * gdb.base/funcargs.exp: Don't set timeout.
29881 * gdb.base/list.exp (test_forward_search): Only use local timeout.
29882 * gdb.base/printcmds.exp (test_print_string_constants
29883 test_print_array_constants): Don't set timeout.
29884 * gdb.base/ptype.exp: Don't set timeout.
29885 * gdb.base/recurse.exp: Don't set timeout.
29886 * gdb.base/return.exp: Don't set timeout.
29887 * gdb.base/watchpoint.exp: Don't set timeout.
29888 * gdb.c++/classes.exp (do_tests): Don't set timeout.
29889 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
29890
29891Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
29892
29893 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
29894
29895Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29896
29897 * lib/gdb.exp: Disable chill tests for irix5.
29898
29899Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29900
29901 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
29902 each test pass or fail.
29903
29904Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29905
29906 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
29907 xlc not gcc.
29908
29909Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
29910
29911 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
29912
29913Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
29914
29915 * config/est.exp: Fix copyright and comments. Remove dead code.
29916 Use targetname, serialport and baud variables instead of fixed
29917 constants.
29918 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
29919 * config/cpu32bug.exp: New file to support cpu32bug monitors.
29920
29921Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29922
29923 * gdb.base/watchpoint.exp: Don't run
29924 test_watchpoint_triggered_in_syscall for sunos.
29925
29926Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29927
29928 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
29929 they don't seem to exist. Do include stdio.h.
29930
29931Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29932
29933 * gdb.base/a1-selftest.exp: Add alpha xfail.
29934
29935Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29936
29937 * gdb.base/watchpoint.c (main): Prompt before calling read().
29938 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
29939 Revise accordingly. Remove cruft about sending "123" several
29940 times, until it gets noticed. Clean up the "print buf[0]" stuff
29941 so that it passes or fails, and waits for prompts in the usual way.
29942
29943Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29944
29945 * gdb.base/recurse.exp: Fix comment.
29946
29947 * TODO: Remove item about printing variables in nodebug.exp. Add
29948 item about enabling tests which are only run on some targets.
29949
29950 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
29951 fail, make test names unique, use new gdb_test convention
29952 regarding pattern, use gdb_test more, etc.).
29953
29954 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
29955 fail, make test names unique, etc.).
29956
29957Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29958
29959 * gdb.base/nodebug.c: Change return type of top and middle to
29960 short.
29961 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
29962 are fixed by the recent mdebugread.c changes. Allow `short ()'
29963 as type for top and middle.
29964
29965Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29966
29967 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
29968 nearly as I can tell, the whole thing was an accident in Stu's
29969 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
29970 to replace a send/expect pair with gdb_test, but ended up only
29971 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
29972 of 30 Mar 1995 took care of it, but left this vestigial comment
29973 which I am now nuking.
29974
29975Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29976
29977 * gdb.base/break.exp: Look for different line number for
29978 breakpoint at main depending on usestubs.
29979
29980Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29981
29982 * gdb.base/list.exp: Adjust some alternate expect patterns to
29983 match recent list0.c change. Add alternate expect pattern for
29984 output from `list default lines around main' for optimizing
29985 compilers.
29986
29987Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29988
29989 * lib/gdb.exp: If nosignals is not set, set it to 0.
29990
29991Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
29992
29993 * config/slite-gdb.exp: Responds to load symbol table prompt.
29994 * gdb.base/break.exp: Adjust line number, fix rerun.
29995 * gdb.base/langs0.c: Add #ifdef usestubs.
29996
29997Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
29998
29999 * gdb.base/list.exp: Adjust line contents after adding new lines in
30000 list0.c. Also fix a syntax error.
30001
30002 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
30003 * gdb.base/break.exp: ditto.
30004 * gdb.base/list.exp: ditto.
30005 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
30006 * gdb.base/run.c: ditto.
30007 * gdb.base/list0.c: ditto.
30008 * gdb.base/funcargs.c: ditto.
30009
30010Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
30011
30012 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
30013 $targetname, $serialport and $baud instead of hardwired variables.
30014 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
30015 target doesn't support signals.
30016
30017Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
30018
30019 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
30020
30021Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30022
30023 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
30024 Don't rely on the value of an auto variable before it has been
30025 initialized. Use gdb_test more.
30026
30027Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30028
30029 * lib/gdb.exp (default_gdb_version): A version number must start
30030 with a digit, but other than that contains all characters up to
30031 the first whitespace character.
30032
30033Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30034
30035 * gdb.base/commands.exp (breakpoint_command_test): New tests.
30036
30037Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30038
30039 * gdb.c++/*.exp: Warn if executable does not exist. The original
30040 reason for skipping the warning was that configure.in sometimes
30041 intentionally skipped building the executables but the tcl code
30042 had no way of knowing. That (a) was always bogus with respect to
30043 error handling, (b) is no longer true (right now there is no way
30044 to skip C++ tests).
30045
30046 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
30047
30048Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30049
30050 * gdb.base/list.exp: Add expect patterns for output from
30051 SunPRO compiled executables.
30052 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
30053 types.
30054
30055Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30056
30057 * gdb.base/break.exp (test_next_with_recursion): Accept any line
30058 number (we are already testing that the correct source line text
30059 gets printed).
30060
30061 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
30062 that is what is intended, but something needed to be done to get
30063 sunos4 native working again.
30064
30065 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
30066
30067 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
30068 apparently went with a (very) old xfail.
30069
30070Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
30071
30072 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
30073 runto_main is a proc in gdb.exp that will do 'step' for target use
30074 stubs.
30075 * gdb.base/exprs.exp: ditto.
30076 * gdb.base/interrupt.exp: ditto.
30077 * gdb.base/opaque.exp: ditto.
30078 * gdb.base/printcmds.exp: ditto.
30079 * gdb.base/ptype.exp: ditto.
30080 * gdb.base/scope.exp: ditto.
30081 * gdb.base/setvar.exp: ditto.
30082 * gdb.base/signals.exp: ditto.
30083 * gdb.base/twice.exp: ditto.
30084 * gdb.c++/classes.exp: ditto.
30085 * gdb.c++/inherit.exp: ditto.
30086 * gdb.c++/templates.exp: ditto.
30087 * gdb.base/break.exp: no run and hit main for stubs. Change line
30088 numbers for breakpoints and info breakpoint.
30089 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
30090 breakpoint().
30091 * gdb.base/callfuncs.c: ditto.
30092 * gdb.base/exprs: ditto.
30093 * gdb.base/interrupt.c: ditto.
30094 * gdb.base/opaque0.c: ditto.
30095 * gdb.base/printcmds.c: ditto.
30096 * gdb.base/ptype.c: ditto.
30097 * gdb.base/scope0.c: ditto.
30098 * gdb.base/setvar.c: ditto.
30099 * gdb.base/signals.c: ditto.
30100 * gdb.base/twice.c: ditto.
30101 * gdb.c++/misc.cc: ditto.
30102 * gdb.c++/templates.cc: ditto.
30103
30104Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30105
30106 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
30107
30108 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
30109 somewhere between `read' and `main.c'. I'm pretty sure the
30110 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
30111 and it isn't particularly useful.
30112
30113 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
30114
30115Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30116
30117 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
30118
30119Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
30120
30121 * config/mt-slite: add LIBS and -nostdlib.
30122 * config/slite-gdb.exp: add this new file to support sparclite target.
30123
30124Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
30125
30126 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
30127
30128 * gdb.base/a2-run.exp: Change argument to istarget from
30129 "*-*-vxworks" to "*-*-vxworks*".
30130 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
30131
30132Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
30133
30134 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
30135 will not runto main but do a 'step' to step out of breakpoint().
30136 * config/mt-slite: add -Dusestubs.
30137
30138Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30139
30140 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
30141 instead of just @.
30142
30143 * gdb.base/signals.exp: Add test for "handle all print".
30144 * TODO: Remove "handle all print". Also remove item about
30145 checking copyright date (I don't like the idea of a spurious FAIL
30146 based on when we run the tests).
30147
30148 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
30149 for SunOS4 (reason for failure not investigated). Remove
30150 redundant test for $binfile.
30151
30152 * gdb.base/nodebug.c (array_index): Call malloc.
30153
30154 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
30155
30156Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
30157
30158 * gdb.base/recurse.exp: Update gdb_test invocation to use new
30159 conventions and slightly simplify the matching regexp.
30160
30161Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30162
30163 * gdb.base/break.exp: Update gdb_test invocation to use new
30164 convention.
30165
30166 * lib/gdb.exp: If noargs is not set, set it to 0.
30167
30168 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
30169 tests unique.
30170
30171 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
30172
30173Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30174
30175 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
30176 one argument of type "<non-float parameter>".
30177
30178Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
30179
30180 * config/rom68k.exp: New file to support Motorola IDP board.
30181 * gdb.base/a2-run.exp: Skip this file if noargs is set.
30182 * gdb.base/break.c: Change things around so that this program
30183 doesn't depend upon args. This is necessary to make remote
30184 targets work (in general, they can't take args).
30185 * gdb.base/break.exp: Don't try to send args to program. Don't
30186 expect output. Also, replace lots of code with gdb_test.
30187
30188Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30189
30190 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
30191 printing of '\'' (which is what the comment says we are testing,
30192 even though we were not), not '''.
30193 (test_integer_literals_rejected): Test that printing ''' is an error.
30194
30195 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30196 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
30197 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
30198 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
30199 Use gdb_test not test_print_accept.
30200 * lib/gdb.exp: Remove test_print_accept.
30201
30202 * gdb.base/signals.exp (signal_tests_1): Make pass message
30203 consistent with fail message.
30204
30205 * gdb.base/whatis.exp: Remove xfails for printing char vs.
30206 unsigned char; the bug (PR 1821) is fixed.
30207
30208 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
30209
30210 * gdb.base/scope.exp (test_at_localscopes): Call pass for
30211 successful tests--makes xfailing them work right.
30212
30213Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30214
30215 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
30216 only \r\n, not .*. The test can pass .* as the last thing in
30217 $pattern if that is what it wants. In addition to providing this
30218 flexibility, this change should speed up pattern matching in cases
30219 where the pattern already ended with .* (there were a number of
30220 them). This change also helps catch bad patterns--in the old
30221 scheme the typo "char \*" instead of "char \\*" would pass. Now
30222 it is caught.
30223 * Many .exp files: Update callers.
30224
30225 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
30226 clearer and does not spuriously match multiple ('s. Likewise for
30227 ) and *.
30228
30229 * gdb.base/nodebug.exp: Test ability to call a function and pass
30230 it a string (even with no debugging info).
30231
30232 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
30233 "p '\'", which is the same as "p ''" once tcl gets done with
30234 quoting, to "p '\\'", which I suspect is what is intended (one
30235 backslash gets sent to GDB).
30236
30237 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
30238
30239Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30240
30241 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
30242 1817) was fixed literally years ago.
30243
30244Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30245
30246 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
30247 test, it causes stepping out of call_after_alloca_subr with
30248 optimizing compilers.
30249 (localvars_in_indirect_call): Consume GDB prompt if `finish'
30250 fails.
30251
30252 * gdb.c++/templates.exp: Source templ-info.exp only if
30253 the templates executable exists.
30254
30255 * gdb.c++/misc.cc (class Contains_static_instance,
30256 class Contains_nested_static_instance),
30257 gdb.c++/classes.exp (test_static_members): Test printing of
30258 a class that contains a static instance of the class.
30259
30260Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30261
30262 * gdb.base/langs2.c (cppsub_): Don't prototype.
30263 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
30264 only, I believe).
30265
30266Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30267
30268 * lib/gdb.exp (skip_chill_tests): New procedure.
30269
30270 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
30271
30272Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
30273
30274 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
30275 each expect pattern. Cuts runtime from 12 to about 4 seconds.
30276
30277Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30278
30279 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
30280
30281 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
30282 disassemble 8, not 16, instructions for part 4.
30283
30284 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
30285 support the latter anymore.
30286
30287 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
30288 -DNO_PROTOTYPES.
30289 * gdb.base/callfuncs.c: Control use of prototypes based on
30290 NO_PROTOTYPES, not __STDC__.
30291 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
30292 t_float_values2 tests if prototypes in use.
30293
30294 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
30295 t_double_values): When checking differences against DELTA, check
30296 that difference is within the range (-DELTA,DELTA), not just
30297 (-infinity,DELTA).
30298
30299Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
30300
30301 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
30302 'file' command firts, then 'target', then 'load', this is due to gdb
30303 target set up.
30304 * config/mips-gdb.exp: Fix a couple regular exp bugs.
30305
30306Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
30307
30308 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
30309 FP load/store variants.
30310 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
30311
30312Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
30313
30314 * gdb.base/term.exp: Do not give a warning if not native, it is
30315 not an abnormal condition.
30316
30317Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
30318
30319 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
30320 t_char_array".
30321
30322Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
30323
30324 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
30325 are getting the version number.
30326
30327 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
30328 if not native, it is not an abnormal condition.
30329
30330Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30331
30332 * lib/gdb.exp: Just use "file exists", rather than undocumented
30333 dejagnu procedure "findfile".
30334
30335Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
30336
30337 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
30338 (LDFLAGS): Set to -Xlinker -Ur.
30339
30340 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
30341 Removed, these values are set by lib/gdb.exp.
30342
30343 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
30344
30345Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
30346
30347 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
30348 of replicating gdb startup code.
30349
30350 * config/mt-vxworks (LDFLAGS): Set to -r.
30351 (CFLAGS_FOR_TARGET): Removed.
30352
30353 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
30354 (gdb) and gdb for vxworks uses (vxgdb).
30355
30356 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
30357 executable is not in the tree and host != target, use sed and
30358 program_transform_name to determine the gdb name used by the
30359 target.
30360
30361 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
30362 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
30363
30364Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30365
30366 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
30367 floats, chars, and shorts where there are ANSI-style function
30368 definitions.
30369
30370 * gdb.base/langs.exp, gdb.base/langs*: New test.
30371 * gdb.base/Makefile.in: Build it.
30372 * TODO: Remove item about checking that C names don't get C++
30373 demangling applied; this test tests it.
30374
30375Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30376
30377 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
30378 went with the const70 xfail. The xfail went away a year ago.
30379
30380 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
30381
30382 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
30383 for hp300.
30384
30385 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
30386
30387 * gdb.base/a1-selftest.exp: Don't run on hp300.
30388
30389Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30390
30391 * Makefile.in (site.exp): Set host_alias and target_alias as well
30392 as host_triplet and target_triplet.
30393
30394Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30395
30396 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
30397
30398 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
30399 places as other ecoff systems).
30400
30401 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
30402 ultrix.
30403
30404Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30405
30406 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
30407 remove them.
30408 * gdb.base/nodebug.exp: Accept "function" in addition to "text
30409 variable and "variable" in addition to "data variable".
30410 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
30411
30412 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
30413 2.
30414 * gdb.base/list1.c (long_line): Add additional statement at start
30415 of function.
30416 * gdb.base/list.exp (test_forward_search): Update line number to
30417 reflect new statement.
30418
30419Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30420
30421 * gdb.base/signals.exp: Reinitialize searched source directories
30422 after gdb_start call.
30423
30424Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
30425
30426 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
30427 * gdb.stabs/Makefile.in: Likewise.
30428
30429 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
30430 change. Instead split the tests into smaller pieces.
30431 * gdb.disasm/hppa.s: Corresponding changes.
30432
30433Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30434
30435 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30436 Quote ^C when passing it to stty. For some shells ^ is a pipe.
30437
30438 * gdb.base/funcargs.exp: Modify many tests so that every test
30439 either passes or fails. Make some test names unique.
30440
30441Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30442
30443 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30444 Call stty to set interrupt character.
30445
30446 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
30447 for HP assembler versus GNU assembler based on actual behavior of
30448 $(CC), rather than assuming that $(AS) is always the GNU assembler.
30449
30450 * TODO: Suggest a few more stepping tests.
30451
30452Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
30453
30454 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
30455 restart GDB for h8300 after a continue.
30456 (return): Add pattern to match a29k-udi behavior.
30457 * gdb.base/nodebug.exp: Remove obsolete comment.
30458 * gdb.base/regs.exp: New file, testing of register displays.
30459 * gdb.base/return.exp: Fix typo in reference to $objdir.
30460 * gdb.base/whatis.exp: Always start with a fresh GDB.
30461
30462Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30463
30464 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
30465 higher, these tests generate a lot of output.
30466
30467Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30468
30469 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
30470 code following the catch silently ignored some errors; without the
30471 catch they should be thrown like any other tcl error. Also, the
30472 catch used "" instead of {} which meant all the callers who wanted
30473 to include one of the characters "[]$ had to quote it an extra time.
30474 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
30475 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
30476 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
30477 Remove extra quoting.
30478
30479Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
30480
30481 * gdb.base/commands.exp: Make test names unique; every test either
30482 passes or fails. Update some comments.
30483
30484 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
30485
30486Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30487
30488 The following fixes a FAIL caused by the fact that the alpha stabs
30489 configuration didn't use the ".if alpha" code in weird.def.
30490 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
30491 bit pointer, so the 32 bit version works even on the alpha.
30492 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
30493 Remove the stuff which allowed us to have separate versions for
30494 alpha and everything else.
30495
30496 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
30497 regexp which "info func operator\[\](" is supposed to match. Fix
30498 string to send to GDB. Note that GDB still doesn't work right. Add a
30499 new test for "info func .perator\[\](" which GDB does handle correctly.
30500
30501 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
30502
30503Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30504
30505 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
30506 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
30507 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
30508 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
30509 it makes the tests harder to understand and confuses test-o-matic.
30510 The preferred style is that each test provides a PASS or a FAIL,
30511 and has a unique message (e.g. "continue #54" not just "continue")
30512 which is the same for the pass and the fail.
30513 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30514 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
30515 to lib/gdb.exp.
30516 * gdb.base/printcmds.exp: Use test_print_accept. Remove
30517 prt_accept which was basically the same thing. Likewise for
30518 test_print_reject and prt_reject.
30519 * lib/gdb.exp (test_print_reject): Add some more error message
30520 patterns to match from the former printcmds.exp (prt_reject).
30521 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
30522 One defect of the passcount stuff is that some of it failed to
30523 report XPASS where appropriate.
30524 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
30525 stuff before and after arg in expected pattern.
30526 (test_paddr_operator_functions): Re-do test without print_addr_of;
30527 this is the only test which seems to want extra stuff there.
30528
30529Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30530
30531 * gdb.base/nodebug.exp: Update new tests to reflect improved
30532 wording of gdb output.
30533
30534 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
30535 and "ptype" work on variables in files compiled without -g.
30536 Replaces commented out "maint print msymbol" tests.
30537
30538Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30539
30540 * gdb.base/setvar.c (dummy): Call malloc.
30541
30542 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
30543 losing with the irix4 sed.
30544
30545 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
30546 ALRM" on irix4.
30547
30548Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30549
30550 * TODO: Remove items about corefile.exp testing new exec-file and
30551 backtrace; both are now done. Add items about printing enums.
30552
30553Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30554
30555 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
30556 "get signal $thissig" test fails.
30557
30558 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
30559
30560Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30561
30562 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
30563 compiler warning with dec alpha compiler.
30564
30565 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
30566 extra \n from gdb_test call (this explains why the prompt test
30567 that I removed yesterday was there).
30568 (user_defined_command_test): Remove extra \n and prompt test.
30569
30570 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
30571 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
30572 doesn't exist.
30573 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
30574 Also remove alpha workaround, which turns out to be because
30575 SIGABRT == SIGLOST.
30576
30577 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
30578
30579 * gdb.base/help.exp: Don't test "help show".
30580
30581Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30582
30583 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
30584 "set print address" is on.
30585 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
30586 pass prompt to gdb_test; gdb_test already looks for the prompt.
30587
30588 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
30589
30590 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
30591 was a vestige of the manual TESTSTRATEGY, and the purpose of it
30592 was to make sure that gdb can read a core file. But (a) the "read
30593 the corefile" part didn't make it to a1-selftest.exp, we just
30594 delete the corefile after creating it, and (b) we test reading
30595 corefiles in corefile.exp anyway. Also, this test left around a
30596 xgdb process on Solaris.
30597
30598 * gdb.base/corefile.exp: Also test backtrace.
30599
30600Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
30601
30602 * gdb.base/commands.exp: Test a simple user defined command with
30603 arguments and if/while statements; verify the full user command is
30604 printed by "show user".
30605
30606 * gdb.base/commands.exp: Test if/while commands as part of a
30607 breakpoint command list; verify they appear in breakpoint
30608 information.
30609
30610Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30611
30612 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
30613 than by dividing by zero.
30614
30615Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
30616
30617 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
30618 performing an inferior call with watchpoints enabled.
30619 * gdb.base/watchpoint.c (main): Delete second unnecessary read
30620 call.
30621
30622Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30623
30624 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
30625 of "file" command.
30626
30627 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
30628 Add additional pattern for when "int operator int(void);" appears
30629 in a different order.
30630
30631Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30632
30633 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
30634
30635 * gdb.base/help.exp: Replace most of docstrings for "info signals"
30636 and "signal" with ".*".
30637
30638Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30639
30640 * TODO: Add note about "handle all nostop".
30641
30642 * gdb.base/{sigall.c, sigall.exp}: New test.
30643 * gdb.base/Makefile.in: Add it.
30644
30645Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
30646
30647 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
30648 when invoking GDB, suppresses any windowing interface.
30649
30650Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
30651
30652 * config/sim-gdb: New file, simulator testing support.
30653
30654Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
30655
30656 * gdb.base/interrupt.exp: Test calling func1 twice.
30657
30658Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
30659
30660 * gdb.base/list.exp (test_forward_search): Set timeout higher
30661 when we'll be getting lots of output from gdb.
30662
30663 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
30664 "init_malloc" to after the expect statement. Run it if that
30665 regexp is taken, but also for two others which happen if source
30666 cannot be found.
30667
30668Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30669
30670 * gdb.base/printcmds.exp: New test, for printing register before
30671 program is running.
30672
30673Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30674
30675 * gdb.base/list.exp: Correct some alternate expect patterns
30676 to reflect changes in list1.c.
30677
30678Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30679
30680 * TODO: Add item regarding large frames.
30681
30682 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
30683
30684 * TODO: Remove item about enabling return.exp; it
30685 is enabled. Suggest a few more "return" tests.
30686
30687Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30688
30689 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
30690 anonymous unions.
30691
30692Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30693
30694 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
30695 and pr-5646.o, so "make" is the same as "make all", not "make
30696 pr-4975.o".
30697
30698Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
30699
30700 * gdb.base/list.exp: Adjust expectations to reflect changes in
30701 list1.c.
30702 (test_forward_search): New test proc.
30703 * gdb.base/list1.c (long_line): New function, has long source line.
30704
30705Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
30706
30707 * gdb.base/a1-selftest.exp: Change initial stepping to know about
30708 additional line of code that was added.
30709
30710Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
30711
30712 * gdb.disasm/hppa.s: Break the large branching tests into smaller
30713 tests so as not to overflow expect's input buffers.
30714 * gdb.disasm/hppa.exp: Corresponding changes.
30715
30716Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30717
30718 Beginnings of template debugging tests.
30719 * gdb.c++/templ-info.cc: New file to test for template
30720 debugging capability of the compiler.
30721 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
30722 templ-info.cc.
30723 * gdb.c++/templates.cc: Add explicit template instantiations
30724 to enable compiling with -fno-implicit-templates. Add destructor
30725 and 'value' method to T5 class for template tests.
30726 * gdb.c++/templates.exp: Add testcases for printing of template
30727 types, setting breakpoints on template methods and calling a
d63a86f8 30728 template method.
c906108c
SS
30729
30730Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
30731
30732 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
30733 branch target since some assemblers (gas-2.5) may emit a
30734 relocation for the branch instead of resolving it in the
30735 assembler.
30736
30737Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30738
30739 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
30740 through signal handler.
30741
30742Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30743
30744 * configure.in (*-*-netware): Use config/mt-netware.
30745
30746 * config/mt-netware: New file.
30747 * config/mt-i386-netware: Removed, separate configs for different
30748 netware architectures are no longer needed now that we have
30749 --with-headers.
30750
30751Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30752
30753 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
30754 by the recent changes to use ANSI C arithmetic conversions.
30755
30756Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30757
30758 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
30759 bug involving using inferior_pid to figure out whether to select a
30760 frame.
30761
30762Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
30763
30764 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
30765 match the current disassembler output.
30766
30767Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
30768
30769 * gdb.fortran/exprs.exp: Expect VOID instead of void.
30770 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
30771 types, expect "int" as type of integer values (for now).
30772
30773Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
30774
30775 * gdb.base/commands.exp: New tests for if/while commands.
30776
30777Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
30778
30779 * lib/gdb.exp (runto): Replace sub-pattern for hex value
30780 by .*, since hex values have different syntax in Chill mode.
30781
30782Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30783
30784 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
30785 linefeed from expect pattern for repeated types with indices > 9.
30786
30787Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
30788
30789 First part of Fortran test suite.
30790 * gdb.fortran: New directory.
30791 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
30792
30793Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30794
30795 * gdb.base/default.exp: Update expect pattern for load command
30796 without arguments.
30797
30798Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
30799
30800 * configure.in: Change i386 to i[345]86.
30801 * gdb.base/configure.in: Likewise.
30802 * gdb.c++/configure.in: Likewise.
30803 * gdb.chill/configure.in: Likewise.
30804
30805Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
30806
30807 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
30808 patterns, since that is not a valid context for comments.
30809
30810Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
30811
30812 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
30813 repeated types and repeated types with indices > 9.
30814
30815Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
30816
30817 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
30818 2417; old bug has been fixed.
30819
30820Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
30821
30822 * gdb.base/interrupt.exp: When trying to wake up the inferior,
30823 send the newline ourselves instead of assuming gdb_test will do
30824 so when passed an empty input string.
30825
30826 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
30827 stabs testcode.
30828
30829Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30830
30831 * lib/gdb.exp (gdb_test): Don't send anything if the first
30832 argument is an empty string. This makes cases where we want to
30833 match output that is already in expect's buffers (for example,
30834 matching a breakpoint after gdb_run_cmd has been called) work
30835 reliably.
30836
30837Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30838
30839 * config/netware.exp: New file.
30840
30841Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30842
30843 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
30844 the -B and -L prefixes so we can find the debugging stub.
30845
30846 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
30847 there and we are using the gcc from the tree.
30848
30849 * gdb.base/types.c: Removed.
30850
30851 * gdb.base/configure.in: Look for makefile fragments in ../config.
30852 Recognize i386-*-netware.
30853 * gdb.c++/configure.in: Likewise.
30854
30855Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30856
30857 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
30858 the correct TCL syntax.
30859
30860Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30861
30862 * gdb.base/opaque.exp: use runto instead of messing around with
30863 breakpoints. Simplify by using gdb_test.
30864
30865 * gdb.base/bitfields.exp: restart between tests on netware targets
30866 because breakpoints aren't relocated after target death. Run
30867 processes to completion.
30868
30869 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
30870
30871Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
30872
30873 * Makefile.in: Remove extra tabs that confuse some versions
30874 of "make". Use the newly built gdb to test with by default,
30875 rather than the first one in the tester's search path.
30876
30877Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
30878
30879 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
30880
30881 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
30882 condition help.
30883
30884Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30885
30886 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
30887
30888 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
30889 running.
30890 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
30891 * gdb.base/funcargs.exp: Likewise.
30892
30893 * gdb.base/bitfields.exp: Simplify by using gdb_test.
30894 * gdb.base/funcargs.exp: Likewise.
30895
30896 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
30897 message is "".
30898
30899Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30900
30901 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
30902 return,signals,twice}.exp: Handle non-existant binaries
30903 consistantly.
30904
30905 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
30906 * gdb.base/Makefile.in: Don't try to generate a core dump, we
30907 might testing a cross development system.
30908
30909Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30910
30911 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
30912 runtest script is relative to ${srcdir}, not ${rootdir}.
30913
30914Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
30915
30916 * gdb.base/signals.exp: Allow for optionality of breakpoint
30917 address.
30918
30919Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30920
30921 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
30922
30923Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30924
30925 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
30926 for size_t definition.
30927 * gdb.c++/templates.cc: Likewise
30928
30929 * config/mt-i386-netware: New file.
30930
30931 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
30932 defined.
30933
30934 * gdb.base/Makefile.in: Added support for systems that name core
30935 files by appending "core" to the program name.
30936 * gdb.base/a1-selftest.exp: Likewise.
30937
30938Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30939
30940 * gdb.base/return.exp: Add comment and message for `return double'
30941 test failure on Sparc Solaris.
30942
30943Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
30944
30945 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
30946
30947Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30948
30949 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
30950 from optimizing them away.
30951 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
30952 patterns to include default constructors and assignment operators,
30953 to match gcc versions beyond 2.5.8. Accept any cplus demangling
30954 character in the output of the virtual base pointer.
30955
30956Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30957
30958 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
30959 expression match in print_addr_of to avoid unintented matches.
30960 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
30961 versions up to 2.5.8.
30962
30963Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30964
30965 * gdb.base/list.exp: Tweak alternate pattern for listing of an
30966 included file to run under newer versions of expect.
30967 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
30968 consecutive >'s in templates to accomodate recent cplus-dem.c change.
30969 Remove xfail for the virtual table of BDDHookV.
30970
30971Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
30972
30973 * lib/gdb.exp (string_to_regexp): Set a default result.
30974 (default_gdb_start): Fix misleading message.
30975
30976Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
30977
30978 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
30979 Remove all CC, etc definitions.
30980 * config/mt-hpux: New file.
30981 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
30982 (CFLAGS, LDFLAGS): Define.
30983 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
30984
30985 * Makefile.in (site.exp): Don't insert host_os, etc.
30986 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
30987 (distclean): Check existence of subdir.
30988 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
30989 * gdb.base/Makefile.in: General cleanup and simplification.
30990 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30991 to build executables. Use default rule to build .o files.
30992 (EXPECT, RUNTEST, CC): Fix relative pathname.
30993 (site.exp): Don't insert host_os, etc.
30994 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
30995 and/or SIGUSR1 defined.
30996 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
30997 * gdb.c++/Makefile.in: General cleanup and simplification.
30998 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30999 (CFLAGS): Remove.
31000 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
31001
31002Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
31003
31004 * gdb.base/recurse.exp: Misc changes to get tests running again
31005 after Kung's changes to the watchpoint code.
31006 * gdb.base/watchpoint.exp: Likewise.
31007
31008Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
31009
31010 * lib/gdb.exp (string_to_regexp): Convert {\} also.
31011
31012Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
31013
31014 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
31015 * lib/gdb.exp (default_gdb_start): Define.
31016 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
31017 gdb.base/funcargs.exp, gdb.base/opaque.exp,
31018 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
31019 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
31020 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
31021 Don't call gdb_target_udi in between tests.
31022
31023Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31024
31025 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
31026 (which was basically just a local version of the same thing). In
31027 addition to avoiding duplication, gdb_test_exact is faster.
31028 * lib/gdb.exp (gdb_test_exact): Fix typo.
31029
31030 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
31031 don't give an error.
31032
31033 * gdb.base/term.exp: Call delete_breakpoints before starting.
31034
31035 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
31036 (t10): Add comment.
31037
31038Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
31039
31040 Reorganization of the GDB Test Suite.
31041
31042 * gdb.base: New directory, contains all the basic tests.
31043 * gdb.c++: New directory, tests specific to C++.
31044 * gdb.chill: New directory, tests specific to Chill.
31045 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
31046 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
31047 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
31048 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
31049 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
31050 t30-31 to chill).
31051 * */gdbme.*: Rename to match appropriate expect scripts.
31052 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
31053 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
31054 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
31055 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
31056 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
31057 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
31058 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
31059 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
31060 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
31061 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
31062 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
31063 gdb.c++/virtfunc.cc: New names of C++ files.
31064 * gdb.chill/chillvars.ch: New name of Chill file.
31065 * gdb.base/configure.in, gdb.c++/configure.in,
31066 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
31067 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
31068 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
31069 * configure.in (configdirs): Update to reflect directory changes.
31070 (target_abbrev): No longer define for any configuration.
31071 * Makefile.in: Cosmetic improvements to header comments.
31072
31073Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
31074
31075 Various changes to gdb.t31:
31076
31077 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
31078 * gdbme.ch: Make all key-words and predefineds be upper-case.
31079 * chillvars.exp: Expect key-words and predefinds in upper-case.
31080
31081 * chillvars.exp: Use gdb_test_exact many places.
31082 Change expected output for arrays (which now includes index labels).
31083
31084 * pr-5020.exp, gdme.ch (module PR_5020):
31085 New test, for PR-5020.
31086
31087Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
31088
31089 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
31090 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
31091
31092Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
31093
31094 * Makefile.in: Fix bit-rot in definitions of CHILL,
31095 CHILL_FOR_TARGET and Chill_LIB.
31096 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
31097 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
31098 CHILL, and CHILL_LIB.
31099
31100Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
31101
31102 * Revert the previous changes. Please see Rob's directory
31103 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
31104
31105Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
31106
31107 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
31108 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
31109 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
31110 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
31111 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
31112 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
31113 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
31114 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
31115 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
31116 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
31117 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
31118 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
31119 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
31120 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
31121 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
31122 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
31123 changes from 94Q1.
31124
31125Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
31126
31127 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
31128 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
31129 Rob's new testing fragments.
31130
31131Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
31132
31133 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 31134 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
31135
31136Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
31137
31138 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
31139 version also, match on casted version strings, and match on
31140 gdb startup case where the line numbers might be messed up.
31141
31142Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
31143
31144 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 31145 (CFLAGS): Delete it from here.
c906108c
SS
31146
31147Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
31148
31149 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
31150
31151Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
31152
31153 * Makefile.in (RUNTEST): Default to just "runtest".
31154
31155Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31156
31157 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
31158 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
31159 the code has been restructured.
31160
31161Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31162
31163 * gdb.t00/default.exp (set write): Allow any number of \r and/or
31164 \n, not just one of each.
31165
31166 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
31167 /bin/cc gives a warning if you do.
31168
31169Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
31170
d63a86f8 31171 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
31172 __t10ListS_link1ZUiRCUiPT0
31173
31174Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31175
31176 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
31177 on local variables in recursive functions.
31178
31179 * gdb.t07/Makefile.in: Build the new test.
31180
31181Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31182
31183 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
31184 directly. Instead compare the return values from actual calls.
31185
31186Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
31187
31188 * Makefile.in (check): Set TCL_LIBRARY for runtest.
31189
31190Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31191
31192 * From Peter Schauer with minor modifications.
a9c64011
AS
31193 * gdb.t15/return.exp (return_tests): Handle targets where "return"
31194 stops in mid-line in the caller. Add xfail for returning a float
31195 value on X86 targets.
c906108c
SS
31196
31197Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31198
31199 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
31200 to avoid expect lossage.
31201 (fmem_LRbug_tests): Likewise.
31202 * gdb.disasm/hppa.s: Corresponding changes.
31203
31204 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
31205 conditions to work with latest dejagnu/expect.
31206
31207 * gdb.t15/funcargs.exp (finish from indirect call): No longer
31208 expected to fail on the PA.
31209 (backtrace in call with trampolines): Explicitly require main
31210 to be frame #1 (no trampolines should show up in backtrace).
31211
31212 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
31213 "continue -expect".
31214 * gdb.t06/break.exp: Likewise.
31215 * gdb.t07/watchpoint.exp: Likewise.
31216 * gdb.t13/bitfields.exp: Likewise.
31217 * gdb.t15/{funcargs,return}.exp: Likewise.
31218 * gdb.stabs/weird.exp: Likewise.
31219 * config/{mips,udi}-gdb.exp: Likewise.
31220
31221 * hppa.sed: Enclose comments within a sed command to avoid
31222 losing with the old OSF1 sed.
31223
31224Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31225
31226 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
31227 sequent dynix.
31228 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
31229 * gdb.t15/funcargs.exp: Conditionally step again to really
31230 finish from marker_call_with_trampolines. Handle the case where
31231 the first step from within call_with_trampolines already steps
31232 us back to main.
31233 * gdb.t15/gdbme.c: Add comment to closing brace of
31234 call_with_trampolines for funcargs.exp.
31235
31236Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31237
d63a86f8 31238 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
31239 Fix typo(s).
31240
31241Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31242
31243 * gdb.t07/gdbme.c: More code for watchpoint testing.
31244
31245 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
31246 "Hardware watchpoint" throughout file.
31247 (test_watchpoint_triggered_in_syscall): New test.
31248 (test_complex_watchpoint): New test.
31249
31250Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31251
31252 * gdbme.c (call_with_trampolines): New function to try and step
31253 into. Tests trampoline problems on the PA.
31254
31255 * funcargs.exp (localvars_in_indirect_call): No longer expect
31256 stepping into indirect call to fail on PAs.
31257 (test_stepping_over_trampolines): New test.
31258
31259Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31260
31261 * TODO: Add suggestions for static member function tests, and
31262 completion tests.
31263
31264Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31265
31266 * TODO: Add suggestions for "p/a" tests.
31267
31268 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
31269 (default_gdb_exit): Replace all the hair with sending "quit" to
31270 the process with a simple close.
31271
31272Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31273
31274 * TODO: Add suggestions for shared library tests.
31275
31276Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31277
31278 * TODO: Add suggestions for x/s tests.
31279
31280Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31281
31282 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
31283 "enable once", and "enable breakpoints once" with ".*".
31284
31285Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31286
31287 * TODO: Add suggestions about structure passing tests.
31288
31289Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31290
31291 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
31292 the primary1 test, use work around if __GNUC__ < 2.
31293 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
31294 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
31295 Test for bad output rather than waiting for timeout. Issue
31296 second continue only if first continue failed.
31297
31298Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31299
31300 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
31301 operator[] test with gdb_test because the old code didn't seem to
31302 be getting the quoting right with the new dejagnu.
31303
31304Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
31305
31306 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
31307 one from the path.
31308 * Makefile.in: Use a fresh expect if there is one, use runtest
31309 from the src tree if there is one.
d63a86f8 31310
c906108c
SS
31311Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31312
31313 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
31314 next over recursive call. Revise the tests from that point on
31315 (which had been skipped) to match GDB's actual (correct) output.
31316
31317 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
31318 with next over a breakpoint whose condition is false.
31319
31320 * gdb.t00/help.exp: Comment out "help set print" tests just like
31321 (and for same reason as) "help set" test.
31322
31323Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31324
31325 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
31326 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
31327
31328Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31329
31330 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
31331 necessary gdb_target_udi.
31332
31333 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
31334
31335 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
31336 1838 and 2417; they are fixed.
31337
31338 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
31339 gdb.t03/ptype.exp (ptype structure, ptype union):
31340 Remove xfails; the test is looser than when the xfails were added.
31341
31342 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
31343 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
31344
31345 * gdb.t01/run.exp: Only run shell test if isnative.
31346
31347 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
31348 since "run" automatically loads if necessary. Call gdb_target_udi
31349 after the "file" since "file" kills any execution target.
31350
31351 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
31352 GDB. GDB doesn't work that way (not anymore at least) on UDI.
31353 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
31354 argument for UDI.
31355
31356Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31357
31358 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
31359
31360 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
31361
31362Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31363
31364 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
31365 properly quoting regexps. This makes the second argument to
31366 demangle a fixed string, which matches the callers, instead of a
31367 shell-style pattern which is what the previous implementation
31368 used. Update some of the callers.
31369
31370Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31371
31372 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
31373 (comib_nullified_tests): Fix typo.
31374 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
31375 strings. No longer expected to fail.
31376
31377 * gdb.disasm/hppa.s (addib_tests): Fix typo.
31378 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
31379 strings. No longer expected to fail.
31380
31381 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
31382 string. No longer expected to fail.
31383
31384Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31385
31386 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
31387 No longer expected to fail.
31388
31389 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
31390 string. No longer expected to fail.
31391
31392Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31393
31394 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
31395 only in the names (I probably got most of them). I was even
31396 generous with some which differed in underscores in names, and
31397 probably missed a few, and I *still* was able to remove almost a
31398 third of the file with almost no impact on testsuite coverage.
31399
31400Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31401
31402 * gdb.t00/default.exp: Match udi_attach error message as well as
31403 the one from child_attach.
31404
31405 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
31406
31407 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
31408
31409 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
31410 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
31411
31412 * Move test with enums and partial symbols back to
31413 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
31414 Reverts the change of 26 May 93. Per today's change to
31415 stabs.texinfo, the behavior that weird.exp was expecting was
31416 unreasonable; what is important is that the compiler+gdb get
31417 things right, which happens with a recent gcc. Also fix the test
31418 to deal with native compilers which put out the stab gdb can't
31419 deal with.
31420
31421Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31422
31423 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
31424 in the names. The main thing these accomplish is to slow things down.
31425 Many more such duplicates surely remain.
31426
31427 * gdb.t00/help.exp: Comment out "help support" test just like
31428 (and for same reason as) "help set" test.
31429
31430Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
31431
31432 * gdb.t06/break.exp: Remove setup_xfails for
31433 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
31434 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
31435 about known bug in gcc to include up through 2.5.8.
31436 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
31437 well as "_vb$".
31438 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
31439 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
31440 with latest gcc and gdb.
31441 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
31442 well as "_vb$".
31443
31444Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31445
31446 * configure.in (hppa*-*-*): Also configure and build stabs-only
31447 tests.
31448
31449Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31450
31451 * gdb.t10/hppa.mt: A makefile fragment for the PA.
31452 * gdb.t10/configure.in (hppa*-*-*): Use it.
31453
31454Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31455
31456 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
31457
31458Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31459
31460 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
31461 versions prior to 1.13.5.
31462
31463Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31464
31465 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
31466 the prompt is at the start of a line.
31467
31468Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31469
31470 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
31471 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
31472 in the copr tests now.
31473 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
31474 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
31475 expected to fail.
31476
31477Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
31478
31479 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
31480 gdb.t31/chillvars.exp, lib/gdb.exp:
31481 Tweak to run under either version of expect.
31482 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
31483 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
31484 * gdb.t11/list.exp: Remove extraneous whitespace.
31485
31486Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31487
31488 * gdb.t16/printcmds.exp (test_print_strings): Accept
31489 "(unsigned char *) " before the string.
31490
31491 * TODO: Add notes about printing of fancy types and GDB expressions.
31492
31493Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
31494
31495 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
31496 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 31497 if doing mips-idt-ecoff.
c906108c
SS
31498
31499Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
31500
31501 * Most .exp files: Tweak to run under either version of expect.
31502
31503Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31504
31505 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
31506 xfails; I'm not sure why they are failing, but not because of PR 1806.
31507
31508Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
31509
31510 * config/unix-gdb.exp: Remove gdb_unload cause it's already
31511 defined in lib/gdb.exp.
31512
31513Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31514
31515 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
31516 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
31517 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
31518 have to be typeless.
31519
31520Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31521
31522 * TODO: Add suggestion for copyright year test.
31523
31524Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
31525
31526 * configure.in (*-*-lynxos*): Add stabs tests.
31527
31528Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31529
31530 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
31531 so insert a tab before any assembler directive in column zero.
31532
31533 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
31534 stores.
31535 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
31536 stores.
31537 (fpu_short_memory_tests): Likewise.
31538
31539Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31540
31541 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
31542 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
31543 .stabs directives in comments.
31544
31545Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31546
31547 * TODO: New file, describing tests we could write.
31548 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
31549
31550Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31551
31552 * gdb.t06/signals.exp: Add kludge to force re-sync.
31553
31554 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
31555 to xgdb instead of gdb, get out of gdb.
31556
31557Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
31558
31559 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
31560 for info.
31561
31562Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31563
31564 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
31565 * gdb.stabs/configure.in (hppa*-*-*): Use it.
31566 * gdb.stabs/hppa.sed: New sed script for the PA.
31567
31568Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31569
31570 * gdb.stabs: Re-write weird.def and configuration to use sed
31571 instead of cpp. sed is portable and POSIX; cpp is neither.
31572
31573Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31574
31575 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
31576
31577Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31578
31579 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
31580
31581Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31582
31583 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
31584 "_vb$".
31585 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
31586 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
31587
31588Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31589
31590 * lib/gdb.exp: Comment out code which depends on non-existent
31591 `transform' procedure.
31592
31593Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
31594
31595 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
31596 * lib/gdb.exp: Transform tool name.
31597 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
31598 1.1's new error handling system.
31599
31600Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31601
31602 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
31603
31604Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31605
31606 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
31607 They made pattern matching so slow that timeouts happened on
31608 heavily loaded systems. Now any output from "show print" which
31609 gets us back to the GDB prompt is a PASS.
31610
31611Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
31612
31613 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
31614
31615Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31616
31617 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
31618
31619 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
31620 It is not from PR 3220.
31621
31622Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31623
31624 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
31625 just started failing because they depended on the order the
31626 subcommands are presented, or exact docstring text. This kind of
31627 test is a pain and has minimal benefit.
31628
31629Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31630
31631 * gdb.t09/corefile.exp: At end of test, use "core" command with
31632 no arguments.
31633
31634Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
31635
31636 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
31637 17}/Makefile.in: Make it possible to run the testsuite with Sun
31638 make and CC = cross gcc by adding explicit build rules for .o
31639 files.
31640
31641Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31642
31643 * gdb.t15/funcargs.exp: Don't put comments on same line as
31644 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 31645
c906108c
SS
31646Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31647
31648 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
31649
31650Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
31651
31652 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
31653 * gdb.t20/inherit.exp: remove three dumplicate entries.
31654
31655Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31656
31657 * gdb.t06/break.exp: For "next over recursive call", fail on any
31658 incorrect output, not just on "factorial (value=2)".
31659
31660Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31661
31662 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
31663 working now. Add an xfail if accesing a bss variable causes
31664 a memory error if the target is not yet run.
31665
31666Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31667
31668 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
31669 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
31670 name of __st* demangling (2 strings). Did Kung really get the
31671 more than 95 others right without testing them?
31672
31673Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
31674
31675 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
31676
31677Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
31678
31679 * configure.in (configdirs): Add gdb.disasm
31680 * gdb.disasm: New directory for GDB disassembler tests.
31681 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
31682
31683Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31684
31685 * gdb.t00/help.exp: Don't test "help set".
31686
31687 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
31688 from within expect statements. None of these happen anymore and
31689 they cause regressions to be silently unnoticed.
31690
31691 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
31692 messages) about known failures with gcc cygnus-2.4.5-930417.
31693
31694 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
31695 comp-info.exp so it gets built if it doesn't exist.
31696
31697 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
31698 it is no longer used.
31699 * gdb.t13/comp-info.c: Removed.
31700
31701Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31702
31703 * gdb.t06/signals.exp: Add xfail for sun3.
31704
31705Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31706
31707 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
31708 relevant because ^C doesn't get sent but failure can be reproduced
31709 interactively).
31710
31711Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31712
31713 * gdb.stabs/alpha.mt: New configuration file for alpha.
31714 * gdb.stabs/configure.in: Use it.
31715 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
31716 sharing with alpha.mt, redefine long to word via preprocessor.
31717 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
31718 for alpha.
31719 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
31720 native cc.
31721 * gdb.t00/teststrategy.exp: Change expect string so that we
31722 consume the `(xgdb)' from the command echo and from the gdb prompt.
31723 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
31724 gdb currently compares all values as long, so this failure probably
31725 applies to any configuration where LONGEST is bigger than a target int.
31726 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
31727 with gcc.
31728 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
31729 to handle opaque pointers, gcc is.
31730 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
31731 as first argument. Include <sys/types.h> and change all operator
31732 new definitions to use size_t.
31733 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
31734 now that we use size_t.
31735
31736Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31737
a9c64011 31738 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 31739 a long or float array cast all array members to the same type.
a9c64011 31740 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 31741 with 64 bit longs.
a9c64011 31742 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 31743 on alpha.
a9c64011 31744 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
31745
31746Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31747
31748 * gdb.t24 (demangle.exp): Constructors of templates have names like
31749 vector<int>::vector(int) not vector<int>::vector<int>(int). See
31750 section 14.6 of the ARM.
31751
31752 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
31753 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
31754 accomplish little and slow down the testsuite.
31755
31756 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
31757 Accept spaces various places.
31758
31759Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31760
31761 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
31762 with watchpoint enabled.
31763
31764 * Makefile.in: Remove definition of CC and remove the second
31765 definition of CXX (the "CXX = gcc" one remains). These definitions
31766 were causing backquotes to be expanded within backquotes, which
31767 doesn't work.
31768
31769Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
31770
31771 * gdb.t17/callfuncs.exp: Add "return 0" to end.
31772
31773Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31774
a9c64011
AS
31775 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
31776 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
31777 by mips cc and contains no stabs entries.
31778
31779Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
31780
31781 * config/vx-gdb.exp: Use fake device to load files rather than
31782 NFS.
31783 * lib/gdb.exp: New proc to do "file" command.
31784 * config/unix-gdb.exp: Use new "file" proc.
31785
31786Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
31787
31788 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
31789 Rework board rebooting slightly.
31790 (gdb_exit): Don't exit from the remote shell; there isn't one.
31791 * gdb.stabs/weird.exp: If a program is being debugged already,
31792 kill it.
31793 * gdb.t04/setvar.exp: Stop and restart gdb.
31794 * gdb.t05/expr.exp: Likewise.
31795 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
31796 restart gdb and reload the program.
31797 * gdb.t08/opaque.exp: Likewise.
31798 * gdb.t12/scope.exp: Likewise.
31799 * gdb.t13/bitfields.exp: Likewise.
31800 * gdb.t15/funcargs.exp: Likewise.
31801 * gdb.t20/classes.exp: Likewise.
31802 * gdb.t03/ptype.exp: Increase timeout.
31803 * gdb.t16/printcmds.exp (test_print_string_constants,
31804 test_print_array_constants): Likewise.
31805 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
31806 * gdb.t20/classes.exp (do_tests): Likewise.
31807 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
31808
31809Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
31810
31811 * gdb.stabs: Renamed *wierd* to *weird*.
31812
31813Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
31814
31815 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
31816 for timeout. Add "known gcc 2.4.5 bug" to failure message.
31817
31818Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
31819
31820 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
31821 (do_tests): Remove xfail for whatis on one_var and two_var.
31822
31823Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
31824
31825 * Makefile.in: Made cross building work better by adding
31826 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
31827
31828Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31829
31830 * gdb.t15/{return.c,return.exp,Makefile.in}:
31831 New test, currently commented out.
31832
31833Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
31834
31835 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
31836 still running and removes the leftover named socket so GDb can do
31837 clean restarts.
31838
31839Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
31840
31841 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
31842 console, not GDB.
31843 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
31844 cross testing works better with "make check"
31845 * config/unix-gdb: Use default procedures for exit and version.
31846 * config/vx-gdb.exp: Cleaned up and massaged back to working order
31847 with the newest VxWorks.
31848
31849Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31850
31851 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
31852 old form.
31853
31854 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
31855 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
31856
31857 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
31858
31859 * config/unix-gdb.exp: Remove this version of gdb_exit
31860 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
31861 Rob says he'll look at it when he gets back to testing boards.
31862
31863Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
31864
31865 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
31866 an expected fail for certain ptype commands.
31867
31868 * gdb.t20/classes.exp: Update expected results of "ptype class
31869 Base1" to account for the constructor that now appears in the type.
31870
31871Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
31872
31873 * configure.in (configdirs): Restore gdb.t04, which mysteriously
31874 disappeared from list.
31875 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
31876 "alldone" proc with call to cleanup and exit.
31877 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
31878 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
31879 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
31880 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
31881 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
31882 "alldone" proc with simple returns that suppress remaining
31883 tests. The alldone proc went away many months ago.
31884
31885Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31886
31887 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
31888
31889 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
31890
31891Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31892
31893 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
31894 as vax gdb will display them.
31895
31896Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31897
31898 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
31899 optimizers.
31900
31901 * scope.exp: Change "bad value for localval" messages so each one
31902 is unique.
31903
31904 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
31905 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
31906
31907 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
31908
31909Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31910
31911 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
31912 doesn't exist (due to optimization).
31913
31914Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31915
31916 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
31917 contains \r because the filename is long.
31918
31919 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
31920 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
31921
31922Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31923
31924 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
31925 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
31926 Ultrix.
31927 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
31928 int tests.
31929 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
31930
31931Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
31932
31933 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
31934
31935 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 31936 to match does not match the passing case but still matches the
c906108c
SS
31937 failing case.
31938
31939Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31940
31941 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
31942
31943Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
31944
31945 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
31946 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
31947 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
31948 Remove various versions of gdb_exit.
31949 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
31950 gdb_exit.
31951 * config/unix-gdb.exp: gdb_exit remains here, and should override
31952 the generic version, since it's doing a lot of wierd stuff that
31953 the other versions aren't. FIXME, fold it in, or abandon this
31954 version.
31955
31956Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31957
31958 * gdb.t24/demangle.exp: Add tests for PR 3220.
31959
31960Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31961
31962 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
31963
31964Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
31965
31966 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
31967 "i386-*-*". Works for i486 as well.
31968
31969 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
31970 bug, and expand domain of xfail to all SVR4 systems, since the
31971 actual problem is likely to be in generic SVR4 /proc support.
31972
31973Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31974
31975 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
31976
31977Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
31978
31979 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
31980 xfails for other systems. Match a missing 'Continuing.' as an
31981 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
31982
31983 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
31984 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
31985 Only issue warning for missing executables if -all option is used.
31986
31987 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
31988 file if -all option is used. It's like an unpredictable XFAIL.
31989
31990Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31991
31992 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
31993 for dynamically linked binaries.
31994
31995 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
31996
31997Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31998
31999 * gdb.t20/inherit.exp: Change message for "print tagless struct"
32000 to state that this is a known bug in old versions of g++.
32001
32002Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32003
32004 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
32005 while waiting for `Continuing'.
32006
32007Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
32008
32009 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
32010 in text, data, and bss.
32011 * gdb.t10/nodebug.c: Add local and global test variables for
32012 initialized and uninitialized data.
32013
32014Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32015
32016 * config/unix-gdb.exp (gdb_exit): Add "wait".
32017
32018Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32019
32020 * gdb.t06/signals.exp: xfail the continue from the handler for all
32021 targets.
32022
32023 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
32024 function with watchpoints enabled, the i386 call dummy starts with
32025 a call.
32026
32027 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
32028 386 bsd names its corefiles.
32029
32030Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
32031
32032 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
32033 compilers don't grok it.
32034 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
32035 with small octal ints rather than character constants, which
32036 are signed and might not fit if first promoted to int.
32037
32038Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
32039
32040 * gdb.t09/Makefile.in (clean): Remove corefile.
32041
32042Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32043
32044 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
32045
32046Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32047 and Jim Kingdon (kingdon@cygnus.com)
32048
32049 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
32050 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
32051 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
32052
32053Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32054
32055 * gdb.t17/interrupt.exp: Add xfail for hppa.
32056
32057Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32058
32059 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
32060 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
32061 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
32062 to determine signed-ness of bitfields and use the result to setup
32063 the xfail.
32064 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
32065 * gdb.t15/funcargs.exp: Use them to step until the second indirect
32066 call line is reached if necessary.
32067
32068Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32069
32070 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
32071
32072Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32073
32074 * gdb.t06/break.exp: Also test `clear' command.
32075
32076Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32077
32078 * gdb.t00/teststrategy.exp: Remove extra quote.
32079
32080 * gdb.t07/watchpoint.exp: Change xfail for calling function with
32081 watchpoint enabled to be for all non-68k machines.
32082
32083 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
32084
32085Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32086
32087 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
32088 targets use aout.mt instead of ecoff.mt as gas understands
32089 standard aout format.
32090
32091Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32092
32093 * lib/gdb.exp (runto): Don't insist that function we are running to
32094 was compiled with -g.
32095
32096 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
32097
32098 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
32099 to get back into the read system call.
32100 Accept leading newline in case where we woke it up.
32101
32102Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32103
32104 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
32105 to make the stabs test work on ecoff systems using gcc and -with-stabs.
32106 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
32107 enable ecoff configuration.
32108
32109Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32110
32111 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
32112
32113Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32114
32115 * gdb.t16/printcmds.exp: Add another printf test.
32116
32117Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
32118
32119 * configure.in: If configured -with-stabs on any target, add
32120 stabsdirs to configdirs.
32121
32122Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32123
32124 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
32125 fun" so pattern does not match the command itself.
32126
32127Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32128
32129 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
32130
32131Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32132
32133 * gdb.t17/interrupt.exp: Test for more things.
32134
32135Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32136
32137 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
32138 compiler arranges the code and line numbers.
32139
32140 * gdb.t17/interrupt.exp: Don't send \n after ^C.
32141
32142Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32143
32144 * gdb.t00/help.exp: Increase expect input buffer size.
32145
32146Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32147
32148 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
32149
32150 * gdb.t07/watchpoint.exp: Add xfail for hppa.
32151
32152 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
32153
32154 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
32155 [0-9]*, not just [0-9].
32156
32157Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32158
32159 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
32160
32161 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
32162
32163Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32164
32165 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
32166
32167Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32168
32169 * gdb.t06/signals.c: Add xfails for sun3.
32170
32171 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
32172
32173 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
32174 test_stepping tests.
32175
32176Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32177
32178 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
32179
32180 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
32181
32182 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
32183 rather than actually putting it through cpp twice.
32184
32185 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
32186
32187Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
32188
32189 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
32190 no longer needed.
32191
32192Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32193
32194 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
32195
32196 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
32197 C++ features prints as "struct", make it a pass, not an xfail.
32198
32199Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32200
32201 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
32202 Don't require VA to print as "class" rather than "struct".
32203
32204Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
32205
32206 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
32207
32208Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32209
32210 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
32211
32212Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32213
32214 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
32215 order.
32216
32217Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32218
32219 * gdb.t16/printcmds.exp: Add printf tests.
32220
32221 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
32222
32223 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
32224
32225Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
32226
32227 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
32228 pass counts, to counteract any existing or future setup_xfails.
32229
32230Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32231
32232 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
32233 {BEGIN,END}_COMMON for common block instead of STAB.
32234 * gdb.stabs/wierd.exp: Add xfail for rs6000.
32235
32236 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
32237 intp_var should be N_GSYM not N_LSYM.
32238 wierd-aout.S: Use a label for the value of the N_SO.
32239 wierd.def: Remove all backslashes.
32240 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
32241
32242Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32243
32244 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
32245 get the expected next to inheritance3.
32246
32247Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32248
32249 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
32250 now that gcc-2.4 gets it right.
32251
32252Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32253
32254 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
32255
32256 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
32257 generating comp-info.exp which works for cross-compilation.
32258
32259Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
32260
32261 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
32262 "*-*-sysv4.*".
32263
32264Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
32265
32266 * gdb.t01/run.exp: Start with a fresh gdb.
32267 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
32268 SVR4.x.
32269
32270Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
32271
32272 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
32273 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
32274 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
32275 Makefile.in (distclean, realclean): Remove gdbme.c from list of
32276 things to remove.
32277
32278Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
32279
32280 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
32281 test cases from bug reports.
32282
32283Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
32284
32285 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
32286 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
32287 avoid spurious xfails.
32288 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
32289 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
32290 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
32291
32292Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
32293
32294 * gdb.t00/teststrategy.exp: Rework to provide more useful
32295 description of each test, fix problem with systems that define
32296 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
32297 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
32298 results for "next over recursive call" so timeouts aren't taken
32299 by error.
32300
32301Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
32302
32303 * gdb.t12/scope.exp: Test printing of variables before run.
32304
32305 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
32306 printed in wrong order due to sorting.
32307
32308Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
32309
32310 * gdb.t00/teststrategy.exp: Fix expected results for printing
32311 user entered string constant. Is array of char, prints with no
32312 address.
32313
32314 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
32315 commands.
32316 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
32317 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
32318 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
32319 of struct of char arrays.
32320 * gdb.t00/radix.exp: New tests for radix commands.
32321
32322Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
32323
32324 * gdb.t16/printcmd.exp: Print a variable before running program
32325 (with xfail for AIX).
32326
32327Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
32328
32329 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
32330
32331 * gdb.t16/printcmd.exp: Don't print variables before running program.
32332
32333 * gdb.t06/break.exp: Don't require envp argument to main.
32334
32335 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
32336
32337 * gdb.t02/whatis.exp, gdb.t11/list.exp:
32338 Add xfails for rs6000.
32339
32340 * gdb.t02/whatis.exp: Change other tests not to re-test something
32341 we already tested.
32342
32343 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
32344 each type used has a variable of that type.
32345
32346Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
32347
32348 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
32349
32350Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
32351
32352 * configure.in: change srctrigger to be a file, not a directory
32353
32354Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
32355
32356 * configure.in (mips-idt-ecoff*): Added trailing '*'.
32357
32358 * gdb.t11/list.exp: Fixed a couple of typos.
32359
32360Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
32361
32362 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
32363 is fixed and PR is closed.
32364 * gdb.t16 (gdbme.c): Add simple test string variable.
32365 * gdb.t16 (printcmds.exp): Add tests with simple test string
32366 variable, primarily for boundaries on "set print elements".
32367
32368Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
32369
32370 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
32371 Make leading 0's optional and don't expect a tab in the middle
32372 of the number.
32373
32374 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
32375
32376 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
32377 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
32378 don't end command passed to gdb_test with newline.
32379
32380 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
32381 signed keyword away, don't expect signed bitfields to be signed.
32382
32383 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
32384 printing with only as many 1's as are in the field as well as printing
32385 with 32 1's (see comment).
32386
32387Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
32388
32389 * gdb.t00/default.exp: Start with a fresh gdb.
32390 * configure.in (configdirs): Remove gdb.t31 until the chill
32391 compiler works again. It no longer is able to find chillrt0
32392 since it isn't in libchill.a anymore.
32393 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
32394 wierd.o, make more modular.
32395 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
32396 spurious newlines that caused problems.
32397
32398Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32399
32400 * Move test with enums and partial symbols from gdb.t03/ptype.exp
32401 to gdb.stabs/wierd.exp since GCC has worked around the bug.
32402 gdb.stabs/wierd.{exp,def}: Many new tests.
32403
32404 * gdb.t00/default.exp: update info line for new message.
32405
32406 * gdb.t02/{whatis.exp,gdbme.c}:
32407 Test that "char *" doesn't print as "caddr_t".
32408
32409Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32410
32411 * gdb.t00/help.exp: Use .* in place of some help messages which
32412 just changed.
32413 gdb.t00/default.exp: Update "info frame" test for new message.
32414 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
32415 Remove some xfails
32416
32417Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32418
32419 * gdb.t03/{gdbme.c,ptype.exp}:
32420 Add tests for typedef'd struct and union without tags.
32421 Also check "whatis" on a variable of a typedef'd enum without a tag.
32422
32423 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
32424 PRMS 1823; the bug still exists but isn't reproduced by this test
32425 anymore), and remove rs6000 XFAIL (the bug is fixed).
32426
32427 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
32428 duplicated from whatis.exp. For those that are left, accept
32429 "long", "long int", or "int" for long variables (whatis.exp already
32430 has an XFAIL for "int", so no need to fail it here).
32431
32432 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
32433 Deal with GCC's names for types now that GDB uses the compiler's names.
32434
32435 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
32436 setup_xfail's for sunos4. If we #defined the signed keyword away,
32437 don't expect GDB to know that char it is signed.
32438
32439 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
32440
32441Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
32442
32443 * configure.in (configdirs): Add gdb.t24 for C++ tests that
32444 should work on any system, regardless of debugging format.
32445 * gdb.t21/demangle.exp: Move to gdb.t24.
32446 * gdb.t24/demangle.exp: Move from gdb.t21.
32447 * gdb.t24/{Makefile.in, configure.in}: New files.
32448
32449Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32450
32451 * configure.in: Do gdb.stabs and C++ tests only for stabs.
32452 * gdb.stabs: New directory.
32453
32454Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32455
32456 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
32457 not just "Quit anyway?".
32458
32459Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
32460
32461 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
32462 that all setup_xfails are immediately followed by clear_xfails.
32463
32464Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
32465
32466 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
32467 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
32468 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
32469 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
32470 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
32471 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32472 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32473 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
32474 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
32475 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
32476 gdb.t31/chillvars.exp, lib/gdb.exp:
32477 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
32478 bug-gdb@prep.ai.mit.edu.
32479
32480Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
32481
32482 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
32483 with 0.0, not integer 0.
32484
32485Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
32486
32487 * gdb.t06/break.exp: Update for "Kill the program" message change.
32488
32489Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
32490
32491 * Makefile.in (GDBFLAGS): Set to -nx.
32492 * Makefile.in (site.exp): Use GDBFLAGS.
32493
32494Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32495
32496 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
32497 Makefiles.
32498 (check): depend on just-check.
32499 (just-check): added so that tests can be run without a noop
32500 build pass.
32501
32502Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32503
32504 Switch to using configure's configdirs.
32505 * Makefile.in (Makefile): add configure.in dependency.
32506 (SUBDIRS): removed redundant assignment.
32507 * configure.in: switch subdirs assignment to configdirs.
32508 * gdb.t*/configure.in: new files.
32509
32510Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
32511
32512 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
32513 works.
32514
32515Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
32516
32517 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
32518 in explicit rules. Apparently this is not supported by some makes.
32519
32520Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
32521
32522 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
32523
32524Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32525
32526 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
32527 disappeared.
32528
32529Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
32530
32531 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
32532
32533Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
32534
32535 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
32536 watchpoint problem that is now fixed.
32537 * gdb.t30/chexp.exp: Remove setup_xfail for printing
32538 uninitialized convenience variables.
32539 * gdb.t31/chillvars.exp: Fix expected patterns for printing
32540 structures.
32541
32542Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32543
32544 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
32545 which causes expect to get out of sync with gdb on long output
32546 from help set.
32547 * gdb.t09/corefile.exp: Make expected pattern for core file
32548 failing signal and frame output format less sun specific.
32549
32550Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
32551
32552 * gdb.t31/chillvars.exp: Add and remove initial dummy
32553 breakpoint, so that symbol table is forced in.
32554 (Needed at least on Sunos4, though it seems not SVR4.)
32555 * gdb.t31/chillvars.exp: Update for changed output format.
32556
32557Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
32558
a9c64011 32559 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
32560
32561Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
32562
32563 * Makefile.in: Added --srcdir when invoking runtest, removed the
32564 need for a local config file. (optional now)
32565
32566Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
32567
32568 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
32569 failure count used to force early termination. Add some more
32570 expected failures for gnu style demangling.
32571
32572Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32573
32574 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
32575 pmi variable from gdb.t20/gdbme to get optimized away.
32576 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
32577 Check for written corefile upon timeout _and_ eof.
32578
32579Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32580
32581 * config/unix-gdb.exp: Add missing return 0.
32582
32583Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32584
32585 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
32586 test termination.
32587
32588Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
32589
32590 * configure.in (subdirs): Put back gdb.t17 which mysteriously
32591 disappeared.
32592
32593Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
32594
32595 * gdb.t10/crossload.exp: Disable the i860-elf test until such
32596 time as i860 support works.
32597
d63a86f8 32598 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
32599 "backtrace 100\r" rather than just "backtrace\r", to match last
32600 change.
32601
32602Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
32603
32604 * config/udi-gdb.exp (gdb_exit): Remove close command.
32605 (gdb_target_udi): New procedure to set the UDI target.
32606 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
32607 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
32608 Added waits for prompts after several question responses. Added
32609 some more responses used by a29k-amd-udi-gdb.
32610 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
32611 pass different arguments, restart UDI connection after program
32612 completion.
32613 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
32614 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32615 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
32616 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
32617 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
32618 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
32619 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32620 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
32621 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
32622 after program completion.
32623 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
32624 compiled with a SELECT_VECS setting.
32625 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
32626 infinite recursion.
32627
32628 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
32629 Added checks for COFF results, and made them expected failures for
32630 all targets. It would be better to make them expected failures
32631 for COFF targets only.
32632
32633Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
32634
32635 * Makefile.in: add null dvi target, don't bother to recurse
32636 through test directories for info and install-info; rename
32637 $(datadir) to be dejagnu instead of deja-gnu
32638
32639Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
32640
32641 * gdb.t31/gdbme.ch: Re-enable code that previously caused
32642 compiler to coredump.
32643 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
32644 code.
32645
32646Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
32647
32648 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
32649 coredump.
32650 * gdb.t31/chillvars.exp: Comment out tests that depend on that
32651 code.
32652
32653Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
32654
32655 * gdb.t03/ptype.exp: tests for return code from gdb_test.
32656 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
32657 which in a shell. Deletes xgdb when done.
32658 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
32659 Tests the return from the "set height" or "set width" commands.
32660 Added a few return codes where needed.
32661
32662Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
32663
32664 * Makefile.in (SUBDIRS): Add gdb.t17.
32665 * configure.in (subdirs): Add gdb.t17.
32666 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
32667 files to test gdb's calling of functions in the inferior with
32668 the correct arguments and gdb's ability to retrieve any
32669 result returned.
32670
32671Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
32672
32673 * config/unix-gdb.exp (gdb_exit): Remove close commands that
32674 may be called after gdb goes away. Previous versions of expect
32675 needed these to avoid file descriptor leaks, but they cause
32676 errors with the current revision of expect.
32677 * gdb.t00/gdbvars.exp: Use -re on expected output after
32678 setting sevenbit-strings.
32679 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
32680 to set sevenbit-strings consistent across tests.
32681 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
32682 set sevenbit-strings consistent across tests.
32683
32684Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
32685
32686 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
32687 expected output to match current "expect" expectations.
32688
32689Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
32690
32691 * gdb.t00/default.exp: Change expected output for default "source"
32692 command, to match new gdb behavior which requires a filename to
32693 source.
32694
32695Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
32696
32697 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
32698 expected fail for i486-*-* that misses the marker2 function.
32699 * gdb.t10/crossload.exp (bfddefault): Allow successful
32700 recognition of a format to pass even if no symbols are found.
32701 Explicitly catch failures where the format is not recognized
32702 or is ambiguous, and add the reason to the fail message.
32703 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
32704 the cause is and invalid target and add reason to failure message.
32705 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
32706 elf32-i386, elf32-sparc, and elf32-i860.
32707 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
32708 Set up expected failure for 'filename'::variable scope resolution,
32709 which is now apparently broken on all targets.
32710 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
32711 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
32712 gdb.t23/templates.exp: Change failure for missing binfile into
32713 just a warning.
32714 gdb.t21/demangle.exp: Change all cfront references to 'arm'
32715 references.
32716
32717Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
32718
32719 * gdb.t00/default.exp: Add expected output for default "source"
32720 command, to match new gdb behavior.
32721 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
32722
32723Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
32724
32725 * config/*-gdb.exp: returns an error, rather than exiting on
32726 internal errors.
32727
32728Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
32729
32730 * gdb.t03/gdbme.c: Add pointer to struct variable.
32731 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
32732 referencing struct members.
32733
32734Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
32735
32736 * configure.in (mips-idt-ecoff): New target.
32737 * config/mips-gdb.exp: New file for remote board using MIPS remote
32738 debugging protocol.
32739
32740 * Redid configuration scheme. Removed gdb.t*/configure.in.
32741 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
32742 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
32743 distclean targets. Built executables via .o files. Adjusted
32744 tests to account for source files in $(srcdir) rather than
32745 $(objdir).
32746 * lib/gdb.exp (runto): Don't expect () after the function name,
32747 because it may have arguments.
32748
32749Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
32750
32751 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
32752 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
32753 expected failures for mips-idt-* and mips-sgi-*.
32754 * gdb.t00/default.exp (attach): Kill process if requested.
32755 * gdb.t00/help.exp (help target core, help target): Accept a gdb
32756 that does not read core files.
32757 * gdb.t01/run.exp: Removed checks for exit status code.
32758 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
32759 it is linked in.
32760 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
32761 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
32762 appropriate, rather than doing it by hand.
32763 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
32764 execution.
32765 * gdb.t10/crossload.exp: Kill existing program if needed.
32766 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
32767 appropriate, rather than doing it by hand. Always increase
32768 timeout for this test, not just for VxWorks.
32769
32770Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
32771
32772 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
32773 of Chill STRUCT types and STRUCT values.
32774 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
32775 than "char".
32776 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 32777 struct2): New struct definitions and initializations to test
c906108c
SS
32778 simple Chill STRUCT types.
32779
32780Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
32781
32782 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
32783 the null byte at the end of strings.
32784 * gdb.t00/default.exp: Make show version insensitive to copyright
32785 date.
32786 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
32787 to avoid dependencies on target char signedness.
32788 * gdb.t16/printcmds.exp: Update expected results for explicitly
32789 unsigned char.
32790 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
32791 now work.
32792 * gdb.t21/demangle.exp: Add many more patterns for template
32793 demangling, most of them being expected failures.
32794 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
32795 string we are matching for, to match on the whole string.
32796 * gdb.t21/demangle.exp: Add many new test strings to demangle,
32797 and fix a whole bunch that had incorrect expected output but were
32798 passing anyway because of the bug in "proc demangle".
32799 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
32800 type.
32801 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
32802
32803Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
32804
a9c64011
AS
32805 * gdb/testsuite: made modifications to testcases, etc., to allow
32806 them to work properly given the reorganization of deja-gnu and the
32807 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
32808
32809Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
32810
32811 * gdb/testsuite: Initial creation of gdb/testsuite.
32812 Migrated dejagnu testcases and support files for testing nm to
32813 gdb/testsuite from deja-gnu. These files were moved "as is"
32814 with no modifications. This migration is part of a major overhaul
32815 of dejagnu. The modifications to these testcases, etc., which
32816 will allow them to work with the new version of dejagnu will be
32817 made in a future update.
48efe704 32818
8d8cb839 32819 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 32820\f
8d8cb839
EZ
32821;; Local Variables:
32822;; mode: change-log
32823;; left-margin: 8
32824;; fill-column: 74
32825;; version-control: never
32826;; End:
902f2ccb 32827
28e7fd62 32828 Copyright 1993-2013 Free Software Foundation, Inc.
902f2ccb
MC
32829 Copying and distribution of this file, with or without modification,
32830 are permitted provided the copyright notice and this notice are preserved.
This page took 3.40224 seconds and 4 git commands to generate.