]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Remove path from gdb.python/py-pp-integral.exp "source" test.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
4e23fced
JB
12014-01-10 Joel Brobecker <brobecker@adacore.com>
2
3 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4
c6a9e42c
PA
52014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
6 Pedro Alves <palves@redhat.com>
7
8 * gdb.mi/mi-info-os.exp: Connect to the target with
9 mi_gdb_target_load.
10
b7ea362b
PA
112014-01-08 Pedro Alves <palves@redhat.com>
12
13 * gdb.threads/reconnect-signal.c: New file.
14 * gdb.threads/reconnect-signal.exp: New file.
15
5e3f4fab
EBM
162014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17
18 * gdb.base/source-dir.exp: New file.
19
79301218
JB
202014-01-07 Joel Brobecker <brobecker@adacore.com>
21
22 * gdb.ada/mi_interface: New testcase.
23
8e355c5d
JB
242014-01-07 Joel Brobecker <brobecker@adacore.com>
25
26 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
27 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
28 gdb.ada/pp-rec-component/pck.ads: New files.
29
c0d48811
JB
302014-01-07 Joel Brobecker <brobecker@adacore.com>
31
32 * gdb.python/py-pp-integral.c: New file.
33 * gdb.python/py-pp-integral.py: New file.
34 * gdb.python/py-pp-integral.exp: New file.
35
4924df79
GKB
362013-12-19 Sergio Durigan Junior <sergiodj@redhat.com>
37
38 PR breakpoints/16297
39 * gdb.base/catch-syscall.c (read_syscall, pipe_syscall)
40 (write_syscall): New variables.
41 (main): Create a pipe, write 1 byte in it, and read 1 byte from
42 it.
43 * gdb.base/catch-syscall.exp (all_syscalls): Include "pipe,
44 "write" and "read" syscalls.
45 (fill_all_syscalls_numbers): Improve the way to obtain syscalls
46 numbers.
47
530e8392
KB
482013-12-19 Keven Boell <keven.boell@intel.com>
49
50 * gdb.fortran/module.exp: Completion matches fortran module
51 names as well. ptype/whatis on modules return a proper type.
52 Add new check for having the correct scope.
53
7f9b20bb
KB
542013-12-19 Keven Boell <keven.boell@intel.com>
55
56 * gdb.fortran/type.f90: New file.
57 * gdb.fortran/whatis_type.f90: New file.
58
2e0d821f
SDJ
592013-12-18 Sergio Durigan Junior <sergiodj@redhat.com>
60
61 * gdb.base/catch-syscall.c: Include <sys/syscall.h>.
62 (close_syscall, chroot_syscall, exit_group_syscall): New
63 variables.
64 * gdb.base/catch-syscall.exp: Replace gdb_compile by
65 prepare_for_testing. Call fill_all_syscalls_numbers before
66 starting. Replace gdb_exit, gdb_start, gdb_reinitialize_dir and
67 gdb_load by clean_restart.
68 (check_info_bp_any_syscall, check_info_bp_specific_syscall)
69 (check_info_bp_many_syscalls): Remove global gdb_prompt.
70 (check_call_to_syscall): Likewise. Add global decimal. Improve
71 testing regex.
72 (check_return_from_syscall): Likewise.
73 (check_continue, insert_catch_syscall_with_arg): Remove global
74 gdb_prompt.
75 (insert_catch_syscall_with_many_args): Likewise. Add global
76 decimal. Fix $filter_str. Improve testing regex.
77 (check_for_program_end): Remove global gdb_prompt.
78 (test_catch_syscall_without_args): Likewise. Add global decimal.
79 Improve testing regex.
80 (test_catch_syscall_with_args, test_catch_syscall_with_many_args)
81 (test_catch_syscall_with_wrong_args)
82 (test_catch_syscall_restarting_inferior)
83 (test_catch_syscall_fail_nodatadir): Remove global gdb_prompt.
84 (do_syscall_tests): Likewise. Remove global srcdir.
85 (test_catch_syscall_without_args_noxml): Remove global gdb_prompt.
86 Add global last_syscall_number. Test for the exact syscall number
87 to be caught.
88 (test_catch_syscall_with_args_noxml): Remove global gdb_prompt.
89 Add global all_syscalls_numbers. Test each syscall number to be
90 caught, instead of only testing "close".
91 (test_catch_syscall_with_wrong_args_noxml): Remove global gdb_prompt.
92 (do_syscall_tests_without_xml): Likewise. Remove global srcdir.
93 Remove stale comment.
94 (fill_all_syscalls_numbers): Add global last_syscall_number. Fill
95 the correct syscall numbers using information from the inferior.
96
5ce0145d
PA
972013-12-17 Pedro Alves <palves@redhat.com>
98
99 * gdb.trace/circ.exp: Expect frame info to be printed when
100 switching between frames with unavailable stack, but different
101 functions.
102
bdf22206
AB
1032013-12-17 Andrew Burgess <aburgess@broadcom.com>
104
105 * gdb.trace/unavailable-dwarf-piece.c: New file.
106 * gdb.trace/unavailable-dwarf-piece.exp: New file.
107
07d100d4
YQ
1082013-12-15 Yao Qi <yao@codesourcery.com>
109
110 * gdb.perf/skip-prologue.c: New.
111 * gdb.perf/skip-prologue.exp: New.
112 * gdb.perf/skip-prologue.py: New.
113
8a48ac95
JB
1142013-12-13 Joel Brobecker <brobecker@adacore.com>
115
116 * gdb.ada/arraydim: New testcase.
117
a16b0e22
SC
1182013-12-12 Siva Chandra Reddy <sivachandra@google.com>
119
120 PR python/16113
121 * gdb.python/py-value-cc.cc: Improve test case.
122 * gdb.python/py-value-cc.exp: Add new tests to test usage of
123 gdb.Field objects as subscripts on gdb.Value objects.
124
0987cf35
DE
1252013-12-10 Doug Evans <dje@google.com>
126
7b3fd68b 127 PR 16286
0987cf35
DE
128 * gdb.python/py-value.c: #include stdlib.h, string.h.
129 (str): New struct.
130 (main): New local xstr.
131 * gdb.python/py-value.exp (test_value_in_inferior): Add test to
132 fetch a value as a string with a length beyond the declared length
133 of the array.
134
409d8f48
AB
1352013-12-10 Andrew Burgess <aburgess@broadcom.com>
136
137 * lib/gdb.exp (gdb_compile_shlib): Add call to get_compiler_info,
138 update comment.
139
036e93df
JB
1402013-12-10 Joel Brobecker <brobecker@adacore.com>
141
142 * gdb.ada/int_deref.exp: Add test verifying that we print
143 the decoded symbol name when printing the address of Ada
144 symbols.
145
72bfa06c
JB
1462013-12-10 Joel Brobecker <brobecker@adacore.com>
147
148 * gdb.mi/mi-start.exp: Add test verifying that -list-features
149 contains "exec-run-start-option".
150
11ec5965
YQ
1512013-12-08 Yao Qi <yao@codesourcery.com>
152
153 * lib/gdb.exp (support_complex_tests): Use gdb_produce_source.
154 (is_elf_target, is_ilp32_target, is_ilp64_target): Likewise.
155 (is_64_target, is_amd64_regs_target): Likewise.
156 (skip_altivec_tests, skip_vsx_tests, skip_btrace_tests): Likewise.
157
594d8fa8
MF
1582013-12-07 Mike Frysinger <vapier@gentoo.org>
159
160 * gdb.ada/uninitialized_vars/parse_controlled.ads: Remove +x file mode.
161 * gdb.base/testenv.c: Likewise.
162
d9a196da
MF
1632013-12-07 Mike Frysinger <vapier@gentoo.org>
164
165 * gdb.hp/gdb.base-hp/so-thresh.sh: Change /bin/ksh to /bin/sh.
166 * gdb.hp/gdb.objdbg/tools/symaddr: Likewise.
167 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: Likewise.
168
782d47df
PA
1692013-12-06 Pedro Alves <palves@redhat.com>
170
171 * gdb.dwarf2/dw2-undefined-ret-addr.S: New file.
172 * gdb.dwarf2/dw2-undefined-ret-addr.c: New file.
173 * gdb.dwarf2/dw2-undefined-ret-addr.exp: New file.
174
399d6e30
DE
1752013-12-06 Doug Evans <dje@google.com>
176
177 * gdb.base/break.exp: Fix setting of $baz.
178
16b5a7cb
AB
1792013-12-06 Andrew Burgess <aburgess@broadcom.com>
180
181 * lib/dwarf.exp: (Dwarf::_location): Handle DW_OP_bit_piece and
182 DW_OP_plus_uconst.
183
f84bc218
KB
1842013-12-06 Keven Boell <keven.boell@intel.com>
185
186 * lib/mi-support.exp (mi_list_varobj_children_range): Add
187 call to mi_list_array_varobj_children_with_index.
188 (mi_list_array_varobj_children_with_index): New function.
189 Add parameter to specify array start.
190
489e41dd 1912013-12-03 Jose E. Marchesi <jose.marchesi@oracle.com>
f1300300
JM
192
193 * gdb.base/sigall.exp (test_one_sig): gdb identifies SIGLOST as a
194 SIGPWR in sparc64.
195
196 * gdb.base/sigall.c (main): In some targets SIGLOST and SIGPWR
197 have the same signal number. Handle this situation.
198
7fb1b8b1
JB
1992013-12-03 Joel Brobecker <brobecker@adacore.com>
200
201 * gdb.ada/dot_all: New testcase.
202
2ea126fa
JB
2032013-12-03 Joel Brobecker <brobecker@adacore.com>
204
205 * gdb.mi/mi-undefined-cmd.exp: New testcase.
206
6b7cbff1
JB
2072013-12-03 Joel Brobecker <brobecker@adacore.com>
208
209 * gdb.mi/mi-i-cmd.exp: New file.
210
04affae3
JK
2112013-12-02 Doug Evans <dje@google.com>
212
213 * gdb.dwarf/dwp-symlink.c: Fake out gdb to not load debug info
214 at start.
215 * gdb.dwarf/dwp-symlink.exp: Test trying to load dwp when the binary
216 has been specified with a relative path and we have chdir'd before
217 accessing the debug info.
218
eebc056c
AB
2192013-11-28 Andrew Burgess <aburgess@broadcom.com>
220
221 * gdb.trace/unavailable.exp (gdb_collect_args_test): Update
222 expected results.
223 (gdb_collect_locals_test): Likewise.
224 (gdb_collect_globals_test): Likewise.
225
8b5e6dc2
YQ
2262013-11-28 Yao Qi <yao@codesourcery.com>
227
228 * lib/gdb.exp (with_gdb_prompt): New proc.
229 * gdb.perf/disassemble.exp: New.
230 * gdb.perf/disassemble.py: New.
231
0db4ca18
LM
2322013-11-26 Luis Machado <lgustavo@codesourcery.com>
233
234 * gdb.base/callfuncs.c (main): Assign malloc's return value
235 and free it afterwards.
236 * gdb.base/charset-malloc.c (malloc_stub): Likewise.
237 * gdb.base/printcmds.c (main): Likewise.
238 * gdb.base/randomize.c (main): Free "p" and change breakpoint
239 marker position.
240 * gdb.base/setvar.c (dummy): Assign malloc's return value
241 and free it afterwards.
242
d24a9f15
AB
2432013-11-26 Andrew Burgess <aburgess@broadcom.com>
244
245 * gdb.base/setshow.exp: Add $gdb_prompt to the patterns in
246 gdb_test_multiple.
247
15859968
TT
2482013-11-26 Tom Tromey <tromey@redhat.com>
249
250 * gdb.dwarf2/dw2-unspecified-ret-addr.S: Remove.
251 * gdb.dwarf2/dw2-unspecified-ret-addr.c: Remove.
252 * gdb.dwarf2/dw2-unspecified-ret-addr.exp: Remove.
253
f7e3ecae
KS
2542013-11-25 Keith Seitz <keiths@redhat.com>
255
256 PR c++/14819
257 * gdb.cp/impl-this.cc: New file.
258 * gdb.cp/impl-this.exp: New file.
259
23e9d3b9
YQ
2602013-11-25 Yao Qi <yao@codesourcery.com>
261
262 * gdb.perf/backtrace.c: New.
263 * gdb.perf/backtrace.exp: New.
264 * gdb.perf/backtrace.py: New.
265
22825df7
YQ
2662013-11-24 Yao Qi <yao@codesourcery.com>
267
268 * gdb.perf/single-step.c: New.
269 * gdb.perf/single-step.exp: New.
270 * gdb.perf/single-step.py: New.
271
c1ea7c01
DE
2722013-11-23 Doug Evans <xdje42@gmail.com>
273
274 * gdb.base/ena-dis-br.exp: Add missing quote to "step after continue
275 with ignore count".
276
35720eaa
DE
2772013-11-23 Doug Evans <xdje42@gmail.com>
278
279 * gdb.python/py-value.exp (test_lazy_strings): Tweak test names.
280 (test_subscript_regression): Ditto.
281 (top level): Run test_subscript_regression for c++ with "c++" prefix.
282
3cd14e45
DE
2832013-11-23 Doug Evans <xdje42@gmail.com>
284
285 * gdb.python/py-type.exp (test_enums): Fix typo.
286
985c818c
DE
2872013-11-23 Doug Evans <xdje42@gmail.com>
288
289 * gdb.python/py-symbol.exp: Add some comments. Make all test names
290 unique.
291
f873dd7a
DE
2922013-11-23 Doug Evans <xdje42@gmail.com>
293
294 * gdb.python/py-symbol.exp: Fix whitespace.
295
38a502a4
DE
2962013-11-23 Doug Evans <xdje42@gmail.com>
297
298 * gdb.python/python.exp: Don't call skip_python_tests, we still want
299 to test some things in the case where python is not configured in.
300
c0621699
PA
3012013-11-22 Pedro Alves <palves@redhat.com>
302
303 * gdb.dwarf2/dw2-bad-cfi.S: Rename to ...
304 * gdb.dwarf2/dw2-unspecified-ret-addr.S: ... this. Adjust.
305 * gdb.dwarf2/dw2-bad-cfi.c: Rename to ...
306 * gdb.dwarf2/dw2-unspecified-ret-addr.c: ... this.
307 * gdb.dwarf2/dw2-bad-cfi.exp: Rename to ...
308 * gdb.dwarf2/dw2-unspecified-ret-addr.exp: ... this.
309
f57e61cd
TT
3102013-11-22 Tom Tromey <tromey@redhat.com>
311
312 * gdb.dwarf2/dw2-bad-cfi.S: Update comment.
313
da2b2fdf
TT
3142013-11-22 Tom Tromey <tromey@redhat.com>
315
316 * gdb.dwarf2/dw2-bad-cfi.c: New file.
317 * gdb.dwarf2/dw2-bad-cfi.exp: New file.
318 * gdb.dwarf2/dw2-bad-cfi.S: New file.
319
33f8fe58
PA
3202013-11-22 Pedro Alves <palves@redhat.com>
321
322 PR 16155
323 * gdb.dwarf2/dw2-dup-frame.S: New file.
324 * gdb.dwarf2/dw2-dup-frame.c: New file.
325 * gdb.dwarf2/dw2-dup-frame.exp: New file.
326
0a1e6121
YQ
3272013-11-22 Yao Qi <yao@codesourcery.com>
328
329 * lib/mi-support.exp (mi_create_dynamic_varobj): Update
330 comment and add one more argument "has_more".
331 * gdb.python/py-mi.exp: Callers update.
332
0061ea24
YQ
3332013-11-22 Yao Qi <yao@codesourcery.com>
334
335 * gdb.python/py-mi.exp: Use mi_create_floating_varobj instead
336 of mi_create_dynamic_varobj.
337
069d6a0f
PA
3382013-11-20 Pedro Alves <palves@redhat.com>
339
340 * gdb.base/maint.exp (maint print objfiles): Consume one line at a
341 time, and run it through all three milestone regexes.
342
10d8cbd2
SA
3432013-11-20 Sanimir Agovic <sanimir.agovic@intel.com>
344
345 * gdb.base/eval-avoid-side-effects.exp: New file.
346
57803a3c
WT
3472013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
348
60650f2e
WT
349 * gdb.arch/i386-mpx.c: New file
350 * gdb.arch/i386-mpx.exp: New file.
351
09748966
WT
3522013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
353
354 * gdb.python/py-pp-maint.exp: Consider new pretty-print added
355 for bnd registers.
356
60650f2e
WT
3572013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
358
57803a3c
WT
359 * gdb.xml/maint_print_struct.xml (bitfield): Added bitfield having
360 start and end equal 0.
361
3e9ecad3
YQ
3622013-11-19 Yao Qi <yao@codesourcery.com>
363
364 * lib/mi-support.exp (mi_child_regexp): Remove 'whatever'.
365 (mi_list_varobj_children_range): Likewise.
366
31b4ab9e
YQ
3672013-11-19 Yao Qi <yao@codesourcery.com>
368
369 * lib/mi-support.exp (mi_child_regexp): Remove unnecessary '\'.
370
4392c534
YQ
3712013-11-19 Yao Qi <yao@codesourcery.com>
372
373 * lib/mi-support.exp: Fix format.
374
df7752b0
JB
3752013-11-19 Joel Brobecker <brobecker@adacore.com>
376
377 * gdb.ada/py_range: New testcase.
378
176f037c
JB
3792013-11-18 Joel Brobecker <brobecker@adacore.com>
380
381 * mi-language.exp: Add "-list-features" test verifying that
382 its output contains "language-option".
383
ee4a1c63
JB
3842013-11-16 Joel Brobecker <brobecker@adacore.com>
385
386 * info_exc/const.ads (Aint_Global_GDB_E): Renames Aint_Global_E.
387 * info_exc/foo.adb: Adjust to new exception name.
388 * info_exc.exp: Adjust after exception renaming in const.ads.
389 Update "info exception global" test to test "info exceptions
390 global_gdb" instead.
391
392 * mi_exc_info/const.ads (Aint_Global_GDB_E): Renames Aint_Global_E.
393 * mi_exc_info/foo.adb (Adjust to new exception name.
394 * mi_exc_info.exp: Adjust after exception renaming in const.ads.
395 Update "-info-ada-exceptions global" test to test
396 "-info-ada-exceptions global_gdb" instead.
397
6ec41e1e
LM
3982013-11-15 Luis Machado <lgustavo@codesourcery.com>
399
400 * lib/mi-support.exp (mi_gdb_test): Expect different formats
401 of inferior output for remote and native sessions.
402 * gdb.mi/mi-console.exp: Remove obsolete comment.
403 Check for semihosted inferior output pattern.
404 (semihosted_string): New function.
405
391d3400
JB
4062013-11-15 Joel Brobecker <brobecker@adacore.com>
407
408 * gdb.ada/info_exc.exp: Allow other global exceptions to be
409 listed in the output of "info exceptions".
410 * gdb.ada/mi_exc_info.exp: Allow other global exceptions to be
411 listed in the output of "-info-ada-exceptions".
412
e092da29
JB
4132013-11-15 Joel Brobecker <brobecker@adacore.com>
414
415 * gdb.ada/info_exc.exp: Start inferior before starting
416 the "info exceptions" tests.
417 * gdb.ada/mi_exc_info.exp: Start inferior before starting
418 the "-info-ada-exceptions" tests.
419
805e1f19
TT
4202013-11-15 Tom Tromey <tromey@redhat.com>
421
422 * gdb.cp/includefile: New file.
423 * gdb.cp/filename.exp: New file.
424 * gdb.cp/filename.cc: New file.
425
9abb1bd6
DE
4262013-11-15 Doug Evans <xdje42@gmail.com>
427
428 * gdb.python/py-breakpoint.exp: Make tests have unique names.
429
8abea1a1
DE
4302013-11-15 Doug Evans <xdje42@gmail.com>
431
432 * gdb.python/py-breakpoint.exp: Reformat for 80 columns.
433
330a7fce
DE
4342013-11-15 Doug Evans <xdje42@gmail.com>
435
436 * gdb.python/py-breakpoint.exp: Split up into several functions,
437 each with their own test prefix.
438
0acf8b65
JB
4392013-11-15 Joel Brobecker <brobecker@adacore.com>
440
441 * gdb.ada/O2_float_param: New testcase.
442
496038b3
TT
4432013-11-14 Tom Tromey <tromey@redhat.com>
444
445 * Makefile.in (check-parallel): Print summary from gdb.sum.
446
c7e8af9b
OJ
4472013-11-14 Omair Javaid <Omair.Javaid@linaro.org>
448
449 * gdb.dwarf2/dw2-case-insensitive-debug.S: Updated compile unit
450 and function label names.
451 * gdb.dwarf2/dw2-case-insensitive.c: Created function and
452 compile unit labels.
453
403cb6b1
JB
4542013-11-14 Joel Brobecker <brobecker@adacore.com>
455
456 * gdb.mi/mi-language.exp: New file.
457
74921315
KS
4582013-09-17 Keith Seitz <keiths@redhat.com>
459
460 PR c++/7935
461 PR c++/10541
462 * gdb.cp/nsalias.exp: New file.
463 * gdb.cp/nsalias.cc: New file.
464 * gdb.cp/nsrecurs.exp: Remove kfails. Conditionally run
465 tests only on known, working compiler versions.
466
08c43050
TT
4672013-11-13 Tom Tromey <tromey@redhat.com>
468
469 * gdb.multi/multi-arch-exec.exp: Define BASEDIR when compiling.
470 * gdb.multi/multi-arch-exec.c (main): Use BASEDIR.
471
0682e708
DE
4722013-11-12 Doug Evans <dje@google.com>
473
474 * gdb.base/fileio.exp: Make $dir2 writable after the test is done
475 so that "rm -rf $builddir" Just Works.
476
a7e332c2
JB
4772013-11-12 Joel Brobecker <brobecker@adacore.com>
478
479 * gdb.ada/mi_exc_info: New testcase.
480
778865d3
JB
4812013-11-12 Joel Brobecker <brobecker@adacore.com>
482
483 * gdb.ada/info_exc: New testcase.
484
304a8ac1
DE
4852013-11-11 Doug Evans <dje@google.com>
486
487 * gdb.arch/arm-bl-branch-dest.exp: Use gdb_test_file_name instead
488 of testfile.
489
bc79de95
PM
4902013-11-11 Phil Muldoon <pmuldoon@redhat.com>
491
492 * gdb.python/py-linetable.S: New file.
493 * gdb.python/py-linetable.c: New file.
494 * gdb.python/py-linetable.exp: New file.
495
2df4d1d5
JB
4962013-11-11 Joel Brobecker <brobecker@adacore.com>
497
498 * gdb.ada/mi_ex_cond: New testcase.
499
204b5331
DE
5002013-11-07 Doug Evans <dje@google.com>
501
502 PR 11786
503 * gdb.base/gcore-relro-pie.c: New file.
504 * gdb.base/gcore-relro-pie.exp: New file.
505
92e32e33
PM
5062013-11-07 Phil Muldoon <pmuldoon@redhat.com>
507
508 * gdb.python/py-cmd.exp: Add COMPLETE_EXPRESSION tests.
509 * gdb.python/py-cmd.c: New File.
510
f76c27b5
PM
5112013-11-07 Phil Muldoon <pmuldoon@redhat.com>
512
513 * gdb.python/py-breakpoint.exp: Add temporary breakpoint tests.
514
79600f4f 5152013-11-06 Doug Evans <xdje42@gmail.com>
01e48c0c
DE
516
517 * gdb.python/py-arch.exp: Tweak test name for bad memory access test.
518
6dbb6798
YQ
5192013-11-06 Yao Qi <yao@codesourcery.com>
520
521 * lib/gdb.exp (gdb_produce_source): New procedure.
522 * gdb.perf/solib.c: New.
523 * gdb.perf/solib.exp: New.
524 * gdb.perf/solib.py: New.
525
71c0c615
YQ
5262013-11-06 Yao Qi <yao@codesourcery.com>
527
528 * README: Mention performance tests.
529
f27a1236
YQ
5302013-11-06 Yao Qi <yao@codesourcery.com>
531
532 * lib/perftest.exp: New.
533 * gdb.perf/lib/perftest/__init__.py: New.
534 * gdb.perf/lib/perftest/measure.py: New.
535 * gdb.perf/lib/perftest/perftest.py: New.
536 * gdb.perf/lib/perftest/reporter.py: New.
537 * gdb.perf/lib/perftest/testresult.py: New.
538
7636ccf9
YQ
5392013-11-06 Yao Qi <yao@codesourcery.com>
540
541 * Makefile.in (check-perf): New target.
542 * configure.ac (AC_OUTPUT): Output Makefile in gdb.perf.
543 * configure: Re-generated.
544 * gdb.perf/Makefile.in: New.
545
81208388
TT
5462013-11-04 Tom Tromey <tromey@redhat.com>
547
548 * Makefile.in (TEST_DIRS): Remove.
549 (TEST_TARGETS, check-parallel): Rewrite.
550 (check-gdb.%, BASE1_FILES, BASE2_FILES, check-gdb.base%)
551 (subdir_do, subdirs): Remove.
552 (do-check-parallel, check/%): New targets.
553 (clean): Remove outputs, temp, and cache directories.
554 (saw_dash_j): New variable.
555 (CHECK_TARGET): Use it.
556 (check): Depend on all, site.exp. Rewrite.
557 (check-single): Remove dependencies.
558 (slow_tests, all_tests, reordered_tests): New variables.
559
c63ffa1f
TT
5602013-11-04 Tom Tromey <tromey@redhat.com>
561
562 * gdb.dwarf2/fission-base.S: Remove "gdb.dwarf/".
563 * gdb.dwarf2/fission-base.exp: Set debug-file-directory
564 before loading binfile.
565 * gdb.dwarf2/fission-loclists.S: Remove "gdb.dwarf/".
566 * gdb.dwarf2/fission-loclists.exp: Set debug-file-directory
567 before loading binfile.
568
3fef966c
TT
5692013-11-04 Tom Tromey <tromey@redhat.com>
570
571 * gdb.base/foll-exec.c (main): Use BASEDIR.
572 * gdb.base/foll-exec.exp: Define BASEDIR during compilation.
573 * gdb.base/foll-vfork.c (main): Use BASEDIR.
574 * gdb.base/foll-vfork.exp: Define BASEDIR during compilation.
575 * gdb.multi/bkpt-multi-exec.c (main): Use BASEDIR.
576 * gdb.multi/bkpt-multi-exec.exp: Define BASEDIR during compilation.
577
24890efd
TT
5782013-11-04 Tom Tromey <tromey@redhat.com>
579
580 * gdb.base/argv0-symlink.exp: Compute executable's directory
581 dynamically.
582
c59ffcab
TT
5832013-11-04 Tom Tromey <tromey@redhat.com>
584
585 * gdb.asm/asm-source.exp: Use standard_output_file.
586
479c8d68
TT
5872013-11-04 Tom Tromey <tromey@redhat.com>
588
589 * gdb.server/file-transfer.exp: Use standard_output_file.
590
1e537771
TT
5912013-11-04 Tom Tromey <tromey@redhat.com>
592
593 * gdb.base/fullname.exp: Use standard_output_file,
594 relative_filename.
595 * gdb.base/hashline1.exp: Use standard_testfile,
596 standard_output_file, relative_filename, clean_restart.
597 * gdb.base/hashline2.exp: Use standard_testfile,
598 standard_output_file.
599 * gdb.base/hashline3.exp: Use standard_testfile,
600 standard_output_file, relative_filename.
601 * lib/gdb.exp (relative_filename): New proc.
602
b44b82af
TT
6032013-11-04 Tom Tromey <tromey@redhat.com>
604
605 * gdb.base/fileio.c (test_open, test_write, test_read)
606 (test_lseek, test_close, test_stat, test_fstat)
607 (test_isatty, test_system, test_rename, test_unlink):
608 Use OUTDIR define.
609 * gdb.base/fileio.exp: Define OUTDIR during compilation.
610 Use standard_output_file.
611
59b28c5d
TT
6122013-11-04 Tom Tromey <tromey@redhat.com>
613
614 * gdb.base/checkpoint.c (main): Use PI_TXT and COPY1_TXT
615 defines.
616 * gdb.base/checkpoint.exp: Define PI_TXT and COPY1_TXT during
617 compilation. Use prepare_for_testing, standard_output_file.
618
08b3fe69
TT
6192013-11-04 Tom Tromey <tromey@redhat.com>
620
621 * gdb.base/advance.exp: Use standard_testfile and
622 prepare_for_testing.
623 * gdb.base/bigcore.exp: Use standard_output_file. "cd" to
624 appropriate directory when local.
625 * gdb.base/dump.exp: Use standard_output_file. Update all
626 "dump" and "restore" filenames.
627 * gdb.base/interact.exp: Use standard_output_file.
628 * gdb.base/jit-so.exp: Don't download file when local.
629 * gdb.base/jit.exp (compile_jit_test): Don't download file
630 when local.
631 * gdb.base/list.exp: Use gdb_remote_download.
632 * gdb.base/maint.exp: Use standard_output_file.
633 * gdb.base/prelink.exp: Use standard_output_file.
634 * gdb.base/save-bp.exp: Use standard_output_file.
635 * gdb.base/sepdebug.exp: Use standard_testfile,
636 standard_output_file.
637 (test_different_dir): Don't declare objdir.
638 * gdb.base/solib-search.exp: Use standard_output_file.
639 * gdb.base/step-line.exp: Use gdb_remote_download.
640 * gdb.base/trace-commands.exp: Use standard_output_file.
641
32cfb09d
TT
6422013-11-04 Tom Tromey <tromey@redhat.com>
643
644 * gdb.trace/mi-traceframe-changed.exp: Pass -DTFILE_DIR
645 to compilation. Use standard_output_file.
646 (test_tfind_tfile): Update.
647 * gdb.trace/tfile.c (write_basic_trace_file)
648 (write_error_trace_file): Use TFILE_DIR.
649 * gdb.trace/tfile.exp: Pass -DTFILE_DIR to compilation. Use
650 standard_output_file.
651
84741506
TT
6522013-11-04 Tom Tromey <tromey@redhat.com>
653
654 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
655 Use "dwarf2 always-disassemble" for the "maint set" test.
656 * gdb.mi/mi-file-transfer.exp (test_file_transfer): Use
657 standard_output_file.
658 * gdb.mi/mi-logging.exp: Use standard_output_file.
659
cfb7b9a3
TT
6602013-11-04 Tom Tromey <tromey@redhat.com>
661
662 * gdb.xml/tdesc-arch.exp: Use standard_output_file. Make
663 downloads conditional on remote host.
664 (set_arch): Likewise.
665 * gdb.xml/tdesc-regs.exp: Use gdb_remote_download.
666 (load_description): Use standard_output_file.
667
bdfe0594
TT
6682013-11-04 Tom Tromey <tromey@redhat.com>
669
670 * gdb.gdb/selftest.exp: Use standard_output_file.
671 * lib/selftest-support.exp (do_self_tests): Use
672 standard_output_file.
673
8c639e73
TT
6742013-11-04 Tom Tromey <tromey@redhat.com>
675
676 * gdb.stabs/weird.exp: Use gdb_remote_download and
677 standard_output_file.
678
5030a410
TT
6792013-11-04 Tom Tromey <tromey@redhat.com>
680
681 * gdb.base/gcore-buffer-overflow.exp: Use
682 standard_output_file, not standard_testfile.
683 * gdb.base/twice.exp: Use standard_testfile, not
684 standard_output_file. Use gdb_remote_download.
685
95d7853e
TT
6862013-11-04 Tom Tromey <tromey@redhat.com>
687
688 * lib/gdb.exp (get_compiler_info): Use log_file -info and
689 restore from that.
690
eab88b54
MR
6912013-11-02 Maciej W. Rozycki <macro@codesourcery.com>
692
693 * gdb.cp/derivation.exp: s/perrro/perror/
694
a1b0fbee
MR
6952013-11-01 Maciej W. Rozycki <macro@codesourcery.com>
696
697 * gdb.dwarf2/dwzbuildid.exp: Rename `outdir' variable to
698 `debugdir'.
699
638aa5a1
AB
7002013-10-31 Andrew Burgess <aburgess@broadcom.com>
701
702 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): Add additional
703 tests and update expected error message.
704 (test_watch_register_location): New tests.
705 (do_tests): Call test_watch_register_location.
706 * gdb.base/watchpoints.exp: Update expected error message.
707
055e608a
UW
7082013-10-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
709
710 * gdb.arch/s390-multiarch.exp (test_linux_v2): Add $gdb_prompt to
711 the patterns in gdb_test_multiple.
712
9ac69859
NB
7132013-10-29 Nicolas Blanc <nicolas.blanc@intel.com>
714
715 * gdb.base/sym-file-lib.c: New file.
716 * gdb.base/sym-file-loader.c: New file.
717 * gdb.base/sym-file-loader.h: New file.
718 * gdb.base/sym-file-main.c: New file.
719 * gdb.base/sym-file.exp: New file.
720 * lib/gdb.exp (is_elf_target): New function.
721
24ba476b
PA
7222013-10-29 Pedro Alves <palves@redhat.com>
723
724 * gdb.mi/mi-console.c, gdb.mi/mi-stack.c: Remove local emacs
725 variable setting change-log-default-name to ChangeLog-mi.
726
f69d9aef
AB
7272013-10-29 Andrew Burgess <aburgess@broadcom.com>
728
729 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test):
730 Expect <unavailable> pattern.
731
71193121
TV
7322013-10-28 Tom de Vries <tom@codesourcery.com>
733
734 * gdb.arch/thumb2-it.S (it_8): Fix typo.
735
38095c27
AK
7362013-10-25 Anton Kolesov <Anton.Kolesov@synopsys.com> (tiny change)
737
738 * gdb.base/bang.exp: Use gdb_continue_to_end to properly support
739 remote stubs where exit() behaviour is unreliable.
740
686d4def
PA
7412013-10-25 Pedro Alves <palves@redhat.com>
742
743 * gdb.cp/m-static.exp: Adjust expected output of printing a
744 nonexistent or optimized out static field. Also test printing the
745 the "container" object.
746
a35cfb40
MR
7472013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
748
749 * lib/gdb.exp (gdb_finish): Send a kill request to `gdbserver'
750 if in the persistent mode.
751 * gdb.trace/disconnected-tracing.exp: Reconnect before completion.
752
bbe769cc
MR
7532013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
754
755 * lib/gdb.exp (gdb_gcore_cmd): Also handle a "Target does not
756 support core file generation" reply.
757
95e4302a
JM
7582013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
759
760 PR gdb/15986
761 * gdb.base/run.c (main): gdb_get_line_number tag added for
762 commands.exp.
763 (factorial): Likewise.
764
765 * gdb.base/commands.exp (watchpoint_command_test): Use
766 gdb_get_line_number in order to determine the locations in run.c
767 where local_var is detected to go out of scope.
768
4c406179
JM
7692013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
770
771 * gdb.base/gnu_vector.exp: Care about endianness when casting
772 scalars to vectors.
773
bb6216d8
TT
7742013-10-18 Tom Tromey <tromey@redhat.com>
775
776 * lib/gdb.exp (build_executable_from_specs): Remove duplicate set
777 of "binfile".
778
e8369a73
AB
7792013-10-18 Andrew Burgess <aburgess@broadcom.com>
780
781 * gdb.base/watchpoints.exp: Add test for setting software
782 watchpoints of different types before starting the inferior.
783
776f04fa
PA
7842013-10-18 Pedro Alves <palves@redhat.com>
785
786 PR gdb/16062
787 * gdb.threads/stepi-random-signal.c: New file.
788 * gdb.threads/stepi-random-signal.exp: New file.
789
e4b8388f
MR
7902013-10-17 Maciej W. Rozycki <macro@codesourcery.com>
791
792 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
793 Fix comment typo.
794 * lib/gdb.exp (gdb_init): Likewise.
795
50b34a18
TT
7962013-10-17 Tom Tromey <tromey@redhat.com>
797
798 * gdb.base/printcmds.exp (test_printf): Test printf flushing.
799
3db258f5
TT
8002013-10-14 Tom Tromey <tromey@redhat.com>
801
802 * gdb.dwarf2/dwzbuildid.exp (write_dwarf_file): Pass explicit test
803 name to gdb_test_no_output.
804
4856b6bc
JK
8052013-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
806
807 Canonicalize directories for EXEC_FILENAME.
808 * gdb.base/argv0-symlink.exp
809 (kept file symbolic link name for info inferiors): New.
810 (kept directory symbolic link name): Setup kfail.
811 (kept directory symbolic link name for info inferiors): New.
812
9772d074
UW
8132013-10-11 Andreas Arnez <arnez@linux.vnet.ibm.com>
814
815 * gdb.arch/s390-multiarch.exp: New file.
816 * gdb.arch/s390-multiarch.c: New file.
817
2a3be966
JB
8182013-10-11 Joel Brobecker <brobecker@adacore.com>
819
820 * gdb.ada/mi_catch_ex.exp: Adjusts all "catch ..." tests to
821 use the appropriate GDB/MI command instead, and verify
822 the test output.
823
7c647d61
JB
8242013-10-11 Joel Brobecker <brobecker@adacore.com>
825
826 * gdb.base/source-nofile.gdb: New file.
827 * gdb.base/source.exp: Add two tests verifying the behavior when
828 the "source" command is given a non-existant filename.
829
bb66bd51
YQ
8302013-10-11 Yao Qi <yao@codesourcery.com>
831
832 * gdb.mi/mi-catch-load.c: Remove the include of "dlfcn.h".
833 [__WIN32__]: Include "windows.h" and define macro 'dlopen'
834 and 'dlclose'.
835 [!__WIN32__]: Include "dlfcn.h".
836 * gdb.mi/mi-catch-load.exp: Set up kfail.
837
4f424bb1
AK
8382013-10-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
839
840 * lib/gdb.exp (gdb_core_cmd): Replace fixed string "re-load
841 generated corefile" by argument "$test".
842
578d3588
PA
8432013-10-09 Pedro Alves <palves@redhat.com>
844
845 * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust expected
846 output.
847
eb4ca471
PA
8482013-10-09 Pedro Alves <palves@redhat.com>
849
850 * gdb.base/catch-syscall.exp (test_catch_syscall_without_args)
851 (test_catch_syscall_with_args, test_catch_syscall_with_many_args)
852 (test_catch_syscall_with_wrong_args)
853 (test_catch_syscall_restarting_inferior)
854 (test_catch_syscall_fail_nodatadir)
855 (test_catch_syscall_without_args_noxml)
856 (test_catch_syscall_with_args_noxml)
857 (test_catch_syscall_with_wrong_args_noxml): Use with_test_prefix.
858
dc294be5
TT
8592013-10-08 Tom Tromey <tromey@redhat.com>
860
861 * gdb.dwarf2/dwzbuildid.exp: New file.
862 * lib/dwarf.exp (Dwarf::_section): Add "flags" and "type"
863 parameters.
864 (Dwarf::_defer_output): Change "section" parameter to
865 "section_spec"; update.
866 (Dwarf::gnu_debugaltlink, Dwarf::_note, Dwarf::build_id): New
867 procs.
868
c968bd18
JB
8692013-10-08 Joel Brobecker <brobecker@adacore.com>
870
871 * gdb.ada/mi_catch_ex.exp: Make "mi_execute_to" test names unique.
872
f44eeb11
TT
8732013-10-07 Tom Tromey <tromey@redhat.com>
874
875 * lib/mi-support.exp (varobj_tree::walk_tree): Set _root_idx
876 to 0.
877
0c557179
SDJ
8782013-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
879
880 * gdb.base/corefile.exp: Test whether $_exitsignal is set and
881 $_exitcode is void when opening a corefile.
882 * gdb.base/exitsignal.exp: New file.
883 * gdb.base/segv.c: Likewise.
884 * gdb.base/normal.c: Likewise.
885
5713b9b5
JB
8862013-10-04 Joel Brobecker <brobecker@adacore.com>
887
888 * gdb.mi/mi-start.c, gdb.mi/mi-start.exp: New files.
889
3f983d47
YZ
8902013-10-02 Vidya Praveen <vidyapraveen@arm.com>
891
892 * gdb.trace/entry-values.exp: Modify regular expression to scan for
893 'bl' instruction instead of 'call' for ARM and AArch64 targets.
894
901461f8
PA
8952013-10-02 Pedro Alves <palves@redhat.com>
896
897 * gdb.dwarf2/dw2-reg-undefined.exp <pattern_rax_rbx_rcx_print,
898 pattern_rax_rbx_rcx_info>: Set to "<not saved>".
899 * gdb.mi/mi-reg-undefined.exp (opt_out_pattern): Delete.
900 (not_saved_pattern): New.
901 Replace use of the former with the latter.
902
b477a5e6
PA
9032013-10-02 Pedro Alves <palves@redhat.com>
904
905 * README (Board Settings): Document "exit_is_reliable".
906 * lib/gdb.exp (gdb_continue_to_end): Check whether the board says
907 running to exit reliably reports program exits.
908 * boards/native-gdbserver.exp: Set exit_is_reliable in the board
909 info.
910 * boards/native-stdio-gdbserver.exp: Likewise.
911
a49bed3a
DE
9122013-10-01 Doug Evans <dje@google.com>
913
914 * gdb.python/python.exp: Remove redundant print-stack tests.
915 Make all print-stack test names unique. Fix spelling of print-stack.
916
2ed2ad44
YQ
9172013-09-29 Yao Qi <yao@codesourcery.com>
918
919 * gdb.base/shreloc.exp: Set $msymfile to 'shreloc.txt' if host
920 is remote.
921
7d760051
UW
9222013-09-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
923
924 PR shlibs/8882
925 * gdb.base/corefile.exp: Add a check to assure warning-free
926 core-file load.
927
82bf32bc
JK
9282013-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
929
930 * gdb.dwarf2/dwp-symlink.c: New file.
931 * gdb.dwarf2/dwp-symlink.exp: New file.
932
4fa7d390
DE
9332013-09-20 Doug Evans <dje@google.com>
934
6b4646ce
DE
935 * lib/dwarf.exp (build_executable_from_fission_assembler): New proc.
936 * gdb.dwarf2/fission-base.S: Update. Split out .dwo into separate
937 file.
938 * gdb.dwarf2/fission-loclists.S: Ditto.
939 * gdb.dwarf2/fission-reread.S: Ditto.
940 * gdb.dwarf2/fission-base.exp: Skip of remote host. Compile with
941 build_executable_from_fission_assembler.
942 * gdb.dwarf2/fission-loclists.exp: Ditto.
943 * gdb.dwarf2/fission-reread.exp: Ditto.
944
4fa7d390
DE
945 * lib/future.exp (gdb_find_objcopy, gdb_find_readelf): New procs.
946 * lib/gdb.exp (build_id_debug_filename_get): Update to use them.
947 (gdb_gnu_strip_debug): Ditto.
948 * lib/prelink-support.exp (section_get, prelink_no): Ditto.
949 * gdb.arch/altivec-abi.exp: Ditto.
950 * gdb.base/attach-pie-misread.exp: Ditto.
951 * gdb.base/comprdebug.exp: Ditto.
952 * gdb.base/dup-sect.exp: Ditto.
953 * gdb.base/gnu-debugdata.exp: Ditto.
954 * gdb.base/step-symless.exp: Ditto.
955 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
956 * gdb.dwarf2/dw2-skip-prologue.exp: Ditto.
957 * gdb.dwarf2/gdb-index.exp: Ditto.
958
e4c6a2c4
AB
9592013-09-18 Andrew Burgess <aburgess@broadcom.com>
960
961 * gdb.dwarf2/dw2-reg-undefined.exp: Change pattern for info
962 register to "<optimized out>", and also print the registers.
963
a205fbfc
PA
9642013-09-18 Pedro Alves <palves@redhat.com>
965
966 PR server/15967
967 * gdb.server/wrapper.exp: Also return unsupported for Cygwin, and
968 change text.
969
ee47b2f8
YQ
9702013-09-18 Yao Qi <yao@codesourcery.com>
971
972 * gdb.server/wrapper.c: New.
973 * gdb.server/wrapper.exp: New.
974
49fa26b0
PA
9752013-09-17 Muhammad Waqas <mwaqas@codesourccery.com>
976 Jan Kratochvil <jan.kartochvil@redhat.com>
977 Pedro Alves <palves@redhat.com>
978
979 PR gdb/11568
980 * gdb.thread/thread-specific-bp.c: New file.
981 * gdb.thread/thread-specific-bp.exp: New file.
982
e83b28bc
SDJ
9832013-09-17 Sergio Durigan Junior <sergiodj@redhat.com>
984
985 * gdb.base/defaults.exp (<show_conv_list>): Add check for $_isvoid
986 convenience function.
987
08d72866
PA
9882013-09-17 Pedro Alves <palves@redhat.com>
989
990 PR gdb/15911
991 * gdb.threads/info-threads-cur-sal-2.c: New file.
992 * gdb.threads/info-threads-cur-sal.c: New file.
993 * gdb.threads/info-threads-cur-sal.exp: New file.
994
57b0d98e
YQ
9952013-09-17 Yao Qi <yao@codesourcery.com>
996
997 * gdb.base/catch-load.c: Remove the include of "dlfcn.h".
998 [__WIN32__]: Include "windows.h" and define macro dlopen
999 and dlclose.
1000 [!__WIN32__]: Include "dlfcn.h".
1001 * gdb.base/catch-load.exp (one_catch_load_test): Match
1002 directory separator.
1003
0295a32e
DE
10042013-09-16 Doug Evans <dje@google.com>
1005
a587b477
DE
1006 * lib/gdb.exp (using_fission): New proc.
1007 * gdb.base/info-macros.exp: Skip test if using Fission.
1008
0295a32e
DE
1009 * gdb.base/break-interp.exp: Fix indentation.
1010
a280dbd1
SDJ
10112013-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1012
1013 * gdb.base/gdbvars.c (foo_void): New function.
1014 (foo_int): Likewise.
1015 * gdb.base/gdbvars.exp (test_convenience_functions): New
1016 function. Call it.
1017
4ac33720
UW
10182013-09-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1019
1020 * gdb.arch/s390-tdbregs.c: New file.
1021 * gdb.arch/s390-tdbregs.exp: New file.
1022
b866c52d
SS
10232013-09-12 Stan Shebs <stan@codesourcery.com>
1024
1025 * README: New file.
1026
dc59cba6
DE
10272013-09-12 Doug Evans <dje@google.com>
1028
1029 * gdb.python/py-events.py (new_objfile_handler): Remove accidentally
1030 added code to print event.inferior.
1031
edf9f00c
JK
10322013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1033
1034 * gdb.base/gnu-debugdata.exp (objcopy 1): Move it lower and use only
1035 debug part of the binary.
1036
5423b017
JK
10372013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1038
1039 * gdb.base/gnu-debugdata.exp (strip): Add -R .comment.
1040 (addlink): Add comment.
1041
9295cf6f
SA
10422013-09-10 Sanimir Agovic <sanimir.agovic@intel.com>
1043
1044 * gdb.base/default.exp: Adjust regexpr for 'cd' to match optional
1045 canonical pathname.
1046
89e63ee4
DE
10472013-09-04 Doug Evans <dje@google.com>
1048
314bb8c3
DE
1049 * gdb.python/py-events.py (exit_handler): Verify we get the expected
1050 event.
1051 (continue_handler, new_objfile_handler): Ditto.
1052 (test_events): Rename command to "test-events".
1053 (test_newobj_events): Rename command to "test-objfile-events".
1054 * gdb.python/py-events.exp: Update.
1055 * gdb.python/py-evsignal.exp: Update.
1056 * gdb.python/py-evthreads.exp: Update.
1057
89e63ee4
DE
1058 * gdb.base/enumval.c (ZERO): New enum value.
1059 (main): Use it
1060 * gdb.base/enumval.exp: Test ability to print ZERO.
1061
10622013-09-03 Muhammad Bilal <mbilal@codesourcery.com>
41dc8db8
MB
1063 Pedro Alves <palves@redhat.com>
1064
1065 * gdb.base/relocate.exp: Check that invalid options are
1066 rejected.
1067
26c2b53c
AB
10682013-08-30 Andrew Burgess <aburgess@broadcom.com>
1069
1070 * gdb.base/code_elim1.c (my_bss_symbol): New variable added.
1071 (my_static_symbol): Add comment.
1072 (main): Reference my_bss_symbol.
1073
96d9056e
PM
10742013-08-30 Phil Muldoon <pmuldoon@redhat.com>
1075
1076 * gdb.python/py-arch.exp: Tests for invalid architecture.
1077
489d4f4d
SA
10782013-08-29 Sterling Augustine <saugustine@google.com>
1079
1080 * boards/remote-stdio-gdbserver.exp: Set rcp_prog and
1081 rsh_prog in new conditional. Move use of REMOTE_PORTNUM into
1082 said conditional.
1083
5b791bb5
PM
10842013-08-29 Phil Muldoon <pmuldoon@redhat.com>
1085
1086 * gdb.python/py-arch.exp: Load gdb-python.exp.
1087
8f28f522
PM
10882013-08-29 Phil Muldoon <pmuldoon@redhat.com>
1089
1090 * gdb.python/py-framefilter.py (FrameFilter.filter): Check
1091 itertools for imap attribute. Otherwise use map().
1092 (ElidingIterator): Define wrapper function __next__.
1093 * gdb.python/py-framefilter-mi.exp: Do not use execfile,
1094 use exec (open (read ())) instead.
1095 * gdb.python/py-framefilter.exp: Ditto.
1096 * gdb.python/py-arch.exp: Update print based test to Python 3.x
1097 compliance.
1098 * gdb.python/py-frame.exp: Ditto.
1099 * gdb.python/py-type.exp: Ditto.
1100
1f0c4988
JK
11012013-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1102
1103 PR gdb/15415
1104 * gdb.base/argv0-symlink.c: New file.
1105 * gdb.base/argv0-symlink.exp: New file.
1106
7893c162
TT
11072013-08-28 Tom Tromey <tromey@redhat.com>
1108
1109 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name
1110 when saving index.
1111
6211c335
YQ
11122013-08-27 Yao Qi <yao@codesourcery.com>
1113
1114 * gdb.trace/entry-values.exp: Test unavailable entry value is
1115 not shown when option '--skip-unavailable' is specified.
1116 * gdb.trace/mi-trace-unavailable.exp (test_trace_unavailable):
1117 Add tests for new option '--skip-unavailable'.
1118
ce4ea2bb
YQ
11192013-08-27 Yao Qi <yao@codesourcery.com>
1120
1121 * lib/gdb.exp (gdb_remote_download): Don't pass $tofile to
1122 remote_download if it is empty.
1123
6e45f158
DE
11242013-08-26 Doug Evans <dje@google.com>
1125
779bd270
DE
1126 PR symtab/15885
1127 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add gdb-index.
1128 (clean): rm -f *.gdb-index *.with-index.
1129 * gdb.dwarf2/gdb-index.exp: New testcase.
1130
6e45f158
DE
1131 * lib/gdb.exp (run_on_host): Moved here from gnu-debugdata.exp.
1132 * gdb.base/gnu-debugdata.exp (run): Moved to gdb.exp and renamed to
1133 run_on_host. All callers updated.
1134
b1224238
YQ
11352013-08-24 Yao Qi <yao@codesourcery.com>
1136
1137 * gdb.trace/entry-values.c (end): New
1138 (main): Call end.
1139 * gdb.trace/entry-values.exp: Load trace-support.exp. Set
1140 tracepoint and collect data. Test entry value is unavailable.
1141
b39a8faf
YQ
11422013-08-24 Yao Qi <yao@codesourcery.com>
1143
1144 * lib/dwarf.exp (_location): Handle DW_OP_deref_size.
1145 * gdb.trace/entry-values.c: New.
1146 * gdb.trace/entry-values.exp: New.
1147
9eaabc75
MW
11482013-07-12 Muhammad Waqas <mwaqas@codesourccery.com>
1149
1150 PR gdb/15501
1151 * gdb.base/ena-dis-br.exp: Add test to verify
1152 enable/disable commands work correctly with
1153 multiple arguments that include multiple locations.
1154
9f948660
SDJ
11552013-08-22 Samuel Bronson <naesten@gmail.com>
1156
1157 ARM Linux support for `catch syscall'.
1158 * gdb.base/catch-syscall.exp: Test this on ARM now.
1159 (fill_all_syscalls_numbers): ARM has close/chroot on 6/61, too.
1160
e630b974
TT
11612013-08-22 Tom Tromey <tromey@redhat.com>
1162
1163 * lib/dwarf.exp (cu, tu): Handle addr_size of "default". Change
1164 default addr_size.
1165 * lib/gdb.exp (is_64_target): New gdb_caching_proc.
1166
f3a76454
TT
11672013-08-22 Tom Tromey <tromey@redhat.com>
1168
1169 * lib/gdb.exp (skip_btrace_tests): Use gdb_caching_proc and
1170 standard_temp_file.
1171
de5f37e1
TT
11722013-08-22 Tom Tromey <tromey@redhat.com>
1173
1174 * gdb.arch/amd64-byte.exp: Use standard_testfile,
1175 clean_restart.
1176 * gdb.arch/amd64-disp-step.exp: Use standard_testfile.
1177 * gdb.arch/amd64-dword.exp: Use standard_testfile,
1178 clean_restart.
1179 * gdb.arch/amd64-entry-value-param.exp: Use standard_testfile.
1180 * gdb.arch/amd64-entry-value.exp: Use standard_testfile.
1181 * gdb.arch/amd64-prologue-xmm.exp: Use standard_testfile.
1182 * gdb.arch/amd64-word.exp: Use standard_testfile,
1183 clean_restart.
1184 * gdb.arch/i386-avx.exp: Use standard_testfile, clean_restart.
1185 * gdb.arch/i386-byte.exp: Use standard_testfile, clean_restart.
1186 * gdb.arch/i386-disp-step.exp: Use standard_testfile.
1187 * gdb.arch/i386-dr3-watch.exp: Use standard_testfile.
1188 * gdb.arch/i386-permbkpt.exp: Use standard_testfile, clean_restart.
1189 * gdb.arch/i386-signal.exp: Use standard_testfile.
1190 * gdb.arch/i386-size-overlap.exp: Use standard_testfile, clean_restart.
1191 * gdb.arch/i386-sse.exp: Use standard_testfile, clean_restart.
1192 * gdb.arch/i386-unwind.exp: Use standard_testfile.
1193 * gdb.arch/i386-word.exp: Use standard_testfile, clean_restart.
1194
8448e842
TT
11952013-08-22 Tom Tromey <tromey@redhat.com>
1196
1197 * gdb.python/py-error.exp: Use gdb_remote_download.
1198 * gdb.python/py-mi.exp: Use gdb_remote_download.
1199 * gdb.python/py-objfile-script.exp: Use standard_output_file.
1200 * gdb.python/py-prettyprint.exp: Use gdb_remote_download.
1201 (run_lang_tests): Likewise.
1202 * gdb.python/py-section-script.c: Use SCRIPT_FILE rather than
1203 filename.
1204 * gdb.python/py-section-script.exp: Set SCRIPT_FILE when
1205 compiling. Use gdb_remote_download. Update some tests.
1206 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
1207 standard_output_file.
1208 * gdb.python/py-typeprint.exp: Use gdb_remote_download.
1209 * gdb.python/py-frame-args.exp: Use gdb_remote_download.
1210 * gdb.python/py-framefilter-mi.exp: Use gdb_remote_download.
1211 * gdb.python/py-framefilter.exp: Use gdb_remote_download,
1212 standard_output_file.
1213
16cfcbc2
TT
12142013-08-22 Tom Tromey <tromey@redhat.com>
1215
1216 * lib/cell.exp (skip_cell_tests): Use standard_temp_file.
1217
44ee8174
TT
12182013-08-22 Tom Tromey <tromey@redhat.com>
1219
1220 * gdb.dwarf2/dw2-basic.exp: Use gdb_remote_download.
1221 * gdb.dwarf2/dw2-compressed.exp: Use gdb_remote_download.
1222 * gdb.dwarf2/dw2-intercu.exp: Use gdb_remote_download.
1223 * gdb.dwarf2/dw2-intermix.exp: Use gdb_remote_download.
1224 * gdb.dwarf2/dw2-producer.exp: Use gdb_remote_download.
1225 * gdb.dwarf2/mac-fileno.exp: Use gdb_remote_download.
1226 * lib/gdb.exp (gdb_remote_download): New proc.
1227
7a218f88
TT
12282013-08-22 Tom Tromey <tromey@redhat.com>
1229
1230 * gdb.dwarf2/clztest.exp: Use standard_testfile.
1231 * gdb.dwarf2/dw2-minsym-in-cu.exp: Use standard_testfile.
1232 * gdb.dwarf2/fission-base.S: Remove directory from
1233 DW_AT_GNU_dwo_name.
1234 * gdb.dwarf2/fission-base.exp: Use build_executable. Set
1235 debug-file-directory.
1236 * gdb.dwarf2/fission-reread.S: Remove directory from
1237 DW_AT_GNU_dwo_name.
1238 * gdb.dwarf2/fission-reread.exp: Use build_executable. Set
1239 debug-file-directory.
1240
70cc1c23
DE
12412013-08-16 Doug Evans <dje@google.com>
1242
1243 * lib/prelink-support.exp (prelink_yes): Flag test as unsupported if
1244 prelink complains about an unhandled DWARF version.
1245
61884d20
DE
12462013-08-14 Cary Coutant <ccoutant@google.com>
1247
1248 * boards/fission.exp: Add -fdebug-types-section to debug_flags.
1249
5e92f71a
TT
12502013-08-13 Tom Tromey <tromey@redhat.com>
1251 Yao Qi <yao@codesourcery.com>
1252
1253 * lib/cache.exp (gdb_do_cache): Handle GDB_PARALLEL.
1254 * lib/gdb.exp: Handle GDB_PARALLEL.
1255 (default_gdb_version): Kill inotify_pid if it exists.
1256 (default_gdb_exit): Emit warning if the inotify log is not
1257 empty.
1258 (standard_output_file): Respect GDB_PARALLEL.
1259 (standard_temp_file): Likewise.
1260 (gdb_init): Start inotifywait if requested.
1261
5c30d39a
AB
12622013-08-13 Andrew Burgess <aburgess@broadcom.com>
1263
1264 * gdb.base/printcmds.exp (test_printf): Add test for printf of
1265 pointer with various flags.
1266
17e1c970
TT
12672013-08-13 Tom Tromey <tromey@redhat.com>
1268
1269 * lib/cache.exp: New file.
1270 * lib/cell.exp (skip_cell_tests): Use gdb_caching_proc.
1271 * lib/gdb.exp: Load cache.exp.
1272 (support_complex_tests, is_ilp32_target, is_lp64_target)
1273 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests)
1274 (gdb_skip_xml_test): Use gdb_caching_proc.
1275 * lib/opencl.exp (skip_opencl_tests): Use gdb_caching_proc.
1276
4e234898
TT
12772013-08-13 Tom Tromey <tromey@redhat.com>
1278
1279 * lib/gdb.exp (standard_temp_file): New proc.
1280 (support_complex_tests, is_ilp32_target, is_lp64_target)
1281 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests): Use
1282 standard_temp_file.
1283
53e981d9
TT
12842013-08-13 Tom Tromey <tromey@redhat.com>
1285
1286 * lib/gdb.exp (build_id_debug_filename_get): Use
1287 standard_output_file.
1288 * lib/prelink-support.exp (section_get)
1289 (build_executable_own_libs): Use standard_output_file.
1290
3f539315
TT
12912013-08-12 Tom Tromey <tromey@redhat.com>
1292
1293 * Makefile.in (ALL_SUBDIRS): Add gdb.go.
1294
b4013987
AA
12952013-08-12 Ali Anwar <alianwar@codesourcery.com>
1296
1297 * gdb.base/break.exp: Test break via convenience variable
1298 with file name.
1299
f61d5529
DE
13002013-08-09 Doug Evans <dje@google.com>
1301
1302 * lib/future.exp (gdb_find_ldd): New proc.
1303 * lib/prelink-support.exp (build_executable_own_libs): Call it.
1304 Make "/usr/sbin/" in prelink path optional.
1305
1ed8d800
YQ
13062013-08-09 Yao Qi <yao@codesourcery.com>
1307
1308 * gdb.trace/collection.exp (gdb_collect_args_test): Set
1309 "only" and "both" to 'print entry-values' before selecting
1310 trace frame.
1311
82a0a75f
YQ
13122013-08-08 Yao Qi <yao@codesourcery.com>
1313
1314 * gdb.trace/mi-trace-unavailable.exp: Don't set
1315 "print entry-values" to "no".
1316 (test_trace_unavailable): Set various values to
1317 "print entry-values" to test that the output of
1318 '-stack-list-locals' is not affected, and then set
1319 set "print entry-values" to "no".
1320
ac52f9a2
DE
13212013-08-07 Doug Evans <dje@google.com>
1322
1323 * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
1324 * gdb.python/py-value-cc.exp: Update.
1325 * gdb.python/py-value.exp: Use different names for .o files for
1326 C and C++. Only perform C++ tests if !skip_cplus_tests.
1327
bf6d8a91
TT
13282013-08-07 Tom Tromey <tromey@redhat.com>
1329
1330 * gdb.base/maint.exp: Allow zero symtabs to be expanded.
1331
f9125b6c
TT
13322013-08-07 Tom Tromey <tromey@redhat.com>
1333
1334 * gdb.dwarf2/dwz.exp: New file.
1335
3a1115a0
TT
13362013-08-02 Tom Tromey <tromey@redhat.com>
1337
1338 * gdb.base/watchpoint.c (struct foo5): New.
1339 (nullptr): New global.
1340 * gdb.base/watchpoint.exp (test_watch_location): Add test.
1341
b846d303
DE
13422013-08-01 Doug Evans <dje@google.com>
1343
7ee85ab1
DE
1344 PR symtab/15691
1345 * gdb.dwarf2/fission-mix.exp: New file.
1346 * gdb.dwarf2/fission-mix.h: New file.
1347 * gdb.dwarf2/fission-mix.c: New file.
1348 * gdb.dwarf2/fission-mix2.c: New file.
1349
b846d303
DE
1350 PR symtab/15695
1351 * gdb.base/func-ptr.exp: New file.
1352 * gdb.base/func-ptr.c: New file.
1353
67d21849
YQ
13542013-08-01 Yao Qi <yao@codesourcery.com>
1355
1356 * gdb.python/py-sync-interp.c: New.
1357 * gdb.python/py-sync-interp.exp: New.
1358
de74e63a
YQ
13592013-07-31 Yao Qi <yao@codesourcery.com>
1360
1361 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Test command
1362 'tdump' on stack frame 0 and 1 respectively.
1363
680558e8
YQ
13642013-07-31 Yao Qi <yao@codesourcery.com>
1365
1366 PR gdb/13443
1367 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_3): Add parameter
1368 'traceframe'. Wrap test with with_test_prefix.
1369 (top level): Update.
1370
48bbe0bf
YQ
13712013-07-31 Yao Qi <yao@codesourcery.com>
1372
1373 * gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
1374 'gdb_start'.
1375 Invoke 'prepare_for_testing' instead of 'gdb_compile'.
1376 Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.
1377
11b4b7cc
AB
13782013-07-30 Andrew Burgess <aburgess@broadcom.com>
1379
1380 * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
1381 when printing an optimized out value. Expect an error when using
1382 an optimized out value in an expression.
1383
b0c54aa5
AB
13842013-07-30 Andrew Burgess <aburgess@broadcom.com>
1385
1386 * gdb.dwarf2/pieces-optimized-out.exp: New file.
1387 * gdb.dwarf2/pieces-optimized-out.c: New file.
1388 * gdb.dwarf2/pieces-optimized-out.S: New file.
1389
97c85fc6
MB
13902013-07-30 Muhammad Bilal <mbilal@codesourcery.com>
1391
1392 PR gdb/15715
1393 * gdb.base/setshow.exp: Test that relative paths passed to
1394 'set history filename' are converted to absolute paths.
1395
5b32ae97
KS
13962013-07-26 Keith Seitz <keiths@redhat.com>
1397
1398 * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead
1399 of f77.
1400 Allow for compiler variations of integer types.
1401 Use mi_create_varobj.
1402 Use mi_list_varobj_children for the immediate children of `array'.
1403 Add "has_more" attribute for grandchildren test.
1404
6f64ef53
PA
14052013-07-26 Pedro Alves <palves@redhat.com>
1406
1407 * gdb.base/interrupt-noterm.c, gdb.base/interrupt-noterm.exp: New
1408 files.
1409
fdc8aae8
AB
14102013-07-25 Andrew Burgess <aburgess@broadcom.com>
1411
1412 * gdb.mi/mi-reg-undefined.exp: New file.
1413 * gdb.mi/mi-reg-undefined.c: Likewise.
1414 * gdb.mi/mi-reg-undefined.S: Likewise.
1415
6fbe845e
AB
14162013-07-25 Andrew Burgess <aburgess@broadcom.com>
1417
1418 * gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
1419 z, o, and t output formats.
1420 * gdb.base/display.exp: Use 'k' as an undefined format now that
1421 'z' is defined.
1422
7b79b135
DE
14232013-07-24 Doug Evans <dje@google.com>
1424
1425 * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
1426 "--" to switch.
1427
a0607b84
YQ
14282013-07-24 Yao Qi <yao@codesourcery.com>
1429
1430 * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
1431 host.
1432 * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons):
1433 Likewise. If host is remote, copy ${binfile} to host.
1434
2eb14a9b
YQ
14352013-07-23 Yao Qi <yao@codesourcery.com>
1436
1437 * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
1438 message.
1439
5d0a3b53
WN
14402013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
1441
1442 * gdb.base/disp-step-syscall.exp: Add svc and swi syscall
1443 instructions and enable disp-step-syscall for arm targets.
1444
9a5911c0
WN
14452013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
1446
1447 * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
1448 assembler errors on arm.
1449 * gdb.dwarf2/mac-fileno.S: Likewise.
1450 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
1451 * gdb.dwarf2/pr13961.S: Likewise.
1452
fa876972
HZ
14532013-07-19 Hui Zhu <hui@codesourcery.com>
1454
1455 PR gdb/15692
1456 * gdb.mi/mi-dprintf.exp: Add double quotes test.
1457
1527aea8
YQ
14582013-07-19 Yao Qi <yao@codesourcery.com>
1459
1460 * gdb.trace/read-memory.exp (test_from_remote): Update test.
1461 (teset_from_exec): Likewise.
1462
73c1d57e
YQ
14632013-07-19 Yao Qi <yao@codesourcery.com>
1464
1465 * gdb.trace/read-memory.c: New.
1466 * gdb.trace/read-memory.exp: New.
1467
a075c3e5
YQ
14682013-07-19 Yao Qi <yao@codesourcery.com>
1469
1470 * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
1471 $dest to link options if host is remote. Move the
1472 generated file to $dest.a on host if host is remote.
1473
623cc285
WN
14742013-07-18 Will Newton <will.newton@linaro.org>
1475
1476 * gdb.threads/tls-nodebug.c: Call pthread_testcancel
1477 to ensure the test is linked against pthreads.
1478 * gdb.threads/tls-var-main.c: Likewise.
1479 * gdb.threads/tls-shared.c: Likewise.
1480
1f74d3b5
YQ
14812013-07-18 Yao Qi <yao@codesourcery.com>
1482
1483 * lib/future.exp (gdb_default_target_compile): Use tail name
1484 of $destfile as the output name of compile. Move the
1485 generated file to $destfile on build.
1486
f6dc277e
YQ
14872013-07-18 Yao Qi <yao@codesourcery.com>
1488
1489 * lib/gdb.exp (gdb_compile): Set
1490 gdb_saved_set_unbuffered_mode_obj to
1491 set_unbuffered_mode_saved.o if host is remote. Invoke
1492 remote_download to copy $unbuf_obj to host.
1493
e7045703
DE
14942013-07-17 Doug Evans <dje@google.com>
1495
1496 * gdb.python/py-frame-args.c: New file.
1497 * gdb.python/py-frame-args.py: New file.
1498 * gdb.python/py-frame-args.exp New file.
1499
5ea5559b
AB
15002013-07-16 Andrew Burgess <aburgess@broadcom.com>
1501
1502 * gdb.base/printcmds.exp (test_printf): Add tests for format
1503 strings with missing format specifier.
1504
4229ca0e
TT
15052013-07-16 Tom Tromey <tromey@redhat.com>
1506
1507 * gdb.ada/info_types.exp: Use standard_testfile.
1508
5ee657d5
TT
15092013-07-16 Tom Tromey <tromey@redhat.com>
1510
1511 * gdb.mi/mi-basics.exp: Use standard_output_file.
1512 (test_dir_specification, test_cwd_specification)
1513 (test_path_specification): Use testsubdir, not subdir and objdir.
1514
20e3d738
TT
15152013-07-16 Tom Tromey <tromey@redhat.com>
1516
1517 * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
1518
7d7c6477
JB
15192013-07-09 Joel Brobecker <brobecker@adacore.com>
1520
1521 * gdb.ada/small_reg_param.exp: Accept optional entry value
1522 for parameter "w".
1523
52cd8b7d
JB
15242013-07-09 Joel Brobecker <brobecker@adacore.com>
1525
1526 * gdb.ada/small_reg_param.exp: Remove trailing space.
1527
2a998fc0
DE
15282013-07-09 Doug Evans <dje@google.com>
1529
1530 * gdb.base/default.exp: Update expected output of "show print array"
1531 and "show print pretty".
1532
0329e9fb
UW
15332013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
1534
1535 * gdb.threads/wp-replication.exp: Stop counting available hardware
1536 watchpoints after NR_THREADS iterations.
1537
1953058f
AB
15382013-07-08 Andrew Burgess <aburgess@broadcom.com>
1539
1540 * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
1541
7c0de741
YQ
15422013-07-07 Yao Qi <yao@codesourcery.com>
1543
1544 * boards/native-gdbserver.exp: Move invoke of
1545 process_multilib_options to gdbserver-base.exp.
1546 Move set_board_info 'compiler', 'gdb,noinferiorio',
1547 'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
1548 gdbserver-base.exp.
1549 Move proc ${board}_download, ${board}_upload and
1550 ${board}_file to gdbserver-base.exp.
1551 * boards/native-extended-gdbserver.exp: Likewise.
1552 * boards/native-stdio-gdbserver.exp: Likewise.
1553 * boards/gdbserver-base.exp: New file.
1554
497a4c48
LM
15552013-07-05 Luis Machado <lgustavo@codesourcery.com>
1556
1557 * gdb.base/dump.exp: Remove arch-specific tests and do a
1558 generic data address check to set is64bitonly correctly.
1559
bb3f62fc
LM
15602013-07-05 Luis Machado <lgustavo@codesourcery.com>
1561
1562 * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
1563 the register number instead of expecting only 0.
1564
005faa9d
WN
15652013-07-05 Will Newton <will.newton@linaro.org>
1566
1567 * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
1568 in asm syntax to allow building on ARM.
1569
4767856f
YQ
15702013-07-05 Yao Qi <yao@codesourcery.com>
1571
1572 * boards/local-remote-host.exp: Remove obsolete comments.
1573 * boards/native-extended-gdbserver.exp: Likewise.
1574 * boards/native-gdbserver.exp: Likewise.
1575 * boards/native-stdio-gdbserver.exp: Likewise.
1576
691a26f5
AB
15772013-07-04 Andrew Burgess <aburgess@broadcom.com>
1578
1579 * gdb.dwarf2/dw2-reg-undefined.exp: New file.
1580 * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
1581 * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
1582
4d142eaa
JK
15832013-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1584
1585 * gdb.base/break-on-linker-gcd-function.exp: Replace
1586 prepare_for_testing by build_executable_from_specs and clean_restart.
1587
62cef515
TT
15882013-06-27 Tom Tromey <tromey@redhat.com>
1589
1590 * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
1591 gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
1592 gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
1593 gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
1594 gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
1595 gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
1596 gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
1597 gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
1598 gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
1599 gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
1600 gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
1601 Use standard_testfile, standard_output_file, prepare_for_testing,
1602 clean_restart.
1603
0ab77f5f
TT
16042013-06-27 Tom Tromey <tromey@redhat.com>
1605
1606 * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
1607 gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
1608 gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
1609 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
1610 gdb.base/shreloc.exp, gdb.base/sigall.exp,
1611 gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
1612 gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
1613 gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
1614 gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
1615 gdb.base/signull.exp, gdb.base/sigrepeat.exp,
1616 gdb.base/sigstep.exp, gdb.base/sizeof.exp,
1617 gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
1618 gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
1619 gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
1620 gdb.base/solib-weak.exp, gdb.base/source.exp,
1621 gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
1622 gdb.base/stap-probe.exp, gdb.base/start.exp,
1623 gdb.base/step-break.exp, gdb.base/step-bt.exp,
1624 gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
1625 gdb.base/step-test.exp, gdb.base/structs.exp,
1626 gdb.base/structs2.exp, gdb.base/structs3.exp,
1627 gdb.base/symbol-without-target_section.exp: Use standard_testfile,
1628 standard_output_file, prepare_for_testing, clean_restart.
1629
822bd149
TT
16302013-06-27 Tom Tromey <tromey@redhat.com>
1631
1632 * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
1633 gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
1634 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
1635 gdb.base/pending.exp, gdb.base/permissions.exp,
1636 gdb.base/pie-execl.exp, gdb.base/pointers.exp,
1637 gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
1638 gdb.base/printcmds.exp, gdb.base/prologue.exp,
1639 gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
1640 gdb.base/ptype.exp, gdb.base/randomize.exp,
1641 gdb.base/readline-ask.exp, gdb.base/recpar.exp,
1642 gdb.base/recurse.exp, gdb.base/relativedebug.exp,
1643 gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
1644 gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
1645 standard_testfile, standard_output_file, prepare_for_testing,
1646 clean_restart.
1647
f8b41b00
TT
16482013-06-27 Tom Tromey <tromey@redhat.com>
1649
a8c97a87
TT
1650 * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
1651 gdb.base/huge.exp, gdb.base/included.exp,
1652 gdb.base/inferior-died.exp, gdb.base/infnan.exp,
1653 gdb.base/info-fun.exp, gdb.base/info-macros.exp,
1654 gdb.base/info-os.exp, gdb.base/info-proc.exp,
1655 gdb.base/info-target.exp, gdb.base/infoline.exp,
1656 gdb.base/interp.exp, gdb.base/interrupt.exp,
1657 gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
1658 gdb.base/kill-after-signal.exp, gdb.base/label.exp,
1659 gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
1660 gdb.base/logical.exp, gdb.base/long_long.exp,
1661 gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
1662 gdb.base/memattr.exp, gdb.base/mips_pro.exp,
1663 gdb.base/miscexprs.exp, gdb.base/morestack.exp,
1664 gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
f8b41b00
TT
1665 standard_testfile, standard_output_file, prepare_for_testing,
1666 clean_restart.
1667
289f9037
TT
16682013-06-27 Tom Tromey <tromey@redhat.com>
1669
a8c97a87
TT
1670 * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
1671 gdb.base/enumval.exp, gdb.base/environ.exp,
1672 gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
1673 gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
1674 gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
1675 gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
1676 gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
1677 gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
1678 gdb.base/fullname.exp, gdb.base/funcargs.exp,
1679 gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
1680 gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
1681 gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
1682 gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
1683 gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
1684 gdb.base/gnu_vector.exp: Use standard_testfile,
1685 standard_output_file, prepare_for_testing, clean_restart.
289f9037 1686
f76495c8
TT
16872013-06-27 Tom Tromey <tromey@redhat.com>
1688
a8c97a87
TT
1689 * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
1690 gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
1691 gdb.base/call-strs.exp, gdb.base/callexit.exp,
1692 gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
1693 gdb.base/catch-syscall.exp, gdb.base/charset.exp,
1694 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
1695 gdb.base/code-expr.exp, gdb.base/code_elim.exp,
1696 gdb.base/commands.exp, gdb.base/completion.exp,
1697 gdb.base/complex.exp, gdb.base/cond-expr.exp,
1698 gdb.base/condbreak.exp, gdb.base/consecutive.exp,
1699 gdb.base/constvars.exp, gdb.base/corefile.exp,
1700 gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
1701 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
1702 gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
1703 gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
1704 gdb.base/dup-sect.exp: Use standard_testfile,
f76495c8
TT
1705 standard_output_file, prepare_for_testing, clean_restart.
1706
a64d2530
TT
17072013-06-27 Tom Tromey <tromey@redhat.com>
1708
a8c97a87
TT
1709 * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
1710 gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
1711 gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
1712 gdb.base/async-shell.exp, gdb.base/async.exp,
1713 gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
1714 gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
1715 gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
1716 gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
1717 gdb.base/break-entry.exp, gdb.base/break-interp.exp,
1718 gdb.base/break-on-linker-gcd-function.exp,
1719 gdb.base/breakpoint-shadow.exp: Use standard_testfile,
a64d2530
TT
1720 standard_output_file, prepare_for_testing, clean_restart.
1721
aaff8d73
YQ
17222013-06-26 Yao Qi <yao@codesourcery.com>
1723
1724 * gdb.trace/mi-trace-frame-collected.exp: New.
1725
a0743c90
YQ
17262013-06-25 Yao Qi <yao@codesourcery.com>
1727
1728 * boards/native-extended-gdbserver.exp: Set board_info
1729 'gdb,predefined_tsv'.
1730 * boards/native-gdbserver.exp: Likewise.
1731 * boards/native-stdio-gdbserver.exp: Likewise.
1732 * gdb.server/ext-attach.exp: Load trace-support.exp. Check
1733 uploaded TSVs if target supports tracing.
1734 * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
1735 tracing and target has predefined tsv.
1736
9d6e6e84
HZ
17372013-06-25 Yao Qi <yao@codesourcery.com>
1738 Hui Zhu <hui@codesourcery.com>
1739 Pedro Alves <palves@redhat.com>
1740
1741 PR breakpoints/15075
1742 PR breakpoints/15434
1743 * gdb.base/dprintf-next.c: New file.
1744 * gdb.base/dprintf-next.exp: New file.
1745 * gdb.base/dprintf-non-stop.c: New file.
1746 * gdb.base/dprintf-non-stop.exp: New file.
1747 * gdb.base/dprintf.exp: Don't check "continue" in the output
1748 of "info breakpoints".
1749 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1750 Don't check "continue" in script field.
1751
e7ab3185
TT
17522013-06-21 Tom Tromey <tromey@redhat.com>
1753
1754 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
1755 name in a test name.
1756
c898adb7
YQ
17572013-06-20 Yao Qi <yao@codesourcery.com>
1758
1759 * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
1760 and set an action.
1761 (test_trace_unavailable): Test command -data-list-register-values
1762 in the context of traceframe and with option --skip-unavailable.
1763 * gdb.trace/trace-unavailable.c (foo): New.
1764 (main): Call it.
1765 * gdb.mi/gdb2549.exp: Update matching pattern.
1766
4d157a3d
MF
17672013-06-19 Mike Frysinger <vapier@gentoo.org>
1768
1769 * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
1770 * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
1771 * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
1772 * gdb.arch/i386-sse.c: Call new i386_cpuid function.
1773 * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
1774
d69cace4
LM
17752013-06-19 Luis Machado <lgustavo@codesourcery.com>
1776
1777 * gdb.base/subst.exp: Delete default rules before further
1778 tests.
1779
9bdd0636
YQ
17802013-06-19 Yao Qi <yao@codesourcery.com>
1781
1782 * gdb.base/maint.exp: Make the test to command 'maint dump-me'
1783 unsupported if it is not registered.
1784
427cd150
TT
17852013-06-18 Tom Tromey <tromey@redhat.com>
1786
1787 * gdb.base/random-signal.c: New file.
1788 * gdb.base/random-signal.exp: New file.
1789
6de7c271
WN
17902013-06-18 Will Newton <will.newton@linaro.org>
1791
1792 * gdb.base/skip.c: Use comma to evaluate results of foo()
1793 and bar() before passing to baz().
1794 * gdb.base/skip.c: baz() now takes one argument instead of
1795 two.
1796
5bd1ef56
TT
17972013-06-18 Tom Tromey <tromey@redhat.com>
1798
1799 * gdb.dwarf2/implptrpiece.exp: New file.
1800 * gdb.dwarf2/implptrconst.exp (d): New variable.
1801 Print d.
1802 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
1803
e379b391
TT
18042013-06-18 Tom Tromey <tromey@redhat.com>
1805
1806 * lib/selftest-support.exp (do_self_tests): Reject remote or
1807 non-native targets.
1808 * gdb.gdb/complaints.exp: Remove check.
1809 * gdb.gdb/observer.exp: Remove check.
1810 * gdb.gdb/xfullpath.exp: Remove check.
1811 * gdb.gdb/complaints.exp: Remove check.
1812
4ec70201
PA
18132013-06-07 Pedro Alves <palves@redhat.com>
1814
1815 * boards/native-extended-gdbserver.exp: Remove semicolon.
1816 * config/arm-ice.exp: Likewise.
1817 * config/bfin.exp: Likewise.
1818 * config/cygmon.exp: Likewise.
1819 * config/h8300.exp: Likewise.
1820 * config/monitor.exp: Likewise.
1821 * config/sid.exp: Likewise.
1822 * config/sim.exp: Likewise.
1823 * config/slite.exp: Likewise.
1824 * config/vx.exp: Likewise.
1825 * gdb.arch/i386-bp_permanent.exp: Likewise.
1826 * gdb.asm/asm-source.exp: Likewise.
1827 * gdb.base/args.exp: Likewise.
1828 * gdb.base/attach-pie-misread.exp: Likewise.
1829 * gdb.base/auxv.exp: Likewise.
1830 * gdb.base/bigcore.exp: Likewise.
1831 * gdb.base/bitfields2.exp: Likewise.
1832 * gdb.base/bitfields.exp: Likewise.
1833 * gdb.base/break.exp: Likewise.
1834 * gdb.base/break-interp.exp: Likewise.
1835 * gdb.base/callfuncs.exp: Likewise.
1836 * gdb.base/call-sc.exp: Likewise.
1837 * gdb.base/commands.exp: Likewise.
1838 * gdb.base/corefile.exp: Likewise.
1839 * gdb.base/dbx.exp: Likewise.
1840 * gdb.base/ending-run.exp: Likewise.
1841 * gdb.base/exprs.exp: Likewise.
1842 * gdb.base/funcargs.exp: Likewise.
1843 * gdb.base/hbreak2.exp: Likewise.
1844 * gdb.base/huge.exp: Likewise.
1845 * gdb.base/list.exp: Likewise.
1846 * gdb.base/memattr.exp: Likewise.
1847 * gdb.base/overlays.exp: Likewise.
1848 * gdb.base/printcmds.exp: Likewise.
1849 * gdb.base/recurse.exp: Likewise.
1850 * gdb.base/remotetimeout.exp: Likewise.
1851 * gdb.base/reread.exp: Likewise.
1852 * gdb.base/savedregs.exp: Likewise.
1853 * gdb.base/scope.exp: Likewise.
1854 * gdb.base/sepdebug.exp: Likewise.
1855 * gdb.base/setshow.exp: Likewise.
1856 * gdb.base/setvar.exp: Likewise.
1857 * gdb.base/sigaltstack.exp: Likewise.
1858 * gdb.base/siginfo-addr.exp: Likewise.
1859 * gdb.base/siginfo.exp: Likewise.
1860 * gdb.base/siginfo-obj.exp: Likewise.
1861 * gdb.base/sigrepeat.exp: Likewise.
1862 * gdb.base/sigstep.exp: Likewise.
1863 * gdb.base/structs.exp: Likewise.
1864 * gdb.base/testenv.exp: Likewise.
1865 * gdb.base/twice.exp: Likewise.
1866 * gdb.base/valgrind-db-attach.exp: Likewise.
1867 * gdb.base/valgrind-infcall.exp: Likewise.
1868 * gdb.base/varargs.exp: Likewise.
1869 * gdb.base/watchpoint.exp: Likewise.
1870 * gdb.cp/gdb1355.exp: Likewise.
1871 * gdb.cp/misc.exp: Likewise.
1872 * gdb.disasm/hppa.exp: Likewise.
1873 * gdb.disasm/t01_mov.exp: Likewise.
1874 * gdb.disasm/t02_mova.exp: Likewise.
1875 * gdb.disasm/t03_add.exp: Likewise.
1876 * gdb.disasm/t04_sub.exp: Likewise.
1877 * gdb.disasm/t05_cmp.exp: Likewise.
1878 * gdb.disasm/t06_ari2.exp: Likewise.
1879 * gdb.disasm/t07_ari3.exp: Likewise.
1880 * gdb.disasm/t08_or.exp: Likewise.
1881 * gdb.disasm/t09_xor.exp: Likewise.
1882 * gdb.disasm/t10_and.exp: Likewise.
1883 * gdb.disasm/t11_logs.exp: Likewise.
1884 * gdb.disasm/t12_bit.exp: Likewise.
1885 * gdb.disasm/t13_otr.exp: Likewise.
1886 * gdb.gdb/selftest.exp: Likewise.
1887 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1888 * gdb.mi/mi-reverse.exp: Likewise.
1889 * gdb.pascal/floats.exp: Likewise.
1890 * gdb.python/py-inferior.exp: Likewise.
1891 * gdb.threads/attach-into-signal.exp: Likewise.
1892 * gdb.threads/pthreads.exp: Likewise.
1893 * gdb.threads/thread_events.exp: Likewise.
1894 * gdb.threads/watchthreads.exp: Likewise.
1895 * gdb.trace/actions-changed.exp: Likewise.
1896 * gdb.trace/actions.exp: Likewise.
1897 * gdb.trace/ax.exp: Likewise.
1898 * gdb.trace/backtrace.exp: Likewise.
1899 * gdb.trace/change-loc.exp: Likewise.
1900 * gdb.trace/deltrace.exp: Likewise.
1901 * gdb.trace/disconnected-tracing.exp: Likewise.
1902 * gdb.trace/ftrace.exp: Likewise.
1903 * gdb.trace/infotrace.exp: Likewise.
1904 * gdb.trace/passc-dyn.exp: Likewise.
1905 * gdb.trace/passcount.exp: Likewise.
1906 * gdb.trace/pending.exp: Likewise.
1907 * gdb.trace/qtro.exp: Likewise.
1908 * gdb.trace/range-stepping.exp: Likewise.
1909 * gdb.trace/report.exp: Likewise.
1910 * gdb.trace/save-trace.exp: Likewise.
1911 * gdb.trace/status-stop.exp: Likewise.
1912 * gdb.trace/strace.exp: Likewise.
1913 * gdb.trace/tfile.exp: Likewise.
1914 * gdb.trace/tfind.exp: Likewise.
1915 * gdb.trace/trace-break.exp: Likewise.
1916 * gdb.trace/tracecmd.exp: Likewise.
1917 * gdb.trace/trace-mt.exp: Likewise.
1918 * gdb.trace/tspeed.exp: Likewise.
1919 * gdb.trace/tsv.exp: Likewise.
1920 * gdb.trace/while-stepping.exp: Likewise.
1921 * lib/gdb.exp: Likewise.
1922 * lib/gdbserver-support.exp: Likewise.
1923 * lib/java.exp: Likewise.
1924 * lib/mi-support.exp: Likewise.
1925 * lib/pascal.exp: Likewise.
1926 * lib/prompt.exp: Likewise.
1927 * lib/trace-support.exp: Likewise.
1928
47d48711
PA
19292013-06-07 Pedro Alves <palves@redhat.com>
1930
1931 * gdb.ada/info_types.c: Fix formating in copyright header.
1932 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
1933 * gdb.base/float.c: Likewise.
1934 * gdb.base/inferior-died.c: Likewise.
1935 * gdb.base/interp.c: Likewise.
1936 * gdb.base/jit-main.c: Likewise.
1937 * gdb.base/jit-solib.c: Likewise.
1938 * gdb.base/long_long.c: Likewise.
1939 * gdb.base/longjmp.c: Likewise.
1940 * gdb.base/nextoverexit.c: Likewise.
1941 * gdb.base/pr11022.c: Likewise.
1942 * gdb.base/prelink-lib.c: Likewise.
1943 * gdb.base/prelink.c: Likewise.
1944 * gdb.base/prologue.c: Likewise.
1945 * gdb.base/restore.c: Likewise.
1946 * gdb.base/sigchld.c: Likewise.
1947 * gdb.base/solib-search-lib1.c: Likewise.
1948 * gdb.base/solib-search-lib2.c: Likewise.
1949 * gdb.base/solib-search.c: Likewise.
1950 * gdb.base/solib-search.h: Likewise.
1951 * gdb.base/whatis.c: Likewise.
1952 * gdb.cp/abstract-origin.cc: Likewise.
1953 * gdb.cp/anon-struct.cc: Likewise.
1954 * gdb.cp/baseenum.cc: Likewise.
1955 * gdb.cp/bs15503.cc: Likewise.
1956 * gdb.cp/call-c-1.c: Likewise.
1957 * gdb.cp/call-c.cc: Likewise.
1958 * gdb.cp/class2.cc: Likewise.
1959 * gdb.cp/classes.cc: Likewise.
1960 * gdb.cp/cttiadd.cc: Likewise.
1961 * gdb.cp/cttiadd1.cc: Likewise.
1962 * gdb.cp/cttiadd2.cc: Likewise.
1963 * gdb.cp/cttiadd3.cc: Likewise.
1964 * gdb.cp/derivation.cc: Likewise.
1965 * gdb.cp/derivation2.cc: Likewise.
1966 * gdb.cp/dispcxx.cc: Likewise.
1967 * gdb.cp/exception.cc: Likewise.
1968 * gdb.cp/gdb2384-base.cc: Likewise.
1969 * gdb.cp/gdb2384-base.h: Likewise.
1970 * gdb.cp/gdb2384.cc: Likewise.
1971 * gdb.cp/gdb2495.cc: Likewise.
1972 * gdb.cp/mb-inline.h: Likewise.
1973 * gdb.cp/mb-inline1.cc: Likewise.
1974 * gdb.cp/mb-inline2.cc: Likewise.
1975 * gdb.cp/member-name.cc: Likewise.
1976 * gdb.cp/member-ptr.cc: Likewise.
1977 * gdb.cp/misc.cc: Likewise.
1978 * gdb.cp/namespace1.cc: Likewise.
1979 * gdb.cp/nextoverthrow.cc: Likewise.
1980 * gdb.cp/pr-574.cc: Likewise.
1981 * gdb.cp/pr9631.cc: Likewise.
1982 * gdb.cp/printmethod.cc: Likewise.
1983 * gdb.cp/psmang1.cc: Likewise.
1984 * gdb.cp/psmang2.cc: Likewise.
1985 * gdb.cp/psymtab-parameter.cc: Likewise.
1986 * gdb.cp/ptype-flags.cc: Likewise.
1987 * gdb.cp/ref-params.cc: Likewise.
1988 * gdb.cp/ref-types.cc: Likewise.
1989 * gdb.cp/smartp.cc: Likewise.
1990 * gdb.cp/try_catch.cc: Likewise.
1991 * gdb.cp/userdef.cc: Likewise.
1992 * gdb.cp/using-crash.cc: Likewise.
1993 * gdb.cp/virtfunc.cc: Likewise.
1994 * gdb.cp/virtfunc2.cc: Likewise.
1995 * gdb.dwarf2/callframecfa.S: Likewise.
1996 * gdb.dwarf2/dw2-ranges.c: Likewise.
1997 * gdb.dwarf2/dw2-ranges2.c: Likewise.
1998 * gdb.dwarf2/dw2-ranges3.c: Likewise.
1999 * gdb.dwarf2/dw2-restore.S: Likewise.
2000 * gdb.dwarf2/pieces.S: Likewise.
2001 * gdb.dwarf2/valop.S: Likewise.
2002 * gdb.java/jnpe.java: Likewise.
2003 * gdb.mi/mi-stepn.c: Likewise.
2004 * gdb.mi/mi-var-cp.cc: Likewise.
2005 * gdb.mi/mi-var-rtti.cc: Likewise.
2006 * gdb.mi/ns-stale-regcache.c: Likewise.
2007 * gdb.mi/pr11022.c: Likewise.
2008 * gdb.mi/solib-lib.c: Likewise.
2009 * gdb.mi/solib-main.c: Likewise.
2010 * gdb.python/py-arch.c: Likewise.
2011 * gdb.python/py-block.c: Likewise.
2012 * gdb.python/py-breakpoint.c: Likewise.
2013 * gdb.python/py-events.c: Likewise.
2014 * gdb.python/py-evthreads.c: Likewise.
2015 * gdb.python/py-explore.c: Likewise.
2016 * gdb.python/py-explore.cc: Likewise.
2017 * gdb.python/py-finish-breakpoint.c: Likewise.
2018 * gdb.python/py-finish-breakpoint2.cc: Likewise.
2019 * gdb.python/py-symbol.c: Likewise.
2020 * gdb.threads/execl.c: Likewise.
2021 * gdb.threads/execl1.c: Likewise.
2022
88ab5684
WN
20232013-06-07 Will Newton <will.newton@linaro.org>
2024
2025 * gdb.base/long_long.exp: Fix ARM EABI target glob.
2026
42daa7a0
WN
20272013-06-07 Will Newton <will.newton@linaro.org>
2028
2029 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
2030 and "starting".
2031
f4059ef3
WN
20322013-06-07 Will Newton <will.newton@linaro.org>
2033
2034 * gdb.cp/anon-struct.exp: Conditionalize constructor and
2035 destructor prototypes for ARM ABI.
2036 * gdb.cp/m-static.exp: Likewise.
2037
8cb5cc78
YQ
20382013-06-07 Yao Qi <yao@codesourcery.com>
2039
2040 * gdb.trace/mi-trace-unavailable.exp: New.
2041 * gdb.trace/trace-unavailable.c: New.
2042
c6cf1712
DE
20432013-06-06 Doug Evans <dje@google.com>
2044
2045 * gdb.cp/derivation.exp: Make tests have unique names.
2046
bf6be0f4
TT
20472013-06-06 Tom Tromey <tromey@redhat.com>
2048
2049 * gdb.base/dump.exp (capture_value): Don't put expression into
2050 test name if arguments passed in.
2051 Rename a couple more tests to make them unique.
2052
ebb022fa
TT
20532013-06-06 Tom Tromey <tromey@redhat.com>
2054
2055 * gdb.base/break-always.exp: Explicitly specify test name.
2056
69fc87c2
DE
20572013-06-05 Doug Evans <dje@google.com>
2058 Keith Seitz <keiths@redhat.com>
2059
2060 * gdb.cp/derivation2.cc: New file.
2061 * gdb.cp/derivation.cc (main): Call foo2.
2062 * gdb.cp/derivation.exp: Add tests for typedefs in another
2063 file, and when there's an active block.
2064
f993f39e
LM
20652013-06-05 Luis Machado <lgustavo@codesourcery.com>
2066
2067 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
2068 from targets that use function descriptors in the virtual tables.
2069 Handle presence of dot symbols.
2070
afacd7f3
GB
20712013-06-04 Gary Benson <gbenson@redhat.com>
2072
2073 * gdb.base/break-probes.exp: New file.
2074 * gdb.base/break-probes.c: Likewise.
2075 * gdb.base/break-probes-solib.c: Likewise.
2076 * gdb.base/info-shared.exp: New file.
2077 * gdb.base/info-shared.c: Likewise.
2078 * gdb.base/info-shared-solib1.c: Likewise.
2079 * gdb.base/info-shared-solib2.c: Likewise.
2080
a29a3fb7
GB
20812013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2082 Gary Benson <gbenson@redhat.com>
2083
2084 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
2085 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
2086 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
2087 to be set to "no" to indicate that no ld.so copy should be made.
2088 * gdb.base/break-interp.exp (solib_bp): New constant.
2089 (reach_1): Use the above instead of "_dl_debug_state".
2090 (test_attach): Likewise.
2091 (test_ld): Likewise.
2092 * gdb.threads/dlopen-libpthread.exp: New file.
2093 * gdb.threads/dlopen-libpthread.c: Likewise.
2094 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
2095 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
2096
62a813cc
YQ
20972013-05-30 Yao Qi <yao@codesourcery.com>
2098
2099 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2100 Add a test that no MI notification is emitted when executing
2101 -exec-arguments.
2102
8f56dad4
JK
21032013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2104
2105 PR testsuite/12649
2106 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
2107 $mi_gdb_prompt expectation by mi_expect_stop.
2108 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
2109 (mi info dprintf second time): Replace them by mi_send_resuming_command
2110 and mi_expect_stop.
2111
c588eb20
GB
21122013-05-24 Gary Benson <gbenson@redhat.com>
2113
2114 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
2115 backslash.
2116 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
2117 backslashes.
2118 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
2119 backslash.
2120
c0ea94eb
YQ
21212013-05-24 Yao Qi <yao@codesourcery.com>
2122
2123 * gdb.trace/tfile.exp: Test inferior and thread.
2124
db1ac436
YQ
21252013-05-24 Yao Qi <yao@codesourcery.com>
2126 Pedro Alves <palves@redhat.com>
2127
2128 * gdb.base/range-stepping.exp: Skip the rest of tests if the
2129 test fails.
2130 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2131 Return 0 if the test passes, otherwise return 1.
2132
b6abb10c
DE
21332013-05-23 Doug Evans <dje@google.com>
2134
2135 * boards/fission-dwp.exp: New file.
2136
bc5065a7
PA
21372013-05-23 Yao Qi <yao@codesourcery.com>
2138 Pedro Alves <palves@redhat.com>
2139
2140 * gdb.base/range-stepping.c: New file.
2141 * gdb.base/range-stepping.exp: New file.
2142 * gdb.trace/range-stepping.c: New file.
2143 * gdb.trace/range-stepping.exp: New file.
2144 * lib/range-stepping-support.exp: New file.
2145
5f2e6b00
TT
21462013-05-22 Tom Tromey <tromey@redhat.com>
2147
2148 * gdb.cp/class2.cc (main): New local 'aref'.
2149 * gdb.cp/class2.exp: Check printing of 'aref'.
2150
e6ba475a
DE
21512013-05-22 Doug Evans <dje@google.com>
2152
2153 * gdb.threads/wp-replication.c (main): Insert some code at the start
2154 to ensure the breakpoint on main is only hit once. Fix comment.
2155
52c935b6
KS
21562013-05-21 Keith Seitz <keiths@redhat.com>
2157 Pedro Alves <palves@redhat.com>
2158
2159 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
2160 gdb_expect.
2161 Add test to flush the remaining input buffer so that this
2162 file passes testsuite/12649.
2163
bd9673a4
PW
21642013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2165
2166 * gdb.base/catch-signal-fork.exp: New file.
2167 * gdb.base/catch-signal-fork.c: New file.
2168
69a97597
SA
21692013-05-21 Sterling Augustine <saugustine@google.com>
2170
2171 * boards/remote-stdio-gdbserver.exp: New file.
2172
44e97363
JK
21732013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2174
2175 PR testsuite/12649
2176 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
2177 racy matches.
2178
02392865
CG
21792013-05-21 Christian Groessler <chris@groessler.org>
2180
2181 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
2182 since it's not supported in all shells.
2183
c5867ab6
HZ
21842013-05-21 Hui Zhu <hui@codesourcery.com>
2185
2186 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
2187 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
2188
6c9e2db4
DE
21892013-05-20 Doug Evans <dje@google.com>
2190
2191 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
2192 (_handle_DW_TAG): Use it.
2193 (cu, tu): Replace parameters is_64, version, addr_size with options.
2194 All callers updated. Add Fission support.
2195 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
2196 * gdb.dwarf2/method-ptr.exp: Ditto.
2197 * gdb.dwarf2/nostaticblock.exp: Ditto.
2198 * gdb.dwarf2/subrange.exp: Ditto.
2199 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
2200
4a6e676c
TT
22012013-05-20 Tom Tromey <tromey@redhat.com>
2202
2203 * gdb.gdb/python-selftest.exp: New file.
2204
e19d3afb
DE
22052013-05-20 Doug Evans <dje@google.com>
2206
2207 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
2208 -fdebug-types-section.
2209
4d804846
JB
22102013-05-20 Joel Brobecker <brobecker@adacore.com>
2211
2212 * gdb.ada/float_param: New testcase.
2213
8d324e83
DE
22142013-05-17 Doug Evans <dje@google.com>
2215
7d0c9981
DE
2216 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
2217 Add tests for "maint check-symtabs", "maint expand-symtabs".
2218
8d324e83
DE
2219 * gdb.base/maint.exp: Remove testing of individual maint command
2220 help output.
2221
177aadc4
PA
22222013-05-16 Pedro Alves <palves@redhat.com>
2223
2224 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
2225 comment. Use gdb_test_no_output.
2226
b8fea896
JB
22272013-05-16 Joel Brobecker <brobecker@adacore.com>
2228
2229 * gdb.ada/complete.exp: Add test verifying completion using
2230 the "tab" key.
2231
52c935b6
KS
22322013-05-15 Keith Seitz <keiths@redhat.com>
2233
2234 * gdb.base/filesym.exp: New completer test.
2235 * gdb.base/filesym.c: New file.
2236
ed0f00b8
PA
22372013-05-15 Pedro Alves <palves@redhat.com>
2238
2239 * gdb.base/fixsection.c: Remove attribution.
2240 * gdb.base/watch-read.exp: Ditto.
2241
55fb6d27
TT
22422013-05-13 Tom Tromey <tromey@redhat.com>
2243
2244 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
2245 size and change type sizes to 4 bytes.
2246
ac1ca910
TT
22472013-05-13 Tom Tromey <tromey@redhat.com>
2248
2249 * gdb.base/exprs.exp (test_expr): Add regression test.
2250 * gdb.base/exprs.c (null_t_struct): New global.
2251
8414efef
MB
22522013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
2253
2254 * gdb.base/default.exp: Disable history saving.
2255 * gdb.base/setshow.exp: Likewise.
2256
9779ab84
PA
22572013-05-10 Pedro Alves <palves@redhat.com>
2258
2259 PR remote/15455
2260
2261 * gdb.trace/qtro.c: New file.
2262 * gdb.trace/qtro.exp: New file.
2263
1e611234
PM
22642013-05-10 Phil Muldoon <pmuldoon@redhat.com>
2265
2266 * gdb.python/py-framefilter.py: New File.
2267 * gdb.python/py-framefilter-mi.exp: Ditto.
2268 * gdb.python/py-framefilter.c: Ditto.
2269 * gdb.python/py-framefilter-mi.exp: Ditto.
2270 * gdb.python/py-framefilter-mi.c: Ditto,
2271 * gdb.python/py-framefilter-gdb.py.in: Ditto.
2272
5e4c3ac4
TT
22732013-05-08 Tom Tromey <tromey@redhat.com>
2274
2275 * gdb.base/solib-search.exp: Set test name for "set
2276 solib-search-path" test.
2277
993654a9
HAQ
22782013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
2279
2280 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
2281 (set_a_tracepoint): Set tracepoint before prologue.
2282 (run_trace_experiment): Test setup_tracepoints and 'break end'
2283 in it.
2284 (trace_buffer_normal): Remove.
2285 (gdb_trace_circular_tests): Remove. Move tests to...
2286 (top level): ...here. Call 'runto_main' before checking for
2287 trace support. Use commands to check the support for circular
2288 trace buffer and changing of trace buffer size. Add test
2289 to calculate size of single frame. Use this size to
2290 calculate the size of trace buffer. Use 'tfind pc func9'
2291 instead of 'tfind 9'. Use 'with_test_prefix'.
2292
c95aea6b
TT
22932013-05-07 Tom Tromey <tromey@redhat.com>
2294
2295 * lib/selftest-support.exp: New file.
2296 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
2297 do_self_tests.
2298 (setup_test, find_gdb): Remove.
2299 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
2300 do_self_tests.
2301 (setup_test, find_gdb): Remove.
2302 (test_observer): Don't call setup_test. Remove argument.
2303 * gdb.gdb/selftest.exp: Load selftest-support.exp.
2304 (find_gdb): Remove.
2305 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
2306 do_self_tests.
2307 (setup_test, find_gdb): Remove.
2308 (test_with_self): Don't call setup_test. Remove argument.
2309
1f031429
PA
23102013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2311
2312 * gdb.arch/system-gcore.exp: Remove.
2313 * gdb.arch/gcore.c: Remove.
2314 * gdb.base/gcore.exp: Add "info reg system".
2315
58ce7251
SDJ
23162013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
2317
2318 PR breakpoints/15413:
2319 * gdb.base/pending.exp: Add test for completion of the "condition"
2320 command for pending breakpoints.
2321 * gdb.linespec/linespec.ex: Add test for completion of the
2322 "condition" command when dealing with multiple locations.
2323
aacbb8a5
LM
23242013-05-07 Luis Machado <lgustavo@codesourcery.com>
2325
2326 * gdb.threads/wp-replication.c: New file.
2327 * gdb.threads/wp-replication.exp: New file.
2328
2dd6254d
SL
23292013-05-06 Sandra Loosemore <sandra@codesourcery.com>
2330
2331 * gdb.xml/tdesc-regs.exp: Add case for nios2.
2332
c2a96e8c
DE
23332013-05-06 Doug Evans <dje@google.com>
2334
b903e17e
DE
2335 * gdb.base/solib-search-lib1.c: New file.
2336 * gdb.base/solib-search-lib2.c: New file.
2337 * gdb.base/solib-search.c: New file.
2338 * gdb.base/solib-search.h: New file.
2339 * gdb.base/solib-search.exp: New file.
2340
fac51dd9
DE
2341 * lib/gdb.exp (gdb_core_cmd): New function.
2342 * gdb.arch/system-gcore.exp: Use it.
2343 * gdb.arch/vsx-regs.exp: Ditto.
2344 * gdb.base/gcore.exp: Ditto.
2345 * gdb.threads/gcore-thread.exp: Ditto.
2346
c2a96e8c
DE
2347 * gdb.reverse/shr.h: New file.
2348 * gdb.reverse/shr1.c: New file.
2349 * gdb.reverse/shr2.c: #include "shr.h".
2350 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
2351 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
2352 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
2353 Update tests using sleep/printf to use shr2.sl instead.
2354 * gdb.reverse/solib-reverse.exp: Ditto.
2355
b6807d98
TT
23562013-05-06 Tom Tromey <tromey@redhat.com>
2357
2358 * gdb.dwarf2/implptrconst.c: New file.
2359 * gdb.dwarf2/implptrconst.exp: New file.
2360 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
2361 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
2362 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
2363
96f7d3f1
PW
23642013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2365
2366 * gdb.base/catch-sig.c (main): Raise SIGINT.
2367 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
2368
1ebff1fd
HAQ
23692013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
2370
2371 * status-stop.exp (test_tstart_tstart): Check for error
2372 returned by the second 'tstart' command.
2373
f92b06da
WT
23742013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
2375
2376 * gdb.xml/maint_print_struct.exp: New file.
2377 * gdb.xml/maint_print_struct.xml: New file.
2378
ff546935
TT
23792013-04-25 Tom Tromey <tromey@redhat.com>
2380
2381 * gdb.dwarf2/nostaticblock.exp: New file.
2382
bf9e4d0c
MB
23832013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
2384
2385 PR gdb/10462
2386 * gdb.base/setshow.exp: Add test case.
2387
a11cfd87
HZ
23882013-04-23 Hui Zhu <hui@codesourcery.com>
2389
2390 PR gdb/15293
a11cfd87
HZ
2391 * gdb.base/dprintf.exp: Add ignore command.
2392
2d9442cc
HZ
23932013-04-23 Hui Zhu <hui@codesourcery.com>
2394
2395 PR gdb/15165
2d9442cc
HZ
2396 * gdb.base/save-bp.exp: Add test for dprintf.
2397
0f3305ed
TT
23982013-04-22 Tom Tromey <tromey@redhat.com>
2399
2400 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
2401 notice_open_fds.
2402
d504301e
SDJ
24032013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
2404
2405 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
2406 ldflags.
2407
9991b207
SDJ
24082013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
2409
2410 * gdb.arch/arm-bl-branch-dest.c: New file.
2411 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
2412
433730c9
PA
24132013-04-19 Vladimir Kargov <kargov@gmail.com>
2414 Pedro Alves <palves@redhat.com>
2415
2416 * gdb.arch/i386-float.S: New file.
2417 * gdb.arch/i386-float.exp: New file.
2418
9a908334
LM
24192013-04-18 Luis Machado <lgustavo@codesourcery.com>
2420
2421 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
2422 type void *.
2423
4f22ed5c
DE
24242013-04-17 Doug Evans <dje@google.com>
2425
2426 * lib/dwarf.exp (Dwarf): New proc "tu".
2427 * gdb.dwarf2/missing-sig-type.exp: New file.
2428
a0d3f2f5
SCR
24292013-04-15 Siva Chandra Reddy <sivachandra@google.com>
2430
2431 Add option to link testcases with Pthreads library when
2432 using 'prepare_for_testing' in tests.
2433
2434 * lib/gdb.exp (build_executable_from_specs): Use
2435 gdb_compile_pthreads to compile if option "pthreads" is
2436 specified.
2437
cc16e6c9
TT
24382013-04-15 Tom Tromey <tromey@redhat.com>
2439
2440 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
2441
72f1fe8a
TT
24422013-04-15 Tom Tromey <tromey@redhat.com>
2443
2444 * gdb.base/default.exp: Update for $_exception.
2445 * gdb.cp/exceptprint.cc: New file.
2446 * gdb.cp/exceptprint.exp: New file.
2447 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
2448
6e72ca20
TT
24492013-04-15 Tom Tromey <tromey@redhat.com>
2450
2451 * gdb.cp/typeid.cc: New file.
2452 * gdb.cp/typeid.exp: New file.
2453
591f19e8
TT
24542013-04-15 Tom Tromey <tromey@redhat.com>
2455
2456 * gdb.cp/exception.exp: Add "catch rethrow" tests.
2457
da9160e4
YQ
24582013-04-13 Yao Qi <yao@codesourcery.com>
2459
2460 * gdb.base/completion.exp: Test completion of command
2461 'target ctf' if target ctf is supported.
2462
f81d1120
PA
24632013-04-10 Pedro Alves <palves@redhat.com>
2464
2465 * gdb.base/completion.exp: Test "set height", "set listsize" and
2466 "set trace-buffer-size" completion.
2467 * gdb.base/setshow.exp: Test "set height unlimited".
2468 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
2469 unlimited".
2470
393fd4c3
YQ
24712013-04-10 Yao Qi <yao@codesourcery.com>
2472
2473 * gdb.trace/actions.exp: Save trace data to CTF.
2474 Change to ctf target if GDB supports, read CTF data in ctf
2475 target, and check the actions of tracepoints.
2476 * gdb.trace/while-stepping.exp: Likewise.
2477 * gdb.trace/report.exp: Test GDB saves trace data to CTF
2478 format and read CTF trace file if GDB supports.
2479 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
2480 target is supported, change to ctf target, read trace data and
2481 check output of command "tstatus".
2482 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
2483 read CTF data by target ctf and call check_tsv.
2484
b7a273f8
YQ
24852013-04-10 Yao Qi <yao@codesourcery.com>
2486
2487 * gdb.trace/actions.exp (check_tracepoint): New.
2488 (top level): Start the tracing and check the actions of
2489 tracepoints. Save trace data to tfile format. Restart GDB
2490 and read trace file in tfile target. Check the actions of
2491 tracepoints again.
2492 * gdb.trace/while-stepping.exp: Likewise.
2493
f3786771
YQ
24942013-04-10 Yao Qi <yao@codesourcery.com>
2495
2496 * gdb.trace/report.exp: Use standard_output_file for saved
2497 trace file.
2498
5c2b4418
HZ
24992013-04-10 Hui Zhu <hui@codesourcery.com>
2500
2501 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
2502 (MISCELLANEOUS): Add dprintf-pendshr.sl.
2503 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
2504
f7543f0a
JK
25052013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2506
2507 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
2508 response.
2509
f6de8ec2
PA
25102013-04-08 Pedro Alves <palves@redhat.com>
2511
2512 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
2513 the location.
2514
b8abfd58
SL
25152013-04-04 Sandra Loosemore <sandra@codesourcery.com>
2516
2517 * gdb.cp/cplabel.exp: Allow empty directory in file reported
2518 for breakpoint location.
2519
156bffd0
SL
25202013-04-04 Sandra Loosemore <sandra@codesourcery.com>
2521
2522 * gdb.linespec/linespec.exp: Make dir/file:line tests
2523 conditional for non-remote hosts only.
2524
c9a6ce02
PA
25252013-04-04 Stan Shebs <stan@codesourcery.com>
2526 Pedro Alves <palves@redhat.com>
2527
2528 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
2529 * gdb.trace/actions-changed.c: New file.
2530 * gdb.trace/actions-changed.exp: New file.
2531 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
2532 (gdb_trace_setactions_command): ... this. Add "actions_command"
2533 parameter, and handle it.
2534 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
2535
4bd05f24
YQ
25362013-04-04 Yao Qi <yao@codesourcery.com>
2537
2538 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
2539 'step'.
2540
3758b5ce
YQ
25412013-04-03 Yao Qi <yao@codesourcery.com>
2542
2543 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
2544 "tfile-basic.tf".
2545 (test_tfind_tfile): Likewise.
2546
1dcaed0d
YQ
25472013-04-03 Yao Qi <yao@codesourcery.com>
2548
2549 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
2550 "tfile-basic.tf" instead of "basic.tf".
2551 (write_error_trace_file): Pass argument "tfile-error.tf"
2552 instead of "error.tf".
2553 * gdb.trace/tfile.exp: Update tfile names to
2554 "tfile-basic.tf" and "tfile-error.tf".
2555
0e7a53fc
SL
25562013-04-02 Sandra Loosemore <sandra@codesourcery.com>
2557
2558 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
2559 empty directory in file for breakpoint hit.
2560
9852c492
YQ
25612013-03-29 Yao Qi <yao@codesourcery.com>
2562
2563 * gdb.base/completion.exp: Test completion of commands
2564 "target core", "target tfile" and "target exec".
2565 * gdb.trace/tfile.exp: Test completion of command
2566 "target tfile".
2567
af312be7
JB
25682013-03-28 Joel Brobecker <brobecker@adacore.com>
2569
2570 * gdb.ada/win_fu_syms: New testcase.
2571
e4a48d9d
DE
25722013-03-28 Doug Evans <dje@google.com>
2573
2574 * gdb.base/maint.exp (maint print statistics): Update expected output.
2575
7f7cc265
PA
25762013-03-28 Pedro Alves <palves@redhat.com>
2577
2578 PR gdb/15294
2579
2580 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
2581 mean unlimited instead of $arg < 0.
2582 (test_listsize): Remove "listsize of 0 suppresses output" test.
2583 Test that "set listsize 0" ends up with an unlimited listsize.
2584
fc0da894
PA
25852013-03-28 Pedro Alves <palves@redhat.com>
2586
2587 * gdb.base/list.exp (last_line): New global.
2588 (last_line_re): New global.
2589 (test_listsize, test_list_function, test_list_forward)
2590 (test_repeat_list_command, test_list_range)
2591 (test_list_filename_and_function): Use them.
2592 * gdb.base/list0.c: Comment the last line of the file with "last
2593 line".
2594
abe7b711
PA
25952013-03-28 Pedro Alves <palves@redhat.com>
2596
2597 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
2598 list the whole file.
2599
15b3979c
PA
26002013-03-28 Pedro Alves <palves@redhat.com>
2601
2602 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
2603 "set listsize".
2604
96811e3b
KS
26052013-03-26 Keith Seitz <keiths@redhat.com>
2606
2607 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
2608 from passing.
2609
4043f22b
PA
26102013-03-26 Pedro Alves <palves@redhat.com>
2611
2612 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
2613 until after GDB has run.
2614
14a1aa17
YQ
26152013-03-26 Yao Qi <yao@codesourcery.com>
2616
2617 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
2618 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
2619
99c819ee
MM
26202013-03-26 Markus Metzger <markus.t.metzger@intel.com>
2621
2622 * gdb.btrace/enable.exp: Add regression test.
2623
24955f63
TT
26242013-03-25 Tom Tromey <tromey@redhat.com>
2625
2626 * gdb.cp/m-static.exp: Add destructor-printing tests.
2627
fce632b6
TT
26282013-03-25 Tom Tromey <tromey@redhat.com>
2629
2630 * gdb.cp/m-static.exp: Add constructor ptype tests.
2631 * gdb.cp/m-static.cc (single_constructor): New class.
2632 (main): Make instance of single_constructor.
2633
598d3636
JK
26342013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2635 Pedro Alves <palves@redhat.com>
2636
2637 * gdb.server/server-kill.c: New file.
2638 * gdb.server/server-kill.exp: New file.
2639
c12440c9
PA
26402013-03-21 Pedro Alves <palves@redhat.com>
2641
2642 * gdb.trace/trace-buffer-size.exp (get default buffer size):
2643 Expect $gdb_prompt in gdb_test_multiple.
2644
bd712aed
DE
26452013-03-21 Doug Evans <dje@google.com>
2646
2647 * gdb.base/maint.exp: Update tests for per-command stats.
2648
b2f83c08
TT
26492013-03-21 Tom Tromey <tromey@redhat.com>
2650
2651 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
2652 * gdb.cp/misc.exp: Add test for FILENAME:: case.
2653
ef0026f0
PA
26542013-03-20 Pedro Alves <palves@redhat.com>
2655
2656 PR gdb/15289
2657
2658 * gdb.base/remote.exp: Test
2659 "set remote hardware-watchpoint-limit -1",
2660 "set remote hardware-breakpoint-limit -1",
2661 "set remote hardware-watchpoint-limit 2147483647" and
2662 "set remote hardware-breakpoint-limit 2147483647".
2663
3f1175a9
PA
26642013-03-20 Pedro Alves <palves@redhat.com>
2665 Yao Qi <yao@codesourcery.com>
2666
2667 * gdb.trace/tfile.c: Add comments.
2668 (nonconstglob): New global.
2669 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
2670 global that is not covered by the trace frame. Test
2671 disassembling.
2672
a09ae1c1
JK
26732013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2674
2675 * gdb.base/valgrind-infcall.exp
2676 (continue #$continue_count) <remote connection closed>
2677 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
2678 $valgrind_pid.
2679
9ce98649
TT
26802013-03-15 Tom Tromey <tromey@redhat.com>
2681
2682 * gdb.cp/overload.cc (intintfunc): New.
2683 * gdb.cp/overload.exp: Add regression test.
2684
0a251e08
YQ
26852013-03-15 Yao Qi <yao@codesourcery.com>
2686
2687 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
2688 using with_test_prefix.
2689 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
2690 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
2691 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
2692 * gdb.threads/watchpoint-fork.exp (test): Likewise.
2693 * gdb.base/break-interp.exp (test_core): Likewise.
2694 (test_attach_gdb): Likewise.
2695 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
2696 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2697 Likewise.
2698 * gdb.base/jit-so.exp (one_jit_test): Likewise.
2699 * gdb.base/jit.exp (one_jit_test): Likewise.
2700 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
2701 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
2702 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
2703 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
2704 Likewise.
2705 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2706 Likewise.
2707 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
2708 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
2709 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
2710 (tracepoint_change_loc_2): Likewise.
2711 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
2712 Likewise.
2713 (disconnected_tfind): Likewise.
2714 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
2715 Likewise.
2716 (test_tfind_remote): Likewise.
2717 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
2718 Likewise.
2719 (test_pending_resolved): Likewise.
2720 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
2721 Likewise.
2722 (test_upload_tsv): Likewise.
2723 * gdb.trace/pending.exp (pending_tracepoint_resolved):
2724 Likewise.
2725 (pending_tracepoint_works): Likewise.
2726 * gdb.trace/report.exp (use_collected_data): Likewise.
2727 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
2728 Likewise.
2729 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
2730 * gdb.trace/strace.exp (strace_info_marker): Likewise.
2731 (strace_trace_on_same_addr): Likewise.
2732 (strace_trace_on_diff_addr): Likewise.
2733 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
2734 (gdb_collect_locals_test): Likewise.
2735 (gdb_unavailable_registers_test): Likewise.
2736 (gdb_collect_globals_test): Likewise.
2737
2c415c0f
YQ
27382013-03-15 Yao Qi <yao@codesourcery.com>
2739
2740 * gdb.base/condbreak.exp: Add semicolon back which was removed
2741 by my previous commit.
2742
ae59b1da
YQ
27432013-03-14 Yao Qi <yao@codesourcery.com>
2744
2745 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
2746 'return'.
2747 (gdb_target_monitor, gdb_load): Likewise.
2748 * config/sid.exp (gdb_load): Likewise.
2749 * config/slite.exp (gdb_load): Likewise.
2750 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
2751 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
2752 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
2753 (single_step_until): Likewise.
2754 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2755 * gdb.arch/system-gcore.exp: Likewise.
2756 * gdb.base/bigcore.exp (extract_heap): Likewise.
2757 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
2758 * gdb.base/call-ar-st.exp: Likewise.
2759 * gdb.base/call-rt-st.exp: Likewise.
2760 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
2761 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
2762 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
2763 * gdb.base/corefile.exp: Likewise.
2764 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
2765 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
2766 * gdb.base/fixsection.exp: Likewise.
2767 * gdb.base/funcargs.exp: Likewise.
2768 * gdb.base/gcore-buffer-overflow.exp: Likewise.
2769 * gdb.base/gcore-relro.exp: Likewise.
2770 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
2771 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
2772 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
2773 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
2774 * gdb.base/list.exp: Likewise.
2775 (set_listsize): Likewise.
2776 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
2777 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
2778 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
2779 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
2780 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
2781 * gdb.base/setvar.exp: Likewise.
2782 (test_set): Likewise.
2783 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
2784 * gdb.base/solib-overlap.exp: Likewise.
2785 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
2786 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
2787 * gdb.base/watchpoint.exp (initialize): Likewise.
2788 (test_simple_watchpoint): Likewise.
2789 (test_disabling_watchpoints): Likewise.
2790 (test_watchpoint_triggered_in_syscall): Likewise.
2791 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
2792 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
2793 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
2794 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
2795 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
2796 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
2797 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2798 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2799 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
2800 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
2801 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2802 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
2803 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
2804 * gdb.mi/gdb792.exp: Likewise.
2805 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
2806 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
2807 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
2808 * gdb.threads/gcore-thread.exp: Likewise.
2809 (load_core): Likewise.
2810 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
2811 (test_startup, check_control_c): Likewise.
2812 * gdb.threads/sigstep-threads.exp: Likewise.
2813 * gdb.threads/thread_check.exp: Likewise.
2814 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
2815 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
2816 (set_a_tracepoint, trace_buffer_normal): Likewise.
2817 (gdb_trace_circular_tests): Likewise.
2818 * gdb.trace/collection.exp: Likewise.
2819 * gdb.trace/disconnected-tracing.exp: Likewise.
2820 * gdb.trace/infotrace.exp: Likewise.
2821 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2822 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2823 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
2824 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
2825 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
2826 * gdb.trace/stap-trace.exp: Likewise.
2827 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
2828 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
2829 * gdb.trace/trace-buffer-size.exp: Likewise.
2830 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
2831 * gdb.trace/unavailable.exp: Likewise.
2832 * gdb.trace/while-dyn.exp: Likewise.
2833 * lib/fortran.exp (set_lang_fortran): Likewise.
2834 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
2835 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
2836 (default_gdb_start, get_compiler_info): Likewise.
2837 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
2838 (get_debug_format, setup_xfail_format): Likewise.
2839 (rerun_to_main, gdb_skip_float_test): Likewise.
2840 (build_id_debug_filename_get, get_remotetimeout): Likewise.
2841 * lib/java.exp (set_lang_java): Likewise.
2842 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
2843 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
2844 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
2845 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
2846 * lib/objc.exp (set_lang_objc): Likewise.
2847 * lib/pascal.exp (set_lang_pascal): Likewise.
2848 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
2849 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
2850 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
2851
bb869963
SDJ
28522013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
2853
2854 PR c++/15203
2855 PR c++/15210
2856 * gdb.cp/m-static.cc (keepalive_int): New function.
2857 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
2858 * gdb.cp/m-static.exp: New test for `sintvar'.
2859
e2be70a0
YQ
28602013-03-14 Yao Qi <yao@codesourcery.com>
2861
2862 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
2863 of 'tstatus' into tstatus_output.
2864 (top level): Save the trace data to tfile. Read trace file in
2865 tfile target. Check the trace status.
2866
8ddb1965
YQ
28672013-03-13 Yao Qi <yao@codesourcery.com>
2868
2869 * gdb.trace/tsv.exp (check_tsv): New.
2870 (top level): Save a tfile on current trace session. Call
2871 check_tsv on live target. Load the tfile with target tfile
2872 and call check_tsv again.
2873
045dd51f
YQ
28742013-03-13 Yao Qi <yao@codesourcery.com>
2875
2876 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
2877 Replace some "gdb_test" with "gdb_test_no_output".
2878
82d049ab
PH
28792013-03-12 Paul Hilfinger <hilfingr@adacore.com>
2880
2881 * gdb.ada/expr_delims.exp: New file.
2882 * gdb.ada/expr_delims/foo.adb: New file.
2883 * gdb.ada/expr_delims/pck.ads: New file.
2884 * gdb.ada/expr_delims/pck.adb: New file.
2885
cb8ea32b
KS
28862013-03-11 Keith Seitz <keiths@redhat.com>
2887
2888 * watchpoint.exp (test_no_hw_watchpoints): Add test using
2889 both condition and thread. Then delete the watchpoint.
2890
2f1d9bdd
MM
28912013-03-11 Christian Himpel <christian.himpel@intel.com>
2892
2893 * Makefile.in: Add btrace testsuite.
2894 * configure: Regenerated.
2895 * configure.ac: Add btrace testsuite.
2896 * gdb.btrace/Makefile.in: New file.
2897 * gdb.btrace/enable.c: New file.
2898 * gdb.btrace/enable.exp: New file.
2899 * gdb.btrace/function_call_history.c: New file.
2900 * gdb.btrace/function_call_history.exp: New file.
2901 * gdb.btrace/instruction_history.c: New file.
2902 * gdb.btrace/instruction_history.exp: New file.
2903 * gdb.btrace/instruction_history.S: New file.
2904 * lib/gdb.exp: Add btrace skip proc.
2905
05c56a9d
JK
29062013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2907
2908 Fix entry-values if the callee called a noreturn function.
2909 * gdb.arch/amd64-tailcall-noret.S: New file.
2910 * gdb.arch/amd64-tailcall-noret.c: New file.
2911 * gdb.arch/amd64-tailcall-noret.exp: New file.
2912
9112db09
JK
29132013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2914
2915 Fix entry-values in C++ across CUs.
2916 * gdb.arch/amd64-tailcall-cxx.exp: New file.
2917 * gdb.arch/amd64-tailcall-cxx1.S: New file.
2918 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
2919 * gdb.arch/amd64-tailcall-cxx2.S: New file.
2920 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
2921
be9a119c 29222013-03-08 Stan Shebs <stan@codesourcery.com>
f6f899bf
HAQ
2923 Hafiz Abid Qadeer <abidh@codesourcery.com>
2924
2925 gdb/testsuite/
2926 * gdb.trace/trace-buffer-size.exp: New file.
2927 * gdb.trace/trace-buffer-size.c: New file.
2928
049109b0
PA
29292013-03-06 Pedro Alves <palves@redhat.com>
2930
2931 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
2932 doesn't support the tested optional feature, call "unsupported"
2933 with the same test message as the "pass" case, instead of calling
2934 "pass" with a different message. Use the same text for the "fail"
2935 cases too.
2936
4aa54120
YQ
29372013-03-06 Yao Qi <yao@codesourcery.com>
2938
2939 * gdb.trace/tstatus.exp: Remove the invocation of
2940 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
2941 (test_tracepoints): Don't set fast tracepoint.
2942 (top level): Don't check agent library is loaded or not.
2943
b8b71e63
YQ
29442013-03-06 Yao Qi <yao@codesourcery.com>
2945
2946 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
2947 parentheses by "\\".
2948
33f448b1
JK
29492013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2950
2951 * gdb.linespec/base/one/thefile.cc (twodup): New.
2952 (m): Call it.
2953 * gdb.linespec/base/two/thefile.cc (dupname): New.
2954 (n): Call it.
2955 * gdb.linespec/break-ask.exp: New file.
2956 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
2957
1c942fb9
YQ
29582013-02-28 Yao Qi <yao@codesourcery.com>
2959
2960 * gdb.trace/report.exp: Move some code to ...
2961 (use_collected_data): New.
2962 (top level): Call use_collected_data once on the live target.
2963 Save at file of the current trace session, load it with target
2964 tfile, and call use_collected_data again.
2965
5b967901
JK
29662013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2967
2968 * gdb.threads/fork-thread-pending.c (main): Add alarm.
2969
6447023f
JK
29702013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2971
2972 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
2973 Add final kill of ${valgrind_pid}.
2974
9f44fbc0
SCR
29752013-02-20 Siva Chandra Reddy <sivachandra@google.com>
2976
2977 * gdb.python/py-arch.c: New test case
2978 * gdb.python/py-arch.exp: New tests to test
2979 gdb.Architecture.disassemble
2980 * gdb.python/Makefile.in: Add py-arch to the list of
2981 EXECUTABLES.
2982
4c9ad8c2
TT
29832013-02-18 Tom Tromey <tromey@redhat.com>
2984
2985 * gdb.dwarf2/subrange.exp: New file.
2986
f5911ea1
HAQ
29872013-02-15 Pedro Alves <pedro@codesourcery.com>
2988 Hafiz Abid Qadeer <abidh@codesourcery.com>
2989
2990 * gdb.trace/tfile.exp: Add test for -trace-status command.
2991
420f4384
JK
29922013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2993
2994 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
2995 nanosleep by sleep.
2996
4819b3f8
PA
29972013-02-14 Pedro Alves <palves@redhat.com>
2998
2999 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
3000
1773c82c
HAQ
30012013-02-14 Pedro Alves <pedro@codesourcery.com>
3002 Hafiz Abid Qadeer <abidh@codesourcery.com>
3003
3004 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
3005
e234dfaf
TT
30062013-02-12 Tom Tromey <tromey@redhat.com>
3007
3008 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
3009 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
3010
6c01dd94
PA
30112013-02-12 Pedro Alves <palves@redhat.com>
3012
3013 * gdb.base/catch-signal.c: Update copyright years.
3014 * gdb.base/catch-signal.exp: Update copyright years.
3015 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
3016 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
3017 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
3018 * gdb.dwarf2/dw2-error.S: Update copyright years.
3019 * gdb.dwarf2/dw2-error.c: Update copyright years.
3020 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
3021 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
3022 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
3023
595fc67f
PA
30242013-02-12 Pedro Alves <palves@redhat.com>
3025
3026 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
3027 message.
3028 * gdb.base/sigaltstack.exp: Ditto.
3029 * gdb.base/siginfo.exp: Ditto.
3030 * gdb.base/sizeof.exp: Ditto.
3031
17282693
PA
30322013-02-12 Pedro Alves <palves@redhat.com>
3033
3034 * gdb.mi/mi-basics.exp: Tweak intro comment.
3035 * gdb.mi/mi-break.exp: Tweak intro comment.
3036 * gdb.mi/mi-console.exp: Tweak intro comment.
3037 * gdb.mi/mi-file.exp: Tweak intro comment.
3038 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
3039 * gdb.mi/mi-return.exp: Tweak intro comment.
3040 * gdb.mi/mi-stepi.exp: Tweak intro comment.
3041 * gdb.mi/mi-until.exp: Tweak intro comment.
3042 * gdb.mi/mi-watch.exp: Tweak intro comment.
3043
8a4ac37e
PA
30442013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3045
3046 * gdb.server/no-thread-db.exp: New file.
3047 * gdb.server/no-thread-db.c: New file.
3048 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
3049
c2792f5a
DE
30502013-02-11 Doug Evans <dje@google.com>
3051
3052 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
3053 two decfloats.
3054
d9e98382
SDJ
30552013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
3056
3057 * gdb.base/bitfields.c (struct internalvartest): New declaration.
3058 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
3059
a321661a
JK
30602013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3061
3062 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
3063
134a2066
YQ
30642013-02-06 Yao Qi <yao@codesourcery.com>
3065
3066 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
3067 to ...
3068 (test_create_delete_modify_tsv): ... here. New test on modifying
3069 the initial value of a tsv.
3070
5a2dc60a
JK
30712013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3072
3073 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
3074 (cd .../rdir): ... here.
3075
233d95b5
JK
30762013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3077
3078 * gdb.linespec/base/one/header.h: New file.
3079 * gdb.linespec/base/two/header.h: New file.
3080 * gdb.linespec/macro-relative.c: New file.
3081 * gdb.linespec/macro-relative.exp: New file.
3082
fbd9ab74
JK
30832013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3084
3085 * gdb.base/fullpath-expand-func.c: New file.
3086 * gdb.base/fullpath-expand.c: New file.
3087 * gdb.base/fullpath-expand.exp: New file.
3088 * gdb.base/realname-expand-real.c: New file.
3089 * gdb.base/realname-expand.c: New file.
3090 * gdb.base/realname-expand.exp: New file.
3091
1b56eb55
JK
30922013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3093
3094 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
3095 * gdb.dwarf2/dw2-dir-file-name.c: New file.
3096
af529f8f
JK
30972013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3098
3099 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
3100 (compare_filenames_for_search does not match)
3101 (compare_filenames_for_search does match): New tests.
3102
f5b95b50
JK
31032013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3104
3105 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
3106
d47921b9
JK
31072013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3108
3109 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
3110
8a92335b
JK
31112013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3112
3113 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
3114 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
3115 ${binfile}.mini_debuginfo-debuglink and
3116 ${binfile}.mini_debuginfo-debuglink.xz.
3117
17f2157d
TT
31182013-02-01 Tom Tromey <tromey@redhat.com>
3119
3120 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
3121 attributes.
3122
d65f0a9c
TT
31232013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3124 Tom Tromey <tromey@redhat.com>
3125
3126 * gdb.dwarf2/method-ptr.exp: Link with c++.
3127 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
3128
f25c0135
TT
31292013-01-31 Tom Tromey <tromey@redhat.com>
3130
3131 * gdb.base/jit.exp (compile_jit_test): New proc.
3132 Add PIE tests.
3133
7078baeb
TT
31342013-01-31 Tom Tromey <tromey@redhat.com>
3135
3136 * gdb.dwarf2/method-ptr.cc: New file.
3137 * gdb.dwarf2/method-ptr.exp: New file.
3138
1d24041a
TT
31392013-01-31 Tom Tromey <tromey@redhat.com>
3140
3141 * lib/dwarf.exp (namespace Dwarf): New.
3142
8d9878a4
TT
31432013-01-29 Tom Tromey <tromey@redhat.com>
3144
3145 * gdb.dwarf2/fission-reread.exp: Add unload test.
3146
bed911e5
DE
31472013-01-28 Doug Evans <dje@google.com>
3148
3149 * gdb.dwarf2/fission-loclists.exp: New file.
3150 * gdb.dwarf2/fission-loclists.S: New file.
3151
e229648e
JK
31522013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3153
3154 Code cleanup.
3155 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
3156 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
3157 and prepare_for_testing.
3158 * gdb.base/store.exp: Likewise.
3159
86700f00
TT
31602013-01-25 Tom Tromey <tromey@redhat.com>
3161
3162 * gdb.python/py-explore.exp: Expect the gdb prompt.
3163
8954db33
AB
31642013-01-25 Andrew Burgess <aburgess@broadcom.com>
3165
3166 * gdb.base/gnu_vector.c: New variable for use in tests.
3167 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
3168 changes in scalar to vector casting and widening.
3169 * gdb.python/py-type.c: New variables for use in tests.
3170 * gdb.python/py-type.exp: Update vector related tests to reflect
3171 changes in scalar to vector casting and widening.
3172
2077afdd
TD
31732013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
3174
3175 * gdb.base/prologue-include.c: New file.
3176 * gdb.base/prologue-include.exp: New file.
3177 * gdb.base/prologue-include.h: New file.
3178
d7499464
HAQ
31792013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
3180
3181 PR gdb/13443
3182 * gdb.mi/mi-var-block.exp: Make test messages unique.
3183
e2a3e0f1
TT
31842013-01-23 Tom Tromey <tromey@redhat.com>
3185
3186 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
3187
152fcc9c
TT
31882013-01-23 Tom Tromey <tromey@redhat.com>
3189
3190 * gdb.cp/converts.cc (main): Initialize 'a'.
3191
bea883fd
SCR
31922013-01-23 Siva Chandra Reddy <sivachandra@google.com>
3193
3194 * testsuite/gdb.python/frame.exp: Add a test for
3195 gdb.Frame.architecture() method.
3196
0928e93d
PA
31972013-01-22 Pedro Alves <palves@redhat.com>
3198
3199 * gdb.base/annota1.exp (signal sent): No longer expect
3200 breakpoints-invalid.
3201 * gdb.cp/annota2.exp (continue until exit)
3202 (watch triggered on a.x): Ditto.
3203
9c97429f
PA
32042013-01-22 Pedro Alves <palves@redhat.com>
3205
3206 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
3207 Adjust tests to breakpoints-invalid changes.
3208 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
3209 variables.
3210 Adjust tests to breakpoints-invalid changes.
3211
187d10dd
PA
32122013-01-22 Pedro Alves <palves@redhat.com>
3213
3214 * gdb.base/annota1.exp (annotate ignore count change): Add
3215 expected output for failure case.
3216
ea3aedcb
TT
32172013-01-22 Tom Tromey <tromey@redhat.com>
3218
3219 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
3220 call.
3221
998580f1
MK
32222013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
3223
3224 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
8f1d5693 3225 * gdb.mi/mi-catch-load.exp: Ditto.
998580f1
MK
3226 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
3227 Also handle 'thread' field.
3228 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
3229 * gdb.mi/mi-watch.exp: Ditto.
3230 * lib/mi-support.exp: Ditto.
3231
8f1d5693
MK
32322013-01-21 Siva Chandra Reddy <sivachandra@google.com>
3233
3234 * gdb.python/py-explore.exp: Improve a test
3235
2d8c5d7c
DB
32362013-01-18  David Blaikie  <dblaikie@gmail.com>
3237
3238 * gdb.base/label.c (main): Correct the type of the second
3239 parameter.
3240
46f35228
TT
32412013-01-18 Tom Tromey <tromey@redhat.com>
3242
3243 * gdb.dwarf2/trace-crash.s: New file.
3244 * gdb.dwarf2/trace-crash.exp: New file.
3245
5965d69d
HAQ
32462013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
3247
43aaf8b6
PA
3248 PR gdb/13443
3249 * gdb.base/checkpoint.exp: Update test messages to make them
3250 unique.
5965d69d 3251
5ae4861a
YQ
32522013-01-18 Yao Qi <yao@codesourcery.com>
3253
3254 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
3255 output of 'info tracepoints'.
3256 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
3257 Likewise.
3258 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
3259 * gdb.trace/disconnected-tracing.c (struct foo): New.
3260
d84fca2c
JK
32612013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3262
3263 * gdb.dwarf2/dw2-dos-drive.S: New file.
3264 * gdb.dwarf2/dw2-dos-drive.exp: New file.
3265
aebb1cc9
DE
32662013-01-17 Doug Evans <dje@google.com>
3267
2782d512
DE
3268 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
3269 CXX_FOR_TARGET.
3270
aebb1cc9
DE
3271 * boards/cc-with-tweaks.exp: New file.
3272
db2b2972
TT
32732013-01-17 Tom Tromey <tromey@redhat.com>
3274
3275 * gdb.base/completion.exp: Add "set cp-abi" completion test.
3276
96343774
PA
32772013-01-17 Pedro Alves <palves@redhat.com>
3278
3279 Merge dg-extract-results.sh from upstream (svn 195224).
3280
3281 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 3282 * dg-extract-results.sh: Fix order of summary counts.
96343774
PA
3283
3284 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 3285 * dg-extract-results.sh: Constrain the start-of-log pattern.
96343774
PA
3286
3287 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 3288 * dg-extract-results.sh: Handle KPASSes.
96343774
PA
3289
3290 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3291 * dg-extract-results.sh: Redirect grep output to /dev/null instead
3292 of grep -q.
3293
675921c0
SD
32942012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
3295
3296 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
3297 interface.
3298 * gdb.base/jithost.c: New file.
3299 * gdb.base/jithost.h: New file.
3300 * gdb.base/jitreader.c : New file.
3301 * gdb.base/jit-protocol.h: New file.
3302
ab04a2af
TT
33032013-01-16 Tom Tromey <tromey@redhat.com>
3304
3305 * gdb.base/catch-signal.c: New file.
3306 * gdb.base/catch-signal.exp: New file.
3307
8ac3646f
TT
33082013-01-16 Tom Tromey <tromey@redhat.com>
3309
3310 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
3311
22fc223e
JK
33122013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3313
3314 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
3315
44478ab3
TT
33162013-01-14 Tom Tromey <tromey@redhat.com>
3317
3318 * gdb.base/completion.exp: Add "set gnutarget" test.
3319
06d66ee9
TT
33202013-01-14 Tom Tromey <tromey@redhat.com>
3321
3322 * gdb.dwarf2/dw2-restrict.S: New file.
3323 * gdb.dwarf2/dw2-restrict.c: New file.
3324 * gdb.dwarf2/dw2-restrict.exp: New file.
3325
c9bf0622
TT
33262013-01-14 Tom Tromey <tromey@redhat.com>
3327
3328 * gdb.dwarf2/dw2-error.exp: New file.
3329 * gdb.dwarf2/dw2-error.c: New file.
3330 * gdb.dwarf2/dw2-error.S: New file.
3331
5b12a61c
JK
33322013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3333
3334 * gdb.cp/parse-lang.cc: New file.
3335 * gdb.cp/parse-lang.exp: New file.
3336
f0a4b570
JK
33372013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3338
3339 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
3340 (set substitute-path): New test.
3341 (fullname present): Remove content.
3342 (substituted fullname): New test.
3343
f751cc97
JB
33442013-01-13 Joel Brobecker <brobecker@adacore.com>
3345
3346 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
3347 check. Move $gdb_py_is_py24 value check right after.
3348
04164e8e
JK
33492013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3350
3351 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
3352 targets.
3353
5bf480a5
YQ
33542013-01-11 Yao Qi <yao@codesourcery.com>
3355
3356 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
3357 for dprintf.
3358 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
3359 Check the fields in "=breakpoint-created" for dprintf.
3360
f35a17b5
JK
33612012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3362
3363 * gdb.mi/mi-fullname-deleted.exp: New file.
3364
85817405
JK
33652012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3366
3367 * gdb.base/skip-solib.exp (info skip with pending file): Update the
3368 expected output.
3369 (info skip with pending file): Remove.
3370 (ignoring function in solib, info skip for function multiply): Update
3371 the expected output.
3372 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
3373 (info skip (delete 1), info skip after disabling all)
3374 (info skip after enabling all, info skip after disabling 4 2-3)
3375 (info skip after enabling 2-3, info skip 2-3)
3376 (info skip after deleting 2 3): Update the expected output.
3377 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
3378 statement to its initialization and return.
3379 * gdb.linespec/skip-two.exp: New file.
3380
27210e12
DE
33812012-12-19 Doug Evans <dje@google.com>
3382
3383 * gdb.base/maint.exp: Handle testing with .gdb_index.
3384
bb627a12
JB
33852012-12-19 Joel Brobecker <brobecker@adacore.com>
3386
3387 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
3388 Cavium to FSF.
3389
7785b880
JB
33902012-12-19 Joel Brobecker <brobecker@adacore.com>
3391
3392 * dg-extract-results.sh: Update contact info in copyright notice.
3393 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
3394 GPL v3 or later. Update contact info.
3395 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
3396 gdb.threads/watchpoint-fork-mt.c,
3397 gdb.threads/watchpoint-fork-parent.c,
3398 gdb.threads/watchpoint-fork-st.c,
3399 gdb.threads/watchpoint-fork.h: Likewise.
3400
f2a8bc8a
YQ
34012012-12-15 Yao Qi <yao@codesourcery.com>
3402
3403 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
3404 'installed' field in '=breakpoint-modified'.
3405 (test_reconnect): Check 'installed' field in
3406 '=breakpoint-modified' and '=breakpoint-created'.
3407
3408 * gdb.trace/actions.exp: Update test for 'installed' field.
3409 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
3410 (tracepoint_change_loc_2): Likewise.
3411 Check 'info tracepoint' display nothing else.
3412 * gdb.trace/deltrace.exp: Likewise.
3413 * gdb.trace/infotrace.exp: Likewise.
3414 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
3415 Likewise.
3416 * gdb.trace/passcount.exp: Likewise.
3417 * gdb.trace/tracecmd.exp: Likewise.
3418 * gdb.trace/while-stepping.exp: Likewise.
3419
6592e36f
TT
34202012-12-14 Tom Tromey <tromey@redhat.com>
3421
3422 * gdb.cp/member-name.exp: New file.
3423 * gdb.cp/member-name.cc: New file.
3424
7d27a96d
TT
34252012-12-14 Tom Tromey <tromey@redhat.com>
3426
3427 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
3428
f8c05d0d
DE
34292012-12-14 Doug Evans <dje@google.com>
3430
3431 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
3432 DW_OP_GNU_implicit_pointer is section-relative.
3433
451b7c33
TT
34342012-12-14 Tom Tromey <tromey@redhat.com>
3435
43aaf8b6 3436 * gdb.base/info-proc.exp: Add core file tests.
451b7c33 3437
10e339df
PA
34382012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
3439
6fdff2c5 3440 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
10e339df 3441
e780d813
DE
34422012-12-13 Doug Evans <dje@google.com>
3443
3444 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
3445 * gdb.multi/multi-arch.exp: Ditto.
3446
ca3dbcc8 34472012-12-12 Keven Boell <keven.boell@intel.com>
6fdff2c5 3448
ca3dbcc8
MG
3449 * gdb.mi/mi-catch-load-so.c: New. Clone of the
3450 catch load test library source file.
3451 * gdb.mi/mi-catch-load.c: New. Clone of the catch
3452 load test source file.
3453 * gdb.mi/mi-catch-load.exp: New. Test file for
3454 basic MI -catch-load and -catch-unload tests.
3455
2960a434
PK
34562012-12-11 Paul Koning <paul_koning@dell.com>
3457
3458 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
3459 exception.
3460 (_iterator_except): New function.
3461 (ArrayPrinter): Use _iterator function instead of local _iterator
3462 class for Python 3 compatibility.
3463 (NoStringContainerPrinter): Use _iterator_except instead of
6fdff2c5 3464 _iterator.
2960a434
PK
3465 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
3466 execfile for Python 3 compatibility.
3467 * gdb.python/python.exp: Handle Python 2.4 exception traceback
3468 format in error_prompt test.
6fdff2c5 3469
9325cb04
PK
34702012-12-10 Paul Koning <paul_koning@dell.com>
3471
3472 * gdb.base/charset.exp: Change print syntax for Python 3
6fdff2c5 3473 compatibility.
9325cb04
PK
3474 * gdb.python/py-block.exp: Ditto.
3475 * gdb.python/py-breakpoint.exp: Ditto.
3476 * gdb.python/py-cmd.exp: Ditto.
3477 * gdb.python/py-events.py: Ditto.
3478 * gdb.python/py-finish-breakpoint.py: Ditto.
3479 * gdb.python/py-finish-breakpoint2.exp: Ditto.
3480 * gdb.python/py-finish-breakpoint2.py: Ditto.
3481 * gdb.python/py-frame-inline.exp: Ditto.
3482 * gdb.python/py-frame.exp: Ditto.
3483 * gdb.python/py-infthread.exp: Ditto.
3484 * gdb.python/py-objfile.exp: Ditto.
3485 * gdb.python/py-parameter.exp: Ditto.
3486 * gdb.python/py-progspace.exp: Ditto.
3487 * gdb.python/py-prompt.exp: Ditto.
3488 * gdb.python/py-symbol.exp: Ditto.
3489 * gdb.python/py-symtab.exp: Ditto.
3490 * gdb.python/py-template.exp: Ditto.
3491 * gdb.python/py-value-cc.exp: Ditto.
3492 * gdb.python/python.exp: Ditto.
3493 * gdb.python/source2.py: Ditto.
3494 * gdb.python/lib-types.exp: Change print syntax for Python 3
6fdff2c5 3495 compatibility.
9325cb04
PK
3496 Use sorted() function rather than sort() method.
3497 Accept either int or long values for enum values.
3498 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
3499 execfile for Python 3 compatibility.
3500 * gdb.python/py-evsignal.exp: Ditto.
3501 * gdb.python/py-evthreads.exp: Ditto.
3502 * gdb.python/py-mi.exp: Ditto.
3503 * gdb.python/py-pp-maint.exp: Ditto.
3504 * gdb.python/py-prettyprint.exp: Ditto.
3505 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
6fdff2c5 3506 Python 3 compatibility.
9325cb04
PK
3507 Skip tests for Python 2.4.
3508 * gdb.python/py-inferior.exp: Change print syntax for
6fdff2c5 3509 Python 3 compatibility.
9325cb04
PK
3510 Use byte string rather than character string in memory write test
3511 if Python 3.
3512 * gdb.python/py-pp-maint.py: Change class declarations to "new
3513 class" syntax.
3514 * gdb.python/py-prettyprint.py: Change iterator class to generator
3515 function for Python 3 compatibility.
3516 Make all classes "new style".
3517 Fix indentation issue and stray semicolon.
3518 * gdb.python/py-shared.expChange print syntax for Python 3
3519 compatibility.
3520 Define "long" if Python 3.
3521 * gdb.python/py-type.exp: Change print syntax for Python 3
6fdff2c5 3522 compatibility.
9325cb04
PK
3523 Accept either int or long values for enum values.
3524 * gdb.python/py-value.exp: Change print syntax for Python 3
6fdff2c5 3525 compatibility.
9325cb04
PK
3526 Skip "long" and "unicode" tests if Python 3.
3527 Accept either "type" or "class" in type checks.
3528 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
3529 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
3530
8b9737bf
TT
35312012-12-10 Tom Tromey <tromey@redhat.com>
3532
3533 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
3534 (test): Add "two_cu" argument.
3535 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
3536 for types; allow two CUs.
3537
1b80a9fa
JK
35382012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3539
3540 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
3541 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
3542
f0b6d50a
YQ
35432012-12-08 Yao Qi <yao@codesourcery.com>
3544 Pedro Alves <palves@redhat.com>
3545
3546 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
3547 '=breakpoint-created' when GDB merges the tracepoints of both
3548 sides.
3549
2f68a895
TT
35502012-12-07 Tom Tromey <tromey@redhat.com>
3551
3552 * gdb.base/break1.c (enum some_enum, union some_union): New.
3553 (some_enum_global, some_union_global, some_value): New globals.
3554 * gdb.base/completion.exp: Add tag completion tests.
3555
4fc5d43e
TT
35562012-12-07 Tom Tromey <tromey@redhat.com>
3557
3558 * gdb.base/completion.exp: Add tests for ptype and whatis
3559 completion.
3560
6559e013
JB
35612012-12-07 Joel Brobecker <brobecker@adacore.com>
3562
3563 * gdb.base/stale-infcall.exp: Fix copyright line.
3564
ae2b630d
JB
35652012-12-07 Joel Brobecker <brobecker@adacore.com>
3566
3567 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
3568
0ba2eb0f
TT
35692012-12-06 Pedro Alves <palves@redhat.com>
3570 Tom Tromey <tromey@redhat.com>
3571
3572 * gdb.base/exprs.exp: Add tests for cast to void.
3573
731145cb
TT
35742012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
3575
3576 * gdb.python/py-mi.exp: Correct expected results for attribute
3577 "dynamic" returned by -var-update.
3578 Add test case for correct handling of "diplayhint" for children
3579 of dynamic varobjs.
3580 * gdb.python/py-prettyprint.c (set_itme): New function.
3581 (bug_14741) New function.
3582 (main) Add call to bug_14741().
3583 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
3584
e58fcc15
UW
35852012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
3586
3587 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
3588 ${binfile}.funcsyms list.
3589
e9eb0d14
YQ
35902012-12-04 Yao Qi <yao@codesourcery.com>
3591
3592 PR gdb/13443
3593 * gdb.trace/actions.exp: Make test messages unique.
3594
4983028c
TT
35952012-11-29 Tom Tromey <tromey@redhat.com>
3596
3597 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
3598
ea5e6b0e
UW
35992012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
3600
3601 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
3602 * gdb.opencl/datatypes.exp: Likewise.
3603 * gdb.opencl/operators.exp: Likewise.
3604 * gdb.opencl/vec_comps.exp: Likewise.
3605
cdde3dfb
JG
36062012-11-29 Jerome Guitton <guitton@adacore.com>
3607
3608 * gdb.ada/iwide: New testcase.
3609
b50d69b5
JG
36102012-11-29 Jerome Guitton <guitton@adacore.com>
3611
3612 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
3613 ptype test.
3614
c2d3fccf
JG
36152012-11-29 Jerome Guitton <guitton@adacore.com>
3616
3617 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
3618 form {VARIANT_TYPE}ADDRESS.
3619
5edf51fe
YQ
36202012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
3621
3622 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
3623 (func): New function.
3624 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
3625 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
3626 pointers to members with pointer-to-function type.
3627
608e2dbb
TT
36282012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3629 Tom Tromey <tromey@redhat.com>
3630
3631 * gdb.base/gnu-debugdata.exp: New file.
3632 * gdb.base/gnu-debugdata.c: New file.
3633 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
3634 (gdb_unload): Return 0 on success.
3635
4648e588
JK
36362012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3637
3638 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
3639
17d6efc4
JB
36402012-11-26 Joel Brobecker <brobecker@adacore.com>
3641
3642 * gdb.base/empty_exe.exp: New testcase.
3643
ace21957
MF
36442012-11-20 Mike Frysinger <vapier@gentoo.org>
3645
3646 * gdb.base/completion.exp: Add test for help aliases completion.
3647
5c401a0a
YQ
36482012-11-20 Yao Qi <yao@codesourcery.com>
3649
3650 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
3651 Don't test 'maint set show-debug-regs'.
3652 Use command 'set remotecache' instead of
3653 'set circular-trace-buffer'.
3654
8dea366b
KS
36552012-11-16 Keith Seitz <keiths@redhat.com>
3656
3657 PR c++/13615
3658 * gdb.cp/baseenum.cc: New file.
3659 * gdb.cp/baseenum.exp: New file.
3660 * gdb.cp/derivation.cc (A): Add copyright.
3661 Add a typedef.
3662 (B): Use A::value_type instead of int. Change all references.
3663 (D): Use value_type instead of int. Change all references.
3664 (E): Likewise.
3665 (F); Likewise.
3666 (Z): New class.
3667 (ZZ): New class.
6fdff2c5 3668 (N, Base, Derived): New namespace and classes.
8dea366b
KS
3669 (main): Add instances of Z and ZZ.
3670 Make sure all symbols from N are kept.
3671 * gdb.cp/derivation.exp: Update typedef changes in tests.
3672 Add tests for class typedefs both before and after starting
3673 the inferior.
3674 Add tests for searching for a typedef while stopped in a
3675 method.
3676
5e34c6c3
LM
36772012-11-14 Luis Machado <lgustavo@codesourcery.com>
3678
3679 * gdb.mi/mi-var-create-rtti.c: New file.
3680 * gdb.mi/mi-var-create-rtti.exp: New file.
3681
5e487a5f
LM
36822012-11-14 Luis Machado <lgustavo@codesourcery.com>
3683
3684 * gdb.base/structs3.exp: Run to main before doing any tests.
3685
6d67b990
AB
36862012-11-14 Andrew Burgess <aburgess@broadcom.com>
3687
3688 * gdb.python/py-type.exp: Uniquify test names.
3689
e5d98164
YQ
36902012-11-14 Yao Qi <yao@codesourcery.com>
3691
3692 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
3693 (thread_function) [DEBUG]: Call 'printf'.
3694 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
3695 command line if 'DEBUG=1' is passed to test.
3696 Remove a pattern to match inferior's output.
3697
62747a60
TT
36982012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
3699
3700 * gdb.mi/mi-fill-memory.exp: New test.
3701
18a9fc12
TT
37022012-11-12 Tom Tromey <tromey@redhat.com>
3703
3704 * gdb.base/completion.exp: Update for "info type-printers".
3705 * gdb.python/py-typeprint.cc: New file.
3706 * gdb.python/py-typeprint.exp: New file.
3707 * gdb.python/py-typeprint.py: New file.
3708
bd69fc68
TT
37092012-11-12 Tom Tromey <tromey@redhat.com>
3710
3711 * gdb.base/call-sc.exp: Use "ptype/r".
3712 * gdb.base/volatile.exp: Don't expect "int".
3713 * gdb.cp/ptype-flags.cc: New file.
3714 * gdb.cp/ptype-flags.exp: New file.
3715 * gdb.cp/templates.exp: Use ptype/r.
3716 (test_ptype_of_templates, test_template_typedef): Likewise.
3717 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
3718 argument. Handle template names and template parameters.
3719 * gdb.mi/mi-var-cmd.exp: Accept "long".
3720 * gdb.mi/mi-var-child.exp: Accept "long".
3721 * gdb.mi/mi-var-display.exp: Accept "long".
3722 * gdb.mi/mi2-var-child.exp: Accept "long".
3723
b3720c3a
TT
37242012-11-12 Tom Tromey <tromey@redhat.com>
3725
3726 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
3727 "ptype" from calls to cp_test_ptype_class.
3728 (test_enums): Likewise.
3729 * gdb.cp/derivation.exp: Remove "ptype" from calls to
3730 cp_test_ptype_class.
3731 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
3732 calls to cp_test_ptype_class.
3733 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
3734 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
3735 from calls to cp_test_ptype_class.
3736 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
3737 command here. Change "in_command" argument to "in_exp".
3738
0d63ecda
KS
37392012-11-10 Keith Seitz <keiths@redhat.com>
3740
3741 PR gdb/14288
3742 * gdb.base/printcmds.c: Add invalid_XXX globals
3743 for repeated byte tests.
3744 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
3745 * gdb.base/wchar.c (main): Add and construct a wchar_t
3746 array with repeated characters.
3747 * gdb.base/wchar.exp: Add repeated character tests.
3748
ed8a1c2d
AB
37492012-11-09 Andrew Burgess <aburgess@broadcom.com>
3750
3751 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
3752 disassembly output.
3753
9107fc8d
PA
37542012-11-09 Pedro Alves <palves@redhat.com>
3755
3756 PR gdb/14306
3757
3758 * gdb.multi/multi-arch-exec.c: New file.
3759 * gdb.multi/multi-arch-exec.exp: New file.
3760
558a9d82
YQ
37612012-11-09 Yao Qi <yao@codesourcery.com>
3762
3763 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
3764 (top level): Call it.
3765
e714f336
YQ
37662012-11-09 Yao Qi <yao@codesourcery.com>
3767
3768 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
3769 typo.
3770
6ecd4729
PA
37712012-11-09 Pedro Alves <palves@redhat.com>
3772
3773 * gdb.multi/multi-arch.exp: New.
3774
9015683b
TT
37752012-11-08 Tom Tromey <tromey@redhat.com>
3776
3777 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
3778 core files, if possible.
3779 * gdb.base/siginfo-thread.c: New file
3780 * gdb.base/siginfo-thread.exp: New file
3781
ea9f10bb
TT
37822012-11-08 Tom Tromey <tromey@redhat.com>
3783
3784 * gdb.base/comprdebug.exp: New file.
3785
f6592439
PA
37862012-11-06 Pedro Alves <palves@redhat.com>
3787
3788 PR gdb/14810
3789
3790 * gdb.base/disabled-location.c: New file.
3791 * gdb.base/disabled-location.exp: New file.
3792
2d338fa9
TT
37932012-11-06 Tom Tromey <tromey@redhat.com>
3794
3795 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
3796 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
3797 gdb_gcore_cmd.
3798 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
3799 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
3800 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
3801 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
3802 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
3803 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
3804 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
3805 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
3806 * lib/gdb.exp (gdb_gcore_cmd): New proc.
3807
68c9da30
PA
38082012-11-05 Pedro Alves <palves@redhat.com>
3809
3810 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
3811 procedure.
3812 (do_vfork_and_follow_child_tests_exec)
3813 (do_vfork_and_follow_child_tests_exit): Call it.
3814
a7c8c931
PA
38152012-11-05 Pedro Alves <palves@redhat.com>
3816
3817 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
3818 fails.
3819
6f6484cd
YQ
38202012-11-03 Yao Qi <yao@codesourcery.com>
3821
3822 Fix PR gdb/14617.
3823 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
3824 Remove setup_kfail, and update test.
3825
b45627a0
TT
38262012-11-02 Tom Tromey <tromey@redhat.com>
3827
3828 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
3829 test.
3830
f50f4e56
PA
38312012-11-02 Pedro Alves <palves@redhat.com>
3832
3833 PR gdb/14766
3834
3835 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
3836 setup_kfail.
3837 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
3838 get registers".
3839
71ce889d
PA
38402012-11-02 Pedro Alves <palves@redhat.com>
3841
3842 * gdb.base/foll-vfork-exit.c: New file.
3843 * gdb.base/foll-vfork.exp (top level): New file-describing
3844 comment.
3845 (vfork_child_follow_to_exit): New procedure.
3846 (tcatch_vfork_then_child_follow): Rename as ...
3847 (tcatch_vfork_then_child_follow_exec): ... this.
3848 (tcatch_vfork_then_child_follow_exit): New procedure.
3849 (do_vfork_and_follow_parent_tests): New procedure, factored out
3850 from do_vfork_and_exec_tests.
3851 (do_vfork_and_follow_child_tests_exec): Ditto.
3852 (do_vfork_and_exec_tests): Delete.
3853 (do_vfork_and_follow_child_tests_exit): New procedure.
3854 (top level): Run tests with both the program that has the vfork
3855 child execing, and the program has the vfork child exiting.
3856
1e35b1a9
PA
38572012-11-02 Pedro Alves <palves@redhat.com>
3858
3859 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
3860 (check_vfork_catchpoints, vfork_parent_follow_through_step)
3861 (vfork_parent_follow_to_bp): Call it.
3862 (kill_child): Delete.
3863 (vfork_and_exec_child_follow_to_main_bp)
3864 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
3865 longer call kill_child.
3866 (tcatch_vfork_then_parent_follow): Call setup_gdb.
3867 (do_vfork_and_exec_tests): Don't runto_main before calling each
3868 test procedure.
3869 (top level): Don't clean restart and set verbose before running
3870 each test procedure.
3871
38722012-11-02 Pedro Alves <palves@redhat.com>
3873
3874 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
3875 (vfork_parent_follow_to_bp)
3876 (vfork_and_exec_child_follow_to_main_bp)
3877 (vfork_and_exec_child_follow_through_step)
3878 (tcatch_vfork_then_parent_follow)
3879 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
3880 Use with_test_prefix.
3881
38822012-11-02 Pedro Alves <palves@redhat.com>
3883
3884 * gdb.base/foll-vfork.c: Add copyright header.
3885 * gdb.base/vforked-prog.c: Add copyright header.
3886
38872012-11-02 Pedro Alves <palves@redhat.com>
3888
3889 * gdb.base/foll-vfork.exp
3890 (vfork_and_exec_child_follow_through_step): Don't skip on
3891 non-HP/UX targets. Expect the next to only step one line on
3892 non-HP/UX targets, rather than stopping only after the exec.
3893
38942012-11-02 Pedro Alves <palves@redhat.com>
3895
3896 Don't hard code line numbers.
3897
3898 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
3899 Expect text from the sources instead of a line number.
3900 (vfork_parent_follow_to_bp)
3901 (vfork_and_exec_child_follow_to_main_bp)
3902 (vfork_and_exec_child_follow_through_step)
3903 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
3904 Use gdb_get_line_number.
3905
39062012-11-02 Pedro Alves <palves@redhat.com>
3907
3908 Modernize.
3909
3910 * gdb.base/foll-vfork.exp: Use standard_testfile and
3911 build_executable. Pass descriptive string to untested.
3912 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
3913 (vfork_and_exec_child_follow_to_main_bp)
3914 (vfork_and_exec_child_follow_through_step)
3915 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
3916 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
3917 of send_gdb/gdb_expect.
3918
3919 (kill_child): New procedure.
3920 (vfork_and_exec_child_follow_to_main_bp)
3921 (vfork_and_exec_child_follow_through_step): Use it.
3922
f0559fff
YQ
39232012-11-02 Yao Qi <yao@codesourcery.com>
3924
3925 * gdb.base/setvar.exp: Test setting nested struct.
3926 * gdb.base/setvar.c (v_struct3): New.
3927
c207c6da
DE
39282012-11-01 Doug Evans <dje@google.com>
3929
3930 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
3931 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
3932 use them.
3933
2f27adfe
AB
39342012-10-31 Andrew Burgess <aburgess@broadcom.com>
3935
3936 PR cli/14772
3937 * gdb.base/gnu_vector.c (union_with_vector_1)
3938 (struct_with_vector_1): Add new struct and union for testing
3939 ptype.
3940 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
3941 structs / unions containing vectors.
3942
bb662ca6
YQ
39432012-10-25 Yao Qi <yao@codesourcery.com>
3944
3945 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
3946 'setup_kfail' instead of 'setup_kfail_for_target'.
3947 * gdb.base/varargs.exp: Likewise.
3948 * lib/gdb.exp (setup_kfail_for_target): Remove.
3949
635d23ff
MK
39502012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
3951
3952 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
3953
afdb064f
MK
39542012-10-25 Mark Kettenis <kettenis@gnu.org>
3955
3956 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
3957
d99dcf51
JB
39582012-10-24 Joel Brobecker <brobecker@adacore.com>
3959
3960 * gdb.ada/set_wstr: New testcase.
3961
32560274
JB
39622012-10-24 Joel Brobecker <brobecker@adacore.com>
3963
3964 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
3965
5ded5331
JB
39662012-10-24 Joel Brobecker <brobecker@adacore.com>
3967
3968 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
3969
d8d84291
MK
39702012-10-24 Mark Kettenis <kettenis@gnu.org>
3971
3972 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
3973
6e933c51
JK
39742012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3975
3976 * gdb.base/callfuncs.exp (do_function_calls): Fix
3977 setup_kfail_for_target for -m32 mode.
3978
274bd000
MK
39792012-10-23 Mark Kettenis <kettenis@gnu.org>
3980
3981 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
3982 are now fixed.
3983
545f743d
YQ
39842012-10-23 Yao Qi <yao@codesourcery.com>
3985
3986 * gdb.base/info-os.exp: Resume the inferior until it exits.
3987
48b56b6a 39882012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
3989
99c7d5a8 3990 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
3991 * gdb.base/print-file-var.exp: Likewise.
3992 * gdb.base/type-opaque.exp: Likewise.
48b56b6a 3993
8de0566d
YQ
39942012-10-17 Yao Qi <yao@codesourcery.com>
3995
3996 * gdb.mi/mi-memory-changed.exp: New.
3997
44883546
YQ
39982012-10-16 Yao Qi <yao@codesourcery.com>
3999
4000 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
4001 returns true.
4002 Call gdb_load_shlibs.
4003 * gdb.reverse/solib-reverse.exp: Likewise.
4004
345f514a
KS
40052012-10-15 Keith Seitz <keiths@redhat.com>
4006
4007 * lib/cp-support.exp (cp_test_ptype_class): Add support
4008 for class typedefs.
4009
4010 * gdb.cp/derivation.exp: Add tests for g_instance.
4011
9e3a7d65
JK
40122012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4013
4014 Fix entry values resolving in inlined frames.
4015 * gdb.arch/amd64-entry-value-inline.S: New file.
4016 * gdb.arch/amd64-entry-value-inline.c: New file.
4017 * gdb.arch/amd64-entry-value-inline.exp: New file.
4018
21a7b089
JK
40192012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4020 Doug Evans <dje@google.com>
4021
4022 Fix recent gdb_breakpoint regression.
4023 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
4024 braces from the parameter.
4025 * gdb.java/jprint.exp: Likewise.
4026
2c47921e
DE
40272012-10-15 Doug Evans <dje@google.com>
4028
4029 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
4030
89398707
JB
40312012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
4032
4033 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
4034
801e4185
TT
40352012-10-15 Tom Tromey <tromey@redhat.com>
4036
4037 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
4038
74f910c8
TT
40392012-10-15 Tom Tromey <tromey@redhat.com>
4040
4041 * gdb.python/py-symbol.exp: Test symbol destructor.
4042
91567807
YQ
40432012-10-14 Yao Qi <yao@codesourcery.com>
4044
4045 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
4046 * gdb.mi/mi-cli.exp: New.
4047
4048 * gdb.mi/mi2-basics.exp: Remove.
4049 * gdb.mi/mi2-break.exp: Remove.
4050 * gdb.mi/mi2-console.exp: Remove.
4051 * gdb.mi/mi2-disassemble.exp: Remove.
4052 * gdb.mi/mi2-eval.exp: Remove.
4053 * gdb.mi/mi2-file.exp: Remove.
4054 * gdb.mi/mi2-hack-cli.exp: Remove.
4055 * gdb.mi/mi2-pthreads.exp: Remove.
4056 * gdb.mi/mi2-read-memory.exp: Remove.
4057 * gdb.mi/mi2-regs.exp: Remove.
4058 * gdb.mi/mi2-return.exp: Remove.
4059 * gdb.mi/mi2-simplerun.exp: Remove.
4060 * gdb.mi/mi2-stack.exp: Remove.
4061 * gdb.mi/mi2-stepi.exp: Remove.
4062 * gdb.mi/mi2-syn-frame.exp: Remove.
4063 * gdb.mi/mi2-until.exp: Remove.
4064 * gdb.mi/mi2-watch.exp: Remove.
4065 * gdb.mi/mi2-var-block.exp: Remove.
4066 * gdb.mi/mi2-var-cmd.exp: Remove.
4067 * gdb.mi/mi2-var-display.exp: Remove.
4068
87332029
YQ
40692012-10-12 Yao Qi <yao@codesourcery.com>
4070
4071 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
4072 trail '.*' on matching patterns.
4073
11fc9057
L
40742012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4075
4076 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
4077 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
4078 * gdb.arch/i386-disp-step.exp: Likewise.
4079 * gdb.arch/i386-gnu-cfi.exp: Likewise.
4080 * gdb.arch/i386-prologue.exp: Likewise.
4081 * gdb.arch/i386-size-overlap.exp: Likewise.
4082 * gdb.arch/i386-size.exp: Likewise.
4083 * gdb.arch/i386-unwind.exp: Likewise.
4084
7d46bcdc
L
40852012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4086
4087 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
4088 * gdb.arch/i386-word.exp: Likewise.
4089
31224d9d
L
40902012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4091
4092 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
4093 is_ilp32_target to set nr_regs.
4094 * gdb.arch/i386-sse.exp: Likewise.
4095
5b7d0050
DE
40962012-10-11 Doug Evans <dje@google.com>
4097
7c09e5a0
DE
4098 PR breakpoints/14643.
4099 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
4100 * gdb.linespec/thread.c: New file.
4101 * gdb.linespec/thread.exp: New file.
4102
5b7d0050
DE
4103 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
4104 Recognize "message" -> print pass and fail. Add eof case.
4105 (runto): Recognize message, no-message. Print pass/fail if requested,
4106 with same treatment as gdb_breakpoint.
4107 (runto_main): Pass no-message to runto.
4108 (gdb_internal_error_resync): Add log message.
4109 (gdb_file_cmd): Tweak internal error fail text for consistency.
4110
2e24f4aa
JK
41112012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4112
4113 Fix crash during stepping on ppc32.
4114 * gdb.base/step-symless.c: New file.
4115 * gdb.base/step-symless.exp: New file.
4116
aa14df25
DE
41172012-10-03 Doug Evans <dje@google.com>
4118
4119 PR symtab/14601
4120 * gdb.cp/using-crash.exp: New file.
4121 * gdb.cp/using-crash.cc: New file.
4122
975531db
DE
41232012-10-02 Doug Evans <dje@google.com>
4124
4125 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
4126 more consistent.
4127 (runto,gdb_debug_format): Ditto.
4128 (gdb_file_cmd): Watch for eof in nested gdb_expect.
4129 Clean up logging and error messages.
4130
b3dc46ff
AB
41312012-10-01 Andrew Burgess <aburgess@broadcom.com>
4132
4133 Test find command on unmapped memory.
4134 * gdb.base/find-unmapped.c: New file.
4135 * gdb.base/find-unmapped.exp: New file.
4136
45814d45
YQ
41372012-09-29 Yao Qi <yao@codesourcery.com>
4138
4139 * gdb.trace/mi-tracepoint-changed.exp: New.
4140 * gdb.mi/mi-breakpoint-changed.exp: New.
4141 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
4142 * gdb.mi/pendshr2.c: New.
4143
4c2786ba
YQ
41442012-09-28 Yao Qi <yao@codesourcery.com>
4145
4146 * gdb.mi/pr11022.exp: New.
4147 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
4148
7977e5d2
TT
41492012-09-27 Tom Tromey <tromey@redhat.com>
4150
4151 * gdb.cp/derivation.exp: Add regression test.
4152 * gdb.cp/derivation.cc (class V_base, class V_inter, class
4153 V_derived): New.
4154 (vderived): New global.
4155
0971de02
TT
41562012-09-26 Tom Tromey <tromey@redhat.com>
4157
4158 * gdb.dwarf2/dw2-common-block.S: New file.
4159 * gdb.dwarf2/dw2-common-block.exp: New file.
4160
4357ac6c
TT
41612012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4162
4163 * gdb.fortran/common-block.exp: New file.
4164 * gdb.fortran/common-block.f90: New file.
4165
6f380991
AB
41662012-09-26 Andrew Burgess <aburgess@broadcom.com>
4167
4168 * gdb.base/duplicate-bp.c: New file.
4169 * gdb.base/duplicate-bp.exp: New file.
4170
8ae551cf
YQ
41712012-09-26 Yao Qi <yao@codesourcery.com>
4172
4173 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
4174
4175 Revert:
4176 2012-09-21 Yao Qi <yao@codesourcery.com>
4177
4178 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
4179
318102b9
SP
41802012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4181
4182 * gdb.base/longest-types.c: New test case.
4183 * gdb.base/longest-types.exp: New test case.
4184
a1e5fd69
YQ
41852012-09-25 Yao Qi <yao@codesourcery.com>
4186
4187 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
4188
04e7407c
JK
41892012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4190
4191 Fix internal error on canonicalization of clang types.
4192 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
4193 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
4194 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
4195
9bf4bce9
JK
41962012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4197
4198 Fix disassemble without parameters in tailcall frame.
4199 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
4200
2603f7ee
AB
42012012-09-21 Andrew Burgess <aburgess@broadcom.com>
4202
4203 * gdb.dwarf2/dw2-op-out-param.S: New file.
4204 * gdb.dwarf2/dw2-op-out-param.exp: New file.
4205
a3569abd
YQ
42062012-09-21 Yao Qi <yao@codesourcery.com>
4207
4208 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
4209
a065d7af
YQ
42102012-09-21 Yao Qi <yao@codesourcery.com>
4211
4212 * gdb.mi/mi-cli.exp: Remove.
4213 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
4214
15544bd9
YQ
42152012-09-21 Yao Qi <yao@codesourcery.com>
4216
4217 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
4218 "=record-started" notification.
4219
82a90ccf
YQ
42202012-09-21 Yao Qi <yao@codesourcery.com>
4221
4222 * gdb.mi/mi-record-changed.exp: New.
4223 * gdb.mi/mi-reverse.exp: Adjust expected output.
4224
d7de8e3c
TT
42252012-09-20 Tom Tromey <tromey@redhat.com>
4226
4227 * gdb.python/python.exp: Test atexit.register.
4228
1aa99537
DE
42292012-09-20 Doug Evans <dje@google.com>
4230
05eade73
DE
4231 * boards/dwarf4-gdb-index.exp: New file.
4232
1aa99537
DE
4233 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
4234 while running the tests.
4235
4ae24af0
JB
42362012-09-18 Joel Brobecker <brobecker@adacore.com>
4237
4238 * gdb.ada/bp_reset: New testcase.
4239
bb25a15c
YQ
42402012-09-18 Yao Qi <yao@codesourcery.com>
4241
4242 * gdb.trace/mi-tsv-changed.exp: New.
4243
201b4506
YQ
42442012-09-18 Yao Qi <yao@codesourcery.com>
4245
4246 * gdb.trace/mi-traceframe-changed.exp: New.
4247
6fc1c773
YQ
42482012-09-17 Yao Qi <yao@codesourcery.com>
4249
4250 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
4251 when it is less than 0.
4252
1ab3b62c
JK
42532012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4254
4255 PR 14119
4256 * gdb.arch/amd64-tailcall-ret.S: New file.
4257 * gdb.arch/amd64-tailcall-ret.c: New file.
4258 * gdb.arch/amd64-tailcall-ret.exp: New file.
4259 * gdb.reverse/amd64-tailcall-reverse.S: New file.
4260 * gdb.reverse/amd64-tailcall-reverse.c: New file.
4261 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
4262
acf9414f
JK
42632012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4264
4265 PR 14548
4266 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
4267 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
4268 * gdb.reverse/singlejmp-reverse.S: New file.
4269 * gdb.reverse/singlejmp-reverse.c: New file.
4270 * gdb.reverse/singlejmp-reverse.exp: New file.
4271
666b578b
JK
42722012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4273
4274 Fix compatibility with old GCC (~4.1).
4275 * gdb.cp/converts.cc (my_enum_var): New variable.
4276
42056501
AB
42772012-09-14 Andrew Burgess <aburgess@broadcom.com>
4278
4279 * gdb.xml/tdesc-regs.exp: Update expected output for new
4280 vector_size syntax of vector types.
4281
b9516fa1
YPK
42822012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
4283
4284 Refactor Python "gdb" module into a proper Python package, by
4285 introducing a new "_gdb" module for code implemented in C, and
4286 using reload/__import__ instead of exec.
4287 * gdb.python/python.exp (Test stderr location): Update module
4288 location of GDB-specific sys.stderr.
4289 (Test stdout location): Ditto for sys.stdout.
4290
18dc9ad8
JK
42912012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4292
4293 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
4294
ea3a9873
KS
42952012-09-12 Keith Seitz <keiths@redhat.com>
4296
4297 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
4298 conversion statement.
4299
5941debb
DE
43002012-09-12 Doug Evans <dje@google.com>
4301
4302 * gdb.base/help.exp: Remove testing of individual command help text,
4303 too much of a maintenance burden. Instead, test the functionality
4304 of "help" itself.
4305
cfc35e02
DE
43062012-09-11 Doug Evans <dje@google.com>
4307
3a0ed5d7
DE
4308 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
4309 breakpoint.
4310
cfc35e02
DE
4311 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
4312 * gdb.dwarf2/fission-reread.S: Ditto.
4313 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
4314 * gdb.dwarf2/fission-reread.exp: Ditto.
4315
350b1b26
AB
43162012-09-11 Andrew Burgess <aburgess@broadcom.com>
4317
4318 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
4319
2fa15f23
JB
43202012-09-10 Joel Brobecker <brobecker@adacore.com>
4321
4322 * gdb.ada/optim_drec: New testcase.
4323
09be558e
DE
43242012-09-10 Doug Evans <dje@google.com>
4325
4326 * boards/fission.exp: Explicitly mark "board" as not remote.
4327
5b4f6e25
KS
43282012-09-10 Keith Seitz <keiths@redhat.com>
4329
4330 PR gdb/13483
4331 * gdb.cp/converts.cc (A::A): Add ctor.
4332 (A::member_): Add member.
4333 (enum my_enum): New enumeration.
4334 (main): Add calls to foo1_7 with various
4335 permitted arguments.
4336 * gdb.cp/converts.exp: Add tests for boolean
4337 conversions permitted by the standard.
4338
b4ca5ed9
YPK
43392012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
4340
4341 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
4342 avoid spurious results due to ~/.gdbinit.
4343 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
4344 $INTERNAL_GDBFLAGS in run command.
4345 * gdb.gdb/observer.exp (setup_test): Ditto.
4346 * gdb.gdb/selftest.exp (test_with_self): Ditto.
4347 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
4348
d54b30bb
DE
43492012-09-06 Doug Evans <dje@google.com>
4350
14910956
DE
4351 * boards/fission.exp: New file.
4352
d54b30bb
DE
4353 * gdb.python/py-value.exp: Use clean_restart.
4354
91b253e1
DE
43552012-09-05 Doug Evans <dje@google.com>
4356
4357 * gdb.base/info-macros.c: Fix whitespace.
4358
1292279a
PA
43592012-08-28 Pedro Alves <palves@redhat.com>
4360
4361 PR gdb/14428
4362
4363 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
4364
1c8cdcb1
JK
43652012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4366
4367 * gdb.base/break-caller-line.c: New file.
4368 * gdb.base/break-caller-line.exp: New file.
4369
1e8e8b51
JK
43702012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4371
4372 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
4373 * gdb.arch/i386-cfi-notcurrent.S: New file.
4374 * gdb.arch/i386-cfi-notcurrent.exp: New file.
4375
1591a1e8
PA
43762012-08-27 Wei-cheng Wang <cole945@gmail.com>
4377 Yao Qi <yao@codesourcery.com>
4378 Pedro Alves <palves@redhat.com>
4379
4380 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
4381 New procedures.
4382 (top level): Add overlap checking tests.
4383
4442ada7
TT
43842012-08-24 Tom Tromey <tromey@redhat.com>
4385
4386 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
4387 gdb_test_multiple fails for other reasons.
4388
e7d50cc9
YQ
43892012-08-24 Yao Qi <yao@codesourcery.com>
4390
4391 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
4392
dfbd5e7b
PA
43932012-08-23 Pedro Alves <palves@redhat.com>
4394
4395 * gdb.base/help.exp: Adjust to "handle" help text change.
4396
8d735b87
YQ
43972012-08-23 Yao Qi <yao@codesourcery.com>
4398
4399 * gdb.trace/disconnected-tracing.c (start, end): New.
4400 (main): Call start and end.
4401 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
4402 existing tests into this proc.
4403 (disconnected_tfind): New.
4404
61b1d759
YQ
44052012-08-23 Yao Qi <yao@codesourcery.com>
4406
4407 * boards/native-gdbserver.exp (${board}_upload): New.
4408 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
4409 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
4410 Execute tfile on remote target.
4411 Copy trace file from target to host.
4412
6ca1b147
JM
44132012-08-22 Joseph Myers <joseph@codesourcery.com>
4414
4415 * gdb.arch/thumb-bx-pc.S: New file.
4416 * gdb.arch/thumb-bx-pc.exp: New file.
4417
706e3705
TT
44182012-08-22 Tom Tromey <tromey@redhat.com>
4419
4420 * gdb.base/maint.exp: Update.
4421
b4893d48
TT
44222012-08-22 Tom Tromey <tromey@redhat.com>
4423
4424 * lib/gdb.exp (skip_unwinder_tests): New proc.
4425 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
4426 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
4427
45b7da81
TT
44282012-08-21 Tom Tromey <tromey@redhat.com>
4429
4430 * gdb.hp/gdb.aCC/exception.exp: Remove.
4431
f94363d7
AP
4432012-08-19 Andrew Pinski <apinski@cavium.com>
4433
4434 * gdb.arch/mips-octeon-bbit.c: New file.
4435 * gdb.arch/mips-octeon-bbit.exp: New Test.
4436
e5afdbd7
KS
4437012-08-19 Keith Seitz <keiths@redhat.com>
4438
4439 PR c++/14365
4440 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
4441 * gdb.dwarf2/dw2-anon-mptr.S: New file.
4442
c29e8b64
JK
44432012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4444
4445 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
4446 verbose -log by more specific untested call.
4447
15a7e7bc
YQ
44482012-08-18 Yao Qi <yao@codesourcery.com>
4449
4450 * gdb.trace/tfind.exp: Move tests on various command help before
4451 checking target supports trace.
4452 Fix the expected output of 'help tfind end'.
4453
a451cb65
KS
44542012-08-17 Keith Seitz <keiths@redhat.com>
4455
4456 PR c++/13356
4457 * gdb.base/default.exp: Update all "check type" tests.
4458 * gdb.base/help.exp: Likewise.
4459 * gdb.base/setshow.exp: Likewise.
4460 * gdb.cp/converts.cc (foo1_type_check): New function.
4461 (foo2_type_check): New function.
4462 (foo3_type_check): New function.
4463 (main): Call new functions.
4464 * converts.exp: Add tests for integer-to-pointer conversions
4465 with/without strict type-checking.
4466
dbf6a605
MF
44672012-08-16 Mike Frysinger <vapier@gentoo.org>
4468
4469 * gdb.base/help.exp: Update expected output.
4470
0c92d8c1
JB
44712012-08-16 Joel Brobecker <brobecker@adacore.com>
4472
4473 * gdb.ada/rdv_wait: New testcase.
4474
e56f7f42
JK
44752012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4476
4477 * gdb.base/attach-twice.exp: Remove excessive ps exec.
4478
f47f77df
DE
44792012-08-13 Doug Evans <dje@google.com>
4480
e202d6e8 4481 * gdb.base/help.exp: Update expected output.
f47f77df
DE
4482 * gdb.base/default.exp: Update expected output of "show convenience".
4483
a72c3253
DE
44842012-08-10 Doug Evans <dje@google.com>
4485
4486 * gdb.python/py-strfns.c: New file.
4487 * gdb.python/py-strfns.exp: New file.
4488 * gdb.python/py-type.exp (test_fields): Add vector tests.
4489
de0bea00
MF
44902012-08-10 Mike Frysinger <vapier@gentoo.org>
4491
4492 PR cli/10436:
4493 * gdb.base/completion.exp: Add tests for handle completion.
4494
5b9afe8a
YQ
44952012-08-09 Yao Qi <yao@codesourcery.com>
4496
4497 * gdb.mi/mi-cmd-param-changed.exp: New.
4498 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
4499 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
4500 * gdb.mi/mi2-prompt.exp: Likewise.
4501
4f485ebc
DE
45022012-08-08 Doug Evans <dje@google.com>
4503
4504 * gdb.base/debug-expr.c: New file.
4505 * gdb.base/debug-expr.exp: New file.
4506 * gdb.base/exprs.exp: Test {type} casts.
4507 * gdb.cp/debug-expr.exp: New file.
4508
5888842d
JK
45092012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4510
4511 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
4512 global variable loop, not a 'break'. Add loop count limit to 100.
4513 Add new fail case for terminated vgdb.
4514
4f69f4c2
JK
45152012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4516 Jean-Marc Saffroy <saffroy@gmail.com>
4517
4518 PR 11804
4519 * gdb.base/gcore-relro.exp: New file.
4520 * gdb.base/gcore-relro-main.c: New file.
4521 * gdb.base/gcore-relro-lib.c: New file.
4522
e2de5390
JK
45232012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4524
4525 Do not false FAIL with old GCCs.
4526 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
4527 GCC < 4.5 in $no_hw mode.
4528
606603c5
JK
45292012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4530
4531 * gdb.base/default.exp (cd): Accept new directory with no arguments.
4532
777f26c2
JK
45332012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4534
4535 * gdb.base/list.exp (test_only_end): New function.
4536 Call it.
4537
2c12abee
TT
45382012-08-06 Tom Tromey <tromey@redhat.com>
4539
4540 * gdb.python/py-mi.exp: Add test for printer whose children
4541 are a list.
4542 * gdb.python/py-prettyprint.c (struct children_as_list): New.
4543 (main): New variable children_as_list.
4544 * gdb.python/py-prettyprint.py (class pp_children_as_list):
4545 New.
4546 (register_pretty_printers): Register new printer.
4547
0eae2cf4
EBM
45482012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
4549
4550 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
4551 symbols. Abort if vgdb remote connection is closed.
4552
09e0881d
DE
45532012-08-02 Doug Evans <dje@google.com>
4554
4555 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
4556
b40f514f
SDJ
45572012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
4558
4559 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
4560 s390x, PowerPC 64 and m68k-linux.
4561
11315ae0
UW
45622012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
4563
4564 * gdb.base/annota1.exp: Accept no frames-invalid notification
4565 when starting up the program.
4566 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
4567 show a symbolic value as well.
4568 * gdb.server/server-exec-info.exp: Skip test when skipping
4569 gdbserver test and/or when skipping shared library tests.
4570 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
4571 avoid name conflicts with other tests.
4572
0547eeed
UW
45732012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
4574
4575 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
4576 Fix wrong output on big-endian systems.
4577 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
4578 4-byte pointer types on 64-bit s390x.
4579
bdddb4de
UW
45802012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
4581
4582 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
4583 marker comment at the beginning (after intialization).
4584 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
4585 breakpoint on marker comment instead of function begin.
4586 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
4587 PowerPC.
4588 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
4589 or 64-bit PowerPC.
4590 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
4591 gdb,no_hardware_watchpoints flag is set.
4592 (initialize): Remove now redundant can-use-hw-watchpoints change.
4593
5d206025
YQ
45942012-08-02 Yao Qi <yao@codesourcery.com>
4595 Pedro Alves <palves@redhat.com>
4596
4597 * boards/local-remote-host.exp: New.
4598
4f665099
UW
45992012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
4600
4601 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
4602 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
4603 * gdb.base/print-file-var.exp: Likewise.
4604 * gdb.server/solib-list.exp: Skip on remote targets.
4605
b62e2b27
UW
46062012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
4607
4608 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
4609 watchpoints on ARM. When expecting software watchpoints, tolerate
4610 (remote) targets that report unsupported hardware watchpoint only
4611 at continue time.
4612 (test_wide_location_2): Likewise.
4613
a967a851
JK
46142012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4615
4616 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
4617 valgrind versions.
4618
75d9f9ff 46192012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
a14dd77e
JK
4620
4621 * gdb.base/valgrind-infcall.c: New file.
4622 * gdb.base/valgrind-infcall.exp: New file.
4623
75d9f9ff
JK
4624 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
4625
1c9f2ed2
KS
46262012-07-30 Keith Seitz <keiths@redhat.com>
4627
4628 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
4629 linespecs.
4630
7f9b2034
DE
46312012-07-30 Doug Evans <dje@google.com>
4632
85220e01
DE
4633 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
4634 * gdb.dwarf2/pr13961.S: Ditto.
4635
7f9b2034
DE
4636 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
4637
4e969b4f
AB
46382012-07-30 Andrew Burgess <aburgess@broadcom.com>
4639
4640 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
4641 change its format immediately after reloading the binary.
4642
e7de8362
JK
46432012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4644
4645 Fix testsuite regression after --use-deprecated-index-sections removal.
4646 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
4647 string.
4648 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
4649
7255706c
YQ
46502012-07-27 Yao Qi <yao@codesourcery.com>
4651
4652 KFAIL for PR remote/14161.
4653 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
4654 Cleanup socket files.
4655 (strace_info_marker): Detach inferior.
4656
f2e8016f
TT
46572012-07-26 Tom Tromey <tromey@redhat.com>
4658
6fdff2c5 4659 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
f2e8016f 4660
f66713d2
JK
46612012-07-26 Markus Metzger <markus.t.metzger@intel.com>
4662
4663 * gdb.python/py-inferior.c (thread): New function.
4664 (check_threads): New function.
4665 (test_threads): New function.
4666 * gdb.python/py-inferior.exp: Added test.
4667 Replaced runto with continue to breakpoint.
4668
8223e12c
TT
46692012-07-26 Tom Tromey <tromey@redhat.com>
4670
4671 * lib/ada.exp (standard_ada_testfile): New proc.
4672 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
4673 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
4674 * gdb.ada/array_return.exp: Use standard_ada_testfile.
4675 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
4676 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
4677 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
4678 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
4679 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
4680 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
4681 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
4682 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
4683 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
4684 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
4685 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
4686 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
4687 * gdb.ada/char_param.exp: Use standard_ada_testfile.
4688 * gdb.ada/complete.exp: Use standard_ada_testfile.
4689 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
4690 standard_output_file.
4691 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
4692 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
4693 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
4694 standard_output_file.
4695 * gdb.ada/exprs.exp: Use standard_ada_testfile.
4696 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
4697 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
4698 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
4699 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
4700 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
4701 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
4702 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
4703 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
4704 * gdb.ada/homonym.exp: Use standard_ada_testfile.
4705 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
4706 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
4707 * gdb.ada/interface.exp: Use standard_ada_testfile.
4708 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
4709 standard_output_file
4710 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
4711 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
4712 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
4713 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
4714 * gdb.ada/nested.exp: Use standard_ada_testfile.
4715 * gdb.ada/null_array.exp: Use standard_ada_testfile.
4716 * gdb.ada/null_record.exp: Use standard_ada_testfile.
4717 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
4718 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
4719 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
4720 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
4721 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
4722 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
4723 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
4724 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
4725 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
4726 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
4727 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
4728 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
4729 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
4730 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
4731 * gdb.ada/start.exp: Use standard_ada_testfile.
4732 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
4733 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
4734 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
4735 * gdb.ada/tagged.exp: Use standard_ada_testfile.
4736 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
4737 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
4738 * gdb.ada/tasks.exp: Use standard_ada_testfile.
4739 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
4740 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
4741 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
4742 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
4743 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
4744 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
4745 * gdb.ada/widewide.exp: Use standard_ada_testfile.
4746
bbec57e4
JK
47472012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4748
4749 Fix testsuite regression after --use-deprecated-index-sections removal.
4750 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
4751
9cc8e32c
JK
47522012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4753
4754 Fix compatibility with Tcl before 7.5.
4755 * lib/future.exp (lreverse): New function if it does not exist.
4756
ea5ca7b5
MK
47572012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
4758
4759 * gdb.mi/mi-pending.c: New method to set a second pending
4760 breakpoint.
4761 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
4762 condition.
4763
64776a0b
PA
47642012-07-20 Pedro Alves <palves@redhat.com>
4765
4766 PR threads/11692
4767 PR gdb/12203
4768
4769 * gdb.threads/create-fail.c: New file.
4770 * gdb.threads/create-fail.exp: New file.
4771
13e4e967
PA
47722012-07-19 Pedro Alves <palves@redhat.com>
4773
4774 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
4775 * config/vx.exp (gdb_start): Likewise.
4776 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
4777 * gdb.base/setvar.exp (test_set): Likewise.
4778 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
4779 * gdb.reverse/sigall-precsave.exp: Likewise.
4780 * gdb.reverse/sigall-reverse.exp: Likewise.
4781
b7aefa4d
PA
47822012-07-19 Pedro Alves <palves@redhat.com>
4783
4784 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
4785 handler before recording.
4786
608b4967
TT
47872012-07-19 Tom Tromey <tromey@redhat.com>
4788
4789 * gdb.cp/casts.exp: Add tests for typeof and decltype.
4790 * gdb.cp/casts.cc (decltype): New function.
4791 (main): Use it.
4792
b1e0c0fa
PA
47932012-07-19 Pedro Alves <palves@redhat.com>
4794
4795 * gdb.base/sigall.exp (signals): New list.
4796 <top level>: Loop over signals in the $signals list instead of
4797 calling a test function once per signal.
4798 * gdb.reverse/sigall-precsave.exp (signals): New list.
4799 <top level>: Loop over signals in the $signals list instead of
4800 calling a test function once per signal.
4801 * gdb.reverse/sigall-reverse.exp (signals): New list.
4802 <top level>: Loop over signals in the $signals list instead of
4803 calling a test function once per signal.
4804
6ace3df1
YQ
48052012-07-19 Yao Qi <yao@codesourcery.com>
4806
4807 * gdb.base/setshow.exp: Test 'set args ~'.
4808
263a0f8c
JK
48092012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4810
4811 * gdb.base/store.exp (check_set): Import gdb_prompt.
4812 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
4813 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
4814
8f043999
JK
48152012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4816
4817 PR 11914
4818 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
4819 (main): Call eval_sub.
4820 * gdb.python/py-prettyprint.exp:
4821 (python execfile ('py-prettyprint.py')): Move it earlier.
4822 New breakpoint for eval-break.
4823 (continue to breakpoint: eval-break, info locals): New test.
4824 (python execfile ('py-prettyprint.py')): Move it from here.
4825 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
4826 (register_pretty_printers): Register pp_eval_type.
4827
725c7b66
JK
48282012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4829
4830 Fix a testcase regression by me.
4831 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
4832 DW_FORM_data4.
4833
4359dff1
JK
48342012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4835 Doug Evans <dje@google.com>
4836
4837 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
4838 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
4839
61e44cfa
JK
48402012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4841
4842 Fix gdbserver run regression.
4843 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
4844
93c0ef37
TT
48452012-07-12 Tom Tromey <tromey@redhat.com>
4846
4847 * lib/gdb.exp (standard_testfile): Don't declare objdir.
4848 (clean_restart): Likewise.
4849 (core_find): Use standard_output_file.
4850
76027ef5
TT
48512012-07-12 Tom Tromey <tromey@redhat.com>
4852
4853 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
4854 * gdb.dwarf2/dw2-anonymous-func.exp: Use
4855 prepare_for_testing_full.
4856 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
4857 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
4858 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
4859 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
4860 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
4861 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
4862 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
4863 prepare_for_testing_full.
4864 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
4865 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
4866 prepare_for_testing_full.
4867 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
4868 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
4869 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
4870
85b4440a
TT
48712012-07-12 Tom Tromey <tromey@redhat.com>
4872
4873 * lib/gdb.exp (build_executable_from_specs): New proc, from
4874 build_executable.
4875 (build_executable): Use it.
4876 (prepare_for_testing_full): New proc.
4877
55baab26
TT
48782012-07-11 Tom Tromey <tromey@redhat.com>
4879
4880 * gdb.reverse/break-precsave.exp: Use standard_output_file.
4881 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
4882 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
4883 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
4884 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
4885 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
4886 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
4887 * gdb.reverse/step-precsave.exp: Use standard_output_file.
4888 * gdb.reverse/until-precsave.exp: Use standard_output_file.
4889 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
4890
298a9cf0
TT
48912012-07-10 Tom Tromey <tromey@redhat.com>
4892
4893 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
4894 standard_output_file.
4895 * gdb.mi/gdb2549.exp: Use standard_testfile.
4896 * gdb.mi/gdb669.exp: Use standard_testfile.
4897 * gdb.mi/gdb701.exp: Use standard_testfile.
4898 * gdb.mi/gdb792.exp: Use standard_testfile.
4899 * gdb.mi/mi-async.exp: Use standard_testfile.
4900 * gdb.mi/mi-basics.exp: Use standard_testfile.
4901 * gdb.mi/mi-break.exp: Use standard_testfile.
4902 * gdb.mi/mi-cli.exp: Use standard_testfile.
4903 * gdb.mi/mi-console.exp: Use standard_testfile.
4904 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
4905 * gdb.mi/mi-eval.exp: Use standard_testfile.
4906 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
4907 * gdb.mi/mi-file.exp: Use standard_testfile.
4908 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
4909 * gdb.mi/mi-logging.exp: Use standard_testfile.
4910 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
4911 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
4912 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
4913 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
4914 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
4915 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
4916 * gdb.mi/mi-pending.exp: Use standard_testfile,
4917 standard_output_file.
4918 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
4919 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
4920 * gdb.mi/mi-regs.exp: Use standard_testfile.
4921 * gdb.mi/mi-return.exp: Use standard_testfile.
4922 * gdb.mi/mi-reverse.exp: Use standard_testfile.
4923 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
4924 * gdb.mi/mi-solib.exp: Use standard_testfile,
4925 standard_output_file.
4926 * gdb.mi/mi-stack.exp: Use standard_testfile.
4927 * gdb.mi/mi-stepi.exp: Use standard_testfile.
4928 * gdb.mi/mi-stepn.exp: Use standard_testfile.
4929 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
4930 * gdb.mi/mi-until.exp: Use standard_testfile.
4931 * gdb.mi/mi-var-block.exp: Use standard_testfile.
4932 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
4933 * gdb.mi/mi-var-child.exp: Use standard_testfile.
4934 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
4935 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
4936 * gdb.mi/mi-var-display.exp: Use standard_testfile.
4937 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
4938 standard_output_file.
4939 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
4940 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
4941 * gdb.mi/mi-watch.exp: Use standard_testfile.
4942 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
4943 * gdb.mi/mi2-basics.exp: Use standard_testfile.
4944 * gdb.mi/mi2-break.exp: Use standard_testfile.
4945 * gdb.mi/mi2-cli.exp: Use standard_testfile.
4946 * gdb.mi/mi2-console.exp: Use standard_testfile.
4947 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
4948 * gdb.mi/mi2-eval.exp: Use standard_testfile.
4949 * gdb.mi/mi2-file.exp: Use standard_testfile.
4950 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
4951 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
4952 * gdb.mi/mi2-regs.exp: Use standard_testfile.
4953 * gdb.mi/mi2-return.exp: Use standard_testfile.
4954 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
4955 * gdb.mi/mi2-stack.exp: Use standard_testfile.
4956 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
4957 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
4958 * gdb.mi/mi2-until.exp: Use standard_testfile.
4959 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
4960 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
4961 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
4962 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
4963 * gdb.mi/mi2-watch.exp: Use standard_testfile.
4964
f5f3a911
TT
49652012-07-10 Tom Tromey <tromey@redhat.com>
4966
4967 * gdb.cp/abstract-origin.exp: Use standard_testfile.
4968 * gdb.cp/ambiguous.exp: Use standard_testfile,
4969 prepare_for_testing.
4970 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
4971 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
4972 * gdb.cp/anon-ns.exp: Use standard_testfile.
4973 * gdb.cp/anon-struct.exp: Use standard_testfile.
4974 * gdb.cp/anon-union.exp: Use standard_testfile,
4975 prepare_for_testing.
4976 * gdb.cp/arg-reference.exp: Use standard_testfile,
4977 prepare_for_testing.
4978 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
4979 * gdb.cp/breakpoint.exp: Use standard_testfile,
4980 prepare_for_testing.
4981 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
4982 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
4983 standard_output_file.
4984 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
4985 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
4986 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
4987 (test_static_members): Update.
4988 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
4989 * gdb.cp/converts.exp: Use standard_testfile.
4990 * gdb.cp/cp-relocate.exp: Use standard_testfile.
4991 * gdb.cp/cpcompletion.exp: Use standard_testfile,
4992 prepare_for_testing.
4993 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
4994 * gdb.cp/cplabel.exp: Use standard_testfile.
4995 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
4996 prepare_for_testing.
4997 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
4998 * gdb.cp/derivation.exp: Use standard_testfile,
4999 prepare_for_testing.
5000 * gdb.cp/destrprint.exp: Use standard_testfile.
5001 * gdb.cp/dispcxx.exp: Use standard_testfile.
5002 * gdb.cp/exception.exp: Use standard_testfile,
5003 prepare_for_testing.
5004 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
5005 * gdb.cp/extern-c.exp: Use standard_testfile,
5006 prepare_for_testing.
5007 * gdb.cp/formatted-ref.exp: Use standard_testfile,
5008 prepare_for_testing.
5009 * gdb.cp/fpointer.exp: Use standard_testfile.
5010 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
5011 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
5012 standard_output_file.
5013 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
5014 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
5015 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
5016 standard_output_file.
5017 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
5018 (do_tests): Update.
5019 * gdb.cp/koenig.exp: Use standard_testfile.
5020 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
5021 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
5022 * gdb.cp/m-static.exp: Use standard_testfile,
5023 prepare_for_testing.
5024 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
5025 * gdb.cp/mb-inline.exp: Use standard_testfile,
5026 prepare_for_testing.
5027 * gdb.cp/mb-templates.exp: Use standard_testfile,
5028 prepare_for_testing.
5029 * gdb.cp/member-ptr.exp: Use standard_testfile,
5030 prepare_for_testing.
5031 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
5032 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
5033 * gdb.cp/method2.exp: Use standard_testfile.
5034 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
5035 standard_output_file.
5036 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
5037 (do_tests): Update.
5038 * gdb.cp/namespace-enum.exp: Use standard_testfile,
5039 prepare_for_testing.
5040 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
5041 prepare_for_testing.
5042 * gdb.cp/namespace.exp: Use standard_testfile,
5043 prepare_for_testing.
5044 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
5045 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
5046 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
5047 * gdb.cp/nsimport.exp: Use standard_testfile,
5048 prepare_for_testing.
5049 * gdb.cp/nsnested.exp: Use standard_testfile.
5050 * gdb.cp/nsnoimports.exp: Use standard_testfile.
5051 * gdb.cp/nsrecurs.exp: Use standard_testfile,
5052 prepare_for_testing.
5053 * gdb.cp/nsstress.exp: Use standard_testfile,
5054 prepare_for_testing.
5055 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
5056 * gdb.cp/operator.exp: Use standard_testfile.
5057 * gdb.cp/oranking.exp: Use standard_testfile.
5058 * gdb.cp/overload-const.exp: Use standard_testfile.
5059 * gdb.cp/overload.exp: Use standard_testfile,
5060 prepare_for_testing.
5061 * gdb.cp/ovldbreak.exp: Use standard_testfile.
5062 * gdb.cp/ovsrch.exp: Use standard_testfile.
5063 * gdb.cp/paren-type.exp: Use standard_testfile.
5064 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
5065 prepare_for_testing.
5066 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
5067 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
5068 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
5069 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
5070 * gdb.cp/pr10728.exp: Use standard_testfile,
5071 standard_output_file.
5072 * gdb.cp/pr12028.exp: Use standard_testfile.
5073 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
5074 * gdb.cp/pr9167.exp: Use standard_testfile.
5075 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
5076 * gdb.cp/printmethod.exp: Use standard_testfile,
5077 prepare_for_testing.
5078 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
5079 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
5080 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
5081 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
5082 standard_output_file.
5083 * gdb.cp/readnow-language.exp: Use standard_testfile.
5084 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
5085 (gdb_start_again): Use clean_restart.
5086 * gdb.cp/ref-types.exp: Use standard_testfile,
5087 prepare_for_testing.
5088 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
5089 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
5090 * gdb.cp/smartp.exp: Use standard_testfile.
5091 * gdb.cp/static-method.exp: Use standard_testfile.
5092 * gdb.cp/static-print-quit.exp: Use standard_testfile.
5093 * gdb.cp/temargs.exp: Use standard_testfile.
5094 * gdb.cp/templates.exp: Use standard_testfile,
5095 prepare_for_testing.
5096 (do_tests): Update.
5097 * gdb.cp/try_catch.exp: Use standard_testfile,
5098 prepare_for_testing.
5099 * gdb.cp/typedef-operator.exp: Use standard_testfile.
5100 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
5101 * gdb.cp/virtbase.exp: Use standard_testfile,
5102 prepare_for_testing.
5103 * gdb.cp/virtfunc.exp: Use standard_testfile,
5104 prepare_for_testing.
5105 (do_tests): Update.
5106 * gdb.cp/virtfunc2.exp: Use standard_testfile,
5107 prepare_for_testing.
5108
686f09d0
TT
51092012-07-10 Tom Tromey <tromey@redhat.com>
5110
5111 * lib/gdb.exp (standard_testfile): Unset output variables from
5112 earlier invocations.
5113
9357e021
YQ
51142012-07-10 Yao Qi <yao@codesourcery.com>
5115
5116 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
5117 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
5118 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
5119 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
5120 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
5121 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
5122 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
5123 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
5124 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
5125 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
5126 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
5127 * gdb.mi/mi-var-display.exp: Likewise.
5128 * gdb.mi/mi-var-invalidate.exp: Likewise.
5129 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
5130 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
5131 * gdb.mi/mi2-console.exp: Likewise.
5132 * gdb.mi/mi2-disassemble.exp: Likewise.
5133 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
5134 * gdb.mi/mi2-read-memory.exp: Likewise.
5135 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
5136 * gdb.mi/mi2-simplerun.exp: Likewise.
5137 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
5138 * gdb.mi/mi2-syn-frame.exp: Likewise.
5139 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
5140 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
5141 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
5142
e314d629
TT
51432012-07-09 Tom Tromey <tromey@redhat.com>
5144
5145 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
5146 * gdb.base/callfuncs.exp: Add cast-based test.
5147 * gdb.base/callfuncs.c (voidfunc): New function.
5148
06928b3f
DE
51492012-07-08 Doug Evans <dje@google.com>
5150
5151 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
5152
32f11bad
JK
51532012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5154
5155 Fix XFAIL compatibility with old i386 systems.
5156 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
5157 Check also 'Cannot insert breakpoint 0'.
5158
76b83c51
JK
51592012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5160
5161 PR 14321
5162 * gdb.base/find.exp
5163 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
5164
a6fb9c08
TT
51652012-07-06 Tom Tromey <tromey@redhat.com>
5166
5167 * gdb.base/whatis.exp: Add test.
5168
71918a86
TT
51692012-07-06 Tom Tromey <tromey@redhat.com>
5170
5171 * gdb.base/whatis.exp: Add regression test.
5172
fcde5961
TT
51732012-07-06 Tom Tromey <tromey@redhat.com>
5174
5175 * gdb.base/whatis.exp: Add tests.
5176
f9cf0f4a
JK
51772012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5178
5179 PR 12649
5180 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
5181 gdb_test_multiple $gdb_prompt terminator.
5182
979ade8b
PA
51832012-07-04 Pedro Alves <palves@redhat.com>
5184
5185 * gdb.mi/mi-reverse.exp: Use supports_reverse and
5186 supports_process_record.
5187
8a980b44
PA
51882012-07-04 Pedro Alves <palves@redhat.com>
5189
5190 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
5191 endings.
5192 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
5193
855ba978
SS
51942012-07-03 Stan Shebs <stan@codesourcery.com>
5195
5196 * gdb.base/info-os.c (main): Retry resource acquisition until an
5197 available one is found.
5198 * gdb.base/info-os.exp: Collect resource keys from the program
5199 and use them in matching.
5200
fcb44371
JK
52012012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5202
5203 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
5204 Wrap the test into loop for corefile and core0file.
5205
08a67be6
JK
52062012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5207
5208 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
5209 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
5210 .note.GNU-stack.
5211
0f3c2347
JK
5212 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
5213
ff4a4500
SDJ
52142012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
5215
5216 * gdb.base/help.exp (help b, help br, help bre, help brea, help
5217 break): Include help message for the new `-probe' and `-probe-stap'
5218 options.
5219
d3ce09f5
SS
52202012-07-02 Stan Shebs <stan@codesourcery.com>
5221
5222 * gdb.base/dprintf.exp: Add agent style tests.
5223
a1624241
JK
52242012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5225
5226 * gdb.base/stale-infcall.c (infcall): New label test-next.
5227 (main): New labels test-pass and test-fail.
5228 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
5229 $test_fail_bpnum to test-fail.
5230 (test system longjmp tracking support): New test.
5231 Delete $test_fail_bpnum.
5232 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
5233 breakpoint.
5234
42e7ad6c
DE
52352012-06-30 Doug Evans <dje@google.com>
5236
5237 * gdb.dwarf2/fission-reread.S: New file.
5238 * gdb.dwarf2/fission-reread.exp: New file.
5239
37ce89eb
SS
52402012-06-28 Stan Shebs <stan@codesourcery.com>
5241
5242 * gdb.mi/mi-logging.exp: New file.
5243
e5ef252a
PA
52442012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5245 Pedro Alves <palves@redhat.com>
5246
5247 * gdb.threads/siginfo-threads.exp: New file.
5248 * gdb.threads/siginfo-threads.c: New file.
5249 * gdb.threads/sigstep-threads.exp: New file.
5250 * gdb.threads/sigstep-threads.c: New file.
5251
22f1fbae
TT
52522012-06-28 Tom Tromey <tromey@redhat.com>
5253
5254 * gdb.go/package.exp: Partially revert earlier patch; use
5255 gdb_compile again. Use standard_output_file.
5256
2e3cf129
DE
52572012-06-27 Doug Evans <dje@google.com>
5258
5259 * gdb.dwarf2/fission-base.c: New file.
5260 * gdb.dwarf2/fission-base.S: New file.
5261 * gdb.dwarf2/fission-base.exp: New file.
5262
785fd303
JK
52632012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5264
5265 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
5266
1bb9788d
TT
52672012-06-27 Tom Tromey <tromey@redhat.com>
5268
5269 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
5270 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
5271
c83ee902
TT
52722012-06-27 Tom Tromey <tromey@redhat.com>
5273
5274 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
5275 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
5276 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
5277 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
5278 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
5279 prepare_for_testing.
5280 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
5281 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
5282 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
5283 standard_testfile.
5284 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
5285 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
5286 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
5287 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
5288 prepare_for_testing.
5289 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
5290 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
5291 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
5292 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
5293 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
5294 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
5295 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
5296 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
5297 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
5298 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
5299 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
5300 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
5301 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
5302 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
5303 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
5304 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
5305 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
5306 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
5307 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
5308 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
5309 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
5310 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
5311 standard_output_file.
5312 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
5313 standard_output_file.
5314 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
5315 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
5316 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
5317 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
5318 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
5319 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
5320 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
5321 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
5322 * gdb.dwarf2/implptr.exp: Use standard_testfile.
5323 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
5324 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
5325 * gdb.dwarf2/pieces.exp: Use standard_testfile.
5326 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
5327 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
5328 * gdb.dwarf2/valop.exp: Use standard_testfile,
5329 prepare_for_testing.
5330
5204774b
TT
53312012-06-27 Tom Tromey <tromey@redhat.com>
5332
5333 * gdb.python/python.exp: Fix regexps in pagination tests.
5334
ee0bf529
SCR
53352012-06-26 Siva Chandra Reddy <sivachandra@google.com>
5336
5337 * gdb.python/py-symtab.exp: Add tests to test the new attribute
5338 'last' of gdb.Symtab_and_line.
5339 * gdb.python/py-symbol.c: Move break point comment to enable
5340 testing of gdb.Symtab_and_line.last.
5341
14fcc022
TT
53422012-06-26 Tom Tromey <tromey@redhat.com>
5343
5344 * gdb.threads/step.c: Remove.
5345 * gdb.threads/step.exp: Remove.
5346 * gdb.threads/step2.exp: Remove.
5347
0efbbabc
TT
53482012-06-26 Tom Tromey <tromey@redhat.com>
5349
5350 * gdb.threads/watchpoint-fork.exp (test): Use
5351 standard_output_file. Don't declare objdir.
5352 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
5353 standard_output_file.
5354 * gdb.threads/attach-stopped.exp: Use standard_testfile.
5355 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
5356 clean_restart. Remove incdir.
5357 * gdb.threads/corethreads.exp: Use standard_testfile.
5358 * gdb.threads/execl.exp: Use standard_testfile,
5359 standard_output_file, clean_restart.
5360 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
5361 clean_restart.
5362 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
5363 clean_restart.
5364 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
5365 incdir.
5366 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
5367 clean_restart. Remove incdir.
5368 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
5369 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
5370 clean_restart. Remove incdir.
5371 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
5372 Remove incdir.
5373 * gdb.threads/leader-exit.exp: Use standard_testfile.
5374 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
5375 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
5376 clean_restart.
5377 * gdb.threads/manythreads.exp: Use standard_testfile,
5378 clean_restart. Remove incdir.
5379 * gdb.threads/multi-create.exp: Use standard_testfile,
5380 clean_restart.
5381 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
5382 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
5383 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
5384 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
5385 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
5386 * gdb.threads/pending-step.exp: Use standard_testfile,
5387 clean_restart. Remove incdir.
5388 * gdb.threads/print-threads.exp: Use standard_testfile,
5389 clean_restart. Remove incdir.
5390 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
5391 clean_restart. Remove incdir.
5392 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
5393 Remove incdir.
5394 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
5395 incdir.
5396 * gdb.threads/sigthread.exp: Use standard_testfile,
5397 clean_restart.
5398 * gdb.threads/staticthreads.exp: Use standard_testfile,
5399 clean_restart. Remove incdir.
5400 * gdb.threads/switch-threads.exp: Use standard_testfile,
5401 clean_restart. Remove incdir.
5402 * gdb.threads/thread-execl.exp: Use standard_testfile,
5403 clean_restart. Remove incdir.
5404 * gdb.threads/thread-find.exp: Use standard_testfile,
5405 clean_restart.
5406 * gdb.threads/thread-specific.exp: Use standard_testfile,
5407 clean_restart. Remove incdir.
5408 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
5409 clean_restart. Remove incdir.
5410 * gdb.threads/thread_check.exp: Use standard_testfile,
5411 clean_restart. Remove incdir.
5412 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
5413 incdir.
5414 * gdb.threads/threadapply.exp: Use standard_testfile,
5415 clean_restart. Remove incdir.
5416 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
5417 clean_restart. Remove incdir.
5418 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
5419 clean_restart.
5420 * gdb.threads/tls-shared.exp: Use standard_testfile,
5421 clean_restart, standard_output_file.
5422 * gdb.threads/tls-var.exp: Use standard_testfile,
5423 standard_output_file.
5424 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
5425 Remove incdir.
5426 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
5427 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
5428 incdir.
5429 * gdb.threads/watchthreads2.exp: Use standard_testfile,
5430 clean_restart. Remove incdir.
5431
497a5eb0
TT
54322012-06-26 Tom Tromey <tromey@redhat.com>
5433
5434 * gdb.trace/actions.exp: Use standard_testfile.
5435 * gdb.trace/ax.exp: Use standard_testfile.
5436 * gdb.trace/backtrace.exp: Use standard_testfile.
5437 * gdb.trace/change-loc.exp: Use standard_testfile.
5438 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
5439 * gdb.trace/collection.exp: Use standard_testfile,
5440 prepare_for_testing.
5441 * gdb.trace/deltrace.exp: Use standard_testfile.
5442 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
5443 * gdb.trace/ftrace.exp: Use standard_testfile.
5444 * gdb.trace/infotrace.exp: Use standard_testfile.
5445 * gdb.trace/packetlen.exp: Use standard_testfile.
5446 * gdb.trace/passc-dyn.exp: Use standard_testfile.
5447 * gdb.trace/passcount.exp: Use standard_testfile.
5448 * gdb.trace/pending.exp: Use standard_testfile.
5449 * gdb.trace/report.exp: Use standard_testfile.
5450 * gdb.trace/save-trace.exp: Use standard_testfile.
5451 * gdb.trace/stap-trace.exp: Use standard_testfile.
5452 * gdb.trace/status-stop.exp: Use standard_testfile.
5453 * gdb.trace/strace.exp: Use standard_testfile.
5454 * gdb.trace/tfile.exp: Use standard_testfile.
5455 * gdb.trace/tfind.exp: Use standard_testfile.
5456 * gdb.trace/trace-break.exp: Use standard_testfile.
5457 * gdb.trace/trace-mt.exp: Use standard_testfile.
5458 * gdb.trace/tracecmd.exp: Use standard_testfile.
5459 * gdb.trace/tspeed.exp: Use standard_testfile.
5460 * gdb.trace/tstatus.exp: Use standard_testfile.
5461 * gdb.trace/tsv.exp: Use standard_testfile.
5462 * gdb.trace/unavailable.exp: Use standard_testfile,
5463 prepare_for_testing.
5464 * gdb.trace/while-dyn.exp: Use standard_testfile.
5465 * gdb.trace/while-stepping.exp: Use standard_testfile.
5466
7686c074
TT
54672012-06-26 Tom Tromey <tromey@redhat.com>
5468
5469 * gdb.reverse/break-precsave.exp: Use standard_testfile.
5470 * gdb.reverse/break-reverse.exp: Use standard_testfile.
5471 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
5472 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
5473 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
5474 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
5475 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
5476 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
5477 prepare_for_testing.
5478 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
5479 prepare_for_testing.
5480 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
5481 prepare_for_testing.
5482 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
5483 prepare_for_testing.
5484 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
5485 prepare_for_testing
5486 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
5487 * gdb.reverse/machinestate.exp: Use standard_testfile.
5488 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
5489 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
5490 build_executable.
5491 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
5492 build_executable.
5493 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
5494 standard_output_file.
5495 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
5496 standard_output_file.
5497 * gdb.reverse/step-precsave.exp: Use standard_testfile.
5498 * gdb.reverse/step-reverse.exp: Use standard_testfile.
5499 * gdb.reverse/until-precsave.exp: Use standard_testfile.
5500 * gdb.reverse/until-reverse.exp: Use standard_testfile.
5501 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
5502 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
5503
481fc100
TT
55042012-06-26 Tom Tromey <tromey@redhat.com>
5505
5506 * gdb.stabs/weird.exp: Remove directory-checking code. Use
5507 standard_output_file.
5508 * gdb.stabs/exclfwd.exp: Use standard_testfile,
5509 prepare_for_testing. Remove directory-checking code.
5510
7bb18ae2
TT
55112012-06-25 Tom Tromey <tromey@redhat.com>
5512
5513 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
5514 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
5515 build_executable, not prepare_for_testing.
5516 * gdb.multi/base.exp: Use standard_output_file. Use
5517 build_executable, not prepare_for_testing.
5518
cf09b3e4
TT
55192012-06-25 Tom Tromey <tromey@redhat.com>
5520
5521 * gdb.fortran/subarray.exp: Use standard_testfile,
5522 prepare_for_testing.
5523 * gdb.fortran/multi-dim.exp: Use standard_testfile.
5524 * gdb.fortran/module.exp: Use standard_testfile.
5525 * gdb.fortran/logical.exp: Use standard_testfile.
5526 * gdb.fortran/library-module.exp: Use standard_testfile,
5527 standard_output_file.
5528 * gdb.fortran/derived-type.exp: Use standard_testfile,
5529 prepare_for_testing.
5530 * gdb.fortran/complex.exp: Use standard_testfile,
5531 prepare_for_testing.
5532 * gdb.fortran/charset.exp: Use standard_testfile.
5533 * gdb.fortran/array-element.exp: Use standard_testfile,
5534 prepare_for_testing.
5535
18b5ff1b
KS
55362012-06-25 Keith Seitz <keiths@redhat.com>
5537
5538 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
5539 Change rbreak-related tests to KFAIL and add bugzilla numbers.
5540
17b77626
TT
55412012-06-25 Tom Tromey <tromey@redhat.com>
5542
5543 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
5544 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
5545 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
5546 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
5547
f91e3dc1
TT
55482012-06-25 Tom Tromey <tromey@redhat.com>
5549
5550 * gdb.linespec/ls-errs.exp: Use standard_testfile.
5551 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
5552 * gdb.linespec/linespec.exp: Use standard_testfile.
5553
a884434d
TT
55542012-06-25 Tom Tromey <tromey@redhat.com>
5555
5556 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
5557 prepare_for_testing.
5558
efc9d70a
TT
55592012-06-25 Tom Tromey <tromey@redhat.com>
5560
5561 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
5562 prepare_for_testing.
5563 * gdb.opt/inline-break.exp: Use standard_testfile,
5564 prepare_for_testing.
5565 * gdb.opt/inline-bt.exp: Use standard_testfile,
5566 prepare_for_testing.
5567 * gdb.opt/inline-cmds.exp: Use standard_testfile,
5568 prepare_for_testing.
5569 * gdb.opt/inline-locals.exp: Use standard_testfile,
5570 prepare_for_testing.
5571
e2fc92c6
TT
55722012-06-25 Tom Tromey <tromey@redhat.com>
5573
5574 * gdb.asm/asm-source.exp: Use standard_output_file,
5575 standard_testfile. Construct .o files in proper subdir.
5576
b0963d73
TT
55772012-06-25 Tom Tromey <tromey@redhat.com>
5578
5579 * gdb.server/ext-attach.exp: Use standard_testfile,
5580 prepare_for_testing.
5581 * gdb.server/ext-run.exp: Use standard_testfile,
5582 build_executable.
5583 * gdb.server/file-transfer.exp: Use standard_testfile,
5584 prepare_for_testing.
5585 * gdb.server/server-exec-info.exp: Use standard_testfile.
5586 * gdb.server/server-mon.exp: Use standard_testfile,
5587 prepare_for_testing.
5588 * gdb.server/server-run.exp: Use standard_testfile,
5589 build_executable.
5590 * gdb.server/solib-list.exp: Use standard_testfile,
5591 standard_output_file.
5592
8a3e1f8d
TT
55932012-06-25 Tom Tromey <tromey@redhat.com>
5594
5595 * lib/gdb.exp (standard_output_file): Use "file join".
5596 * gdb.go/chan.exp: Use standard_testfile.
5597 * gdb.go/handcall.exp: Use standard_testfile.
5598 * gdb.go/hello.exp: Use standard_testfile.
5599 * gdb.integers/chan.exp: Use standard_testfile.
5600 * gdb.go/methods.exp: Use standard_testfile.
5601 * gdb.go/package.exp: Use standard_testfile.
5602 * gdb.go/strings.exp: Use standard_testfile.
5603 * gdb.go/types.exp: Use standard_testfile.
5604 * gdb.go/unsafe.exp: Use standard_testfile.
5605
944a9061
MGD
56062012-06-25 Greta Yorsh <greta.yorsh@arm.com>
5607
5608 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
5609
1c06bd58
JK
56102012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5611
5612 Fix regression by the previous commit.
5613 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
5614
b4a58790
TT
56152012-06-22 Tom Tromey <tromey@redhat.com>
5616
5617 * gdb.python/lib-types.exp: Use standard_testfile,
5618 prepare_for_testing.
5619 * gdb.python/py-block.exp: Use standard_testfile.
5620 * gdb.python/py-breakpoint.exp: Use standard_testfile.
5621 * gdb.python/py-events.exp: Use standard_testfile,
5622 standard_output_file.
5623 * gdb.python/py-evsignal.exp: Use standard_testfile.
5624 * gdb.python/py-evethreads.exp: Use standard_testfile.
5625 * gdb.python/py-explore-cc.exp: Use standard_testfile.
5626 * gdb.python/py-explore.exp: Use standard_testfile.
5627 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
5628 standard_output_file.
5629 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
5630 prepare_for_testing.
5631 * gdb.python/py-frame-inline.exp: Use standard_testfile.
5632 * gdb.python/py-frame.exp: Use standard_testfile.
5633 * gdb.python/py-inferior.exp: Use standard_testfile.
5634 * gdb.python/py-infthread.exp: Use standard_testfile.
5635 * gdb.python/py-mi.exp: Use standard_testfile.
5636 * gdb.python/py-objfile-script.exp: Use standard_testfile,
5637 build_executable.
5638 * gdb.python/py-objfile.exp: Use standard_testfile.
5639 * gdb.python/py-pp-maint.exp: Use standard_testfile,
5640 prepare_for_testing.
5641 * gdb.python/py-prettyprint.exp: Use standard_testfile.
5642 * gdb.python/py-progspace.exp: Use standard_testfile,
5643 build_executable.
5644 * gdb.python/py-prompt.exp: Use standard_testfile,
5645 build_executable.
5646 * gdb.python/py-section-script.exp: Use standard_testfile,
5647 build_executable.
5648 * gdb.python/py-shared.exp: Use standard_testfile,
5649 standard_output_file, clean_restart.
5650 * gdb.python/py-symbol.exp: Use standard_output_file,
5651 prepare_for_testing.
5652 * gdb.python/py-symtab.exp: Use standard_output_file,
5653 prepare_for_testing
5654 * gdb.python/py-template.exp: Use standard_testfile.
5655 * gdb.python/py-type.exp: Use standard_testfile.
5656 * gdb.python/py-value-cc.exp: Use standard_testfile.
5657 * gdb.python/py-value.exp: Use standard_testfile.
5658 * gdb.python/python.exp: Use standard_testfile, build_executable.
5659
2c44deac
TT
56602012-06-22 Tom Tromey <tromey@redhat.com>
5661
5662 * gdb.objc/basicclass.exp: Use standard_testfile.
5663 (do_objc_tests): Don't declare objdir.
5664 * gdb.objc/nondebug.exp: Use standard_testfile.
5665 (do_objc_tests): Don't declare objdir.
5666 * gdb.objc/objcdecode.exp: Use standard_testfile.
5667 (do_objc_tests): Don't declare objdir.
5668
c24ccbce
TT
56692012-06-22 Tom Tromey <tromey@redhat.com>
5670
5671 * gdb.java/jmain.exp: Use standard_testfile.
5672 * gdb.java/jmisc.exp: Use standard_testfile.
5673 * gdb.java/jnpe.exp: Use standard_testfile.
5674 * gdb.java/jprint.exp: Use standard_testfile.
5675
0a6d0306
TT
56762012-06-22 Tom Tromey <tromey@redhat.com>
5677
5678 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
5679 (standard_output_file, standard_testfile): New procs.
5680 (build_executable, clean_restart): Use standard_output_file.
5681
6ea815ef
YQ
56822012-06-22 Yao Qi <yao@codesourcery.com>
5683
5684 * boards/native-gdbserver.exp: New proc ${board}_exec.
5685 * boards/native-stdio-gdbserver.exp: Likewise.
5686
4c93b1db
TT
56872012-06-21 Tom Tromey <tromey@redhat.com>
5688
5689 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
5690 (build_executable): Update.
5691 (get_compiler_info): Remove 'binfile' argument.
5692 * gdb.ada/arrayidx.exp: Update.
5693 * gdb.ada/null_array.exp: Update.
5694 * gdb.arch/altivec-abi.exp: Update.
5695 * gdb.arch/altivec-regs.exp: Update.
5696 * gdb.arch/amd64-byte.exp: Update.
5697 * gdb.arch/amd64-dword.exp: Update.
5698 * gdb.arch/amd64-word.exp: Update.
5699 * gdb.arch/i386-avx.exp: Update.
5700 * gdb.arch/i386-byte.exp: Update.
5701 * gdb.arch/i386-sse.exp: Update.
5702 * gdb.arch/i386-word.exp: Update.
5703 * gdb.arch/ppc-dfp.exp: Update.
5704 * gdb.arch/ppc-fp.exp: Update.
5705 * gdb.arch/vsx-regs.exp: Update.
5706 * gdb.base/all-bin.exp: Update.
5707 * gdb.base/annota1.exp: Update.
5708 * gdb.base/async.exp: Update.
5709 * gdb.base/attach.exp: Update.
5710 * gdb.base/break-interp.exp: Update.
5711 * gdb.base/call-ar-st.exp: Update.
5712 * gdb.base/call-rt-st.exp: Update.
5713 * gdb.base/call-sc.exp: Update.
5714 * gdb.base/callfuncs.exp: Update.
5715 * gdb.base/catch-load.exp: Update.
5716 * gdb.base/completion.exp: Update.
5717 * gdb.base/complex.exp: Update.
5718 * gdb.base/condbreak.exp: Update.
5719 * gdb.base/consecutive.exp: Update.
5720 * gdb.base/constvars.exp: Update.
5721 * gdb.base/corefile.exp: Update.
5722 * gdb.base/eval-skip.exp: Update.
5723 * gdb.base/expand-psymtabs.exp: Update.
5724 * gdb.base/exprs.exp: Update.
5725 * gdb.base/fileio.exp: Update.
5726 * gdb.base/fixsection.exp: Update.
5727 * gdb.base/funcargs.exp: Update.
5728 * gdb.base/gdb11530.exp: Update.
5729 * gdb.base/gdb1555.exp: Update.
5730 * gdb.base/gnu-ifunc.exp: Update.
5731 * gdb.base/gnu_vector.exp: Update.
5732 * gdb.base/info-macros.exp: Update.
5733 * gdb.base/jit-simple.exp: Update.
5734 * gdb.base/jit-so.exp: Update.
5735 * gdb.base/jit.exp: Update.
5736 * gdb.base/langs.exp: Update.
5737 * gdb.base/list.exp: Update.
5738 * gdb.base/logical.exp: Update.
5739 * gdb.base/long_long.exp: Update.
5740 * gdb.base/longjmp.exp: Update.
5741 * gdb.base/macscp.exp: Update.
5742 * gdb.base/mips_pro.exp: Update.
5743 * gdb.base/miscexprs.exp: Update.
5744 * gdb.base/morestack.exp: Update.
5745 * gdb.base/nodebug.exp: Update.
5746 * gdb.base/opaque.exp: Update.
5747 * gdb.base/pc-fp.exp: Update.
5748 * gdb.base/pending.exp: Update.
5749 * gdb.base/permissions.exp: Update.
5750 * gdb.base/pointers.exp: Update.
5751 * gdb.base/prelink.exp: Update.
5752 * gdb.base/printcmds.exp: Update.
5753 * gdb.base/psymtab.exp: Update.
5754 * gdb.base/ptype.exp: Update.
5755 * gdb.base/relational.exp: Update.
5756 * gdb.base/scope.exp: Update.
5757 * gdb.base/setvar.exp: Update.
5758 * gdb.base/shlib-call.exp: Update.
5759 * gdb.base/shreloc.exp: Update.
5760 * gdb.base/signals.exp: Update.
5761 * gdb.base/sizeof.exp: Update.
5762 * gdb.base/so-impl-ld.exp: Update.
5763 * gdb.base/so-indr-cl.exp: Update.
5764 * gdb.base/solib-disc.exp: Update.
5765 * gdb.base/solib-display.exp: Update.
5766 * gdb.base/solib-nodir.exp: Update.
5767 * gdb.base/solib-overlap.exp: Update.
5768 * gdb.base/solib-symbol.exp: Update.
5769 * gdb.base/solib-weak.exp: Update.
5770 * gdb.base/solib.exp: Update.
5771 * gdb.base/store.exp: Update.
5772 * gdb.base/structs.exp: Update.
5773 * gdb.base/structs2.exp: Update.
5774 * gdb.base/type-opaque.exp: Update.
5775 * gdb.base/unload.exp: Update.
5776 * gdb.base/varargs.exp: Update.
5777 * gdb.base/volatile.exp: Update.
5778 * gdb.base/watch_thread_num.exp: Update.
5779 * gdb.base/watchpoint-solib.exp: Update.
5780 * gdb.base/watchpoint.exp: Update.
5781 * gdb.base/watchpoints.exp: Update.
5782 * gdb.base/whatis.exp: Update.
5783 * gdb.cell/arch.exp: Update.
5784 * gdb.cell/break.exp: Update.
5785 * gdb.cell/bt.exp: Update.
5786 * gdb.cell/core.exp: Update.
5787 * gdb.cell/data.exp: Update.
5788 * gdb.cell/ea-cache.exp: Update.
5789 * gdb.cell/f-regs.exp: Update.
5790 * gdb.cell/fork.exp: Update.
5791 * gdb.cell/gcore.exp: Update.
5792 * gdb.cell/mem-access.exp: Update.
5793 * gdb.cell/ptype.exp: Update.
5794 * gdb.cell/registers.exp: Update.
5795 * gdb.cell/sizeof.exp: Update.
5796 * gdb.cell/solib-symbol.exp: Update.
5797 * gdb.cell/solib.exp: Update.
5798 * gdb.cp/ambiguous.exp: Update.
5799 * gdb.cp/breakpoint.exp: Update.
5800 * gdb.cp/bs15503.exp: Update.
5801 * gdb.cp/casts.exp: Update.
5802 * gdb.cp/class2.exp: Update.
5803 * gdb.cp/cpexprs.exp: Update.
5804 * gdb.cp/cplusfuncs.exp: Update.
5805 * gdb.cp/ctti.exp: Update.
5806 * gdb.cp/dispcxx.exp: Update.
5807 * gdb.cp/gdb1355.exp: Update.
5808 * gdb.cp/gdb2384.exp: Update.
5809 * gdb.cp/gdb2495.exp: Update.
5810 * gdb.cp/infcall-dlopen.exp: Update.
5811 * gdb.cp/local.exp: Update.
5812 * gdb.cp/m-data.exp: Update.
5813 * gdb.cp/m-static.exp: Update.
5814 * gdb.cp/mb-ctor.exp: Update.
5815 * gdb.cp/mb-inline.exp: Update.
5816 * gdb.cp/mb-templates.exp: Update.
5817 * gdb.cp/member-ptr.exp: Update.
5818 * gdb.cp/method.exp: Update.
5819 * gdb.cp/namespace.exp: Update.
5820 * gdb.cp/nextoverthrow.exp: Update.
5821 * gdb.cp/nsdecl.exp: Update.
5822 * gdb.cp/nsrecurs.exp: Update.
5823 * gdb.cp/nsstress.exp: Update.
5824 * gdb.cp/nsusing.exp: Update.
5825 * gdb.cp/pr-1023.exp: Update.
5826 * gdb.cp/pr-1210.exp: Update.
5827 * gdb.cp/pr-574.exp: Update.
5828 * gdb.cp/pr9631.exp: Update.
5829 * gdb.cp/printmethod.exp: Update.
5830 * gdb.cp/psmang.exp: Update.
5831 * gdb.cp/re-set-overloaded.exp: Update.
5832 * gdb.cp/rtti.exp: Update.
5833 * gdb.cp/shadow.exp: Update.
5834 * gdb.cp/templates.exp: Update.
5835 * gdb.cp/try_catch.exp: Update.
5836 * gdb.dwarf2/dw2-ranges.exp: Update.
5837 * gdb.dwarf2/pr10770.exp: Update.
5838 * gdb.fortran/library-module.exp: Update.
5839 * gdb.hp/gdb.aCC/optimize.exp: Update.
5840 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
5841 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
5842 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
5843 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
5844 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
5845 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
5846 * gdb.hp/gdb.compat/xdb1.exp: Update.
5847 * gdb.hp/gdb.compat/xdb2.exp: Update.
5848 * gdb.hp/gdb.compat/xdb3.exp: Update.
5849 * gdb.hp/gdb.defects/bs14602.exp: Update.
5850 * gdb.hp/gdb.defects/solib-d.exp: Update.
5851 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
5852 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
5853 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
5854 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
5855 * gdb.mi/gdb792.exp: Update.
5856 * gdb.mi/mi-pending.exp: Update.
5857 * gdb.mi/mi-solib.exp: Update.
5858 * gdb.mi/mi-var-cp.exp: Update.
5859 * gdb.opt/clobbered-registers-O2.exp: Update.
5860 * gdb.opt/inline-bt.exp: Update.
5861 * gdb.opt/inline-cmds.exp: Update.
5862 * gdb.opt/inline-locals.exp: Update.
5863 * gdb.python/py-events.exp: Update.
5864 * gdb.python/py-finish-breakpoint.exp: Update.
5865 * gdb.python/py-type.exp: Update.
5866 * gdb.reverse/solib-precsave.exp: Update.
5867 * gdb.reverse/solib-reverse.exp: Update.
5868 * gdb.server/solib-list.exp: Update.
5869 * gdb.stabs/weird.exp: Update.
5870 * gdb.threads/attach-into-signal.exp: Update.
5871 * gdb.threads/attach-stopped.exp: Update.
5872 * gdb.threads/tls-shared.exp: Update.
5873 * gdb.trace/change-loc.exp: Update.
5874 * gdb.trace/strace.exp: Update.
5875
95c391b6
TT
58762012-06-19 Tom Tromey <tromey@redhat.com>
5877
5878 * gdb.base/whatis.exp: Add tests.
5879
e910f0b6
TT
58802012-06-19 Tom Tromey <tromey@redhat.com>
5881
5882 * gdb.cp/m-static.cc (keepalive): New function.
5883 (gnu_obj_1::method): Use it.
5884
422d65e7
DE
58852012-06-18 Doug Evans <dje@google.com>
5886
5887 * gdb.base/info-fun.exp: New file.
5888 * gdb.base/info-fun.c: New file.
5889 * gdb.base/info-fun-solib.c: New file.
5890
e2e4d78b
JK
58912012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5892
5893 Remove stale dummy frames.
5894 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
5895 (maintenance info breakpoints): New tests.
5896 * gdb.base/stale-infcall.c: New file.
5897 * gdb.base/stale-infcall.exp: New file.
5898
1788b2d3
JK
58992012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5900
5901 * gdb.arch/amd64-entry-value-param.S: New file.
5902 * gdb.arch/amd64-entry-value-param.c: New file.
5903 * gdb.arch/amd64-entry-value-param.exp: New file.
5904
663b969e
TT
59052012-06-15 Tom Tromey <tromey@redhat.com>
5906
5907 * gdb.cp/namespace.exp: Add "show lang" test.
5908
8e09ad05
IS
59092012-06-15 Iain Sandoe <iain@codesourcery.com>
5910
5911 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
5912 case. (top level): Use gdb_file_cmd instead of gdb_load.
5913
f85e18ee
JK
59142012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5915
5916 PR tdep/14222
5917 * gdb.arch/i386-sse-stack-align.S: New file.
5918 * gdb.arch/i386-sse-stack-align.c: New file.
5919 * gdb.arch/i386-sse-stack-align.exp: New file.
5920
f3b5e280
KS
59212012-06-13 Keith Seitz <keiths@redhat.com>
5922
5923 PR breakpoints/13798 and mi/11541
5924 * gdb.linespec/ls-errs.exp: Add a few more tests for
5925 filenames with spaces and colons.
5926
50af5481
JK
59272012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5928
5929 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
5930 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
5931 (test_function): Call CV_f.
5932 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
5933 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
5934 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
5935 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
5936 (p CV_f(CV::i)): New tests.
5937
d55637df
TT
59382012-06-13 Tom Tromey <tromey@redhat.com>
5939
5940 * gdb.base/condbreak.exp: Add tests for "condition" completion.
5941
cc80f267
JK
59422012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5943
5944 Fix regression by the "ambiguous linespec" series.
5945 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
5946 tests.
5947
bb2af9cc
JK
59482012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5949
5950 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
5951 missing.
5952
e81a37f7
TT
59532012-06-11 Tom Tromey <tromey@redhat.com>
5954
5955 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
5956 location...
5957 (main): ...here.
5958
8efd7788
YQ
59592012-06-07 Yao Qi <yao@codesourcery.com>
5960
5961 * gdb.trace/strace.exp: Shorten some too-long lines.
5962
359f5fe6
PA
59632012-06-06 Pedro Alves <palves@redhat.com>
5964
5965 * gdb.threads/clone-new-thread-event.c: New file.
5966 * gdb.threads/clone-new-thread-event.exp: New file.
5967
7b2fe205
YQ
59682012-06-06 Yao Qi <yao@codesourcery.com>
5969
5970 * gdb.base/dprintf.c (main): Add extra parameter when calling
5971 printf and fprintf.
5972 (bar): New function. It is a dead function, but to ensure
5973 'malloc' is linked explicitly.
5974
3eca55e8
YQ
59752012-06-06 Yao Qi <yao@codesourcery.com>
5976
5977 * gdb.base/info-proc.exp: Return if target doesn't support
5978 'info proc'.
5979
91cc9324
JK
59802012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5981
5982 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
5983 (run program with breakpoint commands): XFAIl if it is not.
5984
c56e7c43
JB
59852012-06-05 Joel Brobecker <brobecker@adacore.com>
5986
5987 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
5988 and add comment.
5989 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
5990 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
5991 "STOP" marker. Adjust testing strategy to make it work on
5992 all targets.
5993
5994 * gdb.base/print-file-var-main.c (main): Rewrite using local
5995 variables and adjust get_version_2's return value check.
5996 Add small comment.
5997 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
5998 marker. Adjust testing strategy to make it work on all targets.
5999
ccab2054
JB
60002012-06-05 Joel Brobecker <brobecker@adacore.com>
6001
6002 * gdb.ada/bad-task-bp-keyword: New testcase.
6003
d0d86158
JK
60042012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6005
6006 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
6007 Simplify it to ...
6008 (symbol-file ${testfile1}): ... here.
6009 (test eliminated var my_global_symbol)
6010 (test eliminated var my_static_symbol)
6011 (test eliminated var my_global_func, get address of main): Wrap them to
6012 'single psymtabs' and 'single symtabs'
6013 (get address of my_global_symbol, get address of my_static_symbol)
6014 (get address of my_global_func, get address of main): Wrap them to
6015 'order1' and 'order2'.
6016
952cf74c
JK
6017 * gdb.base/code_elim.exp
6018 (add-symbol-file ${testfile1} 0x100000)
6019 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
6020 'order2'.
6021 (order1: add-symbol-file ${testfile1} 0x100000)
6022 (order1: add-symbol-file ${testfile2} 0x200000)
6023 (order2: add-symbol-file ${testfile2} 0x200000)
6024 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
6025 .bss as appropriate.
6026
0c5bf5a9
JK
60272012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6028
6029 * gdb.server/solib-list-lib.c: New file.
6030 * gdb.server/solib-list-main.c: New file.
6031 * gdb.server/solib-list.exp: New file.
6032
4196f325
MR
60332012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
6034
6035 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
6036 for 'set print symbol' change.
6037
bfb05775
JK
60382012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6039
6040 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
6041 .debug_abbrev_seg3.
6042
685b1105
JK
60432012-05-24 John Steele Scott <toojays@toojays.net>
6044
6045 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
6046 * gdb.dwarf2/dw2-icc-opaque.S: New file.
6047 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
6048
f3e0e960
SS
60492012-05-23 Stan Shebs <stan@codesourcery.com>
6050
6051 * gdb.mi/mi-info-os.exp: New file.
6052
11eb1b4d
KS
60532012-05-23 Keith Seitz <keiths@redhat.com>
6054
6055 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
6056 return -1 to suppress the rest of the tests.
6057 (compile_stap_bin): Return boolean success value.
6058
b1af9e97
TT
60592012-05-21 Tom Tromey <tromey@redhat.com>
6060
6061 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
6062 Remove kfails.
6063 (test_print_mi_member_types): Likewise.
6064
248537e3
TT
60652012-05-21 Tom Tromey <tromey@redhat.com>
6066
6067 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
6068 print symbol' change.
6069
d791e155
TJB
60702012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
6071
6072 * gdb.python/py-prompt.exp: Quit if the target is remote.
6073
e77afa2e
JK
60742012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6075
6076 Fix ERROR: internal buffer is full.
6077 * gdb.base/info-os.exp (expect_multiline): New function.
6078 (get process list, get process groups, get threads)
6079 (get file descriptors, get internet-domain sockets)
6080 (get shared-memory regions, get semaphores, get message queues): Use
6081 it for these tests.
6082
9cb709b6
TT
60832012-05-18 Tom Tromey <tromey@redhat.com>
6084
6085 * gdb.mi/mi-var-cmd.exp: Update.
6086 * gdb.objc/basicclass.exp (do_objc_tests): Update.
6087 * gdb.cp/virtbase.exp: Update.
6088 * gdb.cp/classes.exp (test_static_members): Update.
6089 * gdb.cp/casts.exp: Update.
6090 * gdb.base/pointers.exp: Update.
6091 * gdb.base/funcargs.exp (pointer_args): Update.
6092 (structs_by_reference): Update.
6093 * gdb.base/find.exp: Update.
6094 * gdb.base/call-strs.exp: Send "set print symbol off".
6095 * gdb.base/call-ar-st.exp: Update.
6096 * gdb.ada/fun_addr.exp: Update.
6097 * gdb.base/printcmds.exp (test_print_symbol): New proc.
6098 Call it.
6099 (test_print_repeats_10, test_print_strings)
6100 (test_print_char_arrays): Update.
6101
b012acdd
TT
61022012-05-18 Tom Tromey <tromey@redhat.com>
6103
6104 * gdb.base/charset.exp (string_display): Update.
6105
1d51a733
TT
61062012-05-18 Tom Tromey <tromey@redhat.com>
6107
6108 * gdb.mi/mi2-var-display.exp: Update.
6109 * gdb.mi/mi-var-display.exp: Update.
6110 * gdb.mi/mi-var-child.exp: Update.
6111 * gdb.cp/expand-psymtabs-cxx.exp: Update.
6112 * gdb.cp/cp-relocate.exp (get_func_address): Update.
6113
957df313
DE
61142012-05-17 Doug Evans <dje@google.com>
6115
682c7f7b
DE
6116 * info-macros.exp: Pass "debug" to prepare_for_testing.
6117
957df313
DE
6118 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
6119 * gdb.ada/Makefile.in (clean): Ditto.
6120 * gdb.arch/Makefile.in (clean): Ditto.
6121 * gdb.asm/Makefile.in (clean): Ditto.
6122 * gdb.base/Makefile.in (clean): Ditto.
6123 * gdb.cell/Makefile.in (clean): Ditto.
6124 * gdb.cp/Makefile.in (clean): Ditto.
6125 * gdb.disasm/Makefile.in (clean): Ditto.
6126 * gdb.dwarf2/Makefile.in (clean): Ditto.
6127 * gdb.fortran/Makefile.in (clean): Ditto.
6128 * gdb.go/Makefile.in (clean): Ditto.
6129 * gdb.hp/Makefile.in (clean): Ditto.
6130 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
6131 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
6132 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
6133 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
6134 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
6135 * gdb.java/Makefile.in (clean): Ditto.
6136 * gdb.linespec/Makefile.in (clean): Ditto.
6137 * gdb.mi/Makefile.in (clean): Ditto.
6138 * gdb.modula2/Makefile.in (clean): Ditto.
6139 * gdb.multi/Makefile.in (clean): Ditto.
6140 * gdb.objc/Makefile.in (clean): Ditto.
6141 * gdb.opencl/Makefile.in (clean): Ditto.
6142 * gdb.opt/Makefile.in (clean): Ditto.
6143 * gdb.pascal/Makefile.in (clean): Ditto.
6144 * gdb.python/Makefile.in (clean): Ditto.
6145 * gdb.reverse/Makefile.in (clean): Ditto.
6146 * gdb.server/Makefile.in (clean): Ditto.
6147 * gdb.stabs/Makefile.in (clean): Ditto.
6148 * gdb.threads/Makefile.in (clean): Ditto.
6149 * gdb.trace/Makefile.in (clean): Ditto.
6150 * gdb.xml/Makefile.in (clean): Ditto.
6151
abc9d0dc
TT
61522012-05-16 Tom Tromey <tromey@redhat.com>
6153
6154 * gdb.base/macscp1.c (macscp_expr): Add comment.
6155 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
6156
6a3a010b
MR
61572012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6158
6159 * gdb.base/return-nodebug.exp: Also test float and double types.
6160
01429c8e
JK
61612012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6162
6163 PR testsuite/12649
6164 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
6165
54115cd4
JK
6166 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
6167
0c5f383f
SDJ
61682012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
6169
6170 * gdb.base/stap-probe.exp (stap_test): Remove calls to
6171 `rerun_to_main'.
6172 (stap_test_no_debuginfo): Likewise.
6173
e7e0cddf
SS
61742012-05-14 Stan Shebs <stan@codesourcery.com>
6175
6176 * gdb.base/dprintf.c: New file.
6177 * gdb.base/dprintf.exp: New file.
6178
c772f8e7
HZ
61792012-05-14 Hui Zhu <hui_zhu@mentor.com>
6180
6181 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
6182 * gdb.trace/disconnected-tracing.c: New file.
6183 * gdb.trace/disconnected-tracing.exp: New file.
6184
7efc75aa
SCR
61852012-05-13 Siva Chandra Reddy <sivachandra@google.com>
6186
6187 * gdb.python/python.c: Add a new breakpoint comment.
6188 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
6189
85d4a676
SS
61902011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
6191
6192 * gdb.base/info-os.exp: New file.
6193 * gdb.base/info-os.c: New file.
6194
64ea88dc
JB
61952012-05-10 Joel Brobecker <brobecker@adacore.com>
6196
4647ab1b
JB
6197 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
6198 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
6199 New files.
64ea88dc 6200
afba63f1
JB
62012012-05-10 Joel Brobecker <brobecker@adacore.com>
6202
6203 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
6204 gdb.base/ctxobj.exp: New files.
6205
9d198b1e
TT
62062012-05-09 Tom Tromey <tromey@redhat.com>
6207
6208 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
6209
9bfee719
MR
62102012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
6211
6212 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
6213
3a7341d8
MR
62142012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
6215
6216 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
6217 before using it.
6218
52b3699b
TG
62192012-05-04 Tristan Gingold <gingold@adacore.com>
6220
6221 * gdb.base/set-noassign.exp: New test.
6222
a20ee7a4
SCR
62232012-05-03 Siva Chandra Reddy <sivachandra@google.com>
6224
6225 * gdb.python/py-symbol.exp: Add tests to test the new methods
6226 gdb.Symtab.global_block() and gdb.Symtab.static_block().
6227 * gdb.python/py-symbol.c: Add new struct to help test
6228 gdb.Symtab.static_block().
6229
bf2f0858
DE
62302012-05-03 Doug Evans <dje@google.com>
6231
6232 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
6233 commented out.
6234
2d4e0376
YQ
62352012-05-03 Yao Qi <yao@codesourcery.com>
6236
6237 * gdb.base/catch-syscall.exp: Skip it before compilation if target
6238 doesn't support.
6239 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
6240 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
6241
6d0bb9f3
YQ
62422012-05-03 Yao Qi <yao@codesourcery.com>
6243
6244 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
6245
fd820528
DE
62462012-04-30 Doug Evans <dje@google.com>
6247
6248 PR testsuite/13961
6249 * gdb.dwarf2/pr13961.S: New file.
6250 * gdb.dwarf2/pr13961.exp: New file.
6251
b9e219b9
YQ
62522012-04-29 Yao Qi <yao@codesourcery.com>
6253
6254 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
6255
3019eac3
DE
62562012-04-28 Doug Evans <dje@google.com>
6257
6258 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
6259 .Ltype_int_in_cu2. Use name "int2" instead of "int".
6260 All uses updated.
6261 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
6262 "ptype func_cu1" to expand cu2 before cu1.
6263
62e5f89c
SDJ
62642012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
6265 Tom Tromey <tromey@redhat.com>
6266
6267 * gdb.base/default.exp: Add `$_probe_arg*' convenience
6268 variables.
6269 * gdb.base/stap-probe.c: New file.
6270 * gdb.base/stap-probe.exp: New file.
6271 * gdb.trace/stap-trace.c: New file.
6272 * gdb.trace/stap-trace.exp: New file.
6273 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
6274 libgcc's unwinder.
6275
14132e89
MR
62762012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
6277
6278 * gdb.arch/mips16-thunks-inmain.c: New file.
6279 * gdb.arch/mips16-thunks-main.c: New file.
6280 * gdb.arch/mips16-thunks-sin.c: New file.
6281 * gdb.arch/mips16-thunks-sinfrob.c: New file.
6282 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
6283 * gdb.arch/mips16-thunks-sinmain.c: New file.
6284 * gdb.arch/mips16-thunks-sinmips16.c: New file.
6285 * gdb.arch/mips16-thunks.exp: New file.
6286
a766d390
DE
62872012-04-25 Doug Evans <dje@google.com>
6288
6289 * configure.ac: Create gdb.go/Makefile.
6290 * configure: Regenerate.
6291 * gdb.base/default.exp: Add "go" to "set language" testing.
6292 * gdb.go/Makefile.in: New file.
6293 * gdb.go/basic-types.exp: New file.
6294 * gdb.go/chan.exp: New file.
6295 * gdb.go/chan.go: New file.
6296 * gdb.go/handcall.exp: New file.
6297 * gdb.go/handcall.go: New file.
6298 * gdb.go/hello.exp: New file.
6299 * gdb.go/hello.go: New file.
6300 * gdb.go/integers.exp: New file.
6301 * gdb.go/integers.go: New file.
6302 * gdb.go/methods.exp: New file.
6303 * gdb.go/methods.go: New file.
6304 * gdb.go/package.exp: New file.
6305 * gdb.go/package1.go: New file.
6306 * gdb.go/package2.go: New file.
6307 * gdb.go/print.exp: New file.
6308 * gdb.go/strings.exp: New file.
6309 * gdb.go/strings.go: New file.
6310 * gdb.go/types.exp: New file.
6311 * gdb.go/types.go: New file.
6312 * gdb.go/unsafe.exp: New file.
6313 * gdb.go/unsafe.go: New file.
6314 * lib/future.exp: Add Go support.
6315 (gdb_find_go, gdb_find_go_linker): New procs.
6316 (gdb_default_target_compile): Add Go support.
6317 * lib/gdb.exp (skip_go_tests): New proc.
6318 * lib/go.exp: New file.
6319
e65f9ffb
TT
63202012-04-25 Tom Tromey <tromey@redhat.com>
6321
6322 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
6323
14e75d8e
JK
63242012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6325 Jan Kratochvil <jan.kratochvil@redhat.com>
6326
6327 PR symtab/7259:
6328 * gdb.base/enumval.c: New test case.
6329 * gdb.base/enumval.exp: New test case.
6330 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
6331 field.bitpos.
6332
f3525b70
PA
63332012-04-17 Pedro Alves <palves@redhat.com>
6334
6335 * Makefile.in (site.exp): Make site.exp source
6336 $srcdir/lib/append_gdb_boards_dir.exp.
6337 * lib/append_gdb_boards_dir.exp: New file.
6338
bccbefd2
JK
63392012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6340
6341 New option "set auto-load safe-path".
6342 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
6343 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
6344
bf88dd68
JK
63452012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6346
6347 auto-load: Implementation.
6348 * gdb.base/help.exp (test set height): Increase the height.
6349 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
6350 to ...
6351 (info auto-load python-scripts): ... here.
6352 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
6353 to ...
6354 (info auto-load python-scripts *): ... here.
6355
c0d4d1c0
YQ
63562012-04-16 Yao Qi <yao@codesourcery.com>
6357
6358 * lib/trace-support.exp (get_in_proc_agent): New.
6359 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
6360 of in process trace agent.
6361 * gdb.trace/ftrace.exp: Likewise.
6362 * gdb.trace/pending.exp: Likewise.
6363 * gdb.trace/trace-break.exp: Likewise.
6364 * gdb.trace/trace-mt.exp
6365 * gdb.trace/tspeed.exp: Likewise.
6366 * gdb.trace/tstatus.exp
6367 * gdb.trace/strace.exp: Likewise.
6368
cbf68a60
TS
63692012-04-16 Thomas Schwinge <thomas@codesourcery.com>
6370
dd6d3b70
TS
6371 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
6372 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
6373
cbf68a60
TS
6374 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
6375
8264ba82
AG
63762012-04-14 Anton Gorenkov <xgsa@yandex.ru>
6377
6378 PR mi/13393
6379 * gdb.mi/mi-var-rtti.cc: New file.
6380 * gdb.mi/mi-var-rtti.exp: New file.
6381 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
6382 function.
6383 (mi_varobj_update_with_type_change): updated to avoid code duplication.
6384
de0919f8 63852012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
6386
6387 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
6388 EXECUTABLES.
6389 * gdb.python/py-explore.c: C program used for testing the new
6390 'explore' command on C constructs.
6391 * gdb.python/py-explore.cc: C++ program used for testing the new
6392 'explore' command on C++ constructs.
6393 * gdb-python/py-explore.exp: Tests for the new 'explore'
6394 command on C constructs.
6395 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
6396 command on C++ constructs.
6397
a82da7dd
MK
63982012-04-07 Mark Kettenis <kettenis@gnu.org>
6399
6400 * gdb.base/funcargs.exp (complex_args): Fix typo.
6401
e127cba8
JK
64022012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6403
6404 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
6405 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
6406
40e084e1
KS
64072012-04-05 Keith Seitz <keiths@redhat.com>
6408
6409 * gdb.base/advance.exp: Update error message for
6410 "advance malformed" test.
6411 * gdb.base/break.exp: Likewise for "breakpoint with
6412 trailing garbage" test.
6413 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
6414 with trailing garbage" test.
6415 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
6416 trailng garbage" test.
6417 * gdb.base/until.exp: Likewise for "malformed until" test.
6418 * gdb.cp/ovldbreak.exp: Create the breakpoint table
6419 for "breakpoint info (after setting on all)".
6420 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
6421 tests.
6422 * gdb.cp/cplabel.cc: New file.
6423 * gdb.cp/cplabel.exp: New test.
6424 * gdb.linespec/ls-errs.c: New file.
6425 * gdb.linespec/ls-errs.exp: New test.
6426
a72c8f6a
JK
64272012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6428
6429 * gdb.trace/unavailable.exp
6430 (collect globals: print object on: print derived_partial)
6431 (collect globals: print object on: print derived_whole)
6432 (collect globals: print object off: print derived_partial)
6433 (collect globals: print object off: print derived_whole): Update
6434 expected output.
6435
f87a3023
KS
64362012-03-30 Keith Seitz <keiths@redhat.com>
6437
6438 * gdb.python: Add test for linespecs with commas.
6439
e2171b3c
KS
64402012-03-28 Keith Seitz <keiths@redhat.com>
6441
6442 * gdb.linespec/ls-dollar.cc: New file.
6443 * gdb.linespec/ls-dollar.exp: New test.
6444
64452012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
6446
6447 * gdb.cp/namespace.exp: Add breakpoint tests for functions
6448 starting with the global namespace.
6449
2f4e0a80
DE
64502012-03-23 Doug Evans <dje@google.com>
6451
6452 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
6453
7b282c5a
SCR
64542012-03-22 Siva Chandra Reddy <sivachandra@google.com>
6455
6456 * gdb.python/py-value.cc: Add test case for testing the
6457 methodology exposing C++ values to Python.
6458 * gdb.python/py-value-cc.exp: Add tests testing the methodology
6459 exposing C++ values to Python.
6460 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
6461
2e98ca53
JK
64622012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6463 Siddhesh Poyarekar <siddhesh@redhat.com>
6464
6465 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
6466 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
6467 (generate native core dump): Make the test unsupported if core cannot
6468 be generated.
6469
8320cc4f
JK
64702012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6471
6472 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
6473 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
6474 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
6475
3a69ffb2
JK
64762012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6477
6478 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
6479
8fabffee
DE
64802012-03-17 Doug Evans <dje@google.com>
6481
6482 * dg-extract-results.sh: Handle KFAILs.
6483
ab260dad
JK
64842012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6485
6486 PR symtab/13777
6487 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
6488
53ba8333
JB
64892012-03-16 Joel Brobecker <brobecker@adacore.com>
6490
6491 * gdb.ada/set_pckd_arr_elt: New testcase.
6492
481860b3
GB
64932012-03-16 Gary Benson <gbenson@redhat.com>
6494
6495 PR breakpoints/10738
6496 * gdb.opt/inline-break.exp: New file.
6497 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
6498 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
6499 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
6500 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
6501 * gdb.base/async-shell.exp: Likewise.
6502 * lib/mi-support.exp (library_loaded_re): Likewise.
6503
410528f0
TT
65042012-03-15 Tom Tromey <tromey@redhat.com>
6505
6506 * gdb.cp/virtfunc2.exp: Update expected output.
6507 * gdb.cp/pr9631.exp: Update expected output.
6508 * gdb.cp/member-ptr.exp: Update expected output.
6509 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
6510 output.
6511 * gdb.cp/casts.exp: Update expected output.
6512
c4aeac85
TT
65132012-03-15 Tom Tromey <tromey@redhat.com>
6514
6515 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
6516 (test_info_vtbl): Likewise.
6517 (do_tests): Call test_info_vtbl.
6518 * gdb.cp/virtfunc.cc (va): New global.
6519
856d06f9
TS
65202012-03-15 Thomas Schwinge <thomas@codesourcery.com>
6521
6522 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
6523 describing DWARF data structures.
6524 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
6525 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
6526 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
6527 * gdb.dwarf2/dw2-entry-value.S: Likewise.
6528 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
6529 * gdb.dwarf2/dw2-param-error.S: Likewise.
6530 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
6531 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
6532 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
6533 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
6534 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
6535 * gdb.dwarf2/pr11465.S: Likewise.
6536
e837f12a
JK
65372012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6538
6539 * gdb.mi/mi2-prompt.exp: New file.
6540
ccbb4f28
JB
65412012-03-13 Joel Brobecker <brobecker@adacore.com>
6542
6543 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
6544
32039130
JB
65452012-03-13 Joel Brobecker <brobecker@adacore.com>
6546
6547 * gdb.ada/bp_range_type: New testcase.
6548
16899756
DE
65492012-03-13 Doug Evans <dje@google.com>
6550
6551 * gdb.base/default.exp: Delete tests for symbol-reloading.
6552 * gdb.base/help.exp: Ditto.
6553 * gdb.base/setshow.exp: Ditto.
6554 * gdb.base/gdb_history: Delete references to symbol-reloading.
6555
87b0bb13
JK
65562012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6557
6558 * gdb.base/attach-twice.c: New files.
6559 * gdb.base/attach-twice.exp: New files.
6560
0d7941a9
KS
65612012-03-08 Keith Seitz <keiths@redhat.com>
6562
6563 * lib/gdb.exp (gdb_get_line_number): Throw an
6564 error instead of returning -1.
6565 * gdb.base/break.exp: Remove unused variable
6566 bp_location5.
6567 * gdb.base/hbreak2.exp: Likewise.
6568 * gdb.base/sepdebug.exp: Likewise.
6569
f4647387
YQ
65702012-03-08 Yao Qi <yao@codesourcery.com>
6571 Pedro Alves <palves@redhat.com>
6572
6573 Fix PR server/13392.
6574 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
6575 (tracepoint_change_loc_2): Remove kfail. Return if failed to
6576 download tracepoints.
6577 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
6578 (pending_tracepoint_resolved_during_trace): Likewise.
6579 (pending_tracepoint_installed_during_trace): Likewise.
6580 (pending_tracepoint_with_action_resolved): Likewise.
6581
83c532cb
KS
65822012-03-08 Keith Seitz <keiths@redhat.com>
6583
6584 * gdb.ada/array_bounds.exp: Get breakpoint for line
6585 with "START", not "STOP".
6586 * gdb.python/py-infthread.exp: Do not continue to
6587 line marked "Break here.", which is undefined.
6588
d6b6bbb7
LM
65892012-03-08 Luis Machado <lgustavo@codesourcery.com>
6590
6591 Revert:
6592
6593 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6594
6595 Implement testsuite workaround for PR breakpoints/13781.
6596 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
6597 (set breakpoint condition-evaluation host): New conditional command.
6598
7fe25d9b
JK
65992012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6600
6601 Fix CU relative vs. absolute DIE offsets.
6602 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
6603 one.
6604
51898c15
JK
66052012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6606
6607 Fix false FAIL on distros with relro linkage as default.
6608 * gdb.reverse/solib-precsave.exp: Try to compile the test using
6609 -Wl,-z,norelro first.
6610
8131799e
JB
66112012-03-06 Joel Brobecker <brobecker@adacore.com>
6612
6613 * gdb.ada/bp_on_var: New testcase.
6614
ba241969
JB
66152012-03-06 Joel Brobecker <brobecker@adacore.com>
6616
6617 * gdb.ada/bp_enum_homonym: New testcase.
6618
abe49676
YQ
66192012-03-06 Yao Qi <yao@codesourcery.com>
6620
6621 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
6622 x86_64-*-* and i?86-*-*.
6623 Set up KFAIL for gdb/13808.
6624
d8df103b
TT
66252012-03-05 Tom Tromey <tromey@redhat.com>
6626
6627 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
6628 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
6629
b7b189f3
TT
66302012-03-05 Tom Tromey <tromey@redhat.com>
6631
6632 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
6633
69dc1c4d
YQ
66342012-03-04 Yao Qi <yao@codesourcery.com>
6635
6636 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
6637 messages for KFAIL.
6638
3f20c47f
JK
66392012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6640
6641 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
6642 (print one_two_three, indexes off, print few_reps, indexes off)
6643 (print many_reps, indexes off, print empty, indexes off)
6644 (print one_two_three, print few_reps, print many_reps, print empty):
6645 Call setup_xfail if $gcc_old.
6646
abf1152a
JK
66472012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6648
6649 Implement testsuite workaround for PR breakpoints/13781.
6650 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
6651 (set breakpoint condition-evaluation host): New conditional command.
6652
a06715f8
JK
66532012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6654
6655 Code cleanup.
6656 * gdb.cp/mb-templates.exp: New variables executable. Use it for
6657 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
6658 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
6659 number 1 by $bpnum. Four times.
6660
5808517f
YQ
66612012-03-03 Yao Qi <yao@codesourcery.com>
6662
6663 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
6664
dfe2ac14
JK
66652012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6666
6667 Setup KFAIL for PR server/13796.
6668 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
6669
8bbc467a
JB
66702012-03-02 Joel Brobecker <brobecker@adacore.com>
6671
6672 * gdb.ada/operator_bp: New testcase.
6673
c0eac87f
JB
66742012-03-02 Joel Brobecker <brobecker@adacore.com>
6675
6676 * gdb.ada/info_locals_renaming: New testcase.
6677
4f42c881
TT
66782012-03-02 Tom Tromey <tromey@redhat.com>
6679
6680 * gdb.base/nextoverexit.c: New file.
6681 * gdb.base/nextoverexit.exp: New file.
6682
7380c0c9
EBM
66832012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
6684
6685 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
6686 parameter.
6687
1faeff08
MR
66882012-03-01 Maciej W. Rozycki <macro@mips.com>
6689
6690 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
6691 core registers.
6692
320b6f49 66932012-03-01 Maciej W. Rozycki <macro@mips.com>
6fdff2c5
PA
6694 Maciej W. Rozycki <macro@codesourcery.com>
6695 Daniel Jacobowitz <dan@codesourcery.com>
320b6f49
MR
6696
6697 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
6698
ad5f7d6e
PA
66992012-03-01 Pedro Alves <palves@redhat.com>
6700
6701 PR gdb/13767
6702
6703 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
6704 (gdb_collect_globals_test): Call it.
6705
d3dc44a6
KS
67062012-03-01 Keith Seitz <keiths@redhat.com>
6707
6708 * gdb.cp/method2.exp: Output of overload menu is now
6709 alphabetized. Update tests for "break A::method".
6710 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
6711 of hard-coding them.
6712 Overload menu is alphabetized: rewrite to accommodate.
6713 Unset variables LINE and TYPES which are used in other tests.
6714 Compute the output of "info break".
6715 Update the breakpoint table after all breakpoints are deleted.
6716 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
6717 compute ACTUALS and the method body based on parameters.
6718 Update expected output accordingly.
6719 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
6720 unique comments to allow the use of gdb_get_line_number.
6721
67222012-03-01 Keith Seitz <keiths@redhat.com>
6723
6724 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
6725 some Tcl syntax.
6726 * gdb.cp/ovldbreak.exp: Likewise.
6727
7949c2a0
KS
67282012-03-01 Keith Seitz <keiths@redhat.com>
6729
6730 * gdb.base/help.exp (help show user): Update expected result
6731 for new doc string changes (add "non-python").
6732
7d74f244
DE
67332012-03-01 Scott J. Goldman <scottjg@vmware.com>
6734
6735 * gdb.python/py-cmd.exp: Add test to verify that python commands can
6736 be put in the user-defined category and that the commands appear in
6737 "help user-defined".
6738
1b611343
JB
67392012-02-29 Joel Brobecker <brobecker@adacore.com>
6740
6741 * gdb.ada/tagged_not_init: New testcase.
6742
99b1c762
JB
67432012-02-29 Joel Brobecker <brobecker@adacore.com>
6744
6745 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
6746 * gdb.ada/enum_idx_packed: New testcase.
6747
2d4a02ee
JB
67482012-02-29 Joel Brobecker <brobecker@adacore.com>
6749
6750 * gdb.ada/aliased_array: New testcase.
6751
2e6fda7d
JB
67522012-02-29 Joel Brobecker <brobecker@adacore.com>
6753
6754 * gdb.ada/whatis_array_val: New testcase.
6755
9a7f938f
JK
67562012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6757
6758 Fix disp-step-syscall.exp: fork: single step over fork.
6759 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
6760 whitespaces.
6761 (single step over $syscall): Remove its check.
6762 (single step over $syscall final pc): New check.
6763
8703a944
JK
67642012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6765
6766 Support processors without SSSE3.
6767 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
6768 pabsd into ...
6769 (ssse3_test): ... a new function.
6770 (main): Call ssse3_test.
6771 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
6772 Update expected values everywhere.
6773 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
6774 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
6775 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
6776 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
6777 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
6778 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
6779 Move these tests lower.
6780 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
6781 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
6782 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
6783 New tests.
6784
c03e6ccc
YQ
67852012-02-29 Yao Qi <yao@codesourcery.com>
6786 Pedro Alves <palves@redhat.com>
6787
6788 * gdb.trace/trace-mt.c: New.
6789 * gdb.trace/trace-mt.exp: New.
6790
7964b62a
TS
67912012-02-28 Thomas Schwinge <thomas@codesourcery.com>
6792
2c8910ba
TS
6793 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
6794 numbers instead of hardcoding them.
6795 * gdb.base/annota1.c: Provide suitable markers.
6796 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
6797 numbers instead of hardcoding them.
6798 * gdb.base/annota3.c: Provide suitable markers.
6799
6800 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
6801 * gdb.base/annota3.c: Likewise.
6802 * gdb.base/sigall.c: Likewise.
6803 * gdb.base/signals.c: Likewise.
6804 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 6805
5a41c0b7
MR
68062012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
6807
6808 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
6809 failure return path.
6810
ebbbe5c5
LM
68112012-02-27 Luis Machado <lgustavo@codesourcery.com>
6812
6813 * gdb.base/save-bp.exp: Account for new condition evaluator output.
6814
8d126d8a
LM
68152012-02-24 Luis Machado <lgustavo@codesourcery.com>
6816
6817 * gdb.base/cond-eval-mode.exp: New file.
6818
11337c2f
PA
68192012-02-24 Pedro Alves <palves@redhat.com>
6820
6821 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
6822 (top level): Use with_test_prefix.
6823
13fc3e3c
PA
68242012-02-24 Pedro Alves <palves@redhat.com>
6825
6826 * gdb.threads/attach-into-signal.exp (corefunc): Use
6827 with_test_prefix.
6828
07c1b626
JK
68292012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6830
6831 Fix false FAILs on old CPUs without SSE.
6832 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
6833 Return untested for Illegal instruction.
6834
596ba138
JK
68352012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6836
6837 Fix false FAILs with glibc debug infos installed.
6838 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
6839 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
6840
aeaa2474
SA
68412012-02-22 Sterling Augustine <saugustine@google.com>
6842
6843 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
6844 constant with cast.
6845
aed555c9
PA
68462012-02-21 Pedro Alves <palves@redhat.com>
6847
6848 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
6849
78afebb4
PA
68502012-02-21 Pedro Alves <palves@redhat.com>
6851
6852 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
6853
fdcfef12
PA
68542012-02-21 Pedro Alves <palves@redhat.com>
6855
6856 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
6857 with_test_prefix.
6858
0f4d39d5
PA
68592012-02-21 Pedro Alves <palves@redhat.com>
6860
6861 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
6862 with_test_prefix here.
6863 (top level): Do it here instead. Remove `:' from the
6864 with_test_prefix string.
6865 * gdb.base/attach-pie-misread.exp: Remove the leading space the
6866 the suffix `:' from the with_test_prefix prefix string.
6867 * gdb.base/break-interp.exp: Ditto.
6868 * gdb.base/catch-load.exp: Ditto.
6869 * gdb.base/disp-step-syscall.exp: Ditto.
6870 * gdb.base/jit-so.exp: Ditto.
6871 * gdb.base/jit.exp: Ditto.
6872 * gdb.base/sepdebug.exp: Ditto.
6873 * gdb.base/solib-display.exp: Ditto.
6874 * gdb.base/solib-overlap.exp: Ditto.
6875 * gdb.base/watch-cond-infcall.exp: Ditto.
6876 * gdb.base/watchpoint.exp: Ditto.
6877 * gdb.dwarf2/dw2-noloc.exp: Ditto.
6878 * gdb.mi/mi-watch.exp: Ditto.
6879 * gdb.mi/mi2-watch.exp: Ditto.
6880 * gdb.threads/non-ldr-exc-1.exp: Ditto.
6881 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6882 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6883 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6884 * gdb.threads/watchpoint-fork.exp: Ditto.
6885 * gdb.threads/watchthreads-reorder.exp: Ditto.
6886 * gdb.trace/change-loc.exp: Ditto.
6887 * gdb.trace/pending.exp: Ditto.
6888 * gdb.trace/status-stop.exp: Ditto.
6889 * gdb.trace/strace.exp: Ditto.
6890 * gdb.trace/trace-break.exp: Ditto.
6891 * gdb.trace/unavailable.exp: Ditto.
6892 * lib/gdb.exp (with_test_prefix): Always prefix with space and
6893 suffix with colon. Adjust leading comments.
6894
6a5870ce
PA
68952012-02-21 Pedro Alves <palves@redhat.com>
6896 Tom Tromey <tromey@redhat.com>
6897
6898 * lib/gdb.exp: Add description of test prefixes.
6899 (with_test_prefix): New procedure.
6900 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
6901 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
6902 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
6903 instead of lappend to append to pf_prefix.
6904 * gdb.base/catch-load.exp: Use with_test_prefix.
6905 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
6906 * gdb.base/jit-so.exp: Use with_test_prefix.
6907 * gdb.base/jit.exp: Use with_test_prefix.
6908 * gdb.base/return-nodebug.exp (do_test): Use append instead of
6909 lappend to append to pf_prefix.
6910 * gdb.base/sepdebug.exp: Use with_test_prefix.
6911 * gdb.base/solib-display.exp: Use with_test_prefix.
6912 * gdb.base/solib-overlap.exp: Use with_test_prefix.
6913 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
6914 * gdb.base/watchpoint.exp: Use with_test_prefix.
6915 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
6916 * gdb.mi/mi-watch.exp: Use with_test_prefix.
6917 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
6918 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
6919 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
6920 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
6921 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
6922 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
6923 append instead of lappend to append to pf_prefix.
6924 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
6925 * gdb.trace/change-loc.exp: Use with_test_prefix.
6926 * gdb.trace/pending.exp: Use with_test_prefix.
6927 * gdb.trace/status-stop.exp: Use with_test_prefix.
6928 * gdb.trace/strace.exp: Use with_test_prefix.
6929 * gdb.trace/trace-break.exp: Use with_test_prefix.
6930 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
6931 instead of lappend to append to pf_prefix.
6932
35dc4a6b
JK
69332012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6934
6935 Fix racy FAILs.
6936 * gdb.base/inferior-died.c (main): Add return of 0.
6937 * gdb.base/inferior-died.exp (continue): Fix expectation of
6938 asynchronous events.
6939 (p 1): New test.
6940
c5a006e6
PA
69412012-02-20 Pedro Alves <palves@redhat.com>
6942
6943 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
6944 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
6945 gdb's internal debug output. For the non-threaded case, look for
6946 "Program received signal SIGLARM", for the threaded case, peek at
6947 the thread's siginfo.
6948
cc51a170
PA
69492012-02-20 Pedro Alves <palves@redhat.com>
6950
6951 General cleanup, make output test messages unique, and build
6952 different executable files for the non-threaded and threaded
6953 cases.
6954
6955 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
6956 Delete.
6957 (executable_nothr, executable_thr): New globals.
6958 (top level): Adjust to delete both executables.
6959 (corefunc): New parameter $executable. Set $pf_prefix instead of
6960 hand writing a prefix in tests. Issue a clean_restart and enable
6961 lin-lwp debug output here.
6962 (top level): Adjust. Use build_executable. Don't start gdb here,
6963 and don't enable lin-lwp debug output here.
6964 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
6965
c755f03d
JK
69662012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6967
6968 Fix racy FAILs.
6969 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
6970 "continue" command.
6971
6bec5e0a
JK
69722012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6973
6974 Fix for gdbserver non-extended mode.
6975 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
6976 and gdb_run_cmd.
6977
2e8265fd
TT
69782012-02-17 Tom Tromey <tromey@redhat.com>
6979
6980 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
6981 * gdb.python/py-events.exp: Check 'dir' output.
6982 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
6983
9e507076
YQ
69842012-02-17 Yao Qi <yao@codesourcery.com>
6985
6986 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
6987
32d22ab1
TT
69882012-02-16 Tom Tromey <tromey@redhat.com>
6989
6990 * gdb.base/inferior-died.c: Don't include stdio.h.
6991
9addecb9
TT
69922012-02-16 Tom Tromey <tromey@redhat.com>
6993
6994 * gdb.base/inferior-died.c: New file.
6995 * gdb.base/inferior-died.exp: New file.
6996
4cb6da1c
AR
69972012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
6998
6999 * gdb.base/break-inline.exp: New file.
7000 * gdb.base/break-inline.c: New file.
7001
3af2590d
TT
70022012-02-15 Tom Tromey <tromey@redhat.com>
7003
7004 * gdb.base/pc-fp.exp: Add "info register" tests.
7005
29988831
TT
70062012-02-15 Tom Tromey <tromey@redhat.com>
7007
7008 * gdb.base/regs.exp: Remove.
7009
10010058
PA
70102012-02-15 Pedro Alves <palves@redhat.com>
7011
7012 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
7013 the target doesn't support tracepoints.
7014 * gdb.trace/circ.exp: Ditto.
7015 * gdb.trace/collection.exp: Ditto.
7016 * gdb.trace/packetlen.exp: Ditto.
7017 * gdb.trace/passc-dyn.exp: Ditto.
7018 * gdb.trace/report.exp: Ditto.
7019 * gdb.trace/tfind.exp: Ditto.
7020 * gdb.trace/tspeed.exp: Ditto.
7021 * gdb.trace/tsv.exp: Ditto.
7022 * gdb.trace/unavailable.exp: Ditto.
7023 * gdb.trace/while-dyn.exp: Ditto.
7024
a2e0062d
PA
70252012-02-15 Pedro Alves <palves@redhat.com>
7026
7027 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
7028 gdb_test_multiple, and call unsupported instead of fail, if the
7029 remote side does not support the request.
7030
a1999d40
PA
70312012-02-15 Pedro Alves <palves@redhat.com>
7032
7033 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
7034 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
7035 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
7036 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
7037 * gdb.server/server-run.exp: Make sure gdb is disconnected.
7038 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
7039 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
7040 doesn't start with "extended-" already.
7041
7cee1e54
PA
70422012-02-15 Pedro Alves <palves@redhat.com>
7043
7044 Support extended-remote. Avoid cascading timeouts.
7045
7046 * gdb.base/attach.exp (do_attach_tests): Add expected output for
7047 the extended-remote target. If attaching with no file fails, load
7048 the file manually.
7049 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
7050
816338b5
SS
70512012-02-14 Stan Shebs <stan@codesourcery.com>
7052
7053 * gdb.base/ena-dis-br.exp: Add enable count test.
7054
cc30c4bd
PA
70552012-02-13 Pedro Alves <palves@redhat.com>
7056
7057 * config/mips-idt.exp: Delete.
7058 * gdb.base/a2-run.exp: Remove mips-idt xfails.
7059 * gdb.base/bitfields.exp: Remove mips-idt restarts.
7060 * gdb.base/break.exp: Remove mips-idt references.
7061 * gdb.base/chng-syms.exp: Ditto.
7062 * gdb.base/default.exp: Ditto.
7063 * gdb.base/funcargs.exp (funcargs_reload): Delete.
7064 (top level): Don't call it.
7065 * gdb.base/opaque.exp: Remove mips-idt restarts.
7066 * gdb.base/ptype.exp: Remove mips-idt xfails.
7067 * gdb.base/scope.exp: Remove mips-idt restarts.
7068 * gdb.base/sepdebug.exp: Remove mips-idt references.
7069 * gdb.base/watchpoint.exp (maybe_clean_restart)
7070 (maybe_reinitialize): Delete.
7071 (test_disabling_watchpoints, test_disabling_watchpoints)
7072 (test_watchpoint_triggered_in_syscall)
7073 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
7074 Don't call them.
7075
57008375
JK
70762012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7077
7078 * gdb.server/server-exec-info.exp: New file.
7079
4a2d9c08
PA
70802012-02-10 Pedro Alves <palves@redhat.com>
7081
7082 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
7083 always non-empty.
7084 (test_attach): Always pass $exec to test_attach_gdb.
7085
09fa21bd
TT
70862012-02-08 Tom Tromey <tromey@redhat.com>
7087
7088 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
7089 before inferior is started.
7090
f0823d2c
TT
70912012-02-07 Tom Tromey <tromey@redhat.com>
7092
7093 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
7094 Symbol.value.
7095 * gdb.python/py-symbol.c (qq): Set default value.
7096
70972012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
7098
7099 * gdb.python/py-symbol.c (qq): New global.
7100 * gdb.python/py-symbol.exp: Add test for frame-less
7101 lookup_symbol.
7102 * gdb.python/py-symtab.exp: Fix line number.
7103
f7e44f65
JB
71042012-02-03 Joel Brobecker <brobecker@adacore.com>
7105
7106 * gdb.ada/mi_task_arg: New testcase.
7107
4c9ed63c
PA
71082012-02-02 Pedro Alves <palves@redhat.com>
7109
7110 * gdb.reverse/until-precsave.exp: Also put "record save" under the
7111 extended timeout.
7112
c0b9f2c6
PA
71132012-02-02 Pedro Alves <palves@redhat.com>
7114
7115 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
7116 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
7117
5f8cefd7
PA
71182012-02-02 Pedro Alves <palves@redhat.com>
7119
7120 * gdb.base/term.exp: Rewrite.
7121 * gdb.base/term.c: New.
7122
2f3a2569
PA
71232012-02-02 Pedro Alves <palves@redhat.com>
7124
7125 * gdb.base/default.exp (run "r" abbreviation, run): Add
7126 extended-remote expected output.
7127
f149aabd
TT
71282012-02-02 Tom Tromey <tromey@redhat.com>
7129
7130 * gdb.cp/dispcxx.exp: New file.
7131 * gdb.cp/dispcxx.cc: New file.
7132
03bef283
TT
71332012-02-01 Tom Tromey <tromey@redhat.com>
7134
7135 * gdb.base/jit-simple.exp: New file.
7136 * gdb.base/jit-simple.c: New file.
7137
a79b18b5
YQ
71382012-01-30 Yao Qi <yao@codesourcery.com>
7139
7140 * gdb.base/skip.exp: Make test result unique.
7141
f0d1a53e
JK
71422012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7143
7144 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
7145 compatibility with valgrind-3.7.0.
7146
4b3c9f41
PA
71472012-01-27 Pedro Alves <palves@redhat.com>
7148
7149 * gdb.base/watchpoint.exp (no_hw): New global.
7150 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
7151 disable hw watchpoints.
7152 (test_wide_location_1, test_wide_location_2): If no_hw is set,
7153 don't expect hw watchpoints.
7154 (no_hw_watchpoints): Always clean restart.
7155 (do_tests): New procedure, factored out from the top level.
7156 (top level): Run tests twice. Once with hw watchpoints enabled,
7157 another time with hw watchpoints disabled.
7158
a13491c8
PA
71592012-01-27 Pedro Alves <palves@redhat.com>
7160
7161 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
7162 out from the top level.
7163 (top level): Call it instead.
7164
f2c8a051
PA
71652012-01-27 Pedro Alves <palves@redhat.com>
7166
7167 * gdb.base/watchpoint.exp (top level): Re-enable hardware
7168 watchpoints sooner.
7169
654d7a9e
PA
71702012-01-27 Pedro Alves <palves@redhat.com>
7171
7172 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
7173
274f47f3
PA
71742012-01-27 Pedro Alves <palves@redhat.com>
7175
7176 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
7177 "You may have requested too many hardware
7178 breakpoints/watchpoints".
7179
e4d63ba2
PA
71802012-01-27 Pedro Alves <palves@redhat.com>
7181
7182 * gdb.base/watchpoint.exp (maybe_clean_restart)
7183 (maybe_reinitialize): New.
7184 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
7185 expect "hit N times".
7186 (test_disabling_watchpoints, test_complex_watchpoint)
7187 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
7188 Call maybe_clean_restart.
7189 (top level): Use clean_restart. Remove "mips-idt-*"
7190 reinitialization.
7191
dbd95daf
PA
71922012-01-27 Pedro Alves <palves@redhat.com>
7193
7194 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
7195
f3ad2025
PA
71962012-01-27 Pedro Alves <palves@redhat.com>
7197
7198 * gdb.base/watchpoint.exp: Clean restart after tests that don't
7199 require `initialize' anymore. Remove unnecessary `initialize'
7200 calls.
7201
100aa3ae
PA
72022012-01-27 Pedro Alves <palves@redhat.com>
7203
7204 * gdb.base/watchpoint.exp (wp_set): Delete.
7205 (initialize, test_simple_watchpoint, top level): Remove dead code.
7206
c79a8e11
PA
72072012-01-27 Pedro Alves <palves@redhat.com>
7208
7209 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
7210 typo.
7211
048fe15a
PA
72122012-01-27 Pedro Alves <palves@redhat.com>
7213
7214 * config/extended-gdbserver.exp: New file.
7215 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
7216 comment.
7217 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
7218 * boards/native-extended-gdbserver.exp: New file.
7219
4033a6bf
PA
72202012-01-26 Pedro Alves <palves@redhat.com>
7221
7222 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
7223 and gdb_test_multiple.
7224
3d7f4b81
PA
72252012-01-26 Pedro Alves <palves@redhat.com>
7226
7227 Make test messages unique, and more identifiable.
7228 * gdb.multi/watchpoint-multi.exp: Change test messages.
7229
484abf42
TT
72302012-01-25 Tom Tromey <tromey@redhat.com>
7231
7232 * gdb.base/solib-disc.exp: Fix regexps.
7233
edcc5120
TT
72342012-01-24 Tom Tromey <tromey@redhat.com>
7235
7236 * lib/mi-support.exp (mi_expect_stop): Add special case for
7237 solib-event.
7238 * gdb.base/catch-load-so.c: New file.
7239 * gdb.base/catch-load.exp: New file.
7240 * gdb.base/catch-load.c: New file.
7241 * gdb.base/break-interp.exp (reach_1): Update regexp.
7242
30b91c90
JK
72432012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7244
7245 Fix fuzzy results.
7246 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
7247 lpsimple and func.
7248
53fe1783
GB
72492012-01-24 Gary Benson <gbenson@redhat.com>
7250
7251 Delete #if 0'd out code.
7252 * gdb.base/default.exp (info catch): Remove.
7253 * gdb.base/gdb_history (info catch): Likewise.
7254 * gdb.base/help.exp (info catch): Likewise.
7255
d0d8b0c6
JK
72562012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7257
7258 Fix watchpoints to be specific for each inferior.
7259 * gdb.multi/watchpoint-multi.c: New file.
7260 * gdb.multi/watchpoint-multi.exp: New file.
7261
4403d8e9
JK
72622012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7263
7264 Fix watchpoints across inferior fork.
7265 * gdb.threads/watchpoint-fork-child.c: New file.
7266 * gdb.threads/watchpoint-fork-mt.c: New file.
7267 * gdb.threads/watchpoint-fork-parent.c: New file.
7268 * gdb.threads/watchpoint-fork-st.c: New file.
7269 * gdb.threads/watchpoint-fork.exp: New file.
7270 * gdb.threads/watchpoint-fork.h: New file.
7271
050a2e1d
PA
72722012-01-23 Pedro Alves <palves@redhat.com>
7273
7274 * gdb.base/call-signal-resume.exp: Allow output after "return".
7275
6a52fb62
PA
72762012-01-20 Pedro Alves <palves@redhat.com>
7277
7278 * gdb.python/py-finish-breakpoint.py: Fix typo.
7279
145b16a9
UW
72802012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
7281
7282 * gdb.base/info-proc.exp: Also run on remote targets. Main
7283 "info proc" command is now always present; whether target supports
7284 actual info proc operation is detected when attempting to issue
7285 the command.
7286
26f6125e
JK
72872012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7288
7289 * .gdbinit: Remove.
7290
eb5227ce
PA
72912012-01-19 Pedro Alves <palves@redhat.com>
7292
7293 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
7294 look at the funtions' returns.
7295 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
7296 (jprint.print(int, int)): Change return type to int. Adjust.
7297
1db33378
PP
72982012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7299
7300 PR gdb/9538
7301 * gdb.base/sepdebug.exp: New test.
7302
b9736cf8
PA
73032012-01-18 Pedro Alves <palves@redhat.com>
7304
7305 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
7306 Allow output before ^done.
7307
4aac40c8
TT
73082012-01-16 Tom Tromey <tromey@redhat.com>
7309
7310 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
7311 Add tests for relative directory.
7312
cafec441
TT
73132012-01-16 Tom Tromey <tromey@redhat.com>
7314
7315 * gdb.base/printcmds.c (enum flag_enum): New.
7316 (three): New global.
7317 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
7318 enum printing.
7319 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
7320 FlagEnumerationPrinter.
7321 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
7322 * gdb.python/py-pp-maint.c (enum flag_enum): New.
7323 (fval): New global.
7324
abcc4978
PA
73252012-01-16 Pedro Alves <palves@redhat.com>
7326
7327 * lib/gdb.exp (banned_procedures): New variable.
7328 (banned_variables_traced): Rename to ...
7329 (banned_traced): ... this.
7330 (gdb_init): Also trace banned procedures.
7331 (gdb_finish): Also untrace banned procedures.
7332
97ccebe8
PA
73332012-01-16 Pedro Alves <palves@redhat.com>
7334
7335 Remove all calls to strace.
7336
2af7517b
JK
73372012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7338
7339 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
7340 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
7341
9241a8bc
PP
73422012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7343
7344 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
7345 * gdb.base/pie-execl.exp: Likewise.
7346
3848a17f
KS
73472012-01-12 Keith Seitz <keiths@redhat.com>
7348
7349 PR mi/10586
7350 * gdb.mi/var-cmd.c (struct anonymous): New structure.
7351 (do_anonymous_type_tests): New function.
7352 (main): Call do_anonymous_type_tests.
7353 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
7354 (verify_everything): New procedure.
7355 * gdb.mi/mi-var-cp.cc (class A): New class.
7356 (anonymous_structs_and_unions): New function.
7357 (main): Call anonymous_structs_and_unions.
7358 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
7359 (verify_everything): New procedure.
7360
440e2fca
KS
73612012-01-12 Keith Seitz <keiths@redhat.com>
7362
7363 * lib/mi-support.exp: Expand comments about PATH_EXPR.
7364 (varobj_tree::get_path_expr): Assume that all varobjs are
7365 compound unless they are known simple types.
7366 Adjust path expressions based on parent type, path parent type,
7367 and tree language.
7368 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
7369 the root varobj.
7370 (mi_walk_varobj_tree): Add LANGUAGE parameter.
7371
675399c9
PA
73722012-01-11 Pedro Alves <palves@redhat.com>
7373
7374 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
7375 core files on this machine" anymore.
7376
97ddaa9b
PH
73772012-01-11 Paul Hilfinger <hilfingr@adacore.com>
7378
7379 * gdb.base/watchpoint.c (recurser): Initialize local_x.
7380 (main): Repeat recurser call.
7381 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
7382 equivalent to 'local_x'.
7383
ea733575 73842012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6fdff2c5 7385 Joel Brobecker <brobecker@adacore.com>
ea733575
PH
7386
7387 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
7388
2ca0b532
PA
73892012-01-05 Pedro Alves <alves.ped@gmail.com>
7390
7391 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
7392 * gdb.python/py-events.c (first): Add bits for new "step N" test.
7393 * gdb.python/py-events.exp: Test that "step N" tripping on a
7394 breakpoint emits a breakpoint event.
7395
6e681866
JB
73962012-01-03 Joel Brobecker <brobecker@adacore.com>
7397
7398 * gdb.base/auxv.exp: Reformat the copyright notice.
7399
3c2d6aff
YQ
74002012-01-03 Yao Qi <yao@codesourcery.com>
7401
7402 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
7403 (strace_trace_on_diff_addr): New.
7404 * gdb.trace/strace.c: (main): Add two local variables.
7405
0852fee3
UW
74062011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
7407
7408 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
7409 * gdb.cell/gcore.exp: Likewise.
7410 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
7411 to verify the correct instance of main is selected.
7412
12c3e59c
JB
74132012-01-02 Joel Brobecker <brobecker@adacore.com>
7414
7415 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
7416 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
7417 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
7418 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
7419 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
7420 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
7421 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
7422 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
7423 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
7424 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
7425 gdb.threads/thread_check.c: Reformat copyright header.
7426
c0f378ec
EBM
74272011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
7428
e4a7ca93 7429 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
7430 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
7431 is not enabled.
7432
3bc96cfb
JK
74332011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7434
7435 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
7436 parameter to self_exec, adjust the function.
7437 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
7438 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
7439 (set var do_exit = 0): Remove test.
7440 (newline at end of file): Add one.
7441
095bcf5e
JB
74422011-12-27 Joel Brobecker <brobecker@adacore.com>
7443
7444 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
7445 New files.
7446
18d19bd1
JK
74472011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7448
7449 Fix racy FAILs.
7450 * gdb.threads/fork-thread-pending.c (barrier): New variable.
7451 (thread_function, thread_forker): Call pthread_barrier_wait for it.
7452 (main): Call pthread_barrier_init for it.
7453
e809353a
JK
74542011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7455
7456 Fix double send_gdb leading to racy FAILs.
7457 * gdb.base/break.exp (set silent break bp_location1): Replace
7458 3x send_gdb and gdb_expect by gdb_test.
7459 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
7460 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
7461 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
7462 instead of send_gdb. Twice.
7463 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
7464 3x send_gdb and gdb_expect by gdb_test.
7465 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
7466
da8cb7ec
JK
74672011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7468
7469 * gdb.linespec/linespec.exp: Compile using {c++}.
7470
ae1a303e
JK
74712011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7472
7473 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
7474 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
7475 (verify GCC PR debug/51668): New test.
7476
cc72b2a2
KP
74772011-12-23 Kevin Pouget <kevin.pouget@st.com>
7478
7479 Introduce gdb.FinishBreakpoint in Python.
7480 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
7481 py-finish-breakpoint2
7482 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
7483 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
7484 instead of line number.
7485 * gdb.python/py-finish-breakpoint.c: New file.
7486 * gdb.python/py-finish-breakpoint.exp: New file.
7487 * gdb.python/py-finish-breakpoint.py: New file.
7488 * gdb.python/py-finish-breakpoint2.cc: New file.
7489 * gdb.python/py-finish-breakpoint2.exp: New file.
7490 * gdb.python/py-finish-breakpoint2.py: New file.
7491
3b7962f9
JK
74922011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7493
7494 Partial fix of compatibility with gcc-4.7.
7495 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
7496 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
7497 Add comment to add a PASS case in the future.
7498
6538471c
JK
7499 Fix compatibility with gcc-4.7.
7500 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
7501
7052e42c
UW
75022011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
7503
7504 PR tdep/12797
7505 * gdb.base/callfuncs.exp: Remove KFAIL.
7506
9ac7f98e
JB
75072011-12-21 Joel Brobecker <brobecker@adacore.com>
7508
7509 * gdb.ada/task_bp: New testcase.
7510
f6eeced0
JK
75112011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7512
7513 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
7514 -DNO_SECTIONS.
7515 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
7516
72225e17
JK
75172011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7518
7519 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
7520 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
7521 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
7522 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
7523 conditional for gcc <= 4.5.
7524
13ac8d2c
JK
75252011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7526
7527 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
7528 by XFAIL.
7529 * gdb.cp/static-method.exp (info addr A::func())
7530 (list static-method.cc:xxx::(anonymous namespace)::A::func)
7531 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
7532 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
7533 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
7534 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
7535 (test value of F in k3_m): Likewise.
7536 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
7537 Likewise.
7538
049682ba
JK
75392011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7540
7541 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
7542 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
7543 Remove.
7544 * gdb.threads/attachstop-mt.c: Remove.
7545 * gdb.threads/attachstop-mt.exp: Remove.
7546
2c9d8796
MK
75472011-12-17 Mark Kettenis <kettenis@gnu.org>
7548
7549 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
7550
e0f9f062
DE
75512011-12-16 Doug Evans <dje@google.com>
7552
f4aa2101 7553 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
7554 * boards/native-gdbserver.exp: New file.
7555
e0f9f062
DE
7556 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
7557 gdbserver output.
7558 (gdbserver_default_get_remote_address): New function.
7559 (gdbserver_start): Call gdb,get_remote_address to compute argument
7560 to "target remote" command.
7561
80b6e756
PM
75622011-12-16 Phil Muldoon <pmuldoon@redhat.com>
7563
1c3ad6ab 7564 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
7565 python print-stack. Add set/show python print-stack
7566 off|full|message tests.
7567
1576bd00
YQ
75682011-12-15 Yao Qi <yao@codesourcery.com>
7569
7570 * gdb.trace/strace.c: New
7571 * gdb.trace/strace.exp: New.
7572
d6a0f6e0
TT
75732011-12-14 Tom Tromey <tromey@redhat.com>
7574
7575 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
7576
31015e1d
DE
75772011-12-14 Doug Evans <dje@google.com>
7578
7579 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
7580
7b50312a
PA
75812011-12-14 Pedro Alves <pedro@codesourcery.com>
7582
7583 PR threads/10729
7584
7585 * gdb.mi/watch-nonstop.c: New file.
6fdff2c5 7586 * gdb.mi/mi-watch-nonstop.exp: New file.
7b50312a 7587
924437bc
PA
75882011-12-13 Pedro Alves <pedro@codesourcery.com>
7589 Doug Evans <dje@google.com>
7590
7591 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
7592 (clean_restart): Remove references to the gdb_stub target board
7593 variable.
7594 (gdb_step_for_stub): Delete.
7595
7596 * gdb.base/annota1.exp: Remove all references to [target_info
7597 exists gdb_stub], gdb_step_for_stub and usestubs.
7598 * gdb.base/annota3.exp: Ditto.
7599 * gdb.base/async.exp: Ditto.
7600 * gdb.base/break.exp: Ditto.
7601 * gdb.base/code-expr.exp: Ditto.
7602 * gdb.base/commands.exp: Ditto.
7603 * gdb.base/completion.exp: Ditto.
7604 * gdb.base/condbreak.exp: Ditto.
7605 * gdb.base/consecutive.exp: Ditto.
7606 * gdb.base/cvexpr.exp: Ditto.
7607 * gdb.base/define.exp: Ditto.
7608 * gdb.base/display.exp: Ditto.
7609 * gdb.base/ena-dis-br.exp: Ditto.
7610 * gdb.base/environ.exp: Ditto.
7611 * gdb.base/gnu-ifunc.exp: Ditto.
7612 * gdb.base/maint.exp: Ditto.
7613 * gdb.base/pending.exp: Ditto.
7614 * gdb.base/sect-cmd.exp: Ditto.
7615 * gdb.base/sepdebug.exp: Ditto.
7616 * gdb.base/unload.exp: Ditto.
7617 * gdb.base/watchpoint-solib.exp: Ditto.
7618 * gdb.cp/annota2.exp: Ditto.
7619 * gdb.cp/annota3.exp: Ditto.
7620 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
7621 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
7622 * gdb.mi/mi-pending.exp: Ditto.
7623 * gdb.trace/circ.exp: Ditto.
7624 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
7625 * gdb.base/list.exp: Ditto.
7626
7627 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
7628 breakpoint function and all references to the usestubs macro.
7629 * gdb.base/exprs.c: Ditto.
7630 * gdb.base/freebpcmd.c: Ditto.
7631 * gdb.base/bitfields.c: Ditto.
7632 * gdb.base/bitfields2.c: Ditto.
7633 * gdb.base/break.c: Ditto.
7634 * gdb.base/call-sc.c: Ditto.
7635 * gdb.base/call-signals.c: Ditto.
7636 * gdb.base/callfuncs.c: Ditto.
7637 * gdb.base/charset.c: Ditto.
7638 * gdb.base/consecutive.c: Ditto.
7639 * gdb.base/constvars.c: Ditto.
7640 * gdb.base/funcargs.c: Ditto.
7641 * gdb.base/int-type.c: Ditto.
7642 * gdb.base/interrupt.c: Ditto.
7643 * gdb.base/langs0.c: Ditto.
7644 * gdb.base/list0.c: Ditto.
7645 * gdb.base/mips_pro.c: Ditto.
7646 * gdb.base/miscexprs.c: Ditto.
7647 * gdb.base/nodebug.c: Ditto.
7648 * gdb.base/opaque0.c: Ditto.
7649 * gdb.base/pointers.c: Ditto.
7650 * gdb.base/printcmds.c: Ditto.
7651 * gdb.base/ptype.c: Ditto.
7652 * gdb.base/recurse.c: Ditto.
7653 * gdb.base/reread1.c: Ditto.
7654 * gdb.base/reread2.c: Ditto.
7655 * gdb.base/restore.c: Ditto.
7656 * gdb.base/return.c: Ditto.
7657 * gdb.base/run.c: Ditto.
7658 * gdb.base/scope0.c: Ditto.
7659 * gdb.base/sepdebug.c: Ditto.
7660 * gdb.base/setshow.c: Ditto.
7661 * gdb.base/setvar.c: Ditto.
7662 * gdb.base/sigall.c: Ditto.
7663 * gdb.base/signals.c: Ditto.
7664 * gdb.base/structs.c: Ditto.
7665 * gdb.base/structs2.c: Ditto.
7666 * gdb.base/testenv.c: Ditto.
7667 * gdb.base/twice.c: Ditto.
7668 * gdb.base/unwindonsignal.c: Ditto.
7669 * gdb.base/watchpoint.c: Ditto.
7670 * gdb.base/watchpoints.c: Ditto.
7671 * gdb.base/whatis.c: Ditto.
7672 * gdb.cp/classes.cc: Ditto.
7673 * gdb.cp/cplusfuncs.cc: Ditto.
7674 * gdb.cp/derivation.cc: Ditto.
7675 * gdb.cp/formatted-ref.cc: Ditto.
7676 * gdb.cp/misc.cc: Ditto.
7677 * gdb.cp/overload.cc: Ditto.
7678 * gdb.cp/ovldbreak.cc: Ditto.
7679 * gdb.cp/ref-params.cc: Ditto.
7680 * gdb.cp/ref-types.cc: Ditto.
7681 * gdb.cp/templates.cc: Ditto.
7682 * gdb.cp/virtfunc.cc: Ditto.
7683 * gdb.hp/gdb.aCC/run.c: Ditto.
7684 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
7685 * gdb.hp/gdb.compat/xdb0.c: Ditto.
7686 * gdb.reverse/consecutive-reverse.c: Ditto.
7687 * gdb.reverse/sigall-reverse.c: Ditto.
7688 * gdb.reverse/until-reverse.c: Ditto.
7689 * gdb.reverse/watch-reverse.c: Ditto.
7690 * gdb.trace/actions.c: Ditto.
7691 * gdb.trace/circ.c: Ditto.
7692 * gdb.trace/collection.c: Ditto.
7693
fabde485
PA
76942011-12-13 Pedro Alves <pedro@codesourcery.com>
7695
7696 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
7697 (func6, func7): New.
7698 (main): Call func6 and func7.
7699 * gdb.base/watchpoint.exp (test_wide_location_1)
7700 (test_wide_location_2): New.
7701 (top level): Re-enable hardware watchpoints if necessary. Call
7702 test_wide_location_1 and test_wide_location_2.
7703
ff7d1690
YQ
77042011-12-11 Yao Qi <yao@codesourcery.com>
7705
7706 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
7707
a6af7abe
JB
77082011-12-11 Joel Brobecker <brobecker@adacore.com>
7709
7710 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
7711 expected output for unsupported case.
7712
61638e15
JK
77132011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7714
7715 PR testsuite/12649
7716 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
7717 Protect gdb_test_multiple by final $gdb_prompt match.
7718
0a00efc3
JK
77192011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7720
7721 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
7722 New variable, new test.
7723 (list static-method.cc:xxx::(anonymous namespace)::A::func)
7724 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
7725 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
7726 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
7727 them if HAVE_GCC_45682_FIXED is not set.
7728
4511b1ba
YQ
77292011-12-10 Yao Qi <yao@codesourcery.com>
7730
7731 * gdb.trace/status-stop.exp: New.
7732 * gdb.trace/status-stop.c: New.
7733
27949e73
JK
77342011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7735
7736 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
7737 timeout.
7738
d8ea7931
TT
77392011-12-08 Tom Tromey <tromey@redhat.com>
7740
7741 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
7742 condition.
7743
1cc310d2
SS
77442011-12-07 Stan Shebs <stan@codesourcery.com>
7745
7746 * gdb.trace/tfind.exp: Update for output changes.
7747
d482a875
PA
77482011-12-07 Pedro Alves <pedro@codesourcery.com>
7749
7750 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
7751 throws "Cannot insert catchpoints in this configuration".
7752 * gdb.ada/mi_catch_ex.exp: Likewise.
7753
f0ba3972
PA
77542011-12-06 Pedro Alves <pedro@codesourcery.com>
7755
7756 * gdb.base/break-always.exp: Test changing memory at addresses
7757 with breakpoints inserted.
7758
f8eba3c6
TT
77592011-12-06 Joel Brobecker <brobecker@acacore.com>
7760
6fdff2c5
PA
7761 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
7762 involving a fully qualified function name.
f8eba3c6
TT
7763
77642011-12-06 Tom Tromey <tromey@redhat.com>
7765
7766 * gdb.ada/homonym.exp: Add three breakpoint tests.
7767
77682011-12-06 Tom Tromey <tromey@redhat.com>
7769
7770 * gdb.base/solib-weak.exp (do_test): Remove kfail.
7771 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
7772 * gdb.objc/objcdecode.exp: Update for output changes.
7773 * gdb.linespec/linespec.exp: New file.
7774 * gdb.linespec/lspec.cc: New file.
7775 * gdb.linespec/lspec.h: New file.
7776 * gdb.linespec/body.h: New file.
7777 * gdb.linespec/base/two/thefile.cc: New file.
7778 * gdb.linespec/base/one/thefile.cc: New file.
7779 * gdb.linespec/Makefile.in: New file.
7780 * gdb.cp/templates.exp (test_template_breakpoints): Update for
7781 output changes.
7782 * gdb.cp/re-set-overloaded.exp: Remove kfail.
7783 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
7784 makes one breakpoint.
7785 * gdb.cp/method2.exp (test_break): Update for output changes.
7786 * gdb.cp/mb-templates.exp: Update for output changes.
7787 * gdb.cp/mb-inline.exp: Update for output changes.
7788 * gdb.cp/mb-ctor.exp: Update for output changes.
7789 * gdb.cp/ovsrch.exp: Use fully-qualified names.
7790 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
7791 has multiple matches.
7792 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
7793 error message change.
7794 * gdb.base/list.exp (test_list_filename_and_number): Update for
7795 error message change.
7796 * gdb.base/break.exp: Disable pending breakpoints. Update for
7797 output changes.
7798 * configure.ac: Add gdb.linespec.
7799 * configure: Rebuild.
7800 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
7801
c642a434
UW
78022011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
7803
7804 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
7805 last_break register on s390*-*-* targets.
7806
b18003d1
JB
78072011-12-06 Joel Brobecker <brobecker@adacore.com>
7808
7809 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
7810 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
7811 of parameter X in procedure Foo.
7812
fe96589c
SS
78132011-12-05 Stan Shebs <stan@codesourcery.com>
7814
7815 * gdb.trace/tfind.exp: Update help string matches.
7816
1820ab47
JK
78172011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7818
7819 * gdb.server/ext-run.exp (get process list): Accept also systemd
7820 as PID 1.
7821
e11ac3a3
JK
78222011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7823 Pedro Alves <pedro@codesourcery.com>
7824
7825 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
7826 starting GDB.
7827 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
7828 $use_gdb_stub.
7829 * gdb.base/display.exp: Likewise.
7830 * gdb.base/ending-run.exp: Likewise.
7831 * gdb.base/list.exp (test_listsize): Likewise.
7832 * gdb.base/setshow.exp: Likewise.
7833 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
7834 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
7835 check by global $use_gdb_stub.
7836 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
7837 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
7838 (default_gdb_init): Unset global $use_gdb_stub.
7839 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
7840 by global $use_gdb_stub.
7841 * lib/gdbserver-support.exp: Extend comments for set_board_info
7842 gdb_protocol and gdb,socketport.
7843 (gdbserver_start_extended): Set global gdbserver_protocol and
7844 gdbserver_gdbport. Clear global use_gdb_stub.
7845 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
7846 from target use_gdb_stub.
7847 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
7848
1d41d75c
DE
78492011-12-03 Doug Evans <dje@google.com>
7850
7851 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
7852 (gdb_step_for_stub): Add comments.
7853
d6d7a51a
MR
78542011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
7855
7856 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
7857 to the caller.
7858 (gdb_test_multiple): Likewise.
7859
05acf274
JK
78602011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7861
7862 Fix gdb.mi/mi-solib.exp without system debug info installed.
7863 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
7864 expect attribute, return 0 for it. Update comments.
7865
2268b414
JK
78662011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7867
7868 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
7869 (corrupted list): Adjust the expectation.
7870
585861ea
JK
78712011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7872
7873 PR threads/13448
7874 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
7875 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
7876 * gdb.threads/tls-var-main.c: New file.
7877 * gdb.threads/tls-var.c: New file.
7878 * gdb.threads/tls-var.exp: New file.
7879
968643aa
JK
78802011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7881
7882 PR testsuite/12649
7883 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
7884 Protect gdb_test_multiple by final $gdb_prompt match.
7885 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
7886 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
7887 (test_tracepoints): Likewise.
7888
9750bca9
JK
78892011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7890
7891 PR breakpoints/13346
7892 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
7893 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
7894 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
7895
ac1349b7
JB
78962011-12-01 Joel Brobecker <brobecker@adacore.com>
7897
7898 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
7899 * gdb.ada/homonym/homonym.adb: For use of all types defined
7900 locally inside both Get_Value subprograms.
7901
26d44faf
JK
79022011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7903
7904 Fix racy FAILs.
7905 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
7906 of send_gdb.
7907
514f6425
UW
79082011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7909
7910 * gdb.base/testenv.exp: Skip on remote targets. Unset global
7911 environment variable after test completed.
7912
4255c8d2
UW
79132011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7914
7915 * gdb.base/solib-nodir.exp: Skip if remote target.
7916 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
7917 application. Call gdb_load_shlibs.
7918 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
7919
a35ad96a
JB
79202011-11-29 Joel Brobecker <brobecker@adacore.com>
7921
7922 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
7923
1a1d5513
JB
79242011-11-28 Joel Brobecker <brobecker@adacore.com>
7925
7926 * gdb.ada/fullname_bp: New testcase.
7927
50b4ddf8
JK
79282011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7929
7930 PR testsuite/12649
7931 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
7932 Wrap send_gdb into a new gdb_test.
7933
fb0aec57
JK
7934 Code cleanup.
7935 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
7936 Convert send_gdb and gdb_expect to gdb_test_multiple.
7937
2376d946
JK
79382011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7939
7940 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
7941
1eec78bd
KS
79422011-11-23 Keith Seitz <keiths@redhat.com>
7943
7944 * lib/mi-support.exp (varobj_tree): New namespace and procs.
7945 (mi_varobj_tree_test_children_callback): New proc.
7946 (mi_walk_varobj_tree): New proc.
7947
36dfb11c
TT
79482011-11-22 Tom Tromey <tromey@redhat.com>
7949
7950 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
7951 Add "use_mi_command" argument.
7952 (mi_run_cmd, mi_run_with_cli): New procs.
7953 * gdb.mi/solib-lib.c: New file.
7954 * gdb.mi/solib-main.c: New file.
7955 * gdb.mi/mi-solib.exp: New file.
7956
0e965dd0
DE
79572011-11-21 Doug Evans <dje@google.com>
7958
7959 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
7960 _Unwind_DebugHook is missing.
7961
f196051f
SS
79622011-11-20 Stan Shebs <stan@codesourcery.com>
7963
7964 * gdb.trace/tstatus.exp: New.
7965 * gdb.trace/actions.c: Include string.h.
7966
bfccc43c
YQ
79672011-11-18 Yao Qi <yao@codesourcery.com>
7968
7969 * gdb.trace/pending.exp: New.
7970 * gdb.trace/pending.c: New.
7971 * gdb.trace/pendshr1.c: New.
7972 * gdb.trace/pendshr2.c: New.
7973 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
7974 tracepoint location becomes pending.
7975 (tracepoint_change_loc_2): New.
7976
73cd8ab1
DM
79772011-11-16 David S. Miller <davem@davemloft.net>
7978
7979 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
7980 target is sparc*-*-linux*
7981
77426730
PK
79822011-11-15 Paul Koning <paul_koning@dell.com>
7983
7984 * gdb.python/py-type.exp: New testcases for exceptions on scalar
7985 types.
7986
ed59ded5
DE
79872011-11-14 Doug Evans <dje@google.com>
7988
7989 * gdb.base/shell.exp: New file.
7990
405f8e94
SS
79912011-11-14 Stan Shebs <stan@codesourcery.com>
7992
7993 * gdb.trace/ftrace.c: New.
7994 * gdb.trace/ftrace.exp: New.
7995
1e4d1764
YQ
79962011-11-14 Yao Qi <yao@codesourcery.com>
7997
7998 * gdb.trace/change-loc-1.c: New.
7999 * gdb.trace/change-loc-2.c: New.
8000 * gdb.trace/change-loc.c: New.
8001 * gdb.trace/change-loc.exp: New.
8002 * gdb.trace/change-loc.h: New.
8003 * gdb.trace/trace-break.c (marker): Define new symbol.
8004 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6fdff2c5 8005 New.
1e4d1764
YQ
8006 (break_trace_same_addr_6): New.
8007
71eba9c2 80082011-11-12 Matt Rice <ratmice@gmail.com>
8009
8010 * gdb.base/info-macros.exp: Make tests for info definitions
8011 test info macro. Add tests for info macro argument processing.
8012 Rename a few tests.
8013
1d93e29a
KS
80142011-11-11 Keith Seitz <keiths@redhat.com>
8015
8016 PR gdb/12843
8017 * gdb.base/linespecs.exp: New file.
8018
a4b5b48a
DE
80192011-11-11 Doug Evans <dje@google.com>
8020
8021 * gdb.threads/print-threads.exp: Extend timeout for slower
8022 tests.
8023
f6b47be4
DE
80242011-11-10 Doug Evans <dje@google.com>
8025
792a0230
DE
8026 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
8027 "record to end of main" test.
8028
f6b47be4
DE
8029 * gdb.python/py-type.c (TS): New typedef.
8030 (ts): New global.
8031 * gdb.python/py-type.exp: Test field list of typedef.
8032
22355c90
JB
80332011-11-10 Joel Brobecker <brobecker@adacore.com>
8034
8035 * gdb.ada/small_reg_param: New testcase.
8036
a7860e76
TT
80372011-11-09 Tom Tromey <tromey@redhat.com>
8038
8039 * gdb.cp/destrprint.exp: New file.
8040 * gdb.cp/destrprint.cc: New file.
8041
72a2e3dc
MI
80422011-11-08 Meador Inge <meadori@codesourcery.com>
8043
8044 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
8045 (switch_stack_to_other): New test function.
8046 * gdb.arch/thumb-prologue.exp: New test cases.
8047
c7195df2 80482011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
8049
8050 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
8051
d3895d7d
YQ
80522011-11-08 Yao Qi <yao@codesourcery.com>
8053
8054 * gdb.exp (supports_process_record): New.
8055 (supports_reverse): New.
8056 * gdb.reverse/break-precsave.exp: Call support_process_record
8057 to run test conditionally.
8058 * gdb.reverse/consecutive-precsave.exp: Likewise.
8059 * gdb.reverse/i386-precsave.exp: Likewise.
8060 * gdb.reverse/machinestate-precsave.exp: Likewise.
8061 * gdb.reverse/solib-precsave.exp: Likewise.
8062 * gdb.reverse/step-precsave.exp: Likewise.
8063 * gdb.reverse/until-precsave.exp: Likewise.
8064 * gdb.reverse/watch-precsave.exp: Likewise.
8065 * gdb.reverse/break-reverse.exp: Call support_reverse to run
8066 test conditionally.
8067 * gdb.reverse/consecutive-reverse.exp: Likewise.
8068 * gdb.reverse/finish-precsave.exp: Likewise.
8069 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
8070 * gdb.reverse/finish-reverse.exp: Likewise.
8071 * gdb.reverse/i386-reverse.exp: Likewise.
8072 * gdb.reverse/i386-sse-reverse.exp: Likewise.
8073 * gdb.reverse/machinestate.exp: Likewise.
8074 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
8075 * gdb.reverse/sigall-precsave.exp: Likewise.
8076 * gdb.reverse/sigall-reverse.exp: Likewise.
8077 * gdb.reverse/solib-reverse.exp: Likewise.
8078 * gdb.reverse/step-reverse.exp: Likewise.
8079 * gdb.reverse/until-reverse.exp: Likewise.
8080 * gdb.reverse/watch-reverse.exp: Likewise.
8081
a59306a3
YQ
80822011-11-05 Yao Qi <yao@codesourcery.com>
8083
8084 * gdb.trace/trace-break.exp: Add test on setting two
8085 fast tracepoints at the same address.
8086
87769f59
JK
80872011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8088
8089 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
8090
3065dfb6
SS
80912011-11-02 Stan Shebs <stan@codesourcery.com>
8092
8093 * gdb.trace/collection.c: Add code using strings.
8094 * gdb.trace/collection.exp: Add tests of string collection.
8095
89e208db
JK
80962011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8097
8098 * gdb.base/skip-solib.exp (executable_main): New variable.
8099 (binfile_main): Base it on that.
8100 Use $executable_main in clean_restart calls. Drop gdb_exit and
8101 gdb_start calls.
8102
405e54e9
JK
81032011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8104
8105 Fix racy FAILs.
8106 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
8107 breakpoint_re globals import by async. Set string_regex to .* for
8108 async. Remove the optional thread_selected_re and breakpoint_re
8109 globals expectations.
8110
58e8570a
JM
81112011-11-01 Joseph Myers <joseph@codesourcery.com>
8112
8113 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
8114 well as Cygwin.
8115
7b35ec7f 81162011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
8117
8118 Add tests for skip command.
89e208db
JK
8119 * gdb.base/skip-solib-lib.c: New
8120 * gdb.base/skip-solib-main.c: New
8121 * gdb.base/skip-solib.exp: New
8122 * gdb.base/skip.c: New
8123 * gdb.base/skip.exp: New
8124 * gdb.base/skip1.c: New
8125 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 8126
b9fd1791
PA
81272011-10-31 Yao Qi <yao@codesourcery.com>
8128 Pedro Alves <pedro@codesourcery.com>
8129
6fdff2c5
PA
8130 * gdb.trace/trace-break.c: New.
8131 * gdb.trace/trace-break.exp: New.
b9fd1791 8132
4323fecc
JK
81332011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8134
8135 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
8136 break-here-2.
8137
0e5bf2a8
PA
81382011-10-28 Pedro Alves <pedro@codesourcery.com>
8139
8140 * gdb.threads/no-unwaited-for-left.c: New.
8141 * gdb.threads/no-unwaited-for-left.exp: New.
8142 * gdb.threads/non-ldr-exc-1.c: New.
8143 * gdb.threads/non-ldr-exc-1.exp: New.
8144 * gdb.threads/non-ldr-exc-2.c: New.
8145 * gdb.threads/non-ldr-exc-2.exp: New.
8146 * gdb.threads/non-ldr-exc-3.c: New.
8147 * gdb.threads/non-ldr-exc-3.exp: New.
8148 * gdb.threads/non-ldr-exc-4.c: New.
8149 * gdb.threads/non-ldr-exc-4.exp: New.
8150
3a3dad98
JK
81512011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8152
8153 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
8154 * gdb.base/attach-pie-misread.exp: Likewise.
8155 * gdb.base/break-interp.exp: Likewise.
8156 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
8157 testcases for use_gdb_stub.
8158 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
8159 (continue): New testcase.
8160 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
8161 * gdb.threads/attach-into-signal.exp: Likewise.
8162 * gdb.threads/attach-stopped.exp: Likewise.
8163 * gdb.threads/attachstop-mt.exp: Likewise.
8164
d6a5d40c
PK
81652011-10-28 Paul Koning <paul_koning@dell.com>
8166
8167 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
8168
ca539be8
JK
81692011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8170
8171 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
8172 (mi_gdb_test): Import globals thread_selected_re
8173 and breakpoint_re. Expect them optionally at the regex start.
8174
d234ef5c
DE
81752011-10-27 Doug Evans <dje@google.com>
8176
8177 * gdb.python/python.exp: Test source -s.
8178
ab964825
PK
81792011-10-26 Paul Koning <paul_koning@dell.com>
8180
8181 * gdb.python/lib-types.cc (struct A): New structure.
8182 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 8183
54d8a644
PK
81842011-10-25 Paul Koning <paul_koning@dell.com>
8185
8186 PR python/13327
d234ef5c 8187
54d8a644
PK
8188 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
8189 fetch_lazy method.
8190
b0221781
YQ
81912011-10-24 Yao Qi <yao@codesourcery.com>
8192
8193 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
8194 target is tic6x-*-*.
8195
6cda5a20
JB
81962011-10-21 Joel Brobecker <brobecker@adacore.com>
8197
8198 * gdb.ada/mi_task_info/task_switch.adb: New file.
8199 * gdb.ada/mi_task_info.exp: New file.
8200
5ed9db04
JK
82012011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8202
8203 * gdb.cp/expand-psymtabs-cxx.exp: New file.
8204 * gdb.cp/expand-psymtabs-cxx.cc: New file.
8205
9df2fbc4
PM
82062011-10-20 Phil Muldoon <pmuldoon@redhat.com>
8207
8208 PR python/12656
8209
8210 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
8211 global_block tests.
8212
736086ba
TT
82132011-10-18 Tom Tromey <tromey@redhat.com>
8214
8215 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
8216
4af31552
TT
82172011-10-18 Tom Tromey <tromey@redhat.com>
8218
8219 * gdb.base/source.exp: Don't include full file name in test name.
8220 * gdb.python/python.exp: Don't include full file name in test
8221 name.
8222
43136979
AR
82232011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8224
8225 * gdb.base/attach-pie-noexec.c: New files.
8226 * gdb.base/attach-pie-noexec.exp: New files.
8227
543a9323
JM
82282011-10-17 Joseph Myers <joseph@codesourcery.com>
8229
8230 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
8231 prompt for each extra line in command.
8232
21ae7a4d
JK
82332011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8234
8235 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
8236 Revert the part of:
8237 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8238 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
8239 Change the expected string.
8240
20ec36d9
JK
82412011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8242
8243 Fix results with system glibc debug info installed.
8244 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
8245 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
8246 Accept also __libc_ symbol prefix and no prefix.
8247
6501c2fc
KS
82482011-10-14 Keith Seitz <keiths@redhat.com>
8249
8250 PR c++/13225
8251 * gdb.cp/converts.cc (foo3_1): New function.
8252 (foo3_2): New functions.
8253 * gdb.cp/converts.exp: Add tests for int to pointer conversion
8254 and null pointer conversions of integer constant zero.
8255 Add test to check if all arguments are checked for incompatible
8256 conversion BADNESS.
8257
55b1fd0c
TT
82582011-10-14 Tom Tromey <tromey@redhat.com>
8259
8260 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
8261 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
8262 linespec.
8263
22c05d8a
JK
82642011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8265
8266 Fix internal error regression.
8267 * gdb.dwarf2/implptr-optimized-out.S: New file.
8268 * gdb.dwarf2/implptr-optimized-out.exp: New file.
8269
1d6edc3c
JK
82702011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8271
8272 Fix empty DWARF expressions DATA vs. SIZE conditionals.
8273 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
8274 (loclist): New.
8275 (4): New abbrev.
8276 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
8277 Use prepare_for_testing, remove clean_restart.
8278 (p arraynoloc, p arraycallnoloc): New tests.
8279
9ec72168
JK
82802011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8281
8282 * gdb.cp/namespace-enum.exp (executable): New variable.
8283 (binfile): Use ${objdir}/${subdir}/ prefix.
8284 Use ${executable} for clean_restart.
8285
9c6c53f7
SA
82862011-10-11 Sterling Augustine <saugustine@google.com>
8287
8288 * gdb.cp/Makefile.in: Add namespace-enum test.
8289 * gdb.cp/namespace-enum.exp: New file.
8290 * gdb.cp/namespace-enum.c: New file.
8291 * gdb.cp/namespace-enum-main.c: New file.
8292
fac7ceb3
UW
82932011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
8294
8295 * gdb.python/py-shared.exp: Relax filename check to handle remote:
8296 sysroot.
8297
941b2081
JK
82982011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8299
8300 Reimplement @entry in input expressions.
8301 * gdb.base/exprs.c (v_int_array_init): New variable.
8302 * gdb.base/exprs.exp (print v_int_array_init)
8303 (print *v_int_array_init@1, print *v_int_array_init@2)
8304 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
8305 (print v_int_array_init[1]@1): New tests.
8306
0344e878
JM
83072011-10-10 Joseph Myers <joseph@codesourcery.com>
8308
8309 * gdb.cp/gdb2495.exp: Do not include directories in filename in
8310 expected message.
8311
5a56e9c5
DE
83122011-10-09 Doug Evans <dje@google.com>
8313
8314 * gdb.base/alias.exp: Add tests for alias command.
8315
2bda9cc5
JK
83162011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8317
8318 * gdb.arch/amd64-entry-value.s: New file.
8319 * gdb.mi/mi2-amd64-entry-value.s: New file.
8320
a471c594
JK
83212011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8322
8323 Display @entry parameter values even for references.
8324 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
8325 functions.
8326 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
8327 reference and datap_input.
8328 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
8329 breakpoints.
8330 (continue to breakpoint: entry_reference: reference)
8331 (entry_reference: bt at entry)
8332 (continue to breakpoint: entry_reference: breakhere_reference)
8333 (entry_reference: bt, entry_reference: ptype regparam)
8334 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
8335 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
8336 (entry_reference: p regcopy, entry_reference: p nodataparam)
8337 (entry_reference: p nodataparam@entry): New tests.
8338
36b11add
JK
83392011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8340
8341 Support @entry in input expressions.
8342 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
8343 (entry_stack: p s1@entry, entry_stack: p s2@entry)
8344 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
8345 (tailcall: p j@entry): New tests.
8346 * gdb.cp/koenig.cc (A::entry): New function.
8347 (main): Call it.
8348 * gdb.cp/koenig.exp (p entry (c)): New test.
8349
e18b2753
JK
83502011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8351
8352 Display @entry parameter values (without references).
8353 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
8354 (different, validity, invalid): New functions.
8355 (main): Call them.
8356 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
8357 stacktest, breakhere_stacktest, different, breakhere_different,
8358 breakhere_validity and breakhere_invalid.
8359 (entry: bt): Update for @entry.
8360 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
8361 (entry_validity: *, entry_invalid: *): Many new tests.
8362 * gdb.base/break.exp
8363 (run until breakpoint set at small function, optimized file): Accept
8364 also the @entry suffix.
8365 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
8366 * gdb.mi/mi2-amd64-entry-value.c: New files.
8367 * gdb.mi/mi2-amd64-entry-value.exp: New files.
8368
2d6c5dc2
JK
83692011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8370
8371 Protect entry values against self tail calls.
8372 * gdb.arch/amd64-entry-value.cc (self2, self): New.
8373 (main): Call self.
8374 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
8375 (set debug entry-values 1, self: bt debug entry-values): New tests.
8376
111c6489
JK
83772011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8378
8379 Recognize virtual tail call frames.
8380 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
8381 (amb_b, amb_a): New.
8382 (main): Call a and b.
8383 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
8384 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
8385 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
8386 New tests.
8387
8e3b41a9
JK
83882011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8389
8390 Implement basic support for DW_TAG_GNU_call_site.
8391 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
8392 * gdb.arch/amd64-entry-value.cc: New file.
8393 * gdb.arch/amd64-entry-value.exp: New file.
8394
181cebd4
JK
83952011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8396
8397 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
8398 * gdb.dwarf2/implptr-64bit.S: New file.
8399 * gdb.dwarf2/implptr-64bit.exp: New file.
8400
741f5e3c
JK
84012011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8402
8403 Fix initial language detection with -readnow.
8404 * gdb.cp/readnow-language.cc: New file.
8405 * gdb.cp/readnow-language.exp: New file.
8406
a73d2258
JK
84072011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8408
8409 Fix printed anonymous struct name.
8410 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
8411
af369495
JM
84122011-10-09 Joseph Myers <joseph@codesourcery.com>
8413
8414 * gdb.base/solib-symbol.exp: Do not include directories in
8415 filenames in expected messages.
8416
1fa57852
DE
84172011-10-07 Doug Evans <dje@google.com>
8418
8419 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
8420
bd054e06
KP
84212011-10-07 Kevin Pouget <kevin.pouget@st.com>
8422
8423 Allow Python notification of new object-file loadings.
8424 * gdb.python/py-events.exp: Test newobjfile event.
8425 * gdb.python/py-events.py: Register newobjfile callback.
8426 * gdb.python/py-events.c: Add call to shared library
8427 * gdb.python/py-events-shlib.c: New file.
8428
8031b6f8
JM
84292011-10-06 Joseph Myers <joseph@codesourcery.com>
8430
8431 * gdb.base/fixsection.exp: Do not include directories in filename
8432 in expected message.
8433
7fea6923
PM
84342011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
8435
8436 Add tests for passing of environment variables to inferior.
8437 * gdb.base/testenv.c: New test source.
8438 * gdb.base/testenv.exp: New expect test.
8439
687f2a88
PK
84402011-10-04 Paul Koning <paul_koning@dell.com>
8441
8442 * gdb.python/py-value.c (main): Break before return.
8443
cb6be26b
KP
84442011-10-04 Kevin Pouget <kevin.pouget@st.com>
8445
8446 PR python/12691: Add the inferior to Python exited event
8447 * gdb.python/py-events.exp: Test the inferior attribute of exited
8448 event with a fork.
8449 * gdb.python/py-events.py: Print inferior number on exit.
8450 * gdb.python/py-events.c: Fork the inferior.
8451
fb213700
EBM
84522011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
8453
8454 * gdb.base/jit.exp: Add testcase name to log message
8455
aa2071bd
PK
84562011-10-03 Paul Koning <paul_koning@dell.com>
8457 Jan Kratochvil <jan.kratochvil@redhat.com>
8458
8459 * gdb.python/py-value.exp
8460 (python inval = gdb.parse_and_eval('*(int*)0'))
8461 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
8462 (set argc=2, python print argc_lazy): New tests.
8463
dd11a36c
JB
84642011-10-02 Joel Brobecker <brobecker@adacore.com>
8465
8466 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
8467
46f886f1
JK
84682011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8469 Pedro Alves <pedro@codesourcery.com>
8470
8471 * gdb.python/py-value.exp (test_value_in_inferior): New variable
8472 can_read_0, test for it.
8473 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
8474 (parse_and_eval with memory error): ... here, make it untested if
8475 can_read_0.
8476
c5cb204f
MP
84772011-09-30 Marek Polacek <mpolacek@redhat.com>
8478
8479 * gdb.python/python.exp (verify pagination beforehand)
8480 (verify pagination afterwards): Fix race by splitting the line.
8481
68fb0ec0
JM
84822011-09-29 Joseph Myers <joseph@codesourcery.com>
8483
8484 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
8485 for 64-bit multilibs from i?86-* targets.
8486
6aee0d90
MP
84872011-09-29 Marek Polacek <mpolacek@redhat.com>
8488
8489 * lib/gdb.exp: Fix a typo in one of the comments.
8490
e9101ff5
MP
84912011-09-29 Marek Polacek <mpolacek@redhat.com>
8492
8493 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
8494 matching pattern.
8495
7a81bdbf
PK
84962011-09-28 Paul Koning <paul_koning@dell.com>
8497
8498 * gdb.python/py-type.c (enum E): New.
8499 * gdb.python/py-type.exp (test_fields): Add tests for Python
8500 mapping access to fields.
8501 (test_enums): New test for field access on enums.
8502
6710bf39
SS
85032011-09-27 Stan Shebs <stan@codesourcery.com>
8504
8505 * gdb.trace/collection.exp: Test collection of $_ret.
8506
b2a6bdeb
AT
85072011-09-22 Andreas Tobler <andreast@fgznet.ch>
8508
8509 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
8510 list of compilation switches for <*-*-freebsd*>.
8511
3c9057f3
SS
85122011-09-19 Stan Shebs <stan@codesourcery.com>
8513
8514 * gdb.trace/tspeed.exp: New file.
8515 * gdb.trace/tspeed.c: New file.
8516
34518530
YQ
85172011-09-18 Yao Qi <yao@codesourcery.com>
8518
8519 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
8520 instructions.
8521 (test_adr_32bit, test_pop_pc): Likewise.
8522 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
8523 Thumb instructions.
8524 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
8525 in gdb_test_multiple.
8526 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
8527
ab254057
YQ
85282011-09-17 Yao Qi <yao@codesourcery.com>
8529
8530 * lib/gdb.exp (can_single_step_to_signal_handler): New.
8531 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
8532 support single step to signal handler.
8533
9c317b71
YQ
85342011-09-17 Yao Qi <yao@codesourcery.com>
8535
8536 * gdb.base/disp-step-fork.c: New.
8537 * gdb.base/disp-step-syscall.exp: New.
8538 * gdb.base/disp-step-vfork.c: New.
8539
a8123151
JB
85402011-09-16 Joel Brobecker <brobecker@adacore.com>
8541
8542 * gdb.ada/tasks.exp: Make the expected output for
8543 the `info tasks' tests more resilient to spacing
8544 changes.
8545
63a9aad8
JK
85462011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8547
8548 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
8549 (reached breakpoint 2, reached breakpoint 3): Update expected output.
8550
2aa48337
KP
85512011-09-15 Kevin Pouget <kevin.pouget@st.com>
8552
8553 PR Python/12692 Add gdb.selected_inferior() to Python interface.
8554 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
8555
6839b47f
KP
85562011-04-30 Kevin Pouget <kevin.pouget@st.com>
8557
8558 Handle multiple breakpoint hits in Python interface:
8559 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
8560 presence.
8561 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
8562 breakpoint hits.
8563
0935723e
JK
85642011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
8565 Jan Kratochvil <jan.kratochvil@redhat.com>
8566
8567 * gdb.python/py-events.exp: Remove pretty printing comment.
8568 * gdb.python/py-evsignal.exp: New file.
8569 * gdb.python/py-evthreads.c: Include signal.h.
8570 (thread3): Remove variable count3. Remove variable bad and use raise
8571 instead.
8572 (thread2): Remove variable count2. Move thread3 pthread_create here,
8573 merge pthread_join to a single line.
8574 (main): Remove variable count1. Merge pthread_join with pthread_create
8575 to a single line.
8576 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
8577 KFAIL python/12966 for gdbserver. Test return value of
8578 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
8579 gdb_expect by gdb_test and gdb_test_multiple.
8580 (thread 2, thread 3): New tests.
8581
4801a9a3
PA
85822011-09-12 Matt Rice <ratmice@gmail.com>
8583 Pedro Alves <pedro@codesourcery.com>
8584
8585 PR gdb/13175
8586
8587 * gdb.base/interp.exp: New tests.
8588 * gdb.base/interp.c: New file.
8589
24ece742
DE
85902011-09-12 Doug Evans <dje@google.com>
8591
8592 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
8593 * gdb.dwarf2/typeddwarf.exp: Ditto.
8594
7f062217
JK
85952011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8596
8597 Fix compatibility with x32 arch.
8598 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
8599 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
8600 is_x86_like_target.
8601 * testsuite/gdb.trace/collection.exp: Likewise.
8602 * testsuite/gdb.trace/report.exp: Likewise.
8603 * testsuite/gdb.trace/unavailable.exp: Likewise.
8604 * testsuite/gdb.trace/while-dyn.exp: Likewise.
8605 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
8606 (is_x86_like_target): Check also is_amd64_regs_target.
8607
08711b9a
JK
86082011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8609
8610 PR breakpoints/12435
8611 * gdb.arch/amd64-prologue-xmm.c: New file.
8612 * gdb.arch/amd64-prologue-xmm.exp: New file.
8613 * gdb.arch/amd64-prologue-xmm.s: New file.
8614
b99b5f66
JK
86152011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8616
8617 * gdb.dwarf2/dw2-param-error-main.c: New file.
8618 * gdb.dwarf2/dw2-param-error.S: New file.
8619 * gdb.dwarf2/dw2-param-error.exp: New file.
8620
a391a2f6
PA
86212011-09-08 Pedro Alves <pedro@codesourcery.com>
8622
8623 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
8624 inferior's pid and look for a core dump named core.$pid. Use
8625 `remote_file' commands on the host instead of hand coding shell
8626 commands on the build.
8627 * gdb.base/valgrind-db-attach.exp: Kill the program before
8628 finishing the test.
8629
7d8e6458 86302011-09-02 Matt Rice <ratmice@gmail.com>
8631
8632 * lib/prompt.exp: New file for testing the first prompt.
8633 * gdb.python/py-prompt.exp: Ditto.
8634 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
8635
68e77c9e
PA
86362011-09-02 Pedro Alves <pedro@codesourcery.com>
8637
8638 * gdb.threads/gcore-thread.exp: Set the global core_supported to
8639 0, before testing gcore.
8640
9655e943
JK
86412011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8642
df6dc84d
JK
8643 * dw2-ifort-parameter-debug.S: Update copyright year.
8644 * dw2-ifort-parameter.c: Update copyright year.
8645 * dw2-ifort-parameter.exp: Update copyright year.
8646
9655e943
JK
8647 * dw2-ifort-parameter-debug.S: New file.
8648 * dw2-ifort-parameter.c: New file.
8649 * dw2-ifort-parameter.exp: New file.
8650
353d1d73
JK
86512011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8652
8653 * gdb.base/commands.exp (error_clears_commands_left): New function.
8654 (): Call it.
8655
5c07461a
JK
86562011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8657
8658 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
8659 (C): Initialize `a'.
8660 * gdb.mi/mi-inheritance-syntax-error.exp
8661 (-data-evaluate-expression $path): Expect `a' as 5.
8662
0d932b2f
MK
86632011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
8664
8665 PR mi/11912
8666 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
8667 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
8668 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
8669 keyword in output of -var-info-path-expression.
8670
bdb54049
JK
86712011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8672
8673 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
8674 * gdb.trace/collection.exp: Likewise.
8675 * gdb.trace/report.exp: Likewise.
8676 * gdb.trace/unavailable.exp: Likewise.
8677 * gdb.trace/while-dyn.exp: Likewise.
8678
59cde39c
KS
86792011-08-18 Keith Seitz <keiths@redhat.com>
8680
8681 PR c++/12266
8682 * gdb.cp/meth-typedefs.cc: New file.
8683 * gdb.cp/meth-typedefs.exp: New file.
8684
fa3a4f15
PM
86852011-08-17 Phil Muldoon <pmuldoon@redhat.com>
8686
6fdff2c5 8687 * gdb.python/python.exp: Add extended-prompt tests.
fa3a4f15 8688
c1049fca
JK
86892011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8690
8691 * gdb.arch/i386-dr3-watch.exp
8692 (watchpoint on gap1 does not fit debug registers)
8693 (delete all watchpoints): Fix racy expect strings.
8694
d93f7b5c
YQ
86952011-08-14 Yao Qi <yao@codesourcery.com>
8696
8697 * gdb.base/maint.exp: set data_section to ".neardata".
8698 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
8699 * gdb.base/savedregs.exp: Handle SIGILL.
8700 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
8701 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
8702
457e09f0
DE
87032011-08-12 Doug Evans <dje@google.com>
8704
8705 * gdb.python/py-symbol.exp: Add test for symbol.type.
8706
5d0bb2fb
UW
87072011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
8708
8709 * gdb.threads/pthreads.exp: Enable on non-native configurations.
8710 * gdb.mi/mi-pthreads.exp: Likewise.
8711 * gdb.mi/mi2-pthreads.exp: Likewise.
8712 * gdb.mi/gdb669.exp.exp: Likewise.
8713
fcdfa280
PA
87142011-08-09 Pedro Alves <pedro@codesourcery.com>
8715
8716 * lib/mi-support.exp (detect_async): Rename to...
8717 (mi_detect_async): ... this.
8718 * gdb.mi/mi-nonstop-exit.exp: Adjust.
8719 * gdb.mi/mi-nonstop.exp: Adjust.
8720 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
8721 * gdb.mi/mi-nsintrall.exp: Adjust.
8722 * gdb.mi/mi-nsmoribund.exp: Adjust.
8723 * gdb.mi/mi-nsthrexec.exp: Adjust.
8724
9d8fa392
PA
87252011-08-09 Pedro Alves <pedro@codesourcery.com>
8726
8727 * gdb.base/display.c (do_loops): New `p_i' local.
8728 * gdb.base/display.exp: Test displaying a variable that is
8729 temporarily at a bad address.
8730
b6cede78
JK
87312011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8732
8733 * gdb.dwarf2/dw2-op-stack-value.S: New file.
8734 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
8735
67bedb8c
JK
87362011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8737
8738 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
8739 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
8740 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 8741
af6e93b2
PA
87422011-08-05 Pedro Alves <pedro@codesourcery.com>
8743
8744 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
8745 procedure.
8746 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
8747
1cf0e11f
YQ
87482011-08-05 Yao Qi <yao@codesourcery.com>
8749
8750 * gdb.base/callfuncs.exp: Set language after main.
8751 * gdb.cp/cplusfuncs.exp: Likewise.
8752 * gdb.cp/inherit.exp: Likewise.
8753
a1e28cb2
UW
87542011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
8755
8756 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
8757 * gdb.base/watch-vfork.exp: Skip on remote targets.
8758
d4f5bbb9
UW
87592011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
8760
8761 * gdb.threads/thread-find.exp: Support remote targets.
8762
724f4f80
UW
87632011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
8764
8765 * gdb.base/jit.exp: Download solib_binfile to target.
8766 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
8767 and call dlopen without full path name.
8768 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
8769 dlopen without full path name.
8770
934709f0
PW
87712011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8772
8773 * gdb.base/break-always.exp: Complete the test
8774 with duplicated breakpoints and enabling/disabling them.
8775
c26106c4
TT
87762011-08-02 Tom Tromey <tromey@redhat.com>
8777
8778 PR gdb/11289:
8779 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
8780
9300444e 87812011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
8782
8783 PR gdb/13045
8784 * gdb.base/float.exp: Add new test case for PR gdb/13045
8785 * gdb.base/float.c: New file.
8786
00bd41d6
PM
87872011-07-28 Phil Muldoon <pmuldoon@redhat.com>
8788
8789 * gdb.python/py-mi.exp: Test printers returning string hint, and
8790 also not returning a value.
8791 * gdb.python/py-prettyprint.c: Add testcase for above.
8792 * gdb.python/py-prettyprint.py: Add test printer for above.
8793
d24f74ce
JK
87942011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8795
8796 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
8797 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
8798 (.Ldie30) Add as field "data4".
8799 (.Ldie32) Rename field "b" to "shl".
8800 (abbrev4) Change for the "data4" field.
8801 (abbrev5, abbrev6) Remove.
8802 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
8803 (p &s.shl): ... here. Add comment.
8804 (p &s.data4): New.
8805
bb7da2bf
JK
88062011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8807
8808 Fix crash on lval_computed values.
8809 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
8810
11081198
JK
88112011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8812
8813 * gdb.base/help.exp (help whatis): Update the expected string.
8814
3c6e0cb3
JK
88152011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8816
8817 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
8818 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
8819 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
8820 Change the expected string.
8821
efa80663
PA
88222011-07-26 Pedro Alves <pedro@codesourcery.com>
8823
8824 * gdb.base/watchpoint.exp
8825 (test_disable_enable_software_watchpoint): New procedure.
8826 (top level): Run it.
8827
db8e4570
UW
88282011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
8829
8830 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
8831 executable file "${binfile}", C++ version "${binfile}-cxx".
8832 * gdb.python/py-prettyprint.exp: Likewise.
8833 * gdb.python/py-symbol.exp: Likewise.
8834 * gdb.python/py-type.exp: Likewise.
8835 * gdb.python/py-value.exp: Likewise.
8836 * gdb.python/py-template.exp (test_template_arg): Pass full executable
8837 file name instead of just suffix.
8838
543305c9
JK
88392011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8840
8841 Fix implicit pointer offsets.
8842 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
8843 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
8844 (continue to breakpoint: continue to baz breakpoint for implptr)
8845 (sanity check element 0, sanity check element 1)
8846 (enter the inlined function, check element 0 for the offset)
8847 (check element 1 for the offset)
8848 (continue to breakpoint: ignore the second baz breakpoint): New tests.
8849 (set foo breakpoint for implptr): Update the breakpoint number.
8850
b3215adc
UW
88512011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8852
8853 * gdb.python/py-mi.exp: Use different file names for different
8854 versions of the executable under test.
8855 * gdb.python/py-prettyprint.exp: Likewise.
8856 * gdb.python/py-symbol.exp: Likewise.
8857 * gdb.python/py-template.exp: Likewise.
8858 * gdb.python/py-type.exp: Likewise.
8859 * gdb.python/py-value.exp: Likewise.
8860
182b9acc
UW
88612011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8862
8863 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
8864 flag after restarting GDB if necessary.
8865
e6052b5d
UW
88662011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
8867
8868 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
8869
1ced966e
PA
88702011-07-22 Pedro Alves <pedro@codesourcery.com>
8871
8872 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
8873 backend doesn't leave used debug registers behind.
8874
3543a589
TT
88752011-07-22 Tom Tromey <tromey@redhat.com>
8876
8877 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
8878 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
8879 argument.
8880 * gdb.dwarf2/typeddwarf-amd64.S: New file.
8881
14d15303 88822011-07-21 Matt Rice <ratmice@gmail.com>
8883
8884 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
8885 in mostlyclean rule. Add files ending in .core.
8886
9b158ba0 88872011-07-21 Matt Rice <ratmice@gmail.com>
8888
8889 PR macros/12999
8890 * gdb.base/info-macros.c: New test sources.
8891 * gdb.base/info-macros.exp: New tests.
8892
d17b6f81
PM
88932011-07-21 Phil Muldoon <pmuldoon@redhat.com>
8894
8895 * gdb.python/python.exp: Add prompt substitution tests.
8896
918dd910
JK
88972011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8898
8899 Fix crash if referenced CU is aged out.
8900 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
8901 New.
8902 * gdb.dwarf2/implptr.exp: Likewise.
8903
0e37a63c
JK
89042011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8905
8906 * gdb.dwarf2/implptr.S: Rebuilt.
8907 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
8908 (bar): Use them for j, k, l.
8909 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
8910 COMPILE.
8911 (print j in implptr:bar): Update for the intp typedef.
8912 (print p[0].x in implptr:foo): Use more exact regex.
8913
f65cf84c
TT
89142011-07-18 Tom Tromey <tromey@redhat.com>
8915
8916 * gdb.cp/static-method.exp: Add missing single quote.
8917
d5b4a7be
YQ
89182011-07-18 Yao Qi <yao@codesourcery.com>
8919
8920 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
8921 supported.
8922 * gdb.mi/mi-nonstop-exit.exp: Likewise.
8923 * gdb.mi/mi-nonstop.exp: Likewise.
8924 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8925 * gdb.mi/mi-nsintrall.exp: Likewise.
8926 * gdb.mi/mi-nsmoribund.exp: Likewise.
8927 * gdb.mi/mi-nsthrexec.exp: Likewise.
8928 * gdb.python/py-evthreads.exp: Likewise.
8929
e9ea2662
JK
89302011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8931
8932 Code cleanup.
8933 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
8934 it. Substitute it instead of test_compiler_info everywhere.
8935
ce451573
UW
89362011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8937
8938 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
8939 remote targets as well.
8940
756d88a7
UW
89412011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8942
8943 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
8944 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
8945
31f83dc5
UW
89462011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
8947
8948 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
8949 a remote machine, not the host.
8950 (gdb_compile_shlib): Set soname if target is remote.
8951
059241a0
PP
89522011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
8953
8954 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
8955
28a0b48c 89562011-07-13 Matt Rice <ratmice@gmail.com>
8957
8958 * gdb.python/py-objfile-script-gdb.py: Renamed to
8959 py-objfile-script-gdb.py.in.
8960 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
8961 py-objfile-script-gdb.py.
8962 * gdb.python/py-objfile-script.exp: Update reference to
8963 py-objfile-script-gdb.py.
8964
9a771b67
JK
89652011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8966
8967 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
8968 reference undefined label.
8969
04ad99e6
JK
89702011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8971
8972 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
8973 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
8974 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
8975 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
8976
713389e0
PM
89772011-07-11 Phil Muldoon <pmuldoon@redhat.com>
8978
6fdff2c5 8979 PR python/12438
713389e0 8980 * gdb.python/python.exp: Add maint set/show python print-stack
6fdff2c5 8981 deprecated tests. Add set/show python print-backtrace tests.
713389e0 8982
97d146f8
JK
89832011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8984
8985 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
8986 debug info.
8987
facde0e5 89882011-07-06 Matt Rice <ratmice@gmail.com>
8989
8990 * gdb.python/python.exp: Update filename paths.
8991 * gdb.python/py-symtab.exp: Ditto.
8992
438640d1
MP
89932011-07-06 Marek Polacek <mpolacek@redhat.com>
8994
8995 * gdb.python/py-evthreads.exp: Add missing `$'.
8996
33a365df
MF
89972011-07-06 Jie Zhang <jie.zhang@analog.com>
8998
8999 * config/bfin.exp: New file.
9000 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
9001 * gdb.asm/bfin.inc: New file.
9002
8f7ae686
MP
90032011-07-06 Marek Polacek <mpolacek@redhat.com>
9004
df46027d 9005 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
9006 the whole output.
9007
eb2a6f42
TT
90082011-07-05 Tom Tromey <tromey@redhat.com>
9009
9010 * gdb.java/jprint.java (jprint.hi): New field.
9011 * gdb.java/jprint.exp: Print string.
9012
177b42fe
TJB
90132011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
9014
9015 * gdb.base/call-sc.c: Fix typos.
9016 * gdb.base/ifelse.exp: Likewise.
9017 * gdb.base/structs.c: Likewise.
9018
3b2a0cf2
JB
90192011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9020
9021 * gdb.base/jit-so.exp: New test.
9022 * gdb.base/jit-dlmain.c: New file.
9023 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
9024
46fc714c
JK
90252011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9026
9027 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
9028 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
9029 * gdb.cp/pr9167.exp (p b): Likewise.
9030 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
9031 (test value of P in inner_m, test type of Z in inner_m): Call
9032 setup_xfail for gcc <= 4.5.
46fc714c 9033
418c7cf7
JK
90342011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9035
9036 * gdb.cp/paren-type.cc: New files.
9037 * gdb.cp/paren-type.exp: New files.
9038
3d50dd94
JK
90392011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9040
9041 Stop on first linespec terminator instead of eating what we can.
9042 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
9043 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
9044 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
9045 (break C::f()): ... this one.
9046 (break C::operator()()): New test.
9047 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
9048 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
9049 test.
9050
dcf9f4ab
JK
90512011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9052
9053 Fall back linespec to minimal symbols.
9054 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
9055 error message.
9056 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
9057 * gdb.cp/minsym-fallback-main.cc: New file.
9058 * gdb.cp/minsym-fallback.cc: New file.
9059 * gdb.cp/minsym-fallback.exp: New file.
9060 * gdb.cp/minsym-fallback.h: New file.
9061
3f542ed1
JK
90622011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9063
9064 * gdb.cp/no-dmgl-verbose.cc: New file.
9065 * gdb.cp/no-dmgl-verbose.exp: New file.
9066
90672011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
9068
9069 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
9070 __GI_.
9071 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
9072 (f): New function.
9073 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
9074 (complete p 'func<short>(): ... here.
9075 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
9076 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
9077 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
9078 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
9079 Make them KFAIL gcc/49546.
9080
00eb2c4a
JB
90812011-07-01 Joel Brobecker <brobecker@adacore.com>
9082
9083 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
9084
85a20c42
JK
90852011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9086
9087 Test GCC PR debug/49546.
9088 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
9089 (test type of F in k3_m, test value of F in k3_m): New.
9090 * gdb.cp/temargs.cc (struct S3, struct K3): New.
9091 (main): New variable k3. Call k3.k3_m.
9092
d2d43431
JB
90932011-07-01 Jean-Charles Delay <delay@adacore.com>
9094
9095 * gdb.ada/packed_array.exp: Fix expected outout.
9096
54ae186f
JB
90972011-07-01 Jean-Charles Delay <delay@adacore.com>
9098
9099 * gdb.ada/packed_array.exp: fixed expected output.
9100
8f17729f
JB
91012011-07-01 Joel Brobecker <brobecker@adacore.com>
9102
9103 * gdb.ada/same_enum: New testcase.
9104
f5aa6869
JB
91052011-07-01 Joel Brobecker <brobecker@adacore.com>
9106
9107 * gdb.ada/ptr_typedef: New testcase.
9108
828292f2
JB
91092011-07-01 Joel Brobecker <brobecker@adacore.com>
9110
9111 * gdb.ada/arrayptr.exp: Add ptype test.
9112
18920c42
JB
91132011-07-01 Joel Brobecker <brobecker@adacore.com>
9114
9115 * gdb.ada/char_enum: New testcase.
9116
3536d9e3 91172011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
9118
9119 * gdb.base/dump.exp (capture_pointer_with_type): New.
9120 Get value from address instead of name.
9121 Start GDB once, and do `dump' and `restore'
9122 tests together.
9123
db863c42
MF
91242011-06-30 Jie Zhang <jie.zhang@analog.com>
9125 Mike Frysinger <vapier@gentoo.org>
9126
9127 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
9128 helper functions for getting/setting remotetimeout variable.
9129 * lib/gdb.exp (gdb_load): If the target is remote, set
9130 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
9131 with $loadtimeout. Set $load_ok to 0 before doing the load.
9132 Instead of returning, immediately, set $load_ok to 0. Call
9133 set_remotetimeout with $oldremotetimeout, and then return if
9134 $load_ok is 1.
9135
e9e642a8
AB
91362011-06-30 Andrew Burgess <aburgess@broadcom.com>
9137
9138 * gdb.python/py-template.exp: Don't run this test if the target
9139 does not support c++ tests.
9140
32019081
JK
91412011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9142
9143 Fix non-only rename list for Fortran modules import.
9144 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
9145 tests.
9146 * gdb.fortran/module.f90 (module moduse): New.
9147 (program module): use moduse, test var_x, var_y and var_z.
9148
0ecee54c
TT
91492011-06-29 Tom Tromey <tromey@redhat.com>
9150
9151 PR testsuite/12040:
9152 * gdb.fortran/array-element.exp: Use f90, not f77.
9153 * gdb.fortran/complex.exp: Use f90, not f77.
9154 * gdb.fortran/derived-type.exp: Use f90, not f77.
9155 * gdb.fortran/library-module.exp: Use f90, not f77.
9156 * gdb.fortran/logical.exp: Use f90, not f77.
9157 * gdb.fortran/module.exp: Use f90, not f77.
9158 * gdb.fortran/multi-dim.exp: Use f90, not f77.
9159 * gdb.fortran/subarray.exp: Use f90, not f77.
9160
3b2b8fea
TT
91612011-06-29 Tom Tromey <tromey@redhat.com>
9162
9163 * gdb.fortran/charset.exp: New file.
9164 * gdb.fortran/charset.f90: New file.
9165
42159ca5
TT
91662011-06-29 Tom Tromey <tromey@redhat.com>
9167
9168 PR testsuite/12040:
9169 * lib/future.exp: New file, mostly extracted from ada.exp.
9170 Rewrote compatibility code to use rename.
9171 (gdb_find_gfortran): New proc.
9172 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
9173 gfortran patch.
9174 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
9175 Move to future.exp.
9176 * lib/gdb.exp: Always load future.exp.
9177
af69a5ce
YQ
91782011-06-28 Yao Qi <yao@codesourcery.com>
9179
9180 * gdb.cp/exception.cc: Don't include iostream.
9181 (bar): Remove print statement.
9182 (catcher): New.
9183 (main): Remove print statements. Call function catcher.
9184 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
9185 Set breakpoint on catcher, and check the value of parameter.
9186
ab5c6a72
YQ
91872011-06-23 Yao Qi <yao@codesourcery.com>
9188
6fdff2c5
PA
9189 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
9190 breakpoint 1.2 is disabled. KFAIL for uclinux.
ab5c6a72 9191
9497469f
MP
91922011-06-23 Marek Polacek <mpolacek@redhat.com>
9193
9194 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
9195 mi_gdb_test.
9196
b9132588
MP
91972011-06-23 Marek Polacek <mpolacek@redhat.com>
9198
5d197ed0 9199 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 9200
e55595ca
MP
92012011-06-23 Marek Polacek <mpolacek@redhat.com>
9202
5d197ed0
MP
9203 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
9204
92052011-06-23 Marek Polacek <mpolacek@redhat.com>
9206
9207 * gdb.mi/mi2-basics.exp: Fix races. Honour the
9208 `test_exec_and_symbol_mi_operatons' return value.
9209 (test_mi_interpreter_selection): Use mi_gdb_test instead of
9210 gdb_test_multiple.
9211 (test_exec_and_symbol_mi_operatons): Likewise.
9212 (test_path_specification): Likewise.
e55595ca 9213
be777e08
YQ
92142011-06-23 Yao Qi <yao@codesourcery.com>
9215
9216 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
9217 supported.
9218 * lib/gdb.exp (support_displaced_stepping): New.
9219
615556d6
YQ
92202011-06-23 Yao Qi <yao@codesourcery.com>
9221
9222 * gdb.threads/execl.exp: Skip on remote target.
9223
833b0ca7
MP
92242011-06-21 Marek Polacek <mpolacek@redhat.com>
9225
5d197ed0 9226 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
9227 mi_gdb_test.
9228
1ee4023a
MP
92292011-06-20 Marek Polacek <mpolacek@redhat.com>
9230
5d197ed0 9231 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 9232
d0b1d624
MP
92332011-06-20 Marek Polacek <mpolacek@redhat.com>
9234
5d197ed0 9235 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
9236 mi_gdb_test.
9237
79aa92c1
MP
92382011-06-20 Marek Polacek <mpolacek@redhat.com>
9239
5d197ed0 9240 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 9241
5ce5db06
YQ
92422011-06-14 Yao Qi <yao@codesourcery.com>
9243
9244 gdb/testsuite/
9245 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
9246
533a737e
JK
92472011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9248
9249 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
9250
d0e53741
TT
92512011-06-10 Tom Tromey <tromey@redhat.com>
9252
9253 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
9254 Add tests for pointer-to-member-function.
9255 * gdb.cp/temargs.cc (S::somefunc): New function.
9256 (K2): New class.
9257 (main): Instantiate K2; call method.
9258
b5916bbd
JB
92592011-06-08 Joel Brobecker <brobecker@adacore.com>
9260
9261 * gdb.python/py-inferior.c (f2): Make str an array rather
9262 than a pointer.
9263 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
9264
5be4dfca
JK
92652011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9266
9267 * gdb.base/async-shell.c: New file.
9268 * gdb.base/async-shell.exp: New file.
9269
9f47e254
PA
92702011-06-06 Pedro Alves <pedro@codesourcery.com>
9271
9272 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
9273
64b9b334
JB
92742011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
9275
9276 From Stephen Kitt <steve@sk2.org>
9277 * gdb.base/help.exp: Adjust following some spelling corrections
9278 in GDB.
9279
dbc0f131
YQ
92802011-06-01 Yao Qi <yao@codesourcery.com>
9281
9282 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
9283
fd336a18
KS
92842010-05-31 Keith Seitz <keiths@redhat.com>
9285
9286 PR c++/12750
9287 * gdb.cp/static-method.cc: New file.
9288 * gdb.cp/static-method.exp: New file.
9289
fa8b9902
KS
92902010-05-31 Keith Seitz <keiths@redhat.com>
9291
9292 PR symtab/12704
9293 * gdb.cp/anon-ns.cc: New file.
9294 * gdb.cp/anon-ns.exp: New file.
9295
0a5b1e09
PA
92962011-05-31 Pedro Alves <pedro@codesourcery.com>
9297
9298 * gdb.arch/i386-dr3-watch.c: New file.
9299 * gdb.arch/i386-dr3-watch.exp: New file.
9300
0578b8d1
YQ
93012011-05-30 Yao Qi <yao@codesourcery.com>
9302
9303 * gdb.base/callfuncs.c (t_structs_fc): New.
9304 (t_structs_dc, t_structs_ldc): New.
9305 (t_double_many_args):
9306 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
9307 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
9308 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
9309 * gdb.base/callfuncs.exp: Call new functions.
9310
6680506e
YQ
93112011-05-30 Yao Qi <yao@codesourcery.com>
9312
ff4d2c60
YQ
9313 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
9314 Call rerun_and_prepare for each test to isolate effects.
9315
93162011-05-30 Yao Qi <yao@codesourcery.com>
9317
9318 * gdb.base/varargs.c (find_max_float_real): New.
9319 (find_max_double_real, find_max_long_double_real): New.
9320 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
9321 * lib/gdb.exp (setup_kfail_for_target): New.
9322
e43ec454
YQ
93232011-05-30 Yao Qi <yao@codesourcery.com>
9324
9325 * gdb.base/funcargs.c (callca, callcb, callcc): New.
9326 (callcd, callce, callcf, callc1a, callc1b): New.
9327 (callc2a, callc2b): New.
9328 * gdb.base/funcargs.exp (complex_args): New.
9329 (complex_integral_args, complex_float_integral_args): New.
9330 * lib/gdb.exp (support_complex_tests): New. Determine
9331 whether to run test cases on _Complex types.
9332
432b4d03
JK
93332011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9334
9335 * gdb.threads/leader-exit.c: New file.
9336 * gdb.threads/leader-exit.exp: New file.
9337
6caf069d
MP
93382011-05-27 Marek Polacek <mpolacek@redhat.com>
9339
9497469f 9340 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 9341
97fce28b
MP
93422011-05-27 Marek Polacek <mpolacek@redhat.com>
9343
9344 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
9345 remove the `supported' variable.
9346 * gdb.mi/mi-nonstop.exp: Likewise.
9347 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9348 * gdb.mi/mi-nsintrall.exp: Likewise.
9349 * gdb.mi/mi-nsmoribund.exp: Likewise.
9350 * gdb.mi/mi-nsthrexec.exp: Likewise.
9351
9da8c2a0
PA
93522011-05-26 Pedro Alves <pedro@codesourcery.com>
9353
9354 * gdb.reverse/finish-reverse-bkpt.exp: New test.
9355
2c03e5be
PA
93562011-05-26 Pedro Alves <pedro@codesourcery.com>
9357
9358 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
9359
2e21250d
KS
93602011-05-24 Keith Seitz <keiths@redhat.com>
9361
9362 PR breakpoint/12803
9363 * gdb.cp/cmpd-minsyms.cc (a): New method.
9364 (b): New method.
9365 (c): New method.
9366 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
9367
cdac0397
PA
93682011-05-24 Pedro Alves <pedro@codesourcery.com>
9369
9370 * gdb.base/commands.exp (watchpoint_command_test): Check that the
9371 watchpoint's command list didn't execute when the watchpoint went
9372 out of scope.
9373
ee5683ab
PM
93742011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
9375
9376 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
9377 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
9378 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
9379 * gdb.arch/i386-gnu-cfi.exp: Likewise.
9380 * gdb.arch/i386-permbkpt.exp: Likewise.
9381 * gdb.arch/i386-prologue.exp: Likewise.
9382 * gdb.arch/i386-size-overlap.exp: Likewise.
9383 * gdb.arch/i386-size.exp: Likewise.
9384 * gdb.arch/i386-unwind.exp: Likewise.
9385 * gdb.reverse/i386-precsave.exp: Likewise.
9386 * gdb.reverse/i386-reverse.exp: Likewise.
9387 * gdb.reverse/i386-sse-reverse.exp: Likewise.
9388 * gdb.reverse/i387-env-reverse.exp: Likewise.
9389 * gdb.reverse/i387-stack-reverse.exp: Likewise.
9390
c91c8c16
PA
93912011-05-24 Pedro Alves <pedro@codesourcery.com>
9392
9393 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
9394 file doesn't error, using MI.
9395
c50491a7
TT
93962011-05-23 Tom Tromey <tromey@redhat.com>
9397
9398 * gdb.base/charset.exp (string_display): Add tests to assign to
9399 arrays.
9400 * gdb.base/charset.c (short_array, int_array, long_array): New.
9401
4a07b7da
PA
94022011-05-20 Pedro Alves <pedro@codesourcery.com>
9403
9404 Cope with async mode.
9405
4a07b7da
PA
9406 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
9407 into gdb_test + mi_expect_stop.
9408
b275f2d2
PA
94092011-05-20 Pedro Alves <pedro@codesourcery.com>
9410
9411 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
9412 (callme): Remove printf call.
9413
eec52c44
PM
94142011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
9415
9416 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
9417 quote pattern to avoid problems with Cygwin/mingw expect versions.
9418 * gdb.base/default.exp (show convenience): Use double
9419 quote pattern for regular expressions.
9420
b3c8eb43
JK
94212011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9422
9423 Fix -readnow for -gdwarf-4 unused type units.
9424 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
9425 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
9426
ed731959
JK
94272011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9428
9429 * gdb.base/kill-after-signal.c: New file.
9430 * gdb.base/kill-after-signal.exp: New file.
9431
3b48433d
PA
94322011-05-16 Pedro Alves <pedro@codesourcery.com>
9433
9434 * gdb.ada/start.exp: Call untested with the correct test filename.
9435 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
9436 test filename. Make the test's binary unique.
9437 * gdb.arch/i386-signal.exp: Call untested with the correct test
9438 filename.
9439 * gdb.arch/i386-size-overlap.exp: Ditto.
9440 * gdb.arch/Makefile.in (EXECUTABLES): Update.
9441 * gdb.base/gcore-buffer-overflow.exp: Ditto.
9442 * gdb.cp/call-c.exp: Ditto.
9443 * gdb.mi/mi-reverse.exp: Call untested with the correct test
9444 filename. Make the test's binary unique.
9445 * gdb.mi/Makefile.in (EXECUTABLES): Update.
9446 * gdb.python/py-mi.exp: Ditto.
9447 * gdb.python/Makefile.in (EXECUTABLES): Update.
9448 * gdb.reverse/i386-precsave.exp: Ditto.
9449 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
9450 test filename.
9451 * gdb.reverse/i387-stack-reverse.exp: Ditto.
9452 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
9453 unique.
9454 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
9455 test filename.
9456 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
9457 * gdb.trace/tfile.exp: Ditto.
9458
ba4a8bdd
YQ
94592011-05-14 Yao Qi <yao@codesourcery.com>
9460
9461 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
9462 type.
9463
dbaefcf7
DE
94642011-05-13 Doug Evans <dje@google.com>
9465
9466 * gdb.python/py-objfile-script.exp: New file.
9467 * gdb.python/py-objfile-script.c: New file.
9468 * gdb.python/py-objfile-script-gdb.py: New file.
9469 * testsuite/gdb.python/py-section-script.exp: Test
9470 "info auto-load-scripts".
9471
9930639c
TT
94722011-05-13 Tom Tromey <tromey@redhat.com>
9473
9474 * gdb.dwarf2/clztest.exp: New file.
9475 * gdb.dwarf2/clztest.c: New file.
9476 * gdb.dwarf2/clztest.S: New file.
9477
05272e11
DE
94782011-05-13 Doug Evans <dje@google.com>
9479
cc63ef9b
DE
9480 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
9481 String16 tests.
05272e11 9482
6edba76f
TT
94832011-05-13 Tom Tromey <tromey@redhat.com>
9484
9485 * lib/gdb.exp (is_x86_like_target): New proc.
9486 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
9487 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
9488 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
9489 -nostdlib to compiler.
9490 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
9491 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
9492 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
9493 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
9494 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
9495
028d0ed5
TJB
94962011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
9497
9498 * gdb.python/py-function.exp: Test setting a value from a function
9499 which executes a command.
9500
8a9b8146
TT
95012011-05-12 Tom Tromey <tromey@redhat.com>
9502
9503 * gdb.dwarf2/typeddwarf.S: New file.
9504 * gdb.dwarf2/typeddwarf.c: New file.
9505 * gdb.dwarf2/typeddwarf.exp: New file.
9506
10483e8e
MP
95072011-05-12 Marek Polacek <mpolacek@redhat.com>
9508
9509 * gdb.mi/mi-basics.exp: Fix races. Honour the
9510 `test_exec_and_symbol_mi_operatons' return value.
9511 (test_mi_interpreter_selection): Use mi_gdb_test instead of
9512 gdb_test_multiple.
9513 (test_exec_and_symbol_mi_operatons): Likewise.
9514 (test_path_specification): Likewise.
9515
faf067f1
JK
95162011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9517
9518 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
9519 (gdb_touch_execfile): Remove catch wrappers. New variable time.
9520 Replace `file copy' and `file rename' by `file mtime'. Twice.
9521
7ff911a3
JK
95222011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9523
9524 * gdb.base/readline-ask.c: New file.
9525 * gdb.base/readline-ask.exp: New file.
9526 * gdb.base/readline-ask.inputrc: New file.
9527
a536c6d7
UW
95282011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
9529
9530 * gdb.cell/bt.exp: Delete breakpoints before running to signal
9531 to avoid race condition.
9532 * gdb.cell/coremaker.c: Use small stack size.
9533 * gdb.cell/ea-standalone.exp: Use file name without path as
9534 argument to c_to.
9535 * gdb.cell/fork.exp: Allow other output when continuing to end.
9536
d472a426
JK
95372011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9538
9539 * gdb.threads/corethreads.c: New file.
9540 * gdb.threads/corethreads.exp: New file.
9541
95422011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
9543
9544 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
9545 Try to compile the test using -Wl,-z,norelro first.
9546 (load_core): New variable libthread_db_seen, initialize it.
9547 (zeroed-threads cannot be listed): Protect it by XFAIL on
9548 !$libthread_db_seen.
9549
8be455d7
JK
95502011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9551
9552 PR 12573
9553 * gdb.dwarf2/dw2-skip-prologue.S: New file.
9554 * gdb.dwarf2/dw2-skip-prologue.c: New file.
9555 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
9556
1976171a
JK
95572011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9558
9559 * gdb.cp/psymtab-parameter.cc: New file.
9560 * gdb.cp/psymtab-parameter.exp: New file.
9561
7db6f30f
JK
95622011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9563
9564 Fix a race.
9565 * gdb.cp/static-print-quit.exp (print c): Split to ...
9566 (print c - <return>, print c - q <return>, print c - to quit):
9567 ... these. Make the testfile untested on gdb-7.1.
9568
85161e9e 95692011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
9570
9571 * lib/gdb.exp (exec_target_file, exec_symbol_file,
9572 gdb_rename_execfile, gdb_touch_execfile): New.
9573 * gdb.base/reread.exp: Use new procs to handle multiple
9574 exec files.
9575
0c51be18
YQ
95762011-05-05 Yao Qi <yao@codesourcery.com>
9577
9578 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
9579 (test_adr_32bit, test_pop_pc): New.
9580 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
9581 (test_adr_32bit, test_pop_pc): New.
9582
4d393d60
JM
95832011-05-04 Joseph Myers <joseph@codesourcery.com>
9584
9585 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
9586 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
9587 targets.
9588 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
9589 handle targets.
9590
8ffd0459
JK
95912011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9592
9593 * gdb.base/completion.exp (complete help info wat): Rename to ...
9594 (complete 'help info wat'): ... here.
9595 Remove all `-re ".*' and `-re "^.*' redundant regexes.
9596 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
9597
8e28d804
PA
95982011-05-04 Pedro Alves <pedro@codesourcery.com>
9599
9600 * gdb.base/completion.exp: Use gdb_test_multiple instead of
9601 gdb_test and explicit $gdb_prompt/timeout matches.
9602
3eb2ef34
YQ
96032011-05-04 Yao Qi <yao@codesourcery.com>
9604
9605 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
9606 and __thumb2__.
9607
aaaf81a3
MP
96082011-05-03 Marek Polacek <mpolacek@redhat.com>
9609
9610 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
9611 in place of `gdb_test "delete breakpoints"'. This eliminates two
9612 testcases.
9613
c4cbc0df
PA
96142011-05-02 Pedro Alves <pedro@codesourcery.com>
9615
9616 PR testsuite/12649
9617 Fix races.
9618
9619 * gdb.base/completion.exp: Remove all sleep calls. Remove
9620 unnecessary regexs. Don't explicitly expect anything after the
9621 prompt. Eat the prompt if necessary.
9622
b4cbb4a3
EBM
96232011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
9624
9625 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
9626 accept to show the caller line again as well as the line after.
9627
d65aec65
PM
96282011-04-29 Phil Muldoon <pmuldoon@redhat.com>
9629
9630 PR mi/12531
9631
9632 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
9633 compile target.
9634 * gdb.python/py-prettyprint.exp: Add C++ object for
9635 CPLUS_FAKE_CHILD test.
9636
30852783
UW
96372011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
9638
9639 * gdb.base/signest.exp: New file.
9640 * gdb.base/signest.c: Likewise.
9641
c7b1f0d9
JK
96422011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9643
9644 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
9645 thread and breakpoint notifications.
9646
559a7a62
JK
96472011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9648
9649 * gdb.base/fortran-sym-case.c: New file.
9650 * gdb.base/fortran-sym-case.exp: New file.
9651 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
9652 * gdb.dwarf2/dw2-case-insensitive.c: New file.
9653 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
9654
8344e389
JK
96552011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9656
9657 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
9658 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
9659 false #1', `if true else false #2' and `if true else false #3'.
9660
2484c66b
UW
96612011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
9662
9663 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
9664 while delivering signal.
9665
8d3788bd
VP
96662011-04-27 Vladimir Prus <vladimir@codesourcery.com>
9667
9668 MI breakpoint notifications.
9669
9670 * testsuite/gdb.mi/mi-cli.exp: Adust.
6fdff2c5
PA
9671 * testsuite/gdb.mi/mi2-cli.exp: Adust.
9672 * testsuite/gdb.mi/mi-watch.exp: Adust.
9673 * testsuite/gdb.mi/mi2-watch.exp: Adust.
9674 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
9675 notifications.
8d3788bd 9676
3e03848b
JK
96772011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9678
9679 * gdb.base/gdbindex-stabs-dwarf.c: New file.
9680 * gdb.base/gdbindex-stabs.c: New file.
9681 * gdb.base/gdbindex-stabs.exp: New file.
9682
918c9108
YQ
96832011-04-25 Yao Qi <yao@codesourcery.com>
9684
9685 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
9686 with /*...*/.
9687 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
9688
90556b8c
JK
96892011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9690
9691 * gdb.python/py-value.exp (test_objfiles): Name the first test
9692 `py-value in file.filename'.
9693
03f2bd59
JK
96942011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9695
9696 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
9697 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
9698 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
9699 !gdbserver_reconnect_p..
9700 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
9701
7b08b9eb
JK
97022011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9703
9704 * gdb.cp/cpcompletion.exp (complete class methods)
9705 (complete class methods beginning with F): Move them above runto. New
9706 comment about the runto delimiter.
9707
b78974c3
PA
97082011-04-20 Pedro Alves <pedro@codesourcery.com>
9709
9710 * gdb.base/maint.exp: Test that "maint print registers" works
9711 without a running program.
9712
20429c40 97132011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 9714
20429c40
MP
9715 * gdb.base/setshow.exp: Fix racy tests.
9716 ($old_gdb_prompt): New variable.
9717
7a9dd1b2
TT
97182011-04-19 Tom Tromey <tromey@redhat.com>
9719
9720 * gdb.mi/mi-nsmoribund.exp:
9721 * gdb.hp/gdb.objdbg/objdbg01.exp:
9722 * gdb.base/structs.exp (test_struct_returns):
9723 * gdb.base/call-sc.exp (test_scalar_returns):
9724 * gdb.base/bigcore.exp: Remove duplicate words.
9725
02835898
JK
97262011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9727
9728 * gdb.base/break-interp-lib.c (v, vptr): New variables.
9729 * gdb.base/break-interp.exp (test_attach): New comment.
9730
254f582e
JK
97312011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9732
9733 * gdb.threads/gcore-thread.exp ($core0file): New variable.
9734 (clear __stack_user.next, clear stack_used.next)
9735 (save a zeroed-threads corefile): New test.
9736 Call core_load for $core0file.
9737 (zeroed-threads cannot be listed): New test.
9738
4fe85f5c
JK
97392011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9740
9741 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
9742 filename.
9743 ($srcfile): Preserve the original value.
9744 ($testfile): Match it the .exp filename.
9745 ($corefile): New variable. Substitute it around.
9746 Use clean_restart.
9747 ($prev_timeout): Remove.
9748 (load_core): Move core loading into this proc.
9749 Fix restore of $timeout if load_core fails.
9750
63524580
JK
97512011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9752
9753 * gdb.base/eu-strip-infcall.c: New file.
9754 * gdb.base/eu-strip-infcall.exp: New file.
9755
90359a16
JK
97562011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9757
9758 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
9759 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
9760
626e7282
JK
97612011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9762
9763 Fix Python access to inlined frames.
9764 * gdb.python/py-frame-inline.c: New file.
9765 * gdb.python/py-frame-inline.exp: New file.
9766
3363d018
EBM
97672011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
9768
9769 * gdb.base/gdb1090.exp: Change breakpoint location to read the
9770 content of 's24' correctly (avoiding "optimized out").
9771 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
9772
28781456
JK
97732011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9774
9775 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
9776
4a4106ca
TJB
97772011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
9778
9779 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
9780 expect a colon in watch -location output.
9781
d26ccb4f
JK
97822011-04-13 Marek Polacek <mpolacek@redhat.com>
9783
df46027d 9784 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
9785 New testcase `expect response to define backtrace'. Also remove
9786 redundant `default' block.
9787
e1ab1f9c
JK
97882011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9789
9790 * gdb.python/py-prettyprint.c (struct hint_error): New.
9791 (main): New variable hint_error.
9792 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
9793 "print hint_error".
9794 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
9795 (register_pretty_printers): Register it.
9796
0c2e6019
TT
97972011-04-04 Tom Tromey <tromey@redhat.com>
9798
9799 * gdb.cp/maint.exp (test_help): Update.
9800 (test_namespace): Likewise.
9801
af57139d
JB
98022011-04-01 Joel Brobecker <brobecker@adacore.com>
9803
9804 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
9805 * gdb.ada/arrayptr.exp: Add new tests.
9806
956a9fb9
JB
98072011-04-01 Joel Brobecker <brobecker@adacore.com>
9808
9809 * gdb.ada/mi_catch_ex: New testcase.
9810
d0c4d642
PA
98112011-04-01 Pedro Alves <pedro@codesourcery.com>
9812
9813 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
9814 base::overload(void) method without specifying "const".
9815
18819fa6
UW
98162011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
9817
9818 * gdb.arch/thumb-singlestep.S: New file.
9819 * gdb.arch/thumb-singlestep.exp: Likewise.
9820
a4c8e806
TT
98212011-03-31 Tom Tromey <tromey@redhat.com>
9822
9823 * gdb.python/py-prettyprint.py (exception_flag): New global.
9824 (NoStringContainerPrinter._iterator.next): Check it.
9825 * gdb.python/py-prettyprint.c (main): New variable nstype2.
9826 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
9827
53832f31
TT
98282011-03-29 Tom Tromey <tromey@redhat.com>
9829
9830 * gdb.cp/anon-struct.cc: New file.
9831 * gdb.cp/anon-struct.exp: New file.
9832
e4620230
JK
98332011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9834
9835 Test STT_GNU_IFUNC support.
9836 * gdb.base/gnu-ifunc-lib.c: New file.
9837 * gdb.base/gnu-ifunc.c: New file.
9838 * gdb.base/gnu-ifunc.exp: New file.
9839
d0fb5eae
JK
98402011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9841
9842 Support a ring of related breakpoints.
9843 * gdb.base/watchpoint-delete.c: New file.
9844 * gdb.base/watchpoint-delete.exp: New file.
9845
20106cfb
JK
98462011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9847
9848 * gdb.ada/arrayparam.exp (print first after function call): Use
9849 explicit package name. Add a comment
9850 (print lasta after function call): Rename ...
9851 (print last after function call): ... it and use explicit package
9852 name.
9853 (print length after function call): Use explicit package name.
9854 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
9855 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
9856 (multiple matches for symbol i): Rename ...
9857 (multiple matches for symbol integervar): ... it.
9858 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
9859 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
9860
e7ab5e63
AB
98612011-03-25 Andrew Burgess <aburgess@broadcom.com>
9862
9863 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
9864 environment variable to make grep output more predictable. Move
9865 all the environment setup into gdb_init so it's done once per test
9866 case rather than each time we start gdb.
9867
9ef07c8c
TT
98682011-03-24 Tom Tromey <tromey@redhat.com>
9869
9870 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
9871 test.
9872
dd90784c
JK
98732011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9874
9875 * gdb.dwarf2/dw2-entry-value-main.c: New file.
9876 * gdb.dwarf2/dw2-entry-value.S: New file.
9877 * gdb.dwarf2/dw2-entry-value.exp: New file.
9878
05775840
PM
98792011-03-22 Phil Muldoon <pmuldoon@redhat.com>
9880
6fdff2c5 9881 PR python/12183
05775840
PM
9882
9883 * gdb.python/py-function.exp: Add GdbError tests.
9884
8661b11b
PA
98852011-03-18 Pedro Alves <pedro@codesourcery.com>
9886
9887 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
9888 (reglocal_test_func, statlocal_test_func): New functions.
9889 (globals_test_func): Call new functions.
9890 * gdb.trace/unavailable.exp (gdb_collect_args_test)
9891 (gdb_collect_locals_test): New procedure.
9892 (gdb_trace_collection_test): Call new procedures.
9893
0fdb4f18
PA
98942011-03-18 Pedro Alves <pedro@codesourcery.com>
9895
9896 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
9897 (test_register, test_register_unavailable): New procedures.
9898 (gdb_unavailable_registers_test): New procedure.
9899 (gdb_trace_collection_test): Call it.
9900
99c3dc11
PM
99012011-03-18 Phil Muldoon <pmuldoon@redhat.com>
9902
6fdff2c5 9903 PR python/12149
99c3dc11
PM
9904
9905 * gdb.python/python.exp: Add gdb.write tests.
9906
29703da4
PM
99072010-03-17 Phil Muldoon <pmuldoon@redhat.com>
9908
9909 * gdb.python/Makefile.in: Add py-objfile.
9910 * gdb.python/py-objfile.exp: New file.
9911 * gdb.python/py-objfile.c: New file.
9912 * gdb.python/py-block.exp: Add is_valid tests.
9913 * gdb.python/py-inferior.exp: Ditto.
9914 * gdb.python/py-infthread.exp: Ditto.
9915 * gdb.python/py-symbol.exp: Ditto.
9916 * gdb.python/py-symtab.exp: Ditto.
9917
598997c8
KS
99182011-03-16 Keith Seitz <keiths@redhat.com>
9919
9920 PR c++/12273
9921 * gdb.cp/cmpd-minsyms.exp: New test.
9922 * gdb.cp/cmpd-minsyms.cc: New file.
9923
9924 PR c++/11734
9925 * gdb.cp/ovsrch.exp: New test.
9926 * gdb.cp/ovsrch.h: New file.
9927 * gdb.cp/ovsrch1.cc: New file.
9928 * gdb.cp/ovsrch2.cc: New file.
9929 * gdb.cp/ovsrch3.cc: New file.
9930 * gdb.cp/ovsrch4.cc: New file.
9931
c91513d8
PP
99322011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9933
9934 PR gdb/12528
9935 * gdb.base/Makefile.in: Adjust EXECUTABLES.
9936 * gdb.base/break-on-linker-gcd-function.exp: New test.
9937 * gdb.base/break-on-linker-gcd-function.cc: New file.
9938
7470fc63
AT
99392011-03-15 Andreas Tobler <andreast@fgznet.ch>
9940
9941 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
9942
959e7469
PM
99432011-03-15 Phil Muldoon <pmuldoon@redhat.com>
9944
9945 * lib/gdb.exp (gdb_unload): Add another termination case.
9946
9373cf26
JK
99472011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9948
9949 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
9950 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
9951 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
9952 Provide a stub byte there.
9953 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
9954 DW_AT_entry_pc.
9955 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
9956
24e9cda0
UW
99572011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
9958
9959 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
9960 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
9961 "generic ABI, auto".
9962 (altivec_abi_tests): Accept vectors returned by reference.
9963
7371cf6d
PM
99642010-03-14 Phil Muldoon <pmuldoon@redhat.com>
9965
9966 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
9967
ce77046a
UW
99682011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
9969
9970 * gdb.python/py-section-script.exp: Skip test if no Python support.
9971
176400c3
UW
99722011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
9973
9974 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
9975
ecec24e6
PM
99762011-03-10 Phil Muldoon <pmuldoon@redhat.com>
9977
9978 * gdb.python/py-parameter.exp: Update tests to the new Python
9979 parameter API. Add "no documentation" test. Add deprecated API
9980 backward compatibility test.
9981
5dbdd470
TT
99822011-03-09 Tom Tromey <tromey@redhat.com>
9983
9984 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
9985 gdb_continue_to_end.
9986
b66e66ee
MK
99872011-03-09 Mark Kettenis <kettenis@gnu.org>
9988
9989 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
9990 tabs.
9991
eceb0c5f
TT
99922011-03-09 Tom Tromey <tromey@redhat.com>
9993
9994 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
9995 parentheses.
9996 (gdb_continue_to_end): Add "allow_extra" parameter. Use
9997 $command.
9998 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
9999 argument to gdb_continue_to_end.
10000 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
10001 argument to gdb_continue_to_end.
10002 * gdb.cp/annota3.exp: Fix regex.
10003 * gdb.cp/annota2.exp: Fix regex.
10004 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
10005 gdb_continue_to_end.
10006 * gdb.base/call-signal-resume.exp: Revert earlier patch.
10007 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
10008 gdb_continue_to_end.
10009
63154eca
PA
100102011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10011
10012 * gdb.server/ext-run.exp
10013 (load new file without any gdbserver inferior): New test.
10014
967d1f9b
TT
100152011-03-07 Tom Tromey <tromey@redhat.com>
10016
10017 * Makefile.in (TAGS): Rewrite.
10018
d68dcbb9
JK
100192011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10020
10021 * gdb.trace/report.exp (12.1: trace report #1): New match for the
10022 initial commands echo. New match for `Found trace'. Anchor all the
10023 other matches. Anchor and match for `No trace frame found' the final
10024 match.
10025
6bf58e63
TT
100262011-03-07 Tom Tromey <tromey@redhat.com>
10027
10028 * Makefile.in (TAGS): New target.
10029
fda326dd
TT
100302011-03-07 Tom Tromey <tromey@redhat.com>
10031
10032 * lib/opencl.exp (skip_opencl_tests): Update for exit message
10033 change.
10034 * lib/mi-support.exp (mi_gdb_test): Update for exit message
10035 change.
10036 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
10037 exit message change.
10038 (skip_altivec_tests): Update for exit message change.
10039 (skip_vsx_tests): Likewise.
10040 (gdb_continue_to_end): Likewise. Add 'command' argument.
10041 * lib/cell.exp (skip_cell_tests): Update for exit message change.
10042 * gdb.threads/tls.exp: Update for exit message change.
10043 * gdb.threads/thread-unwindonsignal.exp: Use
10044 gdb_continue_to_end.
10045 * gdb.threads/step.exp (step_it): Update for exit message change.
10046 (continue_all): Likewise.
10047 * gdb.threads/print-threads.exp (test_all_threads): Update for
10048 exit message change.
10049 * gdb.threads/interrupted-hand-call.exp: Use
10050 gdb_continue_to_end.
10051 * gdb.threads/execl.exp: Use gdb_continue_to_end.
10052 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
10053 gdb_continue_to_end.
10054 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
10055 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
10056 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
10057 * gdb.cp/method.exp: Update for exit message change.
10058 * gdb.cp/mb-templates.exp: Update for exit message change.
10059 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
10060 * gdb.cp/annota3.exp: Update for exit message change.
10061 * gdb.cp/annota2.exp: Update for exit message change.
10062 * gdb.cell/fork.exp: Use gdb_continue_to_end.
10063 * gdb.base/term.exp: Update for exit message change.
10064 * gdb.base/step-test.exp (test_i): Update for exit message change.
10065 * gdb.base/sigstep.exp (advance): Update for exit message change.
10066 (advancei): Likewise.
10067 * gdb.base/siginfo.exp: Update for exit message change.
10068 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
10069 * gdb.base/reread.exp: Use gdb_continue_to_end.
10070 * gdb.base/langs.exp: Use gdb_continue_to_end.
10071 * gdb.base/interrupt.exp: Update for exit message change.
10072 * gdb.base/gdb1555.exp: Update for exit message change.
10073 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
10074 * gdb.base/ending-run.exp: Update for exit message change.
10075 * gdb.base/chng-syms.exp: Update for exit message change.
10076 * gdb.base/checkpoint.exp: Update for exit message change.
10077 * gdb.base/catch-syscall.exp (check_for_program_end): Use
10078 gdb_continue_to_end.
10079 (test_catch_syscall_with_wrong_args): Likewise.
10080 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
10081 * gdb.base/break-interp.exp (test_ld): Update for exit message
10082 change.
10083 * gdb.base/bang.exp: Update for exit message change.
10084 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
10085 (do_call_attach_tests): Likewise.
10086 * gdb.base/a2-run.exp: Update for exit message change.
10087 * gdb.arch/ppc-dfp.exp: Update for exit message change.
10088 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
10089 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
10090
dd19bd70
JK
100912011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10092
10093 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
10094
30e62689
TT
100952011-03-03 Tom Tromey <tromey@redhat.com>
10096
10097 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
10098 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
10099 * gdb.hp/gdb.aCC/configure.ac: Remove.
10100 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
10101 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
10102 * gdb.hp/gdb.base-hp/configure.ac: Remove.
10103 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
10104 * gdb.hp/gdb.compat/configure (Makefile): Remove.
10105 * gdb.hp/gdb.compat/configure.ac: Remove.
10106 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
10107 * gdb.hp/gdb.defects/configure (Makefile): Remove.
10108 * gdb.hp/gdb.defects/configure.ac: Remove.
10109 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
10110 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
10111 * gdb.hp/gdb.objdbg/configure.ac: Remove.
10112 * gdb.hp/configure.ac: Remove.
10113 * gdb.hp/configure: Remove.
10114 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
10115 substitution.
10116 (Makefile): Remove rule.
10117 * gdb.cell/configure.ac: Remove.
10118 * gdb.cell/configure: Remove.
10119 * gdb.stabs/Makefile.in (Makefile): Remove.
10120 (distclean): Don't remove config.status or config.log.
10121 * gdb.stabs/configure (Makefile): Remove.
10122 * gdb.stabs/configure.ac: Remove.
10123 * configure: Rebuild.
10124 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
10125 Remove stabs- and cell-specific logic. Test for existence of
10126 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
10127 subdirectories, gdb.cell, and and gdb.stabs.
10128 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
10129
c171f854
JB
101302011-03-03 Joel Brobecker <brobecker@adacore.com>
10131
10132 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
10133 end of buffer.
10134
9a5193cb
JB
101352011-03-02 Joel Brobecker <brobecker@adacore.com>
10136
10137 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
10138 gdb_test when running a test where we expected no output back.
10139
9bb4c1bb
MS
101402011-02-28 Michael Snyder <msnyder@vmware.com>
10141
10142 * gdb.cp/overload.cc: Change initializer value to integer.
10143
3bd0f5ef
MS
101442011-02-27 Michael Snyder <msnyder@vmware.com>
10145
10146 * gdb.multi/base.exp: Add test for remove-inferiors.
10147
2279eaad
JB
101482011-02-26 Joel Brobecker <brobecker@adacore.com>
10149
10150 * gdb.python/py-frame.exp: Simplify the initialization phase
10151 using prepare_for_testing.
10152
c82c0b55
MS
101532011-02-25 Michael Snyder <msnyder@vmware.com>
10154
10155 * gdb.multi/base.exp: Add tests for info inferiors with args.
10156
1d94651b
JK
101572011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10158
10159 * gdb.dwarf2/dw2-ranges.S: Rename to ...
10160 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
10161 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
10162 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
10163 asmfile3. Comment the STABS (#3) file compilation. Compile
10164 everything through assembler. Provide KFAIL for symtab/12497.
10165 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
10166 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
10167 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
10168 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
10169
3bd0f5ef
MS
101702011-02-24 Michael Snyder <msnyder@vmware.com>
10171
10172 * gdb.base/break.exp: Add tests for delete breakpoints using
10173 convenience variables and value history references.
10174
12c1418e
MS
101752011-02-24 Michael Snyder <msnyder@vmware.com>
10176
10177 * gdb.base/break.exp: Remove debugging 'printf' accidentally
10178 left behind in previous check-in.
10179
e5a67952
MS
101802011-02-23 Michael Snyder <msnyder@vmware.com>
10181
10182 * gdb.base/break.exp: Add tests for "info break" with arguments.
10183 * gdb.trace/infotrace.exp: Update patterns for error and help.
10184 * gdb.base/completion.exp: Update pattern.
10185 * gdb.base/ena-dis-br.exp: Update pattern.
10186 * gdb.base/help.exp: Update patterns.
10187
101882011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
10189
10190 * gdb.base/memattr.exp: New test.
10191 * gdb.base/memattr.c: Test load for memattr.exp.
10192
6e6fbe60
DE
101932011-02-22 Doug Evans <dje@google.com>
10194
10195 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
10196
1d41d745
MS
101972011-02-22 Michael Snyder <msnyder@vmware.com>
10198
10199 * Makefile.in: Make more clean.
10200 * gdb.ada/Makefile.in: Ditto.
10201 * gdb.arch/Makefile.in: Ditto.
10202 * gdb.asm/Makefile.in: Ditto.
10203 * gdb.base/Makefile.in: Ditto.
10204 * gdb.cp/Makefile.in: Ditto.
10205 * gdb.dwarf2/Makefile.in: Ditto.
10206 * gdb.java/Makefile.in: Ditto.
10207 * gdb.mi/Makefile.in: Ditto.
10208 * gdb.modula2/Makefile.in: Ditto.
10209 * gdb.python/Makefile.in: Ditto.
10210 * gdb.server/Makefile.in: Ditto.
10211 * gdb.stabs/Makefile.in: Ditto.
10212 * gdb.threads/Makefile.in: Ditto.
10213 * gdb.trace/Makefile.in: Ditto.
10214
79ba84ca
MS
102152011-02-22 Michael Snyder <msnyder@vmware.com>
10216
df46027d 10217 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
10218 info threads.
10219
b9b35694
JB
102202011-02-22 Joel Brobecker <brobecker@adacore.com>
10221
10222 * gdb.python/py-breakpoint.exp: Fix the expected output of
10223 one of the "maint info breakpoints" tests to accept the output
10224 generated on platforms that do not have hardware watchpoints.
10225
8bfb830f
JB
102262011-02-22 Joel Brobecker <brobecker@adacore.com>
10227
10228 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
10229 clean_restart. Be a little stricter in the expected output
10230 for one of the tests. Fix a typo in one of the comments.
10231
c45f3c54
JB
102322011-02-22 Joel Brobecker <brobecker@adacore.com>
10233
10234 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
10235 Delete variable binfile, no longer use. Add or modify test
10236 comments to make them unique.
10237
b97c863c
MS
102382011-02-21 Michael Snyder <msnyder@vmware.com>
10239
10240 * Makefile.in: Update for make clean.
10241 * gdb.ada/Makefile.in: Ditto.
10242 * gdb.arch/Makefile.in: Ditto.
10243 * gdb.asm/Makefile.in: Ditto.
10244 * gdb.base/Makefile.in: Ditto.
10245 * gdb.cp/Makefile.in: Ditto.
10246 * gdb.dwarf2/Makefile.in: Ditto.
10247 * gdb.java/Makefile.in: Ditto.
10248 * gdb.mi/Makefile.in: Ditto.
10249 * gdb.modula2/Makefile.in: Ditto.
10250 * gdb.python/Makefile.in: Ditto.
10251 * gdb.server/Makefile.in: Ditto.
10252 * gdb.stabs/Makefile.in: Ditto.
10253 * gdb.threads/Makefile.in: Ditto.
10254 * gdb.trace/Makefile.in: Ditto.
10255
aea5b279
MS
102562011-02-21 Michael Snyder <msnyder@vmware.com>
10257
10258 * gdb.threads/thread-find.exp: Update patterns for changes in
10259 output of "info threads" command.
10260
e3039479
UW
102612011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
10262 Ulrich Weigand <uweigand@de.ibm.com>
10263
10264 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
10265 (skip_hw_watchpoint_tests): Likewise.
10266 (skip_hw_watchpoint_multi_tests): Likewise.
10267
b800ec70
UW
102682011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
10269
10270 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
10271 (skip_hw_watchpoint_tests): Likewise.
10272 (skip_hw_watchpoint_multi_tests): Likewise.
10273 (skip_hw_watchpoint_access_tests): Likewise.
10274
10275 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
10276 * gdb.base/pr11022.exp: Likewise.
10277 * gdb.base/watch-read.exp: Likewise.
10278 * gdb.base/watch_thread_num.exp: Likewise.
10279 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
10280 * gdb.base/watchpoint-hw.exp: Likewise.
10281 * gdb.base/watchpoint.exp: Likewise.
10282 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
10283 * gdb.threads/watchthreads-reorder.exp: Likewise.
10284 * gdb.threads/watchthreads.exp: Likewise.
10285 * gdb.threads/watchthreads2.exp: Likewise.
10286
91033e37
JB
102872011-02-21 Joel Brobecker <brobecker@adacore.com>
10288
10289 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
10290 the debugger is unable to find the array bounds.
10291
eeaafae2
JK
102922011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
10293
10294 * gdb.cp/typedef-operator.exp: New file.
10295 * gdb.cp/typedef-operator.cc: New file.
10296
e338d953
MS
102972011-02-17 Michael Snyder <msnyder@vmware.com>
10298
10299 * gdb.threads/thread-find.exp: Fix regular expressions.
10300
e67ad678
JB
103012011-02-17 Joel Brobecker <brobecker@adacore.com>
10302
10303 * gdb.ada/packed_array: Expand testcase to test printing of
10304 unconstrained packed array.
10305
93084bca
JB
103062011-02-17 Joel Brobecker <brobecker@adacore.com>
10307
10308 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
10309
a0c78a73
PA
103102011-02-16 Pedro Alves <pedro@codesourcery.com>
10311
f65d5553 10312 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
10313 (main): Initialize it before collecting, and and clear it
10314 afterwards.
f65d5553
PA
10315 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
10316 collecting with '{type} addr', where the addr expression is not an
10317 rvalue.
a0c78a73 10318
3dfcbbd2
KW
103192011-02-16 Ken Werner <ken.werner@de.ibm.com>
10320
10321 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
10322 a bool variable. Expect correct OpenCL names for vector types. Use the
10323 uc3 variable name instead of referring to the uchar3 built-in type.
10324 Escape the asterisk at the half pointer test.
10325
08807d5a
PA
103262011-02-16 Pedro Alves <pedro@codesourcery.com>
10327
f65d5553 10328 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
10329 (main): Initialize it before collecting, and and clear it
10330 afterwards.
f65d5553
PA
10331 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
10332 collecting overlapping memory ranges.
08807d5a 10333
60f98dde
MS
103342011-02-15 Michael Snyder <msnyder@vmware.com>
10335
10336 * gdb.base/default.exp: Add tests for thread commands.
10337 * gdb.base/help.exp: Add tests for thread commands.
10338 * gdb.threads/thread-find.exp: New test for thread find command.
10339
648cd113
KW
103402011-02-15 Ken Werner <ken.werner@de.ibm.com>
10341
10342 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
10343
494e194e
YQ
103442011-02-15 Yao Qi <yao@codesourcery.com>
10345
10346 PR tdep/12352
10347 * gdb.arch/arm-disp-step.S : New test for str instruction.
10348 * gdb.arch/arm-disp-step.exp : Likewise.
10349
d9492458
TJB
103502011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
10351
10352 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
10353 "vector_register2_vr" test strings. Test the extended floating
10354 point registers (F32~F63).
10355 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
10356 IBM XL C compiler. Make the test program use a register provided
10357 by the compiler for the lxvd2x instruction.
10358
8af8e3bc
PA
103592011-02-14 Pedro Alves <pedro@codesourcery.com>
10360
10361 * gdb.trace/unavailable.cc (class Base, class Middle, class
10362 Derived): New types.
10363 (derived_unavail, derived_partial, derived_whole): New globals.
10364 (virtual_partial): New global.
10365 (virtualp): Point at virtual_partial.
10366 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
10367 related to unavailable vptr.
10368
1b28d0b3
PA
103692011-02-14 Pedro Alves <pedro@codesourcery.com>
10370
10371 * gdb.trace/unavailable.cc (a, b, c): New globals.
10372 (main): Set and clear them.
10373 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
10374 `a' and `c', and check that `b' isn't collected, although `a' and
10375 `c' are.
10376
ec0a52e1
PA
103772011-02-14 Pedro Alves <pedro@codesourcery.com>
10378
10379 * gdb.trace/unavailable.cc (struct Virtual): New.
10380 (virtualp): New global pointer.
10381 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
10382 printing a pointer to an object whose type has a vtable, with
10383 print object on.
10384
24e6bcee
PA
103852011-02-14 Pedro Alves <pedro@codesourcery.com>
10386
10387 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
10388 value repeat handles unavailableness.
10389
39d37385
PA
103902011-02-14 Pedro Alves <pedro@codesourcery.com>
10391
10392 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
10393 tests for building arrays from unavailable values, subscripting
10394 non-memory rvalue unvailable arrays, and accessing fields or
10395 baseclasses of non-lazy unavailable values,
10396 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
10397 struct types.
10398 (g_smallstruct, g_smallstruct_b): New globals.
10399
06d72e16
PA
104002011-02-14 Pedro Alves <pedro@codesourcery.com>
10401
10402 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
10403
bc9a5551
JK
104042011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10405
10406 Fix const/volatile qualifiers of C++ types, PR c++/12328.
10407 * gdb.cp/overload-const.exp: New file.
10408 * gdb.cp/overload-const.cc: New file.
10409
54fcddd0
UW
104102011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
10411
10412 * gdb.opencl/callfuncs.cl: New file.
10413 * gdb.opencl/callfuncs.exp: New test.
10414 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
10415
d6dafb7c
UW
104162011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
10417
10418 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
10419 when computing result.
10420 * gdb.arch/altivec-abi.exp: Update expected results.
10421
a449c2d8
TJB
104222011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
10423
10424 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
10425 * gdb.base/jit.exp: Likewise.
10426 * gdb.base/pie-execl.exp: Likewise.
10427 * gdb.base/solib-nodir.exp: Likewise.
10428 * gdb.base/solib-overlap.exp: Likewise.
10429
764880b7
PA
104302011-02-07 Pedro Alves <pedro@codesourcery.com>
10431
10432 * gdb.trace/collection.c (global_pieces): New.
10433 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
10434 New procedure.
10435 (gdb_trace_collection_test): Call it.
10436
505500db
SW
104372011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
10438
10439 * gdb.python/py-evthreads.c: New file.
10440 * gdb.python/py-evthreads.exp: New file.
10441 * gdb.python/py-events.py: New file.
10442 * gdb.python/py-events.exp: New file.
10443 * gdb.python/py-events.c: New file.
10444
385203ed
DD
104452011-02-04 David Daney <ddaney@caviumnetworks.com>
10446
10447 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
10448
9011945e
AB
104492011-02-03 Andrew Burgess <aburgess@broadcom.com>
10450
10451 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
10452 gdb.base/disasm-end-cu.exp: New test for disassembling over the
10453 boundary between two compilation units.
10454
580688f3
PA
104552011-02-02 Pedro Alves <pedro@codesourcery.com>
10456
10457 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
10458 (Virtual): New structs.
10459 (virtual_o, virtual_middle_b): New globals.
10460 * gdb.cp/virtbase.exp: New tests.
10461
d3f0f853
PP
104622011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10463
10464 * gdb.base/jit.exp: New file.
10465 * gdb.base/jit-main.c: New file.
10466 * gdb.base/jit-solib.c: New file.
10467
b2030fb5
UW
104682011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
10469
10470 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
10471 proceed to initial kernel entry point.
10472 * gdb.opencl/datatypes.exp: Likewise.
10473 * gdb.opencl/operators.exp: Likewise.
10474 * gdb.opencl/vec_comps.exp: Likewise.
10475
2db19d1e
SW
104762011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
10477
10478 * gdb.cp/nsnested.cc: New.
10479 * gdb.cp/nsnested.exp: New.
10480 * gdb.cp/nsnoimports.exp: New.
10481 * gdb.cp/nsnoimports.cc: New.
10482
6b0c4c1f
JB
104832011-01-31 Joel Brobecker <brobecker@adacore.com>
10484
10485 * gdb.base/interact.exp: Add extra tests that verify that
10486 the value of the interactive-mode setting does not change
10487 after the script is sourced.
10488
80b23b6a
JK
104892011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10490
10491 * gdb.cp/noparam.exp: New file.
10492 * gdb.cp/noparam.cc: New file.
10493
ffd5ec24
PA
104942011-01-28 Pedro Alves <pedro@codesourcery.com>
10495
10496 * gdb.trace/tfile.exp: Test that with no traceframe selected,
10497 there's no stack or registers.
10498
a81766d8
TT
104992011-01-26 Tom Tromey <tromey@redhat.com>
10500
10501 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
10502 space before string output. Add test for "set print pretty off"
10503 case.
10504
585fdaa1
PA
105052011-01-25 Pedro Alves <pedro@codesourcery.com>
10506
10507 * gdb.base/frame-args.exp: Adjust.
10508 * gdb.dwarf2/dw2-noloc.exp: Adjust.
10509 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
10510 * gdb.dwarf2/pieces.exp: Adjust.
10511 * gdb.opt/clobbered-registers-O2.exp: Adjust.
10512 * gdb.opt/inline-locals.exp: Adjust.
10513 * gdb.threads/fork-child-threads.exp: Adjust.
10514
d468832a
KW
105152011-01-25 Ken Werner <ken.werner@de.ibm.com>
10516
10517 * gdb.opencl/convs_casts.cl: Move program scope variables into the
10518 OpenCL kernel function. Add a comment as marker. Add address space
10519 qualifiers for the remaining program scope variables.
10520 * gdb.opencl/datatypes.cl: Likewise.
10521 * gdb.opencl/operators.cl: Likewise.
10522 * gdb.opencl/vec_comps.cl: Likewise.
10523 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
10524 Add breakpoint at the marker comment.
10525 * gdb.opencl/datatypes.exp: Likewise.
10526 * gdb.opencl/operators.exp: Likewise.
10527 * gdb.opencl/vec_comps.exp: Likewise.
10528
490f124f
PA
105292011-01-24 Pedro Alves <pedro@codesourcery.com>
10530
10531 * gdb.base/printcmds.c (some_struct): New struct and instance.
10532 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
10533 procedure.
10534 <global scope>: Call it.
10535
6da78614
KW
105362011-01-21 Ken Werner <ken.werner@de.ibm.com>
10537
10538 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
10539 argument to the gdb_compile_opencl_hostapp call.
10540
ec64c9aa
YQ
105412011-01-19 Yao Qi <yao@codesourcery.com>
10542
10543 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
10544 positve list.
10545
810cfdbb
YQ
105462011-01-19 Yao Qi <yao@codesourcery.com>
10547
10548 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
10549 canonical form.
10550 Remove "xscale-*-*"
10551 * gdb.xml/tdesc-regs.exp: Likewise.
10552 * gdb.python/py-section-script.exp: Replace ARM target triplet
10553 with canonical form.
10554 Match arm*-*-symbianelf*.
10555 * gdb.base/dup-sect.exp: Likewise.
10556 * lib/dwarf.exp: New.
10557 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
10558 dwarf2_support.
10559 * gdb.dwarf2/dup-psym.exp: Likewise.
10560 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
10561 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10562 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
10563 * gdb.dwarf2/dw2-basic.exp: Likewise.
10564 * gdb.dwarf2/dw2-compressed.exp: Likewise.
10565 * gdb.dwarf2/dw2-const.exp: Likewise.
10566 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
10567 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
10568 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10569 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
10570 * gdb.dwarf2/dw2-filename.exp: Likewise.
10571 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10572 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
10573 * gdb.dwarf2/dw2-intercu.exp: Likewise.
10574 * gdb.dwarf2/dw2-intermix.exp: Likewise.
10575 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
10576 * gdb.dwarf2/dw2-noloc.exp: Likewise.
10577 * gdb.dwarf2/dw2-op-call.exp: Likewise.
10578 * gdb.dwarf2/dw2-producer.exp: Likewise.
10579 * gdb.dwarf2/dw2-ranges.exp: Likewise.
10580 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
10581 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
10582 * gdb.dwarf2/dw2-strp.exp: Likewise.
10583 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
10584 * gdb.dwarf2/implptr.exp: Likewise.
10585 * gdb.dwarf2/mac-fileno.exp: Likewise.
10586 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
10587 * gdb.dwarf2/pieces.exp: Likewise.
10588 * gdb.dwarf2/pr11465.exp: Likewise.
10589 * gdb.dwarf2/valop.exp: Likewise.
10590 * gdb.dwarf2/watch-notconst.exp: Likewise.
10591 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
10592
4694da01
TT
105932011-01-19 Tom Tromey <tromey@redhat.com>
10594
10595 * gdb.python/py-infthread.exp: Add thread tests.
10596
b075872c
JB
105972011-01-14 Joel Brobecker <brobecker@adacore.com>
10598
10599 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
10600
2c3e6e24
JB
106012011-01-14 Joel Brobecker <brobecker@adacore.com>
10602
10603 * gdb.ada/widewide: New testcase.
10604
de8fa76c
JB
106052011-01-13 Joel Brobecker <brobecker@adacore.com>
10606
10607 * gdb.base/interact.exp: New testcase.
10608
1b05df00
TT
106092011-01-12 Tom Tromey <tromey@redhat.com>
10610
10611 * gdb.mi/gdb2549.exp: Update for error message changes.
10612 * gdb.mi/mi-cli.exp: Likewise.
10613 * gdb.mi/mi-disassemble.exp: Likewise.
10614 * gdb.mi/mi-pthreads.exp: Likewise.
10615 * gdb.mi/mi-regs.exp: Likewise.
10616 * gdb.mi/mi-stack.exp: Likewise.
10617 * gdb.mi/mi-var-block.exp: Likewise.
10618 * gdb.mi/mi-var-cmd.exp: Likewise.
10619 * gdb.mi/mi2-cli.exp: Likewise.
10620 * gdb.mi/mi2-disassemble.exp: Likewise.
10621 * gdb.mi/mi2-pthreads.exp: Likewise.
10622 * gdb.mi/mi2-regs.exp: Likewise.
10623 * gdb.mi/mi2-stack.exp: Likewise.
10624 * gdb.mi/mi2-var-block.exp: Likewise.
10625 * gdb.mi/mi2-var-cmd.exp: Likewise.
10626
c2ff108b
JK
106272011-01-12 Andrew Burgess <aburgess@broadcom.com>
10628 Jan Kratochvil <jan.kratochvil@redhat.com>
10629
10630 PR fortran/11104 and DWARF unbound arrays detection.
10631 * gdb.fortran/multi-dim.exp: New file.
10632 * gdb.fortran/multi-dim.f90: New file.
10633
b716877b
AB
106342011-01-12 Andrew Burgess <aburgess@broadcom.com>
10635
10636 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
10637 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
10638 add new tests for opcode dumping.
10639
6c162d5e
TT
106402011-01-11 Tom Tromey <tromey@redhat.com>
10641
10642 * gdb.python/py-infthread.exp: Load gdb-python.exp.
10643
77b06cd7
TJB
106442010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
10645
10646 Convert hardware watchpoints to use breakpoint_ops.
10647 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
10648 type is not supported.
10649 * gdb.base/foll-fork.exp: Likewise.
10650 * gdb.base/foll-vfork.exp: Likewise.
10651
f39a75d0
PM
106522011-01-10 Phil Muldoon <pmuldoon@redhat.com>
10653
10654 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
10655 Use load_lib gdb-python.exp.
10656 * gdb.python/python.exp: Ditto.
10657 * gdb.python/py-function.exp: Ditto.
10658
fc529d80
AS
106592011-01-09 Andreas Schwab <schwab@linux-m68k.org>
10660
10661 * gdb.threads/tls.exp ("info address me"): Fix expected output.
10662
fb03cb59
JK
106632011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10664
10665 * configure: Regenerate.
10666
d8e22779
TT
106672011-01-06 Tom Tromey <tromey@redhat.com>
10668
10669 * gdb.python/py-frame.exp: Test gdb.newest_frame.
10670
09050809
JB
106712011-01-06 Joel Brobecker <brobecker@adacore.com>
10672
fc529d80
AS
10673 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
10674 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
10675 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
10676 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
10677 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
10678 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
10679 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
10680 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
10681 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
10682 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
10683 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
10684 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
10685 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
10686 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
10687 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
10688 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
10689 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
10690 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
10691 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
10692 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
10693 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
10694 gdb.ada/uninitialized_vars.exp,
10695 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
10696 Simplify by using clean_restart.
09050809 10697
8ed5dd9e
JB
106982011-01-06 Joel Brobecker <brobecker@adacore.com>
10699
10700 Add marker to be used as anchor for inserting breakpoints.
10701 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
10702 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
10703 Likewise.
10704
10705 Remove uses of gdb_start_cmd.
10706 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
10707 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
10708
10709 Do not run testcase if testing with GDBserver.
10710 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
10711 if testing with GDBserver.
10712
368a124f
JB
107132011-01-06 Joel Brobecker <brobecker@adacore.com>
10714
10715 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
10716 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
10717 copyright header.
10718
44944448
JB
107192011-01-05 Joel Brobecker <brobecker@adacore.com>
10720
10721 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
10722 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
10723 testsuite/gdb.fortran/complex.f,
10724 testsuite/gdb.fortran/derived-type.f90,
10725 testsuite/gdb.fortran/library-module-lib.f90,
10726 testsuite/gdb.fortran/library-module-main.f90,
10727 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
10728 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
10729 Copyright year update.
10730
31886ea6
JB
107312011-01-05 Joel Brobecker <brobecker@adacore.com>
10732
10733 * gdb.base/langs1.f: Add copyright header.
10734
ebedcab5
JK
107352011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10736
10737 * gdb.base/morestack.exp: New file.
10738 * gdb.base/morestack.c: New file.
10739
de1eb2f9
JK
107402011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10741
10742 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
10743
9e87a409
JB
107442010-12-29 Joel Brobecker <brobecker@adacore.com>
10745
10746 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
10747 * gdb.ada/arrayptr.exp: Add test printing that new variable.
10748
720d1a40
JB
107492010-12-29 Joel Brobecker <brobecker@adacore.com>
10750
10751 * gdb.ada/lang_switch.exp: Correct expected parameter value.
10752
a283af87
AS
107532010-12-25 Andreas Schwab <schwab@linux-m68k.org>
10754
5d3d9cba
AS
10755 * gdb.threads/tls.exp: Fix typo.
10756
a283af87
AS
10757 * gdb.threads/thread-specific.exp (get_thread_list): Update.
10758 * gdb.threads/execl.exp: Update.
10759
2a20745c
YQ
107602010-12-23 Yao Qi <yao@codesourcery.com>
10761
10762 * gdb.arch/arm-disp-step.exp: New.
10763 * gdb.arch/arm-disp-step.S: New.
10764
a7658b96
TT
107652010-12-21 Tom Tromey <tromey@redhat.com>
10766
10767 * gdb.threads/execl.exp: Update.
10768 * gdb.threads/linux-dp.exp: Update.
10769 * gdb.threads/manythreads.exp: Update.
10770 * gdb.threads/tls.exp: Update.
10771
5b79abe7
TT
107722010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10773
10774 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
10775 (NextOverThrowDerivates) <resumebpt>: New.
10776 (resumebpt_test): New.
10777 (main): Call resumebpt_test.
10778 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
10779
0914bcdb
SS
107802010-12-12 Stan Shebs <stan@codesourcery.com>
10781
10782 * gdb.trace/tsv.exp: Test print command on trace state variables.
10783
305aeedc
TT
107842010-12-09 Tom Tromey <tromey@redhat.com>
10785
10786 * gdb.base/interp.exp: Add regression test.
10787
186c406b
TT
107882010-12-09 Tom Tromey <tromey@redhat.com>
10789
10790 * gdb.java/jnpe.java: New file.
10791 * gdb.java/jnpe.exp: New file.
10792 * gdb.cp/nextoverthrow.exp: New file.
10793 * gdb.cp/nextoverthrow.cc: New file.
10794
aae1c79a
DE
107952010-12-07 Doug Evans <dje@google.com>
10796
10797 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
10798 of data-directory.
10799 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
10800 updated.
10801 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
10802
60f98dde 108032010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
10804
10805 * gdb.base/callfuncs.exp: Test for skip_float_tests.
10806 * gdb.base/call-sc.exp: Ditto.
10807 * gdb.base/finish.exp: Ditto.
10808 * gdb.base/return.exp: Ditto.
10809 * gdb.base/return2.exp: Ditto.
10810
5fa290c1
DE
108112010-11-30 Doug Evans <dje@google.com>
10812
10813 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
10814 (gdb_expect_list): Fix spelling errors in comments.
10815 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
10816 send_gdb/gdb_expect_list where applicable.
10817 * gdb.base/call-ar-st.exp: Ditto.
10818 * gdb.base/funcargs.exp: Ditto.
10819 * gdb.base/gcore.exp: Ditto.
10820 * gdb.base/page.exp: Ditto.
10821 * gdb.base/sigaltstack.exp: Ditto.
10822 * gdb.base/siginfo.exp: Ditto.
10823 * gdb.base/sigstep.exp: Ditto.
10824 * gdb.base/trace-commands.exp: Ditto.
10825
4e04c971
DE
108262010-11-29 Doug Evans <dje@google.com>
10827
10828 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
10829 printer-name;subprinter-name.
10830
8cf6f0b1
TT
108312010-11-29 Tom Tromey <tromey@redhat.com>
10832
10833 * gdb.dwarf2/implptr.exp: New file.
10834 * gdb.dwarf2/implptr.c: New file.
10835 * gdb.dwarf2/implptr.S: New file.
10836
94b6973e
PM
108372010-11-29 Phil Muldoon <pmuldoon@redhat.com>
10838
fc529d80 10839 PR python/12199
94b6973e
PM
10840
10841 * gdb.python/py-breakpoint.exp: Test the delete method.
10842
8358c15c
JK
108432010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10844
10845 Fix step_resume_breakpoint unsaved during an infcall.
10846 * gdb.base/step-resume-infcall.exp: New file.
10847 * gdb.base/step-resume-infcall.c: New file.
10848
f6df29bc
TJB
108492010-11-24 Edjunior Machado <emachado@br.ibm.com>
10850
10851 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
10852
f2b5a5cf
TJB
108532010-11-24 Edjunior Machado <emachado@br.ibm.com>
10854
10855 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
10856 on ppc64's symbols; "finish" and "return" commands must accept to
10857 show the caller line again as well as the line after.
10858 * gdb.asm/powerpc64.inc: New file.
10859
6b0ecdc2
DE
108602010-11-23 Doug Evans <dje@google.com>
10861
10862 * lib/gdb.exp (gdb_test_sequence): New function.
10863 (gdb_expect_list): Add verbose -log call for each pattern.
10864 * gdb.base/signals.exp (test_handle_all_print): Call it.
10865 Reduce timeout increment from 6 minutes to 1 minute.
10866 * gdb.server/ext-run.exp: Call it.
10867
ea976c60
PM
108682010-11-23 Phil Muldoon <pmuldoon@redhat.com>
10869
f2b5a5cf 10870 PR python/12212
ea976c60
PM
10871
10872 * gdb.python/python.exp: Check that selected_thread raises an
10873 error when no inferior is loaded.
10874
c0efa795
JK
108752010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10876
10877 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
10878 * gdb.dwarf2/dw2-stack-boundary.S: New file.
10879
ec3aa567
JK
108802010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10881
10882 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
10883 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
10884
d8249011
DE
108852010-11-18 Doug Evans <dje@google.com>
10886
10887 * gdb.server/ext-run.exp: Fix intermittent failures.
10888
d4eba7d1
NF
108892010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10890
10891 * gdb.stabs/gdb11479.exp: Use runto_main.
10892
b04c2f88
NF
108932010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10894
10895 * gdb.base/break-entry.exp: Skip if using a stub.
10896
ae9d7ce4
NF
108972010-11-12 Nathan Froyd <froydnj@codesourcery.com>
10898
10899 * gdb.python/py-inferior.exp: Pack values in target endianness.
10900
621c8364
TT
109012010-11-12 Tom Tromey <tromey@redhat.com>
10902
10903 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
10904 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
10905 MemoryError.
10906 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
10907 type.
10908 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
10909 MemoryError.
10910 (test_subscript_regression): Update exception type.
10911
84f4c1fe
PM
109122010-11-11 Phil Muldoon <pmuldoon@redhat.com>
10913
10914 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
10915 breakpoint tests.
10916
a1442452
PA
109172010-11-09 Pedro Alves <pedro@codesourcery.com>
10918
10919 * gdb.base/watchpoint.exp: Test "watch -location" with an
10920 innacessible location.
10921
efd11a33
JK
109222010-11-09 Edjunior Machado <emachado@br.ibm.com>
10923 Luis Machado <luisgpm@br.ibm.com>
10924
10925 * gdb.base/maint.exp: Expect "." prefix.
10926 * gdb.base/nodebug.exp: Expect "." Likewise.
10927 * gdb.base/sepsymtab.exp: Expect "." Likewise.
10928 * gdb.base/watchpoint-cond-gone.exp: Likewise.
10929 * gdb.base/watchpoint.exp: Expect a software watch to be created for
10930 POWER server processors.
10931
aa00efb5
JK
109322010-11-08 Edjunior Machado <emachado@br.ibm.com>
10933 Luis Machado <luisgpm@br.ibm.com>
10934
10935 * gdb.base/break-entry.exp: convert entry point for
10936 ppc64 and expect leading `.' on ppc64's symbols
10937
99e7ae30
DE
109382010-11-05 Doug Evans <dje@google.com>
10939
10940 * gdb.base/help.exp: Update expected output.
b521dba8
DE
10941 * gdb.python/py-param.exp: Delete, contents moved to ...
10942 * gdb.python/py-parameter.exp: ... here. New file.
10943 Add test for gdb.parameter ("directories").
99e7ae30 10944
f4b8a18d
KW
109452010-11-05 Ken Werner <ken.werner@de.ibm.com>
10946
10947 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
10948 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
10949 * configure: Regenerate.
10950 * gdb.opencl/Makefile.in: New File.
10951 * gdb.opencl/datatypes.exp: Likewise.
10952 * gdb.opencl/datatypes.cl: Likewise.
10953 * gdb.opencl/operators.exp: Likewise.
10954 * gdb.opencl/operators.cl: Likewise.
10955 * gdb.opencl/vec_comps.exp: Likewise.
10956 * gdb.opencl/vec_comps.cl: Likewise.
10957 * gdb.opencl/convs_casts.exp: Likewise.
10958 * gdb.opencl/convs_casts.cl: Likewise.
10959 * lib/opencl.exp: Likewise.
10960 * lib/opencl_hostapp.c: Likewise.
10961 * lib/opencl_kernel.cl: Likewise.
10962 * lib/cl_util.c: Likewise.
10963 * lib/cl_util.c: Likewise.
10964 * gdb.base/default.exp (set language): Add "opencl" to the list of
10965 languages.
10966
a9d5ef47
SW
109672010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
10968
10969 * gdb.cp/overload.exp: Added test for inheritance overload.
10970 * gdb.cp/overload.cc: Ditto.
10971 * gdb.cp/oranking.exp: Removed releveant kfails.
10972
03eb1c79
JK
109732010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10974 Joel Brobecker <brobecker@adacore.com>
10975
10976 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
10977 check test_compiler_info.
10978
dbc98a8b
KW
109792010-11-03 Ken Werner <ken.werner@de.ibm.com>
10980
10981 * gdb.base/gnu_vector.exp: Adjust expect messages.
10982
120bd360
KW
109832010-11-03 Ken Werner <ken.werner@de.ibm.com>
10984
10985 * gdb.base/gnu_vector.exp: Add unary operator tests.
10986
c37f7098
KW
109872010-11-03 Ken Werner <ken.werner@de.ibm.com>
10988
10989 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
10990
7b51bc51
DE
109912010-11-02 Doug Evans <dje@google.com>
10992
10993 * gdb.python/py-pp-maint.c: New file.
10994 * gdb.python/py-pp-maint.exp: New file.
10995 * gdb.python/py-pp-maint.py: New file.
10996
50c97f38
TT
109972010-11-02 Tom Tromey <tromey@redhat.com>
10998
10999 * gdb.base/default.exp: Remove "scheme" from language list.
11000
a289b8f6
JK
110012010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11002
11003 Revert:
11004 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11005 * gdb.threads/sigstep-threads.exp: New file.
11006 * gdb.threads/sigstep-threads.c: New file.
11007
cd017491
MS
110082010-10-20 Michael Snyder <msnyder@vmware.com>
11009
11010 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
11011
8e6a5956
UW
110122010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
11013
11014 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
11015 Skip test completely if gdb,no_hardware_watchpoints.
11016
2c04da0d
UW
110172010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
11018
11019 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
11020 strict, but do not check for any particular function name within libc.
11021
79afc5ef
SW
110222010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
11023
11024 * gdb.cp/smartp.exp: New test.
11025 * gdb.cp/smartp.cc : New test.
11026
026ffab7
SW
110272010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
11028
11029 * gdb.cp/converts.exp: Test pointer to bool conversion.
11030 Test pointer to long conversion.
11031 * gdb.cp/oranking.exp: Removed relevant kfail.
11032
3a772aa4
TT
110332010-10-18 Tom Tromey <tromey@redhat.com>
11034
11035 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
11036 argument to lazy_string.
11037 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
11038 (pp_ls.to_string): Use it.
11039 * gdb.python/py-prettyprint.c (main): Move declarations to top.
11040 Add "estring2" local.
11041
5fc3827b
JK
110422010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11043
11044 Fix s390x compatibility.
11045 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
11046 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
11047
8aeb23f3
JK
110482010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11049
11050 * gdb.threads/sigstep-threads.exp: New file.
11051 * gdb.threads/sigstep-threads.c: New file.
11052
c1e56572
JK
110532010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11054
11055 * gdb.base/pie-execl.exp: New file.
11056 * gdb.base/pie-execl.c: New file.
11057
92163a10
JK
110582010-10-13 Doug Evans <dje@google.com>
11059 Jan Kratochvil <jan.kratochvil@redhat.com>
11060
11061 PR exp/12117
11062 * gdb.cp/ptype-cv-cp.cc: New file.
11063 * gdb.cp/ptype-cv-cp.exp: New file.
11064
7062b0a0
SW
110652010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
11066
11067 * gdb.cp/converts.cc: New test program.
11068 * gdb.cp/converts.exp: New test.
11069 * gdb.cp/overload.exp: Added test for void* vs int*.
11070 * gdb.cp/overload.exp: Ditto.
11071 * gdb.cp/oranking.exp: Removed related kfail.
11072
0e3509db
DE
110732010-10-13 Doug Evans <dje@google.com>
11074
11075 * lib/gdb-python.exp (gdb_check_python_config): New function.
11076 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
11077 * gdb.python/lib-types.cc: New file.
11078 * gdb.python/lib-types.exp: New file.
11079
8dc78533
JK
110802010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11081
11082 * gdb.python/py-error.exp: New file.
11083 * gdb.python/py-error.py: New file.
11084
93c17e06
JK
110852010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11086
11087 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
11088 gdb_test_multiple.
11089
d8b34041
JK
110902010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11091
11092 * gdb.base/break-interp.exp: Use ldlags for linking flags.
11093 * gdb.base/prelink.exp: Likewise.
11094 * gdb.base/solib-nodir.exp: Likewise.
11095 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
11096 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
11097 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
11098
e0cc584e
UW
110992010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
11100
11101 * break-interp.exp (test_ld): Use two separate gdb_expect statements
11102 for the "info files" test to avoid timeouts on slow machines.
11103
cfc353b1
JK
111042010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11105
11106 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
11107 (main): Make openlib dummy call.
11108
d3d7896d
JK
111092010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11110
11111 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
11112 * break-interp.exp (reach): Move the core body ...
11113 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
11114 (test_ld): Provide always real argument, even to the linker. Replace
11115 dl_main by _dl_debug_state.
11116
5e533c94
JK
111172010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11118
11119 Fix results of prelinked PIEs on ppc*.
11120 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
11121 Accept also DISPLACEMENT "PRESENT".
11122 (main): Replace "ZERO" displacements by "PRESENT".
11123
33540610
SW
111242010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
11125
11126 * gdb.cp/oranking.exp: New test.
11127 * gdb.cp/oranking.cc: New test program.
11128
3bdf2bbd
KW
111292010-10-08 Ken Werner <ken.werner@de.ibm.com>
11130
11131 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
11132 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
11133
2f608a3a
KW
111342010-10-06 Ken Werner <ken.werner@de.ibm.com>
11135
11136 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
11137 lush, lynx) New constant.
11138 * gdb.base/constvars.exp: Test const array types.
11139 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
11140
aa2e2d8d
DE
111412010-10-06 Doug Evans <dje@google.com>
11142
11143 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
11144 of syscall staging area.
11145
2844d6b5
KW
111462010-10-06 Ken Werner <ken.werner@de.ibm.com>
11147
11148 * gdb.base/gnu_vector.c: Add variable c4.
11149 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
11150 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
11151
7d8ac8bb
MR
111522010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
11153
11154 * gdb.arch/altivec-abi.exp: Fix a typo.
11155
84a02e58
MR
111562010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
11157
11158 * lib/mi-support.exp (thread_selected_re): Correct pattern used
11159 to match a thread ID.
11160
b18e6318
JK
111612010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11162
11163 Fix s390x testcase compatibility.
11164 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
11165
a2c09bd0
DE
111662010-10-01 Doug Evans <dje@google.com>
11167
11168 * lib/gdb-python.exp: New file.
11169 * gdb.python/py-block.exp: Use it.
11170 * gdb.python/py-breakpoint.exp: Ditto.
11171 * gdb.python/py-frame.exp: Ditto.
11172 * gdb.python/py-inferior.exp: Ditto.
11173 * gdb.python/py-param.exp: Ditto.
11174 * gdb.python/py-prettyprint.exp: Ditto.
11175 * gdb.python/py-shared.exp: Ditto.
11176 * gdb.python/py-symbol.exp: Ditto.
11177 * gdb.python/py-symtab.exp: Ditto.
11178 * gdb.python/py-type.exp: Ditto.
11179 * gdb.python/py-value.exp: Ditto.
11180 * gdb.python/python.exp: Ditto.
11181
38f12cfc
TT
111822010-09-30 Tom Tromey <tromey@redhat.com>
11183
11184 * gdb.base/anon.exp: New file.
11185 * gdb.base/anon.c: New file.
11186
9ae8282d
TT
111872010-09-30 Tom Tromey <tromey@redhat.com>
11188
11189 * gdb.base/completion.exp: Test completion through anonymous
11190 union.
11191 * gdb.base/break1.c (struct some_struct): Add anonymous union.
11192
e9e07ba6
JK
111932010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11194
11195 Fix printing parameters of inlined functions.
11196 * gdb.dwarf2/dw2-inline-param.exp: New file.
11197 * gdb.dwarf2/dw2-inline-param-main.c: New file.
11198 * gdb.dwarf2/dw2-inline-param.S: New file.
11199
cd2effb2
JK
112002010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11201
11202 PR corefiles/12071.
11203 * gdb.base/corefile.exp (quit with a process, no question: load core)
11204 (quit with a core file): New tests.
11205
bceffbf3
JK
112062010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11207
11208 Fix GDB crash on inferior calls with self-referencing classes.
11209 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
11210 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
11211 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
11212
1736ad11
JK
112132010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11214
11215 Fix lost siginfo_t for inferior calls.
11216 * gdb.base/siginfo-infcall.exp: New file.
11217 * gdb.base/siginfo-infcall.c: New file.
11218
a176ad92
JB
112192010-09-22 Joel Brobecker <brobecker@adacore.com>
11220
11221 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
11222
c2b0a229
JK
112232010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11224
11225 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
11226 New test.
11227 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
11228
e8ae22d1
JB
112292010-09-22 Joel Brobecker <brobecker@adacore.com>
11230
11231 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
11232 type of our const type.
11233
ec322823
SW
112342010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
11235
11236 * gdb.cp/pr12028.cc: New.
11237 * gdb.cp/pr12028.exp: New.
11238
72929c62
JB
112392010-09-22 Joel Brobecker <brobecker@adacore.com>
11240
11241 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
11242
875b4ff5 112432010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 11244 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
11245
11246 PR mi/11407
11247 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
11248 * gdb.mi/dw2-ref-missing-frame-main.c New File.
11249 * gdb.mi/dw2-ref-missing-frame.S New File.
11250 * gdb.mi/dw2-ref-missing-frame.exp New File.
11251
7155d578
TT
112522010-09-14 Tom Tromey <tromey@redhat.com>
11253
11254 PR symtab/8399:
11255 * gdb.threads/tls.exp: Remove kfail. Update expected output.
11256
515ed532
TT
112572010-09-14 Tom Tromey <tromey@redhat.com>
11258
11259 PR exp/11803:
11260 * gdb.threads/tls.exp: Use C++.
11261 (check_thread_local): Use K::another_thread_local.
11262 * gdb.threads/tls.c (class K): New.
11263 (another_thread_local): Now a member of K.
11264 (spin): Update. No longer K&R C.
11265
450ca57c
SW
112662010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
11267
11268 * gdb.cp/koenig.cc: created class for testing member lookup.
11269 * gdb.cp/koenig.exp: Added test for member lookup.
11270
dbd492a3
JK
112712010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11272
11273 Fix false FAILs on sourcetree topdir directory containing "kill".
11274 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
11275 source line matching regexp.
11276
8d4d924b
JK
112772010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11278
11279 * gdb.python/python.exp (set height 0, collect help from uiout)
11280 (verify help to uiout): New tests.
11281
8e64f2a0
JK
112822010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11283
11284 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
11285 is_lp64_target to check 64bit target.
11286
4569eed2
JK
112872010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11288
11289 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
11290 (test_ld) <powerpc64-*>: New.
11291
5e1617b1
DJ
112922010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
11293
11294 * gdb.cp/templates.exp (test_template_args): Allow "struct".
11295
c767944b
DJ
112962010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
11297
11298 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
11299 (FunctionArg::method): New function.
11300 (empty, arg): New variables.
11301 (main): Call arg.method.
11302 * gdb.cp/templates.exp (test_template_args): New function.
11303 (do_tests): Call it.
11304
27d3a3fc
UW
113052010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
11306
11307 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
11308 of "next" to proceed over pthread_exit call.
11309
55b7ce7f
UW
113102010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
11311
11312 * gdb.base/maint.exp: Avoid wildcards against potentially very long
11313 "maint print statistics" output to prevent expect timeouts.
11314
809df446
JK
113152010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11316
11317 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
11318 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
11319 (test_float_rejected): ... here.
11320 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
11321 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
11322 (test_float_rejected): ... here.
11323 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
11324 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
11325 (test_float_rejected): ... here.
11326 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
11327 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
11328 (test_float_rejected): ... here.
11329
8464be76
DJ
113302010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11331
11332 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
11333 before disabling hardware watchpoints.
11334 (test_inaccessible_watchpoint): Check that hardware watchpoints
11335 are used. Test for watchpoints on a constant address.
11336
14dba4b4
JK
113372010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11338
11339 * gdb.base/ui-redirect.exp: New file.
11340
3f3540e1 113412010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 11342 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
11343
11344 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
11345
0f254bb7
DE
113462010-08-31 Doug Evans <dje@google.com>
11347
11348 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
11349
03f17ccf
TT
113502010-08-30 Tom Tromey <tromey@redhat.com>
11351
11352 PR python/11792:
11353 * gdb.python/py-value.exp (test_subscript_regression): Add
11354 dynamic_type test.
11355
640617ad
DJ
113562010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
11357
11358 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
11359 instead of running to main. Do not test the main function.
11360 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
11361 Add new main.
11362
2ed91d1b
PA
113632010-08-26 Pedro Alves <pedro@codesourcery.com>
11364
11365 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
11366 one test.
11367
673bfd45
DE
113682010-08-24 Doug Evans <dje@google.com>
11369
11370 PR symtab/11942
11371 * gdb.dwarf2/dw4-sig-types.cc: New file.
11372 * gdb.dwarf2/dw4-sig-types.h: New file.
11373 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
11374 * gdb.dwarf2/dw4-sig-types.exp: New file.
11375
f9ffd4bb
TT
113762010-08-23 Tom Tromey <tromey@redhat.com>
11377
11378 PR python/11145:
11379 * gdb.python/py-value.c (Base, Derived): New types.
11380 (base): New global.
11381 * gdb.python/py-value.exp (test_subscript_regression): Add
11382 dynamic_cast test.
11383
d839c8a4
TT
113842010-08-23 Tom Tromey <tromey@redhat.com>
11385
11386 PR python/10676:
11387 * gdb.python/py-type.exp (test_fields): Add tests for type
11388 equality.
11389
702c2711
TT
113902010-08-23 Tom Tromey <tromey@redhat.com>
11391
11392 PR python/11915:
11393 * gdb.python/py-type.exp (test_fields): Add tests for array.
11394
832bafd3
KS
113952010-08-23 Keith Seitz <keiths@redhat.com>
11396
11397 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
11398 have any children. Create a new abbrev for it.
11399 Add missing terminal sequence to .debug_abbrev.
11400
c37bf528
KS
114012010-08-20 Keith Seitz <keiths@redhat.com>
11402
11403 PR symtab/11465:
11404 * gdb.dwarf2/pr11465.exp: New test.
11405 * gdb.dwarf2/pr11465.S: New file.
11406 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
11407 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
11408
4572cbac
TJB
114092010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
11410
11411 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
11412 registers. Update data sets with the new v2_double element in the
11413 VSX register union. Add vector_register3_vr data set for the AltiVec
11414 registers. Use gdb_test_no_output instead of send_gdb.
11415
e7fbb131
PA
114162010-08-19 Pedro Alves <pedro@codesourcery.com>
11417
11418 * gdb.python/py-shared.exp: New file, factored out from
11419 python.exp.
11420 * gdb.python/py-shared.c: New file.
11421 * gdb.python/py-shared-sl.c: New file.
11422 * gdb.python/python-1.c: New file.
11423 * gdb.python/python-sl.c: Delete.
11424 * gdb.python/python.c: Mention python-1.c.
11425 * gdb.python/python.exp: Move shared library tests to
11426 py-shared.exp.
11427 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
11428 (MISCELLANEOUS): New.
11429 (clean mostlyclean): Also remove $MISCELLANEOUS.
11430
d30f5e1f
DE
114312010-08-19 Doug Evans <dje@google.com>
11432
11433 PR exp/11926
11434 * gdb.base/printcmds.exp (test_float_accepted): New function.
11435 Move existing float tests there. Add tests for floats with suffixes.
11436 (test_float_rejected): New function.
11437 * gdb.java/jv-print.exp (test_float_accepted): New function.
11438 (test_float_rejected): New function.
11439 * gdb.objc/print.exp: New file.
11440 * gdb.pascal/print.exp: New file.
11441 * lib/objc.exp: New file.
11442
7b3fd859
PM
114432010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
11444
11445 * gdb.base/default.exp (info set): Avoid full buffer error and force
11446 reading up to final gdb prompt.
11447 (show): Likewise.
11448
c92817ce
TT
114492010-08-18 Tom Tromey <tromey@redhat.com>
11450
11451 PR symtab/11919:
11452 * gdb.base/completion.exp: Add test.
11453
f1208f9e
DE
114542010-08-18 Doug Evans <dje@google.com>
11455
11456 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
11457 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
11458 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
11459 Simplify, early exit if runto_main fails.
11460 * gdb.fortran/exprs.exp: load_lib fortran.exp.
11461 (set_lang_fortran): Moved to lib/fortran.exp.
11462 * gdb.fortran/types.exp: load_lib fortran.exp.
11463 (set_lang_fortran): Moved to lib/fortran.exp.
11464 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
11465 * gdb.java/jprint.exp (set_lang_java): Ditto.
11466 * gdb.java/jv-exp.exp: load_lib java.exp.
11467 If set_lang_java fails, issue a warning instead of failure to be
11468 consistent with other set_lang_foo uses.
11469 (set_lang_java): Moved to lib/java.exp.
11470 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
11471 If set_lang_java fails, issue a warning instead of failure to be
11472 consistent with other set_lang_foo uses.
11473 * gdb.pascal/types.exp: load_lib pascal.exp.
11474 (set_lang_pascal): Moved to lib/pascal.exp.
11475 * lib/fortran.exp: New file.
11476 * lib/java.exp (set_lang_java): New function.
11477 * lib/pascal.exp (set_lang_pascal): New function.
11478
2f06b485
YQ
114792010-08-18 Yao Qi <yao@codesourcery.com
11480
11481 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
11482 func_nofb_start and func_loopfb_start, so that address of functions
11483 is equal to these labels on Thumb.
11484
96e25403
YQ
114852010-08-18 Yao Qi <yao@codesourcery.com>
11486
11487 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
11488 to reflect latest c source file.
11489
36e6adc4
JK
114902010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11491
11492 * gdb.cp/infcall-dlopen.exp: New file.
11493 * gdb.cp/infcall-dlopen.cc: New file.
11494 * gdb.cp/infcall-dlopen-lib.cc: New file.
11495
f431efe5
PA
114962010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11497 Pedro Alves <pedro@codesourcery.com>
11498
11499 PR breakpoints/11371
11500
11501 * gdb.base/watch-cond-infcall.exp: New file.
11502 * gdb.base/watch-cond-infcall.c: New file.
11503
06a64a0b
TT
115042010-08-16 Tom Tromey <tromey@redhat.com>
11505
11506 * gdb.base/help.exp: Update.
11507 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
11508 watchpoint.
11509 (test_watch_location): New proc.
11510 (test_watchpoint_in_big_blob): Delete watchpoint.
11511 * gdb.base/watchpoint.c (func5): New function.
11512 (main): Call it.
11513
70ebf4ed
DE
115142010-08-16 Doug Evans <dje@google.com>
11515
11516 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
11517
ca5c20b6
PM
115182010-08-11 Phil Muldoon <pmuldoon@redhat.com>
11519
11520 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
11521 tests.
11522
7346b668
KW
115232010-08-11 Ken Werner <ken.werner@de.ibm.com>
11524
11525 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
11526 * gdb.base/gnu_vector.c: New File.
11527 * gdb.base/gnu_vector.exp: Likewise.
11528
cb2e07a6
PM
115292010-08-11 Phil Muldoon <pmuldoon@redhat.com>
11530
11531 * gdb.python/python.c: New File.
11532 * gdb.python/python-sl.c: New File.
11533 * gdb.python/python.exp: Test solib_address and decode_line
11534 * functions.
11535
5da1313b
JK
115362010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11537
11538 * gdb.python/python.exp (show height, set height 10)
11539 (verify pagination beforehand, verify pagination beforehand: q)
11540 (gdb.execute does not page, verify pagination afterwards)
11541 (verify pagination afterwards: q): New.
11542
49c3ccf7
DE
115432010-08-02 Doug Evans <dje@google.com>
11544
11545 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
11546 because of an older gcc, change test2
11547 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
11548 to unsupported.
11549
42c0c4f1
KH
115502010-07-30 Kazu Hirata <kazu@codesourcery.com>
11551
11552 * gdb.base/break-always.exp: Do not expect full paths to file
11553 names.
11554 * gdb.base/commands.exp: Likewise.
11555
d3765805
DE
115562010-07-30 Doug Evans <dje@google.com>
11557
c98ee71b
DE
11558 * gdb.cp/temargs.exp: For new tests that require newer gccs,
11559 xfail them when run with older gccs.
11560
fd961404
DE
11561 * lib/gdb.exp (build_executable): Forward "c++" option to
11562 get_compiler_info.
11563
999adef4
DE
11564 * gdb.python/py-type.exp (test_template): Mark as xfail tests
11565 "python print ttype.template_argument(1)" and
11566 "python print isinstance(ttype.template_argument(1), gdb.Value)"
11567 if using gcc 4.4 or earlier.
11568
d3765805
DE
11569 * gdb.base/valgrind-db-attach.exp: Use unique test name for
11570 attach-to-debugger handling.
11571
1276c759
JK
115722010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11573
11574 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
11575 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
11576 (main): Use copyreloc.
11577 * gdb.base/prelink.exp (split debug of executable)
11578 (.dynbss vs. .bss address shift): New tests.
11579
88caa9b9
PA
115802010-07-29 Pedro Alves <pedro@codesourcery.com>
11581
11582 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
11583 in gdb_test_multiple.
11584
c6f2ac43
PA
115852010-07-29 Pedro Alves <pedro@codesourcery.com>
11586
11587 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
11588 environment.
11589
326fd672
TT
115902010-07-28 Tom Tromey <tromey@redhat.com>
11591
11592 PR python/11060:
11593 * gdb.python/py-type.c (Temargs): New template.
11594 (temvar): New variable.
11595 * gdb.python/py-type.exp (test_template): New proc.
11596
3ce3b1ba
PA
115972010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
11598
11599 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
11600 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
11601
34eaf542
TT
116022010-07-28 Tom Tromey <tromey@redhat.com>
11603
11604 PR c++/9946:
11605 * gdb.cp/temargs.exp: New file.
11606 * gdb.cp/temargs.cc: New file.
11607
d41b819e
JK
116082010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11609
11610 * gdb.base/help.exp (help disassemble): Update the content.
11611
26ab7092
JK
116122010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11613
11614 * gdb.threads/ia64-sigill.exp: New file.
11615 * gdb.threads/ia64-sigill.c: New file.
11616
5283e9e1
TT
116172010-07-27 Tom Tromey <tromey@redhat.com>
11618
11619 * gdb.opt/inline-cmds.c (ATTR): New define.
11620 (func1): Use it.
11621 (func2): Likewise.
11622 (func3): Likewise.
11623 (outer_inline1): Likewise.
11624 (outer_inline2): Likewise.
11625 * gdb.opt/inline-bt.c (ATTR): New define.
11626 (func1): Use it.
11627 (func2): Likewise.
11628 * gdb.opt/inline-locals.c (ATTR): New define.
11629 (func1): Use it.
11630 (func2): Likewise.
11631
e992ef73
TT
116322010-07-27 Tom Tromey <tromey@redhat.com>
11633
11634 * gdb.stabs/gdb11479.c (hack): New function.
11635 (test): Use it.
11636 (test2): Use it.
11637 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
11638 (int32_search_buf, int64_search_buf): No longer static.
11639 (x): Remove.
11640 * gdb.base/relocate.c (hack): New function.
11641
5374244e
PM
116422010-07-27 Phil Muldoon <pmuldoon@redhat.com>
11643
11644 * gdb.python/py-value.exp (test_inferior_function_call): New function.
11645 * gdb.python/py-value.c (func1): New function.
11646 (func2): Likewise.
11647
a99aee83
CV
116482010-07-26 Corinna Vinschen <vinschen@redhat.com>
11649
11650 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
11651 as not to clash with .data section.
11652
a04ba985
JG
116532010-07-26 Jerome Guitton <guitton@adacore.com>
11654
11655 * gdb.base/code_elim.exp: New file.
11656 * gdb.base/code_elim1.c: New file.
11657 * gdb.base/code_elim2.c: New file.
11658
23bd0f7c
PA
116592010-07-21 Pedro Alves <pedro@codesourcery.com>
11660
11661 PR symtab/11827
11662
11663 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
11664 (some_volatile_enum): New variable.
11665 * gdb.base/printcmds.exp (test_print_enums): New.
11666 <top level>: Call it.
11667
883df6dd
SW
116682010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
11669
11670 * gdb.cp/fpointer.cc: New test.
11671 * gdb.cp/fpointer.exp: New test.
11672
569b05a5
JK
116732010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11674
11675 * gdb.base/solib-nodir.exp: New file.
11676 * lib/gdb.exp (runto): New case for a GDB internal error.
11677
51d7d803
JK
116782010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11679 Ulrich Weigand <uweigand@de.ibm.com>
11680 Tom Tromey <tromey@redhat.com>
11681
11682 * gdb.base/charset-malloc.c: New file.
11683 * gdb.base/charset.c (malloc_stub): New prototype.
11684 (main): Call it instead of malloc itself.
11685 * gdb.base/charset.exp: Use only prepare_for_testing.
11686 (binfile): Remove the variable.
11687
c0edd9ed
JK
116882010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11689
11690 Make core files the process_stratum.
11691 * gdb.base/corefile.exp (run: load core again)
11692 (run: sanity check we see the core file, run: with core)
11693 (run: core file is cleared, attach: load core again)
11694 (attach: sanity check we see the core file, attach: with core)
11695 (attach: core file is cleared): New tests.
11696 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
11697
3cbaedff
KW
116982010-07-14 Ken Werner <ken.werner@de.ibm.com>
11699
11700 * gdb.arch/altivec-abi.exp: New tests.
11701
91158a56
TT
117022010-07-13 Tom Tromey <tromey@redhat.com>
11703
11704 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
11705 (main): Use it.
11706 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
11707
0f5238ed
TT
117082010-07-13 Tom Tromey <tromey@redhat.com>
11709
11710 * gdb.base/label.exp: New file.
11711 * gdb.base/label.c: New file.
11712
add265ae
L
117132010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
11714 H.J. Lu <hongjiu.lu@intel.com>
11715
11716 * lib/gdb.exp (is_ilp32_target): New.
11717 (is_lp64_target): Likewise.
11718
11719 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
11720 target.
11721 * gdb.arch/amd64-disp-step.exp: Likewise.
11722 * gdb.arch/amd64-dword.exp: Likewise.
11723 * gdb.arch/amd64-i386-address.exp: Likewise.
11724 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 11725
add265ae
L
11726 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
11727 target.
11728 * gdb.arch/i386-bp_permanent.exp: Likewise.
11729 * gdb.arch/i386-byte.exp: Likewise.
11730 * gdb.arch/i386-disp-step.exp: Likewise.
11731 * gdb.arch/i386-gnu-cfi.exp: Likewise.
11732 * gdb.arch/i386-prologue.exp: Likewise.
11733 * gdb.arch/i386-size-overlap.exp: Likewise.
11734 * gdb.arch/i386-size.exp: Likewise.
11735 * gdb.arch/i386-sse.exp: Likewise.
11736 * gdb.arch/i386-unwind.exp: Likewise.
11737 * gdb.arch/i386-word.exp: Likewise.
11738
11739 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
11740 test only when building 64-bit executables. Do not hard-code
11741 -m64 option.
11742
2dfb8c17
DE
117432010-07-07 Doug Evans <dje@google.com>
11744
11745 * lib/gdb.exp (gdb_test_list_exact): New function.
11746 * gdb.base/default.exp (show convenience): Call it, add tests for
11747 $_sdata = void, $_thread = 0.
11748
4e5799b6
JK
117492010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11750 Joel Brobecker <brobecker@adacore.com>
11751
11752 Fix re-run of PIE executable, PR shlibs/11776.
11753 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
11754 Remove $displacement_main to match the solib-svr4.c change. New "kill"
11755 and re-"run" of the inferior.
11756
1a219cc7
JK
117572010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11758 Joel Brobecker <brobecker@adacore.com>
11759
11760 Cope with missing /usr/sbin/prelink.
11761 * lib/prelink-support.exp (prelink_no):
11762 <result == 1 && $output is "no such file or directory">: New.
11763 (prelink_yes): Likewise. Return on failed prelink_no.
11764
5e3b36f8
JK
117652010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11766 Joel Brobecker <brobecker@adacore.com>
11767
11768 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
11769 build_executable by build_executable_own_libs. Replace "prelink -R"
11770 execution by a call of prelink_yes. Comment why "prelink -r" needs no
11771 change.
11772 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
11773 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
11774 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
11775 Replace build_executable by build_executable_own_libs's function
11776 build_executable_own_libs.
11777 (prelinkNO): Create new stub to call prelink_no.
11778 (prelinkYES): Create new stub to call prelink_yes.
11779 (test_attach): Rename calls of copy to file_copy.
11780 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
11781 (copy): Move to ...
11782 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
11783 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
11784 * gdb.base/prelink.exp: Disable testcase also for is_remote and
11785 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
11786 special flags by gdb_compile_shlib. Replace second gdb_compile by
11787 build_executable_own_libs. Replace "prelink -R" execution by a call of
11788 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
11789 a second call of prelink_yes. Replace restart commands by
11790 clean_restart.
11791 (prelink): Rename to ...
11792 (seen displacement message): ... this test. Extend its expectation
11793 strictness.
11794
86e4bafc
JK
117952010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11796
11797 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
11798 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
11799 displacement message exactly once.
11800
3cd07d20
JK
118012010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11802 Joel Brobecker <brobecker@adacore.com>
11803
11804 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
11805 its restore after the <$relink_args != ""> loop. new comment.
11806
0a1e94c7
JK
118072010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11808 Joel Brobecker <brobecker@adacore.com>
11809
11810 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
11811 code for it. New variable relink_args.
11812 (prelinkYES): Call prelinkNO.
11813 (test_attach): Accept new parameter relink_args. Re-prelink the binary
11814 in such case. Move the core code to ...
11815 (test_attach_gdb): ... a new function. Send GDB command "file".
11816 Extend expected "Attaching to " string.
11817
2f70bcfb
TT
118182010-07-02 Tom Tromey <tromey@redhat.com>
11819
11820 * gdb.base/bitops.exp: Remove extraneous "pass".
11821
a17ac5b0
TT
118222010-07-02 Ken Werner <ken.werner@de.ibm.com>
11823
11824 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
11825
dc10affe
PA
118262010-07-01 Pedro Alves <pedro@codesourcery.com>
11827
d41c0fc8
PA
11828 * gdb.base/help.exp: Adjust expected output.
11829
118302010-07-01 Pedro Alves <pedro@codesourcery.com>
11831
11832 * gdb.base/help.exp: Adjust expected output.
dc10affe 11833
0a600c36
JK
118342010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11835
11836 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
11837 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
11838 c++/11702.
11839
37cc8bfe
JK
118402010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11841 Doug Evans <dje@google.com>
11842
11843 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
11844 add .dynamic entry'.
11845
254e6b9e
DE
118462010-06-29 Doug Evans <dje@google.com>
11847
11848 Test PR c++/11702.
11849 * gdb.cp/m-static.exp: Add testcase.
11850 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
11851
595939de 118522010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
11853 Tom Tromey <tromey@redhat.com>
11854 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
11855
11856 * gdb.python/py-inferior.c: New File.
11857 * gdb.python/py-infthread.c: New File.
11858 * gdb.python/py-inferior.exp: New File.
11859 * gdb.python/py-infthread.exp: New File.
11860
98751a41
JK
118612010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11862
11863 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
11864 (ptype ::C::OtherFileClass typedefs): New.
11865 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
11866 (C::OtherFileClass::cOtherFileClassVar2): New.
11867 (C::OtherFileClass::cOtherFileClassVar_use): Use also
11868 cOtherFileClassVar2.
11869 (C::cOtherFileType2, C::cOtherFileVar2): New.
11870 (C::cOtherFileVar_use): use also cOtherFileVar2.
11871 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
11872
41f62f39
JK
118732010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11874
11875 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
11876 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
11877 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
11878 (print ::C::cOtherFileVar)
11879 (whatis C::OtherFileClass::cOtherFileClassType)
11880 (whatis ::C::OtherFileClass::cOtherFileClassType)
11881 (print C::OtherFileClass::cOtherFileClassVar)
11882 (print ::cOtherFileClassVar)
11883 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
11884 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
11885 trailing content.
11886 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
11887 (C::OtherFileClass::cOtherFileClassVar)
11888 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
11889 (C::cOtherFileVar, C::cOtherFileVar_use): New.
11890
af53d231
JK
118912010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11892
11893 Test PR c++/11703 and PR gdb/1448.
11894 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
11895 gdb/1448.
11896
9655fd1a
JK
118972010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11898
11899 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
11900 (main) <rtti_data>: New.
11901 * gdb.cp/virtbase.exp (print rtti_data): New.
11902
824cc8dd
JK
119032010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11904 Joel Brobecker <brobecker@adacore.com>
11905
11906 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
11907
6036c742
JK
119082010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11909
11910 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
11911
de6a0421
DE
119122010-06-28 Doug Evans <dje@google.com>
11913
11914 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
11915
b2dae948
DE
119162010-06-27 Doug Evans <dje@google.com>
11917
11918 * gdb.cp/m-static.exp: Update expected test output.
11919
0f3bb72e
PH
119202010-06-25 Paul Hilfinger <hilfinger@adacore.com>
11921
889bf7c5
PA
11922 * gdb.gdb/selftest.exp: Adjust expected message for
11923 capturing start-up runtime.
0f3bb72e 11924
bc9f0842
TT
119252010-06-25 Tom Tromey <tromey@redhat.com>
11926
11927 PR python/10808:
11928 * gdb.python/python.exp: Add new tests.
11929
099ef718
SW
119302010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
11931
11932 * gdb.cp/operator.cc: Created an import loop.
11933 * gdb.cp/operator.exp: Added testcase for import loop.
11934
5868a632
JK
119352010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11936
11937 Test PR python/11407.
11938 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
11939 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
11940 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
11941 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
11942 executable_nofb and executable_fb. New variables srcsfile, objsfile,
11943 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
11944 binfile. Call gdb_compile with clean_restart twice.
11945 (func_nofb print, func_nofb backtrace, func_loopfb print)
11946 (func_loopfb backtrace): New.
11947
af76db58
JK
119482010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11949
11950 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
11951 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
11952 by a hand made one.
11953 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
11954 i?86 requirement. Remove variables srcfile and binfile. New variable
11955 sources, executable_nofb and executable_fb. Call prepare_for_testing.
11956
f2c7657e
UW
119572010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11958
11959 * gdb.cell/dwarfaddr.exp: New file.
11960 * gdb.cell/dwarfaddr.S: New file.
11961
628fe4e4
JK
119622010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11963
11964 Test PR 9436.
11965 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
11966
f1421989
HZ
119672010-06-24 Hui Zhu <teawater@gmail.com>
11968
11969 * gdb.base/eval.exp: New file.
11970
d03285ec
UW
119712010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11972
11973 * gdb.cell/fork.exp: New file.
11974 * gdb.cell/fork.c: Likewise.
11975 * gdb.cell/fork-spu.c: Likewise.
11976
41b2c92d
PM
119772010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
11978
11979 * lib/gdb.exp (banned_variables_traced): New global variable.
11980 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
11981 (gdb_init): Use `trace add variable' instead of obsolete
11982 `trace variable'.
11983
d5bc977f
DE
119842010-06-21 Doug Evans <dje@google.com>
11985
11986 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
11987
d2ed6730
UW
119882010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11989
11990 * gdb.arch/spu-ls.exp: New file.
11991 * gdb.arch/spu-ls.c: Likewise.
11992
6aed2dbc
SS
119932010-06-18 Stan Shebs <stan@codesourcery.com>
11994
11995 * gdb.threads/thread-specific.exp: Add tests of $_thread.
11996
e0756905
UW
119972010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11998
11999 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
12000 * gdb.base/watch-cond.exp: Likewise.
12001 * gdb.python/py-breakpoint.exp: Likewise.
12002
d8053d4d
PA
120032010-06-18 Pedro Alves <pedro@codesourcery.com>
12004
12005 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
12006 clean_restart, make sure every test has a distinct message, and
12007 that messages don't include the executable' full path.
12008
81ce510c
DE
120092010-06-17 Doug Evans <dje@google.com>
12010
12011 * gdb.arch/i386-size.exp: Updated expected output for
12012 DISASSEMBLY_OMIT_FNAME.
12013
65d79d4b
SDJ
120142010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12015 Sergio Durigan Junior <sergiodj@redhat.com>
12016
12017 * gdb.base/watch-notconst.c: New file.
12018 * gdb.base/watch-notconst.S: New file.
12019 * gdb.base/watch-notconst2.c: New file.
12020 * gdb.base/watch-notconst2.S: New file.
12021 * gdb.base/watch-notconst.exp: New file.
12022 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
12023 (func4): Add operations on `global_ptr_ptr'.
12024 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
12025 routine to test watchpoints created with a constant expression.
12026 (test_inaccessible_watchpoint): Include tests for watchpoints
12027 created with a constant expression.
12028
df0f4836
KB
120292010-06-14 Kevin Buettner <kevinb@redhat.com>
12030
12031 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
12032 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
12033 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
12034 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
12035 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
12036 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
12037 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
12038 of `_start'.
12039
b769def5
UW
120402010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12041
12042 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
12043 not supported on the target.
12044 * gdb.mi/mi-nonstop-exit.exp: Likewise.
12045 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
12046 * gdb.mi/mi-nsintrall.exp: Likewise.
12047 * gdb.mi/mi-nsmoribund.exp: Likewise.
12048 * gdb.mi/mi-nsthrexec.exp: Likewise.
12049
d914c394
SS
120502010-06-11 Stan Shebs <stan@codesourcery.com>
12051
12052 * gdb.base/permissions.exp: New file.
12053
120542010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
12055
12056 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
12057 does not support ELF executable class.
12058
f3ce5b9c
UW
120592010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12060
12061 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
12062
8e46892c
JK
120632010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12064
12065 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
12066 (runto): Catch "The target does not support running in non-stop mode.".
12067
6cc55c64
MS
120682010-06-11 Michael Snyder <msnyder@vmware.com>
12069
12070 * gdb.base/setshow.exp (set language asm): Don't use
12071 gdb_test_no_output, fails on some targets.
12072
caddefa4
UW
120732010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12074
12075 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
12076 * gdb.cp/pr9167.exp: Likewise.
12077
468b1aa7
UW
120782010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12079
12080 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
12081
5c3552dc
UW
120822010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12083
12084 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
12085
02e6fe6a
UW
120862010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12087
12088 * gdb.base/charset.c (main): Make sure malloc gets linked in.
12089
0e03807e
TT
120902010-06-11 Tom Tromey <tromey@redhat.com>
12091
12092 PR gdb/9977, PR exp/11636::
12093 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
12094 (pieces_test_f6): Update expected output.
12095
2bdf28a0
JK
120962010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12097
12098 * gdb.base/moribund-step.exp: New.
12099
f6978de9
MS
121002010-06-08 Michael Snyder <msnyder@vmware.com>
12101
12102 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 12103 * gdb.ada/boolean_expr.exp:
f6978de9
MS
12104 * gdb.ada/frame_args.exp: Ditto.
12105 * gdb.ada/lang_switch.exp: Ditto.
12106 * gdb.ada/ptype_arith_binop.exp: Ditto.
12107 * gdb.ada/ref_param.exp: Ditto.
12108 * gdb.ada/type_coercion.exp:Ditto.
12109
12110 * gdb.asm/asm-source.exp: Ditto.
12111
12112 * gdb.base/attach.exp: Ditto.
12113 * gdb.base/bitfields2.exp: Ditto.
12114 * gdb.base/call-signal-resume.exp: Ditto.
12115 * gdb.base/callfuncs.exp: Ditto.
12116 * gdb.base/commands.exp: Ditto.
12117 * gdb.base/dbx.exp: Ditto.
12118 * gdb.base/default.exp: Ditto.
12119 * gdb.base/dump.exp: Ditto.
12120 * gdb.base/exprs.exp: Ditto.
12121 * gdb.base/freebpcmd.exp: Ditto.
12122 * gdb.base/interrupt.exp: Ditto.
12123 * gdb.base/list.exp: Ditto.
12124 * gdb.base/long_long.exp: Ditto.
12125 * gdb.base/maint.exp: Ditto.
12126 * gdb.base/ptype.exp: Ditto.
12127 * gdb.base/return.exp: Ditto.
12128 * gdb.base/setshow.exp: Ditto.
12129 * gdb.base/sigbpt.exp: Ditto.
12130 * gdb.base/sigrepeat.exp: Ditto.
12131
12132 * gdb.cp/classes.exp: Ditto.
12133
12134 * gdb.dwarf2/dw2-restore.exp: Ditto.
12135
12136 * gdb.gdb/selftest.exp: Ditto.
12137
12138 * gdb.multi/base.exp: Ditto.
12139 * gdb.multi/bkpt-multi-exec.exp: Ditto.
12140
12141 * gdb.python/py-block.exp: Ditto.
12142 * gdb.python/py-prettyprint.exp: Ditto.
12143 * gdb.python/py-template.exp: Ditto.
12144
12145 * gdb.server/ext-attach.exp: Ditto.
12146 * gdb.server/ext-run.exp: Ditto.
12147 * gdb.server/server-mon.exp: Ditto.
12148
12149 * gdb.threads/fork-thread-pending.exp: Ditto.
12150 * gdb.threads/hand-call-in-threads.exp: Ditto.
12151 * gdb.threads/interrupted-hand-call.exp: Ditto.
12152 * gdb.threads/linux-dp.exp: Ditto.
12153 * gdb.threads/manythreads.exp: Ditto.
12154 * gdb.threads/print-threads.exp: Ditto.
12155 * gdb.threads/pthreads.exp: Ditto.
12156 * gdb.threads/schedlock.exp: Ditto.
12157 * gdb.threads/thread-unwindonsignal.exp: Ditto.
12158 * gdb.threads/threadapply.exp: Ditto.
12159
de7ff789
MS
121602010-06-08 Michael Snyder <msnyder@vmware.com>
12161
889bf7c5 12162 * gdb.ada/exec_changed.exp:
de7ff789
MS
12163 Use ".*" instead of "" as wildcard regexp.
12164
12165 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
12166 * gdb.base/call-ar-st.exp: Ditto.
12167 * gdb.base/checkpoint.exp: Ditto.
12168 * gdb.base/default.exp: Ditto.
12169 * gdb.base/dump.exp: Ditto.
12170 * gdb.base/ending-run.exp: Ditto.
12171 * gdb.base/fileio.exp: Ditto.
12172 * gdb.base/miscexprs.exp: Ditto.
12173 * gdb.base/pointers.exp: Ditto.
12174 * gdb.base/readline.exp: Ditto.
12175 * gdb.base/reread.exp: Ditto.
12176 * gdb.base/restore.exp: Ditto.
12177 * gdb.base/shlib-call.exp: Ditto.
12178 * gdb.base/valgrind-db-attach.exp: Ditto.
12179 * gdb.base/volatile.exp: Ditto.
12180 * gdb.base/watchpoints.exp: Ditto.
12181
12182 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
12183
12184 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
12185 * gdb.python/py-value.exp: Ditto.
12186
12187 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
12188 * gdb.trace/circ.exp: Ditto.
12189 * gdb.trace/collection.exp: Ditto.
12190 * gdb.trace/packetlen.exp: Ditto.
12191 * gdb.trace/passc-dyn.exp: Ditto.
12192 * gdb.trace/report.exp: Ditto.
12193 * gdb.trace/tfile.exp: Ditto.
12194 * gdb.trace/tfind.exp: Ditto.
12195 * gdb.trace/while-dyn.exp: Ditto.
12196
3bebe2f2
JK
121972010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12198
12199 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
12200
5c631832
JK
122012010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12202
12203 Test PR 10640.
12204 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
12205
4c3376c8
SW
122062010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
12207
12208 * gdb.cp/koenig.exp: Test for ADL operators.
12209 * gdb.cp/koenig.cc: Added ADL operators.
12210 * gdb.cp/operator.exp: New test.
12211 * gdb.cp/operator.cc: New test.
12212
dc226d5a
MS
122132010-06-04 Michael Snyder <msnyder@vmware.com>
12214
dfb88a23
MS
12215 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
12216 * gdb.base/pending.exp: Ditto.
f7ae76b3 12217
dc226d5a
MS
12218 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
12219
967cf477
DE
122202010-06-04 Doug Evans <dje@google.com>
12221
12222 * gdb.python/py-prettyprint.exp: Add new test for enabled and
12223 disabled printers.
12224 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
12225 (enable_lookup_function): New function.
12226
eb801841
TT
122272010-06-04 Tom Tromey <tromey@redhat.com>
12228
12229 * gdb.python/py-value.exp (test_value_hash): Don't test equality
12230 of hash and id.
12231
38979823
JK
122322010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12233
12234 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
12235 newline.
12236 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
12237 (empty verbose non-noisy clear, empty verbose noisy clear)
12238 (empty non-verbose noisy clear): Likewise.
12239
35ec993f
MS
122402010-06-03 Michael Snyder <msnyder@vmware.com>
12241
12242 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
12243 * gdb.base/display.exp: Ditto.
12244 * gdb.base/find.exp: Ditto.
12245 * gdb.base/ifelse.exp: Ditto.
12246 * gdb.base/multi-forks.exp: Ditto.
12247 * gdb.base/recurse.exp: Ditto.
12248 * gdb.base/setshow.exp: Ditto.
12249 * gdb.base/value-double-free.exp: Ditto.
12250 * gdb.base/watch-vfork.exp: Ditto.
12251 * gdb.base/watch_thread_num.exp: Ditto.
12252 * gdb.base/watchpoint-solib.exp: Ditto.
12253 * gdb.base/watchpoint.exp: Ditto.
12254 * gdb.base/watchpoints.exp: Ditto.
12255
12256 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
12257 * gdb.cp/overload.exp: Ditto.
12258 * gdb.cp/virtfunc.exp: Ditto.
12259
12260 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
12261
889bf7c5 12262 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
12263 Replace gdb_test with gdb_test_no_output.
12264
889bf7c5 12265 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
12266 Replace gdb_test with gdb_test_no_output.
12267 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
12268 * gdb.threads/watchthreads.exp: Ditto.
12269 * gdb.threads/watchthreads2.exp: Ditto.
12270
12271 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
12272 * gdb.trace/tfind.exp: Ditto.
12273
c22decce
JB
122742010-06-03 Joel Brobecker <brobecker@adacore.com>
12275
12276 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
12277 successful test if message is the empty string.
12278
fd5700c7
JK
122792010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12280
12281 * gdb.fortran/module.exp (stopped language detection): New test.
12282
f55ee35c
JK
122832010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12284
12285 Support DW_TAG_module as separate namespaces.
12286 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
12287 gdb.fortran/library-module-lib.f90: New.
12288 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
12289 (print i): Remove.
12290 (continue to breakpoint: i-is-1, print var_i value 1)
12291 (continue to breakpoint: i-is-2, print var_i value 2)
12292 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
12293 (print var_d, print var_i value 14, ptype modmany, complete `modm)
12294 (complete `modmany, complete `modmany`, complete `modmany`var)
12295 (show language, setting breakpoint at module): New tests.
12296 * gdb.fortran/module.f90 (module mod): Remove.
12297 (module mod1, module mod2, module modmany, subroutine sub1)
12298 (subroutine sub2, program module): New.
12299
b8e8282f
JK
123002010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12301
12302 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
12303 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
12304 * gdb.cp/anon-union.exp (pass): Rename to ...
12305 (print z 2): ... here.
b8e8282f 12306
019ebafc
MS
123072010-06-02 Michael Snyder <msnyder@vmware.com>
12308
e68d8fd4
MS
12309 * gdb.trace/actions.exp: Use gdb_test_no_output.
12310 * gdb.trace/circ.exp: Ditto.
12311 * gdb.trace/packetlen.exp: Ditto.
12312 * gdb.trace/save-trace.exp: Ditto.
12313 * gdb.trace/tracecmd.exp: Ditto.
12314 * gdb.trace/tsv.exp: Ditto.
12315
12b5d08a
MS
12316 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
12317 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
12318 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
12319 * gdb.threads/manythreads.exp: Ditto.
12320 * gdb.threads/print-threads.exp: Ditto.
12321 * gdb.threads/pthreads.exp: Ditto.
12322 * gdb.threads/schedlock.exp: Ditto.
12323 * gdb.threads/staticthreads.exp: Ditto.
12324 * gdb.threads/thread-specific.exp: Ditto.
12325 * gdb.threads/thread-unwindonsignal.exp: Ditto.
12326 * gdb.threads/threadapply.exp: Ditto.
12327 * gdb.threads/watchthreads.exp: Ditto.
12328 * gdb.threads/watchthreads2.exp: Ditto.
12329
89493308
MS
12330 * gdb.python/py-block.exp: Use gdb_test_no_output.
12331 * gdb.python/py-prettyprint.exp: Ditto.
12332 * gdb.python/py-template.exp: Ditto.
12333 * gdb.python/py-value.exp: Ditto.
12334
12335 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
12336 * gdb.reverse/watch-reverse.exp: Ditto.
12337
12338 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
12339 * gdb.server/ext-run.exp: Ditto.
12340
019ebafc
MS
12341 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
12342 * gdb.dwarf2/dw2-compressed.exp: Ditto.
12343 * gdb.dwarf2/dw2-intercu.exp: Ditto.
12344 * gdb.dwarf2/dw2-intermix.exp: Ditto.
12345 * gdb.dwarf2/dw2-producer.exp: Ditto.
12346 * gdb.dwarf2/mac-fileno.exp: Ditto.
12347
12348 * gdb.gdb/observer.exp: Use gdb_test_no_output.
12349 * gdb.gdb/selftest.exp: Ditto.
12350
12351 * gdb.multi/base.exp: Use gdb_test_no_output.
12352
12353 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
12354
3e0ca3a5
JK
123552010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12356
12357 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
12358
9db70545
MS
123592010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
12360
a8d52276
MS
12361 * gdb.cp/class2.exp: Use gdb_test_no_output.
12362 * gdb.cp/classes.exp: Ditto.
12363 * gdb.cp/extern-c.exp: Ditto.
12364 * gdb.cp/inherit.exp: Ditto.
12365 * gdb.cp/maint.exp: Ditto.
12366 * gdb.cp/mb-inline.exp: Ditto.
12367 * gdb.cp/mb-templates.exp: Ditto.
12368 * gdb.cp/method2.exp: Ditto.
12369 * gdb.cp/misc.exp: Ditto.
12370 * gdb.cp/ovldbreak.exp: Ditto.
12371 * gdb.cp/punctuator.exp: Ditto.
12372 * gdb.cp/templates.exp: Ditto.
12373 * gdb.cp/virtbase.exp: Ditto.
12374
889bf7c5 12375 * gdb.threads/attach-stopped.exp:
9db70545 12376 Replace uses of send_gdb / gdb_expect.
889bf7c5 12377 * gdb.threads/attachstop-mt.exp:
9db70545 12378 Replace uses of send_gdb / gdb_expect.
889bf7c5 12379 * gdb.threads/gcore-thread.exp:
9db70545 12380 Replace uses of send_gdb / gdb_expect.
889bf7c5 12381 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
12382 Replace uses of send_gdb / gdb_expect.
12383 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 12384 * gdb.threads/print-threads.exp:
9db70545
MS
12385 Replace uses of send_gdb / gdb_expect.
12386 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
12387 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
12388 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
12389
12390 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
12391 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
12392 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
12393 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
12394 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
12395 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
12396 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
12397 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
12398 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
12399 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
12400 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
12401
359cc68c
JK
124022010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12403
12404 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
12405
7d3fe98e
SW
124062010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
12407
12408 * gdb.cp/koenig.exp: Added new test case.
12409 * gdb.cp/koenig.cc: Ditto.
12410
27d3a1a2
MS
124112010-06-01 Michael Snyder <msnyder@vmware.com>
12412
12413 * gdb.base/arithmet.exp: Use gdb_test_no_output.
12414 * gdb.base/arrayidx.exp: Ditto.
12415 * gdb.base/attach.exp: Ditto.
12416 * gdb.base/auxv.exp: Ditto.
12417 * gdb.base/bigcre.exp: Ditto.
12418 * gdb.base/break-always.exp: Ditto.
12419 * gdb.base/break-interp.exp: Ditto.
12420 * gdb.base/break.exp: Ditto.
12421 * gdb.base/breakpoint-shadow.exp: Ditto.
12422 * gdb.base/call-ar-st.exp: Ditto.
12423 * gdb.base/call-sc.exp: Ditto.
12424 * gdb.base/call-signal-resume.exp: Ditto.
12425 * gdb.base/callfuncs.exp: Ditto.
12426 * gdb.base/catch-syscall.exp: Ditto.
12427 * gdb.base/charset.exp: Ditto.
12428 * gdb.base/code-expr.exp: Ditto.
12429 * gdb.base/commands.exp: Ditto.
12430 * gdb.base/cond-expr.exp: Ditto.
12431 * gdb.base/condbreak.exp: Ditto.
12432 * gdb.base/cursal.exp: Ditto.
12433 * gdb.base/cvexpr.exp: Ditto.
12434 * gdb.base/default.exp: Ditto.
12435 * gdb.base/del.exp: Ditto.
12436 * gdb.base/detach.exp: Ditto.
12437 * gdb.base/display.exp: Ditto.
12438 * gdb.base/ena-dis-br.exp: Ditto.
12439 * gdb.base/eval-skip.exp: Ditto.
12440 * gdb.base/foll-fork.exp: Ditto.
12441 * gdb.base/foll-vfork.exp: Ditto.
12442 * gdb.base/frame-args.exp: Ditto.
12443 * gdb.base/funcargs.exp: Ditto.
12444 * gdb.base/gcore-buffer-overflow.exp: Ditto.
12445 * gdb.base/gdbvars.exp: Ditto.
12446 * gdb.base/help.exp: Ditto.
12447 * gdb.base/ifelse.exp: Ditto.
12448 * gdb.base/included.exp: Ditto.
12449 * gdb.base/list.exp: Ditto.
12450 * gdb.base/macscp.exp: Ditto.
12451 * gdb.base/maint.exp: Ditto.
12452 * gdb.base/multi-fork.exp: Ditto.
12453 * gdb.base/overlays.exp: Ditto.
12454 * gdb.base/page.exp: Ditto.
12455 * gdb.base/pending.exp: Ditto.
12456 * gdb.base/pointers.exp: Ditto.
12457 * gdb.base/pr11022.exp: Ditto.
12458 * gdb.base/prelink.exp: Ditto.
12459 * gdb.base/printcmds.exp: Ditto.
12460 * gdb.base/psymtab.exp: Ditto.
12461 * gdb.base/randomize.exp: Ditto.
12462 * gdb.base/relational.exp: Ditto.
12463 * gdb.base/relocate.exp: Ditto.
12464 * gdb.base/remote.exp: Ditto.
12465 * gdb.base/sepdebug.exp: Ditto.
12466 * gdb.base/set-lang-auto.exp: Ditto.
12467 * gdb.base/setshow.exp: Ditto.
12468 * gdb.base/setvar.exp: Ditto.
12469 * gdb.base/signals.exp: Ditto.
12470 * gdb.base/signull.exp: Ditto.
12471 * gdb.base/sigstep.exp: Ditto.
12472 * gdb.base/sizeof.exp: Ditto.
12473 * gdb.base/solib-disc.exp: Ditto.
12474 * gdb.base/store.exp: Ditto.
12475 * gdb.base/structs.exp: Ditto.
12476 * gdb.base/structs2.exp: Ditto.
12477 * gdb.base/subst.exp: Ditto.
12478 * gdb.base/term.exp: Ditto.
12479 * gdb.base/trace-commands.exp: Ditto.
12480 * gdb.base/unwindonsignal.exp: Ditto.
12481 * gdb.base/valgrind-db-attach.exp: Ditto.
12482 * gdb.base/varargs.exp: Ditto.
12483 * gdb.base/watch-cond.exp: Ditto.
12484 * gdb.base/watch_thread_num.exp: Ditto.
12485 * gdb.base/watchpoint-cond-gone.exp: Ditto.
12486 * gdb.base/watchpoint.exp: Ditto.
12487 * gdb.base/whatis-exp.exp: Ditto.
12488
f8d3bf8f
MS
124892010-06-01 Michael Snyder <msnyder@vmware.com>
12490
12491 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
12492 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
12493 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
12494 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
12495 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
12496 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
12497 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
12498 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
12499 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
12500 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
12501 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
12502 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
12503 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
12504 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
12505 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
12506
3f9e0d32
JK
125072010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12508
12509 * gdb.base/commands.exp (begin commands on watch): Remove excessive
12510 trailing newline.
12511 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
12512 * gdb.java/jmisc.exp (p *args\n): Rename to ...
12513 (p *args): ... here and remove excessive trailing newline.
12514
f629457d
JB
125152010-05-31 Joel Brobecker <brobecker@adacore.com>
12516
12517 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
12518
09eef106
JK
125192010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
12520
12521 Accept the new Linux kernel "t (tracing stop)" string.
12522 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
12523 Update comment.
12524 (state_wait) <T (tracing stop)>: New.
12525 (main): Update the state_wait expect string.
12526
94f31136
PA
125272010-05-28 Pedro Alves <pedro@codesourcery.com>
12528
12529 * limits.c, limits.exp: Delete files.
12530 * Makefile.in (clean mostlyclean): Adjust.
12531 * tracecmd.exp: Adjust.
12532
096554ab
JK
125332010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12534
12535 * gdb.base/tui-layout.exp: New.
12536
27d3a1a2 125372010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 12538
889bf7c5 12539 * gdb.reverse/break-precsave.exp:
bcd2dc50 12540 Replace uses of send_gdb / gdb_expect.
889bf7c5 12541 * gdb.reverse/break-reverse.exp:
bcd2dc50 12542 Replace uses of send_gdb / gdb_expect.
889bf7c5 12543 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 12544 Replace uses of send_gdb / gdb_expect.
889bf7c5 12545 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 12546 Replace uses of send_gdb / gdb_expect.
889bf7c5 12547 * gdb.reverse/finish-precsave.exp:
bcd2dc50 12548 Replace uses of send_gdb / gdb_expect.
889bf7c5 12549 * gdb.reverse/finish-reverse.exp:
bcd2dc50 12550 Replace uses of send_gdb / gdb_expect.
889bf7c5 12551 * gdb.reverse/i386-precsave.exp:
bcd2dc50 12552 Replace uses of send_gdb / gdb_expect.
889bf7c5 12553 * gdb.reverse/i386-reverse.exp:
bcd2dc50 12554 Replace uses of send_gdb / gdb_expect.
889bf7c5 12555 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 12556 Replace uses of send_gdb / gdb_expect.
889bf7c5 12557 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 12558 Replace uses of send_gdb / gdb_expect.
889bf7c5 12559 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 12560 Replace uses of send_gdb / gdb_expect.
889bf7c5 12561 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 12562 Replace uses of send_gdb / gdb_expect.
889bf7c5 12563 * gdb.reverse/machinestate.exp:
bcd2dc50 12564 Replace uses of send_gdb / gdb_expect.
889bf7c5 12565 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 12566 Replace uses of send_gdb / gdb_expect.
889bf7c5 12567 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 12568 Replace uses of send_gdb / gdb_expect.
889bf7c5 12569 * gdb.reverse/solib-precsave.exp:
bcd2dc50 12570 Replace uses of send_gdb / gdb_expect.
889bf7c5 12571 * gdb.reverse/solib-reverse.exp:
bcd2dc50 12572 Replace uses of send_gdb / gdb_expect.
889bf7c5 12573 * gdb.reverse/step-precsave.exp:
bcd2dc50 12574 Replace uses of send_gdb / gdb_expect.
889bf7c5 12575 * gdb.reverse/step-reverse.exp:
bcd2dc50 12576 Replace uses of send_gdb / gdb_expect.
889bf7c5 12577 * gdb.reverse/until-precsave.exp:
bcd2dc50 12578 Replace uses of send_gdb / gdb_expect.
889bf7c5 12579 * gdb.reverse/until-reverse.exp:
bcd2dc50 12580 Replace uses of send_gdb / gdb_expect.
889bf7c5 12581 * gdb.reverse/watch-precsave.exp:
bcd2dc50 12582 Replace uses of send_gdb / gdb_expect.
889bf7c5 12583 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
12584 Replace uses of send_gdb / gdb_expect.
12585
3def43e0
JK
125862010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12587
12588 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
12589 excessive newline.
12590
27d3a1a2 125912010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
12592
12593 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
12594 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
12595 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
12596 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
12597 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
12598 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
12599 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
12600 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
12601 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
12602 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
12603 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
12604 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
12605 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
12606 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
12607 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
12608 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
12609 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
12610 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
12611 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 12612
27d3a1a2 126132010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 12614
22454424
MS
12615 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
12616 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
12617
12618 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
12619 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
12620 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
12621
889bf7c5 12622 * gdb.reverse/consecutive-reverse.exp:
22454424 12623 Replace uses of send_gdb / gdb_expect.
889bf7c5 12624 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
12625 Replace uses of send_gdb / gdb_expect.
12626
12627 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
12628 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
12629 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 12630 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
12631 Replace uses of send_gdb / gdb_expect.
12632 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
12633 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
12634 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
12635 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
12636 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
12637 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
12638 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
12639 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
12640 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
12641
126422010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 12643
22454424 12644 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 12645
22454424 12646 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 12647
22454424
MS
12648 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
12649 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
12650 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
12651 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
12652 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
12653 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
12654 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
12655 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
12656 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 12657
6e5f2c59
TT
126582010-05-25 Tom Tromey <tromey@redhat.com>
12659
12660 * gdb.base/macscp.exp: Add missing space after setup_kfail.
12661
bbc8b958
TT
126622010-05-25 Tom Tromey <tromey@redhat.com>
12663
12664 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
12665 argument order.
12666 * gdb.base/macscp.exp: Fix setup_kfail argument order.
12667 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
12668 order.
12669 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
12670 order.
12671 * gdb.base/call-sc.exp (setup_kfails): Remove.
12672 (setup_compiler_kfails): Remove.
12673 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
12674 argument order.
12675 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
12676 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
12677 (advancei): Fix setup_kfail argument order.
12678 * gdb.base/radix.exp: Fix setup_kfail argument order.
12679 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
12680 order.
12681 * gdb.base/structs.exp (setup_kfails): Remove.
12682 (setup_compiler_kfails): Fix setup_kfail argument order.
12683 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
12684 order.
12685 * gdb.java/jmain.exp: Fix setup_kfail argument order.
12686 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
12687 setup_kfail argument order.
12688 * gdb.cp/overload.exp: Fix setup_kfail argument order.
12689
83d1babf
TT
126902010-05-25 Tom Tromey <tromey@redhat.com>
12691
12692 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
12693
6acb16a2
MS
126942010-05-25 Michael Snyder <msnyder@vmware.com>
12695
12696 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
12697 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
12698 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
12699 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
12700 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
12701 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
12702 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
12703 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
12704 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
12705 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
12706 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
12707 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
12708 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
12709 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
12710 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
12711 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
12712 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
12713 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
12714 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
12715 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
12716 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
12717 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
12718 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
12719 * gdb.base/default.exp: Replace send_gdb with gdb_test.
12720 * gdb.base/define.exp: Replace send_gdb with gdb_test.
12721 * gdb.base/display.exp: Replace send_gdb with gdb_test.
12722 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
12723 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
12724 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
12725 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
12726 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
12727 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
12728 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
12729 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
12730 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
12731 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
12732 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
12733 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
12734 * gdb.base/help.exp: Replace send_gdb with gdb_test.
12735 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
12736 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
12737 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
12738 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
12739 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
12740 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
12741 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
12742 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 12743 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
12744
127452010-05-25 Doug Evans <dje@google.com>
12746
12747 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
12748 gdb.string_to_argv.
ad3986f0 12749
d3b1e874
TT
127502010-05-21 Tom Tromey <tromey@redhat.com>
12751
12752 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
12753 Call it.
12754 * gdb.dwarf2/pieces.S: Update.
12755 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
12756
cb826367
TT
127572010-05-21 Tom Tromey <tromey@redhat.com>
12758
12759 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
12760 Call it.
12761 * gdb.dwarf2/pieces.c (struct C): New.
12762 (f6): New function.
12763 * gdb.dwarf2/pieces.S: Replace.
12764
74de6778
TT
127652010-05-21 Tom Tromey <tromey@redhat.com>
12766
12767 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
12768 Call it.
12769
afd74c5f
TT
127702010-05-21 Tom Tromey <tromey@redhat.com>
12771
12772 * gdb.dwarf2.pieces.exp: New file.
12773 * gdb.dwarf2.pieces.S: New file.
12774 * gdb.dwarf2.pieces.c: New file.
12775
a7b75dfd 127762010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 12777 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
12778
12779 * lib/gdb.exp (gdb_test_no_output): New function.
12780 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
12781 when testing commands that should produce no output.
12782
c81c812a
JB
127832010-05-17 Joel Brobecker <brobecker@adacore.com>
12784
12785 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
12786 parameter that we want to watch being a constant.
12787
0cce5bd9
JB
127882010-05-17 Joel Brobecker <brobecker@adacore.com>
12789
12790 * gdb.ada/cond_lang: New testcase.
12791
47050449
JB
127922010-05-17 Joel Brobecker <brobecker@adacore.com>
12793
12794 * lib/gdb.exp (banned_variables): New variable/constant.
12795 (gdb_init): Add write trace on variables listed in banned_variables.
12796 (gdb_finish): Remove write traces on variables listed in
12797 banned_variables.
12798
77c01586
JB
127992010-05-17 Joel Brobecker <brobecker@adacore.com>
12800
12801 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
12802 * gdb.cp/koenig.exp: Likewise.
12803
88d4aea7
PM
128042010-05-14 Phil Muldoon <pmuldoon@redhat.com>
12805
889bf7c5 12806 PR python/11482
88d4aea7
PM
12807
12808 * gdb.python/py-value.exp (test_value_hash): New function.
12809
f5a010c0
PM
128102010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
12811
12812 PR exp/11530.
12813 * gdb.base/gdb11530.c: New file.
12814 * gdb.base/gdb11530.exp: New file.
12815
8ef4892f
JK
128162010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12817
12818 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
12819 * gdb.dwarf2/dw2-modula2-self-type.S: New.
12820
7322dca9
SW
128212010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
12822
12823 * gdb.cp/koenig.exp: New test.
12824 * gdb.cp/koenig.cc: New test program.
12825
02e7ea18
JB
128262010-05-05 Joel Brobecker <brobecker@adacore.com>
12827
12828 Remove the use of prms_id and bug_id throughout the testsuite.
12829
e1c34c5d
PM
128302010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
12831
12832 PR exp/11349.
12833 * testsuite/gdb.cp/ref-types.exp: Add test to examine
12834 use a reference local variable.
12835
8e1d0c49
JK
128362010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12837
12838 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
12839 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
12840 variable different_dir. Move debugfile into a full directory pathname
12841 under DIFFERENT_DIR.
12842 * lib/gdb.exp (separate_debug_filename): Remove.
12843 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
12844 variable debug_dir and mkdir of it. Update function comments.
12845
e66408ed
PA
128462010-04-29 Pedro Alves <pedro@codesourcery.com>
12847
12848 PR gdb/11557
12849
12850 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
12851 files.
12852
d7b32ed3
PM
128532010-04-29 Phil Muldoon <pmuldoon@redhat.com>
12854
889bf7c5 12855 * gdb.python/py-param.exp: New File.
d7b32ed3 12856
6aecb9c2
JB
128572010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
12858
12859 * gdb.base/default.exp: Fix "set language" test.
12860
bdf92a1c
PM
128612010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
12862
12863 PR breakpoints/11531.
12864 * gdb.base/gdb11531.c: New file.
12865 * gdb.base/gdb11531.exp: New file.
12866
3f172e24
TT
128672010-04-26 Tom Tromey <tromey@redhat.com>
12868
12869 * gdb.base/completion.exp: Add tests for completion and deprecated
12870 commands.
12871
64af4c92
JK
128722010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12873
12874 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
12875 (print /x char_array): Escape curly brackets.
12876
492928e4
JK
128772010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12878
12879 Fix deadlock on looped list of loaded shared objects.
12880 * gdb.base/solib-corrupted.exp: New.
12881
66d09542
DE
128822010-04-23 Doug Evans <dje@google.com>
12883
12884 * gdb.python/py-section-script.c: New file.
12885 * gdb.python/py-section-script.exp: New file.
12886 * gdb.python/py-section-script.py: New file.
12887
8bd10a10
CM
128882010-04-20 Chris Moller <cmoller@redhat.com>
12889
12890 PR 10179
12891
12892 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
12893 * gdb.base/pr10179-a.c:
12894 * gdb.base/pr10179-b.c:
12895 * gdb.base/pr10179.exp: New files.
12896
c0201579
JK
128972010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12898
12899 Fix crashes on dangling display expressions.
12900 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
12901 is SEP.
12902 (lib_flags): Remove the "debug" keyword.
12903 (libsepdebug): New variable for iterating new loop.
12904 (save_pf_prefix): New variable wrapping the loop.
12905 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
12906 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
12907
793b0ff8
PM
129082010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12909
12910 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
12911
097f51f7
PM
129122010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12913
12914 PR stabs/11479.
12915 * gdb.stabs/gdb11479.exp: New file.
12916 * gdb.stabs/gdb11479.c: New file.
12917
9a22f0d0
PM
129182010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
12919
12920 * gdb.base/charset.c (Strin16, String32): New variables.
12921 * gdb.base/charset.exp (gdb_test): Test correct display
12922 of 16 or 32 bit strings.
12923
129242010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
12925
12926 PR 9167
12927 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
12928 * gdb.cp/pr9167.cc: New file.
12929 * gdb.cp/pr9167.exp: New file.
12930
12931
6e354e5e
PM
129322010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
12933
12934 PR pascal/11492.
12935 * gdb.pascal/gdb11492.pas: New file.
12936 * gdb.pascal/gdb11492.exp: New file.
12937
be942545
JB
129382010-04-20 Joel Brobecker <brobecker@adacore.com>
12939
1667e6e3 12940 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 12941
0c3acc09
JB
129422010-04-20 Joel Brobecker <brobecker@adacore.com>
12943
12944 * gdb.ada/dyn_loc: New testcase.
12945
ec31cde5
CM
129462010-04-20 Chris Moller <cmoller@redhat.com>
12947
12948 PR 10867
889bf7c5 12949
ec31cde5
CM
12950 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
12951 * gdb.cp/pr10687.cc: New file.
12952 * gdb.cp/pr10687.exp: New file.
12953
12954
ce4b0682
SDJ
129552010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12956 Sergio Durigan Junior <sergiodj@redhat.com>
12957
12958 * gdb.fortran/logical.exp: New testcase.
12959 * gdb.fortran/logical.f90: New file.
12960
3436961f
DE
129612010-04-19 Doug Evans <dje@google.com>
12962
12963 * gdb.base/help.exp (help source): Update expected output.
12964
4d836c09
JK
129652010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12966
12967 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
12968 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
12969 gdb_exit and return.
12970 (executable): New variable.
12971 (binfile): Use it.
12972
6149aea9
PA
129732010-04-19 Pedro Alves <pedro@codesourcery.com>
12974
12975 PR breakpoints/8554.
12976
12977 * gdb.trace/save-trace.exp: Adjust.
12978
ed41462c
L
129792010-04-17 H.J. Lu <hongjiu.lu@intel.com>
12980
12981 PR corefiles/11511
12982 * gdb.arch/system-gcore.exp: New.
12983 * gdb.arch/gcore.c: Likewise.
12984
3f7b2faa
DE
129852010-04-15 Doug Evans <dje@google.com>
12986
fa33c3cd
DE
12987 * gdb.python/py-progspace.c: New file.
12988 * gdb.python/py-progspace.exp: New file.
12989
3f7b2faa
DE
12990 * gdb.base/source.exp: Add tests for "source -s".
12991
79f283fe
PM
129922010-04-14 Phil Muldoon <pmuldoon@redhat.com>
12993
12994 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
12995 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
12996 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
12997 * gdb.python/py-mi.exp: New test for to_string returning None.
12998
fc8eb08a
PM
129992010-04-12 Phil Muldoon <pmuldoon@redhat.com>
13000
13001 * gdb.python/py-breakpoint.c: Make result global.
13002
26e197f6
JK
130032010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13004
13005 Fix non-GNU make compatibility.
13006 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
13007
adc36818
PM
130082010-04-09 Phil Muldoon <pmuldoon@redhat.com>
13009
13010 * gdb.python/py-breakpoint.exp: New File.
13011 * gdb.python/py-breakpoint.C: Ditto.
13012
64e17368
SS
130132010-04-08 Stan Shebs <stan@codesourcery.com>
13014
13015 * gdb.trace/actions.exp: Clear default-collect.
13016 * gdb.trace/save-trace.exp: Clear default-collect.
13017
fff5cc64
PM
130182010-04-08 Phil Muldoon <pmuldoon@redhat.com>
13019
13020 * gdb.python/py-value: Add null string variable.
13021 (test_lazy_string): Test zero length, NULL address lazy
13022 strings.
13023
a055a187
L
130242010-04-07 H.J. Lu <hongjiu.lu@intel.com>
13025
13026 * gdb.arch/i386-avx.c: New.
13027 * gdb.arch/i386-avx.exp: Likewise.
13028
13029 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
13030
96e39866
DE
130312010-04-06 Doug Evans <dje@google.com>
13032
13033 * gdb.base/source-test.gdb: New file.
13034 * gdb.base/source.exp: Test source -v.
13035
5984a431
UW
130362010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13037
13038 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
13039
ec8a089a
PM
130402010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
13041
13042 * gdb.stabs/aout.sed: Convert all backslash to double backslash
13043 within one line, unless it is followed by a double quote.
13044 * gdb.stabs/hppa.sed: Idem.
13045 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
13046 * gdb.stabs/weird.exp: Check for correct parsing of
13047 char and string constants.
ec8a089a
PM
13048 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
13049 in .stabs to .stabx substitution.
13050
fce3c1f0
SS
130512010-04-05 Stan Shebs <stan@codesourcery.com>
13052
13053 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
13054 constant global.
13055 * gdb.trace/tfile.exp: Try to print them.
13056
d77f58be
SS
130572010-04-04 Stan Shebs <stan@codesourcery.com>
13058
13059 * gdb.base/completion.exp: Update for new "info watchpoints".
13060 * gdb.base/default.exp: Ditto.
13061 * gdb.base/help.exp: Ditto.
13062 * gdb.base/watchpoint.exp: Ditto.
13063 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 13064
af54718e
SS
130652010-04-04 Stan Shebs <stan@codesourcery.com>
13066
13067 * gdb.trace/tfile.exp: Sharpen tfind test.
13068
74d1f91e
JK
130692010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13070
13071 * gdb.base/break-entry.exp: New.
13072
eb8e76db 130732010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 13074 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
13075
13076 * gdb.reverse/i386-sse-reverse.exp: New file.
13077 * gdb.reverse/i386-sse-reverse.c: New file.
13078
bf65cad8
PA
130792010-04-02 Pedro Alves <pedro@codesourcery.com>
13080
13081 * gdb.trace/tfind.exp: Adjust expected disassembly output.
13082
fff87407
SS
130832010-04-01 Stan Shebs <stan@codesourcery.com>
13084
13085 * gdb.trace/actions.exp: Tweak expected output.
13086 * gdb.trace/while-stepping.exp: Tweak expected output.
13087
fe01d668
L
130882010-04-01 H.J. Lu <hongjiu.lu@intel.com>
13089
13090 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
13091
86b17b60
PA
130922010-04-01 Pedro Alves <pedro@codesourcery.com>
13093
13094 * gdb.base/commands.exp: Adjust.
13095 * gdb.cp/extern-c.exp: Adjust.
13096
2c58c0a9
PA
130972010-04-01 Pedro Alves <pedro@codesourcery.com>
13098
13099 * gdb.trace/collection.c (local_test_func): Define a local struct,
13100 and instanciate it.
13101
0db9b91c
PA
131022010-04-01 Pedro Alves <pedro@codesourcery.com>
13103
13104 * gdb.trace/collection.exp (gdb_collect_args_test)
13105 (gdb_collect_argarray_test): XFAIL the tests that assume the
13106 argarray argument's elements are collected.
13107
8072405b
JK
131082010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
13109
13110 * gdb.dwarf2/dw2-bad-parameter-type.exp,
13111 gdb.dwarf2/dw2-bad-parameter-type.S: New.
13112
8bf6485c
SS
131132010-03-31 Stan Shebs <stan@codesourcery.com>
13114
13115 * gdb.trace/save-trace.exp: Test save/restore of default-collect
13116 and tracepoint conditionals.
13117 (gdb_verify_tracepoints): Delete unused return.
13118
fd7f724a
KS
131192010-03-26 Keith Seitz <keiths@redhat.com>
13120
13121 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
13122 appear in the output before main.
13123 Remove KFAIL for gdb/2215 aka bz 9320.
13124
8d9e7719
DE
131252010-03-30 Doug Evans <dje@google.com>
13126
0906dd0b
DE
13127 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
13128 by dejagnu.
13129 * gdb.arch/amd64-dword.exp: Ditto.
13130
8d9e7719
DE
13131 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
13132 match.
13133 (break printf): Ditto.
13134
1da644f0
SW
131352010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
13136
13137 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
13138 gcc < 4.4.
13139 * gdb.cp/shadow.exp: Ditto.
13140
a8121990
PA
131412010-03-29 Pedro Alves <pedro@codesourcery.com>
13142
13143 * gdb.trace/collection.exp (run_trace_experiment): Make sure
13144 "tstart" is silent.
13145
6e79d367
PA
131462010-03-29 Pedro Alves <pedro@codesourcery.com>
13147
13148 * gdb.trace/collection.exp (executable): New.
13149 (binfile): Use it.
13150 (fpreg, spreg, pcreg): New.
13151 (test_register): Use gdb_test_multiple. Pass /x to print.
13152 (prepare_for_trace_test): New.
13153 (run_trace_experiment): Use "continue", not gdb_run_cmd.
13154 (gdb_collect_args_test, gdb_collect_argstruct_test)
13155 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
13156 prepare_for_trace_test.
13157 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
13158 fpreg, spreg and pcreg.
13159 (gdb_collect_expression_test, gdb_collect_globals_test): Use
13160 prepare_for_trace_test.
13161 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
13162 try to detect tracing support here. Don't set breakpoints at
13163 `begin' or `end' here.
13164 <global scope>: Use clean_restart. Run to main before checking
13165 for tracing support. Check for for tracing support here.
13166
09248348
JK
131672010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13168
13169 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
13170 " as $displacement" to "seen displacement message".
13171
d350db38
PA
131722010-03-28 Pedro Alves <pedro@codesourcery.com>
13173
13174 * gdb.trace/while-dyn.exp (executable): New variable.
13175 (binfile): Use it.
13176 (test_while_stepping): New function. Move most tests here. Call
13177 it once for each of the while-stepping, stepping and ws aliases.
13178
907af001
UW
131792010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13180
13181 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
13182 that do not provide the tagless_struct type name at all.
13183 (test_print_anon_union): Do not check value of uninitialized
13184 union member. Do not use cp_test_ptype_class, so we can accept
13185 "long" as well as "long int".
13186
610197fd
PA
131872010-03-26 Pedro Alves <pedro@codesourcery.com>
13188
13189 * gdb.trace/tfile.c (tohex, bin2hex): New.
13190 (write_error_trace_file): Hexify error description.
13191
6c28cbf2
SS
131922010-03-25 Stan Shebs <stan@codesourcery.com>
13193
13194 * gdb.trace/tfile.c: Generate an additional trace file, improve
13195 portability.
13196 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
13197 files in a better way.
13198
e62b8c7e
KS
131992010-03-25 Keith Seitz <keiths@redhat.com>
13200
13201 * gdb.java/jprint.exp: XFAIL printing of static class members
13202 because of GCC debuginfo problem.
13203
82ccf5a5
JK
132042010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13205
13206 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
13207
293e2f9e
DJ
132082010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
13209
13210 * gdb.base/completion.exp: Allow long instead of long int.
13211 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
13212 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
13213 variable p.
13214 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
13215 * gdb.base/pointers.exp: Allow long instead of long int.
13216 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
13217 * gdb.base/step-line.exp: Allow a directory before the source file name.
13218
95a42b64
TT
132192010-03-24 Tom Tromey <tromey@redhat.com>
13220
13221 PR breakpoints/9352:
13222 * gdb.base/default.exp: Update.
13223 * gdb.base/commands.exp: Update.
13224 * gdb.cp/extern-c.exp: Test setting commands on multiple
13225 breakpoints at once.
13226
2390201f
DJ
132272010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
13228
13229 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
13230 if gdb,nosignals.
13231 * gdb.base/watchpoints.c: Do not include unnecessary headers.
13232 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
13233 exited".
13234
8c9a6790
SS
132352010-03-24 Stan Shebs <stan@codesourcery.com>
13236
13237 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
13238
a6c727b2
DJ
132392010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
13240
13241 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
13242 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
13243 argument. Handle "short" and "long".
13244 (Top level): Pass overprototyped output for old_fptr and xptr.
13245
4dfd5423
PA
132462010-03-23 Pedro Alves <pedro@codesourcery.com>
13247
13248 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
13249 format strings and add casts to avoid compiler warnings.
13250
132512010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
13252
13253 * lib/trace-support.exp (gdb_trace_setactions):
13254 Don't expect whitespace after ">" prompt.
13255 * gdb.trace/actions.exp: Adjust for output changes.
13256 * gdb.trace/while-stepping.exp: Likewise.
13257
c847d045
JK
132582010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13259
13260 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
13261 and r157645).
13262
5f717f1d
JK
132632010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13264
13265 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
13266 New.
13267
7d6d51d5
DJ
132682010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
13269
13270 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
13271 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
13272
3b11a015
SS
132732010-03-19 Stan Shebs <stan@codesourcery.com>
13274
13275 * gdb.trace/ax.exp: New file.
13276
d7d158ed
DE
132772010-03-19 Doug Evans <dje@google.com>
13278
6bb85cd1
DE
13279 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
13280 output from gcc.
13281
d7d158ed
DE
13282 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
13283 named /usr/sbin/prelink<foo>.
13284
4daf5ac0
SS
132852010-03-18 Stan Shebs <stan@codesourcery.com>
13286
13287 * gdb.trace/circ.exp: Test circular-trace-buffer.
13288 * gdb.trace/tfile.exp: Update tstatus test.
13289
e8d05480
JB
132902010-03-18 Joel Brobecker <brobecker@adacore.com>
13291
13292 * gdb.dwarf2/dw2-anonymous-func.S: New file.
13293 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
13294
441b986a
UW
132952010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13296
13297 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
13298
4247603b
PA
132992010-03-18 Pedro Alves <pedro@codesourcery.com>
13300
13301 * gdb.base/default.exp: Adjust the expected output of the finish
13302 and until commands when the inferior is not being run.
13303
13387711
SW
133042010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
13305
13306 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
13307 * gdb.cp/nsusing.exp: Ditto.
13308
6e31430b
TT
133092010-03-15 Tom Tromey <tromey@redhat.com>
13310
13311 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
13312 * gdb.cp/userdef.cc (operator==): New function.
13313 (main): New locals mem1, mem2.
13314
e2d69cb5
JZ
133152010-03-15 Jie Zhang <jie@codesourcery.com>
13316
13317 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
13318 Declare and use new loadtimeout variable.
13319
f572f0a9
DJ
133202010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
13321
13322 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
13323 Use gdb_load later.
13324
51f4c0b0
PA
133252010-03-14 Pedro Alves <pedro@codesourcery.com>
13326
13327 * gdb.base/solib-disc.c (main): Make format of fprintf a string
13328 literal. Add missing endlines to prints to stderr.
13329
1c809c68
TT
133302010-03-12 Tom Tromey <tromey@redhat.com>
13331
13332 PR c++/9708:
13333 * gdb.cp/m-static.exp: Add regression test.
13334 * gdb.cp/m-static.cc (method): New method.
13335 (main): Call it.
13336
00ae8fef
SW
133372010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
13338
13339 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
13340 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
13341
759f0f0b
PA
133422010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
13343
21e24d21
PA
13344 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
13345
133462010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
13347
759f0f0b
PA
13348 * lib/gdb.exp (skip_stl_tests): New.
13349 (gdb_compile): Symbian needs -ldl.
13350 (shlib_target_file): New.
13351 (shlib_symbol_file): New.
13352 (gdb_load_shlibs): Use shlib_target_file.
13353 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
13354 * gdb.cp/exception.exp: Use skip_stl_tests.
13355 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
13356 * gdb.cp/try_catch.exp: Use skip_stl_tests.
13357 * gdb.cp/mb-templates.exp: Ditto.
13358 * gdb.base/commands.exp: Relax regexes.
13359 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
13360 shlib_target_file and shlib_symbol_file.
13361 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
13362 sections.
13363 * gdb.base/ending-run.exp: Accept E32Main for symbian.
13364 * gdb.base/solib-disc.exp: Use
13365 shlib_target_file and shlib_symbol_file.
13366 * gdb.base/unload.exp: Don't skip on symbian. Use
13367 shlib_target_file and shlib_symbol_file.
13368 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
13369
6a8f2671 133702010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 13371
6a8f2671
PA
13372 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
13373 * gdb.trace/report.exp: Adjust for x86 and x86_64.
13374 Issue a tfind end before looking for a tracepoint frame.
13375 * gdb.trace/tfind.exp: Adjust tstatus output.
13376 Adjust disassembly output.
13377 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
13378
ccf26247
JK
133792010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13380
13381 * gdb.base/break-interp.exp: Create new displacement parameter value
13382 for the test_ld calls.
13383 (reach): New parameter displacement, verify its content. New push of
13384 pf_prefix "reach-$func:". Import global expect_out.
13385 (test_core): New parameter displacement, verify its content. New push
13386 of pf_prefix "core:". New command "set verbose on". Import global
13387 expect_out.
13388 (test_attach): New parameter displacement, verify its content. New
13389 push of pf_prefix "attach:". New command "set verbose on". Import
13390 global expect_out.
13391 (test_ld): New parameter displacement, pass it to the reach, test_core
13392 and test_attach calls and verify its content in the "ld.so exit" test.
13393 * gdb.base/prelink.exp: Remove gdb_exit and final return.
13394 (prelink): Update expected text, use gdb_test.
13395
e469c7fb
DE
133962010-03-10 Doug Evans <dje@google.com>
13397
13398 * gdb.base/checkpoint.exp: Fix comment.
13399 Lengthen timeout while doing >600 checkpoints test.
13400 Rename duplicate "kill all one" test to keep test names unique.
13401
60e1c644
PA
134022010-03-10 Pedro Alves <pedro@codesourcery.com>
13403
13404 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
13405
cec808ec
KS
134062010-03-08 Keith Seitz <keiths@redhat.com>
13407
889bf7c5
PA
13408 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
13409 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
13410 (dm_type_long): New function.
13411 (dm_type_unsigned_short): New function.
13412 (dm_type_unsigned_long): New function.
13413 (myint): New typedef.
13414 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
13415 long, unsigned shor and long, operator char*, and typedef.
13416 (test_lookup_operator_functions): Add operator char* test.
13417 (test_paddr_operator_functions): Likewise.
13418 (test_paddr_overloaded_functions): Use probe values for
13419 short, long, and unsigned short and long.
13420 (test_paddr_hairy_functions): If the demangler probe detected
13421 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
13422 demangler.
13423 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
13424 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
13425 and "print null_pmf".
13426 Add test "ptype a.*pmf".
13427 * gdb.cp/overload.exp: Allow optional "int" to appear with
13428 "short" and "long".
13429 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
13430 long expect value for men_overload1arg.
13431 Allow "int" to appear with "short" and "long".
13432 When testing "info break", add argument for main (void).
13433 Also allow "int" to appear with "short" and "long".
13434 Ditto with "unsigned" and "long long".
cec808ec
KS
13435 * gdb.java/jmain.exp: Do not enclose methods names in single
13436 quotes.
13437 * gdb.java/jmisc.exp: Likewise.
13438 * gdb.java/jprint.exp: Likewise.
13439 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
13440
13441 From Jan Kratochvil <jan.kratochvil@redhat.com>:
13442 * gdb.cp/exception.exp (backtrace after first throw)
13443 (backtrace after second throw): Allow a namespace before __cxa_throw.
13444 (backtrace after first catch, backtrace after second catch): Allow
13445 a namespace before __cxa_begin_catch.
13446
13447 * gdb.cp/cpexprs.exp: New file.
13448 * gdb.cp/cpexprs.cc: New file.
13449
13450 From Daniel Jacobowitz <dan@codesourcery.com>
13451 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
13452 to use string_to_regexp.
13453 (ctor, dtor): New functions. Use them to match constructor
13454 and destructor function types.
13455 (Top level): Use runto_main.
13456
f870a310
TT
134572010-03-05 Tom Tromey <tromey@redhat.com>
13458
13459 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
13460 gdb.target_charset.
13461 (pp_ns.to_string): Likewise.
13462
0c199f28
KS
134632010-03-04 Keith Seitz <keiths@redhat.com>
13464
13465 * gdb.cp/overload.exp: Test that the filename portion of a linespec
13466 can be quoted. Test that both the filename and function/line
13467 portions can be quoted at the same time.
13468
c7437ca6
PA
134692010-03-04 Pedro Alves <pedro@codesourcery.com>
13470
13471 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
13472
b111b805
DE
134732010-03-03 Doug Evans <dje@google.com>
13474
24486cb7
DE
13475 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
13476 libc contains libpthread.
13477
b111b805
DE
13478 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
13479 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
13480 of gdb_compile. Add another pattern to match android backtrace.
13481
a0e0ef55
TT
134822010-03-03 Tom Tromey <tromey@redhat.com>
13483
13484 PR gdb/11345:
13485 * gdb.base/printcmds.exp (test_printf): Add test.
13486
1ba53b71
L
134872010-03-02 H.J. Lu <hongjiu.lu@intel.com>
13488
13489 * gdb.arch/amd64-byte.exp: New.
13490 * gdb.arch/amd64-dword.exp: Likewise.
13491 * gdb.arch/amd64-pseudo.c: Likewise.
13492 * gdb.arch/amd64-word.exp: Likewise.
13493 * gdb.arch/i386-byte.exp: Likewise.
13494 * gdb.arch/i386-pseudo.c: Likewise.
13495 * gdb.arch/i386-word.exp: Likewise.
13496
f5dff777
DJ
134972010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
13498
13499 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
13500 types. Add structreg, bitfields, and flags registers.
13501 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
13502 registers.
13503
90884b2b
L
135042010-03-01 H.J. Lu <hongjiu.lu@intel.com>
13505
13506 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
13507 (load_description): Set architecture if defined.
13508
dc00d89f
PM
135092010-02-28 Phil Muldoon <pmuldoon@redhat.com>
13510
13511 * gdb.python/py-frame.exp: Add read_var block tests.
13512 * gdb.python/py-frame.c (block): New function.
13513
0e095b7e
JK
135142010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13515 Daniel Jacobowitz <dan@codesourcery.com>
13516
13517 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
13518
624f1a65
DM
135192010-02-25 David S. Miller <davem@davemloft.net>
13520
13521 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
13522 fix logic for setting all_syscalls_numbers.
13523
f3e9a817
PM
135242010-02-24 Phil Muldoon <pmuldoon@redhat.com>
13525
13526 * Makefile.in: Add py-block and py-symbol.
13527 * gdb.python/py-symbol.exp: New File.
13528 * gdb.python/py-symtab.exp: New File.
13529 * gdb.python/py-block.exp: New File.
13530 * gdb.python/py-symbol.c: New File.
13531 * gdb.python/py-block.c: New File.
13532
f6bbabf0
PM
135332010-02-24 Phil Muldoon <pmuldoon@redhat.com>
13534
13535 PR python/11314
13536 * lib/gdb.exp (skip_python_tests): New function.
13537 * gdb.python/py-cmd.exp: Use skip_python_tests.
13538 * gdb.python/py-frame.exp: Likewise.
13539 * gdb.python/py-function.exp: Likewise.
13540 * gdb.python/py-prettyprint.exp: Likewise.
13541 * gdb.python/py-template.exp: Likewise.
13542 * gdb.python/py-type.exp: Likewise.
13543 * gdb.python/py-value.exp: Likewise.
13544
85d721b8
PA
135452010-02-22 Pedro Alves <pedro@codesourcery.com>
13546
13547 PR9605
13548
13549 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
13550
48e32051
TT
135512010-02-19 Tom Tromey <tromey@redhat.com>
13552
13553 PR c++/8693, PR c++/9496:
13554 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
13555 regression tests.
13556
ac9c0048
JK
135572010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13558
13559 Fix compatibility with m68k as.
13560 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
13561 Use only /* comments */.
13562
57bb97a4
UW
135632010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13564
13565 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
13566 * configure: Regenerate.
13567
7d1bf85c
DJ
135682010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
13569
13570 * gdb.python/py-type.exp: Check for Python support.
13571
061b5285
PA
135722010-02-17 Pedro Alves <pedro@codesourcery.com>
13573
13574 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
13575 `regsub' syntax available.
13576
f8a8bc2c
PA
135772010-02-17 Pedro Alves <pedro@codesourcery.com>
13578
13579 * gdb.base/shmain.c (main): Remove printf call.
13580 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
13581 * gdb.base/unload.c (main): Make format of fprintf a string
13582 literal. Add missing endlines to prints to stderr.
13583 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
13584
6f451e5e
TT
135852010-02-17 Tom Tromey <tromey@redhat.com>
13586
13587 * gdb.java/jprint.java (jprint.props): New field.
13588 * gdb.java/jprint.exp (set_lang_java): Add regression test.
13589
12d79008
PA
135902010-02-17 Pedro Alves <pedro@codesourcery.com>
13591
ef801a0e 13592 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
13593 available.
13594
d252f7e5
DJ
135952010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13596
13597 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
13598 creation to support remote host testing.
13599
67bdab6c
DJ
136002010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13601
13602 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
13603 Recognize "command not found".
13604
bb391223
DJ
136052010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13606
13607 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
13608 single-stepping.
13609
70362913
DJ
136102010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13611
13612 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
13613 if arguments are not supported.
13614
493f3c00
DJ
136152010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13616
13617 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
13618 be const or non-const.
13619
8034c749
DJ
136202010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13621
13622 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
13623 mi_send_resuming_command to send -exec-continue.
13624
791dfb64
DJ
136252010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13626
13627 * gdb.base/list.exp (test_list_filename_and_function): Add test
13628 with single quotes.
13629 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
13630 matching.
13631 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
13632 Add KFAIL'd tests for PR gdb/11289.
13633
7c5fe868
DJ
136342010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13635
13636 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
13637
fdc498b8
DJ
136382010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13639
13640 * gdb.base/comp-dir/subdir/dummy.txt: New file.
13641 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
13642 a temporary directory.
13643
b519e2a6
DJ
136442010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13645
13646 * gdb.base/charset.exp: Use a single regular expression to match
13647 show host-charset and show target-charset output.
13648
74164c56
JK
136492010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13650
13651 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
13652 "Illegal process-id" expect string more exact.
13653 (attach to digits-starting nonsense is prohibited): New.
13654
701ed6dc
JK
136552010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13656
13657 * gdb.base/prelink.exp (set verbose on): New.
13658
889bf7c5 136592010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
13660
13661 * mi-reverse.exp: New file. Test for reverse option to the
13662 following MI commands: exec-continue, exec-finish, exec-next,
13663 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 13664
dadf0e9c
JB
136652010-02-09 Joel Brobecker <brobecker@adacore.com>
13666
13667 * gdb.ada/ptype_tagged_param: New testcase.
13668
714f19d5
TT
136692010-02-08 Tom Tromey <tromey@redhat.com>
13670
13671 PR c++/8017:
13672 * gdb.cp/overload.exp: Add tests.
13673 * gdb.cp/overload.cc (struct K): New.
13674 (namespace N): New.
13675 (main): Call new functions.
13676 (K::staticoverload): Define.
13677
889bf7c5 136782010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
13679
13680 PR gdb/10728
13681 * gdb.cp/pr10728-x.h: New file.
13682 * gdb.cp/pr10728-x.cc: New file.
13683 * gdb.cp/pr10728-y.cc: New file.
13684 * gdb.cp/pr10728.exp: New file.
13685 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
13686
889bf7c5 136872010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
13688
13689 PR gdb/9067
13690 * gdb.cp/pr9067.exp: New
13691 * gdb.cp/pr9067.cc: New
13692 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
13693
7b356089
JB
136942010-02-08 Joel Brobecker <brobecker@adacore.com>
13695
13696 * lib/gdb.exp (gdb_test_timeout): New global variable.
13697 Set it to timeout if not already set.
13698 (gdb_init): Reset the value of timeout to gdb_test_timeout.
13699
1be00882
DE
137002010-02-05 Doug Evans <dje@google.com>
13701
13702 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
13703 user.
13704
82856980
SW
137052010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
13706
13707 PR c++/7935:
13708 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
13709
1a334831
TT
137102010-02-04 Tom Tromey <tromey@redhat.com>
13711
13712 * gdb.cp/virtbase.exp: Make test case names unique.
13713
9c3c02fd
TT
137142010-02-02 Tom Tromey <tromey@redhat.com>
13715
13716 * gdb.cp/virtbase.exp: Add regression tests.
13717 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
13718 (main): Instantiate RHC.
13719
0cc2414c
TT
137202010-02-02 Tom Tromey <tromey@redhat.com>
13721
13722 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
13723 type-printing change.
13724
edf3d5f3
TT
137252010-02-02 Tom Tromey <tromey@redhat.com>
13726
13727 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
13728 * gdb.cp/virtbase.cc: New file.
13729 * gdb.cp/virtbase.exp: New file.
13730 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
13731
e4b7f41c
JK
137322010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13733
13734 PR libc/11214:
13735 * gdb.threads/current-lwp-dead.c: Include features.h.
13736 (HAS_NOMMU): New.
13737 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
13738
b381ea14
JK
137392010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13740
13741 * gdb.base/symbol-without-target_section.exp,
13742 gdb.base/symbol-without-target_section.c: New.
13743
c593ac0e
DJ
137442010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13745
13746 * gdb.base/bigcore.exp: Reset increased timeout.
13747 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
13748
db25f29d
DJ
137492010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13750
13751 * gdb.base/gcore.exp (capture_command_output): Use
13752 gdb_test_multiple.
13753
f9d67f43
DJ
137542010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13755
13756 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
13757 * gdb.arch/thumb2-it.exp (test_it_break): New function.
13758 (Top level): Call it.
13759
177321bd
DJ
137602010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13761
13762 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
13763
97f2ed50
DJ
137642010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
13765
13766 * gdb.base/call-strs.exp, gdb.base/default.exp,
13767 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
13768 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
13769 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
13770 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
13771 gdb.base/watchpoint-solib.exp: Save and restore timeout.
13772 * gdb.base/ending-run.exp: Correct restore of timeout.
13773 * gdb.base/page.exp: Remove unnecessary timeout setting.
13774
e4e2711a
JB
137752010-01-29 Joel Brobecker <brobecker@adacore.com>
13776
13777 * gdb.ada/rec_return: New testcase.
13778
ba581dc1
JB
137792010-01-29 Joel Brobecker <brobecker@adacore.com>
13780
13781 * gdb.ada/call_pn: New testcase.
13782
4ea95be9
DJ
137832010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
13784
13785 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
13786 (Top level): Use it to resume.
13787 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
13788 the Thumb mode displaced stepping error as unsupported.
13789
df83a9bf
SW
137902010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
13791
889bf7c5
PA
13792 * gdb.cp/nsusing.exp: Added more tests.
13793 * gdb.cp/nsrecurs.exp: Ditto.
13794 * gdb.cp/nsusing.cc: Added test functions.
13795 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 13796
40b27cdc
JK
137972010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13798
13799 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
13800 absolute directory pathnames in gdb.sum file.
13801
de958931
SW
138022010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
13803
13804 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
13805 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
13806
708ead4e
TT
138072010-01-26 Tom Tromey <tromey@redhat.com>
13808
13809 PR exp/7643:
13810 * gdb.base/printcmds.exp (test_print_string_constants): Remove
13811 setup_kfail.
13812
b14e635e
SW
138132010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
13814
13815 * gdb.cp/nsrecurs.exp: New test.
13816 * gdb.cp/nsrecurs.cc: New test program.
13817 * gdb.cp/nsstress.exp: New test.
13818 * gdb.cp/nsstress.cc: New test program.
13819 * gdb.cp/nsdecl.exp: New test.
13820 * gdb.cp/nsdecl.cc: New test program.
13821
8540c487
SW
138222010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
13823
13824 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
13825 imported into file scope.
13826 Marked test as xfail.
13827 * gdb.cp/namespace-using.cc (marker5): New function.
13828 * gdb.cp/shadow.exp: New test.
13829 * gdb.cp/shadow.cc: New test program.
13830 * gdb.cp/nsimport.exp: New test.
13831 * gdb.cp/nsimport.cc: New test program.
13832
421d5d99
TT
138332010-01-25 Tom Tromey <tromey@redhat.com>
13834
13835 PR gdb/11049:
13836 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
13837 with "set print null-stop on".
13838
691f8dc1
JK
138392010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13840
13841 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
13842 Adjust it for DISASSEMBLY_OMIT_FNAME.
13843
0b92b5bb
TT
138442010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13845
13846 PR symtab/11199:
13847 * gdb.dwarf2/member-ptr-forwardref.exp,
13848 gdb.dwarf2/member-ptr-forwardref.S: New.
13849
23787403
JK
138502010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13851
13852 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
13853 (thread1_func): Protect thread1_tid with thread1_tid_cond by
13854 thread1_tid_mutex. Remove gdbstop_mutex handling.
13855 (thread2_func): Protect thread2_tid with thread2_tid_cond by
13856 thread2_tid_mutex. Remove gdbstop_mutex handling.
13857 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
13858 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
13859 pthread_cond_wait conditionalizations by while loops.
13860
b966cb8a
TT
138612010-01-20 Tom Tromey <tromey@redhat.com>
13862
13863 PR backtrace/10770:
13864 * gdb.dwarf2/pr10770.exp: New file.
13865 * gdb.dwarf2/pr10770.c: New file.
13866 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
13867
fcae584b
VP
138682010-01-20 Vladimir Prus <vladimir@codesourcery.com>
13869
13870 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
13871 that target was removed, and the test always runs native anyway.
13872
a0f49112
JK
138732010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13874
13875 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
13876 gdb.base/watchpoint-cond-gone-stripped.c: New.
13877
ceeb3d5a
TT
138782010-01-19 Tom Tromey <tromey@redhat.com>
13879
13880 PR c++/8000:
13881 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
13882 existing tests.
13883 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
13884 (main): Use AAA::SomeEnum.
13885
dd322c54
JK
138862010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13887
13888 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
13889 (test_ignore_count): Declare line_callme_body global.
13890 (run to breakpoint with ignore count): Use line_callme_body.
13891 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
13892 (set line_main_hello, set line_main_return): Reindent.
13893 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
13894 New.
13895 (continue to callee4): Use line_callee4_body.
13896 (check *stopped from CLI command): Use line_callee4_next.
13897 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
13898 (set line_main_hello, set line_main_return): Reindent.
13899 (set line_callee4_head, set line_callee4_body): New.
13900 (continue to callee4): Use line_callee4_body.
13901
4e8f195d
TT
139022010-01-18 Tom Tromey <tromey@redhat.com>
13903
13904 PR c++/9680:
13905 * gdb.cp/casts.cc: Add new classes and variables.
13906 * gdb.cp/casts.exp: Test new operators.
13907
9e14a9ba
JB
139082010-01-18 Tom Tromey <tromey@redhat.com>
13909 Thiago Jung Bauermann <bauerman@br.ibm.com>
13910
13911 * gdb.python/source2.py: New file.
13912 * gdb.python/source1: New file.
13913 * gdb.python/python.exp: Test "source" command.
13914
00bf0b85
SS
139152010-01-15 Stan Shebs <stan@codesourcery.com>
13916
13917 * gdb.trace/tfile.c: New file.
13918 * gdb.trace/tfile.exp: New file.
889bf7c5 13919
55235ad7
JK
139202010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13921
13922 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
13923
9f2982ff
JK
139242010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13925
13926 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
13927
bbfba9ed
JK
139282010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13929
13930 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
13931 (libfunc): New parameter action. Implement also selectable "sleep".
13932 * gdb.base/break-interp-main.c: Include assert.h.
13933 (libfunc): New parameter action.
13934 (main): New parameters argc and argv. Assert argc. Pass argv.
13935 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
13936 (test_attach): New proc.
13937 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
13938 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
13939
61f0d762
JK
139402010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13941
13942 * gdb.base/break-interp.exp (test_core): New proc.
13943 (test_ld): Call it.
13944
06a6f270
JK
139452010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13946
13947 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
13948 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
13949 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
13950 and gdb_compile_shlib. Use new -Wl compiler options.
13951 (dl bt, main bt): New tests.
13952
51bee8e9
JK
139532010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13954
13955 Support PIEs with no symfile_objfile.
13956 * gdb.base/break-interp.exp: New argument at the test_ld calls.
13957 (test_ld): New parameter trynosym.
13958 (test_ld <$trynosym>): New block.
13959
b8040f19
JK
139602010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13961
13962 * gdb.base/break-interp.exp: New file.
13963
be759fcf
PM
139642010-01-13 Phil Muldoon <pmuldoon@redhat.com>
13965
13966 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
13967 * gdb.python/py-prettyprint.py (pp_ls): New printer.
13968 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
13969 test.
13970 * gdb.python/py-prettyprint.c: Define lazystring test structure.
13971 * gdb.python/py-mi.exp: Add lazy string test.
13972
dc146f7c
VP
139732010-01-13 Vladimir Prus <vladimir@codesourcery.com>
13974
13975 * lib/mi-support.exp (mi_check_thread_states): Handle
13976 core number in thread listing.
13977
b4ba55a1
JB
139782010-01-12 Joel Brobecker <brobecker@adacore.com>
13979
13980 * gdb.base/maint.exp: Adjust the expected output for the
13981 "maint print type" test. Use gdb_test_multiple instead of
13982 gdb_sent/gdb_expect.
13983
08e24bd4
DE
139842010-01-11 Doug Evans <dje@google.com>
13985
6496a609
DE
13986 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
13987 from gdbserver_download. All callers updated.
13988
08e24bd4
DE
13989 * gdb.server/ext-run.exp: "info os processes" requires xml support.
13990
b5cfddf5
JK
139912010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13992
13993 Implement binary numbers parsing.
13994 * gdb.base/printcmds.exp (test_integer_literals_accepted)
13995 (test_integer_literals_rejected): New binary tests.
13996
3725885a
RW
139972010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13998
13999 * gdb.cell/configure: Regenerate.
14000
37aeb5df
JK
140012010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14002
14003 * gdb.base/corefile.exp: Move the core finding block out and call it as
14004 core_find, new variable $corefile, replace corefile by $corefile and
14005 [file tail $corefile] for usage vs. test names resp.
14006 * lib/gdb.exp (core_find): Move it as a new function here. New
14007 parameter binfile and deletefiles. New variable $destcore. Pre-delete
14008 $destcore. Return "" on error.
14009
d521f563
JK
140102010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14011
14012 Workaround PR binutils/10802.
14013 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
14014 (twice).
14015
28f24826
DJ
140162010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
14017
14018 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
14019
2de75e71
JB
140202010-01-08 Joel Brobecker <brobecker@adacore.com>
14021
14022 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
14023 call, to avoid interruption.
14024
fe00719b 140252010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
14026
14027 * gdb.stabs/weird.def (args93): New.
14028
d0ef5df8
DE
140292010-01-07 Doug Evans <dje@google.com>
14030
14031 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
14032
3a08d52f
TT
140332010-01-07 Tom Tromey <tromey@redhat.com>
14034
14035 * gdb.base/source.exp: Use correct line number.
14036
7a697b8d
SS
140372010-01-05 Stan Shebs <stan@codesourcery.com>
14038
14039 * gdb.trace/tracecmd.exp: Test ftrace.
14040
7803799a
UW
140412010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14042
14043 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
14044
c54eabfa
JK
140452010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14046
14047 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
14048 "uint_for_mi_testing".
14049
02e7ef19
JB
140502010-01-01 Joel Brobecker <brobecker@adacore.com>
14051
14052 Test indented comment in file being sourced.
14053 * gdb.base/commands.exp: Test indented comment in file being sourced.
14054
abd775ce
JB
140552010-01-01 Joel Brobecker <brobecker@adacore.com>
14056
14057 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
14058 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
14059 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
14060 notice.
14061
79b55b82
JB
140622010-01-01 Joel Brobecker <brobecker@adacore.com>
14063
14064 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
14065 notice.
14066
8997583e
JK
140672010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14068
14069 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
14070 missing $after_stopped and comma (,) expectation.
14071
6da95a67
SS
140722009-12-31 Stan Shebs <stan@codesourcery.com>
14073
14074 * gdb.trace/actions.exp: Test teval action.
889bf7c5 14075
218d2fc6
TJB
140762009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14077
14078 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
14079 (top level): Call test_watchpoint_in_big_blob.
14080 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
14081 watchpoints.
14082 (func3): Write to buf.
14083
236f1d4d
SS
140842009-12-29 Stan Shebs <stan@codesourcery.com>
14085
14086 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 14087
f61e138d
SS
140882009-12-28 Stan Shebs <stan@codesourcery.com>
14089
14090 * gdb.trace/tsv.exp: New file.
14091 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 14092
0219b378
DJ
140932009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
14094
14095 * gdb.base/find.c (main): Reference search buffers.
14096 * gdb.base/included.c (main): Reference integer.
14097 * gdb.base/ptype.c (charfoo): Declare.
14098 (intfoo): Call charfoo.
14099 * gdb.base/scope0.c (useitp): New function.
14100 (usestatics): Use useitp.
14101 (useit): Add a type for val.
14102 * gdb.base/scope1.c (useit1): Take a pointer argument.
14103 (usestatics1): Update calls to useit1.
14104 * gdb.cp/call-c.cc: Declare foo.
14105 (main): Call foo.
14106 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
14107 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
14108 (main): Call C::ensureRefs and ensureOtherRefs.
14109 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
14110 variables.
14111 (ensureOtherRefs): New function.
14112 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
14113 * gdb.cp/templates.cc (main): Call t5i.value.
14114
3f78692f
JK
141152009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14116
14117 Fix compatibility with G++-4.5.
14118 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
14119 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
14120 (uncaught return): Remove.
14121
429374b8
JK
141222009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14123 Phil Muldoon <pmuldoon@redhat.com>
14124
14125 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
14126 (bp_location13, bp_location14, bp_location17, bp_location18)
14127 (marker3_proto, marker4_proto): New variables.
14128 (breakpoint info): Update output.
14129 (run until breakpoint at marker3, run until breakpoint at marker4): New
14130 tests.
14131
859825b8
JK
141322009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14133
14134 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
14135 Replace the printf call of Y by provided "y-set-1" label. New block
14136 for the second shared library.
14137 * gdb.base/unload.exp: Compile also the second library, call
14138 gdb_load_shlibs also for it. Use now gdb_breakpoint.
14139 (single pending breakpoint info): Rename to ...
14140 (pending breakpoint info before run): ... this extended test.
14141 (libfile2, libname2, libsrcfile2, libsrc2)
14142 (lib_sl2): New variables.
14143 (exec_opts): Set also SHLIB_NAME2.
14144 (pending breakpoint info on first run at shrfunc1)
14145 (pending breakpoint info on second run at shrfunc1)
14146 (pending breakpoint info on second run at shrfunc2)
14147 (print y from libfile, print y from libfile2): New tests.
14148 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
14149 * gdb.base/unloadshr2.c: New.
14150
e6a386cd
HZ
141512009-12-22 Hui Zhu <teawater@gmail.com>
14152
14153 * gdb.reverse/sigall-reverse.exp: Adjust.
14154
9e19b45e
VP
141552009-12-21 Vladimir Prus <vladimir@codesourcery.com>
14156
14157 PR gdb/10884
14158
14159 * gdb.mi/var-cmd.c (do_bitfield_tests): New
14160 (main): Call do_bitfield_tests.
aacf5b1e 14161 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 14162
d53a7b30
JB
141632009-12-20 Joel Brobecker <brobecker@adacore.com>
14164
14165 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
14166 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
14167 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
14168 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
14169 gdb.modula2/unbounded1.c: Update copyright header.
14170
191ca0a1
CM
141712009-12-10 Chris Moller <moller@mollerware.com>
14172
14173 PR gdb/9399
14174 * gdb.cp/virtfunc2.exp: New tests
14175 * gdb.cp/virtfunc2.cc: New tests
14176 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
14177
0fa6cf1b
MS
141782009-12-10 Oza Pawandeep (paawan1982@yahoo.com
14179
14180 * gdb.reverse/i387-env-reverse.c: New file.
14181 * gdb.reverse/i387-env-reverse.exp: New file.
14182 * gdb.reverse/i387-stack-reverse.c: New file.
14183 * gdb.reverse/i387-stack-reverse.exp: New file.
14184
361ae042
PM
141852009-12-08 Phil Muldoon <pmuldoon@redhat.com>
14186
14187 * gdb.python/py-type.exp (test_range): New test.
14188
bfd31e71
PM
141892009-12-03 Phil Muldoon <pmuldoon@redhat.com>
14190
14191 PR python/10805
14192
14193 * gdb.python/py-type.exp: New file.
14194 * gdb.python/py-type.c: New file.
14195 * Makefile.in: Add py-type.
14196
57a1d736
TT
141972009-12-03 Tom Tromey <tromey@redhat.com>
14198
14199 * gdb.python/py-value.exp (test_parse_and_eval): New
14200 function.
14201
1f3b5d1b
PP
142022009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
14203
14204 PR gdb/11022
14205
14206 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
14207 * gdb.base/pr11022.c: New test.
14208
8b7dbdc9
JK
142092009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14210
14211 Fix spurious false FAILs.
14212 * gdb.base/structs.c (chartest): New.
14213 (main): Fill-in chartest.
14214 * gdb.base/structs.exp (anychar_re, first): New.
14215 (start_structs_test): Import global anychar_re and first.
14216 New gdb_test call "set print elements 300; ${testfile}"
14217 (start_structs_test <$first>): New block.
14218 (any): Import global anychar_re. New variable ac. Use ${ac}.
14219
6a53b2ec
JK
142202009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14221
14222 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
14223
d7167b4c
JK
142242009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14225
14226 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
14227 Force $srcfile file.
14228 * gdb.base/foll-fork.c (callee): Comment out the printf call.
14229
b1798462
UW
142302009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14231
14232 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
14233 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
14234 * gdb.threads/watchthreads-reorder.exp: Likewise.
14235
b6199126
DJ
142362009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
14237
14238 PR gdb/8704
14239
14240 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
14241 "if", and "thread". Correct matching in the previous test.
14242
b22a0510
DJ
142432009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
14244
14245 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
14246
930636d2
MS
142472009-11-23 Michael Snyder <msnyder@vmware.com>
14248
14249 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
14250 * gdb.reverse-watch-precsave.exp: Ditto.
14251
21a0512e
PP
142522009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
14253
14254 * gdb.asm/asm-source.exp: Adjust.
14255 * gdb.base/help.exp: Adjust.
889bf7c5 14256
fc30d5e0
PA
142572009-11-22 Pedro Alves <pedro@codesourcery.com>
14258
14259 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
14260 (do_syscall_tests_without_xml): Set data-directory to
14261 /the/path/to/nowhere.
14262
f6bc2008
PA
142632009-11-21 Pedro Alves <pedro@codesourcery.com>
14264
14265 * gdb.threads/local-watch-wrong-thread.c,
14266 gdb.threads/local-watch-wrong-thread.exp: New files.
14267
8c2fb5de
PA
142682009-11-21 Pedro Alves <pedro@codesourcery.com>
14269
14270 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
14271 assume new `regsub' syntax available.
14272
ebec9a0f
PA
142732009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14274
a79d3c27
JK
14275 * gdb.base/watchpoint-hw-hit-once.exp,
14276 gdb.base/watchpoint-hw-hit-once.c: New.
14277
142782009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14279
14280 * gdb.threads/watchthreads-reorder.exp,
14281 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 14282
276a961b
MK
142832009-11-17 Nathan Sidwell <nathan@codesourcery.com>
14284
14285 * gdb.xml/tdesc-regs.exp: Use for m68k.
14286
4867c1fb
PA
142872009-11-15 Pedro Alves <pedro@codesourcery.com>
14288
14289 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
14290
f6838f81
DJ
142912009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
14292
14293 * lib/gdb.exp (current_target_name): New procedure.
14294 (gdb_wrapper_target): New variable.
14295 (gdb_wrapper_init): Set gdb_wrapper_target.
14296 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
14297 wrapper.
14298
4ac4dd3f
DJ
142992009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
14300
14301 * gdb.base/remote.exp: Delete the slowest load test.
14302 Do not load with fixed packet sizes.
14303
a7881759
DJ
143042009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
14305
14306 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
14307
97a5b505
DJ
143082009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
14309
14310 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
14311 srcfile when setting a breakpoint.
14312
d3e1fc54
DJ
143132009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
14314
14315 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
14316 macros.
14317
7cbcbded
DJ
143182009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
14319
14320 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
14321 to be in memory.
14322 * gdb.base/display.c (force_mem): New.
14323 (do_loops): Use it. Add breakpoint comments.
14324 (do_vars): Add a breakpoint comment.
14325 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
14326 line numbers.
14327
bdea3a92
NF
143282009-11-13 Nathan Froyd <froydnj@codesourcery.com>
14329
14330 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
14331 instead of a bare "run".
14332
269f82e5
PP
143332009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
14334
14335 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 14336
a69b7d9d
DJ
143372009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14338
14339 * lib/cell.exp (skip_cell_tests): Clean up test files before
14340 returning.
14341
b598bfda
DJ
143422009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14343
14344 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
14345 and the breakpoint menu. Do not call perror if a prompt is seen.
14346 Consume the following GDB prompt.
14347 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
14348 * gdb.cp/namespace.exp: Use gdb_test.
14349 * gdb.cp/templates.exp: Use gdb_test.
14350 (test_template_breakpoints): Use gdb_test_multiple.
14351
87728fa0
DJ
143522009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14353
14354 * gdb.base/break1.c (struct some_struct, values): Move earlier.
14355 (marker4): Reference values.
14356
b67c692f
DJ
143572009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14358
14359 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
14360 is missing.
14361
f0df251a
DJ
143622009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14363
14364 * gdb.base/break.c (need_malloc): New.
14365 * gdb.base/constvars.c (main): Reference crass and crisp.
14366 * gdb.base/gdb1821.c (main): Reference bar.
14367 * gdb.cp/gdb1355.cc (main): Reference s1.
14368 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
14369 (main): Call them.
14370 * gdb.cp/hang2.cc (dummy2): Define.
14371 * gdb.cp/hang3.cc (dummy3): Define.
14372 * gdb.cp/m-data.cc (main): Reference shadow.
14373
bdf7534a
NF
143742009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14375 Nathan Froyd <froydnj@codesourcery.com>
14376
14377 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
14378 remote host.
14379
f24fce77
NF
143802009-11-12 Nathan Froyd <froydnj@codesourcery.com>
14381
14382 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
14383 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
14384 * gdb.dwarf2/dw2-compressed.exp: Likewise.
14385 * gdb.dwarf2/dw2-intercu.exp: Likewise.
14386 * gdb.dwarf2/dw2-intermix.exp: Likewise.
14387 * gdb.dwarf2/dw2-producer.exp: Likewise.
14388 * gdb.dwarf2/mac-fileno.exp: Likewise.
14389 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
14390 py-prettyprint.py to the remote host.
14391 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
14392
40f0318e
KS
143932009-11-11 Keith Seitz <keiths@redhat.com>
14394
14395 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
14396 use it instead of "Foo".
14397 * gdb.cp/classes.exp (do_tests): Add a test to access
14398 a method through a typedef'd class name.
14399
f3d9f7fb
NF
144002009-11-11 Nathan Froyd <froydnj@codesourcery.com>
14401
14402 * gdb.base/long_long.exp: Permit leading zeros on floating-point
14403 exponents.
14404 * gdb.base/pointers.exp: Likewise.
14405 * gdb.cp/ref-types.exp: Likewise.
14406
a4216f37
KS
144072009-11-11 Keith Seitz <keiths@redhat.com>
14408
14409 * gdb.cp/cplusfuncs.cc (class foo): Add operators
14410 new[] and delete[].
14411 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
14412 "void".
14413 (probe_demangler): Remove all single-quoting of
14414 method and variable names.
14415 (info_func_regexp): Remove the word "void" from any
14416 occurrence of "(void)".
14417 (print_addr_2): Remove all single-quoting of
14418 method names.
14419 (print_addr_2_kfail): Likewise.
14420 (print_addr): Single-quote C function names before
14421 passing to print_addr_2.
14422 (test_paddr_operator_functions): Remove single-quoting
14423 for method names.
14424 Add tests for operator new[] and operator delete[].
14425
9b14d7aa
JK
144262009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14427
14428 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
14429
85feb311
KS
144302009-11-09 Keith Seitz <keiths@redhat.com>
14431
14432 * gdb.cp/overload.exp: Add tests for resolving overloaded
14433 methods in expression parsing/evaluation.
14434
fa335448
DJ
144352009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
14436
14437 * lib/gdb.exp (default_gdb_version): Use --version instead of
14438 --command.
14439
ec3c07fc
NS
144402009-11-10 Nathan Sidwell <nathan@codesourcery.com>
14441
14442 * lib/gdb.exp (gdb_compile_test): New.
14443 (skip_ada_tests, skip_java_tests): New.
14444 (gdb_compile): Use gdb_compile_test for f77.
14445 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
14446 * lib/java.exp (compile_java_from_source): Remove runtests check,
14447 use gdb_compile_test to record result.
14448 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
14449 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
14450 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
14451 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
14452 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
14453 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
14454 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
14455 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
14456 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
14457 adjust gdb_compile invocations.
14458
b8b4e42b
JK
144592009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14460
14461 * Makefile.in (abs_builddir): New.
14462 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
14463 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
14464 `$(abs_builddir)/site.exp'.
14465
f8b7eaf3
DJ
144662009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
14467
14468 * config/m68k-emc.exp, lib/emc-support.exp,
14469 gdb.trace/gdb_c_test.c: Delete.
14470 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
14471 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
14472 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
14473 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
14474 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
14475 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
14476 casing for m68k-*-elf.
14477
c4187697
NS
144782009-11-03 Pedro Alves <pedro@codesourcery.com>
14479
14480 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
14481 * gdb.arch/i386-prologue.exp: Likewise.
14482 * gdb.arch/i386-unwind.exp: Likewise.
14483
db16b772
DJ
144842009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
14485
14486 * lib/gdb.exp (gdb_expect): Fix timeout typo.
14487
bcf71277
DJ
144882009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
14489
14490 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
14491
0105cee2
DJ
144922009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
14493
14494 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
14495
24ddea62
JK
144962009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14497
14498 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
14499
287ccc17
JK
145002009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14501
14502 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
14503 * gdb.base/sepdebug2.c: New file.
14504
08bca259 145052009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
14506
14507 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
14508 the modified warnings for catch syscall. Verify if GDB was compiled
14509 with support for lib expat, and choose which tests to run depending
14510 on this.
14511
5d4e2b76
VP
145122009-10-30 Vladimir Prus <vladimir@codesourcery.com>
14513
14514 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
14515 that composite commands are parsed OK. And also test
14516 that breakpoint commands do work.
14517
240e538a
MS
145182009-10-23 Michael Snyder <msnyder@vmware.com>
14519
14520 gdb.reverse/consecutive-precsave.exp: Change expect pattern
14521 to allow for new disassembly style.
14522
9c419145
PP
145232009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
14524
14525 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 14526
02506ff1
MS
145272009-10-22 Michael Snyder <msnyder@vmware.com>
14528
14529 * gdb.reverse/break-precsave.exp: New test.
14530 * gdb.reverse/consecutive-precsave.exp: Ditto.
14531 * gdb.reverse/finish-precsave.exp: Ditto.
14532 * gdb.reverse/i386-precsave.exp: Ditto.
14533 * gdb.reverse/machinestate-precsave.exp: Ditto.
14534 * gdb.reverse/sigall-precsave.exp: Ditto.
14535 * gdb.reverse/solilb-precsave.exp: Ditto.
14536 * gdb.reverse/step-precsave.exp: Ditto.
14537 * gdb.reverse/until-precsave.exp: Ditto.
14538 * gdb.reverse/watch-precsave.exp: Ditto.
14539
4cf866a3
MS
145402009-10-22 Michael Snyder <msnyder@vmware.com>
14541
14542 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
14543 for gdb_expect. Adjust one test's expect strings for the new
14544 format of disassemble.
14545 * gdb.reverse/finish-reverse.exp: Delete 'return'.
14546 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
14547 gdb_test_multiple.
14548 * gdb.reverse/step-reverse.exp: Delete 'return'.
14549 * gdb.reverse/until-reverse.exp: Delete blank lines.
14550 * gdb.reverse/watch-reverse.exp: Delete blank lines.
14551
2b28d209
PP
145522009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
14553
14554 * gdb.base/consecutive.exp: Adjust.
14555 * gdb.base/display.exp: Likewise.
14556 * gdb.base/pc-fp.exp: Likewise.
14557 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 14558
33b9c32b
MS
145592009-10-19 Michael Snyder <msnyder@vmware.com>
14560
14561 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
14562 * gdb.reverse/finish-reverse.c: Ditto.
14563 * gdb.reverse/sigall-reverse.c: Ditto.
14564 * gdb.reverse/solib-reverse.c: Ditto.
14565 * gdb.reverse/step-reverse.c: Ditto.
14566 * gdb.reverse/watch-reverse.c: Ditto.
14567
6c95b8df
PA
145682009-10-19 Pedro Alves <pedro@codesourcery.com>
14569 Stan Shebs <stan@codesourcery.com>
14570
14571 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
14572 * gdb.base/foll-exec.exp: Adjust to expect a process id before
14573 "Executing new program".
14574 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
14575 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
14576 left listed after having been killed.
14577 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
14578 * gdb.base/maint.exp: Adjust test.
14579
14580 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
14581 * gdb.multi/Makefile.in: New.
14582 * gdb.multi/base.exp: New.
14583 * gdb.multi/goodbye.c: New.
14584 * gdb.multi/hangout.c: New.
14585 * gdb.multi/hello.c: New.
14586 * gdb.multi/bkpt-multi-exec.c: New.
14587 * gdb.multi/bkpt-multi-exec.exp: New.
14588 * gdb.multi/crashme.c: New.
14589
279017b7
TG
145902009-10-13 Tristan Gingold <gingold@adacore.com>
14591
14592 * gdb.base/sepdebug.exp: Check debug info are found.
14593
0413d738
PA
145942009-10-08 Pedro Alves <pedro@codesourcery.com>
14595
14596 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
14597 bits.
14598
c628eecc
JK
145992009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14600
14601 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
14602
38af1bfe
JB
146032009-10-07 Joel Brobecker <brobecker@adacore.com>
14604
14605 * gdb.base/watchpoints.c: Add copyright header. Reformat one
14606 of the comments.
14607
2b0adecd
PM
146082009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
14609
14610 * gdb.base/annota1.exp: Remove obsolete match_max increase.
14611 * gdb.base/annota3.exp: Idem.
14612 * gdb.base/maint.exp: Idem.
14613
8d417781
PM
146142009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
14615
889bf7c5 14616 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
14617 to default.
14618
bb61102d
PM
146192009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
14620
889bf7c5 14621 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
14622 mingw and cygwin targets.
14623
ace5c364
PM
146242009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
14625 Pedro Alves <pedro@codesourcery.com>
14626
889bf7c5 14627 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
14628 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
14629
c2d494a0
PM
146302009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
14631
e1b52ce2
PM
14632 * gdb.base/shr1.c: Use %p in format string.
14633 * gdb.base/unload.c: Avoid warning in fprintf.
14634 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 14635
209f53f5
PM
146362009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
14637
14638 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
14639 long type.
14640 (test_unlink): Correct printf string.
14641 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
14642 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
14643
8172766a
JK
146442009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14645
14646 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
14647 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
14648 * gdb.arch/ia64-breakpoint-shadow.S: New file.
14649
0f73703c
UW
146502009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14651
14652 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
14653 * gdb.objc/nondebug.exp: Likewise.
14654
b32306ca
UW
146552009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14656
14657 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
14658 target_info setting.
14659
14660 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
14661 that detect new threads during "info threads".
14662
0057022f
UW
146632009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14664
14665 * gdb.threads/manythreads.c (main): Increase thread stack size
14666 to 2*PTHREAD_STACK_MIN.
14667 * gdb.threads/multi-create.c (main): Likewise.
14668 (create_function): Likewise.
14669
f29c0325
UW
146702009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14671
14672 * gdb.base/dump.exp: Pass difference of pointer types instead
14673 of integer types as offset to restore in intarr3.srec case.
14674
fcb34849
UW
146752009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14676
14677 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
14678
d5142e3b
UW
146792009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14680
14681 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
14682
087b74b2 146832009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 14684
087b74b2
PM
14685 New test for two watchpoints, with disabling of
14686 the first inserted.
14687 * testsuite/gdb.base/watchpoints.c: New file.
14688 * testsuite/gdb.base/watchpoints.exp: New file.
14689
96c07c5b
TT
146902009-09-25 Tom Tromey <tromey@redhat.com>
14691
14692 * gdb.base/charset.exp: Test utf-16 strings with Python.
14693
b8899f2b
TT
146942009-09-25 Tom Tromey <tromey@redhat.com>
14695
14696 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
14697 UCS-4.
14698 * gdb.base/charset.c (utf_32_string): Rename.
14699 (init_utf32): Rename.
14700 (main): Update.
14701
329719ec
TT
147022009-09-22 Tom Tromey <tromey@redhat.com>
14703
14704 * gdb.python/py-function.exp: Add regression tests.
14705
11ef0d76
KS
147062009-09-21 Keith Seitz <keiths@redhat.com>
14707
14708 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
14709 with invalid operator.
14710
3fe8f3b3
KS
147112009-09-21 Keith Seitz <keiths@redhat.com>
14712
14713 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
14714 and destructor using typedef name of class.
14715 * gdb.cp/classes.cc (class Base1): Add a destructor.
14716 (base1): New typedef.
14717 (use_methods): Instanitate an object of type base1.
14718 * gdb.cp/templates.exp (test_template_typedef): New procedure.
14719 (do_tests): Call test_template_typedef.
14720 * gdb.cp/templates.cc (Baz::~Baz): New method.
14721 (intBazOne): New typedef.
14722 (main): Instantiate intBazOne.
14723
7a9fe101
PM
147242009-09-21 Phil Muldoon <pmuldoon@redhat.com>
14725
14726 PR python/10633
14727
14728 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
14729 Function.
14730 (run_lang_tests): Add print elements test.
14731
2e4d963f
PM
147322009-09-21 Phil Muldoon <pmuldoon@redhat.com>
14733
14734 * gdb.python/py-value.exp (test_subscript_regression): New
14735 function. Test for invalid subscripts.
14736 * gdb.python/py-value.c (main): Add test array, and pointer to it.
14737 (ptr_ref): New function.
14738
ec7e75e7
PP
147392009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14740
14741 * gdb.base/default.exp: Fix "show convenience".
14742
0cc7d26f
TT
147432009-09-15 Tom Tromey <tromey@redhat.com>
14744
14745 * lib/mi-support.exp (mi_create_varobj): Update.
14746 (mi_create_floating_varobj): Likewise.
14747 (mi_create_dynamic_varobj): New proc.
14748 (mi_varobj_update): Update.
14749 (mi_varobj_update_with_type_change): Likewise.
14750 (mi_varobj_update_kv_helper): New proc.
14751 (mi_varobj_update_dynamic_helper): Rewrite.
14752 (mi_varobj_update_dynamic): New proc.
14753 (mi_list_varobj_children): Update.
14754 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
14755 * gdb.python/python-prettyprint.py (pp_outer): New class.
14756 (pp_nullstr): Likewise.
14757 (lookup_function): Register new printers.
14758 * gdb.python/python-prettyprint.c (struct substruct): New type.
14759 (struct outerstruct): Likewise.
14760 (substruct_test): New function.
14761 (struct nullstr): New type.
14762 (string_1, string_2): New globals.
14763 (main): Add new tests.
14764 * gdb.python/python-mi.exp: Added regression tests.
14765 * gdb.mi/mi2-var-display.exp: Update.
14766 * gdb.mi/mi2-var-cmd.exp: Update.
14767 * gdb.mi/mi2-var-child.exp: Update.
14768 * gdb.mi/mi2-var-block.exp: Update.
14769 * gdb.mi/mi-var-invalidate.exp: Update.
14770 * gdb.mi/mi-var-display.exp: Update.
14771 * gdb.mi/mi-var-cmd.exp: Update.
14772 * gdb.mi/mi-var-child.exp: Update.
14773 * gdb.mi/mi-var-block.exp: Update.
14774 * gdb.mi/mi-break.exp: Update.
14775 * gdb.mi/gdb701.exp: Update.
14776
a96d9b2e
SDJ
147772009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
14778
14779 * Makefile.in: Inclusion of catch-syscall object.
14780 * gdb.base/catch-syscall.c: New file.
14781 * gdb.base/catch-syscall.exp: New file.
14782
b43b923a
MS
147832009-09-12 Michael Snyder <msnyder@vmware.com>
14784
14785 * gdb.reverse/step-reverse.exp: Explicitly check for targets
14786 that can support reverse debuggnig.
14787
cec03d70
TT
147882009-09-11 Tom Tromey <tromey@redhat.com>
14789
14790 * gdb.dwarf2/valop.S: New file.
14791 * gdb.dwarf2/valop.exp: New file.
14792
e23bb3fc
MK
147932009-09-11 Mark Kettenis <kettenis@gnu.org>
14794
14795 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
14796
37c3696d
DE
147972009-09-10 Doug Evans <dje@google.com>
14798
14799 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
14800 Add $gdb_prompt to second breakpoint regexp.
14801
5172aecb
JB
148022009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
14803
14804 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
14805 names, add missing ones.
14806 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
14807 * gdb.python/py-frame.c: Rename from python-frame.c.
14808 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
14809 testfile name.
14810 * gdb.python/py-function.exp: Rename from python-function.exp.
14811 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
14812 testfile name.
14813 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
14814 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
14815 Adjust testfile name.
14816 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
14817 * gdb.python/py-template.cc: Rename from python-template.cc.
14818 * gdb.python/py-template.exp: Rename from python-template.exp.
14819 Adjust testfile name.
14820 * gdb.python/py-value.c: Rename from python-value.c.
14821 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
14822 testfile name.
14823
b554e4bd
JK
148242009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14825
14826 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
14827 $bpt2address.
14828 (Second breakpoint address is valid on ia64)
14829 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
14830
9a68ae16
JM
148312009-09-03 Joseph Myers <joseph@codesourcery.com>
14832
14833 * gdb.base/ending-run.exp: Restrict regular expression matching
14834 line number to require closing brace following.
14835
146b9145
DE
148362009-09-03 Doug Evans <dje@google.com>
14837
14838 * gdb.base/store.exp (check_set): Fix typo in expected value message.
14839
787d21e1
TT
148402009-09-02 Tom Tromey <tromey@redhat.com>
14841
14842 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
14843
e7802207
TT
148442009-09-02 Tom Tromey <tromey@redhat.com>
14845
14846 * gdb.dwarf2/callframecfa.exp: New file.
14847 * gdb.dwarf2/callframecfa.S: New file.
14848
817aadd2
JK
148492009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14850
14851 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
14852 gdb.base/solib-overlap-main.c: New.
14853
4a76eae5
DJ
148542009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
14855
14856 PR gdb/10565
14857
14858 * gdb.base/bitfields.c (struct container, container): New.
14859 (main): Initialize it and call break5.
14860 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
14861
d4b96c9a
JK
148622009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
14863
14864 Support constant DW_AT_data_member_location by GCC PR debug/40659.
14865 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
14866
4e22772d
JK
148672009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14868
14869 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
14870
2efab443
MS
148712009-08-26 Michael Snyder <msnyder@vmware.com>
14872
14873 * gdb.base/i386-reverse.c: New file.
14874 * gdb.base/i386-reverse.exp: New file.
14875 * gdb.base/Makefile.in: Add new files to be removed.
14876
07ab73a0
JM
148772009-08-26 Joseph Myers <joseph@codesourcery.com>
14878
14879 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
14880 environment-pwd for remote host.
14881 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
14882
676accff
KS
148832009-08-24 Keith Seitz <keiths@redhat.com>
14884
14885 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
14886 Add two new C++ completer tests which limit the output to a
889bf7c5 14887 given class.
676accff 14888
f9f7ad22
MS
148892009-08-24 Michael Snyder <msnyder@vmware.com>
14890
14891 * gdb.base/del.exp: Fix typo in comment.
14892 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
14893
81ecdfbb
RW
148942009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14895
14896 * configure: Regenerate.
14897 * gdb.hp/configure: Likewise.
14898 * gdb.hp/gdb.aCC/configure: Likewise.
14899 * gdb.hp/gdb.base-hp/configure: Likewise.
14900 * gdb.hp/gdb.compat/configure: Likewise.
14901 * gdb.hp/gdb.defects/configure: Likewise.
14902 * gdb.hp/gdb.objdbg/configure: Likewise.
14903 * gdb.stabs/configure: Likewise.
14904
cab0c772
UW
149052009-08-19 Doug Evans <dje@google.com>
14906
14907 * gdb.base/gdbvars.c: New file.
14908 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
14909
b8fa0bfa
PA
149102009-08-14 Pedro Alves <pedro@codesourcery.com>
14911
14912 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
14913 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
14914
b84aa90a
PA
149152009-08-13 Pedro Alves <pedro@codesourcery.com>
14916
14917 * gdb.base/default.exp: Adjust "set language test": it's now an
14918 enum command. Larger help string moved to "help set language".
14919 * gdb.base/help.exp: Adjust "help set language" expected output,
14920 now lists all known languages.
14921
0d8f9b2c
NF
149222009-08-11 Nathan Froyd <froydnj@codesourcery.com>
14923
14924 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
14925 all frame arguments.
14926 * gdb.arch/altivec-regs.exp: Likewise.
14927
bda180e0
TT
149282009-08-07 Tom Tromey <tromey@redhat.com>
14929
14930 * gdb.base/setshow.exp: Add tests for changes to set language, set
14931 check range, and set check type.
14932
48cb2d85
VP
149332009-08-03 Vladimir Prus <vladimir@codesourcery.com>
14934
14935 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
14936 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 14937 Call it.
48cb2d85 14938
1ea34204
UW
149392009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14940
14941 * configure.ac: Run gdb.cell tests when appropriate.
14942 * configure: Regenerate.
14943 * lib/cell.exp: New file.
14944 * gdb.cell: New directory.
14945 * gdb.cell/configure.ac: New file.
14946 * gdb.cell/configure: New file.
14947 * gdb.cell/Makefile.in: New file.
14948 * gdb.cell/arch.exp: New file.
14949 * gdb.cell/break.c: New file.
14950 * gdb.cell/break.exp: New file.
14951 * gdb.cell/break-spu.c: New file.
14952 * gdb.cell/bt.c: New file.
14953 * gdb.cell/bt2-spu.c: New file.
14954 * gdb.cell/bt-spu.c: New file.
14955 * gdb.cell/bt.exp: New file.
14956 * gdb.cell/coremaker.c: New file.
14957 * gdb.cell/coremaker-spu.c: New file.
14958 * gdb.cell/core.exp: New file.
14959 * gdb.cell/gcore.exp: New file.
14960 * gdb.cell/data.c: New file.
14961 * gdb.cell/data.exp: New file.
14962 * gdb.cell/data-spu.c: New file.
14963 * gdb.cell/ea-cache.exp: New file.
14964 * gdb.cell/ea-cache.c: New file.
14965 * gdb.cell/ea-cache-spu.c: New file.
14966 * gdb.cell/ea-standalone.c: New file.
14967 * gdb.cell/ea-standalone.exp: New file.
14968 * gdb.cell/ea-test.c: New file.
14969 * gdb.cell/ea-test.exp: New file.
14970 * gdb.cell/f-regs.exp: New file.
14971 * gdb.cell/mem-access.c: New file.
14972 * gdb.cell/mem-access.exp: New file.
14973 * gdb.cell/mem-access-spu.c: New file.
14974 * gdb.cell/ptype.exp: New file.
14975 * gdb.cell/registers.exp: New file.
14976 * gdb.cell/size.c: New file.
14977 * gdb.cell/sizeof.exp: New file.
14978 * gdb.cell/size-spu.c: New file.
14979 * gdb.cell/solib.exp: New file.
14980 * gdb.cell/solib-symbol.exp: New file.
14981
85e747d2
UW
149822009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14983
14984 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
14985
58d6951d
DJ
149862009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
14987
14988 * gdb.base/float.exp: Handle VFP registers.
14989
6e0a4f15
MS
149902009-07-14 Michael Snyder <msnyder@vmware.com>
14991
dcd5da87
MS
14992 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
14993 to bring gdb to the beginning of the calling line.
14994
6e0a4f15
MS
14995 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
14996 confusing the i386 epilogue unwinder.
14997
782b2b07
SS
149982009-07-14 Stan Shebs <stan@codesourcery.com>
14999
15000 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
15001
f662c3bc
MS
150022009-07-14 Michael Snyder <msnyder@vmware.com>
15003
15004 * gdb.reverse/step-reverse.exp (stepi into function call):
15005 Call instruction may not be first instruction in the line.
15006 (reverse stepi from a function call): Used wrong line number.
15007
8f313923
JK
150082009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15009
15010 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
15011
4662c76e
JK
150122009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15013
15014 Fix gdb.base/macscp.exp when using custom inputrc.
15015 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
15016 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
15017 env(TERM) set.
15018 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
15019 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
15020
aa81e255
JK
150212009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15022
15023 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
15024 * gdb.base/annota1.exp (thread_test): Import global $testfile.
15025 Change the compilation target to match the testcase name.
15026 * gdb.base/sect-cmd.exp: Change the compilation target to match the
15027 testcase name.
15028 * a2-run.exp: Use for setup prepare_for_testing. Change the
15029 compilation target to match the testcase name.
15030 * gdb.base/commands.exp: Likewise.
15031 * gdb.base/finish.exp: Likewise.
15032 * gdb.base/float.exp: Likewise.
15033 * gdb.base/info-target.exp: Likewise.
15034 * gdb.base/relational.exp: Likewise.
15035 * gdb.base/term.exp: Likewise.
15036 * gdb.base/until.exp: Likewise.
15037 * gdb.base/volatile.exp: Likewise.
15038 * gdb.base/whatis-exp.exp: Likewise.
15039
4c93b1d7
HZ
150402009-07-11 Hui Zhu <teawater@gmail.com>
15041
15042 * gdb.base/help.exp (disassemble): Update expected help text.
15043
812f7342
TT
150442009-07-09 Tom Tromey <tromey@redhat.com>
15045
15046 * lib/gdb.exp: Handle TRANSCRIPT.
15047 (remote_spawn, remote_close, send_gdb): New procs.
15048
fbb8f299
PM
150492009-07-10 Phil Muldoon <pmuldoon@redhat.com>
15050
15051 * gdb.python/python-prettyprint.c: Add counted null string
15052 structure.
15053 * gdb.python/python-prettyprint.exp: Print null string. Test for
15054 embedded nulls.
15055 * gdb.python/python-prettyprint.py (pp_ns): New Function.
15056 * gdb.python/python-value.exp (test_value_in_inferior): Add
15057 variable length string fetch tests.
15058 * gdb.python/python-value.c (main): Add strings for string fetch tests.
15059
c0ac0ec7
JK
150602009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
15061
15062 * gdb.base/dump.exp (inaccessible memory is reported): New test.
15063
30b66ecc
TT
150642009-07-07 Tom Tromey <tromey@redhat.com>
15065
15066 * gdb.base/call-rt-st.exp: Update for change to escape output.
15067 * gdb.base/callfuncs.exp: Likewise.
15068 * gdb.base/charset.exp: Likewise.
15069 * gdb.base/constvars.exp: Likewise.
15070 * gdb.base/long_long.exp: Likewise.
15071 * gdb.base/pointers.exp: Likewise.
15072 * gdb.base/printcmds.exp: Likewise.
15073 * gdb.base/setvar.exp: Likewise.
15074 * gdb.base/store.exp: Likewise.
15075 * gdb.cp/ref-types.exp: Likewise.
15076 * gdb.mi/mi-var-child.exp: Likewise.
15077 * gdb.mi/mi-var-display.exp: Likewise.
15078 * gdb.mi/mi2-var-display.exp: Likewise.
15079 * gdb.base/charset.exp: Test octal escape sequence length.
15080 Update for change to escape output.
15081
187c4a2b
JK
150822009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15083
15084 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
15085
d80a43f9
DJ
150862009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
15087
15088 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
15089
047427a8
JK
150902009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15091
15092 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
15093 gdbserver increasing $portnum if "Can't bind address" has been seen.
15094
8b5a0f4f
PA
150952009-07-05 Pedro Alves <pedro@codesourcery.com>
15096
15097 * gdb.base/ending-run.exp: Add "step out of main" pattern for
15098 mingw32ce.
15099
7d93ba58
PA
151002009-07-05 Pedro Alves <pedro@codesourcery.com>
15101
15102 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
15103 VFP format.
15104
2277426b
PA
151052009-07-02 Pedro Alves <pedro@codesourcery.com>
15106
15107 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
15108 linux. Adjust to use "inferior", "info inferiors", "detach
15109 inferior" and "kill inferior" instead of "restart", "info fork",
15110 "detach fork" and "delete fork".
15111 * gdb.base/ending-run.exp: Spell out "info".
15112 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
15113 the "kill" command.
15114
5af949e3
UW
151152009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15116
15117 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
15118 change to prefix TLS offset in hex with 0x.
15119
5d3729b5
UW
151202009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15121
15122 * gdb.base/default.exp: Update test case for "x" changes.
15123
af589bd0
TG
151242009-07-01 Tristan Gingold <gingold@adacore.com>
15125
15126 * gdb.base/bigcore.exp: Make darwin untested.
15127
40974f91
JK
151282009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15129
15130 * gdb.base/completion.exp (directory completion): Create the directory.
15131 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
15132 escapeuniquesub.
15133 (directory completion 2): Expect now ${escapeuniquesub}.
15134 (Glob remaining of directory test): Remove one excessive newline.
15135 Expect the real output.
15136
59dd3af6
JK
151372009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15138
15139 Fix `make check//%' target after `make check' has been ran.
15140 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
15141 a mkdir call.
15142 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
15143 (%/.dir): Remove.
15144
f4e164aa
JK
151452009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15146
15147 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
15148 the expected result record.
15149
69af2122
JK
151502009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15151
15152 Remove racy FAILs relying just on the timeouts.
15153 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
15154 (annotation_level 2): Remove racy FAILs.
15155
2fd481e1
PP
151562009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
15157
15158 gdb/10275
889bf7c5
PA
15159 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
15160
c38f313d
DJ
151612009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
15162
15163 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
15164
8b777f02
VP
151652009-06-30 Vladimir Prus <vladimir@codesourcery.com>
15166
15167 * gdb.mi/mi-stack.exp: Testing symbolic options
15168 to -stack-list-locals and -stack-list-arguments.
15169
00c7eacf
JK
151702009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15171
15172 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
15173
6bc80edc
TT
151742009-06-29 Tom Tromey <tromey@redhat.com>
15175
15176 * dg-extract-results.sh: New file.
15177 * Makefile.in (FORCE_PARALLEL): New variable.
15178 (CHECK_TARGET): New conditional variable.
15179 (check): Use CHECK_TARGET.
15180 (DO_RUNTEST): New variable.
15181 (check-single): New target.
15182 (TEST_DIRS): New variable.
15183 (TEST_TARGETS): Likewise.
15184 (check-parallel): New target.
15185 (check-gdb.%): New pattern.
15186 (BASE1_FILES): New variable.
15187 (BASE2_FILES): Likewise.
15188 (check-gdb.base%): New pattern.
15189 (%/.dir): New pattern.
15190 * configure: Rebuild.
15191 * aclocal.m4 (AM_CONDITIONAL): New defun.
15192 * configure.ac: Check whether user is using GNU make.
15193 (GMAKE): New conditional.
15194
794684b6
SW
151952009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
15196
15197 * gdb.cp/namespace-nested-import.cc: New test.
15198 * gdb.cp/namespace-nested-import.exp: New test.
15199
edb3359d
DJ
152002009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
15201
15202 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
15203 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
15204 * gdb.opt/Makefile.in (EXECUTABLES): Update.
15205 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
15206 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
15207 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
15208 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
15209 gdb.opt/inline-markers.c: New files.
15210 * lib/gdb.exp (skip_inline_frame_tests): New function.
15211 (skip_inline_var_tests): New function.
15212
cf657a0c
AS
152132009-06-27 Andreas Schwab <schwab@linux-m68k.org>
15214
15215 * gdb.cp/exception.exp: Don't require $hex before inner frame in
15216 backtrace.
15217
28d41a99
MS
152182009-06-27 Michael Snyder <msnyder@vmware.com>
15219
15220 * gdb.reverse: New directory.
15221 * gdb.reverse/break-reverse.c: New test.
15222 * gdb.reverse/break-reverse.exp: New test.
15223 * gdb.reverse/consecutive-reverse.c: New test.
15224 * gdb.reverse/consecutive-reverse.exp: New test.
15225 * gdb.reverse/finish-reverse.c: New test.
15226 * gdb.reverse/finish-reverse.exp: New test.
15227 * gdb.reverse/machinestate.c: New test.
15228 * gdb.reverse/ms1.c: New test.
15229 * gdb.reverse/machinestate.exp: New test.
15230 * gdb.reverse/Makefile.in: New file.
15231 * gdb.reverse/shr2.c: New test.
15232 * gdb.reverse/solib-reverse.c: New test.
15233 * gdb.reverse/solib-reverse.exp: New test.
15234 * gdb.reverse/step-reverse.c: New test.
15235 * gdb.reverse/step-reverse.exp: New test.
15236 * gdb.reverse/until-reverse.c: New test.
15237 * gdb.reverse/ur1.c: New test.
15238 * gdb.reverse/until-reverse.exp: New test.
15239 * gdb.reverse/watch-reverse.c: New test.
15240 * gdb.reverse/watch-reverse.exp: New test.
15241 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
15242 * configure: Regenerate.
15243
fe3c8b0d
DE
152442009-06-26 Doug Evans <dje@google.com>
15245
15246 * gdb.base/psymtab.exp: Turn off pending breakpoints.
15247
3a72a602
PM
152482009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
15249
15250 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
15251 windows problem for 'file delete $binfile'.
15252
27aa8d6a
SW
152532009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
15254
15255 * gdb.cp/namespace-using.exp: New test.
15256 * gdb.cp/namespace-using.cc: New test.
15257
8ac055f8
JB
152582009-05-20 Joel Brobecker <brobecker@adacore.com>
15259
15260 * gdb.ada/variant_record_packed_array: New testcase.
15261
85e306ed
TT
152622009-06-23 Tom Tromey <tromey@redhat.com>
15263
15264 * gdb.base/charset.exp (test_combination): Regression test.
15265 * gdb.base/charset.c (my_wchar_t): New typedef.
15266 (myvar): New global.
15267 (main): Set myvar.
15268
56643c5e
PM
152692009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
15270
15271 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
15272 target.
15273
1fac167a
UW
152742009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15275
15276 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
15277
7ccb0be9
UW
152782009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15279
15280 * gdb.mi/gdb680.exp: Update test for error message.
15281
568d6575
UW
152822009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15283
15284 * gdb.base/annota1.exp: Allow multiple occurrences of the
15285 frames-invalid annotation.
15286 * gdb.cp/annota2.exp: Likewise.
15287
7cd1089b
PM
152882009-06-15 Phil Muldoon <pmuldoon@redhat.com>
15289
15290 * gdb.cp/gdb2495.cc: New file.
15291 * gdb.cp/gdb2495.exp: New file.
15292
72c63395
JK
152932009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15294
15295 Report error on GDB crash during runto.
15296 * lib/gdb.exp (runto <eof>): New.
15297
3788363d
DJ
152982009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
15299
15300 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
15301 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
15302 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
15303 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
15304 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
15305 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
15306 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
15307 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
15308 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
15309 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
15310 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
15311 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
15312 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
15313 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
15314 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
15315 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
15316 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
15317 gdb.server/server-mon.exp, gdb.server/server-run.exp,
15318 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15319 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
15320 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
15321 gdb.trace/passcount.exp, gdb.trace/report.exp,
15322 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
15323 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
15324 gdb.trace/while-stepping.exp: Use a unique name for the compiled
15325 executable.
15326
17592de3
PA
153272009-06-07 Pedro Alves <pedro@codesourcery.com>
15328
15329 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
15330 defined before referencing it.
15331
701e355d
DE
153322009-06-03 Doug Evans <dje@google.com>
15333
15334 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
15335 * gdb.arch/i386-see.c: Ditto.
15336
f2292c65
PM
153372009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
15338
15339 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
15340 (check_macro): Return 1 if undefined.
15341 If first test fails, check if macro debug information is available,
15342 and report unsupported test if no macro information is found.
15343
5a437975
DE
153442009-05-29 Doug Evans <dje@google.com>
15345
15346 * gdb.threads/hand-call-in-threads.exp: New.
15347 * gdb.threads/hand-call-in-threads.c: New.
15348
c141c696
MS
153492009-05-29 Michael Snyder <msnyder@vmware.com>
15350
15351 * gdb.base/break-always.exp: Change "1" to "on".
15352 Add confirmation check.
15353
b3444185
PA
153542009-05-28 Pedro Alves <pedro@codesourcery.com>
15355
15356 * gdb.threads/threxit-hop-specific.c: New.
15357 * gdb.threads/threxit-hop-specific.exp: New.
15358 * gdb.threads/thread-execl.c: New.
15359 * gdb.threads/thread-execl.exp: New.
15360
b6313243
TT
153612009-05-27 Tom Tromey <tromey@redhat.com>
15362 Thiago Jung Bauermann <bauerman@br.ibm.com>
15363
15364 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
15365 (mi_child_regexp): Likewise.
15366 (mi_list_varobj_children_range): Likewise.
15367 (mi_get_features): Likewise.
15368 (mi_list_varobj_children): Rewrite.
15369 * gdb.python/python-mi.exp: New file.
15370
a6bac58e
TT
153712009-05-27 Tom Tromey <tromey@redhat.com>
15372 Thiago Jung Bauermann <bauerman@br.ibm.com>
15373 Phil Muldoon <pmuldoon@redhat.com>
15374 Paul Pluzhnikov <ppluzhnikov@google.com>
15375
15376 * gdb.python/python-prettyprint.exp: New file.
15377 * gdb.python/python-prettyprint.c: New file.
15378 * gdb.python/python-prettyprint.py: New file.
15379 * gdb.base/display.exp: print/r is now valid.
15380
2c74e833
TT
153812009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
15382 Tom Tromey <tromey@redhat.com>
15383 Pedro Alves <pedro@codesourcery.com>
15384 Paul Pluzhnikov <ppluzhnikov@google.com>
15385
15386 * gdb.python/python-template.exp: New file.
15387 * gdb.python/python-template.cc: New file.
15388 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
15389 tests.
15390 * gdb.python/python-value.exp (py_objfile_tests): New proc.
15391 Call it.
15392 (test_value_after_death): New proc.
15393 * gdb.python/python-value.c (PTR): New typedef.
15394 (main): New variable 'x'.
15395
89c73ade
TT
153962009-05-27 Tom Tromey <tromey@redhat.com>
15397
15398 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
15399 tests.
15400 * gdb.python/python-value.exp (py_objfile_tests): New proc.
15401 Call it.
15402
a75724bc
PA
154032009-05-27 Pedro Alves <pedro@codesourcery.com>
15404
15405 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
15406
e58b0e63
PA
154072009-05-24 Pedro Alves <pedro@codesourcery.com>
15408
15409 * gdb.threads/fork-thread-pending.c: New.
15410 * gdb.threads/fork-thread-pending.exp: New.
15411
4ac36638
JK
154122009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15413
15414 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
15415 * gdb.dwarf2/dw2-strp.S (a_string2): New.
15416
889bf7c5 154172009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 15418
889bf7c5 15419 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 15420
b242c3c2
PA
154212009-05-17 Pedro Alves <pedro@codesourcery.com>
15422
15423 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
15424 `gdb_get_line_number'. Call `callee' in both parent and child.
15425 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
15426 `gdb_get_line_number' instead of hardcoding line numbers.
15427 (catch_fork_unpatch_child): New procedure to test detaching
15428 breakpoints from child fork.
15429 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
15430 hardcoding line numbers.
15431 (do_fork_tests): Run `catch_fork_unpatch_child'.
15432
ee342b23
VP
154332009-05-17 Vladimir Prus <vladimir@codesourcery.com>
15434
15435 * gdb.mi/mi-cmd-var.exp: Check that when varobj
15436 of structure type enters or leaves the scope, it
15437 is reported by -var-update.
15438
e2009e98
DE
154392009-05-11 Doug Evans <dje@sebabeach.org>
15440
15441 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 15442 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
15443 * gdb.threads/schedlock.c (main): Fix off-by-one error.
15444
00903456
JK
154452009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15446
15447 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
15448
dc621c35
DE
154492009-04-30 Doug Evans <dje@google.com>
15450
15451 * gdb.threads/watchthreads2.exp: New testcase.
15452 * gdb.threads/watchthreads2.c: New testcase.
15453
9ab4e744
DE
154542009-04-29 Doug Evans <dje@google.com>
15455
15456 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
15457 * gdb.cp/mb-ctor.cc: Ditto.
15458 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
15459 * gdb.cp/mb-inline.h (multi_line_foo): New function.
15460 * gdb.cp/mb-inline1.cc: Call it.
15461 * gdb.cp/mb-inline2.cc: Ditto.
15462 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
15463 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
15464
484086b7
JK
154652009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15466
15467 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
15468 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
15469 Replace all uses of `decimal' by `nonzero'.
15470 (info macro FROM_COMMANDLINE): New test.
15471
379a77b5
TT
154722009-04-27 Tom Tromey <tromey@redhat.com>
15473
15474 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
15475
b92b73c2
DE
154762009-04-27 Doug Evans <dje@google.com>
15477
15478 * gdb.threads/watchthreads.c (main): Initialize args before starting
15479 the threads. Plus formatting cleanup.
15480 * gdb.threads/watchthreads.exp: Avoid errant failures due to
15481 biased scheduling of one thread.
15482
945a118d
JG
154832009-04-27 Jerome Guitton <guitton@adacore.com>
15484
15485 * gdb.cp/templates.cc (GetMax): New template.
15486 (main): Declare two instances of GetMax.
15487 * gdb.cp/templates.exp: Add new test.
15488
d389af10
JK
154892009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
15490
15491 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
15492
e7f86de9
JM
154932009-04-22 Joseph Myers <joseph@codesourcery.com>
15494
15495 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
15496
334cc82d
TT
154972009-04-15 Tom Tromey <tromey@redhat.com>
15498
15499 * gdb.base/charset.exp: Add regression test.
15500
d12672cc
JB
155012009-04-14 Joel Brobecker <brobecker@adacore.com>
15502
15503 * gdb.base/exe-lock.exp: New testcase.
15504
18e8c3bc
TT
155052009-04-13 Tom Tromey <tromey@redhat.com>
15506
15507 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
15508 operator on Frame.
15509
5ecd5cbe
UW
155102009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15511
15512 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
15513 * gdb.server/ext-attach.exp: Likewise.
15514
7309f756
VP
155152009-04-03 Vladimir Prus <vladimir@codesourcery.com>
15516
15517 Eliminate some sleep usage.
15518
889bf7c5
PA
15519 * gdb.mi/basics.c (do_nothing): New.
15520 (main): Use do_nothing instead of printf, so that
15521 not to introduce race condition between output of
15522 inferiour and output of gdb. Do not use sleep as it
15523 is not generally available on embedded targets.
7309f756 15524
f4b95f6f
PA
155252009-04-02 Pedro Alves <pedro@codesourcery.com>
15526
15527 * gdb.server/ext-attach.exp: Expect an optional process id after
15528 "Detached from remote process".
15529
de40b933
JK
155302009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15531
15532 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
15533 gdb.dwarf2/dw2-unresolved.exp: New.
15534
2ae101a4
PA
155352009-04-02 Pedro Alves <pedro@codesourcery.com>
15536
15537 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
15538 mi_run_to_main.
15539
56a8e183
PA
155402009-04-02 Pedro Alves <pedro@codesourcery.com>
15541
15542 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
15543 mi_run_to_main. Skip thread exit test on remote targets.
15544 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
15545 mi_run_to_main.
15546 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
15547 mi_run_to_main.
15548 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
15549 when expecting ^connected. Detect when the target doesn't support
15550 non-stop mode.
15551 (mi_run_cmd): Detect if non-stop mode was requested by isn't
15552 supported. Return -1 on error, 0 on success.
15553 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
15554 (mi_runto): Return mi_runto_helper's result explicitly.
15555
c35fafde
PA
155562009-04-01 Pedro Alves <pedro@codesourcery.com>
15557
15558 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
15559
f8a8dce6
JB
155602009-04-01 Tom Tromey <tromey@redhat.com>
15561
15562 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
15563 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
15564 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
15565 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
15566
71c25dea
TT
155672009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
15568 Jan Kratochvil <jan.kratochvil@redhat.com>
15569
15570 PR gdb/931
15571 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
15572 output.
15573 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
15574 for gdb/931.
15575 * dw2-strp.S (DW_AT_language): Change to C++.
15576 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
15577
02d9a9ce
JB
155782009-03-31 Joel Brobecker <brobecker@adacore.com>
15579
15580 * gdb.ada/tasks: New testcase.
15581
1042e4c0
SS
155822009-03-30 Stan Shebs <stan@codesourcery.com>
15583
15584 * gdb.trace/actions.exp: Update to match new info trace format.
15585 * gdb.trace/deltrace.exp: Ditto.
15586 * gdb.trace/infotrace.exp: Ditto.
15587 * gdb.trace/passcount.exp: Ditto.
15588 * gdb.trace/save-trace.exp: Ditto.
15589 * gdb.trace/while-stepping.exp: Ditto.
15590 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
15591
f8f6f20b
TJB
155922009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
15593
15594 * gdb.python/python-frame.c: New file.
15595 * gdb.python/python-frame.exp: New file.
15596
c0c6f777
TJB
155972009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
15598
15599 * gdb.python/python-value.exp: Add tests for the address
15600 attribute.
15601
3cb51905
AS
156022009-03-29 Andreas Schwab <schwab@linux-m68k.org>
15603
15604 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
15605
88fc996f
DE
156062009-03-26 Doug Evans <dje@google.com>
15607
15608 * gdb.mi/mi-nonstop-exit.exp: New file.
15609 * gdb.mi/non-stop-exit.c: New file.
15610
56ef84b1
TT
156112009-03-26 Tom Tromey <tromey@redhat.com>
15612
15613 Update for change to prologue skipping:
15614 * gdb.mi/mi2-simplerun.exp: Update.
15615 * gdb.mi/mi2-break.exp: Update.
15616 * gdb.mi/mi-simplerun.exp: Update.
15617 * gdb.mi/mi-break.exp: Update.
15618 * gdb.base/ending-run.exp: Update.
15619
def2b000
TJB
156202009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
15621
15622 * gdb.python/python-value.exp (test_value_in_inferior): Test
15623 gdb.Value.is_optimized_out attribute.
15624
442ddf59
JK
156252009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15626
15627 * gdb.dwarf2/dw2-noloc-main.c: New file.
15628 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
15629 (.text): Remove.
15630 (.data): New.
15631 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
15632 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
15633 (DW_TAG_subprogram func_cu1, noloc): Remove.
15634 (main): New.
15635 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
15636 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
15637 (file_symbols): New procedure.
15638
a8df5de4
TT
156392009-03-25 Tom Tromey <tromey@redhat.com>
15640
15641 * gdb.base/charset.exp (valid_target_charset): New proc.
15642 Use it to skip tests on invalid charsets.
15643
cc1d7add
PM
156442009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
15645
15646 * gdb.base/completion.exp: Add a test for directory completion.
15647
bcd5727b
JK
156482009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15649
15650 Fix a racy FAIL.
15651 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
15652 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
15653
cc924cad
TJB
156542009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
15655
15656 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
15657 * gdb.python/python-function.exp: Add test for function returning
15658 a GDB value.
15659
bc3b79fd
TJB
156602009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
15661
15662 * gdb.python/python-function.exp: New file.
15663
6c7a06a3
TT
156642009-03-20 Tom Tromey <tromey@redhat.com>
15665
15666 * gdb.base/store.exp: Update for change to escape output.
15667 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
15668 to escape output.
15669 * gdb.base/pointers.exp: Update for change to escape output.
15670 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
15671 to escape output.
15672 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
15673 escape output.
15674 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
15675 to escape output.
15676 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
15677 escape output.
15678 * gdb.base/setvar.exp: Update for change to escape output.
15679 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
15680 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
15681 to escape output.
15682 (test_print_string_constants): Likewise.
15683 * gdb.base/charset.exp (valid_host_charset): Check size of
15684 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
15685 cases. Handle "auto"-related output.
15686 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
15687 (uvar, Uvar): New globals.
15688
c31af87b
JG
156892009-03-19 Jerome Guitton <guitton@adacore.com>
15690
15691 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
15692 deltas.
15693 * gdb.ada/fixed_points.exp: Ditto.
15694
51272cf2
PA
156952009-03-18 Pedro Alves <pedro@codesourcery.com>
15696
15697 * return-nodebug.c: Don't include stdio.h.
15698 (init): Delete.
15699 (func): Delete definition and provide extern declaration.
15700 (t): New.
15701 (main): Don't call printf. Call func and store its result in t.
15702 * return-nodebug1.c: New.
15703 * return-nodebug.exp: Don't expect stdio output. Instead, print
15704 the global variable t. Drop printf formatters and cast types from
15705 foreach loop. Don't use prepare_for_testing. Compile
15706 return-nodebug.c and return-nodebug1.c in separate steps. Don't
15707 define FORMAT or CAST.
15708
d24948ac
PP
157092009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15710
15711 * gdb.base/solib-display.exp: Disable test for remote targers.
15712
61ff14c6
JK
157132009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15714
15715 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
15716
cb4dce93
JK
157172009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15718
15719 Fix a racy FAIL.
15720 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
15721 code from `follow parent, print pids'.
15722 (`follow child, print pids', `follow parent, print pids'): Call it.
15723 Replace `gdb_test "break..."' by gdb_breakpoint.
15724
f7c60c5e
VP
157252009-03-13 Vladimir Prus <vladimir@codesourcery.com>
15726
15727 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 15728 sync and async modes.
f7c60c5e 15729
383ace49
JB
157302009-03-12 Joel Brobecker <brobecker@adacore.com>
15731
15732 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
15733 that was checked in by mistake. Remove loading of ada.exp, since
15734 this is not necessary in this case.
15735
4ce102af
JB
157362009-03-12 Joel Brobecker <brobecker@adacore.com>
15737
15738 * gdb.ada/ptype_arith_binop.exp: New testcase.
15739
529a2aef
JB
157402009-03-12 Joel Brobecker <brobecker@adacore.com>
15741
15742 * gdb.ada/mod_from_name: New testcase.
15743
8a38181c
JB
157442009-03-12 Joel Brobecker <brobecker@adacore.com>
15745
15746 * gdb.ada/tick_last_segv: New testcase.
15747
11436dee
VP
157482009-03-12 Vladimir Prus <vladimir@codesourcery.com>
15749
61ff14c6 15750 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 15751
1f31650a
VP
157522009-03-12 Vladimir Prus <vladimir@codesourcery.com>
15753
61ff14c6
JK
15754 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
15755 include the token in ^running and frame info in *stopped.
1f31650a 15756
a3247a22
PP
157572009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15758
15759 * solib-display.exp: New file.
15760 * solib-display-main.c: New file.
15761 * solib-display-lib.c: New file.
61ff14c6 15762
aae64587
PA
157632009-03-05 Pedro Alves <pedro@codesourcery.com>
15764
15765 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
15766
44aabfbc
JK
157672009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
15768
15769 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
15770 (list_and_check_macro): Use more specific test name.
15771 (next to definition): Make the test names unique.
15772
c087fcd3
PM
157732009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
15774
15775 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 15776
c86cf029
VP
157772009-02-17 Vladimir Prus <vladimir@codesourcery.com>
15778
15779 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
15780 notifications.
15781 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
15782 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
15783 * lib/mi-support.exp (library_loaded_re): New.
15784 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
15785
3ea85240
VP
157862009-02-17 Vladimir Prus <vladimir@codesourcery.com>
15787
15788 * gdb.gdb/observer.exp: Use test_notification observer, not
15789 normal_stop, everywhere.
15790 (test_normal_stop_notifications): Rename to...
15791 (test_notifications): ...this.
15792 (test_observer_normal_stop): Rename to...
15793 (test_observer): ...this.
15794
1903f0e6
DE
157952009-02-16 Doug Evans <dje@google.com>
15796
15797 * gdb.arch/amd64-disp-step.S (test_int3): New test.
15798 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
15799 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
15800 (test_prefixed_syscall,test_int3): New tests.
15801 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
15802 (test_prefixed_syscall,test_int3): New tests.
15803
1d33d6ba
VP
158042009-02-14 Vladimir Prus <vladimir@codesourcery.com>
15805
3cb51905
AS
15806 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
15807 (mi_expect_interrupt): Likewise.
15808 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
15809 response.
1d33d6ba 15810
faafb047
PM
158112009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
15812
15813 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
15814 * gdb.base/pc-fp.exp (get_valueofx): Remove.
15815 Replace calls to get_valueofx by get_hexadecimal_valueof.
15816
417e16e2
PM
158172009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
15818
15819 * lib/gdb.exp (get_valueof): Accept anything as a return value.
15820 (get_integer_valueof): New procedure.
15821 (get_sizeof): Use new get_integer_value_of.
15822 * gdb.base/sizeof.exp: Replace all uses of get_valueof
15823 by get_integer_valueof.
15824
7065b901
TT
158252009-02-13 Tom Tromey <tromey@redhat.com>
15826
15827 * gdb.base/remote.exp (get_sizeof): Remove.
15828 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
15829 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
15830 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
15831 * lib/gdb.exp (get_valueof): Move from long_long.exp.
15832 (get_sizeof): Likewise.
15833
5d7cb8df
JK
158342009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15835
15836 PR fortran/9806
15837 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
15838
b2febfff
PP
158392009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15840
15841 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
15842
4aa995e1
PA
158432009-02-06 Pedro Alves <pedro@codesourcery.com>
15844
15845 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
15846
d8906c6f
TJB
158472009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
15848
15849 * gdb.python/python-cmd.exp: New file.
15850
ff4ab08d
TG
158512009-02-06 Tristan Gingold <gingold@adacore.com>
15852
15853 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
15854
aacd552b
TG
158552009-02-05 Tristan Gingold <gingold@adacore.com>
15856
15857 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
15858 pointer is dereferenced and use this signal name in regexp.
15859 * gdb.base/signull.exp: Ditto.
15860 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
15861 * gdb.base/signull.c (main): Ditto.
15862
08c637de
TJB
158632009-02-04 Tom Tromey <tromey@redhat.com>
15864 Thiago Jung Bauermann <bauerman@br.ibm.com>
15865
15866 * gdb.python/python-value.exp: Use `gdb.history' instead of
15867 `gdb.value_from_history'.
15868 (test_value_numeric_ops): Add test for conversion of enum constant.
15869 * gdb.python/python-value.c (enum e): New type.
15870 (evalue): New global.
15871 (main): Use argv.
15872
20261af8
JG
158732009-02-04 Jerome Guitton <guitton@adacore.com>
15874
15875 * gdb.ada/uninitialized_vars: New test program.
15876 * gdb.ada/uninitialized_vars.exp: New testcase.
15877
52e44b43
TT
158782009-02-02 Tom Tromey <tromey@redhat.com>
15879
15880 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
15881 * gdb.cp/pr2489.cc: Rename...
15882 * gdb.cp/pr9594.cc: ... to this.
15883
1c71341a
TT
158842009-02-02 Tom Tromey <tromey@redhat.com>
15885
15886 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
15887 * gdb.cp/pr2489.cc: New file.
15888 * gdb.cp/cpcompletion.exp: New file.
15889
a4295225
TT
158902009-02-02 Tom Tromey <tromey@redhat.com>
15891
15892 PR exp/9059:
15893 * gdb.cp/call-c.exp: Add regression test.
15894 * gdb.cp/call-c.cc (FooHandle): New typedef.
15895 (main): New variable 'handle'.
15896
592375cd
VP
158972009-01-30 Vladimir Prus <vladimir@codesourcery.com>
15898
15899 * lib/mi-support.exp (et_mi_thread_list)
15900 (check_mi_and_console_threads): Adjust for current thread in
15901 -thread-list-ids output.
15902
41447f92
VP
159032009-01-30 Vladimir Prus <vladimir@codesourcery.com>
15904
889bf7c5
PA
15905 * gdb.mi/mi-break.exp (test_disabled_creation): New.
15906 Call it.
41447f92 15907
35669430
DE
159082009-01-28 Doug Evans <dje@google.com>
15909
15910 * gdb.arch/amd64-disp-step.S: New file.
15911 * gdb.arch/amd64-disp-step.exp: New file.
15912 * gdb.arch/i386-disp-step.S: New file.
15913 * gdb.arch/i386-disp-step.exp: New file.
15914
09f00d9a
PM
159152009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
15916
15917 * gdb.base/find.exp: Set newline variable
15918 using quotes instead of braces to fix cygwin failures.
15919
1e8fb976
PA
159202009-01-23 Pedro Alves <pedro@codesourcery.com>
15921
15922 * gdb.base/radix.exp: Add tests to ensure that that set
15923 input-radix 0 and set output-radix 0 are really rejected.
15924
da061712
PA
159252009-01-23 Pedro Alves <pedro@codesourcery.com>
15926
15927 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
15928 copyright years.
15929
dd7e2d2b
PA
159302009-01-23 Pedro Alves <pedro@codesourcery.com>
15931
15932 PR gdb/9664:
15933 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
15934
392452f6
PA
159352009-01-22 Pedro Alves <pedro@codesourcery.com>
15936
15937 PR c++/9631:
15938 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
15939
8653e71c
PM
159402009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
15941
15942 * gdb.server/file-transfer.exp: Use EXEEXT variable for
15943 binfile definition to fix Windows OS failure.
15944
a12cc160
DJ
159452009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
15946
15947 PR gdb/9346
15948 * gdb.base/interrupt.c (sigint_handler): New.
15949 (main): Install a SIGINT handler if SIGNALS is defined. Exit
15950 on error.
15951 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
15952 Test "signal SIGINT".
15953
b89667eb
DE
159542009-01-19 Doug Evans <dje@google.com>
15955
15956 * gdb.base/break.exp: Update expected gdb output.
15957 * gdb.base/sepdebug.exp: Ditto.
15958 * gdb.mi/mi-syn-frame.exp: Ditto.
15959 * gdb.mi/mi2-syn-frame.exp: Ditto.
15960 * gdb.base/call-signal-resume.exp: New file.
15961 * gdb.base/call-signals.c: New file.
15962 * gdb.base/unwindonsignal.exp: New file.
15963 * gdb.base/unwindonsignal.c: New file.
15964 * gdb.threads/interrupted-hand-call.exp: New file.
15965 * gdb.threads/interrupted-hand-call.c: New file.
15966 * gdb.threads/thread-unwindonsignal.exp: New file.
15967
adb483fe
DJ
159682009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
15969
15970 * gdb.base/define.exp: Test defining and hooking prefix commands.
15971 * gdb.python/python.exp: Update test for "show user" output.
15972
60023297
JK
159732009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15974
15975 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
15976 now the output exactly, using less wildcards. Expect also the output
15977 of gfortran-4.3. Update for the f-valprint.c modification from
15978 2008-04-22.
15979 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
15980 Remove gdb_test test names where matching the command.
15981
ccc57cf9
PA
159822009-01-01 Pedro Alves <pedro@codesourcery.com>
15983
15984 PR breakpoints/9681:
15985 * gdb.base/watchpoint.exp: Add regression test.
15986
c7a6ca08
PA
159872008-12-31 Pedro Alves <pedro@codesourcery.com>
15988
15989 * gdb.threads/attach-into-signal.exp: Don't use
15990 gdb_suppress_entire_file.
15991 * gdb.threads/attach-stopped.exp: Ditto.
15992 * gdb.threads/attachstop-mt.exp: Ditto.
15993
3a031f65
PA
159942008-12-31 Pedro Alves <pedro@codesourcery.com>
15995
15996 PR gdb/8812:
15997 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
15998
09e6485f
PA
159992008-12-29 Pedro Alves <pedro@codesourcery.com>
16000
16001 PR gdb/7536:
16002 * gdb.base/radix.exp: Add tests to ensure invalid input radices
16003 and unsupported output radices are really rejected.
16004
0cd53049
JK
160052008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16006
16007 * gdb.cp/punctuator.exp: Backslash the '$' signs.
16008
ba163c7e
TT
160092008-12-22 Tom Tromey <tromey@redhat.com>
16010
16011 * gdb.cp/punctuator.exp: New file.
16012
6f4de6c9
JK
160132008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16014
16015 * gdb.base/completion.exp (Completing non-existing component): New test.
16016
0f34d0b4
JK
160172008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16018
16019 Fix for PR gdb/8648.
16020 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
16021 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
16022 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
16023 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
16024
db2ad4c3
JK
160252008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16026
16027 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
16028
bb5ef15e
DP
160292008-12-16 Christophe Lyon <christophe.lyon@st.com>
16030
16031 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
16032 compiler actually generate code at the expected line number.
16033
90142adc
JZ
160342008-12-15 Jie Zhang <jie.zhang@analog.com>
16035
16036 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
16037
fad6eecd
TT
160382008-12-12 Tom Tromey <tromey@redhat.com>
16039
16040 * gdb.base/commands.exp (redefine_hook_test): New proc.
16041 Call it.
16042
17c8aaf5
TT
160432008-12-11 Tom Tromey <tromey@redhat.com>
16044
16045 * gdb.base/macscp.exp: New regression test.
16046
7c8adf68
TT
160472008-12-11 Tom Tromey <tromey@redhat.com>
16048
16049 * gdb.base/macscp.exp: Print "address.addr".
16050 * gdb.base/macscp1.c (struct outer): New struct.
16051 (address): New global.
16052
b05dcbb7
TT
160532008-12-09 Tom Tromey <tromey@redhat.com>
16054
16055 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
16056 Call it.
16057
2d476de1
DE
160582008-12-04 Doug Evans <dje@google.com>
16059
16060 * gdb.server/ext-run.exp: Relax regexp for init program.
16061
87bdc959
TG
160622008-12-03 Tristan Gingold <gingold@adacore.com>
16063
16064 * gdb.base/macscp.exp: Generate an object file during compilation
16065 to work around Darwin dsymutil limitations.
16066
e0740f77
JK
160672008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16068
16069 Test resolving external references to TLS variables.
16070 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
16071 FILE2_THREAD_LOCAL.
16072 (testfile2, srcfile2): New variables.
16073 * gdb.threads/tls.c (file2_thread_local)
16074 (function_referencing_file2_thread_local): New.
16075 * gdb.threads/tls2.c: New file.
16076
67f0aac5
JB
160772008-11-28 Joel Brobecker <brobecker@adacore.com>
16078
16079 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
16080 rather than integer, as integer might not be big enough when
16081 on 64bit targets.
67f0aac5 16082
c332165e
JG
160832008-11-27 Jerome Guitton <guitton@adacore.com>
16084
16085 * gdb.cp/formatted-ref.exp: Add equality test.
16086 * gdb.ada/formatted_ref.exp: Ditto.
16087
fc9b693c
JK
160882008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16089
16090 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
16091 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
16092
a9c64011
AS
160932008-11-20 Andreas Schwab <schwab@suse.de>
16094
16095 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
16096 matching syscall entry point.
16097 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16098 (tcatch_vfork_then_child_follow): Likewise. Finish through
16099 vfork even if we stopped at the syscall trampoline.
16100
e2fd701e
DE
161012008-11-20 Doug Evans <dje@google.com>
16102
16103 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
16104
69abc51c
TJB
161052008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
16106
16107 * gdb.arch/ppc-dfp.exp: New file.
16108 * gdb.arch/ppc-dfp.c: New file.
16109
c14c28ba
PP
161102008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16111
16112 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 16113
2e74121d
DE
161142008-11-17 Doug Evans <dje@google.com>
16115
16116 * gdb.mi/mi-syn-frame.exp: Update expected output.
16117 * gdb.mi/mi2-syn-frame.exp: Update expected output.
16118
66bb093b
VP
161192008-11-17 Vladimir Prus <vladimir@codesourcery.com>
16120
16121 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
16122 "thread N" results in =thread-selected.
16123 * lib/mi-support (mi_run_cmd, mi_expect_stop)
16124 (mi_send_resuming_command_raw): Be prepared for
16125 =thread-selected.
16126
3d043ef6
VP
161272008-11-17 Vladimir Prus <vladimir@codesourcery.com>
16128
a9c64011
AS
16129 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
16130 * lib/mi-support.exp: Likewise.
3d043ef6 16131
808104c8
JB
161322008-11-16 Joel Brobecker <brobecker@adacore.com>
16133
16134 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
16135 commands from the expected output for "help catch".
16136
00b22944
JB
161372008-11-15 Joel Brobecker <brobecker@adacore.com>
16138
16139 * gdb.ada/int_deref.exp: New testcase.
16140
59669435
TT
161412008-11-14 Nick Roberts <nickrob@snap.net.nz>
16142
16143 * gdb.mi/gdb2549.exp: New file.
16144
de04a248
DE
161452008-11-11 Doug Evans <dje@google.com>
16146
16147 * gdb.base/callexit.exp: New file.
16148 * gdb.base/callexit.c: New file.
16149
6b8ce727
DE
161502008-11-10 Doug Evans <dje@google.com>
16151
16152 * lib/gdb.exp (GDBFLAGS): Move -nx ...
16153 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
16154 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
16155 (default_gdb_start,default_gdb_exit): Ditto.
16156 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
16157 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
16158 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
16159 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
16160 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
16161 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
16162
1b14b8aa
AS
161632008-11-03 Andreas Schwab <schwab@suse.de>
16164
16165 * gdb.base/hashline2.exp: Fix typo.
16166 * gdb.base/hashline3.exp: Likewise.
16167
f3134b88
TT
161682008-10-30 Tom Tromey <tromey@redhat.com>
16169
16170 * gdb.base/pointers.exp: Add test.
16171 * gdb.base/pointers.c (k, S): New typedefs.
16172 (instance): New global.
16173
c2226152
AS
161742008-10-30 Andreas Schwab <schwab@suse.de>
16175
16176 * gdb.base/args.exp: Add tests for newlines.
16177
462f405c
JB
161782008-10-30 Joel Brobecker <brobecker@adacore.com>
16179
16180 gdb.base/foll-exec.exp: Update the expected output of a couple
16181 of "info breakpoints" tests.
16182
79a45b7d
TT
161832008-10-28 Tom Tromey <tromey@redhat.com>
16184
16185 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
16186
adc13a14
PA
161872008-10-24 Pedro Alves <pedro@codesourcery.com>
16188
16189 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
16190 gdb_start_cmd.
16191 Use runto_main before any test that requires execution.
16192
252fbfc8
PA
161932008-10-23 Pedro Alves <pedro@codesourcery.com>
16194
16195 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
16196 instead of SIGINT.
16197
28148e3d
JB
161982008-10-22 Joel Brobecker <brobecker@adacore.com>
16199
16200 * gdb.base/completion.exp: Update expected output following
16201 the addition of the "info tasks" command.
16202
c209f847
TT
162032008-10-22 Tom Tromey <tromey@redhat.com>
16204
16205 * gdb.base/exprs.exp (test_expr): Add test for string
16206 concatenation.
16207
f177e350
PA
162082008-10-19 Pedro Alves <pedro@codesourcery.com>
16209
16210 * configure.ac: Output gdb.python/Makefile.
16211 * configure: Regenerate.
16212 * gdb.python/Makefile.in: New.
16213
cce89356
JB
162142008-10-16 Joel Brobecker <brobecker@adacore.com>
16215
16216 * gdb.base/foll-fork.exp: Adjust the expected output to match
16217 the new description for fork/vfork catchpoints in the "info
16218 breakpoints" output.
16219
176d289d
TJB
162202008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
16221
16222 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
16223
a08702d6
TJB
162242008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
16225
16226 * gdb.python/python-value.c: New file.
16227 * gdb.python/python-value.exp: New file.
16228
1c5cfe86
PA
162292008-10-15 Pedro Alves <pedro@codesourcery.com>
16230
16231 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
16232
5a98ad69
DP
162332008-10-15 Denis Pilat <denis.pilat@st.com>
16234
41702f1b 16235 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 16236
dcb1a1e2
TT
162372008-10-09 Tom Tromey <tromey@redhat.com>
16238
16239 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
16240 'fprintf' and 'stderr'.
16241
9124fe48
JB
162422008-10-07 Joel Brobecker <brobecker@adacore.com>
16243
16244 * gdb.ada/ref_tick_size.exp: New testcase.
16245
45452591
DE
162462008-10-06 Doug Evans <dje@google.com>
16247
16248 * gdb.dwarf2/dw2-cu-size.exp: New file.
16249 * gdb.dwarf2/dw2-cu-size.S: New file.
16250
16251 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
16252 .Ltype_int for clarity.
16253
4fc5b208
PP
162542008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
16255
16256 PR gdb/2384:
16257 * gdb.cp/gdb2384.exp: Extended to test more cases.
16258 * gdb.cp/gdb2384.cc: Likewise.
16259 * gdb.cp/gdb2384-base.h: Likewise.
16260 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 16261
d78df370
JK
162622008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16263
16264 * gdb.base/maint.exp (maint print type): Remove printing
16265 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
16266
9a044a89
TT
162672008-09-30 Tom Tromey <tromey@redhat.com>
16268
16269 * gdb.base/macscp.exp: Add completion tests.
16270 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
16271 (TWENTY_THREE): Likewise.
16272 (FORTY_EIGHT): Likewise.
16273
506800a9
TT
162742008-09-30 Tom Tromey <tromey@redhat.com>
16275
16276 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
16277 everywhere.
16278 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
16279
1a6f01b5
JK
162802008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
16281
16282 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
16283 testcase is derived from. Fix racy dependency on an expected PID
16284 number. No longer support the testcase on Linux kernel 2.4.x.
16285
2fae03e8
TT
162862008-09-27 Tom Tromey <tromey@redhat.com>
16287
16288 * gdb.base/macscp.exp: Add tests for stringification, splicing,
16289 and varargs.
16290
1ad15515
PA
162912008-09-22 Pedro Alves <pedro@codesourcery.com>
16292
16293 * lib/mi-support.exp (mi_expect_interrupt): New.
16294 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
16295 from gdb.mi/mi-nonstop.exp.
16296 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
16297 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
16298 lib/mi-support.exp.
16299 Use mi_check_thread_states throughout. Avoid ".*" and do not
16300 require an anchor after -exec-run.
16301
d0b76dc6
DJ
163022008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
16303
16304 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
16305 stop is pending. Avoid ".*" when two stops are pending.
16306 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
16307 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
16308 newlines in fullnames.
16309 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
16310 (mi_expect_stop): Update comments. Only anchor in sync mode.
16311 Do not match newlines.
16312 (mi_send_resuming_command_raw): Always return status.
16313 (mi_get_stop_line): Do not match more than one line by accident.
16314 Only anchor in sync mode.
16315 (mi_run_inline_test): If -exec-next fails, give up.
16316
9990c830
UW
163172008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16318
16319 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
16320 on SPU.
16321
ebcf6f00
JB
163222008-09-10 Joel Brobecker <brobecker@adacore.com>
16323
16324 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
16325
b6db24e5
JB
163262008-09-10 Joel Brobecker <brobecker@adacore.com>
16327
16328 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
16329 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
16330 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
16331 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
16332 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
16333 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
16334 gdb.ada/interface.exp, gdb.ada/null_array.exp,
16335 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
16336 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
16337 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
16338 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
16339 Include the "= " sequence in the expected output of print tests.
16340
2bf448e0
JB
163412008-09-10 Joel Brobecker <brobecker@adacore.com>
16342
16343 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
16344 description for boolean types.
16345
d51fd4c8
PA
163462008-09-09 Pedro Alves <pedro@codesourcery.com>
16347
16348 * gdb.base/hook-stop-continue.c: New.
16349 * gdb.base/hook-stop-continue.exp: New.
16350
694182d2
DJ
163512008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
16352
16353 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
16354
3b8a7fc0
JG
163552008-09-08 Jerome Guitton <guitton@adacore.com>
16356
16357 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
16358 (stack_check_probe_2, stack_check_probe_loop_1)
16359 (stack_check_probe_loop_2): New functions.
16360 (main): Add call to these new functions.
16361 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
16362 functions, check that the breakpoint is inserted at the appropriate
16363 location.
16364 (insert_breakpoint): Slightly refine this procedure so that it can
16365 be called several times in the test.
16366
96cc0ae8
JG
163672008-09-08 Jerome Guitton <guitton@adacore.com>
16368
16369 * gdb.base/stack-checking.c: New file.
16370 * gdb.base/stack-checking.exp: New file.
16371
1f08b409
TJB
163722008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
16373
16374 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
16375 * gdb.arch/altivec-regs.exp: Likewise.
16376 * gdb.arch/vsx-regs.exp: Likewise.
16377
3099e1c4
TJB
163782008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
16379
16380 * gdb.arch/ppc-fp.exp: New file.
16381 * gdb.arch/ppc-fp.c: New file.
16382
cc69bfc1
PP
163832008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16384
16385 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
16386 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 16387
b02a33db
MS
163882008-09-04 Michael Snyder <msnyder@vmware.com>
16389
16390 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
16391 as "at" (for non-debug functions such as _start).
16392
2992cbe0
UW
163932008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16394
16395 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
16396 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
16397 software watchpoints.
16398 * gdb.base/watch_thread_num.exp: Likewise.
16399
514f746b
AR
164002008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
16401
16402 * gdb.arch/i386-bp_permanent.exp: New test.
16403
876cecd0
TT
164042008-08-24 Tom Tromey <tromey@redhat.com>
16405
16406 * gdb.base/maint.exp: Update "maint print type".
16407
80f73d71
VP
164082008-08-21 Vladimir Prus <vladimir@codesourcery.com>
16409
16410 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
16411 support. Adjust the order of "*running" notifications.
16412 * gdb.mi/non-stop.c: Don't cast from int to void* and
16413 back.
16414
d9c78d7d
MK
164152008-08-20 Mark Kettenis <kettenis@gnu.org>
16416
16417 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
16418 expect to find it in the "info frame" output.
16419
97a2d1d3
DJ
164202008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
16421
16422 * gdb.base/interp.exp: Always consume both prompts.
16423
b96e2927
PA
164242008-08-20 Pedro Alves <pedro@codesourcery.com>
16425
16426 * gdb.base/pending.exp: Test pending breakpoints without symbols
16427 loaded.
16428
8cf6e61a
VP
164292008-08-19 Vladimir Prus <vladimir@codesourcery.com>
16430
16431 * lib/mi-support.exp (mi_expect_stop): Produce
16432 more details on failures.
16433 * gdb.mi/mi-nonstop.exp: New.
16434 * gdb.mi/non-stop.c: New.
16435
c6ebd6cf
VP
164362008-08-19 Vladimir Prus <vladimir@codesourcery.com>
16437
a9c64011
AS
16438 * gdb.mi/mi-async.exp: Use 'set target-async'.
16439 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 16440
46a9b8ed
DJ
164412008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
16442
16443 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
16444
44feb3ce
TT
164452008-08-17 Tom Tromey <tromey@redhat.com>
16446
16447 * gdb.base/help.exp (help catch): Rewrite.
16448
311a4e6b
TJB
164492008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
16450
16451 * gdb.base/define.exp: Test indented command documentation.
16452 * gdb.python/python.exp: Test indented multi-line command.
16453
604c2f83
LM
164542008-08-15 Luis Machado <luisgpm@br.ibm.com>
16455
16456 * testsuite/gdb.arch/vsx-regs.c: New source file.
16457 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
16458 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
16459
886a217c
TT
164602008-08-14 Tom Tromey <tromey@redhat.com>
16461
16462 * gdb.base/macscp.exp: Add regression test for "macro define" or
16463 "macro undef" with no arguments.
16464
c814a4f3
PP
164652008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16466
16467 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 16468
12ab8a60
UW
164692008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16470
16471 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
16472
d57a3c85
TJB
164732008-08-06 Tom Tromey <tromey@redhat.com>
16474
16475 * gdb.python/python.exp: New file.
16476
c7b778ff
JK
164772008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
16478
16479 Fix for PR gdb/1543.
16480 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
16481 $LOCATION.
16482 (location): New variable.
16483 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
16484 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
16485 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
16486 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
16487 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
16488 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
16489 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
16490 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
16491 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
16492 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
16493 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
16494 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
16495 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
16496 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
16497 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
16498 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
16499 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
16500 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
16501 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
16502 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
16503 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
16504 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
16505 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
16506 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
16507 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
16508 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
16509 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
16510 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
16511 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
16512 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
16513 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
16514 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
16515 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
16516 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
16517 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
16518 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
16519 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
16520 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
16521 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
16522 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
16523 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
16524 gdb.base/type-opaque.exp, gdb.base/until.exp,
16525 gdb.base/value-double-free.c, gdb.base/varargs.exp,
16526 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
16527 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
16528 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
16529 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
16530 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
16531 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
16532 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
16533 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
16534 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
16535 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
16536 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
16537 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
16538 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
16539 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
16540 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
16541 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
16542 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
16543 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
16544 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
16545 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
16546 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
16547 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
16548 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
16549 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
16550 gdb.pascal/types.exp, gdb.stabs/weird.exp,
16551 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
16552 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
16553 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
16554 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
16555 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
16556 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
16557 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
16558 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
16559 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
16560 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
16561 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
16562 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
16563 lib/mi-support.exp, lib/trace-support.exp: Remove reference
16564 to bug-gdb@prep.ai.mit.edu .
16565
5e06a3d1
VP
165662008-07-31 Vladimir Prus <vladimir@codesourcery.com>
16567
16568 * lib/mi-support.exp (mi_load_shlibs): New.
16569 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
16570
9d81d21b
VP
165712008-07-30 Vladimir Prus <vladimir@codesourcery.com>
16572
16573 * lib/mi-support.exp (get_mi_thread_list)
16574 (check_mi_and_console_threads): New, moved from ...
16575 * gdb.mi/mi-pthread.exp: ...here.
16576 * gdb.mi/gdb669.exp (get_mi_thread_list)
16577 (check_mi_and_console_threads): Delete.
16578 * gdb.mi/mi2-pthread.exp: Likewise.
16579
bae98fe0
TT
165802008-07-28 Tom Tromey <tromey@redhat.com>
16581
16582 * Makefile.in (just-check): Remove. Move body to...
16583 (check): ... here.
16584
57380f4e
DJ
165852008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16586
16587 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
16588 Add a test for duplicated SIGINTs.
16589
e09490f1
DJ
165902008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16591
16592 * gdb.threads/schedlock.exp (get_args): Update to work for any
16593 value of NUM.
16594 (Top level): Report the number of threads that did not resume.
16595
6387b45f
DJ
165962008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16597
16598 * gdb.dwarf2/dw2-compressed.S: Also define __start.
16599
62f64ff2
DJ
166002008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16601
16602 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
16603 non-MI prompt.
16604
fa8de41e
TT
166052008-07-26 Tom Tromey <tromey@redhat.com>
16606
16607 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
16608 (function_struct, function_struct_ptr): New globals.
16609 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
16610 function pointer in a struct.
16611
ccb3ac8a
TT
166122008-07-26 Tom Tromey <tromey@redhat.com>
16613
16614 * gdb.base/macscp.exp: Add test for macro lexing bug.
16615
d7d9f01e
TT
166162008-07-18 Tom Tromey <tromey@redhat.com>
16617
16618 * gdb.base/macscp.exp: Add macro tests.
16619
9bf07184
PP
166202008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
16621
16622 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
16623
becf6477
PP
166242008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
16625
16626 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
16627
0709f7d3
PP
166282008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
16629
16630 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 16631
7093c834
PP
166322008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
16633
16634 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 16635
b432ffe3
JK
166362008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16637
16638 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
16639
b1a268e5
VP
166402008-07-12 Vladimir Prus <vladimir@codesourcery.com>
16641
16642 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
16643
e2995f8e
KB
166442008-07-11 Kevin Buettner <kevinb@redhat.com>
16645
16646 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
16647 of regexp to account for changes made to GDB in the printing of
16648 byte vectors.
16649
14032a66
TT
166502008-07-11 Tom Tromey <tromey@redhat.com>
16651
16652 * gdb.base/completion.exp: Add 'help' completion test.
16653
981505ef
JK
166542008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16655
16656 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
16657
10568435
JK
166582008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16659
16660 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
16661
4487aabf
PA
166622008-07-09 Pedro Alves <pedro@codesourcery.com>
16663
16664 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
16665
a4a9b1c4
PA
166662008-07-09 Pedro Alves <pedro@codesourcery.com>
16667
16668 * gdb.base/fullname.exp: Restore pwd if compiling failed.
16669
3c3185ac
JK
166702008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16671
16672 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
16673
7ebd49dc
VP
166742008-06-28 Vladimir Prus <vladimir@codesourcery.com>
16675
16676 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
16677 previous commit. Add a comment.
16678
84e46146
PA
166792008-06-28 Pedro Alves <pedro@codesourcery.com>
16680
16681 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
16682
0f8d4a2f
VP
166832008-06-28 Vladimir Prus <vladimir@codesourcery.com>
16684
16685 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
16686
f747e0ce
PA
166872008-06-27 Pedro Alves <pedro@codesourcery.com>
16688
16689 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
16690 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
16691 compiling an executable, link in an object that forces unbuffered
16692 output.
16693 * lib/set_unbuffered_mode.c: New file.
16694
734a5c36
JK
166952008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16696
16697 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
16698
a2840c35
VP
166992008-06-25 Vladimir Prus <vladimir@codesourcery.com>
16700
a9c64011
AS
16701 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
16702 mi_expect_stop.
16703 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
16704 Demand that *running is output.
16705 (detect_async): Perform checking every time.
16706 (mi_send_resuming_command): Extract everything into...
16707 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
16708 (mi_expect_stop): Don't accept any output before *stopped.
16709
6ae37fef
VP
167102008-06-13 Vladimir Prus <vladimir@codesourcery.com>
16711
16712 Robustify mi-simplerun.
a9c64011
AS
16713 * gdb.mi/basics.c (main): Add a call to sleep.
16714 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
16715 * gdb.mi/mi2-cli.exp: Likewise.
16716 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 16717
b4aa76f0 167182008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
16719
16720 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
16721
e1ac3328
VP
167222008-06-10 Vladimir Prus <vladimir@codesourcery.com>
16723
a9c64011
AS
16724 * gdb.mi/mi-console.exp: Adjust.
16725 * gdb.mi/mi-syn-frame.exp: Adjust.
16726 * gdb.mi/mi2-console.exp: Adjust.
16727 * gdb.mi/mi2-syn-frame.exp: Adjust.
16728 * lib/mi-support.exp (mi_run_cmd): Adjust.
16729 (mi_send_resuming_command): Adjust.
e1ac3328 16730
f7f9a841
VP
167312008-06-10 Vladimir Prus <vladimir@codesourcery.com>
16732
16733 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
16734 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
16735 testing of stopped.
16736 * gdb.mi/mi2-syn-frame.exp: Likewise.
16737 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
16738 (async, detect_async): New.
16739 (mi_expect_stop, mi_continue_to_line): Adjust expectation
16740 depending on if we're running in sync or async mode.
f7f9a841 16741
37cd5d19
TT
167422008-06-09 Tom Tromey <tromey@redhat.com>
16743
16744 * gdb.base/completion.exp: New tests for field name completion
16745 with spaces, and field name completion with '->'.
16746
65d12d83
TT
167472008-06-06 Tom Tromey <tromey@redhat.com>
16748
16749 * gdb.base/break1.c (struct some_struct): New struct.
16750 (values): New global.
16751 * gdb.base/completion.exp: Add field name completion test.
16752
ebfe2e3f
PP
167532008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16754
16755 * gdb.cp/call-c.exp: Test for incorrect handling of reference
16756 to pointer.
16757 * gdb.cp/call-c.cc: Likewise.
16758
bcf6fc3a
NR
167592008-06-06 Nick Roberts <nickrob@snap.net.nz>
16760
16761 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
16762 annotation.
16763
49fd4a42 167642008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 16765 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
16766
16767 * gdb.threads/execl.c, gdb.threads/execl1.c,
16768 gdb.threads/execl.exp: New tests.
a9c64011 16769
8a34ac3f
AR
167702008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
16771 Daniel Jacobowitz <dan@codesourcery.com>
16772
16773 * gdb.cp/exception.exp: Activate test, make it work with pending
16774 catchpoints.
16775
86ae69ef
JK
167762008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
16777
16778 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
16779
f7f9ae2c
VP
167802008-05-28 Vladimir Prus <vladimir@codesourcery.com>
16781
a9c64011
AS
16782 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
16783 now printed.
16784 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 16785
2a2d4dc3
AS
167862008-05-27 Andreas Schwab <schwab@suse.de>
16787
16788 * gdb.base/frame-args.exp: Handle arguments that are optimized
16789 out.
16790
5099e4d9
LM
167912008-05-26 Luis Machado <luisgpm@br.ibm.com>
16792
16793 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
16794 quiet for ppc32 and group options into a single variable.
16795
d9c36a91
JB
167962008-05-23 Joel Brobecker <brobecker@adacore.com>
16797
16798 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
16799 of zero-size elements.
16800 * gdb.ada/null_array.exp: Test printing this new array.
16801
103a8671
JK
168022008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16803
16804 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
16805
07a4cc1a 168062008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
16807
16808 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
16809 of the "finish" command.
16810
55f996a7
NR
168112008-05-21 Nick Roberts <nickrob@snap.net.nz>
16812
16813 * gdb.base/annota1.exp: Test for new annotation.
16814
907fc202
UW
168152008-05-16 Pedro Alves <pedro@codesourcery.com>
16816
16817 * gdb.base/fixsection.exp: New file.
16818 * gdb.base/fixsection0.c: New file.
16819 * gdb.base/fixsection1.c: New file.
16820
e8f97270
UW
168212008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16822
16823 * gdb.base/annota1.exp: Accept printf@... in place of printf.
16824 * gdb.base/annota3.exp: Likewise.
16825
ac0bb574
NF
168262008-05-13 Nathan Froyd <froydnj@codesourcery.com>
16827
16828 * gdb.base/watch_thread_num.exp: Don't run tests that require
16829 watchpoints if the target doesn't support them.
16830
6fadd07a
DE
168312008-05-12 Doug Evans <dje@google.com>
16832
16833 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
16834
6e9a4a30
JB
168352008-05-09 Joel Brobecker <brobecker@adacore.com>
16836
16837 * gdb.ada/assign_1.exp: New testcase.
16838
08388c79
DE
168392008-05-09 Doug Evans <dje@google.com>
16840
a3c83fae
DE
16841 * gdb.base/find.exp: New file.
16842 * gdb.base/find.c: New file.
08388c79 16843
bd5ddfe8
DJ
168442008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
16845
16846 * gdb.base/commands.exp (watchpoint_command_test): Handle
16847 gdb,no_hardware_watchpoints.
16848 * gdb.base/float.exp: Allow ARM targets without floating point.
16849 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
16850
b5dd68e2 168512008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 16852 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
16853
16854 * gdb.ada/lang_switch: New test program.
16855 * gdb.ada/lang_switch.exp: New testcase.
16856
382d13d1
DE
168572008-05-05 Doug Evans <dje@google.com>
16858
16859 * gdb.base/help.exp (disassemble): Update expected help text.
16860
9dd789d0
PA
168612008-05-04 Pedro Alves <pedro@codesourcery.com>
16862
16863 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
16864
611c83ae
PA
168652008-05-04 Pedro Alves <pedro@codesourcery.com>
16866
16867 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
16868 different times.
16869
ff013f42
JK
168702008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
16871
16872 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
16873 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
16874 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
16875 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
16876
96dff6a2
VP
168772008-05-04 Vladimir Prus <vladimir@codesourcery.com>
16878
16879 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
16880 notification to appear.
16881
55cd6f92
DJ
168822008-05-04 Daniel Jacobowitz <dan@debian.org>
16883
16884 * gdb.base/fullname.c: New file.
16885 * gdb.base/fullname.exp: New file.
16886 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
16887
d705c43c
PA
168882008-05-03 Pedro Alves <pedro@codesourcery.com>
16889
16890 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
16891 expressions with macros.
16892
333222e1
JK
168932008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16894
16895 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
16896
5ac01682
DJ
168972008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
16898
16899 * gdb.base/completion.exp: Handle lack of other symbols beginning
16900 with "a".
16901
16902 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
16903
237fc4c9
PA
169042008-05-02 Jim Blandy <jimb@codesourcery.com>
16905
16906 * gdb.asm/asmsrc1.s: Add scratch space.
16907
ed5e9466
DJ
169082008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16909 Daniel Jacobowitz <dan@codesourcery.com>
16910
16911 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
16912 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
16913 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
16914
b39cc962
DJ
169152007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
16916
16917 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
16918
36d520f5
JB
169192008-05-01 Joel Brobecker <brobecker@adacore.com>
16920
16921 * gdb.base/info-target.exp: New testcase.
16922
8d4e3071
DJ
169232008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
16924
16925 * gdb.cp/hang.exp: Use .cc instead of .C.
16926 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
16927 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
16928
6f3f3097
DJ
169292008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
16930
16931 * gdb.base/gdb1250.exp: Remove perror.
16932 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
16933
5550a914
PA
169342008-04-30 Pedro Alves <pedro@codesourcery.com>
16935
16936 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
16937 .2byte.
16938
d848e687
DJ
169392008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
16940
16941 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
16942 (maybe_kfail): New.
16943
93b5768b
PA
169442008-04-25 Pedro Alves <pedro@codesourcery.com>
16945
16946 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
16947
721c02de
VP
169482008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16949
a9c64011
AS
16950 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
16951 * gdb.mi/mi2-syn-frame.exp: Likewise.
16952 * lib/mi-support.exp: Likewise.
721c02de 16953
74960c60
VP
169542008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16955
16956 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
16957 to specify regexp for the location to stop at.
16958 * gdb.base/break-always.c: New.
16959 * gdb.base/break-always.exp: New.
16960
d24317b4
VP
169612008-04-24 Vladimir Prus <vladimir@codesourcery.com>
16962
16963 * lib/mi-support.exp (mi_runto_helper): Adjust
16964 for the original-location field.
16965 (mi_create_breakpoint, mi_list_breakpoints): New.
16966 * gdb.mi/mi-break.exp: Adjust.
16967 * gdb.mi/mi2-break.exp: Adjust.
16968 * gdb.mi/mi-pending.exp: Adjust.
16969 * gdb.mi/mi-simplerun.exp: Adjust.
16970 * gdb.mi/mi2-simplerun.exp: Adjust.
16971 * gdb.mi/mi-syn-frame.exp: Adjust.
16972 * gdb.mi/mi2-syn-frame.exp: Adjust.
16973 * gdb.mi/mi-until.exp: Adjust.
16974 * gdb.mi/mi2-until.exp: Adjust.
16975 * gdb.mi/mi-var-display.exp: Adjust.
16976 * gdb.mi/mi2-var-display.exp: Adjust.
16977 * gdb.mi/mi-watch.exp: Adjust.
16978 * gdb.mi/mi2-watch.exp: Adjust.
16979
fdc59709 169802008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 16981
a9c64011
AS
16982 * aclocal.m4: Add override.m4.
16983 * configure: Regenerate.
fdc59709 16984
8e91f023
VP
169852008-04-19 Vladimir Prus <vladimir@codesourcery.com>
16986
16987 * gdb.mi/var-cmd.c (do_at_tests): Verify that
16988 '-var-update --all-values' reports new value even the type
16989 of a variable object has changed.
16990
233a11ab
CS
169912008-04-18 Craig Silverstein <csilvers@google.com>
16992
16993 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
16994 files.
d24317b4 16995
9c1137ad
JB
169962008-04-18 Joel Brobecker <brobecker@adacore.com>
16997
16998 * gdb.ada/atomic_enum: New test program.
16999 * gdb.ada/atomic_enum.exp: New testcase.
17000
66d0bbc7
DE
170012008-04-17 Doug Evans <dje@google.com>
17002
17003 * gdb.opt/Makefile.in: Fix whitespace.
17004
100906b0
UW
170052008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
17006
17007 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
17008
4584e32e
DE
170092008-04-17 Doug Evans <dje@google.com>
17010
17011 * gdb.base/hashline1.exp: New testcase.
17012 * gdb.base/hashline2.exp: New testcase.
17013 * gdb.base/hashline2.exp: New testcase.
17014
0a320680
PA
170152008-04-17 Pedro Alves <pedro@codesourcery.com>
17016
17017 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
17018
18ac113b
AR
170192008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
17020
17021 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
17022 temporary breakpoint to match "Temporary breakpoint".
17023 * gdb.base/break.exp (delete_breakpoints): Likewise.
17024 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
17025 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
17026 * gdb.base/display.exp: Likewise.
17027 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
17028 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
17029 * gdb.base/restore.exp (restore_tests): Likewise.
17030 * gdb.base/sepdebug.exp: Likewise.
17031 * gdb.base/watchpoint.exp: Likewise.
17032 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
17033 * gdb.mi/mi-pending.exp: Likewise.
17034 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
17035 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
17036 * gdb.mi/mi-var-cmd.exp: Likewise.
17037 * gdb.mi/mi-var-display.exp: Likewise.
17038 * gdb.mi/mi2-cli.exp: Likewise.
17039 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
17040 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
17041 * gdb.mi/mi2-var-display.exp: Likewise.
17042 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
17043 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
17044 new "disp" field.
a9c64011 17045 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
17046 reason. This is to support fix for PR2424.
17047
add38693
JK
170482008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17049
17050 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
17051
fcacd99f
VP
170522008-04-13 Vladimir Prus <vladimir@codesourcery.com>
17053
17054 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 17055 field. Add more floating varobj tests.
fcacd99f 17056 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
17057 field.
17058 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
17059 (main): Call do_at_tests.
17060 * lib/mi-support.exp (mi_create_floating_varobj)
17061 (mi_varobj_update_with_type_change): New.
fcacd99f 17062
de051565
MK
170632008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
17064
17065 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
17066 option of -var-evaluate-expression.
17067 * gdb.mi/mi2-var-display.exp: Likewise.
17068
dbc52822
VP
170692008-04-07 Vladimir Prus <vladimir@codesourcery.com>
17070
17071 Introduce test setup helpers.
a9c64011
AS
17072 * lib/gdb.exp (build_executable, clean_restart)
17073 (prepare_for_testing): New.
17074 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
17075 * gdb.base/return.exp: Likewise.
17076 * gdb.base/ending-run.exp: Likewise.
dbc52822 17077
473591da
NR
170782008-04-07 Nick Roberts <nickrob@snap.net.nz>
17079
17080 * gdb.mi/mi-async.exp: New test for asynchronous Machine
17081 Interface (MI) responses.
17082
2b2d9e11
VP
170832008-04-06 Vladimir Prus <vladimir@codesourcery.com>
17084
a9c64011
AS
17085 * gdb.cp/breakpoint.cc: New code to test conditions involving
17086 member variables.
17087 * gdb.cp/breakpoint.exp: Test condition involving member
17088 variables.
2b2d9e11 17089
bb378428
VP
170902008-04-05 Vladimir Prus <vladimir@codesourcery.com>
17091
17092 * lib/mi-support.exp (mi_expect_stop): New.
17093 (mi_run_cmd): Change the
17094 token. Use mi_send_resuming_command, use
17095 mi_expect_stop.
17096 (mi_execute_to_helper): Rename to mi_execute_to.
17097 (mi_send_resuming_command): Add more error patterns.
17098 (mi_wait_for_stop): Renamed to...
17099 (mi_get_stop_line): ...this.
17100 (mi_run_inline_test): Adjust.
17101
17102 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
17103 * gdb.mi/mi-console.exp: Likewise.
17104 * gdb.mi/mi-pending.exp: Likewise.
17105 * gdb.mi/mi-simplerun.exp: Likewise.
17106 * gdb.mi/mi-stack.exp: Likewise.
17107 * gdb.mi/mi-stepi.exp: Likewise.
17108 * gdb.mi/mi-syn-frame.exp: Add comment.
17109 * gdb.mi/mi-until.exp: Likewise.
17110 * gdb.mi/mi-var-display.exp: Likewise.
17111 * gdb.mi/mi-watch.exp: Likewise.
17112 * gdb.mi/mi2-cli.exp: Likewise.
17113 * gdb.mi/mi2-console.exp: Likewise.
17114 * gdb.mi/mi2-simplerun.exp: Likewise.
17115 * gdb.mi/mi2-stack.exp: Likewise.
17116 * gdb.mi/mi2-stepi.exp: Likewise.
17117 * gdb.mi/mi2-until.exp: Likewise.
17118 * gdb.mi/mi2-var-display.exp: Likewise.
17119 * gdb.mi/mi2-watch.exp: Likewise.
17120
62172bb9
UW
171212008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17122
17123 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
17124
17125 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
17126
a13e061a
PA
171272008-04-04 Pedro Alves <pedro@codesourcery.com>
17128
17129 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
17130 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
17131 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
17132 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
17133 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
17134 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
17135 expect an mi error duplicated in stderr.
17136
eae06beb
JB
171372008-04-03 Joel Brobecker <brobecker@adacore.com>
17138
17139 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
17140 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
17141 Add a couple of tests that verify the behavior when the new setting
17142 is set to "cancel" and "all".
17143 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
17144 "ask" before we start the testing.
17145
79c6ced6
AR
171462008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
17147
17148 * gdb.cp/casts.cc: Add class reference variables.
17149 * gdb.cp/casts.exp: New test cases for up/down casting references.
17150
6c2d1a6b
MK
171512008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
17152
17153 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
17154 instead of beginning to make an extra test pass.
17155 * gdb.mi/mi2-var-display.exp: Likewise.
17156
55b411d9
MR
171572008-03-31 Maciej W. Rozycki <macro@mips.com>
17158
17159 * gdb.base/break.exp: Mark failures as such. Fix formatting.
17160
c6140da2
MD
171612008-03-31 Markus Deuling <deuling@de.ibm.com>
17162 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17163
17164 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
17165 value. Add xfail for older kernels.
17166
79732189
AR
171672008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
17168
17169 Bring mi-support in line with gdb.exp.
17170 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
17171 (mi_gdb_start): New function.
17172
33c3676e
MR
171732008-03-28 Maciej W. Rozycki <macro@mips.com>
17174
17175 * gdb.mi/mi-var-cmd.exp: Fix a typo.
17176
92e28119
VP
171772008-03-26 Vladimir Prus <vladimir@codesourcery.com>
17178
17179 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
17180 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 17181
9e8e3afe
VP
171822008-03-26 Vladimir Prus <vladimir@codesourcery.com>
17183
17184 * lib/mi-support.exp (mi_create_varobj_checked): New.
17185 (mi_list_varobj_children): Allow to check for a
17186 value.
17187 (mi_list_array_varobj_children): New.
17188
17189 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
17190 and mi_list_varobj_children, as opposed to hardcoding
17191 expected strings.
17192 * gdb.mi/gdb701.exp: Likewise.
17193 * gdb.mi/gdb792.exp: Likewise.
17194 * gdb.mi/mi-var-block.exp: Likewise.
17195 * gdb.mi/mi-var-cmd.exp: Likewise.
17196 * gdb.mi/mi-var-invalidate.exp: Likewise.
17197 * gdb.mi/mi2-var-block.exp: Likewise.
17198 * gdb.mi/mi2-var-child.exp: Likewise.
17199 * gdb.mi/mi2-var-cmd.exp: Likewise.
17200 * gdb.mi/mi2-var-display.exp: Likewise.
17201
9df50351
JK
172022008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17203
17204 Fix random false FAILs on i386.
17205 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
17206
31e5d73a
DJ
172072008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
17208
17209 PR gdb/544
17210 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
17211
12f4afab
DJ
172122008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
17213
17214 PR gdb/544
17215 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
17216
b562a0cb
DJ
172172008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
17218
17219 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
17220 fixed PR gdb/544.
17221
17faa917
DJ
172222008-03-21 Pedro Alves <pedro@codesourcery.com>
17223
17224 * gdb.threads/fork-child-threads.exp: Test next over fork.
17225
6214f497
DJ
172262008-03-21 Chris Demetriou <cgd@google.com>
17227
17228 * gdb.base/break.exp (rbreak junk): New test for rbreak
17229 "Junk at end of arguments" issue.
17230
63092375
DJ
172312008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
17232
17233 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
17234 *& to work on created array elements.
17235 (Top level): Test print $pc with a file. Test string operations
17236 without a target.
17237 * gdb.base/ptype.exp: Do not expect *& to work on created array
17238 elements.
17239
b21991b0
DJ
172402008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
17241
17242 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
17243 gdb.threads/staticthreads.exp: Update exit query.
17244
c4b347c7
SL
172452008-03-07 Sandra Loosemore <sandra@codesourcery.com>
17246
17247 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
17248
fa4727a6
DJ
172492008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
17250
17251 * gdb.base/watchpoint.c (global_ptr, func4): New.
17252 (main): Call func4.
17253 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
17254 (test_inaccessible_watchpoint): New.
17255
2f34202f
MR
172562008-02-29 Maciej W. Rozycki <macro@mips.com>
17257
17258 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
17259 select the largest.
17260
0d6ba1b1
DJ
172612008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
17262
17263 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
17264 frames-invalid annotations.
17265
e691325a
PM
172662008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
17267
a9c64011 17268 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 17269
f85b5ecc
DE
172702008-02-27 Doug Evans <dje@google.com>
17271
17272 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
17273 for bug 1738.
17274 (breakpoint_to_handler_entry): Ditto.
17275
b40e7bf3
JB
172762008-02-27 Joel Brobecker <brobecker@adacore.com>
17277
17278 * gdb.base/ending-run.exp: Use the first line of code inside
17279 function body to test breakpoints.
17280 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
17281 location where the breakpoint is inserted when using the line
17282 where a function is declared. Fix typo in the description of
17283 one of the tests.
17284 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
17285
2faca73a
PM
172862008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
17287
17288 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 17289 tests.
2faca73a 17290
6f439c36
PM
172912008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
17292
17293 * gdb.base/args.exp: avoid same output for tests
17294 with single quotes.
17295
54e52265
VP
172962008-02-26 Vladimir Prus <vladimir@codesourcery.com>
17297
a9c64011
AS
17298 * gdb.base/annota1.exp: Adjust for 'info break'
17299 format changes.
17300 * gdb.base/annota3.exp: Likewise.
17301 * gdb.base/break.exp: Likewise.
17302 * gdb.base/condbreak.exp: Likewise.
17303 * gdb.base/pending.exp: Likewise.
17304 * gdb.base/sepdebug.exp: Likewise.
17305 * gdb.base/unload.exp: Likewise.
17306 * gdb.cp/ovldbreak.exp: Likewise.
17307 * gdb.mi/mi-pending.exp: Likewise.
54e52265 17308
897b09ca
DE
173092008-02-07 Doug Evans <dje@google.com>
17310
17311 * gdb.cp/mb-inline.exp: New.
17312 * gdb.cp/mb-inline.h: New.
17313 * gdb.cp/mb-inline1.cc: New.
17314 * gdb.cp/mb-inline2.cc: New.
17315
b1c32d35
PM
173162008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
17317
17318 * gdb.pascal/floats.pas: New test program.
17319 * gdb.pascal/floats.exp: New testcase.
17320
1a4ca44a
TJB
173212008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
17322
17323 * gdb.base/callfuncs.c (t_float_many_args): New function.
17324 (t_double_many_args): New function.
17325 * gdb.base/callfuncs.exp: Add tests for exceeding float
17326 and double parameters passed through the stack.
17327
439048e8
JB
173282008-02-05 Joel Brobecker <brobecker@adacore.com>
17329
17330 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
17331 gdb.ada/complete/foo.adb: New files.
17332 * gdb.ada/complete.exp: New testcase.
17333
81fe8080
DE
173342008-02-03 Doug Evans <dje@google.com>
17335
301f0ecf
DE
17336 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
17337
81fe8080
DE
17338 * gdb.cp/gdb2384.exp: New file.
17339 * gdb.cp/gdb2384.cc: New file.
17340 * gdb.cp/gdb2384-base.h: New file.
17341 * gdb.cp/gdb2384-base.cc: New file.
17342
4b071aec
DE
173432008-02-02 Doug Evans <dje@google.com>
17344
17345 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
17346
61137ba6
JB
173472007-02-01 Joel Brobecker <brobecker@adacore.com>
17348
17349 * gdb.ada/sym_print_name: New test program.
17350 * gdb.ada/sym_print_name.exp: New testcase.
17351
173522007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
17353
17354 * gdb.ada/nested/hello.adb: New file.
17355 * gdb.ada/nested.exp: New testcase.
17356 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
17357
98deb0da
VP
173582008-02-01 Vladimir Prus <vladimir@codesourcery.com>
17359
17360 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
17361 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
17362 don't cause future evaluations of function to report
17363 creation of internal breakpoints.
98deb0da 17364
723a2275
VP
173652008-02-01 Vladimir Prus <vladimir@codesourcery.com>
17366
17367 * gdb.mi/mi-break.exp (test_error): New.
17368 Call it.
17369
fb546a2f
LM
173702008-01-31 Luis Machado <luisgpm@br.ibm.com>
17371
17372 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
17373 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
17374
2d8fd90a
PM
173752008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
17376
17377 * gdb.pascal/integers.pas: New test program.
17378 * gdb.pascal/integers.exp: New testcase.
17379
a7fa0ded
PM
173802008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
17381
17382 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
17383
5e1a1926
TJB
173842008-01-30 Luis Machado <luisgpm@br.ibm.com>
17385
17386 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
17387 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
17388
8d04f9f0
JB
173892008-01-30 Paul Hilfinger <hilfinger@adacore.com>
17390
17391 * gdb.ada/formatted_ref: New test program.
17392 * gdb.ada/formatted_ref.exp: New testcase.
17393
17394 * gdb.cp/formatted-ref.cc: New file.
17395 * gdb.cp/formatted-ref.exp: New testcase.
17396
ce75a98f
JB
173972008-01-30 Joel Brobecker <brobecker@adacore.com>
17398
17399 * gdb.base/ptype.exp: Add testing of "ptype $pc".
17400
e835f6bf
NR
174012008-01-30 Nick Roberts <nickrob@snap.net.nz>
17402
17403 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
17404 (test_file_list_exec_source_file): Update to new macro-info field.
17405
d118ef87
PH
174062008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
17407
17408 * gdb.ada/exprs: New test program.
17409 * gdb.ada/exprs.exp: New testcase.
17410
7d35ab09
TJB
174112008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
17412
17413 * dfp-test.c (DELTA, DELTA_B): New definitions.
17414 (double_val1, double_val2, double_val3, double_val4, double_val5,
17415 double_val6, double_val7, double_val8, double_val9, double_val10,
17416 double_val11, double_val12, double_val13, double_val14, dec32_val1,
17417 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
17418 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
17419 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
17420 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
17421 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
17422 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
17423 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
17424 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
17425 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
17426 dec128_val16): New global variables.
17427 (decimal_dec128_align): New function.
17428 (decimal_mixed): Likewise.
17429 (decimal_many_args_dec32): Likewise.
17430 (decimal_many_args_dec64): Likewise.
17431 (decimal_many_args_dec128): Likewise.
17432 (decimal_many_args_mixed): Likewise.
17433 * dfp-test.exp: Add tests calling new inferior functions.
17434
2d717e4f
DJ
174352008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
17436
17437 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
17438 gdb.server/ext-run.exp: New files.
17439 * lib/gdbserver-support.exp (gdbserver_download): New.
17440 (gdbserver_start): New. Update gdbserver expected
17441 output.
17442 (gdbserver_spawn): Use them.
17443 (gdbserver_start_extended): New.
17444
e85a822c
DJ
174452008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
17446
17447 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
17448 Run on GNU/Linux.
17449 (do_exec_tests): Check for systems which do not support catchpoints.
17450 Do not match START.
17451 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
17452 Run on GNU/Linux. Enable verbose output.
17453 (check_fork_catchpoints): New.
17454 (explicit_fork_child_follow, catch_fork_child_follow)
17455 (tcatch_fork_parent_follow): Update expected messages.
17456 (do_fork_tests): Use check_fork_catchpoints.
17457 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
17458 Run on GNU/Linux. Enable verbose output.
17459 (check_vfork_catchpoints): New.
17460 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
17461 expected messages.
17462 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
17463
401ea829
JB
174642008-01-29 Jim Blandy <jimb@red-bean.com>
17465
17466 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
17467 host' errors.
17468 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
17469
aceaf3ad
JB
174702008-01-29 Jim Blandy <jimb@red-bean.com>
17471
17472 * gdb.threads/sigthread.c: Use barriers to ensure that
17473 child_thread and child_thread_two are always initialized before we
17474 start to use them.
17475
a5606eee
VP
174762008-01-29 Vladimir Prus <vladimir@codesourcery.com>
17477
17478 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
17479 * gdb.base/watchpoint-solib.c: New.
17480 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 17481
c55a82bb
PM
174822008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
17483
17484 * gdb.base/gdb1056.exp: Add unsigned integer test.
17485
0993fe05
DE
174862008-01-28 Doug Evans <dje@google.com>
17487
17488 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
17489
4fe42e7f
JB
174902008-01-27 Jim Blandy <jimb@codesourcery.com>
17491
c7a69933
JB
17492 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
17493
4fe42e7f
JB
17494 * gdb.base/expand-psymtabs.exp: Doc fix.
17495
5def8285
MK
174962008-01-26 Mark Kettenis <kettenis@gnu.org>
17497
17498 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
17499
5313c911
NR
175002008-01-24 Nick Roberts <nickrob@snap.net.nz>
17501
a9c64011 17502 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
17503 -var-set-format.
17504
93815fbf
VP
175052008-01-23 Chris Demetriou <cgd@google.com>
17506
17507 * gdb.threads/thread_events.c: New testcase source file.
17508 * gdb.threads/thread_events.exp: New testcase expect file.
17509
467a88ee
NR
175102008-01-23 Nick Roberts <nickrob@snap.net.nz>
17511
17512 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
17513
17514 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
17515 -var-set-format.
17516
d8f82aba
DJ
175172008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
17518 Vladimir Prus <vladimir@codesourcery.com>
17519
17520 * gdb.base/float.exp: Allow missing floating point for m68k and
17521 PowerPC.
17522
60c46647
VP
175232008-01-22 Vladimir Prus <vladimir@codesourcery.com>
17524
17525 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
17526 ignore count.
17527 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
17528 * gdb.mi/mi-cli.exp: Adjust.
17529 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 17530
c7dd36a1
PA
175312008-01-17 Pedro Alves <pedro@codesourcery.com>
17532
17533 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
17534 and 'dummy_ptr' integer pointer. Initialize struct_declarations
17535 with dummy_ptr's address.
17536 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
17537 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
17538 all targets.
17539 * gdb.mi/mi2-var-child.exp: Likewise.
17540
39d5313e
JB
175412008-01-09 Joel Brobecker <brobecker@adacore.com>
17542
17543 * gdb.ada/null_array: New test program.
17544 * gdb.ada/null_array.exp: New testcase.
17545
0aea4bf3
LM
175462008-01-09 Luis Machado <luisgpm@br.ibm.com>
17547
17548 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
17549 with required float modifiers.
17550
0b354900
JB
175512008-01-08 Joel Brobecker <brobecker@adacore.com>
17552
17553 * gdb.ada/funcall_param: New test program.
17554 * gdb.ada/funcall_param.exp: New testcase.
17555
cdb7f5d4
JB
175562008-01-08 Joel Brobecker <brobecker@adacore.com>
17557
17558 * gdb.ada/arrayparam: New test program.
17559 * gdb.ada/arrayparam.exp: New testcase.
17560
88e2547f
JB
175612008-01-08 Joel Brobecker <brobecker@adacore.com>
17562
17563 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
17564 landed. Should also fix random failures in the test following it.
17565
f6867ce0
TJB
175662008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
17567
17568 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
17569 for expressions with decimal float values.
17570 (test_dfp_conversions): New function to test casts to and from
17571 decimal float types.
17572 Call test_dfp_conversions.
17573 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
17574 elements.
17575 (main): Initialize ds.float4 and ds.double8 elements.
17576 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
17577 string to new error message.
17578 (d64_set_tests): Likewise.
17579 (d128_set_tests): Likewise.
17580 Add tests for expressions with decimal float variables. Add tests for
17581 conversions to and from decimal float types.
17582
f9c11282
JB
175832008-01-05 Joel Brobecker <brobecker@adacore.com>
17584
17585 * gdb.ada/packed_tagged/comp_bug.adb: New file.
17586 * gdb.ada/packed_tagged.exp: New testcase.
17587
0ecbca72
JB
175882008-01-04 Joel Brobecker <brobecker@adacore.com>
17589
17590 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
17591 gdb.ada/homonym/homonym_main.adb: New files.
17592 * gdb.ada/homonym.exp: New testcase.
17593
c18d3d89
JB
175942008-01-04 Joel Brobecker <brobecker@adacore.com>
17595
17596 * gdb.ada/packed_array.exp: Add testing of references to
17597 a packed array.
17598
ecc7085b
JB
175992008-01-04 Joel Brobecker <brobecker@adacore.com>
17600
17601 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
17602 New files.
17603 * gdb.ada/type_coercion.exp: New testcase.
17604
c474c922
JB
176052008-01-04 Joel Brobecker <brobecker@adacore.com>
17606
17607 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
17608 gdb.ada/tagged/foo.adb: New file.
17609 * gdb.ada/tagged.exp: New testcase.
17610
9005b927
JB
176112008-01-04 Joel Brobecker <brobecker@adacore.com>
17612
17613 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
17614 gdb.ada/ptype_field/foo.adb: New files.
17615 * gdb.ada/ptype_field.exp: New testcase.
17616
1a6aaad8
JB
176172008-01-03 Joel Brobecker <brobecker@adacore.com>
17618
17619 * gdb.ada/print_pc.exp: New testcase.
17620
0ef22f53
JB
176212008-01-03 Joel Brobecker <brobecker@adacore.com>
17622
17623 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
17624 gdb.ada/taft_type/p.adb: New files.
17625 * gdb.ada/taft_type.exp: New testcase.
17626
1689ecf8
JB
176272008-01-03 Joel Brobecker <brobecker@adacore.com>
17628
17629 * gdb.ada/array_bounds/bar.adb: New file.
17630 * gdb.ada/array_bounds.exp: New testcase.
17631
a4d0b9c3
JB
176322008-01-03 Joel Brobecker <brobecker@adacore.com>
17633
17634 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
17635 gdb.ada/arrayptr/foo.adb: New files.
17636 * gdb.ada/arrayptr.exp: New testcase.
17637
a31ace00
JB
176382008-01-03 Joel Brobecker <brobecker@adacore.com>
17639
17640 * gdb.base/set-lang-auto.exp: New testcase.
17641
a97fced3
JB
176422008-01-03 Joel Brobecker <brobecker@adacore.com>
17643
17644 * gdb.ada/fun_addr/foo.adb: New file.
17645 * gdb.ada/fun_addr.exp: New testcase.
17646
ef29ce1a
JK
176472008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17648
17649 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
17650 New files
17651
0fafefe3
JB
176522008-01-02 Joel Brobecker <brobecker@adacore.com>
17653
17654 * array_subscript_addr/p.adb: New file.
a9c64011 17655 * array_subscript_addr.exp: New testcase.
0fafefe3 17656
c4359f8d
JB
176572008-01-02 Joel Brobecker <brobecker@adacore.com>
17658
a9c64011 17659 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
17660 New files.
17661 * gdb.ada/str_cmp_ref.exp: New testcase.
17662
1aa1b15b
JB
176632008-01-01 Joel Brobecker <brobecker@adacore.com>
17664
17665 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
17666 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 17667 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 17668
81c9b2cf
JB
176692008-01-01 Joel Brobecker <brobecker@adacore.com>
17670
17671 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
17672 gdb.ada/ref_param/pck.ads: New files.
17673 * gdb.ada/ref_param.exp: New testcase.
17674
319e4674
JB
176752008-01-01 Joel Brobecker <brobecker@adacore.com>
17676
17677 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
17678 gdb.ada/interface/foo.adb: New files.
17679 * gdb.ada/interface.exp: New testcase.
17680
ef682c56
JB
176812007-12-31 Jim Blandy <jimb@codesourcery.com>
17682
17683 * gdb.base/multi-forks.exp: Consume all output from child
17684 processes before proceeding to next test.
17685
f6f3eb6c
JB
176862007-12-29 Jim Blandy <jimb@codesourcery.com>
17687
17688 * configure: Regenerated.
17689
f652e42f
JB
176902007-12-27 Joel Brobecker <brobecker@adacore.com>
17691
17692 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
17693 gdb.ada/fixed_cmp/fixed.adb: New files.
17694 * gdb.ada/fixed_cmp.exp: New testcase.
17695
6943e596
JB
176962007-12-27 Joel Brobecker <brobecker@adacore.com>
17697
17698 * gdb.ada/boolean_expr.exp: New testcase.
17699
aad9a193
JB
177002007-12-26 Jim Blandy <jimb@codesourcery.com>
17701
17702 * gdb.base/multi-forks.exp: Doc fix.
17703
fb5f3683
JB
177042007-12-26 Joel Brobecker <brobecker@adacore.com>
17705
17706 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
17707 * gdb.ada/char_param.exp: Do not compile our test program with
17708 -gnata, this is unnecessary.
17709 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
17710
384e4a9c
JB
177112007-12-24 Joel Brobecker <brobecker@adacore.com>
17712
17713 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
17714 gdb.ada/print_chars/foo.adb: New files.
17715 * gdb.ada/print_chars.exp: New testcase.
17716
01e044f7
JB
177172007-12-24 Joel Brobecker <brobecker@adacore.com>
17718
17719 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
17720 gdb.ada/char_param/foo.adb: New files.
17721 * gdb.ada/char_param.exp: New testcase.
17722
0ce17860
JB
177232007-12-22 Jim Blandy <jimb@codesourcery.com>
17724
17725 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
17726 hard-coding source line numbers into the test.
17727 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
17728 gdb_get_line_number to find.
17729
919809b9
JB
177302007-12-22 Joel Brobecker <brobecker@adacore.com>
17731
17732 * gdb.base/ptype.c (highest): New struct type.
17733 (the_highest): New variable of that type.
17734 (main): Add dummy assignment to a field of variable the_highest.
17735 * gdb.base/ptype.exp: Test type printing of our new variable.
17736
abc8a88d
PM
177372007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
17738
17739 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 17740 and record first explicitly generated thread number.
abc8a88d
PM
17741 Use that thread number for thread specific watchpoint test.
17742 Add iteration number to repetitive tests.
17743
5158f3e3
CES
177442007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
17745 Jim Blandy <jimb@codesourcery.com>
17746
17747 * gdb.base/expand-psymtabs.c: New testcase
17748 source file.
17749 * gdb.base/expand-psymtabs.exp: New testcase
17750 expect file.
17751
37e4754d
LM
177522007-12-17 Luis Machado <luisgpm@br.ibm.com>
17753
17754 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
17755 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
17756
551e5d04
JB
177572007-12-17 Joel Brobecker <brobecker@adacore.com>
17758
17759 * gdb.ada/frame_args/foo.adb: New file.
17760 * gdb.ada/frame_args/pck.ads: New file.
17761 * gdb.ada/frame_args/pck.adb: New file.
17762 * gdb.ada/frame_args.exp: New testcase.
17763
a05ee097
JB
177642007-12-17 Joel Brobecker <brobecker@adacore.com>
17765
17766 * gdb.base/frame-args.c: New file.
17767 * gdb.base/frame-args.exp: New testcase.
17768
c162e8c9 177692007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 17770 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
17771
17772 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
17773
afe8ab22 177742007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 17775
afe8ab22
VP
17776 * gdb.mi/mi-pending.exp: New.
17777 * gdb.mi/mi-pending.c: New.
17778 * gdb.mi/mi-pendshr.c: New.
17779
dfdfb3ca
JB
177802007-12-06 Jim Blandy <jimb@codesourcery.com>
17781
17782 * gdb.base/default.exp: Update expected output for 'info catch'.
17783
b7fca990
JK
177842007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17785
17786 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
17787 must be set to binary.
17788
6a1afc1e
PA
177892007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
17790
17791 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
17792
a6b151f1
DJ
177932007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
17794
17795 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
17796 gdb.mi/mi-file-transfer.exp: New.
17797
43039443
JK
177982007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17799
17800 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
17801
0ef2251b
MR
178022007-11-22 Maciej W. Rozycki <macro@mips.com>
17803
17804 * gdb.trace/backtrace.exp: Fix a typo.
17805 * gdb.trace/circ.exp: Likewise.
17806 * gdb.trace/collection.exp: Likewise.
17807 * gdb.trace/limits.exp: Likewise.
17808 * gdb.trace/report.exp: Likewise.
17809 * gdb.trace/tfind.exp: Likewise.
17810 * gdb.trace/while-dyn.exp: Likewise.
17811
5443631e
NR
178122007-11-21 Nick Roberts <nickrob@snap.net.nz>
17813
17814 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
17815 objects of pointers that can't be dereferenced are now
17816 "noneditable".
17817
a4ce5b0d
UW
178182007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17819
17820 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
17821 (target_cpu): Remove.
17822
d6e956e5
VP
178232007-10-15 Vladimir Prus <vladimir@codesourcery.com>
17824
17825 * gdb.base/ending-run.exp: Expect the list of cleared
17826 breakpoint to come in natural order, not the reversed one.
a9c64011 17827
214270ab
VP
178282007-11-07 Vladimir Prus <vladimir@codesourcery.com>
17829
17830 * gdb.mi/mi-var-child.c (do_child_deletion): New.
17831 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 17832
1a619819
LM
178332007-11-05 Luis Machado <luisgpm@br.ibm.com>
17834
17835 * gdb.base/printcmds.exp: New function
17836 test_printf_with_dfp.
17837
5b01a6fa
DE
178382007-11-02 Doug Evans <dje@google.com>
17839
17840 * gdb.disasm/t01_mov.s: Remove carriage returns.
17841 * gdb.disasm/t02_mova.s: Ditto.
17842 * gdb.disasm/t03_add.s: Ditto.
17843 * gdb.disasm/t04_sub.s: Ditto.
17844 * gdb.disasm/t05_cmp.s: Ditto.
17845 * gdb.disasm/t06_ari2.s: Ditto.
17846 * gdb.disasm/t07_ari3.s: Ditto.
17847 * gdb.disasm/t08_or.s: Ditto.
17848 * gdb.disasm/t09_xor.s: Ditto.
17849 * gdb.disasm/t10_and.s: Ditto.
17850 * gdb.disasm/t11_logs.s: Ditto.
17851 * gdb.disasm/t12_bit.s: Ditto.
17852 * gdb.disasm/t13_otr.s: Ditto.
17853
ec33ab7f
JK
178542007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17855
17856 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
17857
ae0d01ff
UW
178582007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17859
17860 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
17861 provide DFP support.
17862
55eddb0f
DJ
178632007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
17864
17865 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
17866 Test "set powerpc vector-abi". Skip auto-detection tests for old
17867 toolchains.
17868
7020f05c
PA
178692007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
17870
17871 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
17872 with [string compare].
17873
84bc3db9
PA
178742007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
17875
17876 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
17877 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
17878
5876dc88
LM
178792007-10-25 Luis Machado <luisgpm@br.ibm.com>
17880
17881 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
17882 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
17883 * gdb.opt/Makefile.in: New makefile.
17884 * Makefile.in: Create new directory "gdb.opt".
17885 * configure.ac: Add "gdb.opt" directory.
17886 * configure: Regenerated.
a9c64011 17887
c3ea9a14
DE
178882007-10-25 Doug Evans <dje@google.com>
17889
17890 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
17891 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
17892
a9c64011 178932007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
17894 Thiago Jung Bauermann <bauerman@br.ibm.com>
17895
17896 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
17897 Floating Point expressions.
17898 * gdb.base/dfp-test.exp: new file adding tests for Decimal
17899 Floating Point variables.
17900 * gdb.base/dfp-test.c: new file containing program with Decimal
17901 Floating variables, used by gdb.base/dfp-test.exp.
17902
62a24a2b
DJ
179032007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
17904
17905 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
17906
e7b1eae6
UW
179072007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17908
17909 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
17910 compiling test case with GCC.
17911 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
17912
c641edcc
UW
179132007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17914
17915 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17916 format changes.
17917
5e5ebfe6
MS
179182007-10-18 Michael Snyder <msnyder@specifix.com>
17919
17920 * gdb.base/dbx.exp: Add missing "-re " operator.
17921
e831e7b6
GM
179222007-10-16 Gaius Mulley <gaius@glam.ac.uk>
17923
17924 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
17925 * configure.ac: Removed trailing spaces after backslash.
17926 * gdb.modula2: New directory.
17927 * gdb.modula2/Makefile.in: New file.
17928 * gdb.modula2/unbounded-array.exp: New file.
17929 * gdb.modula2/unbounded1.c: New file.
17930
7cc46491
DJ
179312007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
17932
17933 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
17934
179352007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
17936
17937 * gdb.base/sigstep.c (main): Add checks for
17938 return values for setitimer call.
17939 Call setitimer again with itimer = ITIMER_REAL
17940 if first call to setitimer fails.
17941
e91528f0
KH
179422007-10-11 Kazu Hirata <kazu@codesourcery.com>
17943
17944 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
17945 of $timeout.
17946
2ec9a4f8
DJ
179472007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
17948
17949 * gdb.server/server-run.exp: Test for dynamic linker symbols.
17950
179512007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
17952
17953 * lib/gdb.exp (gdb_run_cmd): Move comment outside
17954 of gdb_expect call, to avoid interruption.
17955
64b2fa04
PA
179562007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
17957
17958 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
17959 (v_unsigned_long_long, v_long_long_array)
17960 (v_signed_long_long_array, v_unsigned_long_long_array)
17961 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
17962 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
17963 [!NO_LONG_LONG]: New.
17964 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
17965 v_long_long_member.
17966
17967 (v_long_long_func, v_signed_long_long_func)
17968 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
17969 (main) [!NO_LONG_LONG]: Initialize long long variants.
17970
17971 * gdb.base/whatis.exp: If board file requests no_long_long, build
17972 test with NO_LONG_LONG defined. Test long long, signed long long,
17973 and unsigned long long variants but only if board file doesn't
17974 disable it.
17975
a912286e 179762007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 17977 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
17978
17979 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
17980 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
17981 * configure: Regenerated.
17982 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
17983 gdb.pascal/types.exp, lib/pascal.exp: New files.
17984
471ba8c9
DJ
179852007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
17986
17987 * gdb.cp/classes.exp (do_tests): Always step to the line after the
17988 call.
17989 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
17990 to return to the call.
17991 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
17992 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
17993 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
17994 * gdb.mi/mi-until.exp (test_until): Likewise.
17995 * gdb.mi/mi2-until.exp (test_until): Likewise.
17996
fef8a650
DJ
179972007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
17998
17999 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
18000 two-char array.
18001 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
18002
d983da9c
DJ
180032007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
18004
18005 * gdb.threads/watchthreads.c (thread_function): Sleep between
18006 iterations.
18007 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
18008 at once for S/390. Generate matching fails and passes.
18009
17f62551
VP
180102007-09-27 Vladimir Prus <vladimir@codesourcery.com>
18011
18012 * gdb.mi/var-cmd.c (do_children_tests): Initialize
18013 the 'struct_declarations' variable to zeros.
a9c64011 18014
ed0616c6
VP
180152007-09-24 Vladimir Prus <vladimir@codesourcery.com>
18016
18017 * gdb.cp/mb-ctor.cc: New.
18018 * gdb.cp/mb-ctor.exp: New.
18019 * gdb.cp/mb-templates.cc: New.
18020 * gdb.cp/mb-templates.exp: New.
18021
41f1b697
DJ
180222007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
18023
18024 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
18025
3f213f78
PA
180262007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
18027
18028 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
18029 targets.
18030 * configure: Regenerate.
18031
0d381245 180322007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 18033
0d381245
VP
18034 * gdb.base/annota1.exp: Adjust for 'info break'
18035 format changes.
18036 * gdb.base/annota3.exp: Likewise.
18037 * gdb.base/break.exp: Likewise.
18038 * gdb.base/condbreak.exp: Likewise.
18039 * gdb.base/pending.exp: Likewise.
18040 * gdb.base/sepdebug.exp: Likewise.
18041 * gdb.base/unload.exp: Likewise.
18042 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 18043
fe3f5fa8
VP
180442007-09-22 Vladimir Prus <vladimir@codesourcery.com>
18045
18046 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
18047 messages.
18048 * gdb.base/chng-syms.exp: Likewise.
18049 * gdb.base/unload.exp: Likewise.
a9c64011 18050
a75cf6c0
DJ
180512007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
18052
18053 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
18054
18ecae38
DJ
180552007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
18056
18057 * schedlock.c (NUM): Change to 1.
18058 (main): Use args[0] for the main thread.
18059 * schedlock.exp: Only expect two threads. Only issue one pass or fail
18060 regardless of the number of threads.
18061
5509918f
MR
180622007-09-14 Maciej W. Rozycki <macro@mips.com>
18063
4a543daf
MR
18064 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
18065 type down.
18066 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
18067 test.
18068 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
18069 watchpoint type down.
18070 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
18071 test.
18072
180732007-09-14 Maciej W. Rozycki <macro@mips.com>
18074
5509918f
MR
18075 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
18076 Move all the tests here and run them twice, once using software
18077 watchpoints and once using hardware watchpoints.
18078 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
18079
40b53987
DJ
180802007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
18081
18082 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
18083 test.
18084
695e2681
MK
180852007-09-10 Mark Kettenis <kettenis@gnu.org>
18086
8b3fc8d8
MK
18087 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
18088 build-id.
18089
695e2681
MK
18090 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
18091 know about $ORIGIN. Calculate output dir from $dest instead of
18092 using ${objdir}/{$subdir}.
18093
58d69f29
MK
180942007-09-09 Mark Kettenis <kettenis@gnu.org>
18095
18096 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
18097 gcore, before continuing with the test.
18098
3e347599
DJ
180992007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
18100
18101 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
18102 * gdb.mi/mi-watch.exp: Likewise.
18103
ea37ba09
DJ
181042007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
18105 Jim Blandy <jimb@codesourcery.com>
18106
18107 * gdb.arch/i386-sse.exp: Do not expect character constants.
18108 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
18109 * gdb.base/display.exp: Allow print/s.
18110 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
18111 and unsigned char array changes.
18112
2025a643
DJ
181132007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
18114
18115 * gdb.base/display.exp: Add tests for printf %p.
18116
26669a27
PA
181172007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
18118
18119 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
18120 the dll name to unicode.
18121
c8f021f8
JK
181222007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18123
18124 * gdb.base/default.exp (show version): Update the version text.
18125 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
18126
4cf31eea
JK
181272007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18128
18129 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
18130 New files.
18131
4935890f
JK
181322007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18133
18134 * lib/gdb.exp (build_id_debug_filename_get): New function.
18135 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
18136 Remove the generate DEBUG file for the future testcase runs.
18137 New testcase for the NT_GNU_BUILD_ID retrieval.
18138 Move the final testing step to ...
18139 (test_different_dir): ... a new function.
18140 New parameter XFAIL to XFAIL all the tests performed.
18141 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
18142 New parameter TYPE to PF_PREFIX all the tests performed.
18143
02142340
VP
181442007-08-31 Vladimir Prus <vladimir@codesourcery.com>
18145
18146 * gdb.mi/mi-var-cp.cc (path_expression): New
18147 function.
18148 * gdb.mi/mi-var-cp.exp: Run path exression tests.
18149
36acd84e
UW
181502007-08-27 Markus Deuling <deuling@de.ibm.com>
18151
18152 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
18153 to fit into SPU Local Store memory.
18154
a896d121
JB
181552007-08-23 Joel Brobecker <brobecker@adacore.com>
18156
18157 * gdb.base/default.exp: Adjust the expected output of "info
18158 warranty" after the switch to GPLv3.
18159
7b433602
JB
181602007-08-23 Joel Brobecker <brobecker@adacore.com>
18161
18162 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
18163 to 30000 (from 20000).
18164
e22f8b7c
JB
181652007-08-23 Joel Brobecker <brobecker@adacore.com>
18166
18167 Switch the license of all .exp files to GPLv3.
18168 Switch the license of all .f and .f90 files to GPLv3.
18169 Switch the license of all .s and .S files to GPLv3.
18170
5a0e3bd0
JB
181712007-08-23 Joel Brobecker <brobecker@adacore.com>
18172
18173 * configure.ac: Switch license to GPLv3.
18174
cc00619d
JB
181752007-08-23 Joel Brobecker <brobecker@adacore.com>
18176
18177 Switch the licensing to GPLv3 for all .ads and .adb files.
18178
8d26208a
DJ
181792007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
18180
18181 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
18182 and t_int_double.
18183 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
18184
4fcb9948
JB
181852007-08-17 Joel Brobecker <brobecker@adacore.com>
18186
18187 * gdb.base/step-line.c: Switch license to GPL version 3, and
18188 update copyright year.
18189 * gdb.base/step-line.inp: Likewise.
18190
b9c34f67
JB
181912007-08-17 Joel Brobecker <brobecker@adacore.com>
18192
18193 * gdb.base/gdb1555.exp: Make expected output immune to formatting
18194 changes inside gdb1555.c.
18195 * gdb.base/pending.exp: Likewise.
18196
2cc17678
DJ
181972007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
18198
18199 * config/default.exp: New file.
18200
e48883f7
DJ
182012007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18202
18203 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
18204 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
18205
1ab80e5b
MR
182062007-07-30 Maciej W. Rozycki <macro@mips.com>
18207
18208 * gdb.base/dump.exp: Force the correct endianness for binary
18209 formats not carrying this information.
18210
aba471f5
DJ
182112007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
18212
18213 * gdb.threads/staticthreads.exp: Match .*sem_post.
18214
d4e07204
DJ
182152007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
18216
18217 * gdb.base/readline.exp (operate_and_get_next): Match the final
18218 prompt.
18219
2b97317d
KB
182202007-07-23 Kevin Buettner <kevinb@redhat.com>
18221
18222 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
18223 to restarting SID.
18224
44efa07a
KB
182252007-07-18 Kevin Buettner <kevinb@redhat.com>
18226
18227 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
18228 prior to `gdb_start'.
18229
7b5ebade
KB
182302007-07-18 Kevin Buettner <kevinb@redhat.com>
18231
18232 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
18233 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
18234 Remove call to gdb_unload.
18235
255e7678
DJ
182362007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
18237 Daniel Jacobowitz <dan@codesourcery.com>
18238
18239 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
18240 for __WIN32__.
18241 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
18242 * gdb.base/unload.exp: Use shared library test routines.
18243
3a40aaa0
UW
182442007-07-03 Markus Deuling <deuling@de.ibm.com>
18245
18246 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
18247 * gdb.base/solib-symbol-lib.c: Likewise.
18248 * gdb.base/solib-symbol-main.c: Likewise.
18249
b0f4b84b
DJ
182502007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
18251
18252 * config/gdbserver.exp (gdb_reconnect): New.
18253 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
18254 gdb.base/solib-disc.exp: New files.
18255 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
18256 remote debugging".
18257 (gdb_compile): Add shlib_load flag.
18258 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
18259 port.
18260 (gdbserver_reconnect): New.
18261
1b05479a
DJ
182622007-07-01 Nick Roberts <nickrob@snap.net.nz>
18263 Daniel Jacobowitz <dan@codesourcery.com>
18264
18265 * gdb.base/annota3.exp: Test for if construct.
18266
86f78eb2
DJ
182672007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
18268
18269 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
18270
6a2eb474 182712007-06-21 Chris Dearman <chris@mips.com>
a9c64011 18272 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
18273
18274 * gdb.base/display.exp: Allow a newline after display/i.
18275 * gdb.base/pc-fp.exp: Likewise.
18276 * gdb.base/sigbpt.exp: Likewise.
18277
f8b73d13
DJ
182782007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
18279
18280 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
18281 required features to be included.
18282
4339e69e
DJ
182832007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
18284
18285 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
18286 in info threads output.
18287
23d964e7
UW
182882007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18289 Markus Deuling <deuling@de.ibm.com>
18290
18291 * gdb.arch/spu-info.exp: New testcase.
18292 * gdb.arch/spu-info.c: New file.
18293
fd20f75b
DJ
182942007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
18295
18296 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
18297 tpcs_offset. Restore lr after the call.
18298 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
18299
2226f861
DJ
183002007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
18301
18302 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
18303 (gdbserver_run): Kill any running gdbserver.
18304 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
18305
d12371a9
MR
183062007-05-17 Maciej W. Rozycki <macro@mips.com>
18307
18308 * gdb.base/sigbpt.exp: Preset segv_addr.
18309
93f02886
DJ
183102007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
18311
18312 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
18313 (gdb_compile_shlib): Likewise.
18314 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
18315 (default_gdb_init): Clear cleanfiles.
18316 (gdb_finish): Delete recorded cleanfiles.
18317 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
18318
18319 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
18320 Do not use isnative.
18321 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
18322 gdb.base/so-impl-ld.exp: Likewise.
18323 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
18324 * gdb.base/unload.exp: Likewise. Do not pass empty option to
18325 gdb_compile.
18326
b04e06d7
VP
183272007-05-15 Vladimir Prus <vladimir@codesourcery.com>
18328
18329 * config/unknown.exp: Remove.
18330
069ed931
UW
183312007-05-15 Markus Deuling <deuling@de.ibm.com>
18332
18333 * gdb.base/info-proc.exp: Check is_remote.
18334
09db0d03
UW
183352007-05-14 Markus Deuling <deuling@de.ibm.com>
18336
18337 * gdb.base/gcore.exp: Initialize variable core_supported.
18338
af2cbe8c
DJ
183392007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
18340
18341 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
18342
027c0295
DJ
183432007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
18344
18345 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
18346 * gdb.threads/print-threads.exp (test_all_threads): Allow
18347 negative and hexadecimal thread IDs.
18348
dc5000e7
DJ
183492007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
18350
18351 * gdb.java/jprint.java (public): Avoid invalid call to static
18352 method.
18353
2e74ed18
DP
183542007-05-14 Denis Pilat <denis.pilat@st.com>
18355
18356 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
18357 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
18358 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
18359 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
18360 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
18361
83547f02
UW
183622007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18363
18364 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 18365 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
18366 this mode.
18367 * gdb.base/ovlymgr.c: Provide stubs for spu target.
18368 * gdb.base/spu.ld: New file.
18369
b18be20d
DJ
183702007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
18371
18372 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
18373
be444858
DJ
183742007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
18375
18376 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
18377
b1d53152
DJ
183782007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
18379
18380 * gdb.java/jmain.exp: Handle demangled names with and without method
18381 signatures.
18382
d084b331
DJ
183832007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
18384
18385 * gdb.mi/mi-syn-frame.c (main, foo, bar)
18386 (have_a_very_merry_interrupt): Remove calls to puts.
18387 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
18388 inferior output.
18389 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
18390 test names.
18391
db9d7fc5
DJ
183922007-04-29 Markus Deuling <deuling@de.ibm.com>
18393 Daniel Jacobowitz <dan@codesourcery.com>
18394
18395 * gdb.base/auxv.exp (core_works): Also check is_remote.
18396 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
18397
ef783a7d 183982007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 18399
ef783a7d
VP
18400 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
18401 message, not the undefined 'module' variable.
18402 * gdb.base/siginfo.exp: Likewise.
18403 * gdb.base/sigstep.exp: Likewise.
18404 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
18405 serialport.
18406 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
18407
b7b73cae
CV
184082007-04-25 Corinna Vinschen <vinschen@redhat.com>
18409
18410 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
18411 target sim fails. Return 0 otherwise.
18412 (gdb_load): Return prematurely if gdb_target_sim fails.
18413
7d90fdfa
DP
184142007-04-16 Denis Pilat <denis.pilat@st.com>
18415
18416 * gdb.base/setshow.exp: Reset height after having set it to 100.
18417
5d3e9c85
DP
184182007-04-16 Denis Pilat <denis.pilat@st.com>
18419
18420 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
18421
18e75969
DP
184222007-04-16 Denis Pilat <denis.pilat@st.com>
18423
18424 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
18425
25d5ea92
VP
184262007-04-14 Vladimir Prus <vladimir@codesourcery.com>
18427
18428 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
18429 tests. Run the frozen varobjs test.
18430 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 18431 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 18432
0b49cb80
JK
184332007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18434
18435 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
18436 gdb.base/type-opaque.exp: New files.
18437
a73bafbc 184382007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
18439
18440 * gdb.mi/mi-var-child.c
a73bafbc
VP
18441 (do_children_tests): User char[2] instead of
18442 char so that automatic printing of pointers to char
18443 don't give unpredicable result.
18444 * gdb.mi/var-cmd.c (do_locals_test): Initialize
18445 local variables.
18446 * gdb.mi/mi-var-child.exp: Step to right line
18447 of do_children_tests.
18448 * gdb.mi/mi2-var-child.exp: Likewise.
18449 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 18450 do_locals_tests.
a73bafbc
VP
18451 (do_children_tests): User char[2] instead of
18452 char so that automatic printing of pointers to char
a9c64011 18453 don't give unpredicable result.
a73bafbc 18454 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 18455 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
18456 Pass test name to mi_wait_for_stop.
18457
7ce59000
DJ
184582007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18459
18460 * gdb.asm/asm-source.exp: Remove d10v case.
18461 * lib/gdb.exp (skip_cplus_tests): Likewise.
18462 * gdb.asm/d10v.inc: Deleted.
18463
20389057
DJ
184642007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18465
18466 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
18467
8807d78b
DJ
184682007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18469
18470 * config/netware.exp: Delete file.
18471
aa3edb8e
JB
184722007-03-29 Joel Brobecker <brobecker@adacore.com>
18473
18474 * gdb.dwarf2/dw2-noloc.S: New file.
18475 * gdb.dwarf2/dw2-noloc.exp: New file.
18476
297561ac
PA
184772007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
18478
18479 * gdb.cp/method2.cc: New test.
18480 * gdb.cp/method2.exp: New test.
18481 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
18482
1f81bd39
DJ
184832007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
18484
18485 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
18486
9453113a
DJ
184872007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
18488
18489 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
18490
b741e217
DJ
184912007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
18492
18493 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
18494 (gdb_load): Delete, replace with...
18495 (gdb_reload): ...this.
18496 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
18497 * gdb.server/server-mon.exp: Likewise.
18498 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
18499 (gdb_start_cmd): New.
18500 (gdb_file_cmd): Save the last loaded file.
18501 (gdb_reload): New.
18502 (gdb_gnu_strip_debug): Use transform.
18503 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
18504 support here. Use new $last_loaded_file. Check mtime.
18505 (gdb_target_cmd): Handle ObjC failure case.
18506 (infer_host_exec): Delete.
18507 (gdbserver_load): Rename to...
18508 (gdbserver_run): ...this. Simplify.
18509 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
18510 (mi_gdb_load): Move most contents to a new function...
18511 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
18512 (mi_run_cmd): Use mi_gdb_target_load.
18513 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
18514 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
18515 Use gdb_run_cmd.
18516 * gdb.base/charsign.exp: Remove incorrect comment.
18517 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
18518 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
18519 gdb.base/start.exp: Use gdb_start_cmd.
18520
446ab585 185212007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 18522 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
18523
18524 * gdb.base/sigbpt.exp: Fix the message when skipping test.
18525 * gdb.base/signull.exp: Similarly.
18526
bbb88ebf
UW
185272007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18528
18529 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
18530 messages available to test cases (like chng-sym.exp).
18531
cb8c4a99
AS
185322007-03-14 Andreas Schwab <schwab@suse.de>
18533
18534 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
18535 format changes.
18536
4e463ff5
DJ
185372007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
18538
18539 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
18540 (optimized_1): New.
18541 (main): Call optimized_1.
18542 (gdb2029): Correct typos. Call gdb2029_marker.
18543 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
18544 for gdb2029.
18545
b6db2c47
MK
185462007-03-12 Mark Kettenis <kettenis@gnu.org>
18547
18548 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
18549 as tabs. Remove redundant test pattern.
18550
70ed3737
UW
185512007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18552
18553 * gdb.base/long_long.exp: Accept optional symbol name in <...>
18554 for /a format output.
18555
47b67b60
DJ
185562007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
18557
18558 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
18559 collect output incrementally.
18560
b8953b0e
UW
185612007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18562
18563 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
18564 for -var-create lpcharacter test.
18565 * gdb.mi/mi2-var-cmd.exp: Likewise.
18566
7acd5c40
UW
185672007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18568
18569 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
18570 pass on targets where address zero is readable.
18571
9c6759c1
UW
185722007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18573
18574 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
18575 just a single architecture.
18576
a2f1aeb4
UW
185772007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18578
18579 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
18580 (fetch_all_registers): New function, uses gdb_test_multiple and
18581 exp_continue to fetch inferior output line-by-line.
18582 Replace all uses of do_get_all_registers by fetch_all_registers.
18583
46579ac2
UW
185842007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18585
18586 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
18587 in target_info.
18588
fc133f24
MS
185892007-03-02 Michael Snyder <michael.snyder@palmsource.com>
18590
a9c64011 18591 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
18592 consistancy; add a default (timeout) case.
18593
7646a51d
MS
185942007-03-02 Michael Snyder <michael.snyder@palmsource.com>
18595
18596 * gdb.base/watchpoint.exp: Fix truncated comment.
18597
dcfff61f
MS
185982007-03-02 Michael Snyder <michael.snyder@palmsource.com>
18599
18600 * Makefile.in: Remove spurious single-quotes from sed command.
18601
664e3ee9
DJ
186022007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
18603
18604 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
18605 func.
18606 * gdb.mi/mi2-var-cmd.exp: Likewise.
18607
d7cc6f2f
JB
186082007-02-27 Joel Brobecker <brobecker@adacore.com>
18609
a9c64011
AS
18610 * gdb.dwarf2/dw2-producer.S: New file.
18611 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
18612
186132007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
18614
18615 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
18616 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
18617 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
18618 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
18619 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
18620 Revert tests to use mi_gdb_test and include value field in output
18621 of -var-create.
18622
93d42b30
DJ
186232007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
18624
18625 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
18626
c499ed39
DJ
186272007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
18628
18629 * gdb.base/maint.exp: Remove full paths from test names.
18630 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
18631 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
18632
9836f81b
JB
186332007-02-27 Joel Brobecker <brobecker@adacore.com>
18634
18635 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
18636
c74d0ad8
DJ
186372007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
18638
18639 * gdb.server/server-mon.exp: New test.
18640
2711e456
DJ
186412007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
18642
18643 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
18644
ff6f572f
DJ
186452007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
18646
18647 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
18648 register capitalization.
18649
fada3feb
DP
186502007-02-13 Denis Pilat <denis.pilat@st.com>
18651
18652 * gdb.mi/mi-var-invalidate.exp: New file.
18653
fb1e4ffc
DJ
186542007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
18655
18656 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
18657
3da939d7
DJ
186582007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
18659
18660 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
18661
123dc839
DJ
186622007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
18663
18664 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
18665 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
18666
877e3645 186672007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
18668
18669 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
18670 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
18671 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
18672 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
18673 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 18674 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 18675 Update tests to include value field in output of -var-create.
a9c64011 18676
3c0a2960
AS
186772007-02-08 Andreas Schwab <schwab@suse.de>
18678
18679 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
18680
108546a0
DJ
186812007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
18682
18683 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
18684 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
18685
d701dcab
DP
186862007-02-02 Denis Pilat <denis.pilat@st.com>
18687
18688 * gdb.threads/threadapply.exp: check that frame is not changed by
18689 the thread apply all command.
18690
783e3e2f
AS
186912007-01-31 Andreas Schwab <schwab@suse.de>
18692
6d9c3a87
AS
18693 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
18694
3c50d7b9
AS
18695 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
18696 in the dwarf sections.
18697 * gdb.dwarf2/mac-fileno.S: Likewise.
18698
783e3e2f
AS
18699 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
18700 bspstore register on ia64.
18701
78ff580e
AS
187022007-01-29 Andreas Schwab <schwab@suse.de>
18703
cc8e9b12
AS
18704 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
18705 "frame-begin" annotation.
18706
78ff580e
AS
18707 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
18708 number of "frames-invalid" annotations.
18709
704a4f78
DJ
187102007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
18711
18712 * gdb.base/commands.exp: Call if_commands_test.
18713 (gdb_test_no_prompt, if_commands_test): New.
18714
e741bf94
MK
187152007-01-28 Mark Kettenis <kettenis@gnu.org>
18716
18717 * gdb.threads/sigthread.c (NSIGS): Make bigger.
18718
474d0ad3
AS
187192007-01-27 Andreas Schwab <schwab@suse.de>
18720
18721 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
18722 .short/.int/.quad in the dwarf sections.
18723 * gdb.dwarf2/dw2-intercu.S: Likewise.
18724 * gdb.dwarf2/dw2-intermix.S: Likewise.
18725
e784b426
JK
187262007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18727
18728 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
18729 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
18730 array.
e784b426
JK
18731 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
18732 * gdb.base/setvar.exp: Likewise.
18733
37f08e04
AS
187342007-01-26 Andreas Schwab <schwab@suse.de>
18735
9a01813a
AS
18736 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
18737 test.
18738
37f08e04
AS
18739 * gdb.base/multi-forks.exp ("restart $i"): Also match
18740 __kernel_syscall_via_break.
18741
6e2a9270
VP
187422007-01-24 Vladimir Prus <vladimir@codesourcery.com>
18743
18744 * lib/mi-support.exp (mi_delete_varobj): New.
18745 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
18746 testcase.
18747 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
18748 (main): Call the above.
18749 (reference_update_test, base_in_reference_test)
18750 (reference_to_pointer): Delete the created varobjs.
a9c64011 18751
e515b470
DJ
187522007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
18753
18754 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
18755 * configure: Regenerated.
18756 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
18757 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
18758 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
18759 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
18760 * lib/gdb.exp (gdb_skip_xml_test): New function.
18761
08d8bcd7
DJ
187622007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
18763
18764 * gdb.base/sigrepeat.exp: Correct error message.
18765
187662007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
18767 Daniel Jacobowitz <dan@codesourcery.com>
18768
18769 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
18770 gdb.arch/i386-gnu-cfi-asm.S: New files.
18771
97c3f1f3
JK
187722007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18773
18774 * lib/gdb.exp: Abort on missing `site.exp'.
18775
cb1df416
DJ
187762007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18777 Daniel Jacobowitz <dan@codesourcery.com>
18778
18779 * gdb.base/included.c, gdb.base/included.exp,
18780 gdb.base/included.h: New files.
18781
35990120
DJ
187822007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
18783
18784 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
18785 (maximize_rlimit): Reduce limits on 64-bit systems.
18786
6e81a116 187872007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
18788
18789 From Marcus Deuling <deuling@de.ibm.com>:
18790 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
18791 every case.
18792
6c3c41f3
NR
187932007-01-13 Nick Roberts <nickrob@snap.net.nz>
18794
18795 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
18796 (test_path_specification): Use objdir instead of srcdir to always
18797 get an absolute filename.
18798
2f12c312
DJ
187992007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
18800
18801 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
18802
81121995
VP
188032007-01-11 Vladimir Prus <vladimir@codesourcery.com>
18804
18805 * gdb.mi/mi-var-cp.cc (reference_update_tests):
18806 Make sure the variable we're using is in scope.
18807 (reference_to_pointer): Likewise.
18808
4741b737
DJ
188092007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
18810
18811 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
18812 has no debug information.
18813
054410c3
DJ
188142007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
18815
18816 * gdb.base/annota1.exp: Remove extra send_gdb.
18817
818f79f6
DJ
188182007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18819
18820 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
18821
f7a6bb70
DJ
188222007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
18823
18824 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
18825
57e66780
DJ
188262007-01-08 Nick Roberts <nickrob@snap.net.nz>
18827 Daniel Jacobowitz <dan@codesourcery.com>
18828
18829 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
18830 lcharacter or linteger change. Correct duplicated test name.
18831 * gdb.mi/mi2-var-cmd.exp: Likewise.
18832
3d799a95
DJ
188332007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
18834
18835 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
18836
188372007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 18838
a9c64011
AS
18839 * gdb.base/nofield.c: New file.
18840 * gdb.base/nofield.exp: New testcase.
51679ba9 18841
eafb94e8
NR
188422007-01-05 Nick Roberts <nickrob@snap.net.nz>
18843
18844 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
18845
18846 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
18847 test.
18848
5e572bb4
DJ
188492007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
18850
18851 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
18852
74a44383
DJ
188532007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
18854
18855 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
18856 when continuing.
18857
1b572db9
DJ
188582007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18859
18860 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
18861 Expect ".exe" extension.
18862
381bc39b
DJ
188632007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18864
18865 * gdb.base/charset.exp: Add explicit filename to break.
18866 * gdb.base/dbx.exp: Add explicit filename to breaks.
18867
2b70e4c6
DJ
188682007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
18869
18870 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
18871 * gdb.mi/mi2-file.exp: Likewise.
18872
303b6f5d
DJ
188732007-01-04 Vladimir Prus <vladimir@codesourcery.com>
18874
18875 Implement specification of MI tests as comments
18876 in C and C++ sources.
18877 * lib/mi-support.exp (mi_autotest_data): New variable.
18878 (mi_autotest_source): New variable.
18879 (count_newlines, mi_prepare_inline_tests)
18880 (mi_get_inline_test, mi_continue_to_line)
18881 (mi_run_inline_test, mi_tbreak)
18882 (mi_send_resuming_command, mi_wait_for_stop): New functions.
18883 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
18884 Run inline tests.
18885 * gdb.mi/mi-var-cp.cc: Define tests here.
18886
23da0d94
VP
188872007-01-04 Vladimir Prus <vladimir@codesourcery.com>
18888
18889 Simplify usage of mi_continue_to.
18890 * lib/mi-support.exp (mi_runto_helper): Renamed
18891 from mi_runto, added new parameter 'run_or_continue'.
18892 (mi_runto): Use mi_runto_helper.
18893 (mi_continue_to): Accept just function name as parameter.
18894 Use mi_runto_helper.
18895 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
18896 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 18897
f9e18282
JB
188982006-01-04 Joel Brobecker <brobecker@adacore.com>
18899
18900 Make this testcase a bit more realistic. The current code
18901 is too simplistic, and allows the compiler to optimize out
18902 some of the entities we need for this testcase.
18903 * gdb.ada/null_record/bar.ads (Void_Star): New type.
18904 (Do_Nothing): Add extra parameter.
18905 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
18906 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
18907 by using a variable of type Void_Star.
18908
fd678c65
JB
189092006-01-04 Joel Brobecker <brobecker@adacore.com>
18910
18911 * gdb.ada/catch_ex/foo.adb: New file.
18912 * gdb.ada/catch_ex.exp: New testcase.
18913
05cfdb42
DJ
189142007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
18915
18916 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
18917 pass --image-base to linker.
18918
2e03ee74
DJ
189192007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18920 Daniel Jacobowitz <dan@codesourcery.com>
18921
18922 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
18923 secondary prompts.
18924
0d5de010
DJ
189252007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
18926
18927 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
18928 output. Test the types of members and member pointers.
18929 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
18930 gdb/2092.
18931 * gdb.cp/member-ptr.exp: Search for a comment instead of a
18932 statement. Enable for GCC. Update expected output for some tests
18933 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
18934 layout.
18935 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
18936 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
18937 (Diamond::vget_base): New.
18938 (main): Add new tests.
18939 * gdb.cp/printmethod.exp: Update expected output for member functions.
18940 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
18941 print pEe->D::vg().
18942
61a771aa
DJ
189432007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
18944
18945 * gdb.threads/tls.exp: Allow stops in sem_post.
18946
2fa63963
DJ
189472006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
18948
18949 * gdb.base/annota1.exp: Allow .*printf in backtraces.
18950 * gdb.base/annota3.exp: Likewise.
18951 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
18952 again (instead of timing out).
18953 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
18954 GCC bug 26475.
18955 * gdb.java/jmisc.exp: Adjust to work with method signatures including
18956 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
18957 test from jmisc1.exp.
18958 * gdb.java/jmisc1.exp: Delete.
18959 * gdb.java/jprint.exp: Adjust to work with method signatures including
18960 return types.
18961 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
18962 * gdb.threads/linux-dp.exp: Don't be confused by program output.
18963 * lib/java.exp (compile_java_from_source): Pass the correct type
18964 to target_compile.
18965
5eefc2b7
JB
189662006-12-31 Joel Brobecker <brobecker@adacore.com>
18967
18968 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
18969 (stack_align_edx): New function.
18970 (stack_align_eax): New function.
18971 (main): Add calls to stack_align_edx and stack_align_eax.
18972 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
18973 Add testing for the cases where the register used during a stack
18974 realignment is edx. Same for eax.
18975
227c54da
DJ
189762006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
18977
18978 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
18979 and generic PE targets.
18980
cab8ac94
JB
189812006-12-29 Joel Brobecker <brobecker@adacore.com>
18982
18983 * gdb.ada/array_return.exp: Update copyright date list.
18984
ba54f318
JB
189852006-12-27 Joel Brobecker <brobecker@adacore.com>
18986
18987 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
18988 (Create_Small_Float_Vector): New function.
18989 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
18990 function body.
18991 * gdb.ada/array_return/p.adb: Use new type and function from
18992 package Pck.
18993 * gdb.ada/array_return.exp: Add a test verifying that GDB is
18994 able to print the value returned by a function returning an
18995 array of float.
18996
6b7a35dd
JB
189972006-12-20 Joel Brobecker <brobecker@adacore.com>
18998
18999 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
19000 The associated tests should be PASSing.
19001
038224f6
VP
190022006-12-08 Vladimir Prus <vladimir@codesourcery.com>
19003
19004 Test for base in references.
19005 * gdb.mi/mi-var-cp.cc: Add test code.
19006 * gdb.mi/mi-var-cp.exp: Test for bases in references.
19007 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
19008 * gdb.mi/mi2-watch.exp: Likewise.
19009 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
19010 (mi_list_varobj_children): New function.
19011
b26ed50d
VP
190122006-12-08 Vladimir Prus <vladimir@codesourcery.com>
19013
19014 * lib/mi-support.exp
19015 (mi_runto): Accept "()" after function name.
19016 (mi_create_varobj): New function.
19017 (mi_varobj_update): New function.
19018 (mi_Check_varobj_value): New function.
19019 * gdb.mi/mi-var-cp.exp: New file.
19020 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 19021
08232497
DJ
190222006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
19023
19024 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
19025 gdb.base/weaklib2.c: New files.
19026
d394c993 190272006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 19028
ac6c2fba
NS
19029 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
19030 info. Adjust test names.
19031
8ec659a0 19032 * gdb.base/break.c (main): Move position of malloc.
d394c993 19033 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 19034
acd65feb
VP
190352006-11-28 Vladimir Prus <vladimir@codesourcery.com>
19036
19037 * gdb.mi/mi-var-cmd.exp: Check -var-update after
19038 assignement of arrays and function pointers.
19039 * gdb.mi/var-cmd.c: Add declaration necessary for above
19040 tests.
19041
f556d5e5
NS
190422006-11-27 Nathan Sidwell <nathan@codesourcery.com>
19043
19044 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
19045
19046 * gdb.threads/linux-dp.exp: Read thread table before and after
19047 creating each philosopher and verify it.
19048
697bc68d
NS
190492006-11-27 Nathan Sidwell <nathan@codesourcery.com>
19050 Paul Brook <paul@codesourcery.com>
19051 Daniel Jacobowitz <dan@codesourcery.com>
19052
19053 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 19054 main to remove duplication. Add start function of the form
697bc68d
NS
19055 '_*start[1-9]*'. Add RVDS start function.
19056
29d73ae4
DJ
190572006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
19058
19059 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
19060
c1d88655
UW
190612006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19062
19063 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
19064 * gdb.asm/spu.inc: New file.
19065 * gdb.base/term.exp: Disable if [target_info exists noargs].
19066 * gdb.gdb/complaints.exp: Disable if ![isnative].
19067 * gdb.gdb/selftest.exp: Likewise.
19068 * gdb.gdb/observer.exp: Likewise.
19069 * gdb.gdb/xfullpath.exp: Likewise.
19070 * gdb.base/attach.exp: Disable on SPU target.
19071 * gdb.cp/bs145503.exp: Likewise.
19072 * gdb.cp/exception.exp: Likewise.
19073 * gdb.cp/userdef.exp: Likewise.
19074
32a13b1a
DJ
190752006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
19076
19077 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
19078
d8295fe9
VP
190792006-11-10 Vladimir Prus <vladimir@codesourcery.com>
19080
19081 * gdb.base/completion.exp: Fix completion tests for
19082 'info' and 'info '.
19083 * gdb.base/help.exp (help_test_raw, test_class_help)
19084 (test_prefix_command_help): Move...
19085 * lib/gdb.exp: Here.
19086 * gdb.base/main.exp: Adjust.
19087 * gdb.cp/maint.exp: Adjust.
19088 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 19089
8c394015
VP
190902006-11-09 Vladimir Prus <vladimir@codesourcery.com>
19091
19092 * gdb.stabs/weird.exp (print_weird_var): Use
19093 gdb_test_multiple instead of gdb_expect.
19094
027fc1bc
VP
190952006-11-09 Vladimir Prus <vladimir@codesourcery.com>
19096
19097 * gdb.base/help.exp (help_test_raw): New.
19098 (test_class_help): New.
19099 (test_prefix_command_help): New.
19100 Adjust testcases.
19101
67609209
FR
191022006-11-09 Christophe Lyon <christophe.lyon@st.com>
19103
19104 * gdb.base/constvars.c (main): Write to crass and crips, so that
19105 they are allocated by the compiler.
19106
f73adfeb
AS
191072006-10-27 Andreas Schwab <schwab@suse.de>
19108
19109 * gdb.base/multi-forks.exp: Use "detach fork" instead of
19110 "detach-fork".
19111
2f83a18e
DJ
191122006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
19113
19114 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
19115 of patterns.
19116
94277a38
DJ
191172006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
19118
19119 * gdb.base/sepdebug.exp: Remove debug format test.
19120 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
19121 Handle no-symtab.
19122 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
19123
5bd2f6e2
DJ
191242006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
19125
19126 * gdb.threads/manythreads.c (thread_function, main): Don't cast
19127 int to pointer or pointer to int.
19128 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
19129
8c008720
DJ
191302006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
19131
19132 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
19133
9e35dae4
DJ
191342006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
19135
19136 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
19137
d9639e13
DJ
191382006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
19139
19140 PR c++/2116
19141 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
19142
390a1bd0
JB
191432006-10-06 Joel Brobecker <brobecker@adacore.com>
19144
19145 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
19146 the corresponding bug has been fixed in GDB (PR/2018).
19147
dd920c33
JB
191482006-10-06 Joel Brobecker <brobecker@adacore.com>
19149
19150 * gdb.base/subst.exp: New testcase.
19151
53bbefe9
JB
191522006-10-06 Joel Brobecker <brobecker@adacore.com>
19153
19154 * gdb.ada/array_return/pck.ads: Add copyright notice.
19155 * gdb.ada/array_return/pck.adb: Likewise.
19156 * gdb.ada/array_return/p.adb: Likewise.
19157 * gdb.ada/exec_changed/first.adb: Likewise.
19158 * gdb.ada/exec_changed/second.adb: Likewise.
19159
09851417
JB
191602006-10-06 Joel Brobecker <brobecker@adacore.com>
19161
19162 * gdb.ada/watch_arg/watch.adb: New file.
19163 * gdb.ada/watch_arg.exp: New testcase.
19164
041bf30d
VP
191652006-10-02 Vladimir Prus <vladimir@codesourcery.com>
19166
19167 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 19168 via string_to_regexp.
041bf30d 19169 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 19170
f286fbdd 191712006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
19172
19173 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
19174 Remove unused / obsolete files.
19175
7c07f349
NR
191762006-09-19 Nick Roberts <nickrob@snap.net.nz>
19177
19178 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
19179
cd5ff84a
VP
191802006-09-17 Vladimir Prus <vladimir@codesourcery.com>
19181
19182 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
19183 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 19184 the number of frames.
cd5ff84a 19185
ae018d1a
DJ
191862006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
19187
19188 * gdb.base/args.c (main): Add breakpoint marker.
19189 * gdb.base/args.exp: Use args_test for tests. Add new tests which
19190 really test empty arguments.
19191 (args_load): Delete.
19192 (args_test): New.
19193
b399c549
NR
191942006-09-13 Nick Roberts <nickrob@snap.net.nz>
19195
19196 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 19197 check for one file.
b399c549 19198
2ab1eb7a
VP
191992006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
19200
19201 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
19202 HIGH_FRAME argument to -stack-list-locals can be larger than
19203 the number of frames.
a9c64011 19204
476308bf
FF
192052006-08-18 Fred Fish <fnf@specifix.com>
19206
19207 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
19208 '$' in front of skip_vmx_tests_saved when setting that.
19209
8625200f
AS
192102006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
19211
19212 * gdb.base/trace-commands.exp: New file.
19213
089ec8f1
DJ
192142006-08-10 Joel Brobecker <brobecker@adacore.com>
19215 Daniel Jacobowitz <dan@codesourcery.com>
19216
19217 * gdb.base/step-bt.exp: Make hexadecimal address optional in
19218 expected output of the backtrace commands.
19219
b60f0898
JB
192202006-08-09 Joel Brobecker <brobecker@adacore.com>
19221
19222 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
19223 untested followed by return combination.
19224 * gdb.arch/altivec-regs.exp: Likewise.
19225 * gdb.arch/e500-abi.exp: Likewise.
19226 * gdb.arch/e500-regs.exp: Likewise.
19227 * gdb.arch/gdb1291.exp: Likewise.
19228 * gdb.arch/gdb1431.exp: Likewise.
19229 * gdb.arch/gdb1558.exp: Likewise.
19230 * gdb.arch/i386-prologue.exp: Likewise.
19231 * gdb.arch/i386-unwind.exp: Likewise.
19232 * gdb.asm/asm-source.exp: Likewise.
19233 * gdb.base/a2-run.exp: Likewise.
19234 * gdb.base/advance.exp: Likewise.
19235 * gdb.base/all-bin.exp: Likewise.
19236 * gdb.base/annota1.exp: Likewise.
19237 * gdb.base/annota3.exp: Likewise.
19238 * gdb.base/args.exp: Likewise.
19239 * gdb.base/arithmet.exp: Likewise.
19240 * gdb.base/assign.exp: Likewise.
19241 * gdb.base/async.exp: Likewise.
19242 * gdb.base/attach.exp: Likewise.
19243 * gdb.base/bang.exp: Likewise.
19244 * gdb.base/bigcore.exp: Likewise.
19245 * gdb.base/bitfields.exp: Likewise.
19246 * gdb.base/bitfields2.exp: Likewise.
19247 * gdb.base/break.exp: Likewise.
19248 * gdb.base/call-sc.exp: Likewise.
19249 * gdb.base/call-strs.exp: Likewise.
19250 * gdb.base/callfuncs.exp: Likewise.
19251 * gdb.base/checkpoint.exp: Likewise.
19252 * gdb.base/chng-syms.exp: Likewise.
19253 * gdb.base/code-expr.exp: Likewise.
19254 * gdb.base/commands.exp: Likewise.
19255 * gdb.base/completion.exp: Likewise.
19256 * gdb.base/cond-expr.exp: Likewise.
19257 * gdb.base/condbreak.exp: Likewise.
19258 * gdb.base/consecutive.exp: Likewise.
19259 * gdb.base/constvars.exp: Likewise.
19260 * gdb.base/corefile.exp: Likewise.
19261 * gdb.base/cvexpr.exp: Likewise.
19262 * gdb.base/dbx.exp: Likewise.
19263 * gdb.base/define.exp: Likewise.
19264 * gdb.base/detach.exp: Likewise.
19265 * gdb.base/display.exp: Likewise.
19266 * gdb.base/dump.exp: Likewise.
19267 * gdb.base/ena-dis-br.exp: Likewise.
19268 * gdb.base/ending-run.exp: Likewise.
19269 * gdb.base/environ.exp: Likewise.
19270 * gdb.base/eval-skip.exp: Likewise.
19271 * gdb.base/exprs.exp: Likewise.
19272 * gdb.base/fileio.exp: Likewise.
19273 * gdb.base/finish.exp: Likewise.
19274 * gdb.base/float.exp: Likewise.
19275 * gdb.base/foll-exec.exp: Likewise.
19276 * gdb.base/foll-fork.exp: Likewise.
19277 * gdb.base/foll-vfork.exp: Likewise.
19278 * gdb.base/freebpcmd.exp: Likewise.
19279 * gdb.base/funcargs.exp: Likewise.
19280 * gdb.base/gcore.exp: Likewise.
19281 * gdb.base/gdb1090.exp: Likewise.
19282 * gdb.base/gdb1250.exp: Likewise.
19283 * gdb.base/huge.exp: Likewise.
19284 * gdb.base/info-proc.exp: Likewise.
19285 * gdb.base/interrupt.exp: Likewise.
19286 * gdb.base/jump.exp: Likewise.
19287 * gdb.base/langs.exp: Likewise.
19288 * gdb.base/lineinc.exp: Likewise.
19289 * gdb.base/list.exp: Likewise.
19290 * gdb.base/logical.exp: Likewise.
19291 * gdb.base/long_long.exp: Likewise.
19292 * gdb.base/macscp.exp: Likewise.
19293 * gdb.base/maint.exp: Likewise.
19294 * gdb.base/mips_pro.exp: Likewise.
19295 * gdb.base/miscexprs.exp: Likewise.
19296 * gdb.base/multi-forks.exp: Likewise.
19297 * gdb.base/opaque.exp: Likewise.
19298 * gdb.base/overlays.exp: Likewise.
19299 * gdb.base/pc-fp.exp: Likewise.
19300 * gdb.base/pointers.exp: Likewise.
19301 * gdb.base/printcmds.exp: Likewise.
19302 * gdb.base/psymtab.exp: Likewise.
19303 * gdb.base/ptype.exp: Likewise.
19304 * gdb.base/recurse.exp: Likewise.
19305 * gdb.base/relational.exp: Likewise.
19306 * gdb.base/relocate.exp: Likewise.
19307 * gdb.base/remote.exp: Likewise.
19308 * gdb.base/reread.exp: Likewise.
19309 * gdb.base/restore.exp: Likewise.
19310 * gdb.base/return.exp: Likewise.
19311 * gdb.base/return2.exp: Likewise.
19312 * gdb.base/scope.exp: Likewise.
19313 * gdb.base/sect-cmd.exp: Likewise.
19314 * gdb.base/sep.exp: Likewise.
19315 * gdb.base/sepdebug.exp: Likewise.
19316 * gdb.base/setshow.exp: Likewise.
19317 * gdb.base/setvar.exp: Likewise.
19318 * gdb.base/sigall.exp: Likewise.
19319 * gdb.base/sigbpt.exp: Likewise.
19320 * gdb.base/signals.exp: Likewise.
19321 * gdb.base/signull.exp: Likewise.
19322 * gdb.base/sizeof.exp: Likewise.
19323 * gdb.base/solib.exp: Likewise.
19324 * gdb.base/step-line.exp: Likewise.
19325 * gdb.base/step-test.exp: Likewise.
19326 * gdb.base/structs.exp: Likewise.
19327 * gdb.base/structs2.exp: Likewise.
19328 * gdb.base/term.exp: Likewise.
19329 * gdb.base/twice.exp: Likewise.
19330 * gdb.base/until.exp: Likewise.
19331 * gdb.base/varargs.exp: Likewise.
19332 * gdb.base/volatile.exp: Likewise.
19333 * gdb.base/watchpoint.exp: Likewise.
19334 * gdb.base/whatis-exp.exp: Likewise.
19335 * gdb.base/whatis.exp: Likewise.
19336 * gdb.cp/ambiguous.exp: Likewise.
19337 * gdb.cp/annota2.exp: Likewise.
19338 * gdb.cp/annota3.exp: Likewise.
19339 * gdb.cp/bool.exp: Likewise.
19340 * gdb.cp/breakpoint.exp: Likewise.
19341 * gdb.cp/casts.exp: Likewise.
19342 * gdb.cp/class2.exp: Likewise.
19343 * gdb.cp/classes.exp: Likewise.
19344 * gdb.cp/cplusfuncs.exp: Likewise.
19345 * gdb.cp/ctti.exp: Likewise.
19346 * gdb.cp/derivation.exp: Likewise.
19347 * gdb.cp/exception.exp: Likewise.
19348 * gdb.cp/gdb1355.exp: Likewise.
19349 * gdb.cp/hang.exp: Likewise.
19350 * gdb.cp/inherit.exp: Likewise.
19351 * gdb.cp/local.exp: Likewise.
19352 * gdb.cp/m-data.exp: Likewise.
19353 * gdb.cp/m-static.exp: Likewise.
19354 * gdb.cp/member-ptr.exp: Likewise.
19355 * gdb.cp/method.exp: Likewise.
19356 * gdb.cp/misc.exp: Likewise.
19357 * gdb.cp/namespace.exp: Likewise.
19358 * gdb.cp/overload.exp: Likewise.
19359 * gdb.cp/ovldbreak.exp: Likewise.
19360 * gdb.cp/pr-1023.exp: Likewise.
19361 * gdb.cp/pr-1210.exp: Likewise.
19362 * gdb.cp/pr-574.exp: Likewise.
19363 * gdb.cp/printmethod.exp: Likewise.
19364 * gdb.cp/psmang.exp: Likewise.
19365 * gdb.cp/ref-params.exp: Likewise.
19366 * gdb.cp/ref-types.exp: Likewise.
19367 * gdb.cp/rtti.exp: Likewise.
19368 * gdb.cp/templates.exp: Likewise.
19369 * gdb.cp/try_catch.exp: Likewise.
19370 * gdb.cp/userdef.exp: Likewise.
19371 * gdb.cp/virtfunc.exp: Likewise.
19372 * gdb.disasm/am33.exp: Likewise.
19373 * gdb.disasm/h8300s.exp: Likewise.
19374 * gdb.disasm/mn10300.exp: Likewise.
19375 * gdb.disasm/sh3.exp: Likewise.
19376 * gdb.disasm/t01_mov.exp: Likewise.
19377 * gdb.disasm/t02_mova.exp: Likewise.
19378 * gdb.disasm/t03_add.exp: Likewise.
19379 * gdb.disasm/t04_sub.exp: Likewise.
19380 * gdb.disasm/t05_cmp.exp: Likewise.
19381 * gdb.disasm/t06_ari2.exp: Likewise.
19382 * gdb.disasm/t07_ari3.exp: Likewise.
19383 * gdb.disasm/t08_or.exp: Likewise.
19384 * gdb.disasm/t09_xor.exp: Likewise.
19385 * gdb.disasm/t10_and.exp: Likewise.
19386 * gdb.disasm/t11_logs.exp: Likewise.
19387 * gdb.disasm/t12_bit.exp: Likewise.
19388 * gdb.disasm/t13_otr.exp: Likewise.
19389 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
19390 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
19391 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
19392 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
19393 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
19394 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
19395 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
19396 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
19397 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
19398 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
19399 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
19400 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
19401 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
19402 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
19403 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
19404 * gdb.mi/gdb701.exp: Likewise.
19405 * gdb.mi/gdb792.exp: Likewise.
19406 * gdb.mi/mi-basics.exp: Likewise.
19407 * gdb.mi/mi-break.exp: Likewise.
19408 * gdb.mi/mi-cli.exp: Likewise.
19409 * gdb.mi/mi-console.exp: Likewise.
19410 * gdb.mi/mi-disassemble.exp: Likewise.
19411 * gdb.mi/mi-eval.exp: Likewise.
19412 * gdb.mi/mi-file.exp: Likewise.
19413 * gdb.mi/mi-read-memory.exp: Likewise.
19414 * gdb.mi/mi-regs.exp: Likewise.
19415 * gdb.mi/mi-return.exp: Likewise.
19416 * gdb.mi/mi-simplerun.exp: Likewise.
19417 * gdb.mi/mi-stack.exp: Likewise.
19418 * gdb.mi/mi-stepi.exp: Likewise.
19419 * gdb.mi/mi-syn-frame.exp: Likewise.
19420 * gdb.mi/mi-until.exp: Likewise.
19421 * gdb.mi/mi-var-block.exp: Likewise.
19422 * gdb.mi/mi-var-child.exp: Likewise.
19423 * gdb.mi/mi-var-cmd.exp: Likewise.
19424 * gdb.mi/mi-var-display.exp: Likewise.
19425 * gdb.mi/mi-watch.exp: Likewise.
19426 * gdb.mi/mi2-basics.exp: Likewise.
19427 * gdb.mi/mi2-break.exp: Likewise.
19428 * gdb.mi/mi2-cli.exp: Likewise.
19429 * gdb.mi/mi2-console.exp: Likewise.
19430 * gdb.mi/mi2-disassemble.exp: Likewise.
19431 * gdb.mi/mi2-eval.exp: Likewise.
19432 * gdb.mi/mi2-file.exp: Likewise.
19433 * gdb.mi/mi2-read-memory.exp: Likewise.
19434 * gdb.mi/mi2-regs.exp: Likewise.
19435 * gdb.mi/mi2-return.exp: Likewise.
19436 * gdb.mi/mi2-simplerun.exp: Likewise.
19437 * gdb.mi/mi2-stack.exp: Likewise.
19438 * gdb.mi/mi2-stepi.exp: Likewise.
19439 * gdb.mi/mi2-syn-frame.exp: Likewise.
19440 * gdb.mi/mi2-until.exp: Likewise.
19441 * gdb.mi/mi2-var-block.exp: Likewise.
19442 * gdb.mi/mi2-var-child.exp: Likewise.
19443 * gdb.mi/mi2-var-cmd.exp: Likewise.
19444 * gdb.mi/mi2-var-display.exp: Likewise.
19445 * gdb.mi/mi2-watch.exp: Likewise.
19446 * gdb.stabs/exclfwd.exp: Likewise.
19447 * gdb.stabs/weird.exp: Likewise.
19448 * gdb.threads/gcore-thread.exp: Likewise.
19449 * gdb.trace/actions.exp: Likewise.
19450 * gdb.trace/backtrace.exp: Likewise.
19451 * gdb.trace/circ.exp: Likewise.
19452 * gdb.trace/collection.exp: Likewise.
19453 * gdb.trace/deltrace.exp: Likewise.
19454 * gdb.trace/infotrace.exp: Likewise.
19455 * gdb.trace/limits.exp: Likewise.
19456 * gdb.trace/packetlen.exp: Likewise.
19457 * gdb.trace/passc-dyn.exp: Likewise.
19458 * gdb.trace/passcount.exp: Likewise.
19459 * gdb.trace/report.exp: Likewise.
19460 * gdb.trace/save-trace.exp: Likewise.
19461 * gdb.trace/tfind.exp: Likewise.
19462 * gdb.trace/tracecmd.exp: Likewise.
19463 * gdb.trace/while-dyn.exp: Likewise.
19464 * gdb.trace/while-stepping.exp: Likewise.
19465
f4b618d1
JB
194662006-08-08 Joel Brobecker <brobecker@adacore.com>
19467
19468 * gdb.base/step-bt.c: New file.
19469 * gdb.base/step-bt.exp: New testcase.
19470
3d00d119
DJ
194712006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
19472
19473 * config/monitor.exp (gdb_load): Remove support for obsolete
19474 download-write-size.
19475 * gdb.base/remote.exp: Likewise. Update all callers of
19476 gdb_timed_load.
19477
017b5bd4
DJ
194782006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
19479
19480 * cursal.exp: Pass binfile to gdb_load.
19481
837c599d
DJ
194822006-08-01 Nathan Sidwell <nathan@codesourcery.com>
19483
19484 * gdb.base/cursal.exp: Add "" to gdb_load call.
19485
8dd4540b
MK
194862006-07-29 Mark Kettenis <kettenis@gnu.org>
19487
19488 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
19489 NetBSD/ELF targets.
19490
ab5c9f60
DJ
194912006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
19492
19493 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
19494 operator*.
19495
4c42eaff
DJ
194962006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
19497
19498 * gdb.base/completion.exp: Update for change in "file" behavior.
19499 * gdb.stabs/weird.exp: Likewise.
19500 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
19501 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
19502
0155cc76
NS
195032006-07-24 Nathan Sidwell <nathan@codesourcery.com>
19504
19505 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
19506 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
19507
16026cd7
AS
195082006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
19509
19510 * gdb.base/default.exp: Update source command error message.
19511 * gdb.base/help.exp: Update 'help source' message.
19512
16963cb6
DJ
195132006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
19514
19515 * gdb.cp/bs15503.exp: Update comment for no longer crashing
19516 test.
19517
6d7fd486
AS
195182006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
19519
19520 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
19521
29e8a844
DJ
195222006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
19523
19524 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
19525
6afcfa39
DJ
195262006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
19527
19528 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
19529
267a692b
MK
195302006-07-17 Mark Kettenis <kettenis@gnu.org>
19531
19532 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
19533 *-*-openbsd* from targets for wich we expect ARM FPA floating
19534 point format.
19535
85d2fec4
NR
195362006-07-17 Nick Roberts <nickrob@snap.net.nz>
19537
19538 * gdb.cp/annota3.exp: Expect frame-begin annotation.
19539
195402006-07-17 Mark Kettenis <kettenis@gnu.org>
19541
19542 * gdb.base/annota3.exp: Expect frame-begin annotation.
19543
85b4c6e8
JB
195442006-07-14 Joel Brobecker <brobecker@adacore.com>
19545
19546 * gdb.base/help.exp: Adjust "help unset" test to accept
19547 any list of unset commands.
19548
fb933624
DJ
195492006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
19550 Daniel Jacobowitz <dan@codesourcery.com>
19551
19552 * gdb.cp/ref-params.exp: New test.
19553 * gdb.cp/ref-params.cc: New source file.
19554 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
19555
1dff4b64
MK
195562006-07-08 Mark Kettenis <kettenis@gnu.org>
19557
19558 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
19559 spaces/tabs in regular expressions since they might not be there.
19560
40d2e0e3
AS
195612006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
19562
19563 * gdb.base/ifelse.exp: New file.
19564
f6c957d2
NS
195652006-07-04 Nathan Sidwell <nathan@codesourcery.com>
19566
19567 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
19568 line.
19569 * gdb.base/huge.exp: Loop over compilation to find a size that
19570 is acceptable.
19571 * gdb.base/remote.exp: Correct expected strings.
19572 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
19573
b9c5a23d
DJ
195742006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19575
19576 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
19577
9af2e58d
DJ
195782006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19579
19580 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
19581 native.
19582
30930ca5
DJ
195832006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19584
19585 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
19586 enable stabs testing.
19587
aa32fa1d
DJ
195882006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19589
bd4a4c80 19590 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
19591 gdb_test_multiple does.
19592
321fef15
DJ
195932006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19594
19595 * Makefile.in (host_alias): Remove.
19596 (target_alias): Use @target_noncanonical@.
19597 (site.exp): Don't set host_alias.
19598 * aclocal.m4: Remove contents. Include acx.m4.
19599 * configure: Regenerated.
19600 * configure.ac: Use ACX_NONCANONICAL_TARGET.
19601
e1c2defa
NS
196022006-06-13 Nathan Sidwell <nathan@codesourcery.com>
19603
e63b55d1
NS
19604 * lib/gdb.exp (gdb_load_cmd): New.
19605
5600ea19
NS
19606 * gdb.base/fileio.c: Add system(NULL) test.
19607 * gdb.base/fileio.exp: Check it.
19608
e1c2defa
NS
19609 * gdb.base/break.c: Add 10a breakpoint at }
19610 * gdb.base/break.exp: Add test for breakpoint at }
19611 * gdb.cp/anon-union.cc: Add code at end of function.
19612 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
19613 * gdb.mi/var-cmd.c: Add code at end of function.
19614 * gdb.mi/mi-var-display.exp: Adjust end of next.
19615 * gdb.mi/mi2-var-display.exp: Likewise.
19616 * gdb.base/fileio.c: Add stop function and insert calls at
19617 stopping places.
19618 * gdb.base/fileio.exp: Breakpoint stop function and remove
19619 explicit line number references.
19620
6c0112ec
JB
196212006-05-19 Joel Brobecker <brobecker@adacore.com>
19622
a9c64011
AS
19623 * gdb.base/del.exp (test_delete_alias): New function.
19624 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 19625
154189a4
FF
196262006-05-18 Fred Fish <fnf@specifix.com>
19627
19628 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
19629 required. Check for spurious output after program exits normally.
19630
582e64c2
FF
196312006-05-17 Fred Fish <fnf@specifix.com>
19632
19633 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
19634 gdb_load, so it works in the simulator.
19635
8ef6493a
FF
196362006-05-11 Fred Fish <fnf@specifix.com>
19637
19638 * gdb.base/bang.exp: Ignore unexpected output between the
19639 "program exited normally" and the gdb prompt, as many other
19640 tests do.
19641
692b141c
MK
196422006-05-07 Mark Kettenis <kettenis@gnu.org>
19643
19644 * gdb.base/help.exp: Make "delete checkpoint" part option for
19645 "help d" and "help delete" tests.
19646
540b8a30
UW
196472006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19648
a9c64011 19649 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
19650 expected output in some mi_gdb_test statements.
19651 * gdb.mi/mi2-basics.exp: Likewise.
19652
9b6462d9
JB
196532006-05-05 Joel Brobecker <brobecker@adacore.com>
19654
19655 * gdb.base/del.c: New file.
19656 * gdb.base/del.exp: New testcase.
19657
954de43b
DM
196582006-05-05 David S. Miller <davem@sunset.davemloft.net>
19659
19660 * gdb.base/break.exp: Do not assume a breakpoint on
19661 main will actually be in $srcfile when optimizing.
1303f75e
DM
19662 * gdb.base/savedregs.exp: Do not require that the dummy
19663 frame location match up to a symbol and source file location.
c3242428
DM
19664 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
19665 will get printed without a mi_cmd_data_list_register_values prefix.
19666 (*-data-list-register-*): Correct regular expressions to expect the new
19667 pseudo d? floating point registers.
19668 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 19669
c7e64c9a
DJ
196702006-05-05 Christophe Lyon <christophe.lyon@st.com>
19671
19672 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
19673 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
19674 is allocated by the compiler.
19675 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
19676 anons, e, anone to force their allocation by the compiler.
19677
196782006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
19679
19680 * gdb.base/help.exp: Update expected text for help d and
19681 help delete.
19682
27ce9a6d
MK
196832006-05-02 Mark Kettenis <kettenis@gnu.org>
19684
19685 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
19686 NetBSD/ELF targets.
19687
8608915f
MK
196882006-04-30 Mark Kettenis <kettenis@gnu.org>
19689
19690 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
19691 single-step breakpoint fails; make this a KFAIL on
19692 sparc*-*-openbsd*.
19693 * gdb.base/siginfo.exp: Likewise.
19694 * gdb.base/sigstep.exp (advance, advancei): Likewise.
19695
b8db102d
MS
196962006-04-26 Michael Snyder <msnyder@redhat.com>
19697
19698 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
19699 which may have to consume output from other forks.
19700 Add tests to make sure that "delete fork" succeeded.
19701
c702009a
MS
197022006-04-20 Michael Snyder <msnyder@redhat.com>
19703
19704 * 2006-03-22 Jim Blandy <jimb@redhat.com>
19705 Add support for the Renesas M32C and M16C.
19706
19707 * gdb.asm/asm-source.exp: Add m32c target.
19708 * gdb.asm/m32c.inc: Support for m32c target.
19709
e28493f2
AS
197102006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
19711
19712 * gdb.base/commands.exp (recursive_source_test): New test.
19713
880da185
DM
197142006-04-04 David S. Miller <davem@sunset.davemloft.net>
19715
19716 * gdb.base/float.exp: Add pattern for sparc targets.
19717
61d9b92f
DJ
197182006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
19719
19720 * gdb.base/commands.exp (stray_arg0_test): New test.
19721
bd717df8
PB
197222006-03-30 Paul Brook <paul@codesourcery.com>
19723
19724 * gdb.mi/mi-until.exp: kfail broken until command.
19725 * gdb.mi/mi2-until.exp: Ditto.
19726
ec793d3c
NR
197272006-03-27 Nick Roberts <nickrob@snap.net.nz>
19728
19729 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
19730
831004b7
AO
197312006-03-08 Alexandre Oliva <aoliva@redhat.com>
19732
19733 * gdb.base/prelink.exp: Anchor tested-for regular expression
19734 on gdb prompt.
19735
effe49a0
PB
197362006-03-07 Paul Brook <paul@codesourcery.com>
19737
19738 * gdb.base/assign.exp: Correct fail message.
19739
e5461016
PB
197402006-03-07 Paul Brook <paul@codesourcery.com>
19741
19742 * lib/compiler.c: Extract armcc version number.
19743 * lib/compiler.cc: Ditto.
19744
fc91c6c2
PB
197452006-03-07 Paul Brook <paul@codesourcery.com>
19746
19747 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
19748 additional_flags=-w.
19749 * gdb.arch/altivec-regs.exp: Ditto.
19750 * gdb.arch/e500-abi.exp: Ditto.
19751 * gdb.arch/e500-regs.exp: Ditto.
19752 * gdb.base/all-bin.exp: Ditto.
19753 * gdb.base/annota1.exp: Ditto.
19754 * gdb.base/annota3.exp: Ditto.
19755 * gdb.base/args.exp: Ditto.
19756 * gdb.base/arithmet.exp: Ditto.
19757 * gdb.base/assign.exp: Ditto.
19758 * gdb.base/async.exp: Ditto.
19759 * gdb.base/bang.exp: Ditto.
19760 * gdb.base/break.exp: Ditto.
19761 * gdb.base/call-rt-st.exp: Ditto.
19762 * gdb.base/completion.exp: Ditto.
19763 * gdb.base/cond-expr.exp: Ditto.
19764 * gdb.base/condbreak.exp: Ditto.
19765 * gdb.base/consecutive.exp: Ditto.
19766 * gdb.base/define.exp: Ditto.
19767 * gdb.base/display.exp: Ditto.
19768 * gdb.base/ena-dis-br.exp: Ditto.
19769 * gdb.base/environ.exp: Ditto.
19770 * gdb.base/eval-skip.exp: Ditto.
19771 * gdb.base/info-proc.exp: Ditto.
19772 * gdb.base/jump.exp: Ditto.
19773 * gdb.base/logical.exp: Ditto.
19774 * gdb.base/long_long.exp: Ditto.
19775 * gdb.base/maint.exp: Ditto.
19776 * gdb.base/miscexprs.exp: Ditto.
19777 * gdb.base/pc-fp.exp: Ditto.
19778 * gdb.base/pointers.exp: Ditto.
19779 * gdb.base/relational.exp: Ditto.
19780 * gdb.base/reread.exp: Ditto.
19781 * gdb.base/sect-cmd.exp: Ditto.
19782 * gdb.base/sep.exp: Ditto.
19783 * gdb.base/sepdebug.exp: Ditto.
19784 * gdb.base/until.exp: Ditto.
19785 * gdb.base/whatis-exp.exp: Ditto.
19786 * gdb.cp/annota2.exp: Ditto.
19787 * gdb.cp/annota3.exp: Ditto.
19788 * gdb.trace/actions.exp: Ditto.
19789 * gdb.trace/backtrace.exp: Ditto.
19790 * gdb.trace/circ.exp: Ditto.
19791 * gdb.trace/collection.exp: Ditto.
19792 * gdb.trace/deltrace.exp: Ditto.
19793 * gdb.trace/infotrace.exp: Ditto.
19794 * gdb.trace/limits.exp: Ditto.
19795 * gdb.trace/packetlen.exp: Ditto.
19796 * gdb.trace/passc-dyn.exp: Ditto.
19797 * gdb.trace/passcount.exp: Ditto.
19798 * gdb.trace/report.exp: Ditto.
19799 * gdb.trace/save-trace.exp: Ditto.
19800 * gdb.trace/tfind.exp: Ditto.
19801 * gdb.trace/tracecmd.exp: Ditto.
19802 * gdb.trace/while-dyn.exp: Ditto.
19803 * gdb.trace/while-stepping.exp: Ditto.
19804 * lib/gdb.exp: Ditto.
19805 (gdb_compile): Handle nowarning option.
19806
5f4a23d9
AO
198072006-03-07 Alexandre Oliva <aoliva@redhat.com>
19808
19809 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
19810 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
19811 Rename executable to prelinkt. Don't re-prelink if we didn't
19812 get a core file. Test prelink -u exit status to tell whether
19813 prelinking failed. Use gdb_test_multiple.
19814
9733fc94
DJ
198152006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
19816
19817 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
19818 (do_tests): Call it.
19819
cc10cae3
AO
198202006-02-28 Alexandre Oliva <aoliva@redhat.com>
19821
19822 * gdb.base/prelink.exp: New test.
19823 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
19824
15c46491
WZ
198252006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
19826
19827 * gdb.fortran/derived-type.f90: New file.
19828 * gdb.fortran/derived-type.exp: New testcase.
19829
5c9f7ded
DJ
198302006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
19831
19832 * gdb.base/default.exp: Allow ';' as a directory separator.
19833
5b96932b
AS
198342006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
19835
19836 * gdb.base/help.exp (help add-symbol-file): Update.
19837
1986bccd
AS
198382006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
19839
19840 * gdb.base/help.exp (help load): Update expected results.
19841
a8b7528f
FF
198422006-02-19 Fred Fish <fnf@specifix.com>
19843
19844 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
19845 specifix hex value as part of results.
19846 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 19847
f8261448
FF
198482006-02-16 Fred Fish <fnf@specifix.com>
19849
19850 * gdb.base/whatis.c: Define variables using typedefs char_addr,
19851 ushort_addr, and slong_addr, so the typedefs are not optimized
19852 away.
19853 * gdb.base/whatis.exp: Add tests using type name for struct type,
19854 union type, enum type, and typedef.
a9c64011 19855
31d8bdd2
MK
198562006-02-13 Mark Kettenis <kettenis@gnu.org>
19857
19858 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
19859
34e41e63
JB
198602006-02-13 Jim Blandy <jimb@redhat.com>
19861
19862 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
19863 case where it takes two "next" commands to skip past the init
19864 call.
19865
ac6e4f31
FF
198662006-02-12 Fred Fish <fnf@specifix.com>
19867
19868 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
19869 to handle cases where it takes two "next" commands to skip
19870 past the init call.
19871
2db2d571
JB
198722006-02-07 Joel Brobecker <brobecker@adacore.com>
19873
19874 * gdb.ada/array_return.exp: Mark the last test as expected to fail
19875 on hppa32 targets.
19876
38fcd64c
DJ
198772006-02-06 Vladimir Prus <ghost@cs.msu.su>
19878
19879 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
19880 field.
19881
1315ad46
MK
198822006-01-29 Mark Kettenis <kettenis@gnu.org>
19883
19884 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
19885
5625b943
DJ
198862006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
19887
19888 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
19889 files.
19890
80df1bbe
DJ
198912006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
19892
19893 * gdb.cp/maint.exp: Set complaints to a positive value.
19894
9078e690
DJ
198952006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
19896
19897 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
19898 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
19899 function name.
19900
9c903399
DJ
199012006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
19902
19903 * gdb.base/checkpoint.c: Update copyright notice. Include
19904 <stdlib.h>.
19905
761ae4d6
JB
199062006-01-04 Jim Blandy <jimb@redhat.com>
19907
19908 * gdb.asm/asm-source.exp: Independently provide default values for
19909 asm-flags and debug-flags. Use 'string equal' to do the
19910 comparison, not the implicit expr's '==' operator. Remove
19911 now-unneeded assignments to asm-flags. In h8300 case, place
19912 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
19913
099ac3dd
MS
199142006-01-04 Michael Snyder <msnyder@redhat.com>
19915
19916 * gdb.base/checkpoint.c: New file.
19917 * gdb.base/checkpoint.exp: New file.
19918 * gdb.base/multi-fork.c: New file.
19919 * gdb.base/multi-fork.exp: New file.
19920 * gdb.base/pi.txt: New file (data for checkpoint.c test).
19921
f4d85314
FF
199222006-01-04 Fred Fish <fnf@specifix.com>
19923
19924 * gdb.base/ptype.c (foo): Add typedef.
19925 (intfoo): Add function.
19926 * gdb.base/ptype1.c: New file.
19927 * gdb.base/ptype.exp: Handle compilation and linking with two
19928 source files. Test that proper type for "foo" is found based
19929 on source context rather than first match found in symtabs.
19930
a1b06f35
MK
199312005-12-28 Mark Kettenis <kettenis@gnu.org>
19932
19933 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
19934 * gdb.asm/openbsd.inc: Indent commands.
19935
d082a1e2
MK
199362005-12-26 Mark Kettenis <kettenis@gnu.org>
19937
c65016bd
MK
19938 * gdb.base/freebpcmd.exp: Increase timeout.
19939
d082a1e2
MK
19940 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
19941
d3c32a0e
DJ
199422005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
19943
19944 * gdb.base/default.exp: Update check for "show version".
19945
9fdb1f50
RC
199462005-12-09 Randolph Chung <tausq@debian.org>
19947
19948 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
19949 * gdb.asm/pa64.inc: New file.
19950
5f2c56f7
RC
199512005-12-09 Randolph Chung <tausq@debian.org>
19952
19953 * gdb.asm/common.inc: Indent commands.
19954 * gdb.asm/asmsrc1.s: Likewise.
19955 * gdb.asm/asmsrc2.s: Likewise.
19956
8117349c
RC
199572005-12-09 Randolph Chung <tausq@debian.org>
19958
19959 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
19960 (get_addr_of_sym): Remove duplicate print.
19961 (gen_core): xfail hppa*-*-hpux*, update expected output.
19962 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
19963 * gdb.arch/pa64-nullify.s: New file.
19964
8f07f25a
RC
199652005-12-09 Randolph Chung <tausq@debian.org>
19966
19967 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
19968
55b39184
DJ
199692005-12-07 Christophe Lyon <christophe.lyon@st.com>
19970
19971 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
19972 code generation for these functions.
19973 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
19974 error message.
19975
31e2b00f
AS
199762005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
19977
19978 * gdb.base/help.exp (help b, help br, help bre, help brea)
19979 (help break): Update the expected message.
19980
c3d0b56e
SC
199812005-11-11 Stephane Carrez <stcarrez@nerim.fr>
19982
19983 * gdb.asm/m68hc11.inc: Setup the data section.
19984 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
19985 script for this test.
19986 (m6812-*-*): Likewise.
19987
36ae0ea9
RC
199882005-11-09 Randolph Chung <tausq@debian.org>
19989
19990 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
19991
9d6f42e9
WZ
199922005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
19993
19994 * gdb.base/break.exp: Fix a comment typo.
19995
e2126a14
EZ
199962005-11-03 Jim Blandy <jimb@redhat.com>
19997
a9c64011
AS
19998 Checked in by Elena Zannoni <ezannoni@redhat.com>
19999
889bf7c5 20000 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 20001
e0ac7199
CV
200022005-11-02 Corinna Vinschen <vinschen@redhat.com>
20003
20004 * gdb.arch/gdb1558.c: Include stdio.h.
20005
31d3fb18
MK
200062005-10-31 Mark Kettenis <kettenis@gnu.org>
20007
20008 * gdb.asm/asm-source.exp: Use -e instead of --entry.
20009
e52b687c
MK
200102005-10-31 Mark Kettenis <kettenis@gnu.org>
20011
20012 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
20013
f4711d79
PG
200142005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
20015
a9c64011
AS
20016 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
20017 vscr" tests to better match output.
f4711d79 20018
987a9106
JB
200192005-10-12 Jim Blandy <jimb@redhat.com>
20020
20021 * gdb.base/structs.exp (any): New function.
20022 (test_struct_returns): Don't make any assumptions at all about
20023 what value the function returns when GDB can't set the return
20024 value.
20025
2336bb58
JB
200262005-10-09 Joel Brobecker <brobecker@adacore.com>
20027
20028 * gdb.ada/arrayidx/p.adb: New file.
20029 * gdb.ada/arrayidx.exp: New testcase
20030
200312005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
20032
20033 * gdb.ada/array_return/pck.ads: New file.
20034 * gdb.ada/array_return/pck.adb: New file.
20035 * gdb.ada/array_return/p.adb: New file.
20036 * gdb.ada/array_return.exp: New testcase.
20037
705335ea
JB
200382005-10-03 Joel Brobecker <brobecker@adacore.com>
20039
a9c64011
AS
20040 * gdb.base/arrayidx.c: New file.
20041 * gdb.base/arrayidx.exp: New testcase.
705335ea 20042
11ee9940
NR
200432005-09-29 Nick Roberts <nickrob@snap.net.nz>
20044
20045 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
20046 frames-invalid and breakpoints-invalid are no longer generated
20047 with level 3 so don't expect them in the output.
20048
39fb8e9e
BR
200492005-09-27 Bob Rossi <bob@brasko.net>
20050
a9c64011 20051 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
20052 from test. Escape the | in mi_gdb_test call.
20053 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
20054 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
20055 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
20056 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
20057 expected regex's in mi_gdb_test calls.
20058 * lib/mi-support.exp: Remove arbitrary .* from tests.
20059 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
20060 Fully anchor GDB/MI expected results in mi_gdb_test.
20061 * lib/gdb.exp (string_to_regexp): Escape the ] character.
20062 * gdb.base/sizeof.exp: Remove escape character. Correct test.
20063
2af48f68
PB
200642005-09-26 Paul Brook <paul@codesourcery.com>
20065
20066 * long_long.exp: Exclude eabi targets from arm FPA float format test.
20067
f34502bc
WZ
200682005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
20069
20070 * bfp-test.c: New file.
20071 * bfp-test.exp: New testcase.
20072
ca929517
WZ
200732005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
20074
20075 * gdb.fortran/subarray.exp: New testcase to test the evaluation
20076 of subarray and substring variable.
20077 * gdb.fortran/subarray.f: New source file for the test of subarray
20078 and substring variable evaluation.
20079 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
20080 of string constant.
20081
c761af65
DJ
200822005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
20083
20084 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
20085 copyright dates.
20086
561d7a1d
PG
200872005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
20088
20089 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
20090 powerpc altivec' test with an almost identical 'info vector' test.
20091
b2b64cc9
PG
200922005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
20093
a9c64011
AS
20094 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
20095 vscr" tests to match output.
b2b64cc9 20096
6ac4d15a
PG
200972005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
20098
a9c64011
AS
20099 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
20100 output.
6ac4d15a 20101
40e55bef
BR
201022005-09-11 Bob Rossi <bob@brasko.net>
20103
889bf7c5
PA
20104 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
20105 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
20106 commands that return an MI output command and an asyncronous MI output
20107 command.
40e55bef
BR
20108 * gdb.mi/mi-console.exp: Ditto.
20109
3c7385ec
BR
201102005-09-11 Bob Rossi <bob@brasko.net>
20111
20112 * gdb.mi/mi-var-child.c: Include <string.h>.
20113
a6cd0eb3
DJ
201142005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
20115
20116 * killed.exp: Correct gdb_expect syntax.
20117
2f168eed
CV
201182005-08-09 Corinna Vinschen <vinschen@redhat.com>
20119
20120 * lib/mi-support.exp (mi_gdb_load): Fix typo.
20121
ecd3fd0f
BR
201222005-08-02 Bob Rossi <bob@brasko.net>
20123
20124 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
20125 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
20126 Change tests to inferior-tty-set/show.
20127 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
20128 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
20129 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
20130 inferior. Use mi_gdb_test to get GDB and Inferior output.
20131 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
20132 descriptor.
20133 (mi_inferior_tty_name): Add inferior PTY file name.
20134 (mi_gdb_start): Add INFERIOR_PTY parameter.
20135 (mi_gdb_test): Add IPATTERN parameter.
20136
f1ea48cb 201372005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 20138
f1ea48cb
BR
20139 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
20140 parameter to mi_gdb_test.
20141 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
20142
6e650a67
DJ
201432005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
20144
20145 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
20146 struct_declarations.
20147 * gdb.mi/mi-var-child.exp: Step over the initialization of
20148 struct_declarations.
20149
8be260b6
DJ
201502005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
20151
20152 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
20153 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
20154 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
20155 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
20156 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
20157 file.
20158
4e660f07
NR
201592005-07-27 Nick Roberts <nickrob@snap.net.nz>
20160
20161 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
20162 (do_children_tests): Assign values to the extra elements.
20163
20164 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
20165 them for tests for "-var-update --no-values" and
a9c64011 20166 "-var-update --all-values".
4e660f07
NR
20167 Add test for "-var-list-children --simple-values".
20168
20169 * gdb.mi/basics.c (callee4): Add integer array D[3]...
20170
20171 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
20172 "-stack-list-locals --simple-values" Improve doc strings and
20173 comments.
20174
6bdae935
MK
201752005-07-18 Mark Kettenis <kettenis@gnu.org>
20176
598b7a6f
MK
20177 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
20178 *-*-openbsd*.
20179 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
20180
6bdae935
MK
20181 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
20182 sigaltsatck'.
20183
1323e929 201842005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 20185
1323e929
BR
20186 * gdb.base/default.exp (tty): Changed output of command.
20187 * gdb.base/help.exp (help tty): Ditto.
20188
b1a9c082
MK
201892005-07-12 Mark Kettenis <kettenis@gnu.org>
20190
20191 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
20192
10a844a2
MK
201932005-07-10 Mark Kettenis <kettenis@gnu.org>
20194
20195 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
20196 -stack-select-frame without arguments.
20197 (test_stack_frame_listing): Add test for newly implemented command
20198 -stack-info-frame.
20199
3cb3b8df
BR
202002005-07-06 Bob Rossi <bob@brasko.net>
20201
20202 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
20203 command.
20204 (Copyright): Update copyright.
20205
a0c5fbcf
WZ
202062005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
20207
20208 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
20209 tests to evaluate exponentiation expression.
20210
984971d0
AS
202112005-06-29 Andreas Schwab <schwab@suse.de>
20212
20213 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
20214 main to avoid warnings.
20215
20216 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
20217
fe03833f
NR
202182005-06-20 Nick Roberts <nickrob@snap.net.nz>
20219
20220 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
20221 -stack-select-frame without arguments.
20222 (test_stack_frame_listing): Add test for newly implemented command
20223 -stack-info-frame.
a9c64011 20224
7a55f279
WZ
202252005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
20226
0ffa0ea5
DJ
20227 * gdb.fortran/array-element.f: New file.
20228 * gdb.fortran/array-element.exp: New testcase.
7a55f279 20229
26585198
DJ
202302005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
20231
20232 * gdb.base/bigcore.exp: Correct checks for systems which can
20233 not dump a large core file.
20234
c1bd25fd
DJ
202352005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
20236
20237 * gdb.base/relocate.c: Add a copyright notice.
20238 (dummy): Remove.
20239 * gdb.base/relocate.exp: Test printing the values of variables
20240 from a relocatable file.
20241
589e074d
DJ
202422005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
20243
20244 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
20245 excess MI output after an error.
20246
0915f927
JB
202472005-05-29 Joel Brobecker <brobecker@adacore.com>
20248
20249 * gdb.arch/alpha-step.c: New file.
20250 * gdb.arch/alpha-step.exp: New testcase.
20251
76ff342d
DJ
202522005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
20253 Dennis Brueni <dennis@slickedit.com>
20254
20255 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
20256 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
20257 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
20258 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
20259 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
20260 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
20261 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
20262
96b0c7ac
DJ
202632005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
20264 Wu Zhou <woodzltc@cn.ibm.com>
20265
20266 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
20267 IBM's xlc compiler.
20268 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
20269 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
20270
f21565d2
JB
202712005-05-13 Jim Blandy <jimb@redhat.com>
20272
20273 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
20274 calling gdb_suppress_entire_file.
20275 * gdb.base/charset.exp: Same.
20276 * gdb.base/call-rt-st.exp: Same.
20277
6006a3a1
BR
202782005-05-05 Bob Rossi <bob_rossi@cox.net>
20279
20280 * lib/gdb.exp (fullname_syntax): Added global regex.
20281 (fullname_syntax_POSIX): Ditto.
20282 (fullname_syntax_UNC): Ditto.
20283 (fullname_syntax_DOS_CASE): Ditto.
20284 (fullname_syntax_DOS): Ditto.
20285 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
20286 fullname_syntax variable to scope and use it.
20287 (test_file_list_exec_source_files): Ditto.
20288 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
20289
c3b69c04
DJ
202902005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
20291
20292 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
20293
3c95e6af
PG
202942004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
20295
a9c64011
AS
20296 * lib/gdb.exp (skip_altivec_tests): New function, based on
20297 check_vmx_hw_available from the GCC testsuite.
20298 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
20299 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 20300
78df6c56
JB
203012005-05-02 Jim Blandy <jimb@redhat.com>
20302
20303 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
20304 calling gdb_suppress_entire_file.
20305
1690f9cf
DJ
203062005-04-30 Randolph Chung <tausq@debian.org>
20307
20308 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
20309 Slightly relax "sem_post" name checking.
20310
5ea106f7
PG
203112005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
20312
20313 * gdb.base/unload.exp: Use new shared library infrastructure.
20314
bf7234cf
PG
203152005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
20316
20317 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 20318 infrastructure.
bf7234cf 20319
547b869a
CV
203202005-04-29 Corinna Vinschen <vinschen@redhat.com>
20321
20322 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
20323 * gdb.asm/h8300.inc: New file.
20324
f07e55f0
PG
203252005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
20326
20327 * gdb.base/shlib-call.exp: Change to use new shared library
20328 infrastructure.
20329
3cbba3d1
PG
203302005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
20331
a9c64011
AS
20332 * gdb.base/pending.exp: Change to use new shared library
20333 infrastructure.
3cbba3d1 20334
ed6df200
PG
203352005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
20336
a9c64011
AS
20337 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
20338 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 20339
8c8f4ebe
PG
203402005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
20341
a9c64011
AS
20342 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
20343 shared objects being adjusted and update copyright years.
8c8f4ebe 20344
607fbc54
DJ
203452005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
20346
20347 * ChangeLog: Correct some 2003-01-13 dates.
20348 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
20349 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
20350 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
20351 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
20352 gdb.trace/tfind.exp: Update copyright years.
20353
57bf0e56
DJ
203542005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
20355 Daniel Jacobowitz <dan@codesourcery.com>
20356
20357 * lib/gdb.exp (gdb_compile): Handle shlib=.
20358 (gdb_compile_shlib): New function.
20359
9b593790
PG
203602005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
20361
a9c64011 20362 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 20363
9494c6a5
DJ
203642005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
20365
20366 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
20367 gdb.server.
20368 * configure.ac: Likewise.
20369 * configure: Regenerated.
20370 * gdb.gdbserver/Makefile.in: Moved to...
20371 * gdb.server/Makefile.in: ... here.
20372 * gdb.gdbserver/server.c: Moved to...
20373 * gdb.server/server.c: ... here.
20374 * gdb.gdbserver/server-run.exp: Moved to...
20375 * gdb.server/server-run.exp: ... here.
20376
6f8eac0e
DJ
203772005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
20378
20379 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
20380 * configure.ac: Create gdb.gdbserver/Makefile.
20381 * configure: Regenerated.
20382 * lib/gdbserver-support.exp: New file, derived from
20383 config/gdbserver.exp.
20384 * config/gdbserver.exp: Use gdbserver-support.exp.
20385 * gdb.gdbserver/Makefile.in: New file.
20386 * gdb.gdbserver/server.c: New file.
20387 * gdb.gdbserver/server-run.exp: New file.
20388
6e87504d
PG
203892005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
20390
a9c64011
AS
20391 * lib/gdb.exp (test_compiler_info): Return compiler_info
20392 if no arguments are given.
6e87504d 20393
d1779be4
PG
203942005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
20395
20396 * gdb.arch/altivec-abi.exp: Check for compiler and set
20397 use altivec' flag accordingly.
20398 * gdb.arch/altivec-regs.exp: Likewise.
20399
88750304
DJ
204002005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
20401
20402 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
20403
f3fb768d
AS
204042005-03-27 Andreas Schwab <schwab@suse.de>
20405
20406 * gdb.base/bigcore.c (main): Add missing mode argument in open
20407 call.
20408
7e813ac5
DJ
204092005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
20410
20411 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
20412 downloads.
20413 * config/gdbserver.exp (gdb_load): Likewise.
20414
8e3049aa
PB
204152005-03-14 Paul Brook <paul@codesourcery.com>
20416
20417 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
20418 targets.
20419
a9df7c44
JB
204202005-03-09 Joel Brobecker <brobecker@adacore.com>
20421
20422 * gdb.dwarf2/dup-psym.S: New file.
20423 * gdb.dwarf2/dup-psym.exp: New testcase.
20424
9f0d94e8
JB
204252005-03-09 Joel Brobecker <brobecker@adacore.com>
20426
20427 * gdb.ada/exec_changed/first.adb: New file.
20428 * gdb.ada/exec_changed/second.adb: New file.
20429 * gdb.ada/exec_changed.exp: New testcase.
20430
5f579bc5
NS
204312005-03-08 Nathan Sidwell <nathan@codesourcery.com>
20432
36e9969c
NS
20433 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
20434 (A2): New class.
20435 (main): Test operator+.
20436 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
20437 breakpoint test.
20438
5f579bc5
NS
20439 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
20440 * gdb.base/signull.exp: Disable if gdb,nosignals.
20441 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
20442 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
20443 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
20444 * gdb.mi/mi2-console.exp: Likewise.
20445 * gdb.trace/collection.exp (run_trace_experiment): Consume the
20446 continue output at start.
20447 (gdb_collect_locals_test): Robustify regexp.
20448 * gdb.trace/passc-dyn.exp: Fix comment typo.
20449 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
20450
be46087e
CV
204512005-03-08 Corinna Vinschen <vinschen@redhat.com>
20452
20453 * gdb.asm/asm-source.exp: Add iq2000 case.
20454 * gdb.asm/iq2000.inc: New file.
20455
384e1a61 204562005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 20457
384e1a61
MI
20458 * gdb.base/command.exp: Change hardcoded value to regular expression.
20459 * gdb.base/float.exp: Add powerpc to the list of targets checked.
20460
584b6e9e
DJ
204612005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
20462
20463 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
20464 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
20465 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
20466 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
20467 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
20468
ab5b5d61
MK
204692005-03-05 Mark Kettenis <kettenis@gnu.org>
20470
20471 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
20472 changes.
20473
ae051c1b
PG
204742004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
20475
a9c64011
AS
20476 * lib/compiler.c: Add test for IBM's xlc compiler.
20477 * lib/compiler.cc: Likewise.
ae051c1b 20478
3f0f6ed2
JB
204792004-02-24 Joel Brobecker <brobecker@adacore.com>
20480
20481 * gdb.ada/fixed_points.exp: Create compilation object directory
20482 before running the test.
20483 * gdb.ada/null_record.exp: Likewise.
20484 * gdb.ada/packed_array.exp: Likewise.
20485 * gdb.ada/start.exp: Likewise.
20486
724f452b
JB
204872005-02-15 Joel Brobecker <brobecker@adacore.com>
20488
20489 * gdb.ada/packed_array/pa.adb: New file.
20490 * gdb.ada/packed_array.exp: New testcase.
20491
57f5cdfb 204922005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 20493
1f393151
MK
20494 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
20495 files.
20496
ebdda337
MK
20497 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
20498 on *-*-openbsd*. Correctly match whitespace in regukar
20499 expressions.
20500
cf309262
DJ
205012005-02-10 Daniel Jacobowitz <dan@debian.org>
20502
20503 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
20504 PR exp/1821
20505 * gdb.base/gdb1821.c: New test file.
20506 * gdb.base/gdb1821.exp: New test file.
20507
3be49e7a
JB
205082005-02-09 Joel Brobecker <brobecker@adacore.com>
20509
20510 * gdb.base/start.c: New file.
20511 * gdb.base/start.exp: New testcase.
20512
e292e67d
JB
205132005-02-09 Joel Brobecker <brobecker@adacore.com>
20514
20515 * gdb.ada/start/dummy.adb: New file.
20516 * gdb.ada/start.exp: New testcase.
20517
dbdfa66c
CV
205182005-02-09 Corinna Vinschen <vinschen@redhat.com>
20519
20520 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
20521 for printing symbols and statistics.
20522 Add test for using relative pathnames in "maint print msymbols" test.
20523 Mark "maint info sections DATA" XFAIL on Cygwin.
20524 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
20525 tests.
20526
d7941671
AC
205272005-02-09 Andreas Schwab <schwab@suse.de>
20528
20529 Committed by Andrew Cagney <cagney@gnu.org>
20530 * gdb.base/remotetimeout.exp: New file.
20531
74e5ef44
MK
205322005-02-07 Mark Kettenis <kettenis@gnu.org>
20533
20534 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
20535
464dd14d
JB
205362005-02-03 Joel Brobecker <brobecker@adacore.com>
20537
20538 * gdb.ada/gnat_ada.gpr: New file.
20539 * gdb.ada/gnat_ada.gin: Delete, no longer used.
20540 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
20541 * configure.ac: No longer generate gnat_ada.gpr.
20542 * configure: Regenerate.
20543 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
20544 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
20545 * gdb.ada/null_record/bar.ads: Likewise.
20546 * gdb.ada/null_record/bar.adb: Likewise.
20547 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
20548 * gdb.ada/null_record.exp (testdir): New variable.
20549 (testfile): executable is now in testdir subdirectory.
20550 (srcfile): Use full path to the main compilation unit.
20551 * gdb.ada/fixed_points.exp: Same changes as above.
20552
30d756ae
NR
205532005-02-03 Nick Roberts <nickrob@snap.net.nz>
20554
20555 * gdb.base/interp.exp: New test.
20556
9d799f85
AC
205572005-01-24 Andrew Cagney <cagney@gnu.org>
20558
20559 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
20560
15656118
AC
205612005-01-19 Andrew Cagney <cagney@gnu.org>
20562
a892c31b
AC
20563 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
20564 configure.ac not configure.in.
20565
15656118
AC
20566 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
20567 of powerpc*-*-*.
20568 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 20569 * gdb.base/list.exp (test_list_function)
15656118
AC
20570 (test_list_filename_and_function): Ditto.
20571 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
20572
a7b01baf
AC
205732005-01-16 Andrew Cagney <cagney@gnu.org>
20574
17d92a02
AC
20575 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
20576
a7b01baf
AC
20577 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
20578
bc8332bb
AC
205792005-01-14 Andrew Cagney <cagney@gnu.org>
20580
20581 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
20582 * gdb.mi/mi2-var-cmd.exp: Ditto.
20583
4d074752
CV
205842005-01-10 Corinna Vinschen <vinschen@redhat.com>
20585
20586 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
20587
bec39cab
AC
205882005-01-07 Andrew Cagney <cagney@gnu.org>
20589
20590 * configure.ac: Rename configure.in, require autoconf 2.59.
20591 * configure: Re-generate.
20592 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
20593 * gdb.stabs/configure: Re-generate.
20594 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
20595 * gdb.hp/configure: Re-generate.
20596 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
20597 autoconf 2.59.
20598 * gdb.hp/gdb.objdbg/configure: Re-generate.
20599 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
20600 autoconf 2.59.
20601 * gdb.hp/gdb.defects/configure: Re-generate.
20602 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
20603 autoconf 2.59.
20604 * gdb.hp/gdb.compat/configure: Re-generate.
20605 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
20606 autoconf 2.59.
20607 * gdb.hp/gdb.base-hp/configure: Re-generate.
20608 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
20609 autoconf 2.59.
20610 * gdb.hp/gdb.aCC/configure: Re-generate.
20611
f10b16d4
JB
206122004-12-15 Jim Blandy <jimb@redhat.com>
20613
20614 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
20615 under NPTL when there is debugging info available for libpthread.
20616
fb6e1814
JG
206172004-12-13 Jerome Guitton <guitton@gnat.com>
20618
20619 * gdb.ada/fixed_points.c: New file.
20620 * gdb.ada/fixed_points.exp: New file.
20621
fe46cd3a
RC
206222004-12-03 Randolph Chung <tausq@debian.org>
20623
20624 * gdb.arch/pa-nullify.exp: New file.
20625 * gdb.arch/pa-nullify.s: New file.
20626
8de0841b
RC
206272004-11-30 Randolph Chung <tausq@debian.org>
20628
20629 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
20630 instead of "tbug". Fix regexp to work properly with gdb_test.
20631
c8170782
PH
206322004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
20633
20634 * gdb.base/bitfields2.exp: New test.
20635 * gdb.base/bitfields2.c: New file.
20636
954269c2
RE
206372004-11-28 Richard Earnshaw <rearnsha@arm.com>
20638
20639 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
20640
0107feed
RC
206412004-11-16 Randolph Chung <tausq@debian.org>
20642
20643 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
20644
f073ae8c
DJ
206452004-11-14 Daniel Jacobowitz <dan@debian.org>
20646
20647 * gdb.threads/threadapply.exp: Correct "macro details" test.
20648
19ad59e7
JJ
206492004-11-11 Jeff Johnston <jjohnstn@redhat.com>
20650
20651 * gdb.threads/threadapply.exp: New test.
20652 * gdb.threads/threadapply.c: New file.
20653
9cf0961b
MK
206542004-11-07 Mark Kettenis <kettenis@gnu.org>
20655
20656 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
20657 frames.
20658
c789492a
FL
206592004-11-05 Felix Lee <felix+log1@specifixinc.com>
20660
20661 * gdb.base/cursal.exp: New file.
20662 * gdb.base/cursal.c: New file.
20663
a1e167bb
AC
206642004-11-03 Andrew Cagney <cagney@gnu.org>
20665
20666 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
20667
b7cbf173
MK
206682004-10-30 Mark Kettenis <kettenis@gnu.org>
20669
20670 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
20671 NetBSD/ELF targets.
20672
88f9d34f
JB
206732004-10-29 Joel Brobecker <brobecker@gnat.com>
20674
20675 * gdb.threads/bp_in_thread.c: New file, copied from
20676 pthread_cond_wait.c.
20677 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
20678 file, rather than reusing the .c file from another testcase.
20679
ca7d6a0c
JB
206802004-10-20 Joel Brobecker <brobecker@gnat.com>
20681
20682 * gdb.ada/null_record.exp: Check where we stopped after
20683 sending the start command, instead of where the associated
20684 temporary breakpoint was inserted.
20685
0d863d03
AC
206862004-10-14 Andrew Cagney <cagney@gnu.org>
20687
20688 * gdb.mi/gdb701.c (main): Return 0.
20689
d11e72cb
DJ
206902004-10-13 Daniel Jacobowitz <dan@debian.org>
20691
d40539a4 20692 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 20693
e1923096
JJ
206942004-10-12 Jeff Johnston <jjohnstn@redhat.com>
20695
20696 * gdb.threads/schedlock.c: Add comment markers to use to find
20697 line numbers.
20698 * gdb.threads/schedlock.exp: Adjust regex to handle the new
20699 comments.
20700 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
20701 breakpoint lines.
20702
ec8ba2c9
DJ
207032004-10-12 Daniel Jacobowitz <dan@debian.org>
20704
20705 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
20706
0eb3658b
DJ
207072004-10-12 Daniel Jacobowitz <dan@debian.org>
20708
20709 * configure.in: Add gdb.dwarf2.
20710 * configure: Regenerated.
20711 * Makefile.in: Add gdb.dwarf2.
20712 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
20713 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
20714 gdb.dwarf2/file1.txt: New files.
20715
a271cc33
OF
207162004-10-11 Orjan Friberg <orjanf@axis.com>
20717
a9c64011 20718 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
20719 of "run", since the latter doesn't work with remote targets. Adjust
20720 the breakpoint numbering accordingly.
20721 * gdb.threads/pthread_cond_wait.exp: Ditto.
20722
895ce074
MC
207232004-10-08 Michael Chastain <mec.gnu@mindspring.com>
20724
20725 * gdb.base/overlays.exp: Update copyright years.
20726
6be3092d
KI
207272004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
20728
20729 * gdb.base/overlays.exp: Disable if target is Linux.
20730
e05389b8
FL
207312004-10-06 Felix Lee <felix+log1@specifixinc.com>
20732
20733 * config/gdbserver.exp (gdb_load): Use right filename on remote.
20734
73cb587d
KI
207352004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
20736
20737 * gdb.asm/asm-source.exp: Add m32r-linux target.
20738 * gdb.asm/m32r-linux.inc: New file.
20739
3c0edcdc
AC
207402004-09-24 Andrew Cagney <cagney@redhat.com>
20741 David Anderson <anderson@redhat.com>
20742
20743 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
20744 command fails, assume things will work.
20745 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
20746 (_GNU_SOURCE): Define.
20747 (print_unsigned, print_hex): Change parameter to "long long".
20748 (print_byte_count): New function, use to print byte counts.
20749 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
20750 O_LARGEFILE.
20751 (main): Compute an upper bound on a corefile in max_core_size.
20752 Limit memory chunk size to max_core_size. Limit total memory
20753 allocated to max_core_size.
20754
4bb3667f
AC
207552004-09-23 Andrew Cagney <cagney@gnu.org>
20756
20757 * gdb.base/bigcore.exp: Replace the code that creates a corefile
20758 from a separate process with code that creates a corefile by
20759 making the inferior dump core.
20760
60fe1a51
MK
207612004-09-23 Mark Kettenis <kettenis@gnu.org>
20762
20763 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
20764 block.
20765
8e937346
MC
207662004-09-23 Michael Chastain <mec.gnu@mindspring.com>
20767
20768 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
20769 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
20770 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
20771 Likewise.
20772
7213f6d6
JJ
207732004-09-20 Jeff Johnston <jjohnstn@redhat.com>
20774
20775 * gdb.java/jprint.exp: New test case for java inferior call.
20776 * gdb.java/jprint.java: Ditto.
20777
eac69dca
JB
207782004-09-15 Joel Brobecker <brobecker@gnat.com>
20779
20780 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
20781
22227696
MC
207822004-09-14 Michael Chastain <mec.gnu@mindspring.com>
20783
20784 * gdb.threads/killed.c: Include <stdlib.h>.
20785 * gdb.threads/pthreads.c: Likewise.
20786
7dd403a4
MC
207872004-09-14 Michael Chastain <mec.gnu@mindspring.com>
20788
20789 * gdb.threads/killed.c: Add copyright notice.
20790
33f2d567
JM
207912004-09-10 Jason Molenda (jmolenda@apple.com)
20792
a9c64011
AS
20793 * gdb.base/define.exp: Two new tests to verify zero space chars
20794 after 'if' and 'while' commands in a user-defined command is correctly
20795 parsed.
33f2d567 20796
e05b62ac
AC
207972004-09-08 Andrew Cagney <cagney@gnu.org>
20798
20799 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
20800 delivery test with duplicate at end of file.
20801
9cbe82da
MK
208022004-09-06 Mark Kettenis <kettenis@jive.nl>
20803
20804 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
20805
564803d9
MC
208062004-09-05 Michael Chastain <mec.gnu@mindspring.com>
20807
20808 * config/hppro.exp: Removed.
20809
7c6807ce
MC
208102004-09-05 Michael Chastain <mec.gnu@mindspring.com>
20811
20812 * config/sparclet.exp: Removed.
20813
bf7e26dd
MC
208142004-09-05 Michael Chastain <mec.gnu@mindspring.com>
20815
20816 * config/udi.exp: Removed.
20817
714e341b
MC
208182004-09-02 Michael Chastain <mec.gnu@mindspring.com>
20819
20820 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
20821 of "exp_continue".
20822 (advancei): Likewise.
20823
1236e623
JJ
208242004-09-01 Jeff Johnston <jjohnstn@redhat.com>
20825
20826 * gdb.base/unload.exp: Fix so messages aren't duplicated.
20827
3bdcad15
MI
208282004-09-01 Manoj Iyer <manjo@austin.ibm.com>
20829
228af206 20830 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
20831 to check for nodebug in executable.
20832 * gdb.gdb/observer.exp (setup_test): Likewise.
20833 * gdb.gdb/selftest.exp (test_with_self): Likewise.
20834 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
20835
c72b934c
AC
208362004-09-01 Andrew Cagney <cagney@gnu.org>
20837
20838 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
20839 files.
20840
edd9b715
JJ
208412004-09-01 Jeff Johnston <jjohnstn@redhat.com>
20842
20843 * gdb.base/unload.exp: Fix expected warning message to match
20844 latest format.
20845
fb4ce06b
CV
208462004-09-01 Corinna Vinschen <vinschen@redhat.com>
20847
20848 * gdb.base/call-rt-st.exp: Fix typos.
20849
ce78e7c3
MI
208502004-08-31 Manoj Iyer <manjo@austin.ibm.com>
20851
20852 * gdb.threads/thread_check.exp: New testcase.
20853 * gdb.threads/thread_check.c: New testcase.
20854
2dedb159
AC
208552004-08-31 Andrew Cagney <cagney@gnu.org>
20856
20857 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
20858 (skip_to_handler_entry): New procedures. Test stepping into a
20859 handler when the breakpoint is at the handler's entry point.
20860
68f53502
AC
208612004-08-30 Andrew Cagney <cagney@gnu.org>
20862
20863 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
20864 gdb/1757.
20865
3e3ffd2b
MC
208662004-08-27 Michael Chastain <mec.gnu@mindspring.com>
20867
20868 With code from Manoj Iyer <manjo@austin.ibm.com>:
20869 * lib/gdb.exp (gdb_file_cmd): Return more information in the
20870 return value. Add an arm for "no debugging symbols found".
20871 Change a stray "error" to "perror".
20872 (gdb_run_cmd): Adapt to new return value.
20873 * gdb.base/remote.exp: Adapt to new return value.
20874 * gdb.gdb/complaints.exp: Likewise.
20875 * gdb.gdb/observer.exp: Likewise.
20876 * gdb.gdb/selftest.exp: Likewise.
20877 * gdb.gdb/xfullpath.exp: Likewise.
20878
4b6f5fd2
JB
208792004-08-27 Joel Brobecker <brobecker@gnat.com>
20880
20881 * gdb.threads/bp_in_thread.exp: New testcase.
20882
e5b25496
MC
208832004-08-27 Michael Chastain <mec.gnu@mindspring.com>
20884
20885 Fix PR testsuite/1735.
20886 * gdb.threads/schedlock.c (thread_function): Add a cast
20887 to suppress a gcc warning.
20888 * gdb.threads/thread-specific.c (thread_function): Likewise.
20889
934353d6
MC
208902004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20891
20892 * gdb.base/unload.c: Include <stdlib.h>.
20893
f98a0aef 208942004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 20895
f98a0aef 20896 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
20897 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
20898 synchronized after the "return".
20899
5a2e8882
MC
209002004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20901
20902 * gdb.mi/basics.c: Include <stdio.h>.
20903 * gdb.mi/pthreads.c: Include <stdlib.h>.
20904 * gdb.mi/var-cmd.c: Include <stdlib.h>.
20905
a9640423
MC
209062004-08-26 Michael Chastain <mec.gnu@mindspring.com>
20907
20908 * gdb.threads/schedlock.c: Add copyright notice.
20909
b04e311d
AC
209102004-08-25 Andrew Cagney <cagney@gnu.org>
20911
20912 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
20913 (skip_over_handler, breakpoint_over_hander): New test procedures.
20914 (advance, advancei): Add a proper prefix, do not use
20915 rerun_to_main.
20916 * gdb.base/sigstep.c (main): Change to use an infinite loop.
20917
7c27f15b
MC
209182004-08-24 Michael Chastain <mec.gnu@mindspring.com>
20919
20920 * gdb.mi/basics.c: Add copyright notice.
20921 * gdb.mi/var-cmd.c: Add copyright notice.
20922
fffc87ae
MC
209232004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20924
20925 * lib/gdb.exp: Remove signed_keyword_not_used.
20926 * lib/compiler.c: Likewise.
20927 * lib/compiler.cc: Likewise.
20928
d782e0bf
MC
209292004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20930
20931 * gdb.base/whatis.c: Remove conditional disabling of "signed".
20932 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
20933
96033e83
MC
209342004-08-23 Michael Chastain <mec.gnu@mindspring.com>
20935
20936 * gdb.base/whatis.c: Add copyright notice.
20937
cf38c229
MK
209382004-08-20 Mark Kettenis <kettenis@gnu.org>
20939
20940 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
20941 it to skip the breakpoints encoded in the inline assembly.
20942
f4b49756
MC
209432004-08-20 Michael Chastain <mec.gnu@mindspring.com>
20944
20945 * Makefile.in: Add gdb.fortran.
20946
2f193b69
MC
209472004-08-20 Michael Chastain <mec.gnu@mindspring.com>
20948
20949 * gdb.base/call-sc.exp (test_scalar_returns):
20950 Fix cut-and-paste glitch in "Make fun return now".
20951
89a237cb
MC
209522004-08-17 Michael Chastain <mec.gnu@mindspring.com>
20953
20954 * configure.in: Add gdb.fortran.
20955 * configure: Regenerate.
20956 * gdb.fortran/Makefile.in: New file.
20957 * lib/gdb.exp (skip_fortran_tests): New procedure.
20958
469aff8e
MC
209592004-08-17 Michael Chastain <mec.gnu@mindspring.com>
20960
20961 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
20962 reference to bug-gnu@prep.ai.mit.edu.
20963 * gdb.mi/mi-var-child.exp: Likewise.
20964 * gdb.mi/mi-var-cmd.exp: Likewise.
20965 * gdb.mi/mi-var-display.exp: Likewise.
20966 * gdb.mi/mi2-var-block.exp: Likewise.
20967 * gdb.mi/mi2-var-child.exp: Likewise.
20968 * gdb.mi/mi2-var-cmd.exp: Likewise.
20969 * gdb.mi/mi2-var-display.exp: Likewise.
20970
00b51b9f
MK
209712004-08-15 Mark Kettenis <kettenis@gnu.org>
20972
20973 * gdb.base/unload.c (main): Make local variable msg const.
20974
45f07fef
MC
209752004-08-15 Michael Chastain <mec.gnu@mindspring.com>
20976
20977 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
20978 to bug-gnu@prep.ai.mit.edu.
20979 * gdb.mi/mi-disassemble.exp: Likewise.
20980 * gdb.mi/mi-eval.exp: Likewise.
20981 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
20982 default line number.
20983 * gdb.mi/mi-return.exp: Likewise.
20984 * gdb.mi/mi-simplerun.exp: Likewise.
20985 * gdb.mi/mi-stack.exp: Likewise.
20986 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
20987 number with explicit range test.
20988 * gdb.mi/mi-watch.exp: Likewise.
20989 * gdb.mi/mi2-break.exp: Likewise.
20990 * gdb.mi/mi2-cli.exp: Likewise.
20991 * gdb.mi/mi2-disassemble.exp: Likewise.
20992 * gdb.mi/mi2-eval.exp: Likewise.
20993 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
20994 default line number.
20995 * gdb.mi/mi2-return.exp: Likewise.
20996 * gdb.mi/mi2-simplerun.exp: Likewise.
20997 * gdb.mi/mi2-stack.exp: Likewise.
20998 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
20999 number with explicit range test.
21000 * gdb.mi/mi2-watch.exp: Likewise.
21001
dd8c8ee7
MC
210022004-08-15 Michael Chastain <mec.gnu@mindspring.com>
21003
21004 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
21005 * gdb.cp/m-static.exp: Likewise.
21006 * gdb.cp/rtti.exp: Likewise.
21007
4e838464
MK
210082004-08-14 Mark Kettenis <kettenis@gnu.org>
21009
21010 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
21011
8d8cb839
EZ
210122004-08-14 Eli Zaretskii <eliz@gnu.org>
21013
21014 * ChangeLog: Prefix Local Variables with semi-colons and indent
21015 the reference to older ChangeLog files, to fix fontification in
21016 Emacs.
21017
deea8bb0
MC
210182004-08-13 Michael Chastain <mec.gnu@mindspring.com>
21019
21020 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
21021 * gdb.mi/mi2-break.exp: Likewise.
21022
c3297504
MC
210232004-08-13 Michael Chastain <mec.gnu@mindspring.com>
21024
21025 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
21026
25808999
MC
210272004-08-13 Michael Chastain <mec.gnu@mindspring.com>
21028
21029 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
21030
226a8d71
MC
210312004-08-13 Michael Chastain <mec.gnu@mindspring.com>
21032
21033 * gdb.cp/classes.exp: Remove unused declarations. Just let
21034 test names default instead of providing special names. Remove
21035 extraneous demangler test.
21036
37fdf854
JJ
210372004-08-12 Jeff Johnston <jjohnstn@redhat.com>
21038
21039 * gdb.base/unload.exp: New test for breakpoints in dynamically
21040 loaded libraries.
21041 * gdb.base/unload.c: Ditto.
21042 * gdb.base/unloadshr.c: Ditto.
21043
2d3a7986
MC
210442004-08-12 Michael Chastain <mec.gnu@mindspring.com>
21045
21046 * gdb.cp/classes.exp (test_ptype_class_objects): Call
21047 cp_test_ptype_class.
21048 (test_enums): Likewise.
21049
c72b934c
AC
210502004-08-10 Andrew Cagney <cagney@gnu.org>
21051
21052 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
21053 files.
21054
cc503c8a
AC
210552004-08-10 Andrew Cagney <cagney@gnu.org>
21056
21057 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
21058 init_malloc call.
21059
902f2ccb
MC
210602004-08-10 Michael Chastain <mec.gnu@mindspring.com>
21061
21062 * ChangeLog: Add copyright notice. The notice is copied
21063 from emacs 21.3 top level ChangeLog.
21064
78c90502
MC
210652004-08-09 Michael Chastain <mec.gnu@mindspring.com>
21066
21067 * lib/cp-support.exp: New file.
21068 * lib/cp-support.exp (cp_test_type_class): New function.
21069 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
21070 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
21071 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
21072 cp_test_ptype_class.
21073
88e5ea78
MC
210742004-08-09 Michael Chastain <mec.gnu@mindspring.com>
21075
21076 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
21077 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
21078 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
21079 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
21080 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
21081 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
21082 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
21083 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
21084 gdb.mi/mi2-watch.exp: Update copyright years.
21085
6a89fc9c
MK
210862004-08-09 Mark Kettenis <kettenis@gnu.org>
21087
21088 * gdb.base/sigaltstack.exp: Provide proper anchoring.
21089
1482e0de
MC
210902004-08-09 Michael Chastain <mec.gnu@mindspring.com>
21091
21092 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
21093 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
21094 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
21095 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
21096 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
21097 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
21098 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
21099 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
21100 gdb.mi/mi-watch.exp: Update copyright years.
21101
1a5ce3f3
DJ
211022004-08-08 Daniel Jacobowitz <dan@debian.org>
21103
21104 PR gdb/1738
21105 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
21106 from a breakpoint with a pending signal.
21107
04f6ecf2
DJ
211082004-08-08 Daniel Jacobowitz <dan@debian.org>
21109
21110 PR gdb/1736
21111 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
21112 * gdb.base/sigaltstack.exp (finish_test): Consume output until
21113 the prompt.
21114 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
21115
54d90d35
DJ
211162004-08-08 Daniel Jacobowitz <dan@debian.org>
21117
21118 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
21119
d2f6abb0
DJ
211202004-08-08 Daniel Jacobowitz <dan@debian.org>
21121
21122 PR gdb/1736
21123 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
21124 for i?86-*-linux*.
21125
5598c03d
DJ
211262004-08-08 Daniel Jacobowitz <dan@debian.org>
21127
21128 * gdb.arch/i386-prologue.exp: Compile without debug information.
21129
c6fee705
MC
211302004-08-08 Michael Chastain <mec.gnu@mindspring.com>
21131
21132 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
21133 rather than asking gdb to search.
21134
dd90efdb
MC
211352004-08-05 Michael Chastain <mec.gnu@mindspring.com>
21136
21137 * gdb.base/gcore.c: Include <string.h>.
21138
1e84bec1
MC
211392004-08-05 Michael Chastain <mec.gnu@mindspring.com>
21140
21141 * gdb.base/gcore.c: Add copyright notice.
21142
e425eb2b
MC
211432004-08-05 Michael Chastain <mec.gnu@mindspring.com>
21144
21145 * gdb.base/freebpcmd.c: Include <stdio.h>.
21146 * gdb.base/long_long.c: Include <string.h>.
21147 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
21148 * gdb.base/siginfo.c: Include <string.h>.
21149 * gdb.base/sigstep.c: Include <string.h>.
21150
cb9aaed5
MC
211512004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21152
21153 * gdb.base/complex.c: Include <stdlib.h>.
21154
55944f3d
MC
211552004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21156
21157 * gdb.base/complex.c: Add copyright notice.
21158
7b2953d9
MC
211592004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21160
21161 * gdb.base/charset.c: Include <stdlib.h>.
21162
c9133d23
MC
211632004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21164
21165 * gdb.base/auxv.c: Include <stdlib.h>.
21166
0a8490ad
MC
211672004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21168
21169 * gdb.base/auxv.c: Add copyright notice.
21170
3426d5ec
MC
211712004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21172
21173 * gdb.base/coremaker.c: Add copyright notice.
21174 * gdb.base/coremaker2.c: Add copyright notice.
21175
8da195dd
AC
211762004-08-04 Andrew Cagney <cagney@gnu.org>
21177
21178 * gdb.base/store.exp: Update copyright.
21179 (check_set, up_set, check_struct, up_struct): Add a prefix to test
21180 names, do not import gdb_prompt.
21181
8d394f98
AC
211822004-08-01 Andrew Cagney <cagney@gnu.org>
21183
21184 Fix PR testsuite/1729.
21185 * gdb.base/dump.exp: Add test name to callers of capture_value, do
21186 not use capture_value with value 4.
21187 (capture_value): Add optional test name parameter.
21188 (test_reload_saved_value, test_restore_saved_value): Use $msg as
21189 the prefix, pass to capture_value.
21190
b6702b23
MK
211912004-08-01 Mark Kettenis <kettenis@gnu.org>
21192
21193 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
21194 * gdb.arch/i386-prologue.c (standard): New prototype and function.
21195 (main): Call new function.
21196
c203e0ca
MC
211972004-07-31 Michael Chastain <mec.gnu@mindspring.com>
21198
21199 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
21200
a7995a30
MC
212012004-07-31 Michael Chastain <mec.gnu@mindspring.com>
21202
21203 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
21204
9366563b
MC
212052004-07-31 Michael Chastain <mec.gnu@mindspring.com>
21206
b6eeaf26 21207 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
21208 Accept more values of vtbl pointer. Remove some messages
21209 about "obsolete gcc or gdb".
21210
2fc1f950
MC
212112004-07-30 Michael Chastain <mec.gnu@mindspring.com>
21212
21213 * gdb.cp/classes.exp: Accept more varieties of ptype output.
21214
c724d49b
MC
212152004-07-30 Michael Chastain <mec.gnu@mindspring.com>
21216
21217 * gdb.base/asm-source.exp: Properly convert target board
21218 debug flags from gcc format to binutils format.
21219
736b0fce
MK
212202004-07-28 Mark Kettenis <kettenis@gnu.org>
21221
21222 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
21223 gdb1718". PR backtrace/1718 partially fixed.
21224
5633ea5c
JJ
212252004-07-27 Jeff Johnston <jjohnstn@redhat.com>
21226
21227 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
21228
575eebb1
NC
212292004-07-26 Nick Clifton <nickc@redhat.com>
21230
21231 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
21232 good default value for a specific architecture is available then
21233 set it to that value. Otherwise default to the -gstabs switch.
21234 Remove the -g... switches from the asm-flags variable. Allow the
21235 target board info to override the value if it wants to. Pass the
21236 switch on the assembler command line.
21237
62104619
MK
212382004-07-23 Mark Kettenis <kettenis@gnu.org>
21239
21240 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
21241 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
21242 (main): Call new function.
21243
4a1135b8
MC
212442004-07-22 Michael Chastain <mec.gnu@mindspring.com>
21245
21246 Test for PR exp/1715.
21247 * gdb.base/radix.exp: Refactor common procedures. Make all
21248 test names unique. Change XFAIL to KFAIL.
21249
8a12c1f0
MC
212502004-07-20 Michael Chastain <mec.gnu@mindspring.com>
21251
21252 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
21253 * gdb.ada/gnat_ada.gin: ... to here.
21254 * configure.in: Use gnat_ada.gin.
21255 * configure: Regenerate.
21256
23b451cf
AC
212572004-07-20 Andrew Cagney <cagney@gnu.org>
21258
21259 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
21260 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
21261 XFAILs. Clean up test messages and comments. Check backtraces.
21262 Delete re-sync code.
21263
ab618a02
MC
212642004-07-19 Michael Chastain <mec.gnu@mindspring.com>
21265
21266 Fix PR cli/740.
21267 * gdb.base/annota1.exp: Honor gdb,nosignals.
21268 * gdb.base/annota3.exp: Likewise.
21269
46dad340
MC
212702004-07-19 Michael Chastain <mec.gnu@mindspring.com>
21271
21272 * lib/java.exp: Update copyright notice.
21273
756d8c70
AC
212742004-07-19 Andrew Cagney <cagney@gnu.org>
21275
21276 * gdb.base/selftest.exp: Copy file from here ...
21277 * gdb.gdb/selftest.exp: ... to here.
21278
586027e6
AC
212792004-07-16 Andrew Cagney <cagney@redhat.com>
21280
21281 * lib/insight-support.exp: Delete file.
21282 * lib/java.exp (java_init): Fix copyright.
21283
029d2200
AC
212842004-07-16 Andrew Cagney <cagney@gnu.org>
21285
21286 * gdb.base/restore.c: Append "prologue" to comments marking the a
21287 function's prologue.
21288 * gdb.base/restore.exp: Update copyright, re-indent.
21289 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
21290 callerN" prefix where needed. Update patterns that match a
21291 function's prologue.
21292
653b62c5
MC
212932004-07-16 Michael Chastain <mec.gnu@mindspring.com>
21294
21295 * gdb.base/restore.c: Add copyright notice.
21296
f7d690e5
AC
212972004-07-16 Andrew Cagney <cagney@gnu.org>
21298
21299 * gdb.base/logical.exp: Update copyright.
21300 (evaluate): New procedure. Use to re-implement tests using
21301 several tables.
21302
d629a7cb
MH
213032004-07-14 Martin Hunt <hunt@redhat.com>
21304
21305 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
21306 which fixes some problems where init.tcl was not found.
21307
9c7bb332
AC
213082004-07-13 Andrew Cagney <cagney@gnu.org>
21309
6bf46641
AC
21310 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
21311 (check_sizeof, check_valueof): Do not include the output in the
21312 test name. Use gdb_test.
21313 (get_valueof): Use gdb_test_multiple.
21314
c4ffd4c0
AC
21315 * gdb.base/step-test.exp: Update copyright. Use
21316 gdb_test_multiple. Ensure that test names do not include
21317 architecture dependent output.
21318
ab89363a
AC
21319 * gdb.gdb/observer.exp: Update copyright.
21320 (setup_test): Use gdb_test_multiple.
21321 (attach_first_observer, attach_second_observer)
21322 (attach_third_observer, detach_first_observer)
21323 (detach_second_observer, detach_third_observer)
21324 (reset_counters, check_counters): Make $message a prefix.
21325 (test_normal_stop_notifications): Add "args" parameter - a list of
21326 init functions to be called. Make $message a prefix,
21327 (test_observer_normal_stop): Change the message prefixes so that
21328 they are unique, pass the attach / detach procedures to
21329 test_normal_stop_notifications.
21330
ec58997a
AC
21331 * gdb.base/signull.exp (test_segv): Prefix all tests with
21332 "${name}". Clean up test messages.
21333
b475183b
AC
21334 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
21335
9c7bb332
AC
21336 * gdb.base/ena-dis-br.exp: Update copyright.
21337 (break_at): New function. Replace send_gdb with gdb_test,
21338 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
21339 ignore count, not stopped at bpt", with KFAIL.
21340
2dd95497
CV
213412004-07-13 Corinna Vinschen <vinschen@redhat.com>
21342
21343 * gdb.base/attach.exp: Remove cleanupfile handling.
21344
419e626b
AC
213452004-07-12 Andrew Cagney <cagney@gnu.org>
21346
21347 * gdb.base/annota1.exp: Cleanup corefile test name.
21348 * gdb.base/annota3.exp: Ditto.
21349
8b1b3228
AC
213502004-07-12 Andrew Cagney <cagney@gnu.org>
21351
78650829
AC
21352 * gdb.base/signals.exp: Clean up copyright, re-indent.
21353
8b1b3228
AC
21354 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
21355 gdb_test and gdb_test_multiple.
21356
935c2760
JJ
213572004-07-08 Jeff Johnston <jjohnstn@redhat.com>
21358
21359 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 21360 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
21361 provide line number info for first statement in main.
21362
1544280f
AC
213632004-07-08 Andrew Cagney <cagney@gnu.org>
21364
1279f4ff
AC
21365 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
21366
1544280f
AC
21367 * gdb.base/sigbpt.exp: Make the common part of each test name a
21368 prefix instead of suffix.
21369
bcc82369
BR
213702004-07-07 Bob Rossi <bob_rossi@cox.net>
21371
21372 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
21373 test from test_tbreak_creation_and_listing to
21374 test_file_list_exec_source_file
21375 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
21376 Changed name of test from test_tbreak_creation_and_listing to
21377 test_file_list_exec_source_file
21378
23f4b0aa
JJ
213792004-07-07 Jeff Johnston <jjohnstn@redhat.com>
21380
21381 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
21382 the jmisc() constructor instead of <init>.
21383 * gdb.java/jmisc1.exp: Ditto.
21384
56401cd5
AC
213852004-07-07 Andrew Cagney <cagney@gnu.org>
21386
21387 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
21388 corrupting the PC.
21389
44ae2f6a
MC
213902004-07-06 Michael Chastain <mec.gnu@mindspring.com>
21391
21392 * gdb.cp/templates.exp: Accept whitespace change in demangler
21393 output.
21394
45a83408
AC
213952004-07-06 Andrew Cagney <cagney@gnu.org>
21396
21397 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
21398
d205ad70
MC
213992004-07-02 Michael Chastain <mec.gnu@mindspring.com>
21400
21401 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
21402 * lib/compiler.cc: Likewise.
21403
06ea1a61
MC
214042004-06-30 Michael Chastain <mec.gnu@mindspring.com>
21405
21406 * lib/compiler.cc: Work around string preprocessing problem
21407 with old hp c++ compiler.
21408 * lib/compiler.c: Likewise.
21409
daab1251
CV
214102004-06-29 Corinna Vinschen <vinschen@redhat.com>
21411
21412 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
21413 directives to conditionalize symbol prefixing.
21414 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
21415 additional_flags handling. Add underscore prefix for Cygwin.
21416 * gdb.arch/i386-unwind.c: Use preprocessor directives to
21417 conditionalize symbol prefixing.
21418 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
21419 additional_flags handling. Add underscore prefix for Cygwin.
21420
cc984116
CV
214212004-06-29 Corinna Vinschen <vinschen@redhat.com>
21422
21423 * gdb.base/bigcore.exp: Skip test on Cygwin.
21424
c279b077
MC
214252004-06-28 Michael Chastain <mec.gnu@mindspring.com>
21426
21427 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
21428 formats for "info register". Use gdb_test_multiple. Fix
21429 the "invalid register" test.
21430
0e915747
CV
214312004-06-28 Corinna Vinschen <vinschen@redhat.com>
21432
21433 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
21434 PID for Cygwin. Add Cygwin specific strings to check for in some
21435 tests.
21436 (do_attach_tests): Add a test for user interaction when attaching
21437 to a process with no matching symbol table already loaded.
21438
11422c86
AC
214392004-06-26 Andrew Cagney <cagney@gnu.org>
21440
21441 Test PR java/1567 and PR java/1565.
21442 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
21443 * gdb.java/jmisc2.exp: Delete file.
21444
cefbce26
MC
214452004-06-26 Michael Chastain <mec.gnu@mindspring.com>
21446
21447 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
21448
e19f872c
CV
214492004-06-25 Corinna Vinschen <vinschen@redhat.com>
21450
21451 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
21452 attach process.
21453
d931ba3b
MC
214542004-06-23 Michael Chastain <mec.gnu@mindspring.com>
21455
21456 * gdb.cp/pr-1553.exp: Remove.
21457
aef68c48
MC
214582004-06-22 Michael Chastain <mec.gnu@mindspring.com>
21459
21460 * gdb.cp/pr-1553.cc: Remove.
21461 * gdb.cp/pr-1553.exp: Disable this test.
21462
8d5df71a
JB
214632004-06-20 Jim Blandy <jimb@redhat.com>
21464
a9c64011 21465 Fix PR testsuite/1680.
8d5df71a
JB
21466 * gdb.arch/i386-sse.exp: Properly quote curly braces in
21467 regular expressions.
21468
4ac6f39d
MC
214692004-06-19 Michael Chastain <mec.gnu@mindspring.com>
21470
21471 Fix PR testsuite/1679.
21472 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
21473 Issue an UNSUPPORTED result instead.
21474
1b413552
JB
214752004-06-18 Jim Blandy <jimb@redhat.com>
21476
21477 * gdb.base/charset.exp: Only send a control-C if we see a new
21478 prompt and incomplete command.
21479
6daa6ebd
MC
214802004-06-18 Michael Chastain <mec.gnu@mindspring.com>
21481
21482 * gdb.cp/pr-574.cc: Add copyright notice.
21483
51fa4ae0
JB
214842004-06-17 Jim Blandy <jimb@redhat.com>
21485
21486 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
21487 cases where the regexp has no groups; this grabs random text from
21488 the previous test suite, whatever that was.
21489
8fea26c5
MC
214902004-06-17 Michael Chastain <mec.gnu@mindspring.com>
21491
21492 * gdb.cp/printmethod.cc: Add copyright notice.
21493
1e3aeb41
MC
214942004-06-16 Michael Chastain <mec.gnu@mindspring.com>
21495
21496 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
21497
9d9030bc
AC
214982004-06-16 Andrew Cagney <cagney@gnu.org>
21499
21500 * gdb.base/signull.c: Update copyright. Include <string.h>.
21501 (bowler): Replace data_pointer with data_read
21502 and data_write cases. Add code_descriptor case.
21503 (zero, desc): New array and pointer.
21504 (data, code): Change to simple pointers.
21505 * gdb.base/signull.exp: Fix probe pattern matching a function
21506 descriptor SIGSEGV. Replace data_pointer with data_read and
21507 data_write tests.
21508
acd4ad44
AC
215092004-06-16 Andrew Cagney <cagney@gnu.org>
21510
21511 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
21512
08fd625c
MC
215132004-06-15 Michael Chastain <mec.gnu@mindspring.com>
21514
21515 * gdb.base/long_long.c: Add copyright notice.
21516
1903502c
MC
215172004-06-15 Michael Chastain <mec.gnu@mindspring.com>
21518
21519 * gdb.base/long_long.exp: Remove reference to
21520 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
21521 to gdb_breakpoint and gdb_continue_to_breakpoint.
21522
83313cb1
JB
215232004-06-14 Jim Blandy <jimb@redhat.com>
21524
21525 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
21526 endian case.
21527
1bf404ef
AC
215282004-06-14 Andrew Cagney <cagney@gnu.org>
21529
21530 * gdb.base/gcore.exp (capture_command_output): Delete the always
21531 passing tests containing inferior values.
21532 * gdb.base/ending-run.exp: Do not include the breakpoint address
21533 in the test message. Update copyright.
21534 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
21535 size in the test name, use gdb_test_multiple. Update copyright.
21536
ef220b33
MC
215372004-06-14 Michael Chastain <mec.gnu@mindspring.com>
21538
21539 * gdb.cp/ref-types.cc: Add copyright notice.
21540
4f70a4c9
MC
215412004-06-14 Michael Chastain <mec.gnu@mindspring.com>
21542
21543 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
21544 hp_aCC_compiler.
21545 * lib/compiler.cc: Likewise.
21546 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
21547 'set' commands. Log diagnostics for other lines. Set
21548 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
21549
335928ac
MC
215502004-06-13 Michael Chastain <mec.gnu@mindspring.com>
21551
21552 * gdb.cp/try_catch.cc: Add copyright notice.
21553
2efb12e8
MC
215542004-06-12 Michael Chastain <mec.gnu@mindspring.com>
21555
21556 * gdb.cp/userdef.cc: Add copyright notice.
21557
0bbed51a
MC
215582004-06-11 Michael Chastain <mec.gnu@mindspring.com>
21559
21560 * gdb.cp/virtfunc.cc: Add copyright notice.
21561
e12a46c9
RC
215622004-06-11 Randolph Chung <tausq@debian.org>
21563
21564 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
21565 problem.
21566
338e05af
AC
215672004-06-10 Andrew Cagney <cagney@gnu.org>
21568
21569 * lib/compiler.cc, lib/compiler.c: Append either
21570 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
21571 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
21572 instead of gcc-3-3.
21573
dc3f10cb
AC
215742004-06-09 Andrew Cagney <cagney@gnu.org>
21575
b4d946af
AC
21576 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
21577 gdb/1455, bug is specific to "long long" and "double".
a9c64011 21578
dc3f10cb
AC
21579 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
21580 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
21581 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
21582 fixed.
21583
b5c0bfa2
AC
215842004-06-09 Andrew Cagney <cagney@gnu.org>
21585
21586 * gdb.base/structs.exp (test_struct_returns): Replace
21587 "return_value_unknown" and "finish_value_unknown" by
21588 "return_value_known" and "finish_value_known". Instead of
21589 "return_value_unknown" iff "finish_value_unknown", check
21590 "return_value_known" implies "finish_value_known".
21591
caeb605f
MH
215922004-06-08 Martin Hunt <hunt@redhat.com>
21593
21594 * gdb.base/float.exp: Add pattern for mips targets.
21595
c892bb64
RC
215962004-06-08 Randolph Chung <tausq@debian.org>
21597
21598 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
21599 message for unknown architectures more clear.
21600
48306d3e
JB
216012004-06-08 Joel Brobecker <brobecker@gnat.com>
21602
21603 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
21604 start the execution of the program.
21605
83ecb59f
JB
216062004-06-07 Jim Blandy <jimb@redhat.com>
21607
21608 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
21609 * gdb.arch/i386-cpuid.h: New helper file.
21610
55264cb4
RC
216112004-06-07 Randolph Chung <tausq@debian.org>
21612
21613 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
21614 has started.
21615
23cadb28
RM
216162004-06-04 Roland McGrath <roland@redhat.com>
21617
21618 Fix PR gdb/1647.
21619 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
21620 differently to be robust to output buffering differences.
21621
51d01eda
MC
216222004-06-04 Michael Chastain <mec.gnu@mindspring.com>
21623
21624 * gdb.threads/pthreads.exp: Update copyright years.
21625 (check_control_c): Change asynchronous 'after' to synchronous.
21626
f4fc3b93
RM
216272004-06-04 Roland McGrath <roland@redhat.com>
21628
21629 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
21630 next gdb prompt.
21631
4013522b
MC
216322004-06-02 Michael Chastain <mec.gnu@mindspring.com>
21633
21634 Fix PR gdb/1636.
21635 * gdb.threads/manythreads.exp: Change asynchronous 'after'
21636 calls to synchronous.
21637
7a8f1e6b
JB
216382004-05-26 Jim Blandy <jimb@redhat.com>
21639
21640 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
21641
81bb3443
RC
216422004-05-24 Randolph Chung <tausq@debian.org>
21643
21644 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
21645 * gdb.asm/pa.inc: New file.
21646
8f5a3103
MK
216472004-05-22 Mark Kettenis <kettenis@gnu.org>
21648
21649 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
21650
734b8fe8 216512004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 21652 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
21653
21654 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
21655 GDB prompt.
21656
725603e1
UW
216572004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21658
f4fc3b93 21659 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
21660 setjmp/longjmp. Use sigaction instead of signal.
21661
8b923272 216622004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 21663 Michael Snyder <msnyder@redhat.com>
8b923272
JB
21664
21665 * gdb.threads/pthread_cond_wait.c: New file.
21666 * gdb.threads/pthread_cond_wait.exp: New testcase.
21667
8bfabb04
AC
216682004-05-13 Andrew Cagney <cagney@redhat.com>
21669
21670 * gdb.base/signull.exp, gdb.base/signull.c: New files.
21671 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
21672
42edda50
AC
216732004-05-11 Andrew Cagney <cagney@redhat.com>
21674
21675 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
21676 fixed but revealed gdb/1639.
21677
d303a6c7
AC
216782004-05-10 Andrew Cagney <cagney@redhat.com>
21679
21680 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
21681 func1" and "next to 2nd alarm", kernel bug avoided.
21682
bf08c2a1
DJ
216832004-05-10 Daniel Jacobowitz <dan@debian.org>
21684
21685 PR external/1568
21686 * gdb.base/bigcore.exp: Check the size of the dumped core file.
21687 XFAIL if it is smaller than bytes_allocated.
21688 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
21689 (main): Make chunks_allocated unsigned. Correct comment.
21690
c0586a34
JB
216912004-05-07 Joel Brobecker <brobecker@gnat.com>
21692
21693 * gdb.arch/powerpc-aix-prologue.c: New file.
21694 * gdb.arch/powerpc-aix-prologue.exp: New file.
21695
f2785d12
JB
216962004-05-07 Jim Blandy <jimb@redhat.com>
21697
21698 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
21699 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
21700
bd7f6e30
JB
217012004-05-06 Joel Brobecker <brobecker@gnat.com>
21702
21703 * gdb.base/sep.exp: No longer setup_kfail when the program was
21704 built with dwarf2.
21705
0a5e7efe
JI
217062004-05-05 Jim Ingham <jingham@apple.com>
21707
21708 * gdb.base/pending.exp: Make sure pending breakpoints
21709 preserve the ignore count.
f4fc3b93 21710
a8958849
MK
217112004-04-27 Jerome Guitton <guitton@gnat.com>
21712
21713 * i386-prologue.exp: Add testcase for jump instruction as first
21714 instruction of the real code.
21715 * i386-prologue.c (jump_at_beginning): New function.
21716
7e103f5b
MK
217172004-04-28 Mark Kettenis <kettenis@gnu.org>
21718
21719 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
21720 x86_64-*-*.
21721
5d38b224
MK
217222004-04-28 Mark Kettenis <kettenis@gnu.org>
21723
21724 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
21725 i*86-*-*.
21726
0ef32fd9
MK
217272004-04-25 Mark Kettenis <kettenis@gnu.org>
21728
21729 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
21730 expression that checks the return type.
21731
71d7dd7c
AC
217322004-04-23 Andrew Cagney <cagney@redhat.com>
21733
21734 * gdb.base/call-sc.exp: New test of scalar call/return values.
21735 * gdb.base/call-sc.c: Ditto.
21736
1e9f977e
JJ
217372004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21738
21739 * gdb.threads/manythreads.c: Reduce thread stack size.
21740
899d9e3a
JJ
217412004-04-23 Jeff Johnston <jjohnstn@redhat.com>
21742
21743 * gdb.threads/manythreads.c: Add copyright notice.
21744
61bcae62
AC
217452004-04-23 Andrew Cagney <cagney@redhat.com>
21746
21747 * gdb.base/siginfo.exp: Better handle step out of signal.
21748 * gdb.base/sigstep.exp: Ditto.
21749
7339a42e 217502004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 21751 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
21752
21753 * gdb.threads/manythreads.c: New testcase.
21754 * gdb.threads/manythreads.exp: Ditto.
21755
5c98409b
JB
217562004-04-22 Jim Blandy <jimb@redhat.com>
21757
21758 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
21759 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
21760
3b611f1a
MC
217612004-04-21 Michael Chastain <mec.gnu@mindspring.com>
21762
21763 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
21764
f0fd9238
AC
217652004-04-21 Andrew Cagney <cagney@redhat.com>
21766
21767 * gdb.base/sigstep.c: New file.
21768 * gdb.base/sigstep.exp: New file.
21769
90990674
JB
217702004-04-16 Joel Brobecker <brobecker@gnat.com>
21771
21772 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
21773 call to observer_notify_normal_stop.
21774
78cef34b
AC
217752004-04-15 Andrew Cagney <cagney@redhat.com>
21776
21777 * gdb.base/siginfo.c: New file.
21778 * gdb.base/siginfo.exp: New file.
21779
d2343407
JB
217802004-04-12 J. Brobecker <brobecker@gnat.com>
21781
21782 * gdb.base/sep.exp: Fix typo in comment.
21783
a2dba3c8
JB
217842004-04-12 J. Brobecker <brobecker@gnat.com>
21785
21786 * gdb.base/sep.c: New file.
21787 * gdb.base/sep-proc.c: New file.
21788 * gdb.base/sep.exp: New testcase.
21789
15f7b60e
MK
217902004-04-09 Mark Kettenis <kettenis@gnu.org>
21791
21792 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
21793 support.
21794
44f4de1a
AC
217952004-04-05 Andrew Cagney <cagney@redhat.com>
21796
21797 * gdb.base/sigaltstack.c: New file.
21798 * gdb.base/sigaltstack.exp: New file.
21799
ef04f396
JB
218002004-04-04 Joel Brobecker <brobecker@gnat.com>
21801
21802 * gdb.base/foll-fork.exp: Update the expected output for
21803 "help set follow-fork-mode", to match a change that was made
21804 to the help of this variable on 2004-01-13.
21805
d40d2c92
JB
218062004-04-01 Joel Brobecker <brobecker@gnat.com>
21807
21808 * lib/ada.exp: Add copyright notice.
21809 * bar.ads: Likewise.
21810 * bar.adb: Likewise.
21811 * null_record.adb: Likewise.
21812 * null_record.exp: Likewise.
21813 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
21814
f86ef5a3
JB
218152004-04-01 Joel Brobecker <brobecker@gnat.com>
21816
21817 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
21818 * configure: Regenerate.
21819
414e70e3
JB
218202004-04-01 Joel Brobecker <brobecker@gnat.com>
21821
21822 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
21823 to build the application. Remove the message printed when in
21824 verbose mode, redundant with the UNSUPPORTED message above.
21825
f0aaee49
JB
218262004-03-31 Joel Brobecker <brobecker@gnat.com>
21827
21828 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
21829 * gdb.ada (null_record.exp): New testcase.
21830
ac81cb54
JB
218312004-03-31 Joel Brobecker <brobecker@gnat.com>
21832
21833 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
21834
854af2f7
JB
218352004-03-31 Joel Brobecker <brobecker@gnat.com>
21836
21837 * gdb.ada: New subdirectory.
21838 * gdb.ada/Makefile.in: New file.
21839 * gdb.ada/gnat_ada.gpr.in: New file.
21840
034cb681
JB
218412004-03-31 Joel Brobecker <brobecker@gnat.com>
21842
21843 * lib/ada.exp: New file.
21844
78a1a894
DJ
218452004-03-24 Daniel Jacobowitz <drow@mvista.com>
21846
21847 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
21848 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
21849
4b2b3b3e
AC
218502004-03-22 Andrew Cagney <cagney@redhat.com>
21851
21852 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
21853 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
21854 Problem identified by Ulrich Weigand.
21855
23c73aa3
DC
218562004-03-17 David Carlton <carlton@kealia.com>
21857
21858 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
21859 PR c++/826.
21860
d63a86f8
RM
218612004-03-16 Roland McGrath <roland@redhat.com>
21862
21863 * gdb.base/auxv.exp: New file.
21864 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
21865
0e02aa50
DC
218662004-03-12 David Carlton <carlton@kealia.com>
21867
21868 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
21869 * gdb.cp/pr-1553.cc: Ditto.
21870 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
21871 pass branch.
21872
c20b71be
MC
218732004-03-12 Michael Chastain <mec.gnu@mindspring.com>
21874
21875 * gdb.cp/templates.exp: Accept more template types.
21876
c7414a01
MC
218772004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21878
21879 From Corinna Vinschen with modifications.
21880 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
21881 local variable obj_with_enum.
21882 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
21883 results with obj_with_enum.
21884
ed69573c
MC
218852004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21886
21887 * gdb.cp/classes.cc: New file, copied from misc.cc.
21888 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
21889
28301461
MC
218902004-03-09 Michael Chastain <mec.gnu@mindspring.com>
21891
21892 * gdb.cp/misc.cc: Add copyright notice.
21893
1198ecbe
DC
218942004-03-05 David Carlton <carlton@kealia.com>
21895
21896 * gdb.cp/rtti.exp: Add 'print *obj3' test.
21897 * gdb.cp/rtti.h: Update copyright.
21898 (namespace n2::n3): New.
21899 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
21900 (n2::n3::func3): New.
21901 (main): Call n2::n3::func3.
21902 * gdb.cp/rtti2.cc: Update copyright.
21903 (n2::create3): New.
21904
9e08c470
MK
219052004-03-04 Mark Kettenis <kettenis@gnu.org>
21906
21907 * gdb.asm/openbsd.inc: Fix typo.
21908
4bebc3aa
FF
219092004-03-03 Fred Fish <fnf@redhat.com>
21910
21911 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
21912 "val" instead of unused "size". Update copyright year.
21913
6ea9fb37
DJ
219142004-02-29 Daniel Jacobowitz <drow@mvista.com>
21915
21916 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
21917 to use unsigned char.
21918 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
21919 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
21920
23b23974
DJ
219212004-02-29 Daniel Jacobowitz <drow@mvista.com>
21922
21923 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
21924 line of output.
21925
7574fd53
DJ
219262004-02-28 Daniel Jacobowitz <drow@mvista.com>
21927
21928 * gdb.base/relocate.c (dummy): Initialize.
21929
a195357f
DJ
219302004-02-28 Daniel Jacobowitz <drow@mvista.com>
21931
21932 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
21933 a breakpoint at exit.
21934
72fd54a9
FF
219352004-02-27 Fred Fish <fnf@redhat.com>
21936
21937 * gdb.base/chng-syms.exp: Add expect condition to match failing
21938 case that isn't a timeout.
21939
b9d23137
AC
219402004-02-27 Andrew Cagney <cagney@redhat.com>
21941
21942 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
21943 support.
21944
15d208f6 219452004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 21946
15d208f6
FF
21947 * gdb.arch/gdb1431.c: Remove.
21948 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
21949 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
21950 of "until" incorrectly.
21951
98f9cd2d
JB
219522004-02-26 J. Brobecker <brobecker@gnat.com>
21953
21954 * gdb.cp/class2.cc (empty): New class.
21955 (refer): New function.
21956 (main): Declare an object of type empty and use it.
21957 * gdb.cp/class2.exp: Print the value of an object of type empty.
21958
9b50c11b
JJ
219592004-02-26 Jeff Johnston <jjohnstn@redhat.com>
21960
21961 * gdb.base/langs.exp: Update query string to match the
21962 new nquery format used for pending breakpoints.
21963
0dcd613f
AC
219642004-02-26 Andrew Cagney <cagney@redhat.com>
21965
21966 Fix PR i18n/1570.
21967 * gdb.base/charset.c: Update copyright notice.
21968 (main, init_string): Remove the escape character '\e' tests.
21969 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
21970 * gdb.base/charset.exp (valid_host_charset): Ditto.
21971 * gdb.base/setvar.exp: Ditto.
21972
b8a56647
AC
219732004-02-24 Andrew Cagney <cagney@redhat.com>
21974
90d59e34
AC
21975 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
21976 mmapped data in core file" PASS and FAIL messages consistent.
21977
b8a56647
AC
21978 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
21979 setting a breakpoint. Work around PR java/1565.
21980
9f27c604
JJ
219812004-02-23 Jeff Johnston <jjohnstn@redhat.com>
21982
21983 * lib/gdb.exp (gdb_breakpoint): Update query string to match
21984 new nquery format.
21985 * gdb.base/pending.exp: Ditto.
21986
3224a706
MK
219872004-02-22 Mark Kettenis <kettenis@gnu.org>
21988
21989 * configure.in: Run stabs tests on *BSD.
21990 * configure: Regenerated.
21991
41e0a9ca
MK
219922004-02-21 Mark Kettenis <kettenis@gnu.org>
21993
21994 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
21995
1e1b3428
FF
219962004-02-20 Fred Fish <fnf@redhat.com>
21997
21998 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
21999 blank in test for "returns short", for consistency with other
22000 "returns xxx" tests. Update copyright year.
22001
f9a7572a
FF
220022004-02-19 Fred Fish <fnf@redhat.com>
22003
22004 New testcase for PR breakpoint/1558.
22005 * gdb.arch/gdb1558.exp: New file.
22006 * gdb.arch/gdb1558.c: New file.
22007
b2ce2854
EZ
220082004-02-19 Elena Zannoni <ezannoni@redhat.com>
22009
22010 * gdb.base/nodebug.exp: Fix typo.
22011
e7c9ff01
JB
220122004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22013
22014 Committed by Jim Blandy <jimb@redhat.com>.
22015
62f4b920
JB
22016 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
22017
2db536a1
JB
22018 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
22019
e7c9ff01
JB
22020 * gdb.base/float.exp: Support s390*-*-* targets.
22021
f3205b34
AF
220222004-02-17 Adam Fedor <fedor@gnu.org>
22023
22024 * gdb.base/gdb1555.exp: New file.
22025 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
22026
9d62932d
EZ
220272004-02-17 Elena Zannoni <ezannoni@redhat.com>
22028
22029 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
22030
344c9711
FF
220312004-02-16 Fred Fish <fnf@redhat.com>
22032
22033 * gdb.arch/gdb1291.c: Remove
22034 * gdb.arch/gdb1291.s: New test input file.
22035 * gdb.arch/gdb1291.exp: Expand test to check case that should not
22036 fail. Test for correct result, known incorrect result, other
22037 failures and timeouts.
22038
2d822687
AC
220392004-02-16 Andrew Cagney <cagney@redhat.com>
22040
22041 * gdb.base/bigcore.exp: New file.
22042 * gdb.base/bigcore.c: New file.
22043
dac15b66
AC
220442004-02-13 Andrew Cagney <cagney@redhat.com>
22045
22046 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
22047 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
22048 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
22049 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
22050 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
22051 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
22052 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
22053 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
22054 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
22055 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
22056
6bdfc2c4
JJ
220572004-02-11 Jeff Johnston <jjohnstn@redhat.com>
22058
22059 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
22060 executed is an alloc instruction.
22061
87b3ede8
DC
220622004-02-11 David Carlton <carlton@kealia.com>
22063
22064 * gdb.cp/breakpoint.exp: New.
22065 * gdb.cp/breakpoint.cc: New.
22066
6e19e2bf
MC
220672004-02-11 Michael Chastain <mec.gnu@mindspring.com>
22068
22069 Partial fix for PR gdb/1543.
22070 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
22071 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
22072 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
22073 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
22074 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
22075 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
22076 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
22077 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
22078 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
22079 to bug-gdb@prep.ai.mit.edu .
22080 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
22081 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
22082 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
22083 Likewise.
22084
5c5455dc
AC
220852004-02-10 Andrew Cagney <cagney@redhat.com>
22086
22087 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
22088 using gdb_internal_error_resync.
22089
9cf689d7
DJ
220902004-02-09 Daniel Jacobowitz <drow@mvista.com>
22091
22092 * gdb.threads/thread-specific.exp: Stop early if no threads are
22093 found.
22094
d2dc51db
MC
220952004-02-09 Michael Chastain <mec.gnu@mindspring.com>
22096
22097 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
22098
14b1a056
DJ
220992004-02-08 Daniel Jacobowitz <drow@mvista.com>
22100
22101 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
22102 breakpoints.
22103
83f66e8f
DJ
221042004-02-07 Daniel Jacobowitz <drow@mvista.com>
22105
22106 * config/sim.exp (gdb_load): Handle $arg == "".
22107 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
22108 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
22109
30fc0091
EZ
221102004-02-07 Elena Zannoni <ezannoni@redhat.com>
22111
a9c64011
AS
22112 * gdb.base/maint.exp: Update test to reflect
22113 obstack changes.
30fc0091 22114
4d806929
JJ
221152004-02-04 Jeff Johnston <jjohnstn@redhat.com>
22116
22117 * gdb.base/pendshr.c (pendfunc): New function that calls
22118 pendfunc1.
22119 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
22120
7bfdd688
FF
221212004-02-04 Fred Fish <fnf@redhat.com>
22122
22123 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
22124 function symbols and update copyright years.
22125 * gdb.arch/gdb1291.c: Ditto.
22126
aaa08ee4
MC
221272004-02-03 Michael Chastain <mec.gnu@mindspring.com>
22128
22129 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
22130
dbad7755
MC
221312004-02-03 Michael Chastain <mec.gnu@mindspring.com>
22132
22133 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
22134
ec4646ef
MC
221352004-02-03 Michael Chastain <mec.gnu@mindspring.com>
22136
22137 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
22138
1b802196
FF
221392004-02-02 Fred Fish <fnf@redhat.com>
22140
22141 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
22142 remote targets. Update copyright years.
22143
18fe2033
JJ
221442004-02-02 Jeff Johnston <jjohnstn@redhat.com>
22145
22146 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
22147 support.
22148 * gdb.base/langs.exp: Fix test which attempts to create
22149 breakpoint on non-existent function to handle new pending
22150 support.
22151 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
22152 a breakpoint.
22153 * gdb.base/pending.exp: New test.
22154 * gdb.base/pending.c: New file.
22155 * gdb.base/pendshr.c: Ditto.
22156
8d577d32
DC
221572004-02-02 David Carlton <carlton@kealia.com>
22158
22159 * gdb.cp/overload.exp: Add overloadNamespace tests.
22160 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
22161 (overloadNamespace, XXX): New.
22162 (main): Call XXX::marker2.
22163
3ad13771
FF
221642004-02-01 Fred Fish <fnf@redhat.com>
22165
22166 * gdb.base/dump.exp: Use runto_main instead of "runto main".
22167 * gdb.base/finish.exp: Ditto.
22168 * gdb.base/gcore.exp: Ditto.
22169 * gdb.base/huge.exp: Ditto.
22170 * gdb.base/info-proc.exp: Ditto.
22171 * gdb.base/return2.exp: Ditto.
22172 * gdb.threads/gcore-thread.exp: Ditto.
22173
44c75849
DJ
221742004-02-01 Daniel Jacobowitz <drow@mvista.com>
22175
22176 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
22177
005bc093
MK
221782004-02-01 Mark Kettenis <kettenis@gnu.org>
22179
22180 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
22181 that opening the file succeeds on OpenBSD.
22182
c47cebdb
DJ
221832004-02-01 Daniel Jacobowitz <drow@mvista.com>
22184
22185 * gdb.threads/thread-specific.c: New file.
22186 * gdb.threads/threads-specific.exp: New test script.
22187 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
22188 to expect_out.
22189
5a01311c
MK
221902004-02-01 Mark Kettenis <kettenis@gnu.org>
22191
22192 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
22193 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
22194 only on the "print_small_structs from print_long_arg_list" test.
22195
ce22a4f1
DJ
221962004-02-01 Daniel Jacobowitz <drow@mvista.com>
22197
22198 * gdb.base/completion.exp: Kill a stray backslash.
22199
22200 From Jim Ingham <jingham@apple.com>:
22201 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
22202 agrees with the result from sending a tab.
22203
abbab9d3
DJ
222042004-01-31 Daniel Jacobowitz <drow@mvista.com>
22205
22206 * gdb.base/chng-syms.exp: Remove stray newline.
22207
53904d1e
MK
222082004-01-31 Mark Kettenis <kettenis@gnu.org>
22209
22210 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
22211 *-*-openbsd*.
22212 * gdb.asm/openbsd.inc: New file.
22213
3a4b3aac
MK
222142004-01-30 Mark Kettenis <kettenis@gnu.org>
22215
22216 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
22217 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
22218 *-*solaris2*. Remove commented out default settings for
22219 asm-flags. Replace gdb_compile with target_link.
22220
ebac27b4
MC
222212004-01-29 Michael Chastain <mec.gnu@mindspring.com>
22222
22223 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
22224 for all tests. Remove old hp-ux and cygnus xfail cases.
22225
d8679d84
PH
222262004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
22227
22228 * gdb.base/chng-syms.exp: New file.
22229 * gdb.base/chng-syms.c: New file.
22230
0a55bc22
MC
222312004-01-24 Michael Chastain <mec.gnu@mindspring.com>
22232
22233 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
22234 Provide arms for current output in all my configurations.
22235
94b8e876
MC
222362004-01-24 Michael Chastain <mec.gnu@mindspring.com>
22237
22238 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
22239 * lib/compiler.cc: Likewise.
22240 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
22241 get the right preprocessor. Eval the output directly. Remove
22242 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
22243 hp_f77_compiler and hp_f90_compiler completely.
22244 (gdb_preprocess): Delete.
22245 (get_compiler): Delete.
22246
7cf03d44
MK
222472004-01-24 Mark Kettenis <kettenis@gnu.org>
22248
22249 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
22250 <string.h>.
22251
68b6dce9
NR
222522004-01-24 Nick Roberts <nick@nick.uklinux.net>
22253
22254 * gdb.mi/mi-stack.exp: Update copyright.
22255
b368761e
DC
222562004-01-23 David Carlton <carlton@kealia.com>
22257
22258 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
22259 test for cp_lookup_transparent_type.
22260 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
22261 call them.
22262
f2061b53
DJ
222632004-01-23 Daniel Jacobowitz <drow@mvista.com>
22264
22265 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
22266 after -var-update.
22267
37fc574a
DC
222682004-01-23 David Carlton <carlton@kealia.com>
22269
22270 * gdb.cp/namespace.cc (C::ensureRefs): New.
22271 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
22272
8e94b928
NR
222732004-01-20 Nick Roberts <nick@nick.uklinux.net>
22274
22275 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
22276 case "-stack-list-locals 2".
22277 * gdb.mi/mi-var-child.exp: Test for case
22278 "-var-list-children --all-values NAME".
22279
997b0952
MC
222802004-01-18 Michael Chastain <mec.gnu@mindspring.com>
22281
22282 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
22283
52470da3
MK
222842004-01-18 Mark Kettenis <kettenis@gnu.org>
22285
7049b4b8
MK
22286 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
22287 used with gdb_test_multiple.
22288
52470da3
MK
22289 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
22290 read at address 0. This fixes PR testsuite/1504.
22291
da6012e5
DJ
222922004-01-18 Daniel Jacobowitz <drow@mvista.com>
22293
22294 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
22295 Remove downloading, guessing the host executable, the calls to
22296 gdb_file_cmd and gdb_target_cmd, and "load" support.
22297 (infer_host_exec): New function broken out from gdb_load.
22298 (gdb_load): New wrapper for gdbserver_gdb_load.
22299 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
22300 gdb_target_cmd. Use -target-select.
22301 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
22302 Download binaries to the host. Clear last_mi_remote_file when
22303 we load a new binary.
22304 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
22305 call gdbserver_gdb_load and mi_gdb_target_cmd.
22306
32c70722
MC
223072004-01-17 Michael Chastain <mec.gnu@mindspring.com>
22308
22309 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
22310 type patterns.
22311
b0cecf36
MC
223122004-01-17 Michael Chastain <mec.gnu@mindspring.com>
22313
22314 * gdb.cp/templates.exp: Fix typo in test name of
22315 "print Foo<volatile char*>::foo".
22316
4120d7e6
MC
223172004-01-15 Michael Chastain <mec.gnu@mindspring.com>
22318
22319 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
22320
f679e530
BE
223212004-01-16 Ben Elliston <bje@wasabisystems.com>
22322
22323 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
22324 (clean mostlyclean): Remove empty rm.
22325
091c48f6
MC
223262004-01-15 Michael Chastain <mec.gnu@mindspring.com>
22327
22328 * gdb.base/setvar.exp: Add copyright years.
22329
3e5fc8d2
DC
223302004-01-14 David Carlton <carlton@bactrian.org>
22331
22332 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
22333 PR c++/1511 and update coment.
22334 * gdb.cp/templates.exp: Update patterns to match current output.
22335 If changes involve something other than whitespace, KFAIL
22336 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
22337
63d06c5c
DC
223382004-01-14 David Carlton <carlton@kealia.com>
22339
22340 * gdb.cp/namespace.exp: Add tests involving classes defined within
22341 namespaces.
22342 * gdb.cp/namespace.cc (C::CClass): New.
22343 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
22344
a51dab88
EZ
223452004-01-14 Elena Zannoni <ezannoni@redhat.com>
22346
22347 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
22348 what debug info we have. Print a better message if something goes
22349 wrong while producing the separate debug info file.
22350
a476ccc9
MC
223512004-01-14 Michael Chastain <mec.gnu@mindspring.com>
22352
22353 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
22354
f453692c
MC
223552004-01-14 Michael Chastain <mec.gnu@mindspring.com>
22356
22357 * gdb.base/callfuncs.c: Add copyright notice.
22358
f40063a5
MC
223592004-01-13 Michael Chastain <mec.gnu@mindspring.com>
22360
22361 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
22362 inheritance. PR gdb/1498, PR gcc/13539.
22363
19ac3974
EZ
223642004-01-13 Elena Zannoni <ezannoni@redhat.com>
22365
a9c64011
AS
22366 * gdb.threads/gcore-thread.exp: Prefix name of binary with
22367 test specific name.
22368 * gdb.mi/gdb669.exp: Ditto.
22369 * gdb.mi/mi-pthreads.exp: Ditto.
22370 * gdb.mi/mi1-pthreads.exp: Ditto.
22371 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 22372
56c97c6e
MC
223732004-01-12 Michael Chastain <mec.gnu@mindspring.com>
22374
22375 * gdb.cp/member-ptr.cc: Add copyright notice.
22376
a0644324
MC
223772004-01-12 Michael Chastain <mec.gnu@mindspring.com>
22378
22379 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
22380 some patterns for recent versions of gcc and hpacc. Delete
22381 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
22382 Delete tests that access a NULL pointer-to-member-data. This
22383 script is still disabled for gcc.
22384
32fabe09
EZ
223852004-01-12 Elena Zannoni <ezannoni@redhat.com>
22386
22387 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 22388 escaped correctly.
32fabe09 22389
1f8a6abb
EZ
223902004-01-12 Elena Zannoni <ezannoni@redhat.com>
22391
22392 * gdb.base/sepdebug.exp: New file.
22393 * gdb.base/sepdebug.c: New file.
22394 * lib/gdb.exp (separate_debug_filename): New procedure.
22395 (gdb_gnu_strip_debug): New procedure.
22396
48efe704
AC
223972004-01-12 Andrew Cagney <cagney@redhat.com>
22398
22399 * gdb.mi/ChangeLog: Delete file. Renamed to ...
22400 * gdb.mi/ChangeLog-1999-2003: New file.
22401
a9415475
AC
224022004-01-12 Andrew Cagney <cagney@redhat.com>
22403
22404 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
22405 "Renaming a directory to a non-empty directory returns ENOTEMPTY
22406 or EEXIST", treat EBUSY as an XFAIL.
22407
83b8cf9d
MC
224082004-01-11 Michael Chastain <mec.gnu@mindspring.com>
22409
22410 * gdb.base/scope.exp: Remove obsolete setup_xfail for
22411 hp_cc_compiler.
22412
9939d2a8
MC
224132004-01-10 Michael Chastain <mec.gnu@mindspring.com>
22414
22415 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
22416 decorations.
22417
1ff8cadf
MC
224182004-01-10 Michael Chastain <mec.gnu@mindspring.com>
22419
22420 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
22421 and "(aCC)" decorations. Remove obsolete doco about old
22422 test results.
22423
6fa9022e
MC
224242004-01-09 Michael Chastain <mec.gnu@mindspring.com>
22425
22426 * gdb.cp/exception.exp: Fix typo in doco.
22427
209721fe
MK
224282004-01-09 Mark Kettenis <kettenis@gnu.org>
22429
22430 * gdb.base/gdb1476.exp: Fix typo.
22431
ef11303e
MC
224322004-01-09 Michael Chastain <mec.gnu@mindspring.com>
22433
22434 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
22435 file.
22436
041ab88c
MC
224372004-01-09 Michael Chastain <mec.gnu@mindspring.com>
22438
22439 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
22440 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
22441 Use gdb_compile. Remove restriction on gcc. Add some patterns
22442 for recent version of gdb. Delete second half, which was a copy
22443 of the first half with different build flags. This test is
22444 still disabled because it is still not ready for production.
22445
e36d075a
MC
224462004-01-08 Michael Chastain <mec.gnu@mindspring.com>
22447
22448 * gdb.cp/exception.cc: Add copyright notice.
22449 * gdb.cp/exception.exp: Add a notice that this file is broken
22450 because of line number changes caused by addition of copyright
22451 notice.
22452
42b190ad
MC
224532004-01-08 Michael Chastain <mec.gnu@mindspring.com>
22454
22455 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
22456 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
22457
8f25f06b
MC
224582004-01-08 Michael Chastain <mec.gnu@mindspring.com>
22459
22460 * gdb.cp/classes.exp: Accept gnu abi 2.
22461 * gdb.cp/derivation.exp: Likewise.
22462 * gdb.cp/overload.exp: Likewise.
22463 * gdb.cp/virtfunc.exp: Likewise.
22464
06ded8b8
MC
224652004-01-08 Michael Chastain <mec.gnu@mindspring.com>
22466
22467 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
22468 semicolon after end of function.
22469
77c26ae3
MC
224702004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22471
22472 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
22473 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
22474 boilerplate code for compiling and running the program under
22475 test. Add some string method tests.
22476
20757486
MC
224772004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22478
22479 * gdb.cp/bs15503.cc: Add copyright notice.
22480 * gdb.cp/bs15503.exp: Adjust line number.
22481
0fd3b503
MC
224822004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22483
22484 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
22485 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
22486
10d1bea8
MC
224872004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22488
22489 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
22490 hp_cc_compiler.
22491
2789202a
MC
224922004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22493
22494 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
22495 * gdb.cp/ctti.exp: Use the marker instead of "next".
22496 With gcc, run further before bailing.
22497
b862f14c
MC
224982004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22499
22500 * gdb.cp/cttiadd.cc: Add copyright notice.
22501 * gdb.cp/cttiadd1.cc: Likewise.
22502 * gdb.cp/cttiadd2.cc: Likewise.
22503 * gdb.cp/cttiadd3.cc: Likewise.
22504
96da2469
MC
225052004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22506
22507 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
22508 Use gdb_test, gdb_test_multiple. Use floating-point values that
22509 have exact representations in IEEE-ish formats.
22510
053248ff
MC
225112004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22512
22513 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
22514 compilers. Delete duplicate call to get_compiler_info.
22515 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
22516 * gdb.base/volatile.exp: Likewise.
22517
84acecdd
MK
225182004-01-07 Mark Kettenis <kettenis@gnu.org>
22519
22520 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
22521 memory at address 0.
22522
fe11a27f
MC
225232004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22524
22525 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
22526 to test for hp-ux assembler. Fix copyright years.
22527
60ad077b
AC
225282004-01-07 Andrew Cagney <cagney@redhat.com>
22529
22530 * gdb.base/fileio.c (strerrno): Add "EBUSY".
22531
1c9b8f33
AC
225322004-01-07 Andrew Cagney <cagney@redhat.com>
22533
22534 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
22535 when creating the read-only file. From analysis by Roland McGrath
22536 and Elena Zannoni.
22537
753ccc7a
MC
225382004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22539
22540 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
22541
eca3e36b
MC
225422004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22543
22544 * gdb.base/cvexpr.c: Be type-safe with function pointers and
22545 data pointers.
22546
f8d4bac4
MC
225472004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22548
22549 * gdb.cp/m-static.exp: Compile one source file at a time.
22550 Delete unused call to get_compiler_info.
22551
9b4e0f94
MC
225522004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22553
22554 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
22555 * gdb.base/call-rt-st.exp: Likewise.
22556 * gdb.base/nodebug.exp: Likewise.
22557 * gdb.base/volatile.exp: Likewise.
22558 * gdb.cp/ref-types.exp: Likewise.
22559 * gdb.cp/templates.exp: Likewise.
22560
023c1024
MK
225612004-01-05 Mark Kettenis <kettenis@gnu.org>
22562
22563 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
22564
19703c4a
MC
225652004-01-05 Michael Chastain <mec.gnu@mindspring.com>
22566
22567 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
22568 hppa*-hp-hpux*.
22569
18b67037
MK
225702004-01-04 Mark Kettenis <kettenis@gnu.org>
22571
ba6219c8
MK
22572 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
22573 x86_64-*-*.
22574
18b67037
MK
22575 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
22576 sparc64-*-* and sparc*-solaris2*.
22577
1bfbbb9d
MK
225782004-01-04 Mark Kettenis <kettenis@gnu.org>
22579
22580 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
22581 return ${tests}" test. The ${tests} already mentions the
22582 filename.
22583
06846494
MC
225842004-01-02 Michael Chastain <mec.gnu@mindspring.com>
22585
22586 * gdb.cp/local.exp: Accept gcc abi 2.
22587
3b0cb202
MC
225882004-01-02 Michael Chastain <mec.gnu@mindspring.com>
22589
22590 * gdb.cp/templates.exp: Accept gcc abi 2.
22591
0643ec3f
MC
225922004-01-02 Michael Chastain <mec.gnu@mindspring.com>
22593
22594 * lib/compiler.cc: Remove supports_template_debugging.
22595 * gdb.cp/templates.exp: Do not test supports_template_debugging.
22596
d231d0b1
MC
225972004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22598
22599 * gdb.cp/namespace.exp: Accept gcc abi 2.
22600
44ffb27c
MC
226012004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22602
22603 * gdb.cp/method.exp: Accept gcc abi 2.
22604
184ad485
MC
226052004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22606
22607 * gdb.cp/classes.exp: Generate identical results as old version.
22608 * gdb.cp/derivation.exp: Likewise.
22609 * gdb.cp/overload.exp: Likewise.
22610 * gdb.cp/virtfunc.exp: Likewise.
22611
116f09e7
MC
226122004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22613
22614 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
22615 mysterious bug with sourceware version of expect.
22616
b1379776
MC
226172004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22618
22619 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
22620 current versions of gcc, including gcc abi 2. Remove gratuitous
22621 restart of test program. Use gdb_test_multiple and gdb_test for
22622 all tests. Add patterns to xfail missing "const" in "const char *"
22623 and kfail PR gdb/1155.
22624
6b7a4c0e
MC
226252004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22626
22627 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
22628 current versions of gcc, including gcc abi 2. Remove gratuitous
22629 restart of test program. Use gdb_test_multiple and gdb_test for
22630 all tests. Add patterns to kfail PR gdb/1498.
22631
51615d72
MC
226322003-12-31 Michael Chastain <mec.gnu@mindspring.com>
22633
22634 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
22635 current versions of gcc, including gcc abi 2. Use "breakpoint"
22636 and "continue" instead of restarting the target program. Use
22637 gdb_test_multiple and gdb_test for all tests.
22638
7b79a9d7
MK
226392004-01-01 Mark Kettenis <kettenis@gnu.org>
22640
22641 * gdb.asm/asm-source.exp: Update copyright year. Link statically
22642 for *-*-solaris2*.
22643
1cd3489f
MC
226442003-12-31 Michael Chastain <mec.gnu@mindspring.com>
22645
22646 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
22647 current versions of gcc, including gcc abi 2. Use "breakpoint"
22648 and "continue" instead of restarting the target program several
22649 times. Use gdb_test_multiple and gdb_test for all tests.
22650
850742db
MC
226512003-12-18 Michael Chastain <mec.gnu@mindspring.com>
22652
22653 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
22654 source files.
22655
eb4bbda8
MC
226562003-12-16 Michael Chastain <mec.gnu@mindspring.com>
22657
22658 * gdb.base/environ.exp: Handle compiling test case from multiple
22659 source files.
22660
e42c7771
MC
226612003-12-16 Michael Chastain <mec.gnu@mindspring.com>
22662
22663 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
22664
80e4b428
JB
226652003-12-17 Jim Blandy <jimb@redhat.com>
22666
5f06973a
JB
22667 * gdb.base/freebpcmd.c: Add copyright notice.
22668
80e4b428
JB
22669 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
22670
0ab84fb7
MC
226712003-12-16 Michael Chastain <mec.gnu@mindspring.com>
22672
22673 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
22674
1b3bb3d0
JB
226752003-12-13 Jim Blandy <jimb@redhat.com>
22676
22677 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
22678
3a4c9371
KB
226792003-12-12 Kevin Buettner <kevinb@redhat.com>
22680
22681 * gdb.asm/frv.inc: New file.
22682 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
22683
a1dea79a
FF
226842003-12-09 Fred Fish <fnf@redhat.com>
22685
22686 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
22687 functions to break1.c and leave prototypes behind. Add more
22688 "set breakpoint NN here" comments.
22689 * gdb.base/break1.c: New file.
22690
22691 * gdb.base/break.exp: Handle compiling test case from multiple
22692 source files and change source file references as needed.
22693 * gdb.base/completion.exp: Ditto.
22694 * gdb.base/condbreak.exp: Ditto.
22695 * gdb.base/define.exp: Ditto.
22696 * gdb.base/ena-dis-br.exp: Ditto.
22697 * gdb.base/info-proc.exp: Ditto.
22698 * gdb.base/maint.exp: Ditto.
22699 * gdb.base/until.exp: Ditto.
22700
22701 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
22702 hardcoded line numbers.
22703 * gdb.base/define.exp: Ditto.
22704 * gdb.base/ena-dis-br.exp: Ditto.
22705 * gdb.base/maint.exp: Ditto.
22706 * gdb.base/until.exp: Ditto.
22707
22708 * gdb.base/completion.exp: Use "break1" for completion tests since
22709 "break" is no longer a unique prefix.
22710
5266b69c
AC
227112003-12-06 Andrew Cagney <cagney@redhat.com>
22712
22713 * gdb.base/structs.exp (test_struct_returns): When applicable, set
22714 "return_value_unimplemented". When an unimplemented struct return
22715 architecture, report incorrect values as a KFAIL
22716
374451f0
MC
227172003-12-05 Michael Chastain <mec.gnu@mindspring.com>
22718
22719 * gdb.cp/rtti.exp: Accept new wording of warning from
22720 cp_lookup_rtti_type.
22721
ba9b20a7
MC
227222003-12-05 Michael Chastain <mec.gnu@mindspring.com>
22723
22724 Partial fix for PR testsuite/1456.
22725 * gdb.base/scope.exp (test_at_main): Replace references to
22726 gcc_compiled with calls to test_compiler_info.
22727 (test_at_foo): Likewise.
22728 (test_at_bar): Likewise.
22729
b74b6d0b
MC
227302003-12-04 Michael Chastain <mec.gnu@mindspring.com>
22731
22732 Partial fix for PR testsuite/1456.
22733 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
22734 to test_compiler_info.
22735
ccfa3402
MC
227362003-12-03 Michael Chastain <mec.gnu@mindspring.com>
22737
22738 * gdb.base/so-impl-ld.exp: Update copyright notice.
22739
f6246aba
MC
227402003-12-02 Michael Chastain <mec.gnu@mindspring.com>
22741
22742 Partial fix for PR testsuite/1456.
22743 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
22744 to test_compiler_info.
22745
13ae734a
MC
227462003-11-28 Michael Chastain <mec.gnu@mindspring.com>
22747
22748 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
22749 from current versions of gdb. Clean up regular expressions.
22750 Delete redundant timeout case.
22751
d8e1cdee
MC
227522003-11-28 Michael Chastain <mec.gnu@mindspring.com>
22753
22754 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
22755 from current versions of gdb. Clean up regular expressions.
22756 Delete redundant timeout case.
22757
96457b64
MC
227582003-12-01 Michael Chastain <mec.gnu@mindspring.com>
22759
22760 Partial fix for PR testsuite/1456.
22761 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
22762 gcc_compiled with call to test_compiler_info.
22763
f35309fc
MC
227642003-11-30 Michael Chastain <mec.gnu@mindspring.com>
22765
22766 Partial fix for PR testsuite/1456.
22767 * gdb.base/list.exp (test_list_function): Delete unused declaration
22768 of gcc_compiled.
22769
d7afdf9b
MC
227702003-11-29 Michael Chastain <mec.gnu@mindspring.com>
22771
22772 Partial fix for PR testsuite/1456.
22773 * gdb.base/complex.exp: Replace reference to gcc_compiled with
22774 call to test_compiler_info.
22775
71507b56
MK
227762003-11-29 Mark Kettenis <kettenis@gnu.org>
22777
22778 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
22779 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
22780 it to create the appropriate note.inc.
22781 * gdb.asm/asmsrc1.s: Include "note.inc".
22782 * gdb.asm/netbsd.inc: New file.
22783 * gdb.asm/empty.inc: New file.
22784
f81f93f7
MC
227852003-11-28 Michael Chastain <mec.gnu@mindspring.com>
22786
22787 Partial fix for PR testsuite/1456.
22788 * gdb.base/constvars.exp: Replace references to gcc_compiled with
22789 calls to test_compiler_info.
22790
9a77938e
MC
227912003-11-27 Michael Chastain <mec.gnu@mindspring.com>
22792
22793 Partial fix for PR testsuite/1456.
22794 * gdb.base/volatile.exp: Replace references to gcc_compiled with
22795 calls to test_compiler_info.
22796
e8367dc7
MK
227972003-11-27 Mark Kettenis <kettenis@gnu.org>
22798
22799 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
22800 pattern for the KFAILs.
22801
526c61ee
AF
228022003-11-25 Adam Fedor <fedor@gnu.org>
22803
22804 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
22805 * gdb.objc/objcdecode.m: New file.
22806
28f2d600
AF
228072003-11-25 Adam Fedor <fedor@gnu.org>
22808
22809 * gdb.objc/nondebug.exp: Test for PR objc/1236.
22810 * gdb.objc/nondebug.m: New file.
22811
a3895cee
BE
228122003-11-26 Ben Elliston <bje@wasabisystems.com>
22813
22814 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22815 NetBSD as it does on FreeBSD. Modelled on a similar change by
22816 Mark Kettenis on 2003-05-30.
22817 (link-flags): Set to "--entry _start" regardless of target.
22818 Special linker flags are to be appended to $link-flags.
22819 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
22820
c9f2c8a3
MC
228212003-11-25 Michael Chastain <mec.gnu@mindspring.com>
22822
22823 * gdb.cp/method.exp: Accept output of new demangler.
22824
15a0587a 228252003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
22826
22827 * gdb/class2.exp: New file.
22828 * gdb/class2.cc: New file.
22829
3c00b570
MC
228302003-11-25 Michael Chastain <mec.gnu@mindspring.com>
22831
22832 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
22833 of new demangler.
22834
7027acc7
MK
228352003-11-23 Mark Kettenis <kettenis@gnu.org>
22836
22837 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
22838 of gdb_test "run".
22839
b0e1598a
MK
228402003-11-23 Mark Kettenis <kettenis@gnu.org>
22841
22842 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
22843 "continue" into "run".
22844
4d9eda44
MC
228452003-11-23 Michael Chastain <mec.gnu@mindspring.com>
22846
22847 Partial fix for PR testsuite/1456.
22848 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
22849 call to test_compiler_info.
22850 * gdb.cp/ctti.exp: Likewise.
22851 * gdb.cp/derivation.exp: Likewise.
22852 * gdb.cp/member-ptr.exp: Likewise.
22853 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
22854 reference to gcc_compiled.
22855
228562003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
22857
22858 Fix PR testsuite/1463.
22859 * gdb.base/structs.exp (start_structs_test): Call
22860 get_debug_format before using the debug format.
22861
d422fe19
AC
228622003-11-22 Andrew Cagney <cagney@redhat.com>
22863
22864 * lib/gdb.exp (gdb_test_multiple): Add simple example.
22865 * gdb.base/structs.exp: Use gdb_test_multiple.
22866
039cf96d
AC
228672003-11-20 Andrew Cagney <cagney@redhat.com>
22868
6882279b
AC
22869 * gdb.base/structs.exp: Handle and recover from internal errors.
22870 Replace "foo${n}" with "foo<n>" in test messages.
22871
e53890ae
AC
22872 * gdb.base/structs.exp: Update copyright. Rewrite.
22873 * gdb.base/structs.c: Update copyright. Rewrite.
22874
2b211c59
AC
22875 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
22876 resync count exceeded.
d63a86f8 22877
039cf96d
AC
22878 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
22879 from the internal error.
22880 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
22881 Original from Jim Blandy.
22882 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 22883
eac98b22
AC
228842003-11-19 Andrew Cagney <cagney@redhat.com>
22885
22886 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
22887 KFAIL.
22888
67455b2a
MK
228892003-11-17 Mark Kettenis <kettenis@gnu.org>
22890
22891 New testcase for PR backtrace/1435.
22892 * gdb.arch/i386-unwind.exp: New file.
22893 * gdb.arch/i386-unwind.c: New file.
22894
853d6e5b
AC
228952003-11-17 Andrew Cagney <cagney@redhat.com>
22896
22897 * lib/gdb.exp (compiler_info): New global.
22898 (test_compiler_info): New function.
22899 (get_compiler_info): Set compiler_info.
22900 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
22901 "compiler_info" to gcc-<major>-<minor>.
22902
38cf6e11
MC
229032003-11-15 Michael Chastain <mec.gnu@mindspring.com>
22904
22905 * gdb.trace/configure: Remove.
22906
a50d3602
EZ
229072003-11-13 Elena Zannoni <ezannoni@redhat.com>
22908
22909 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 22910 breakpoints.
a50d3602
EZ
22911 * gdb.base/break.exp: Remove all references to explicit line
22912 numbers.
22913
d9407aaa
NC
229142003-11-11 Nick Clifton <nickc@redhat.com>
22915
22916 * gdb.base/shreloc.exp: Do not run for targets which do not
22917 support shared objects.
22918
db488fc1
CV
229192003-11-10 Corinna Vinschen <vinschen@redhat.com>
22920
22921 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
22922 Don't run tests if nofileio flag is given.
22923
6a90a18e
EZ
229242003-11-07 Elena Zannoni <ezannoni@redhat.com>
22925
22926 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 22927 as well as 'Watchpoint'.
6a90a18e 22928
0b915e9c
EZ
229292003-11-06 Elena Zannoni <ezannoni@redhat.com>
22930
22931 Reported by Jim Ingham <jingham@apple.com>:
22932 * gdb.base/annota1.exp: Match at least one occurrence of the
22933 signal handler annotation.
22934
d7e4b55f
EZ
229352003-11-06 Elena Zannoni <ezannoni@redhat.com>
22936
a9c64011
AS
22937 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
22938 as well as 'Watchpoint'.
d7e4b55f 22939
2fe4e8d0
MC
229402003-11-05 Michael Chastain <mec@shout.net>
22941
22942 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
22943
6ef88553
KW
229442003-11-03 Kris Warkentin <kewarken@qnx.com>
22945
22946 * gdb.arch/gdb1291.c: New test file.
22947 * gdb.arch/gdb1291.exp: New test script.
22948 * gdb.arch/gdb1431.c: New test file.
22949 * gdb.arch/gdb1431.exp: New test script.
22950
ae7dc4d8
MC
229512003-10-22 Michael Chastain <mec@shout.net>
22952
22953 * gdb.mi/pthreads.c: Add copyright notice.
22954
c39d7427
MC
229552003-10-22 Michael Chastain <mec@shout.net>
22956
22957 * gdb.threads/pthreads.c: Add copyright notice.
22958
8b7d96c1
MC
229592003-10-20 Michael Chastain <mec@shout.net>
22960
22961 * gdb.base/gdb1056.exp: New test script.
22962
d1d69fdd
DJ
229632003-10-13 Daniel Jacobowitz <drow@mvista.com>
22964
22965 * gdb.threads/killed.exp: Use gdb_run_cmd.
22966
7d605576
DJ
229672003-10-13 Daniel Jacobowitz <drow@mvista.com>
22968
22969 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
22970 create a core file.
22971 * gdb.threads/gcore-thread.exp: Likewise.
22972
618ec112
CV
229732003-10-13 Corinna Vinschen <vinschen@redhat.com>
22974
22975 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
22976 type, based on char type.
22977 (struct bit_flags_short_t): New bitfield type, based on short type.
22978 (init_bit_flags_char): New fuction.
22979 (init_bit_flags_short): Ditto.
22980 (print_bit_flags_char): Ditto.
22981 (print_bit_flags_short): Ditto.
22982 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
22983
9367a73c
MC
229842003-10-11 Michael Chastain <mec@shout.net>
22985
22986 * gdb.base/call-rt-st.exp: Update copyright year.
22987
1decf120
KI
229882003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
22989
22990 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
22991 * gdb.disasm/sh3.s: Ditto.
22992
5445b2ae
DJ
229932003-10-07 Daniel Jacobowitz <drow@mvista.com>
22994
22995 * gdb.threads/switch-threads.exp: New test.
22996 * gdb.threads/switch-threads.c: New source file.
22997
aec24853
CV
229982003-10-07 Corinna Vinschen <vinschen@redhat.com>
22999
23000 * gdb.base/ending-run.exp: Add sh specific case.
23001
adc7428d
AC
230022003-10-06 Andrew Cagney <cagney@redhat.com>
23003
23004 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
23005 * gdb.disasm/mn10200.exp: Delete obsolete file.
23006
c9d37158
DJ
230072003-09-29 Daniel Jacobowitz <drow@mvista.com>
23008
23009 * ChangeLog: Correct an entry command.exp -> commands.exp.
23010 * gdb.base/commands.exp (bp_deleted_in_command_test)
23011 (temporary_breakpoint_commands): Check noargs.
23012
79c2c32d
DC
230132003-09-25 David Carlton <carlton@kealia.com>
23014
23015 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
23016 of some print tests, where appropriate. Add tests for C::D::cd,
23017 E::ce, F::cXfX, G::XgX.
23018 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
23019
594e6d67
RE
230202003-09-25 Richard Earnshaw <rearnsha@arm.com>
23021
23022 * lib/java.exp (java_init): Import target_alias before using it.
23023
10f0d451
DC
230242003-09-25 David Carlton <carlton@kealia.com>
23025
23026 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
23027
274bcba0
EZ
230282003-09-23 Elena Zannoni <ezannoni@redhat.com>
23029
d63a86f8 23030 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 23031 weirdness.
274bcba0 23032
cdbf20f7
MC
230332003-09-17 Michael Chastain <mec@shout.net>
23034
23035 * gdb.cp/gdb1355.exp: New file.
23036 * gdb.cp/gdb1355.c: New file.
23037
71e06f80
CV
230382003-09-15 Corinna Vinschen <vinschen@redhat.com>
23039
23040 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
23041 * gdb.asm/sh.inc: New file.
23042
5c4e30ca
DC
230432003-09-11 David Carlton <carlton@kealia.com>
23044
bd45b7af
DC
23045 * gdb.cp/namespace.exp: Add tests for namespace types.
23046 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
23047 (test_namespace): New.
23048
1c199746
EZ
230492003-09-11 Elena Zannoni <ezannoni@redhat.com>
23050
a9c64011 23051 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 23052 * gdb.stabs/weird.exp: Ditto.
1c199746 23053
04ed252f
MC
230542003-09-08 Michael Chastain <mec@shout.net>
23055
23056 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
23057
d8a2d9e7
MC
230582003-09-07 Michael Chastain <mec@shout.net>
23059
23060 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
23061 'parse error'.
23062
161afb24
MK
230632003-09-07 Mark Kettenis <m.kettenis@osp.nl>
23064
23065 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
23066
49f2741a
MC
230672003-08-30 Michael Chastain <mec@shout.net>
23068
23069 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
23070 * gdb.gdb/observer.exp: Ditto.
23071 * gdb.gdb/xfullpath.exp: Ditto.
23072
8afa723e
MK
230732003-08-29 Mark Kettenis <kettenis@gnu.org>
23074
23075 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
23076 *-*-*bsd*.
23077
f31dfe3b
JJ
230782003-08-28 Jeff Johnston <jjohnstn@redhat.com>
23079
23080 * gdb.base/dump.exp: Skip for ia64.
23081
4630e498
JJ
230822003-08-25 Jeff Johnston <jjohnstn@redhat.com>
23083
23084 * gdb.asm/asm-source.exp: Add ia64 support.
23085 * gdb.asm/ia64.inc: New file.
23086
1105b7ef
MC
230872003-08-22 Michael Chastain <mec@shout.net>
23088
23089 * gdb.cp: New directory.
23090 * gdb.cp/*: Copy from gdb.c++/*.
23091 * gdb.c++/*: Remove.
23092 * Makefile.in: Change gdb.c++ to gdb.cp.
23093 * configure.in: Ditto.
23094 * configure: Regnerate.
23095
c945b932
MK
230962003-08-18 Mark Kettenis <kettenis@gnu.org>
23097
23098 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
23099 * gdb.arch/i386-prologue.c (gdb1338): Add function.
23100
2b66634b
DJ
231012003-08-17 Daniel Jacobowitz <drow@mvista.com>
23102
23103 * mi-var-display.exp (-var-list-children weird): Accept function
23104 pointers with argument types.
23105 * mi1-var-display.exp (-var-list-children weird): Likewise.
23106 * mi2-var-display.exp (-var-list-children weird): Likewise.
23107
a356f73b
DJ
231082003-08-17 Daniel Jacobowitz <drow@mvista.com>
23109
23110 * gdb.base/annota3.exp: Add missing newline.
23111
483417b8
MC
231122003-08-06 Michael Chastain <mec@shout.net>
23113
23114 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
23115
c99c59c3
MS
231162003-08-12 Michael Snyder <msnyder@redhat.com>
23117
23118 * gdb.base/float.exp: Add test for SH.
23119
55ed7501
MK
231202003-08-10 Mark Kettenis <kettenis@gnu.org>
23121
23122 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
23123
1a371f2e
EZ
231242003-08-07 Elena Zannoni <ezannoni@redhat.com>
23125
23126 * gdb.base/completion.exp: Remove reduntant completion test
23127 on filename.
23128
e0f353ce
EZ
231292003-08-07 Elena Zannoni <ezannoni@redhat.com>
23130
a9c64011
AS
23131 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
23132 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
23133 gdb.trace/save-trace.exp: Make sure that full pathnames are
23134 escaped correctly.
e0f353ce 23135
5710a1af 231362003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 23137
a9c64011
AS
23138 * configure.in: Don't generate config.h from config.hin.
23139 * configure: Regenerate.
23140 * config.hin: Remove file.
23141 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
23142 * gdb.threads/pthreads.c: Ditto.
5710a1af 23143
dcd81ce9
DJ
231442003-08-07 Daniel Jacobowitz <drow@mvista.com>
23145
23146 From Kei Sakamoto <sakamoto.kei@renesas.com>:
23147 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
23148 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
23149 Replace ld24 with seth/add3.
23150
6009d884
AC
231512003-08-02 Andrew Cagney <cagney@redhat.com>
23152
23153 * gdb.base/annota3.exp: New file.
23154 * gdb.base/annota3.c: New file.
23155 * gdb.c++/annota3.exp: New file.
23156 * gdb.c++/annota3.cc: New file.
23157
51514e06
MC
231582003-07-29 Michael Chastain <mec@shout.net>
23159
23160 * gdb.threads/tls.c (spin): Check errno only if sem_wait
23161 actually failed.
23162 (do_pass): Likewise.
23163 * gdb.threads/tls.exp: Always initialize no_of_threads.
23164
4ee6625b
DJ
231652003-07-27 Daniel Jacobowitz <drow@mvista.com>
23166
23167 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
23168 pattern.
23169 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
23170 * gdb.threads/tls.exp: Recognize one case of the host library not
23171 supporting TLS.
23172
225f2bf6
AC
231732003-07-27 Andrew Cagney <cagney@redhat.com>
23174
23175 * gdb.base/fileio.exp: Use SH when running commands using
23176 remote_exec.
23177
bcb27c9f
DJ
231782003-07-24 Daniel Jacobowitz <drow@mvista.com>
23179
23180 From Kei Sakamoto <sakamoto.kei@renesas.com>:
23181 * gdb.base/relocate.c (dummy): New padding array.
23182
3d67be83
MS
231832003-07-22 Michael Snyder <msnyder@redhat.com>
23184
d63a86f8 23185 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
23186
23187 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
23188 patterns to be more general, accepting old and new output.
23189 Some output chars (such as '+') also must be quoted.
d63a86f8 23190 Some addresses are displayed numerically instead of
3d67be83
MS
23191 symbolically.
23192
57ba3b85
MS
231932003-07-23 Michael Snyder <msnyder@redhat.com>
23194
686d097c
MS
23195 * gdb.base/return2.exp: Don't test long-long return.
23196
57ba3b85
MS
23197 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
23198 * gdb.disasm/t01_mov.exp: Ditto.
23199 * gdb.disasm/t02_mova.s: Ditto.
23200 * gdb.disasm/t02_mova.exp: Ditto.
23201 * gdb.disasm/t03_add.s: Ditto.
23202 * gdb.disasm/t03_add.exp: Ditto.
23203 * gdb.disasm/t04_sub.s: Ditto.
23204 * gdb.disasm/t04_sub.exp: Ditto.
23205 * gdb.disasm/t05_cmp.s: Ditto.
23206 * gdb.disasm/t05_cmp.exp: Ditto.
23207 * gdb.disasm/t06_ari2.s: Ditto.
23208 * gdb.disasm/t06_ari2.exp: Ditto.
23209 * gdb.disasm/t07_ari3.s: Ditto.
23210 * gdb.disasm/t07_ari3.exp: Ditto.
23211 * gdb.disasm/t08_or.s: Ditto.
23212 * gdb.disasm/t08_or.exp: Ditto.
23213 * gdb.disasm/t09_xor.s: Ditto.
23214 * gdb.disasm/t09_xor.exp: Ditto.
23215 * gdb.disasm/t10_and.s: Ditto.
23216 * gdb.disasm/t10_and.exp: Ditto.
23217 * gdb.disasm/t11_logs.s: Ditto.
23218 * gdb.disasm/t11_logs.exp: Ditto.
23219 * gdb.disasm/t12_bit.s: Ditto.
23220 * gdb.disasm/t12_bit.exp: Ditto.
23221 * gdb.disasm/t13_otr.s: Ditto.
23222 * gdb.disasm/t13_otr.exp: Ditto.
23223
e00759ef
EZ
232242003-07-22 Elena Zannoni <ezannoni@redhat.com>
23225
23226 * gdb.threads/tls.exp :Add kfail for 'info address' case.
23227
8bc2021f
EZ
232282003-07-22 Elena Zannoni <ezannoni@redhat.com>
23229
a9c64011
AS
23230 * gdb.threads/tls.c : New file.
23231 * gdb.threads/tls.exp : New file.
23232 * gdb.threads/tls-main.c : New file.
23233 * gdb.threads/tls-shared.c : New file.
23234 * gdb.threads/tls-shared.exp : New file.
8bc2021f 23235
89320c4c
AS
232362003-07-22 Andreas Schwab <schwab@suse.de>
23237
23238 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
23239
180dea7c
AS
232402003-07-20 Andreas Schwab <schwab@suse.de>
23241
23242 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
23243 due to insn reordering.
23244
0714963c
AC
232452003-07-15 Andrew Cagney <cagney@redhat.com>
23246
23247 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
23248
98a23b3f
MC
232492003-07-15 Michael Chastain <mec@shout.net>
23250
23251 * gdb.base/gdb1250.exp: New file.
23252 * gdb.base/gdb1250.c: New file.
23253
27e417a2
ML
232542003-07-09 Michal Ludvig <mludvig@suse.cz>
23255
23256 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
23257 expansion of size_t to 'unsigned long', not only to 'unsigned'.
23258
8bc2021f
EZ
232592003-07-09 Elena Zannoni <ezannoni@redhat.com>
23260
a9c64011
AS
23261 * gdb.threads/tls.c: New file.
23262 * gdb.threads/tls.exp: New file.
23263 * gdb.threads/tls-main.c: New file.
23264 * gdb.threads/tls-shared.c: New file.
23265 * gdb.threads/tls-shared.exp: New file.
8bc2021f 23266
d99968dc
EZ
232672003-07-09 Elena Zannoni <ezannoni@redhat.com>
23268
23269 * gdb.base/annota1.exp: Make sure that we properly escape the
23270 full path of the source file. Xfail more permissive patterns,
d63a86f8 23271 due to a compiler debug info problem.
d99968dc 23272
83876b3b
AS
232732003-07-07 Andreas Schwab <schwab@suse.de>
23274
2705e972
AS
23275 * gdb.asm/m68k.inc: New file.
23276 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
23277
83876b3b
AS
23278 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
23279 arguments"): Also match negative number.
23280
23281 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
23282
3a871b37
DJ
232832003-07-03 Daniel Jacobowitz <drow@mvista.com>
23284
23285 * gdb.base/store.c (charest): New typedef.
23286 (add_char): Rename to add_charest, update.
23287 (wack_char): Rename to wack_charest, update types. Return l + r
23288 to keep r live across the call.
23289 (wack_short, wack_int, wack_long, wack_longest, wack_float)
23290 (wack_double, wack_doublest): Return l + r to keep r live across
23291 the call.
23292 * gdb.base/store.exp: Accomodate store.c changes.
23293
b2a7f303
DC
232942003-06-30 David Carlton <carlton@kealia.com>
23295
23296 * gdb.c++/maint.exp (test_invalid_name): New.
23297 (test_first_component): Add tests for invalid names.
23298
3c6cb4a1
MC
232992003-06-29 Michael Chastain <mec@shout.net>
23300
23301 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
23302 output of '<VTT for class>' for virtual base classes.
23303
f1c2644b
DJ
233042003-06-29 Daniel Jacobowitz <drow@mvista.com>
23305
23306 * gdb.base/completion.exp: Tab-complete "complet" instead of
23307 "compl".
23308 * gdb.base/complex.exp, gdb.base/complex.c: New files.
23309
18080350
DJ
233102003-06-29 Daniel Jacobowitz <drow@mvista.com>
23311
23312 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
23313 * gdb.base/volatile.exp: Likewise.
23314
f56973f8
DJ
233152003-06-29 Daniel Jacobowitz <drow@mvista.com>
23316
23317 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
23318 gdb/1265.
23319
233202003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
23321 Daniel Jacobowitz <drow@mvista.com>
23322
23323 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
23324 initial line count of 'captured_main' from 26 to 32.
23325 (test_with_self): Allow xmalloc call to be interleaved with the
23326 preceding two lines.
23327
e766d4d6
JB
233282003-06-24 Joel Brobecker <brobecker@gnat.com>
23329
23330 * gdb.base/bang.exp: New testcase.
23331
f125c9a4
JB
233322003-06-23 Joel Brobecker <brobecker@gnat.com>
23333
23334 * gdb.base/langs.exp: Add some tests for the "minimal" language
23335 support.
23336
6e25beaf
EZ
233372003-06-23 Elena Zannoni <ezannoni@redhat.com>
23338
23339 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
23340 the testcase.
23341
2f816dda
DJ
233422003-06-22 Daniel Jacobowitz <drow@mvista.com>
23343
23344 * gdb.base/relocate.exp: Test add-symbol-file with a variable
23345 offset.
23346
db5a5748
DJ
233472003-06-22 Daniel Jacobowitz <drow@mvista.com>
23348
23349 * gdb.c++/pr-1210.cc: New file.
23350 * gdb.c++/pr-1210.exp: New file.
23351
1df0c130
DJ
233522003-06-21 Daniel Jacobowitz <drow@mvista.com>
23353
23354 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
23355 000-exec-continue.
23356
a92feac0
MK
233572003-06-15 Mark Kettenis <kettenis@gnu.org>
23358
23359 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
23360 on *-*-*bsd* instead of *-*-freebsd*.
23361
81a58f5b
AC
233622003-06-14 Andrew Cagney <cagney@redhat.com>
23363
23364 * gdb.base/store.exp: Test longest and doublest. Test all
23365 parameters. Weaken return statement match.
23366 * gdb.base/store.c: Add longest and doublest - aka long long and
23367 long double functions. Put all parameters into local register
23368 variables. Use negative values.
23369
b257a0d3
AC
233702003-06-14 Andrew Cagney <cagney@redhat.com>
23371
23372 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
23373 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
23374 exit status.
23375 * gdb.base/fileio.exp: Disable target when nointerrupts and
23376 noinferiorio, instead of limiting it to remote. Use remote_exec
23377 instead of system.
d63a86f8 23378
21c38304
JJ
233792003-06-12 Jeff Johnston <jjohnstn@redhat.com>
23380
23381 * gdb.base/float.exp: Add ia64 support.
23382
1bcdb424
CV
233832003-06-12 Corinna Vinschen <vinschen@redhat.com>
23384
23385 * gdb.base/fileio.exp: Run only on remote targets.
23386
6aeb981f
CV
233872003-06-10 Corinna Vinschen <vinschen@redhat.com>
23388
23389 * gdb.base/fileio.c: New file, testing File-I/O.
23390 * gdb.base/fileio.exp: Ditto.
23391
53df362e
RG
233922003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
23393
23394 * gdb.base/shreloc.exp: New file, check symbol values obtained from
23395 shared objects after relocation at load time (gdb PR/1132).
23396 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 23397 as above, part of the shared object relocation test.
53df362e 23398
ffee1b46
MK
233992003-06-08 Mark Kettenis <kettenis@gnu.org>
23400
b5ca3722
MK
23401 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
23402 fully filled history list.
23403 * gdb.base/gdb_history: New file.
23404
03ed860d
MK
23405 * gdb.base/signals.exp: XFAIL "continue to func1" on
23406 i*86-*-freebsd*.
23407
ffee1b46
MK
23408 * gdb.base/attach.exp: When trying to attach to a nonexistent
23409 process, make it possible to specify the PID based on the target,
23410 and do so for *-*-freebsd*.
23411
d80dbb52
RH
234122003-06-02 Richard Henderson <rth@redhat.com>
23413
23414 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
23415
6dd77b81
RH
234162003-06-02 Richard Henderson <rth@redhat.com>
23417
23418 * gdb.base/selftest.exp: Next over lim_at_start initialization.
23419
f6347e16
RH
234202003-06-02 Richard Henderson <rth@redhat.com>
23421
23422 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
23423
2c161407
DJ
234242003-06-01 Daniel Jacobowitz <drow@mvista.com>
23425
23426 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
23427 of globalvar.
23428
572eb746
MK
234292003-06-01 Mark Kettenis <kettenis@gnu.org>
23430
23431 * gdb.asm/asm-source.exp: Check for memory read errors in
23432 disassembler test on *BSD too.
23433
9e9617a5
RH
234342003-06-01 Richard Henderson <rth@redhat.com>
23435
23436 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
23437 for .frame.
23438 (gdbasm_call): Lose ldgp.
23439 (gdbasm_startup): Add frame information.
23440 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
23441
7b34ad4e
MK
234422003-05-31 Mark Kettenis <kettenis@gnu.org>
23443
23444 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
23445 i?86-*-*.
23446
10059fdf
MK
234472003-05-30 Mark Kettenis <kettenis@gnu.org>
23448
23449 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
23450 FreeBSD.
23451
acf4b816
RH
234522003-05-29 Richard Henderson <rth@redhat.com>
23453
23454 * gdb.asm/alpha.inc: New file.
23455 * gdb.asm/asm-source.exp: Use it.
23456
e9ecd949
JB
234572003-05-29 Jim Blandy <jimb@redhat.com>
23458
23459 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
23460 'core.PID'.
23461
e3e5a4f3
JB
234622003-05-22 Jim Blandy <jimb@redhat.com>
23463
23464 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
23465 backtrace.
d63a86f8 23466
72fe3d25
DC
234672003-05-20 David Carlton <carlton@math.stanford.edu>
23468
23469 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
23470 this time.
23471
58da2eb2
DC
234722003-05-19 David Carlton <carlton@bactrian.org>
23473
23474 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
23475 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
23476
1fcb5155
DC
234772003-05-19 David Carlton <carlton@bactrian.org>
23478
23479 * gdb.c++/namespace.exp: Add namespace scope and anonymous
23480 namespace tests.
23481 Bump copyright date.
23482 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
23483 (main): Call C::D::marker2.
23484 * gdb.c++/namespace1.cc: New file.
23485
85e85163
JJ
234862003-05-14 Jeff Johnston <jjohnstn@redhat.com>
23487
23488 Roland McGrath <roland@redhat.com>
d63a86f8 23489 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
23490 there is no manager thread.
23491
a25fbfec
JJ
234922003-05-08 Jeff Johnston <jjohnstn@redhat.com>
23493
d63a86f8
RM
23494 * gdb.threads/schedlock.exp: Remove assumption that all threads
23495 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
23496 in one of the child threads rather than the main thread.
23497
be375bae
JB
234982003-05-07 Jim Blandy <jimb@redhat.com>
23499
09bf6082
JB
23500 Add support for assembly source testing on the s390x.
23501 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
23502 architecture.
23503 * gdb.asm/s390x.inc: New file.
23504
be375bae
JB
23505 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
23506 succession of 'if' statements.
23507
00905d52
AC
235082003-05-05 Andrew Cagney <cagney@redhat.com>
23509
23510 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
23511
b1e29e33
AC
235122003-05-05 Andrew Cagney <cagney@redhat.com>
23513
23514 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
23515 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
23516
e33d66ec
EZ
235172003-05-02 Elena Zannoni <ezannoni@redhat.com>
23518
23519 * gdb.base/charset.exp: Update based on new behavior of set/show
23520 charset commands.
23521
2b6fd0d8
AC
235222003-05-01 Andrew Cagney <cagney@redhat.com>
23523
23524 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
23525 variable do not give memory errors.
23526
130cacce
AF
235272003-04-30 Adam Fedor <fedor@gnu.org>
23528
23529 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
23530 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
23531 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
23532 gdb.objc/basicclass.m: : New files
23533
23534 * lib/gdb.exp (gdb_compile_objc): New procedure.
23535
bea71854
DJ
235362003-04-27 Daniel Jacobowitz <drow@mvista.com>
23537
23538 * gdb.base/signals.exp: Make backtrace tests more specific.
23539
0f20eeea
DC
235402003-04-23 David Carlton <carlton@bactrian.org>
23541
23542 * gdb.c++/maint.exp (test_first_component): Add tests for
23543 'operator' in more locations.
23544
c8c4d8dc
KB
235452003-04-16 Kevin Buettner <kevinb@redhat.com>
23546
23547 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
23548
3fe60e3c
EZ
235492003-04-16 Elena Zannoni <ezannoni@redhat.com>
23550
23551 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 23552 func marke' instead. Update test name.
3fe60e3c 23553
9219021c
DC
235542003-04-15 David Carlton <carlton@math.stanford.edu>
23555
23556 * gdb.c++/maint.exp: New file.
23557
5dd55bdd
EZ
235582003-04-14 Elena Zannoni <ezannoni@redhat.com>
23559
23560 * gdb.threads/schedlock.c: Change type of thread function argument
23561 to long, to avoid warnings on 64-bit platforms.
23562
00890572
EZ
235632003-04-14 Elena Zannoni <ezannoni@redhat.com>
23564
a9c64011
AS
23565 * gdb.base/attach.exp: Add new message from ptrace in case of
23566 attaching to nonexistent process.
d63a86f8 23567
93201743
JB
235682003-04-11 Jim Blandy <jimb@redhat.com>
23569
23570 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
23571 gdb.c++/userdef.cc: Place comments on the lines to which the
23572 marker function might return.
23573 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
23574 gdb.c++/userdef.exp: Look for those comments to check that we've
23575 returned to the right place, instead of checking line numbers.
23576
2a11c64d
EZ
235772003-04-11 Elena Zannoni <ezannoni@redhat.com>
23578
a9c64011
AS
23579 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
23580 match on sourcefile name, instead of directory name.
2a11c64d 23581
68ab8fc5
EZ
235822003-04-10 Elena Zannoni <ezannoni@redhat.com>
23583
d63a86f8 23584 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
23585 working directory name.
23586
5624293a
JB
235872003-04-09 Jim Blandy <jimb@redhat.com>
23588
23589 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
23590 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
23591 after an inferior function call, report the failure, but allow the
23592 test to continue.
23593
f1f02ee4
SC
235942003-04-05 Stephane Carrez <stcarrez@nerim.fr>
23595
23596 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
23597 with -DPROTOTYPES.
23598
6eb79af0
SC
235992003-04-05 Stephane Carrez <stcarrez@nerim.fr>
23600
23601 * gdb.base/break.exp: Revert last patch.
23602
8dfb4cf0
SC
236032003-04-04 Stephane Carrez <stcarrez@nerim.fr>
23604
23605 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
23606 with -DPROTOTYPES.
23607
ed4c619a
AC
236082003-04-02 Andrew Cagney <cagney@redhat.com>
23609
23610 * gdb.base/callfuncs.exp: Make "print add" messages unique.
23611 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
23612 matching directories by the name breakpoint.
23613 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
23614 Make "continue to marker1" consistent.
23615 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
23616 message consistent.
23617 * lib/gdb.exp: Put "the program is no longer running", and "the
23618 program exited" in parenthesis.
23619 * lib/mi-support.exp: Ditto.
d63a86f8 23620
4e35d5f0 236212003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 23622
4e35d5f0
BR
23623 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
23624
71900fe8
AC
236252003-03-29 Andrew Cagney <cagney@redhat.com>
23626
23627 * gdb.base/sizeof.c (main): Print the value of '\377'.
23628 * gdb.base/sizeof.exp: Check the sign of '\377'.
23629
c0655a16
MC
236302003-03-27 Michael Chastain <mec@shout.net>
23631
23632 * gdb.base/gdb1090.exp: New file.
23633 * gdb.base/gdb1090.cc: New file.
23634
5b2a3989
JB
236352003-03-27 J. Brobecker <brobecker@gnat.com>
23636
23637 * gdb.gdb/observer.exp: New regression test.
23638
79876890
MC
236392003-03-27 Michael Chastain <mec@shout.net>
23640
23641 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
23642 * gdb.base/ptype.exp: Likewise.
23643
6eac95e3
CV
236442003-03-27 Corinna Vinschen <vinschen@redhat.com>
23645
23646 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
23647
e8c71839
MC
236482003-03-26 Michael Chastain <mec@shout.net>
23649
23650 * gdb.base/ptype.exp: Actually use some typedef'd types.
23651
71b10041
SC
236522003-03-21 Stephane Carrez <stcarrez@nerim.fr>
23653
23654 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
23655 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
23656
2512cf80
CV
236572003-03-20 Corinna Vinschen <vinschen@redhat.com>
23658
23659 * gdb.base/default.exp: Fix regular expression.
23660
0d195a4f
CV
236612003-03-20 Corinna Vinschen <vinschen@redhat.com>
23662
23663 * gdb.base/args.exp: Fix regular expression.
23664
8a2dbca8
CV
236652003-03-20 Corinna Vinschen <vinschen@redhat.com>
23666
23667 * gdb.base/help.exp: Allow Win32 child process.
23668
bf028682
CV
236692003-03-20 Corinna Vinschen <vinschen@redhat.com>
23670
23671 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
23672 when stepping out of main().
23673
182dbe85
CV
236742003-03-20 Corinna Vinschen <vinschen@redhat.com>
23675
23676 * gdb.base/default.exp: Check for win32 specific message when calling
23677 "run" without executable.
23678
d67a6ba5
CV
236792003-03-20 Corinna Vinschen <vinschen@redhat.com>
23680
23681 * gdb.base/args.exp: Expect .exe in output.
23682
a955b5bb
CV
236832003-03-20 Corinna Vinschen <vinschen@redhat.com>
23684
23685 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
23686 Cygwin native.
23687
bf6bad4b
AC
236882003-03-17 Andrew Cagney <cagney@redhat.com>
23689
23690 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
23691 vector registes.
23692 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
23693 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
23694
293e9a31
DC
236952003-03-17 David Carlton <carlton@math.stanford.edu>
23696
23697 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
23698 test, for PR breakpoints/38.
23699 Call test_watchpoint_and_breakpoint.
23700 * gdb.base/watchpoint.c (func3): New function.
23701 (main): Call func3.
23702
5330f2db
DC
237032003-03-04 David Carlton <carlton@math.stanford.edu>
23704
23705 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
23706 Garply<Garply<char> >:: garply".
23707 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
23708 with respect to PR c++/1111; note also PR c++/1113.
23709 (test_template_breakpoints): KFAIL "constructor breakpoint" with
23710 respect to PR c++/1062.
23711 KFAIL "destructor breakpoint" with respect to PR c++/1112.
23712
6ece72da
DC
237132003-03-03 David Carlton <carlton@math.stanford.edu>
23714
23715 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
23716 with respect to PR c++/57.
23717 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
23718 c++/826.
23719 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
23720 respect to PR c++/57.
23721
85ca1584
DC
237222003-03-03 David Carlton <carlton@math.stanford.edu>
23723
23724 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
23725 respect to PR c++/33 into FAILs.
23726
98e9c5b8
MC
237272003-03-03 Michael Chastain <mec@shout.net>
23728
7bedbf27
MC
23729 * configure.in: Update copyright years.
23730
237312003-03-03 Michael Chastain <mec@shout.net>
23732
23733 * Makefile.in: Update copyright years.
98e9c5b8 23734
f683e100
DC
237352003-02-28 David Carlton <carlton@math.stanford.edu>
23736
23737 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
23738 print class instead of struct and/or superfluous protection
23739 specifiers, as long as the resulting output is equivalent to the
23740 source code.
23741 Delete FIXME from end of messages on tests that don't need
23742 fixing.
23743
a9e0cf2c
DC
237442003-02-28 David Carlton <carlton@math.stanford.edu>
23745
23746 * gdb.c++/templates.exp (do_tests): Allow const in the two
23747 Foo<volatile char *>::foo tests.
23748
e8d359df
MS
237492003-02-27 Michael Snyder <msnyder@redhat.com>
23750
d63a86f8 23751 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
23752 will be consistant.
23753
0b71dc91
DC
237542003-02-26 David Carlton <carlton@math.stanford.edu>
23755
23756 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
23757 char *>::foo" test with respect to PR c++/33. Create a new test
23758 which is identical to that one except that it doesn't put the
23759 space between the "char" and the "*"; KFAIL it, too.
23760
dd14ab43
DC
237612003-02-26 David Carlton <carlton@math.stanford.edu>
23762
23763 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
23764 template types into either PASSes or KFAILs (corresponding to PR
23765 c++/57). Tweak indentation. Update copyright.
23766
1146c7f1
SC
237672003-02-23 Stephane Carrez <stcarrez@nerim.fr>
23768
23769 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
23770
74641dfb
MC
237712003-02-13 Michael Chastain <mec@shout.net>
23772
23773 * gdb.base/exprs.exp: Remove i960 remnants.
23774 * gdb.base/funcargs.exp: Likewise.
23775 * gdb.base/list.exp: Likewise.
23776 * gdb.base/ptype.exp: Likewise.
23777
559cd2d0
DC
237782003-02-14 David Carlton <carlton@math.stanford.edu>
23779
23780 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
23781 pEe->D::vg()" from XFAIL to KFAIL.
23782
c4f90d87
JM
237832003-02-13 Jason Molenda (jmolenda@apple.com)
23784
23785 * gdb.base/maint.exp: Update maint print statistics regexp to include
23786 new entries.
23787
cbc4d97c
MC
237882003-02-13 Michael Chastain <mec@shout.net>
23789
23790 * gdb.c++/inherit.exp: Remove call to get_debug_format.
23791
40f235b7
MC
237922003-02-12 Michael Chastain <mec@shout.net>
23793
23794 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
23795 * gdb.c++/inherit.exp: Likewise.
23796 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
23797 * gdb.c++/templates.exp: Likewise.
23798 * gdb.c++/virtfunc.exp: Likewise.
23799
c56716b0
JM
238002003-02-06 Jason Molenda (jason-cl@molenda.com)
23801
23802 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
23803 why the code is written that way.
23804
070afcf8
MC
238052003-02-05 Michael Chastain <mec@shout.net>
23806
23807 * gdb.base/dump.exp: Add missing copyright line.
23808
5d0331e5
JM
238092003-02-05 Jason Molenda (jason-cl@molenda.com)
23810
f7ae6d3e 23811 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
23812 at the beginning so the breakpoint doesn't get set on the loop.
23813
92851186
MC
238142003-02-05 Michael Chastain <mec@shout.net>
23815
23816 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
23817 output for configurations with gcc 2.95.3.
23818
cbf1e085
AC
238192003-02-05 Keith Seitz <keiths@redhat.com>
23820 Andrew Cagney <ac131313@redhat.com>
23821
23822 * gdb.mi/mi-cli.exp: New file.
d63a86f8 23823
29518e1e
MC
238242003-02-04 Michael Chastain <mec@shout.net>
23825
23826 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
23827 Call perror and then continue.
23828
5af1d5f3
MC
238292003-02-03 Michael Chastain <mec@shout.net>
23830
23831 * gdb.c++/pr-1023.cc: New file.
23832 * gdb.c++/pr-1023.exp: New file.
23833
6b549786
JB
238342003-02-05 Jim Blandy <jimb@redhat.com>
23835
23836 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
23837 it's local to foobar. Check for it there, and check that it's not
23838 present in main.
23839 * gdb.c++/local.cc (marker2): New function.
23840 (foobar): Call marker1.
23841 (main): Call marker2 instead of marker1.
23842
67f16606
AC
238432003-02-04 Andrew Cagney <ac131313@redhat.com>
23844
23845 * gdb.disasm/mn10200.exp: Obsolete file.
23846 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
23847 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
23848 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
23849
1c5cb38e
DC
238502003-02-04 David Carlton <carlton@math.stanford.edu>
23851
23852 * gdb.c++/overload.exp: Test intToChar(1).
23853 * gdb.c++/overload.cc (intToChar): New.
23854 (main): Call intToChar.
23855
d1fe6965
DC
238562003-02-03 David Carlton <carlton@math.stanford.edu>
23857
23858 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
23859 'might_kfail' arg.
23860 KFAIL some of the continue_to_bp_overloaded calls, according to
23861 PR c++/1025.
23862
9ba61c5d
MC
238632003-02-01 Michael Chastain <mec@shout.net>
23864
23865 * gdb.base/advance.c (marker1): New marker function.
23866 * gdb.base/advance.exp: When the 'advance' command lands on the
23867 return breakpoint, it can legitimately stop on either the
23868 current line or the next line. Accommodate both outcomes.
23869 * gdb.base/until.exp: Likewise.
23870
e7494ffb
AC
238712003-02-02 Andrew Cagney <ac131313@redhat.com>
23872
23873 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
23874 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
23875 now a list, not a tuple.
23876 * gdb.mi/mi-var-display.exp: Ditto.
23877 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 23878
075559bc
AC
238792003-02-01 Andrew Cagney <ac131313@redhat.com>
23880
23881 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
23882 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
23883 stack backtraces.
23884 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 23885
2bd4c7b1
MK
238862003-02-01 Mark Kettenis <kettenis@gnu.org>
23887
23888 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
23889 gdb.mi/mi1-pthreads.exp: Return instead of calling
23890 gdb_suppress_entire_file.
23891
eabd8992
MS
238922003-02-01 Mark Salter <msalter@redhat.com>
23893
23894 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
23895
71469e2f
MS
238962003-01-31 Mark Salter <msalter@redhat.com>
23897
23898 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
23899 Support empty arg.
23900
38a94d44
MC
239012003-01-30 Michael Chastain <mec@shout.net>
23902
23903 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
23904 This was a workaround for a UTF-8 bug in readline 4.3. The bug
23905 has been fixed in gdb/readline on 2003-01-09.
23906
19ea9e73
MS
239072003-01-29 Michael Snyder <msnyder@redhat.com>
23908
e8d359df
MS
23909 * gdb.base/maint.exp: Allow for leading underscore in symbol.
23910 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
23911 * gdb.base/args.exp: Skip if target does not support args passing.
23912
2307bd6a
DJ
239132003-01-22 Daniel Jacobowitz <drow@mvista.com>
23914
19ea9e73 23915 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
23916 gdb_test. Accept a list of expect arguments as the third
23917 parameter.
23918 (gdb_test): Use it.
23919
f2dd3617
EZ
239202003-01-20 Elena Zannoni <ezannoni@redhat.com>
23921
23922 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
23923 allow for different test tree configurations. Update some
23924 tescases accordingly.
23925 * gdb.arch/altivec-regs.exp: Ditto.
23926 * gdb.asm/asm-source.exp: Ditto.
23927 * gdb.base/advance.exp: Ditto.
23928 * gdb.base/display.exp: Ditto.
d63a86f8 23929 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
23930 * gdb.base/mips_pro.exp: Ditto.
23931 * gdb.base/overlays.exp: Ditto.
23932 * gdb.base/relocate.exp: Ditto.
23933 * gdb.base/setshow.exp: Ditto.
23934 * gdb.base/step-line.exp: Ditto.
23935 * gdb.base/step-test.exp: Ditto.
23936 * gdb.base/until.exp: Ditto.
23937 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
23938
c71cdefd
DC
239392003-01-17 David Carlton <carlton@math.stanford.edu>
23940
23941 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
23942 corresponding to PR c++/945.
23943 Update copyright.
23944
fdba05d7
DC
239452003-01-17 David Carlton <carlton@math.stanford.edu>
23946
23947 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
23948 corresponding to PR c++/68.
23949
239502003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
23951
23952 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
23953 (test_paddr_hairy_functions): Call print_addr_2_kfail for
23954 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
23955
c362c33a
EZ
239562003-01-15 Elena Zannoni <ezannoni@redhat.com>
23957
0fbc361c
EZ
23958 * gdb.base/break.exp: Fix change of default location, because of
23959 removal of until tests.
23960 * gdb.base/help.exp: Update test for new 'until' help message.
23961 Add test for help on 'advance'.
a9c64011 23962 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 23963
dabf8a35
MK
239642003-01-15 Mark Kettenis <kettenis@gnu.org>
23965
23966 * gdb.base/default.exp: Adapt "info float" test for recent changes
23967 to that command. Add test for "info vector".
23968 * gdb.base/float.exp: New file. Add test for "info float" that
23969 resembles the old test in gdb.base/default.exp.
23970
a1769aca
DC
239712003-01-15 David Carlton <carlton@math.stanford.edu>
23972
23973 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
23974
82025e13
EZ
239752003-01-15 Elena Zannoni <ezannoni@redhat.com>
23976
23977 * gdb.base/break.exp: Move the tests of until command from here...
23978 * gdb.base/until.exp: ... to here. New file. Add other tests.
23979 * gdb.base/advance.c: New file.
23980 * gdb.base/advance.exp: New file.
23981
8f9ab801
EZ
239822003-01-14 Elena Zannoni <ezannoni@redhat.com>
23983
a9c64011
AS
23984 * gdb.base/args.c: New file.
23985 * gdb.base/args.exp: New file.
8f9ab801 23986
9ae66589
DJ
239872003-01-14 Daniel Jacobowitz <drow@mvista.com>
23988
23989 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
23990
8d77e5c3
DJ
239912003-01-14 Daniel Jacobowitz <drow@mvista.com>
23992
23993 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
23994
12d2f0a1
DJ
239952003-01-14 Daniel Jacobowitz <drow@mvista.com>
23996
23997 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
23998 dates.
23999
6ca37014
DJ
240002003-01-13 Daniel Jacobowitz <drow@mvista.com>
24001
24002 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
24003
b0023472
DJ
240042003-01-13 Daniel Jacobowitz <drow@mvista.com>
24005
24006 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
24007 (ptype &*"foo").
24008 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
24009
607fbc54 240102003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
24011
24012 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
24013 * gdb.mi/mi1-console.exp: Likewise.
24014
607fbc54 240152003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
24016
24017 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
24018 * gdb.mi/mi1-console.exp: Likewise.
24019
a1fb14a2
DJ
240202003-01-13 Daniel Jacobowitz <drow@mvista.com>
24021
24022 * gdb.c++/overload.exp: Remove some fixed XFAILs.
24023
c4cf40b7
DJ
240242003-01-09 Daniel Jacobowitz <drow@mvista.com>
24025
24026 * gdb.base/detach.exp: New test.
24027
696d5a5b
DJ
240282003-01-09 Daniel Jacobowitz <drow@mvista.com>
24029
24030 * Makefile.in (ALL_SUBDIRS): New variable.
24031 (subdirs, clean, distclean): Use it.
24032 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
24033 regenerating Makefile, since it is generated from the top level.
24034 * gdb.asm/Makefile.in: Likewise.
24035 * gdb.base/Makefile.in: Likewise.
24036 * gdb.c++/Makefile.in: Likewise.
24037 * gdb.disasm/Makefile.in: Likewise.
24038 * gdb.java/Makefile.in: Likewise.
24039 * gdb.mi/Makefile.in: Likewise.
24040 * gdb.threads/Makefile.in: Likewise.
24041 * gdb.trace/Makefile.in: Likewise.
24042
754533e4
DC
240432003-01-09 David Carlton <carlton@math.stanford.edu>
24044
24045 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
24046 Add copyright year 2003.
24047
d8b3e9ee
MC
240482003-01-06 Michael Chastain <mec@shout.net>
24049
24050 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
24051 When selecting a thread, 'line' and 'file' are optional.
24052 * gdb.mi/mi1-pthreads.exp: Likewise.
24053
8e9e0fe6
AS
240542003-01-06 Andreas Schwab <schwab@suse.de>
24055
24056 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
24057 failures.
24058
b5ab8ff3
DJ
240592003-01-04 Daniel Jacobowitz <drow@mvista.com>
24060
24061 Fix PR gdb/844
24062 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
24063 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
24064
24065 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
24066 instead of calling gdb_suppress_entire_file.
24067 * gdb.threads/print-threads.exp: Likewise.
24068 * gdb.threads/schedlock.exp: Likewise.
24069
24070 * gdb.threads/killed.exp: Return instead of calling
24071 gdb_suppress_entire_file.
24072 * gdb.threads/linux-dp.exp: Likewise.
24073 * gdb.threads/pthreads.exp: Likewise.
24074
1e698235
DJ
240752003-01-04 Daniel Jacobowitz <drow@mvista.com>
24076
24077 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
24078 stabs.
24079 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
24080 * gdb.base/whatis.exp: Always allow (void) after function names.
24081
147ff08c
DJ
240822003-01-04 Daniel Jacobowitz <drow@mvista.com>
24083
24084 * gdb.c++/casts.exp: Correct regexp.
24085
dc62bfc2
MK
240862003-01-04 Mark Kettenis <kettenis@gnu.org>
24087
24088 * configure.in: Call AC_CONFIG_HEADER. Don't call
24089 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
24090 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
24091 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
24092 aforementioned directories in the AC_OUPUT call.
24093 * config.hin: New file.
24094 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
24095 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
24096 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
24097 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
24098 pass -I$objdir instead of -I$objdir/$subdir in compilation.
24099 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
24100 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
24101 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
24102 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
24103 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
24104 gdb.threads/configure.in, gdb.threads/configure,
24105 gdb.threads/config.in, gdb.trace/configure.in,
24106 gdb.trace/configure: Removed.
24107
77afa639
MC
241082003-01-03 Michael Chastain <mec@shout.net>
24109
24110 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
24111 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
24112
7634bb6e
DJ
241132003-01-03 Daniel Jacobowitz <drow@mvista.com>
24114
24115 * gdb.base/store.exp: Fix regular expressions.
24116
b39c905e
MK
241172002-12-28 Mark Kettenis <kettenis@gnu.org>
24118
24119 * configure.in: Rewrite.
24120 * configure: Regenerated.
24121
0a8551dd
DC
241222003-01-03 David Carlton <carlton@math.stanford.edu>
24123
24124 * gdb.base/psymtab.exp: New file.
24125 * gdb.base/psymtab1.c: Ditto.
24126 * gdb.base/psymtab2.c: Ditto.
24127
c60b7188
AF
241282002-12-23 Adam Fedor <fedor@gnu.org>
24129
24130 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
24131
ee73db83
DC
241322002-12-23 David Carlton <carlton@math.stanford.edu>
24133
24134 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
24135 and current_directory initialization.
24136
d6c1774e
JB
241372002-12-22 Jim Blandy <jimb@redhat.com>
24138
f0a847b8
JB
24139 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
24140 rather than as part of the output file name.
24141
d6c1774e
JB
24142 * gdb.base/attach.exp: There's no need to copy the test program to
24143 /tmp; that was only ever necessary on HP/UX, and this test is
24144 entirely disabled there anyway.
24145
f0708dbb
JB
241462002-12-21 Jim Blandy <jimb@redhat.com>
24147
4c2acfea
JB
24148 * gdb.c++/psmang.exp: Doc fix.
24149
f0708dbb
JB
24150 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
24151 test.
24152
9579e000
DC
241532002-12-20 David Carlton <carlton@math.stanford.edu>
24154
24155 * gdb.c++/annota2.exp: KFAIL annotate-quit.
24156
d1810171
MC
241572002-12-18 Michael Chastain <mec@shout.net>
24158
24159 * gdb.c++/annota2.exp: Add copyright year 2002.
24160
76565097
DC
241612002-12-17 David Carlton <carlton@math.stanford.edu>
24162
24163 * gdb.c++/try_catch.cc: Add marker comments.
24164 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
24165 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
24166 * gdb.c++/m-static.cc: Ditto.
24167 * gdb.c++/m-static1.cc: Ditto.
24168 * gdb.c++/try_catch.cc: Ditto.
24169
da81390b
JJ
241702002-12-16 Jeff Johnston <jjohnstn@redhat.com>
24171
24172 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
24173 to see whether we are using the new -environment-directory
24174 command which resets via -r or the old version of the command
24175 which may prompt the user. Part of fix for gdb/741.
24176
b304d130
AC
241772002-12-13 Andrew Cagney <ac131313@redhat.com>
24178
24179 * gdb.fortran/types.exp: Update obsolete comment.
24180 * gdb.fortran/exprs.exp: Ditto.
24181 * lib/gdb.exp: Delete obsolete code.
24182 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
24183 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
24184 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
24185 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
24186 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
24187 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
24188 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
24189 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
24190 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
24191 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
24192 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
24193 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
24194 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
24195 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
24196 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
24197 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
24198 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
24199 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
24200 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
24201 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
24202 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
24203 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
24204 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
24205 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
24206 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
24207 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
24208 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
24209 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
24210 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
24211 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
24212 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
24213 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
24214 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
24215 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
24216 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
24217 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
24218 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
24219
a23b6e6a
DC
242202002-12-11 David Carlton <carlton@math.stanford.edu>
24221
24222 * gdb.c++/m-data.exp: Add test for members that shadow global
24223 variables: see PR gdb/804.
24224 * gdb.c++/m-data.cc: Ditto.
24225
6604731b
DJ
242262002-12-10 Daniel Jacobowitz <drow@mvista.com>
24227
24228 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
24229
de46ecd7
DC
242302002-12-06 David Carlton <carlton@math.stanford.edu>
24231
24232 * gdb.base/store.c: Don't declare functions static.
24233
27e829d0
AC
242342002-12-04 Andrew Cagney <ac131313@redhat.com>
24235
24236 * gdb.base/store.exp, gdb.base/store.c: New files.
24237
92806416
DJ
242382002-12-03 Daniel Jacobowitz <drow@mvista.com>
24239
24240 * gdb.base/selftest.exp: Update for current gdb.
24241
3bcbaac5
DJ
242422002-12-03 Daniel Jacobowitz <drow@mvista.com>
24243
24244 * gdb.base/maint.exp: Only dump symbols from one source file
24245 or objfile.
24246
f4f00b1f
DJ
242472002-12-03 Daniel Jacobowitz <drow@mvista.com>
24248
24249 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
24250 function call.
24251
f1c8a949
JB
242522002-11-25 Jim Blandy <jimb@redhat.com>
24253
24254 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
24255 function appearing in error message.
24256
9e297a97
DJ
242572002-11-21 Daniel Jacobowitz <drow@mvista.com>
24258
24259 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
24260
1f312e79
JJ
242612002-11-08 Jeff Johnston <jjohnstn@redhat.com>
24262
d63a86f8
RM
24263 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
24264 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
24265 should be in mi console format. This is part of fix for PR gdb/604.
24266
83c31e7d
FN
242672002-09-18 Fernando Nasser <fnasser@redhat.com>
24268
24269 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
24270 which explicitly prints the zero offset as "+0".
24271
322b3f65
DJ
242722002-10-22 Daniel Jacobowitz <drow@mvista.com>
24273
24274 * gdb.threads/schedlock.c (args): Make unsigned.
24275
242762002-10-21 Daniel Jacobowitz <drow@mvista.com>
24277
24278 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
24279 numbers. Allow "foo2|selected stack frame".
24280 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
24281 * gdb.asm/asmsrc2.s: Likewise.
24282 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
24283 comments.
24284 * gdb.asm/mips.inc: New file.
24285
5e2fe5b8
AF
242862002-10-18 Adam Fedor <fedor@gnu.org>
24287
24288 * gdb.base/default.exp: Update expected output to include 'ObjC'.
24289 * gdb.base/help.exp: Likewise.
24290
abe1a5d0
KB
242912002-10-17 Kevin Buettner <kevinb@redhat.com>
24292
24293 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
24294 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
24295
10abb1d4
JB
242962002-10-02 Jim Blandy <jimb@redhat.com>
24297
24298 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
24299
1f609b42
AC
243002002-10-01 Andrew Cagney <ac131313@redhat.com>
24301
24302 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
24303 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
24304 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
24305 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
24306 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
24307 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
24308 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
24309
0aee02e4
AC
243102002-09-29 Andrew Cagney <ac131313@redhat.com>
24311
24312 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
24313 * mi0-disassemble.exp, mi0-eval.exp: Delete.
24314 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
24315 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
24316 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
24317 * mi0-var-block.exp, mi0-var-child.exp: Delete.
24318 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 24319
6fde09ad
KB
243202002-09-27 Kevin Buettner <kevinb@redhat.com>
24321
24322 * gdb.base/annota1.exp (info break): Make directory components of
24323 path optional since not all compilers emit this debug information.
24324
889bf7c5
PA
24325 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
24326 step ends up stepping out of the function instead of stopping on
24327 the epilogue.
6fde09ad 24328
9e8aab75
KS
243292002-09-26 Keith Seitz <keiths@redhat.com>
24330
24331 * lib/insight-support.exp (gdbtk_start): Figure out where
24332 the insight executable is based on where gdb is. Use this
24333 executable to start insight instead of gdb.
24334
e36180d7
AC
243352002-09-25 Andrew Cagney <cagney@redhat.com>
24336
24337 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
24338
9dd34b2b
AC
243392002-09-24 Andrew Cagney <ac131313@redhat.com>
24340
24341 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
24342 test_isolated_complaints.
24343 (test_empty_complaint): New function.
24344 (test_empty_complaints): New function. Check no output when no
24345 complaints.
d63a86f8 24346
dea97812
KB
243472002-09-19 Jim Blandy <jimb@redhat.com>
24348
a9c64011 24349 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 24350
54951bd7
AC
243512002-09-19 Andrew Cagney <ac131313@redhat.com>
24352
24353 * gdb.gdb/complaints.exp: New file.
24354
dec43320
AC
243552002-09-18 Andrew Cagney <ac131313@redhat.com>
24356
24357 * gdb.base/maint.exp: Check `help maint internal-warning'.
24358
e70d6e3f
DC
243592002-09-18 David Carlton <carlton@math.stanford.edu>
24360
24361 * gdb.c++/m-static.exp: Remove breakpoints depending on line
24362 numbers, and replace them by a single breakpoint after the
24363 constructors are all finished.
24364 Add test 4.
24365 * gdb.c++/m-static.cc: Add test 4.
24366 * gdb.c++/m-static.h: New file.
24367 * gdb.c++/m-static1.cc: New file.
24368
24369 * gdb.c++/printmethod.exp: New file.
24370 * gdb.c++/printmethod.cc: New file.
24371
24372 * gdb.c++/pr-574.exp: New file.
24373 * gdb.c++/pr-574.cc: New file.
24374
afb5c968
CV
243752002-09-18 Corinna Vinschen <vinschen@redhat.com>
24376
24377 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
24378 embedded targets which never actually exit.
24379
31e45dee
FN
243802002-09-18 Fernando Nasser <fnasser@redhat.com>
24381
24382 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
24383 "don't step after run" as unresolved or unsupported, instead of xfail.
24384
a283c5a1
CV
243852002-09-18 Corinna Vinschen <vinschen@redhat.com>
24386
24387 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
24388 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
24389 Add newline to expected string in "step out of main (status wrapper)"
24390 case.
24391
11350d2a
CV
243922002-09-18 Corinna Vinschen <vinschen@redhat.com>
24393
24394 * lib/gdb.exp (rerun_to_main): Allow restarting application.
24395 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
24396
0deec7d6
TT
243972002-09-17 Tom Tromey <tromey@redhat.com>
24398
24399 * gdb.base/printcmds.exp (test_print_string_constants): Expect
24400 \000, not \0, in double-quoted string.
24401
b2b4a1b5
CV
244022002-09-14 Corinna Vinschen <vinschen@redhat.com>
24403
c9d37158 24404 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
24405 string after running the commands execution on breakpoint tests.
24406
1c56143a
CV
244072002-09-13 Corinna Vinschen <vinschen@redhat.com>
24408
24409 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
24410
37f8da45
JB
244112002-09-12 Joel Brobecker <brobecker@gnat.com>
24412
24413 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
24414
08b468e0
KS
244152002-09-10 Keith Seitz <keiths@redhat.com>
24416
24417 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
24418 runto proc.
24419 (mi_run_to_main): Use mi_runto.
24420 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
24421
dc360f58
KS
244222002-09-10 Keith Seitz <keiths@redhat.com>
24423
24424 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
24425 regexp for stopping at main. Could have multiple event notifications.
24426 Don't assume that main was declared with no parameters.
24427 (mi_next): Use mi_step_to.
24428 (mi_step): Use mi_next_to.
24429
ce3abcfb
CV
244302002-09-09 Corinna Vinschen <vinschen@redhat.com>
24431
24432 * gdb.base/default.exp: Fix expected string in `info float' test.
24433
d1f5b980
BE
244342002-09-09 Ben Elliston <bje@redhat.com>
24435
24436 * config/mips.exp: Update comments.
24437 * config/mips-idt.exp: Likewise.
24438 * config/nind.exp: Likewise.
24439 * config/slite.exp: Likewise.
24440 * config/sparclet.exp: Likewise.
24441 * config/udi.exp: Likewise.
24442 * config/vx.exp: Likewise.
24443 * config/vxworks29k.exp: Likewise.
24444
2f71430b
JB
244452002-09-05 Jim Blandy <jimb@redhat.com>
24446
24447 * gdb.threads/killed.exp: Fix test failure message.
24448
7ddebc7e
KS
244492002-09-04 Keith Seitz <keiths@redhat.com>
24450
24451 * lib/mi-support.exp: Update copyright.
24452 (mi_gdb_test): Increase the priority of the expected pattern
24453 so that it matches gdb_test.
24454
0ae67eb3
KS
244552002-09-03 Keith Seitz <keiths@redhat.com>
24456
24457 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
24458 Use integer comparison instead of string comparison for testing
24459 whether binary was built.
24460
38fc42c8
JB
244612002-09-03 Jim Blandy <jimb@redhat.com>
24462
24463 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
24464
b6ff0e81
JB
244652002-08-29 Jim Blandy <jimb@redhat.com>
24466
24467 * gdb.threads/pthreads.exp: Move the portable thread compilation
24468 code into a function in lib/gdb.exp, and call that from here.
24469 * lib/gdb.exp (gdb_compile_pthreads): New function.
24470
07c98896
KS
244712002-08-29 Keith Seitz <keiths@redhat.com>
24472
24473 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
24474 expect_out so that callers can get at it.
24475
0312286c
DJ
244762002-08-23 Daniel Jacobowitz <drow@mvista.com>
24477
24478 * gdb.threads/print-threads.c: New file.
24479 * gdb.threads/print-threads.exp: New file.
24480 * gdb.threads/schedlock.c: New file.
24481 * gdb.threads/schedlock.exp: New file.
24482
dd039bc4
EZ
244832002-08-22 Elena Zannoni <ezannoni@redhat.com>
24484
a9c64011
AS
24485 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
24486 not altivec.c.
dd039bc4 24487
1f36144c
MK
244882002-08-17 Mark Kettenis <kettenis@gnu.org>
24489
24490 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
24491 targets. The problem should be fixed now.
24492
16057ec7 244932002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
24494
24495 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
24496 2002-07-24 change that removes final dots from error messages.
24497
3c1499ad
TT
244982002-08-13 Tom Tromey <tromey@redhat.com>
24499
24500 * gdb.base/readline.exp: New file.
24501
a20ce2c3
AC
245022002-08-01 Andrew Cagney <ac131313@redhat.com>
24503
24504 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
24505 supress message.
24506
db034ac5
AC
245072002-08-01 Andrew Cagney <cagney@redhat.com>
24508
24509 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
24510 CHILL_FOR_TARGET and CHILL_LIB.
24511 * configure.in (configdirs): Remove gdb.chill.
24512 * configure: Regenerate.
24513 * lib/gdb.exp: Obsolete references to chill.
24514 * gdb.fortran/types.exp: Ditto.
24515 * gdb.fortran/exprs.exp: Ditto.
24516
3e000b18
KB
245172002-07-30 Kevin Buettner <kevinb@redhat.com>
24518
24519 * gdb.base/shlib-call.exp (additional_flags): Conditionally
24520 set Irix-specific compile and link flags.
24521
28f4966b
KB
245222002-07-29 Kevin Buettner <kevinb@redhat.com>
24523
24524 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
24525 source files. The ``-o'' option doesn't work with the ``-E'' option
24526 when using the Irix compiler.
24527
46c0d5a6
DJ
245282002-07-19 Daniel Jacobowitz <drow@mvista.com>
24529
24530 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
24531 Improve support for reusing an exec file. Copy exec file
24532 to target, and run gdbserver on the target instead of on the host.
24533
eecf4bed
JB
245342002-07-18 Jim Blandy <jimb@redhat.com>
24535
0f815cdf
JB
24536 * gdb.base/ending-run.exp: Don't expect to see the program end in
24537 some orderly fashion when we're running on a real stand-alone
24538 board.
24539
eecf4bed
JB
24540 * gdb.base/interrupt.exp: Correct logic for skipping tests on
24541 targets that don't support interrupts.
24542
52d309e4
JB
245432002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
24544
24545 * gdb.base/attach.exp: Add patterns to match output from /proc-based
24546 systems.
24547 Move comments in expect statements to inside the actions, so that they
24548 don't get matched against.
24549
ff683d9e
MK
245502002-07-10 Mark Kettenis <kettenis@gnu.org>
24551
24552 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
24553 function when asleep" test.
24554
b5356753
AC
245552002-07-10 Andrew Cagney <ac131313@redhat.com>
24556
24557 * gdb.base/page.exp: Rewrite to handle problems with very long
24558 `info set' output. Update copyright.
24559
6aa4d13a
AC
245602002-06-26 Andrew Cagney <ac131313@redhat.com>
24561
24562 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
24563 gdb.threads-hp.
24564 * gdb.hp/configure: Regenerate.
24565 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
24566 * gdb.hp/gdb.threads-hp/configure: Delete file.
24567 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
24568
8cf8c2b8
AC
245692002-06-22 Andrew Cagney <ac131313@redhat.com>
24570
24571 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
24572 setlocale, bindtextdomain and textdomain.
24573
6827a8f8
JB
245742002-06-11 Jim Blandy <jimb@redhat.com>
24575
919d772c
JB
24576 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
24577 preprocessor macro information is present.
24578
6827a8f8
JB
24579 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
24580 tests.
24581
c15b0d21
MS
245822002-06-06 Michael Snyder <msnyder@redhat.com>
24583
c5984d70
MS
24584 * gdb.base/overlays.exp: Record addresses of overlay
24585 functions in TCL variables rather than in GDB variables,
24586 to avoid having GDB convert them to pointers (with loss
24587 of information).
24588
d63a86f8 24589 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 24590 default linker script changes.
c15b0d21
MS
24591 * gdb.base/long_long.exp: Add check for sizeof (long double).
24592
be26fe0d
ML
245932002-06-06 Michal Ludvig <mludvig@suse.cz>
24594
24595 * gdb.asm/asm-source.exp: Add x86-64 target.
24596 * gdb.asm/x86_64.inc: New.
d63a86f8 24597
258093ca 245982002-05-30 Michael Chastain <mec@shout.net>
258093ca 24599
4b3153f1 24600 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
24601 * gdb.c++/m-static.cc: New file.
24602 * gdb.c++/m-static.exp: New file.
24603
241264c6
MS
246042002-05-28 Michael Snyder <msnyder@redhat.com>
24605
24606 * gdb.base/call-ar-st.exp: Allow for reduced floating point
24607 precision.
24608
9bba8c8f 246092002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 24610
4b3153f1 24611 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
24612 * gdb.c++/m-data.cc: New file.
24613 * gdb.c++/m-data.exp: New file.
24614
246152002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 24616
4b3153f1 24617 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 24618 * gdb.c++/try_catch.cc: New file.
d63a86f8 24619 * gdb.c++/try_catch.exp: New file.
9bba8c8f 24620
def1b996
MC
246212002-05-27 Michael Chastain <mec@shout.net>
24622
24623 * gdb.c++/local.exp: Accept more nested types in output.
24624
522ba268
MC
246252002-05-26 Michael Chastain <mec@shout.net>
24626
24627 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
24628
277254ba
MS
246292002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
24630
24631 * lib/gdb.exp (gdb_wrapper_init): Just because
24632 gdb_wrapper_file exists, this does not mean that the file
24633 should not be rebuilt. That is what gdb_wrapper_initialized
24634 is for.
24635 (default_gdb_init): Reset gdb_wrapper_initialized.
24636
b61a8733
MS
246372002-05-23 Michael Snyder <msnyder@redhat.com>
24638
d63a86f8 24639 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
24640 the precision of the floating point test results.
24641 * gdb.base/call-rt-st.exp: Ditto.
24642
b61a8733
MS
24643 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
24644 * gdb.base/call-rt-st.exp: Ditto.
24645
56f6e910
MC
246462002-05-19 Michael Chastain <mec@shout.net>
24647
24648 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
24649
ad0b0016
EZ
246502002-05-19 Elena Zannoni <ezannoni@redhat.com>
24651
a9c64011
AS
24652 * configure.in (configdirs): Add gdb.arch.
24653 * configure: Regenerate.
ad0b0016 24654
f617d2b6
JB
246552002-05-17 Jim Blandy <jimb@redhat.com>
24656
24657 * gdb.base/completion.exp: Recognize the more detailed error
24658 messages produced by the macro expander's lexical analyzer.
24659
eac2a696
EZ
246602002-05-14 Elena Zannoni <ezannoni@redhat.com>
24661
a9c64011
AS
24662 * gdb.arch/altivec-abi.c: New file.
24663 * gdb.arch/altivec-abi.exp: New file.
24664 * gdb.arch/altivec-regs.c: New file.
24665 * gdb.arch/altivec-regs.exp: New file.
eac2a696 24666
2fdde8f8
DJ
246672002-05-14 Daniel Jacobowitz <drow@mvista.com>
24668
24669 * gdb.base/maint.exp (maint print type): Update for new type
24670 structure.
d63a86f8 24671
e31f1a7c
EZ
246722002-05-14 Elena Zannoni <ezannoni@redhat.com>
24673
24674 * gdb.arch: New directory.
24675 * gdb.arch/configure.in: New file.
24676 * gdb.arch/configure: New file.
24677 * gdb.arch/Makefile.in: New file.
24678
db589741
CV
246792002-05-13 Corinna Vinschen <vinschen@redhat.com>
24680
24681 * gdb.asm/asm-source.exp: Add v850 as supported target.
24682 * gdb.asm/v850.inc: New file.
24683
8ce2a7dc
DJ
246842002-05-13 Daniel Jacobowitz <drow@mvista.com>
24685
24686 * gdb.c++/annota2.exp (annotate-quit): Add comment.
24687
df763c7f
DJ
246882002-05-12 Daniel Jacobowitz <drow@mvista.com>
24689
24690 * gdb.base/break.exp: Check 'break "marker2"'.
24691
377daeed
MS
246922002-05-10 Michael Snyder <msnyder@redhat.com>
24693
24694 * gdb.base/long_long.exp: Fix typo.
24695
c4b7bc2b
JB
246962002-05-10 Jim Blandy <jimb@redhat.com>
24697
ecac9a4e
JB
24698 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
24699 a bug.
24700
c4b7bc2b
JB
24701 * gdb.base/printcmds.exp (test_integer_literals_rejected):
24702 Recognize more detailed error message produced by the macro
24703 expander's lexical analyzer.
24704 * lib/gdb.exp (test_print_reject): Same.
24705
e71019a1
MK
247062002-05-09 Mark Kettenis <kettenis@gnu.org>
24707
24708 * gdb.c++/method.exp: Fix typo.
24709
fedfc8e6
MS
247102002-05-08 Michael Snyder <msnyder@redhat.com>
24711
166a1957
MS
24712 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
24713 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 24714 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
24715 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
24716 Add iftarget clause for strongarm.
d63a86f8 24717
f1c47eb2
MS
247182002-05-06 Michael Snyder <msnyder@redhat.com>
24719
cb9a9d3e
MS
24720 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
24721 (gdb_continue_to_end): Accept output from status wrapper.
24722 * gdb.base/ending-run.exp: Add case for output from status wrapper.
24723 Clean up fail messages to match pass messages.
24724
f1c47eb2
MS
24725 Enable the "needs_status_wrapper" testsuite feature.
24726 * lib/gdb.exp (gdb_wrapper_init): New procedure.
24727 (gdb_compile): Conditionally call gdb_wrapper_init.
24728 * gdb.base/a2-run.exp: Recognize output from status wrapper.
24729 * gdb.c++/method.exp: Recognize output from status wrapper.
24730
6079c749
BE
247312002-05-06 Ben Elliston <bje@redhat.com>
24732From Graydon Hoare <graydon@redhat.com>
24733
24734 * config/sid.exp: Include support for "rawsid" protocol.
24735
188baff3
JB
247362002-05-03 Jim Blandy <jimb@redhat.com>
24737
24738 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
24739 * gdb.c++/hang3.C: New file.
24740
b9c07f0f
AC
247412002-05-04 Andrew Cagney <ac131313@redhat.com>
24742
24743 * gdb.base/default.exp: Remove obsolete code.
24744 * gdb.c++/misc.exp: Ditto. Update copyright.
24745 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
24746 * gdb.base/whatis.exp: Ditto. Update copyright.
24747 * gdb.base/scope.exp: Ditto. Update copyright.
24748 * gdb.base/ptype.exp: Ditto. Update copyright.
24749 * gdb.base/printcmds.exp: Ditto. Update copyright.
24750 * gdb.base/opaque.exp: Ditto. Update copyright.
24751 * gdb.base/list.exp: Ditto.
24752 * gdb.base/funcargs.exp: Ditto. Update copyright.
24753 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
24754 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
24755 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
24756 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
24757 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
24758 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
24759
5c7a0397
MS
247602002-05-02 Michael Snyder <msnyder@redhat.com>
24761
d6dcc264 24762 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
24763 * gdb.base/long_long.exp: Add xscale target.
24764 * gdb.base/default.exp: Add xscale target.
24765
eb7f1c48
JB
247662002-05-01 Jim Blandy <jimb@redhat.com>
24767
24768 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
24769 gdb.c++/hang.exp: New test.
24770
a6befae8
FF
247712002-05-01 Fred Fish <fnf@redhat.com>
24772
24773 * gdb.base/completion.exp: Handle completions of "./Make" for
24774 more than one completion possibility, as is the case when we
24775 build and test in the source tree.
24776
0a310277
AG
247772002-04-29 Anthony Green <green@redhat.com>
24778
24779 * gdb.java/jmisc1.exp: New file.
24780 * gdb.java/jmisc2.exp: New file.
24781
6ff9af88
DJ
247822002-04-24 Daniel Jacobowitz <drow@mvista.com>
24783
24784 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
24785
96b3d632
EZ
247862002-04-23 Elena Zannoni <ezannoni@redhat.com>
24787
24788 * gdb.base/help.exp: Change 'help status' to allow for target
24789 dependent output differences.
24790
5019bb54
MC
247912002-04-22 Michael Chastain <mec@shout.net>
24792
24793 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
24794
a805a116
MC
247952002-04-22 Michael Chastain <mec@shout.net>
24796
24797 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
24798
a1706bfd
DM
247992002-04-17 David S. Miller <davem@redhat.com>
24800
24801 * gdb.asm/sparc64.inc: New file.
24802 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
24803
a73a20a2
EZ
248042002-04-19 Elena Zannoni <ezannoni@redhat.com>
24805
24806 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
24807 instruction file directly into the build tree. Clean up at end of
24808 test.
24809
ba678339
DM
248102002-04-18 David S. Miller <davem@redhat.com>
24811
24812 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
24813 handle 64-bit platforms correctly.
24814 * gdb.base/maint.exp: Likewise.
24815
b03399da
KB
248162002-04-18 Kevin Buettner <kevinb@redhat.com>
24817
24818 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
24819 ``-fpic'' when compiling files comprising a shared library, but
24820 it does need additional linker flags in order to find shared
24821 libraries at run time.
24822
e2004992
KB
248232002-04-18 Kevin Buettner <kevinb@redhat.com>
24824
24825 * gdb.base/cvexpr.c (use): New function.
24826 (main): Invoke use() on all global variables to prevent
24827 some linkers from deleting these otherwise unused symbols.
24828
d8937120
MC
248292002-04-17 Michael Chastain <mec@shout.net>
24830From David S. Miller <davem@redhat.com>
24831
24832 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
24833 handle 64-bit platforms correctly.
24834
ffd61a58
MS
248352002-04-12 Michael Snyder <msnyder@redhat.com>
24836From Jim Blandy <jimb@redhat.com>
a9c64011 24837 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
24838 script can handle this instead.
24839 * gdb.base/bar.c (barx): Same.
24840 * gdb.base/baz.c (bazx): Same.
24841 * gdb.base/grbx.c (grbxx): Same.
24842
24843 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
24844 manager doesn't automatically unmap overlays unnecessarily.
24845
6b8426a6
MH
248462002-04-10 Martin M. Hunt <hunt@redhat.com>
24847
24848 * gdb.base/ending-run.exp: Fix pattern for Mips targets
24849 stepping out of main.
24850
34af4875
MC
248512002-04-09 Michael Chastain <mec@shout.net>
24852
24853 * gdb.c++/local.cc (main): Move call to marker1() inside nested
24854 scope so that the nested scope tests will make sense.
24855 * gdb.c++/local.exp: Write patterns that actually work with gcc
24856 (the HP patterns "were never known to work with gcc").
24857 Keep the old aCC patterns too.
24858
2d1676a0
DJ
248592002-04-09 Daniel Jacobowitz <drow@mvista.com>
24860
24861 * gdb.base/attach.exp: Correct target board test.
24862
3a63e3f9
MC
248632002-04-08 Michael Chastain <mec@shout.net>
24864
24865 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
24866 in a const method. Add some xfail and fail cases for configurations
24867 that do not emit the "const ...".
24868
f18dabd2
MC
248692002-04-07 Michael Chastain <mec@shout.net>
24870
24871 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
24872 Accept "A * const" and "const A * const" as type of "this".
24873 Fix spelling of getFunky throughout. Make messages uniform.
24874
0fcddd82
EZ
248752002-04-07 Elena Zannoni <ezannoni@redhat.com>
24876
a9c64011 24877 Work around for PR gdb/285:
0fcddd82
EZ
24878 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
24879
16a8534a
EZ
248802002-04-07 Elena Zannoni <ezannoni@redhat.com>
24881
24882 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
24883 instructions file at run time instead of configure time.
24884 Sometimes we run the test in a directory that is not the one we
24885 configured in.
24886 * gdb.asm/configure.in: Delete creation of symlink.
24887 * gdb.asm/configure: Regenerate.
24888
24181d81
JB
248892002-04-05 J. Brobecker <brobecker@gnat.com>
24890
24891 * gdb.gdb/xfullpath.exp: New test, to exercise the new
24892 xfullpath () function.
24893
7cdb7107
DJ
248942002-04-04 Daniel Jacobowitz <drow@mvista.com>
24895
24896 * gdb.asm/Makefile.in: Correct dependencies.
24897
24898 * gdb.asm/powerpc.inc: New file.
24899 * gdb.asm/asm-source.exp: Add PowerPC.
24900 * gdb.asm/configure.in: Likewise.
24901 * gdb.asm/configure: Regenerated.
24902
a7d17088
DJ
249032002-04-04 Daniel Jacobowitz <drow@mvista.com>
24904
24905 * gdb.base/relocate.exp: New file.
24906 * gdb.base/relocate.c: New file.
24907
cd721503
FF
249082002-04-04 Fred Fish <fnf@redhat.com>
24909
24910 * gdb.base/step-test.exp: Update comment regarding stopping in
24911 memcpy/bcopy calls inserted as part of the compiler runtime.
24912
b22ad7a7
MS
249132002-04-04 Michael Snyder <msnyder@redhat.com>
24914
24915 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
24916
5f279fa6
DJ
249172002-04-03 Daniel Jacobowitz <drow@mvista.com>
24918
24919 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
24920 (gdb_expect): Remove $notransfer hack.
24921
dd0fd3ce
DJ
249222002-04-02 Daniel Jacobowitz <drow@mvista.com>
24923
24924 * gdb.c++/classes.exp ("calling method for small class"): Match
24925 updated register output.
24926
1e50cda1
DJ
249272002-03-30 Daniel Jacobowitz <drow@mvista.com>
24928
24929 Fix PR gdb/452
24930 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
24931 when finished. Make gdb_file_cmd send "exec-file" when
24932 appropriate.
24933
24015922
DJ
249342002-03-30 Daniel Jacobowitz <drow@mvista.com>
24935
24936 * gdb.base/attach.exp: Remove extra setup_xfail.
24937
dd7dfd64
MS
249382002-03-26 Michael Snyder <msnyder@redhat.com>
24939
24940 * gdb.base/default.exp: Add tests for dump, append, and restore.
24941 * gdb.base/help.exp: Add tests for dump, append, and restore.
24942 * gdb.base/dump.exp: New file, test dump, append and restore.
24943 * gdb.base/dump.c: New file.
24944
48b2f8d7
MS
249452002-03-27 Michael Snyder <msnyder@redhat.com>
24946
d63a86f8 24947 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
24948 clean-ups in help messages.
24949
05b4d525
FF
249502002-03-26 Fred Fish <fnf@redhat.com>
24951
24952 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
24953 have debugging info for those functions and the compiler uses them
24954 internally to copy structs around.
24955
d7679631
FF
249562002-03-26 Fred Fish <fnf@redhat.com>
24957
24958 * gdb.base/list.exp: Revert the change made yesterday and add note
24959 about why we don't list the default lines for remote targets.
24960
523ac3f9
MS
249612002-03-25 Michael Snyder <msnyder@redhat.com>
24962
24963 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
24964
754b2b8d
FF
249652002-03-25 Fred Fish <fnf@redhat.com>
24966
24967 * gdb.base/list.exp: This test works on remote targets so remove
24968 the short circuit for remote targets. Update copyright.
24969
33c3e192
FF
249702002-03-25 Fred Fish <fnf@redhat.com>
24971
24972 * gdb.base/attach.exp: Fix logic error that was suppressing this
24973 test for all non hppa*-*-hpux* targets, instead of the hp target.
24974 Move comments closer to the suppression point. Also now need to
24975 check that we are running natively.
24976
d43e73ee
MS
249772002-03-22 Michael Snyder <msnyder@redhat.com>
24978
882c8f02
MS
24979 * gdb.base/default.exp: Add test for gcore. Update copyright.
24980 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 24981
04c12f60
FF
249822002-03-06 Fred Fish <fnf@redhat.com>
24983
24984 * gdb.base/funcargs.c: Remove extraneous ';' character.
24985 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
24986
b43df995
MC
249872002-03-04 Michael Chastain <mec@shout.net>
24988
24989 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
24990 accommodate gcc v3 function signature.
24991 * gdb.mi/mi0-var-cmd-exp: Ditto.
24992
92362027
AC
249932002-02-24 Andrew Cagney <ac131313@redhat.com>
24994
24995 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
24996 ``GNU/Linux'' or ``Linux kernel''
24997 * testsuite/gdb.threads/pthreads.c: Ditto.
24998
258ad32d
MC
249992002-02-24 Michael Chastain <mec@shout.net>
25000
25001 * gdb.threads/pthreads.c (thread1): Add a return statement.
25002 (thread2): Likewise.
25003 (foo): Likewise.
25004
04c3b3d4
MC
250052002-02-23 Michael Chastain <mec@shout.net>
25006
25007 * gdb.threads/linux-dp.c (philosopher): Add a return statement
25008 to placate gcc.
25009
5a2a0a20
MC
250102002-02-23 Michael Chastain <mec@shout.net>
25011
25012 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
25013 test "ptype bint". The test passes on all my stabs configurations.
25014
a640f7fc
JB
250152002-02-21 Jim Blandy <jimb@redhat.com>
25016
27924826
JB
25017 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
25018 filename at a time, and watch for the ones we want to see.
25019
a640f7fc
JB
25020 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
25021 types of pointers to prototyped functions.
25022
edcc8c75
AC
250232002-02-20 Andrew Cagney <ac131313@redhat.com>
25024
25025 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
25026 signed, unsigned and straight char.
25027 (padding_char, padding_short, padding_int, padding_long,
25028 padding_long_long, padding_float, padding_double,
25029 padding_long_double): New global variables.
25030 (fill, fill_structs): New functions.
25031
25032 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
25033 for correctly sized writes. Update copyright.
25034 (get_valueof): New procedure.
25035 (get_sizeof): Call get_valueof.
25036 (check_valueof): New procedure.
25037 (check_padding): New procedure.
25038
ac57ea44
MC
250392002-02-20 Michael Chastain <mec@shout.net>
25040
25041 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
25042 to setup_xfail. Document some of the remaining calls.
25043
7a10c941
MC
250442002-02-18 Michael Chastain <mec@shout.net>
25045
25046 * gdb.c++/userdef.exp: Update copyright year.
25047
fb8acdcc
DJ
250482002-02-18 Daniel Jacobowitz <drow@mvista.com>
25049
25050 * gdb.c++/userdef.exp: Test overloaded operators properly.
25051 Remove xfails.
25052
fda6ae12
MS
250532002-02-14 Michael Snyder <msnyder@redhat.com>
25054
25055 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
25056
676a0442
DJ
250572002-02-14 Daniel Jacobowitz <drow@mvista.com>
25058
25059 * gdb.base/a2-run.exp: Check for a remote target properly.
25060 * gdb.base/annota1.exp: Likewise.
25061 * gdb.base/list.exp: Likewise.
25062 * gdb.base/reread.exp: Likewise.
25063 * gdb.base/scope.exp: Likewise.
25064 * gdb.base/shlib-call.exp: Likewise.
25065 * gdb.base/term.exp: Likewise.
25066 * gdb.c++/annota2.exp: Likewise.
25067
78b4f468
RE
250682002-02-13 Richard Earnshaw <rearnsha@arm.com>
25069
25070 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
25071
9a81ba51
MC
250722002-02-10 Michael Chastain <mec@shout.net>
25073
25074 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
25075 (call_after_alloca): Ditto.
25076
004af6c7
DJ
250772002-02-10 Daniel Jacobowitz <drow@mvista.com>
25078
25079 * gdb.base/ending-run.exp: Guard "cont" test with
25080 gdb_skip_stdio_test.
25081
37225f62
JB
250822002-02-06 Jim Blandy <jimb@redhat.com>
25083
25084 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
25085 from here...
25086 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
25087 To here. Disable this test on non-HP platforms. Add big comment.
25088
fe6fdd96
MS
250892002-02-04 Michael Snyder <msnyder@redhat.com>
25090
25091 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
25092 other than d10v and m32r.
25093
036fad3f
RE
250942002-02-02 Richard Earnshaw <rearnsha@arm.com>
25095
25096 * gdb.base/default.exp: Rewrite test patterns to reduce time
25097 taken to match them.
25098
7148ab62
DJ
250992002-01-30 Daniel Jacobowitz <drow@mvista.com>
25100
25101 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
25102 Allow a start function above main.
25103 * gdb.threads/linux-dp.exp: Fix copyright date.
25104
396cc255
DJ
251052002-01-30 Daniel Jacobowitz <drow@mvista.com>
25106
a9c64011
AS
25107 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
25108 (check_philosopher_stack): Check for manager thread before checking
25109 for a just-starting thread.
396cc255 25110
f038d31b
DJ
251112002-01-30 Daniel Jacobowitz <drow@mvista.com>
25112
25113 From Neil Booth <neil@daikokuya.demon.co.uk>:
25114 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
25115 warnings.
25116
b3ff9d9a
FF
251172002-01-21 Fred Fish <fnf@redhat.com>
25118
25119 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
25120 not caller.
25121
39ad761d
JB
251222002-01-21 Jim Blandy <jimb@redhat.com>
25123
25124 * gdb.base/reread.exp: Check that GDB properly re-reads the
25125 executable file when it changes while no inferior is running.
25126
aaf320fa
FF
251272002-01-21 Fred Fish <fnf@redhat.com>
25128
a9c64011
AS
25129 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
25130 optionally accept the "shlib events" variation.
aaf320fa 25131
808a31f5
JB
251322002-01-21 Jim Blandy <jimb@redhat.com>
25133
25134 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
25135 call `fflush' after every `printf', so that the output is produced
25136 at predictable points, regardless of whatever buffering does (or
25137 doesn't) take place.
25138 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
25139 at different points.
25140
4420d5e2
DJ
251412002-01-20 Daniel Jacobowitz <drow@mvista.com>
25142
25143 * gdb.c++/inherit.exp: Update copyright years.
25144 * gdb.c++/method.exp: Likewise.
25145
3e36a0f4
DJ
251462002-01-20 Daniel Jacobowitz <drow@mvista.com>
25147
25148 * gdb.c++/classes.exp: Update for improved v3 support and skipping
25149 artificial methods/arguments.
25150 * gdb.c++/derivation.exp: Likewise.
25151 * gdb.c++/inherit.exp: Likewise.
25152 * gdb.c++/method.exp: Likewise.
25153 * gdb.c++/virtfunc.exp: Likewise.
25154
b4ceaee6
AC
251552002-01-18 Andrew Cagney <ac131313@redhat.com>
25156
25157 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
25158 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
25159 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
25160 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
25161 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
25162 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
25163
ecace851
JB
251642002-01-17 Jim Blandy <jimb@redhat.com>
25165
25166 * gdb.asm/asm-source.exp (info symbol): Take another shot at
25167 anchoring the pattern matching the entry point symbol's name.
25168
375fc983
AC
251692002-01-17 Andrew Cagney <ac131313@redhat.com>
25170
25171 * gdb.base/maint.exp: Update ``maint internal-error'' to match
25172 continue/quit query. Update copyright.
25173
fe6fdd96
MS
251742002-01-14 Michael Snyder <msnyder@redhat.com>
25175
25176 * gdb.base/gcore.exp: Remove extra debugging output.
25177
e017c81f
DJ
251782002-01-13 Daniel Jacobowitz <drow@mvista.com>
25179
25180 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
25181 for slightly dubious v2 mangled string.
25182
37ab3bf8
DJ
251832002-01-13 Daniel Jacobowitz <drow@mvista.com>
25184
25185 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
25186
1bc05c3a 251872002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 25188
1bc05c3a 25189 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 25190
1bc05c3a
JM
25191 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
25192 constructors.
25193 * gdb.c++/derivation.exp: Likewise.
25194 * gdb.c++/templates.exp: Likewise.
25195 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 25196
1bc05c3a
JM
251972002-01-10 Michael Snyder <msnyder@redhat.com>
25198
25199 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 25200
a911c360
MS
252012002-01-08 Michael Snyder <msnyder@redhat.com>
25202
25203 * gdb.base/gcore.exp: New test for generate-core-file command.
25204 * gdb.base/gcore.c: Testcase for above.
25205 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
25206
ea2119ec
JM
252072002-01-08 Jason Merrill <jason@redhat.com>
25208
25209 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
25210
68203136
FF
252112002-01-07 Fred Fish <fnf@redhat.com>
25212
25213 * gdb.c++/overload.exp: Remove unconditional xfails for:
25214 print foo_instance1.overloadargs(1)
25215 print foo_instance1.overloadargs(1, 2)
25216 print foo_instance1.overloadargs(1, 2, 3)
25217 print foo_instance1.overloadargs(1, 2, 3, 4)
25218 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
25219 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
25220 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
25221 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
25222 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
25223 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
25224 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
25225 print foo_instance1.overload1arg()
25226 print foo_instance1.overload1arg((char)arg2)
25227 print foo_instance1.overload1arg((signed char)arg3)
25228 print foo_instance1.overload1arg((unsigned char)arg4)
25229 print foo_instance1.overload1arg((int)arg7)
25230 print foo_instance1.overload1arg((unsigned int)arg8)
25231 print foo_instance1.overload1arg((float)arg11)
25232 print foo_instance1.overload1arg((double)arg12)
d63a86f8 25233
21b9b5b1
MS
252342002-01-07 Michael Snyder <msnyder@redhat.com>
25235
25236 * gdb.base/huge.exp: New test. Print a very large target data object.
25237 (skip_huge_test): New test variable. Define if you want to skip this
25238 test. The test reads an 8 megabyte data object from the target, so it
25239 might be very time consuming on remote targets with a slow connection.
25240 * gdb.base/huge.c: New file. Test case for above.
25241
725f922e
FF
252422002-01-07 Fred Fish <fnf@redhat.com>
25243
25244 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
25245 g_instance.bfoo, and g_instance.cfoo.
25246
889bf7c5 252472002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 25248
889bf7c5
PA
25249 * gdb.base/break.c (multi_line_if_conditional): New function.
25250 (multi_ilne_while_conditional): Likewise.
25251 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
25252 IF or WHILE condition puts the breakpoint at the start of
25253 the condition.
f286b2c3 25254
634d57ec
JL
25255 * gdb.base/selftest.exp (backtrace through signal handler): Remove
25256 hppa*-*-hpux* expected failure.
25257 * gdb.base/structs.exp (do_function_calls): Similarly.
25258
25259 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
25260 watchpoints.
25261
9fbfe2dc
AC
252622002-01-06 Andrew Cagney <ac131313@redhat.com>
25263
25264 Fix PR gdb/66.
25265 * gdb.base/structs.exp: Replace skip for a29k with skip for
25266 gdb,cannot_call_functions.
25267 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
25268 * gdb.base/callfuncs.exp: Ditto.
25269 * gdb.base/call-rt-st.exp: Ditto.
25270 * gdb.base/call-strs.exp: Ditto.
25271 * gdb.base/callfwmall.exp: Ditto.
25272 * gdb.base/scope.exp: Obsolete xfail a29k.
25273 * gdb.c++/misc.exp: Ditto.
25274 * gdb.c++/cplusfuncs.exp: Ditto.
25275 * gdb.base/ptype.exp: Ditto.
25276 * gdb.base/printcmds.exp: Ditto.
25277 * gdb.base/opaque.exp: Ditto.
25278 * gdb.base/list.exp: Ditto.
25279 * gdb.base/funcargs.exp: Ditto.
25280 * gdb.base/default.exp: Ditto.
25281
8ddad156
MS
252822002-01-04 Michael Snyder <msnyder@redhat.com>
25283
ca4976a6 25284 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
25285 * gdb.base/maint.exp: Add tests for maint info sections options.
25286
1b074332
JL
25287Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
25288
25289 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
25290
7d159115
CV
252912001-12-20 Corinna Vinschen <vinschen@redhat.com>
25292
25293 * gdb.asm/arm.inc: New file.
25294 * gdb.asm/asm-source.exp: Add arm targets.
25295 * gdb.asm/configure.in: Ditto.
25296 * gdb.asm/configure: Recreated from configure.in.
25297
8fb87725
JL
25298Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
25299
afabe08c
JL
25300 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
25301 with HP's compiler.
25302 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
25303 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
25304 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
25305 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
25306
25307 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
25308 either HP's compilers or GCC.
25309
db521deb
JL
25310 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
25311 a SIGBUS or SIGSEGV.
25312
25313 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
25314
25315 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
25316 can be compiled with either HP's compiler or GCC.
25317
cfa88ab7
JL
25318 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
25319 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
25320 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
25321
ca344dff
JL
25322 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
25323 to match current gdb output. Update due to using auto-solib-limit
25324 for limiting instead of overloading auto-solib-add.
25325 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
25326 test program.
25327
3f3c6e55 25328 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
25329 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
25330 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
25331 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
25332 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
25333 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
25334 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
25335 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
25336 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
25337 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
25338 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
25339 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
25340 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 25341
8fb87725
JL
25342 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
25343 a SIGTRAP to the inferior.
25344
cf599fa7
CV
253452001-12-19 Corinna Vinschen <vinschen@redhat.com>
25346
25347 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
25348 Substitute call to target_link by call to gdb_compile.
25349
2cd045cd
JL
25350Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
25351
a9c64011
AS
25352 * gdb.base/break.exp: Fix HP specific search string when testing
25353 backtracing in a called function.
2cd045cd 25354
a9c64011
AS
25355 * gdb.base/constvars.exp: Only set lang to C++ if we're
25356 compiling the test with HP's compilers.
25357 * gdb.base/volatile.exp: Similarly.
2cd045cd 25358
99ebe9ac
JB
253592001-12-19 Jim Blandy <jimb@redhat.com>
25360
25361 * gdb.base/printcmds.exp: Expect the null character to be printed
25362 as '\0', and the '\013' to be printed as '\v'.
25363 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
25364 * gdb.base/setvar.exp: Same.
25365
b9891b29
JB
253662001-12-17 Jim Blandy <jimb@redhat.com>
25367
0eba65ab
JB
25368 * gdb.base/completion.exp: Rather than completing very long
25369 filenames, which can make the readline library produce output we
25370 don't recognize, cd to the directory first, and then complete
25371 using nice, short relative paths.
25372
6970b5b1
JB
25373 * gdb.base/completion.exp: On some systems, there is, in fact, a
25374 variable named `b' in scope, since GDB treats all static
a9c64011
AS
25375 variables as being in scope. So use `no_var_named_this'
25376 instead of `b'.
6970b5b1 25377
b9891b29 25378 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 25379 can't find the core file's registers as a failure.
b9891b29 25380
e6ccd35f
JSC
253812001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
25382
a9c64011
AS
25383 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
25384 test expect string more specific.
e6ccd35f 25385
105ba819
CV
253862001-12-13 Corinna Vinschen <vinschen@redhat.com>
25387
25388 * gdb.asm/asm-source.exp: Add support for xstormy16.
25389 * gdb.asm/configure.in: Ditto.
25390 * gdb.asm/configure: Rebuild.
25391 * gdb.asm/xstormy16.inc: New file.
25392
e9e79dd9
FF
253932001-12-10 Fred Fish <fnf@redhat.com>
25394
25395 * gdb.base/maint.exp: Update to match changes in type dumping code.
25396
347dc97d
JB
253972001-12-10 Jim Blandy <jimb@redhat.com>
25398
25399 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
25400 matching the entry point symbol's name at the beginning of the
25401 line.
347dc97d 25402
5178b9d6
DJ
254032001-12-07 Daniel Jacobowitz <drow@mvista.com>
25404
25405 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
25406 gdb.c++/inherit.exp, gdb.c++/method.exp,
25407 gdb.c++/namespace.exp, gdb.c++/templates.exp,
25408 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
25409 and class layout support.
25410
af890c52
DJ
254112001-12-07 Daniel Jacobowitz <drow@mvista.com>
25412
25413 * gdb.c++/classes.exp: Add test for static member function.
25414 * gdb.c++/misc.cc: Add class with static member function.
25415
7a345fb3
JB
254162001-12-07 Jim Blandy <jimb@redhat.com>
25417
f2e54a80 25418 If GDB says it can't find the struct the function returned, report
8032bf31
JB
25419 those tests as `unsupported'.
25420 * gdb.base/call-rt-st.exp (print_struct_call): New function.
25421 Rewrite subsequent tests to use it.
25422
25423 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
25424 those tests as `unsupported'.
25425 * gdb.base/structs.exp (call_struct_func): New function.
25426 (do_function_calls): Use call_struct_func to call the functions
25427 returning structs.
25428
0bc69509
JB
25429 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
25430 whether functions are prototyped or not, so we can't possibly pass
25431 arguments to t_float_values2 properly.
25432
7a345fb3
JB
25433 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
25434 value of `timeout' for targets other than the mips*tx39-*.
25435
edb6ede1
MS
254362001-12-06 Michael Snyder <msnyder@redhat.com>
25437
d63a86f8 25438 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
25439 and detect whether the start symbol has a leading underscore.
25440
2d842f13
JB
254412001-12-04 Jim Blandy <jimb@redhat.com>
25442
25443 * gdb.base/completion.exp: Clarify indentation.
25444
68550daf
JB
254452001-12-03 Jim Blandy <jimb@redhat.com>
25446
25447 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
25448 variables on the S/390, not `.word'.
25449
cd5195a8
JB
254502001-11-30 Jim Blandy <jimb@redhat.com>
25451
25452 Add assembly-source tests for s390-ibm-linux.
25453 * gdb.asm/s390.inc: New file.
25454 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
25455 the S/390 architecture.
a9c64011 25456 * gdb.asm/configure: Regenerated.
cd5195a8 25457
ca9efc90
MS
254582001-11-30 Michael Snyder <msnyder@redhat.com>
25459
25460 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
25461 next, info source, info sources, info line, global and static
25462 variables, and static functions.
25463 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
25464 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
25465 * gdb.asm/asmsrc1.s: Add a static function and some variables.
25466 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
25467 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
25468 (gdbasm_leave): Restore frame pointer.
25469 (gdbasm_startup): Copy stack set-up from crt0.S.
25470
d0e66976
FN
254712001-11-26 Fernando Nasser <fnasser@redhat.com>
25472
25473 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
25474 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
25475 to a local (non-static) variable. Copy tstruct.a to a static buffer
25476 and return a pointer to that buffer.
25477 * gdb.base/callfwmall.c (t_structs_a): Ditto.
25478
e2334072
MK
254792001-11-24 Mark Kettenis <kettenis@gnu.org>
25480
25481 * gdb.asm/configure.in: Fix recognition of ix86 target.
25482 * gdb.asm/configure: Regenerate.
25483
756caa3d
MS
254842001-11-21 Michael Snyder <msnyder@redhat.com>
25485
25486 * gdb.asm/sparc.inc: New file.
25487 * gdb.asm/asm-source.exp: Recognize sparc target.
25488 * gdb.asm/configure.in: Recognize sparc target.
25489 * gdb.asm/configure: Regenerate.
d63a86f8 25490
9a4d72d5
MS
254912001-11-21 Michael Snyder <msnyder@redhat.com>
25492
25493 * gdb.asm/m32r.inc: New file.
25494 * gdb.asm/asm-source.exp: Recognize m32r target.
25495 * gdb.asm/configure.in: Recognize m32r target.
25496 * gdb.asm/configure: Regenerate.
25497
a773d1cd
MS
254982001-11-20 Michael Snyder <msnyder@redhat.com>
25499
017ac23d
MS
25500 * gdb.asm/i386.inc: New file.
25501 * gdb.asm/asm-source.exp: Recognize ix86 target.
25502 * gdb.asm/configure.in: Recognize ix86 target.
25503 * gdb.asm/configure: Regenerate.
25504
a773d1cd
MS
25505 * gdb.c++/namespace.exp: Fix quotes in output messages.
25506
bb632afb
MS
255072001-11-14 Michael Snyder <msnyder@redhat.com>
25508
25d559ca 25509 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
25510 qualifier in a type cast expression, to designate an address
25511 in the instruction space (Harvard architecture).
25512
4749e309
MS
255132001-11-13 Michael Snyder <msnyder@redhat.com>
25514
25515 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
25516 Tests for expressions using 'const' and 'volatile'.
25517
25050984
CV
255182001-11-13 Corinna Vinschen <vinschen@redhat.com>
25519
25520 * gdb.asm/asm-sources.exp: Allow defining linker flags.
25521
1902c51f
DJ
255222001-11-12 Daniel Jacobowitz <drow@mvista.com>
25523
25524 * lib/mi-support.exp (mi_run_to_helper): Move comments
25525 outside of gdb_expect.
25526
dcf95b47
DJ
255272001-11-11 Daniel Jacobowitz <drow@mvista.com>
25528
25529 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
25530 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
25531 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
25532 mi0_run_to): New functions.
25533 * gdb.mi/mi-simplerun.exp: Use them.
25534 * gdb.mi/mi0-simplerun.exp: Likewise.
25535 * gdb.mi/mi-var-cmd.exp: Likewise.
25536 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 25537
45b074e1
AC
255382001-11-10 Andrew Cagney <ac131313@redhat.com>
25539
25540 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
25541 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
25542
bf50d346
AC
255432001-11-09 Andrew Cagney <ac131313@redhat.com>
25544
25545 * gdb.base/restore.exp: Include $expected value in restored test
25546 message.
25547
9383332c
AC
255482001-11-09 Andrew Cagney <ac131313@redhat.com>
25549
25550 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
25551 implemented.
25552
db62520a
MS
255532001-11-08 Michael Snyder <msnyder@redhat.com>
25554
25555 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
25556 Add pass/fail message for stop at breakpoint in call dummy function.
25557
b5703437
MS
255582001-11-07 Michael Snyder <msnyder@redhat.com>
25559
d63a86f8
RM
25560 * gdb.c++/templates.exp (test_template_breakpoints):
25561 If we get an overload menu, but it does not match what
760f6330 25562 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
25563 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
25564 making the whitespace optional. Argument for "new" may be
25565 "unsigned" as well as "unsigned int/long".
d63a86f8 25566 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
25567 making the whitespace optional. Also replace "(void) with
25568 "((void|)), making the keyword "void" optional.
d63a86f8 25569 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
25570 making the whitespace optional. Also replace "(void) with
25571 "((void|)), making the keyword "void" optional.
3bf40917
MS
25572 * gdb.base/callfuncs.c (t_float_values): This function must
25573 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 25574 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
25575 can be tested against both cases. Usually one case involves
25576 promotion of float to double, while the other does not.
25577 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
25578 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
25579 includes a stack frame for "start".
25580
c8ab4e6d
JB
255812001-11-05 Jim Blandy <jimb@redhat.com>
25582
25583 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
25584 pointers are 32 bits long, and that offsets of relocs are always
25585 stored in the data (REL-style), and not in the reloc entry itself
25586 (RELA-style).
25587 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
25588 stabs.
25589
3f08ced9
MS
255902001-11-01 Michael Snyder <msnyder@redhat.com>
25591
25592 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
25593 and regular expression operators by using quoting.
25594
cbfa24cd
MS
255952001-10-31 Michael Snyder <msnyder@redhat.com>
25596
25597 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
25598 depending on what the symbol table contains.
25599 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
25600 the output of the ptype command. Similarly, accept both "const &"
25601 and "const&".
25602
aaa68313
CV
256032001-10-31 Corinna Vinschen <vinschen@redhat.com>
25604
25605 * gdb.base/miscexprs.c (main): Add usage of preprocessor
25606 symbol `STORAGE' to allow to choose the storage class of
25607 the local datastructures.
25608 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
25609 compiler directive.
25610
91740388
MS
256112001-10-30 Michael Snyder <msnyder@redhat.com>
25612
25613 * gdb.base/jump.exp: Allow it to run for all targets.
25614
1b7c05e7
CV
256152001-10-29 Corinna Vinschen <vinschen@redhat.com>
25616
25617 * gdb.base/call-ar-st.c (print_double_array): Match for loop
25618 with new double_array size.
25619 (main): Change storage class of all local variables to static.
25620 Reduce size of double_array to 9.
25621 * gdb.base/call-ar-st.exp: Increase timeout value.
25622 Change expected output for double array to match new size in
25623 call-ar-st.c.
25624
36a22261
CV
256252001-10-29 Corinna Vinschen <vinschen@redhat.com>
25626
25627 * gdb.base/ending-run.exp: Create identical output when passing
25628 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 25629 Stormy16 target.
36a22261 25630
92b8ae91
MK
256312001-10-28 Mark Kettenis <kettenis@gnu.org>
25632
25633 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
25634 that we catch the expected failure under Linux/x86.
25635
cb135b83
OF
256362001-10-29 Orjan Friberg <orjanf@axis.com>
25637
25638 * gdb.base/setvar.exp: Escape curly braces.
25639 * gdb.stabs/weird.exp: Ditto.
25640
6884aa54
DJ
256412001-10-27 Daniel Jacobowitz <drow@mvista.com>
25642
25643 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
25644 * gdm.mi/mi0-hack-cli.exp: Likewise.
25645
0398c9aa
AC
256462001-10-25 Andrew Cagney <ac131313@redhat.com>
25647
25648 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
25649 messages.
25650
d20bf2e8
AC
256512001-10-21 Andrew Cagney <ac131313@redhat.com>
25652
25653 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
25654 checking MI enabled.
25655
03dd63aa
CV
256562001-10-09 Corinna Vinschen <vinschen@redhat.com>
25657
25658 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
25659
1d9d99f3
FCE
256602001-10-04 Frank Ch. Eigler <fche@redhat.com>
25661
25662 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
25663 if gdb child process crashes, just signal an error.
25664
838ae6c4
JB
256652001-10-02 Jim Blandy <jimb@redhat.com>
25666
25667 * lib/gdb.exp (test_xfail_format): Simplify.
25668
25669 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
25670 front of the variable name `format'. Simplify `if'.
25671
8f0cbc1c
DJ
256722001-10-01 Daniel Jacobowitz <drow@mvista.com>
25673
25674 * gdb.threads/pthreads.exp: Wait for output and delay
25675 before sending ^C.
25676
1f08dafd
DJ
256772001-10-01 Daniel Jacobowitz <drow@mvista.com>
25678
25679 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
25680 some incorrect output instead of timing out.
25681 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
25682
674f90ff
CV
256832001-09-28 Corinna Vinschen <vinschen@redhat.com>
25684
25685 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
25686 check to allow additional `int'.
25687
9b284272
DJ
256882001-09-27 Daniel Jacobowitz <drow@mvista.com>
25689
25690 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
25691 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
25692
b55a4771
MS
256932001-09-27 Michael Snyder <msnyder@redhat.com>
25694
25695 * lib/gdb.exp (test_debug_format): New proc.
25696 (setup_xfail_format): Use new proc test_debug_format.
25697 * gdb.base/constvars.exp (local_compiler_xfail_check): New
25698 proc; use new service proc test_debug_format.
25699 Replace all other "gcc_compiled" tests with this test.
25700 * gdb.base/volatile.exp (local_compiler_xfail_check): New
25701 proc; use new service proc test_debug_format.
25702 Replace all other "gcc_compiled" tests with this test.
25703
257042001-09-27 Michael Snyder <msnyder@redhat.com>
25705
25706 * gdb.base/cvexpr.exp: New file.
25707 * gdb.base/cvexpr.c: New file
25708 Test for expressions using const and volatile keywords.
25709
4e6667ac
CV
257102001-09-26 Corinna Vinschen <vinschen@redhat.com>
25711
25712 * gdb.base/constvars.exp: Check for different orders of keywords
25713 and additional "int" strings in output.
25714
4f337972
AC
257152001-09-22 Andrew Cagney <ac131313@redhat.com>
25716
25717 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
25718 responses from "help maint".
25719
2015650d
FCE
257202001-09-19 Frank Ch. Eigler <fche@redhat.com>
25721
25722 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
25723 to localhost:NNN instead of :NNN, in case Xvfb is listening
25724 only on TCP.
25725
f3bcedc1
CV
257262001-09-19 Corinna Vinschen <vinschen@redhat.com>
25727
25728 * gdb.base/recurse.exp: When checking leaving the watchpoint
25729 scope, recognize when gdb is in function's epilogue and pass.
25730
6b819c92
KS
257312001-09-18 Keith Seitz <keiths@redhat.com>
25732
25733 * lib/insight-support.exp (_gdbtk_export_target_info): Add
25734 support for running tests against sid targets.
25735 (gdbtk_done): Ditto.
25736
a10c9419
CV
257372001-09-18 Corinna Vinschen <vinschen@redhat.com>
25738
25739 * gdb.base/ending-run.c (main): Set stdout buffersize
25740 to the same reasonable value for any target.
25741 * gdb.base/ending-run.exp: Add a regular expression
25742 to make testsuite happy on Sanyo Stormy16 target.
25743
739d0d99
CV
257442001-09-17 Corinna Vinschen <vinschen@redhat.com>
25745
25746 * gdb.base/display.c (do_loops): Add float variable `f'.
25747 Increment f in loop.
25748 * gdb.base/display.exp: Increment timeout by 60 seconds.
25749 Change float display test to use variable `f'.
25750
1b8947f0
JB
257512001-09-17 Jim Blandy <jimb@redhat.com>
25752
25753 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
25754 overflowing the limited breakpoint tables on some ROM monitors
25755 (like the ROM68K).
25756
9890ac81
FCE
257572001-09-15 Frank Ch. Eigler <fche@redhat.com>
25758
25759 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
25760 the "-ac" (disable access control) flag.
25761
6db765ea
JH
257622001-08-30 Jeff Holcomb <jeffh@redhat.com>
25763
25764 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
25765 ints.
25766
4c32cc04
KS
257672001-08-30 Keith Seitz <keiths@redhat.com>
25768
25769 * lib/gdb.exp: Move all insight-related functionality into
25770 separate file.
25771 * lib/insight-support.exp: New file.
25772
8d6e6f81
FCE
257732001-08-29 Frank Ch. Eigler <fche@redhat.com>
25774
25775 * config/sid.exp (sid_start): Never set sid verbosity; disable
25776 expect_background {} that consumed its stdout; tolerate </dev/null.
25777 Attempt to set endianness override in "sid" protocol mode. Cleanup.
25778
6a90e1d0
AC
257792001-08-18 Andrew Cagney <ac131313@redhat.com>
25780
25781 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
25782 CLI jump command to start it.
25783 (mi_run_to_main): Fail immediatly when unexpected output.
25784
1759b3c3
AC
257852001-08-18 Andrew Cagney <ac131313@redhat.com>
25786
25787 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
25788 beginning of function. Fix PR gdb/191.
25789
61d11d80
FCE
257902001-08-16 Frank Ch. Eigler <fche@redhat.com>
25791
25792 * config/sid.exp (sid_start): Don't warn if we cannot figure out
25793 what to force sid endianness to.
25794
942a4df2
KS
257952001-08-15 Keith Seitz <keiths@redhat.com>
25796
25797 * lib/gdb.exp (gdbtk_start): Don't set environment
25798 variables for TCL_LIBRARY and friends. Insight will
25799 now figure these out for itself.
25800
0521c418
MS
258012001-08-02 Michael Snyder <msnyder@redhat.com>
25802
25803 * gdb.base/completion.exp: Remove the symbol "a64l" from
25804 the expect string; this is target-specific, and not related
25805 to what is being tested.
25806
74a9a58a
DB
258072001-08-02 Dave Brolley <brolley@redhat.com>
25808
25809 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
25810
c70819fa
MS
258112001-07-25 Michael Snyder <msnyder@redhat.com>
25812
c2b8fa57
MS
25813 * gdb.base/consecutive.exp: New file. Test stepping over
25814 breakpoints on consecutive instructions.
25815 * gdb.base/consecutive.c: New file.
25816
c70819fa
MS
25817 * gdb.base/call-rt-st.exp: Use double-backslash to quote
25818 curly braces in regular expressions.
25819
2b1a1355
MS
258202001-07-25 Michael Snyder <msnyder@redhat.com>
25821
25822 * gdb.base/ending-run.exp: Accept "Program exited normally" as
25823 legitimate output from stepping out of main.
25824
413eca6f
KS
258252001-07-22 Keith Seitz <keiths@redhat.com>
25826
25827 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
25828 the empty string, do not run the tests.
25829
7e5a9322
SC
258302001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25831
25832 * gdb.base/long_long.exp: Detect size of pointer. Take into
25833 account 2-byte pointers when testing for p/a results.
25834
de58f10f
SC
258352001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25836
d63a86f8 25837 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
25838 and defined to 1K for m68hc11.
25839 (random_data): Reduce table to 1K for embedded platforms (68hc11).
25840 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
25841 (sizeof_random_data): New variable to tell the size of the data table;
25842 don't test past this size; always run to main.
25843
d6f5fea1
SC
258442001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25845
25846 * gdb.base/return2.exp: return of long long and double fails for
25847 68HC11; don't execute these tests on that platform.
25848 * gdb.base/return.exp: Return of a double fails for 68hc11.
25849
c477543d
SC
258502001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
25851
25852 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
25853 tests that print a float.
25854 * call-rt-st.exp: Likewise.
25855
63cf1c79
MK
258562001-07-12 Mark Kettenis <kettenis@gnu.org>
25857
25858 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
25859 running this test on Linux.
25860
112f9ab5
MC
258612001-06-24 Michael Chastain <chastain@redhat.com>
25862
25863 * gdb.base/arithmet.exp: Remove some tests to make all test names
25864 unique.
25865
4970cb0f
MS
258662001-07-03 Michael Snyder <msnyder@redhat.com>
25867
25868 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
25869 the output of the ptype command.
25870
d85da69f
MS
258712001-07-02 Michael Snyder <msnyder@redhat.com>
25872
4c8a82de
MS
25873 * gdb.base/completion.exp: Don't assume that break.c is the only
25874 source file that may contain functions named "marker".
d85da69f
MS
25875 * gdb.base/corefile.exp: Quote the curly braces in regexp.
25876
8afc772b
AC
258772001-06-28 Andrew Cagney <ac131313@redhat.com>
25878
25879 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
25880 of files to delete.
25881
25882 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
25883 * gdb.disasm/h8300s.exp: New file.
25884 gdb.disasm/h8300s.s: Likewise.
25885
cff22675
AC
258862001-06-27 Andrew Cagney <ac131313@redhat.com>
25887
25888 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
25889 empty breakpoint tables.
25890
68c81b54
AC
258912001-06-25 Andrew Cagney <ac131313@redhat.com>
25892
25893 * lib/mi-support.exp: Update args=... part of stop-reason
25894 patterns. Accept either a list or a tuple.
25895
2dd62704
AC
258962001-06-23 Andrew Cagney <ac131313@redhat.com>
25897
25898 * lib/mi-support.exp: Remove local emacs variable defining
25899 change-log-default-name.
25900
b4127474
MC
259012001-06-22 Michael Chastain <chastain@redhat.com>
25902
25903 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
25904 This is operationally compatible with the previous version.
25905
8dbfb380
JB
259062001-06-13 Jim Blandy <jimb@redhat.com>
25907
25908 * lib/gdb.exp (gdb_test): Doc fix.
25909
f2d8c86d
MC
259102001-06-10 Michael Chastain <chastain@redhat.com>
25911
25912 * gdb.base/exprs.exp: Remove a duplicate test.
25913
81564d34
JB
259142001-06-06 Jim Blandy <jimb@redhat.com>
25915
25916 * gdb.base/return2.exp (main): Use values to test float and double
25917 returns that are not NaN's, to avoid being confused by IEEE
25918 comparison rules.
25919
da55addb
MS
259202001-06-04 Michael Snyder <msnyder@redhat.com>
25921
25922 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 25923 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
25924 rather than wait for 12 more tests to time out.
25925
42c65987
JB
259262001-06-06 Jim Blandy <jimb@redhat.com>
25927
b18bced9 25928 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 25929 Don't forget to match the GDB prompt.
b18bced9 25930
42c65987
JB
25931 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
25932
5b41e5f0
JB
259332001-06-04 Jim Blandy <jimb@redhat.com>
25934
25935 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
25936 command.
25937
015e046f
KB
259382001-05-31 Kevin Buettner <kevinb@redhat.com>
25939
25940 * gdb.base/annota1.exp (info break): Match four or more spaces
25941 after "Address".
25942
fb1ffbbe
MC
259432001-05-31 Michael Chastain <chastain@redhat.com>
25944
25945 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
25946 (dm_type_int_star): Likewise.
25947 (dm_type_long_star): Likewise.
25948 (dm_type_void_star): Likewise.
25949
5ea2a32c
KB
259502001-05-29 Kevin Buettner <kevinb@redhat.com>
25951
25952 * gdb.base/completion.exp (INPUTRC): Set this environment variable
25953 to a known value in order to get consistent results regardless
25954 of the setting of INPUTRC or the presence or contents of .inputrc.
25955
ae23c492
MS
259562001-05-24 Michael Snyder <msnyder@redhat.com>
25957
ac55707e
MS
25958 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
25959 Don't require that the main thread and the manager thread are the
25960 first in the list.
25961
ae23c492
MS
25962 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
25963 debugging. If test fails, issue an "unsupported" not a "fail".
25964
400071f1
JB
259652001-05-24 Jim Blandy <jimb@redhat.com>
25966
25967 Don't assume that short is shorter than int.
25968 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
25969 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 25970 this isn't true.
400071f1
JB
25971 ("print unsigned char == (~0)"): Add test that verifies that ~0,
25972 an int, is not equal to ~0 stored in an unsigned char. This tests
25973 the same thing that the previous test meant to, but works on
25974 16-bit machines, too.
25975 ("print unsigned char != (~0)"): Same test, complemented.
25976
0816a3e5
MS
259772001-05-24 Michael Snyder <msnyder@redhat.com>
25978
25979 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 25980 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
25981 and prevents dejagnu getting out of step.
25982
f6dc23a9
KB
259832001-05-23 Kevin Buettner <kevinb@redhat.com>
25984
25985 * gdb.base/finish.exp (finish_void): Revise pattern for
25986 stopping on the call statement to not permit stopping at
25987 the start of the instructions comprising the call sequence.
25988
7dbd117d
MC
259892001-05-19 Michael Chastain <chastain@redhat.com>
25990
25991 * gdb.base/callfuncs.exp: Make all test names unique.
25992 * gdb.base/commands.exp: Make all test names unique.
25993 * gdb.base/condbreak.exp: Make all test names unique.
25994 * gdb.base/dbx.exp: Make all test names unique.
25995 * gdb.base/default.exp: Make all test names unique.
25996 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
25997 and TIMEOUT messages to their corresponding PASS message.
25998 * gdb.base/ending-run.exp: Make all test names unique.
25999 * gdb.base/long_long.exp: Remove duplicate test.
26000
6b0b0a9e
KB
260012001-05-21 Kevin Buettner <kevinb@redhat.com>
26002
26003 * gdb.base/finish.exp (finish_void): Allow "finish" command to
26004 stop on the call statement as well as the statement after the
26005 call.
26006
2caa35cb
MS
260072001-05-21 Michael Snyder <msnyder@redhat.com>
26008
26009 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
26010
40713331
EZ
260112001-05-10 Elena Zannoni <ezannoni@redhat.com>
26012
a9c64011
AS
26013 * gdb.base/completion.exp: Revamp test. Make it execute on all
26014 platforms.
40713331 26015
c2c1be8d
EZ
260162001-05-10 Elena Zannoni <ezannoni@redhat.com>
26017
a9c64011
AS
26018 * config/gdbserver.exp (gdb_load): Handle the case
26019 in which the arguments to gdbserver are given in the
26020 baseboard configuration file.
26021 Also handle the case in which the server needs to do a
26022 load.
2c9cd303 26023
9671de48
KS
260242001-05-07 Keith Seitz <keiths@cygnus.com>
26025
a9c64011
AS
26026 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
26027 set up the display for testing.
26028 (gdbtk_start): Convert all paths to paths that tcl will like.
26029 Export target information to environment.
26030 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
26031 necessary.
26032 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
26033 (to_tcl_path): New proc to convert a given pathname into
26034 a path acceptible as an argument to a tcl command.
26035 (_gdbtk_export_target_info): New proc to export target info
26036 into the environment for gdbtk testing.
26037 (gdbtk_done): New proc to signal end-of-test.
9671de48 26038
5a360f47
JB
260392001-05-06 Jim Blandy <jimb@redhat.com>
26040
26041 * restore.c: Make the code of caller0 correspond to its comment.
26042
66c756c6
MS
260432001-05-03 Michael Snyder <msnyder@redhat.com>
26044
26045 * config/sid.exp (gdb_target_sid): Check for error messages.
26046 On error or timeout, don't make expect exit (which will terminate
26047 all subsequent tests); instead just make gdb exit.
d63a86f8 26048 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
26049 return a negative value.
26050
a966fde5
JB
260512001-04-24 Jim Blandy <jimb@redhat.com>
26052
851c18e0
JB
26053 * gdb.c++/templates.exp: If we see the prompt for the overload
26054 list, but we haven't recognized any of the longer patterns,
26055 arrange for this test to fail, not hang.
26056
a966fde5
JB
26057 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
26058 variations.
26059
db144853
MC
260602001-04-22 Michael Chastain <chastain@redhat.com>
26061
26062 * gdb.c++/local.exp: Use the 'runto' library function.
26063 * gdb.c++/namespace.exp: Likewise.
26064 * gdb.c++/overload.exp: Likewise.
26065
3207ec21
KB
260662001-03-26 Kevin Buettner <kevinb@redhat.com>
26067
26068 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
26069 * gdb.base/step-line.exp: New file. Test step/next in presence of
26070 #line directives.
26071 * gdb.base/step-line.c: New file. Test program for the above.
26072 * gdb.base/step-line.inp: New file. We pretend that this file has
26073 been transformed by some other tool into step-line.c.
26074
13b57657
JB
260752001-03-21 Jim Blandy <jimb@redhat.com>
26076
26077 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
26078 unmangled operator names.
26079
754cbe1c
JB
260802001-03-20 Jim Blandy <jimb@redhat.com>
26081
26082 * gdb.threads/linux-dp.exp: Recognize an additional message
26083 generated by GDB when it doesn't understand how to debug threads
26084 on the target system.
26085
177495c9
AC
260862001-03-19 Andrew Cagney <ac131313@redhat.com>
26087
26088 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
26089
f266096b
MC
260902001-03-12 Michael Chastain <chastain@redhat.com>
26091
26092 * gdb.c++/derivation.exp: Use the 'runto' library function.
26093
cac3c2ff
MC
260942001-03-12 Michael Chastain <chastain@redhat.com>
26095
26096 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
26097
b6c11a24
MC
260982001-02-24 Michael Chastain <chastain@redhat.com>
26099
26100 * gdb.c++/ref-types.exp: Change handwritten code to library
26101 function 'runto'.
26102
6bae5bce
OF
261032001-03-16 Orjan Friberg <orjanf@axis.com>
26104
26105 * gdb.base/signals.exp: Set count to 0 explicitly.
26106
0015fd9a
MS
261072001-03-15 Mark Salter <msalter@redhat.com>
26108
26109 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
26110 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
26111 (gdb_load): Add support for additional target_info: gdb_download_size
26112 and gdb_load_timeout.
0015fd9a 26113
fc33412a
DT
26114Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
26115
26116 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
26117 file -- to prevent failing when the compile fails but we have no
26118 intention of running the tests anyway.
fc33412a
DT
26119
26120 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
26121 tests if set.
26122
26123 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 26124 integers.
fc33412a
DT
26125
26126 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
26127 * gdb.c++/namespace.exp: Ditto.
26128
115f06de
OF
261292001-03-07 Orjan Friberg <orjanf@axis.com>
26130
26131 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
26132 * gdb.base/pointers.exp: Relax pattern match of decimals.
26133
b6ba6518
KB
261342001-03-06 Kevin Buettner <kevinb@redhat.com>
26135
26136 * Makefile.in, config/abug.exp, config/cfdbug.exp,
26137 config/cpu32bug.exp, config/dve.exp, config/est.exp,
26138 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
26139 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
26140 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
26141 config/sh.exp, config/sid.exp, config/slite.exp,
26142 config/sparclet.exp, config/udi.exp, config/unknown.exp,
26143 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
26144 config/vxworks.exp, config/vxworks29k.exp,
26145 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
26146 gdb.base/all-bin.exp, gdb.base/annota1.exp,
26147 gdb.base/arithmet.exp, gdb.base/assign.exp,
26148 gdb.base/async.exp, gdb.base/attach.exp,
26149 gdb.base/bitfields.exp, gdb.base/bitops.exp,
26150 gdb.base/break.exp, gdb.base/call-ar-st.exp,
26151 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
26152 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
26153 gdb.base/commands.exp, gdb.base/completion.exp,
26154 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
26155 gdb.base/constvars.exp, gdb.base/corefile.exp,
26156 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
26157 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
26158 gdb.base/ending-run.exp, gdb.base/environ.exp,
26159 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
26160 gdb.base/finish.exp, gdb.base/foll-exec.exp,
26161 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
26162 gdb.base/funcargs.exp, gdb.base/help.exp,
26163 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
26164 gdb.base/logical.exp, gdb.base/long_long.exp,
26165 gdb.base/maint.exp, gdb.base/mips_pro.exp,
26166 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
26167 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
26168 gdb.base/pointers.exp, gdb.base/printcmds.exp,
26169 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
26170 gdb.base/regs.exp, gdb.base/relational.exp,
26171 gdb.base/remote.exp, gdb.base/reread.exp,
26172 gdb.base/restore.exp, gdb.base/return2.exp,
26173 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
26174 gdb.base/selftest.exp, gdb.base/setshow.exp,
26175 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
26176 gdb.base/sigall.exp, gdb.base/signals.exp,
26177 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
26178 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
26179 gdb.base/step-test.exp, gdb.base/structs.c,
26180 gdb.base/structs.exp, gdb.base/structs2.exp,
26181 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
26182 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
26183 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
26184 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
26185 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
26186 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
26187 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
26188 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
26189 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
26190 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
26191 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
26192 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
26193 gdb.fortran/types.exp, gdb.java/jmisc.exp,
26194 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
26195 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
26196 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
26197 gdb.trace/circ.exp, gdb.trace/collection.exp,
26198 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
26199 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
26200 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
26201 gdb.trace/report.exp, gdb.trace/save-trace.exp,
26202 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
26203 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
26204 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
26205 notices.
26206
dc96c6c7 262072001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
26208
26209 * gdb.base/varargs.c (find_max_double): Fix printf format string:
26210 first arg is int not float.
26211
dc96c6c7 262122001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
26213
26214 * gdb.base/reread.exp: Unsupported for non-native targets;
26215 doesn't work for remote debugging.
26216
9b0c4aeb
FN
262172001-02-19 Fernando Nasser <fnasser@redhat.com>
26218
26219 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
26220 * gdb.base/ending-run.exp: Properly handle the BSP state when
26221 stepping past the end of main.
9b0c4aeb 26222
02aa71d5
MC
262232001-02-19 John Moore <jmoore@redhat.com>
26224
26225 * gdb.base/commands.exp (infrun_breakpoint_command_test):
26226 Converted HPUX fix for non-expected items following multiple
26227 step commands into general solution for all platforms.
26228
1fa449a4
MC
262292001-02-18 Michael Chastain <chastain@redhat.com>
26230
26231 * gdb.c++/classes.exp (do_tests): Change runto statements
26232 from "runto 'foo(void)'" to "runto 'foo'". This makes the
26233 statements demangler agnostic.
26234 * gdb.c++/virtfunc.exp (do_tests): Likewise.
26235 (gdb_virtfunc_restart): Likewise.
26236
b2f9ec70
MC
262372001-02-14 Michael Chastain <chastain@redhat.com>
26238
26239 * gdb.c++/inherit.exp (do_tests): Change runto statements
26240 from "runto 'foo(void)'" to "runto 'foo'". This makes the
26241 statements demangler agnostic.
26242
cf74b8ca
AC
26243Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
26244
26245 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
26246 ``continue to bkpt at common_routine in thread 2'' and ``stopped
26247 before calling common_routine 15 times'' tests.
cf74b8ca 26248
99f78f56
MC
262492001-02-11 Michael Chastain <chastain@redhat.com>
26250
26251 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
26252 Helps the test script figure out which demangler is in use.
26253 (dm_type_foo_ref): Ditto.
26254 (dm_type_int_star): Ditto.
26255 (dm_type_long_star): Ditto.
26256 (dm_type_unsigned_int): Ditto.
26257 (dm_type_void): Ditto.
26258 (dm_type_void_star): Ditto.
99707966 26259 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
26260 Probe the gdb demangler and set variables to accommodate
26261 formatting differences.
26262 (info_func_regexp): New function. Same as info_func, but
26263 matches against a regexp.
26264 (info_func): Match against a literal string.
26265 (print_addr_2): New function. Match against a literal string,
26266 which can be different from the input to gdb.
26267 (print_addr): Simply call print_addr_2 with the same argument twice.
26268 (test_lookup_operator_functions): Use demangler formatting variables.
26269 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
26270 the tests in the same order as the C++ class declaration.
26271 (test_paddr_operator_functions): Ditto.
26272 (test_paddr_overloaded_functions): Ditto.
26273 (test_paddr_hairy_functions): Use demangler formatting variables.
26274 Add reference to gdb/19 for related tests.
26275 (do_tests): Call probe_demangler.
26276
1de8f023
KB
262772001-01-30 Kevin Buettner <kevinb@redhat.com>
26278
26279 * gdb.c++/templates.cc (printf): Remove unused function definition.
26280
ca3f91ed
MS
262812001-01-26 Felix Lee <flee@redhat.com>
26282
26283 * sid.exp (sid_exit): Pass host, not target, to remote_close.
26284
262852001-01-25 matthew green <mrg@redhat.com>
26286
26287 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
26288 up sid.
26289 (sid_exit): Call `remote_pop_conn' after GDB is gone.
26290
262912001-01-25 matthew green <mrg@redhat.com>
26292
26293 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 26294 Deprecate $sid_spawn_id.
ca3f91ed
MS
26295 (sid_exit): Remove code necessary only for `spawn.'
26296
262972001-01-25 matthew green <mrg@redhat.com>
26298
26299 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
26300
fb18ec4a
MC
263012001-01-28 Michael Chastain <chastain@redhat.com>
26302
26303 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
26304 to call when tests fail. It takes gdb out of the overloaded
26305 function choice menu back to the main prompt, so that the test
26306 program stays synchronized.
26307 (set_bp_overloaded): New proc to collect all the common
26308 code for setting a breakpoint on an overloaded name. Calls
26309 take_gdb_out_of_choice_menu when needed.
26310 (menu_overload1arg): New variable to collect the repeated
26311 instances of the expected menu for an overloaded name. Change
26312 the regular expression to handle changes in g++ type encoding:
26313 "void" can be either "void" or "", and "unsigned int" can be
26314 either "unsigned int" or "unsigned".
26315 (continue_to_bp_overloaded): Change regular expressions to handle
26316 changes in g++ type encoding.
26317 (no proc): Call take_gdb_out_of_choice_menu when needed.
26318 Remove redundant calls to "info break". Accept either "canceled"
26319 or "cancelled". Change regular expressions in "info break"
26320 calls to handle changes in g++ type encoding. Give all tests
26321 unique strings.
26322
9c646a6e
BE
263232001-01-17 Ben Elliston <bje@redhat.com>
26324
26325 * config/sid.exp: New file.
26326
9549d9c1
AC
26327Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
26328
26329 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
26330
dc96c6c7 263312000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
26332
26333 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
26334 Add a RE to accept a non-ascii char if one is ever presented.
26335
b4df4f68
FN
263362000-12-20 Fernando Nasser <fnasser@redhat.com>
26337
297dd0fd 26338 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 26339
dc96c6c7 263402000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 26341
d63a86f8 26342 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
26343 in regexp. One '\' does not suffice on Linux.
26344
4a7bddb6
MC
263452000-12-09 Michael Chastain <chastain@redhat.com>
26346
26347 * gdb.base/break.exp (test_clear_command): Use a marker function
26348 rather than 'main' for the test function. Also move this
26349 test to an execution point where the marker function names are
26350 guaranteed to be bound to functions. (Executing tests after a
26351 'finish' from main runs into name conflicts with local names
26352 in __libc_start_main).
26353
dc96c6c7 263542000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
26355
26356 * gdb.base/finish.exp: New test for gdb's "finish" command.
26357 * gdb.base/return2.exp: New test for gdb's "return" command.
26358 * gdb.base/return2.c: New source file for above.
26359
dc96c6c7 263602000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
26361
26362 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
26363 * gdb.base/miscexprs.exp: Ditto.
26364 * gdb.base/pointers.exp: Ditto.
26365 * gdb.c++/derivation.exp: Ditto.
26366 * gdb.c++/local.exp: Ditto.
26367 * gdb.c++/namespace.exp: Ditto.
26368 * gdb.c++/overload.exp: Ditto.
26369 * gdb.c++/ref-types.exp: Ditto.
26370
dc96c6c7 263712000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
26372
26373 * gdb.base/constvars.exp: Test result of "up" command.
26374 * gdb.base/miscexprs.exp: Ditto.
26375 * gdb.base/pointers.exp: Ditto.
26376 * gdb.base/scope.exp: Ditto.
26377 * gdb.c++/derivation.exp: Ditto.
26378 * gdb.c++/local.exp: Ditto.
26379 * gdb.c++/namespace.exp: Ditto.
26380 * gdb.c++/overload.exp: Ditto.
26381 * gdb.c++/ref-types.exp: Ditto.
26382
44097287
FN
263832000-11-22 Michael Chastain <chastain@redhat.com>
26384
26385 * mips_pro.exp: Accept either "middle -> top -> main" or
26386 "middle -> main" in the backtrace, because gcc can optimize
26387 tail calls to jumps. Remove setup_xfail for the hppa case.
26388 Add a comment with the original warning messages from PR 3016,
26389 which was filed in 1993, to preserve them for posterity.
26390
9d2e1bab
ND
263912000-11-17 Nick Duffek <nsd@redhat.com>
26392
26393 * lib/gdb.exp (gdb_test): Override timeout with board info.
26394
1aca8eb7
ND
263952000-11-17 Nick Duffek <nsd@redhat.com>
26396
26397 * gdb.base/display.exp: Don't kill running stub. Add "again" to
26398 the second kill and detach messages.
26399
93076499
ND
264002000-11-17 Nick Duffek <nsd@redhat.com>
26401
26402 * configure.in: Add AC_EXEEXT.
26403 * configure: Regenerate.
26404 * Makefile.in (just-check): Export EXEEXT.
26405 * lib/gdb.exp ($EXEEXT): Import from environment.
26406 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
26407 expect "maint dump-me" on Cygwin.
26408 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
26409 $EXEEXT.
26410
30e87cd3
ND
264112000-11-17 Nick Duffek <nsd@redhat.com>
26412
26413 * gdb.base/break.exp: Test backtrace and finish from called
26414 function on all platforms, not just HP-UX.
26415
dc96c6c7 264162000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
26417
26418 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
26419 code from gdb_target_monitor, so it can be used independantly
26420 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 26421
dc96c6c7 264222000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
26423
26424 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
26425 * gdb.base/corefile.exp: Expect the message "Program is being
26426 debugged already" when we send the "corefile" command, since
26427 the preceeding gdb_load may have connected gdb to a remote target.
26428 * gdb.base/display.exp: Disable hardware watchpoints if new
26429 board info variable "no_hardware_watchpoints" is true.
26430 Replace single-letter commands with more readable ones.
26431 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
26432 if new board info variable "no_hardware_watchpoints" is true.
26433 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
26434 to see if stdio (printf) testing is possible.
26435 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
26436 board info variable "no_hardware_watchpoints" is true. Use new
26437 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
26438
39124dea
FN
264392000-11-13 Fernando Nasser <fnasser@redhat.com>
26440
26441 From Orjan Friberg <orjanf@axis.com>:
26442 * gdb.base/printcmds.exp: Escape curly braces followed by a number
26443 in array print pattern match.
26444
a9e2e984
FN
264452000-11-09 Fernando Nasser <fnasser@redhat.com>
26446
26447 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
26448 spelling "cancelled" to U.S. spelling "canceled" to match changes
26449 made to gdb.
26450 * gdb.c++/ovldbreak.exp: Ditto.
26451
c7db355b
PS
264522000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
26453
26454 * gdb.base/callfuncs.c (main): Moved to end of file, call
26455 t_double_values to initialize the FPU before inferior calls are made.
26456 * gdb.base/callfuncs.exp: Test for register preservation after calling
26457 inferior functions. Add tests for continuining, finishing and
26458 returning from a stop in a call dummy.
26459
dc96c6c7 264602000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
26461
26462 * gdb.base/commands.exp: Break up long lines, and re-indent.
26463
dc96c6c7 264642000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
26465
26466 * config/gdbserver.exp: Rewritten from the ground up, to make it
26467 compatible with the current dejagnu tree, and to make it work with
26468 the new "gdbserver" in libremote.
26469
dc96c6c7 264702000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
26471
26472 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
26473 * gdb.base/varargs.exp: Skip entire test if no printf support.
26474 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
26475 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
26476
dc96c6c7 264772000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
26478
26479 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
26480 no floating point support.
26481 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
26482 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
26483 * gdb.base/call-rt-st.exp: Ditto.
26484 * gdb.base/call-strs.exp: Ditto.
26485
bac5fc66
JG
264862000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
26487
26488 * gdb.base/sizeof.c: include <stdio.h>.
26489
26490 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
26491 'finish', otherwise uncaptured gdb_prompt would potentially
26492 throw remaining test points out of sync.
bac5fc66 26493
b22a6027
SB
264942000-07-26 Scott Bambrough <scottb@netwinder.org>
26495
26496 * gdb.base/recurse.exp: Run tests for all targets.
26497 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
26498 gnu-oldld case on ARM.
26499 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
26500 for ARM targets.
d63a86f8 26501
d8231941
AG
26502Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
26503
26504 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
26505 * gdb.java/configure: Rebuild.
26506
8caabe69
AG
26507Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
26508
26509 * gdb.java/jv-exp.exp: New file.
26510
9d273ca3
AG
26511Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
26512
26513 * configure: Rebuilt.
26514 * configure.in (configdirs): Add gdb.java.
26515 * gdb.java/jmisc.java: New file.
26516 * gdb.java/jmisc.exp: New file.
26517 * gdb.java/Makefile.in: New file.
26518 * gdb.java/configure: Rebuilt.
26519 * gdb.java/configure.in: New file.
26520 * lib/java.exp: New file.
26521
4f823a66
AC
26522Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
26523
26524 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 26525 underflow.
4f823a66 26526
2391e11d
AC
26527Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
26528
26529 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 26530 and the compilers sizes.
2391e11d 26531
54602222
ND
265322000-07-09 Nick Duffek <nsd@redhat.com>
26533
26534 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
26535 (use_methods): New function.
26536 (main): Call use_methods().
26537 * gdb.c++/classes.exp (test_method_param_class): New procedure.
26538 (do_tests): Call test_method_param_class.
26539
2bec0572
ND
265402000-07-09 Nick Duffek <nsd@redhat.com>
26541
26542 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
26543 spelling.
26544 (test_enums): New procedure. Move enum tests from end of script
26545 to here. Set breakpoint on function name instead of line number.
26546 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
26547 (enums2): New marker function.
26548 (enums1): New function.
26549 (main): Call enums1(). Move enum tests to enums1().
26550
78492fde
AC
26551Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
26552
26553 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 26554 compile/link program. Update line numbers.
78492fde
AC
26555 * gdb.asm/d10v.inc: Define ``startup''.
26556 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 26557
49a2cef8
AC
26558Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
26559
26560 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
26561
3e6c8688
EZ
265622000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26563
26564 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 26565 of 'help maint print' command.
3e6c8688 26566
9ff5cbe9
AC
26567Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
26568
26569 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 26570 they use gdb_expect_list.
9ff5cbe9 26571
17c579bd
AC
26572Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
26573
26574 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
26575 memory-read-packet-size'' instead of ``set endian big'' to test
26576 long commands.
17c579bd 26577
e6d71bf3
DB
265782000-06-03 Daniel Berlin <dan@cgsoftware.com>
26579
26580 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 26581 g++, and stop skipping them.
e6d71bf3
DB
26582
26583 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
26584 work under g++.
26585
d63a86f8 26586 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
26587 initialization.
26588
dc96c6c7 265892000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
26590
26591 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
26592 the regular expression: accept an (almost) arbitrary sequence of
26593 "frames-invalid" and "breakpoints-invalid" messages both before
26594 and after the "starting" message.
26595
dc96c6c7 265962000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
26597
26598 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 26599
dc96c6c7 266002000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
26601
26602 * gdb.base/annota1.exp (annotate-signal-handler-caller):
26603 Relax the regular expression a little, make it pass on Solaris 8.
26604
8216cda9
KB
266052000-05-12 Kevin Buettner <kevinb@redhat.com>
26606
26607 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 26608 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
26609 Instead, it is permissible for gdb to stop on the line of the
26610 call itself.
26611
1a570b2f
MS
266122000-05-12 Michael Snyder <msnyder@.cygnus.com>
26613
26614 * gdb.base/break.exp (bp on small function, optimized file):
26615 Add a second pass pattern. The behavior differs here between stabs
26616 and dwarf for one-line functions. Stabs preserves two line symbols
26617 (one before the prologue and one after) with the same line number,
26618 but dwarf regards these as duplicates and discards one of them.
26619 Therefore the address after the prologue (where the breakpoint is)
26620 has no exactly matching line symbol, and GDB reports the breakpoint
26621 as if it were in the middle of a line rather than at the beginning.
26622
dc96c6c7 266232000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 26624
d63a86f8 26625 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
26626 rather than "send_gdb" (for consistancy).
26627
7d418785
AC
26628Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
26629
26630 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
26631 * gdb.c++/templates.cc: Properly check for GCC version number.
26632 * lib/compiler.cc: Likewise
26633
dc96c6c7 266342000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 26635
d63a86f8 26636 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
26637 gdb may not stop at the first line of main, due to code motion.
26638
dc96c6c7 266392000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
26640
26641 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
26642 This test depends on parsing the printf output from the target.
26643 Since the sparclet stub doesn't do stdio, this will never work.
26644 * gdb.base/call-rt-st.exp: ditto.
26645 * gdb.base/call-strs: ditto.
26646
dc96c6c7 266472000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
26648
26649 * gdb.base/miscexprs.exp: make sizeof long array test portable.
26650
26651 * gdb.base/ending-run.exp: After connecting to a remote target,
26652 but before running, the target will appear to be in a random
26653 location. Specify both a file and a line for breakpoints.
26654 Also, the function that calls main may be called 'init'
26655 rather than 'start'.
26656
a5a51225
EZ
266572000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26658
26659 * gdb.base/help.exp: Update output for add-symbol-file command.
26660
7930cc7c
FN
266612000-04-10 Fernando Nasser <fnasser@cygnus.com>
26662
26663 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
26664 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
26665
23e37ab1
C
266662000-04-07 J.T. Conklin <jtc@redback.com>
26667
e93c542c
C
26668 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
26669
23e37ab1
C
26670 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
26671
591b8fa3
PDM
26672Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
26673
26674 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 26675 values that can be represented exactly.
591b8fa3
PDM
26676 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
26677 above change, and to not check against the directory part of the source
26678 file name.
26679 (step into print_long_arg_list): Likewise.
26680 (print print_small_structs from print_long_arg_list): Likewise.
26681 (print print_long_arg_list): Likewise.
26682
7a495180
EZ
266832000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26684
30b53638 26685 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 26686
beb998c6
AC
26687Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
26688
26689 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
26690
1c689132
DB
266912000-03-25 Daniel Berlin <dan@cgsoftware.com>
26692
26693 * gdb.base/commands.exp (deprecated_command_test): Add test for
26694 deprecate with no arguments.
26695
c1790a9d
JL
266962000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
26697
26698 * gdb.base/break.exp: Add new test for setting breakpoints on
26699 optimized code so we can test breakpoints work even when function
26700 prologues may be optimized away
26701
003ba290
FN
267022000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
26703
26704 From David Whedon <dwhedon@gordian.com>
a9c64011 26705 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 26706
6837a0a2
DB
267072000-03-22 Daniel Berlin <dan@cgsoftware.com>
26708
26709 * gdb.base/help.exp: Added test for new apropos command.
26710
b9593231
KB
267112000-03-21 Kevin Buettner <kevinb@redhat.com>
26712
26713 * gdb.base/pointers.c (usevar): New function.
26714 (main): Make sure that global variables v_int_pointer2, rptr,
26715 and y are all referenced someplace in the program by calling
26716 usevar() on them. [Some linkers delete symbols which are
26717 never referenced. The space remains, but there's no way to
26718 get a (symbolic) handle on the variable from the debugger.]
26719
751a959b
EZ
267202000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26721
26722 * gdb.base/printcmds.c: Add typedeffed arrays.
26723
26724 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 26725 procedure to test arrays that are typedef'd.
751a959b 26726
73a93a32
JI
267272000-03-13 James Ingham <jingham@leda.cygnus.com>
26728
26729 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 26730 the library directories.
73a93a32 26731
fb40c209
AC
26732Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
26733
26734 * configure.in (configdirs): Add sub directory gdb.mi.
26735 * configure: Re-generate.
26736
26737 * gdb.mi: New directory.
d63a86f8 26738
ee4dd2c9
AC
267392000-02-25 Scott Bambrough <scottb@netwinder.org>
26740
26741 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 26742 a long long value as a double on ARM platforms.
ee4dd2c9 26743
70f0cc22
JB
267442000-02-16 Jim Blandy <jimb@redhat.com>
26745
26746 * gdb.base/break.exp ("breakpoint line number"): Make sure the
26747 default source file is set properly before running this test.
26748
853819b8
EZ
267492000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26750
26751 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 26752 gdbtk/library directory, not in gdbtcl2.
853819b8 26753
dfcd3bfb
JM
267542000-02-04 Jim Blandy <jimb@redhat.com>
26755
26756 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
26757 backslash from regexp pattern.
26758
26759 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
26760 procedure. Use it to run all the "continue to bp overloaded"
26761 tests. Note that this changes the names of the tests slightly.
26762 If the breakpoint hit message includes a hex PC value, because
26763 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
26764 from the real source code, still consider that a pass.
26765
26766 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
26767 XFAIL here if the breakpoint message contains a hex address. Note
26768 similar change on 1999-11-02.
26769
26770 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
26771
26772 * gdb.base/ptype.exp: Establish a default source file before
26773 calling get_debug_format.
26774
267752000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
26776
26777 * gdb.base/watchpoint.exp: Remove duplication of test messages.
26778
8b93c638
JM
267792000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
26780
26781 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
26782 of successive stepi commands -- while in the prologue we should see
26783 the function entry bracket.
26784
267852000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
26786
26787 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
26788 reach __change_mode() when stepping through the end of main().
26789
c5394b80
JM
267902000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
26791
26792 * gdb.base/default.exp: Fix expected pattern.
26793 * gdb.base/help.exp: Same.
26794
0d06e24b
JM
267952000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26796
26797 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 26798 Don't use xfail's because that affects only the following test.
d63a86f8 26799
0d06e24b 26800 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 26801 solaris or linux.
0d06e24b
JM
26802
26803 * gdb.base/selftest.exp: Update to reflect changes to main.c.
26804
dc96c6c7 268052000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 26806
d63a86f8 26807 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
26808 "A syntax error" rather than "A parse error". Accept both.
26809
268102000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
26811
26812 * gdb.base/default.exp: Remove OS dependent string from "target
26813 remote" test.
26814 * gdb.base/help.exp: Same for "help target remote" test.
26815
c3f6f71d
JM
268162000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26817
26818 From Jim Kingdon <kingdon@redhat.com>:
26819
26820 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
26821 prompt (cleanup rather than necessity, but still might keep output
26822 from spilling to next test).
c3f6f71d
JM
26823
268242000-01-02 Fred Fish <fnf@cygnus.com>
26825
26826 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
26827 AIX, which defines them in <sys/types.h>.
26828
ed9a39eb 268291999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 26830
ed9a39eb 26831 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 26832 float" test.
ed9a39eb
JM
26833
268341999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 26835
ed9a39eb 26836 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
26837
26838 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
26839 outermost frame disallowed".
26840
268411999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
26842
26843 * gdb.base/setvar.exp: New tests for setting the value of a struct
26844 with a constant list.
26845
268461999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26847
26848 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
26849 require the user to type a cast before setting the value of a struct.
26850
de57eccd
JM
268511999-12-06 Jim Blandy <jimb@cygnus.com>
26852
26853 * gdb.base/default.exp: Expect the new 'info float' command on
26854 all i386 platforms.
26855
26856 * gdb.threads/linux-dp.exp: Expand our ability to recognize
26857 LinuxThreads libraries that don't support debugging.
26858
c2d11a7d
JM
26859Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
26860
26861 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
26862 Change the buffer type to ``unsigned char'' to simplify size
26863 arithmetic.
c2d11a7d
JM
26864
26865 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
26866 stub only handles 400-1 byte packets. Verify that the download
26867 worked.
c2d11a7d
JM
26868
268691999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
26870
26871 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
26872 tests, using UNRESOLVED for the untested cases. Also, does not wait
26873 for a timeout if the prompt was received before a recognizable pattern.
26874
268751999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
26876
26877 * lib/gdb.exp (gdb_expect_list): Fix spelling.
26878
268791999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26880
26881 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 26882 watchpoints.
c2d11a7d
JM
26883
268841999-11-24 Jason Merrill <jason@casey.cygnus.com>
26885
26886 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
26887
26888 * gdb.c++/local.exp: Be more flexible in recognizing local class
26889 name mangling. Don't allow horribly truncated method names.
26890 * gdb.c++/derivation.exp: Expect protected inheritance.
26891 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
26892 * gdb.c++/virtfunc.exp: Likewise.
26893 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
26894 when printing a nested enum.
26895
268961999-11-22 Jim Blandy <jimb@cygnus.com>
26897
26898 * gdb.base/step-test.exp: Properly await GDB's response to setting
26899 a breakpoint on the call to large_struct_by_value.
26900
26901 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
26902 just because we have debug info for the `start' function.
26903
269041999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
26905
26906 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
26907 "Unknown signal" messages, which indicate (on LinuxThreads) that
26908 GDB doesn't know how to debug threads on this system. This is
26909 better than hanging while philosopher 0 dumps chatter into gdb.log.
26910
269111999-11-18 Tom Tromey <tromey@cygnus.com>
26912
26913 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
26914
269151999-11-18 Fred Fish <fnf@cygnus.com>
26916
26917 * gdb.base/coremaker2.c: Add sample program for generating
26918 cores that is more self contained than coremaker.c. Eventually
26919 I'll add more code to this and tie it into the testsuite.
26920
4ce44c66
JM
269211999-11-12 Stan Shebs <shebs@andros.cygnus.com>
26922
26923 * gdb.base/dollar.exp: Remove, now in gdb.hp.
26924
269251999-11-10 Jimmy Guo <guo@cup.hp.com>
26926
26927 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 26928 from $srcdir/lib/.
4ce44c66 26929 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 26930 and gdb.c++/.
4ce44c66
JM
26931
26932 * gdb.c++/derivation.exp: remove redundant get compiler info code.
26933
d63a86f8 26934 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
26935 'continue with watch' test point.
26936
269371999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
26938
26939 Merged from p2linux-990323-branch:
d63a86f8 26940
4ce44c66
JM
26941 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
26942
11cf8741
JM
26943Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
26944
26945 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 26946 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
26947
26948Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
26949
26950 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 26951 gdb_expect_list.
11cf8741
JM
26952
26953Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
26954
26955 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
26956
269571999-11-03 Mark Salter <msalter@cygnus.com>
26958
26959 * gdb.base/break.exp: Fix "stub continue" pattern.
26960
269611999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
26962
26963 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
26964
269651999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
26966
26967 * gdb.base/display.exp ("finish"): Add timeout clause.
26968
26969 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
26970 plain prompt clause, so this doesn't have to time out in order to
26971 fail.
26972
26973 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 26974 breakpoint hit messages include an address.
11cf8741
JM
26975
26976 * gdb.base/display.exp: Don't forget to escape parens in regular
26977 expressions. Unix regexp notatation sucks.
26978
269791999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26980
26981 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 26982 order for 'signalled' message.
11cf8741 26983
5c44784c
JM
269841999-11-01 Stan Shebs <shebs@andros.cygnus.com>
26985
26986 From Jimmy Guo <guo@cup.hp.com>:
26987 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
26988 * gdb.base/annota1.c: Add code for tests to work with.
26989
269901999-10-26 Frank Ch. Eigler <fche@cygnus.com>
26991
26992 * gdb.base/remote.exp: New test for remote downloading settings.
26993 * gdb.base/remote.c: New file with large .data.
26994
917317f4
JM
269951999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
26996
26997 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
26998 for LinuxThreads support, merged from the Code Fusion branch.
26999
27000Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
27001
27002 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
27003 containing exp_continue into a while within an expect. Don't
27004 attempt a start more than three times. Check return value from
27005 gdb_load.
d63a86f8 27006
2df3850c
JM
27007Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
27008
27009 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 27010 a pass case.
2df3850c 27011
2acceee2
JM
270121999-10-01 Kevin Buettner <kevinb@cygnus.com>
27013
27014 * gdb.base/break.c (main): Added a statement that we can step
27015 off of.
27016 * gdb.base/break.exp: Added tests for setting a breakpoint
27017 at an offset and stepping onto a breakpoint.
27018
270191999-10-01 Fred Fish <fnf@cygnus.com>
27020
d63a86f8 27021 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
27022 gdb output.
27023
c2c6d25f
JM
270241999-09-18 Jim Blandy <jimb@cris.red-bean.com>
27025
27026 * gdb.base/break.exp: Code locations are in hex, don't forget!
27027 (For HP-UX.)
27028
270291999-09-17 Stan Shebs <shebs@andros.cygnus.com>
27030
27031 * condbreak.exp: Use break.c as test program.
27032 * condbreak.c: Remove, redundant with break.c.
27033
270341999-09-15 Stan Shebs <shebs@andros.cygnus.com>
27035
27036 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 27037 Z-packets if the target needs it.
c2c6d25f
JM
27038
270391999-09-13 James Ingham <jingham@leda.cygnus.com>
27040
27041 * gdb.c++/overload.exp: Added tests for listing overloaded
27042 functions with function pointers in the arg, explicitly calling
27043 out the version you want.
27044
cff3e48b
JM
270451999-09-09 Stan Shebs <shebs@andros.cygnus.com>
27046
27047 * long_long.exp: Add variations of test cases that work for
27048 targets with 16-bit ints and 32-bit doubles.
27049
d4f3574e
SS
270501999-09-08 Stan Shebs <shebs@andros.cygnus.com>
27051
27052 * break.c (main): Compare a possibly-uninitialized argc with an
27053 unlikely value that fits in 16 bits.
27054
270551999-09-07 Stan Shebs <shebs@andros.cygnus.com>
27056
27057 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
27058 0xfeeb, don't want negative numbers if ints are 16 bits.
27059
27060 * lib/gdb.exp (skip_cplus_tests): New proc.
27061 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
27062 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
27063 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
27064 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
27065 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
27066 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
27067 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
27068 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
27069
27070 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
27071
27072Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
27073
27074 * gdb.base/corefile.exp (up): Allow a parameter to appear
27075 in the frame that we're going up to.
27076
27077 From Jim Blandy <jimb@cygnus.com>:
27078
27079 * gdb.base/default.exp (info float): Expect some output now.
27080
27081 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
27082 returning floating-point values to fail on the x86.
27083 * gdb.base/callfwmall.exp (do_function_calls): Same.
27084
27085 * gdb.base/list.exp (test_listsize): Correct expectations for
27086 listing line 1 with listsize 2. Also, listing a single line
27087 works now, as does listing three lines. [Kevin's note: There
27088 were a number of other cases fixed too where the expectations
27089 differed...]
27090
270911999-09-02 Stan Shebs <shebs@andros.cygnus.com>
27092
27093 * gdb.base/selftest.exp: Add case for when version prints as
27094 constant string instead of char pointer.
27095
104c1213
JM
270961999-08-25 Stan Shebs <shebs@andros.cygnus.com>
27097
27098 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 27099 stepping out of main.
104c1213
JM
27100
27101 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
27102 G++ used.
27103
27104 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 27105 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
27106
27107 * gdb.c++/ovldbreak.exp: Update match string in test that
27108 includes a warning of multiple breakpoints.
27109
271101999-08-24 Stan Shebs <shebs@andros.cygnus.com>
27111
27112 * gdb.base/display.exp: Improve precision of step-after-finish
27113 added yesterday.
27114
27115 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 27116 test.
104c1213
JM
27117
27118 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
27119 configs when using G++, not just hppa*.
27120
271211999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27122
27123 * gdb.base/async.c: New file.
27124 * gdb.base/async.exp: New file.
27125
27126Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
27127
27128 * gdb.base/break.exp: Tweak PA specific tests to properly handle
27129 PA64.
27130
53a5351d
JM
27131Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
27132
104c1213
JM
27133 * gdb.base/display.exp: "finish" can leave us mid-line on many
27134 targets, deal with it. Add a small constant to main, instead of
27135 1000 since main+1000 may not be a valid address in the target.
27136
53a5351d
JM
27137 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
27138 on hpux11.
27139
27140 * gdb.base/attach.exp: Handle another hpux11 error message variant
27141 when attaching to a process that does not exist.
27142
271431999-08-19 J.T. Conklin <jtc@redback.com>
27144
27145 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 27146 characters in 'continue to 1241' test.
53a5351d
JM
27147
271481999-08-17 Stan Shebs <shebs@andros.cygnus.com>
27149
27150 * gdb.base/call-ar-st.exp: Add a shorter match case for the
27151 stop in print_long_arg_list, define and use a whitespace
27152 variable in print_small_structs test, add an XFAIL for Solaris.
27153 * gdb.base/dbx.exp: XFAIL func commands until somebody is
27154 interested enough to fix.
27155
7be570e7
JM
271561999-08-13 Keith Seitz <keiths@cygnus.com>
27157
27158 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
27159 (dbx_gdb_load): Remove. Use gdb_load instead, since that
27160 proc knows about targets other than the natives.
27161 (test_assign): Use "gdb_run_cmd" to "run" the target.
27162 Check that we've actually hit the breakpoint at main.
27163 When we attempt to assign a value to a local variable, check
27164 that the variable is in the current scope, i.e., don't use
27165 a test with an empty result.
27166
27167Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
27168
27169 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 27170 command.
7be570e7
JM
27171
271721999-08-09 Stan Shebs <shebs@andros.cygnus.com>
27173
27174 From Jimmy Guo <guo@cup.hp.com> and others at HP:
27175 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
27176 gdb.compat, gdb.threads-hp.
27177 gdb.hp/configure, gdb.hp/configure.in: New files.
27178 gdb.hp/Makefile.in: Recurse into new subdirs.
27179 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
27180 gdb.hp/gdb.objdbg: New directory, tests for debugging info
27181 in object files.
27182 gdb.hp/tools: New directory, aux tools for HP-specific tests.
27183
96baa820
JM
271841999-08-05 Stan Shebs <shebs@andros.cygnus.com>
27185
27186 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 27187 funky printf, remove a bogus p/a test.
96baa820
JM
27188
271891999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27190
27191 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
27192 connected to the target. This is necessary when running not
27193 natively.
96baa820
JM
27194
271951999-08-03 Stan Shebs <shebs@andros.cygnus.com>
27196
27197 * gdb.base/step-test.exp: Removed some extraneous messages.
27198
27199 * gdb.base/long_long.exp: Don't run memory examination tests
27200 on little-endian targets (they will need a different set of
27201 results to match).
27202
272031999-08-02 Stan Shebs <shebs@andros.cygnus.com>
27204
27205 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
27206 until somebody decides to fix GDB.
27207
27208 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 27209 constant as "ULL".
96baa820
JM
27210 * gdb.base/long_long.exp: Loosen x/c test, add partial result
27211 matches for a couple x/2 commands.
27212
a0b3c4fd
JM
272131999-07-30 Stan Shebs <shebs@andros.cygnus.com>
27214
27215 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
27216 by merging in ref-types2 tests.
27217 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
27218
27219 From Jimmy Guo <guo@cup.hp.com> and others at HP:
27220 * gdb.c++/Makefile.in: Add standard actions.
27221 (EXECUTABLES): Rename from PROGS, update list.
27222 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
27223 from gdb.hp.
27224 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
27225 foo and bar locals.
27226 * gdb.c++/anon-union.exp: Fix tests to match.
27227 * gdb.c++/classes.exp: Run if HP compiler used, add extra
27228 expect matches to handle output variations.
27229 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
27230 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 27231 output, add HP alternatives for new and delete prints.
a0b3c4fd 27232 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 27233 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
27234 * gdb.c++/demangle.exp: Use $style when reporting failure.
27235 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
27236 * gdb.c++/inherit.exp: Run if HP compiler used, add some
27237 match alternatives.
27238 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 27239 compilers.
a0b3c4fd
JM
27240 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
27241 * gdb.c++/method.exp: Add match alternatives.
27242 * gdb.c++/misc.cc: Add bool types.
27243 * gdb.c++/misc.exp: Add tests for bool types.
27244 * gdb.c++/overload.exp: Add xfails.
27245 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
27246 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
27247 add some more template parameter tests (only for HP currently).
27248 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
27249 * gdb.c++/virtfunc.cc: Add return type and value for main.
27250 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
27251 match alternatives.
d63a86f8 27252
a0b3c4fd
JM
272531999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27254
27255 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
27256
272571999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
27258
27259 * gdb.base/signals.exp: Don't expect getting a backtrace from
27260 within a signal handler to fail on Linux.
27261
272621999-07-29 Stan Shebs <shebs@andros.cygnus.com>
27263
27264 From Jimmy Guo <guo@cup.hp.com> and others at HP:
27265 * lib/gdb.exp: Remove some gratuitious semicolons.
27266 (delete_breakpoints): Increase timeout.
27267 (gdb_expect): Add -notransfer option.
27268 (gdb_test): Use -notransfer option.
27269 (get_compiler_info): Add f77 case.
27270 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 27271 case.
a0b3c4fd
JM
27272 (gdb_preprocess): Call get_compiler.
27273
27274 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
27275 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
27276 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
27277 gdb.base/long_long.exp, gdb.base/printcmds.exp,
27278 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
27279 third arg to gdb_test.
a0b3c4fd
JM
27280 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
27281 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 27282 HP-UX xfails, add others.
a0b3c4fd
JM
27283 * gdb.base/completion.exp: Reflect name change of self-test.
27284 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
27285 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
27286 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
27287 HP failure number.
a0b3c4fd
JM
27288 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
27289 useless HP-UX 10.30 references.
27290 * gdb.base/maint.exp: Loosen matches.
27291 * gdb.base/pointers.c (main): Declare more_code.
27292 * gdb.base/pointers.exp: Match on output of a `next'.
27293 * gdb.base/structs.c: Add prototypes.
27294 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
27295 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
27296
272971999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27298
27299 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 27300 command.
a0b3c4fd
JM
27301
273021999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27303
27304 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
27305 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
27306
27307 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
27308 debug info. Deal with lack of signal hanlder info in stack.
27309
a9c64011 27310 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
27311 * gdb.base/annota1.exp: If printf has debug info, deal with it.
27312
5a2468f5
JM
273131999-07-19 Stan Shebs <shebs@andros.cygnus.com>
27314
27315 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 27316 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 27317
adf40b2e
JM
27318Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
27319
27320 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 27321 a1-selftest.exp.
adf40b2e
JM
27322 * gdb.base/configure: Re-generate.
27323
273241999-07-12 Stan Shebs <shebs@andros.cygnus.com>
27325
27326 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
27327 in trying to run first and name is too long.
27328
27329 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
27330 pointers2.c and pointers2.exp, respectively.
27331 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
27332 doschk happier.
27333
43e526b9
JM
273341999-07-08 Stan Shebs <shebs@andros.cygnus.com>
27335
27336 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
27337 callfuncs2.c and callfuncs2.exp.
27338
27339 * gdb.base/list.exp: Remove mistaken xfails.
27340 * gdb.base/list0.h: Add optional prototypes.
27341
9846de1b
JM
27342Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
27343
a9c64011 27344 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 27345 calling malloc.
a9c64011
AS
27346 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
27347 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 27348 use.
9846de1b
JM
27349
273501999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27351
27352 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
27353 * gdb.base/annota2.cc, annota2.exp: Move from here.
27354 * gdb.c++/annota2.cc, annota2.exp: To here.
27355 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
27356
43ff13b4
JM
27357Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
27358
27359 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 27360 a consistent format.
43ff13b4 27361
085dd6e6
JM
273621999-06-25 Stan Shebs <shebs@andros.cygnus.com>
27363
27364 From Jimmy Guo <guo@cup.hp.com> and others at HP:
27365 * lib/gdb.exp (get_compiler_info): Add detection for assorted
27366 HP compilers, also set the globals $true and $false.
27367
27368 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
27369 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
27370 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
27371 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
27372 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
27373 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
27374 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
27375 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
27376 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
27377 whatis.c} Add C++ compatible function definitions and return
27378 types, add includes for library functions.
085dd6e6
JM
27379 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
27380 * gdb.base/step-test.c (myglob): Rename from glob.
27381 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
27382 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
27383 files, move here from gdb.hp.
085dd6e6 27384 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
27385 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
27386 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
27387 Adjust line numbers in regexps.
085dd6e6
JM
27388
27389 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
27390 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
27391 instead of 0/1.
27392
27393 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
27394 foll-vfork.exp: New files, move here from gdb.hp.
27395 * gdb.base/page.exp: New file, test of pagination command.
27396
27397 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
27398 recursion test.
27399 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
27400
27401 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 27402 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
27403
27404 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 27405 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 27406 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 27407 watchpoint test.
085dd6e6
JM
27408 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
27409 them work.
27410 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
27411 expressions properly.
27412 * gdb.base/corefile.exp: Loosen the match slightly.
27413 * gdb.base/default.exp: Allow "Error accessing memory" message
27414 also.
27415 * gdb.base/display.exp: Skip over x/0 j if PA64.
27416 * gdb.base/funcargs.exp: Add xfails for HP-UX.
27417 * gdb.base/interrupt.exp: Ditto.
27418 * gdb.base/langs.exp: Add symbolic matches governed by compiler
27419 in use.
27420 * gdb.base/list.exp: Add xfails for HP-UX.
27421 * gdb.base/long_long.exp: Refine some of the numeric matches.
27422 * gdb.base/mips_pro.exp: Xfail on HP-UX.
27423 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
27424 * gdb.base/nodebug.exp: Succeed on more varieties of output.
27425 * gdb.base/opaque.exp: Remove some HP-UX xfails.
27426 * gdb.base/ptype.exp: Succeed on more varieties of output.
27427 * gdb.base/scope.exp: Add xfails for HP-UX.
27428 * gdb.base/sect-cmd.exp: Add more cases.
27429 * gdb.base/setvar.exp: Add xfails for HP-UX.
27430 * gdb.base/shlib-call.exp: Loosen some matches slightly.
27431 * gdb.base/signals.exp: Match on void symbolically.
27432 * gdb.base/step-test.exp: Add case for PA64.
27433 * gdb.base/term.exp: Add exit and restart.
27434 * gdb.base/twice.exp: Clean up after self.
27435 * gdb.base/varargs.exp: Disable overload resolution explicitly.
27436 * gdb.base/whatis.exp: Allow more ways to pass tests.
27437
27438 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 27439 no longer useful.
085dd6e6
JM
27440
27441Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
27442
27443 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 27444 list of patterns.
085dd6e6 27445 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
27446 print_double_array(double_array)", "continuing to breakpoint
27447 1018", "print print_double_array(array_d)" and "continuing to
27448 1034" tests.
d63a86f8 27449
085dd6e6
JM
274501999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
27451
a9c64011 27452 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
27453
274541999-06-24 Stan Shebs <shebs@andros.cygnus.com>
27455
27456 * config/mt-*: Remove, these haven't been used since 1996.
27457
274581999-06-22 Stan Shebs <shebs@andros.cygnus.com>
27459
27460 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 27461 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
27462 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
27463
9e0b60a8
JM
274641999-06-18 Stan Shebs <shebs@andros.cygnus.com>
27465
27466 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
27467 simpler match case for the ptype of the big class.
27468
274691999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
27470
27471 * gdb.exp: Fix test for gdb_prompt existence.
27472
274731999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
27474
27475 * gdb.exp (gdb_test): Add fail after calls to perror.
27476
274771999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
27478
27479 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
27480
274811999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
27482
27483 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
27484
0f71a2f6
JM
27485Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
27486
27487 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 27488 malloc() is linked in.
0f71a2f6
JM
27489
274901999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
27491
27492 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
27493 step at end.
27494
27495 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
27496
274971999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
27498
27499 * gdb.java/jv-print.exp: New file. (Our first Java test!)
27500
cce74817
JM
27501Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
27502
27503 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
27504 * gdb.base/mips_pro.exp: Likewise.
27505
275061999-06-02 Keith Seitz <keiths@cygnus.com>
27507
27508 * gdb.c++/templates.cc: Change all "new" operators to throw
27509 an exception.
27510 * gdb.c++/cplusfuncs.cc: Likewise.
27511
27512 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
27513
27514Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
27515
27516 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
27517 * gdb.base/ending-run.exp: When stepping out of main, accept a
27518 step into an arbitrary assembler file.
cce74817 27519
392a587b
JM
275201999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27521
d63a86f8 27522 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 27523 "breakpoint-invalid" to be printed.
6fdff2c5
PA
27524 * gdb.base/annota2.exp: Revise line number for main
27525 breakpoint. Allow any number of "frames-invalid" and
27526 "breakpoint-invalid" to be printed.
392a587b
JM
27527 * gdb.base/annota2.cc: Initialize a.x to 0.
27528
9e086581
JM
275291999-05-17 Keith Seitz <keiths@cygnus.com>
27530
6fdff2c5
PA
27531 * gdb.base/call-ar-st.exp: Skip
27532 "print print_double_array (double_array)" when "skip_float_tests" set.
27533 Ditto for "print print_double_array(array_d)",
27534 "print print_small_structs", "print print_ten_doubles", and
27535 "step into print_long_arg_list".
27536 Don't assume we can step into "print_long_arg_list": we could step
27537 into memcpy.
27538 * gdb.base/call-rt-st.exp: Don't run float-related tests when
27539 "skip_float_tests" is set: "print print_one_double(*d1)"
27540 and "print print_two_floats(*f3)".
9e086581
JM
27541 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
27542 "skip_float_tests" is set.
6fdff2c5
PA
27543 * gdb.base/varargs.exp: Skip
27544 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
27545 "skip_float_tests" set.
d63a86f8 27546
cd0fc7c3
SS
275471999-05-06 Keith Seitz <keiths@cygnus.com>
27548
27549 * gdb.base/annota2.cc: Include stdio.h.
27550
27551Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
27552
27553 * gdb.base/crossload.exp: Remove, this has been disabled ever
27554 since BFD stopped including all targets, and cross-GDB gets
27555 plenty of testing anyway.
27556 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
27557 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
27558 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
27559 * gdb.base/README: Remove, was doc for this.
27560 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 27561 needed.
cd0fc7c3 27562
b83266a0
SS
275631999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27564
27565 * gdb.base/call-ar-st.exp: Fix one regular expression in test
27566 output.
27567
27568 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
27569 * gdb.base/annota2.exp: New file. More annotation tests.
27570 * gdb.base/annota1.c: New file. Source file for annota1.exp.
27571 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
27572
275731999-04-23 Angela Marie Thomas <angela@cygnus.com>
27574
27575 * config/cfdbug.exp: New file.
27576
7a292a7a
SS
275771999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
27578
27579 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
27580 Marcus Daniel's and Dale Hawkins's demangler crashes.
27581
27582 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
27583 test_lucid_style_demangling, test_arm_style_demangling,
27584 test_hp_style_demangling): Try Tom Tromey's core-dumping
27585 identifier under each demangling style.
7a292a7a
SS
27586
275871999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
27588
27589 * gdb.c++/demangle.exp: Include the current demangling style
27590 in all test names.
27591 (current_demangling_style): New global variable.
27592 (set_demangling_style, test_demangling_core, test_demangling,
27593 test_demangling_exact): New functions.
27594 (test_gnu_style_demangling, test_lucid_style_demangling,
27595 test_arm_style_demangling, test_hp_style_demangling): Use those,
27596 instead of calling gdb_test and gdb_test_exact directly.
27597 (catch_demangling_errors): New function, which reports errors
27598 signalled by the demangling test functions in an orderly way.
27599 (do_tests): Use catch_demangling_errors.
27600
276011999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
27602
27603 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 27604 grouping in expressions, not {}.
7a292a7a
SS
27605
27606 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 27607 initialized yet.
7a292a7a
SS
27608
276091999-04-01 Stan Shebs <shebs@andros.cygnus.com>
27610
27611 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
27612 are listed.
27613
276141999-03-26 Stan Shebs <shebs@andros.cygnus.com>
27615
27616 * gdb.stabs/weird.exp: Test for CC being defined before
27617 looking at its value.
27618
276191999-03-25 Stan Shebs <shebs@andros.cygnus.com>
27620
27621 * gdb.base/call-ar-st.exp: Remove stray '#'.
27622 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
27623 "short int" and "long int".
27624 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 27625 change, to mollify finicky HP compiler.
7a292a7a
SS
27626 * gdb.hp/reg-test.exp (testfile): Fix file name.
27627 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 27628
7a292a7a
SS
27629 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
27630 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
27631 alternate form of enum ptype.
27632
c906108c
SS
276331999-03-23 Stan Shebs <shebs@andros.cygnus.com>
27634
7a292a7a
SS
27635 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
27636 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
27637 passing skip_hp_tests, so as not to waste time on guaranteed
27638 failure.
7a292a7a 27639
c906108c
SS
27640 * gdb.c++/overload.cc: Pass string instead of char addr, always
27641 init ccpfoo.
27642 * gdb.c++/templates.cc: Fix syntax error.
27643
7a292a7a
SS
27644Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27645
27646 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 27647 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
27648 command.
27649
276501999-03-18 James Ingham <jingham@cygnus.com>
27651
27652 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
27653
27654 * gdb.c++/method.exp: It was testing an uninitialized int on the
27655 stack and assuming it was positive.
27656
27657 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
27658
27659 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 27660 keep it from killing the rest of the tests.
7a292a7a
SS
27661 Use gdb_continue_to_end.
27662
27663 * gdb.base/sigall.exp: use gdb_continue_to_end.
27664
27665 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
27666
27667 * gdb.base/display.exp: use runto_main, not run.
27668
d63a86f8
RM
27669 * gdb.base/default.exp: Check for the current error message in the
27670 r abbreviation test.
7a292a7a
SS
27671 Add strongarm to the targets that know info float.
27672
d63a86f8 27673 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
27674 run which doesn't work with monitors.
27675
6fdff2c5
PA
27676 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
27677 1034 test.
7a292a7a
SS
27678
27679 * gdb.base/break.exp: use the gdb_continue_to_end proc.
27680
6fdff2c5
PA
27681 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
27682 end of a program. Traps the case (in Cygmon) when the program
27683 never really exits. Same as Mark's continue_to_exit, but I had
27684 put it in a lot more places, so I used my name. Sorry Mark...
7a292a7a
SS
27685
27686 * config/monitor.exp (gdb_target_monitor): added another
27687 target_info parameter: remotebinarydownload. This will set the
27688 remotebinarydownload flag if this is causing some boards trouble.
27689
276901999-03-18 Mark Salter <msalter@cygnus.com>
27691
27692 * lib/gdb.exp (continue_to_exit): New function.
27693
27694 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
27695 * gdb.base/ending-run.exp: Ditto.
27696 * gdb.base/step-test.exp: Ditto.
27697
276981999-03-16 Stan Shebs <shebs@andros.cygnus.com>
27699
27700 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
27701 (suggested by Art Haas <ahaas@neosoft.com>).
27702
277031999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
27704
889bf7c5 27705 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
27706
27707Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
27708
27709 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 27710 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
27711
277121999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
27713
27714 * gdb.base/call-strs.exp: Don't assume that `step' will step over
27715 a call to strlen; sometimes we do have sources.
27716
277171999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
27718
27719 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 27720 character, so GDB won't print garbage after its end.
d63a86f8 27721
c906108c
SS
27722 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
27723 breakpoint there instead. Sometimes GCC emits memcpy to handle
27724 the large structures being passed by value, so we step into that
27725 instead of sum_array_print, which obscures what we're really testing.
27726 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
27727 the bizarre steps into memcpy, so do that here. Add check for
27728 stepping into function calls that pass large structures by value.
27729 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
27730 Remove all references to specific line numbers.
27731 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
27732 New type and function.
27733 (main): Call large_struct_by_value, passing it a large struct by value.
27734 * lib/gdb.exp (gdb_get_line_number): New function.
27735
27736 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
27737 more portable.
27738
7a292a7a
SS
277391999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
27740
c906108c
SS
27741 * lib/gdb.exp: Doc fixes.
27742
7a292a7a
SS
277431999-03-05 Nick Clifton <nickc@cygnus.com>
27744
d63a86f8 27745 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
27746
277471999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
27748
c906108c 27749 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
27750 commands. They're not germane to this test, and they don't work
27751 that way on remote targets.
c906108c 27752
3fc11d3e
JM
277531999-03-01 James Ingham <jingham@cygnus.com>
27754
27755 * Changelog entries merged over from gdb development branch.
27756
3fc11d3e
JM
27757 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
27758
27759 * lib/gdb.exp (gdbtk_analyze_results): Generic function
27760 for outputting results of test run.
27761
2d4a1622 27762 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
27763
27764 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 27765
7a292a7a
SS
277661999-02-25 Felix Lee <flee@cygnus.com>
27767
27768 * lib/gdb.exp (debug_format): initialize
27769
c906108c
SS
277701999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
27771
27772 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
27773 * gdb.base/call-rt-st.c: Ditto.
27774
c906108c
SS
277751999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
27776
27777 * gdb.threads/pthreads.exp (horiz): New variable.
27778 (test_startup): Fix regexps that capture thread numbers.
27779
277801999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
27781
27782 * gdb.base/smoke.exp: Disambiguate two test case names (both
27783 called ``print'').
27784
27785Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
27786
27787 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 27788 compilation.
c906108c
SS
27789
277901999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
27791
27792 * gdb.base/miscexprs.exp: Change patterns to match GDB's
27793 actual output formatting.
27794 * gdb.base/smoke.exp: GDB removes leading 0's.
27795 * gdb.base/volatile.exp: Don't check type of remuneration;
27796 that variable is no longer defined in constvars.c.
27797 * gdb.base/step-test.c (main): Exit with explicit exit code.
27798 * gdb.base/step-test.exp: Remove two nexti checks--they are
27799 not portable.
27800
278011999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
27802
27803 * gdb.base/help.exp ("help delete display"): Fix test to match
27804 gdb's output.
27805
27806 * gdb.base/long_long.c (known_types): Initialize values to zero.
27807 * gdb.base/long_long.exp: Step one more line
27808 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
27809 leading zeros. Explicitly ask for hex formatting. Use
27810 unique test case names.
c906108c
SS
27811
27812Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27813
d63a86f8 27814 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
27815
27816 * gdb.c++/method.exp: Add missing close brace.
27817
278181999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
27819
27820 * gdb.base/maint.exp: Use 'set height 0' to disable page
27821 prompting, not 'set height 400'.
27822
27823 Fix a bunch of timeouts.
27824 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
27825 four separate tests, so expect doesn't take forever to match a ton
27826 of text against a regexp with lots of .* forms.
27827 ("maint print psymbols", "maint print symbols"): Make some of
27828 these greps more selective, so that expect doesn't try to wade
27829 through huge piles of output and time out.
27830
27831 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
27832
27833 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
27834 tests: one which doesn't expect shlib events to be reported, and
27835 another which does, but is XFAIL for all platforms other than
27836 HP/UX.
c906108c
SS
27837
27838 * gdb.base/break.exp: Teach the test suite that the `catch
27839 fork', `catch vfork', and `catch exec' commands produce error
27840 messages on platforms that don't provide these features.
27841
27842Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
27843
27844 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
27845 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
27846 (shortening names from solib_threshold.exp etc), won't run on
27847 anything but HP-UX for the foreseeable future.
c906108c 27848 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 27849 reflect move.
c906108c
SS
27850
27851Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
27852
27853 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 27854 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
27855
27856Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
27857
27858 * gdb.base/shlib-call.exp: add test cases to verify that gdb
27859 successfully re-sets breakpoints in shared libraries.
27860 * gdb.base/shmain.c (main): return 0, don't fall off the end.
27861
27862Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27863
d63a86f8
RM
27864 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
27865 and compiled w/o GCC.
c906108c
SS
27866
27867 * gdb.hp/watch-cmd.exp: ditto.
27868
27869 * gdb.hp/watch-hp.exp: ditto.
27870
27871 * gdb.hp/xdb1.exp: ditto.
27872
27873 * gdb.hp/xdb2.exp: ditto.
27874
27875 * gdb.hp/dbx.exp: ditto.
27876
27877Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
27878
27879 * constvars.c: Remove C++-isms.
27880 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 27881 with GCC.
c906108c
SS
27882
27883Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
27884
27885 The following changes are part of the HP merge.
27886
27887 * gdb.base/break.exp: new tests to verify that catchpoints for
27888 fork, vfork, and exec don't trigger inappropriately.
27889
27890 * gdb.base/opaque.exp: compile one file at a time, then link.
27891
27892 * gdb.base/signals.exp: be more restrictive about which hppa
27893 systems receive a setup_xfail. new tests.
27894
27895 * gdb.base/solib_threshold.build: new file.
27896 * gdb.base/solib_threshold.exp: new file.
27897 * gdb.base/solib_threshold.link_opts: new file.
27898 * gdb.base/solib_threshold.mk: new file.
27899 * gdb.base/gen_solib_threshold.c: new file.
27900
27901 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
27902 tests. New tests for enums inside classes.
27903
27904 * gdb.c++/compiler.cc: indicate support of template debugging.
27905
27906 * gdb.c++/demangle.exp: run hp style demangling tests.
27907
27908 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
27909 tests.
27910
27911 * gdb.c++/misc.cc: changes to support new tests.
27912
27913 * gdb.c++/templates.cc: changes to support HP's compiler; changes
27914 to support new tests.
27915
27916 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
27917 gcc, then skip these tests.
27918
27919Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
27920
27921 The following files are part of the HP merge; some had longer
27922 names at HP, but have been renamed to be no more than 14
27923 characters in length.
27924
27925 * gdb.hp/ambiguous.cc: new file.
27926 * gdb.hp/ambiguous.exp: new file.
27927 * gdb.hp/attach.exp: new file.
27928 * gdb.hp/attach2.exp: new file.
27929 * gdb.hp/classes-hp.exp: new file.
27930 * gdb.hp/ctti.exp: new file.
27931 * gdb.hp/ctti-add.cc: new file.
27932 * gdb.hp/ctti-add1.cc: new file.
27933 * gdb.hp/ctti-add2.cc: new file.
27934 * gdb.hp/ctti-add3.cc: new file.
27935 * gdb.hp/dbx.exp: new file.
27936 * gdb.hp/exception.cc: new file.
27937 * gdb.hp/exception.exp: new file.
27938 * gdb.hp/foll-exec.c: new file.
27939 * gdb.hp/foll-exec.exp: new file.
27940 * gdb.hp/foll-fork.c: new file.
27941 * gdb.hp/foll-fork.exp: new file.
27942 * gdb.hp/foll-vfork.c: new file.
27943 * gdb.hp/foll-vfork.exp: new file.
27944 * gdb.hp/inherit-hp.exp: new file.
27945 * gdb.hp/more-steps.exp: new file.
27946 * gdb.hp/namespace.cc: new file.
27947 * gdb.hp/namespace.exp: new file.
27948 * gdb.hp/optimize.exp: new file.
27949 * gdb.hp/pxdb.c: new file.
27950 * gdb.hp/pxdb.exp: new file.
27951 * gdb.hp/quicksort.exp: new file.
27952 * gdb.hp/reg-test.exp: new file.
27953 * gdb.hp/reg-test.s: new file.
27954 * gdb.hp/sized-enum.c: new file.
27955 * gdb.hp/sized-enum.exp: new file.
27956 * gdb.hp/start-stop.exp: new file.
27957 * gdb.hp/templ-hp.cc: new file.
27958 * gdb.hp/templ-hp.exp: new file.
27959 * gdb.hp/thr-lib.c: new file.
27960 * gdb.hp/thr-lib.exp: new file.
27961 * gdb.hp/thr-lib.h: new file.
27962 * gdb.hp/thr-liblib.c: new file.
27963 * gdb.hp/virtfun-hp.c: new file.
27964 * gdb.hp/virtfun-hp.exp: new file.
27965 * gdb.hp/watch-cmd.exp: new file.
27966 * gdb.hp/watch-hp.exp: new file.
27967 * gdb.hp/xdb1.exp: new file.
27968 * gdb.hp/xdb2.exp: new file.
27969 * gdb.hp/xdb3.exp: new file.
27970
27971Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
27972
27973 The following files are part of the HP merge; some had longer
27974 names at HP, but have been renamed to be no more than 14
27975 characters in length.
27976
27977 * gdb.base/ss.h: new file.
27978 * gdb.base/call-ar-st.c: new file.
27979 * gdb.base/call-ar-st.exp: new file.
27980 * gdb.base/call-rt-st.c: new file.
27981 * gdb.base/call-rt-st-exp: new file.
27982 * gdb.base/call-strs.exp: new file.
27983 * gdb.base/ena-dis-br.exp: new file.
27984 * gdb.base/environ.exp: new file.
27985 * gdb.base/long_long.exp: new file.
27986 * gdb.base/sect-cmd.exp: new file.
27987 * gdb.base/shlib-cl2.exp: new file.
27988 * gdb.base/smoke.exp: new file.
27989 * gdb.base/so-impl-ld.c: new file.
27990 * gdb.base/so-impl-ld.exp: new file.
27991 * gdb.base/so-indr-cl.c: new file.
27992 * gdb.base/so-indr-cl.exp: new file.
27993 * gdb.base/varargs.exp: new file.
27994 * gdb.base/volatile.exp: new file.
27995 * gdb.base/whatis-exp.exp: new file.
7a292a7a 27996 * gdb.base/display.exp: new file.
c906108c
SS
27997 * gdb.c++/derivation.exp: new file.
27998 * gdb.c++/local.exp: new file.
27999 * gdb.c++/member-ptr.exp: new file.
28000 * gdb.c++/overload.exp: new file.
28001 * gdb.c++/ovldbreak.exp: new file.
28002 * gdb.c++/ref-types.exp: new file.
28003 * gdb.c++/ref-types2.exp: new file.
28004 * gdb.c++/userdef.exp: new file.
d63a86f8 28005
c906108c
SS
28006Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
28007
28008 * gdb.base/default.exp: Reflect wording change in remote.c.
28009
dc96c6c7 28010Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28011
28012 * gdb.base/help.exp: Update to reflect current text.
28013
28014Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
28015
28016 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
28017 they're stack variables and contain garbage.
28018 * gdb.c++/anon-union.exp: new file.
28019
28020 The following changes were made by David Taylor
889bf7c5
PA
28021 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
28022 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
28023 in changes by HP.
c906108c
SS
28024
28025 * gdb.base/bitops.exp: new file.
28026 * gdb.base/default.exp: change expected messages for catch and
28027 info catch tests to reflect HP merge changes.
28028 * gdb.base/enable-disable-break.exp
28029 * gdb.base/ending-run.c: new file.
28030 * gdb.base/long_long.c: new file.
28031 * gdb.base/maint.exp: new file.
28032 * gdb.base/pointers2.exp: new file.
28033 * gdb.base/shlib-call2.exp: new file.
28034 * gdb.base/solib.exp: new file.
28035 * gdb.base/step-test.c: new file.
28036 * gdb.c++/anon-union.cc: new file.
28037 * gdb.c++/local.cc: new file.
28038 * gdb.c++/member-pointer.cc: new file.
28039 * gdb.c++/method.cc: new file.
28040 * gdb.c++/ref-types.cc: new file.
28041 * gdb.c++/ref-types2.cc: new file.
28042 * gdb.c++/userdef.cc: new file.
d63a86f8 28043
c906108c
SS
28044 * gdb.base/scope.exp: compile one file at a time, then link.
28045 * gdb.base/langs.exp: ditto.
28046 * gdb.base/list.exp: ditto.
d63a86f8 28047
c906108c
SS
28048Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
28049
28050 The following changes were made by David Taylor
889bf7c5
PA
28051 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
28052 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
28053 in changes by HP.
d63a86f8 28054
c906108c
SS
28055 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
28056 skip tests. When compiling pass c++ flag to gdb_compile.
28057 * gdb.c++/
d63a86f8 28058
c906108c
SS
28059 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
28060 test for on hppa*-*-hpux*; use args to see if c++ was specified.
28061 (skip_hp_tests): new function.
28062 (gdb_preprocess): new function.
28063
28064 * configure.in (hpdir): decide whether to configure gdb.hp.
28065 * configure: regenerated.
28066
28067 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
28068 to delete on clean.
28069 (EXECUTABLES): update to reflect new additions.
28070 * gdb.base/commands.exp: update message expected.
28071 * gdb.base/default.exp: add copyright notice.
28072 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
28073 * gdb.base/help.exp: update messages to reflect current text.
28074 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
28075 targets for recurse tests.
28076 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
28077 skip this file.
28078
28079 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
28080 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
28081 compilation.
28082 * gdb.c++/misc.exp: ditto.
28083 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
28084 run the tests. tell gdb_compile that it's a c++ compilation.
28085
28086 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 28087
c906108c
SS
28088 * gdb.base/all-bin.exp: new file.
28089 * gdb.base/arithmet.exp: new file.
28090 * gdb.base/assign.exp: new file.
28091 * gdb.base/completion.exp: new file.
28092 * gdb.base/cond-expr.exp: new file.
28093 * gdb.base/condbreak.exp: new file.
28094 * gdb.base/define.exp: new file.
28095 * gdb.base/dollar.exp: new file.
28096 * gdb.base/environment.exp: new file.
28097 * gdb.base/eval-skip.exp: new file.
28098 * gdb.base/jump.exp: new file.
28099 * gdb.base/logical.exp: new file.
28100 * gdb.base/pointers.exp: new file.
28101 * gdb.base/relational.exp: new file.
28102 * gdb.base/section_command.exp: new file.
28103 * gdb.base/whatis-expr.exp: new file.
28104
28105 * gdb.base/all-types.c: new file.
28106 * gdb.base/call-array-struct.c: new file.
28107 * gdb.base/call-return-struct.c: new file.
28108 * gdb.base/call-strings.c: new file.
28109 * gdb.base/callfuncs2.c: new file.
28110 * gdb.base/condbreak.c: new file.
28111 * gdb.base/constvars.c: new file.
28112 * gdb.base/display.c: new file.
28113 * gdb.base/int-type.c: new file.
28114 * gdb.base/jump.c: new file.
28115 * gdb.base/miscexprs.c: new file.
28116 * gdb.base/pointers.c: new file.
28117 * gdb.base/pointers2.c: new file.
28118 * gdb.base/shmain.c: new file.
28119 * gdb.base/shr1.c: new file.
28120 * gdb.base/shr2.c: new file.
28121 * gdb.base/solib.c: new file.
28122 * gdb.base/solib1.c: new file.
28123 * gdb.base/solib2.c: new file.
28124 * gdb.base/varargs.c: new file.
28125 * gdb.c++/derivation.cc: new file.
28126 * gdb.c++/overload.cc: new file.
28127 * gdb.c++/ovldbreak.cc: new file.
28128 * gdb.hp/attach.c: new file.
28129 * gdb.hp/attach2.c: new file.
28130 * gdb.hp/average.c: new file.
28131 * gdb.hp/compiler.c: new file.
28132 * gdb.hp/compiler.cc: new file.
28133 * gdb.hp/execd-program.c: new file.
28134 * gdb.hp/follow-exec.c: new file.
28135 * gdb.hp/follow-fork.c: new file.
28136 * gdb.hp/follow-vfork-and-exec.c: new file.
28137 * gdb.hp/misc-hp.cc: new file.
28138 * gdb.hp/more-steps.c: new file.
28139 * gdb.hp/optimize.c: new file.
28140 * gdb.hp/quicksort.c: new file.
28141 * gdb.hp/run-hp.c: new file.
28142 * gdb.hp/start-stop.c: new file.
28143 * gdb.hp/sum.c: new file.
28144 * gdb.hp/templates-hp.cc: new file.
28145 * gdb.hp/thread-local-in-lib.c: new file.
28146 * gdb.hp/thread-local-in-lib.h: new file.
28147 * gdb.hp/thread-local-in-lib.lib.c: new file.
28148 * gdb.hp/vforked-program.c: new file.
28149 * gdb.hp/virtfunc-hp.cc: new file.
28150 * gdb.hp/watchpoint-hp.c: new file.
28151 * gdb.hp/xdb.c: new file.
28152 * gdb.hp/xdb0.c: new file.
28153 * gdb.hp/xdb0.h: new file.
28154 * gdb.hp/xdb1.c: new file.
28155
28156Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
28157
28158 The following change was made by Edith Epstein
889bf7c5
PA
28159 <eepstein@cygnus.com> as part of a project to merge in changes
28160 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
28161
28162 * gdb.c++/demangle.exp: changed the expected output for some
28163 ARM-style mangling -- removed second reference to datatype.
889bf7c5 28164 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 28165 T1<char>::~T1<char>(void)
c906108c 28166 becomes,
a9c64011
AS
28167 maint demangle __dt__11T1__pt__2_cFv
28168 T1<char>::~T1(void)
c906108c 28169
889bf7c5 28170 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 28171
c906108c
SS
28172Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
28173
28174 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
28175 * gdb.trace/backtrace.exp: Likewise.
28176 * gdb.trace/circ.exp: Likewise.
28177 * gdb.trace/collection.exp: Likewise.
28178 * gdb.trace/deltrace.exp: Likewise.
28179 * gdb.trace/infotrace.exp: Likewise.
28180 * gdb.trace/limits.exp: Likewise.
28181 * gdb.trace/packetlen.exp: Likewise.
28182 * gdb.trace/passc-dyn.exp: Likewise.
28183 * gdb.trace/passcount.exp: Likewise.
28184 * gdb.trace/report.exp: Likewise.
28185 * gdb.trace/save-trace.exp: Likewise.
28186 * gdb.trace/tfind.exp: Likewise.
28187 * gdb.trace/tracecmd.exp: Likewise.
28188 * gdb.trace/while-dyn.exp: Likewise.
28189 * gdb.trace/while-stepping.exp: Likewise.
28190
281911998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
28192
28193 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
28194
28195Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
28196
28197 From Brendan Kehoe:
28198 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
28199 int return types.
28200
28201Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
28202
28203 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 28204 remote dos host testing right.
c906108c
SS
28205
28206Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
28207
28208 * gdb.base/corefile.exp: remove some xfails.
28209
28210Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
28211
28212 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 28213 have different timestamps.
c906108c
SS
28214
28215Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
28216
28217 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 28218 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
28219
28220Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
28221
28222 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 28223 delta.
c906108c
SS
28224
28225Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
28226
28227 * gdb.base/default.exp: Add brace missing from previous delta.
28228
28229Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
28230
28231 * gdb.base/default.exp: Support test for info float for all
28232 varieties of arm toolchain.
28233
dc96c6c7 28234Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28235
28236 * gdb.trace/*.exp: remove "remote_download" command.
28237
dc96c6c7 28238Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28239
28240 * gdb.trace/*.exp: remove -gdwarf from compile.
28241
28242Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
28243
28244 * gdb.trace/configure.in(AC_INIT): typo
28245 * gdb.trace/configure: regenerated
28246
dc96c6c7 28247Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28248
28249 * config/m68k-emc.exp: New file.
28250 * lib/<emc-support.exp trace-support.exp}: New files.
28251 * configure.in: add new test directory gdb.trace.
28252 * gdb.trace/{configure configure.in Makefile.in}: New files.
28253 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
28254 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
28255 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
28256 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
28257 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
28258 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
28259 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 28260
dc96c6c7 28261Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28262
28263 * gdb.c++/classes.exp: Change all regular expressions to match
28264 arbitrary combinations of newline/carriage-return, so that they
28265 will work equally well on Unix and Windows.
28266 * gdb.c++/inherit.exp: ditto.
28267 * gdb.c++/virtfunc.exp: ditto.
28268
282691998-08-11 Dawn Perchik <dawn@cygnus.com>
28270
28271 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
28272
c2d11a7d
JM
28273Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
28274
28275 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
28276 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
28277 to use a0-a3/d0-d3 as needed.
28278
28279Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
28280
28281 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
28282 * gdb.disasm/am33.exp: Corresponding changes.
28283
c906108c
SS
282841998-07-11 Felix Lee <flee@cygnus.com>
28285
28286 * gdb.base/callfuncs.exp: add cmp10 test.
28287 * gdb.base/callfuncs.c (cmp10): new function.
28288
28289Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
28290
d63a86f8 28291 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
28292 into two parts to get around a synchronization problem in expect.
28293
3fc11d3e
JM
28294Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
28295
28296 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
28297
28298 * configure.in: Add options for gdbtk testsuite.
28299
28300 * configure: Regenerate.
28301
28302 * gdb.gdbtk: New directory to hold gdbtk tests.
28303
c906108c
SS
28304Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
28305
28306 * gdb.fortran/types.exp: Escape brackets in expect patterns
28307 for test_float_literal_types_accepted tests.
28308 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
28309 before run test.
28310
c2d11a7d
JM
28311Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
28312
28313 * am33.exp: Just compile, do not link the testcase.
28314 * am33.s: Add ".am33" pseudoop to force am33 mode.
28315
c906108c
SS
283161998-06-25 Felix Lee <flee@cygnus.com>
28317
28318 * gdb.base/setshow.exp: make sure $pc is sane.
28319
28320 * gdb.stabs/weird.exp: split expect patterns properly.
28321
c2d11a7d
JM
28322Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
28323
28324 * gdb.disasm/am33.s: New disassembler testfile for the am33.
28325 * gdb.disasm/am33.exp: Run it.
28326
dc96c6c7 28327Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28328
28329 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
28330 match processing (and eliminate spurious timeouts when running).
28331
dc96c6c7 28332Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28333
28334 * gdb.base/signals.exp (test_handle_all_print): put back Mach
28335 exception test, but conditionalize it on target [mach | gnu].
28336
dc96c6c7 28337Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28338
28339 * gdb.base/overlays.exp: fixup compile line for linker script.
28340
28341Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
28342
28343 * gdb.fortran/types.exp: don't guess at float size.
28344
28345Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
28346
28347 * gdb.base/exprs.exp: delete test that depends on int size.
28348
28349Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
28350
28351 * config/sim.exp: Removed checks for target triplets.
28352 (gdb_target_sim): Use gdb,target_sim_options.
28353
28354Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
28355
28356 * gdb.base/reread.exp: New file.
28357 * gdb.base/reread1.c: New file.
28358 * gdb.base/reread2.c: New file.
28359
28360Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
28361
28362 * config/sim.exp: Use 'target sim -sparclite' when running
28363 SPARClite programs.
28364
28365Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
28366
28367 * gdb.base/structs2.exp: New file.
28368 * gdb.base/structs2.c: New file.
28369
28370Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
28371
28372 * gdb.asm/common.inc: New file.
28373 * gdb.asm/d10v.inc: New file.
28374 * asm-source.exp: Pass -I's to gas to find .inc files.
28375 Update line numbers in expected output.
28376 * asmsrc1.s: Rewrite.
28377 * asmsrc2.s: Rewrite.
28378 * configure.in: Create arch.inc symlink.
28379 * configure: Regenerate.
28380 * Makefile.in (distclean): Delete arch.inc.
28381
28382Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
28383
28384 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
28385 (t_enum_value2): ditto
28386 (t_enum_value3): ditto
28387 (main): ditto
c906108c
SS
28388Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
28389
28390 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
28391 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
28392 change.
28393 Use gdb_test instead of send_gdb/gdb_expect sequences.
28394
28395Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
28396
28397 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
28398 not void.
28399
28400Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
28401
28402 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
28403 subroutines. Used to test gdbs ability to single step through PC
28404 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
28405
28406Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
28407
28408 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
28409 more rigorous EGCS C++ error checking.
28410
28411Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28412
a9c64011
AS
28413 * gdb.base/help.exp: Clean up `help set args' and `help show args'
28414 tests.
28415 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
28416 function when asleep.
28417 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
28418 for i*86 Linux and SVR4 signal handling problems.
28419 Remove linux xfail for `next to handler in signals_tests_1', fixed
28420 by recent infrun.c change.
28421 Limit backtrace to 10 frames to avoid timeout problems with infinite
28422 stack backtraces.
28423 Adjust expect pattern in `handle all print' test to match Apr 28 1997
28424 target.[ch] change.
c906108c
SS
28425
28426Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
28427
28428 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
28429 for a newline from gdb before continuing.
28430 (default_gdb_exit): Just look for y or n.
28431 (gdb_test): Detect abnormal exit from GDB running on DOS; if
28432 it does, fail the rests of the tests in the file.
28433
28434Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
28435
28436 * config/cygmon.exp: New file.
28437
28438Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
28439
28440 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 28441 main" test on remote targets.
c906108c
SS
28442
28443 * gdb.base/scope.exp: Fix problem with filelocal_bss before
28444 run test on remote targets.
28445
28446Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
28447
28448 * gdb.asm: New directory.
28449 * configure.in: Configure it.
28450 * configure: Regenerate.
28451 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
28452 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
28453
28454Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
28455
28456 * config/mn10300-eval.exp: New file to support MN10300 eval board.
28457
dc96c6c7 28458Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 28459
a9c64011
AS
28460 * gdb.base/overlays (several files): Merge the two overlay
28461 managers into one. Change variables (foox, barx, bazx, grbxx)
28462 back into ints but force them to load in their proper sections.
c906108c
SS
28463
28464Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
28465
28466 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 28467 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
28468 (D10VCopy): Handle memory regions crossing 16k boundaries.
28469 (D10VCopy): Transfer data in 32 bit chunks.
28470
28471Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
28472
28473 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 28474 correct.
c906108c
SS
28475
28476 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 28477 map. Include space for printf in .text segment.
c906108c
SS
28478
28479 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 28480 updated d10v memory VMA/LMA map.
c906108c 28481 (D10VCopy): Call D10VTranslate.
d63a86f8 28482
c906108c
SS
28483Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
28484
28485 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
28486
28487 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
28488 that it won't be put into the .sdata - small data -
28489 section. Update reference.
c906108c
SS
28490 * gdb.base/baz.c (bazx, baz): Ditto.
28491 * gdb.base/foo.c (foox, foo): Ditto.
28492 * gdb.base/grbx.c (grbxx, grbx): Ditto.
28493
28494 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 28495 to be arrays.
d63a86f8 28496
dc96c6c7 28497Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 28498
a9c64011
AS
28499 * gdb.base/overlays.exp: fix up and get working again.
28500 Add tests for backtraces from an overlay function.
d63a86f8 28501
c906108c
SS
28502Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
28503
28504 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
28505 "calling function with watchpoint enabled".
28506
28507Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
28508
28509 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 28510 gdb_suppress_tests for d10v-*-*.
c906108c
SS
28511 * lib/gdb.exp (gdb_suppress_tests): Disable this function
28512 pending review of whether it is useful or not.
28513
28514Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
28515
28516 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
28517
28518Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
28519
28520 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
28521 * config/dve.exp: New file to support Densan boards.
28522
28523Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
28524
28525 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 28526 reads and BSD.
c906108c
SS
28527
28528Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
28529
28530 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
28531 response.
28532
28533 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
28534
28535Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
28536
28537 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 28538 test.
c906108c
SS
28539
28540 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 28541 target_sizeof_long and target_bigendian_p.
c906108c 28542 (structs_by_value, structs_by_reference): Check values according
889bf7c5 28543 to targets word size and endianess.
d63a86f8 28544
c906108c
SS
28545Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
28546
28547 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 28548 output.
c906108c
SS
28549
28550Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
28551
28552 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 28553 Update test of set args help to match source change.
c906108c
SS
28554
28555Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
28556
28557 * gdb.base/default.exp: Expect help system output to be in
28558 alphabetical order.
28559 * gdb.base/help.exp: Ditto.
28560
28561Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
28562
28563 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
28564 "i*86-pc-linux-gnu*".
28565 * gdb.base/interrupt.exp: Ditto.
28566 * gdb.base/corefile.exp: Ditto.
28567
28568 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 28569 define vxworks when building the testcase.
c906108c
SS
28570
28571 * gdb.base/ptype.exp: Fix testnames to be unique.
28572 * gdb.base/radix.exp: Ditto.
28573 * gdb.base/term.exp: Ditto.
28574 * gdb.base/whatis.exp: Ditto.
28575 * gdb.c++/classes.exp: Ditto.
28576
28577Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
28578
28579 * gdb.base/callfuncs.exp: Fix indentation.
28580
28581 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
28582 suppress_flag has been set.
28583 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
28584 target feature.
28585
28586Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
28587
28588 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
28589 the testcase.
28590
28591 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 28592 set_debug_traps() and breakpoint().
c906108c
SS
28593 * gdb.c++/misc.cc (main): Ditto.
28594 * gdb.c++/templates.cc (main): Ditto.
28595 * gdb.c++/virtfunc.cc (main): Ditto.
28596
28597Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
28598
28599 * lib/gdb.exp(gdb_step_for_stub): New function.
28600 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
28601 exists, reload the executable and do a "continue" instead of
28602 doing a jump.
28603 (runto_main): Use gdb_step_for_stub.
d63a86f8 28604
c906108c 28605 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 28606 tests to have unique names.
c906108c
SS
28607 * gdb.base/callfuncs.exp: Ditto.
28608 * gdb.base/commands.exp: Ditto.
28609 * gdb.base/default.exp: Ditto.
28610 * gdb.base/help.exp: Ditto.
28611 * gdb.base/list.exp: Ditto.
28612 * gdb.base/opaque.exp: Ditto.
28613 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
28614 similar tests.
d63a86f8 28615
c906108c
SS
28616 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
28617 * gdb.c++/cplusfuncs.cc: Ditto.
28618 * gdb.c++/virtfunc.cc: Ditto.
28619
28620 * config/monitor.exp: Keep track of the last file we saw, rather
28621 than trying to get the info from gdb.
28622
28623 * gdb.fortran/types.exp: Move comment to previous line.
28624
28625Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
28626
28627 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 28628 target mode.
c906108c
SS
28629
28630Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
28631
28632 From Bob Manson:
28633 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 28634 string from GDB when it connects.
c906108c
SS
28635
28636 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
28637
28638Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
28639
28640 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
28641 if we can't get a debug format from GDB (we may be testing an
28642 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
28643
28644 * gdb.stabs/weird.exp: Fix quoting.
28645
28646 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
28647
28648Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
28649
28650 * config/arm-ice.exp: New file.
28651
28652Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
28653
28654 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 28655 until it has been modified to work with the new testsuite.
c906108c 28656
99707966 28657 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
28658 testcase won't compile, cause all of the testcases in the file to
28659 fail instead.
c906108c
SS
28660
28661 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
28662 (gdb_clear_suppressed): New procedure.
28663 (gdb_stop_suppressing_tests): Only clear suppress_flag if
28664 it contains a positive value.
28665
28666Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
28667
28668 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
28669
28670 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
28671
28672Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
28673
28674 * lib/gdb.exp (setup_xfail_format): New function.
28675 (get_debug_format): New function to get debug format.
28676 (debug_format): New global variable to hold last value set
28677 by get_debug_format.
28678 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 28679 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
28680 * gdb.c++/ptype.exp: Ditto.
28681 * gdb.c++/classes.exp: Ditto.
28682 * gdb.c++/cplusfuncs.exp: Ditto.
28683 * gdb.c++/inherit.exp: Ditto.
28684 * gdb.c++/templates.exp: Ditto.
28685 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 28686
c906108c
SS
28687Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
28688
28689 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
28690 host doesn't have a currently-open connection.
28691
28692 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
28693 any gdb stub target. Handle cases where gdb doesn't respond when
28694 interrupted in a sane fashion.
c906108c
SS
28695
28696 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 28697 same thing in a totally different way.
c906108c
SS
28698
28699 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 28700 setting "timeout".
c906108c 28701 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 28702 default_gdb_init now.
c906108c
SS
28703
28704Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
28705
28706 * gdb.base/printcmds.exp: Fix "check for floating addition"
28707 regexp to accept results within approx +/- .01 of exact value.
28708 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
28709
28710Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
28711
28712 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 28713 properly.
c906108c
SS
28714 (gdb_expect): Add optional timeout parameter, and add timeout
28715 value to various calls.
28716 (gdb_suppress_tests): Only give one warning message per group.
28717
28718Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
28719
28720 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
28721 global variables. Handle getting a value for $timeout more
28722 gracefully.
c906108c
SS
28723
28724Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
28725
28726 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 28727 initialize.
c906108c 28728 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 28729 by a target configuration file.
c906108c
SS
28730 (gdb_expect): Pass the timeout to remote_expect.
28731
28732 * config/monitor.exp(gdb_load): Fix typo in regexp.
28733
28734Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
28735
28736 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
28737
28738Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
28739
28740 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
28741 here. Call gdb_target_exec before rebooting the target, to make
28742 sure the connection to the target is closed.
c906108c
SS
28743 (gdb_load): Pass the name of the executable to gdb_target_monitor.
28744 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
28745 Also detect "Timeout reading from remote" error.
28746
28747 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
28748 gdb_target_monitor. Don't call gdb_file_cmd here; let
28749 gdb_target_monitor do it.
c906108c
SS
28750
28751 * gdb.disasm/hppa.exp: Don't use exec_output.
28752
28753Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
28754
28755 * gdb.base/list.exp: If we're debugging a non-native target,
28756 try to set the pc register to point to the start of the
28757 program before doing the first list command.
28758
28759 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 28760 test_calls after restarting.
c906108c
SS
28761
28762 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 28763 reloading.
c906108c
SS
28764
28765 * gdb.base/watchpoint.exp: Fix typo.
28766
28767 * gdb.base/setshow.exp: Check for use_gdb_stub.
28768
28769 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 28770 stub case.
c906108c
SS
28771 * gdb.base/langs.exp: Ditto.
28772
28773 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
28774 gdb_load_offset. If we weren't given a file to load, figure out
28775 what the current file is and use it.
c906108c
SS
28776
28777 * config/i386-bozo.exp: New file.
28778
28779Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
28780
28781 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
28782 feature.
28783
28784 * config/proelf.exp: New entry.
28785
28786Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
28787
28788 * lib/gdb.exp: Remove spurious .* patterns at the beginning
28789 of regexps.
28790
28791 * gdb.base/watchpoint.exp: Don't run the test_stepping
28792 tests if gdb can't call functions on the target.
28793
28794 * gdb.base/setshow.exp: Don't run the set prompt tests if
28795 the board has gdb_prompt set.
28796
28797Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
28798
28799 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
28800 * gdb.base/commands.exp: Likewise.
28801 * gdb.base/setshow.exp: Likewise.
28802
28803Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
28804
28805 * config/monitor.exp(gdb_start): Look for gdb_prompt target
28806 feature.
28807
28808 * config/i960.exp: New file.
28809
28810Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
28811
28812 * gdb.base/funcargs.exp: Check for gdb,short_int target
28813 feature instead of looking for explicit target triplets.
28814
dc96c6c7 28815Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 28816
d63a86f8 28817 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
28818 "p 123DEADBEEF", to check parse_number.
28819 * top.c: change "to enable to enable" to "to enable" in a couple
28820 of help strings.
28821
28822Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
28823
28824 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
28825 on the mn10300.
d63a86f8 28826
c906108c
SS
28827Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
28828
28829 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
28830 where the test executable is run with explicit args.
28831 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
28832
28833Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
28834
28835 * gdb.base/run.c: Use FAKEARGV to build test executable that
28836 does not require a command line arg, since most simulators
28837 don't currently support passing such an arg into the simulated
28838 program.
28839 * gdb.base/commands.exp: Change tests to insert the proper
28840 value as the arg to the first recursive factorial call. Change
28841 compilation line to define FAKEARGV at compile time.
28842
28843Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
28844
28845 * gdb.base/recurse.exp: Enable these tests for the mn10300.
28846 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
28847 function with watchpoint enabled" test.
28848
28849Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
28850
28851 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 28852 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
28853
28854 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 28855 "Tests restarted" messages.
c906108c
SS
28856
28857Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
28858
28859 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
28860
dc96c6c7 28861Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28862
28863 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
28864 for INFO SYMBOL; add help tests for OVERLAY commands.
28865 * gdb.base/default.exp: add tests for INFO SYMBOL command;
28866 add tests for OVERLAY commands
28867 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
28868 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
28869 * gdb.base/sigall.c: add usestubs code frag
28870 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 28871
c906108c
SS
28872Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
28873
28874 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
28875 failures.
28876 (gdb_stop_suppressing_tests): Note that tests have restarted.
28877
28878Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
28879
28880 * config/h8300.exp: New file.
28881
28882Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
28883
28884 * gdb.base/setshow.exp: Check for the existence of a
28885 feature, not its value.
28886
28887Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
28888
28889 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
28890
28891 * gdb.base/scope.exp: It's now init0(), not init().
28892
28893 * gdb.base/scope0.c: For now, change init() to be init0().
28894
28895 * config/monitor.exp: Use gdb_serial in preference to serial
28896 or netport.
28897
28898 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 28899 and it's not already set.
c906108c
SS
28900
28901Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
28902
28903 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 28904 isn't using a stub and if it supports argument passing.
c906108c
SS
28905
28906Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
28907
28908 * config/udi.exp(gdb_start): Make sure UDICONF is set
28909 properly before starting gdb.
28910
28911Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
28912
28913 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
28914 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
28915 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
28916
28917Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
28918
28919 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 28920 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
28921
28922 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
28923
28924 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
28925
28926 * config/monitor.exp: Make sure we disconnect from the target.
28927 Also, try a reboot/reload cycle instead of failing if the
28928 load fails.
28929
28930Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
28931
28932 * gdb.base/default.exp: Don't set match_max.
28933 * gdb.base/help.exp: Ditto.
28934 * gdb.base/list.exp: Ditto.
28935 * gdb.base/signals.exp: Ditto.
28936
28937 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
28938 set, use remote_ld to download the testcase instead of
28939 the GDB loader.
28940
28941Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
28942
28943 * config/vr5000.exp: New file.
28944
28945 * config/monitor.exp(gdb_target_monitor): Add pattern for
28946 "Ending remote" to detect errors in connecting.
28947
28948 * gdb.base/setshow.exp: Add .* within auto language test.
28949
28950 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
28951 target feature.
28952
28953 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 28954 and reboot the board if necessary.
c906108c
SS
28955
28956 * gdb.base/setvar.exp(test_set): Handle multiple prints within
28957 a set of tests. Remove print.* from the patterns being checked.
28958
28959Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
28960
28961 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
28962 refer to gdb_spawn_id.
28963
28964 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
28965 longer used.
28966 * config/sparclet.exp: Ditto.
28967 * config/sparclet-old.exp: Ditto.
28968 * config/slite.exp: Ditto.
28969 * config/sim.exp: Ditto.
28970 * gdb.base/funcargs.exp: Ditto.
28971
28972 * lib/gdb.exp:Remove references to gdb_spawn_id.
28973 (gdb_expect): Move to remote.exp.
28974
28975Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
28976
28977 * config/monitor.exp: Detect the "Couldn't establish connection"
28978 message from GDB.
28979
28980Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
28981
28982 * gdb.base/bitfields.exp: Use runto instead of explicit
28983 gdb_run_cmd/gdb_expect sequences.
28984
28985 * gdb.base/break.exp(text_next_with_recursion): Add match for
28986 gdb_expect call.
28987
28988 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
28989 We also need to handle the "A program is being debugged already"
28990 prompt from gdb. Use gdb_test to set the baud rate.
28991
28992 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
28993 to 20000. Really. I mean it.
28994
28995Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
28996
28997 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
28998 fails. If suppress_flag is set, skip perror message about not
28999 being able to send to GDB.
c906108c 29000 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 29001 GDB.
c906108c
SS
29002 (gdb_expect): If suppress_flag is set, always fail immediately.
29003 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
29004 (gdb_init): Call gdb_stop_suppressing_tests.
29005 (default_gdb_exit): Ditto.
29006 (default_gdb_start): Ditto.
29007
29008 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 29009 gdb_stop_suppressing_tests as appropriate.
c906108c 29010 * gdb.base/break.exp: Ditto.
889bf7c5 29011 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
29012 * gdb.base/commands.exp: Ditto.
29013 * gdb.base/exprs.exp: Ditto.
889bf7c5 29014 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
29015 * gdb.base/list.exp: Ditto.
29016 * gdb.base/recurse.exp: Ditto.
889bf7c5 29017 * gdb.base/scope.exp: Ditto.
c906108c
SS
29018 * gdb.base/structs.exp: Ditto.
29019 * gdb.c++/inherit.exp: Ditto.
29020
29021Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
29022
29023 * config/vr4300.exp: New file.
29024
99707966 29025 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 29026
99707966 29027 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
29028
29029Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
29030
29031 * lib/gdb.exp(gdb_init): New function.
29032
29033 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 29034 for each individual variable set.
c906108c
SS
29035
29036 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
29037 name.
29038
29039 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
29040
29041 * gdb.base/scope.exp: Use gdb_test.
29042
29043 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
29044 aborting; the testsuite driver will do that for us (see
29045 gdb_finish). Also, use gdb_test in a few more places.
29046
29047Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
29048
29049 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
29050
29051Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
29052
29053 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
29054 and "add_tests" are not at the same address.
29055
29056Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
29057
29058 * gdb.base/ptype.exp: Use gdb_test.
29059
29060Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
29061
29062 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
29063 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
29064 left in. No longer expect them to fail.
29065
29066 * gdb.stabs/*.mt; Deleted, no longer used.
29067 * gdb.stabs/configure.in: Remove references to target makefile
29068 frags.
29069 * gdb.stabs/configure: Rebuilt.
29070
29071 * gdb.disasm/*.mt: Deleted, no longer used.
29072 * gdb.disasm/configure.in: Remove references to target makefile
29073 frags. Use "sh3.s" as the unique filename for this directory.
29074 * gdb.disasm/configure: Rebuilt.
29075
29076 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
29077 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
29078 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
29079
29080Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
29081
29082 * config/udi.exp: Use mondfe,name instead of remote_host.
29083
29084Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
29085
29086 * gdb.base/watchpoint.exp: Don't expect a failure when calling
29087 a function with a watchpoint enabled on the mn10200.
29088
29089 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
29090 before trying to create it!
29091
29092Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
29093
29094 * config/vx.exp: Use hostname instead of netport.
29095
29096 * config/vxworks.exp: New file.
29097
29098 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
29099
29100 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 29101 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
29102 occurs.
29103
29104 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
29105 $gdb_spawn_id directly.
29106 (gdb_run_cmd): Try _start as well as start. Use the target feature
29107 gdb,start_symbol as the symbol to start from when jumping.
29108
29109Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
29110
29111 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
29112 redundant) test.
29113
29114 * gdb.base/recurse.exp: Relax final value test for 'b' so that
29115 it doesn't lose for 16bit integer systems.
29116
29117Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
29118
29119 * gdb.fortran/types.exp: If the target doesn't support "double"
29120 data types, then expect "real" types to only be 4 bytes.
29121
29122 * gdb.c++/virtfunc.exp: Expect failure for virtual function
29123 call tests if the target doesn't support inferior function calls.
29124
29125 * gdb.base/printcmds.exp: Allow minor deviation in FP values
29126 in printf tests.
29127
29128Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
29129
29130 * gdb.base/help.exp: Disable "help set", "help show", and
29131 "help support". Simplify regexp for "help stack".
29132
29133 * gdb.base/default.exp: Set match_max to 5000 and the timeout
29134 to 60 seconds. Temporarily set match_max to 15000 around the
29135 "info copying" test.
29136
29137 * gdb.base/nodebug.exp: Don't try to do an inferior function
29138 call if the target doesn't support them.
29139 * gdb.base/printcmds.exp: Likewise.
29140 * gdb.base/setvar.exp: Likewise.
29141 * gdb.base/structs.exp: Likewise.
29142 * gdb.c++/templates.exp: Likewise.
29143 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
29144
29145 * gdb.base/recurse.exp: Enable for the mn10200.
29146
29147 * configure.in: Do configure gdb.stabs directory for *-*-elf
29148 targets.
29149 * configure: Rebuilt.
29150
29151 * gdb.base/break.exp: Check for gdb,noresults before testing
29152 exit status and/or results from the target.
29153 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
29154 * lib/gdb.exp: Remove old (now bogus) initialization of
29155 noinferior, noargs, noresults and nosignals.
29156
29157Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
29158
29159 * config/sh.exp: New file.
29160
29161 * config/slite.exp: Try to connect multiple times to the board
29162 before rebooting. Only send a "monitor run" if need_monitor_run
29163 is set.
29164
29165 * gdb.base/break.exp: Don't do the "stub continue" test if
29166 the target has gdb_stub set.
29167
29168 * gdb.base/callfuncs.exp: Increase the timeout.
29169
29170 * gdb.base/interrupt.exp: Don't even try to compile the testcase
29171 if the target has gdb,noinferiorio set.
29172
29173 * gdb.base/list.exp: Increase match_max to 10000 characters.
29174
29175 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
29176
29177 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
29178 target.
29179
29180 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
29181
29182Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
29183
29184 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
29185 trying to delete the copy of gdb. Catch the file delete so we
29186 don't die if the delete fails; also, the file should be copied to
29187 the host, not to the build.
c906108c
SS
29188
29189Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
29190
29191 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 29192 parenthesis in case it contains multiple regexps separated
c906108c
SS
29193 with |.
29194
29195 * gdb.base/watchpoint.exp: Use gdb_test.
29196 * gdb.base/default.exp: Ditto.
29197
29198Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
29199
99707966 29200 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 29201
c906108c
SS
29202 * gdb.base/scope.exp: Use gdb_test.
29203 * gdb.c++/classes.exp: Ditto.
29204 * gdb.c++/inherit.exp: Ditto.
29205
29206Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
29207
29208 * gdb.base/crossload.exp: Don't use execute_anywhere, use
29209 remote_exec instead.
29210 * gdb.base/corefile.exp: Don't be ridiculous.
29211 * gdb.base/*.c: Add missing stub invocations.
29212
29213Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
29214
29215 * config/slite.exp: Miscellaneous fixes.
29216
29217 * lib/gdb.exp: Fix runto.
29218
29219 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
29220 the target.
29221
29222 * gdb.base/watchpoint.exp: Fix regexp.
29223
29224 * lib/gdb.exp(default_gdb_exit): Add a catch to the
29225 close and wait commands, as the descriptor may now be
29226 invalid. Always call "remote_close host".
29227
29228Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
29229
29230 Major rewrite for testsuite revision.
d63a86f8 29231
c906108c
SS
29232 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
29233 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
29234 instead of relying on spawn_id to always contain a valid
29235 spawn id.
29236 (get_compiler_info): New procedure to build the ${binfile}.ci
29237 file, instead of replicating this in N different places.
29238 (gdb_compile): New procedure.
d63a86f8 29239
c906108c 29240 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
29241 appropriate arguments) instead of compile. Use gdb_test in a lot
29242 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
29243 at the start of a testcase, as this is no longer done magically.
29244
29245 config/*-gdb.exp: Rename without the -gdb suffix.
29246
29247 config/mips.exp: Use remote_close instead of exit_remote_shell.
29248 config/monitor.exp: Use target_info instead of looking at
29249 baud, timeout, etc.
29250 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
29251
29252Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29253
29254 * gdb.c++/templates.exp (test_ptype_of_templates),
29255 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
29256 Update expect patterns for destructors and assignment operators
29257 to match corresponding c-typeprint.c changes.
29258 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
29259 to destructor breakpoint test, GDB should be able to set the
29260 destructor breakpoint without specifying arguments.
29261
29262Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
29263
29264 * gdb.threads/pthreads.exp: Change result for failure to compile due
29265 to lack of pthreads runtime support from an error to simply an
29266 unsupported test, per dejagnu standards.
29267
29268Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29269
29270 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
29271 where GDB exits to reduce pattern match time.
29272 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
29273
29274 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
29275
dc96c6c7 29276Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29277
29278 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
29279 * gdb.base/default.exp: ditto.
29280 * gdb.base/nodebug.exp: ditto.
29281 * gdb.base/printcmds.exp: ditto.
29282 * gdb.base/ptype.exp: ditto.
29283 * gdb.base/setvar.exp: ditto.
29284 * gdb.base/structs.exp: ditto.
29285 * gdb.base/setshow.c: Guard against uninitialized values of argc.
29286
29287Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
29288
29289 * configure, */configure: Rebuild with autoconf 2.12.
29290
29291Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
29292
29293 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
29294 use new i*86-pc-linux*-gnu quads.
29295 * gdb.base/corefile.exp: Ditto.
29296 * gdb.base/signals.exp: Ditto.
29297 * gdb.base/sigall.exp: Ditto.
29298 * gdb.base/interrupt.exp: Ditto.
29299
29300 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
29301 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
29302 RedHat 4.0.
d63a86f8 29303
c906108c 29304 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
29305 linux. This allows the test case to at least compile on latest
29306 linux, but still not run due to missing the threads runtime library.
c906108c
SS
29307
29308Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29309
29310 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
29311 directory to search gdb directory. Accept and step over conditional
29312 stack alignment code. Consume $prompt in failure cases.
29313 Reset timeout to $oldtimeout instead of some arbitrary value.
29314 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
29315 timeout problems with infinite stack backtraces.
29316 * gdb.base/ptype.exp (ptype struct link, union tu_link):
29317 Accept function parameters for linkfunc member.
29318
29319Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
29320
29321 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
29322 (CXXFLAGS): Remove, unreferenced.
29323 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
29324 previous -B options and also add -B option to pick up cross compiled
29325 runtime.
c906108c
SS
29326 (TARGET_INCLUDES): Add for -I options and add code to initialize when
29327 doing cross compiles.
29328 (target_alias): Declare global.
29329 (xgcc): Set variable to full path of gcc in build tree. Use findfile
29330 to verify that gcc exists in build tree, and if so set CC to that
29331 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 29332
c906108c
SS
29333Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
29334
29335 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
29336 ptype test for anonymous union. Fixup testcase to match
29337 current gcc debug output.
29338
29339Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
29340
29341 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
29342 force argument to an unsigned long type.
29343
29344Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
29345
29346 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 29347 tests and anonymous union print/ptype tests.
c906108c
SS
29348 * gdb.base/list.exp (test_forward-search): Increase timeout by
29349 5 minutes for the "search extremely long line" case.
29350 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
29351 completely optional and that the pass/fail messages use the command as
29352 the message if that third arg is a null string.
29353 (gdb_test_exact): Arrange that a null string pattern means match a
29354 null string output rather than any output, which might include random
889bf7c5 29355 errors.
c906108c
SS
29356 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
29357 backtrace test.
29358 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
29359 always failing and failure is now exposed by gdb.exp changes.
29360
29361Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
29362
29363 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
29364 weren't being noted.
29365
29366Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29367
29368 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
29369 * gdb.stabs/weird.exp: Remove v_comb xfails.
29370
dc96c6c7 29371Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29372
29373 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 29374 list.exp scope.exp watchpoint.exp]
c906108c 29375 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 29376
dc96c6c7 29377Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29378
29379 * config/monitor.exp: Increase download timeout to 1000 seconds.
29380
dc96c6c7 29381Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29382
29383 * config/m32r.exp: Increase timeout to 120 seconds.
29384
29385Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
29386
29387 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
29388 and accept older ordering as obsolescent gcc or gdb.
29389 * gdb.c++/templates.exp: Ditto.
29390 * gdb.c++/virtfunc.exp: Ditto.
29391
29392Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
29393
29394 * gdb.base/coremaker.c: Add code to mmap some data so we
29395 can check that it ends up in the core file.
29396 * gdb.base/corefile.exp: Add test to read mmapped data
29397 from core file.
29398
dc96c6c7 29399Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29400
29401 * config/m32r.exp: New file.
29402
29403Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
29404
29405 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
29406 that cflags can contains -gstabs, and work correctly for other tests.
29407
dc96c6c7 29408Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29409
29410 * gdb.base/setshow.exp: New file, tests show and set.
29411 * gdb.base/setshow.c: New file, tests show and set.
29412 * gdb.base/help.exp: Add test for help set|show annotate.
29413 * gdb.base/default.exp: Add test for set|show annotate.
29414
29415Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
29416
29417 * testsuite/gdb.base/break.exp: Make backtrace from factorial
29418 errors unique.
29419 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
29420 explicitly.
29421
29422Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
29423
29424 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
29425 and width commands. This is done elsewhere.
29426 * (gdb_start): Don't call gdb_start_sim here. That's already
29427 done in gdb_load. This fixes lots of failures in default.exp.
29428
29429Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
29430
29431 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
29432 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
29433 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
29434 in the same we we treat other failures (since it may be an expected
889bf7c5 29435 condition), rather than as an error.
c906108c
SS
29436 * gdb.base/signals.exp (test_handle_all_print): Revert back to
29437 old test format.
29438
29439Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
29440
29441 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
29442 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 29443 twice. Nuke the duplicates.
c906108c 29444 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 29445 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
29446 Remove config.h along with other config files.
29447
29448Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
29449
29450 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
29451 "p func1 ()" and note that rests of tests are skipped.
29452 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 29453 setup_xfails for "print func2::coremaker_local".
c906108c
SS
29454 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
29455 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
29456 affected by the previous run test.
29457 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
29458 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
29459 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
29460 "pass int powerset tuple" and "pass modeless int powerset tuple".
29461 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
29462 "real write 4" and "real write 8".
29463 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 29464 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
29465 "print \$i after tuple assign 2", and
29466 "print vs2 after tuple assign 2".
29467 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
29468 meaningful error message and return -1 so the caller can
29469 suppress further tests and avoid a cascade of errors.
d63a86f8 29470
c906108c
SS
29471Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
29472
29473 * gdb.base/a1-selftest.exp: Tweak tests to account for new
29474 format for printing version.
29475 * gdb.base/default.exp: Ditto.
29476 * gdb.base/interrupt.exp: Fix problem with cascade of
29477 errors if child process dies while calling a function.
d63a86f8 29478
c906108c
SS
29479Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
29480
29481 * Makefile.in (VPATH): Add
29482 * Makefile.in (Makefile, config.status): Fix rules so things get
29483 remade when necessary.
29484
29485Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
29486
29487 * Makefile.in (just-check): Add path to sibling expect dir
29488 to environment variable specified by RPATH_ENVVAR.
29489
29490Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
29491
29492 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
29493 (just-check): Add shared library paths for libstdc++, tk,
29494 tcl, bfd, and opcodes to the environment variable specified
29495 in RPATH_ENVVAR.
29496 * configure.in: Add support to recognize --enable-shared flag
29497 and generate correct value for RPATH_ENVVAR.
29498 * configure: Regenerated with autoconf.
29499
29500Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
29501
29502 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 29503 include all osf versions.
c906108c
SS
29504 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
29505 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
29506 when target is linux. When failing to build pthreads test
29507 executable, give more meaningful message.
29508 * gdb.threads/pthreads.c: Hpux also uses old definition of second
29509 arg for pthread_create.
d63a86f8 29510
c906108c
SS
29511Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
29512
29513 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 29514 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 29515 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 29516 and -lpthreads (everybody else).
c906108c
SS
29517 (test_startup): Fail gracefully if threads are not supported.
29518 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
29519 "p/c array_index("abcdef",2)" when not gcc compiled.
29520 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
29521 "print func2::coremaker_local" when not gcc compiled.
29522 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
29523 "ptype on opaque struct tagname (statically)",
29524 "ptype on opaque struct tagname (dynamically) 1", and
29525 "ptype on opaque struct tagname (dynamically) 2"
29526 for not compiled with gcc.
29527 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
29528 backtrace when compiled with gcc.
d63a86f8 29529 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
29530 than always return success.
29531
29532Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
29533
29534 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
29535
29536Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
29537
29538 * gdb.base/structs.exp: Undo last change.
29539
29540Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
29541
29542 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
29543 encapsulate all the steps/nexts done during self test, starting
29544 at main, and makes them less sensitive to optimization issues.
29545 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
29546 signal handler" test.
29547 * gdb.threads/pthreads.exp: Only run this for native configs.
29548 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
29549 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
29550 tests.
29551 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
29552 for "runto test_calls(void)" test.
d63a86f8 29553
c906108c
SS
29554Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
29555
29556 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
29557 and don't expect address info in breakpoint confirmations.
29558
29559Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
29560
29561 * gdb.base/list.exp (test_forward_search): Increase timeout
29562 temporarily by 60 seconds for searching extremely long line,
889bf7c5 29563 and then reset to old value when done. Increase expect input
c906108c
SS
29564 buffer to 10000.
29565
29566Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
29567
29568 * gdb.base/list.exp (test_forward_search): Fix to handle very
29569 long source line without overflowing expect's input buffer.
29570
29571Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
29572
29573 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
29574 "buffer_full".
29575
29576 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
29577 "buffer_full".
29578
29579 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
29580 "buffer_full".
29581
29582 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
29583 "buffer_full".
29584
29585Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
29586
29587 * configure.in (configdirs): Add gdb.threads.
29588 * configure: Regenerated with autoconf.
29589 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
29590 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
29591 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 29592
c906108c
SS
29593Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
29594
29595 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
29596
29597Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
29598
29599 * gdb.base/signals.exp (test_handle_all_print): Test separately for
29600 each signal's status in the output of "handle all print".
29601 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
29602 the \r\n sequence that immediately precedes the gdb prompt.
29603 * gdb.base/a1-selftest.exp: Save original timeout and restore
29604 after test.
29605
29606Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
29607
29608 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
29609 symbol.
29610
29611Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
29612
29613 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
29614
29615Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
29616
29617 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
29618 timeout by 60 seconds.
29619
29620Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
29621
29622 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
29623 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
29624 error return.
29625
29626Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
29627
29628 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
29629 gdb initialization, also report how long dejagnu waited. Restore
29630 old timeout before doing error return. Temporarily increase timeout
889bf7c5 29631 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
29632
29633Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
29634
29635 * lib/gdb.exp: Report timeout value for verbosity level 2.
29636 * config/gdbserver.exp: Ditto.
29637 * config/hppro.exp: Ditto.
29638 * config/mips-gdb.exp: Ditto.
29639 * config/monitor.exp: Ditto.
29640 * config/netware.exp: Ditto.
29641 * config/sim-gdb.exp: Ditto.
29642 * config/slite-gdb.exp: Ditto.
29643 * config/udi-gdb.exp: Ditto.
29644 * config/unix-gdb.exp: Ditto.
29645 * config/vx-gdb.exp: Ditto.
29646 * gdb.base/a1-selftest.exp: Ditto.
29647 * gdb.base/a2-run.exp: Ditto.
29648 * gdb.base/break.exp: Ditto.
29649 * gdb.base/corefile.exp: Ditto.
29650 * gdb.base/list.exp: Ditto.
29651 * gdb.base/recurse.exp: Ditto.
29652 * gdb.base/scope.exp: Ditto.
29653 * gdb.base/signals.exp: Ditto.
29654
29655Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
29656
29657 * gdb.threads/Makefile.in (docdir): Removed.
29658
29659Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
29660
29661 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 29662 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 29663 @srcdir@.
d63a86f8 29664 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
29665 autoconf 2.5 or higher.
29666 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
29667
29668Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
29669
29670 * configure: Regenerated.
29671 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
29672 avoid name clashes with SunOS headers.
29673
29674Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
29675
29676 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
29677
29678Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
29679
29680 * gdb.base/callfuncs.exp: Finish last change -- make sure the
29681 prototype information ends up in the compiler info file.
29682
29683Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
29684
29685 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
29686 attempting to regenerate it. Eliminate use of a temporary file
29687 and just generate the info file directly. Source it immediately,
29688 for consistency of use.
29689 * gdb.base/corefile.exp: Ditto
29690 * gdb.base/exprs.exp: Ditto.
29691 * gdb.base/funcargs.exp: Ditto.
29692 * gdb.base/langs.exp: Ditto.
29693 * gdb.base/list.exp: Ditto.
29694 * gdb.base/mips_pro.exp: Ditto.
29695 * gdb.base/nodebug.exp: Ditto.
29696 * gdb.base/opaque.exp: Ditto.
29697 * gdb.base/ptype.exp: Ditto.
29698 * gdb.base/scope.exp: Ditto.
29699 * gdb.base/setvar.exp: Ditto.
29700 * gdb.base/signals.exp: Ditto.
29701 * gdb.base/whatis.exp: Ditto.
29702 * gdb.c++/templates.exp: Ditto.
29703 * gdb.c++/virtfunc.exp: Ditto.
29704 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 29705 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
29706
29707Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29708
29709 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
29710 it got fixed by the recent lookup_minimal_symbol_by_pc change.
29711 Increase timeout, a lot of single stepping might be needed if the
29712 target has no hardware watchpoints.
29713
29714Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
29715
29716 * gdb.base/break.exp: Ignore compiler warnings when compiling
29717 break.c.
29718 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
29719 * gdb.base/default.exp: Add h8300 xfails. Handle messages
29720 from remote-sim.
29721 * gdb.base/exprs.exp: Add h8300 xfails.
29722 * gdb.base/funcargs.exp: Likewise.
29723 * gdb.base/nodebug.exp: Likewise.
29724 * gdb.base/printcmds.exp: Likewise.
29725 * gdb.base/ptype.exp: Likewise.
29726 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
29727 h8300 xfails.
d63a86f8 29728 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
29729 on the h8300.
29730 * gdb.base/funcargs.c: Explicitly make last constant argument to
29731 call_after_alloca_subr an unsigned long type.
29732 * gdb.base/return.c: Include stdio.h.
29733
29734Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
29735
29736 * config/abug.exp: New file for the older Motorola Bug monitor
29737 that runs on the mvme13x series VME boards.
29738 * config/monitor.exp: Use the new config array for target settings
29739 if they exist.
29740
29741Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
29742
29743 * sim-gdb.exp: Make the SH simulator allocate less space when
29744 it is targeted.
29745
29746Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
29747
29748 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
29749 test.
29750
29751Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
29752
29753 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
29754 "rs6000-*-*" for "list function in include file" when gcc compiled.
29755 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
29756 for "p ctable1[120]".
29757 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
29758 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
29759 Remove setup_xfail for "rs6000-*-*" for
29760 "print 'scope0.c'::filelocal before run".
29761 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
29762 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
29763 since some compilers don't allow both options to be given
29764 on the same command line. Create object file and move it.
d63a86f8 29765
c906108c
SS
29766Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
29767
29768 * gdb.base/corefile.exp: Always regenerate the core file, since
29769 we always regenerate the coremaker program. Detect special case
29770 where registers cannot be read from core file.
d63a86f8 29771
c906108c
SS
29772Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
29773
29774 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
29775 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
29776 * gdb.c++/templates.exp: Only match on basename of file since
29777 some formats like xcoff don't encode directory information.
29778 * gdb.stabs/weird.exp: Use the right sed script for powerpc
29779 and rs6000 AIX xcoff targets.
29780 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
29781 * configure: Regenerate.
29782 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
29783 here, rather than in distclean.
d63a86f8 29784
c906108c
SS
29785Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
29786
29787 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
29788 defined, and use it to compile the test case with -O2. The
29789 native compilation still uses no optimization.
29790 * gdb.base/mips_pro.c: Remove inline assembly code since
29791 it is compiled PIC by default, which results in assembler
29792 warnings that make the testsuite think the compilation
29793 was unsuccessful.
29794
29795Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
29796
29797 * gdb.c++/misc.exp: Add note to message for
29798 "print s.a for foo struct" that this is a known gcc 2.7.2
29799 and earlier bug.
29800
29801Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
29802
29803 * gdb.base/break.exp: Fix pattern for matching "Delete all
29804 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
29805 setup_xfail for deleting all breakpoints test. Fix various
29806 timeout messages to include "(timeout)".
29807 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
29808 for "p t_float_values2(3.14159,float_val2)".
29809 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
29810 for "continue to call2g" when gcc compiled.
29811 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
29812 "up to foo in langs.exp", "show language at foo in langs.exp",
29813 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
29814 and "show language at fsub in langs.exp".
29815 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
29816 "list line 1 in include file", "list message for lines past EOF",
29817 "list function in include file", "list list0.h:foo", and
29818 "list filename:function; nonexistant function".
29819 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
29820 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
29821 and "ptype t_char_array" to be for native cc only.
d63a86f8 29822
c906108c
SS
29823Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
29824
d63a86f8 29825 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 29826 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 29827 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
29828
29829Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
29830
29831 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
29832 "bt in signals.exp". This problem only appears when running
29833 the testsuite, and then only intermittently.
29834
29835Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
29836
29837 * gdb.base/return.exp (return_tests): Differentiate between
29838 two tests of continuing.
29839
29840Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
29841
29842 * */Makefile.in (maintainer-clean): Remove config.log.
29843 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
29844 * gdb.c++/Makefile.in (PROGS): Add inherit.
29845 (clean): Remove *.ci.
29846
29847Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
29848
29849 * gdb.c++/misc.cc: Add test code from Mike Stump.
29850 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
29851
29852Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
29853
29854 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
29855 to "alpha-*-osf2*" and add comment.
29856 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
29857 setup_xfail for "step over execarg initialization" and
29858 "step over corearg initialization".
c906108c
SS
29859 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
29860 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
29861 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 29862 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
29863 "print func2::coremaker_local", and "backtrace in corefile.exp".
29864 * gdb.base/signals.exp: Build and source signals.ci.
29865 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
29866 to be for gcc only.
29867 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 29868
c906108c
SS
29869Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29870
29871 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
29872 Feb 3 procfs.c change.
29873
29874Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
29875
29876 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
29877
29878Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
29879
29880 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
29881 from dejagnu's apparent default of 10 seconds, which gives random
29882 results when running the tests over NFS on moderately loaded systems.
29883 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
29884
29885Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
29886
29887 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
29888 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 29889 result reports.
c906108c
SS
29890
29891Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
29892
29893 * configure.in (CY_AC_PATH_TCLH): Remove.
29894 * configure: Regenerate.
29895
29896Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
29897
29898 * gdb.c++/Makefile.in (clean): Add missing '{'.
29899
29900Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
29901
29902 * lib/gdb.exp: Provide a default value for noinferior.
29903
29904 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
29905 Load libgloss.exp.
29906
29907Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
29908
29909 * gdb.disasm/hppa.exp: Compile directly into an executable, use
29910 the executable, not the .o to run the tests from.
29911
29912Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
29913
29914 * gdb.base/break.exp: Don't test for program exit or exit status
29915 if $noresults if nonzero.
29916 * gdb.base/langs.exp: Likewise.
29917 * gdb.base/watchpoint.exp: Likewise.
29918
29919 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
29920 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
29921 trying to compile the testcase.
29922
29923Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
29924
29925 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
29926 * gdb.base/signals.exp (continue to handler): Likewise.
29927
29928Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
29929
29930 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
29931
29932 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
29933
29934Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
29935
29936 * gdb.base/corefile.exp: Recognize "not found" as failure
29937 when trying to determine if a core file was generated.
29938 If no core file was generate the first time, try again without
29939 the ulimit -c to work around braindamaged shells.
29940
29941Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
29942
29943 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
29944 [] tests with "test" and enclose string in quotes.
29945 * gdb.stabs/configure: Rebuild
d63a86f8 29946
c906108c
SS
29947Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
29948
29949 Changes in sync with expect:
29950 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
29951 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
29952 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
29953 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
29954 argument to AC_REQUIRE.
29955 * configure: Regenerated.
29956
29957Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
29958
29959 * gdb.base/corefile.exp: When generating a core, discard any
29960 error messages about ulimit not found and the "core dumped"
29961 message from the shell that runs the coredumper.
29962
29963Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
29964
29965 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
29966
29967 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
29968 which sed script to run. Expect failure for v_comb test
29969 on PA targets too.
d63a86f8 29970
c906108c
SS
29971Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
29972
29973 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 29974 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
29975
29976Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
29977
29978 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
29979 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 29980 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
29981 * lib/gdb.exp (default_gdb_start): Fix typo.
29982 * gdb.base/corefile.exp: Allow "Core was generated by ..."
29983 messages to not include the full program name that caused
29984 the core dump since some systems (such as solaris) apparently
29985 truncate this path to about 80 characters.
29986 When generating a core file first try increasing the core file
29987 size limit to unlimited since some systems may default it to
29988 zero, and it is harmless to try it. Move the test for failing
29989 to generate a core file to where it will actually get executed.
29990 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
29991 new gdb result from g++ debug info improvements and make old
29992 pattern obsolescent. Also account for size_t differences
29993 (may be int or long).
29994 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
29995 initialization before function call is placed in the delay slot
29996 and thus appears to be skipped over by commands such as "next".
29997
29998Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
29999
30000 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
30001
30002Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
30003
30004 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
30005 input source file; fix code to compile test to deal with this
30006 convention.
30007 * gdb.c++/*.exp: Likewise.
30008
30009Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
30010
30011 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
30012 "bt in signals.exp".
30013
30014Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
30015
30016 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
30017 "step over execarg initialization" and
889bf7c5 30018 "step over corearg initialization".
c906108c
SS
30019
30020Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
30021
30022 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
30023 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
30024
30025Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
30026
30027 From Rob Savoye (rob@poseidon.cygnus.com)
30028 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
30029 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
30030 configure.in}, gdb.disasm/{Makefile.in, configure.in},
30031 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
30032 configure.in}: Major reworking for autoconfig.
c906108c
SS
30033 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
30034 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 30035 New files.
c906108c
SS
30036 * config/unix-gdb.exp: Make GDB global.
30037 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
30038 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
30039 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
30040 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
30041 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
30042 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 30043 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
30044 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
30045 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
30046 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
30047 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 30048 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
30049 to returns as necessary, arrange for test to compile own testcase
30050 executable.
c906108c 30051 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 30052
c906108c
SS
30053Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
30054
30055 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 30056 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
30057 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
30058 "backtrace through signal handler".
30059
30060Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30061
30062 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
30063 continuing from a job control stop signal.
30064 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
30065
30066Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
30067
30068 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
30069 * gdb.base/corefile.exp: Likewise.
30070 * gdb.base/funcargs.exp: Likewise.
30071
30072Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
30073
30074 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
30075 * config/monitor.exp: Add support for setting baud rate.
30076
30077Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
30078
30079 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
30080 i*86-*-linux* xfails for "backtrace through signal handler".
30081 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
30082 "print func2::coremaker_local".
30083 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 30084 alpha-dec-osf2* xfail for
c906108c
SS
30085 "delete all breakpoints when none".
30086
30087Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
30088
30089 * gdb.base/break.exp: Change test that deletes all breakpoints
30090 when no user breakpoints are installed. A post 4.15 change
30091 causes gdb to no longer prompt in this case.
30092
30093Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
30094
30095 * gdb.base/return.exp (return_tests): Change xfail for test
30096 "correct value returned double test" to stop xfailing at
30097 Solaris 2.5. Apparently the bug has been fixed.
30098
30099Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
30100
30101 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
30102 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
30103
30104Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
30105
30106 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
30107 * gdb.disasm/hppa.s: Corresponding changes.
30108
30109Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
30110
30111 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
30112 makefile fragment.
30113 * config/mt-hpux: Deleted.
30114
30115Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
30116
d63a86f8 30117 * Many files: When warning about suppressed tests due to a
c906108c
SS
30118 nonexistant test binary, avoid incrementing the warning count.
30119
30120Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
30121
30122 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 30123
c906108c
SS
30124Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30125
30126 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
30127 "sparc-*-solaris2*".
30128
30129Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30130
30131 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
30132 Add global and local variables and initialize them.
30133 * gdb.base/corefile.exp: Test correct mapping of corefile sections
30134 by printing variables. Remove rs6000 and powerpc xfails, BFD now
30135 extracts the file name and terminating signal from the core file.
30136 * TODO: Remove note about tests for correct mapping of corefile.
30137 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
30138 from optimizing it away.
30139 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
30140 handles common blocks.
30141
30142Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
30143
30144 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
30145 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
30146
30147Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
30148
30149 * Makefile.in (maintainer-clean): New target, synonym for
30150 realclean.
30151 * gdb.base/Makefile.in (maintainer-clean): Likewise.
30152 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
30153 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
30154 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
30155 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
30156 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
30157
30158Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
30159
30160 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
30161 xfails when not gcc compiled for "print foo::funclocal".
30162 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
30163 "print foo::funclocal at foo",
30164 "print 'scope1.c'::foo::funclocal at foo",
30165 "print foo::funclocal_bss at foo",
30166 "print 'scope1.c'::foo::funclocal_bss at foo",
30167 "print foo::funclocal_ro at foo",
30168 "print 'scope1.c'::foo::funclocal_ro at foo",
30169 "print bar::funclocal at foo" and
30170 "print 'scope1.c'::bar::funclocal at foo".
30171 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
30172 gcc compiled for "print foo::funclocal at bar".
30173 Expand all messages to ensure that they identify that
30174 the test is at bar().
30175 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
30176 gcc compiled for:
30177 "ptype on opaque struct pointer (statically)",
30178 "ptype on opaque struct tagname (statically)",
30179 "ptype on opaque struct pointer (dynamically) 1",
30180 "ptype on opaque struct tagname (dynamically) 1",
30181 "ptype on opaque struct pointer (dynamically) 2" and
30182 "ptype on opaque struct tagname (dynamically) 2
30183 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
30184 gcc compiled for:
30185 "p datalocal"
30186 "whatis datalocal",
30187 "ptype datalocal",
30188 "p bsslocal",
30189 "whatis bsslocal", and
30190 "ptype bsslocal".
30191 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
30192 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
30193 when not gcc compiled.
30194 * gdb.base/funcargs.exp (float_and_integral_args): Add
30195 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
30196 compiled.
30197 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
30198 "backtrace from call6a" when not gcc compiled.
30199 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
30200 "backtrace from call7a" when not gcc compiled.
30201 * gdb.base/callfuncs.exp (do_function_calls):
30202 Add "hppa*-*-hpux*" xfail when not gcc compiled for
30203 "p t_char_array_values(char_array_val2,char_array_val1)",
30204 "p t_char_array_values(char_array_val1,char_array_val2)",
30205 "p t_char_array_values("carray 1","carray 2")",
30206 "p t_char_array_values("carray 1",char_array_val2)",
30207 "p t_char_array_values(char_array_val1,"carray 2")",
30208 "p sum_args(1,{2})",
30209 "p sum_args(2,{2,3})",
30210 "p sum_args(3,{2,3,4})",
30211 "p sum_args(4,{2,3,4,5})"
30212 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
30213 "backtrace in corefile.exp" when not gcc compiled.
30214
30215Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30216
30217 * gdb.base/signals.exp: Rewrite `handle all print' test as
30218 a procedure. Accept blanks or TABs as whitespace, increase
30219 timeout and expect input buffer size for the large output
30220 from the command. Remove "i*86-*-bsdi2.0" xfail.
30221
30222Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30223
30224 * gdb.base/setvar.exp: Add new testcases for truncation when
30225 assigning invalid values to bitfields.
30226
30227Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
30228
d63a86f8 30229 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
30230 mips-sgi-irix* xfail for
30231 "call inferior func with struct - returns char *"
30232 and fix test so that an optional (unsigned char *) cast is
889bf7c5 30233 accepted in the result.
c906108c
SS
30234
30235Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
30236
30237 * gdb.base/funcargs.exp (float_and_integral_args): Remove
30238 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
30239 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
30240 * gdb.base/signals.exp: Remove duplicate "handle all print" test
30241 that accidentally got checked in.
30242
30243Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
30244
d63a86f8 30245 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
30246 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
30247 compiled test.
30248 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
30249 Add mips-sgi-irix5* xfail for not gcc compiled.
30250 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6fdff2c5
PA
30251 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
30252 compiled for "p top", "whatis top", "p middle", and "whatis
30253 middle".
c906108c
SS
30254 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
30255 "whatis signed char" for not gcc compiled.
30256 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
30257 "set variable signed char=-1 (-1)" and
30258 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
30259 * gdb.base/funcargs.exp (float_and_integral_args):
30260 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
30261 Add mips-sgi-irix* xfail when not gcc compiled for
30262 "continue to call2b".
30263 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
30264 "continue to call2g".
6fdff2c5
PA
30265 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
30266 compiled for "backtrace from call6a"
30267 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
30268 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
30269 when not gcc compiled for "backtrace from call7a".
c906108c
SS
30270 (localvars_after_alloca): Fix gdb_test cmds for
30271 "print * after runto ...".
30272 Remove rs6000-*-* xfails for
30273 "print i after runto localvars_after_alloca" and
30274 "print l after runto localvars_after_alloca"
30275 for all compilers.
30276 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 30277 when not compiled with gcc, for:
c906108c
SS
30278 "print signed char == (minus)",
30279 "print signed char != (minus)",
30280 "print signed char < (minus)",
30281 "print signed char > (minus)".
30282 * gdb.base/callfuncs.exp (do_function_calls):
30283 Add mips-sgi-irix* xfail, when compiled with native compiler, for
30284 "call inferior func with struct - returns char *".
d63a86f8 30285 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
30286 "correct value returned double test" to include Solaris 2.4.
30287 * gdb.base/funcargs.exp (float_and_integral_args):
30288 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 30289
c906108c
SS
30290Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30291
30292 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
30293 enumeration bitfields if compiling with GNU C.
30294 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
30295 to empty' prompt.
30296
30297Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
30298
30299 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
30300 test for PRO targets.
30301
30302 * gdb.base/funcargs.exp: Avoid ever setting more than 8
30303 breakpoints in the inferior at any given time by making
30304 two groups of breakpoints for call2*, call6* and call7*
30305 tests.
30306
30307Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30308
30309 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
30310 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
30311 from optimizing it away.
30312 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
30313 "call inferior func with struct".
30314
30315Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
30316
30317 * configure.in: Only configure gdb.chill for particular targets.
30318
30319Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
30320
30321 * gdb.base/Makefile.in: Add action to .c.o transformation
30322 rule that generates a .ci file for each .o file and remove
30323 explicit .c.o rules except for callfuncs.o.
30324 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
30325 generates a .ci file for each .o file and remove explicit
30326 .cc.o rules.
30327 (clean): Remove *.tmp *.ci files.
30328 (EXECUTABLES): Remove templ-info.exp.
30329 * gdb.base/compiler.c: New file.
30330 * gdb.c++/compiler.cc: New file
30331 * gdb.base/scope.exp: Source gdb.base/scope.ci.
30332 Change rs6000-*-* xfail for
30333 "print 'scope0.c'::filelocal_ro" and
30334 "print 'scope1.c'::filelocal" and
30335 "print 'scope1.c'::filelocal_bss" and
30336 "print 'scope1.c'::filelocal_ro" and
30337 "print 'scope1.c'::foo::funclocal" and
30338 "print 'scope1.c'::foo::funclocal_ro" and
30339 "print 'scope1.c'::bar::funclocal" and
30340 "print 'scope0.c'::filelocal_ro" and
30341 "print 'scope1.c'::filelocal at foo" and
30342 "print 'scope1.c'::filelocal_bss at foo" and
30343 "print 'scope1.c'::filelocal_ro at foo" and
30344 "print 'scope1.c'::foo::funclocal at foo" and
30345 "print 'scope1.c'::foo::funclocal_bss at foo" and
30346 "print 'scope1.c'::foo::funclocal_ro at foo" and
30347 "print 'scope1.c'::bar::funclocal at foo" and
30348 "print 'scope0.c'::filelocal_ro" and
30349 "print 'scope1.c'::filelocal" and
30350 "print 'scope1.c'::filelocal_bss" and
30351 "print 'scope1.c'::filelocal_ro" and
30352 "print 'scope1.c'::foo::funclocal" and
30353 "print 'scope1.c'::foo::funclocal_bss" and
30354 "print 'scope1.c'::foo::funclocal_ro" and
30355 "print 'scope1.c'::bar::funclocal" and
30356 "print 'scope1.c'::bar::funclocal_bss"
30357 to only be xfail'd when not compiled with gcc.
d63a86f8 30358 Add rs6000-*-* xfail for
c906108c
SS
30359 "print 'scope0.c'::filelocal_bss before run"
30360 when compiled with gcc.
30361 (test_at_main): Add rs6000-*-* xfail for
30362 "print filelocal_ro in test_at_main"
30363 when compiled with gcc.
30364 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 30365 Add rs6000-*-aix* xfail for
c906108c
SS
30366 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
30367 "ptype t_char_array", not compiled with gcc.
30368 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
30369 xfail for "list foo (in include file)" when gcc compiled.
30370 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 30371 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
30372 "run to call0a" if not compiled with gcc.
30373 (unsigned_integral_args): Add rs6000-*-* xfail for
30374 "run to call1a" if not compiled with gcc.
30375 (float_and_integral_args): Add rs6000-*-* xfail for
30376 "run to call2a" if not compiled with gcc and for
30377 "continue to call2b" for any compiler.
30378 Add rs6000-*-* xfail to
30379 "print f1 after run to call2a" for gcc compiled.
30380 (discard_and_shuffle): Add rs6000-*-* xfail for
30381 "run to call6a".
30382 (shuffle_round_robin): Add rs6000-*-* xfail for
30383 "backtrace from call7a" if not compiled with gcc.
30384 Add rs6000-*-* xfail for
30385 "backtrace from call7b" if compiled with gcc.
30386 (call_after_alloca): Add rs6000-*-* xfail for
30387 "print c in call_after_alloca" and
30388 "print s in call_after_alloca" and
30389 "backtrace from call_after_alloca_subr"
30390 if not compiled with gcc.
30391 (localvars_in_indirect_call): Add rs6000-*-* xfail for
30392 "print c in localvars_in_indirect_call" and
30393 "print c in localvars_in_indirect_call" and
30394 "backtrace in indirectly called function" and
30395 "stepping into indirectly called function"
30396 if not compiled with gcc.
30397 (localvars_after_alloca): Add rs6000-*-* xfail for
30398 "print c after runto localvars_after_alloca" and
30399 "print s after runto localvars_after_alloca" and
30400 "print i after runto localvars_after_alloca" and
30401 "print l after runto localvars_after_alloca"
30402 for all compilers.
30403 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
30404 than whatis-info.exp.
30405 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
30406 than opaque-info.exp.
30407 Setup rs6000-*-* xfail for
d63a86f8 30408 "ptype on opaque struct pointer (statically)" and
c906108c
SS
30409 "ptype on opaque struct pointer (dynamically)" when
30410 not compiled with gcc.
30411 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
30412 rather than callf-info.exp.
30413 (do_function_calls): Add clear_xfail for rs6000-*-* for
30414 "p t_float_values2(3.14159,float_val2)". Seems to work
30415 fine there, both with xlc and gcc. Need to find out what
30416 it is doing right and fix other platforms.
30417 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
30418 "call inferior func with struct - returns int",
30419 "call inferior func with struct - returns long",
30420 "call inferior func with struct - returns float",
30421 "call inferior func with struct - returns double",
30422 "call inferior func with struct - returns char *",
30423 but only if not gcc compiled (presumes xlc compiled).
30424 Change rs6000-*-* xfails for
30425 "call inferior func with struct - returns char" and
30426 " call inferior func with struct - returns short" to only
30427 xfail if not using gcc.
30428 (clean mostlyclean): Remove *.ci and *.tmp files.
30429 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
30430 than templ-info.exp.
30431 * gdb.base/langs.exp: Source gdb.base/langs.ci.
30432 Add rs6000-*-* xfail for "up to foo in langs.exp"
30433 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 30434 when not gcc compiled.
d63a86f8 30435
c906108c
SS
30436Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
30437
30438 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
30439 * gdb.base/corefile.exp: Likewise.
30440 * gdb.base/list.exp: Likewise.
30441 * gdb.base/scope.exp: Likewise.
30442 * gdb.base/siganls.exp: Likewise.
30443
30444 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
30445 compiler output.
30446 * gdb.base/whatis.exp: Likewise.
30447
30448Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
30449
30450 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
30451 failure (opcode table has been fixed to match reality).
30452
30453Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
30454
30455 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
30456 "call inferior func with struct - returns char",
30457 "call inferior func with struct - returns short"
30458
30459 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
30460 "print 'scope0.c'::filelocal at main",
30461 "print 'scope0.c'::filelocal_bss in test_at_main",
30462 "print 'scope0.c'::filelocal at foo",
30463 "print 'scope0.c'::filelocal_bss in test_at_foo",
30464 "print 'scope0.c'::filelocal at bar",
30465 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 30466
c906108c
SS
30467 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
30468 in source file 1". This bug seems to have been fixed with both
30469 gcc and native cc (was native assembler bug?).
30470
30471Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
30472
30473 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
30474 "backtrace through signal handler" to "i*86-*-sysv4*".
30475 * gdb.base/signals.exp: Add xfail for "'next' behaved as
30476 continue" case. Add "known SVR4 bug" to fail message.
30477 Add "i*86-*-bsdi2.0" xfail for "handle all print".
30478 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
30479 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
30480 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
30481 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
30482 "up to foo in langs.exp", "show language at foo in
30483 langs.exp", "up to cppsub_ in langs.exp", "show
30484 language at cppsub_ in langs.exp", "up to fsub in
30485 langs.exp", and "show language at fsub in langs.exp".
30486 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
30487 "bactrace in corefile.exp".
30488 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
30489 "call inferior function with struct - returns float" and
30490 "call inferior function with struct - returns double".
d63a86f8 30491
c906108c
SS
30492Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
30493
30494 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
30495 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
30496 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
30497 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
30498
30499Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
30500
30501 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
30502 (or overriden) "CHILL" macro rather then bare "gcc".
30503 Also look for ../../gcc/xgcc since that is what we will
30504 actually need, not "Makefile". Remove following assignment
30505 of CHILL to CHILL_FOR_TARGET because that results in
30506 recursive definition.
30507
30508Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
30509
30510 * gdb.base/corefile.exp: Change xfail for backtrace in
30511 corefile.exp from linuxaout to all linux.
30512 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
30513 cases where we miss the breakpoint at the signal handler
30514 for some reason. Setup xfail for linuxoldld/linuxaout and
30515 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
30516 hitting SIGURG breakpoint.
30517 * gdb.base/signals.exp: Setup xfail for "next" acting like
30518 continue to add linuxoldld. Setup xfail for all linux for
30519 "next to handler in signals_tests_1", "backtrace in
30520 signals_tests_1", "continue to func1", "pass SIGUSR1",
30521 and continue to handler".
30522
30523Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
30524
30525 * Update all FSF addresses except those in COPYING* files.
30526
30527Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
30528
30529 * gdb.base/a2-run.exp: Change messages to be more explicit about
30530 the status of args, and quote binfile in results.
30531
30532Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
30533
30534 * gdb.base/callfuncs.exp: Add tests for passing structs to
30535 inferior functions and return various types.
30536 * gdb.base/callfuncs.c: Add functions to receive a struct
30537 and return a member of the struct, in various types.
30538
30539Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30540
30541 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
30542
30543Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
30544
30545 * config/vxworks29k.exp: New file, sources vxworks.exp.
30546
30547Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
30548
30549 * config/gdbremote.exp: New file. Testing framework using
30550 gdbserver.
30551
30552Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
30553
30554 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
30555 "call function when asleep" and "send end of file".
30556 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
30557 for "backtrace in corefile.exp".
30558 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
30559 for "backtrace through signal handler".
30560 * gdb.base/corefile.exp: Make sure we actually generate a core file
30561 before trying the core tests. Some systems allow the user to suppress
30562 generation of core files and default to that (linux for example).
30563 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
30564 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
30565
30566Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
30567
30568 * gdb.threads: New directory with some crude multi-threaded
30569 gdb tests (step.exp and step2.exp).
30570 * config/mt-lynx (STEP_EXECUTABLE): Define.
30571 (THREADFLAGS): Define.
30572
30573Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
30574
30575 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
30576
30577 * gdb.base/signals.exp: Disable whole file for lynx until
30578 further notice.
30579
30580 * gdb.base/signals.exp: xfail test where "next" acts like
30581 "continue" for lynx.
30582
30583 * gdb.base/interrupt.exp: xfail test for calling function while
30584 inferior is asleep for lynx.
30585
30586 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
30587 than one cr-lf after each command.
30588
30589Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30590
30591 * configure.in: Reinstate setting of stabsdirs variable, fix
30592 typo in setting up configdirs for native builds.
30593
30594 * gdb.base/return.exp: Fix typo in return double test.
30595 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
30596 compiler from optimizing them away.
30597
30598Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
30599
30600 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
30601 sequences to be echo'd by gdb when using gdb_test.
30602 * gdb.chill/chexp.exp: Likewise.
30603 * gdb.fortran/exprs.exp: Likewise
30604
30605Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
30606
30607 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
30608 after the inferior gdb has started.
30609
30610 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
30611 after each command.
30612 * gdb.base/funcargs.exp: Likewise.
30613 * gdb.base/gdbvars.exp: Likewise.
30614 * gdb.base/interrupt.exp: Likewise.
30615 * gdb.base/list.exp: Likewise.
30616 * gdb.base/watchpoint.exp: Likewise.
30617 * gdb.c++/demangle.exp: Likewise.
30618 * gdb.c++/inherit.exp: Likewise.
30619 * gdb.chill/chexp.exp: Likewise.
30620 * gdb.fortran/exprs.exp: Likewise.
30621
30622 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
30623 test if we can't handle IO to/from the inferior.
30624
30625 * gdb.c++/misc.exp: Always check for a program already being
30626 started after sending a "run" command to gdb.
30627
30628 * gdb.base/twice.exp: Start with a fresh gdb.
30629
30630 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
30631 only depend on gdb's expression code, not the chill runtime.
30632
30633 * gdb.base/return.c: Put return values into variables so we
30634 can have gdb print them rather than depending on the program
30635 to print them.
30636 * gdb.base/return.exp: Corresponding changes.
30637
30638 * lib/gdb.exp: Provide default value for noinferiorio.
30639 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
30640 the inferior.
30641
30642 * gdb.base/break.exp: Always check for a program already being
30643 started after sending a "run" command to gdb.
30644 (text_next_with_recursion): Don't check the output from the
30645 program's printf statement. Instead just make sure the program
30646 exited.
30647
30648 * gdb.base/commands.exp: Protect tests which need arguments with
30649 $noargs conditionals.
30650
30651Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30652
30653 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
30654 of structure member arrays to match gdb/valops.c:value_addr change.
30655
30656Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
30657
30658 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
30659 cases.
30660
30661Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
30662
30663 * configure.in (configdirs): Remove gdb.chill from default list
30664 of subdirs and then add it back in only if doing a native build.
30665 The current chill compiler does not yet work in any cross build.
30666 * Revert all signal changes from Jul 6.
30667 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
30668 for sh-hms targets, allowing these tests to link, with no other
30669 changes. Testing is suppressed by setting "nosignals" in site.exp.
30670
30671Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
30672
30673 * configure.in (signaldirs): Define and add to configdirs for all
30674 targets except some specific ones that are known to not support signals.
30675 Also clean up formatting.
30676 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
30677 (signals, sigall): Remove rules to build.
30678 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
30679 Moved to new gdb.signals directory.
30680 * gdb.signals: New test directory.
30681 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
30682 signals.c signals.exp}: New or moved files.
30683
30684Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
30685
30686 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
30687
30688Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
30689
30690 * gdb.base/return.exp: Xfail `return double' test failure
30691 on at least Solaris 2.3 and handle future/past versions on
30692 a case by case basis as appropriate. Also update message
30693 to include i*86 failures.
30694
30695Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30696
30697 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
30698
30699 * lib/gdb.exp: Fix comment which erroneously identified
30700 gdb_file_cmd as gdb_load (the 19 May change was in fact to
30701 gdb_file_cmd not gdb_load).
30702 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
30703
30704 * gdb.base/setvar.exp: Make test names consistent between pass and
30705 fail cases. Use gdb_test more.
30706
30707Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30708
30709 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
30710
30711Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30712
30713 * gdb.base/help.exp: Fix expected help string for `show commands'.
30714
30715Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
30716
30717 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
30718
30719 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
30720 of a text section.
30721
30722Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
30723
30724 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
30725 that loop eventually terminates. Fix Connection refused logic so
30726 that testsuite will expire nicely.
30727
30728Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
30729
30730 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
30731 config/rom68k.exp: New tcl glue for the appropriate monitors.
30732 These all just end up calling monitor.exp.
30733 * config/monitor.exp (gdb_target_monitor): Handle `Connection
30734 refused' by retrying. Cleanup some timeout issues.
30735 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
30736 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
30737 callers don't have to set/restore global timeout variable.
30738
30739 * The following set of changes centralizes management of the global
30740 timeout variable. This way, it can be set in one target dependent
30741 place instead of dozens of places scattered throughout the test suite.
30742 If you need to lengthen a timeout, then you should either set timeout
30743 in one of the config/{target}.exp files, or multiply it by a factor.
30744 Setting it to an absolute value is always going to lose for some
30745 targets.
30746 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
30747 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
30748 * gdb.base/funcargs.exp: Don't set timeout.
30749 * gdb.base/list.exp (test_forward_search): Only use local timeout.
30750 * gdb.base/printcmds.exp (test_print_string_constants
30751 test_print_array_constants): Don't set timeout.
30752 * gdb.base/ptype.exp: Don't set timeout.
30753 * gdb.base/recurse.exp: Don't set timeout.
30754 * gdb.base/return.exp: Don't set timeout.
30755 * gdb.base/watchpoint.exp: Don't set timeout.
30756 * gdb.c++/classes.exp (do_tests): Don't set timeout.
30757 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
30758
30759Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
30760
30761 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
30762
30763Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30764
30765 * lib/gdb.exp: Disable chill tests for irix5.
30766
30767Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30768
30769 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
30770 each test pass or fail.
30771
30772Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30773
30774 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
30775 xlc not gcc.
30776
30777Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
30778
30779 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
30780
30781Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
30782
30783 * config/est.exp: Fix copyright and comments. Remove dead code.
30784 Use targetname, serialport and baud variables instead of fixed
30785 constants.
30786 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
30787 * config/cpu32bug.exp: New file to support cpu32bug monitors.
30788
30789Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30790
30791 * gdb.base/watchpoint.exp: Don't run
30792 test_watchpoint_triggered_in_syscall for sunos.
30793
30794Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30795
30796 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
30797 they don't seem to exist. Do include stdio.h.
30798
30799Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30800
30801 * gdb.base/a1-selftest.exp: Add alpha xfail.
30802
30803Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30804
30805 * gdb.base/watchpoint.c (main): Prompt before calling read().
30806 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
30807 Revise accordingly. Remove cruft about sending "123" several
30808 times, until it gets noticed. Clean up the "print buf[0]" stuff
30809 so that it passes or fails, and waits for prompts in the usual way.
30810
30811Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30812
30813 * gdb.base/recurse.exp: Fix comment.
30814
30815 * TODO: Remove item about printing variables in nodebug.exp. Add
30816 item about enabling tests which are only run on some targets.
30817
30818 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
30819 fail, make test names unique, use new gdb_test convention
30820 regarding pattern, use gdb_test more, etc.).
30821
30822 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
30823 fail, make test names unique, etc.).
30824
30825Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30826
30827 * gdb.base/nodebug.c: Change return type of top and middle to
30828 short.
30829 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
30830 are fixed by the recent mdebugread.c changes. Allow `short ()'
30831 as type for top and middle.
30832
30833Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30834
30835 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
30836 nearly as I can tell, the whole thing was an accident in Stu's
30837 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
30838 to replace a send/expect pair with gdb_test, but ended up only
30839 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
30840 of 30 Mar 1995 took care of it, but left this vestigial comment
30841 which I am now nuking.
30842
30843Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30844
30845 * gdb.base/break.exp: Look for different line number for
30846 breakpoint at main depending on usestubs.
30847
30848Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30849
30850 * gdb.base/list.exp: Adjust some alternate expect patterns to
30851 match recent list0.c change. Add alternate expect pattern for
30852 output from `list default lines around main' for optimizing
30853 compilers.
30854
30855Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30856
30857 * lib/gdb.exp: If nosignals is not set, set it to 0.
30858
30859Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
30860
30861 * config/slite-gdb.exp: Responds to load symbol table prompt.
30862 * gdb.base/break.exp: Adjust line number, fix rerun.
30863 * gdb.base/langs0.c: Add #ifdef usestubs.
30864
30865Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
30866
30867 * gdb.base/list.exp: Adjust line contents after adding new lines in
30868 list0.c. Also fix a syntax error.
30869
30870 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
30871 * gdb.base/break.exp: ditto.
30872 * gdb.base/list.exp: ditto.
30873 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
30874 * gdb.base/run.c: ditto.
30875 * gdb.base/list0.c: ditto.
30876 * gdb.base/funcargs.c: ditto.
30877
30878Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
30879
30880 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
30881 $targetname, $serialport and $baud instead of hardwired variables.
30882 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
30883 target doesn't support signals.
30884
30885Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
30886
30887 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
30888
30889Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30890
30891 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
30892 Don't rely on the value of an auto variable before it has been
30893 initialized. Use gdb_test more.
30894
30895Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30896
30897 * lib/gdb.exp (default_gdb_version): A version number must start
30898 with a digit, but other than that contains all characters up to
30899 the first whitespace character.
30900
30901Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30902
30903 * gdb.base/commands.exp (breakpoint_command_test): New tests.
30904
30905Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30906
30907 * gdb.c++/*.exp: Warn if executable does not exist. The original
30908 reason for skipping the warning was that configure.in sometimes
30909 intentionally skipped building the executables but the tcl code
30910 had no way of knowing. That (a) was always bogus with respect to
30911 error handling, (b) is no longer true (right now there is no way
30912 to skip C++ tests).
30913
30914 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
30915
30916Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30917
30918 * gdb.base/list.exp: Add expect patterns for output from
30919 SunPRO compiled executables.
30920 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
30921 types.
30922
30923Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30924
30925 * gdb.base/break.exp (test_next_with_recursion): Accept any line
30926 number (we are already testing that the correct source line text
30927 gets printed).
30928
30929 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
30930 that is what is intended, but something needed to be done to get
30931 sunos4 native working again.
30932
30933 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
30934
30935 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
30936 apparently went with a (very) old xfail.
30937
30938Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
30939
30940 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
30941 runto_main is a proc in gdb.exp that will do 'step' for target use
30942 stubs.
30943 * gdb.base/exprs.exp: ditto.
30944 * gdb.base/interrupt.exp: ditto.
30945 * gdb.base/opaque.exp: ditto.
30946 * gdb.base/printcmds.exp: ditto.
30947 * gdb.base/ptype.exp: ditto.
30948 * gdb.base/scope.exp: ditto.
30949 * gdb.base/setvar.exp: ditto.
30950 * gdb.base/signals.exp: ditto.
30951 * gdb.base/twice.exp: ditto.
30952 * gdb.c++/classes.exp: ditto.
30953 * gdb.c++/inherit.exp: ditto.
30954 * gdb.c++/templates.exp: ditto.
30955 * gdb.base/break.exp: no run and hit main for stubs. Change line
30956 numbers for breakpoints and info breakpoint.
30957 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
30958 breakpoint().
30959 * gdb.base/callfuncs.c: ditto.
30960 * gdb.base/exprs: ditto.
30961 * gdb.base/interrupt.c: ditto.
30962 * gdb.base/opaque0.c: ditto.
30963 * gdb.base/printcmds.c: ditto.
30964 * gdb.base/ptype.c: ditto.
30965 * gdb.base/scope0.c: ditto.
30966 * gdb.base/setvar.c: ditto.
30967 * gdb.base/signals.c: ditto.
30968 * gdb.base/twice.c: ditto.
30969 * gdb.c++/misc.cc: ditto.
30970 * gdb.c++/templates.cc: ditto.
30971
30972Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30973
30974 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
30975
30976 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
30977 somewhere between `read' and `main.c'. I'm pretty sure the
30978 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
30979 and it isn't particularly useful.
30980
30981 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
30982
30983Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30984
30985 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
30986
30987Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
30988
30989 * config/mt-slite: add LIBS and -nostdlib.
30990 * config/slite-gdb.exp: add this new file to support sparclite target.
30991
30992Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
30993
30994 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
30995
30996 * gdb.base/a2-run.exp: Change argument to istarget from
30997 "*-*-vxworks" to "*-*-vxworks*".
30998 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
30999
31000Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
31001
31002 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
31003 will not runto main but do a 'step' to step out of breakpoint().
31004 * config/mt-slite: add -Dusestubs.
31005
31006Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31007
31008 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
31009 instead of just @.
31010
31011 * gdb.base/signals.exp: Add test for "handle all print".
31012 * TODO: Remove "handle all print". Also remove item about
31013 checking copyright date (I don't like the idea of a spurious FAIL
31014 based on when we run the tests).
31015
31016 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
31017 for SunOS4 (reason for failure not investigated). Remove
31018 redundant test for $binfile.
31019
31020 * gdb.base/nodebug.c (array_index): Call malloc.
31021
31022 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
31023
31024Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
31025
31026 * gdb.base/recurse.exp: Update gdb_test invocation to use new
31027 conventions and slightly simplify the matching regexp.
31028
31029Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31030
31031 * gdb.base/break.exp: Update gdb_test invocation to use new
31032 convention.
31033
31034 * lib/gdb.exp: If noargs is not set, set it to 0.
31035
31036 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
31037 tests unique.
31038
31039 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
31040
31041Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31042
31043 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
31044 one argument of type "<non-float parameter>".
31045
31046Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
31047
31048 * config/rom68k.exp: New file to support Motorola IDP board.
31049 * gdb.base/a2-run.exp: Skip this file if noargs is set.
31050 * gdb.base/break.c: Change things around so that this program
31051 doesn't depend upon args. This is necessary to make remote
31052 targets work (in general, they can't take args).
31053 * gdb.base/break.exp: Don't try to send args to program. Don't
31054 expect output. Also, replace lots of code with gdb_test.
31055
31056Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31057
31058 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
31059 printing of '\'' (which is what the comment says we are testing,
31060 even though we were not), not '''.
31061 (test_integer_literals_rejected): Test that printing ''' is an error.
31062
31063 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
31064 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
31065 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
31066 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
31067 Use gdb_test not test_print_accept.
31068 * lib/gdb.exp: Remove test_print_accept.
31069
31070 * gdb.base/signals.exp (signal_tests_1): Make pass message
31071 consistent with fail message.
31072
31073 * gdb.base/whatis.exp: Remove xfails for printing char vs.
31074 unsigned char; the bug (PR 1821) is fixed.
31075
31076 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
31077
31078 * gdb.base/scope.exp (test_at_localscopes): Call pass for
31079 successful tests--makes xfailing them work right.
31080
31081Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31082
31083 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
31084 only \r\n, not .*. The test can pass .* as the last thing in
31085 $pattern if that is what it wants. In addition to providing this
31086 flexibility, this change should speed up pattern matching in cases
31087 where the pattern already ended with .* (there were a number of
31088 them). This change also helps catch bad patterns--in the old
31089 scheme the typo "char \*" instead of "char \\*" would pass. Now
31090 it is caught.
31091 * Many .exp files: Update callers.
31092
31093 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
31094 clearer and does not spuriously match multiple ('s. Likewise for
31095 ) and *.
31096
31097 * gdb.base/nodebug.exp: Test ability to call a function and pass
31098 it a string (even with no debugging info).
31099
31100 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
31101 "p '\'", which is the same as "p ''" once tcl gets done with
31102 quoting, to "p '\\'", which I suspect is what is intended (one
31103 backslash gets sent to GDB).
31104
31105 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
31106
31107Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31108
31109 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
31110 1817) was fixed literally years ago.
31111
31112Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31113
31114 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
31115 test, it causes stepping out of call_after_alloca_subr with
31116 optimizing compilers.
31117 (localvars_in_indirect_call): Consume GDB prompt if `finish'
31118 fails.
31119
31120 * gdb.c++/templates.exp: Source templ-info.exp only if
31121 the templates executable exists.
31122
31123 * gdb.c++/misc.cc (class Contains_static_instance,
31124 class Contains_nested_static_instance),
31125 gdb.c++/classes.exp (test_static_members): Test printing of
31126 a class that contains a static instance of the class.
31127
31128Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31129
31130 * gdb.base/langs2.c (cppsub_): Don't prototype.
31131 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
31132 only, I believe).
31133
31134Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31135
31136 * lib/gdb.exp (skip_chill_tests): New procedure.
31137
31138 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
31139
31140Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
31141
31142 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
31143 each expect pattern. Cuts runtime from 12 to about 4 seconds.
31144
31145Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31146
31147 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
31148
31149 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
31150 disassemble 8, not 16, instructions for part 4.
31151
31152 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
31153 support the latter anymore.
31154
31155 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
31156 -DNO_PROTOTYPES.
31157 * gdb.base/callfuncs.c: Control use of prototypes based on
31158 NO_PROTOTYPES, not __STDC__.
31159 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
31160 t_float_values2 tests if prototypes in use.
31161
31162 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
31163 t_double_values): When checking differences against DELTA, check
31164 that difference is within the range (-DELTA,DELTA), not just
31165 (-infinity,DELTA).
31166
31167Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
31168
31169 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
31170 'file' command firts, then 'target', then 'load', this is due to gdb
31171 target set up.
31172 * config/mips-gdb.exp: Fix a couple regular exp bugs.
31173
31174Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
31175
31176 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
31177 FP load/store variants.
31178 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
31179
31180Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
31181
31182 * gdb.base/term.exp: Do not give a warning if not native, it is
31183 not an abnormal condition.
31184
31185Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
31186
31187 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
31188 t_char_array".
31189
31190Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
31191
31192 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
31193 are getting the version number.
31194
31195 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
31196 if not native, it is not an abnormal condition.
31197
31198Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31199
31200 * lib/gdb.exp: Just use "file exists", rather than undocumented
31201 dejagnu procedure "findfile".
31202
31203Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
31204
31205 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
31206 (LDFLAGS): Set to -Xlinker -Ur.
31207
31208 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
31209 Removed, these values are set by lib/gdb.exp.
31210
31211 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
31212
31213Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
31214
31215 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
31216 of replicating gdb startup code.
31217
31218 * config/mt-vxworks (LDFLAGS): Set to -r.
31219 (CFLAGS_FOR_TARGET): Removed.
31220
31221 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
31222 (gdb) and gdb for vxworks uses (vxgdb).
31223
31224 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
31225 executable is not in the tree and host != target, use sed and
31226 program_transform_name to determine the gdb name used by the
31227 target.
31228
31229 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
31230 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
31231
31232Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31233
31234 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
31235 floats, chars, and shorts where there are ANSI-style function
31236 definitions.
31237
31238 * gdb.base/langs.exp, gdb.base/langs*: New test.
31239 * gdb.base/Makefile.in: Build it.
31240 * TODO: Remove item about checking that C names don't get C++
31241 demangling applied; this test tests it.
31242
31243Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31244
31245 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
31246 went with the const70 xfail. The xfail went away a year ago.
31247
31248 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
31249
31250 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
31251 for hp300.
31252
31253 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
31254
31255 * gdb.base/a1-selftest.exp: Don't run on hp300.
31256
31257Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31258
31259 * Makefile.in (site.exp): Set host_alias and target_alias as well
31260 as host_triplet and target_triplet.
31261
31262Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31263
31264 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
31265
31266 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
31267 places as other ecoff systems).
31268
31269 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
31270 ultrix.
31271
31272Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31273
31274 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
31275 remove them.
31276 * gdb.base/nodebug.exp: Accept "function" in addition to "text
31277 variable and "variable" in addition to "data variable".
31278 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
31279
31280 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
31281 2.
31282 * gdb.base/list1.c (long_line): Add additional statement at start
31283 of function.
31284 * gdb.base/list.exp (test_forward_search): Update line number to
31285 reflect new statement.
31286
31287Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31288
31289 * gdb.base/signals.exp: Reinitialize searched source directories
31290 after gdb_start call.
31291
31292Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
31293
31294 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
31295 * gdb.stabs/Makefile.in: Likewise.
31296
31297 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
31298 change. Instead split the tests into smaller pieces.
31299 * gdb.disasm/hppa.s: Corresponding changes.
31300
31301Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31302
31303 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
31304 Quote ^C when passing it to stty. For some shells ^ is a pipe.
31305
31306 * gdb.base/funcargs.exp: Modify many tests so that every test
31307 either passes or fails. Make some test names unique.
31308
31309Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31310
31311 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
31312 Call stty to set interrupt character.
31313
31314 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
31315 for HP assembler versus GNU assembler based on actual behavior of
31316 $(CC), rather than assuming that $(AS) is always the GNU assembler.
31317
31318 * TODO: Suggest a few more stepping tests.
31319
31320Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
31321
31322 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
31323 restart GDB for h8300 after a continue.
31324 (return): Add pattern to match a29k-udi behavior.
31325 * gdb.base/nodebug.exp: Remove obsolete comment.
31326 * gdb.base/regs.exp: New file, testing of register displays.
31327 * gdb.base/return.exp: Fix typo in reference to $objdir.
31328 * gdb.base/whatis.exp: Always start with a fresh GDB.
31329
31330Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31331
31332 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
31333 higher, these tests generate a lot of output.
31334
31335Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31336
31337 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
31338 code following the catch silently ignored some errors; without the
31339 catch they should be thrown like any other tcl error. Also, the
31340 catch used "" instead of {} which meant all the callers who wanted
31341 to include one of the characters "[]$ had to quote it an extra time.
31342 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
31343 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
31344 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
31345 Remove extra quoting.
31346
31347Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
31348
31349 * gdb.base/commands.exp: Make test names unique; every test either
31350 passes or fails. Update some comments.
31351
31352 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
31353
31354Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31355
31356 The following fixes a FAIL caused by the fact that the alpha stabs
31357 configuration didn't use the ".if alpha" code in weird.def.
31358 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
31359 bit pointer, so the 32 bit version works even on the alpha.
31360 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
31361 Remove the stuff which allowed us to have separate versions for
31362 alpha and everything else.
31363
31364 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
31365 regexp which "info func operator\[\](" is supposed to match. Fix
31366 string to send to GDB. Note that GDB still doesn't work right. Add a
31367 new test for "info func .perator\[\](" which GDB does handle correctly.
31368
31369 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
31370
31371Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31372
31373 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
31374 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
31375 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
31376 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
31377 it makes the tests harder to understand and confuses test-o-matic.
31378 The preferred style is that each test provides a PASS or a FAIL,
31379 and has a unique message (e.g. "continue #54" not just "continue")
31380 which is the same for the pass and the fail.
31381 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
31382 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
31383 to lib/gdb.exp.
31384 * gdb.base/printcmds.exp: Use test_print_accept. Remove
31385 prt_accept which was basically the same thing. Likewise for
31386 test_print_reject and prt_reject.
31387 * lib/gdb.exp (test_print_reject): Add some more error message
31388 patterns to match from the former printcmds.exp (prt_reject).
31389 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
31390 One defect of the passcount stuff is that some of it failed to
31391 report XPASS where appropriate.
31392 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
31393 stuff before and after arg in expected pattern.
31394 (test_paddr_operator_functions): Re-do test without print_addr_of;
31395 this is the only test which seems to want extra stuff there.
31396
31397Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31398
31399 * gdb.base/nodebug.exp: Update new tests to reflect improved
31400 wording of gdb output.
31401
31402 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
31403 and "ptype" work on variables in files compiled without -g.
31404 Replaces commented out "maint print msymbol" tests.
31405
31406Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31407
31408 * gdb.base/setvar.c (dummy): Call malloc.
31409
31410 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
31411 losing with the irix4 sed.
31412
31413 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
31414 ALRM" on irix4.
31415
31416Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31417
31418 * TODO: Remove items about corefile.exp testing new exec-file and
31419 backtrace; both are now done. Add items about printing enums.
31420
31421Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31422
31423 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
31424 "get signal $thissig" test fails.
31425
31426 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
31427
31428Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31429
31430 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
31431 compiler warning with dec alpha compiler.
31432
31433 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
31434 extra \n from gdb_test call (this explains why the prompt test
31435 that I removed yesterday was there).
31436 (user_defined_command_test): Remove extra \n and prompt test.
31437
31438 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
31439 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
31440 doesn't exist.
31441 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
31442 Also remove alpha workaround, which turns out to be because
31443 SIGABRT == SIGLOST.
31444
31445 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
31446
31447 * gdb.base/help.exp: Don't test "help show".
31448
31449Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31450
31451 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
31452 "set print address" is on.
31453 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
31454 pass prompt to gdb_test; gdb_test already looks for the prompt.
31455
31456 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
31457
31458 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
31459 was a vestige of the manual TESTSTRATEGY, and the purpose of it
31460 was to make sure that gdb can read a core file. But (a) the "read
31461 the corefile" part didn't make it to a1-selftest.exp, we just
31462 delete the corefile after creating it, and (b) we test reading
31463 corefiles in corefile.exp anyway. Also, this test left around a
31464 xgdb process on Solaris.
31465
31466 * gdb.base/corefile.exp: Also test backtrace.
31467
31468Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
31469
31470 * gdb.base/commands.exp: Test a simple user defined command with
31471 arguments and if/while statements; verify the full user command is
31472 printed by "show user".
31473
31474 * gdb.base/commands.exp: Test if/while commands as part of a
31475 breakpoint command list; verify they appear in breakpoint
31476 information.
31477
31478Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31479
31480 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
31481 than by dividing by zero.
31482
31483Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
31484
31485 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
31486 performing an inferior call with watchpoints enabled.
31487 * gdb.base/watchpoint.c (main): Delete second unnecessary read
31488 call.
31489
31490Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31491
31492 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
31493 of "file" command.
31494
31495 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
31496 Add additional pattern for when "int operator int(void);" appears
31497 in a different order.
31498
31499Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31500
31501 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
31502
31503 * gdb.base/help.exp: Replace most of docstrings for "info signals"
31504 and "signal" with ".*".
31505
31506Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31507
31508 * TODO: Add note about "handle all nostop".
31509
31510 * gdb.base/{sigall.c, sigall.exp}: New test.
31511 * gdb.base/Makefile.in: Add it.
31512
31513Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
31514
31515 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
31516 when invoking GDB, suppresses any windowing interface.
31517
31518Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
31519
31520 * config/sim-gdb: New file, simulator testing support.
31521
31522Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
31523
31524 * gdb.base/interrupt.exp: Test calling func1 twice.
31525
31526Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
31527
31528 * gdb.base/list.exp (test_forward_search): Set timeout higher
31529 when we'll be getting lots of output from gdb.
31530
31531 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
31532 "init_malloc" to after the expect statement. Run it if that
31533 regexp is taken, but also for two others which happen if source
31534 cannot be found.
31535
31536Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31537
31538 * gdb.base/printcmds.exp: New test, for printing register before
31539 program is running.
31540
31541Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31542
31543 * gdb.base/list.exp: Correct some alternate expect patterns
31544 to reflect changes in list1.c.
31545
31546Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31547
31548 * TODO: Add item regarding large frames.
31549
31550 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
31551
31552 * TODO: Remove item about enabling return.exp; it
31553 is enabled. Suggest a few more "return" tests.
31554
31555Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31556
31557 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
31558 anonymous unions.
31559
31560Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31561
31562 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
31563 and pr-5646.o, so "make" is the same as "make all", not "make
31564 pr-4975.o".
31565
31566Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
31567
31568 * gdb.base/list.exp: Adjust expectations to reflect changes in
31569 list1.c.
31570 (test_forward_search): New test proc.
31571 * gdb.base/list1.c (long_line): New function, has long source line.
31572
31573Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
31574
31575 * gdb.base/a1-selftest.exp: Change initial stepping to know about
31576 additional line of code that was added.
31577
31578Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
31579
31580 * gdb.disasm/hppa.s: Break the large branching tests into smaller
31581 tests so as not to overflow expect's input buffers.
31582 * gdb.disasm/hppa.exp: Corresponding changes.
31583
31584Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31585
31586 Beginnings of template debugging tests.
31587 * gdb.c++/templ-info.cc: New file to test for template
31588 debugging capability of the compiler.
31589 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
31590 templ-info.cc.
31591 * gdb.c++/templates.cc: Add explicit template instantiations
31592 to enable compiling with -fno-implicit-templates. Add destructor
31593 and 'value' method to T5 class for template tests.
31594 * gdb.c++/templates.exp: Add testcases for printing of template
31595 types, setting breakpoints on template methods and calling a
d63a86f8 31596 template method.
c906108c
SS
31597
31598Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
31599
31600 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
31601 branch target since some assemblers (gas-2.5) may emit a
31602 relocation for the branch instead of resolving it in the
31603 assembler.
31604
31605Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31606
31607 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
31608 through signal handler.
31609
31610Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31611
31612 * configure.in (*-*-netware): Use config/mt-netware.
31613
31614 * config/mt-netware: New file.
31615 * config/mt-i386-netware: Removed, separate configs for different
31616 netware architectures are no longer needed now that we have
31617 --with-headers.
31618
31619Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31620
31621 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
31622 by the recent changes to use ANSI C arithmetic conversions.
31623
31624Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31625
31626 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
31627 bug involving using inferior_pid to figure out whether to select a
31628 frame.
31629
31630Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
31631
31632 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
31633 match the current disassembler output.
31634
31635Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
31636
31637 * gdb.fortran/exprs.exp: Expect VOID instead of void.
31638 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
31639 types, expect "int" as type of integer values (for now).
31640
31641Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
31642
31643 * gdb.base/commands.exp: New tests for if/while commands.
31644
31645Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
31646
31647 * lib/gdb.exp (runto): Replace sub-pattern for hex value
31648 by .*, since hex values have different syntax in Chill mode.
31649
31650Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31651
31652 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
31653 linefeed from expect pattern for repeated types with indices > 9.
31654
31655Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
31656
31657 First part of Fortran test suite.
31658 * gdb.fortran: New directory.
31659 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
31660
31661Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31662
31663 * gdb.base/default.exp: Update expect pattern for load command
31664 without arguments.
31665
31666Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
31667
31668 * configure.in: Change i386 to i[345]86.
31669 * gdb.base/configure.in: Likewise.
31670 * gdb.c++/configure.in: Likewise.
31671 * gdb.chill/configure.in: Likewise.
31672
31673Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
31674
31675 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
31676 patterns, since that is not a valid context for comments.
31677
31678Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
31679
31680 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
31681 repeated types and repeated types with indices > 9.
31682
31683Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
31684
31685 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
31686 2417; old bug has been fixed.
31687
31688Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
31689
31690 * gdb.base/interrupt.exp: When trying to wake up the inferior,
31691 send the newline ourselves instead of assuming gdb_test will do
31692 so when passed an empty input string.
31693
31694 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
31695 stabs testcode.
31696
31697Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31698
31699 * lib/gdb.exp (gdb_test): Don't send anything if the first
31700 argument is an empty string. This makes cases where we want to
31701 match output that is already in expect's buffers (for example,
31702 matching a breakpoint after gdb_run_cmd has been called) work
31703 reliably.
31704
31705Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31706
31707 * config/netware.exp: New file.
31708
31709Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31710
31711 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
31712 the -B and -L prefixes so we can find the debugging stub.
31713
31714 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
31715 there and we are using the gcc from the tree.
31716
31717 * gdb.base/types.c: Removed.
31718
31719 * gdb.base/configure.in: Look for makefile fragments in ../config.
31720 Recognize i386-*-netware.
31721 * gdb.c++/configure.in: Likewise.
31722
31723Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31724
31725 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
31726 the correct TCL syntax.
31727
31728Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31729
31730 * gdb.base/opaque.exp: use runto instead of messing around with
31731 breakpoints. Simplify by using gdb_test.
31732
31733 * gdb.base/bitfields.exp: restart between tests on netware targets
31734 because breakpoints aren't relocated after target death. Run
31735 processes to completion.
31736
31737 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
31738
31739Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
31740
31741 * Makefile.in: Remove extra tabs that confuse some versions
31742 of "make". Use the newly built gdb to test with by default,
31743 rather than the first one in the tester's search path.
31744
31745Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
31746
31747 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
31748
31749 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
31750 condition help.
31751
31752Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31753
31754 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
31755
31756 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
31757 running.
31758 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
31759 * gdb.base/funcargs.exp: Likewise.
31760
31761 * gdb.base/bitfields.exp: Simplify by using gdb_test.
31762 * gdb.base/funcargs.exp: Likewise.
31763
31764 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
31765 message is "".
31766
31767Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31768
31769 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
31770 return,signals,twice}.exp: Handle non-existant binaries
31771 consistantly.
31772
31773 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
31774 * gdb.base/Makefile.in: Don't try to generate a core dump, we
31775 might testing a cross development system.
31776
31777Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31778
31779 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
31780 runtest script is relative to ${srcdir}, not ${rootdir}.
31781
31782Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
31783
31784 * gdb.base/signals.exp: Allow for optionality of breakpoint
31785 address.
31786
31787Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31788
31789 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
31790
31791Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31792
31793 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
31794 for size_t definition.
31795 * gdb.c++/templates.cc: Likewise
31796
31797 * config/mt-i386-netware: New file.
31798
31799 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
31800 defined.
31801
31802 * gdb.base/Makefile.in: Added support for systems that name core
31803 files by appending "core" to the program name.
31804 * gdb.base/a1-selftest.exp: Likewise.
31805
31806Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31807
31808 * gdb.base/return.exp: Add comment and message for `return double'
31809 test failure on Sparc Solaris.
31810
31811Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
31812
31813 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
31814
31815Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31816
31817 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
31818 from optimizing them away.
31819 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
31820 patterns to include default constructors and assignment operators,
31821 to match gcc versions beyond 2.5.8. Accept any cplus demangling
31822 character in the output of the virtual base pointer.
31823
31824Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31825
31826 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
31827 expression match in print_addr_of to avoid unintented matches.
31828 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
31829 versions up to 2.5.8.
31830
31831Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31832
31833 * gdb.base/list.exp: Tweak alternate pattern for listing of an
31834 included file to run under newer versions of expect.
31835 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
31836 consecutive >'s in templates to accomodate recent cplus-dem.c change.
31837 Remove xfail for the virtual table of BDDHookV.
31838
31839Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
31840
31841 * lib/gdb.exp (string_to_regexp): Set a default result.
31842 (default_gdb_start): Fix misleading message.
31843
31844Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
31845
31846 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
31847 Remove all CC, etc definitions.
31848 * config/mt-hpux: New file.
31849 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
31850 (CFLAGS, LDFLAGS): Define.
31851 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
31852
31853 * Makefile.in (site.exp): Don't insert host_os, etc.
31854 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
31855 (distclean): Check existence of subdir.
31856 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
31857 * gdb.base/Makefile.in: General cleanup and simplification.
31858 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
31859 to build executables. Use default rule to build .o files.
31860 (EXPECT, RUNTEST, CC): Fix relative pathname.
31861 (site.exp): Don't insert host_os, etc.
31862 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
31863 and/or SIGUSR1 defined.
31864 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
31865 * gdb.c++/Makefile.in: General cleanup and simplification.
31866 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
31867 (CFLAGS): Remove.
31868 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
31869
31870Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
31871
31872 * gdb.base/recurse.exp: Misc changes to get tests running again
31873 after Kung's changes to the watchpoint code.
31874 * gdb.base/watchpoint.exp: Likewise.
31875
31876Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
31877
31878 * lib/gdb.exp (string_to_regexp): Convert {\} also.
31879
31880Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
31881
31882 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
31883 * lib/gdb.exp (default_gdb_start): Define.
31884 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
31885 gdb.base/funcargs.exp, gdb.base/opaque.exp,
31886 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
31887 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
31888 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
31889 Don't call gdb_target_udi in between tests.
31890
31891Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31892
31893 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
31894 (which was basically just a local version of the same thing). In
31895 addition to avoiding duplication, gdb_test_exact is faster.
31896 * lib/gdb.exp (gdb_test_exact): Fix typo.
31897
31898 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
31899 don't give an error.
31900
31901 * gdb.base/term.exp: Call delete_breakpoints before starting.
31902
31903 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
31904 (t10): Add comment.
31905
31906Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
31907
31908 Reorganization of the GDB Test Suite.
31909
31910 * gdb.base: New directory, contains all the basic tests.
31911 * gdb.c++: New directory, tests specific to C++.
31912 * gdb.chill: New directory, tests specific to Chill.
31913 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
31914 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
31915 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
31916 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
31917 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
31918 t30-31 to chill).
31919 * */gdbme.*: Rename to match appropriate expect scripts.
31920 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
31921 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
31922 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
31923 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
31924 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
31925 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
31926 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
31927 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
31928 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
31929 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
31930 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
31931 gdb.c++/virtfunc.cc: New names of C++ files.
31932 * gdb.chill/chillvars.ch: New name of Chill file.
31933 * gdb.base/configure.in, gdb.c++/configure.in,
31934 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
31935 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
31936 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
31937 * configure.in (configdirs): Update to reflect directory changes.
31938 (target_abbrev): No longer define for any configuration.
31939 * Makefile.in: Cosmetic improvements to header comments.
31940
31941Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
31942
31943 Various changes to gdb.t31:
31944
31945 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
31946 * gdbme.ch: Make all key-words and predefineds be upper-case.
31947 * chillvars.exp: Expect key-words and predefinds in upper-case.
31948
31949 * chillvars.exp: Use gdb_test_exact many places.
31950 Change expected output for arrays (which now includes index labels).
31951
31952 * pr-5020.exp, gdme.ch (module PR_5020):
31953 New test, for PR-5020.
31954
31955Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
31956
31957 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
31958 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
31959
31960Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
31961
31962 * Makefile.in: Fix bit-rot in definitions of CHILL,
31963 CHILL_FOR_TARGET and Chill_LIB.
31964 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
31965 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
31966 CHILL, and CHILL_LIB.
31967
31968Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
31969
31970 * Revert the previous changes. Please see Rob's directory
31971 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
31972
31973Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
31974
31975 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
31976 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
31977 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
31978 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
31979 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
31980 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
31981 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
31982 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
31983 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
31984 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
31985 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
31986 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
31987 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
31988 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
31989 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
31990 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
31991 changes from 94Q1.
31992
31993Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
31994
31995 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
31996 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
31997 Rob's new testing fragments.
31998
31999Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
32000
32001 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 32002 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
32003
32004Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
32005
32006 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
32007 version also, match on casted version strings, and match on
32008 gdb startup case where the line numbers might be messed up.
32009
32010Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
32011
32012 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 32013 (CFLAGS): Delete it from here.
c906108c
SS
32014
32015Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
32016
32017 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
32018
32019Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
32020
32021 * Makefile.in (RUNTEST): Default to just "runtest".
32022
32023Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32024
32025 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
32026 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
32027 the code has been restructured.
32028
32029Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32030
32031 * gdb.t00/default.exp (set write): Allow any number of \r and/or
32032 \n, not just one of each.
32033
32034 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
32035 /bin/cc gives a warning if you do.
32036
32037Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
32038
d63a86f8 32039 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
32040 __t10ListS_link1ZUiRCUiPT0
32041
32042Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32043
32044 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
32045 on local variables in recursive functions.
32046
32047 * gdb.t07/Makefile.in: Build the new test.
32048
32049Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32050
32051 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
32052 directly. Instead compare the return values from actual calls.
32053
32054Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
32055
32056 * Makefile.in (check): Set TCL_LIBRARY for runtest.
32057
32058Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32059
32060 * From Peter Schauer with minor modifications.
a9c64011
AS
32061 * gdb.t15/return.exp (return_tests): Handle targets where "return"
32062 stops in mid-line in the caller. Add xfail for returning a float
32063 value on X86 targets.
c906108c
SS
32064
32065Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32066
32067 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
32068 to avoid expect lossage.
32069 (fmem_LRbug_tests): Likewise.
32070 * gdb.disasm/hppa.s: Corresponding changes.
32071
32072 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
32073 conditions to work with latest dejagnu/expect.
32074
32075 * gdb.t15/funcargs.exp (finish from indirect call): No longer
32076 expected to fail on the PA.
32077 (backtrace in call with trampolines): Explicitly require main
32078 to be frame #1 (no trampolines should show up in backtrace).
32079
32080 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
32081 "continue -expect".
32082 * gdb.t06/break.exp: Likewise.
32083 * gdb.t07/watchpoint.exp: Likewise.
32084 * gdb.t13/bitfields.exp: Likewise.
32085 * gdb.t15/{funcargs,return}.exp: Likewise.
32086 * gdb.stabs/weird.exp: Likewise.
32087 * config/{mips,udi}-gdb.exp: Likewise.
32088
32089 * hppa.sed: Enclose comments within a sed command to avoid
32090 losing with the old OSF1 sed.
32091
32092Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32093
32094 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
32095 sequent dynix.
32096 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
32097 * gdb.t15/funcargs.exp: Conditionally step again to really
32098 finish from marker_call_with_trampolines. Handle the case where
32099 the first step from within call_with_trampolines already steps
32100 us back to main.
32101 * gdb.t15/gdbme.c: Add comment to closing brace of
32102 call_with_trampolines for funcargs.exp.
32103
32104Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32105
d63a86f8 32106 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
32107 Fix typo(s).
32108
32109Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32110
32111 * gdb.t07/gdbme.c: More code for watchpoint testing.
32112
32113 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
32114 "Hardware watchpoint" throughout file.
32115 (test_watchpoint_triggered_in_syscall): New test.
32116 (test_complex_watchpoint): New test.
32117
32118Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32119
32120 * gdbme.c (call_with_trampolines): New function to try and step
32121 into. Tests trampoline problems on the PA.
32122
32123 * funcargs.exp (localvars_in_indirect_call): No longer expect
32124 stepping into indirect call to fail on PAs.
32125 (test_stepping_over_trampolines): New test.
32126
32127Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32128
32129 * TODO: Add suggestions for static member function tests, and
32130 completion tests.
32131
32132Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32133
32134 * TODO: Add suggestions for "p/a" tests.
32135
32136 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
32137 (default_gdb_exit): Replace all the hair with sending "quit" to
32138 the process with a simple close.
32139
32140Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32141
32142 * TODO: Add suggestions for shared library tests.
32143
32144Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32145
32146 * TODO: Add suggestions for x/s tests.
32147
32148Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32149
32150 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
32151 "enable once", and "enable breakpoints once" with ".*".
32152
32153Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32154
32155 * TODO: Add suggestions about structure passing tests.
32156
32157Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32158
32159 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
32160 the primary1 test, use work around if __GNUC__ < 2.
32161 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
32162 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
32163 Test for bad output rather than waiting for timeout. Issue
32164 second continue only if first continue failed.
32165
32166Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
32167
32168 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
32169 operator[] test with gdb_test because the old code didn't seem to
32170 be getting the quoting right with the new dejagnu.
32171
32172Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
32173
32174 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
32175 one from the path.
32176 * Makefile.in: Use a fresh expect if there is one, use runtest
32177 from the src tree if there is one.
d63a86f8 32178
c906108c
SS
32179Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
32180
32181 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
32182 next over recursive call. Revise the tests from that point on
32183 (which had been skipped) to match GDB's actual (correct) output.
32184
32185 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
32186 with next over a breakpoint whose condition is false.
32187
32188 * gdb.t00/help.exp: Comment out "help set print" tests just like
32189 (and for same reason as) "help set" test.
32190
32191Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32192
32193 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
32194 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
32195
32196Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32197
32198 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
32199 necessary gdb_target_udi.
32200
32201 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
32202
32203 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
32204 1838 and 2417; they are fixed.
32205
32206 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
32207 gdb.t03/ptype.exp (ptype structure, ptype union):
32208 Remove xfails; the test is looser than when the xfails were added.
32209
32210 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
32211 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
32212
32213 * gdb.t01/run.exp: Only run shell test if isnative.
32214
32215 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
32216 since "run" automatically loads if necessary. Call gdb_target_udi
32217 after the "file" since "file" kills any execution target.
32218
32219 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
32220 GDB. GDB doesn't work that way (not anymore at least) on UDI.
32221 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
32222 argument for UDI.
32223
32224Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
32225
32226 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
32227
32228 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
32229
32230Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32231
32232 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
32233 properly quoting regexps. This makes the second argument to
32234 demangle a fixed string, which matches the callers, instead of a
32235 shell-style pattern which is what the previous implementation
32236 used. Update some of the callers.
32237
32238Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32239
32240 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
32241 (comib_nullified_tests): Fix typo.
32242 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
32243 strings. No longer expected to fail.
32244
32245 * gdb.disasm/hppa.s (addib_tests): Fix typo.
32246 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
32247 strings. No longer expected to fail.
32248
32249 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
32250 string. No longer expected to fail.
32251
32252Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32253
32254 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
32255 No longer expected to fail.
32256
32257 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
32258 string. No longer expected to fail.
32259
32260Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32261
32262 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
32263 only in the names (I probably got most of them). I was even
32264 generous with some which differed in underscores in names, and
32265 probably missed a few, and I *still* was able to remove almost a
32266 third of the file with almost no impact on testsuite coverage.
32267
32268Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32269
32270 * gdb.t00/default.exp: Match udi_attach error message as well as
32271 the one from child_attach.
32272
32273 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
32274
32275 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
32276
32277 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
32278 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
32279
32280 * Move test with enums and partial symbols back to
32281 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
32282 Reverts the change of 26 May 93. Per today's change to
32283 stabs.texinfo, the behavior that weird.exp was expecting was
32284 unreasonable; what is important is that the compiler+gdb get
32285 things right, which happens with a recent gcc. Also fix the test
32286 to deal with native compilers which put out the stab gdb can't
32287 deal with.
32288
32289Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32290
32291 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
32292 in the names. The main thing these accomplish is to slow things down.
32293 Many more such duplicates surely remain.
32294
32295 * gdb.t00/help.exp: Comment out "help support" test just like
32296 (and for same reason as) "help set" test.
32297
32298Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
32299
32300 * gdb.t06/break.exp: Remove setup_xfails for
32301 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
32302 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
32303 about known bug in gcc to include up through 2.5.8.
32304 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
32305 well as "_vb$".
32306 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
32307 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
32308 with latest gcc and gdb.
32309 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
32310 well as "_vb$".
32311
32312Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32313
32314 * configure.in (hppa*-*-*): Also configure and build stabs-only
32315 tests.
32316
32317Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32318
32319 * gdb.t10/hppa.mt: A makefile fragment for the PA.
32320 * gdb.t10/configure.in (hppa*-*-*): Use it.
32321
32322Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32323
32324 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
32325
32326Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32327
32328 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
32329 versions prior to 1.13.5.
32330
32331Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32332
32333 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
32334 the prompt is at the start of a line.
32335
32336Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32337
32338 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
32339 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
32340 in the copr tests now.
32341 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
32342 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
32343 expected to fail.
32344
32345Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
32346
32347 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
32348 gdb.t31/chillvars.exp, lib/gdb.exp:
32349 Tweak to run under either version of expect.
32350 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
32351 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
32352 * gdb.t11/list.exp: Remove extraneous whitespace.
32353
32354Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32355
32356 * gdb.t16/printcmds.exp (test_print_strings): Accept
32357 "(unsigned char *) " before the string.
32358
32359 * TODO: Add notes about printing of fancy types and GDB expressions.
32360
32361Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
32362
32363 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
32364 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 32365 if doing mips-idt-ecoff.
c906108c
SS
32366
32367Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
32368
32369 * Most .exp files: Tweak to run under either version of expect.
32370
32371Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32372
32373 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
32374 xfails; I'm not sure why they are failing, but not because of PR 1806.
32375
32376Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
32377
32378 * config/unix-gdb.exp: Remove gdb_unload cause it's already
32379 defined in lib/gdb.exp.
32380
32381Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32382
32383 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
32384 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
32385 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
32386 have to be typeless.
32387
32388Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32389
32390 * TODO: Add suggestion for copyright year test.
32391
32392Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
32393
32394 * configure.in (*-*-lynxos*): Add stabs tests.
32395
32396Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
32397
32398 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
32399 so insert a tab before any assembler directive in column zero.
32400
32401 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
32402 stores.
32403 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
32404 stores.
32405 (fpu_short_memory_tests): Likewise.
32406
32407Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32408
32409 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
32410 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
32411 .stabs directives in comments.
32412
32413Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32414
32415 * TODO: New file, describing tests we could write.
32416 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
32417
32418Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32419
32420 * gdb.t06/signals.exp: Add kludge to force re-sync.
32421
32422 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
32423 to xgdb instead of gdb, get out of gdb.
32424
32425Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
32426
32427 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
32428 for info.
32429
32430Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
32431
32432 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
32433 * gdb.stabs/configure.in (hppa*-*-*): Use it.
32434 * gdb.stabs/hppa.sed: New sed script for the PA.
32435
32436Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32437
32438 * gdb.stabs: Re-write weird.def and configuration to use sed
32439 instead of cpp. sed is portable and POSIX; cpp is neither.
32440
32441Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32442
32443 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
32444
32445Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32446
32447 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
32448
32449Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32450
32451 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
32452 "_vb$".
32453 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
32454 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
32455
32456Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32457
32458 * lib/gdb.exp: Comment out code which depends on non-existent
32459 `transform' procedure.
32460
32461Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
32462
32463 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
32464 * lib/gdb.exp: Transform tool name.
32465 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
32466 1.1's new error handling system.
32467
32468Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32469
32470 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
32471
32472Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32473
32474 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
32475 They made pattern matching so slow that timeouts happened on
32476 heavily loaded systems. Now any output from "show print" which
32477 gets us back to the GDB prompt is a PASS.
32478
32479Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
32480
32481 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
32482
32483Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32484
32485 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
32486
32487 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
32488 It is not from PR 3220.
32489
32490Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32491
32492 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
32493 just started failing because they depended on the order the
32494 subcommands are presented, or exact docstring text. This kind of
32495 test is a pain and has minimal benefit.
32496
32497Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32498
32499 * gdb.t09/corefile.exp: At end of test, use "core" command with
32500 no arguments.
32501
32502Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
32503
32504 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
32505 17}/Makefile.in: Make it possible to run the testsuite with Sun
32506 make and CC = cross gcc by adding explicit build rules for .o
32507 files.
32508
32509Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32510
32511 * gdb.t15/funcargs.exp: Don't put comments on same line as
32512 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 32513
c906108c
SS
32514Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32515
32516 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
32517
32518Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
32519
32520 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
32521 * gdb.t20/inherit.exp: remove three dumplicate entries.
32522
32523Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32524
32525 * gdb.t06/break.exp: For "next over recursive call", fail on any
32526 incorrect output, not just on "factorial (value=2)".
32527
32528Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32529
32530 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
32531 working now. Add an xfail if accesing a bss variable causes
32532 a memory error if the target is not yet run.
32533
32534Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32535
32536 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
32537 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
32538 name of __st* demangling (2 strings). Did Kung really get the
32539 more than 95 others right without testing them?
32540
32541Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
32542
32543 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
32544
32545Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
32546
32547 * configure.in (configdirs): Add gdb.disasm
32548 * gdb.disasm: New directory for GDB disassembler tests.
32549 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
32550
32551Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32552
32553 * gdb.t00/help.exp: Don't test "help set".
32554
32555 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
32556 from within expect statements. None of these happen anymore and
32557 they cause regressions to be silently unnoticed.
32558
32559 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
32560 messages) about known failures with gcc cygnus-2.4.5-930417.
32561
32562 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
32563 comp-info.exp so it gets built if it doesn't exist.
32564
32565 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
32566 it is no longer used.
32567 * gdb.t13/comp-info.c: Removed.
32568
32569Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32570
32571 * gdb.t06/signals.exp: Add xfail for sun3.
32572
32573Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32574
32575 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
32576 relevant because ^C doesn't get sent but failure can be reproduced
32577 interactively).
32578
32579Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32580
32581 * gdb.stabs/alpha.mt: New configuration file for alpha.
32582 * gdb.stabs/configure.in: Use it.
32583 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
32584 sharing with alpha.mt, redefine long to word via preprocessor.
32585 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
32586 for alpha.
32587 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
32588 native cc.
32589 * gdb.t00/teststrategy.exp: Change expect string so that we
32590 consume the `(xgdb)' from the command echo and from the gdb prompt.
32591 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
32592 gdb currently compares all values as long, so this failure probably
32593 applies to any configuration where LONGEST is bigger than a target int.
32594 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
32595 with gcc.
32596 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
32597 to handle opaque pointers, gcc is.
32598 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
32599 as first argument. Include <sys/types.h> and change all operator
32600 new definitions to use size_t.
32601 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
32602 now that we use size_t.
32603
32604Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32605
a9c64011 32606 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 32607 a long or float array cast all array members to the same type.
a9c64011 32608 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 32609 with 64 bit longs.
a9c64011 32610 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 32611 on alpha.
a9c64011 32612 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
32613
32614Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32615
32616 * gdb.t24 (demangle.exp): Constructors of templates have names like
32617 vector<int>::vector(int) not vector<int>::vector<int>(int). See
32618 section 14.6 of the ARM.
32619
32620 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
32621 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
32622 accomplish little and slow down the testsuite.
32623
32624 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
32625 Accept spaces various places.
32626
32627Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32628
32629 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
32630 with watchpoint enabled.
32631
32632 * Makefile.in: Remove definition of CC and remove the second
32633 definition of CXX (the "CXX = gcc" one remains). These definitions
32634 were causing backquotes to be expanded within backquotes, which
32635 doesn't work.
32636
32637Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
32638
32639 * gdb.t17/callfuncs.exp: Add "return 0" to end.
32640
32641Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32642
a9c64011
AS
32643 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
32644 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
32645 by mips cc and contains no stabs entries.
32646
32647Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
32648
32649 * config/vx-gdb.exp: Use fake device to load files rather than
32650 NFS.
32651 * lib/gdb.exp: New proc to do "file" command.
32652 * config/unix-gdb.exp: Use new "file" proc.
32653
32654Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
32655
32656 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
32657 Rework board rebooting slightly.
32658 (gdb_exit): Don't exit from the remote shell; there isn't one.
32659 * gdb.stabs/weird.exp: If a program is being debugged already,
32660 kill it.
32661 * gdb.t04/setvar.exp: Stop and restart gdb.
32662 * gdb.t05/expr.exp: Likewise.
32663 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
32664 restart gdb and reload the program.
32665 * gdb.t08/opaque.exp: Likewise.
32666 * gdb.t12/scope.exp: Likewise.
32667 * gdb.t13/bitfields.exp: Likewise.
32668 * gdb.t15/funcargs.exp: Likewise.
32669 * gdb.t20/classes.exp: Likewise.
32670 * gdb.t03/ptype.exp: Increase timeout.
32671 * gdb.t16/printcmds.exp (test_print_string_constants,
32672 test_print_array_constants): Likewise.
32673 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
32674 * gdb.t20/classes.exp (do_tests): Likewise.
32675 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
32676
32677Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
32678
32679 * gdb.stabs: Renamed *wierd* to *weird*.
32680
32681Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
32682
32683 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
32684 for timeout. Add "known gcc 2.4.5 bug" to failure message.
32685
32686Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
32687
32688 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
32689 (do_tests): Remove xfail for whatis on one_var and two_var.
32690
32691Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
32692
32693 * Makefile.in: Made cross building work better by adding
32694 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
32695
32696Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32697
32698 * gdb.t15/{return.c,return.exp,Makefile.in}:
32699 New test, currently commented out.
32700
32701Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
32702
32703 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
32704 still running and removes the leftover named socket so GDb can do
32705 clean restarts.
32706
32707Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
32708
32709 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
32710 console, not GDB.
32711 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
32712 cross testing works better with "make check"
32713 * config/unix-gdb: Use default procedures for exit and version.
32714 * config/vx-gdb.exp: Cleaned up and massaged back to working order
32715 with the newest VxWorks.
32716
32717Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32718
32719 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
32720 old form.
32721
32722 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
32723 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
32724
32725 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
32726
32727 * config/unix-gdb.exp: Remove this version of gdb_exit
32728 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
32729 Rob says he'll look at it when he gets back to testing boards.
32730
32731Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
32732
32733 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
32734 an expected fail for certain ptype commands.
32735
32736 * gdb.t20/classes.exp: Update expected results of "ptype class
32737 Base1" to account for the constructor that now appears in the type.
32738
32739Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
32740
32741 * configure.in (configdirs): Restore gdb.t04, which mysteriously
32742 disappeared from list.
32743 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
32744 "alldone" proc with call to cleanup and exit.
32745 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
32746 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
32747 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
32748 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
32749 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
32750 "alldone" proc with simple returns that suppress remaining
32751 tests. The alldone proc went away many months ago.
32752
32753Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32754
32755 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
32756
32757 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
32758
32759Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32760
32761 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
32762 as vax gdb will display them.
32763
32764Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32765
32766 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
32767 optimizers.
32768
32769 * scope.exp: Change "bad value for localval" messages so each one
32770 is unique.
32771
32772 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
32773 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
32774
32775 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
32776
32777Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32778
32779 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
32780 doesn't exist (due to optimization).
32781
32782Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32783
32784 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
32785 contains \r because the filename is long.
32786
32787 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
32788 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
32789
32790Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32791
32792 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
32793 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
32794 Ultrix.
32795 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
32796 int tests.
32797 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
32798
32799Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
32800
32801 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
32802
32803 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 32804 to match does not match the passing case but still matches the
c906108c
SS
32805 failing case.
32806
32807Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32808
32809 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
32810
32811Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
32812
32813 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
32814 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
32815 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
32816 Remove various versions of gdb_exit.
32817 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
32818 gdb_exit.
32819 * config/unix-gdb.exp: gdb_exit remains here, and should override
32820 the generic version, since it's doing a lot of wierd stuff that
32821 the other versions aren't. FIXME, fold it in, or abandon this
32822 version.
32823
32824Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32825
32826 * gdb.t24/demangle.exp: Add tests for PR 3220.
32827
32828Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32829
32830 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
32831
32832Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
32833
32834 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
32835 "i386-*-*". Works for i486 as well.
32836
32837 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
32838 bug, and expand domain of xfail to all SVR4 systems, since the
32839 actual problem is likely to be in generic SVR4 /proc support.
32840
32841Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32842
32843 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
32844
32845Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
32846
32847 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
32848 xfails for other systems. Match a missing 'Continuing.' as an
32849 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
32850
32851 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
32852 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
32853 Only issue warning for missing executables if -all option is used.
32854
32855 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
32856 file if -all option is used. It's like an unpredictable XFAIL.
32857
32858Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32859
32860 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
32861 for dynamically linked binaries.
32862
32863 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
32864
32865Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32866
32867 * gdb.t20/inherit.exp: Change message for "print tagless struct"
32868 to state that this is a known bug in old versions of g++.
32869
32870Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32871
32872 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
32873 while waiting for `Continuing'.
32874
32875Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
32876
32877 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
32878 in text, data, and bss.
32879 * gdb.t10/nodebug.c: Add local and global test variables for
32880 initialized and uninitialized data.
32881
32882Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32883
32884 * config/unix-gdb.exp (gdb_exit): Add "wait".
32885
32886Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32887
32888 * gdb.t06/signals.exp: xfail the continue from the handler for all
32889 targets.
32890
32891 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
32892 function with watchpoints enabled, the i386 call dummy starts with
32893 a call.
32894
32895 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
32896 386 bsd names its corefiles.
32897
32898Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
32899
32900 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
32901 compilers don't grok it.
32902 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
32903 with small octal ints rather than character constants, which
32904 are signed and might not fit if first promoted to int.
32905
32906Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
32907
32908 * gdb.t09/Makefile.in (clean): Remove corefile.
32909
32910Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32911
32912 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
32913
32914Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32915 and Jim Kingdon (kingdon@cygnus.com)
32916
32917 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
32918 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
32919 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
32920
32921Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32922
32923 * gdb.t17/interrupt.exp: Add xfail for hppa.
32924
32925Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32926
32927 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
32928 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
32929 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
32930 to determine signed-ness of bitfields and use the result to setup
32931 the xfail.
32932 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
32933 * gdb.t15/funcargs.exp: Use them to step until the second indirect
32934 call line is reached if necessary.
32935
32936Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32937
32938 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
32939
32940Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32941
32942 * gdb.t06/break.exp: Also test `clear' command.
32943
32944Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32945
32946 * gdb.t00/teststrategy.exp: Remove extra quote.
32947
32948 * gdb.t07/watchpoint.exp: Change xfail for calling function with
32949 watchpoint enabled to be for all non-68k machines.
32950
32951 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
32952
32953Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32954
32955 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
32956 targets use aout.mt instead of ecoff.mt as gas understands
32957 standard aout format.
32958
32959Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32960
32961 * lib/gdb.exp (runto): Don't insist that function we are running to
32962 was compiled with -g.
32963
32964 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
32965
32966 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
32967 to get back into the read system call.
32968 Accept leading newline in case where we woke it up.
32969
32970Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32971
32972 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
32973 to make the stabs test work on ecoff systems using gcc and -with-stabs.
32974 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
32975 enable ecoff configuration.
32976
32977Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32978
32979 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
32980
32981Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32982
32983 * gdb.t16/printcmds.exp: Add another printf test.
32984
32985Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
32986
32987 * configure.in: If configured -with-stabs on any target, add
32988 stabsdirs to configdirs.
32989
32990Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32991
32992 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
32993 fun" so pattern does not match the command itself.
32994
32995Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32996
32997 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
32998
32999Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33000
33001 * gdb.t17/interrupt.exp: Test for more things.
33002
33003Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33004
33005 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
33006 compiler arranges the code and line numbers.
33007
33008 * gdb.t17/interrupt.exp: Don't send \n after ^C.
33009
33010Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33011
33012 * gdb.t00/help.exp: Increase expect input buffer size.
33013
33014Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33015
33016 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
33017
33018 * gdb.t07/watchpoint.exp: Add xfail for hppa.
33019
33020 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
33021
33022 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
33023 [0-9]*, not just [0-9].
33024
33025Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33026
33027 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
33028
33029 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
33030
33031Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33032
33033 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
33034
33035Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33036
33037 * gdb.t06/signals.c: Add xfails for sun3.
33038
33039 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
33040
33041 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
33042 test_stepping tests.
33043
33044Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33045
33046 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
33047
33048 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
33049
33050 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
33051 rather than actually putting it through cpp twice.
33052
33053 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
33054
33055Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
33056
33057 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
33058 no longer needed.
33059
33060Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33061
33062 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
33063
33064 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
33065 C++ features prints as "struct", make it a pass, not an xfail.
33066
33067Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33068
33069 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
33070 Don't require VA to print as "class" rather than "struct".
33071
33072Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
33073
33074 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
33075
33076Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33077
33078 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
33079
33080Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33081
33082 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
33083 order.
33084
33085Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33086
33087 * gdb.t16/printcmds.exp: Add printf tests.
33088
33089 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
33090
33091 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
33092
33093Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
33094
33095 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
33096 pass counts, to counteract any existing or future setup_xfails.
33097
33098Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33099
33100 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
33101 {BEGIN,END}_COMMON for common block instead of STAB.
33102 * gdb.stabs/wierd.exp: Add xfail for rs6000.
33103
33104 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
33105 intp_var should be N_GSYM not N_LSYM.
33106 wierd-aout.S: Use a label for the value of the N_SO.
33107 wierd.def: Remove all backslashes.
33108 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
33109
33110Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33111
33112 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
33113 get the expected next to inheritance3.
33114
33115Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33116
33117 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
33118 now that gcc-2.4 gets it right.
33119
33120Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33121
33122 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
33123
33124 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
33125 generating comp-info.exp which works for cross-compilation.
33126
33127Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
33128
33129 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
33130 "*-*-sysv4.*".
33131
33132Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
33133
33134 * gdb.t01/run.exp: Start with a fresh gdb.
33135 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
33136 SVR4.x.
33137
33138Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
33139
33140 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
33141 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
33142 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
33143 Makefile.in (distclean, realclean): Remove gdbme.c from list of
33144 things to remove.
33145
33146Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
33147
33148 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
33149 test cases from bug reports.
33150
33151Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
33152
33153 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
33154 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
33155 avoid spurious xfails.
33156 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
33157 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
33158 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
33159
33160Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
33161
33162 * gdb.t00/teststrategy.exp: Rework to provide more useful
33163 description of each test, fix problem with systems that define
33164 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
33165 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
33166 results for "next over recursive call" so timeouts aren't taken
33167 by error.
33168
33169Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
33170
33171 * gdb.t12/scope.exp: Test printing of variables before run.
33172
33173 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
33174 printed in wrong order due to sorting.
33175
33176Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
33177
33178 * gdb.t00/teststrategy.exp: Fix expected results for printing
33179 user entered string constant. Is array of char, prints with no
33180 address.
33181
33182 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
33183 commands.
33184 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
33185 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
33186 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
33187 of struct of char arrays.
33188 * gdb.t00/radix.exp: New tests for radix commands.
33189
33190Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
33191
33192 * gdb.t16/printcmd.exp: Print a variable before running program
33193 (with xfail for AIX).
33194
33195Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
33196
33197 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
33198
33199 * gdb.t16/printcmd.exp: Don't print variables before running program.
33200
33201 * gdb.t06/break.exp: Don't require envp argument to main.
33202
33203 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
33204
33205 * gdb.t02/whatis.exp, gdb.t11/list.exp:
33206 Add xfails for rs6000.
33207
33208 * gdb.t02/whatis.exp: Change other tests not to re-test something
33209 we already tested.
33210
33211 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
33212 each type used has a variable of that type.
33213
33214Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
33215
33216 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
33217
33218Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
33219
33220 * configure.in: change srctrigger to be a file, not a directory
33221
33222Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
33223
33224 * configure.in (mips-idt-ecoff*): Added trailing '*'.
33225
33226 * gdb.t11/list.exp: Fixed a couple of typos.
33227
33228Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
33229
33230 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
33231 is fixed and PR is closed.
33232 * gdb.t16 (gdbme.c): Add simple test string variable.
33233 * gdb.t16 (printcmds.exp): Add tests with simple test string
33234 variable, primarily for boundaries on "set print elements".
33235
33236Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
33237
33238 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
33239 Make leading 0's optional and don't expect a tab in the middle
33240 of the number.
33241
33242 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
33243
33244 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
33245 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
33246 don't end command passed to gdb_test with newline.
33247
33248 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
33249 signed keyword away, don't expect signed bitfields to be signed.
33250
33251 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
33252 printing with only as many 1's as are in the field as well as printing
33253 with 32 1's (see comment).
33254
33255Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
33256
33257 * gdb.t00/default.exp: Start with a fresh gdb.
33258 * configure.in (configdirs): Remove gdb.t31 until the chill
33259 compiler works again. It no longer is able to find chillrt0
33260 since it isn't in libchill.a anymore.
33261 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
33262 wierd.o, make more modular.
33263 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
33264 spurious newlines that caused problems.
33265
33266Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33267
33268 * Move test with enums and partial symbols from gdb.t03/ptype.exp
33269 to gdb.stabs/wierd.exp since GCC has worked around the bug.
33270 gdb.stabs/wierd.{exp,def}: Many new tests.
33271
33272 * gdb.t00/default.exp: update info line for new message.
33273
33274 * gdb.t02/{whatis.exp,gdbme.c}:
33275 Test that "char *" doesn't print as "caddr_t".
33276
33277Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33278
33279 * gdb.t00/help.exp: Use .* in place of some help messages which
33280 just changed.
33281 gdb.t00/default.exp: Update "info frame" test for new message.
33282 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
33283 Remove some xfails
33284
33285Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33286
33287 * gdb.t03/{gdbme.c,ptype.exp}:
33288 Add tests for typedef'd struct and union without tags.
33289 Also check "whatis" on a variable of a typedef'd enum without a tag.
33290
33291 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
33292 PRMS 1823; the bug still exists but isn't reproduced by this test
33293 anymore), and remove rs6000 XFAIL (the bug is fixed).
33294
33295 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
33296 duplicated from whatis.exp. For those that are left, accept
33297 "long", "long int", or "int" for long variables (whatis.exp already
33298 has an XFAIL for "int", so no need to fail it here).
33299
33300 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
33301 Deal with GCC's names for types now that GDB uses the compiler's names.
33302
33303 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
33304 setup_xfail's for sunos4. If we #defined the signed keyword away,
33305 don't expect GDB to know that char it is signed.
33306
33307 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
33308
33309Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
33310
33311 * configure.in (configdirs): Add gdb.t24 for C++ tests that
33312 should work on any system, regardless of debugging format.
33313 * gdb.t21/demangle.exp: Move to gdb.t24.
33314 * gdb.t24/demangle.exp: Move from gdb.t21.
33315 * gdb.t24/{Makefile.in, configure.in}: New files.
33316
33317Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33318
33319 * configure.in: Do gdb.stabs and C++ tests only for stabs.
33320 * gdb.stabs: New directory.
33321
33322Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33323
33324 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
33325 not just "Quit anyway?".
33326
33327Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
33328
33329 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
33330 that all setup_xfails are immediately followed by clear_xfails.
33331
33332Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
33333
33334 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
33335 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
33336 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
33337 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
33338 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
33339 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
33340 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
33341 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
33342 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
33343 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
33344 gdb.t31/chillvars.exp, lib/gdb.exp:
33345 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
33346 bug-gdb@prep.ai.mit.edu.
33347
33348Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
33349
33350 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
33351 with 0.0, not integer 0.
33352
33353Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
33354
33355 * gdb.t06/break.exp: Update for "Kill the program" message change.
33356
33357Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
33358
33359 * Makefile.in (GDBFLAGS): Set to -nx.
33360 * Makefile.in (site.exp): Use GDBFLAGS.
33361
33362Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
33363
33364 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
33365 Makefiles.
33366 (check): depend on just-check.
33367 (just-check): added so that tests can be run without a noop
33368 build pass.
33369
33370Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
33371
33372 Switch to using configure's configdirs.
33373 * Makefile.in (Makefile): add configure.in dependency.
33374 (SUBDIRS): removed redundant assignment.
33375 * configure.in: switch subdirs assignment to configdirs.
33376 * gdb.t*/configure.in: new files.
33377
33378Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
33379
33380 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
33381 works.
33382
33383Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
33384
33385 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
33386 in explicit rules. Apparently this is not supported by some makes.
33387
33388Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
33389
33390 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
33391
33392Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33393
33394 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
33395 disappeared.
33396
33397Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
33398
33399 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
33400
33401Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
33402
33403 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
33404 watchpoint problem that is now fixed.
33405 * gdb.t30/chexp.exp: Remove setup_xfail for printing
33406 uninitialized convenience variables.
33407 * gdb.t31/chillvars.exp: Fix expected patterns for printing
33408 structures.
33409
33410Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33411
33412 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
33413 which causes expect to get out of sync with gdb on long output
33414 from help set.
33415 * gdb.t09/corefile.exp: Make expected pattern for core file
33416 failing signal and frame output format less sun specific.
33417
33418Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
33419
33420 * gdb.t31/chillvars.exp: Add and remove initial dummy
33421 breakpoint, so that symbol table is forced in.
33422 (Needed at least on Sunos4, though it seems not SVR4.)
33423 * gdb.t31/chillvars.exp: Update for changed output format.
33424
33425Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
33426
a9c64011 33427 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
33428
33429Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
33430
33431 * Makefile.in: Added --srcdir when invoking runtest, removed the
33432 need for a local config file. (optional now)
33433
33434Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
33435
33436 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
33437 failure count used to force early termination. Add some more
33438 expected failures for gnu style demangling.
33439
33440Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33441
33442 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
33443 pmi variable from gdb.t20/gdbme to get optimized away.
33444 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
33445 Check for written corefile upon timeout _and_ eof.
33446
33447Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33448
33449 * config/unix-gdb.exp: Add missing return 0.
33450
33451Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33452
33453 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
33454 test termination.
33455
33456Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
33457
33458 * configure.in (subdirs): Put back gdb.t17 which mysteriously
33459 disappeared.
33460
33461Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
33462
33463 * gdb.t10/crossload.exp: Disable the i860-elf test until such
33464 time as i860 support works.
33465
d63a86f8 33466 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
33467 "backtrace 100\r" rather than just "backtrace\r", to match last
33468 change.
33469
33470Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
33471
33472 * config/udi-gdb.exp (gdb_exit): Remove close command.
33473 (gdb_target_udi): New procedure to set the UDI target.
33474 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
33475 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
33476 Added waits for prompts after several question responses. Added
33477 some more responses used by a29k-amd-udi-gdb.
33478 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
33479 pass different arguments, restart UDI connection after program
33480 completion.
33481 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
33482 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
33483 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
33484 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
33485 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
33486 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
33487 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
33488 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
33489 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
33490 after program completion.
33491 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
33492 compiled with a SELECT_VECS setting.
33493 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
33494 infinite recursion.
33495
33496 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
33497 Added checks for COFF results, and made them expected failures for
33498 all targets. It would be better to make them expected failures
33499 for COFF targets only.
33500
33501Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
33502
33503 * Makefile.in: add null dvi target, don't bother to recurse
33504 through test directories for info and install-info; rename
33505 $(datadir) to be dejagnu instead of deja-gnu
33506
33507Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
33508
33509 * gdb.t31/gdbme.ch: Re-enable code that previously caused
33510 compiler to coredump.
33511 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
33512 code.
33513
33514Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
33515
33516 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
33517 coredump.
33518 * gdb.t31/chillvars.exp: Comment out tests that depend on that
33519 code.
33520
33521Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
33522
33523 * gdb.t03/ptype.exp: tests for return code from gdb_test.
33524 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
33525 which in a shell. Deletes xgdb when done.
33526 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
33527 Tests the return from the "set height" or "set width" commands.
33528 Added a few return codes where needed.
33529
33530Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
33531
33532 * Makefile.in (SUBDIRS): Add gdb.t17.
33533 * configure.in (subdirs): Add gdb.t17.
33534 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
33535 files to test gdb's calling of functions in the inferior with
33536 the correct arguments and gdb's ability to retrieve any
33537 result returned.
33538
33539Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
33540
33541 * config/unix-gdb.exp (gdb_exit): Remove close commands that
33542 may be called after gdb goes away. Previous versions of expect
33543 needed these to avoid file descriptor leaks, but they cause
33544 errors with the current revision of expect.
33545 * gdb.t00/gdbvars.exp: Use -re on expected output after
33546 setting sevenbit-strings.
33547 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
33548 to set sevenbit-strings consistent across tests.
33549 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
33550 set sevenbit-strings consistent across tests.
33551
33552Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
33553
33554 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
33555 expected output to match current "expect" expectations.
33556
33557Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
33558
33559 * gdb.t00/default.exp: Change expected output for default "source"
33560 command, to match new gdb behavior which requires a filename to
33561 source.
33562
33563Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
33564
33565 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
33566 expected fail for i486-*-* that misses the marker2 function.
33567 * gdb.t10/crossload.exp (bfddefault): Allow successful
33568 recognition of a format to pass even if no symbols are found.
33569 Explicitly catch failures where the format is not recognized
33570 or is ambiguous, and add the reason to the fail message.
33571 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
33572 the cause is and invalid target and add reason to failure message.
33573 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
33574 elf32-i386, elf32-sparc, and elf32-i860.
33575 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
33576 Set up expected failure for 'filename'::variable scope resolution,
33577 which is now apparently broken on all targets.
33578 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
33579 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
33580 gdb.t23/templates.exp: Change failure for missing binfile into
33581 just a warning.
33582 gdb.t21/demangle.exp: Change all cfront references to 'arm'
33583 references.
33584
33585Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
33586
33587 * gdb.t00/default.exp: Add expected output for default "source"
33588 command, to match new gdb behavior.
33589 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
33590
33591Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
33592
33593 * config/*-gdb.exp: returns an error, rather than exiting on
33594 internal errors.
33595
33596Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
33597
33598 * gdb.t03/gdbme.c: Add pointer to struct variable.
33599 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
33600 referencing struct members.
33601
33602Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
33603
33604 * configure.in (mips-idt-ecoff): New target.
33605 * config/mips-gdb.exp: New file for remote board using MIPS remote
33606 debugging protocol.
33607
33608 * Redid configuration scheme. Removed gdb.t*/configure.in.
33609 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
33610 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
33611 distclean targets. Built executables via .o files. Adjusted
33612 tests to account for source files in $(srcdir) rather than
33613 $(objdir).
33614 * lib/gdb.exp (runto): Don't expect () after the function name,
33615 because it may have arguments.
33616
33617Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
33618
33619 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
33620 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
33621 expected failures for mips-idt-* and mips-sgi-*.
33622 * gdb.t00/default.exp (attach): Kill process if requested.
33623 * gdb.t00/help.exp (help target core, help target): Accept a gdb
33624 that does not read core files.
33625 * gdb.t01/run.exp: Removed checks for exit status code.
33626 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
33627 it is linked in.
33628 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
33629 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
33630 appropriate, rather than doing it by hand.
33631 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
33632 execution.
33633 * gdb.t10/crossload.exp: Kill existing program if needed.
33634 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
33635 appropriate, rather than doing it by hand. Always increase
33636 timeout for this test, not just for VxWorks.
33637
33638Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
33639
33640 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
33641 of Chill STRUCT types and STRUCT values.
33642 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
33643 than "char".
33644 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 33645 struct2): New struct definitions and initializations to test
c906108c
SS
33646 simple Chill STRUCT types.
33647
33648Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
33649
33650 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
33651 the null byte at the end of strings.
33652 * gdb.t00/default.exp: Make show version insensitive to copyright
33653 date.
33654 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
33655 to avoid dependencies on target char signedness.
33656 * gdb.t16/printcmds.exp: Update expected results for explicitly
33657 unsigned char.
33658 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
33659 now work.
33660 * gdb.t21/demangle.exp: Add many more patterns for template
33661 demangling, most of them being expected failures.
33662 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
33663 string we are matching for, to match on the whole string.
33664 * gdb.t21/demangle.exp: Add many new test strings to demangle,
33665 and fix a whole bunch that had incorrect expected output but were
33666 passing anyway because of the bug in "proc demangle".
33667 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
33668 type.
33669 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
33670
33671Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
33672
a9c64011
AS
33673 * gdb/testsuite: made modifications to testcases, etc., to allow
33674 them to work properly given the reorganization of deja-gnu and the
33675 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
33676
33677Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
33678
33679 * gdb/testsuite: Initial creation of gdb/testsuite.
33680 Migrated dejagnu testcases and support files for testing nm to
33681 gdb/testsuite from deja-gnu. These files were moved "as is"
33682 with no modifications. This migration is part of a major overhaul
33683 of dejagnu. The modifications to these testcases, etc., which
33684 will allow them to work with the new version of dejagnu will be
33685 made in a future update.
48efe704 33686
8d8cb839 33687 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 33688\f
8d8cb839
EZ
33689;; Local Variables:
33690;; mode: change-log
33691;; left-margin: 8
33692;; fill-column: 74
33693;; version-control: never
33694;; End:
902f2ccb 33695
ecd75fc8 33696 Copyright 1993-2014 Free Software Foundation, Inc.
902f2ccb
MC
33697 Copying and distribution of this file, with or without modification,
33698 are permitted provided the copyright notice and this notice are preserved.