]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Search global symbols from the expression's block objfile first.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
9d198b1e
TT
12012-05-09 Tom Tromey <tromey@redhat.com>
2
3 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
4
9bfee719
MR
52012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
6
7 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
8
3a7341d8
MR
92012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
10
11 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
12 before using it.
13
52b3699b
TG
142012-05-04 Tristan Gingold <gingold@adacore.com>
15
16 * gdb.base/set-noassign.exp: New test.
17
a20ee7a4
SCR
182012-05-03 Siva Chandra Reddy <sivachandra@google.com>
19
20 * gdb.python/py-symbol.exp: Add tests to test the new methods
21 gdb.Symtab.global_block() and gdb.Symtab.static_block().
22 * gdb.python/py-symbol.c: Add new struct to help test
23 gdb.Symtab.static_block().
24
bf2f0858
DE
252012-05-03 Doug Evans <dje@google.com>
26
27 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
28 commented out.
29
2d4e0376
YQ
302012-05-03 Yao Qi <yao@codesourcery.com>
31
32 * gdb.base/catch-syscall.exp: Skip it before compilation if target
33 doesn't support.
34 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
35 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
36
6d0bb9f3
YQ
372012-05-03 Yao Qi <yao@codesourcery.com>
38
39 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
40
fd820528
DE
412012-04-30 Doug Evans <dje@google.com>
42
43 PR testsuite/13961
44 * gdb.dwarf2/pr13961.S: New file.
45 * gdb.dwarf2/pr13961.exp: New file.
46
b9e219b9
YQ
472012-04-29 Yao Qi <yao@codesourcery.com>
48
49 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
50
3019eac3
DE
512012-04-28 Doug Evans <dje@google.com>
52
53 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
54 .Ltype_int_in_cu2. Use name "int2" instead of "int".
55 All uses updated.
56 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
57 "ptype func_cu1" to expand cu2 before cu1.
58
62e5f89c
SDJ
592012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
60 Tom Tromey <tromey@redhat.com>
61
62 * gdb.base/default.exp: Add `$_probe_arg*' convenience
63 variables.
64 * gdb.base/stap-probe.c: New file.
65 * gdb.base/stap-probe.exp: New file.
66 * gdb.trace/stap-trace.c: New file.
67 * gdb.trace/stap-trace.exp: New file.
68 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
69 libgcc's unwinder.
70
14132e89
MR
712012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
72
73 * gdb.arch/mips16-thunks-inmain.c: New file.
74 * gdb.arch/mips16-thunks-main.c: New file.
75 * gdb.arch/mips16-thunks-sin.c: New file.
76 * gdb.arch/mips16-thunks-sinfrob.c: New file.
77 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
78 * gdb.arch/mips16-thunks-sinmain.c: New file.
79 * gdb.arch/mips16-thunks-sinmips16.c: New file.
80 * gdb.arch/mips16-thunks.exp: New file.
81
a766d390
DE
822012-04-25 Doug Evans <dje@google.com>
83
84 * configure.ac: Create gdb.go/Makefile.
85 * configure: Regenerate.
86 * gdb.base/default.exp: Add "go" to "set language" testing.
87 * gdb.go/Makefile.in: New file.
88 * gdb.go/basic-types.exp: New file.
89 * gdb.go/chan.exp: New file.
90 * gdb.go/chan.go: New file.
91 * gdb.go/handcall.exp: New file.
92 * gdb.go/handcall.go: New file.
93 * gdb.go/hello.exp: New file.
94 * gdb.go/hello.go: New file.
95 * gdb.go/integers.exp: New file.
96 * gdb.go/integers.go: New file.
97 * gdb.go/methods.exp: New file.
98 * gdb.go/methods.go: New file.
99 * gdb.go/package.exp: New file.
100 * gdb.go/package1.go: New file.
101 * gdb.go/package2.go: New file.
102 * gdb.go/print.exp: New file.
103 * gdb.go/strings.exp: New file.
104 * gdb.go/strings.go: New file.
105 * gdb.go/types.exp: New file.
106 * gdb.go/types.go: New file.
107 * gdb.go/unsafe.exp: New file.
108 * gdb.go/unsafe.go: New file.
109 * lib/future.exp: Add Go support.
110 (gdb_find_go, gdb_find_go_linker): New procs.
111 (gdb_default_target_compile): Add Go support.
112 * lib/gdb.exp (skip_go_tests): New proc.
113 * lib/go.exp: New file.
114
e65f9ffb
TT
1152012-04-25 Tom Tromey <tromey@redhat.com>
116
117 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
118
14e75d8e
JK
1192012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
120 Jan Kratochvil <jan.kratochvil@redhat.com>
121
122 PR symtab/7259:
123 * gdb.base/enumval.c: New test case.
124 * gdb.base/enumval.exp: New test case.
125 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
126 field.bitpos.
127
f3525b70
PA
1282012-04-17 Pedro Alves <palves@redhat.com>
129
130 * Makefile.in (site.exp): Make site.exp source
131 $srcdir/lib/append_gdb_boards_dir.exp.
132 * lib/append_gdb_boards_dir.exp: New file.
133
bccbefd2
JK
1342012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
135
136 New option "set auto-load safe-path".
137 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
138 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
139
bf88dd68
JK
1402012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
141
142 auto-load: Implementation.
143 * gdb.base/help.exp (test set height): Increase the height.
144 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
145 to ...
146 (info auto-load python-scripts): ... here.
147 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
148 to ...
149 (info auto-load python-scripts *): ... here.
150
c0d4d1c0
YQ
1512012-04-16 Yao Qi <yao@codesourcery.com>
152
153 * lib/trace-support.exp (get_in_proc_agent): New.
154 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
155 of in process trace agent.
156 * gdb.trace/ftrace.exp: Likewise.
157 * gdb.trace/pending.exp: Likewise.
158 * gdb.trace/trace-break.exp: Likewise.
159 * gdb.trace/trace-mt.exp
160 * gdb.trace/tspeed.exp: Likewise.
161 * gdb.trace/tstatus.exp
162 * gdb.trace/strace.exp: Likewise.
163
cbf68a60
TS
1642012-04-16 Thomas Schwinge <thomas@codesourcery.com>
165
dd6d3b70
TS
166 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
167 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
168
cbf68a60
TS
169 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
170
8264ba82
AG
1712012-04-14 Anton Gorenkov <xgsa@yandex.ru>
172
173 PR mi/13393
174 * gdb.mi/mi-var-rtti.cc: New file.
175 * gdb.mi/mi-var-rtti.exp: New file.
176 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
177 function.
178 (mi_varobj_update_with_type_change): updated to avoid code duplication.
179
de0919f8 1802012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
181
182 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
183 EXECUTABLES.
184 * gdb.python/py-explore.c: C program used for testing the new
185 'explore' command on C constructs.
186 * gdb.python/py-explore.cc: C++ program used for testing the new
187 'explore' command on C++ constructs.
188 * gdb-python/py-explore.exp: Tests for the new 'explore'
189 command on C constructs.
190 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
191 command on C++ constructs.
192
a82da7dd
MK
1932012-04-07 Mark Kettenis <kettenis@gnu.org>
194
195 * gdb.base/funcargs.exp (complex_args): Fix typo.
196
e127cba8
JK
1972012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
198
199 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
200 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
201
40e084e1
KS
2022012-04-05 Keith Seitz <keiths@redhat.com>
203
204 * gdb.base/advance.exp: Update error message for
205 "advance malformed" test.
206 * gdb.base/break.exp: Likewise for "breakpoint with
207 trailing garbage" test.
208 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
209 with trailing garbage" test.
210 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
211 trailng garbage" test.
212 * gdb.base/until.exp: Likewise for "malformed until" test.
213 * gdb.cp/ovldbreak.exp: Create the breakpoint table
214 for "breakpoint info (after setting on all)".
215 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
216 tests.
217 * gdb.cp/cplabel.cc: New file.
218 * gdb.cp/cplabel.exp: New test.
219 * gdb.linespec/ls-errs.c: New file.
220 * gdb.linespec/ls-errs.exp: New test.
221
a72c8f6a
JK
2222012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
223
224 * gdb.trace/unavailable.exp
225 (collect globals: print object on: print derived_partial)
226 (collect globals: print object on: print derived_whole)
227 (collect globals: print object off: print derived_partial)
228 (collect globals: print object off: print derived_whole): Update
229 expected output.
230
f87a3023
KS
2312012-03-30 Keith Seitz <keiths@redhat.com>
232
233 * gdb.python: Add test for linespecs with commas.
234
e2171b3c
KS
2352012-03-28 Keith Seitz <keiths@redhat.com>
236
237 * gdb.linespec/ls-dollar.cc: New file.
238 * gdb.linespec/ls-dollar.exp: New test.
239
2402012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
241
242 * gdb.cp/namespace.exp: Add breakpoint tests for functions
243 starting with the global namespace.
244
2f4e0a80
DE
2452012-03-23 Doug Evans <dje@google.com>
246
247 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
248
7b282c5a
SCR
2492012-03-22 Siva Chandra Reddy <sivachandra@google.com>
250
251 * gdb.python/py-value.cc: Add test case for testing the
252 methodology exposing C++ values to Python.
253 * gdb.python/py-value-cc.exp: Add tests testing the methodology
254 exposing C++ values to Python.
255 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
256
2e98ca53
JK
2572012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
258 Siddhesh Poyarekar <siddhesh@redhat.com>
259
260 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
261 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
262 (generate native core dump): Make the test unsupported if core cannot
263 be generated.
264
8320cc4f
JK
2652012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
266
267 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
268 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
269 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
270
3a69ffb2
JK
2712012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
272
273 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
274
8fabffee
DE
2752012-03-17 Doug Evans <dje@google.com>
276
277 * dg-extract-results.sh: Handle KFAILs.
278
ab260dad
JK
2792012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
280
281 PR symtab/13777
282 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
283
53ba8333
JB
2842012-03-16 Joel Brobecker <brobecker@adacore.com>
285
286 * gdb.ada/set_pckd_arr_elt: New testcase.
287
481860b3
GB
2882012-03-16 Gary Benson <gbenson@redhat.com>
289
290 PR breakpoints/10738
291 * gdb.opt/inline-break.exp: New file.
292 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
293 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
294 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
295 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
296 * gdb.base/async-shell.exp: Likewise.
297 * lib/mi-support.exp (library_loaded_re): Likewise.
298
410528f0
TT
2992012-03-15 Tom Tromey <tromey@redhat.com>
300
301 * gdb.cp/virtfunc2.exp: Update expected output.
302 * gdb.cp/pr9631.exp: Update expected output.
303 * gdb.cp/member-ptr.exp: Update expected output.
304 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
305 output.
306 * gdb.cp/casts.exp: Update expected output.
307
c4aeac85
TT
3082012-03-15 Tom Tromey <tromey@redhat.com>
309
310 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
311 (test_info_vtbl): Likewise.
312 (do_tests): Call test_info_vtbl.
313 * gdb.cp/virtfunc.cc (va): New global.
314
856d06f9
TS
3152012-03-15 Thomas Schwinge <thomas@codesourcery.com>
316
317 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
318 describing DWARF data structures.
319 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
320 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
321 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
322 * gdb.dwarf2/dw2-entry-value.S: Likewise.
323 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
324 * gdb.dwarf2/dw2-param-error.S: Likewise.
325 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
326 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
327 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
328 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
329 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
330 * gdb.dwarf2/pr11465.S: Likewise.
331
e837f12a
JK
3322012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
333
334 * gdb.mi/mi2-prompt.exp: New file.
335
ccbb4f28
JB
3362012-03-13 Joel Brobecker <brobecker@adacore.com>
337
338 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
339
32039130
JB
3402012-03-13 Joel Brobecker <brobecker@adacore.com>
341
342 * gdb.ada/bp_range_type: New testcase.
343
16899756
DE
3442012-03-13 Doug Evans <dje@google.com>
345
346 * gdb.base/default.exp: Delete tests for symbol-reloading.
347 * gdb.base/help.exp: Ditto.
348 * gdb.base/setshow.exp: Ditto.
349 * gdb.base/gdb_history: Delete references to symbol-reloading.
350
87b0bb13
JK
3512012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
352
353 * gdb.base/attach-twice.c: New files.
354 * gdb.base/attach-twice.exp: New files.
355
0d7941a9
KS
3562012-03-08 Keith Seitz <keiths@redhat.com>
357
358 * lib/gdb.exp (gdb_get_line_number): Throw an
359 error instead of returning -1.
360 * gdb.base/break.exp: Remove unused variable
361 bp_location5.
362 * gdb.base/hbreak2.exp: Likewise.
363 * gdb.base/sepdebug.exp: Likewise.
364
f4647387
YQ
3652012-03-08 Yao Qi <yao@codesourcery.com>
366 Pedro Alves <palves@redhat.com>
367
368 Fix PR server/13392.
369 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
370 (tracepoint_change_loc_2): Remove kfail. Return if failed to
371 download tracepoints.
372 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
373 (pending_tracepoint_resolved_during_trace): Likewise.
374 (pending_tracepoint_installed_during_trace): Likewise.
375 (pending_tracepoint_with_action_resolved): Likewise.
376
83c532cb
KS
3772012-03-08 Keith Seitz <keiths@redhat.com>
378
379 * gdb.ada/array_bounds.exp: Get breakpoint for line
380 with "START", not "STOP".
381 * gdb.python/py-infthread.exp: Do not continue to
382 line marked "Break here.", which is undefined.
383
d6b6bbb7
LM
3842012-03-08 Luis Machado <lgustavo@codesourcery.com>
385
386 Revert:
387
388 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
389
390 Implement testsuite workaround for PR breakpoints/13781.
391 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
392 (set breakpoint condition-evaluation host): New conditional command.
393
7fe25d9b
JK
3942012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
395
396 Fix CU relative vs. absolute DIE offsets.
397 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
398 one.
399
51898c15
JK
4002012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
401
402 Fix false FAIL on distros with relro linkage as default.
403 * gdb.reverse/solib-precsave.exp: Try to compile the test using
404 -Wl,-z,norelro first.
405
8131799e
JB
4062012-03-06 Joel Brobecker <brobecker@adacore.com>
407
408 * gdb.ada/bp_on_var: New testcase.
409
ba241969
JB
4102012-03-06 Joel Brobecker <brobecker@adacore.com>
411
412 * gdb.ada/bp_enum_homonym: New testcase.
413
abe49676
YQ
4142012-03-06 Yao Qi <yao@codesourcery.com>
415
416 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
417 x86_64-*-* and i?86-*-*.
418 Set up KFAIL for gdb/13808.
419
d8df103b
TT
4202012-03-05 Tom Tromey <tromey@redhat.com>
421
422 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
423 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
424
b7b189f3
TT
4252012-03-05 Tom Tromey <tromey@redhat.com>
426
427 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
428
69dc1c4d
YQ
4292012-03-04 Yao Qi <yao@codesourcery.com>
430
431 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
432 messages for KFAIL.
433
3f20c47f
JK
4342012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
435
436 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
437 (print one_two_three, indexes off, print few_reps, indexes off)
438 (print many_reps, indexes off, print empty, indexes off)
439 (print one_two_three, print few_reps, print many_reps, print empty):
440 Call setup_xfail if $gcc_old.
441
abf1152a
JK
4422012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
443
444 Implement testsuite workaround for PR breakpoints/13781.
445 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
446 (set breakpoint condition-evaluation host): New conditional command.
447
a06715f8
JK
4482012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
449
450 Code cleanup.
451 * gdb.cp/mb-templates.exp: New variables executable. Use it for
452 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
453 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
454 number 1 by $bpnum. Four times.
455
5808517f
YQ
4562012-03-03 Yao Qi <yao@codesourcery.com>
457
458 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
459
dfe2ac14
JK
4602012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
461
462 Setup KFAIL for PR server/13796.
463 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
464
8bbc467a
JB
4652012-03-02 Joel Brobecker <brobecker@adacore.com>
466
467 * gdb.ada/operator_bp: New testcase.
468
c0eac87f
JB
4692012-03-02 Joel Brobecker <brobecker@adacore.com>
470
471 * gdb.ada/info_locals_renaming: New testcase.
472
4f42c881
TT
4732012-03-02 Tom Tromey <tromey@redhat.com>
474
475 * gdb.base/nextoverexit.c: New file.
476 * gdb.base/nextoverexit.exp: New file.
477
7380c0c9
EBM
4782012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
479
480 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
481 parameter.
482
1faeff08
MR
4832012-03-01 Maciej W. Rozycki <macro@mips.com>
484
485 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
486 core registers.
487
320b6f49
MR
4882012-03-01 Maciej W. Rozycki <macro@mips.com>
489 Maciej W. Rozycki <macro@codesourcery.com>
490 Daniel Jacobowitz <dan@codesourcery.com>
491
492 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
493
ad5f7d6e
PA
4942012-03-01 Pedro Alves <palves@redhat.com>
495
496 PR gdb/13767
497
498 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
499 (gdb_collect_globals_test): Call it.
500
d3dc44a6
KS
5012012-03-01 Keith Seitz <keiths@redhat.com>
502
503 * gdb.cp/method2.exp: Output of overload menu is now
504 alphabetized. Update tests for "break A::method".
505 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
506 of hard-coding them.
507 Overload menu is alphabetized: rewrite to accommodate.
508 Unset variables LINE and TYPES which are used in other tests.
509 Compute the output of "info break".
510 Update the breakpoint table after all breakpoints are deleted.
511 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
512 compute ACTUALS and the method body based on parameters.
513 Update expected output accordingly.
514 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
515 unique comments to allow the use of gdb_get_line_number.
516
5172012-03-01 Keith Seitz <keiths@redhat.com>
518
519 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
520 some Tcl syntax.
521 * gdb.cp/ovldbreak.exp: Likewise.
522
7949c2a0
KS
5232012-03-01 Keith Seitz <keiths@redhat.com>
524
525 * gdb.base/help.exp (help show user): Update expected result
526 for new doc string changes (add "non-python").
527
7d74f244
DE
5282012-03-01 Scott J. Goldman <scottjg@vmware.com>
529
530 * gdb.python/py-cmd.exp: Add test to verify that python commands can
531 be put in the user-defined category and that the commands appear in
532 "help user-defined".
533
1b611343
JB
5342012-02-29 Joel Brobecker <brobecker@adacore.com>
535
536 * gdb.ada/tagged_not_init: New testcase.
537
99b1c762
JB
5382012-02-29 Joel Brobecker <brobecker@adacore.com>
539
540 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
541 * gdb.ada/enum_idx_packed: New testcase.
542
2d4a02ee
JB
5432012-02-29 Joel Brobecker <brobecker@adacore.com>
544
545 * gdb.ada/aliased_array: New testcase.
546
2e6fda7d
JB
5472012-02-29 Joel Brobecker <brobecker@adacore.com>
548
549 * gdb.ada/whatis_array_val: New testcase.
550
9a7f938f
JK
5512012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
552
553 Fix disp-step-syscall.exp: fork: single step over fork.
554 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
555 whitespaces.
556 (single step over $syscall): Remove its check.
557 (single step over $syscall final pc): New check.
558
8703a944
JK
5592012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
560
561 Support processors without SSSE3.
562 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
563 pabsd into ...
564 (ssse3_test): ... a new function.
565 (main): Call ssse3_test.
566 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
567 Update expected values everywhere.
568 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
569 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
570 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
571 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
572 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
573 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
574 Move these tests lower.
575 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
576 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
577 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
578 New tests.
579
c03e6ccc
YQ
5802012-02-29 Yao Qi <yao@codesourcery.com>
581 Pedro Alves <palves@redhat.com>
582
583 * gdb.trace/trace-mt.c: New.
584 * gdb.trace/trace-mt.exp: New.
585
7964b62a
TS
5862012-02-28 Thomas Schwinge <thomas@codesourcery.com>
587
2c8910ba
TS
588 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
589 numbers instead of hardcoding them.
590 * gdb.base/annota1.c: Provide suitable markers.
591 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
592 numbers instead of hardcoding them.
593 * gdb.base/annota3.c: Provide suitable markers.
594
595 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
596 * gdb.base/annota3.c: Likewise.
597 * gdb.base/sigall.c: Likewise.
598 * gdb.base/signals.c: Likewise.
599 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 600
5a41c0b7
MR
6012012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
602
603 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
604 failure return path.
605
ebbbe5c5
LM
6062012-02-27 Luis Machado <lgustavo@codesourcery.com>
607
608 * gdb.base/save-bp.exp: Account for new condition evaluator output.
609
8d126d8a
LM
6102012-02-24 Luis Machado <lgustavo@codesourcery.com>
611
612 * gdb.base/cond-eval-mode.exp: New file.
613
11337c2f
PA
6142012-02-24 Pedro Alves <palves@redhat.com>
615
616 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
617 (top level): Use with_test_prefix.
618
13fc3e3c
PA
6192012-02-24 Pedro Alves <palves@redhat.com>
620
621 * gdb.threads/attach-into-signal.exp (corefunc): Use
622 with_test_prefix.
623
07c1b626
JK
6242012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
625
626 Fix false FAILs on old CPUs without SSE.
627 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
628 Return untested for Illegal instruction.
629
596ba138
JK
6302012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
631
632 Fix false FAILs with glibc debug infos installed.
633 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
634 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
635
aeaa2474
SA
6362012-02-22 Sterling Augustine <saugustine@google.com>
637
638 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
639 constant with cast.
640
aed555c9
PA
6412012-02-21 Pedro Alves <palves@redhat.com>
642
643 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
644
78afebb4
PA
6452012-02-21 Pedro Alves <palves@redhat.com>
646
647 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
648
fdcfef12
PA
6492012-02-21 Pedro Alves <palves@redhat.com>
650
651 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
652 with_test_prefix.
653
0f4d39d5
PA
6542012-02-21 Pedro Alves <palves@redhat.com>
655
656 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
657 with_test_prefix here.
658 (top level): Do it here instead. Remove `:' from the
659 with_test_prefix string.
660 * gdb.base/attach-pie-misread.exp: Remove the leading space the
661 the suffix `:' from the with_test_prefix prefix string.
662 * gdb.base/break-interp.exp: Ditto.
663 * gdb.base/catch-load.exp: Ditto.
664 * gdb.base/disp-step-syscall.exp: Ditto.
665 * gdb.base/jit-so.exp: Ditto.
666 * gdb.base/jit.exp: Ditto.
667 * gdb.base/sepdebug.exp: Ditto.
668 * gdb.base/solib-display.exp: Ditto.
669 * gdb.base/solib-overlap.exp: Ditto.
670 * gdb.base/watch-cond-infcall.exp: Ditto.
671 * gdb.base/watchpoint.exp: Ditto.
672 * gdb.dwarf2/dw2-noloc.exp: Ditto.
673 * gdb.mi/mi-watch.exp: Ditto.
674 * gdb.mi/mi2-watch.exp: Ditto.
675 * gdb.threads/non-ldr-exc-1.exp: Ditto.
676 * gdb.threads/non-ldr-exc-2.exp: Ditto.
677 * gdb.threads/non-ldr-exc-3.exp: Ditto.
678 * gdb.threads/non-ldr-exc-4.exp: Ditto.
679 * gdb.threads/watchpoint-fork.exp: Ditto.
680 * gdb.threads/watchthreads-reorder.exp: Ditto.
681 * gdb.trace/change-loc.exp: Ditto.
682 * gdb.trace/pending.exp: Ditto.
683 * gdb.trace/status-stop.exp: Ditto.
684 * gdb.trace/strace.exp: Ditto.
685 * gdb.trace/trace-break.exp: Ditto.
686 * gdb.trace/unavailable.exp: Ditto.
687 * lib/gdb.exp (with_test_prefix): Always prefix with space and
688 suffix with colon. Adjust leading comments.
689
6a5870ce
PA
6902012-02-21 Pedro Alves <palves@redhat.com>
691 Tom Tromey <tromey@redhat.com>
692
693 * lib/gdb.exp: Add description of test prefixes.
694 (with_test_prefix): New procedure.
695 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
696 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
697 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
698 instead of lappend to append to pf_prefix.
699 * gdb.base/catch-load.exp: Use with_test_prefix.
700 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
701 * gdb.base/jit-so.exp: Use with_test_prefix.
702 * gdb.base/jit.exp: Use with_test_prefix.
703 * gdb.base/return-nodebug.exp (do_test): Use append instead of
704 lappend to append to pf_prefix.
705 * gdb.base/sepdebug.exp: Use with_test_prefix.
706 * gdb.base/solib-display.exp: Use with_test_prefix.
707 * gdb.base/solib-overlap.exp: Use with_test_prefix.
708 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
709 * gdb.base/watchpoint.exp: Use with_test_prefix.
710 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
711 * gdb.mi/mi-watch.exp: Use with_test_prefix.
712 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
713 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
714 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
715 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
716 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
717 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
718 append instead of lappend to append to pf_prefix.
719 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
720 * gdb.trace/change-loc.exp: Use with_test_prefix.
721 * gdb.trace/pending.exp: Use with_test_prefix.
722 * gdb.trace/status-stop.exp: Use with_test_prefix.
723 * gdb.trace/strace.exp: Use with_test_prefix.
724 * gdb.trace/trace-break.exp: Use with_test_prefix.
725 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
726 instead of lappend to append to pf_prefix.
727
35dc4a6b
JK
7282012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
729
730 Fix racy FAILs.
731 * gdb.base/inferior-died.c (main): Add return of 0.
732 * gdb.base/inferior-died.exp (continue): Fix expectation of
733 asynchronous events.
734 (p 1): New test.
735
c5a006e6
PA
7362012-02-20 Pedro Alves <palves@redhat.com>
737
738 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
739 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
740 gdb's internal debug output. For the non-threaded case, look for
741 "Program received signal SIGLARM", for the threaded case, peek at
742 the thread's siginfo.
743
cc51a170
PA
7442012-02-20 Pedro Alves <palves@redhat.com>
745
746 General cleanup, make output test messages unique, and build
747 different executable files for the non-threaded and threaded
748 cases.
749
750 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
751 Delete.
752 (executable_nothr, executable_thr): New globals.
753 (top level): Adjust to delete both executables.
754 (corefunc): New parameter $executable. Set $pf_prefix instead of
755 hand writing a prefix in tests. Issue a clean_restart and enable
756 lin-lwp debug output here.
757 (top level): Adjust. Use build_executable. Don't start gdb here,
758 and don't enable lin-lwp debug output here.
759 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
760
c755f03d
JK
7612012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
762
763 Fix racy FAILs.
764 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
765 "continue" command.
766
6bec5e0a
JK
7672012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
768
769 Fix for gdbserver non-extended mode.
770 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
771 and gdb_run_cmd.
772
2e8265fd
TT
7732012-02-17 Tom Tromey <tromey@redhat.com>
774
775 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
776 * gdb.python/py-events.exp: Check 'dir' output.
777 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
778
9e507076
YQ
7792012-02-17 Yao Qi <yao@codesourcery.com>
780
781 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
782
32d22ab1
TT
7832012-02-16 Tom Tromey <tromey@redhat.com>
784
785 * gdb.base/inferior-died.c: Don't include stdio.h.
786
9addecb9
TT
7872012-02-16 Tom Tromey <tromey@redhat.com>
788
789 * gdb.base/inferior-died.c: New file.
790 * gdb.base/inferior-died.exp: New file.
791
4cb6da1c
AR
7922012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
793
794 * gdb.base/break-inline.exp: New file.
795 * gdb.base/break-inline.c: New file.
796
3af2590d
TT
7972012-02-15 Tom Tromey <tromey@redhat.com>
798
799 * gdb.base/pc-fp.exp: Add "info register" tests.
800
29988831
TT
8012012-02-15 Tom Tromey <tromey@redhat.com>
802
803 * gdb.base/regs.exp: Remove.
804
10010058
PA
8052012-02-15 Pedro Alves <palves@redhat.com>
806
807 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
808 the target doesn't support tracepoints.
809 * gdb.trace/circ.exp: Ditto.
810 * gdb.trace/collection.exp: Ditto.
811 * gdb.trace/packetlen.exp: Ditto.
812 * gdb.trace/passc-dyn.exp: Ditto.
813 * gdb.trace/report.exp: Ditto.
814 * gdb.trace/tfind.exp: Ditto.
815 * gdb.trace/tspeed.exp: Ditto.
816 * gdb.trace/tsv.exp: Ditto.
817 * gdb.trace/unavailable.exp: Ditto.
818 * gdb.trace/while-dyn.exp: Ditto.
819
a2e0062d
PA
8202012-02-15 Pedro Alves <palves@redhat.com>
821
822 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
823 gdb_test_multiple, and call unsupported instead of fail, if the
824 remote side does not support the request.
825
a1999d40
PA
8262012-02-15 Pedro Alves <palves@redhat.com>
827
828 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
829 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
830 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
831 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
832 * gdb.server/server-run.exp: Make sure gdb is disconnected.
833 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
834 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
835 doesn't start with "extended-" already.
836
7cee1e54
PA
8372012-02-15 Pedro Alves <palves@redhat.com>
838
839 Support extended-remote. Avoid cascading timeouts.
840
841 * gdb.base/attach.exp (do_attach_tests): Add expected output for
842 the extended-remote target. If attaching with no file fails, load
843 the file manually.
844 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
845
816338b5
SS
8462012-02-14 Stan Shebs <stan@codesourcery.com>
847
848 * gdb.base/ena-dis-br.exp: Add enable count test.
849
cc30c4bd
PA
8502012-02-13 Pedro Alves <palves@redhat.com>
851
852 * config/mips-idt.exp: Delete.
853 * gdb.base/a2-run.exp: Remove mips-idt xfails.
854 * gdb.base/bitfields.exp: Remove mips-idt restarts.
855 * gdb.base/break.exp: Remove mips-idt references.
856 * gdb.base/chng-syms.exp: Ditto.
857 * gdb.base/default.exp: Ditto.
858 * gdb.base/funcargs.exp (funcargs_reload): Delete.
859 (top level): Don't call it.
860 * gdb.base/opaque.exp: Remove mips-idt restarts.
861 * gdb.base/ptype.exp: Remove mips-idt xfails.
862 * gdb.base/scope.exp: Remove mips-idt restarts.
863 * gdb.base/sepdebug.exp: Remove mips-idt references.
864 * gdb.base/watchpoint.exp (maybe_clean_restart)
865 (maybe_reinitialize): Delete.
866 (test_disabling_watchpoints, test_disabling_watchpoints)
867 (test_watchpoint_triggered_in_syscall)
868 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
869 Don't call them.
870
57008375
JK
8712012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
872
873 * gdb.server/server-exec-info.exp: New file.
874
4a2d9c08
PA
8752012-02-10 Pedro Alves <palves@redhat.com>
876
877 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
878 always non-empty.
879 (test_attach): Always pass $exec to test_attach_gdb.
880
09fa21bd
TT
8812012-02-08 Tom Tromey <tromey@redhat.com>
882
883 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
884 before inferior is started.
885
f0823d2c
TT
8862012-02-07 Tom Tromey <tromey@redhat.com>
887
888 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
889 Symbol.value.
890 * gdb.python/py-symbol.c (qq): Set default value.
891
8922012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
893
894 * gdb.python/py-symbol.c (qq): New global.
895 * gdb.python/py-symbol.exp: Add test for frame-less
896 lookup_symbol.
897 * gdb.python/py-symtab.exp: Fix line number.
898
f7e44f65
JB
8992012-02-03 Joel Brobecker <brobecker@adacore.com>
900
901 * gdb.ada/mi_task_arg: New testcase.
902
4c9ed63c
PA
9032012-02-02 Pedro Alves <palves@redhat.com>
904
905 * gdb.reverse/until-precsave.exp: Also put "record save" under the
906 extended timeout.
907
c0b9f2c6
PA
9082012-02-02 Pedro Alves <palves@redhat.com>
909
910 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
911 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
912
5f8cefd7
PA
9132012-02-02 Pedro Alves <palves@redhat.com>
914
915 * gdb.base/term.exp: Rewrite.
916 * gdb.base/term.c: New.
917
2f3a2569
PA
9182012-02-02 Pedro Alves <palves@redhat.com>
919
920 * gdb.base/default.exp (run "r" abbreviation, run): Add
921 extended-remote expected output.
922
f149aabd
TT
9232012-02-02 Tom Tromey <tromey@redhat.com>
924
925 * gdb.cp/dispcxx.exp: New file.
926 * gdb.cp/dispcxx.cc: New file.
927
03bef283
TT
9282012-02-01 Tom Tromey <tromey@redhat.com>
929
930 * gdb.base/jit-simple.exp: New file.
931 * gdb.base/jit-simple.c: New file.
932
a79b18b5
YQ
9332012-01-30 Yao Qi <yao@codesourcery.com>
934
935 * gdb.base/skip.exp: Make test result unique.
936
f0d1a53e
JK
9372012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
938
939 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
940 compatibility with valgrind-3.7.0.
941
4b3c9f41
PA
9422012-01-27 Pedro Alves <palves@redhat.com>
943
944 * gdb.base/watchpoint.exp (no_hw): New global.
945 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
946 disable hw watchpoints.
947 (test_wide_location_1, test_wide_location_2): If no_hw is set,
948 don't expect hw watchpoints.
949 (no_hw_watchpoints): Always clean restart.
950 (do_tests): New procedure, factored out from the top level.
951 (top level): Run tests twice. Once with hw watchpoints enabled,
952 another time with hw watchpoints disabled.
953
a13491c8
PA
9542012-01-27 Pedro Alves <palves@redhat.com>
955
956 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
957 out from the top level.
958 (top level): Call it instead.
959
f2c8a051
PA
9602012-01-27 Pedro Alves <palves@redhat.com>
961
962 * gdb.base/watchpoint.exp (top level): Re-enable hardware
963 watchpoints sooner.
964
654d7a9e
PA
9652012-01-27 Pedro Alves <palves@redhat.com>
966
967 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
968
274f47f3
PA
9692012-01-27 Pedro Alves <palves@redhat.com>
970
971 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
972 "You may have requested too many hardware
973 breakpoints/watchpoints".
974
e4d63ba2
PA
9752012-01-27 Pedro Alves <palves@redhat.com>
976
977 * gdb.base/watchpoint.exp (maybe_clean_restart)
978 (maybe_reinitialize): New.
979 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
980 expect "hit N times".
981 (test_disabling_watchpoints, test_complex_watchpoint)
982 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
983 Call maybe_clean_restart.
984 (top level): Use clean_restart. Remove "mips-idt-*"
985 reinitialization.
986
dbd95daf
PA
9872012-01-27 Pedro Alves <palves@redhat.com>
988
989 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
990
f3ad2025
PA
9912012-01-27 Pedro Alves <palves@redhat.com>
992
993 * gdb.base/watchpoint.exp: Clean restart after tests that don't
994 require `initialize' anymore. Remove unnecessary `initialize'
995 calls.
996
100aa3ae
PA
9972012-01-27 Pedro Alves <palves@redhat.com>
998
999 * gdb.base/watchpoint.exp (wp_set): Delete.
1000 (initialize, test_simple_watchpoint, top level): Remove dead code.
1001
c79a8e11
PA
10022012-01-27 Pedro Alves <palves@redhat.com>
1003
1004 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
1005 typo.
1006
048fe15a
PA
10072012-01-27 Pedro Alves <palves@redhat.com>
1008
1009 * config/extended-gdbserver.exp: New file.
1010 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
1011 comment.
1012 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
1013 * boards/native-extended-gdbserver.exp: New file.
1014
4033a6bf
PA
10152012-01-26 Pedro Alves <palves@redhat.com>
1016
1017 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
1018 and gdb_test_multiple.
1019
3d7f4b81
PA
10202012-01-26 Pedro Alves <palves@redhat.com>
1021
1022 Make test messages unique, and more identifiable.
1023 * gdb.multi/watchpoint-multi.exp: Change test messages.
1024
484abf42
TT
10252012-01-25 Tom Tromey <tromey@redhat.com>
1026
1027 * gdb.base/solib-disc.exp: Fix regexps.
1028
edcc5120
TT
10292012-01-24 Tom Tromey <tromey@redhat.com>
1030
1031 * lib/mi-support.exp (mi_expect_stop): Add special case for
1032 solib-event.
1033 * gdb.base/catch-load-so.c: New file.
1034 * gdb.base/catch-load.exp: New file.
1035 * gdb.base/catch-load.c: New file.
1036 * gdb.base/break-interp.exp (reach_1): Update regexp.
1037
30b91c90
JK
10382012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1039
1040 Fix fuzzy results.
1041 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
1042 lpsimple and func.
1043
53fe1783
GB
10442012-01-24 Gary Benson <gbenson@redhat.com>
1045
1046 Delete #if 0'd out code.
1047 * gdb.base/default.exp (info catch): Remove.
1048 * gdb.base/gdb_history (info catch): Likewise.
1049 * gdb.base/help.exp (info catch): Likewise.
1050
d0d8b0c6
JK
10512012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1052
1053 Fix watchpoints to be specific for each inferior.
1054 * gdb.multi/watchpoint-multi.c: New file.
1055 * gdb.multi/watchpoint-multi.exp: New file.
1056
4403d8e9
JK
10572012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1058
1059 Fix watchpoints across inferior fork.
1060 * gdb.threads/watchpoint-fork-child.c: New file.
1061 * gdb.threads/watchpoint-fork-mt.c: New file.
1062 * gdb.threads/watchpoint-fork-parent.c: New file.
1063 * gdb.threads/watchpoint-fork-st.c: New file.
1064 * gdb.threads/watchpoint-fork.exp: New file.
1065 * gdb.threads/watchpoint-fork.h: New file.
1066
050a2e1d
PA
10672012-01-23 Pedro Alves <palves@redhat.com>
1068
1069 * gdb.base/call-signal-resume.exp: Allow output after "return".
1070
6a52fb62
PA
10712012-01-20 Pedro Alves <palves@redhat.com>
1072
1073 * gdb.python/py-finish-breakpoint.py: Fix typo.
1074
145b16a9
UW
10752012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
1076
1077 * gdb.base/info-proc.exp: Also run on remote targets. Main
1078 "info proc" command is now always present; whether target supports
1079 actual info proc operation is detected when attempting to issue
1080 the command.
1081
26f6125e
JK
10822012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1083
1084 * .gdbinit: Remove.
1085
eb5227ce
PA
10862012-01-19 Pedro Alves <palves@redhat.com>
1087
1088 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
1089 look at the funtions' returns.
1090 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
1091 (jprint.print(int, int)): Change return type to int. Adjust.
1092
1db33378
PP
10932012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1094
1095 PR gdb/9538
1096 * gdb.base/sepdebug.exp: New test.
1097
b9736cf8
PA
10982012-01-18 Pedro Alves <palves@redhat.com>
1099
1100 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
1101 Allow output before ^done.
1102
4aac40c8
TT
11032012-01-16 Tom Tromey <tromey@redhat.com>
1104
1105 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
1106 Add tests for relative directory.
1107
cafec441
TT
11082012-01-16 Tom Tromey <tromey@redhat.com>
1109
1110 * gdb.base/printcmds.c (enum flag_enum): New.
1111 (three): New global.
1112 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
1113 enum printing.
1114 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
1115 FlagEnumerationPrinter.
1116 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
1117 * gdb.python/py-pp-maint.c (enum flag_enum): New.
1118 (fval): New global.
1119
abcc4978
PA
11202012-01-16 Pedro Alves <palves@redhat.com>
1121
1122 * lib/gdb.exp (banned_procedures): New variable.
1123 (banned_variables_traced): Rename to ...
1124 (banned_traced): ... this.
1125 (gdb_init): Also trace banned procedures.
1126 (gdb_finish): Also untrace banned procedures.
1127
97ccebe8
PA
11282012-01-16 Pedro Alves <palves@redhat.com>
1129
1130 Remove all calls to strace.
1131
2af7517b
JK
11322012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1133
1134 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
1135 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
1136
9241a8bc
PP
11372012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1138
1139 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
1140 * gdb.base/pie-execl.exp: Likewise.
1141
3848a17f
KS
11422012-01-12 Keith Seitz <keiths@redhat.com>
1143
1144 PR mi/10586
1145 * gdb.mi/var-cmd.c (struct anonymous): New structure.
1146 (do_anonymous_type_tests): New function.
1147 (main): Call do_anonymous_type_tests.
1148 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
1149 (verify_everything): New procedure.
1150 * gdb.mi/mi-var-cp.cc (class A): New class.
1151 (anonymous_structs_and_unions): New function.
1152 (main): Call anonymous_structs_and_unions.
1153 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
1154 (verify_everything): New procedure.
1155
440e2fca
KS
11562012-01-12 Keith Seitz <keiths@redhat.com>
1157
1158 * lib/mi-support.exp: Expand comments about PATH_EXPR.
1159 (varobj_tree::get_path_expr): Assume that all varobjs are
1160 compound unless they are known simple types.
1161 Adjust path expressions based on parent type, path parent type,
1162 and tree language.
1163 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
1164 the root varobj.
1165 (mi_walk_varobj_tree): Add LANGUAGE parameter.
1166
675399c9
PA
11672012-01-11 Pedro Alves <palves@redhat.com>
1168
1169 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
1170 core files on this machine" anymore.
1171
97ddaa9b
PH
11722012-01-11 Paul Hilfinger <hilfingr@adacore.com>
1173
1174 * gdb.base/watchpoint.c (recurser): Initialize local_x.
1175 (main): Repeat recurser call.
1176 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
1177 equivalent to 'local_x'.
1178
ea733575
PH
11792012-01-11 Paul Hilfinger <hilfingr@adacore.com>
1180 Joel Brobecker <brobecker@adacore.com>
1181
1182 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
1183
2ca0b532
PA
11842012-01-05 Pedro Alves <alves.ped@gmail.com>
1185
1186 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
1187 * gdb.python/py-events.c (first): Add bits for new "step N" test.
1188 * gdb.python/py-events.exp: Test that "step N" tripping on a
1189 breakpoint emits a breakpoint event.
1190
6e681866
JB
11912012-01-03 Joel Brobecker <brobecker@adacore.com>
1192
1193 * gdb.base/auxv.exp: Reformat the copyright notice.
1194
3c2d6aff
YQ
11952012-01-03 Yao Qi <yao@codesourcery.com>
1196
1197 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
1198 (strace_trace_on_diff_addr): New.
1199 * gdb.trace/strace.c: (main): Add two local variables.
1200
0852fee3
UW
12012011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
1202
1203 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
1204 * gdb.cell/gcore.exp: Likewise.
1205 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
1206 to verify the correct instance of main is selected.
1207
12c3e59c
JB
12082012-01-02 Joel Brobecker <brobecker@adacore.com>
1209
1210 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
1211 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
1212 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
1213 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
1214 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
1215 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
1216 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
1217 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
1218 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
1219 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
1220 gdb.threads/thread_check.c: Reformat copyright header.
1221
c0f378ec
EBM
12222011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
1223
e4a7ca93 1224 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
1225 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
1226 is not enabled.
1227
3bc96cfb
JK
12282011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1229
1230 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
1231 parameter to self_exec, adjust the function.
1232 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
1233 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
1234 (set var do_exit = 0): Remove test.
1235 (newline at end of file): Add one.
1236
095bcf5e
JB
12372011-12-27 Joel Brobecker <brobecker@adacore.com>
1238
1239 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
1240 New files.
1241
18d19bd1
JK
12422011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1243
1244 Fix racy FAILs.
1245 * gdb.threads/fork-thread-pending.c (barrier): New variable.
1246 (thread_function, thread_forker): Call pthread_barrier_wait for it.
1247 (main): Call pthread_barrier_init for it.
1248
e809353a
JK
12492011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1250
1251 Fix double send_gdb leading to racy FAILs.
1252 * gdb.base/break.exp (set silent break bp_location1): Replace
1253 3x send_gdb and gdb_expect by gdb_test.
1254 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
1255 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
1256 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
1257 instead of send_gdb. Twice.
1258 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
1259 3x send_gdb and gdb_expect by gdb_test.
1260 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
1261
da8cb7ec
JK
12622011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1263
1264 * gdb.linespec/linespec.exp: Compile using {c++}.
1265
ae1a303e
JK
12662011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1267
1268 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
1269 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
1270 (verify GCC PR debug/51668): New test.
1271
cc72b2a2
KP
12722011-12-23 Kevin Pouget <kevin.pouget@st.com>
1273
1274 Introduce gdb.FinishBreakpoint in Python.
1275 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
1276 py-finish-breakpoint2
1277 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
1278 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
1279 instead of line number.
1280 * gdb.python/py-finish-breakpoint.c: New file.
1281 * gdb.python/py-finish-breakpoint.exp: New file.
1282 * gdb.python/py-finish-breakpoint.py: New file.
1283 * gdb.python/py-finish-breakpoint2.cc: New file.
1284 * gdb.python/py-finish-breakpoint2.exp: New file.
1285 * gdb.python/py-finish-breakpoint2.py: New file.
1286
3b7962f9
JK
12872011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1288
1289 Partial fix of compatibility with gcc-4.7.
1290 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
1291 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
1292 Add comment to add a PASS case in the future.
1293
6538471c
JK
1294 Fix compatibility with gcc-4.7.
1295 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
1296
7052e42c
UW
12972011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
1298
1299 PR tdep/12797
1300 * gdb.base/callfuncs.exp: Remove KFAIL.
1301
9ac7f98e
JB
13022011-12-21 Joel Brobecker <brobecker@adacore.com>
1303
1304 * gdb.ada/task_bp: New testcase.
1305
f6eeced0
JK
13062011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1307
1308 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
1309 -DNO_SECTIONS.
1310 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
1311
72225e17
JK
13122011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1313
1314 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
1315 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
1316 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
1317 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
1318 conditional for gcc <= 4.5.
1319
13ac8d2c
JK
13202011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1321
1322 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
1323 by XFAIL.
1324 * gdb.cp/static-method.exp (info addr A::func())
1325 (list static-method.cc:xxx::(anonymous namespace)::A::func)
1326 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
1327 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
1328 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
1329 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
1330 (test value of F in k3_m): Likewise.
1331 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
1332 Likewise.
1333
049682ba
JK
13342011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1335
1336 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
1337 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
1338 Remove.
1339 * gdb.threads/attachstop-mt.c: Remove.
1340 * gdb.threads/attachstop-mt.exp: Remove.
1341
2c9d8796
MK
13422011-12-17 Mark Kettenis <kettenis@gnu.org>
1343
1344 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
1345
e0f9f062
DE
13462011-12-16 Doug Evans <dje@google.com>
1347
f4aa2101 1348 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
1349 * boards/native-gdbserver.exp: New file.
1350
e0f9f062
DE
1351 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
1352 gdbserver output.
1353 (gdbserver_default_get_remote_address): New function.
1354 (gdbserver_start): Call gdb,get_remote_address to compute argument
1355 to "target remote" command.
1356
80b6e756
PM
13572011-12-16 Phil Muldoon <pmuldoon@redhat.com>
1358
1c3ad6ab 1359 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
1360 python print-stack. Add set/show python print-stack
1361 off|full|message tests.
1362
1576bd00
YQ
13632011-12-15 Yao Qi <yao@codesourcery.com>
1364
1365 * gdb.trace/strace.c: New
1366 * gdb.trace/strace.exp: New.
1367
d6a0f6e0
TT
13682011-12-14 Tom Tromey <tromey@redhat.com>
1369
1370 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
1371
31015e1d
DE
13722011-12-14 Doug Evans <dje@google.com>
1373
1374 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
1375
7b50312a
PA
13762011-12-14 Pedro Alves <pedro@codesourcery.com>
1377
1378 PR threads/10729
1379
1380 * gdb.mi/watch-nonstop.c: New file.
1381 * gdb.mi/mi-watch-nonstop.exp: New file.
1382
924437bc
PA
13832011-12-13 Pedro Alves <pedro@codesourcery.com>
1384 Doug Evans <dje@google.com>
1385
1386 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
1387 (clean_restart): Remove references to the gdb_stub target board
1388 variable.
1389 (gdb_step_for_stub): Delete.
1390
1391 * gdb.base/annota1.exp: Remove all references to [target_info
1392 exists gdb_stub], gdb_step_for_stub and usestubs.
1393 * gdb.base/annota3.exp: Ditto.
1394 * gdb.base/async.exp: Ditto.
1395 * gdb.base/break.exp: Ditto.
1396 * gdb.base/code-expr.exp: Ditto.
1397 * gdb.base/commands.exp: Ditto.
1398 * gdb.base/completion.exp: Ditto.
1399 * gdb.base/condbreak.exp: Ditto.
1400 * gdb.base/consecutive.exp: Ditto.
1401 * gdb.base/cvexpr.exp: Ditto.
1402 * gdb.base/define.exp: Ditto.
1403 * gdb.base/display.exp: Ditto.
1404 * gdb.base/ena-dis-br.exp: Ditto.
1405 * gdb.base/environ.exp: Ditto.
1406 * gdb.base/gnu-ifunc.exp: Ditto.
1407 * gdb.base/maint.exp: Ditto.
1408 * gdb.base/pending.exp: Ditto.
1409 * gdb.base/sect-cmd.exp: Ditto.
1410 * gdb.base/sepdebug.exp: Ditto.
1411 * gdb.base/unload.exp: Ditto.
1412 * gdb.base/watchpoint-solib.exp: Ditto.
1413 * gdb.cp/annota2.exp: Ditto.
1414 * gdb.cp/annota3.exp: Ditto.
1415 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
1416 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
1417 * gdb.mi/mi-pending.exp: Ditto.
1418 * gdb.trace/circ.exp: Ditto.
1419 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
1420 * gdb.base/list.exp: Ditto.
1421
1422 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
1423 breakpoint function and all references to the usestubs macro.
1424 * gdb.base/exprs.c: Ditto.
1425 * gdb.base/freebpcmd.c: Ditto.
1426 * gdb.base/bitfields.c: Ditto.
1427 * gdb.base/bitfields2.c: Ditto.
1428 * gdb.base/break.c: Ditto.
1429 * gdb.base/call-sc.c: Ditto.
1430 * gdb.base/call-signals.c: Ditto.
1431 * gdb.base/callfuncs.c: Ditto.
1432 * gdb.base/charset.c: Ditto.
1433 * gdb.base/consecutive.c: Ditto.
1434 * gdb.base/constvars.c: Ditto.
1435 * gdb.base/funcargs.c: Ditto.
1436 * gdb.base/int-type.c: Ditto.
1437 * gdb.base/interrupt.c: Ditto.
1438 * gdb.base/langs0.c: Ditto.
1439 * gdb.base/list0.c: Ditto.
1440 * gdb.base/mips_pro.c: Ditto.
1441 * gdb.base/miscexprs.c: Ditto.
1442 * gdb.base/nodebug.c: Ditto.
1443 * gdb.base/opaque0.c: Ditto.
1444 * gdb.base/pointers.c: Ditto.
1445 * gdb.base/printcmds.c: Ditto.
1446 * gdb.base/ptype.c: Ditto.
1447 * gdb.base/recurse.c: Ditto.
1448 * gdb.base/reread1.c: Ditto.
1449 * gdb.base/reread2.c: Ditto.
1450 * gdb.base/restore.c: Ditto.
1451 * gdb.base/return.c: Ditto.
1452 * gdb.base/run.c: Ditto.
1453 * gdb.base/scope0.c: Ditto.
1454 * gdb.base/sepdebug.c: Ditto.
1455 * gdb.base/setshow.c: Ditto.
1456 * gdb.base/setvar.c: Ditto.
1457 * gdb.base/sigall.c: Ditto.
1458 * gdb.base/signals.c: Ditto.
1459 * gdb.base/structs.c: Ditto.
1460 * gdb.base/structs2.c: Ditto.
1461 * gdb.base/testenv.c: Ditto.
1462 * gdb.base/twice.c: Ditto.
1463 * gdb.base/unwindonsignal.c: Ditto.
1464 * gdb.base/watchpoint.c: Ditto.
1465 * gdb.base/watchpoints.c: Ditto.
1466 * gdb.base/whatis.c: Ditto.
1467 * gdb.cp/classes.cc: Ditto.
1468 * gdb.cp/cplusfuncs.cc: Ditto.
1469 * gdb.cp/derivation.cc: Ditto.
1470 * gdb.cp/formatted-ref.cc: Ditto.
1471 * gdb.cp/misc.cc: Ditto.
1472 * gdb.cp/overload.cc: Ditto.
1473 * gdb.cp/ovldbreak.cc: Ditto.
1474 * gdb.cp/ref-params.cc: Ditto.
1475 * gdb.cp/ref-types.cc: Ditto.
1476 * gdb.cp/templates.cc: Ditto.
1477 * gdb.cp/virtfunc.cc: Ditto.
1478 * gdb.hp/gdb.aCC/run.c: Ditto.
1479 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
1480 * gdb.hp/gdb.compat/xdb0.c: Ditto.
1481 * gdb.reverse/consecutive-reverse.c: Ditto.
1482 * gdb.reverse/sigall-reverse.c: Ditto.
1483 * gdb.reverse/until-reverse.c: Ditto.
1484 * gdb.reverse/watch-reverse.c: Ditto.
1485 * gdb.trace/actions.c: Ditto.
1486 * gdb.trace/circ.c: Ditto.
1487 * gdb.trace/collection.c: Ditto.
1488
fabde485
PA
14892011-12-13 Pedro Alves <pedro@codesourcery.com>
1490
1491 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
1492 (func6, func7): New.
1493 (main): Call func6 and func7.
1494 * gdb.base/watchpoint.exp (test_wide_location_1)
1495 (test_wide_location_2): New.
1496 (top level): Re-enable hardware watchpoints if necessary. Call
1497 test_wide_location_1 and test_wide_location_2.
1498
ff7d1690
YQ
14992011-12-11 Yao Qi <yao@codesourcery.com>
1500
1501 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
1502
a6af7abe
JB
15032011-12-11 Joel Brobecker <brobecker@adacore.com>
1504
1505 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
1506 expected output for unsupported case.
1507
61638e15
JK
15082011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1509
1510 PR testsuite/12649
1511 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
1512 Protect gdb_test_multiple by final $gdb_prompt match.
1513
0a00efc3
JK
15142011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1515
1516 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
1517 New variable, new test.
1518 (list static-method.cc:xxx::(anonymous namespace)::A::func)
1519 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
1520 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
1521 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
1522 them if HAVE_GCC_45682_FIXED is not set.
1523
4511b1ba
YQ
15242011-12-10 Yao Qi <yao@codesourcery.com>
1525
1526 * gdb.trace/status-stop.exp: New.
1527 * gdb.trace/status-stop.c: New.
1528
27949e73
JK
15292011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1530
1531 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
1532 timeout.
1533
d8ea7931
TT
15342011-12-08 Tom Tromey <tromey@redhat.com>
1535
1536 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
1537 condition.
1538
1cc310d2
SS
15392011-12-07 Stan Shebs <stan@codesourcery.com>
1540
1541 * gdb.trace/tfind.exp: Update for output changes.
1542
d482a875
PA
15432011-12-07 Pedro Alves <pedro@codesourcery.com>
1544
1545 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
1546 throws "Cannot insert catchpoints in this configuration".
1547 * gdb.ada/mi_catch_ex.exp: Likewise.
1548
f0ba3972
PA
15492011-12-06 Pedro Alves <pedro@codesourcery.com>
1550
1551 * gdb.base/break-always.exp: Test changing memory at addresses
1552 with breakpoints inserted.
1553
f8eba3c6
TT
15542011-12-06 Joel Brobecker <brobecker@acacore.com>
1555
1556 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
1557 involving a fully qualified function name.
1558
15592011-12-06 Tom Tromey <tromey@redhat.com>
1560
1561 * gdb.ada/homonym.exp: Add three breakpoint tests.
1562
15632011-12-06 Tom Tromey <tromey@redhat.com>
1564
1565 * gdb.base/solib-weak.exp (do_test): Remove kfail.
1566 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
1567 * gdb.objc/objcdecode.exp: Update for output changes.
1568 * gdb.linespec/linespec.exp: New file.
1569 * gdb.linespec/lspec.cc: New file.
1570 * gdb.linespec/lspec.h: New file.
1571 * gdb.linespec/body.h: New file.
1572 * gdb.linespec/base/two/thefile.cc: New file.
1573 * gdb.linespec/base/one/thefile.cc: New file.
1574 * gdb.linespec/Makefile.in: New file.
1575 * gdb.cp/templates.exp (test_template_breakpoints): Update for
1576 output changes.
1577 * gdb.cp/re-set-overloaded.exp: Remove kfail.
1578 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
1579 makes one breakpoint.
1580 * gdb.cp/method2.exp (test_break): Update for output changes.
1581 * gdb.cp/mb-templates.exp: Update for output changes.
1582 * gdb.cp/mb-inline.exp: Update for output changes.
1583 * gdb.cp/mb-ctor.exp: Update for output changes.
1584 * gdb.cp/ovsrch.exp: Use fully-qualified names.
1585 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
1586 has multiple matches.
1587 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
1588 error message change.
1589 * gdb.base/list.exp (test_list_filename_and_number): Update for
1590 error message change.
1591 * gdb.base/break.exp: Disable pending breakpoints. Update for
1592 output changes.
1593 * configure.ac: Add gdb.linespec.
1594 * configure: Rebuild.
1595 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
1596
c642a434
UW
15972011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
1598
1599 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
1600 last_break register on s390*-*-* targets.
1601
b18003d1
JB
16022011-12-06 Joel Brobecker <brobecker@adacore.com>
1603
1604 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
1605 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
1606 of parameter X in procedure Foo.
1607
fe96589c
SS
16082011-12-05 Stan Shebs <stan@codesourcery.com>
1609
1610 * gdb.trace/tfind.exp: Update help string matches.
1611
1820ab47
JK
16122011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1613
1614 * gdb.server/ext-run.exp (get process list): Accept also systemd
1615 as PID 1.
1616
e11ac3a3
JK
16172011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1618 Pedro Alves <pedro@codesourcery.com>
1619
1620 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
1621 starting GDB.
1622 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
1623 $use_gdb_stub.
1624 * gdb.base/display.exp: Likewise.
1625 * gdb.base/ending-run.exp: Likewise.
1626 * gdb.base/list.exp (test_listsize): Likewise.
1627 * gdb.base/setshow.exp: Likewise.
1628 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
1629 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
1630 check by global $use_gdb_stub.
1631 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
1632 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
1633 (default_gdb_init): Unset global $use_gdb_stub.
1634 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
1635 by global $use_gdb_stub.
1636 * lib/gdbserver-support.exp: Extend comments for set_board_info
1637 gdb_protocol and gdb,socketport.
1638 (gdbserver_start_extended): Set global gdbserver_protocol and
1639 gdbserver_gdbport. Clear global use_gdb_stub.
1640 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
1641 from target use_gdb_stub.
1642 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
1643
1d41d75c
DE
16442011-12-03 Doug Evans <dje@google.com>
1645
1646 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
1647 (gdb_step_for_stub): Add comments.
1648
d6d7a51a
MR
16492011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
1650
1651 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
1652 to the caller.
1653 (gdb_test_multiple): Likewise.
1654
05acf274
JK
16552011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1656
1657 Fix gdb.mi/mi-solib.exp without system debug info installed.
1658 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
1659 expect attribute, return 0 for it. Update comments.
1660
2268b414
JK
16612011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1662
1663 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
1664 (corrupted list): Adjust the expectation.
1665
585861ea
JK
16662011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1667
1668 PR threads/13448
1669 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
1670 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
1671 * gdb.threads/tls-var-main.c: New file.
1672 * gdb.threads/tls-var.c: New file.
1673 * gdb.threads/tls-var.exp: New file.
1674
968643aa
JK
16752011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1676
1677 PR testsuite/12649
1678 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
1679 Protect gdb_test_multiple by final $gdb_prompt match.
1680 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
1681 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1682 (test_tracepoints): Likewise.
1683
9750bca9
JK
16842011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1685
1686 PR breakpoints/13346
1687 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
1688 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
1689 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
1690
ac1349b7
JB
16912011-12-01 Joel Brobecker <brobecker@adacore.com>
1692
1693 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
1694 * gdb.ada/homonym/homonym.adb: For use of all types defined
1695 locally inside both Get_Value subprograms.
1696
26d44faf
JK
16972011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1698
1699 Fix racy FAILs.
1700 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
1701 of send_gdb.
1702
514f6425
UW
17032011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1704
1705 * gdb.base/testenv.exp: Skip on remote targets. Unset global
1706 environment variable after test completed.
1707
4255c8d2
UW
17082011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1709
1710 * gdb.base/solib-nodir.exp: Skip if remote target.
1711 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
1712 application. Call gdb_load_shlibs.
1713 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
1714
a35ad96a
JB
17152011-11-29 Joel Brobecker <brobecker@adacore.com>
1716
1717 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
1718
1a1d5513
JB
17192011-11-28 Joel Brobecker <brobecker@adacore.com>
1720
1721 * gdb.ada/fullname_bp: New testcase.
1722
50b4ddf8
JK
17232011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1724
1725 PR testsuite/12649
1726 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
1727 Wrap send_gdb into a new gdb_test.
1728
fb0aec57
JK
1729 Code cleanup.
1730 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
1731 Convert send_gdb and gdb_expect to gdb_test_multiple.
1732
2376d946
JK
17332011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1734
1735 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
1736
1eec78bd
KS
17372011-11-23 Keith Seitz <keiths@redhat.com>
1738
1739 * lib/mi-support.exp (varobj_tree): New namespace and procs.
1740 (mi_varobj_tree_test_children_callback): New proc.
1741 (mi_walk_varobj_tree): New proc.
1742
36dfb11c
TT
17432011-11-22 Tom Tromey <tromey@redhat.com>
1744
1745 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
1746 Add "use_mi_command" argument.
1747 (mi_run_cmd, mi_run_with_cli): New procs.
1748 * gdb.mi/solib-lib.c: New file.
1749 * gdb.mi/solib-main.c: New file.
1750 * gdb.mi/mi-solib.exp: New file.
1751
0e965dd0
DE
17522011-11-21 Doug Evans <dje@google.com>
1753
1754 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
1755 _Unwind_DebugHook is missing.
1756
f196051f
SS
17572011-11-20 Stan Shebs <stan@codesourcery.com>
1758
1759 * gdb.trace/tstatus.exp: New.
1760 * gdb.trace/actions.c: Include string.h.
1761
bfccc43c
YQ
17622011-11-18 Yao Qi <yao@codesourcery.com>
1763
1764 * gdb.trace/pending.exp: New.
1765 * gdb.trace/pending.c: New.
1766 * gdb.trace/pendshr1.c: New.
1767 * gdb.trace/pendshr2.c: New.
1768 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
1769 tracepoint location becomes pending.
1770 (tracepoint_change_loc_2): New.
1771
73cd8ab1
DM
17722011-11-16 David S. Miller <davem@davemloft.net>
1773
1774 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
1775 target is sparc*-*-linux*
1776
77426730
PK
17772011-11-15 Paul Koning <paul_koning@dell.com>
1778
1779 * gdb.python/py-type.exp: New testcases for exceptions on scalar
1780 types.
1781
ed59ded5
DE
17822011-11-14 Doug Evans <dje@google.com>
1783
1784 * gdb.base/shell.exp: New file.
1785
405f8e94
SS
17862011-11-14 Stan Shebs <stan@codesourcery.com>
1787
1788 * gdb.trace/ftrace.c: New.
1789 * gdb.trace/ftrace.exp: New.
1790
1e4d1764
YQ
17912011-11-14 Yao Qi <yao@codesourcery.com>
1792
1793 * gdb.trace/change-loc-1.c: New.
1794 * gdb.trace/change-loc-2.c: New.
1795 * gdb.trace/change-loc.c: New.
1796 * gdb.trace/change-loc.exp: New.
1797 * gdb.trace/change-loc.h: New.
1798 * gdb.trace/trace-break.c (marker): Define new symbol.
1799 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
1800 New.
1801 (break_trace_same_addr_6): New.
1802
71eba9c2 18032011-11-12 Matt Rice <ratmice@gmail.com>
1804
1805 * gdb.base/info-macros.exp: Make tests for info definitions
1806 test info macro. Add tests for info macro argument processing.
1807 Rename a few tests.
1808
1d93e29a
KS
18092011-11-11 Keith Seitz <keiths@redhat.com>
1810
1811 PR gdb/12843
1812 * gdb.base/linespecs.exp: New file.
1813
a4b5b48a
DE
18142011-11-11 Doug Evans <dje@google.com>
1815
1816 * gdb.threads/print-threads.exp: Extend timeout for slower
1817 tests.
1818
f6b47be4
DE
18192011-11-10 Doug Evans <dje@google.com>
1820
792a0230
DE
1821 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
1822 "record to end of main" test.
1823
f6b47be4
DE
1824 * gdb.python/py-type.c (TS): New typedef.
1825 (ts): New global.
1826 * gdb.python/py-type.exp: Test field list of typedef.
1827
22355c90
JB
18282011-11-10 Joel Brobecker <brobecker@adacore.com>
1829
1830 * gdb.ada/small_reg_param: New testcase.
1831
a7860e76
TT
18322011-11-09 Tom Tromey <tromey@redhat.com>
1833
1834 * gdb.cp/destrprint.exp: New file.
1835 * gdb.cp/destrprint.cc: New file.
1836
72a2e3dc
MI
18372011-11-08 Meador Inge <meadori@codesourcery.com>
1838
1839 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
1840 (switch_stack_to_other): New test function.
1841 * gdb.arch/thumb-prologue.exp: New test cases.
1842
c7195df2 18432011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
1844
1845 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
1846
d3895d7d
YQ
18472011-11-08 Yao Qi <yao@codesourcery.com>
1848
1849 * gdb.exp (supports_process_record): New.
1850 (supports_reverse): New.
1851 * gdb.reverse/break-precsave.exp: Call support_process_record
1852 to run test conditionally.
1853 * gdb.reverse/consecutive-precsave.exp: Likewise.
1854 * gdb.reverse/i386-precsave.exp: Likewise.
1855 * gdb.reverse/machinestate-precsave.exp: Likewise.
1856 * gdb.reverse/solib-precsave.exp: Likewise.
1857 * gdb.reverse/step-precsave.exp: Likewise.
1858 * gdb.reverse/until-precsave.exp: Likewise.
1859 * gdb.reverse/watch-precsave.exp: Likewise.
1860 * gdb.reverse/break-reverse.exp: Call support_reverse to run
1861 test conditionally.
1862 * gdb.reverse/consecutive-reverse.exp: Likewise.
1863 * gdb.reverse/finish-precsave.exp: Likewise.
1864 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1865 * gdb.reverse/finish-reverse.exp: Likewise.
1866 * gdb.reverse/i386-reverse.exp: Likewise.
1867 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1868 * gdb.reverse/machinestate.exp: Likewise.
1869 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
1870 * gdb.reverse/sigall-precsave.exp: Likewise.
1871 * gdb.reverse/sigall-reverse.exp: Likewise.
1872 * gdb.reverse/solib-reverse.exp: Likewise.
1873 * gdb.reverse/step-reverse.exp: Likewise.
1874 * gdb.reverse/until-reverse.exp: Likewise.
1875 * gdb.reverse/watch-reverse.exp: Likewise.
1876
a59306a3
YQ
18772011-11-05 Yao Qi <yao@codesourcery.com>
1878
1879 * gdb.trace/trace-break.exp: Add test on setting two
1880 fast tracepoints at the same address.
1881
87769f59
JK
18822011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1883
1884 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
1885
3065dfb6
SS
18862011-11-02 Stan Shebs <stan@codesourcery.com>
1887
1888 * gdb.trace/collection.c: Add code using strings.
1889 * gdb.trace/collection.exp: Add tests of string collection.
1890
89e208db
JK
18912011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1892
1893 * gdb.base/skip-solib.exp (executable_main): New variable.
1894 (binfile_main): Base it on that.
1895 Use $executable_main in clean_restart calls. Drop gdb_exit and
1896 gdb_start calls.
1897
405e54e9
JK
18982011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1899
1900 Fix racy FAILs.
1901 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
1902 breakpoint_re globals import by async. Set string_regex to .* for
1903 async. Remove the optional thread_selected_re and breakpoint_re
1904 globals expectations.
1905
58e8570a
JM
19062011-11-01 Joseph Myers <joseph@codesourcery.com>
1907
1908 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
1909 well as Cygwin.
1910
7b35ec7f 19112011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
1912
1913 Add tests for skip command.
89e208db
JK
1914 * gdb.base/skip-solib-lib.c: New
1915 * gdb.base/skip-solib-main.c: New
1916 * gdb.base/skip-solib.exp: New
1917 * gdb.base/skip.c: New
1918 * gdb.base/skip.exp: New
1919 * gdb.base/skip1.c: New
1920 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 1921
b9fd1791
PA
19222011-10-31 Yao Qi <yao@codesourcery.com>
1923 Pedro Alves <pedro@codesourcery.com>
1924
1925 * gdb.trace/trace-break.c: New.
1926 * gdb.trace/trace-break.exp: New.
1927
4323fecc
JK
19282011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1929
1930 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
1931 break-here-2.
1932
0e5bf2a8
PA
19332011-10-28 Pedro Alves <pedro@codesourcery.com>
1934
1935 * gdb.threads/no-unwaited-for-left.c: New.
1936 * gdb.threads/no-unwaited-for-left.exp: New.
1937 * gdb.threads/non-ldr-exc-1.c: New.
1938 * gdb.threads/non-ldr-exc-1.exp: New.
1939 * gdb.threads/non-ldr-exc-2.c: New.
1940 * gdb.threads/non-ldr-exc-2.exp: New.
1941 * gdb.threads/non-ldr-exc-3.c: New.
1942 * gdb.threads/non-ldr-exc-3.exp: New.
1943 * gdb.threads/non-ldr-exc-4.c: New.
1944 * gdb.threads/non-ldr-exc-4.exp: New.
1945
3a3dad98
JK
19462011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1947
1948 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
1949 * gdb.base/attach-pie-misread.exp: Likewise.
1950 * gdb.base/break-interp.exp: Likewise.
1951 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
1952 testcases for use_gdb_stub.
1953 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
1954 (continue): New testcase.
1955 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
1956 * gdb.threads/attach-into-signal.exp: Likewise.
1957 * gdb.threads/attach-stopped.exp: Likewise.
1958 * gdb.threads/attachstop-mt.exp: Likewise.
1959
d6a5d40c
PK
19602011-10-28 Paul Koning <paul_koning@dell.com>
1961
1962 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
1963
ca539be8
JK
19642011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1965
1966 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
1967 (mi_gdb_test): Import globals thread_selected_re
1968 and breakpoint_re. Expect them optionally at the regex start.
1969
d234ef5c
DE
19702011-10-27 Doug Evans <dje@google.com>
1971
1972 * gdb.python/python.exp: Test source -s.
1973
ab964825
PK
19742011-10-26 Paul Koning <paul_koning@dell.com>
1975
1976 * gdb.python/lib-types.cc (struct A): New structure.
1977 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 1978
54d8a644
PK
19792011-10-25 Paul Koning <paul_koning@dell.com>
1980
1981 PR python/13327
d234ef5c 1982
54d8a644
PK
1983 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
1984 fetch_lazy method.
1985
b0221781
YQ
19862011-10-24 Yao Qi <yao@codesourcery.com>
1987
1988 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
1989 target is tic6x-*-*.
1990
6cda5a20
JB
19912011-10-21 Joel Brobecker <brobecker@adacore.com>
1992
1993 * gdb.ada/mi_task_info/task_switch.adb: New file.
1994 * gdb.ada/mi_task_info.exp: New file.
1995
5ed9db04
JK
19962011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1997
1998 * gdb.cp/expand-psymtabs-cxx.exp: New file.
1999 * gdb.cp/expand-psymtabs-cxx.cc: New file.
2000
9df2fbc4
PM
20012011-10-20 Phil Muldoon <pmuldoon@redhat.com>
2002
2003 PR python/12656
2004
2005 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
2006 global_block tests.
2007
736086ba
TT
20082011-10-18 Tom Tromey <tromey@redhat.com>
2009
2010 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
2011
4af31552
TT
20122011-10-18 Tom Tromey <tromey@redhat.com>
2013
2014 * gdb.base/source.exp: Don't include full file name in test name.
2015 * gdb.python/python.exp: Don't include full file name in test
2016 name.
2017
43136979
AR
20182011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2019
2020 * gdb.base/attach-pie-noexec.c: New files.
2021 * gdb.base/attach-pie-noexec.exp: New files.
2022
543a9323
JM
20232011-10-17 Joseph Myers <joseph@codesourcery.com>
2024
2025 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
2026 prompt for each extra line in command.
2027
21ae7a4d
JK
20282011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2029
2030 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
2031 Revert the part of:
2032 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2033 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
2034 Change the expected string.
2035
20ec36d9
JK
20362011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2037
2038 Fix results with system glibc debug info installed.
2039 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
2040 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
2041 Accept also __libc_ symbol prefix and no prefix.
2042
6501c2fc
KS
20432011-10-14 Keith Seitz <keiths@redhat.com>
2044
2045 PR c++/13225
2046 * gdb.cp/converts.cc (foo3_1): New function.
2047 (foo3_2): New functions.
2048 * gdb.cp/converts.exp: Add tests for int to pointer conversion
2049 and null pointer conversions of integer constant zero.
2050 Add test to check if all arguments are checked for incompatible
2051 conversion BADNESS.
2052
55b1fd0c
TT
20532011-10-14 Tom Tromey <tromey@redhat.com>
2054
2055 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
2056 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
2057 linespec.
2058
22c05d8a
JK
20592011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2060
2061 Fix internal error regression.
2062 * gdb.dwarf2/implptr-optimized-out.S: New file.
2063 * gdb.dwarf2/implptr-optimized-out.exp: New file.
2064
1d6edc3c
JK
20652011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2066
2067 Fix empty DWARF expressions DATA vs. SIZE conditionals.
2068 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
2069 (loclist): New.
2070 (4): New abbrev.
2071 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
2072 Use prepare_for_testing, remove clean_restart.
2073 (p arraynoloc, p arraycallnoloc): New tests.
2074
9ec72168
JK
20752011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2076
2077 * gdb.cp/namespace-enum.exp (executable): New variable.
2078 (binfile): Use ${objdir}/${subdir}/ prefix.
2079 Use ${executable} for clean_restart.
2080
9c6c53f7
SA
20812011-10-11 Sterling Augustine <saugustine@google.com>
2082
2083 * gdb.cp/Makefile.in: Add namespace-enum test.
2084 * gdb.cp/namespace-enum.exp: New file.
2085 * gdb.cp/namespace-enum.c: New file.
2086 * gdb.cp/namespace-enum-main.c: New file.
2087
fac7ceb3
UW
20882011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
2089
2090 * gdb.python/py-shared.exp: Relax filename check to handle remote:
2091 sysroot.
2092
941b2081
JK
20932011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2094
2095 Reimplement @entry in input expressions.
2096 * gdb.base/exprs.c (v_int_array_init): New variable.
2097 * gdb.base/exprs.exp (print v_int_array_init)
2098 (print *v_int_array_init@1, print *v_int_array_init@2)
2099 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
2100 (print v_int_array_init[1]@1): New tests.
2101
0344e878
JM
21022011-10-10 Joseph Myers <joseph@codesourcery.com>
2103
2104 * gdb.cp/gdb2495.exp: Do not include directories in filename in
2105 expected message.
2106
5a56e9c5
DE
21072011-10-09 Doug Evans <dje@google.com>
2108
2109 * gdb.base/alias.exp: Add tests for alias command.
2110
2bda9cc5
JK
21112011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2112
2113 * gdb.arch/amd64-entry-value.s: New file.
2114 * gdb.mi/mi2-amd64-entry-value.s: New file.
2115
a471c594
JK
21162011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2117
2118 Display @entry parameter values even for references.
2119 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
2120 functions.
2121 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
2122 reference and datap_input.
2123 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
2124 breakpoints.
2125 (continue to breakpoint: entry_reference: reference)
2126 (entry_reference: bt at entry)
2127 (continue to breakpoint: entry_reference: breakhere_reference)
2128 (entry_reference: bt, entry_reference: ptype regparam)
2129 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
2130 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
2131 (entry_reference: p regcopy, entry_reference: p nodataparam)
2132 (entry_reference: p nodataparam@entry): New tests.
2133
36b11add
JK
21342011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2135
2136 Support @entry in input expressions.
2137 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
2138 (entry_stack: p s1@entry, entry_stack: p s2@entry)
2139 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
2140 (tailcall: p j@entry): New tests.
2141 * gdb.cp/koenig.cc (A::entry): New function.
2142 (main): Call it.
2143 * gdb.cp/koenig.exp (p entry (c)): New test.
2144
e18b2753
JK
21452011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2146
2147 Display @entry parameter values (without references).
2148 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
2149 (different, validity, invalid): New functions.
2150 (main): Call them.
2151 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
2152 stacktest, breakhere_stacktest, different, breakhere_different,
2153 breakhere_validity and breakhere_invalid.
2154 (entry: bt): Update for @entry.
2155 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
2156 (entry_validity: *, entry_invalid: *): Many new tests.
2157 * gdb.base/break.exp
2158 (run until breakpoint set at small function, optimized file): Accept
2159 also the @entry suffix.
2160 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
2161 * gdb.mi/mi2-amd64-entry-value.c: New files.
2162 * gdb.mi/mi2-amd64-entry-value.exp: New files.
2163
2d6c5dc2
JK
21642011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2165
2166 Protect entry values against self tail calls.
2167 * gdb.arch/amd64-entry-value.cc (self2, self): New.
2168 (main): Call self.
2169 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
2170 (set debug entry-values 1, self: bt debug entry-values): New tests.
2171
111c6489
JK
21722011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2173
2174 Recognize virtual tail call frames.
2175 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
2176 (amb_b, amb_a): New.
2177 (main): Call a and b.
2178 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
2179 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
2180 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
2181 New tests.
2182
8e3b41a9
JK
21832011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2184
2185 Implement basic support for DW_TAG_GNU_call_site.
2186 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
2187 * gdb.arch/amd64-entry-value.cc: New file.
2188 * gdb.arch/amd64-entry-value.exp: New file.
2189
181cebd4
JK
21902011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2191
2192 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
2193 * gdb.dwarf2/implptr-64bit.S: New file.
2194 * gdb.dwarf2/implptr-64bit.exp: New file.
2195
741f5e3c
JK
21962011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2197
2198 Fix initial language detection with -readnow.
2199 * gdb.cp/readnow-language.cc: New file.
2200 * gdb.cp/readnow-language.exp: New file.
2201
a73d2258
JK
22022011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2203
2204 Fix printed anonymous struct name.
2205 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
2206
af369495
JM
22072011-10-09 Joseph Myers <joseph@codesourcery.com>
2208
2209 * gdb.base/solib-symbol.exp: Do not include directories in
2210 filenames in expected messages.
2211
1fa57852
DE
22122011-10-07 Doug Evans <dje@google.com>
2213
2214 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
2215
bd054e06
KP
22162011-10-07 Kevin Pouget <kevin.pouget@st.com>
2217
2218 Allow Python notification of new object-file loadings.
2219 * gdb.python/py-events.exp: Test newobjfile event.
2220 * gdb.python/py-events.py: Register newobjfile callback.
2221 * gdb.python/py-events.c: Add call to shared library
2222 * gdb.python/py-events-shlib.c: New file.
2223
8031b6f8
JM
22242011-10-06 Joseph Myers <joseph@codesourcery.com>
2225
2226 * gdb.base/fixsection.exp: Do not include directories in filename
2227 in expected message.
2228
7fea6923
PM
22292011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
2230
2231 Add tests for passing of environment variables to inferior.
2232 * gdb.base/testenv.c: New test source.
2233 * gdb.base/testenv.exp: New expect test.
2234
687f2a88
PK
22352011-10-04 Paul Koning <paul_koning@dell.com>
2236
2237 * gdb.python/py-value.c (main): Break before return.
2238
cb6be26b
KP
22392011-10-04 Kevin Pouget <kevin.pouget@st.com>
2240
2241 PR python/12691: Add the inferior to Python exited event
2242 * gdb.python/py-events.exp: Test the inferior attribute of exited
2243 event with a fork.
2244 * gdb.python/py-events.py: Print inferior number on exit.
2245 * gdb.python/py-events.c: Fork the inferior.
2246
fb213700
EBM
22472011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
2248
2249 * gdb.base/jit.exp: Add testcase name to log message
2250
aa2071bd
PK
22512011-10-03 Paul Koning <paul_koning@dell.com>
2252 Jan Kratochvil <jan.kratochvil@redhat.com>
2253
2254 * gdb.python/py-value.exp
2255 (python inval = gdb.parse_and_eval('*(int*)0'))
2256 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
2257 (set argc=2, python print argc_lazy): New tests.
2258
dd11a36c
JB
22592011-10-02 Joel Brobecker <brobecker@adacore.com>
2260
2261 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
2262
46f886f1
JK
22632011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2264 Pedro Alves <pedro@codesourcery.com>
2265
2266 * gdb.python/py-value.exp (test_value_in_inferior): New variable
2267 can_read_0, test for it.
2268 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
2269 (parse_and_eval with memory error): ... here, make it untested if
2270 can_read_0.
2271
c5cb204f
MP
22722011-09-30 Marek Polacek <mpolacek@redhat.com>
2273
2274 * gdb.python/python.exp (verify pagination beforehand)
2275 (verify pagination afterwards): Fix race by splitting the line.
2276
68fb0ec0
JM
22772011-09-29 Joseph Myers <joseph@codesourcery.com>
2278
2279 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
2280 for 64-bit multilibs from i?86-* targets.
2281
6aee0d90
MP
22822011-09-29 Marek Polacek <mpolacek@redhat.com>
2283
2284 * lib/gdb.exp: Fix a typo in one of the comments.
2285
e9101ff5
MP
22862011-09-29 Marek Polacek <mpolacek@redhat.com>
2287
2288 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
2289 matching pattern.
2290
7a81bdbf
PK
22912011-09-28 Paul Koning <paul_koning@dell.com>
2292
2293 * gdb.python/py-type.c (enum E): New.
2294 * gdb.python/py-type.exp (test_fields): Add tests for Python
2295 mapping access to fields.
2296 (test_enums): New test for field access on enums.
2297
6710bf39
SS
22982011-09-27 Stan Shebs <stan@codesourcery.com>
2299
2300 * gdb.trace/collection.exp: Test collection of $_ret.
2301
b2a6bdeb
AT
23022011-09-22 Andreas Tobler <andreast@fgznet.ch>
2303
2304 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
2305 list of compilation switches for <*-*-freebsd*>.
2306
3c9057f3
SS
23072011-09-19 Stan Shebs <stan@codesourcery.com>
2308
2309 * gdb.trace/tspeed.exp: New file.
2310 * gdb.trace/tspeed.c: New file.
2311
34518530
YQ
23122011-09-18 Yao Qi <yao@codesourcery.com>
2313
2314 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
2315 instructions.
2316 (test_adr_32bit, test_pop_pc): Likewise.
2317 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
2318 Thumb instructions.
2319 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
2320 in gdb_test_multiple.
2321 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
2322
ab254057
YQ
23232011-09-17 Yao Qi <yao@codesourcery.com>
2324
2325 * lib/gdb.exp (can_single_step_to_signal_handler): New.
2326 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
2327 support single step to signal handler.
2328
9c317b71
YQ
23292011-09-17 Yao Qi <yao@codesourcery.com>
2330
2331 * gdb.base/disp-step-fork.c: New.
2332 * gdb.base/disp-step-syscall.exp: New.
2333 * gdb.base/disp-step-vfork.c: New.
2334
a8123151
JB
23352011-09-16 Joel Brobecker <brobecker@adacore.com>
2336
2337 * gdb.ada/tasks.exp: Make the expected output for
2338 the `info tasks' tests more resilient to spacing
2339 changes.
2340
63a9aad8
JK
23412011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2342
2343 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
2344 (reached breakpoint 2, reached breakpoint 3): Update expected output.
2345
2aa48337
KP
23462011-09-15 Kevin Pouget <kevin.pouget@st.com>
2347
2348 PR Python/12692 Add gdb.selected_inferior() to Python interface.
2349 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
2350
6839b47f
KP
23512011-04-30 Kevin Pouget <kevin.pouget@st.com>
2352
2353 Handle multiple breakpoint hits in Python interface:
2354 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
2355 presence.
2356 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
2357 breakpoint hits.
2358
0935723e
JK
23592011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
2360 Jan Kratochvil <jan.kratochvil@redhat.com>
2361
2362 * gdb.python/py-events.exp: Remove pretty printing comment.
2363 * gdb.python/py-evsignal.exp: New file.
2364 * gdb.python/py-evthreads.c: Include signal.h.
2365 (thread3): Remove variable count3. Remove variable bad and use raise
2366 instead.
2367 (thread2): Remove variable count2. Move thread3 pthread_create here,
2368 merge pthread_join to a single line.
2369 (main): Remove variable count1. Merge pthread_join with pthread_create
2370 to a single line.
2371 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
2372 KFAIL python/12966 for gdbserver. Test return value of
2373 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
2374 gdb_expect by gdb_test and gdb_test_multiple.
2375 (thread 2, thread 3): New tests.
2376
4801a9a3
PA
23772011-09-12 Matt Rice <ratmice@gmail.com>
2378 Pedro Alves <pedro@codesourcery.com>
2379
2380 PR gdb/13175
2381
2382 * gdb.base/interp.exp: New tests.
2383 * gdb.base/interp.c: New file.
2384
24ece742
DE
23852011-09-12 Doug Evans <dje@google.com>
2386
2387 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
2388 * gdb.dwarf2/typeddwarf.exp: Ditto.
2389
7f062217
JK
23902011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2391
2392 Fix compatibility with x32 arch.
2393 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
2394 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
2395 is_x86_like_target.
2396 * testsuite/gdb.trace/collection.exp: Likewise.
2397 * testsuite/gdb.trace/report.exp: Likewise.
2398 * testsuite/gdb.trace/unavailable.exp: Likewise.
2399 * testsuite/gdb.trace/while-dyn.exp: Likewise.
2400 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
2401 (is_x86_like_target): Check also is_amd64_regs_target.
2402
08711b9a
JK
24032011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2404
2405 PR breakpoints/12435
2406 * gdb.arch/amd64-prologue-xmm.c: New file.
2407 * gdb.arch/amd64-prologue-xmm.exp: New file.
2408 * gdb.arch/amd64-prologue-xmm.s: New file.
2409
b99b5f66
JK
24102011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2411
2412 * gdb.dwarf2/dw2-param-error-main.c: New file.
2413 * gdb.dwarf2/dw2-param-error.S: New file.
2414 * gdb.dwarf2/dw2-param-error.exp: New file.
2415
a391a2f6
PA
24162011-09-08 Pedro Alves <pedro@codesourcery.com>
2417
2418 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
2419 inferior's pid and look for a core dump named core.$pid. Use
2420 `remote_file' commands on the host instead of hand coding shell
2421 commands on the build.
2422 * gdb.base/valgrind-db-attach.exp: Kill the program before
2423 finishing the test.
2424
7d8e6458 24252011-09-02 Matt Rice <ratmice@gmail.com>
2426
2427 * lib/prompt.exp: New file for testing the first prompt.
2428 * gdb.python/py-prompt.exp: Ditto.
2429 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
2430
68e77c9e
PA
24312011-09-02 Pedro Alves <pedro@codesourcery.com>
2432
2433 * gdb.threads/gcore-thread.exp: Set the global core_supported to
2434 0, before testing gcore.
2435
9655e943
JK
24362011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2437
df6dc84d
JK
2438 * dw2-ifort-parameter-debug.S: Update copyright year.
2439 * dw2-ifort-parameter.c: Update copyright year.
2440 * dw2-ifort-parameter.exp: Update copyright year.
2441
9655e943
JK
2442 * dw2-ifort-parameter-debug.S: New file.
2443 * dw2-ifort-parameter.c: New file.
2444 * dw2-ifort-parameter.exp: New file.
2445
353d1d73
JK
24462011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2447
2448 * gdb.base/commands.exp (error_clears_commands_left): New function.
2449 (): Call it.
2450
5c07461a
JK
24512011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2452
2453 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
2454 (C): Initialize `a'.
2455 * gdb.mi/mi-inheritance-syntax-error.exp
2456 (-data-evaluate-expression $path): Expect `a' as 5.
2457
0d932b2f
MK
24582011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
2459
2460 PR mi/11912
2461 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
2462 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
2463 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
2464 keyword in output of -var-info-path-expression.
2465
bdb54049
JK
24662011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2467
2468 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
2469 * gdb.trace/collection.exp: Likewise.
2470 * gdb.trace/report.exp: Likewise.
2471 * gdb.trace/unavailable.exp: Likewise.
2472 * gdb.trace/while-dyn.exp: Likewise.
2473
59cde39c
KS
24742011-08-18 Keith Seitz <keiths@redhat.com>
2475
2476 PR c++/12266
2477 * gdb.cp/meth-typedefs.cc: New file.
2478 * gdb.cp/meth-typedefs.exp: New file.
2479
fa3a4f15
PM
24802011-08-17 Phil Muldoon <pmuldoon@redhat.com>
2481
2482 * gdb.python/python.exp: Add extended-prompt tests.
2483
c1049fca
JK
24842011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2485
2486 * gdb.arch/i386-dr3-watch.exp
2487 (watchpoint on gap1 does not fit debug registers)
2488 (delete all watchpoints): Fix racy expect strings.
2489
d93f7b5c
YQ
24902011-08-14 Yao Qi <yao@codesourcery.com>
2491
2492 * gdb.base/maint.exp: set data_section to ".neardata".
2493 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
2494 * gdb.base/savedregs.exp: Handle SIGILL.
2495 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
2496 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
2497
457e09f0
DE
24982011-08-12 Doug Evans <dje@google.com>
2499
2500 * gdb.python/py-symbol.exp: Add test for symbol.type.
2501
5d0bb2fb
UW
25022011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
2503
2504 * gdb.threads/pthreads.exp: Enable on non-native configurations.
2505 * gdb.mi/mi-pthreads.exp: Likewise.
2506 * gdb.mi/mi2-pthreads.exp: Likewise.
2507 * gdb.mi/gdb669.exp.exp: Likewise.
2508
fcdfa280
PA
25092011-08-09 Pedro Alves <pedro@codesourcery.com>
2510
2511 * lib/mi-support.exp (detect_async): Rename to...
2512 (mi_detect_async): ... this.
2513 * gdb.mi/mi-nonstop-exit.exp: Adjust.
2514 * gdb.mi/mi-nonstop.exp: Adjust.
2515 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
2516 * gdb.mi/mi-nsintrall.exp: Adjust.
2517 * gdb.mi/mi-nsmoribund.exp: Adjust.
2518 * gdb.mi/mi-nsthrexec.exp: Adjust.
2519
9d8fa392
PA
25202011-08-09 Pedro Alves <pedro@codesourcery.com>
2521
2522 * gdb.base/display.c (do_loops): New `p_i' local.
2523 * gdb.base/display.exp: Test displaying a variable that is
2524 temporarily at a bad address.
2525
b6cede78
JK
25262011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2527
2528 * gdb.dwarf2/dw2-op-stack-value.S: New file.
2529 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
2530
67bedb8c
JK
25312011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2532
2533 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
2534 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
2535 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 2536
af6e93b2
PA
25372011-08-05 Pedro Alves <pedro@codesourcery.com>
2538
2539 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
2540 procedure.
2541 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
2542
1cf0e11f
YQ
25432011-08-05 Yao Qi <yao@codesourcery.com>
2544
2545 * gdb.base/callfuncs.exp: Set language after main.
2546 * gdb.cp/cplusfuncs.exp: Likewise.
2547 * gdb.cp/inherit.exp: Likewise.
2548
a1e28cb2
UW
25492011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2550
2551 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
2552 * gdb.base/watch-vfork.exp: Skip on remote targets.
2553
d4f5bbb9
UW
25542011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2555
2556 * gdb.threads/thread-find.exp: Support remote targets.
2557
724f4f80
UW
25582011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2559
2560 * gdb.base/jit.exp: Download solib_binfile to target.
2561 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
2562 and call dlopen without full path name.
2563 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
2564 dlopen without full path name.
2565
934709f0
PW
25662011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2567
2568 * gdb.base/break-always.exp: Complete the test
2569 with duplicated breakpoints and enabling/disabling them.
2570
c26106c4
TT
25712011-08-02 Tom Tromey <tromey@redhat.com>
2572
2573 PR gdb/11289:
2574 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
2575
9300444e 25762011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
2577
2578 PR gdb/13045
2579 * gdb.base/float.exp: Add new test case for PR gdb/13045
2580 * gdb.base/float.c: New file.
2581
00bd41d6
PM
25822011-07-28 Phil Muldoon <pmuldoon@redhat.com>
2583
2584 * gdb.python/py-mi.exp: Test printers returning string hint, and
2585 also not returning a value.
2586 * gdb.python/py-prettyprint.c: Add testcase for above.
2587 * gdb.python/py-prettyprint.py: Add test printer for above.
2588
d24f74ce
JK
25892011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2590
2591 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
2592 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
2593 (.Ldie30) Add as field "data4".
2594 (.Ldie32) Rename field "b" to "shl".
2595 (abbrev4) Change for the "data4" field.
2596 (abbrev5, abbrev6) Remove.
2597 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
2598 (p &s.shl): ... here. Add comment.
2599 (p &s.data4): New.
2600
bb7da2bf
JK
26012011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2602
2603 Fix crash on lval_computed values.
2604 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
2605
11081198
JK
26062011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2607
2608 * gdb.base/help.exp (help whatis): Update the expected string.
2609
3c6e0cb3
JK
26102011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2611
2612 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
2613 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
2614 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
2615 Change the expected string.
2616
efa80663
PA
26172011-07-26 Pedro Alves <pedro@codesourcery.com>
2618
2619 * gdb.base/watchpoint.exp
2620 (test_disable_enable_software_watchpoint): New procedure.
2621 (top level): Run it.
2622
db8e4570
UW
26232011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
2624
2625 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
2626 executable file "${binfile}", C++ version "${binfile}-cxx".
2627 * gdb.python/py-prettyprint.exp: Likewise.
2628 * gdb.python/py-symbol.exp: Likewise.
2629 * gdb.python/py-type.exp: Likewise.
2630 * gdb.python/py-value.exp: Likewise.
2631 * gdb.python/py-template.exp (test_template_arg): Pass full executable
2632 file name instead of just suffix.
2633
543305c9
JK
26342011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2635
2636 Fix implicit pointer offsets.
2637 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
2638 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
2639 (continue to breakpoint: continue to baz breakpoint for implptr)
2640 (sanity check element 0, sanity check element 1)
2641 (enter the inlined function, check element 0 for the offset)
2642 (check element 1 for the offset)
2643 (continue to breakpoint: ignore the second baz breakpoint): New tests.
2644 (set foo breakpoint for implptr): Update the breakpoint number.
2645
b3215adc
UW
26462011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2647
2648 * gdb.python/py-mi.exp: Use different file names for different
2649 versions of the executable under test.
2650 * gdb.python/py-prettyprint.exp: Likewise.
2651 * gdb.python/py-symbol.exp: Likewise.
2652 * gdb.python/py-template.exp: Likewise.
2653 * gdb.python/py-type.exp: Likewise.
2654 * gdb.python/py-value.exp: Likewise.
2655
182b9acc
UW
26562011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2657
2658 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
2659 flag after restarting GDB if necessary.
2660
e6052b5d
UW
26612011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2662
2663 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
2664
1ced966e
PA
26652011-07-22 Pedro Alves <pedro@codesourcery.com>
2666
2667 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
2668 backend doesn't leave used debug registers behind.
2669
3543a589
TT
26702011-07-22 Tom Tromey <tromey@redhat.com>
2671
2672 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
2673 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
2674 argument.
2675 * gdb.dwarf2/typeddwarf-amd64.S: New file.
2676
14d15303 26772011-07-21 Matt Rice <ratmice@gmail.com>
2678
2679 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
2680 in mostlyclean rule. Add files ending in .core.
2681
9b158ba0 26822011-07-21 Matt Rice <ratmice@gmail.com>
2683
2684 PR macros/12999
2685 * gdb.base/info-macros.c: New test sources.
2686 * gdb.base/info-macros.exp: New tests.
2687
d17b6f81
PM
26882011-07-21 Phil Muldoon <pmuldoon@redhat.com>
2689
2690 * gdb.python/python.exp: Add prompt substitution tests.
2691
918dd910
JK
26922011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2693
2694 Fix crash if referenced CU is aged out.
2695 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
2696 New.
2697 * gdb.dwarf2/implptr.exp: Likewise.
2698
0e37a63c
JK
26992011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2700
2701 * gdb.dwarf2/implptr.S: Rebuilt.
2702 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
2703 (bar): Use them for j, k, l.
2704 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
2705 COMPILE.
2706 (print j in implptr:bar): Update for the intp typedef.
2707 (print p[0].x in implptr:foo): Use more exact regex.
2708
f65cf84c
TT
27092011-07-18 Tom Tromey <tromey@redhat.com>
2710
2711 * gdb.cp/static-method.exp: Add missing single quote.
2712
d5b4a7be
YQ
27132011-07-18 Yao Qi <yao@codesourcery.com>
2714
2715 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
2716 supported.
2717 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2718 * gdb.mi/mi-nonstop.exp: Likewise.
2719 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2720 * gdb.mi/mi-nsintrall.exp: Likewise.
2721 * gdb.mi/mi-nsmoribund.exp: Likewise.
2722 * gdb.mi/mi-nsthrexec.exp: Likewise.
2723 * gdb.python/py-evthreads.exp: Likewise.
2724
e9ea2662
JK
27252011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2726
2727 Code cleanup.
2728 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
2729 it. Substitute it instead of test_compiler_info everywhere.
2730
ce451573
UW
27312011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2732
2733 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
2734 remote targets as well.
2735
756d88a7
UW
27362011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2737
2738 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
2739 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
2740
31f83dc5
UW
27412011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2742
2743 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
2744 a remote machine, not the host.
2745 (gdb_compile_shlib): Set soname if target is remote.
2746
059241a0
PP
27472011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2748
2749 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
2750
28a0b48c 27512011-07-13 Matt Rice <ratmice@gmail.com>
2752
2753 * gdb.python/py-objfile-script-gdb.py: Renamed to
2754 py-objfile-script-gdb.py.in.
2755 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
2756 py-objfile-script-gdb.py.
2757 * gdb.python/py-objfile-script.exp: Update reference to
2758 py-objfile-script-gdb.py.
2759
9a771b67
JK
27602011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2761
2762 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
2763 reference undefined label.
2764
04ad99e6
JK
27652011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2766
2767 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
2768 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
2769 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
2770 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
2771
713389e0
PM
27722011-07-11 Phil Muldoon <pmuldoon@redhat.com>
2773
2774 PR python/12438
2775 * gdb.python/python.exp: Add maint set/show python print-stack
2776 deprecated tests. Add set/show python print-backtrace tests.
2777
97d146f8
JK
27782011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2779
2780 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
2781 debug info.
2782
facde0e5 27832011-07-06 Matt Rice <ratmice@gmail.com>
2784
2785 * gdb.python/python.exp: Update filename paths.
2786 * gdb.python/py-symtab.exp: Ditto.
2787
438640d1
MP
27882011-07-06 Marek Polacek <mpolacek@redhat.com>
2789
2790 * gdb.python/py-evthreads.exp: Add missing `$'.
2791
33a365df
MF
27922011-07-06 Jie Zhang <jie.zhang@analog.com>
2793
2794 * config/bfin.exp: New file.
2795 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
2796 * gdb.asm/bfin.inc: New file.
2797
8f7ae686
MP
27982011-07-06 Marek Polacek <mpolacek@redhat.com>
2799
df46027d 2800 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
2801 the whole output.
2802
eb2a6f42
TT
28032011-07-05 Tom Tromey <tromey@redhat.com>
2804
2805 * gdb.java/jprint.java (jprint.hi): New field.
2806 * gdb.java/jprint.exp: Print string.
2807
177b42fe
TJB
28082011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
2809
2810 * gdb.base/call-sc.c: Fix typos.
2811 * gdb.base/ifelse.exp: Likewise.
2812 * gdb.base/structs.c: Likewise.
2813
3b2a0cf2
JB
28142011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2815
2816 * gdb.base/jit-so.exp: New test.
2817 * gdb.base/jit-dlmain.c: New file.
2818 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
2819
46fc714c
JK
28202011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2821
2822 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
2823 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
2824 * gdb.cp/pr9167.exp (p b): Likewise.
2825 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
2826 (test value of P in inner_m, test type of Z in inner_m): Call
2827 setup_xfail for gcc <= 4.5.
46fc714c 2828
418c7cf7
JK
28292011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2830
2831 * gdb.cp/paren-type.cc: New files.
2832 * gdb.cp/paren-type.exp: New files.
2833
3d50dd94
JK
28342011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2835
2836 Stop on first linespec terminator instead of eating what we can.
2837 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
2838 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
2839 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
2840 (break C::f()): ... this one.
2841 (break C::operator()()): New test.
2842 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
2843 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
2844 test.
2845
dcf9f4ab
JK
28462011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2847
2848 Fall back linespec to minimal symbols.
2849 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
2850 error message.
2851 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
2852 * gdb.cp/minsym-fallback-main.cc: New file.
2853 * gdb.cp/minsym-fallback.cc: New file.
2854 * gdb.cp/minsym-fallback.exp: New file.
2855 * gdb.cp/minsym-fallback.h: New file.
2856
3f542ed1
JK
28572011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2858
2859 * gdb.cp/no-dmgl-verbose.cc: New file.
2860 * gdb.cp/no-dmgl-verbose.exp: New file.
2861
28622011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
2863
2864 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
2865 __GI_.
2866 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
2867 (f): New function.
2868 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
2869 (complete p 'func<short>(): ... here.
2870 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
2871 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
2872 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
2873 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
2874 Make them KFAIL gcc/49546.
2875
00eb2c4a
JB
28762011-07-01 Joel Brobecker <brobecker@adacore.com>
2877
2878 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
2879
85a20c42
JK
28802011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2881
2882 Test GCC PR debug/49546.
2883 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
2884 (test type of F in k3_m, test value of F in k3_m): New.
2885 * gdb.cp/temargs.cc (struct S3, struct K3): New.
2886 (main): New variable k3. Call k3.k3_m.
2887
d2d43431
JB
28882011-07-01 Jean-Charles Delay <delay@adacore.com>
2889
2890 * gdb.ada/packed_array.exp: Fix expected outout.
2891
54ae186f
JB
28922011-07-01 Jean-Charles Delay <delay@adacore.com>
2893
2894 * gdb.ada/packed_array.exp: fixed expected output.
2895
8f17729f
JB
28962011-07-01 Joel Brobecker <brobecker@adacore.com>
2897
2898 * gdb.ada/same_enum: New testcase.
2899
f5aa6869
JB
29002011-07-01 Joel Brobecker <brobecker@adacore.com>
2901
2902 * gdb.ada/ptr_typedef: New testcase.
2903
828292f2
JB
29042011-07-01 Joel Brobecker <brobecker@adacore.com>
2905
2906 * gdb.ada/arrayptr.exp: Add ptype test.
2907
18920c42
JB
29082011-07-01 Joel Brobecker <brobecker@adacore.com>
2909
2910 * gdb.ada/char_enum: New testcase.
2911
3536d9e3 29122011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
2913
2914 * gdb.base/dump.exp (capture_pointer_with_type): New.
2915 Get value from address instead of name.
2916 Start GDB once, and do `dump' and `restore'
2917 tests together.
2918
db863c42
MF
29192011-06-30 Jie Zhang <jie.zhang@analog.com>
2920 Mike Frysinger <vapier@gentoo.org>
2921
2922 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
2923 helper functions for getting/setting remotetimeout variable.
2924 * lib/gdb.exp (gdb_load): If the target is remote, set
2925 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
2926 with $loadtimeout. Set $load_ok to 0 before doing the load.
2927 Instead of returning, immediately, set $load_ok to 0. Call
2928 set_remotetimeout with $oldremotetimeout, and then return if
2929 $load_ok is 1.
2930
e9e642a8
AB
29312011-06-30 Andrew Burgess <aburgess@broadcom.com>
2932
2933 * gdb.python/py-template.exp: Don't run this test if the target
2934 does not support c++ tests.
2935
32019081
JK
29362011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2937
2938 Fix non-only rename list for Fortran modules import.
2939 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
2940 tests.
2941 * gdb.fortran/module.f90 (module moduse): New.
2942 (program module): use moduse, test var_x, var_y and var_z.
2943
0ecee54c
TT
29442011-06-29 Tom Tromey <tromey@redhat.com>
2945
2946 PR testsuite/12040:
2947 * gdb.fortran/array-element.exp: Use f90, not f77.
2948 * gdb.fortran/complex.exp: Use f90, not f77.
2949 * gdb.fortran/derived-type.exp: Use f90, not f77.
2950 * gdb.fortran/library-module.exp: Use f90, not f77.
2951 * gdb.fortran/logical.exp: Use f90, not f77.
2952 * gdb.fortran/module.exp: Use f90, not f77.
2953 * gdb.fortran/multi-dim.exp: Use f90, not f77.
2954 * gdb.fortran/subarray.exp: Use f90, not f77.
2955
3b2b8fea
TT
29562011-06-29 Tom Tromey <tromey@redhat.com>
2957
2958 * gdb.fortran/charset.exp: New file.
2959 * gdb.fortran/charset.f90: New file.
2960
42159ca5
TT
29612011-06-29 Tom Tromey <tromey@redhat.com>
2962
2963 PR testsuite/12040:
2964 * lib/future.exp: New file, mostly extracted from ada.exp.
2965 Rewrote compatibility code to use rename.
2966 (gdb_find_gfortran): New proc.
2967 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
2968 gfortran patch.
2969 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
2970 Move to future.exp.
2971 * lib/gdb.exp: Always load future.exp.
2972
af69a5ce
YQ
29732011-06-28 Yao Qi <yao@codesourcery.com>
2974
2975 * gdb.cp/exception.cc: Don't include iostream.
2976 (bar): Remove print statement.
2977 (catcher): New.
2978 (main): Remove print statements. Call function catcher.
2979 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
2980 Set breakpoint on catcher, and check the value of parameter.
2981
ab5c6a72
YQ
29822011-06-23 Yao Qi <yao@codesourcery.com>
2983
2984 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
2985 1.2 is disabled. KFAIL for uclinux.
2986
9497469f
MP
29872011-06-23 Marek Polacek <mpolacek@redhat.com>
2988
2989 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
2990 mi_gdb_test.
2991
b9132588
MP
29922011-06-23 Marek Polacek <mpolacek@redhat.com>
2993
5d197ed0 2994 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 2995
e55595ca
MP
29962011-06-23 Marek Polacek <mpolacek@redhat.com>
2997
5d197ed0
MP
2998 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
2999
30002011-06-23 Marek Polacek <mpolacek@redhat.com>
3001
3002 * gdb.mi/mi2-basics.exp: Fix races. Honour the
3003 `test_exec_and_symbol_mi_operatons' return value.
3004 (test_mi_interpreter_selection): Use mi_gdb_test instead of
3005 gdb_test_multiple.
3006 (test_exec_and_symbol_mi_operatons): Likewise.
3007 (test_path_specification): Likewise.
e55595ca 3008
be777e08
YQ
30092011-06-23 Yao Qi <yao@codesourcery.com>
3010
3011 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
3012 supported.
3013 * lib/gdb.exp (support_displaced_stepping): New.
3014
615556d6
YQ
30152011-06-23 Yao Qi <yao@codesourcery.com>
3016
3017 * gdb.threads/execl.exp: Skip on remote target.
3018
833b0ca7
MP
30192011-06-21 Marek Polacek <mpolacek@redhat.com>
3020
5d197ed0 3021 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
3022 mi_gdb_test.
3023
1ee4023a
MP
30242011-06-20 Marek Polacek <mpolacek@redhat.com>
3025
5d197ed0 3026 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 3027
d0b1d624
MP
30282011-06-20 Marek Polacek <mpolacek@redhat.com>
3029
5d197ed0 3030 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
3031 mi_gdb_test.
3032
79aa92c1
MP
30332011-06-20 Marek Polacek <mpolacek@redhat.com>
3034
5d197ed0 3035 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 3036
5ce5db06
YQ
30372011-06-14 Yao Qi <yao@codesourcery.com>
3038
3039 gdb/testsuite/
3040 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
3041
533a737e
JK
30422011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3043
3044 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
3045
d0e53741
TT
30462011-06-10 Tom Tromey <tromey@redhat.com>
3047
3048 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
3049 Add tests for pointer-to-member-function.
3050 * gdb.cp/temargs.cc (S::somefunc): New function.
3051 (K2): New class.
3052 (main): Instantiate K2; call method.
3053
b5916bbd
JB
30542011-06-08 Joel Brobecker <brobecker@adacore.com>
3055
3056 * gdb.python/py-inferior.c (f2): Make str an array rather
3057 than a pointer.
3058 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
3059
5be4dfca
JK
30602011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3061
3062 * gdb.base/async-shell.c: New file.
3063 * gdb.base/async-shell.exp: New file.
3064
9f47e254
PA
30652011-06-06 Pedro Alves <pedro@codesourcery.com>
3066
3067 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
3068
64b9b334
JB
30692011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
3070
3071 From Stephen Kitt <steve@sk2.org>
3072 * gdb.base/help.exp: Adjust following some spelling corrections
3073 in GDB.
3074
dbc0f131
YQ
30752011-06-01 Yao Qi <yao@codesourcery.com>
3076
3077 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
3078
fd336a18
KS
30792010-05-31 Keith Seitz <keiths@redhat.com>
3080
3081 PR c++/12750
3082 * gdb.cp/static-method.cc: New file.
3083 * gdb.cp/static-method.exp: New file.
3084
fa8b9902
KS
30852010-05-31 Keith Seitz <keiths@redhat.com>
3086
3087 PR symtab/12704
3088 * gdb.cp/anon-ns.cc: New file.
3089 * gdb.cp/anon-ns.exp: New file.
3090
0a5b1e09
PA
30912011-05-31 Pedro Alves <pedro@codesourcery.com>
3092
3093 * gdb.arch/i386-dr3-watch.c: New file.
3094 * gdb.arch/i386-dr3-watch.exp: New file.
3095
0578b8d1
YQ
30962011-05-30 Yao Qi <yao@codesourcery.com>
3097
3098 * gdb.base/callfuncs.c (t_structs_fc): New.
3099 (t_structs_dc, t_structs_ldc): New.
3100 (t_double_many_args):
3101 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
3102 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
3103 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
3104 * gdb.base/callfuncs.exp: Call new functions.
3105
6680506e
YQ
31062011-05-30 Yao Qi <yao@codesourcery.com>
3107
ff4d2c60
YQ
3108 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
3109 Call rerun_and_prepare for each test to isolate effects.
3110
31112011-05-30 Yao Qi <yao@codesourcery.com>
3112
3113 * gdb.base/varargs.c (find_max_float_real): New.
3114 (find_max_double_real, find_max_long_double_real): New.
3115 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
3116 * lib/gdb.exp (setup_kfail_for_target): New.
3117
e43ec454
YQ
31182011-05-30 Yao Qi <yao@codesourcery.com>
3119
3120 * gdb.base/funcargs.c (callca, callcb, callcc): New.
3121 (callcd, callce, callcf, callc1a, callc1b): New.
3122 (callc2a, callc2b): New.
3123 * gdb.base/funcargs.exp (complex_args): New.
3124 (complex_integral_args, complex_float_integral_args): New.
3125 * lib/gdb.exp (support_complex_tests): New. Determine
3126 whether to run test cases on _Complex types.
3127
432b4d03
JK
31282011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3129
3130 * gdb.threads/leader-exit.c: New file.
3131 * gdb.threads/leader-exit.exp: New file.
3132
6caf069d
MP
31332011-05-27 Marek Polacek <mpolacek@redhat.com>
3134
9497469f 3135 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 3136
97fce28b
MP
31372011-05-27 Marek Polacek <mpolacek@redhat.com>
3138
3139 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
3140 remove the `supported' variable.
3141 * gdb.mi/mi-nonstop.exp: Likewise.
3142 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3143 * gdb.mi/mi-nsintrall.exp: Likewise.
3144 * gdb.mi/mi-nsmoribund.exp: Likewise.
3145 * gdb.mi/mi-nsthrexec.exp: Likewise.
3146
9da8c2a0
PA
31472011-05-26 Pedro Alves <pedro@codesourcery.com>
3148
3149 * gdb.reverse/finish-reverse-bkpt.exp: New test.
3150
2c03e5be
PA
31512011-05-26 Pedro Alves <pedro@codesourcery.com>
3152
3153 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
3154
2e21250d
KS
31552011-05-24 Keith Seitz <keiths@redhat.com>
3156
3157 PR breakpoint/12803
3158 * gdb.cp/cmpd-minsyms.cc (a): New method.
3159 (b): New method.
3160 (c): New method.
3161 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
3162
cdac0397
PA
31632011-05-24 Pedro Alves <pedro@codesourcery.com>
3164
3165 * gdb.base/commands.exp (watchpoint_command_test): Check that the
3166 watchpoint's command list didn't execute when the watchpoint went
3167 out of scope.
3168
ee5683ab
PM
31692011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
3170
3171 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
3172 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
3173 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
3174 * gdb.arch/i386-gnu-cfi.exp: Likewise.
3175 * gdb.arch/i386-permbkpt.exp: Likewise.
3176 * gdb.arch/i386-prologue.exp: Likewise.
3177 * gdb.arch/i386-size-overlap.exp: Likewise.
3178 * gdb.arch/i386-size.exp: Likewise.
3179 * gdb.arch/i386-unwind.exp: Likewise.
3180 * gdb.reverse/i386-precsave.exp: Likewise.
3181 * gdb.reverse/i386-reverse.exp: Likewise.
3182 * gdb.reverse/i386-sse-reverse.exp: Likewise.
3183 * gdb.reverse/i387-env-reverse.exp: Likewise.
3184 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3185
c91c8c16
PA
31862011-05-24 Pedro Alves <pedro@codesourcery.com>
3187
3188 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
3189 file doesn't error, using MI.
3190
c50491a7
TT
31912011-05-23 Tom Tromey <tromey@redhat.com>
3192
3193 * gdb.base/charset.exp (string_display): Add tests to assign to
3194 arrays.
3195 * gdb.base/charset.c (short_array, int_array, long_array): New.
3196
4a07b7da
PA
31972011-05-20 Pedro Alves <pedro@codesourcery.com>
3198
3199 Cope with async mode.
3200
4a07b7da
PA
3201 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
3202 into gdb_test + mi_expect_stop.
3203
b275f2d2
PA
32042011-05-20 Pedro Alves <pedro@codesourcery.com>
3205
3206 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
3207 (callme): Remove printf call.
3208
eec52c44
PM
32092011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
3210
3211 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
3212 quote pattern to avoid problems with Cygwin/mingw expect versions.
3213 * gdb.base/default.exp (show convenience): Use double
3214 quote pattern for regular expressions.
3215
b3c8eb43
JK
32162011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3217
3218 Fix -readnow for -gdwarf-4 unused type units.
3219 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
3220 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
3221
ed731959
JK
32222011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3223
3224 * gdb.base/kill-after-signal.c: New file.
3225 * gdb.base/kill-after-signal.exp: New file.
3226
3b48433d
PA
32272011-05-16 Pedro Alves <pedro@codesourcery.com>
3228
3229 * gdb.ada/start.exp: Call untested with the correct test filename.
3230 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
3231 test filename. Make the test's binary unique.
3232 * gdb.arch/i386-signal.exp: Call untested with the correct test
3233 filename.
3234 * gdb.arch/i386-size-overlap.exp: Ditto.
3235 * gdb.arch/Makefile.in (EXECUTABLES): Update.
3236 * gdb.base/gcore-buffer-overflow.exp: Ditto.
3237 * gdb.cp/call-c.exp: Ditto.
3238 * gdb.mi/mi-reverse.exp: Call untested with the correct test
3239 filename. Make the test's binary unique.
3240 * gdb.mi/Makefile.in (EXECUTABLES): Update.
3241 * gdb.python/py-mi.exp: Ditto.
3242 * gdb.python/Makefile.in (EXECUTABLES): Update.
3243 * gdb.reverse/i386-precsave.exp: Ditto.
3244 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
3245 test filename.
3246 * gdb.reverse/i387-stack-reverse.exp: Ditto.
3247 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
3248 unique.
3249 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
3250 test filename.
3251 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
3252 * gdb.trace/tfile.exp: Ditto.
3253
ba4a8bdd
YQ
32542011-05-14 Yao Qi <yao@codesourcery.com>
3255
3256 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
3257 type.
3258
dbaefcf7
DE
32592011-05-13 Doug Evans <dje@google.com>
3260
3261 * gdb.python/py-objfile-script.exp: New file.
3262 * gdb.python/py-objfile-script.c: New file.
3263 * gdb.python/py-objfile-script-gdb.py: New file.
3264 * testsuite/gdb.python/py-section-script.exp: Test
3265 "info auto-load-scripts".
3266
9930639c
TT
32672011-05-13 Tom Tromey <tromey@redhat.com>
3268
3269 * gdb.dwarf2/clztest.exp: New file.
3270 * gdb.dwarf2/clztest.c: New file.
3271 * gdb.dwarf2/clztest.S: New file.
3272
05272e11
DE
32732011-05-13 Doug Evans <dje@google.com>
3274
cc63ef9b
DE
3275 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
3276 String16 tests.
05272e11 3277
6edba76f
TT
32782011-05-13 Tom Tromey <tromey@redhat.com>
3279
3280 * lib/gdb.exp (is_x86_like_target): New proc.
3281 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
3282 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
3283 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
3284 -nostdlib to compiler.
3285 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
3286 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
3287 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
3288 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
3289 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
3290
028d0ed5
TJB
32912011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
3292
3293 * gdb.python/py-function.exp: Test setting a value from a function
3294 which executes a command.
3295
8a9b8146
TT
32962011-05-12 Tom Tromey <tromey@redhat.com>
3297
3298 * gdb.dwarf2/typeddwarf.S: New file.
3299 * gdb.dwarf2/typeddwarf.c: New file.
3300 * gdb.dwarf2/typeddwarf.exp: New file.
3301
10483e8e
MP
33022011-05-12 Marek Polacek <mpolacek@redhat.com>
3303
3304 * gdb.mi/mi-basics.exp: Fix races. Honour the
3305 `test_exec_and_symbol_mi_operatons' return value.
3306 (test_mi_interpreter_selection): Use mi_gdb_test instead of
3307 gdb_test_multiple.
3308 (test_exec_and_symbol_mi_operatons): Likewise.
3309 (test_path_specification): Likewise.
3310
faf067f1
JK
33112011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3312
3313 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
3314 (gdb_touch_execfile): Remove catch wrappers. New variable time.
3315 Replace `file copy' and `file rename' by `file mtime'. Twice.
3316
7ff911a3
JK
33172011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3318
3319 * gdb.base/readline-ask.c: New file.
3320 * gdb.base/readline-ask.exp: New file.
3321 * gdb.base/readline-ask.inputrc: New file.
3322
a536c6d7
UW
33232011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
3324
3325 * gdb.cell/bt.exp: Delete breakpoints before running to signal
3326 to avoid race condition.
3327 * gdb.cell/coremaker.c: Use small stack size.
3328 * gdb.cell/ea-standalone.exp: Use file name without path as
3329 argument to c_to.
3330 * gdb.cell/fork.exp: Allow other output when continuing to end.
3331
d472a426
JK
33322011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3333
3334 * gdb.threads/corethreads.c: New file.
3335 * gdb.threads/corethreads.exp: New file.
3336
33372011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
3338
3339 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
3340 Try to compile the test using -Wl,-z,norelro first.
3341 (load_core): New variable libthread_db_seen, initialize it.
3342 (zeroed-threads cannot be listed): Protect it by XFAIL on
3343 !$libthread_db_seen.
3344
8be455d7
JK
33452011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3346
3347 PR 12573
3348 * gdb.dwarf2/dw2-skip-prologue.S: New file.
3349 * gdb.dwarf2/dw2-skip-prologue.c: New file.
3350 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
3351
1976171a
JK
33522011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3353
3354 * gdb.cp/psymtab-parameter.cc: New file.
3355 * gdb.cp/psymtab-parameter.exp: New file.
3356
7db6f30f
JK
33572011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3358
3359 Fix a race.
3360 * gdb.cp/static-print-quit.exp (print c): Split to ...
3361 (print c - <return>, print c - q <return>, print c - to quit):
3362 ... these. Make the testfile untested on gdb-7.1.
3363
85161e9e 33642011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
3365
3366 * lib/gdb.exp (exec_target_file, exec_symbol_file,
3367 gdb_rename_execfile, gdb_touch_execfile): New.
3368 * gdb.base/reread.exp: Use new procs to handle multiple
3369 exec files.
3370
0c51be18
YQ
33712011-05-05 Yao Qi <yao@codesourcery.com>
3372
3373 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
3374 (test_adr_32bit, test_pop_pc): New.
3375 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
3376 (test_adr_32bit, test_pop_pc): New.
3377
4d393d60
JM
33782011-05-04 Joseph Myers <joseph@codesourcery.com>
3379
3380 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
3381 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
3382 targets.
3383 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
3384 handle targets.
3385
8ffd0459
JK
33862011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3387
3388 * gdb.base/completion.exp (complete help info wat): Rename to ...
3389 (complete 'help info wat'): ... here.
3390 Remove all `-re ".*' and `-re "^.*' redundant regexes.
3391 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
3392
8e28d804
PA
33932011-05-04 Pedro Alves <pedro@codesourcery.com>
3394
3395 * gdb.base/completion.exp: Use gdb_test_multiple instead of
3396 gdb_test and explicit $gdb_prompt/timeout matches.
3397
3eb2ef34
YQ
33982011-05-04 Yao Qi <yao@codesourcery.com>
3399
3400 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
3401 and __thumb2__.
3402
aaaf81a3
MP
34032011-05-03 Marek Polacek <mpolacek@redhat.com>
3404
3405 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
3406 in place of `gdb_test "delete breakpoints"'. This eliminates two
3407 testcases.
3408
c4cbc0df
PA
34092011-05-02 Pedro Alves <pedro@codesourcery.com>
3410
3411 PR testsuite/12649
3412 Fix races.
3413
3414 * gdb.base/completion.exp: Remove all sleep calls. Remove
3415 unnecessary regexs. Don't explicitly expect anything after the
3416 prompt. Eat the prompt if necessary.
3417
b4cbb4a3
EBM
34182011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
3419
3420 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
3421 accept to show the caller line again as well as the line after.
3422
d65aec65
PM
34232011-04-29 Phil Muldoon <pmuldoon@redhat.com>
3424
3425 PR mi/12531
3426
3427 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
3428 compile target.
3429 * gdb.python/py-prettyprint.exp: Add C++ object for
3430 CPLUS_FAKE_CHILD test.
3431
30852783
UW
34322011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
3433
3434 * gdb.base/signest.exp: New file.
3435 * gdb.base/signest.c: Likewise.
3436
c7b1f0d9
JK
34372011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3438
3439 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
3440 thread and breakpoint notifications.
3441
559a7a62
JK
34422011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3443
3444 * gdb.base/fortran-sym-case.c: New file.
3445 * gdb.base/fortran-sym-case.exp: New file.
3446 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
3447 * gdb.dwarf2/dw2-case-insensitive.c: New file.
3448 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
3449
8344e389
JK
34502011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3451
3452 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
3453 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
3454 false #1', `if true else false #2' and `if true else false #3'.
3455
2484c66b
UW
34562011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
3457
3458 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
3459 while delivering signal.
3460
8d3788bd
VP
34612011-04-27 Vladimir Prus <vladimir@codesourcery.com>
3462
3463 MI breakpoint notifications.
3464
3465 * testsuite/gdb.mi/mi-cli.exp: Adust.
3466 * testsuite/gdb.mi/mi2-cli.exp: Adust.
3467 * testsuite/gdb.mi/mi-watch.exp: Adust.
3468 * testsuite/gdb.mi/mi2-watch.exp: Adust.
3469 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
3470 notifications.
3471
3e03848b
JK
34722011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3473
3474 * gdb.base/gdbindex-stabs-dwarf.c: New file.
3475 * gdb.base/gdbindex-stabs.c: New file.
3476 * gdb.base/gdbindex-stabs.exp: New file.
3477
918c9108
YQ
34782011-04-25 Yao Qi <yao@codesourcery.com>
3479
3480 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
3481 with /*...*/.
3482 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
3483
90556b8c
JK
34842011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3485
3486 * gdb.python/py-value.exp (test_objfiles): Name the first test
3487 `py-value in file.filename'.
3488
03f2bd59
JK
34892011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3490
3491 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
3492 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
3493 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
3494 !gdbserver_reconnect_p..
3495 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
3496
7b08b9eb
JK
34972011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3498
3499 * gdb.cp/cpcompletion.exp (complete class methods)
3500 (complete class methods beginning with F): Move them above runto. New
3501 comment about the runto delimiter.
3502
b78974c3
PA
35032011-04-20 Pedro Alves <pedro@codesourcery.com>
3504
3505 * gdb.base/maint.exp: Test that "maint print registers" works
3506 without a running program.
3507
20429c40 35082011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 3509
20429c40
MP
3510 * gdb.base/setshow.exp: Fix racy tests.
3511 ($old_gdb_prompt): New variable.
3512
7a9dd1b2
TT
35132011-04-19 Tom Tromey <tromey@redhat.com>
3514
3515 * gdb.mi/mi-nsmoribund.exp:
3516 * gdb.hp/gdb.objdbg/objdbg01.exp:
3517 * gdb.base/structs.exp (test_struct_returns):
3518 * gdb.base/call-sc.exp (test_scalar_returns):
3519 * gdb.base/bigcore.exp: Remove duplicate words.
3520
02835898
JK
35212011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3522
3523 * gdb.base/break-interp-lib.c (v, vptr): New variables.
3524 * gdb.base/break-interp.exp (test_attach): New comment.
3525
254f582e
JK
35262011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3527
3528 * gdb.threads/gcore-thread.exp ($core0file): New variable.
3529 (clear __stack_user.next, clear stack_used.next)
3530 (save a zeroed-threads corefile): New test.
3531 Call core_load for $core0file.
3532 (zeroed-threads cannot be listed): New test.
3533
4fe85f5c
JK
35342011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3535
3536 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
3537 filename.
3538 ($srcfile): Preserve the original value.
3539 ($testfile): Match it the .exp filename.
3540 ($corefile): New variable. Substitute it around.
3541 Use clean_restart.
3542 ($prev_timeout): Remove.
3543 (load_core): Move core loading into this proc.
3544 Fix restore of $timeout if load_core fails.
3545
63524580
JK
35462011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3547
3548 * gdb.base/eu-strip-infcall.c: New file.
3549 * gdb.base/eu-strip-infcall.exp: New file.
3550
90359a16
JK
35512011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3552
3553 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
3554 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
3555
626e7282
JK
35562011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3557
3558 Fix Python access to inlined frames.
3559 * gdb.python/py-frame-inline.c: New file.
3560 * gdb.python/py-frame-inline.exp: New file.
3561
3363d018
EBM
35622011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
3563
3564 * gdb.base/gdb1090.exp: Change breakpoint location to read the
3565 content of 's24' correctly (avoiding "optimized out").
3566 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
3567
28781456
JK
35682011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3569
3570 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
3571
4a4106ca
TJB
35722011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
3573
3574 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
3575 expect a colon in watch -location output.
3576
d26ccb4f
JK
35772011-04-13 Marek Polacek <mpolacek@redhat.com>
3578
df46027d 3579 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
3580 New testcase `expect response to define backtrace'. Also remove
3581 redundant `default' block.
3582
e1ab1f9c
JK
35832011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3584
3585 * gdb.python/py-prettyprint.c (struct hint_error): New.
3586 (main): New variable hint_error.
3587 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
3588 "print hint_error".
3589 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
3590 (register_pretty_printers): Register it.
3591
0c2e6019
TT
35922011-04-04 Tom Tromey <tromey@redhat.com>
3593
3594 * gdb.cp/maint.exp (test_help): Update.
3595 (test_namespace): Likewise.
3596
af57139d
JB
35972011-04-01 Joel Brobecker <brobecker@adacore.com>
3598
3599 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
3600 * gdb.ada/arrayptr.exp: Add new tests.
3601
956a9fb9
JB
36022011-04-01 Joel Brobecker <brobecker@adacore.com>
3603
3604 * gdb.ada/mi_catch_ex: New testcase.
3605
d0c4d642
PA
36062011-04-01 Pedro Alves <pedro@codesourcery.com>
3607
3608 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
3609 base::overload(void) method without specifying "const".
3610
18819fa6
UW
36112011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3612
3613 * gdb.arch/thumb-singlestep.S: New file.
3614 * gdb.arch/thumb-singlestep.exp: Likewise.
3615
a4c8e806
TT
36162011-03-31 Tom Tromey <tromey@redhat.com>
3617
3618 * gdb.python/py-prettyprint.py (exception_flag): New global.
3619 (NoStringContainerPrinter._iterator.next): Check it.
3620 * gdb.python/py-prettyprint.c (main): New variable nstype2.
3621 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
3622
53832f31
TT
36232011-03-29 Tom Tromey <tromey@redhat.com>
3624
3625 * gdb.cp/anon-struct.cc: New file.
3626 * gdb.cp/anon-struct.exp: New file.
3627
e4620230
JK
36282011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3629
3630 Test STT_GNU_IFUNC support.
3631 * gdb.base/gnu-ifunc-lib.c: New file.
3632 * gdb.base/gnu-ifunc.c: New file.
3633 * gdb.base/gnu-ifunc.exp: New file.
3634
d0fb5eae
JK
36352011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3636
3637 Support a ring of related breakpoints.
3638 * gdb.base/watchpoint-delete.c: New file.
3639 * gdb.base/watchpoint-delete.exp: New file.
3640
20106cfb
JK
36412011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3642
3643 * gdb.ada/arrayparam.exp (print first after function call): Use
3644 explicit package name. Add a comment
3645 (print lasta after function call): Rename ...
3646 (print last after function call): ... it and use explicit package
3647 name.
3648 (print length after function call): Use explicit package name.
3649 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
3650 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
3651 (multiple matches for symbol i): Rename ...
3652 (multiple matches for symbol integervar): ... it.
3653 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
3654 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
3655
e7ab5e63
AB
36562011-03-25 Andrew Burgess <aburgess@broadcom.com>
3657
3658 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
3659 environment variable to make grep output more predictable. Move
3660 all the environment setup into gdb_init so it's done once per test
3661 case rather than each time we start gdb.
3662
9ef07c8c
TT
36632011-03-24 Tom Tromey <tromey@redhat.com>
3664
3665 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
3666 test.
3667
dd90784c
JK
36682011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3669
3670 * gdb.dwarf2/dw2-entry-value-main.c: New file.
3671 * gdb.dwarf2/dw2-entry-value.S: New file.
3672 * gdb.dwarf2/dw2-entry-value.exp: New file.
3673
05775840
PM
36742011-03-22 Phil Muldoon <pmuldoon@redhat.com>
3675
3676 PR python/12183
3677
3678 * gdb.python/py-function.exp: Add GdbError tests.
3679
8661b11b
PA
36802011-03-18 Pedro Alves <pedro@codesourcery.com>
3681
3682 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
3683 (reglocal_test_func, statlocal_test_func): New functions.
3684 (globals_test_func): Call new functions.
3685 * gdb.trace/unavailable.exp (gdb_collect_args_test)
3686 (gdb_collect_locals_test): New procedure.
3687 (gdb_trace_collection_test): Call new procedures.
3688
0fdb4f18
PA
36892011-03-18 Pedro Alves <pedro@codesourcery.com>
3690
3691 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
3692 (test_register, test_register_unavailable): New procedures.
3693 (gdb_unavailable_registers_test): New procedure.
3694 (gdb_trace_collection_test): Call it.
3695
99c3dc11
PM
36962011-03-18 Phil Muldoon <pmuldoon@redhat.com>
3697
3698 PR python/12149
3699
3700 * gdb.python/python.exp: Add gdb.write tests.
3701
29703da4
PM
37022010-03-17 Phil Muldoon <pmuldoon@redhat.com>
3703
3704 * gdb.python/Makefile.in: Add py-objfile.
3705 * gdb.python/py-objfile.exp: New file.
3706 * gdb.python/py-objfile.c: New file.
3707 * gdb.python/py-block.exp: Add is_valid tests.
3708 * gdb.python/py-inferior.exp: Ditto.
3709 * gdb.python/py-infthread.exp: Ditto.
3710 * gdb.python/py-symbol.exp: Ditto.
3711 * gdb.python/py-symtab.exp: Ditto.
3712
598997c8
KS
37132011-03-16 Keith Seitz <keiths@redhat.com>
3714
3715 PR c++/12273
3716 * gdb.cp/cmpd-minsyms.exp: New test.
3717 * gdb.cp/cmpd-minsyms.cc: New file.
3718
3719 PR c++/11734
3720 * gdb.cp/ovsrch.exp: New test.
3721 * gdb.cp/ovsrch.h: New file.
3722 * gdb.cp/ovsrch1.cc: New file.
3723 * gdb.cp/ovsrch2.cc: New file.
3724 * gdb.cp/ovsrch3.cc: New file.
3725 * gdb.cp/ovsrch4.cc: New file.
3726
c91513d8
PP
37272011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3728
3729 PR gdb/12528
3730 * gdb.base/Makefile.in: Adjust EXECUTABLES.
3731 * gdb.base/break-on-linker-gcd-function.exp: New test.
3732 * gdb.base/break-on-linker-gcd-function.cc: New file.
3733
7470fc63
AT
37342011-03-15 Andreas Tobler <andreast@fgznet.ch>
3735
3736 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
3737
959e7469
PM
37382011-03-15 Phil Muldoon <pmuldoon@redhat.com>
3739
3740 * lib/gdb.exp (gdb_unload): Add another termination case.
3741
9373cf26
JK
37422011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3743
3744 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
3745 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
3746 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
3747 Provide a stub byte there.
3748 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
3749 DW_AT_entry_pc.
3750 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
3751
24e9cda0
UW
37522011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
3753
3754 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
3755 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
3756 "generic ABI, auto".
3757 (altivec_abi_tests): Accept vectors returned by reference.
3758
7371cf6d
PM
37592010-03-14 Phil Muldoon <pmuldoon@redhat.com>
3760
3761 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
3762
ce77046a
UW
37632011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
3764
3765 * gdb.python/py-section-script.exp: Skip test if no Python support.
3766
176400c3
UW
37672011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
3768
3769 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
3770
ecec24e6
PM
37712011-03-10 Phil Muldoon <pmuldoon@redhat.com>
3772
3773 * gdb.python/py-parameter.exp: Update tests to the new Python
3774 parameter API. Add "no documentation" test. Add deprecated API
3775 backward compatibility test.
3776
5dbdd470
TT
37772011-03-09 Tom Tromey <tromey@redhat.com>
3778
3779 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
3780 gdb_continue_to_end.
3781
b66e66ee
MK
37822011-03-09 Mark Kettenis <kettenis@gnu.org>
3783
3784 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
3785 tabs.
3786
eceb0c5f
TT
37872011-03-09 Tom Tromey <tromey@redhat.com>
3788
3789 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
3790 parentheses.
3791 (gdb_continue_to_end): Add "allow_extra" parameter. Use
3792 $command.
3793 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
3794 argument to gdb_continue_to_end.
3795 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
3796 argument to gdb_continue_to_end.
3797 * gdb.cp/annota3.exp: Fix regex.
3798 * gdb.cp/annota2.exp: Fix regex.
3799 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
3800 gdb_continue_to_end.
3801 * gdb.base/call-signal-resume.exp: Revert earlier patch.
3802 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
3803 gdb_continue_to_end.
3804
63154eca
PA
38052011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3806
3807 * gdb.server/ext-run.exp
3808 (load new file without any gdbserver inferior): New test.
3809
967d1f9b
TT
38102011-03-07 Tom Tromey <tromey@redhat.com>
3811
3812 * Makefile.in (TAGS): Rewrite.
3813
d68dcbb9
JK
38142011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3815
3816 * gdb.trace/report.exp (12.1: trace report #1): New match for the
3817 initial commands echo. New match for `Found trace'. Anchor all the
3818 other matches. Anchor and match for `No trace frame found' the final
3819 match.
3820
6bf58e63
TT
38212011-03-07 Tom Tromey <tromey@redhat.com>
3822
3823 * Makefile.in (TAGS): New target.
3824
fda326dd
TT
38252011-03-07 Tom Tromey <tromey@redhat.com>
3826
3827 * lib/opencl.exp (skip_opencl_tests): Update for exit message
3828 change.
3829 * lib/mi-support.exp (mi_gdb_test): Update for exit message
3830 change.
3831 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
3832 exit message change.
3833 (skip_altivec_tests): Update for exit message change.
3834 (skip_vsx_tests): Likewise.
3835 (gdb_continue_to_end): Likewise. Add 'command' argument.
3836 * lib/cell.exp (skip_cell_tests): Update for exit message change.
3837 * gdb.threads/tls.exp: Update for exit message change.
3838 * gdb.threads/thread-unwindonsignal.exp: Use
3839 gdb_continue_to_end.
3840 * gdb.threads/step.exp (step_it): Update for exit message change.
3841 (continue_all): Likewise.
3842 * gdb.threads/print-threads.exp (test_all_threads): Update for
3843 exit message change.
3844 * gdb.threads/interrupted-hand-call.exp: Use
3845 gdb_continue_to_end.
3846 * gdb.threads/execl.exp: Use gdb_continue_to_end.
3847 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
3848 gdb_continue_to_end.
3849 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
3850 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
3851 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
3852 * gdb.cp/method.exp: Update for exit message change.
3853 * gdb.cp/mb-templates.exp: Update for exit message change.
3854 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
3855 * gdb.cp/annota3.exp: Update for exit message change.
3856 * gdb.cp/annota2.exp: Update for exit message change.
3857 * gdb.cell/fork.exp: Use gdb_continue_to_end.
3858 * gdb.base/term.exp: Update for exit message change.
3859 * gdb.base/step-test.exp (test_i): Update for exit message change.
3860 * gdb.base/sigstep.exp (advance): Update for exit message change.
3861 (advancei): Likewise.
3862 * gdb.base/siginfo.exp: Update for exit message change.
3863 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
3864 * gdb.base/reread.exp: Use gdb_continue_to_end.
3865 * gdb.base/langs.exp: Use gdb_continue_to_end.
3866 * gdb.base/interrupt.exp: Update for exit message change.
3867 * gdb.base/gdb1555.exp: Update for exit message change.
3868 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
3869 * gdb.base/ending-run.exp: Update for exit message change.
3870 * gdb.base/chng-syms.exp: Update for exit message change.
3871 * gdb.base/checkpoint.exp: Update for exit message change.
3872 * gdb.base/catch-syscall.exp (check_for_program_end): Use
3873 gdb_continue_to_end.
3874 (test_catch_syscall_with_wrong_args): Likewise.
3875 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
3876 * gdb.base/break-interp.exp (test_ld): Update for exit message
3877 change.
3878 * gdb.base/bang.exp: Update for exit message change.
3879 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
3880 (do_call_attach_tests): Likewise.
3881 * gdb.base/a2-run.exp: Update for exit message change.
3882 * gdb.arch/ppc-dfp.exp: Update for exit message change.
3883 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
3884 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
3885
dd19bd70
JK
38862011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3887
3888 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
3889
30e62689
TT
38902011-03-03 Tom Tromey <tromey@redhat.com>
3891
3892 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
3893 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
3894 * gdb.hp/gdb.aCC/configure.ac: Remove.
3895 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
3896 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
3897 * gdb.hp/gdb.base-hp/configure.ac: Remove.
3898 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
3899 * gdb.hp/gdb.compat/configure (Makefile): Remove.
3900 * gdb.hp/gdb.compat/configure.ac: Remove.
3901 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
3902 * gdb.hp/gdb.defects/configure (Makefile): Remove.
3903 * gdb.hp/gdb.defects/configure.ac: Remove.
3904 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
3905 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
3906 * gdb.hp/gdb.objdbg/configure.ac: Remove.
3907 * gdb.hp/configure.ac: Remove.
3908 * gdb.hp/configure: Remove.
3909 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
3910 substitution.
3911 (Makefile): Remove rule.
3912 * gdb.cell/configure.ac: Remove.
3913 * gdb.cell/configure: Remove.
3914 * gdb.stabs/Makefile.in (Makefile): Remove.
3915 (distclean): Don't remove config.status or config.log.
3916 * gdb.stabs/configure (Makefile): Remove.
3917 * gdb.stabs/configure.ac: Remove.
3918 * configure: Rebuild.
3919 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
3920 Remove stabs- and cell-specific logic. Test for existence of
3921 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
3922 subdirectories, gdb.cell, and and gdb.stabs.
3923 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
3924
c171f854
JB
39252011-03-03 Joel Brobecker <brobecker@adacore.com>
3926
3927 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
3928 end of buffer.
3929
9a5193cb
JB
39302011-03-02 Joel Brobecker <brobecker@adacore.com>
3931
3932 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
3933 gdb_test when running a test where we expected no output back.
3934
9bb4c1bb
MS
39352011-02-28 Michael Snyder <msnyder@vmware.com>
3936
3937 * gdb.cp/overload.cc: Change initializer value to integer.
3938
3bd0f5ef
MS
39392011-02-27 Michael Snyder <msnyder@vmware.com>
3940
3941 * gdb.multi/base.exp: Add test for remove-inferiors.
3942
2279eaad
JB
39432011-02-26 Joel Brobecker <brobecker@adacore.com>
3944
3945 * gdb.python/py-frame.exp: Simplify the initialization phase
3946 using prepare_for_testing.
3947
c82c0b55
MS
39482011-02-25 Michael Snyder <msnyder@vmware.com>
3949
3950 * gdb.multi/base.exp: Add tests for info inferiors with args.
3951
1d94651b
JK
39522011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3953
3954 * gdb.dwarf2/dw2-ranges.S: Rename to ...
3955 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
3956 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
3957 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
3958 asmfile3. Comment the STABS (#3) file compilation. Compile
3959 everything through assembler. Provide KFAIL for symtab/12497.
3960 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
3961 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
3962 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
3963 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
3964
3bd0f5ef
MS
39652011-02-24 Michael Snyder <msnyder@vmware.com>
3966
3967 * gdb.base/break.exp: Add tests for delete breakpoints using
3968 convenience variables and value history references.
3969
12c1418e
MS
39702011-02-24 Michael Snyder <msnyder@vmware.com>
3971
3972 * gdb.base/break.exp: Remove debugging 'printf' accidentally
3973 left behind in previous check-in.
3974
e5a67952
MS
39752011-02-23 Michael Snyder <msnyder@vmware.com>
3976
3977 * gdb.base/break.exp: Add tests for "info break" with arguments.
3978 * gdb.trace/infotrace.exp: Update patterns for error and help.
3979 * gdb.base/completion.exp: Update pattern.
3980 * gdb.base/ena-dis-br.exp: Update pattern.
3981 * gdb.base/help.exp: Update patterns.
3982
39832011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
3984
3985 * gdb.base/memattr.exp: New test.
3986 * gdb.base/memattr.c: Test load for memattr.exp.
3987
6e6fbe60
DE
39882011-02-22 Doug Evans <dje@google.com>
3989
3990 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
3991
1d41d745
MS
39922011-02-22 Michael Snyder <msnyder@vmware.com>
3993
3994 * Makefile.in: Make more clean.
3995 * gdb.ada/Makefile.in: Ditto.
3996 * gdb.arch/Makefile.in: Ditto.
3997 * gdb.asm/Makefile.in: Ditto.
3998 * gdb.base/Makefile.in: Ditto.
3999 * gdb.cp/Makefile.in: Ditto.
4000 * gdb.dwarf2/Makefile.in: Ditto.
4001 * gdb.java/Makefile.in: Ditto.
4002 * gdb.mi/Makefile.in: Ditto.
4003 * gdb.modula2/Makefile.in: Ditto.
4004 * gdb.python/Makefile.in: Ditto.
4005 * gdb.server/Makefile.in: Ditto.
4006 * gdb.stabs/Makefile.in: Ditto.
4007 * gdb.threads/Makefile.in: Ditto.
4008 * gdb.trace/Makefile.in: Ditto.
4009
79ba84ca
MS
40102011-02-22 Michael Snyder <msnyder@vmware.com>
4011
df46027d 4012 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
4013 info threads.
4014
b9b35694
JB
40152011-02-22 Joel Brobecker <brobecker@adacore.com>
4016
4017 * gdb.python/py-breakpoint.exp: Fix the expected output of
4018 one of the "maint info breakpoints" tests to accept the output
4019 generated on platforms that do not have hardware watchpoints.
4020
8bfb830f
JB
40212011-02-22 Joel Brobecker <brobecker@adacore.com>
4022
4023 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
4024 clean_restart. Be a little stricter in the expected output
4025 for one of the tests. Fix a typo in one of the comments.
4026
c45f3c54
JB
40272011-02-22 Joel Brobecker <brobecker@adacore.com>
4028
4029 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
4030 Delete variable binfile, no longer use. Add or modify test
4031 comments to make them unique.
4032
b97c863c
MS
40332011-02-21 Michael Snyder <msnyder@vmware.com>
4034
4035 * Makefile.in: Update for make clean.
4036 * gdb.ada/Makefile.in: Ditto.
4037 * gdb.arch/Makefile.in: Ditto.
4038 * gdb.asm/Makefile.in: Ditto.
4039 * gdb.base/Makefile.in: Ditto.
4040 * gdb.cp/Makefile.in: Ditto.
4041 * gdb.dwarf2/Makefile.in: Ditto.
4042 * gdb.java/Makefile.in: Ditto.
4043 * gdb.mi/Makefile.in: Ditto.
4044 * gdb.modula2/Makefile.in: Ditto.
4045 * gdb.python/Makefile.in: Ditto.
4046 * gdb.server/Makefile.in: Ditto.
4047 * gdb.stabs/Makefile.in: Ditto.
4048 * gdb.threads/Makefile.in: Ditto.
4049 * gdb.trace/Makefile.in: Ditto.
4050
aea5b279
MS
40512011-02-21 Michael Snyder <msnyder@vmware.com>
4052
4053 * gdb.threads/thread-find.exp: Update patterns for changes in
4054 output of "info threads" command.
4055
e3039479
UW
40562011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
4057 Ulrich Weigand <uweigand@de.ibm.com>
4058
4059 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
4060 (skip_hw_watchpoint_tests): Likewise.
4061 (skip_hw_watchpoint_multi_tests): Likewise.
4062
b800ec70
UW
40632011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
4064
4065 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
4066 (skip_hw_watchpoint_tests): Likewise.
4067 (skip_hw_watchpoint_multi_tests): Likewise.
4068 (skip_hw_watchpoint_access_tests): Likewise.
4069
4070 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
4071 * gdb.base/pr11022.exp: Likewise.
4072 * gdb.base/watch-read.exp: Likewise.
4073 * gdb.base/watch_thread_num.exp: Likewise.
4074 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
4075 * gdb.base/watchpoint-hw.exp: Likewise.
4076 * gdb.base/watchpoint.exp: Likewise.
4077 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
4078 * gdb.threads/watchthreads-reorder.exp: Likewise.
4079 * gdb.threads/watchthreads.exp: Likewise.
4080 * gdb.threads/watchthreads2.exp: Likewise.
4081
91033e37
JB
40822011-02-21 Joel Brobecker <brobecker@adacore.com>
4083
4084 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
4085 the debugger is unable to find the array bounds.
4086
eeaafae2
JK
40872011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4088
4089 * gdb.cp/typedef-operator.exp: New file.
4090 * gdb.cp/typedef-operator.cc: New file.
4091
e338d953
MS
40922011-02-17 Michael Snyder <msnyder@vmware.com>
4093
4094 * gdb.threads/thread-find.exp: Fix regular expressions.
4095
e67ad678
JB
40962011-02-17 Joel Brobecker <brobecker@adacore.com>
4097
4098 * gdb.ada/packed_array: Expand testcase to test printing of
4099 unconstrained packed array.
4100
93084bca
JB
41012011-02-17 Joel Brobecker <brobecker@adacore.com>
4102
4103 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
4104
a0c78a73
PA
41052011-02-16 Pedro Alves <pedro@codesourcery.com>
4106
f65d5553 4107 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
4108 (main): Initialize it before collecting, and and clear it
4109 afterwards.
f65d5553
PA
4110 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
4111 collecting with '{type} addr', where the addr expression is not an
4112 rvalue.
a0c78a73 4113
3dfcbbd2
KW
41142011-02-16 Ken Werner <ken.werner@de.ibm.com>
4115
4116 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
4117 a bool variable. Expect correct OpenCL names for vector types. Use the
4118 uc3 variable name instead of referring to the uchar3 built-in type.
4119 Escape the asterisk at the half pointer test.
4120
08807d5a
PA
41212011-02-16 Pedro Alves <pedro@codesourcery.com>
4122
f65d5553 4123 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
4124 (main): Initialize it before collecting, and and clear it
4125 afterwards.
f65d5553
PA
4126 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
4127 collecting overlapping memory ranges.
08807d5a 4128
60f98dde
MS
41292011-02-15 Michael Snyder <msnyder@vmware.com>
4130
4131 * gdb.base/default.exp: Add tests for thread commands.
4132 * gdb.base/help.exp: Add tests for thread commands.
4133 * gdb.threads/thread-find.exp: New test for thread find command.
4134
648cd113
KW
41352011-02-15 Ken Werner <ken.werner@de.ibm.com>
4136
4137 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
4138
494e194e
YQ
41392011-02-15 Yao Qi <yao@codesourcery.com>
4140
4141 PR tdep/12352
4142 * gdb.arch/arm-disp-step.S : New test for str instruction.
4143 * gdb.arch/arm-disp-step.exp : Likewise.
4144
d9492458
TJB
41452011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
4146
4147 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
4148 "vector_register2_vr" test strings. Test the extended floating
4149 point registers (F32~F63).
4150 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
4151 IBM XL C compiler. Make the test program use a register provided
4152 by the compiler for the lxvd2x instruction.
4153
8af8e3bc
PA
41542011-02-14 Pedro Alves <pedro@codesourcery.com>
4155
4156 * gdb.trace/unavailable.cc (class Base, class Middle, class
4157 Derived): New types.
4158 (derived_unavail, derived_partial, derived_whole): New globals.
4159 (virtual_partial): New global.
4160 (virtualp): Point at virtual_partial.
4161 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
4162 related to unavailable vptr.
4163
1b28d0b3
PA
41642011-02-14 Pedro Alves <pedro@codesourcery.com>
4165
4166 * gdb.trace/unavailable.cc (a, b, c): New globals.
4167 (main): Set and clear them.
4168 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
4169 `a' and `c', and check that `b' isn't collected, although `a' and
4170 `c' are.
4171
ec0a52e1
PA
41722011-02-14 Pedro Alves <pedro@codesourcery.com>
4173
4174 * gdb.trace/unavailable.cc (struct Virtual): New.
4175 (virtualp): New global pointer.
4176 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
4177 printing a pointer to an object whose type has a vtable, with
4178 print object on.
4179
24e6bcee
PA
41802011-02-14 Pedro Alves <pedro@codesourcery.com>
4181
4182 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
4183 value repeat handles unavailableness.
4184
39d37385
PA
41852011-02-14 Pedro Alves <pedro@codesourcery.com>
4186
4187 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
4188 tests for building arrays from unavailable values, subscripting
4189 non-memory rvalue unvailable arrays, and accessing fields or
4190 baseclasses of non-lazy unavailable values,
4191 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
4192 struct types.
4193 (g_smallstruct, g_smallstruct_b): New globals.
4194
06d72e16
PA
41952011-02-14 Pedro Alves <pedro@codesourcery.com>
4196
4197 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
4198
bc9a5551
JK
41992011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4200
4201 Fix const/volatile qualifiers of C++ types, PR c++/12328.
4202 * gdb.cp/overload-const.exp: New file.
4203 * gdb.cp/overload-const.cc: New file.
4204
54fcddd0
UW
42052011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
4206
4207 * gdb.opencl/callfuncs.cl: New file.
4208 * gdb.opencl/callfuncs.exp: New test.
4209 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
4210
d6dafb7c
UW
42112011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
4212
4213 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
4214 when computing result.
4215 * gdb.arch/altivec-abi.exp: Update expected results.
4216
a449c2d8
TJB
42172011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
4218
4219 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
4220 * gdb.base/jit.exp: Likewise.
4221 * gdb.base/pie-execl.exp: Likewise.
4222 * gdb.base/solib-nodir.exp: Likewise.
4223 * gdb.base/solib-overlap.exp: Likewise.
4224
764880b7
PA
42252011-02-07 Pedro Alves <pedro@codesourcery.com>
4226
4227 * gdb.trace/collection.c (global_pieces): New.
4228 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
4229 New procedure.
4230 (gdb_trace_collection_test): Call it.
4231
505500db
SW
42322011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
4233
4234 * gdb.python/py-evthreads.c: New file.
4235 * gdb.python/py-evthreads.exp: New file.
4236 * gdb.python/py-events.py: New file.
4237 * gdb.python/py-events.exp: New file.
4238 * gdb.python/py-events.c: New file.
4239
385203ed
DD
42402011-02-04 David Daney <ddaney@caviumnetworks.com>
4241
4242 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
4243
9011945e
AB
42442011-02-03 Andrew Burgess <aburgess@broadcom.com>
4245
4246 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
4247 gdb.base/disasm-end-cu.exp: New test for disassembling over the
4248 boundary between two compilation units.
4249
580688f3
PA
42502011-02-02 Pedro Alves <pedro@codesourcery.com>
4251
4252 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
4253 (Virtual): New structs.
4254 (virtual_o, virtual_middle_b): New globals.
4255 * gdb.cp/virtbase.exp: New tests.
4256
d3f0f853
PP
42572011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4258
4259 * gdb.base/jit.exp: New file.
4260 * gdb.base/jit-main.c: New file.
4261 * gdb.base/jit-solib.c: New file.
4262
b2030fb5
UW
42632011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
4264
4265 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
4266 proceed to initial kernel entry point.
4267 * gdb.opencl/datatypes.exp: Likewise.
4268 * gdb.opencl/operators.exp: Likewise.
4269 * gdb.opencl/vec_comps.exp: Likewise.
4270
2db19d1e
SW
42712011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
4272
4273 * gdb.cp/nsnested.cc: New.
4274 * gdb.cp/nsnested.exp: New.
4275 * gdb.cp/nsnoimports.exp: New.
4276 * gdb.cp/nsnoimports.cc: New.
4277
6b0c4c1f
JB
42782011-01-31 Joel Brobecker <brobecker@adacore.com>
4279
4280 * gdb.base/interact.exp: Add extra tests that verify that
4281 the value of the interactive-mode setting does not change
4282 after the script is sourced.
4283
80b23b6a
JK
42842011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4285
4286 * gdb.cp/noparam.exp: New file.
4287 * gdb.cp/noparam.cc: New file.
4288
ffd5ec24
PA
42892011-01-28 Pedro Alves <pedro@codesourcery.com>
4290
4291 * gdb.trace/tfile.exp: Test that with no traceframe selected,
4292 there's no stack or registers.
4293
a81766d8
TT
42942011-01-26 Tom Tromey <tromey@redhat.com>
4295
4296 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
4297 space before string output. Add test for "set print pretty off"
4298 case.
4299
585fdaa1
PA
43002011-01-25 Pedro Alves <pedro@codesourcery.com>
4301
4302 * gdb.base/frame-args.exp: Adjust.
4303 * gdb.dwarf2/dw2-noloc.exp: Adjust.
4304 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
4305 * gdb.dwarf2/pieces.exp: Adjust.
4306 * gdb.opt/clobbered-registers-O2.exp: Adjust.
4307 * gdb.opt/inline-locals.exp: Adjust.
4308 * gdb.threads/fork-child-threads.exp: Adjust.
4309
d468832a
KW
43102011-01-25 Ken Werner <ken.werner@de.ibm.com>
4311
4312 * gdb.opencl/convs_casts.cl: Move program scope variables into the
4313 OpenCL kernel function. Add a comment as marker. Add address space
4314 qualifiers for the remaining program scope variables.
4315 * gdb.opencl/datatypes.cl: Likewise.
4316 * gdb.opencl/operators.cl: Likewise.
4317 * gdb.opencl/vec_comps.cl: Likewise.
4318 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
4319 Add breakpoint at the marker comment.
4320 * gdb.opencl/datatypes.exp: Likewise.
4321 * gdb.opencl/operators.exp: Likewise.
4322 * gdb.opencl/vec_comps.exp: Likewise.
4323
490f124f
PA
43242011-01-24 Pedro Alves <pedro@codesourcery.com>
4325
4326 * gdb.base/printcmds.c (some_struct): New struct and instance.
4327 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
4328 procedure.
4329 <global scope>: Call it.
4330
6da78614
KW
43312011-01-21 Ken Werner <ken.werner@de.ibm.com>
4332
4333 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
4334 argument to the gdb_compile_opencl_hostapp call.
4335
ec64c9aa
YQ
43362011-01-19 Yao Qi <yao@codesourcery.com>
4337
4338 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
4339 positve list.
4340
810cfdbb
YQ
43412011-01-19 Yao Qi <yao@codesourcery.com>
4342
4343 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
4344 canonical form.
4345 Remove "xscale-*-*"
4346 * gdb.xml/tdesc-regs.exp: Likewise.
4347 * gdb.python/py-section-script.exp: Replace ARM target triplet
4348 with canonical form.
4349 Match arm*-*-symbianelf*.
4350 * gdb.base/dup-sect.exp: Likewise.
4351 * lib/dwarf.exp: New.
4352 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
4353 dwarf2_support.
4354 * gdb.dwarf2/dup-psym.exp: Likewise.
4355 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
4356 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4357 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
4358 * gdb.dwarf2/dw2-basic.exp: Likewise.
4359 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4360 * gdb.dwarf2/dw2-const.exp: Likewise.
4361 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
4362 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
4363 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4364 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
4365 * gdb.dwarf2/dw2-filename.exp: Likewise.
4366 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4367 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
4368 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4369 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4370 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
4371 * gdb.dwarf2/dw2-noloc.exp: Likewise.
4372 * gdb.dwarf2/dw2-op-call.exp: Likewise.
4373 * gdb.dwarf2/dw2-producer.exp: Likewise.
4374 * gdb.dwarf2/dw2-ranges.exp: Likewise.
4375 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
4376 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
4377 * gdb.dwarf2/dw2-strp.exp: Likewise.
4378 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
4379 * gdb.dwarf2/implptr.exp: Likewise.
4380 * gdb.dwarf2/mac-fileno.exp: Likewise.
4381 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
4382 * gdb.dwarf2/pieces.exp: Likewise.
4383 * gdb.dwarf2/pr11465.exp: Likewise.
4384 * gdb.dwarf2/valop.exp: Likewise.
4385 * gdb.dwarf2/watch-notconst.exp: Likewise.
4386 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
4387
4694da01
TT
43882011-01-19 Tom Tromey <tromey@redhat.com>
4389
4390 * gdb.python/py-infthread.exp: Add thread tests.
4391
b075872c
JB
43922011-01-14 Joel Brobecker <brobecker@adacore.com>
4393
4394 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
4395
2c3e6e24
JB
43962011-01-14 Joel Brobecker <brobecker@adacore.com>
4397
4398 * gdb.ada/widewide: New testcase.
4399
de8fa76c
JB
44002011-01-13 Joel Brobecker <brobecker@adacore.com>
4401
4402 * gdb.base/interact.exp: New testcase.
4403
1b05df00
TT
44042011-01-12 Tom Tromey <tromey@redhat.com>
4405
4406 * gdb.mi/gdb2549.exp: Update for error message changes.
4407 * gdb.mi/mi-cli.exp: Likewise.
4408 * gdb.mi/mi-disassemble.exp: Likewise.
4409 * gdb.mi/mi-pthreads.exp: Likewise.
4410 * gdb.mi/mi-regs.exp: Likewise.
4411 * gdb.mi/mi-stack.exp: Likewise.
4412 * gdb.mi/mi-var-block.exp: Likewise.
4413 * gdb.mi/mi-var-cmd.exp: Likewise.
4414 * gdb.mi/mi2-cli.exp: Likewise.
4415 * gdb.mi/mi2-disassemble.exp: Likewise.
4416 * gdb.mi/mi2-pthreads.exp: Likewise.
4417 * gdb.mi/mi2-regs.exp: Likewise.
4418 * gdb.mi/mi2-stack.exp: Likewise.
4419 * gdb.mi/mi2-var-block.exp: Likewise.
4420 * gdb.mi/mi2-var-cmd.exp: Likewise.
4421
c2ff108b
JK
44222011-01-12 Andrew Burgess <aburgess@broadcom.com>
4423 Jan Kratochvil <jan.kratochvil@redhat.com>
4424
4425 PR fortran/11104 and DWARF unbound arrays detection.
4426 * gdb.fortran/multi-dim.exp: New file.
4427 * gdb.fortran/multi-dim.f90: New file.
4428
b716877b
AB
44292011-01-12 Andrew Burgess <aburgess@broadcom.com>
4430
4431 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
4432 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
4433 add new tests for opcode dumping.
4434
6c162d5e
TT
44352011-01-11 Tom Tromey <tromey@redhat.com>
4436
4437 * gdb.python/py-infthread.exp: Load gdb-python.exp.
4438
77b06cd7
TJB
44392010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
4440
4441 Convert hardware watchpoints to use breakpoint_ops.
4442 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
4443 type is not supported.
4444 * gdb.base/foll-fork.exp: Likewise.
4445 * gdb.base/foll-vfork.exp: Likewise.
4446
f39a75d0
PM
44472011-01-10 Phil Muldoon <pmuldoon@redhat.com>
4448
4449 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
4450 Use load_lib gdb-python.exp.
4451 * gdb.python/python.exp: Ditto.
4452 * gdb.python/py-function.exp: Ditto.
4453
fc529d80
AS
44542011-01-09 Andreas Schwab <schwab@linux-m68k.org>
4455
4456 * gdb.threads/tls.exp ("info address me"): Fix expected output.
4457
fb03cb59
JK
44582011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4459
4460 * configure: Regenerate.
4461
d8e22779
TT
44622011-01-06 Tom Tromey <tromey@redhat.com>
4463
4464 * gdb.python/py-frame.exp: Test gdb.newest_frame.
4465
09050809
JB
44662011-01-06 Joel Brobecker <brobecker@adacore.com>
4467
fc529d80
AS
4468 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
4469 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
4470 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
4471 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
4472 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
4473 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
4474 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
4475 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
4476 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
4477 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
4478 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
4479 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
4480 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
4481 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
4482 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
4483 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
4484 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
4485 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
4486 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
4487 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
4488 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
4489 gdb.ada/uninitialized_vars.exp,
4490 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
4491 Simplify by using clean_restart.
09050809 4492
8ed5dd9e
JB
44932011-01-06 Joel Brobecker <brobecker@adacore.com>
4494
4495 Add marker to be used as anchor for inserting breakpoints.
4496 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
4497 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
4498 Likewise.
4499
4500 Remove uses of gdb_start_cmd.
4501 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
4502 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
4503
4504 Do not run testcase if testing with GDBserver.
4505 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
4506 if testing with GDBserver.
4507
368a124f
JB
45082011-01-06 Joel Brobecker <brobecker@adacore.com>
4509
4510 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
4511 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
4512 copyright header.
4513
44944448
JB
45142011-01-05 Joel Brobecker <brobecker@adacore.com>
4515
4516 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
4517 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
4518 testsuite/gdb.fortran/complex.f,
4519 testsuite/gdb.fortran/derived-type.f90,
4520 testsuite/gdb.fortran/library-module-lib.f90,
4521 testsuite/gdb.fortran/library-module-main.f90,
4522 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
4523 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
4524 Copyright year update.
4525
31886ea6
JB
45262011-01-05 Joel Brobecker <brobecker@adacore.com>
4527
4528 * gdb.base/langs1.f: Add copyright header.
4529
ebedcab5
JK
45302011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4531
4532 * gdb.base/morestack.exp: New file.
4533 * gdb.base/morestack.c: New file.
4534
de1eb2f9
JK
45352011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4536
4537 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
4538
9e87a409
JB
45392010-12-29 Joel Brobecker <brobecker@adacore.com>
4540
4541 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
4542 * gdb.ada/arrayptr.exp: Add test printing that new variable.
4543
720d1a40
JB
45442010-12-29 Joel Brobecker <brobecker@adacore.com>
4545
4546 * gdb.ada/lang_switch.exp: Correct expected parameter value.
4547
a283af87
AS
45482010-12-25 Andreas Schwab <schwab@linux-m68k.org>
4549
5d3d9cba
AS
4550 * gdb.threads/tls.exp: Fix typo.
4551
a283af87
AS
4552 * gdb.threads/thread-specific.exp (get_thread_list): Update.
4553 * gdb.threads/execl.exp: Update.
4554
2a20745c
YQ
45552010-12-23 Yao Qi <yao@codesourcery.com>
4556
4557 * gdb.arch/arm-disp-step.exp: New.
4558 * gdb.arch/arm-disp-step.S: New.
4559
a7658b96
TT
45602010-12-21 Tom Tromey <tromey@redhat.com>
4561
4562 * gdb.threads/execl.exp: Update.
4563 * gdb.threads/linux-dp.exp: Update.
4564 * gdb.threads/manythreads.exp: Update.
4565 * gdb.threads/tls.exp: Update.
4566
5b79abe7
TT
45672010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4568
4569 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
4570 (NextOverThrowDerivates) <resumebpt>: New.
4571 (resumebpt_test): New.
4572 (main): Call resumebpt_test.
4573 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
4574
0914bcdb
SS
45752010-12-12 Stan Shebs <stan@codesourcery.com>
4576
4577 * gdb.trace/tsv.exp: Test print command on trace state variables.
4578
305aeedc
TT
45792010-12-09 Tom Tromey <tromey@redhat.com>
4580
4581 * gdb.base/interp.exp: Add regression test.
4582
186c406b
TT
45832010-12-09 Tom Tromey <tromey@redhat.com>
4584
4585 * gdb.java/jnpe.java: New file.
4586 * gdb.java/jnpe.exp: New file.
4587 * gdb.cp/nextoverthrow.exp: New file.
4588 * gdb.cp/nextoverthrow.cc: New file.
4589
aae1c79a
DE
45902010-12-07 Doug Evans <dje@google.com>
4591
4592 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
4593 of data-directory.
4594 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
4595 updated.
4596 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
4597
60f98dde 45982010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
4599
4600 * gdb.base/callfuncs.exp: Test for skip_float_tests.
4601 * gdb.base/call-sc.exp: Ditto.
4602 * gdb.base/finish.exp: Ditto.
4603 * gdb.base/return.exp: Ditto.
4604 * gdb.base/return2.exp: Ditto.
4605
5fa290c1
DE
46062010-11-30 Doug Evans <dje@google.com>
4607
4608 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
4609 (gdb_expect_list): Fix spelling errors in comments.
4610 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
4611 send_gdb/gdb_expect_list where applicable.
4612 * gdb.base/call-ar-st.exp: Ditto.
4613 * gdb.base/funcargs.exp: Ditto.
4614 * gdb.base/gcore.exp: Ditto.
4615 * gdb.base/page.exp: Ditto.
4616 * gdb.base/sigaltstack.exp: Ditto.
4617 * gdb.base/siginfo.exp: Ditto.
4618 * gdb.base/sigstep.exp: Ditto.
4619 * gdb.base/trace-commands.exp: Ditto.
4620
4e04c971
DE
46212010-11-29 Doug Evans <dje@google.com>
4622
4623 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
4624 printer-name;subprinter-name.
4625
8cf6f0b1
TT
46262010-11-29 Tom Tromey <tromey@redhat.com>
4627
4628 * gdb.dwarf2/implptr.exp: New file.
4629 * gdb.dwarf2/implptr.c: New file.
4630 * gdb.dwarf2/implptr.S: New file.
4631
94b6973e
PM
46322010-11-29 Phil Muldoon <pmuldoon@redhat.com>
4633
fc529d80 4634 PR python/12199
94b6973e
PM
4635
4636 * gdb.python/py-breakpoint.exp: Test the delete method.
4637
8358c15c
JK
46382010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4639
4640 Fix step_resume_breakpoint unsaved during an infcall.
4641 * gdb.base/step-resume-infcall.exp: New file.
4642 * gdb.base/step-resume-infcall.c: New file.
4643
f6df29bc
TJB
46442010-11-24 Edjunior Machado <emachado@br.ibm.com>
4645
4646 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
4647
f2b5a5cf
TJB
46482010-11-24 Edjunior Machado <emachado@br.ibm.com>
4649
4650 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
4651 on ppc64's symbols; "finish" and "return" commands must accept to
4652 show the caller line again as well as the line after.
4653 * gdb.asm/powerpc64.inc: New file.
4654
6b0ecdc2
DE
46552010-11-23 Doug Evans <dje@google.com>
4656
4657 * lib/gdb.exp (gdb_test_sequence): New function.
4658 (gdb_expect_list): Add verbose -log call for each pattern.
4659 * gdb.base/signals.exp (test_handle_all_print): Call it.
4660 Reduce timeout increment from 6 minutes to 1 minute.
4661 * gdb.server/ext-run.exp: Call it.
4662
ea976c60
PM
46632010-11-23 Phil Muldoon <pmuldoon@redhat.com>
4664
f2b5a5cf 4665 PR python/12212
ea976c60
PM
4666
4667 * gdb.python/python.exp: Check that selected_thread raises an
4668 error when no inferior is loaded.
4669
c0efa795
JK
46702010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4671
4672 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
4673 * gdb.dwarf2/dw2-stack-boundary.S: New file.
4674
ec3aa567
JK
46752010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4676
4677 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
4678 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
4679
d8249011
DE
46802010-11-18 Doug Evans <dje@google.com>
4681
4682 * gdb.server/ext-run.exp: Fix intermittent failures.
4683
d4eba7d1
NF
46842010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4685
4686 * gdb.stabs/gdb11479.exp: Use runto_main.
4687
b04c2f88
NF
46882010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4689
4690 * gdb.base/break-entry.exp: Skip if using a stub.
4691
ae9d7ce4
NF
46922010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4693
4694 * gdb.python/py-inferior.exp: Pack values in target endianness.
4695
621c8364
TT
46962010-11-12 Tom Tromey <tromey@redhat.com>
4697
4698 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
4699 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
4700 MemoryError.
4701 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
4702 type.
4703 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
4704 MemoryError.
4705 (test_subscript_regression): Update exception type.
4706
84f4c1fe
PM
47072010-11-11 Phil Muldoon <pmuldoon@redhat.com>
4708
4709 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
4710 breakpoint tests.
4711
a1442452
PA
47122010-11-09 Pedro Alves <pedro@codesourcery.com>
4713
4714 * gdb.base/watchpoint.exp: Test "watch -location" with an
4715 innacessible location.
4716
efd11a33
JK
47172010-11-09 Edjunior Machado <emachado@br.ibm.com>
4718 Luis Machado <luisgpm@br.ibm.com>
4719
4720 * gdb.base/maint.exp: Expect "." prefix.
4721 * gdb.base/nodebug.exp: Expect "." Likewise.
4722 * gdb.base/sepsymtab.exp: Expect "." Likewise.
4723 * gdb.base/watchpoint-cond-gone.exp: Likewise.
4724 * gdb.base/watchpoint.exp: Expect a software watch to be created for
4725 POWER server processors.
4726
aa00efb5
JK
47272010-11-08 Edjunior Machado <emachado@br.ibm.com>
4728 Luis Machado <luisgpm@br.ibm.com>
4729
4730 * gdb.base/break-entry.exp: convert entry point for
4731 ppc64 and expect leading `.' on ppc64's symbols
4732
99e7ae30
DE
47332010-11-05 Doug Evans <dje@google.com>
4734
4735 * gdb.base/help.exp: Update expected output.
b521dba8
DE
4736 * gdb.python/py-param.exp: Delete, contents moved to ...
4737 * gdb.python/py-parameter.exp: ... here. New file.
4738 Add test for gdb.parameter ("directories").
99e7ae30 4739
f4b8a18d
KW
47402010-11-05 Ken Werner <ken.werner@de.ibm.com>
4741
4742 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
4743 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
4744 * configure: Regenerate.
4745 * gdb.opencl/Makefile.in: New File.
4746 * gdb.opencl/datatypes.exp: Likewise.
4747 * gdb.opencl/datatypes.cl: Likewise.
4748 * gdb.opencl/operators.exp: Likewise.
4749 * gdb.opencl/operators.cl: Likewise.
4750 * gdb.opencl/vec_comps.exp: Likewise.
4751 * gdb.opencl/vec_comps.cl: Likewise.
4752 * gdb.opencl/convs_casts.exp: Likewise.
4753 * gdb.opencl/convs_casts.cl: Likewise.
4754 * lib/opencl.exp: Likewise.
4755 * lib/opencl_hostapp.c: Likewise.
4756 * lib/opencl_kernel.cl: Likewise.
4757 * lib/cl_util.c: Likewise.
4758 * lib/cl_util.c: Likewise.
4759 * gdb.base/default.exp (set language): Add "opencl" to the list of
4760 languages.
4761
a9d5ef47
SW
47622010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
4763
4764 * gdb.cp/overload.exp: Added test for inheritance overload.
4765 * gdb.cp/overload.cc: Ditto.
4766 * gdb.cp/oranking.exp: Removed releveant kfails.
4767
03eb1c79
JK
47682010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4769 Joel Brobecker <brobecker@adacore.com>
4770
4771 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
4772 check test_compiler_info.
4773
dbc98a8b
KW
47742010-11-03 Ken Werner <ken.werner@de.ibm.com>
4775
4776 * gdb.base/gnu_vector.exp: Adjust expect messages.
4777
120bd360
KW
47782010-11-03 Ken Werner <ken.werner@de.ibm.com>
4779
4780 * gdb.base/gnu_vector.exp: Add unary operator tests.
4781
c37f7098
KW
47822010-11-03 Ken Werner <ken.werner@de.ibm.com>
4783
4784 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
4785
7b51bc51
DE
47862010-11-02 Doug Evans <dje@google.com>
4787
4788 * gdb.python/py-pp-maint.c: New file.
4789 * gdb.python/py-pp-maint.exp: New file.
4790 * gdb.python/py-pp-maint.py: New file.
4791
50c97f38
TT
47922010-11-02 Tom Tromey <tromey@redhat.com>
4793
4794 * gdb.base/default.exp: Remove "scheme" from language list.
4795
a289b8f6
JK
47962010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4797
4798 Revert:
4799 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4800 * gdb.threads/sigstep-threads.exp: New file.
4801 * gdb.threads/sigstep-threads.c: New file.
4802
cd017491
MS
48032010-10-20 Michael Snyder <msnyder@vmware.com>
4804
4805 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
4806
8e6a5956
UW
48072010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4808
4809 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
4810 Skip test completely if gdb,no_hardware_watchpoints.
4811
2c04da0d
UW
48122010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4813
4814 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
4815 strict, but do not check for any particular function name within libc.
4816
79afc5ef
SW
48172010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4818
4819 * gdb.cp/smartp.exp: New test.
4820 * gdb.cp/smartp.cc : New test.
4821
026ffab7
SW
48222010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4823
4824 * gdb.cp/converts.exp: Test pointer to bool conversion.
4825 Test pointer to long conversion.
4826 * gdb.cp/oranking.exp: Removed relevant kfail.
4827
3a772aa4
TT
48282010-10-18 Tom Tromey <tromey@redhat.com>
4829
4830 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
4831 argument to lazy_string.
4832 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
4833 (pp_ls.to_string): Use it.
4834 * gdb.python/py-prettyprint.c (main): Move declarations to top.
4835 Add "estring2" local.
4836
5fc3827b
JK
48372010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4838
4839 Fix s390x compatibility.
4840 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
4841 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
4842
8aeb23f3
JK
48432010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4844
4845 * gdb.threads/sigstep-threads.exp: New file.
4846 * gdb.threads/sigstep-threads.c: New file.
4847
c1e56572
JK
48482010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4849
4850 * gdb.base/pie-execl.exp: New file.
4851 * gdb.base/pie-execl.c: New file.
4852
92163a10
JK
48532010-10-13 Doug Evans <dje@google.com>
4854 Jan Kratochvil <jan.kratochvil@redhat.com>
4855
4856 PR exp/12117
4857 * gdb.cp/ptype-cv-cp.cc: New file.
4858 * gdb.cp/ptype-cv-cp.exp: New file.
4859
7062b0a0
SW
48602010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
4861
4862 * gdb.cp/converts.cc: New test program.
4863 * gdb.cp/converts.exp: New test.
4864 * gdb.cp/overload.exp: Added test for void* vs int*.
4865 * gdb.cp/overload.exp: Ditto.
4866 * gdb.cp/oranking.exp: Removed related kfail.
4867
0e3509db
DE
48682010-10-13 Doug Evans <dje@google.com>
4869
4870 * lib/gdb-python.exp (gdb_check_python_config): New function.
4871 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
4872 * gdb.python/lib-types.cc: New file.
4873 * gdb.python/lib-types.exp: New file.
4874
8dc78533
JK
48752010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4876
4877 * gdb.python/py-error.exp: New file.
4878 * gdb.python/py-error.py: New file.
4879
93c17e06
JK
48802010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4881
4882 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
4883 gdb_test_multiple.
4884
d8b34041
JK
48852010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4886
4887 * gdb.base/break-interp.exp: Use ldlags for linking flags.
4888 * gdb.base/prelink.exp: Likewise.
4889 * gdb.base/solib-nodir.exp: Likewise.
4890 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
4891 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
4892 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
4893
e0cc584e
UW
48942010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
4895
4896 * break-interp.exp (test_ld): Use two separate gdb_expect statements
4897 for the "info files" test to avoid timeouts on slow machines.
4898
cfc353b1
JK
48992010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4900
4901 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
4902 (main): Make openlib dummy call.
4903
d3d7896d
JK
49042010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4905
4906 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
4907 * break-interp.exp (reach): Move the core body ...
4908 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
4909 (test_ld): Provide always real argument, even to the linker. Replace
4910 dl_main by _dl_debug_state.
4911
5e533c94
JK
49122010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4913
4914 Fix results of prelinked PIEs on ppc*.
4915 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
4916 Accept also DISPLACEMENT "PRESENT".
4917 (main): Replace "ZERO" displacements by "PRESENT".
4918
33540610
SW
49192010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
4920
4921 * gdb.cp/oranking.exp: New test.
4922 * gdb.cp/oranking.cc: New test program.
4923
3bdf2bbd
KW
49242010-10-08 Ken Werner <ken.werner@de.ibm.com>
4925
4926 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
4927 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
4928
2f608a3a
KW
49292010-10-06 Ken Werner <ken.werner@de.ibm.com>
4930
4931 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
4932 lush, lynx) New constant.
4933 * gdb.base/constvars.exp: Test const array types.
4934 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
4935
aa2e2d8d
DE
49362010-10-06 Doug Evans <dje@google.com>
4937
4938 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
4939 of syscall staging area.
4940
2844d6b5
KW
49412010-10-06 Ken Werner <ken.werner@de.ibm.com>
4942
4943 * gdb.base/gnu_vector.c: Add variable c4.
4944 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
4945 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4946
7d8ac8bb
MR
49472010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
4948
4949 * gdb.arch/altivec-abi.exp: Fix a typo.
4950
84a02e58
MR
49512010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
4952
4953 * lib/mi-support.exp (thread_selected_re): Correct pattern used
4954 to match a thread ID.
4955
b18e6318
JK
49562010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4957
4958 Fix s390x testcase compatibility.
4959 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
4960
a2c09bd0
DE
49612010-10-01 Doug Evans <dje@google.com>
4962
4963 * lib/gdb-python.exp: New file.
4964 * gdb.python/py-block.exp: Use it.
4965 * gdb.python/py-breakpoint.exp: Ditto.
4966 * gdb.python/py-frame.exp: Ditto.
4967 * gdb.python/py-inferior.exp: Ditto.
4968 * gdb.python/py-param.exp: Ditto.
4969 * gdb.python/py-prettyprint.exp: Ditto.
4970 * gdb.python/py-shared.exp: Ditto.
4971 * gdb.python/py-symbol.exp: Ditto.
4972 * gdb.python/py-symtab.exp: Ditto.
4973 * gdb.python/py-type.exp: Ditto.
4974 * gdb.python/py-value.exp: Ditto.
4975 * gdb.python/python.exp: Ditto.
4976
38f12cfc
TT
49772010-09-30 Tom Tromey <tromey@redhat.com>
4978
4979 * gdb.base/anon.exp: New file.
4980 * gdb.base/anon.c: New file.
4981
9ae8282d
TT
49822010-09-30 Tom Tromey <tromey@redhat.com>
4983
4984 * gdb.base/completion.exp: Test completion through anonymous
4985 union.
4986 * gdb.base/break1.c (struct some_struct): Add anonymous union.
4987
e9e07ba6
JK
49882010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4989
4990 Fix printing parameters of inlined functions.
4991 * gdb.dwarf2/dw2-inline-param.exp: New file.
4992 * gdb.dwarf2/dw2-inline-param-main.c: New file.
4993 * gdb.dwarf2/dw2-inline-param.S: New file.
4994
cd2effb2
JK
49952010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4996
4997 PR corefiles/12071.
4998 * gdb.base/corefile.exp (quit with a process, no question: load core)
4999 (quit with a core file): New tests.
5000
bceffbf3
JK
50012010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5002
5003 Fix GDB crash on inferior calls with self-referencing classes.
5004 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
5005 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
5006 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
5007
1736ad11
JK
50082010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5009
5010 Fix lost siginfo_t for inferior calls.
5011 * gdb.base/siginfo-infcall.exp: New file.
5012 * gdb.base/siginfo-infcall.c: New file.
5013
a176ad92
JB
50142010-09-22 Joel Brobecker <brobecker@adacore.com>
5015
5016 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
5017
c2b0a229
JK
50182010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5019
5020 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
5021 New test.
5022 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
5023
e8ae22d1
JB
50242010-09-22 Joel Brobecker <brobecker@adacore.com>
5025
5026 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
5027 type of our const type.
5028
ec322823
SW
50292010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
5030
5031 * gdb.cp/pr12028.cc: New.
5032 * gdb.cp/pr12028.exp: New.
5033
72929c62
JB
50342010-09-22 Joel Brobecker <brobecker@adacore.com>
5035
5036 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
5037
875b4ff5 50382010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 5039 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
5040
5041 PR mi/11407
5042 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
5043 * gdb.mi/dw2-ref-missing-frame-main.c New File.
5044 * gdb.mi/dw2-ref-missing-frame.S New File.
5045 * gdb.mi/dw2-ref-missing-frame.exp New File.
5046
7155d578
TT
50472010-09-14 Tom Tromey <tromey@redhat.com>
5048
5049 PR symtab/8399:
5050 * gdb.threads/tls.exp: Remove kfail. Update expected output.
5051
515ed532
TT
50522010-09-14 Tom Tromey <tromey@redhat.com>
5053
5054 PR exp/11803:
5055 * gdb.threads/tls.exp: Use C++.
5056 (check_thread_local): Use K::another_thread_local.
5057 * gdb.threads/tls.c (class K): New.
5058 (another_thread_local): Now a member of K.
5059 (spin): Update. No longer K&R C.
5060
450ca57c
SW
50612010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
5062
5063 * gdb.cp/koenig.cc: created class for testing member lookup.
5064 * gdb.cp/koenig.exp: Added test for member lookup.
5065
dbd492a3
JK
50662010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5067
5068 Fix false FAILs on sourcetree topdir directory containing "kill".
5069 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
5070 source line matching regexp.
5071
8d4d924b
JK
50722010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5073
5074 * gdb.python/python.exp (set height 0, collect help from uiout)
5075 (verify help to uiout): New tests.
5076
8e64f2a0
JK
50772010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5078
5079 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
5080 is_lp64_target to check 64bit target.
5081
4569eed2
JK
50822010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5083
5084 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
5085 (test_ld) <powerpc64-*>: New.
5086
5e1617b1
DJ
50872010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
5088
5089 * gdb.cp/templates.exp (test_template_args): Allow "struct".
5090
c767944b
DJ
50912010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
5092
5093 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
5094 (FunctionArg::method): New function.
5095 (empty, arg): New variables.
5096 (main): Call arg.method.
5097 * gdb.cp/templates.exp (test_template_args): New function.
5098 (do_tests): Call it.
5099
27d3a3fc
UW
51002010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
5101
5102 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
5103 of "next" to proceed over pthread_exit call.
5104
55b7ce7f
UW
51052010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
5106
5107 * gdb.base/maint.exp: Avoid wildcards against potentially very long
5108 "maint print statistics" output to prevent expect timeouts.
5109
809df446
JK
51102010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5111
5112 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
5113 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
5114 (test_float_rejected): ... here.
5115 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
5116 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
5117 (test_float_rejected): ... here.
5118 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
5119 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
5120 (test_float_rejected): ... here.
5121 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
5122 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
5123 (test_float_rejected): ... here.
5124
8464be76
DJ
51252010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
5126
5127 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
5128 before disabling hardware watchpoints.
5129 (test_inaccessible_watchpoint): Check that hardware watchpoints
5130 are used. Test for watchpoints on a constant address.
5131
14dba4b4
JK
51322010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5133
5134 * gdb.base/ui-redirect.exp: New file.
5135
3f3540e1 51362010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 5137 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
5138
5139 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
5140
0f254bb7
DE
51412010-08-31 Doug Evans <dje@google.com>
5142
5143 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
5144
03f17ccf
TT
51452010-08-30 Tom Tromey <tromey@redhat.com>
5146
5147 PR python/11792:
5148 * gdb.python/py-value.exp (test_subscript_regression): Add
5149 dynamic_type test.
5150
640617ad
DJ
51512010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
5152
5153 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
5154 instead of running to main. Do not test the main function.
5155 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
5156 Add new main.
5157
2ed91d1b
PA
51582010-08-26 Pedro Alves <pedro@codesourcery.com>
5159
5160 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
5161 one test.
5162
673bfd45
DE
51632010-08-24 Doug Evans <dje@google.com>
5164
5165 PR symtab/11942
5166 * gdb.dwarf2/dw4-sig-types.cc: New file.
5167 * gdb.dwarf2/dw4-sig-types.h: New file.
5168 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
5169 * gdb.dwarf2/dw4-sig-types.exp: New file.
5170
f9ffd4bb
TT
51712010-08-23 Tom Tromey <tromey@redhat.com>
5172
5173 PR python/11145:
5174 * gdb.python/py-value.c (Base, Derived): New types.
5175 (base): New global.
5176 * gdb.python/py-value.exp (test_subscript_regression): Add
5177 dynamic_cast test.
5178
d839c8a4
TT
51792010-08-23 Tom Tromey <tromey@redhat.com>
5180
5181 PR python/10676:
5182 * gdb.python/py-type.exp (test_fields): Add tests for type
5183 equality.
5184
702c2711
TT
51852010-08-23 Tom Tromey <tromey@redhat.com>
5186
5187 PR python/11915:
5188 * gdb.python/py-type.exp (test_fields): Add tests for array.
5189
832bafd3
KS
51902010-08-23 Keith Seitz <keiths@redhat.com>
5191
5192 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
5193 have any children. Create a new abbrev for it.
5194 Add missing terminal sequence to .debug_abbrev.
5195
c37bf528
KS
51962010-08-20 Keith Seitz <keiths@redhat.com>
5197
5198 PR symtab/11465:
5199 * gdb.dwarf2/pr11465.exp: New test.
5200 * gdb.dwarf2/pr11465.S: New file.
5201 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
5202 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
5203
4572cbac
TJB
52042010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
5205
5206 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
5207 registers. Update data sets with the new v2_double element in the
5208 VSX register union. Add vector_register3_vr data set for the AltiVec
5209 registers. Use gdb_test_no_output instead of send_gdb.
5210
e7fbb131
PA
52112010-08-19 Pedro Alves <pedro@codesourcery.com>
5212
5213 * gdb.python/py-shared.exp: New file, factored out from
5214 python.exp.
5215 * gdb.python/py-shared.c: New file.
5216 * gdb.python/py-shared-sl.c: New file.
5217 * gdb.python/python-1.c: New file.
5218 * gdb.python/python-sl.c: Delete.
5219 * gdb.python/python.c: Mention python-1.c.
5220 * gdb.python/python.exp: Move shared library tests to
5221 py-shared.exp.
5222 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
5223 (MISCELLANEOUS): New.
5224 (clean mostlyclean): Also remove $MISCELLANEOUS.
5225
d30f5e1f
DE
52262010-08-19 Doug Evans <dje@google.com>
5227
5228 PR exp/11926
5229 * gdb.base/printcmds.exp (test_float_accepted): New function.
5230 Move existing float tests there. Add tests for floats with suffixes.
5231 (test_float_rejected): New function.
5232 * gdb.java/jv-print.exp (test_float_accepted): New function.
5233 (test_float_rejected): New function.
5234 * gdb.objc/print.exp: New file.
5235 * gdb.pascal/print.exp: New file.
5236 * lib/objc.exp: New file.
5237
7b3fd859
PM
52382010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
5239
5240 * gdb.base/default.exp (info set): Avoid full buffer error and force
5241 reading up to final gdb prompt.
5242 (show): Likewise.
5243
c92817ce
TT
52442010-08-18 Tom Tromey <tromey@redhat.com>
5245
5246 PR symtab/11919:
5247 * gdb.base/completion.exp: Add test.
5248
f1208f9e
DE
52492010-08-18 Doug Evans <dje@google.com>
5250
5251 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
5252 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
5253 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
5254 Simplify, early exit if runto_main fails.
5255 * gdb.fortran/exprs.exp: load_lib fortran.exp.
5256 (set_lang_fortran): Moved to lib/fortran.exp.
5257 * gdb.fortran/types.exp: load_lib fortran.exp.
5258 (set_lang_fortran): Moved to lib/fortran.exp.
5259 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
5260 * gdb.java/jprint.exp (set_lang_java): Ditto.
5261 * gdb.java/jv-exp.exp: load_lib java.exp.
5262 If set_lang_java fails, issue a warning instead of failure to be
5263 consistent with other set_lang_foo uses.
5264 (set_lang_java): Moved to lib/java.exp.
5265 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
5266 If set_lang_java fails, issue a warning instead of failure to be
5267 consistent with other set_lang_foo uses.
5268 * gdb.pascal/types.exp: load_lib pascal.exp.
5269 (set_lang_pascal): Moved to lib/pascal.exp.
5270 * lib/fortran.exp: New file.
5271 * lib/java.exp (set_lang_java): New function.
5272 * lib/pascal.exp (set_lang_pascal): New function.
5273
2f06b485
YQ
52742010-08-18 Yao Qi <yao@codesourcery.com
5275
5276 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
5277 func_nofb_start and func_loopfb_start, so that address of functions
5278 is equal to these labels on Thumb.
5279
96e25403
YQ
52802010-08-18 Yao Qi <yao@codesourcery.com>
5281
5282 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
5283 to reflect latest c source file.
5284
36e6adc4
JK
52852010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5286
5287 * gdb.cp/infcall-dlopen.exp: New file.
5288 * gdb.cp/infcall-dlopen.cc: New file.
5289 * gdb.cp/infcall-dlopen-lib.cc: New file.
5290
f431efe5
PA
52912010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5292 Pedro Alves <pedro@codesourcery.com>
5293
5294 PR breakpoints/11371
5295
5296 * gdb.base/watch-cond-infcall.exp: New file.
5297 * gdb.base/watch-cond-infcall.c: New file.
5298
06a64a0b
TT
52992010-08-16 Tom Tromey <tromey@redhat.com>
5300
5301 * gdb.base/help.exp: Update.
5302 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
5303 watchpoint.
5304 (test_watch_location): New proc.
5305 (test_watchpoint_in_big_blob): Delete watchpoint.
5306 * gdb.base/watchpoint.c (func5): New function.
5307 (main): Call it.
5308
70ebf4ed
DE
53092010-08-16 Doug Evans <dje@google.com>
5310
5311 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
5312
ca5c20b6
PM
53132010-08-11 Phil Muldoon <pmuldoon@redhat.com>
5314
5315 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
5316 tests.
5317
7346b668
KW
53182010-08-11 Ken Werner <ken.werner@de.ibm.com>
5319
5320 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
5321 * gdb.base/gnu_vector.c: New File.
5322 * gdb.base/gnu_vector.exp: Likewise.
5323
cb2e07a6
PM
53242010-08-11 Phil Muldoon <pmuldoon@redhat.com>
5325
5326 * gdb.python/python.c: New File.
5327 * gdb.python/python-sl.c: New File.
5328 * gdb.python/python.exp: Test solib_address and decode_line
5329 * functions.
5330
5da1313b
JK
53312010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5332
5333 * gdb.python/python.exp (show height, set height 10)
5334 (verify pagination beforehand, verify pagination beforehand: q)
5335 (gdb.execute does not page, verify pagination afterwards)
5336 (verify pagination afterwards: q): New.
5337
49c3ccf7
DE
53382010-08-02 Doug Evans <dje@google.com>
5339
5340 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
5341 because of an older gcc, change test2
5342 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
5343 to unsupported.
5344
42c0c4f1
KH
53452010-07-30 Kazu Hirata <kazu@codesourcery.com>
5346
5347 * gdb.base/break-always.exp: Do not expect full paths to file
5348 names.
5349 * gdb.base/commands.exp: Likewise.
5350
d3765805
DE
53512010-07-30 Doug Evans <dje@google.com>
5352
c98ee71b
DE
5353 * gdb.cp/temargs.exp: For new tests that require newer gccs,
5354 xfail them when run with older gccs.
5355
fd961404
DE
5356 * lib/gdb.exp (build_executable): Forward "c++" option to
5357 get_compiler_info.
5358
999adef4
DE
5359 * gdb.python/py-type.exp (test_template): Mark as xfail tests
5360 "python print ttype.template_argument(1)" and
5361 "python print isinstance(ttype.template_argument(1), gdb.Value)"
5362 if using gcc 4.4 or earlier.
5363
d3765805
DE
5364 * gdb.base/valgrind-db-attach.exp: Use unique test name for
5365 attach-to-debugger handling.
5366
1276c759
JK
53672010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5368
5369 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
5370 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
5371 (main): Use copyreloc.
5372 * gdb.base/prelink.exp (split debug of executable)
5373 (.dynbss vs. .bss address shift): New tests.
5374
88caa9b9
PA
53752010-07-29 Pedro Alves <pedro@codesourcery.com>
5376
5377 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
5378 in gdb_test_multiple.
5379
c6f2ac43
PA
53802010-07-29 Pedro Alves <pedro@codesourcery.com>
5381
5382 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
5383 environment.
5384
326fd672
TT
53852010-07-28 Tom Tromey <tromey@redhat.com>
5386
5387 PR python/11060:
5388 * gdb.python/py-type.c (Temargs): New template.
5389 (temvar): New variable.
5390 * gdb.python/py-type.exp (test_template): New proc.
5391
3ce3b1ba
PA
53922010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
5393
5394 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
5395 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
5396
34eaf542
TT
53972010-07-28 Tom Tromey <tromey@redhat.com>
5398
5399 PR c++/9946:
5400 * gdb.cp/temargs.exp: New file.
5401 * gdb.cp/temargs.cc: New file.
5402
d41b819e
JK
54032010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5404
5405 * gdb.base/help.exp (help disassemble): Update the content.
5406
26ab7092
JK
54072010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5408
5409 * gdb.threads/ia64-sigill.exp: New file.
5410 * gdb.threads/ia64-sigill.c: New file.
5411
5283e9e1
TT
54122010-07-27 Tom Tromey <tromey@redhat.com>
5413
5414 * gdb.opt/inline-cmds.c (ATTR): New define.
5415 (func1): Use it.
5416 (func2): Likewise.
5417 (func3): Likewise.
5418 (outer_inline1): Likewise.
5419 (outer_inline2): Likewise.
5420 * gdb.opt/inline-bt.c (ATTR): New define.
5421 (func1): Use it.
5422 (func2): Likewise.
5423 * gdb.opt/inline-locals.c (ATTR): New define.
5424 (func1): Use it.
5425 (func2): Likewise.
5426
e992ef73
TT
54272010-07-27 Tom Tromey <tromey@redhat.com>
5428
5429 * gdb.stabs/gdb11479.c (hack): New function.
5430 (test): Use it.
5431 (test2): Use it.
5432 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
5433 (int32_search_buf, int64_search_buf): No longer static.
5434 (x): Remove.
5435 * gdb.base/relocate.c (hack): New function.
5436
5374244e
PM
54372010-07-27 Phil Muldoon <pmuldoon@redhat.com>
5438
5439 * gdb.python/py-value.exp (test_inferior_function_call): New function.
5440 * gdb.python/py-value.c (func1): New function.
5441 (func2): Likewise.
5442
a99aee83
CV
54432010-07-26 Corinna Vinschen <vinschen@redhat.com>
5444
5445 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
5446 as not to clash with .data section.
5447
a04ba985
JG
54482010-07-26 Jerome Guitton <guitton@adacore.com>
5449
5450 * gdb.base/code_elim.exp: New file.
5451 * gdb.base/code_elim1.c: New file.
5452 * gdb.base/code_elim2.c: New file.
5453
23bd0f7c
PA
54542010-07-21 Pedro Alves <pedro@codesourcery.com>
5455
5456 PR symtab/11827
5457
5458 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
5459 (some_volatile_enum): New variable.
5460 * gdb.base/printcmds.exp (test_print_enums): New.
5461 <top level>: Call it.
5462
883df6dd
SW
54632010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
5464
5465 * gdb.cp/fpointer.cc: New test.
5466 * gdb.cp/fpointer.exp: New test.
5467
569b05a5
JK
54682010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5469
5470 * gdb.base/solib-nodir.exp: New file.
5471 * lib/gdb.exp (runto): New case for a GDB internal error.
5472
51d7d803
JK
54732010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5474 Ulrich Weigand <uweigand@de.ibm.com>
5475 Tom Tromey <tromey@redhat.com>
5476
5477 * gdb.base/charset-malloc.c: New file.
5478 * gdb.base/charset.c (malloc_stub): New prototype.
5479 (main): Call it instead of malloc itself.
5480 * gdb.base/charset.exp: Use only prepare_for_testing.
5481 (binfile): Remove the variable.
5482
c0edd9ed
JK
54832010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5484
5485 Make core files the process_stratum.
5486 * gdb.base/corefile.exp (run: load core again)
5487 (run: sanity check we see the core file, run: with core)
5488 (run: core file is cleared, attach: load core again)
5489 (attach: sanity check we see the core file, attach: with core)
5490 (attach: core file is cleared): New tests.
5491 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
5492
3cbaedff
KW
54932010-07-14 Ken Werner <ken.werner@de.ibm.com>
5494
5495 * gdb.arch/altivec-abi.exp: New tests.
5496
91158a56
TT
54972010-07-13 Tom Tromey <tromey@redhat.com>
5498
5499 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
5500 (main): Use it.
5501 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
5502
0f5238ed
TT
55032010-07-13 Tom Tromey <tromey@redhat.com>
5504
5505 * gdb.base/label.exp: New file.
5506 * gdb.base/label.c: New file.
5507
add265ae
L
55082010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
5509 H.J. Lu <hongjiu.lu@intel.com>
5510
5511 * lib/gdb.exp (is_ilp32_target): New.
5512 (is_lp64_target): Likewise.
5513
5514 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
5515 target.
5516 * gdb.arch/amd64-disp-step.exp: Likewise.
5517 * gdb.arch/amd64-dword.exp: Likewise.
5518 * gdb.arch/amd64-i386-address.exp: Likewise.
5519 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 5520
add265ae
L
5521 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
5522 target.
5523 * gdb.arch/i386-bp_permanent.exp: Likewise.
5524 * gdb.arch/i386-byte.exp: Likewise.
5525 * gdb.arch/i386-disp-step.exp: Likewise.
5526 * gdb.arch/i386-gnu-cfi.exp: Likewise.
5527 * gdb.arch/i386-prologue.exp: Likewise.
5528 * gdb.arch/i386-size-overlap.exp: Likewise.
5529 * gdb.arch/i386-size.exp: Likewise.
5530 * gdb.arch/i386-sse.exp: Likewise.
5531 * gdb.arch/i386-unwind.exp: Likewise.
5532 * gdb.arch/i386-word.exp: Likewise.
5533
5534 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
5535 test only when building 64-bit executables. Do not hard-code
5536 -m64 option.
5537
2dfb8c17
DE
55382010-07-07 Doug Evans <dje@google.com>
5539
5540 * lib/gdb.exp (gdb_test_list_exact): New function.
5541 * gdb.base/default.exp (show convenience): Call it, add tests for
5542 $_sdata = void, $_thread = 0.
5543
4e5799b6
JK
55442010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5545 Joel Brobecker <brobecker@adacore.com>
5546
5547 Fix re-run of PIE executable, PR shlibs/11776.
5548 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
5549 Remove $displacement_main to match the solib-svr4.c change. New "kill"
5550 and re-"run" of the inferior.
5551
1a219cc7
JK
55522010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5553 Joel Brobecker <brobecker@adacore.com>
5554
5555 Cope with missing /usr/sbin/prelink.
5556 * lib/prelink-support.exp (prelink_no):
5557 <result == 1 && $output is "no such file or directory">: New.
5558 (prelink_yes): Likewise. Return on failed prelink_no.
5559
5e3b36f8
JK
55602010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5561 Joel Brobecker <brobecker@adacore.com>
5562
5563 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
5564 build_executable by build_executable_own_libs. Replace "prelink -R"
5565 execution by a call of prelink_yes. Comment why "prelink -r" needs no
5566 change.
5567 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
5568 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
5569 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
5570 Replace build_executable by build_executable_own_libs's function
5571 build_executable_own_libs.
5572 (prelinkNO): Create new stub to call prelink_no.
5573 (prelinkYES): Create new stub to call prelink_yes.
5574 (test_attach): Rename calls of copy to file_copy.
5575 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
5576 (copy): Move to ...
5577 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
5578 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
5579 * gdb.base/prelink.exp: Disable testcase also for is_remote and
5580 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
5581 special flags by gdb_compile_shlib. Replace second gdb_compile by
5582 build_executable_own_libs. Replace "prelink -R" execution by a call of
5583 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
5584 a second call of prelink_yes. Replace restart commands by
5585 clean_restart.
5586 (prelink): Rename to ...
5587 (seen displacement message): ... this test. Extend its expectation
5588 strictness.
5589
86e4bafc
JK
55902010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5591
5592 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
5593 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
5594 displacement message exactly once.
5595
3cd07d20
JK
55962010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5597 Joel Brobecker <brobecker@adacore.com>
5598
5599 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
5600 its restore after the <$relink_args != ""> loop. new comment.
5601
0a1e94c7
JK
56022010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5603 Joel Brobecker <brobecker@adacore.com>
5604
5605 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
5606 code for it. New variable relink_args.
5607 (prelinkYES): Call prelinkNO.
5608 (test_attach): Accept new parameter relink_args. Re-prelink the binary
5609 in such case. Move the core code to ...
5610 (test_attach_gdb): ... a new function. Send GDB command "file".
5611 Extend expected "Attaching to " string.
5612
2f70bcfb
TT
56132010-07-02 Tom Tromey <tromey@redhat.com>
5614
5615 * gdb.base/bitops.exp: Remove extraneous "pass".
5616
a17ac5b0
TT
56172010-07-02 Ken Werner <ken.werner@de.ibm.com>
5618
5619 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
5620
dc10affe
PA
56212010-07-01 Pedro Alves <pedro@codesourcery.com>
5622
d41c0fc8
PA
5623 * gdb.base/help.exp: Adjust expected output.
5624
56252010-07-01 Pedro Alves <pedro@codesourcery.com>
5626
5627 * gdb.base/help.exp: Adjust expected output.
dc10affe 5628
0a600c36
JK
56292010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5630
5631 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
5632 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
5633 c++/11702.
5634
37cc8bfe
JK
56352010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5636 Doug Evans <dje@google.com>
5637
5638 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
5639 add .dynamic entry'.
5640
254e6b9e
DE
56412010-06-29 Doug Evans <dje@google.com>
5642
5643 Test PR c++/11702.
5644 * gdb.cp/m-static.exp: Add testcase.
5645 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
5646
595939de 56472010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
5648 Tom Tromey <tromey@redhat.com>
5649 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
5650
5651 * gdb.python/py-inferior.c: New File.
5652 * gdb.python/py-infthread.c: New File.
5653 * gdb.python/py-inferior.exp: New File.
5654 * gdb.python/py-infthread.exp: New File.
5655
98751a41
JK
56562010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5657
5658 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
5659 (ptype ::C::OtherFileClass typedefs): New.
5660 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
5661 (C::OtherFileClass::cOtherFileClassVar2): New.
5662 (C::OtherFileClass::cOtherFileClassVar_use): Use also
5663 cOtherFileClassVar2.
5664 (C::cOtherFileType2, C::cOtherFileVar2): New.
5665 (C::cOtherFileVar_use): use also cOtherFileVar2.
5666 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
5667
41f62f39
JK
56682010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5669
5670 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
5671 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
5672 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
5673 (print ::C::cOtherFileVar)
5674 (whatis C::OtherFileClass::cOtherFileClassType)
5675 (whatis ::C::OtherFileClass::cOtherFileClassType)
5676 (print C::OtherFileClass::cOtherFileClassVar)
5677 (print ::cOtherFileClassVar)
5678 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
5679 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
5680 trailing content.
5681 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
5682 (C::OtherFileClass::cOtherFileClassVar)
5683 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
5684 (C::cOtherFileVar, C::cOtherFileVar_use): New.
5685
af53d231
JK
56862010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5687
5688 Test PR c++/11703 and PR gdb/1448.
5689 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
5690 gdb/1448.
5691
9655fd1a
JK
56922010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5693
5694 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
5695 (main) <rtti_data>: New.
5696 * gdb.cp/virtbase.exp (print rtti_data): New.
5697
824cc8dd
JK
56982010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5699 Joel Brobecker <brobecker@adacore.com>
5700
5701 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
5702
6036c742
JK
57032010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5704
5705 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
5706
de6a0421
DE
57072010-06-28 Doug Evans <dje@google.com>
5708
5709 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
5710
b2dae948
DE
57112010-06-27 Doug Evans <dje@google.com>
5712
5713 * gdb.cp/m-static.exp: Update expected test output.
5714
0f3bb72e
PH
57152010-06-25 Paul Hilfinger <hilfinger@adacore.com>
5716
889bf7c5
PA
5717 * gdb.gdb/selftest.exp: Adjust expected message for
5718 capturing start-up runtime.
0f3bb72e 5719
bc9f0842
TT
57202010-06-25 Tom Tromey <tromey@redhat.com>
5721
5722 PR python/10808:
5723 * gdb.python/python.exp: Add new tests.
5724
099ef718
SW
57252010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
5726
5727 * gdb.cp/operator.cc: Created an import loop.
5728 * gdb.cp/operator.exp: Added testcase for import loop.
5729
5868a632
JK
57302010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5731
5732 Test PR python/11407.
5733 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
5734 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
5735 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
5736 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
5737 executable_nofb and executable_fb. New variables srcsfile, objsfile,
5738 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
5739 binfile. Call gdb_compile with clean_restart twice.
5740 (func_nofb print, func_nofb backtrace, func_loopfb print)
5741 (func_loopfb backtrace): New.
5742
af76db58
JK
57432010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5744
5745 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
5746 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
5747 by a hand made one.
5748 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
5749 i?86 requirement. Remove variables srcfile and binfile. New variable
5750 sources, executable_nofb and executable_fb. Call prepare_for_testing.
5751
f2c7657e
UW
57522010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5753
5754 * gdb.cell/dwarfaddr.exp: New file.
5755 * gdb.cell/dwarfaddr.S: New file.
5756
628fe4e4
JK
57572010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5758
5759 Test PR 9436.
5760 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
5761
f1421989
HZ
57622010-06-24 Hui Zhu <teawater@gmail.com>
5763
5764 * gdb.base/eval.exp: New file.
5765
d03285ec
UW
57662010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5767
5768 * gdb.cell/fork.exp: New file.
5769 * gdb.cell/fork.c: Likewise.
5770 * gdb.cell/fork-spu.c: Likewise.
5771
41b2c92d
PM
57722010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
5773
5774 * lib/gdb.exp (banned_variables_traced): New global variable.
5775 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
5776 (gdb_init): Use `trace add variable' instead of obsolete
5777 `trace variable'.
5778
d5bc977f
DE
57792010-06-21 Doug Evans <dje@google.com>
5780
5781 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
5782
d2ed6730
UW
57832010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5784
5785 * gdb.arch/spu-ls.exp: New file.
5786 * gdb.arch/spu-ls.c: Likewise.
5787
6aed2dbc
SS
57882010-06-18 Stan Shebs <stan@codesourcery.com>
5789
5790 * gdb.threads/thread-specific.exp: Add tests of $_thread.
5791
e0756905
UW
57922010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5793
5794 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
5795 * gdb.base/watch-cond.exp: Likewise.
5796 * gdb.python/py-breakpoint.exp: Likewise.
5797
d8053d4d
PA
57982010-06-18 Pedro Alves <pedro@codesourcery.com>
5799
5800 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
5801 clean_restart, make sure every test has a distinct message, and
5802 that messages don't include the executable' full path.
5803
81ce510c
DE
58042010-06-17 Doug Evans <dje@google.com>
5805
5806 * gdb.arch/i386-size.exp: Updated expected output for
5807 DISASSEMBLY_OMIT_FNAME.
5808
65d79d4b
SDJ
58092010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5810 Sergio Durigan Junior <sergiodj@redhat.com>
5811
5812 * gdb.base/watch-notconst.c: New file.
5813 * gdb.base/watch-notconst.S: New file.
5814 * gdb.base/watch-notconst2.c: New file.
5815 * gdb.base/watch-notconst2.S: New file.
5816 * gdb.base/watch-notconst.exp: New file.
5817 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
5818 (func4): Add operations on `global_ptr_ptr'.
5819 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
5820 routine to test watchpoints created with a constant expression.
5821 (test_inaccessible_watchpoint): Include tests for watchpoints
5822 created with a constant expression.
5823
df0f4836
KB
58242010-06-14 Kevin Buettner <kevinb@redhat.com>
5825
5826 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
5827 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
5828 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
5829 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
5830 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
5831 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
5832 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
5833 of `_start'.
5834
b769def5
UW
58352010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5836
5837 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
5838 not supported on the target.
5839 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5840 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5841 * gdb.mi/mi-nsintrall.exp: Likewise.
5842 * gdb.mi/mi-nsmoribund.exp: Likewise.
5843 * gdb.mi/mi-nsthrexec.exp: Likewise.
5844
d914c394
SS
58452010-06-11 Stan Shebs <stan@codesourcery.com>
5846
5847 * gdb.base/permissions.exp: New file.
5848
58492010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
5850
5851 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
5852 does not support ELF executable class.
5853
f3ce5b9c
UW
58542010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5855
5856 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
5857
8e46892c
JK
58582010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5859
5860 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
5861 (runto): Catch "The target does not support running in non-stop mode.".
5862
6cc55c64
MS
58632010-06-11 Michael Snyder <msnyder@vmware.com>
5864
5865 * gdb.base/setshow.exp (set language asm): Don't use
5866 gdb_test_no_output, fails on some targets.
5867
caddefa4
UW
58682010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5869
5870 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
5871 * gdb.cp/pr9167.exp: Likewise.
5872
468b1aa7
UW
58732010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5874
5875 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
5876
5c3552dc
UW
58772010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5878
5879 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
5880
02e6fe6a
UW
58812010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5882
5883 * gdb.base/charset.c (main): Make sure malloc gets linked in.
5884
0e03807e
TT
58852010-06-11 Tom Tromey <tromey@redhat.com>
5886
5887 PR gdb/9977, PR exp/11636::
5888 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
5889 (pieces_test_f6): Update expected output.
5890
2bdf28a0
JK
58912010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5892
5893 * gdb.base/moribund-step.exp: New.
5894
f6978de9
MS
58952010-06-08 Michael Snyder <msnyder@vmware.com>
5896
5897 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 5898 * gdb.ada/boolean_expr.exp:
f6978de9
MS
5899 * gdb.ada/frame_args.exp: Ditto.
5900 * gdb.ada/lang_switch.exp: Ditto.
5901 * gdb.ada/ptype_arith_binop.exp: Ditto.
5902 * gdb.ada/ref_param.exp: Ditto.
5903 * gdb.ada/type_coercion.exp:Ditto.
5904
5905 * gdb.asm/asm-source.exp: Ditto.
5906
5907 * gdb.base/attach.exp: Ditto.
5908 * gdb.base/bitfields2.exp: Ditto.
5909 * gdb.base/call-signal-resume.exp: Ditto.
5910 * gdb.base/callfuncs.exp: Ditto.
5911 * gdb.base/commands.exp: Ditto.
5912 * gdb.base/dbx.exp: Ditto.
5913 * gdb.base/default.exp: Ditto.
5914 * gdb.base/dump.exp: Ditto.
5915 * gdb.base/exprs.exp: Ditto.
5916 * gdb.base/freebpcmd.exp: Ditto.
5917 * gdb.base/interrupt.exp: Ditto.
5918 * gdb.base/list.exp: Ditto.
5919 * gdb.base/long_long.exp: Ditto.
5920 * gdb.base/maint.exp: Ditto.
5921 * gdb.base/ptype.exp: Ditto.
5922 * gdb.base/return.exp: Ditto.
5923 * gdb.base/setshow.exp: Ditto.
5924 * gdb.base/sigbpt.exp: Ditto.
5925 * gdb.base/sigrepeat.exp: Ditto.
5926
5927 * gdb.cp/classes.exp: Ditto.
5928
5929 * gdb.dwarf2/dw2-restore.exp: Ditto.
5930
5931 * gdb.gdb/selftest.exp: Ditto.
5932
5933 * gdb.multi/base.exp: Ditto.
5934 * gdb.multi/bkpt-multi-exec.exp: Ditto.
5935
5936 * gdb.python/py-block.exp: Ditto.
5937 * gdb.python/py-prettyprint.exp: Ditto.
5938 * gdb.python/py-template.exp: Ditto.
5939
5940 * gdb.server/ext-attach.exp: Ditto.
5941 * gdb.server/ext-run.exp: Ditto.
5942 * gdb.server/server-mon.exp: Ditto.
5943
5944 * gdb.threads/fork-thread-pending.exp: Ditto.
5945 * gdb.threads/hand-call-in-threads.exp: Ditto.
5946 * gdb.threads/interrupted-hand-call.exp: Ditto.
5947 * gdb.threads/linux-dp.exp: Ditto.
5948 * gdb.threads/manythreads.exp: Ditto.
5949 * gdb.threads/print-threads.exp: Ditto.
5950 * gdb.threads/pthreads.exp: Ditto.
5951 * gdb.threads/schedlock.exp: Ditto.
5952 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5953 * gdb.threads/threadapply.exp: Ditto.
5954
de7ff789
MS
59552010-06-08 Michael Snyder <msnyder@vmware.com>
5956
889bf7c5 5957 * gdb.ada/exec_changed.exp:
de7ff789
MS
5958 Use ".*" instead of "" as wildcard regexp.
5959
5960 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
5961 * gdb.base/call-ar-st.exp: Ditto.
5962 * gdb.base/checkpoint.exp: Ditto.
5963 * gdb.base/default.exp: Ditto.
5964 * gdb.base/dump.exp: Ditto.
5965 * gdb.base/ending-run.exp: Ditto.
5966 * gdb.base/fileio.exp: Ditto.
5967 * gdb.base/miscexprs.exp: Ditto.
5968 * gdb.base/pointers.exp: Ditto.
5969 * gdb.base/readline.exp: Ditto.
5970 * gdb.base/reread.exp: Ditto.
5971 * gdb.base/restore.exp: Ditto.
5972 * gdb.base/shlib-call.exp: Ditto.
5973 * gdb.base/valgrind-db-attach.exp: Ditto.
5974 * gdb.base/volatile.exp: Ditto.
5975 * gdb.base/watchpoints.exp: Ditto.
5976
5977 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
5978
5979 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
5980 * gdb.python/py-value.exp: Ditto.
5981
5982 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
5983 * gdb.trace/circ.exp: Ditto.
5984 * gdb.trace/collection.exp: Ditto.
5985 * gdb.trace/packetlen.exp: Ditto.
5986 * gdb.trace/passc-dyn.exp: Ditto.
5987 * gdb.trace/report.exp: Ditto.
5988 * gdb.trace/tfile.exp: Ditto.
5989 * gdb.trace/tfind.exp: Ditto.
5990 * gdb.trace/while-dyn.exp: Ditto.
5991
3bebe2f2
JK
59922010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5993
5994 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
5995
5c631832
JK
59962010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5997
5998 Test PR 10640.
5999 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
6000
4c3376c8
SW
60012010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
6002
6003 * gdb.cp/koenig.exp: Test for ADL operators.
6004 * gdb.cp/koenig.cc: Added ADL operators.
6005 * gdb.cp/operator.exp: New test.
6006 * gdb.cp/operator.cc: New test.
6007
dc226d5a
MS
60082010-06-04 Michael Snyder <msnyder@vmware.com>
6009
dfb88a23
MS
6010 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
6011 * gdb.base/pending.exp: Ditto.
f7ae76b3 6012
dc226d5a
MS
6013 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
6014
967cf477
DE
60152010-06-04 Doug Evans <dje@google.com>
6016
6017 * gdb.python/py-prettyprint.exp: Add new test for enabled and
6018 disabled printers.
6019 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
6020 (enable_lookup_function): New function.
6021
eb801841
TT
60222010-06-04 Tom Tromey <tromey@redhat.com>
6023
6024 * gdb.python/py-value.exp (test_value_hash): Don't test equality
6025 of hash and id.
6026
38979823
JK
60272010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6028
6029 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
6030 newline.
6031 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
6032 (empty verbose non-noisy clear, empty verbose noisy clear)
6033 (empty non-verbose noisy clear): Likewise.
6034
35ec993f
MS
60352010-06-03 Michael Snyder <msnyder@vmware.com>
6036
6037 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
6038 * gdb.base/display.exp: Ditto.
6039 * gdb.base/find.exp: Ditto.
6040 * gdb.base/ifelse.exp: Ditto.
6041 * gdb.base/multi-forks.exp: Ditto.
6042 * gdb.base/recurse.exp: Ditto.
6043 * gdb.base/setshow.exp: Ditto.
6044 * gdb.base/value-double-free.exp: Ditto.
6045 * gdb.base/watch-vfork.exp: Ditto.
6046 * gdb.base/watch_thread_num.exp: Ditto.
6047 * gdb.base/watchpoint-solib.exp: Ditto.
6048 * gdb.base/watchpoint.exp: Ditto.
6049 * gdb.base/watchpoints.exp: Ditto.
6050
6051 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
6052 * gdb.cp/overload.exp: Ditto.
6053 * gdb.cp/virtfunc.exp: Ditto.
6054
6055 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
6056
889bf7c5 6057 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
6058 Replace gdb_test with gdb_test_no_output.
6059
889bf7c5 6060 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
6061 Replace gdb_test with gdb_test_no_output.
6062 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
6063 * gdb.threads/watchthreads.exp: Ditto.
6064 * gdb.threads/watchthreads2.exp: Ditto.
6065
6066 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
6067 * gdb.trace/tfind.exp: Ditto.
6068
c22decce
JB
60692010-06-03 Joel Brobecker <brobecker@adacore.com>
6070
6071 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
6072 successful test if message is the empty string.
6073
fd5700c7
JK
60742010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6075
6076 * gdb.fortran/module.exp (stopped language detection): New test.
6077
f55ee35c
JK
60782010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6079
6080 Support DW_TAG_module as separate namespaces.
6081 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
6082 gdb.fortran/library-module-lib.f90: New.
6083 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
6084 (print i): Remove.
6085 (continue to breakpoint: i-is-1, print var_i value 1)
6086 (continue to breakpoint: i-is-2, print var_i value 2)
6087 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
6088 (print var_d, print var_i value 14, ptype modmany, complete `modm)
6089 (complete `modmany, complete `modmany`, complete `modmany`var)
6090 (show language, setting breakpoint at module): New tests.
6091 * gdb.fortran/module.f90 (module mod): Remove.
6092 (module mod1, module mod2, module modmany, subroutine sub1)
6093 (subroutine sub2, program module): New.
6094
b8e8282f
JK
60952010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6096
6097 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
6098 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
6099 * gdb.cp/anon-union.exp (pass): Rename to ...
6100 (print z 2): ... here.
b8e8282f 6101
019ebafc
MS
61022010-06-02 Michael Snyder <msnyder@vmware.com>
6103
e68d8fd4
MS
6104 * gdb.trace/actions.exp: Use gdb_test_no_output.
6105 * gdb.trace/circ.exp: Ditto.
6106 * gdb.trace/packetlen.exp: Ditto.
6107 * gdb.trace/save-trace.exp: Ditto.
6108 * gdb.trace/tracecmd.exp: Ditto.
6109 * gdb.trace/tsv.exp: Ditto.
6110
12b5d08a
MS
6111 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
6112 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
6113 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
6114 * gdb.threads/manythreads.exp: Ditto.
6115 * gdb.threads/print-threads.exp: Ditto.
6116 * gdb.threads/pthreads.exp: Ditto.
6117 * gdb.threads/schedlock.exp: Ditto.
6118 * gdb.threads/staticthreads.exp: Ditto.
6119 * gdb.threads/thread-specific.exp: Ditto.
6120 * gdb.threads/thread-unwindonsignal.exp: Ditto.
6121 * gdb.threads/threadapply.exp: Ditto.
6122 * gdb.threads/watchthreads.exp: Ditto.
6123 * gdb.threads/watchthreads2.exp: Ditto.
6124
89493308
MS
6125 * gdb.python/py-block.exp: Use gdb_test_no_output.
6126 * gdb.python/py-prettyprint.exp: Ditto.
6127 * gdb.python/py-template.exp: Ditto.
6128 * gdb.python/py-value.exp: Ditto.
6129
6130 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
6131 * gdb.reverse/watch-reverse.exp: Ditto.
6132
6133 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
6134 * gdb.server/ext-run.exp: Ditto.
6135
019ebafc
MS
6136 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
6137 * gdb.dwarf2/dw2-compressed.exp: Ditto.
6138 * gdb.dwarf2/dw2-intercu.exp: Ditto.
6139 * gdb.dwarf2/dw2-intermix.exp: Ditto.
6140 * gdb.dwarf2/dw2-producer.exp: Ditto.
6141 * gdb.dwarf2/mac-fileno.exp: Ditto.
6142
6143 * gdb.gdb/observer.exp: Use gdb_test_no_output.
6144 * gdb.gdb/selftest.exp: Ditto.
6145
6146 * gdb.multi/base.exp: Use gdb_test_no_output.
6147
6148 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
6149
3e0ca3a5
JK
61502010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6151
6152 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
6153
9db70545
MS
61542010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
6155
a8d52276
MS
6156 * gdb.cp/class2.exp: Use gdb_test_no_output.
6157 * gdb.cp/classes.exp: Ditto.
6158 * gdb.cp/extern-c.exp: Ditto.
6159 * gdb.cp/inherit.exp: Ditto.
6160 * gdb.cp/maint.exp: Ditto.
6161 * gdb.cp/mb-inline.exp: Ditto.
6162 * gdb.cp/mb-templates.exp: Ditto.
6163 * gdb.cp/method2.exp: Ditto.
6164 * gdb.cp/misc.exp: Ditto.
6165 * gdb.cp/ovldbreak.exp: Ditto.
6166 * gdb.cp/punctuator.exp: Ditto.
6167 * gdb.cp/templates.exp: Ditto.
6168 * gdb.cp/virtbase.exp: Ditto.
6169
889bf7c5 6170 * gdb.threads/attach-stopped.exp:
9db70545 6171 Replace uses of send_gdb / gdb_expect.
889bf7c5 6172 * gdb.threads/attachstop-mt.exp:
9db70545 6173 Replace uses of send_gdb / gdb_expect.
889bf7c5 6174 * gdb.threads/gcore-thread.exp:
9db70545 6175 Replace uses of send_gdb / gdb_expect.
889bf7c5 6176 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
6177 Replace uses of send_gdb / gdb_expect.
6178 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 6179 * gdb.threads/print-threads.exp:
9db70545
MS
6180 Replace uses of send_gdb / gdb_expect.
6181 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
6182 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
6183 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
6184
6185 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
6186 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
6187 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
6188 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
6189 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
6190 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
6191 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
6192 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
6193 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
6194 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
6195 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
6196
359cc68c
JK
61972010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6198
6199 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
6200
7d3fe98e
SW
62012010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
6202
6203 * gdb.cp/koenig.exp: Added new test case.
6204 * gdb.cp/koenig.cc: Ditto.
6205
27d3a1a2
MS
62062010-06-01 Michael Snyder <msnyder@vmware.com>
6207
6208 * gdb.base/arithmet.exp: Use gdb_test_no_output.
6209 * gdb.base/arrayidx.exp: Ditto.
6210 * gdb.base/attach.exp: Ditto.
6211 * gdb.base/auxv.exp: Ditto.
6212 * gdb.base/bigcre.exp: Ditto.
6213 * gdb.base/break-always.exp: Ditto.
6214 * gdb.base/break-interp.exp: Ditto.
6215 * gdb.base/break.exp: Ditto.
6216 * gdb.base/breakpoint-shadow.exp: Ditto.
6217 * gdb.base/call-ar-st.exp: Ditto.
6218 * gdb.base/call-sc.exp: Ditto.
6219 * gdb.base/call-signal-resume.exp: Ditto.
6220 * gdb.base/callfuncs.exp: Ditto.
6221 * gdb.base/catch-syscall.exp: Ditto.
6222 * gdb.base/charset.exp: Ditto.
6223 * gdb.base/code-expr.exp: Ditto.
6224 * gdb.base/commands.exp: Ditto.
6225 * gdb.base/cond-expr.exp: Ditto.
6226 * gdb.base/condbreak.exp: Ditto.
6227 * gdb.base/cursal.exp: Ditto.
6228 * gdb.base/cvexpr.exp: Ditto.
6229 * gdb.base/default.exp: Ditto.
6230 * gdb.base/del.exp: Ditto.
6231 * gdb.base/detach.exp: Ditto.
6232 * gdb.base/display.exp: Ditto.
6233 * gdb.base/ena-dis-br.exp: Ditto.
6234 * gdb.base/eval-skip.exp: Ditto.
6235 * gdb.base/foll-fork.exp: Ditto.
6236 * gdb.base/foll-vfork.exp: Ditto.
6237 * gdb.base/frame-args.exp: Ditto.
6238 * gdb.base/funcargs.exp: Ditto.
6239 * gdb.base/gcore-buffer-overflow.exp: Ditto.
6240 * gdb.base/gdbvars.exp: Ditto.
6241 * gdb.base/help.exp: Ditto.
6242 * gdb.base/ifelse.exp: Ditto.
6243 * gdb.base/included.exp: Ditto.
6244 * gdb.base/list.exp: Ditto.
6245 * gdb.base/macscp.exp: Ditto.
6246 * gdb.base/maint.exp: Ditto.
6247 * gdb.base/multi-fork.exp: Ditto.
6248 * gdb.base/overlays.exp: Ditto.
6249 * gdb.base/page.exp: Ditto.
6250 * gdb.base/pending.exp: Ditto.
6251 * gdb.base/pointers.exp: Ditto.
6252 * gdb.base/pr11022.exp: Ditto.
6253 * gdb.base/prelink.exp: Ditto.
6254 * gdb.base/printcmds.exp: Ditto.
6255 * gdb.base/psymtab.exp: Ditto.
6256 * gdb.base/randomize.exp: Ditto.
6257 * gdb.base/relational.exp: Ditto.
6258 * gdb.base/relocate.exp: Ditto.
6259 * gdb.base/remote.exp: Ditto.
6260 * gdb.base/sepdebug.exp: Ditto.
6261 * gdb.base/set-lang-auto.exp: Ditto.
6262 * gdb.base/setshow.exp: Ditto.
6263 * gdb.base/setvar.exp: Ditto.
6264 * gdb.base/signals.exp: Ditto.
6265 * gdb.base/signull.exp: Ditto.
6266 * gdb.base/sigstep.exp: Ditto.
6267 * gdb.base/sizeof.exp: Ditto.
6268 * gdb.base/solib-disc.exp: Ditto.
6269 * gdb.base/store.exp: Ditto.
6270 * gdb.base/structs.exp: Ditto.
6271 * gdb.base/structs2.exp: Ditto.
6272 * gdb.base/subst.exp: Ditto.
6273 * gdb.base/term.exp: Ditto.
6274 * gdb.base/trace-commands.exp: Ditto.
6275 * gdb.base/unwindonsignal.exp: Ditto.
6276 * gdb.base/valgrind-db-attach.exp: Ditto.
6277 * gdb.base/varargs.exp: Ditto.
6278 * gdb.base/watch-cond.exp: Ditto.
6279 * gdb.base/watch_thread_num.exp: Ditto.
6280 * gdb.base/watchpoint-cond-gone.exp: Ditto.
6281 * gdb.base/watchpoint.exp: Ditto.
6282 * gdb.base/whatis-exp.exp: Ditto.
6283
f8d3bf8f
MS
62842010-06-01 Michael Snyder <msnyder@vmware.com>
6285
6286 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
6287 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
6288 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
6289 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
6290 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
6291 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
6292 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
6293 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
6294 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
6295 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
6296 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
6297 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
6298 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
6299 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
6300 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
6301
3f9e0d32
JK
63022010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6303
6304 * gdb.base/commands.exp (begin commands on watch): Remove excessive
6305 trailing newline.
6306 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
6307 * gdb.java/jmisc.exp (p *args\n): Rename to ...
6308 (p *args): ... here and remove excessive trailing newline.
6309
f629457d
JB
63102010-05-31 Joel Brobecker <brobecker@adacore.com>
6311
6312 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
6313
09eef106
JK
63142010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
6315
6316 Accept the new Linux kernel "t (tracing stop)" string.
6317 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
6318 Update comment.
6319 (state_wait) <T (tracing stop)>: New.
6320 (main): Update the state_wait expect string.
6321
94f31136
PA
63222010-05-28 Pedro Alves <pedro@codesourcery.com>
6323
6324 * limits.c, limits.exp: Delete files.
6325 * Makefile.in (clean mostlyclean): Adjust.
6326 * tracecmd.exp: Adjust.
6327
096554ab
JK
63282010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6329
6330 * gdb.base/tui-layout.exp: New.
6331
27d3a1a2 63322010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 6333
889bf7c5 6334 * gdb.reverse/break-precsave.exp:
bcd2dc50 6335 Replace uses of send_gdb / gdb_expect.
889bf7c5 6336 * gdb.reverse/break-reverse.exp:
bcd2dc50 6337 Replace uses of send_gdb / gdb_expect.
889bf7c5 6338 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 6339 Replace uses of send_gdb / gdb_expect.
889bf7c5 6340 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 6341 Replace uses of send_gdb / gdb_expect.
889bf7c5 6342 * gdb.reverse/finish-precsave.exp:
bcd2dc50 6343 Replace uses of send_gdb / gdb_expect.
889bf7c5 6344 * gdb.reverse/finish-reverse.exp:
bcd2dc50 6345 Replace uses of send_gdb / gdb_expect.
889bf7c5 6346 * gdb.reverse/i386-precsave.exp:
bcd2dc50 6347 Replace uses of send_gdb / gdb_expect.
889bf7c5 6348 * gdb.reverse/i386-reverse.exp:
bcd2dc50 6349 Replace uses of send_gdb / gdb_expect.
889bf7c5 6350 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 6351 Replace uses of send_gdb / gdb_expect.
889bf7c5 6352 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 6353 Replace uses of send_gdb / gdb_expect.
889bf7c5 6354 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 6355 Replace uses of send_gdb / gdb_expect.
889bf7c5 6356 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 6357 Replace uses of send_gdb / gdb_expect.
889bf7c5 6358 * gdb.reverse/machinestate.exp:
bcd2dc50 6359 Replace uses of send_gdb / gdb_expect.
889bf7c5 6360 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 6361 Replace uses of send_gdb / gdb_expect.
889bf7c5 6362 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 6363 Replace uses of send_gdb / gdb_expect.
889bf7c5 6364 * gdb.reverse/solib-precsave.exp:
bcd2dc50 6365 Replace uses of send_gdb / gdb_expect.
889bf7c5 6366 * gdb.reverse/solib-reverse.exp:
bcd2dc50 6367 Replace uses of send_gdb / gdb_expect.
889bf7c5 6368 * gdb.reverse/step-precsave.exp:
bcd2dc50 6369 Replace uses of send_gdb / gdb_expect.
889bf7c5 6370 * gdb.reverse/step-reverse.exp:
bcd2dc50 6371 Replace uses of send_gdb / gdb_expect.
889bf7c5 6372 * gdb.reverse/until-precsave.exp:
bcd2dc50 6373 Replace uses of send_gdb / gdb_expect.
889bf7c5 6374 * gdb.reverse/until-reverse.exp:
bcd2dc50 6375 Replace uses of send_gdb / gdb_expect.
889bf7c5 6376 * gdb.reverse/watch-precsave.exp:
bcd2dc50 6377 Replace uses of send_gdb / gdb_expect.
889bf7c5 6378 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
6379 Replace uses of send_gdb / gdb_expect.
6380
3def43e0
JK
63812010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6382
6383 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
6384 excessive newline.
6385
27d3a1a2 63862010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
6387
6388 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
6389 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
6390 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
6391 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
6392 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
6393 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
6394 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
6395 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
6396 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
6397 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
6398 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
6399 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
6400 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
6401 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
6402 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
6403 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
6404 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
6405 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
6406 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 6407
27d3a1a2 64082010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 6409
22454424
MS
6410 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
6411 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
6412
6413 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
6414 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
6415 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
6416
889bf7c5 6417 * gdb.reverse/consecutive-reverse.exp:
22454424 6418 Replace uses of send_gdb / gdb_expect.
889bf7c5 6419 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
6420 Replace uses of send_gdb / gdb_expect.
6421
6422 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
6423 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
6424 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 6425 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
6426 Replace uses of send_gdb / gdb_expect.
6427 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
6428 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
6429 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
6430 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
6431 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
6432 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
6433 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
6434 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
6435 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
6436
64372010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 6438
22454424 6439 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 6440
22454424 6441 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 6442
22454424
MS
6443 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
6444 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
6445 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
6446 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
6447 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
6448 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
6449 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
6450 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
6451 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 6452
6e5f2c59
TT
64532010-05-25 Tom Tromey <tromey@redhat.com>
6454
6455 * gdb.base/macscp.exp: Add missing space after setup_kfail.
6456
bbc8b958
TT
64572010-05-25 Tom Tromey <tromey@redhat.com>
6458
6459 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
6460 argument order.
6461 * gdb.base/macscp.exp: Fix setup_kfail argument order.
6462 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
6463 order.
6464 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
6465 order.
6466 * gdb.base/call-sc.exp (setup_kfails): Remove.
6467 (setup_compiler_kfails): Remove.
6468 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
6469 argument order.
6470 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
6471 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
6472 (advancei): Fix setup_kfail argument order.
6473 * gdb.base/radix.exp: Fix setup_kfail argument order.
6474 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
6475 order.
6476 * gdb.base/structs.exp (setup_kfails): Remove.
6477 (setup_compiler_kfails): Fix setup_kfail argument order.
6478 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
6479 order.
6480 * gdb.java/jmain.exp: Fix setup_kfail argument order.
6481 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
6482 setup_kfail argument order.
6483 * gdb.cp/overload.exp: Fix setup_kfail argument order.
6484
83d1babf
TT
64852010-05-25 Tom Tromey <tromey@redhat.com>
6486
6487 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
6488
6acb16a2
MS
64892010-05-25 Michael Snyder <msnyder@vmware.com>
6490
6491 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
6492 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
6493 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
6494 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
6495 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
6496 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
6497 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
6498 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
6499 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
6500 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
6501 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
6502 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
6503 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
6504 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
6505 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
6506 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
6507 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
6508 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
6509 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
6510 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
6511 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
6512 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
6513 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
6514 * gdb.base/default.exp: Replace send_gdb with gdb_test.
6515 * gdb.base/define.exp: Replace send_gdb with gdb_test.
6516 * gdb.base/display.exp: Replace send_gdb with gdb_test.
6517 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
6518 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
6519 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
6520 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
6521 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
6522 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
6523 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
6524 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
6525 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
6526 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
6527 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
6528 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
6529 * gdb.base/help.exp: Replace send_gdb with gdb_test.
6530 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
6531 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
6532 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
6533 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
6534 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
6535 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
6536 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
6537 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 6538 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
6539
65402010-05-25 Doug Evans <dje@google.com>
6541
6542 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
6543 gdb.string_to_argv.
ad3986f0 6544
d3b1e874
TT
65452010-05-21 Tom Tromey <tromey@redhat.com>
6546
6547 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
6548 Call it.
6549 * gdb.dwarf2/pieces.S: Update.
6550 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
6551
cb826367
TT
65522010-05-21 Tom Tromey <tromey@redhat.com>
6553
6554 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
6555 Call it.
6556 * gdb.dwarf2/pieces.c (struct C): New.
6557 (f6): New function.
6558 * gdb.dwarf2/pieces.S: Replace.
6559
74de6778
TT
65602010-05-21 Tom Tromey <tromey@redhat.com>
6561
6562 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
6563 Call it.
6564
afd74c5f
TT
65652010-05-21 Tom Tromey <tromey@redhat.com>
6566
6567 * gdb.dwarf2.pieces.exp: New file.
6568 * gdb.dwarf2.pieces.S: New file.
6569 * gdb.dwarf2.pieces.c: New file.
6570
a7b75dfd 65712010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 6572 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
6573
6574 * lib/gdb.exp (gdb_test_no_output): New function.
6575 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
6576 when testing commands that should produce no output.
6577
c81c812a
JB
65782010-05-17 Joel Brobecker <brobecker@adacore.com>
6579
6580 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
6581 parameter that we want to watch being a constant.
6582
0cce5bd9
JB
65832010-05-17 Joel Brobecker <brobecker@adacore.com>
6584
6585 * gdb.ada/cond_lang: New testcase.
6586
47050449
JB
65872010-05-17 Joel Brobecker <brobecker@adacore.com>
6588
6589 * lib/gdb.exp (banned_variables): New variable/constant.
6590 (gdb_init): Add write trace on variables listed in banned_variables.
6591 (gdb_finish): Remove write traces on variables listed in
6592 banned_variables.
6593
77c01586
JB
65942010-05-17 Joel Brobecker <brobecker@adacore.com>
6595
6596 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
6597 * gdb.cp/koenig.exp: Likewise.
6598
88d4aea7
PM
65992010-05-14 Phil Muldoon <pmuldoon@redhat.com>
6600
889bf7c5 6601 PR python/11482
88d4aea7
PM
6602
6603 * gdb.python/py-value.exp (test_value_hash): New function.
6604
f5a010c0
PM
66052010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
6606
6607 PR exp/11530.
6608 * gdb.base/gdb11530.c: New file.
6609 * gdb.base/gdb11530.exp: New file.
6610
8ef4892f
JK
66112010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6612
6613 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
6614 * gdb.dwarf2/dw2-modula2-self-type.S: New.
6615
7322dca9
SW
66162010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
6617
6618 * gdb.cp/koenig.exp: New test.
6619 * gdb.cp/koenig.cc: New test program.
6620
02e7ea18
JB
66212010-05-05 Joel Brobecker <brobecker@adacore.com>
6622
6623 Remove the use of prms_id and bug_id throughout the testsuite.
6624
e1c34c5d
PM
66252010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
6626
6627 PR exp/11349.
6628 * testsuite/gdb.cp/ref-types.exp: Add test to examine
6629 use a reference local variable.
6630
8e1d0c49
JK
66312010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6632
6633 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
6634 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
6635 variable different_dir. Move debugfile into a full directory pathname
6636 under DIFFERENT_DIR.
6637 * lib/gdb.exp (separate_debug_filename): Remove.
6638 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
6639 variable debug_dir and mkdir of it. Update function comments.
6640
e66408ed
PA
66412010-04-29 Pedro Alves <pedro@codesourcery.com>
6642
6643 PR gdb/11557
6644
6645 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
6646 files.
6647
d7b32ed3
PM
66482010-04-29 Phil Muldoon <pmuldoon@redhat.com>
6649
889bf7c5 6650 * gdb.python/py-param.exp: New File.
d7b32ed3 6651
6aecb9c2
JB
66522010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
6653
6654 * gdb.base/default.exp: Fix "set language" test.
6655
bdf92a1c
PM
66562010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
6657
6658 PR breakpoints/11531.
6659 * gdb.base/gdb11531.c: New file.
6660 * gdb.base/gdb11531.exp: New file.
6661
3f172e24
TT
66622010-04-26 Tom Tromey <tromey@redhat.com>
6663
6664 * gdb.base/completion.exp: Add tests for completion and deprecated
6665 commands.
6666
64af4c92
JK
66672010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6668
6669 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
6670 (print /x char_array): Escape curly brackets.
6671
492928e4
JK
66722010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6673
6674 Fix deadlock on looped list of loaded shared objects.
6675 * gdb.base/solib-corrupted.exp: New.
6676
66d09542
DE
66772010-04-23 Doug Evans <dje@google.com>
6678
6679 * gdb.python/py-section-script.c: New file.
6680 * gdb.python/py-section-script.exp: New file.
6681 * gdb.python/py-section-script.py: New file.
6682
8bd10a10
CM
66832010-04-20 Chris Moller <cmoller@redhat.com>
6684
6685 PR 10179
6686
6687 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
6688 * gdb.base/pr10179-a.c:
6689 * gdb.base/pr10179-b.c:
6690 * gdb.base/pr10179.exp: New files.
6691
c0201579
JK
66922010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6693
6694 Fix crashes on dangling display expressions.
6695 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
6696 is SEP.
6697 (lib_flags): Remove the "debug" keyword.
6698 (libsepdebug): New variable for iterating new loop.
6699 (save_pf_prefix): New variable wrapping the loop.
6700 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
6701 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
6702
793b0ff8
PM
67032010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6704
6705 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
6706
097f51f7
PM
67072010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6708
6709 PR stabs/11479.
6710 * gdb.stabs/gdb11479.exp: New file.
6711 * gdb.stabs/gdb11479.c: New file.
6712
9a22f0d0
PM
67132010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6714
6715 * gdb.base/charset.c (Strin16, String32): New variables.
6716 * gdb.base/charset.exp (gdb_test): Test correct display
6717 of 16 or 32 bit strings.
6718
67192010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
6720
6721 PR 9167
6722 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
6723 * gdb.cp/pr9167.cc: New file.
6724 * gdb.cp/pr9167.exp: New file.
6725
6726
6e354e5e
PM
67272010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
6728
6729 PR pascal/11492.
6730 * gdb.pascal/gdb11492.pas: New file.
6731 * gdb.pascal/gdb11492.exp: New file.
6732
be942545
JB
67332010-04-20 Joel Brobecker <brobecker@adacore.com>
6734
1667e6e3 6735 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 6736
0c3acc09
JB
67372010-04-20 Joel Brobecker <brobecker@adacore.com>
6738
6739 * gdb.ada/dyn_loc: New testcase.
6740
ec31cde5
CM
67412010-04-20 Chris Moller <cmoller@redhat.com>
6742
6743 PR 10867
889bf7c5 6744
ec31cde5
CM
6745 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
6746 * gdb.cp/pr10687.cc: New file.
6747 * gdb.cp/pr10687.exp: New file.
6748
6749
ce4b0682
SDJ
67502010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6751 Sergio Durigan Junior <sergiodj@redhat.com>
6752
6753 * gdb.fortran/logical.exp: New testcase.
6754 * gdb.fortran/logical.f90: New file.
6755
3436961f
DE
67562010-04-19 Doug Evans <dje@google.com>
6757
6758 * gdb.base/help.exp (help source): Update expected output.
6759
4d836c09
JK
67602010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6761
6762 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
6763 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
6764 gdb_exit and return.
6765 (executable): New variable.
6766 (binfile): Use it.
6767
6149aea9
PA
67682010-04-19 Pedro Alves <pedro@codesourcery.com>
6769
6770 PR breakpoints/8554.
6771
6772 * gdb.trace/save-trace.exp: Adjust.
6773
ed41462c
L
67742010-04-17 H.J. Lu <hongjiu.lu@intel.com>
6775
6776 PR corefiles/11511
6777 * gdb.arch/system-gcore.exp: New.
6778 * gdb.arch/gcore.c: Likewise.
6779
3f7b2faa
DE
67802010-04-15 Doug Evans <dje@google.com>
6781
fa33c3cd
DE
6782 * gdb.python/py-progspace.c: New file.
6783 * gdb.python/py-progspace.exp: New file.
6784
3f7b2faa
DE
6785 * gdb.base/source.exp: Add tests for "source -s".
6786
79f283fe
PM
67872010-04-14 Phil Muldoon <pmuldoon@redhat.com>
6788
6789 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
6790 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
6791 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
6792 * gdb.python/py-mi.exp: New test for to_string returning None.
6793
fc8eb08a
PM
67942010-04-12 Phil Muldoon <pmuldoon@redhat.com>
6795
6796 * gdb.python/py-breakpoint.c: Make result global.
6797
26e197f6
JK
67982010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6799
6800 Fix non-GNU make compatibility.
6801 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
6802
adc36818
PM
68032010-04-09 Phil Muldoon <pmuldoon@redhat.com>
6804
6805 * gdb.python/py-breakpoint.exp: New File.
6806 * gdb.python/py-breakpoint.C: Ditto.
6807
64e17368
SS
68082010-04-08 Stan Shebs <stan@codesourcery.com>
6809
6810 * gdb.trace/actions.exp: Clear default-collect.
6811 * gdb.trace/save-trace.exp: Clear default-collect.
6812
fff5cc64
PM
68132010-04-08 Phil Muldoon <pmuldoon@redhat.com>
6814
6815 * gdb.python/py-value: Add null string variable.
6816 (test_lazy_string): Test zero length, NULL address lazy
6817 strings.
6818
a055a187
L
68192010-04-07 H.J. Lu <hongjiu.lu@intel.com>
6820
6821 * gdb.arch/i386-avx.c: New.
6822 * gdb.arch/i386-avx.exp: Likewise.
6823
6824 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
6825
96e39866
DE
68262010-04-06 Doug Evans <dje@google.com>
6827
6828 * gdb.base/source-test.gdb: New file.
6829 * gdb.base/source.exp: Test source -v.
6830
5984a431
UW
68312010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6832
6833 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
6834
ec8a089a
PM
68352010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
6836
6837 * gdb.stabs/aout.sed: Convert all backslash to double backslash
6838 within one line, unless it is followed by a double quote.
6839 * gdb.stabs/hppa.sed: Idem.
6840 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
6841 * gdb.stabs/weird.exp: Check for correct parsing of
6842 char and string constants.
ec8a089a
PM
6843 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
6844 in .stabs to .stabx substitution.
6845
fce3c1f0
SS
68462010-04-05 Stan Shebs <stan@codesourcery.com>
6847
6848 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
6849 constant global.
6850 * gdb.trace/tfile.exp: Try to print them.
6851
d77f58be
SS
68522010-04-04 Stan Shebs <stan@codesourcery.com>
6853
6854 * gdb.base/completion.exp: Update for new "info watchpoints".
6855 * gdb.base/default.exp: Ditto.
6856 * gdb.base/help.exp: Ditto.
6857 * gdb.base/watchpoint.exp: Ditto.
6858 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 6859
af54718e
SS
68602010-04-04 Stan Shebs <stan@codesourcery.com>
6861
6862 * gdb.trace/tfile.exp: Sharpen tfind test.
6863
74d1f91e
JK
68642010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6865
6866 * gdb.base/break-entry.exp: New.
6867
eb8e76db 68682010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 6869 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
6870
6871 * gdb.reverse/i386-sse-reverse.exp: New file.
6872 * gdb.reverse/i386-sse-reverse.c: New file.
6873
bf65cad8
PA
68742010-04-02 Pedro Alves <pedro@codesourcery.com>
6875
6876 * gdb.trace/tfind.exp: Adjust expected disassembly output.
6877
fff87407
SS
68782010-04-01 Stan Shebs <stan@codesourcery.com>
6879
6880 * gdb.trace/actions.exp: Tweak expected output.
6881 * gdb.trace/while-stepping.exp: Tweak expected output.
6882
fe01d668
L
68832010-04-01 H.J. Lu <hongjiu.lu@intel.com>
6884
6885 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
6886
86b17b60
PA
68872010-04-01 Pedro Alves <pedro@codesourcery.com>
6888
6889 * gdb.base/commands.exp: Adjust.
6890 * gdb.cp/extern-c.exp: Adjust.
6891
2c58c0a9
PA
68922010-04-01 Pedro Alves <pedro@codesourcery.com>
6893
6894 * gdb.trace/collection.c (local_test_func): Define a local struct,
6895 and instanciate it.
6896
0db9b91c
PA
68972010-04-01 Pedro Alves <pedro@codesourcery.com>
6898
6899 * gdb.trace/collection.exp (gdb_collect_args_test)
6900 (gdb_collect_argarray_test): XFAIL the tests that assume the
6901 argarray argument's elements are collected.
6902
8072405b
JK
69032010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
6904
6905 * gdb.dwarf2/dw2-bad-parameter-type.exp,
6906 gdb.dwarf2/dw2-bad-parameter-type.S: New.
6907
8bf6485c
SS
69082010-03-31 Stan Shebs <stan@codesourcery.com>
6909
6910 * gdb.trace/save-trace.exp: Test save/restore of default-collect
6911 and tracepoint conditionals.
6912 (gdb_verify_tracepoints): Delete unused return.
6913
fd7f724a
KS
69142010-03-26 Keith Seitz <keiths@redhat.com>
6915
6916 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
6917 appear in the output before main.
6918 Remove KFAIL for gdb/2215 aka bz 9320.
6919
8d9e7719
DE
69202010-03-30 Doug Evans <dje@google.com>
6921
0906dd0b
DE
6922 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
6923 by dejagnu.
6924 * gdb.arch/amd64-dword.exp: Ditto.
6925
8d9e7719
DE
6926 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
6927 match.
6928 (break printf): Ditto.
6929
1da644f0
SW
69302010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
6931
6932 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
6933 gcc < 4.4.
6934 * gdb.cp/shadow.exp: Ditto.
6935
a8121990
PA
69362010-03-29 Pedro Alves <pedro@codesourcery.com>
6937
6938 * gdb.trace/collection.exp (run_trace_experiment): Make sure
6939 "tstart" is silent.
6940
6e79d367
PA
69412010-03-29 Pedro Alves <pedro@codesourcery.com>
6942
6943 * gdb.trace/collection.exp (executable): New.
6944 (binfile): Use it.
6945 (fpreg, spreg, pcreg): New.
6946 (test_register): Use gdb_test_multiple. Pass /x to print.
6947 (prepare_for_trace_test): New.
6948 (run_trace_experiment): Use "continue", not gdb_run_cmd.
6949 (gdb_collect_args_test, gdb_collect_argstruct_test)
6950 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
6951 prepare_for_trace_test.
6952 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
6953 fpreg, spreg and pcreg.
6954 (gdb_collect_expression_test, gdb_collect_globals_test): Use
6955 prepare_for_trace_test.
6956 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
6957 try to detect tracing support here. Don't set breakpoints at
6958 `begin' or `end' here.
6959 <global scope>: Use clean_restart. Run to main before checking
6960 for tracing support. Check for for tracing support here.
6961
09248348
JK
69622010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6963
6964 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
6965 " as $displacement" to "seen displacement message".
6966
d350db38
PA
69672010-03-28 Pedro Alves <pedro@codesourcery.com>
6968
6969 * gdb.trace/while-dyn.exp (executable): New variable.
6970 (binfile): Use it.
6971 (test_while_stepping): New function. Move most tests here. Call
6972 it once for each of the while-stepping, stepping and ws aliases.
6973
907af001
UW
69742010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6975
6976 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
6977 that do not provide the tagless_struct type name at all.
6978 (test_print_anon_union): Do not check value of uninitialized
6979 union member. Do not use cp_test_ptype_class, so we can accept
6980 "long" as well as "long int".
6981
610197fd
PA
69822010-03-26 Pedro Alves <pedro@codesourcery.com>
6983
6984 * gdb.trace/tfile.c (tohex, bin2hex): New.
6985 (write_error_trace_file): Hexify error description.
6986
6c28cbf2
SS
69872010-03-25 Stan Shebs <stan@codesourcery.com>
6988
6989 * gdb.trace/tfile.c: Generate an additional trace file, improve
6990 portability.
6991 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
6992 files in a better way.
6993
e62b8c7e
KS
69942010-03-25 Keith Seitz <keiths@redhat.com>
6995
6996 * gdb.java/jprint.exp: XFAIL printing of static class members
6997 because of GCC debuginfo problem.
6998
82ccf5a5
JK
69992010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7000
7001 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
7002
293e2f9e
DJ
70032010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
7004
7005 * gdb.base/completion.exp: Allow long instead of long int.
7006 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
7007 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
7008 variable p.
7009 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
7010 * gdb.base/pointers.exp: Allow long instead of long int.
7011 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
7012 * gdb.base/step-line.exp: Allow a directory before the source file name.
7013
95a42b64
TT
70142010-03-24 Tom Tromey <tromey@redhat.com>
7015
7016 PR breakpoints/9352:
7017 * gdb.base/default.exp: Update.
7018 * gdb.base/commands.exp: Update.
7019 * gdb.cp/extern-c.exp: Test setting commands on multiple
7020 breakpoints at once.
7021
2390201f
DJ
70222010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
7023
7024 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
7025 if gdb,nosignals.
7026 * gdb.base/watchpoints.c: Do not include unnecessary headers.
7027 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
7028 exited".
7029
8c9a6790
SS
70302010-03-24 Stan Shebs <stan@codesourcery.com>
7031
7032 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
7033
a6c727b2
DJ
70342010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
7035
7036 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
7037 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
7038 argument. Handle "short" and "long".
7039 (Top level): Pass overprototyped output for old_fptr and xptr.
7040
4dfd5423
PA
70412010-03-23 Pedro Alves <pedro@codesourcery.com>
7042
7043 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
7044 format strings and add casts to avoid compiler warnings.
7045
70462010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
7047
7048 * lib/trace-support.exp (gdb_trace_setactions):
7049 Don't expect whitespace after ">" prompt.
7050 * gdb.trace/actions.exp: Adjust for output changes.
7051 * gdb.trace/while-stepping.exp: Likewise.
7052
c847d045
JK
70532010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7054
7055 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
7056 and r157645).
7057
5f717f1d
JK
70582010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7059
7060 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
7061 New.
7062
7d6d51d5
DJ
70632010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
7064
7065 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
7066 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
7067
3b11a015
SS
70682010-03-19 Stan Shebs <stan@codesourcery.com>
7069
7070 * gdb.trace/ax.exp: New file.
7071
d7d158ed
DE
70722010-03-19 Doug Evans <dje@google.com>
7073
6bb85cd1
DE
7074 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
7075 output from gcc.
7076
d7d158ed
DE
7077 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
7078 named /usr/sbin/prelink<foo>.
7079
4daf5ac0
SS
70802010-03-18 Stan Shebs <stan@codesourcery.com>
7081
7082 * gdb.trace/circ.exp: Test circular-trace-buffer.
7083 * gdb.trace/tfile.exp: Update tstatus test.
7084
e8d05480
JB
70852010-03-18 Joel Brobecker <brobecker@adacore.com>
7086
7087 * gdb.dwarf2/dw2-anonymous-func.S: New file.
7088 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
7089
441b986a
UW
70902010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7091
7092 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
7093
4247603b
PA
70942010-03-18 Pedro Alves <pedro@codesourcery.com>
7095
7096 * gdb.base/default.exp: Adjust the expected output of the finish
7097 and until commands when the inferior is not being run.
7098
13387711
SW
70992010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
7100
7101 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
7102 * gdb.cp/nsusing.exp: Ditto.
7103
6e31430b
TT
71042010-03-15 Tom Tromey <tromey@redhat.com>
7105
7106 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
7107 * gdb.cp/userdef.cc (operator==): New function.
7108 (main): New locals mem1, mem2.
7109
e2d69cb5
JZ
71102010-03-15 Jie Zhang <jie@codesourcery.com>
7111
7112 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
7113 Declare and use new loadtimeout variable.
7114
f572f0a9
DJ
71152010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
7116
7117 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
7118 Use gdb_load later.
7119
51f4c0b0
PA
71202010-03-14 Pedro Alves <pedro@codesourcery.com>
7121
7122 * gdb.base/solib-disc.c (main): Make format of fprintf a string
7123 literal. Add missing endlines to prints to stderr.
7124
1c809c68
TT
71252010-03-12 Tom Tromey <tromey@redhat.com>
7126
7127 PR c++/9708:
7128 * gdb.cp/m-static.exp: Add regression test.
7129 * gdb.cp/m-static.cc (method): New method.
7130 (main): Call it.
7131
00ae8fef
SW
71322010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
7133
7134 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
7135 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
7136
759f0f0b
PA
71372010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
7138
21e24d21
PA
7139 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
7140
71412010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
7142
759f0f0b
PA
7143 * lib/gdb.exp (skip_stl_tests): New.
7144 (gdb_compile): Symbian needs -ldl.
7145 (shlib_target_file): New.
7146 (shlib_symbol_file): New.
7147 (gdb_load_shlibs): Use shlib_target_file.
7148 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
7149 * gdb.cp/exception.exp: Use skip_stl_tests.
7150 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
7151 * gdb.cp/try_catch.exp: Use skip_stl_tests.
7152 * gdb.cp/mb-templates.exp: Ditto.
7153 * gdb.base/commands.exp: Relax regexes.
7154 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
7155 shlib_target_file and shlib_symbol_file.
7156 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
7157 sections.
7158 * gdb.base/ending-run.exp: Accept E32Main for symbian.
7159 * gdb.base/solib-disc.exp: Use
7160 shlib_target_file and shlib_symbol_file.
7161 * gdb.base/unload.exp: Don't skip on symbian. Use
7162 shlib_target_file and shlib_symbol_file.
7163 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
7164
6a8f2671 71652010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 7166
6a8f2671
PA
7167 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
7168 * gdb.trace/report.exp: Adjust for x86 and x86_64.
7169 Issue a tfind end before looking for a tracepoint frame.
7170 * gdb.trace/tfind.exp: Adjust tstatus output.
7171 Adjust disassembly output.
7172 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
7173
ccf26247
JK
71742010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7175
7176 * gdb.base/break-interp.exp: Create new displacement parameter value
7177 for the test_ld calls.
7178 (reach): New parameter displacement, verify its content. New push of
7179 pf_prefix "reach-$func:". Import global expect_out.
7180 (test_core): New parameter displacement, verify its content. New push
7181 of pf_prefix "core:". New command "set verbose on". Import global
7182 expect_out.
7183 (test_attach): New parameter displacement, verify its content. New
7184 push of pf_prefix "attach:". New command "set verbose on". Import
7185 global expect_out.
7186 (test_ld): New parameter displacement, pass it to the reach, test_core
7187 and test_attach calls and verify its content in the "ld.so exit" test.
7188 * gdb.base/prelink.exp: Remove gdb_exit and final return.
7189 (prelink): Update expected text, use gdb_test.
7190
e469c7fb
DE
71912010-03-10 Doug Evans <dje@google.com>
7192
7193 * gdb.base/checkpoint.exp: Fix comment.
7194 Lengthen timeout while doing >600 checkpoints test.
7195 Rename duplicate "kill all one" test to keep test names unique.
7196
60e1c644
PA
71972010-03-10 Pedro Alves <pedro@codesourcery.com>
7198
7199 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
7200
cec808ec
KS
72012010-03-08 Keith Seitz <keiths@redhat.com>
7202
889bf7c5
PA
7203 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
7204 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
7205 (dm_type_long): New function.
7206 (dm_type_unsigned_short): New function.
7207 (dm_type_unsigned_long): New function.
7208 (myint): New typedef.
7209 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
7210 long, unsigned shor and long, operator char*, and typedef.
7211 (test_lookup_operator_functions): Add operator char* test.
7212 (test_paddr_operator_functions): Likewise.
7213 (test_paddr_overloaded_functions): Use probe values for
7214 short, long, and unsigned short and long.
7215 (test_paddr_hairy_functions): If the demangler probe detected
7216 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
7217 demangler.
7218 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
7219 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
7220 and "print null_pmf".
7221 Add test "ptype a.*pmf".
7222 * gdb.cp/overload.exp: Allow optional "int" to appear with
7223 "short" and "long".
7224 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
7225 long expect value for men_overload1arg.
7226 Allow "int" to appear with "short" and "long".
7227 When testing "info break", add argument for main (void).
7228 Also allow "int" to appear with "short" and "long".
7229 Ditto with "unsigned" and "long long".
cec808ec
KS
7230 * gdb.java/jmain.exp: Do not enclose methods names in single
7231 quotes.
7232 * gdb.java/jmisc.exp: Likewise.
7233 * gdb.java/jprint.exp: Likewise.
7234 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
7235
7236 From Jan Kratochvil <jan.kratochvil@redhat.com>:
7237 * gdb.cp/exception.exp (backtrace after first throw)
7238 (backtrace after second throw): Allow a namespace before __cxa_throw.
7239 (backtrace after first catch, backtrace after second catch): Allow
7240 a namespace before __cxa_begin_catch.
7241
7242 * gdb.cp/cpexprs.exp: New file.
7243 * gdb.cp/cpexprs.cc: New file.
7244
7245 From Daniel Jacobowitz <dan@codesourcery.com>
7246 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
7247 to use string_to_regexp.
7248 (ctor, dtor): New functions. Use them to match constructor
7249 and destructor function types.
7250 (Top level): Use runto_main.
7251
f870a310
TT
72522010-03-05 Tom Tromey <tromey@redhat.com>
7253
7254 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
7255 gdb.target_charset.
7256 (pp_ns.to_string): Likewise.
7257
0c199f28
KS
72582010-03-04 Keith Seitz <keiths@redhat.com>
7259
7260 * gdb.cp/overload.exp: Test that the filename portion of a linespec
7261 can be quoted. Test that both the filename and function/line
7262 portions can be quoted at the same time.
7263
c7437ca6
PA
72642010-03-04 Pedro Alves <pedro@codesourcery.com>
7265
7266 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
7267
b111b805
DE
72682010-03-03 Doug Evans <dje@google.com>
7269
24486cb7
DE
7270 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
7271 libc contains libpthread.
7272
b111b805
DE
7273 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
7274 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
7275 of gdb_compile. Add another pattern to match android backtrace.
7276
a0e0ef55
TT
72772010-03-03 Tom Tromey <tromey@redhat.com>
7278
7279 PR gdb/11345:
7280 * gdb.base/printcmds.exp (test_printf): Add test.
7281
1ba53b71
L
72822010-03-02 H.J. Lu <hongjiu.lu@intel.com>
7283
7284 * gdb.arch/amd64-byte.exp: New.
7285 * gdb.arch/amd64-dword.exp: Likewise.
7286 * gdb.arch/amd64-pseudo.c: Likewise.
7287 * gdb.arch/amd64-word.exp: Likewise.
7288 * gdb.arch/i386-byte.exp: Likewise.
7289 * gdb.arch/i386-pseudo.c: Likewise.
7290 * gdb.arch/i386-word.exp: Likewise.
7291
f5dff777
DJ
72922010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
7293
7294 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
7295 types. Add structreg, bitfields, and flags registers.
7296 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
7297 registers.
7298
90884b2b
L
72992010-03-01 H.J. Lu <hongjiu.lu@intel.com>
7300
7301 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
7302 (load_description): Set architecture if defined.
7303
dc00d89f
PM
73042010-02-28 Phil Muldoon <pmuldoon@redhat.com>
7305
7306 * gdb.python/py-frame.exp: Add read_var block tests.
7307 * gdb.python/py-frame.c (block): New function.
7308
0e095b7e
JK
73092010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7310 Daniel Jacobowitz <dan@codesourcery.com>
7311
7312 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
7313
624f1a65
DM
73142010-02-25 David S. Miller <davem@davemloft.net>
7315
7316 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
7317 fix logic for setting all_syscalls_numbers.
7318
f3e9a817
PM
73192010-02-24 Phil Muldoon <pmuldoon@redhat.com>
7320
7321 * Makefile.in: Add py-block and py-symbol.
7322 * gdb.python/py-symbol.exp: New File.
7323 * gdb.python/py-symtab.exp: New File.
7324 * gdb.python/py-block.exp: New File.
7325 * gdb.python/py-symbol.c: New File.
7326 * gdb.python/py-block.c: New File.
7327
f6bbabf0
PM
73282010-02-24 Phil Muldoon <pmuldoon@redhat.com>
7329
7330 PR python/11314
7331 * lib/gdb.exp (skip_python_tests): New function.
7332 * gdb.python/py-cmd.exp: Use skip_python_tests.
7333 * gdb.python/py-frame.exp: Likewise.
7334 * gdb.python/py-function.exp: Likewise.
7335 * gdb.python/py-prettyprint.exp: Likewise.
7336 * gdb.python/py-template.exp: Likewise.
7337 * gdb.python/py-type.exp: Likewise.
7338 * gdb.python/py-value.exp: Likewise.
7339
85d721b8
PA
73402010-02-22 Pedro Alves <pedro@codesourcery.com>
7341
7342 PR9605
7343
7344 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
7345
48e32051
TT
73462010-02-19 Tom Tromey <tromey@redhat.com>
7347
7348 PR c++/8693, PR c++/9496:
7349 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
7350 regression tests.
7351
ac9c0048
JK
73522010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7353
7354 Fix compatibility with m68k as.
7355 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
7356 Use only /* comments */.
7357
57bb97a4
UW
73582010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7359
7360 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
7361 * configure: Regenerate.
7362
7d1bf85c
DJ
73632010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
7364
7365 * gdb.python/py-type.exp: Check for Python support.
7366
061b5285
PA
73672010-02-17 Pedro Alves <pedro@codesourcery.com>
7368
7369 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
7370 `regsub' syntax available.
7371
f8a8bc2c
PA
73722010-02-17 Pedro Alves <pedro@codesourcery.com>
7373
7374 * gdb.base/shmain.c (main): Remove printf call.
7375 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
7376 * gdb.base/unload.c (main): Make format of fprintf a string
7377 literal. Add missing endlines to prints to stderr.
7378 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
7379
6f451e5e
TT
73802010-02-17 Tom Tromey <tromey@redhat.com>
7381
7382 * gdb.java/jprint.java (jprint.props): New field.
7383 * gdb.java/jprint.exp (set_lang_java): Add regression test.
7384
12d79008
PA
73852010-02-17 Pedro Alves <pedro@codesourcery.com>
7386
ef801a0e 7387 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
7388 available.
7389
d252f7e5
DJ
73902010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7391
7392 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
7393 creation to support remote host testing.
7394
67bdab6c
DJ
73952010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7396
7397 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
7398 Recognize "command not found".
7399
bb391223
DJ
74002010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7401
7402 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
7403 single-stepping.
7404
70362913
DJ
74052010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7406
7407 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
7408 if arguments are not supported.
7409
493f3c00
DJ
74102010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7411
7412 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
7413 be const or non-const.
7414
8034c749
DJ
74152010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7416
7417 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
7418 mi_send_resuming_command to send -exec-continue.
7419
791dfb64
DJ
74202010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7421
7422 * gdb.base/list.exp (test_list_filename_and_function): Add test
7423 with single quotes.
7424 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
7425 matching.
7426 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
7427 Add KFAIL'd tests for PR gdb/11289.
7428
7c5fe868
DJ
74292010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7430
7431 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
7432
fdc498b8
DJ
74332010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7434
7435 * gdb.base/comp-dir/subdir/dummy.txt: New file.
7436 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
7437 a temporary directory.
7438
b519e2a6
DJ
74392010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7440
7441 * gdb.base/charset.exp: Use a single regular expression to match
7442 show host-charset and show target-charset output.
7443
74164c56
JK
74442010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7445
7446 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
7447 "Illegal process-id" expect string more exact.
7448 (attach to digits-starting nonsense is prohibited): New.
7449
701ed6dc
JK
74502010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7451
7452 * gdb.base/prelink.exp (set verbose on): New.
7453
889bf7c5 74542010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
7455
7456 * mi-reverse.exp: New file. Test for reverse option to the
7457 following MI commands: exec-continue, exec-finish, exec-next,
7458 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 7459
dadf0e9c
JB
74602010-02-09 Joel Brobecker <brobecker@adacore.com>
7461
7462 * gdb.ada/ptype_tagged_param: New testcase.
7463
714f19d5
TT
74642010-02-08 Tom Tromey <tromey@redhat.com>
7465
7466 PR c++/8017:
7467 * gdb.cp/overload.exp: Add tests.
7468 * gdb.cp/overload.cc (struct K): New.
7469 (namespace N): New.
7470 (main): Call new functions.
7471 (K::staticoverload): Define.
7472
889bf7c5 74732010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
7474
7475 PR gdb/10728
7476 * gdb.cp/pr10728-x.h: New file.
7477 * gdb.cp/pr10728-x.cc: New file.
7478 * gdb.cp/pr10728-y.cc: New file.
7479 * gdb.cp/pr10728.exp: New file.
7480 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
7481
889bf7c5 74822010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
7483
7484 PR gdb/9067
7485 * gdb.cp/pr9067.exp: New
7486 * gdb.cp/pr9067.cc: New
7487 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
7488
7b356089
JB
74892010-02-08 Joel Brobecker <brobecker@adacore.com>
7490
7491 * lib/gdb.exp (gdb_test_timeout): New global variable.
7492 Set it to timeout if not already set.
7493 (gdb_init): Reset the value of timeout to gdb_test_timeout.
7494
1be00882
DE
74952010-02-05 Doug Evans <dje@google.com>
7496
7497 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
7498 user.
7499
82856980
SW
75002010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
7501
7502 PR c++/7935:
7503 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
7504
1a334831
TT
75052010-02-04 Tom Tromey <tromey@redhat.com>
7506
7507 * gdb.cp/virtbase.exp: Make test case names unique.
7508
9c3c02fd
TT
75092010-02-02 Tom Tromey <tromey@redhat.com>
7510
7511 * gdb.cp/virtbase.exp: Add regression tests.
7512 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
7513 (main): Instantiate RHC.
7514
0cc2414c
TT
75152010-02-02 Tom Tromey <tromey@redhat.com>
7516
7517 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
7518 type-printing change.
7519
edf3d5f3
TT
75202010-02-02 Tom Tromey <tromey@redhat.com>
7521
7522 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
7523 * gdb.cp/virtbase.cc: New file.
7524 * gdb.cp/virtbase.exp: New file.
7525 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
7526
e4b7f41c
JK
75272010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7528
7529 PR libc/11214:
7530 * gdb.threads/current-lwp-dead.c: Include features.h.
7531 (HAS_NOMMU): New.
7532 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
7533
b381ea14
JK
75342010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7535
7536 * gdb.base/symbol-without-target_section.exp,
7537 gdb.base/symbol-without-target_section.c: New.
7538
c593ac0e
DJ
75392010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7540
7541 * gdb.base/bigcore.exp: Reset increased timeout.
7542 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
7543
db25f29d
DJ
75442010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7545
7546 * gdb.base/gcore.exp (capture_command_output): Use
7547 gdb_test_multiple.
7548
f9d67f43
DJ
75492010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7550
7551 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
7552 * gdb.arch/thumb2-it.exp (test_it_break): New function.
7553 (Top level): Call it.
7554
177321bd
DJ
75552010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7556
7557 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
7558
97f2ed50
DJ
75592010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7560
7561 * gdb.base/call-strs.exp, gdb.base/default.exp,
7562 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
7563 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
7564 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
7565 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
7566 gdb.base/watchpoint-solib.exp: Save and restore timeout.
7567 * gdb.base/ending-run.exp: Correct restore of timeout.
7568 * gdb.base/page.exp: Remove unnecessary timeout setting.
7569
e4e2711a
JB
75702010-01-29 Joel Brobecker <brobecker@adacore.com>
7571
7572 * gdb.ada/rec_return: New testcase.
7573
ba581dc1
JB
75742010-01-29 Joel Brobecker <brobecker@adacore.com>
7575
7576 * gdb.ada/call_pn: New testcase.
7577
4ea95be9
DJ
75782010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
7579
7580 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
7581 (Top level): Use it to resume.
7582 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
7583 the Thumb mode displaced stepping error as unsupported.
7584
df83a9bf
SW
75852010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
7586
889bf7c5
PA
7587 * gdb.cp/nsusing.exp: Added more tests.
7588 * gdb.cp/nsrecurs.exp: Ditto.
7589 * gdb.cp/nsusing.cc: Added test functions.
7590 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 7591
40b27cdc
JK
75922010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7593
7594 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
7595 absolute directory pathnames in gdb.sum file.
7596
de958931
SW
75972010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
7598
7599 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
7600 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
7601
708ead4e
TT
76022010-01-26 Tom Tromey <tromey@redhat.com>
7603
7604 PR exp/7643:
7605 * gdb.base/printcmds.exp (test_print_string_constants): Remove
7606 setup_kfail.
7607
b14e635e
SW
76082010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
7609
7610 * gdb.cp/nsrecurs.exp: New test.
7611 * gdb.cp/nsrecurs.cc: New test program.
7612 * gdb.cp/nsstress.exp: New test.
7613 * gdb.cp/nsstress.cc: New test program.
7614 * gdb.cp/nsdecl.exp: New test.
7615 * gdb.cp/nsdecl.cc: New test program.
7616
8540c487
SW
76172010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
7618
7619 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
7620 imported into file scope.
7621 Marked test as xfail.
7622 * gdb.cp/namespace-using.cc (marker5): New function.
7623 * gdb.cp/shadow.exp: New test.
7624 * gdb.cp/shadow.cc: New test program.
7625 * gdb.cp/nsimport.exp: New test.
7626 * gdb.cp/nsimport.cc: New test program.
7627
421d5d99
TT
76282010-01-25 Tom Tromey <tromey@redhat.com>
7629
7630 PR gdb/11049:
7631 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
7632 with "set print null-stop on".
7633
691f8dc1
JK
76342010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7635
7636 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
7637 Adjust it for DISASSEMBLY_OMIT_FNAME.
7638
0b92b5bb
TT
76392010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7640
7641 PR symtab/11199:
7642 * gdb.dwarf2/member-ptr-forwardref.exp,
7643 gdb.dwarf2/member-ptr-forwardref.S: New.
7644
23787403
JK
76452010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7646
7647 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
7648 (thread1_func): Protect thread1_tid with thread1_tid_cond by
7649 thread1_tid_mutex. Remove gdbstop_mutex handling.
7650 (thread2_func): Protect thread2_tid with thread2_tid_cond by
7651 thread2_tid_mutex. Remove gdbstop_mutex handling.
7652 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
7653 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
7654 pthread_cond_wait conditionalizations by while loops.
7655
b966cb8a
TT
76562010-01-20 Tom Tromey <tromey@redhat.com>
7657
7658 PR backtrace/10770:
7659 * gdb.dwarf2/pr10770.exp: New file.
7660 * gdb.dwarf2/pr10770.c: New file.
7661 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
7662
fcae584b
VP
76632010-01-20 Vladimir Prus <vladimir@codesourcery.com>
7664
7665 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
7666 that target was removed, and the test always runs native anyway.
7667
a0f49112
JK
76682010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7669
7670 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
7671 gdb.base/watchpoint-cond-gone-stripped.c: New.
7672
ceeb3d5a
TT
76732010-01-19 Tom Tromey <tromey@redhat.com>
7674
7675 PR c++/8000:
7676 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
7677 existing tests.
7678 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
7679 (main): Use AAA::SomeEnum.
7680
dd322c54
JK
76812010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7682
7683 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
7684 (test_ignore_count): Declare line_callme_body global.
7685 (run to breakpoint with ignore count): Use line_callme_body.
7686 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
7687 (set line_main_hello, set line_main_return): Reindent.
7688 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
7689 New.
7690 (continue to callee4): Use line_callee4_body.
7691 (check *stopped from CLI command): Use line_callee4_next.
7692 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
7693 (set line_main_hello, set line_main_return): Reindent.
7694 (set line_callee4_head, set line_callee4_body): New.
7695 (continue to callee4): Use line_callee4_body.
7696
4e8f195d
TT
76972010-01-18 Tom Tromey <tromey@redhat.com>
7698
7699 PR c++/9680:
7700 * gdb.cp/casts.cc: Add new classes and variables.
7701 * gdb.cp/casts.exp: Test new operators.
7702
9e14a9ba
JB
77032010-01-18 Tom Tromey <tromey@redhat.com>
7704 Thiago Jung Bauermann <bauerman@br.ibm.com>
7705
7706 * gdb.python/source2.py: New file.
7707 * gdb.python/source1: New file.
7708 * gdb.python/python.exp: Test "source" command.
7709
00bf0b85
SS
77102010-01-15 Stan Shebs <stan@codesourcery.com>
7711
7712 * gdb.trace/tfile.c: New file.
7713 * gdb.trace/tfile.exp: New file.
889bf7c5 7714
55235ad7
JK
77152010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7716
7717 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
7718
9f2982ff
JK
77192010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7720
7721 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
7722
bbfba9ed
JK
77232010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7724
7725 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
7726 (libfunc): New parameter action. Implement also selectable "sleep".
7727 * gdb.base/break-interp-main.c: Include assert.h.
7728 (libfunc): New parameter action.
7729 (main): New parameters argc and argv. Assert argc. Pass argv.
7730 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
7731 (test_attach): New proc.
7732 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
7733 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
7734
61f0d762
JK
77352010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7736
7737 * gdb.base/break-interp.exp (test_core): New proc.
7738 (test_ld): Call it.
7739
06a6f270
JK
77402010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7741
7742 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
7743 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
7744 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
7745 and gdb_compile_shlib. Use new -Wl compiler options.
7746 (dl bt, main bt): New tests.
7747
51bee8e9
JK
77482010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7749
7750 Support PIEs with no symfile_objfile.
7751 * gdb.base/break-interp.exp: New argument at the test_ld calls.
7752 (test_ld): New parameter trynosym.
7753 (test_ld <$trynosym>): New block.
7754
b8040f19
JK
77552010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7756
7757 * gdb.base/break-interp.exp: New file.
7758
be759fcf
PM
77592010-01-13 Phil Muldoon <pmuldoon@redhat.com>
7760
7761 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
7762 * gdb.python/py-prettyprint.py (pp_ls): New printer.
7763 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
7764 test.
7765 * gdb.python/py-prettyprint.c: Define lazystring test structure.
7766 * gdb.python/py-mi.exp: Add lazy string test.
7767
dc146f7c
VP
77682010-01-13 Vladimir Prus <vladimir@codesourcery.com>
7769
7770 * lib/mi-support.exp (mi_check_thread_states): Handle
7771 core number in thread listing.
7772
b4ba55a1
JB
77732010-01-12 Joel Brobecker <brobecker@adacore.com>
7774
7775 * gdb.base/maint.exp: Adjust the expected output for the
7776 "maint print type" test. Use gdb_test_multiple instead of
7777 gdb_sent/gdb_expect.
7778
08e24bd4
DE
77792010-01-11 Doug Evans <dje@google.com>
7780
6496a609
DE
7781 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
7782 from gdbserver_download. All callers updated.
7783
08e24bd4
DE
7784 * gdb.server/ext-run.exp: "info os processes" requires xml support.
7785
b5cfddf5
JK
77862010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7787
7788 Implement binary numbers parsing.
7789 * gdb.base/printcmds.exp (test_integer_literals_accepted)
7790 (test_integer_literals_rejected): New binary tests.
7791
3725885a
RW
77922010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7793
7794 * gdb.cell/configure: Regenerate.
7795
37aeb5df
JK
77962010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7797
7798 * gdb.base/corefile.exp: Move the core finding block out and call it as
7799 core_find, new variable $corefile, replace corefile by $corefile and
7800 [file tail $corefile] for usage vs. test names resp.
7801 * lib/gdb.exp (core_find): Move it as a new function here. New
7802 parameter binfile and deletefiles. New variable $destcore. Pre-delete
7803 $destcore. Return "" on error.
7804
d521f563
JK
78052010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7806
7807 Workaround PR binutils/10802.
7808 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
7809 (twice).
7810
28f24826
DJ
78112010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
7812
7813 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
7814
2de75e71
JB
78152010-01-08 Joel Brobecker <brobecker@adacore.com>
7816
7817 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
7818 call, to avoid interruption.
7819
fe00719b 78202010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
7821
7822 * gdb.stabs/weird.def (args93): New.
7823
d0ef5df8
DE
78242010-01-07 Doug Evans <dje@google.com>
7825
7826 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
7827
3a08d52f
TT
78282010-01-07 Tom Tromey <tromey@redhat.com>
7829
7830 * gdb.base/source.exp: Use correct line number.
7831
7a697b8d
SS
78322010-01-05 Stan Shebs <stan@codesourcery.com>
7833
7834 * gdb.trace/tracecmd.exp: Test ftrace.
7835
7803799a
UW
78362010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7837
7838 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
7839
c54eabfa
JK
78402010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7841
7842 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
7843 "uint_for_mi_testing".
7844
02e7ef19
JB
78452010-01-01 Joel Brobecker <brobecker@adacore.com>
7846
7847 Test indented comment in file being sourced.
7848 * gdb.base/commands.exp: Test indented comment in file being sourced.
7849
abd775ce
JB
78502010-01-01 Joel Brobecker <brobecker@adacore.com>
7851
7852 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
7853 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
7854 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
7855 notice.
7856
79b55b82
JB
78572010-01-01 Joel Brobecker <brobecker@adacore.com>
7858
7859 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
7860 notice.
7861
8997583e
JK
78622010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7863
7864 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
7865 missing $after_stopped and comma (,) expectation.
7866
6da95a67
SS
78672009-12-31 Stan Shebs <stan@codesourcery.com>
7868
7869 * gdb.trace/actions.exp: Test teval action.
889bf7c5 7870
218d2fc6
TJB
78712009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7872
7873 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
7874 (top level): Call test_watchpoint_in_big_blob.
7875 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
7876 watchpoints.
7877 (func3): Write to buf.
7878
236f1d4d
SS
78792009-12-29 Stan Shebs <stan@codesourcery.com>
7880
7881 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 7882
f61e138d
SS
78832009-12-28 Stan Shebs <stan@codesourcery.com>
7884
7885 * gdb.trace/tsv.exp: New file.
7886 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 7887
0219b378
DJ
78882009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
7889
7890 * gdb.base/find.c (main): Reference search buffers.
7891 * gdb.base/included.c (main): Reference integer.
7892 * gdb.base/ptype.c (charfoo): Declare.
7893 (intfoo): Call charfoo.
7894 * gdb.base/scope0.c (useitp): New function.
7895 (usestatics): Use useitp.
7896 (useit): Add a type for val.
7897 * gdb.base/scope1.c (useit1): Take a pointer argument.
7898 (usestatics1): Update calls to useit1.
7899 * gdb.cp/call-c.cc: Declare foo.
7900 (main): Call foo.
7901 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
7902 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
7903 (main): Call C::ensureRefs and ensureOtherRefs.
7904 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
7905 variables.
7906 (ensureOtherRefs): New function.
7907 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
7908 * gdb.cp/templates.cc (main): Call t5i.value.
7909
3f78692f
JK
79102009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7911
7912 Fix compatibility with G++-4.5.
7913 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
7914 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
7915 (uncaught return): Remove.
7916
429374b8
JK
79172009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7918 Phil Muldoon <pmuldoon@redhat.com>
7919
7920 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
7921 (bp_location13, bp_location14, bp_location17, bp_location18)
7922 (marker3_proto, marker4_proto): New variables.
7923 (breakpoint info): Update output.
7924 (run until breakpoint at marker3, run until breakpoint at marker4): New
7925 tests.
7926
859825b8
JK
79272009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7928
7929 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
7930 Replace the printf call of Y by provided "y-set-1" label. New block
7931 for the second shared library.
7932 * gdb.base/unload.exp: Compile also the second library, call
7933 gdb_load_shlibs also for it. Use now gdb_breakpoint.
7934 (single pending breakpoint info): Rename to ...
7935 (pending breakpoint info before run): ... this extended test.
7936 (libfile2, libname2, libsrcfile2, libsrc2)
7937 (lib_sl2): New variables.
7938 (exec_opts): Set also SHLIB_NAME2.
7939 (pending breakpoint info on first run at shrfunc1)
7940 (pending breakpoint info on second run at shrfunc1)
7941 (pending breakpoint info on second run at shrfunc2)
7942 (print y from libfile, print y from libfile2): New tests.
7943 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
7944 * gdb.base/unloadshr2.c: New.
7945
e6a386cd
HZ
79462009-12-22 Hui Zhu <teawater@gmail.com>
7947
7948 * gdb.reverse/sigall-reverse.exp: Adjust.
7949
9e19b45e
VP
79502009-12-21 Vladimir Prus <vladimir@codesourcery.com>
7951
7952 PR gdb/10884
7953
7954 * gdb.mi/var-cmd.c (do_bitfield_tests): New
7955 (main): Call do_bitfield_tests.
aacf5b1e 7956 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 7957
d53a7b30
JB
79582009-12-20 Joel Brobecker <brobecker@adacore.com>
7959
7960 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
7961 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
7962 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
7963 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
7964 gdb.modula2/unbounded1.c: Update copyright header.
7965
191ca0a1
CM
79662009-12-10 Chris Moller <moller@mollerware.com>
7967
7968 PR gdb/9399
7969 * gdb.cp/virtfunc2.exp: New tests
7970 * gdb.cp/virtfunc2.cc: New tests
7971 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
7972
0fa6cf1b
MS
79732009-12-10 Oza Pawandeep (paawan1982@yahoo.com
7974
7975 * gdb.reverse/i387-env-reverse.c: New file.
7976 * gdb.reverse/i387-env-reverse.exp: New file.
7977 * gdb.reverse/i387-stack-reverse.c: New file.
7978 * gdb.reverse/i387-stack-reverse.exp: New file.
7979
361ae042
PM
79802009-12-08 Phil Muldoon <pmuldoon@redhat.com>
7981
7982 * gdb.python/py-type.exp (test_range): New test.
7983
bfd31e71
PM
79842009-12-03 Phil Muldoon <pmuldoon@redhat.com>
7985
7986 PR python/10805
7987
7988 * gdb.python/py-type.exp: New file.
7989 * gdb.python/py-type.c: New file.
7990 * Makefile.in: Add py-type.
7991
57a1d736
TT
79922009-12-03 Tom Tromey <tromey@redhat.com>
7993
7994 * gdb.python/py-value.exp (test_parse_and_eval): New
7995 function.
7996
1f3b5d1b
PP
79972009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7998
7999 PR gdb/11022
8000
8001 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
8002 * gdb.base/pr11022.c: New test.
8003
8b7dbdc9
JK
80042009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8005
8006 Fix spurious false FAILs.
8007 * gdb.base/structs.c (chartest): New.
8008 (main): Fill-in chartest.
8009 * gdb.base/structs.exp (anychar_re, first): New.
8010 (start_structs_test): Import global anychar_re and first.
8011 New gdb_test call "set print elements 300; ${testfile}"
8012 (start_structs_test <$first>): New block.
8013 (any): Import global anychar_re. New variable ac. Use ${ac}.
8014
6a53b2ec
JK
80152009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8016
8017 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
8018
d7167b4c
JK
80192009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8020
8021 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
8022 Force $srcfile file.
8023 * gdb.base/foll-fork.c (callee): Comment out the printf call.
8024
b1798462
UW
80252009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8026
8027 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
8028 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
8029 * gdb.threads/watchthreads-reorder.exp: Likewise.
8030
b6199126
DJ
80312009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
8032
8033 PR gdb/8704
8034
8035 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
8036 "if", and "thread". Correct matching in the previous test.
8037
b22a0510
DJ
80382009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
8039
8040 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
8041
930636d2
MS
80422009-11-23 Michael Snyder <msnyder@vmware.com>
8043
8044 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
8045 * gdb.reverse-watch-precsave.exp: Ditto.
8046
21a0512e
PP
80472009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
8048
8049 * gdb.asm/asm-source.exp: Adjust.
8050 * gdb.base/help.exp: Adjust.
889bf7c5 8051
fc30d5e0
PA
80522009-11-22 Pedro Alves <pedro@codesourcery.com>
8053
8054 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
8055 (do_syscall_tests_without_xml): Set data-directory to
8056 /the/path/to/nowhere.
8057
f6bc2008
PA
80582009-11-21 Pedro Alves <pedro@codesourcery.com>
8059
8060 * gdb.threads/local-watch-wrong-thread.c,
8061 gdb.threads/local-watch-wrong-thread.exp: New files.
8062
8c2fb5de
PA
80632009-11-21 Pedro Alves <pedro@codesourcery.com>
8064
8065 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
8066 assume new `regsub' syntax available.
8067
ebec9a0f
PA
80682009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8069
a79d3c27
JK
8070 * gdb.base/watchpoint-hw-hit-once.exp,
8071 gdb.base/watchpoint-hw-hit-once.c: New.
8072
80732009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8074
8075 * gdb.threads/watchthreads-reorder.exp,
8076 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 8077
276a961b
MK
80782009-11-17 Nathan Sidwell <nathan@codesourcery.com>
8079
8080 * gdb.xml/tdesc-regs.exp: Use for m68k.
8081
4867c1fb
PA
80822009-11-15 Pedro Alves <pedro@codesourcery.com>
8083
8084 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
8085
f6838f81
DJ
80862009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
8087
8088 * lib/gdb.exp (current_target_name): New procedure.
8089 (gdb_wrapper_target): New variable.
8090 (gdb_wrapper_init): Set gdb_wrapper_target.
8091 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
8092 wrapper.
8093
4ac4dd3f
DJ
80942009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
8095
8096 * gdb.base/remote.exp: Delete the slowest load test.
8097 Do not load with fixed packet sizes.
8098
a7881759
DJ
80992009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
8100
8101 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
8102
97a5b505
DJ
81032009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
8104
8105 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
8106 srcfile when setting a breakpoint.
8107
d3e1fc54
DJ
81082009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
8109
8110 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
8111 macros.
8112
7cbcbded
DJ
81132009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
8114
8115 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
8116 to be in memory.
8117 * gdb.base/display.c (force_mem): New.
8118 (do_loops): Use it. Add breakpoint comments.
8119 (do_vars): Add a breakpoint comment.
8120 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
8121 line numbers.
8122
bdea3a92
NF
81232009-11-13 Nathan Froyd <froydnj@codesourcery.com>
8124
8125 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
8126 instead of a bare "run".
8127
269f82e5
PP
81282009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8129
8130 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 8131
a69b7d9d
DJ
81322009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
8133
8134 * lib/cell.exp (skip_cell_tests): Clean up test files before
8135 returning.
8136
b598bfda
DJ
81372009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
8138
8139 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
8140 and the breakpoint menu. Do not call perror if a prompt is seen.
8141 Consume the following GDB prompt.
8142 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
8143 * gdb.cp/namespace.exp: Use gdb_test.
8144 * gdb.cp/templates.exp: Use gdb_test.
8145 (test_template_breakpoints): Use gdb_test_multiple.
8146
87728fa0
DJ
81472009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
8148
8149 * gdb.base/break1.c (struct some_struct, values): Move earlier.
8150 (marker4): Reference values.
8151
b67c692f
DJ
81522009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
8153
8154 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
8155 is missing.
8156
f0df251a
DJ
81572009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
8158
8159 * gdb.base/break.c (need_malloc): New.
8160 * gdb.base/constvars.c (main): Reference crass and crisp.
8161 * gdb.base/gdb1821.c (main): Reference bar.
8162 * gdb.cp/gdb1355.cc (main): Reference s1.
8163 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
8164 (main): Call them.
8165 * gdb.cp/hang2.cc (dummy2): Define.
8166 * gdb.cp/hang3.cc (dummy3): Define.
8167 * gdb.cp/m-data.cc (main): Reference shadow.
8168
bdf7534a
NF
81692009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
8170 Nathan Froyd <froydnj@codesourcery.com>
8171
8172 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
8173 remote host.
8174
f24fce77
NF
81752009-11-12 Nathan Froyd <froydnj@codesourcery.com>
8176
8177 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
8178 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
8179 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8180 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8181 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8182 * gdb.dwarf2/dw2-producer.exp: Likewise.
8183 * gdb.dwarf2/mac-fileno.exp: Likewise.
8184 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
8185 py-prettyprint.py to the remote host.
8186 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
8187
40f0318e
KS
81882009-11-11 Keith Seitz <keiths@redhat.com>
8189
8190 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
8191 use it instead of "Foo".
8192 * gdb.cp/classes.exp (do_tests): Add a test to access
8193 a method through a typedef'd class name.
8194
f3d9f7fb
NF
81952009-11-11 Nathan Froyd <froydnj@codesourcery.com>
8196
8197 * gdb.base/long_long.exp: Permit leading zeros on floating-point
8198 exponents.
8199 * gdb.base/pointers.exp: Likewise.
8200 * gdb.cp/ref-types.exp: Likewise.
8201
a4216f37
KS
82022009-11-11 Keith Seitz <keiths@redhat.com>
8203
8204 * gdb.cp/cplusfuncs.cc (class foo): Add operators
8205 new[] and delete[].
8206 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
8207 "void".
8208 (probe_demangler): Remove all single-quoting of
8209 method and variable names.
8210 (info_func_regexp): Remove the word "void" from any
8211 occurrence of "(void)".
8212 (print_addr_2): Remove all single-quoting of
8213 method names.
8214 (print_addr_2_kfail): Likewise.
8215 (print_addr): Single-quote C function names before
8216 passing to print_addr_2.
8217 (test_paddr_operator_functions): Remove single-quoting
8218 for method names.
8219 Add tests for operator new[] and operator delete[].
8220
9b14d7aa
JK
82212009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8222
8223 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
8224
85feb311
KS
82252009-11-09 Keith Seitz <keiths@redhat.com>
8226
8227 * gdb.cp/overload.exp: Add tests for resolving overloaded
8228 methods in expression parsing/evaluation.
8229
fa335448
DJ
82302009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
8231
8232 * lib/gdb.exp (default_gdb_version): Use --version instead of
8233 --command.
8234
ec3c07fc
NS
82352009-11-10 Nathan Sidwell <nathan@codesourcery.com>
8236
8237 * lib/gdb.exp (gdb_compile_test): New.
8238 (skip_ada_tests, skip_java_tests): New.
8239 (gdb_compile): Use gdb_compile_test for f77.
8240 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
8241 * lib/java.exp (compile_java_from_source): Remove runtests check,
8242 use gdb_compile_test to record result.
8243 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
8244 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
8245 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
8246 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
8247 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
8248 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
8249 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
8250 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
8251 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
8252 adjust gdb_compile invocations.
8253
b8b4e42b
JK
82542009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8255
8256 * Makefile.in (abs_builddir): New.
8257 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
8258 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
8259 `$(abs_builddir)/site.exp'.
8260
f8b7eaf3
DJ
82612009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
8262
8263 * config/m68k-emc.exp, lib/emc-support.exp,
8264 gdb.trace/gdb_c_test.c: Delete.
8265 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
8266 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
8267 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
8268 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
8269 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
8270 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
8271 casing for m68k-*-elf.
8272
c4187697
NS
82732009-11-03 Pedro Alves <pedro@codesourcery.com>
8274
8275 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
8276 * gdb.arch/i386-prologue.exp: Likewise.
8277 * gdb.arch/i386-unwind.exp: Likewise.
8278
db16b772
DJ
82792009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
8280
8281 * lib/gdb.exp (gdb_expect): Fix timeout typo.
8282
bcf71277
DJ
82832009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
8284
8285 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
8286
0105cee2
DJ
82872009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
8288
8289 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
8290
24ddea62
JK
82912009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8292
8293 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
8294
287ccc17
JK
82952009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8296
8297 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
8298 * gdb.base/sepdebug2.c: New file.
8299
08bca259 83002009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
8301
8302 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
8303 the modified warnings for catch syscall. Verify if GDB was compiled
8304 with support for lib expat, and choose which tests to run depending
8305 on this.
8306
5d4e2b76
VP
83072009-10-30 Vladimir Prus <vladimir@codesourcery.com>
8308
8309 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
8310 that composite commands are parsed OK. And also test
8311 that breakpoint commands do work.
8312
240e538a
MS
83132009-10-23 Michael Snyder <msnyder@vmware.com>
8314
8315 gdb.reverse/consecutive-precsave.exp: Change expect pattern
8316 to allow for new disassembly style.
8317
9c419145
PP
83182009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8319
8320 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 8321
02506ff1
MS
83222009-10-22 Michael Snyder <msnyder@vmware.com>
8323
8324 * gdb.reverse/break-precsave.exp: New test.
8325 * gdb.reverse/consecutive-precsave.exp: Ditto.
8326 * gdb.reverse/finish-precsave.exp: Ditto.
8327 * gdb.reverse/i386-precsave.exp: Ditto.
8328 * gdb.reverse/machinestate-precsave.exp: Ditto.
8329 * gdb.reverse/sigall-precsave.exp: Ditto.
8330 * gdb.reverse/solilb-precsave.exp: Ditto.
8331 * gdb.reverse/step-precsave.exp: Ditto.
8332 * gdb.reverse/until-precsave.exp: Ditto.
8333 * gdb.reverse/watch-precsave.exp: Ditto.
8334
4cf866a3
MS
83352009-10-22 Michael Snyder <msnyder@vmware.com>
8336
8337 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
8338 for gdb_expect. Adjust one test's expect strings for the new
8339 format of disassemble.
8340 * gdb.reverse/finish-reverse.exp: Delete 'return'.
8341 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
8342 gdb_test_multiple.
8343 * gdb.reverse/step-reverse.exp: Delete 'return'.
8344 * gdb.reverse/until-reverse.exp: Delete blank lines.
8345 * gdb.reverse/watch-reverse.exp: Delete blank lines.
8346
2b28d209
PP
83472009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
8348
8349 * gdb.base/consecutive.exp: Adjust.
8350 * gdb.base/display.exp: Likewise.
8351 * gdb.base/pc-fp.exp: Likewise.
8352 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 8353
33b9c32b
MS
83542009-10-19 Michael Snyder <msnyder@vmware.com>
8355
8356 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
8357 * gdb.reverse/finish-reverse.c: Ditto.
8358 * gdb.reverse/sigall-reverse.c: Ditto.
8359 * gdb.reverse/solib-reverse.c: Ditto.
8360 * gdb.reverse/step-reverse.c: Ditto.
8361 * gdb.reverse/watch-reverse.c: Ditto.
8362
6c95b8df
PA
83632009-10-19 Pedro Alves <pedro@codesourcery.com>
8364 Stan Shebs <stan@codesourcery.com>
8365
8366 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
8367 * gdb.base/foll-exec.exp: Adjust to expect a process id before
8368 "Executing new program".
8369 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
8370 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
8371 left listed after having been killed.
8372 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
8373 * gdb.base/maint.exp: Adjust test.
8374
8375 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
8376 * gdb.multi/Makefile.in: New.
8377 * gdb.multi/base.exp: New.
8378 * gdb.multi/goodbye.c: New.
8379 * gdb.multi/hangout.c: New.
8380 * gdb.multi/hello.c: New.
8381 * gdb.multi/bkpt-multi-exec.c: New.
8382 * gdb.multi/bkpt-multi-exec.exp: New.
8383 * gdb.multi/crashme.c: New.
8384
279017b7
TG
83852009-10-13 Tristan Gingold <gingold@adacore.com>
8386
8387 * gdb.base/sepdebug.exp: Check debug info are found.
8388
0413d738
PA
83892009-10-08 Pedro Alves <pedro@codesourcery.com>
8390
8391 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
8392 bits.
8393
c628eecc
JK
83942009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8395
8396 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
8397
38af1bfe
JB
83982009-10-07 Joel Brobecker <brobecker@adacore.com>
8399
8400 * gdb.base/watchpoints.c: Add copyright header. Reformat one
8401 of the comments.
8402
2b0adecd
PM
84032009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
8404
8405 * gdb.base/annota1.exp: Remove obsolete match_max increase.
8406 * gdb.base/annota3.exp: Idem.
8407 * gdb.base/maint.exp: Idem.
8408
8d417781
PM
84092009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
8410
889bf7c5 8411 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
8412 to default.
8413
bb61102d
PM
84142009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
8415
889bf7c5 8416 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
8417 mingw and cygwin targets.
8418
ace5c364
PM
84192009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
8420 Pedro Alves <pedro@codesourcery.com>
8421
889bf7c5 8422 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
8423 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
8424
c2d494a0
PM
84252009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
8426
e1b52ce2
PM
8427 * gdb.base/shr1.c: Use %p in format string.
8428 * gdb.base/unload.c: Avoid warning in fprintf.
8429 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 8430
209f53f5
PM
84312009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
8432
8433 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
8434 long type.
8435 (test_unlink): Correct printf string.
8436 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
8437 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
8438
8172766a
JK
84392009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8440
8441 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
8442 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
8443 * gdb.arch/ia64-breakpoint-shadow.S: New file.
8444
0f73703c
UW
84452009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8446
8447 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
8448 * gdb.objc/nondebug.exp: Likewise.
8449
b32306ca
UW
84502009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8451
8452 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
8453 target_info setting.
8454
8455 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
8456 that detect new threads during "info threads".
8457
0057022f
UW
84582009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8459
8460 * gdb.threads/manythreads.c (main): Increase thread stack size
8461 to 2*PTHREAD_STACK_MIN.
8462 * gdb.threads/multi-create.c (main): Likewise.
8463 (create_function): Likewise.
8464
f29c0325
UW
84652009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8466
8467 * gdb.base/dump.exp: Pass difference of pointer types instead
8468 of integer types as offset to restore in intarr3.srec case.
8469
fcb34849
UW
84702009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8471
8472 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
8473
d5142e3b
UW
84742009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8475
8476 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
8477
087b74b2 84782009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 8479
087b74b2
PM
8480 New test for two watchpoints, with disabling of
8481 the first inserted.
8482 * testsuite/gdb.base/watchpoints.c: New file.
8483 * testsuite/gdb.base/watchpoints.exp: New file.
8484
96c07c5b
TT
84852009-09-25 Tom Tromey <tromey@redhat.com>
8486
8487 * gdb.base/charset.exp: Test utf-16 strings with Python.
8488
b8899f2b
TT
84892009-09-25 Tom Tromey <tromey@redhat.com>
8490
8491 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
8492 UCS-4.
8493 * gdb.base/charset.c (utf_32_string): Rename.
8494 (init_utf32): Rename.
8495 (main): Update.
8496
329719ec
TT
84972009-09-22 Tom Tromey <tromey@redhat.com>
8498
8499 * gdb.python/py-function.exp: Add regression tests.
8500
11ef0d76
KS
85012009-09-21 Keith Seitz <keiths@redhat.com>
8502
8503 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
8504 with invalid operator.
8505
3fe8f3b3
KS
85062009-09-21 Keith Seitz <keiths@redhat.com>
8507
8508 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
8509 and destructor using typedef name of class.
8510 * gdb.cp/classes.cc (class Base1): Add a destructor.
8511 (base1): New typedef.
8512 (use_methods): Instanitate an object of type base1.
8513 * gdb.cp/templates.exp (test_template_typedef): New procedure.
8514 (do_tests): Call test_template_typedef.
8515 * gdb.cp/templates.cc (Baz::~Baz): New method.
8516 (intBazOne): New typedef.
8517 (main): Instantiate intBazOne.
8518
7a9fe101
PM
85192009-09-21 Phil Muldoon <pmuldoon@redhat.com>
8520
8521 PR python/10633
8522
8523 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
8524 Function.
8525 (run_lang_tests): Add print elements test.
8526
2e4d963f
PM
85272009-09-21 Phil Muldoon <pmuldoon@redhat.com>
8528
8529 * gdb.python/py-value.exp (test_subscript_regression): New
8530 function. Test for invalid subscripts.
8531 * gdb.python/py-value.c (main): Add test array, and pointer to it.
8532 (ptr_ref): New function.
8533
ec7e75e7
PP
85342009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8535
8536 * gdb.base/default.exp: Fix "show convenience".
8537
0cc7d26f
TT
85382009-09-15 Tom Tromey <tromey@redhat.com>
8539
8540 * lib/mi-support.exp (mi_create_varobj): Update.
8541 (mi_create_floating_varobj): Likewise.
8542 (mi_create_dynamic_varobj): New proc.
8543 (mi_varobj_update): Update.
8544 (mi_varobj_update_with_type_change): Likewise.
8545 (mi_varobj_update_kv_helper): New proc.
8546 (mi_varobj_update_dynamic_helper): Rewrite.
8547 (mi_varobj_update_dynamic): New proc.
8548 (mi_list_varobj_children): Update.
8549 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
8550 * gdb.python/python-prettyprint.py (pp_outer): New class.
8551 (pp_nullstr): Likewise.
8552 (lookup_function): Register new printers.
8553 * gdb.python/python-prettyprint.c (struct substruct): New type.
8554 (struct outerstruct): Likewise.
8555 (substruct_test): New function.
8556 (struct nullstr): New type.
8557 (string_1, string_2): New globals.
8558 (main): Add new tests.
8559 * gdb.python/python-mi.exp: Added regression tests.
8560 * gdb.mi/mi2-var-display.exp: Update.
8561 * gdb.mi/mi2-var-cmd.exp: Update.
8562 * gdb.mi/mi2-var-child.exp: Update.
8563 * gdb.mi/mi2-var-block.exp: Update.
8564 * gdb.mi/mi-var-invalidate.exp: Update.
8565 * gdb.mi/mi-var-display.exp: Update.
8566 * gdb.mi/mi-var-cmd.exp: Update.
8567 * gdb.mi/mi-var-child.exp: Update.
8568 * gdb.mi/mi-var-block.exp: Update.
8569 * gdb.mi/mi-break.exp: Update.
8570 * gdb.mi/gdb701.exp: Update.
8571
a96d9b2e
SDJ
85722009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
8573
8574 * Makefile.in: Inclusion of catch-syscall object.
8575 * gdb.base/catch-syscall.c: New file.
8576 * gdb.base/catch-syscall.exp: New file.
8577
b43b923a
MS
85782009-09-12 Michael Snyder <msnyder@vmware.com>
8579
8580 * gdb.reverse/step-reverse.exp: Explicitly check for targets
8581 that can support reverse debuggnig.
8582
cec03d70
TT
85832009-09-11 Tom Tromey <tromey@redhat.com>
8584
8585 * gdb.dwarf2/valop.S: New file.
8586 * gdb.dwarf2/valop.exp: New file.
8587
e23bb3fc
MK
85882009-09-11 Mark Kettenis <kettenis@gnu.org>
8589
8590 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
8591
37c3696d
DE
85922009-09-10 Doug Evans <dje@google.com>
8593
8594 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
8595 Add $gdb_prompt to second breakpoint regexp.
8596
5172aecb
JB
85972009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
8598
8599 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
8600 names, add missing ones.
8601 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
8602 * gdb.python/py-frame.c: Rename from python-frame.c.
8603 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
8604 testfile name.
8605 * gdb.python/py-function.exp: Rename from python-function.exp.
8606 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
8607 testfile name.
8608 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
8609 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
8610 Adjust testfile name.
8611 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
8612 * gdb.python/py-template.cc: Rename from python-template.cc.
8613 * gdb.python/py-template.exp: Rename from python-template.exp.
8614 Adjust testfile name.
8615 * gdb.python/py-value.c: Rename from python-value.c.
8616 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
8617 testfile name.
8618
b554e4bd
JK
86192009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8620
8621 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
8622 $bpt2address.
8623 (Second breakpoint address is valid on ia64)
8624 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
8625
9a68ae16
JM
86262009-09-03 Joseph Myers <joseph@codesourcery.com>
8627
8628 * gdb.base/ending-run.exp: Restrict regular expression matching
8629 line number to require closing brace following.
8630
146b9145
DE
86312009-09-03 Doug Evans <dje@google.com>
8632
8633 * gdb.base/store.exp (check_set): Fix typo in expected value message.
8634
787d21e1
TT
86352009-09-02 Tom Tromey <tromey@redhat.com>
8636
8637 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
8638
e7802207
TT
86392009-09-02 Tom Tromey <tromey@redhat.com>
8640
8641 * gdb.dwarf2/callframecfa.exp: New file.
8642 * gdb.dwarf2/callframecfa.S: New file.
8643
817aadd2
JK
86442009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8645
8646 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
8647 gdb.base/solib-overlap-main.c: New.
8648
4a76eae5
DJ
86492009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
8650
8651 PR gdb/10565
8652
8653 * gdb.base/bitfields.c (struct container, container): New.
8654 (main): Initialize it and call break5.
8655 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
8656
d4b96c9a
JK
86572009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8658
8659 Support constant DW_AT_data_member_location by GCC PR debug/40659.
8660 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
8661
4e22772d
JK
86622009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8663
8664 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
8665
2efab443
MS
86662009-08-26 Michael Snyder <msnyder@vmware.com>
8667
8668 * gdb.base/i386-reverse.c: New file.
8669 * gdb.base/i386-reverse.exp: New file.
8670 * gdb.base/Makefile.in: Add new files to be removed.
8671
07ab73a0
JM
86722009-08-26 Joseph Myers <joseph@codesourcery.com>
8673
8674 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
8675 environment-pwd for remote host.
8676 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
8677
676accff
KS
86782009-08-24 Keith Seitz <keiths@redhat.com>
8679
8680 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
8681 Add two new C++ completer tests which limit the output to a
889bf7c5 8682 given class.
676accff 8683
f9f7ad22
MS
86842009-08-24 Michael Snyder <msnyder@vmware.com>
8685
8686 * gdb.base/del.exp: Fix typo in comment.
8687 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
8688
81ecdfbb
RW
86892009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8690
8691 * configure: Regenerate.
8692 * gdb.hp/configure: Likewise.
8693 * gdb.hp/gdb.aCC/configure: Likewise.
8694 * gdb.hp/gdb.base-hp/configure: Likewise.
8695 * gdb.hp/gdb.compat/configure: Likewise.
8696 * gdb.hp/gdb.defects/configure: Likewise.
8697 * gdb.hp/gdb.objdbg/configure: Likewise.
8698 * gdb.stabs/configure: Likewise.
8699
cab0c772
UW
87002009-08-19 Doug Evans <dje@google.com>
8701
8702 * gdb.base/gdbvars.c: New file.
8703 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
8704
b8fa0bfa
PA
87052009-08-14 Pedro Alves <pedro@codesourcery.com>
8706
8707 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8708 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
8709
b84aa90a
PA
87102009-08-13 Pedro Alves <pedro@codesourcery.com>
8711
8712 * gdb.base/default.exp: Adjust "set language test": it's now an
8713 enum command. Larger help string moved to "help set language".
8714 * gdb.base/help.exp: Adjust "help set language" expected output,
8715 now lists all known languages.
8716
0d8f9b2c
NF
87172009-08-11 Nathan Froyd <froydnj@codesourcery.com>
8718
8719 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
8720 all frame arguments.
8721 * gdb.arch/altivec-regs.exp: Likewise.
8722
bda180e0
TT
87232009-08-07 Tom Tromey <tromey@redhat.com>
8724
8725 * gdb.base/setshow.exp: Add tests for changes to set language, set
8726 check range, and set check type.
8727
48cb2d85
VP
87282009-08-03 Vladimir Prus <vladimir@codesourcery.com>
8729
8730 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
8731 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 8732 Call it.
48cb2d85 8733
1ea34204
UW
87342009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8735
8736 * configure.ac: Run gdb.cell tests when appropriate.
8737 * configure: Regenerate.
8738 * lib/cell.exp: New file.
8739 * gdb.cell: New directory.
8740 * gdb.cell/configure.ac: New file.
8741 * gdb.cell/configure: New file.
8742 * gdb.cell/Makefile.in: New file.
8743 * gdb.cell/arch.exp: New file.
8744 * gdb.cell/break.c: New file.
8745 * gdb.cell/break.exp: New file.
8746 * gdb.cell/break-spu.c: New file.
8747 * gdb.cell/bt.c: New file.
8748 * gdb.cell/bt2-spu.c: New file.
8749 * gdb.cell/bt-spu.c: New file.
8750 * gdb.cell/bt.exp: New file.
8751 * gdb.cell/coremaker.c: New file.
8752 * gdb.cell/coremaker-spu.c: New file.
8753 * gdb.cell/core.exp: New file.
8754 * gdb.cell/gcore.exp: New file.
8755 * gdb.cell/data.c: New file.
8756 * gdb.cell/data.exp: New file.
8757 * gdb.cell/data-spu.c: New file.
8758 * gdb.cell/ea-cache.exp: New file.
8759 * gdb.cell/ea-cache.c: New file.
8760 * gdb.cell/ea-cache-spu.c: New file.
8761 * gdb.cell/ea-standalone.c: New file.
8762 * gdb.cell/ea-standalone.exp: New file.
8763 * gdb.cell/ea-test.c: New file.
8764 * gdb.cell/ea-test.exp: New file.
8765 * gdb.cell/f-regs.exp: New file.
8766 * gdb.cell/mem-access.c: New file.
8767 * gdb.cell/mem-access.exp: New file.
8768 * gdb.cell/mem-access-spu.c: New file.
8769 * gdb.cell/ptype.exp: New file.
8770 * gdb.cell/registers.exp: New file.
8771 * gdb.cell/size.c: New file.
8772 * gdb.cell/sizeof.exp: New file.
8773 * gdb.cell/size-spu.c: New file.
8774 * gdb.cell/solib.exp: New file.
8775 * gdb.cell/solib-symbol.exp: New file.
8776
85e747d2
UW
87772009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8778
8779 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
8780
58d6951d
DJ
87812009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
8782
8783 * gdb.base/float.exp: Handle VFP registers.
8784
6e0a4f15
MS
87852009-07-14 Michael Snyder <msnyder@vmware.com>
8786
dcd5da87
MS
8787 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
8788 to bring gdb to the beginning of the calling line.
8789
6e0a4f15
MS
8790 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
8791 confusing the i386 epilogue unwinder.
8792
782b2b07
SS
87932009-07-14 Stan Shebs <stan@codesourcery.com>
8794
8795 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
8796
f662c3bc
MS
87972009-07-14 Michael Snyder <msnyder@vmware.com>
8798
8799 * gdb.reverse/step-reverse.exp (stepi into function call):
8800 Call instruction may not be first instruction in the line.
8801 (reverse stepi from a function call): Used wrong line number.
8802
8f313923
JK
88032009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8804
8805 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
8806
4662c76e
JK
88072009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8808
8809 Fix gdb.base/macscp.exp when using custom inputrc.
8810 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
8811 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
8812 env(TERM) set.
8813 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
8814 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
8815
aa81e255
JK
88162009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8817
8818 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
8819 * gdb.base/annota1.exp (thread_test): Import global $testfile.
8820 Change the compilation target to match the testcase name.
8821 * gdb.base/sect-cmd.exp: Change the compilation target to match the
8822 testcase name.
8823 * a2-run.exp: Use for setup prepare_for_testing. Change the
8824 compilation target to match the testcase name.
8825 * gdb.base/commands.exp: Likewise.
8826 * gdb.base/finish.exp: Likewise.
8827 * gdb.base/float.exp: Likewise.
8828 * gdb.base/info-target.exp: Likewise.
8829 * gdb.base/relational.exp: Likewise.
8830 * gdb.base/term.exp: Likewise.
8831 * gdb.base/until.exp: Likewise.
8832 * gdb.base/volatile.exp: Likewise.
8833 * gdb.base/whatis-exp.exp: Likewise.
8834
4c93b1d7
HZ
88352009-07-11 Hui Zhu <teawater@gmail.com>
8836
8837 * gdb.base/help.exp (disassemble): Update expected help text.
8838
812f7342
TT
88392009-07-09 Tom Tromey <tromey@redhat.com>
8840
8841 * lib/gdb.exp: Handle TRANSCRIPT.
8842 (remote_spawn, remote_close, send_gdb): New procs.
8843
fbb8f299
PM
88442009-07-10 Phil Muldoon <pmuldoon@redhat.com>
8845
8846 * gdb.python/python-prettyprint.c: Add counted null string
8847 structure.
8848 * gdb.python/python-prettyprint.exp: Print null string. Test for
8849 embedded nulls.
8850 * gdb.python/python-prettyprint.py (pp_ns): New Function.
8851 * gdb.python/python-value.exp (test_value_in_inferior): Add
8852 variable length string fetch tests.
8853 * gdb.python/python-value.c (main): Add strings for string fetch tests.
8854
c0ac0ec7
JK
88552009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8856
8857 * gdb.base/dump.exp (inaccessible memory is reported): New test.
8858
30b66ecc
TT
88592009-07-07 Tom Tromey <tromey@redhat.com>
8860
8861 * gdb.base/call-rt-st.exp: Update for change to escape output.
8862 * gdb.base/callfuncs.exp: Likewise.
8863 * gdb.base/charset.exp: Likewise.
8864 * gdb.base/constvars.exp: Likewise.
8865 * gdb.base/long_long.exp: Likewise.
8866 * gdb.base/pointers.exp: Likewise.
8867 * gdb.base/printcmds.exp: Likewise.
8868 * gdb.base/setvar.exp: Likewise.
8869 * gdb.base/store.exp: Likewise.
8870 * gdb.cp/ref-types.exp: Likewise.
8871 * gdb.mi/mi-var-child.exp: Likewise.
8872 * gdb.mi/mi-var-display.exp: Likewise.
8873 * gdb.mi/mi2-var-display.exp: Likewise.
8874 * gdb.base/charset.exp: Test octal escape sequence length.
8875 Update for change to escape output.
8876
187c4a2b
JK
88772009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8878
8879 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
8880
d80a43f9
DJ
88812009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
8882
8883 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
8884
047427a8
JK
88852009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8886
8887 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
8888 gdbserver increasing $portnum if "Can't bind address" has been seen.
8889
8b5a0f4f
PA
88902009-07-05 Pedro Alves <pedro@codesourcery.com>
8891
8892 * gdb.base/ending-run.exp: Add "step out of main" pattern for
8893 mingw32ce.
8894
7d93ba58
PA
88952009-07-05 Pedro Alves <pedro@codesourcery.com>
8896
8897 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
8898 VFP format.
8899
2277426b
PA
89002009-07-02 Pedro Alves <pedro@codesourcery.com>
8901
8902 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
8903 linux. Adjust to use "inferior", "info inferiors", "detach
8904 inferior" and "kill inferior" instead of "restart", "info fork",
8905 "detach fork" and "delete fork".
8906 * gdb.base/ending-run.exp: Spell out "info".
8907 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
8908 the "kill" command.
8909
5af949e3
UW
89102009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8911
8912 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
8913 change to prefix TLS offset in hex with 0x.
8914
5d3729b5
UW
89152009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8916
8917 * gdb.base/default.exp: Update test case for "x" changes.
8918
af589bd0
TG
89192009-07-01 Tristan Gingold <gingold@adacore.com>
8920
8921 * gdb.base/bigcore.exp: Make darwin untested.
8922
40974f91
JK
89232009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8924
8925 * gdb.base/completion.exp (directory completion): Create the directory.
8926 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
8927 escapeuniquesub.
8928 (directory completion 2): Expect now ${escapeuniquesub}.
8929 (Glob remaining of directory test): Remove one excessive newline.
8930 Expect the real output.
8931
59dd3af6
JK
89322009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8933
8934 Fix `make check//%' target after `make check' has been ran.
8935 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
8936 a mkdir call.
8937 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
8938 (%/.dir): Remove.
8939
f4e164aa
JK
89402009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8941
8942 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
8943 the expected result record.
8944
69af2122
JK
89452009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8946
8947 Remove racy FAILs relying just on the timeouts.
8948 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
8949 (annotation_level 2): Remove racy FAILs.
8950
2fd481e1
PP
89512009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
8952
8953 gdb/10275
889bf7c5
PA
8954 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
8955
c38f313d
DJ
89562009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
8957
8958 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
8959
8b777f02
VP
89602009-06-30 Vladimir Prus <vladimir@codesourcery.com>
8961
8962 * gdb.mi/mi-stack.exp: Testing symbolic options
8963 to -stack-list-locals and -stack-list-arguments.
8964
00c7eacf
JK
89652009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8966
8967 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
8968
6bc80edc
TT
89692009-06-29 Tom Tromey <tromey@redhat.com>
8970
8971 * dg-extract-results.sh: New file.
8972 * Makefile.in (FORCE_PARALLEL): New variable.
8973 (CHECK_TARGET): New conditional variable.
8974 (check): Use CHECK_TARGET.
8975 (DO_RUNTEST): New variable.
8976 (check-single): New target.
8977 (TEST_DIRS): New variable.
8978 (TEST_TARGETS): Likewise.
8979 (check-parallel): New target.
8980 (check-gdb.%): New pattern.
8981 (BASE1_FILES): New variable.
8982 (BASE2_FILES): Likewise.
8983 (check-gdb.base%): New pattern.
8984 (%/.dir): New pattern.
8985 * configure: Rebuild.
8986 * aclocal.m4 (AM_CONDITIONAL): New defun.
8987 * configure.ac: Check whether user is using GNU make.
8988 (GMAKE): New conditional.
8989
794684b6
SW
89902009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
8991
8992 * gdb.cp/namespace-nested-import.cc: New test.
8993 * gdb.cp/namespace-nested-import.exp: New test.
8994
edb3359d
DJ
89952009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
8996
8997 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
8998 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
8999 * gdb.opt/Makefile.in (EXECUTABLES): Update.
9000 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
9001 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
9002 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
9003 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
9004 gdb.opt/inline-markers.c: New files.
9005 * lib/gdb.exp (skip_inline_frame_tests): New function.
9006 (skip_inline_var_tests): New function.
9007
cf657a0c
AS
90082009-06-27 Andreas Schwab <schwab@linux-m68k.org>
9009
9010 * gdb.cp/exception.exp: Don't require $hex before inner frame in
9011 backtrace.
9012
28d41a99
MS
90132009-06-27 Michael Snyder <msnyder@vmware.com>
9014
9015 * gdb.reverse: New directory.
9016 * gdb.reverse/break-reverse.c: New test.
9017 * gdb.reverse/break-reverse.exp: New test.
9018 * gdb.reverse/consecutive-reverse.c: New test.
9019 * gdb.reverse/consecutive-reverse.exp: New test.
9020 * gdb.reverse/finish-reverse.c: New test.
9021 * gdb.reverse/finish-reverse.exp: New test.
9022 * gdb.reverse/machinestate.c: New test.
9023 * gdb.reverse/ms1.c: New test.
9024 * gdb.reverse/machinestate.exp: New test.
9025 * gdb.reverse/Makefile.in: New file.
9026 * gdb.reverse/shr2.c: New test.
9027 * gdb.reverse/solib-reverse.c: New test.
9028 * gdb.reverse/solib-reverse.exp: New test.
9029 * gdb.reverse/step-reverse.c: New test.
9030 * gdb.reverse/step-reverse.exp: New test.
9031 * gdb.reverse/until-reverse.c: New test.
9032 * gdb.reverse/ur1.c: New test.
9033 * gdb.reverse/until-reverse.exp: New test.
9034 * gdb.reverse/watch-reverse.c: New test.
9035 * gdb.reverse/watch-reverse.exp: New test.
9036 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
9037 * configure: Regenerate.
9038
fe3c8b0d
DE
90392009-06-26 Doug Evans <dje@google.com>
9040
9041 * gdb.base/psymtab.exp: Turn off pending breakpoints.
9042
3a72a602
PM
90432009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
9044
9045 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
9046 windows problem for 'file delete $binfile'.
9047
27aa8d6a
SW
90482009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
9049
9050 * gdb.cp/namespace-using.exp: New test.
9051 * gdb.cp/namespace-using.cc: New test.
9052
8ac055f8
JB
90532009-05-20 Joel Brobecker <brobecker@adacore.com>
9054
9055 * gdb.ada/variant_record_packed_array: New testcase.
9056
85e306ed
TT
90572009-06-23 Tom Tromey <tromey@redhat.com>
9058
9059 * gdb.base/charset.exp (test_combination): Regression test.
9060 * gdb.base/charset.c (my_wchar_t): New typedef.
9061 (myvar): New global.
9062 (main): Set myvar.
9063
56643c5e
PM
90642009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
9065
9066 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
9067 target.
9068
1fac167a
UW
90692009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9070
9071 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
9072
7ccb0be9
UW
90732009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9074
9075 * gdb.mi/gdb680.exp: Update test for error message.
9076
568d6575
UW
90772009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9078
9079 * gdb.base/annota1.exp: Allow multiple occurrences of the
9080 frames-invalid annotation.
9081 * gdb.cp/annota2.exp: Likewise.
9082
7cd1089b
PM
90832009-06-15 Phil Muldoon <pmuldoon@redhat.com>
9084
9085 * gdb.cp/gdb2495.cc: New file.
9086 * gdb.cp/gdb2495.exp: New file.
9087
72c63395
JK
90882009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9089
9090 Report error on GDB crash during runto.
9091 * lib/gdb.exp (runto <eof>): New.
9092
3788363d
DJ
90932009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
9094
9095 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
9096 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
9097 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
9098 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
9099 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
9100 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
9101 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
9102 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
9103 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
9104 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
9105 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
9106 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
9107 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
9108 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
9109 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
9110 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
9111 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
9112 gdb.server/server-mon.exp, gdb.server/server-run.exp,
9113 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
9114 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
9115 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
9116 gdb.trace/passcount.exp, gdb.trace/report.exp,
9117 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
9118 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
9119 gdb.trace/while-stepping.exp: Use a unique name for the compiled
9120 executable.
9121
17592de3
PA
91222009-06-07 Pedro Alves <pedro@codesourcery.com>
9123
9124 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
9125 defined before referencing it.
9126
701e355d
DE
91272009-06-03 Doug Evans <dje@google.com>
9128
9129 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
9130 * gdb.arch/i386-see.c: Ditto.
9131
f2292c65
PM
91322009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
9133
9134 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
9135 (check_macro): Return 1 if undefined.
9136 If first test fails, check if macro debug information is available,
9137 and report unsupported test if no macro information is found.
9138
5a437975
DE
91392009-05-29 Doug Evans <dje@google.com>
9140
9141 * gdb.threads/hand-call-in-threads.exp: New.
9142 * gdb.threads/hand-call-in-threads.c: New.
9143
c141c696
MS
91442009-05-29 Michael Snyder <msnyder@vmware.com>
9145
9146 * gdb.base/break-always.exp: Change "1" to "on".
9147 Add confirmation check.
9148
b3444185
PA
91492009-05-28 Pedro Alves <pedro@codesourcery.com>
9150
9151 * gdb.threads/threxit-hop-specific.c: New.
9152 * gdb.threads/threxit-hop-specific.exp: New.
9153 * gdb.threads/thread-execl.c: New.
9154 * gdb.threads/thread-execl.exp: New.
9155
b6313243
TT
91562009-05-27 Tom Tromey <tromey@redhat.com>
9157 Thiago Jung Bauermann <bauerman@br.ibm.com>
9158
9159 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
9160 (mi_child_regexp): Likewise.
9161 (mi_list_varobj_children_range): Likewise.
9162 (mi_get_features): Likewise.
9163 (mi_list_varobj_children): Rewrite.
9164 * gdb.python/python-mi.exp: New file.
9165
a6bac58e
TT
91662009-05-27 Tom Tromey <tromey@redhat.com>
9167 Thiago Jung Bauermann <bauerman@br.ibm.com>
9168 Phil Muldoon <pmuldoon@redhat.com>
9169 Paul Pluzhnikov <ppluzhnikov@google.com>
9170
9171 * gdb.python/python-prettyprint.exp: New file.
9172 * gdb.python/python-prettyprint.c: New file.
9173 * gdb.python/python-prettyprint.py: New file.
9174 * gdb.base/display.exp: print/r is now valid.
9175
2c74e833
TT
91762009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
9177 Tom Tromey <tromey@redhat.com>
9178 Pedro Alves <pedro@codesourcery.com>
9179 Paul Pluzhnikov <ppluzhnikov@google.com>
9180
9181 * gdb.python/python-template.exp: New file.
9182 * gdb.python/python-template.cc: New file.
9183 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
9184 tests.
9185 * gdb.python/python-value.exp (py_objfile_tests): New proc.
9186 Call it.
9187 (test_value_after_death): New proc.
9188 * gdb.python/python-value.c (PTR): New typedef.
9189 (main): New variable 'x'.
9190
89c73ade
TT
91912009-05-27 Tom Tromey <tromey@redhat.com>
9192
9193 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
9194 tests.
9195 * gdb.python/python-value.exp (py_objfile_tests): New proc.
9196 Call it.
9197
a75724bc
PA
91982009-05-27 Pedro Alves <pedro@codesourcery.com>
9199
9200 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
9201
e58b0e63
PA
92022009-05-24 Pedro Alves <pedro@codesourcery.com>
9203
9204 * gdb.threads/fork-thread-pending.c: New.
9205 * gdb.threads/fork-thread-pending.exp: New.
9206
4ac36638
JK
92072009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9208
9209 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
9210 * gdb.dwarf2/dw2-strp.S (a_string2): New.
9211
889bf7c5 92122009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 9213
889bf7c5 9214 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 9215
b242c3c2
PA
92162009-05-17 Pedro Alves <pedro@codesourcery.com>
9217
9218 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
9219 `gdb_get_line_number'. Call `callee' in both parent and child.
9220 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
9221 `gdb_get_line_number' instead of hardcoding line numbers.
9222 (catch_fork_unpatch_child): New procedure to test detaching
9223 breakpoints from child fork.
9224 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
9225 hardcoding line numbers.
9226 (do_fork_tests): Run `catch_fork_unpatch_child'.
9227
ee342b23
VP
92282009-05-17 Vladimir Prus <vladimir@codesourcery.com>
9229
9230 * gdb.mi/mi-cmd-var.exp: Check that when varobj
9231 of structure type enters or leaves the scope, it
9232 is reported by -var-update.
9233
e2009e98
DE
92342009-05-11 Doug Evans <dje@sebabeach.org>
9235
9236 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 9237 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
9238 * gdb.threads/schedlock.c (main): Fix off-by-one error.
9239
00903456
JK
92402009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9241
9242 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
9243
dc621c35
DE
92442009-04-30 Doug Evans <dje@google.com>
9245
9246 * gdb.threads/watchthreads2.exp: New testcase.
9247 * gdb.threads/watchthreads2.c: New testcase.
9248
9ab4e744
DE
92492009-04-29 Doug Evans <dje@google.com>
9250
9251 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
9252 * gdb.cp/mb-ctor.cc: Ditto.
9253 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
9254 * gdb.cp/mb-inline.h (multi_line_foo): New function.
9255 * gdb.cp/mb-inline1.cc: Call it.
9256 * gdb.cp/mb-inline2.cc: Ditto.
9257 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
9258 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
9259
484086b7
JK
92602009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9261
9262 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
9263 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
9264 Replace all uses of `decimal' by `nonzero'.
9265 (info macro FROM_COMMANDLINE): New test.
9266
379a77b5
TT
92672009-04-27 Tom Tromey <tromey@redhat.com>
9268
9269 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
9270
b92b73c2
DE
92712009-04-27 Doug Evans <dje@google.com>
9272
9273 * gdb.threads/watchthreads.c (main): Initialize args before starting
9274 the threads. Plus formatting cleanup.
9275 * gdb.threads/watchthreads.exp: Avoid errant failures due to
9276 biased scheduling of one thread.
9277
945a118d
JG
92782009-04-27 Jerome Guitton <guitton@adacore.com>
9279
9280 * gdb.cp/templates.cc (GetMax): New template.
9281 (main): Declare two instances of GetMax.
9282 * gdb.cp/templates.exp: Add new test.
9283
d389af10
JK
92842009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9285
9286 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
9287
e7f86de9
JM
92882009-04-22 Joseph Myers <joseph@codesourcery.com>
9289
9290 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
9291
334cc82d
TT
92922009-04-15 Tom Tromey <tromey@redhat.com>
9293
9294 * gdb.base/charset.exp: Add regression test.
9295
d12672cc
JB
92962009-04-14 Joel Brobecker <brobecker@adacore.com>
9297
9298 * gdb.base/exe-lock.exp: New testcase.
9299
18e8c3bc
TT
93002009-04-13 Tom Tromey <tromey@redhat.com>
9301
9302 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
9303 operator on Frame.
9304
5ecd5cbe
UW
93052009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9306
9307 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
9308 * gdb.server/ext-attach.exp: Likewise.
9309
7309f756
VP
93102009-04-03 Vladimir Prus <vladimir@codesourcery.com>
9311
9312 Eliminate some sleep usage.
9313
889bf7c5
PA
9314 * gdb.mi/basics.c (do_nothing): New.
9315 (main): Use do_nothing instead of printf, so that
9316 not to introduce race condition between output of
9317 inferiour and output of gdb. Do not use sleep as it
9318 is not generally available on embedded targets.
7309f756 9319
f4b95f6f
PA
93202009-04-02 Pedro Alves <pedro@codesourcery.com>
9321
9322 * gdb.server/ext-attach.exp: Expect an optional process id after
9323 "Detached from remote process".
9324
de40b933
JK
93252009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9326
9327 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
9328 gdb.dwarf2/dw2-unresolved.exp: New.
9329
2ae101a4
PA
93302009-04-02 Pedro Alves <pedro@codesourcery.com>
9331
9332 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
9333 mi_run_to_main.
9334
56a8e183
PA
93352009-04-02 Pedro Alves <pedro@codesourcery.com>
9336
9337 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
9338 mi_run_to_main. Skip thread exit test on remote targets.
9339 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
9340 mi_run_to_main.
9341 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
9342 mi_run_to_main.
9343 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
9344 when expecting ^connected. Detect when the target doesn't support
9345 non-stop mode.
9346 (mi_run_cmd): Detect if non-stop mode was requested by isn't
9347 supported. Return -1 on error, 0 on success.
9348 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
9349 (mi_runto): Return mi_runto_helper's result explicitly.
9350
c35fafde
PA
93512009-04-01 Pedro Alves <pedro@codesourcery.com>
9352
9353 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
9354
f8a8dce6
JB
93552009-04-01 Tom Tromey <tromey@redhat.com>
9356
9357 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
9358 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
9359 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
9360 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
9361
71c25dea
TT
93622009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
9363 Jan Kratochvil <jan.kratochvil@redhat.com>
9364
9365 PR gdb/931
9366 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
9367 output.
9368 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
9369 for gdb/931.
9370 * dw2-strp.S (DW_AT_language): Change to C++.
9371 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
9372
02d9a9ce
JB
93732009-03-31 Joel Brobecker <brobecker@adacore.com>
9374
9375 * gdb.ada/tasks: New testcase.
9376
1042e4c0
SS
93772009-03-30 Stan Shebs <stan@codesourcery.com>
9378
9379 * gdb.trace/actions.exp: Update to match new info trace format.
9380 * gdb.trace/deltrace.exp: Ditto.
9381 * gdb.trace/infotrace.exp: Ditto.
9382 * gdb.trace/passcount.exp: Ditto.
9383 * gdb.trace/save-trace.exp: Ditto.
9384 * gdb.trace/while-stepping.exp: Ditto.
9385 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
9386
f8f6f20b
TJB
93872009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
9388
9389 * gdb.python/python-frame.c: New file.
9390 * gdb.python/python-frame.exp: New file.
9391
c0c6f777
TJB
93922009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
9393
9394 * gdb.python/python-value.exp: Add tests for the address
9395 attribute.
9396
3cb51905
AS
93972009-03-29 Andreas Schwab <schwab@linux-m68k.org>
9398
9399 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
9400
88fc996f
DE
94012009-03-26 Doug Evans <dje@google.com>
9402
9403 * gdb.mi/mi-nonstop-exit.exp: New file.
9404 * gdb.mi/non-stop-exit.c: New file.
9405
56ef84b1
TT
94062009-03-26 Tom Tromey <tromey@redhat.com>
9407
9408 Update for change to prologue skipping:
9409 * gdb.mi/mi2-simplerun.exp: Update.
9410 * gdb.mi/mi2-break.exp: Update.
9411 * gdb.mi/mi-simplerun.exp: Update.
9412 * gdb.mi/mi-break.exp: Update.
9413 * gdb.base/ending-run.exp: Update.
9414
def2b000
TJB
94152009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
9416
9417 * gdb.python/python-value.exp (test_value_in_inferior): Test
9418 gdb.Value.is_optimized_out attribute.
9419
442ddf59
JK
94202009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9421
9422 * gdb.dwarf2/dw2-noloc-main.c: New file.
9423 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
9424 (.text): Remove.
9425 (.data): New.
9426 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
9427 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
9428 (DW_TAG_subprogram func_cu1, noloc): Remove.
9429 (main): New.
9430 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
9431 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
9432 (file_symbols): New procedure.
9433
a8df5de4
TT
94342009-03-25 Tom Tromey <tromey@redhat.com>
9435
9436 * gdb.base/charset.exp (valid_target_charset): New proc.
9437 Use it to skip tests on invalid charsets.
9438
cc1d7add
PM
94392009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
9440
9441 * gdb.base/completion.exp: Add a test for directory completion.
9442
bcd5727b
JK
94432009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9444
9445 Fix a racy FAIL.
9446 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
9447 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
9448
cc924cad
TJB
94492009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
9450
9451 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
9452 * gdb.python/python-function.exp: Add test for function returning
9453 a GDB value.
9454
bc3b79fd
TJB
94552009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
9456
9457 * gdb.python/python-function.exp: New file.
9458
6c7a06a3
TT
94592009-03-20 Tom Tromey <tromey@redhat.com>
9460
9461 * gdb.base/store.exp: Update for change to escape output.
9462 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
9463 to escape output.
9464 * gdb.base/pointers.exp: Update for change to escape output.
9465 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
9466 to escape output.
9467 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
9468 escape output.
9469 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
9470 to escape output.
9471 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
9472 escape output.
9473 * gdb.base/setvar.exp: Update for change to escape output.
9474 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
9475 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
9476 to escape output.
9477 (test_print_string_constants): Likewise.
9478 * gdb.base/charset.exp (valid_host_charset): Check size of
9479 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
9480 cases. Handle "auto"-related output.
9481 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
9482 (uvar, Uvar): New globals.
9483
c31af87b
JG
94842009-03-19 Jerome Guitton <guitton@adacore.com>
9485
9486 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
9487 deltas.
9488 * gdb.ada/fixed_points.exp: Ditto.
9489
51272cf2
PA
94902009-03-18 Pedro Alves <pedro@codesourcery.com>
9491
9492 * return-nodebug.c: Don't include stdio.h.
9493 (init): Delete.
9494 (func): Delete definition and provide extern declaration.
9495 (t): New.
9496 (main): Don't call printf. Call func and store its result in t.
9497 * return-nodebug1.c: New.
9498 * return-nodebug.exp: Don't expect stdio output. Instead, print
9499 the global variable t. Drop printf formatters and cast types from
9500 foreach loop. Don't use prepare_for_testing. Compile
9501 return-nodebug.c and return-nodebug1.c in separate steps. Don't
9502 define FORMAT or CAST.
9503
d24948ac
PP
95042009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9505
9506 * gdb.base/solib-display.exp: Disable test for remote targers.
9507
61ff14c6
JK
95082009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9509
9510 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
9511
cb4dce93
JK
95122009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9513
9514 Fix a racy FAIL.
9515 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
9516 code from `follow parent, print pids'.
9517 (`follow child, print pids', `follow parent, print pids'): Call it.
9518 Replace `gdb_test "break..."' by gdb_breakpoint.
9519
f7c60c5e
VP
95202009-03-13 Vladimir Prus <vladimir@codesourcery.com>
9521
9522 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 9523 sync and async modes.
f7c60c5e 9524
383ace49
JB
95252009-03-12 Joel Brobecker <brobecker@adacore.com>
9526
9527 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
9528 that was checked in by mistake. Remove loading of ada.exp, since
9529 this is not necessary in this case.
9530
4ce102af
JB
95312009-03-12 Joel Brobecker <brobecker@adacore.com>
9532
9533 * gdb.ada/ptype_arith_binop.exp: New testcase.
9534
529a2aef
JB
95352009-03-12 Joel Brobecker <brobecker@adacore.com>
9536
9537 * gdb.ada/mod_from_name: New testcase.
9538
8a38181c
JB
95392009-03-12 Joel Brobecker <brobecker@adacore.com>
9540
9541 * gdb.ada/tick_last_segv: New testcase.
9542
11436dee
VP
95432009-03-12 Vladimir Prus <vladimir@codesourcery.com>
9544
61ff14c6 9545 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 9546
1f31650a
VP
95472009-03-12 Vladimir Prus <vladimir@codesourcery.com>
9548
61ff14c6
JK
9549 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
9550 include the token in ^running and frame info in *stopped.
1f31650a 9551
a3247a22
PP
95522009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9553
9554 * solib-display.exp: New file.
9555 * solib-display-main.c: New file.
9556 * solib-display-lib.c: New file.
61ff14c6 9557
aae64587
PA
95582009-03-05 Pedro Alves <pedro@codesourcery.com>
9559
9560 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
9561
44aabfbc
JK
95622009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9563
9564 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
9565 (list_and_check_macro): Use more specific test name.
9566 (next to definition): Make the test names unique.
9567
c087fcd3
PM
95682009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
9569
9570 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 9571
c86cf029
VP
95722009-02-17 Vladimir Prus <vladimir@codesourcery.com>
9573
9574 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
9575 notifications.
9576 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
9577 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
9578 * lib/mi-support.exp (library_loaded_re): New.
9579 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
9580
3ea85240
VP
95812009-02-17 Vladimir Prus <vladimir@codesourcery.com>
9582
9583 * gdb.gdb/observer.exp: Use test_notification observer, not
9584 normal_stop, everywhere.
9585 (test_normal_stop_notifications): Rename to...
9586 (test_notifications): ...this.
9587 (test_observer_normal_stop): Rename to...
9588 (test_observer): ...this.
9589
1903f0e6
DE
95902009-02-16 Doug Evans <dje@google.com>
9591
9592 * gdb.arch/amd64-disp-step.S (test_int3): New test.
9593 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
9594 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
9595 (test_prefixed_syscall,test_int3): New tests.
9596 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
9597 (test_prefixed_syscall,test_int3): New tests.
9598
1d33d6ba
VP
95992009-02-14 Vladimir Prus <vladimir@codesourcery.com>
9600
3cb51905
AS
9601 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
9602 (mi_expect_interrupt): Likewise.
9603 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
9604 response.
1d33d6ba 9605
faafb047
PM
96062009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
9607
9608 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
9609 * gdb.base/pc-fp.exp (get_valueofx): Remove.
9610 Replace calls to get_valueofx by get_hexadecimal_valueof.
9611
417e16e2
PM
96122009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
9613
9614 * lib/gdb.exp (get_valueof): Accept anything as a return value.
9615 (get_integer_valueof): New procedure.
9616 (get_sizeof): Use new get_integer_value_of.
9617 * gdb.base/sizeof.exp: Replace all uses of get_valueof
9618 by get_integer_valueof.
9619
7065b901
TT
96202009-02-13 Tom Tromey <tromey@redhat.com>
9621
9622 * gdb.base/remote.exp (get_sizeof): Remove.
9623 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
9624 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
9625 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
9626 * lib/gdb.exp (get_valueof): Move from long_long.exp.
9627 (get_sizeof): Likewise.
9628
5d7cb8df
JK
96292009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9630
9631 PR fortran/9806
9632 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
9633
b2febfff
PP
96342009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9635
9636 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
9637
4aa995e1
PA
96382009-02-06 Pedro Alves <pedro@codesourcery.com>
9639
9640 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
9641
d8906c6f
TJB
96422009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
9643
9644 * gdb.python/python-cmd.exp: New file.
9645
ff4ab08d
TG
96462009-02-06 Tristan Gingold <gingold@adacore.com>
9647
9648 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
9649
aacd552b
TG
96502009-02-05 Tristan Gingold <gingold@adacore.com>
9651
9652 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
9653 pointer is dereferenced and use this signal name in regexp.
9654 * gdb.base/signull.exp: Ditto.
9655 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
9656 * gdb.base/signull.c (main): Ditto.
9657
08c637de
TJB
96582009-02-04 Tom Tromey <tromey@redhat.com>
9659 Thiago Jung Bauermann <bauerman@br.ibm.com>
9660
9661 * gdb.python/python-value.exp: Use `gdb.history' instead of
9662 `gdb.value_from_history'.
9663 (test_value_numeric_ops): Add test for conversion of enum constant.
9664 * gdb.python/python-value.c (enum e): New type.
9665 (evalue): New global.
9666 (main): Use argv.
9667
20261af8
JG
96682009-02-04 Jerome Guitton <guitton@adacore.com>
9669
9670 * gdb.ada/uninitialized_vars: New test program.
9671 * gdb.ada/uninitialized_vars.exp: New testcase.
9672
52e44b43
TT
96732009-02-02 Tom Tromey <tromey@redhat.com>
9674
9675 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
9676 * gdb.cp/pr2489.cc: Rename...
9677 * gdb.cp/pr9594.cc: ... to this.
9678
1c71341a
TT
96792009-02-02 Tom Tromey <tromey@redhat.com>
9680
9681 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
9682 * gdb.cp/pr2489.cc: New file.
9683 * gdb.cp/cpcompletion.exp: New file.
9684
a4295225
TT
96852009-02-02 Tom Tromey <tromey@redhat.com>
9686
9687 PR exp/9059:
9688 * gdb.cp/call-c.exp: Add regression test.
9689 * gdb.cp/call-c.cc (FooHandle): New typedef.
9690 (main): New variable 'handle'.
9691
592375cd
VP
96922009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9693
9694 * lib/mi-support.exp (et_mi_thread_list)
9695 (check_mi_and_console_threads): Adjust for current thread in
9696 -thread-list-ids output.
9697
41447f92
VP
96982009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9699
889bf7c5
PA
9700 * gdb.mi/mi-break.exp (test_disabled_creation): New.
9701 Call it.
41447f92 9702
35669430
DE
97032009-01-28 Doug Evans <dje@google.com>
9704
9705 * gdb.arch/amd64-disp-step.S: New file.
9706 * gdb.arch/amd64-disp-step.exp: New file.
9707 * gdb.arch/i386-disp-step.S: New file.
9708 * gdb.arch/i386-disp-step.exp: New file.
9709
09f00d9a
PM
97102009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
9711
9712 * gdb.base/find.exp: Set newline variable
9713 using quotes instead of braces to fix cygwin failures.
9714
1e8fb976
PA
97152009-01-23 Pedro Alves <pedro@codesourcery.com>
9716
9717 * gdb.base/radix.exp: Add tests to ensure that that set
9718 input-radix 0 and set output-radix 0 are really rejected.
9719
da061712
PA
97202009-01-23 Pedro Alves <pedro@codesourcery.com>
9721
9722 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
9723 copyright years.
9724
dd7e2d2b
PA
97252009-01-23 Pedro Alves <pedro@codesourcery.com>
9726
9727 PR gdb/9664:
9728 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
9729
392452f6
PA
97302009-01-22 Pedro Alves <pedro@codesourcery.com>
9731
9732 PR c++/9631:
9733 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
9734
8653e71c
PM
97352009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
9736
9737 * gdb.server/file-transfer.exp: Use EXEEXT variable for
9738 binfile definition to fix Windows OS failure.
9739
a12cc160
DJ
97402009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9741
9742 PR gdb/9346
9743 * gdb.base/interrupt.c (sigint_handler): New.
9744 (main): Install a SIGINT handler if SIGNALS is defined. Exit
9745 on error.
9746 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
9747 Test "signal SIGINT".
9748
b89667eb
DE
97492009-01-19 Doug Evans <dje@google.com>
9750
9751 * gdb.base/break.exp: Update expected gdb output.
9752 * gdb.base/sepdebug.exp: Ditto.
9753 * gdb.mi/mi-syn-frame.exp: Ditto.
9754 * gdb.mi/mi2-syn-frame.exp: Ditto.
9755 * gdb.base/call-signal-resume.exp: New file.
9756 * gdb.base/call-signals.c: New file.
9757 * gdb.base/unwindonsignal.exp: New file.
9758 * gdb.base/unwindonsignal.c: New file.
9759 * gdb.threads/interrupted-hand-call.exp: New file.
9760 * gdb.threads/interrupted-hand-call.c: New file.
9761 * gdb.threads/thread-unwindonsignal.exp: New file.
9762
adb483fe
DJ
97632009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
9764
9765 * gdb.base/define.exp: Test defining and hooking prefix commands.
9766 * gdb.python/python.exp: Update test for "show user" output.
9767
60023297
JK
97682009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9769
9770 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
9771 now the output exactly, using less wildcards. Expect also the output
9772 of gfortran-4.3. Update for the f-valprint.c modification from
9773 2008-04-22.
9774 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
9775 Remove gdb_test test names where matching the command.
9776
ccc57cf9
PA
97772009-01-01 Pedro Alves <pedro@codesourcery.com>
9778
9779 PR breakpoints/9681:
9780 * gdb.base/watchpoint.exp: Add regression test.
9781
c7a6ca08
PA
97822008-12-31 Pedro Alves <pedro@codesourcery.com>
9783
9784 * gdb.threads/attach-into-signal.exp: Don't use
9785 gdb_suppress_entire_file.
9786 * gdb.threads/attach-stopped.exp: Ditto.
9787 * gdb.threads/attachstop-mt.exp: Ditto.
9788
3a031f65
PA
97892008-12-31 Pedro Alves <pedro@codesourcery.com>
9790
9791 PR gdb/8812:
9792 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
9793
09e6485f
PA
97942008-12-29 Pedro Alves <pedro@codesourcery.com>
9795
9796 PR gdb/7536:
9797 * gdb.base/radix.exp: Add tests to ensure invalid input radices
9798 and unsupported output radices are really rejected.
9799
0cd53049
JK
98002008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9801
9802 * gdb.cp/punctuator.exp: Backslash the '$' signs.
9803
ba163c7e
TT
98042008-12-22 Tom Tromey <tromey@redhat.com>
9805
9806 * gdb.cp/punctuator.exp: New file.
9807
6f4de6c9
JK
98082008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9809
9810 * gdb.base/completion.exp (Completing non-existing component): New test.
9811
0f34d0b4
JK
98122008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9813
9814 Fix for PR gdb/8648.
9815 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
9816 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
9817 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
9818 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
9819
db2ad4c3
JK
98202008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9821
9822 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
9823
bb5ef15e
DP
98242008-12-16 Christophe Lyon <christophe.lyon@st.com>
9825
9826 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
9827 compiler actually generate code at the expected line number.
9828
90142adc
JZ
98292008-12-15 Jie Zhang <jie.zhang@analog.com>
9830
9831 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
9832
fad6eecd
TT
98332008-12-12 Tom Tromey <tromey@redhat.com>
9834
9835 * gdb.base/commands.exp (redefine_hook_test): New proc.
9836 Call it.
9837
17c8aaf5
TT
98382008-12-11 Tom Tromey <tromey@redhat.com>
9839
9840 * gdb.base/macscp.exp: New regression test.
9841
7c8adf68
TT
98422008-12-11 Tom Tromey <tromey@redhat.com>
9843
9844 * gdb.base/macscp.exp: Print "address.addr".
9845 * gdb.base/macscp1.c (struct outer): New struct.
9846 (address): New global.
9847
b05dcbb7
TT
98482008-12-09 Tom Tromey <tromey@redhat.com>
9849
9850 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
9851 Call it.
9852
2d476de1
DE
98532008-12-04 Doug Evans <dje@google.com>
9854
9855 * gdb.server/ext-run.exp: Relax regexp for init program.
9856
87bdc959
TG
98572008-12-03 Tristan Gingold <gingold@adacore.com>
9858
9859 * gdb.base/macscp.exp: Generate an object file during compilation
9860 to work around Darwin dsymutil limitations.
9861
e0740f77
JK
98622008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9863
9864 Test resolving external references to TLS variables.
9865 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
9866 FILE2_THREAD_LOCAL.
9867 (testfile2, srcfile2): New variables.
9868 * gdb.threads/tls.c (file2_thread_local)
9869 (function_referencing_file2_thread_local): New.
9870 * gdb.threads/tls2.c: New file.
9871
67f0aac5
JB
98722008-11-28 Joel Brobecker <brobecker@adacore.com>
9873
9874 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
9875 rather than integer, as integer might not be big enough when
9876 on 64bit targets.
67f0aac5 9877
c332165e
JG
98782008-11-27 Jerome Guitton <guitton@adacore.com>
9879
9880 * gdb.cp/formatted-ref.exp: Add equality test.
9881 * gdb.ada/formatted_ref.exp: Ditto.
9882
fc9b693c
JK
98832008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9884
9885 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
9886 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
9887
a9c64011
AS
98882008-11-20 Andreas Schwab <schwab@suse.de>
9889
9890 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
9891 matching syscall entry point.
9892 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
9893 (tcatch_vfork_then_child_follow): Likewise. Finish through
9894 vfork even if we stopped at the syscall trampoline.
9895
e2fd701e
DE
98962008-11-20 Doug Evans <dje@google.com>
9897
9898 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
9899
69abc51c
TJB
99002008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
9901
9902 * gdb.arch/ppc-dfp.exp: New file.
9903 * gdb.arch/ppc-dfp.c: New file.
9904
c14c28ba
PP
99052008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9906
9907 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 9908
2e74121d
DE
99092008-11-17 Doug Evans <dje@google.com>
9910
9911 * gdb.mi/mi-syn-frame.exp: Update expected output.
9912 * gdb.mi/mi2-syn-frame.exp: Update expected output.
9913
66bb093b
VP
99142008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9915
9916 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
9917 "thread N" results in =thread-selected.
9918 * lib/mi-support (mi_run_cmd, mi_expect_stop)
9919 (mi_send_resuming_command_raw): Be prepared for
9920 =thread-selected.
9921
3d043ef6
VP
99222008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9923
a9c64011
AS
9924 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
9925 * lib/mi-support.exp: Likewise.
3d043ef6 9926
808104c8
JB
99272008-11-16 Joel Brobecker <brobecker@adacore.com>
9928
9929 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
9930 commands from the expected output for "help catch".
9931
00b22944
JB
99322008-11-15 Joel Brobecker <brobecker@adacore.com>
9933
9934 * gdb.ada/int_deref.exp: New testcase.
9935
59669435
TT
99362008-11-14 Nick Roberts <nickrob@snap.net.nz>
9937
9938 * gdb.mi/gdb2549.exp: New file.
9939
de04a248
DE
99402008-11-11 Doug Evans <dje@google.com>
9941
9942 * gdb.base/callexit.exp: New file.
9943 * gdb.base/callexit.c: New file.
9944
6b8ce727
DE
99452008-11-10 Doug Evans <dje@google.com>
9946
9947 * lib/gdb.exp (GDBFLAGS): Move -nx ...
9948 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
9949 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
9950 (default_gdb_start,default_gdb_exit): Ditto.
9951 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
9952 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
9953 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
9954 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
9955 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
9956 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
9957
1b14b8aa
AS
99582008-11-03 Andreas Schwab <schwab@suse.de>
9959
9960 * gdb.base/hashline2.exp: Fix typo.
9961 * gdb.base/hashline3.exp: Likewise.
9962
f3134b88
TT
99632008-10-30 Tom Tromey <tromey@redhat.com>
9964
9965 * gdb.base/pointers.exp: Add test.
9966 * gdb.base/pointers.c (k, S): New typedefs.
9967 (instance): New global.
9968
c2226152
AS
99692008-10-30 Andreas Schwab <schwab@suse.de>
9970
9971 * gdb.base/args.exp: Add tests for newlines.
9972
462f405c
JB
99732008-10-30 Joel Brobecker <brobecker@adacore.com>
9974
9975 gdb.base/foll-exec.exp: Update the expected output of a couple
9976 of "info breakpoints" tests.
9977
79a45b7d
TT
99782008-10-28 Tom Tromey <tromey@redhat.com>
9979
9980 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
9981
adc13a14
PA
99822008-10-24 Pedro Alves <pedro@codesourcery.com>
9983
9984 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
9985 gdb_start_cmd.
9986 Use runto_main before any test that requires execution.
9987
252fbfc8
PA
99882008-10-23 Pedro Alves <pedro@codesourcery.com>
9989
9990 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
9991 instead of SIGINT.
9992
28148e3d
JB
99932008-10-22 Joel Brobecker <brobecker@adacore.com>
9994
9995 * gdb.base/completion.exp: Update expected output following
9996 the addition of the "info tasks" command.
9997
c209f847
TT
99982008-10-22 Tom Tromey <tromey@redhat.com>
9999
10000 * gdb.base/exprs.exp (test_expr): Add test for string
10001 concatenation.
10002
f177e350
PA
100032008-10-19 Pedro Alves <pedro@codesourcery.com>
10004
10005 * configure.ac: Output gdb.python/Makefile.
10006 * configure: Regenerate.
10007 * gdb.python/Makefile.in: New.
10008
cce89356
JB
100092008-10-16 Joel Brobecker <brobecker@adacore.com>
10010
10011 * gdb.base/foll-fork.exp: Adjust the expected output to match
10012 the new description for fork/vfork catchpoints in the "info
10013 breakpoints" output.
10014
176d289d
TJB
100152008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10016
10017 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
10018
a08702d6
TJB
100192008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
10020
10021 * gdb.python/python-value.c: New file.
10022 * gdb.python/python-value.exp: New file.
10023
1c5cfe86
PA
100242008-10-15 Pedro Alves <pedro@codesourcery.com>
10025
10026 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
10027
5a98ad69
DP
100282008-10-15 Denis Pilat <denis.pilat@st.com>
10029
41702f1b 10030 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 10031
dcb1a1e2
TT
100322008-10-09 Tom Tromey <tromey@redhat.com>
10033
10034 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
10035 'fprintf' and 'stderr'.
10036
9124fe48
JB
100372008-10-07 Joel Brobecker <brobecker@adacore.com>
10038
10039 * gdb.ada/ref_tick_size.exp: New testcase.
10040
45452591
DE
100412008-10-06 Doug Evans <dje@google.com>
10042
10043 * gdb.dwarf2/dw2-cu-size.exp: New file.
10044 * gdb.dwarf2/dw2-cu-size.S: New file.
10045
10046 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
10047 .Ltype_int for clarity.
10048
4fc5b208
PP
100492008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
10050
10051 PR gdb/2384:
10052 * gdb.cp/gdb2384.exp: Extended to test more cases.
10053 * gdb.cp/gdb2384.cc: Likewise.
10054 * gdb.cp/gdb2384-base.h: Likewise.
10055 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 10056
d78df370
JK
100572008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10058
10059 * gdb.base/maint.exp (maint print type): Remove printing
10060 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
10061
9a044a89
TT
100622008-09-30 Tom Tromey <tromey@redhat.com>
10063
10064 * gdb.base/macscp.exp: Add completion tests.
10065 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
10066 (TWENTY_THREE): Likewise.
10067 (FORTY_EIGHT): Likewise.
10068
506800a9
TT
100692008-09-30 Tom Tromey <tromey@redhat.com>
10070
10071 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
10072 everywhere.
10073 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
10074
1a6f01b5
JK
100752008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10076
10077 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
10078 testcase is derived from. Fix racy dependency on an expected PID
10079 number. No longer support the testcase on Linux kernel 2.4.x.
10080
2fae03e8
TT
100812008-09-27 Tom Tromey <tromey@redhat.com>
10082
10083 * gdb.base/macscp.exp: Add tests for stringification, splicing,
10084 and varargs.
10085
1ad15515
PA
100862008-09-22 Pedro Alves <pedro@codesourcery.com>
10087
10088 * lib/mi-support.exp (mi_expect_interrupt): New.
10089 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
10090 from gdb.mi/mi-nonstop.exp.
10091 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
10092 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
10093 lib/mi-support.exp.
10094 Use mi_check_thread_states throughout. Avoid ".*" and do not
10095 require an anchor after -exec-run.
10096
d0b76dc6
DJ
100972008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
10098
10099 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
10100 stop is pending. Avoid ".*" when two stops are pending.
10101 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
10102 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
10103 newlines in fullnames.
10104 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
10105 (mi_expect_stop): Update comments. Only anchor in sync mode.
10106 Do not match newlines.
10107 (mi_send_resuming_command_raw): Always return status.
10108 (mi_get_stop_line): Do not match more than one line by accident.
10109 Only anchor in sync mode.
10110 (mi_run_inline_test): If -exec-next fails, give up.
10111
9990c830
UW
101122008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10113
10114 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
10115 on SPU.
10116
ebcf6f00
JB
101172008-09-10 Joel Brobecker <brobecker@adacore.com>
10118
10119 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
10120
b6db24e5
JB
101212008-09-10 Joel Brobecker <brobecker@adacore.com>
10122
10123 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
10124 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
10125 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
10126 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
10127 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
10128 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
10129 gdb.ada/interface.exp, gdb.ada/null_array.exp,
10130 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
10131 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
10132 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
10133 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
10134 Include the "= " sequence in the expected output of print tests.
10135
2bf448e0
JB
101362008-09-10 Joel Brobecker <brobecker@adacore.com>
10137
10138 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
10139 description for boolean types.
10140
d51fd4c8
PA
101412008-09-09 Pedro Alves <pedro@codesourcery.com>
10142
10143 * gdb.base/hook-stop-continue.c: New.
10144 * gdb.base/hook-stop-continue.exp: New.
10145
694182d2
DJ
101462008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10147
10148 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
10149
3b8a7fc0
JG
101502008-09-08 Jerome Guitton <guitton@adacore.com>
10151
10152 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
10153 (stack_check_probe_2, stack_check_probe_loop_1)
10154 (stack_check_probe_loop_2): New functions.
10155 (main): Add call to these new functions.
10156 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
10157 functions, check that the breakpoint is inserted at the appropriate
10158 location.
10159 (insert_breakpoint): Slightly refine this procedure so that it can
10160 be called several times in the test.
10161
96cc0ae8
JG
101622008-09-08 Jerome Guitton <guitton@adacore.com>
10163
10164 * gdb.base/stack-checking.c: New file.
10165 * gdb.base/stack-checking.exp: New file.
10166
1f08b409
TJB
101672008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
10168
10169 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
10170 * gdb.arch/altivec-regs.exp: Likewise.
10171 * gdb.arch/vsx-regs.exp: Likewise.
10172
3099e1c4
TJB
101732008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
10174
10175 * gdb.arch/ppc-fp.exp: New file.
10176 * gdb.arch/ppc-fp.c: New file.
10177
cc69bfc1
PP
101782008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10179
10180 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
10181 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 10182
b02a33db
MS
101832008-09-04 Michael Snyder <msnyder@vmware.com>
10184
10185 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
10186 as "at" (for non-debug functions such as _start).
10187
2992cbe0
UW
101882008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10189
10190 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
10191 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
10192 software watchpoints.
10193 * gdb.base/watch_thread_num.exp: Likewise.
10194
514f746b
AR
101952008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
10196
10197 * gdb.arch/i386-bp_permanent.exp: New test.
10198
876cecd0
TT
101992008-08-24 Tom Tromey <tromey@redhat.com>
10200
10201 * gdb.base/maint.exp: Update "maint print type".
10202
80f73d71
VP
102032008-08-21 Vladimir Prus <vladimir@codesourcery.com>
10204
10205 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
10206 support. Adjust the order of "*running" notifications.
10207 * gdb.mi/non-stop.c: Don't cast from int to void* and
10208 back.
10209
d9c78d7d
MK
102102008-08-20 Mark Kettenis <kettenis@gnu.org>
10211
10212 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
10213 expect to find it in the "info frame" output.
10214
97a2d1d3
DJ
102152008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
10216
10217 * gdb.base/interp.exp: Always consume both prompts.
10218
b96e2927
PA
102192008-08-20 Pedro Alves <pedro@codesourcery.com>
10220
10221 * gdb.base/pending.exp: Test pending breakpoints without symbols
10222 loaded.
10223
8cf6e61a
VP
102242008-08-19 Vladimir Prus <vladimir@codesourcery.com>
10225
10226 * lib/mi-support.exp (mi_expect_stop): Produce
10227 more details on failures.
10228 * gdb.mi/mi-nonstop.exp: New.
10229 * gdb.mi/non-stop.c: New.
10230
c6ebd6cf
VP
102312008-08-19 Vladimir Prus <vladimir@codesourcery.com>
10232
a9c64011
AS
10233 * gdb.mi/mi-async.exp: Use 'set target-async'.
10234 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 10235
46a9b8ed
DJ
102362008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
10237
10238 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
10239
44feb3ce
TT
102402008-08-17 Tom Tromey <tromey@redhat.com>
10241
10242 * gdb.base/help.exp (help catch): Rewrite.
10243
311a4e6b
TJB
102442008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
10245
10246 * gdb.base/define.exp: Test indented command documentation.
10247 * gdb.python/python.exp: Test indented multi-line command.
10248
604c2f83
LM
102492008-08-15 Luis Machado <luisgpm@br.ibm.com>
10250
10251 * testsuite/gdb.arch/vsx-regs.c: New source file.
10252 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
10253 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
10254
886a217c
TT
102552008-08-14 Tom Tromey <tromey@redhat.com>
10256
10257 * gdb.base/macscp.exp: Add regression test for "macro define" or
10258 "macro undef" with no arguments.
10259
c814a4f3
PP
102602008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10261
10262 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 10263
12ab8a60
UW
102642008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10265
10266 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
10267
d57a3c85
TJB
102682008-08-06 Tom Tromey <tromey@redhat.com>
10269
10270 * gdb.python/python.exp: New file.
10271
c7b778ff
JK
102722008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10273
10274 Fix for PR gdb/1543.
10275 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
10276 $LOCATION.
10277 (location): New variable.
10278 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
10279 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
10280 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
10281 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
10282 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
10283 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
10284 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
10285 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
10286 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
10287 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
10288 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
10289 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
10290 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
10291 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
10292 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
10293 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
10294 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
10295 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
10296 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
10297 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
10298 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
10299 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
10300 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
10301 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
10302 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
10303 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
10304 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
10305 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
10306 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
10307 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
10308 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
10309 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
10310 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
10311 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
10312 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
10313 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
10314 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
10315 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
10316 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
10317 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
10318 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
10319 gdb.base/type-opaque.exp, gdb.base/until.exp,
10320 gdb.base/value-double-free.c, gdb.base/varargs.exp,
10321 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
10322 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
10323 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
10324 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
10325 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
10326 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
10327 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
10328 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
10329 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
10330 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
10331 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
10332 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
10333 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
10334 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
10335 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
10336 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
10337 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
10338 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
10339 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
10340 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
10341 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
10342 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
10343 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
10344 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
10345 gdb.pascal/types.exp, gdb.stabs/weird.exp,
10346 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
10347 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
10348 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
10349 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
10350 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
10351 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
10352 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
10353 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
10354 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
10355 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
10356 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
10357 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
10358 lib/mi-support.exp, lib/trace-support.exp: Remove reference
10359 to bug-gdb@prep.ai.mit.edu .
10360
5e06a3d1
VP
103612008-07-31 Vladimir Prus <vladimir@codesourcery.com>
10362
10363 * lib/mi-support.exp (mi_load_shlibs): New.
10364 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
10365
9d81d21b
VP
103662008-07-30 Vladimir Prus <vladimir@codesourcery.com>
10367
10368 * lib/mi-support.exp (get_mi_thread_list)
10369 (check_mi_and_console_threads): New, moved from ...
10370 * gdb.mi/mi-pthread.exp: ...here.
10371 * gdb.mi/gdb669.exp (get_mi_thread_list)
10372 (check_mi_and_console_threads): Delete.
10373 * gdb.mi/mi2-pthread.exp: Likewise.
10374
bae98fe0
TT
103752008-07-28 Tom Tromey <tromey@redhat.com>
10376
10377 * Makefile.in (just-check): Remove. Move body to...
10378 (check): ... here.
10379
57380f4e
DJ
103802008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10381
10382 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
10383 Add a test for duplicated SIGINTs.
10384
e09490f1
DJ
103852008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10386
10387 * gdb.threads/schedlock.exp (get_args): Update to work for any
10388 value of NUM.
10389 (Top level): Report the number of threads that did not resume.
10390
6387b45f
DJ
103912008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10392
10393 * gdb.dwarf2/dw2-compressed.S: Also define __start.
10394
62f64ff2
DJ
103952008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10396
10397 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
10398 non-MI prompt.
10399
fa8de41e
TT
104002008-07-26 Tom Tromey <tromey@redhat.com>
10401
10402 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
10403 (function_struct, function_struct_ptr): New globals.
10404 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
10405 function pointer in a struct.
10406
ccb3ac8a
TT
104072008-07-26 Tom Tromey <tromey@redhat.com>
10408
10409 * gdb.base/macscp.exp: Add test for macro lexing bug.
10410
d7d9f01e
TT
104112008-07-18 Tom Tromey <tromey@redhat.com>
10412
10413 * gdb.base/macscp.exp: Add macro tests.
10414
9bf07184
PP
104152008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
10416
10417 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
10418
becf6477
PP
104192008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
10420
10421 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
10422
0709f7d3
PP
104232008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
10424
10425 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 10426
7093c834
PP
104272008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
10428
10429 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 10430
b432ffe3
JK
104312008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10432
10433 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
10434
b1a268e5
VP
104352008-07-12 Vladimir Prus <vladimir@codesourcery.com>
10436
10437 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
10438
e2995f8e
KB
104392008-07-11 Kevin Buettner <kevinb@redhat.com>
10440
10441 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
10442 of regexp to account for changes made to GDB in the printing of
10443 byte vectors.
10444
14032a66
TT
104452008-07-11 Tom Tromey <tromey@redhat.com>
10446
10447 * gdb.base/completion.exp: Add 'help' completion test.
10448
981505ef
JK
104492008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10450
10451 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
10452
10568435
JK
104532008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10454
10455 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
10456
4487aabf
PA
104572008-07-09 Pedro Alves <pedro@codesourcery.com>
10458
10459 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
10460
a4a9b1c4
PA
104612008-07-09 Pedro Alves <pedro@codesourcery.com>
10462
10463 * gdb.base/fullname.exp: Restore pwd if compiling failed.
10464
3c3185ac
JK
104652008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10466
10467 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
10468
7ebd49dc
VP
104692008-06-28 Vladimir Prus <vladimir@codesourcery.com>
10470
10471 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
10472 previous commit. Add a comment.
10473
84e46146
PA
104742008-06-28 Pedro Alves <pedro@codesourcery.com>
10475
10476 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
10477
0f8d4a2f
VP
104782008-06-28 Vladimir Prus <vladimir@codesourcery.com>
10479
10480 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
10481
f747e0ce
PA
104822008-06-27 Pedro Alves <pedro@codesourcery.com>
10483
10484 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
10485 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
10486 compiling an executable, link in an object that forces unbuffered
10487 output.
10488 * lib/set_unbuffered_mode.c: New file.
10489
734a5c36
JK
104902008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10491
10492 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
10493
a2840c35
VP
104942008-06-25 Vladimir Prus <vladimir@codesourcery.com>
10495
a9c64011
AS
10496 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
10497 mi_expect_stop.
10498 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
10499 Demand that *running is output.
10500 (detect_async): Perform checking every time.
10501 (mi_send_resuming_command): Extract everything into...
10502 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
10503 (mi_expect_stop): Don't accept any output before *stopped.
10504
6ae37fef
VP
105052008-06-13 Vladimir Prus <vladimir@codesourcery.com>
10506
10507 Robustify mi-simplerun.
a9c64011
AS
10508 * gdb.mi/basics.c (main): Add a call to sleep.
10509 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
10510 * gdb.mi/mi2-cli.exp: Likewise.
10511 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 10512
b4aa76f0 105132008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
10514
10515 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
10516
e1ac3328
VP
105172008-06-10 Vladimir Prus <vladimir@codesourcery.com>
10518
a9c64011
AS
10519 * gdb.mi/mi-console.exp: Adjust.
10520 * gdb.mi/mi-syn-frame.exp: Adjust.
10521 * gdb.mi/mi2-console.exp: Adjust.
10522 * gdb.mi/mi2-syn-frame.exp: Adjust.
10523 * lib/mi-support.exp (mi_run_cmd): Adjust.
10524 (mi_send_resuming_command): Adjust.
e1ac3328 10525
f7f9a841
VP
105262008-06-10 Vladimir Prus <vladimir@codesourcery.com>
10527
10528 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
10529 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
10530 testing of stopped.
10531 * gdb.mi/mi2-syn-frame.exp: Likewise.
10532 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
10533 (async, detect_async): New.
10534 (mi_expect_stop, mi_continue_to_line): Adjust expectation
10535 depending on if we're running in sync or async mode.
f7f9a841 10536
37cd5d19
TT
105372008-06-09 Tom Tromey <tromey@redhat.com>
10538
10539 * gdb.base/completion.exp: New tests for field name completion
10540 with spaces, and field name completion with '->'.
10541
65d12d83
TT
105422008-06-06 Tom Tromey <tromey@redhat.com>
10543
10544 * gdb.base/break1.c (struct some_struct): New struct.
10545 (values): New global.
10546 * gdb.base/completion.exp: Add field name completion test.
10547
ebfe2e3f
PP
105482008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10549
10550 * gdb.cp/call-c.exp: Test for incorrect handling of reference
10551 to pointer.
10552 * gdb.cp/call-c.cc: Likewise.
10553
bcf6fc3a
NR
105542008-06-06 Nick Roberts <nickrob@snap.net.nz>
10555
10556 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
10557 annotation.
10558
49fd4a42 105592008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 10560 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
10561
10562 * gdb.threads/execl.c, gdb.threads/execl1.c,
10563 gdb.threads/execl.exp: New tests.
a9c64011 10564
8a34ac3f
AR
105652008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
10566 Daniel Jacobowitz <dan@codesourcery.com>
10567
10568 * gdb.cp/exception.exp: Activate test, make it work with pending
10569 catchpoints.
10570
86ae69ef
JK
105712008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10572
10573 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
10574
f7f9ae2c
VP
105752008-05-28 Vladimir Prus <vladimir@codesourcery.com>
10576
a9c64011
AS
10577 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
10578 now printed.
10579 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 10580
2a2d4dc3
AS
105812008-05-27 Andreas Schwab <schwab@suse.de>
10582
10583 * gdb.base/frame-args.exp: Handle arguments that are optimized
10584 out.
10585
5099e4d9
LM
105862008-05-26 Luis Machado <luisgpm@br.ibm.com>
10587
10588 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
10589 quiet for ppc32 and group options into a single variable.
10590
d9c36a91
JB
105912008-05-23 Joel Brobecker <brobecker@adacore.com>
10592
10593 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
10594 of zero-size elements.
10595 * gdb.ada/null_array.exp: Test printing this new array.
10596
103a8671
JK
105972008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10598
10599 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
10600
07a4cc1a 106012008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
10602
10603 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
10604 of the "finish" command.
10605
55f996a7
NR
106062008-05-21 Nick Roberts <nickrob@snap.net.nz>
10607
10608 * gdb.base/annota1.exp: Test for new annotation.
10609
907fc202
UW
106102008-05-16 Pedro Alves <pedro@codesourcery.com>
10611
10612 * gdb.base/fixsection.exp: New file.
10613 * gdb.base/fixsection0.c: New file.
10614 * gdb.base/fixsection1.c: New file.
10615
e8f97270
UW
106162008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10617
10618 * gdb.base/annota1.exp: Accept printf@... in place of printf.
10619 * gdb.base/annota3.exp: Likewise.
10620
ac0bb574
NF
106212008-05-13 Nathan Froyd <froydnj@codesourcery.com>
10622
10623 * gdb.base/watch_thread_num.exp: Don't run tests that require
10624 watchpoints if the target doesn't support them.
10625
6fadd07a
DE
106262008-05-12 Doug Evans <dje@google.com>
10627
10628 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
10629
6e9a4a30
JB
106302008-05-09 Joel Brobecker <brobecker@adacore.com>
10631
10632 * gdb.ada/assign_1.exp: New testcase.
10633
08388c79
DE
106342008-05-09 Doug Evans <dje@google.com>
10635
a3c83fae
DE
10636 * gdb.base/find.exp: New file.
10637 * gdb.base/find.c: New file.
08388c79 10638
bd5ddfe8
DJ
106392008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
10640
10641 * gdb.base/commands.exp (watchpoint_command_test): Handle
10642 gdb,no_hardware_watchpoints.
10643 * gdb.base/float.exp: Allow ARM targets without floating point.
10644 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
10645
b5dd68e2 106462008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 10647 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
10648
10649 * gdb.ada/lang_switch: New test program.
10650 * gdb.ada/lang_switch.exp: New testcase.
10651
382d13d1
DE
106522008-05-05 Doug Evans <dje@google.com>
10653
10654 * gdb.base/help.exp (disassemble): Update expected help text.
10655
9dd789d0
PA
106562008-05-04 Pedro Alves <pedro@codesourcery.com>
10657
10658 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
10659
611c83ae
PA
106602008-05-04 Pedro Alves <pedro@codesourcery.com>
10661
10662 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
10663 different times.
10664
ff013f42
JK
106652008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10666
10667 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
10668 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
10669 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
10670 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
10671
96dff6a2
VP
106722008-05-04 Vladimir Prus <vladimir@codesourcery.com>
10673
10674 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
10675 notification to appear.
10676
55cd6f92
DJ
106772008-05-04 Daniel Jacobowitz <dan@debian.org>
10678
10679 * gdb.base/fullname.c: New file.
10680 * gdb.base/fullname.exp: New file.
10681 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
10682
d705c43c
PA
106832008-05-03 Pedro Alves <pedro@codesourcery.com>
10684
10685 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
10686 expressions with macros.
10687
333222e1
JK
106882008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10689
10690 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
10691
5ac01682
DJ
106922008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
10693
10694 * gdb.base/completion.exp: Handle lack of other symbols beginning
10695 with "a".
10696
10697 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
10698
237fc4c9
PA
106992008-05-02 Jim Blandy <jimb@codesourcery.com>
10700
10701 * gdb.asm/asmsrc1.s: Add scratch space.
10702
ed5e9466
DJ
107032008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10704 Daniel Jacobowitz <dan@codesourcery.com>
10705
10706 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
10707 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
10708 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
10709
b39cc962
DJ
107102007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
10711
10712 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
10713
36d520f5
JB
107142008-05-01 Joel Brobecker <brobecker@adacore.com>
10715
10716 * gdb.base/info-target.exp: New testcase.
10717
8d4e3071
DJ
107182008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10719
10720 * gdb.cp/hang.exp: Use .cc instead of .C.
10721 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
10722 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
10723
6f3f3097
DJ
107242008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10725
10726 * gdb.base/gdb1250.exp: Remove perror.
10727 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
10728
5550a914
PA
107292008-04-30 Pedro Alves <pedro@codesourcery.com>
10730
10731 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
10732 .2byte.
10733
d848e687
DJ
107342008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
10735
10736 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
10737 (maybe_kfail): New.
10738
93b5768b
PA
107392008-04-25 Pedro Alves <pedro@codesourcery.com>
10740
10741 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
10742
721c02de
VP
107432008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10744
a9c64011
AS
10745 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
10746 * gdb.mi/mi2-syn-frame.exp: Likewise.
10747 * lib/mi-support.exp: Likewise.
721c02de 10748
74960c60
VP
107492008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10750
10751 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
10752 to specify regexp for the location to stop at.
10753 * gdb.base/break-always.c: New.
10754 * gdb.base/break-always.exp: New.
10755
d24317b4
VP
107562008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10757
10758 * lib/mi-support.exp (mi_runto_helper): Adjust
10759 for the original-location field.
10760 (mi_create_breakpoint, mi_list_breakpoints): New.
10761 * gdb.mi/mi-break.exp: Adjust.
10762 * gdb.mi/mi2-break.exp: Adjust.
10763 * gdb.mi/mi-pending.exp: Adjust.
10764 * gdb.mi/mi-simplerun.exp: Adjust.
10765 * gdb.mi/mi2-simplerun.exp: Adjust.
10766 * gdb.mi/mi-syn-frame.exp: Adjust.
10767 * gdb.mi/mi2-syn-frame.exp: Adjust.
10768 * gdb.mi/mi-until.exp: Adjust.
10769 * gdb.mi/mi2-until.exp: Adjust.
10770 * gdb.mi/mi-var-display.exp: Adjust.
10771 * gdb.mi/mi2-var-display.exp: Adjust.
10772 * gdb.mi/mi-watch.exp: Adjust.
10773 * gdb.mi/mi2-watch.exp: Adjust.
10774
fdc59709 107752008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 10776
a9c64011
AS
10777 * aclocal.m4: Add override.m4.
10778 * configure: Regenerate.
fdc59709 10779
8e91f023
VP
107802008-04-19 Vladimir Prus <vladimir@codesourcery.com>
10781
10782 * gdb.mi/var-cmd.c (do_at_tests): Verify that
10783 '-var-update --all-values' reports new value even the type
10784 of a variable object has changed.
10785
233a11ab
CS
107862008-04-18 Craig Silverstein <csilvers@google.com>
10787
10788 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
10789 files.
d24317b4 10790
9c1137ad
JB
107912008-04-18 Joel Brobecker <brobecker@adacore.com>
10792
10793 * gdb.ada/atomic_enum: New test program.
10794 * gdb.ada/atomic_enum.exp: New testcase.
10795
66d0bbc7
DE
107962008-04-17 Doug Evans <dje@google.com>
10797
10798 * gdb.opt/Makefile.in: Fix whitespace.
10799
100906b0
UW
108002008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
10801
10802 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
10803
4584e32e
DE
108042008-04-17 Doug Evans <dje@google.com>
10805
10806 * gdb.base/hashline1.exp: New testcase.
10807 * gdb.base/hashline2.exp: New testcase.
10808 * gdb.base/hashline2.exp: New testcase.
10809
0a320680
PA
108102008-04-17 Pedro Alves <pedro@codesourcery.com>
10811
10812 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
10813
18ac113b
AR
108142008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
10815
10816 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
10817 temporary breakpoint to match "Temporary breakpoint".
10818 * gdb.base/break.exp (delete_breakpoints): Likewise.
10819 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
10820 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
10821 * gdb.base/display.exp: Likewise.
10822 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
10823 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
10824 * gdb.base/restore.exp (restore_tests): Likewise.
10825 * gdb.base/sepdebug.exp: Likewise.
10826 * gdb.base/watchpoint.exp: Likewise.
10827 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
10828 * gdb.mi/mi-pending.exp: Likewise.
10829 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
10830 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
10831 * gdb.mi/mi-var-cmd.exp: Likewise.
10832 * gdb.mi/mi-var-display.exp: Likewise.
10833 * gdb.mi/mi2-cli.exp: Likewise.
10834 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
10835 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
10836 * gdb.mi/mi2-var-display.exp: Likewise.
10837 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
10838 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
10839 new "disp" field.
a9c64011 10840 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
10841 reason. This is to support fix for PR2424.
10842
add38693
JK
108432008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10844
10845 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
10846
fcacd99f
VP
108472008-04-13 Vladimir Prus <vladimir@codesourcery.com>
10848
10849 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 10850 field. Add more floating varobj tests.
fcacd99f 10851 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
10852 field.
10853 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
10854 (main): Call do_at_tests.
10855 * lib/mi-support.exp (mi_create_floating_varobj)
10856 (mi_varobj_update_with_type_change): New.
fcacd99f 10857
de051565
MK
108582008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
10859
10860 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
10861 option of -var-evaluate-expression.
10862 * gdb.mi/mi2-var-display.exp: Likewise.
10863
dbc52822
VP
108642008-04-07 Vladimir Prus <vladimir@codesourcery.com>
10865
10866 Introduce test setup helpers.
a9c64011
AS
10867 * lib/gdb.exp (build_executable, clean_restart)
10868 (prepare_for_testing): New.
10869 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
10870 * gdb.base/return.exp: Likewise.
10871 * gdb.base/ending-run.exp: Likewise.
dbc52822 10872
473591da
NR
108732008-04-07 Nick Roberts <nickrob@snap.net.nz>
10874
10875 * gdb.mi/mi-async.exp: New test for asynchronous Machine
10876 Interface (MI) responses.
10877
2b2d9e11
VP
108782008-04-06 Vladimir Prus <vladimir@codesourcery.com>
10879
a9c64011
AS
10880 * gdb.cp/breakpoint.cc: New code to test conditions involving
10881 member variables.
10882 * gdb.cp/breakpoint.exp: Test condition involving member
10883 variables.
2b2d9e11 10884
bb378428
VP
108852008-04-05 Vladimir Prus <vladimir@codesourcery.com>
10886
10887 * lib/mi-support.exp (mi_expect_stop): New.
10888 (mi_run_cmd): Change the
10889 token. Use mi_send_resuming_command, use
10890 mi_expect_stop.
10891 (mi_execute_to_helper): Rename to mi_execute_to.
10892 (mi_send_resuming_command): Add more error patterns.
10893 (mi_wait_for_stop): Renamed to...
10894 (mi_get_stop_line): ...this.
10895 (mi_run_inline_test): Adjust.
10896
10897 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
10898 * gdb.mi/mi-console.exp: Likewise.
10899 * gdb.mi/mi-pending.exp: Likewise.
10900 * gdb.mi/mi-simplerun.exp: Likewise.
10901 * gdb.mi/mi-stack.exp: Likewise.
10902 * gdb.mi/mi-stepi.exp: Likewise.
10903 * gdb.mi/mi-syn-frame.exp: Add comment.
10904 * gdb.mi/mi-until.exp: Likewise.
10905 * gdb.mi/mi-var-display.exp: Likewise.
10906 * gdb.mi/mi-watch.exp: Likewise.
10907 * gdb.mi/mi2-cli.exp: Likewise.
10908 * gdb.mi/mi2-console.exp: Likewise.
10909 * gdb.mi/mi2-simplerun.exp: Likewise.
10910 * gdb.mi/mi2-stack.exp: Likewise.
10911 * gdb.mi/mi2-stepi.exp: Likewise.
10912 * gdb.mi/mi2-until.exp: Likewise.
10913 * gdb.mi/mi2-var-display.exp: Likewise.
10914 * gdb.mi/mi2-watch.exp: Likewise.
10915
62172bb9
UW
109162008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10917
10918 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
10919
10920 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
10921
a13e061a
PA
109222008-04-04 Pedro Alves <pedro@codesourcery.com>
10923
10924 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
10925 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
10926 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
10927 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
10928 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
10929 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
10930 expect an mi error duplicated in stderr.
10931
eae06beb
JB
109322008-04-03 Joel Brobecker <brobecker@adacore.com>
10933
10934 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
10935 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
10936 Add a couple of tests that verify the behavior when the new setting
10937 is set to "cancel" and "all".
10938 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
10939 "ask" before we start the testing.
10940
79c6ced6
AR
109412008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
10942
10943 * gdb.cp/casts.cc: Add class reference variables.
10944 * gdb.cp/casts.exp: New test cases for up/down casting references.
10945
6c2d1a6b
MK
109462008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
10947
10948 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
10949 instead of beginning to make an extra test pass.
10950 * gdb.mi/mi2-var-display.exp: Likewise.
10951
55b411d9
MR
109522008-03-31 Maciej W. Rozycki <macro@mips.com>
10953
10954 * gdb.base/break.exp: Mark failures as such. Fix formatting.
10955
c6140da2
MD
109562008-03-31 Markus Deuling <deuling@de.ibm.com>
10957 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10958
10959 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
10960 value. Add xfail for older kernels.
10961
79732189
AR
109622008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
10963
10964 Bring mi-support in line with gdb.exp.
10965 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
10966 (mi_gdb_start): New function.
10967
33c3676e
MR
109682008-03-28 Maciej W. Rozycki <macro@mips.com>
10969
10970 * gdb.mi/mi-var-cmd.exp: Fix a typo.
10971
92e28119
VP
109722008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10973
10974 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
10975 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 10976
9e8e3afe
VP
109772008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10978
10979 * lib/mi-support.exp (mi_create_varobj_checked): New.
10980 (mi_list_varobj_children): Allow to check for a
10981 value.
10982 (mi_list_array_varobj_children): New.
10983
10984 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
10985 and mi_list_varobj_children, as opposed to hardcoding
10986 expected strings.
10987 * gdb.mi/gdb701.exp: Likewise.
10988 * gdb.mi/gdb792.exp: Likewise.
10989 * gdb.mi/mi-var-block.exp: Likewise.
10990 * gdb.mi/mi-var-cmd.exp: Likewise.
10991 * gdb.mi/mi-var-invalidate.exp: Likewise.
10992 * gdb.mi/mi2-var-block.exp: Likewise.
10993 * gdb.mi/mi2-var-child.exp: Likewise.
10994 * gdb.mi/mi2-var-cmd.exp: Likewise.
10995 * gdb.mi/mi2-var-display.exp: Likewise.
10996
9df50351
JK
109972008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10998
10999 Fix random false FAILs on i386.
11000 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
11001
31e5d73a
DJ
110022008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
11003
11004 PR gdb/544
11005 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
11006
12f4afab
DJ
110072008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
11008
11009 PR gdb/544
11010 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
11011
b562a0cb
DJ
110122008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
11013
11014 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
11015 fixed PR gdb/544.
11016
17faa917
DJ
110172008-03-21 Pedro Alves <pedro@codesourcery.com>
11018
11019 * gdb.threads/fork-child-threads.exp: Test next over fork.
11020
6214f497
DJ
110212008-03-21 Chris Demetriou <cgd@google.com>
11022
11023 * gdb.base/break.exp (rbreak junk): New test for rbreak
11024 "Junk at end of arguments" issue.
11025
63092375
DJ
110262008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
11027
11028 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
11029 *& to work on created array elements.
11030 (Top level): Test print $pc with a file. Test string operations
11031 without a target.
11032 * gdb.base/ptype.exp: Do not expect *& to work on created array
11033 elements.
11034
b21991b0
DJ
110352008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
11036
11037 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
11038 gdb.threads/staticthreads.exp: Update exit query.
11039
c4b347c7
SL
110402008-03-07 Sandra Loosemore <sandra@codesourcery.com>
11041
11042 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
11043
fa4727a6
DJ
110442008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
11045
11046 * gdb.base/watchpoint.c (global_ptr, func4): New.
11047 (main): Call func4.
11048 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
11049 (test_inaccessible_watchpoint): New.
11050
2f34202f
MR
110512008-02-29 Maciej W. Rozycki <macro@mips.com>
11052
11053 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
11054 select the largest.
11055
0d6ba1b1
DJ
110562008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
11057
11058 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
11059 frames-invalid annotations.
11060
e691325a
PM
110612008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
11062
a9c64011 11063 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 11064
f85b5ecc
DE
110652008-02-27 Doug Evans <dje@google.com>
11066
11067 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
11068 for bug 1738.
11069 (breakpoint_to_handler_entry): Ditto.
11070
b40e7bf3
JB
110712008-02-27 Joel Brobecker <brobecker@adacore.com>
11072
11073 * gdb.base/ending-run.exp: Use the first line of code inside
11074 function body to test breakpoints.
11075 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
11076 location where the breakpoint is inserted when using the line
11077 where a function is declared. Fix typo in the description of
11078 one of the tests.
11079 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
11080
2faca73a
PM
110812008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
11082
11083 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 11084 tests.
2faca73a 11085
6f439c36
PM
110862008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
11087
11088 * gdb.base/args.exp: avoid same output for tests
11089 with single quotes.
11090
54e52265
VP
110912008-02-26 Vladimir Prus <vladimir@codesourcery.com>
11092
a9c64011
AS
11093 * gdb.base/annota1.exp: Adjust for 'info break'
11094 format changes.
11095 * gdb.base/annota3.exp: Likewise.
11096 * gdb.base/break.exp: Likewise.
11097 * gdb.base/condbreak.exp: Likewise.
11098 * gdb.base/pending.exp: Likewise.
11099 * gdb.base/sepdebug.exp: Likewise.
11100 * gdb.base/unload.exp: Likewise.
11101 * gdb.cp/ovldbreak.exp: Likewise.
11102 * gdb.mi/mi-pending.exp: Likewise.
54e52265 11103
897b09ca
DE
111042008-02-07 Doug Evans <dje@google.com>
11105
11106 * gdb.cp/mb-inline.exp: New.
11107 * gdb.cp/mb-inline.h: New.
11108 * gdb.cp/mb-inline1.cc: New.
11109 * gdb.cp/mb-inline2.cc: New.
11110
b1c32d35
PM
111112008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
11112
11113 * gdb.pascal/floats.pas: New test program.
11114 * gdb.pascal/floats.exp: New testcase.
11115
1a4ca44a
TJB
111162008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
11117
11118 * gdb.base/callfuncs.c (t_float_many_args): New function.
11119 (t_double_many_args): New function.
11120 * gdb.base/callfuncs.exp: Add tests for exceeding float
11121 and double parameters passed through the stack.
11122
439048e8
JB
111232008-02-05 Joel Brobecker <brobecker@adacore.com>
11124
11125 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
11126 gdb.ada/complete/foo.adb: New files.
11127 * gdb.ada/complete.exp: New testcase.
11128
81fe8080
DE
111292008-02-03 Doug Evans <dje@google.com>
11130
301f0ecf
DE
11131 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
11132
81fe8080
DE
11133 * gdb.cp/gdb2384.exp: New file.
11134 * gdb.cp/gdb2384.cc: New file.
11135 * gdb.cp/gdb2384-base.h: New file.
11136 * gdb.cp/gdb2384-base.cc: New file.
11137
4b071aec
DE
111382008-02-02 Doug Evans <dje@google.com>
11139
11140 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
11141
61137ba6
JB
111422007-02-01 Joel Brobecker <brobecker@adacore.com>
11143
11144 * gdb.ada/sym_print_name: New test program.
11145 * gdb.ada/sym_print_name.exp: New testcase.
11146
111472007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
11148
11149 * gdb.ada/nested/hello.adb: New file.
11150 * gdb.ada/nested.exp: New testcase.
11151 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
11152
98deb0da
VP
111532008-02-01 Vladimir Prus <vladimir@codesourcery.com>
11154
11155 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
11156 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
11157 don't cause future evaluations of function to report
11158 creation of internal breakpoints.
98deb0da 11159
723a2275
VP
111602008-02-01 Vladimir Prus <vladimir@codesourcery.com>
11161
11162 * gdb.mi/mi-break.exp (test_error): New.
11163 Call it.
11164
fb546a2f
LM
111652008-01-31 Luis Machado <luisgpm@br.ibm.com>
11166
11167 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
11168 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
11169
2d8fd90a
PM
111702008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
11171
11172 * gdb.pascal/integers.pas: New test program.
11173 * gdb.pascal/integers.exp: New testcase.
11174
a7fa0ded
PM
111752008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
11176
11177 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
11178
5e1a1926
TJB
111792008-01-30 Luis Machado <luisgpm@br.ibm.com>
11180
11181 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
11182 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
11183
8d04f9f0
JB
111842008-01-30 Paul Hilfinger <hilfinger@adacore.com>
11185
11186 * gdb.ada/formatted_ref: New test program.
11187 * gdb.ada/formatted_ref.exp: New testcase.
11188
11189 * gdb.cp/formatted-ref.cc: New file.
11190 * gdb.cp/formatted-ref.exp: New testcase.
11191
ce75a98f
JB
111922008-01-30 Joel Brobecker <brobecker@adacore.com>
11193
11194 * gdb.base/ptype.exp: Add testing of "ptype $pc".
11195
e835f6bf
NR
111962008-01-30 Nick Roberts <nickrob@snap.net.nz>
11197
11198 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
11199 (test_file_list_exec_source_file): Update to new macro-info field.
11200
d118ef87
PH
112012008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
11202
11203 * gdb.ada/exprs: New test program.
11204 * gdb.ada/exprs.exp: New testcase.
11205
7d35ab09
TJB
112062008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
11207
11208 * dfp-test.c (DELTA, DELTA_B): New definitions.
11209 (double_val1, double_val2, double_val3, double_val4, double_val5,
11210 double_val6, double_val7, double_val8, double_val9, double_val10,
11211 double_val11, double_val12, double_val13, double_val14, dec32_val1,
11212 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
11213 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
11214 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
11215 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
11216 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
11217 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
11218 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
11219 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
11220 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
11221 dec128_val16): New global variables.
11222 (decimal_dec128_align): New function.
11223 (decimal_mixed): Likewise.
11224 (decimal_many_args_dec32): Likewise.
11225 (decimal_many_args_dec64): Likewise.
11226 (decimal_many_args_dec128): Likewise.
11227 (decimal_many_args_mixed): Likewise.
11228 * dfp-test.exp: Add tests calling new inferior functions.
11229
2d717e4f
DJ
112302008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11231
11232 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
11233 gdb.server/ext-run.exp: New files.
11234 * lib/gdbserver-support.exp (gdbserver_download): New.
11235 (gdbserver_start): New. Update gdbserver expected
11236 output.
11237 (gdbserver_spawn): Use them.
11238 (gdbserver_start_extended): New.
11239
e85a822c
DJ
112402008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11241
11242 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
11243 Run on GNU/Linux.
11244 (do_exec_tests): Check for systems which do not support catchpoints.
11245 Do not match START.
11246 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
11247 Run on GNU/Linux. Enable verbose output.
11248 (check_fork_catchpoints): New.
11249 (explicit_fork_child_follow, catch_fork_child_follow)
11250 (tcatch_fork_parent_follow): Update expected messages.
11251 (do_fork_tests): Use check_fork_catchpoints.
11252 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
11253 Run on GNU/Linux. Enable verbose output.
11254 (check_vfork_catchpoints): New.
11255 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
11256 expected messages.
11257 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
11258
401ea829
JB
112592008-01-29 Jim Blandy <jimb@red-bean.com>
11260
11261 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
11262 host' errors.
11263 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
11264
aceaf3ad
JB
112652008-01-29 Jim Blandy <jimb@red-bean.com>
11266
11267 * gdb.threads/sigthread.c: Use barriers to ensure that
11268 child_thread and child_thread_two are always initialized before we
11269 start to use them.
11270
a5606eee
VP
112712008-01-29 Vladimir Prus <vladimir@codesourcery.com>
11272
11273 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
11274 * gdb.base/watchpoint-solib.c: New.
11275 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 11276
c55a82bb
PM
112772008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
11278
11279 * gdb.base/gdb1056.exp: Add unsigned integer test.
11280
0993fe05
DE
112812008-01-28 Doug Evans <dje@google.com>
11282
11283 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
11284
4fe42e7f
JB
112852008-01-27 Jim Blandy <jimb@codesourcery.com>
11286
c7a69933
JB
11287 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
11288
4fe42e7f
JB
11289 * gdb.base/expand-psymtabs.exp: Doc fix.
11290
5def8285
MK
112912008-01-26 Mark Kettenis <kettenis@gnu.org>
11292
11293 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
11294
5313c911
NR
112952008-01-24 Nick Roberts <nickrob@snap.net.nz>
11296
a9c64011 11297 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
11298 -var-set-format.
11299
93815fbf
VP
113002008-01-23 Chris Demetriou <cgd@google.com>
11301
11302 * gdb.threads/thread_events.c: New testcase source file.
11303 * gdb.threads/thread_events.exp: New testcase expect file.
11304
467a88ee
NR
113052008-01-23 Nick Roberts <nickrob@snap.net.nz>
11306
11307 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
11308
11309 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
11310 -var-set-format.
11311
d8f82aba
DJ
113122008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
11313 Vladimir Prus <vladimir@codesourcery.com>
11314
11315 * gdb.base/float.exp: Allow missing floating point for m68k and
11316 PowerPC.
11317
60c46647
VP
113182008-01-22 Vladimir Prus <vladimir@codesourcery.com>
11319
11320 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
11321 ignore count.
11322 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
11323 * gdb.mi/mi-cli.exp: Adjust.
11324 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 11325
c7dd36a1
PA
113262008-01-17 Pedro Alves <pedro@codesourcery.com>
11327
11328 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
11329 and 'dummy_ptr' integer pointer. Initialize struct_declarations
11330 with dummy_ptr's address.
11331 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
11332 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
11333 all targets.
11334 * gdb.mi/mi2-var-child.exp: Likewise.
11335
39d5313e
JB
113362008-01-09 Joel Brobecker <brobecker@adacore.com>
11337
11338 * gdb.ada/null_array: New test program.
11339 * gdb.ada/null_array.exp: New testcase.
11340
0aea4bf3
LM
113412008-01-09 Luis Machado <luisgpm@br.ibm.com>
11342
11343 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
11344 with required float modifiers.
11345
0b354900
JB
113462008-01-08 Joel Brobecker <brobecker@adacore.com>
11347
11348 * gdb.ada/funcall_param: New test program.
11349 * gdb.ada/funcall_param.exp: New testcase.
11350
cdb7f5d4
JB
113512008-01-08 Joel Brobecker <brobecker@adacore.com>
11352
11353 * gdb.ada/arrayparam: New test program.
11354 * gdb.ada/arrayparam.exp: New testcase.
11355
88e2547f
JB
113562008-01-08 Joel Brobecker <brobecker@adacore.com>
11357
11358 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
11359 landed. Should also fix random failures in the test following it.
11360
f6867ce0
TJB
113612008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
11362
11363 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
11364 for expressions with decimal float values.
11365 (test_dfp_conversions): New function to test casts to and from
11366 decimal float types.
11367 Call test_dfp_conversions.
11368 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
11369 elements.
11370 (main): Initialize ds.float4 and ds.double8 elements.
11371 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
11372 string to new error message.
11373 (d64_set_tests): Likewise.
11374 (d128_set_tests): Likewise.
11375 Add tests for expressions with decimal float variables. Add tests for
11376 conversions to and from decimal float types.
11377
f9c11282
JB
113782008-01-05 Joel Brobecker <brobecker@adacore.com>
11379
11380 * gdb.ada/packed_tagged/comp_bug.adb: New file.
11381 * gdb.ada/packed_tagged.exp: New testcase.
11382
0ecbca72
JB
113832008-01-04 Joel Brobecker <brobecker@adacore.com>
11384
11385 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
11386 gdb.ada/homonym/homonym_main.adb: New files.
11387 * gdb.ada/homonym.exp: New testcase.
11388
c18d3d89
JB
113892008-01-04 Joel Brobecker <brobecker@adacore.com>
11390
11391 * gdb.ada/packed_array.exp: Add testing of references to
11392 a packed array.
11393
ecc7085b
JB
113942008-01-04 Joel Brobecker <brobecker@adacore.com>
11395
11396 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
11397 New files.
11398 * gdb.ada/type_coercion.exp: New testcase.
11399
c474c922
JB
114002008-01-04 Joel Brobecker <brobecker@adacore.com>
11401
11402 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
11403 gdb.ada/tagged/foo.adb: New file.
11404 * gdb.ada/tagged.exp: New testcase.
11405
9005b927
JB
114062008-01-04 Joel Brobecker <brobecker@adacore.com>
11407
11408 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
11409 gdb.ada/ptype_field/foo.adb: New files.
11410 * gdb.ada/ptype_field.exp: New testcase.
11411
1a6aaad8
JB
114122008-01-03 Joel Brobecker <brobecker@adacore.com>
11413
11414 * gdb.ada/print_pc.exp: New testcase.
11415
0ef22f53
JB
114162008-01-03 Joel Brobecker <brobecker@adacore.com>
11417
11418 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
11419 gdb.ada/taft_type/p.adb: New files.
11420 * gdb.ada/taft_type.exp: New testcase.
11421
1689ecf8
JB
114222008-01-03 Joel Brobecker <brobecker@adacore.com>
11423
11424 * gdb.ada/array_bounds/bar.adb: New file.
11425 * gdb.ada/array_bounds.exp: New testcase.
11426
a4d0b9c3
JB
114272008-01-03 Joel Brobecker <brobecker@adacore.com>
11428
11429 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
11430 gdb.ada/arrayptr/foo.adb: New files.
11431 * gdb.ada/arrayptr.exp: New testcase.
11432
a31ace00
JB
114332008-01-03 Joel Brobecker <brobecker@adacore.com>
11434
11435 * gdb.base/set-lang-auto.exp: New testcase.
11436
a97fced3
JB
114372008-01-03 Joel Brobecker <brobecker@adacore.com>
11438
11439 * gdb.ada/fun_addr/foo.adb: New file.
11440 * gdb.ada/fun_addr.exp: New testcase.
11441
ef29ce1a
JK
114422008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11443
11444 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
11445 New files
11446
0fafefe3
JB
114472008-01-02 Joel Brobecker <brobecker@adacore.com>
11448
11449 * array_subscript_addr/p.adb: New file.
a9c64011 11450 * array_subscript_addr.exp: New testcase.
0fafefe3 11451
c4359f8d
JB
114522008-01-02 Joel Brobecker <brobecker@adacore.com>
11453
a9c64011 11454 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
11455 New files.
11456 * gdb.ada/str_cmp_ref.exp: New testcase.
11457
1aa1b15b
JB
114582008-01-01 Joel Brobecker <brobecker@adacore.com>
11459
11460 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
11461 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 11462 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 11463
81c9b2cf
JB
114642008-01-01 Joel Brobecker <brobecker@adacore.com>
11465
11466 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
11467 gdb.ada/ref_param/pck.ads: New files.
11468 * gdb.ada/ref_param.exp: New testcase.
11469
319e4674
JB
114702008-01-01 Joel Brobecker <brobecker@adacore.com>
11471
11472 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
11473 gdb.ada/interface/foo.adb: New files.
11474 * gdb.ada/interface.exp: New testcase.
11475
ef682c56
JB
114762007-12-31 Jim Blandy <jimb@codesourcery.com>
11477
11478 * gdb.base/multi-forks.exp: Consume all output from child
11479 processes before proceeding to next test.
11480
f6f3eb6c
JB
114812007-12-29 Jim Blandy <jimb@codesourcery.com>
11482
11483 * configure: Regenerated.
11484
f652e42f
JB
114852007-12-27 Joel Brobecker <brobecker@adacore.com>
11486
11487 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
11488 gdb.ada/fixed_cmp/fixed.adb: New files.
11489 * gdb.ada/fixed_cmp.exp: New testcase.
11490
6943e596
JB
114912007-12-27 Joel Brobecker <brobecker@adacore.com>
11492
11493 * gdb.ada/boolean_expr.exp: New testcase.
11494
aad9a193
JB
114952007-12-26 Jim Blandy <jimb@codesourcery.com>
11496
11497 * gdb.base/multi-forks.exp: Doc fix.
11498
fb5f3683
JB
114992007-12-26 Joel Brobecker <brobecker@adacore.com>
11500
11501 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
11502 * gdb.ada/char_param.exp: Do not compile our test program with
11503 -gnata, this is unnecessary.
11504 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
11505
384e4a9c
JB
115062007-12-24 Joel Brobecker <brobecker@adacore.com>
11507
11508 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
11509 gdb.ada/print_chars/foo.adb: New files.
11510 * gdb.ada/print_chars.exp: New testcase.
11511
01e044f7
JB
115122007-12-24 Joel Brobecker <brobecker@adacore.com>
11513
11514 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
11515 gdb.ada/char_param/foo.adb: New files.
11516 * gdb.ada/char_param.exp: New testcase.
11517
0ce17860
JB
115182007-12-22 Jim Blandy <jimb@codesourcery.com>
11519
11520 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
11521 hard-coding source line numbers into the test.
11522 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
11523 gdb_get_line_number to find.
11524
919809b9
JB
115252007-12-22 Joel Brobecker <brobecker@adacore.com>
11526
11527 * gdb.base/ptype.c (highest): New struct type.
11528 (the_highest): New variable of that type.
11529 (main): Add dummy assignment to a field of variable the_highest.
11530 * gdb.base/ptype.exp: Test type printing of our new variable.
11531
abc8a88d
PM
115322007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
11533
11534 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 11535 and record first explicitly generated thread number.
abc8a88d
PM
11536 Use that thread number for thread specific watchpoint test.
11537 Add iteration number to repetitive tests.
11538
5158f3e3
CES
115392007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
11540 Jim Blandy <jimb@codesourcery.com>
11541
11542 * gdb.base/expand-psymtabs.c: New testcase
11543 source file.
11544 * gdb.base/expand-psymtabs.exp: New testcase
11545 expect file.
11546
37e4754d
LM
115472007-12-17 Luis Machado <luisgpm@br.ibm.com>
11548
11549 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
11550 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
11551
551e5d04
JB
115522007-12-17 Joel Brobecker <brobecker@adacore.com>
11553
11554 * gdb.ada/frame_args/foo.adb: New file.
11555 * gdb.ada/frame_args/pck.ads: New file.
11556 * gdb.ada/frame_args/pck.adb: New file.
11557 * gdb.ada/frame_args.exp: New testcase.
11558
a05ee097
JB
115592007-12-17 Joel Brobecker <brobecker@adacore.com>
11560
11561 * gdb.base/frame-args.c: New file.
11562 * gdb.base/frame-args.exp: New testcase.
11563
c162e8c9 115642007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 11565 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
11566
11567 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
11568
afe8ab22 115692007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11570
afe8ab22
VP
11571 * gdb.mi/mi-pending.exp: New.
11572 * gdb.mi/mi-pending.c: New.
11573 * gdb.mi/mi-pendshr.c: New.
11574
dfdfb3ca
JB
115752007-12-06 Jim Blandy <jimb@codesourcery.com>
11576
11577 * gdb.base/default.exp: Update expected output for 'info catch'.
11578
b7fca990
JK
115792007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11580
11581 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
11582 must be set to binary.
11583
6a1afc1e
PA
115842007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
11585
11586 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
11587
a6b151f1
DJ
115882007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
11589
11590 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
11591 gdb.mi/mi-file-transfer.exp: New.
11592
43039443
JK
115932007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11594
11595 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
11596
0ef2251b
MR
115972007-11-22 Maciej W. Rozycki <macro@mips.com>
11598
11599 * gdb.trace/backtrace.exp: Fix a typo.
11600 * gdb.trace/circ.exp: Likewise.
11601 * gdb.trace/collection.exp: Likewise.
11602 * gdb.trace/limits.exp: Likewise.
11603 * gdb.trace/report.exp: Likewise.
11604 * gdb.trace/tfind.exp: Likewise.
11605 * gdb.trace/while-dyn.exp: Likewise.
11606
5443631e
NR
116072007-11-21 Nick Roberts <nickrob@snap.net.nz>
11608
11609 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
11610 objects of pointers that can't be dereferenced are now
11611 "noneditable".
11612
a4ce5b0d
UW
116132007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11614
11615 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
11616 (target_cpu): Remove.
11617
d6e956e5
VP
116182007-10-15 Vladimir Prus <vladimir@codesourcery.com>
11619
11620 * gdb.base/ending-run.exp: Expect the list of cleared
11621 breakpoint to come in natural order, not the reversed one.
a9c64011 11622
214270ab
VP
116232007-11-07 Vladimir Prus <vladimir@codesourcery.com>
11624
11625 * gdb.mi/mi-var-child.c (do_child_deletion): New.
11626 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 11627
1a619819
LM
116282007-11-05 Luis Machado <luisgpm@br.ibm.com>
11629
11630 * gdb.base/printcmds.exp: New function
11631 test_printf_with_dfp.
11632
5b01a6fa
DE
116332007-11-02 Doug Evans <dje@google.com>
11634
11635 * gdb.disasm/t01_mov.s: Remove carriage returns.
11636 * gdb.disasm/t02_mova.s: Ditto.
11637 * gdb.disasm/t03_add.s: Ditto.
11638 * gdb.disasm/t04_sub.s: Ditto.
11639 * gdb.disasm/t05_cmp.s: Ditto.
11640 * gdb.disasm/t06_ari2.s: Ditto.
11641 * gdb.disasm/t07_ari3.s: Ditto.
11642 * gdb.disasm/t08_or.s: Ditto.
11643 * gdb.disasm/t09_xor.s: Ditto.
11644 * gdb.disasm/t10_and.s: Ditto.
11645 * gdb.disasm/t11_logs.s: Ditto.
11646 * gdb.disasm/t12_bit.s: Ditto.
11647 * gdb.disasm/t13_otr.s: Ditto.
11648
ec33ab7f
JK
116492007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11650
11651 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
11652
ae0d01ff
UW
116532007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11654
11655 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
11656 provide DFP support.
11657
55eddb0f
DJ
116582007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
11659
11660 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
11661 Test "set powerpc vector-abi". Skip auto-detection tests for old
11662 toolchains.
11663
7020f05c
PA
116642007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11665
11666 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
11667 with [string compare].
11668
84bc3db9
PA
116692007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11670
11671 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
11672 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
11673
5876dc88
LM
116742007-10-25 Luis Machado <luisgpm@br.ibm.com>
11675
11676 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
11677 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
11678 * gdb.opt/Makefile.in: New makefile.
11679 * Makefile.in: Create new directory "gdb.opt".
11680 * configure.ac: Add "gdb.opt" directory.
11681 * configure: Regenerated.
a9c64011 11682
c3ea9a14
DE
116832007-10-25 Doug Evans <dje@google.com>
11684
11685 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
11686 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
11687
a9c64011 116882007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
11689 Thiago Jung Bauermann <bauerman@br.ibm.com>
11690
11691 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
11692 Floating Point expressions.
11693 * gdb.base/dfp-test.exp: new file adding tests for Decimal
11694 Floating Point variables.
11695 * gdb.base/dfp-test.c: new file containing program with Decimal
11696 Floating variables, used by gdb.base/dfp-test.exp.
11697
62a24a2b
DJ
116982007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
11699
11700 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
11701
e7b1eae6
UW
117022007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11703
11704 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
11705 compiling test case with GCC.
11706 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
11707
c641edcc
UW
117082007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11709
11710 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11711 format changes.
11712
5e5ebfe6
MS
117132007-10-18 Michael Snyder <msnyder@specifix.com>
11714
11715 * gdb.base/dbx.exp: Add missing "-re " operator.
11716
e831e7b6
GM
117172007-10-16 Gaius Mulley <gaius@glam.ac.uk>
11718
11719 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
11720 * configure.ac: Removed trailing spaces after backslash.
11721 * gdb.modula2: New directory.
11722 * gdb.modula2/Makefile.in: New file.
11723 * gdb.modula2/unbounded-array.exp: New file.
11724 * gdb.modula2/unbounded1.c: New file.
11725
7cc46491
DJ
117262007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
11727
11728 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
11729
117302007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
11731
11732 * gdb.base/sigstep.c (main): Add checks for
11733 return values for setitimer call.
11734 Call setitimer again with itimer = ITIMER_REAL
11735 if first call to setitimer fails.
11736
e91528f0
KH
117372007-10-11 Kazu Hirata <kazu@codesourcery.com>
11738
11739 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
11740 of $timeout.
11741
2ec9a4f8
DJ
117422007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
11743
11744 * gdb.server/server-run.exp: Test for dynamic linker symbols.
11745
117462007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
11747
11748 * lib/gdb.exp (gdb_run_cmd): Move comment outside
11749 of gdb_expect call, to avoid interruption.
11750
64b2fa04
PA
117512007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
11752
11753 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
11754 (v_unsigned_long_long, v_long_long_array)
11755 (v_signed_long_long_array, v_unsigned_long_long_array)
11756 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
11757 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
11758 [!NO_LONG_LONG]: New.
11759 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
11760 v_long_long_member.
11761
11762 (v_long_long_func, v_signed_long_long_func)
11763 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
11764 (main) [!NO_LONG_LONG]: Initialize long long variants.
11765
11766 * gdb.base/whatis.exp: If board file requests no_long_long, build
11767 test with NO_LONG_LONG defined. Test long long, signed long long,
11768 and unsigned long long variants but only if board file doesn't
11769 disable it.
11770
a912286e 117712007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 11772 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
11773
11774 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
11775 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
11776 * configure: Regenerated.
11777 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
11778 gdb.pascal/types.exp, lib/pascal.exp: New files.
11779
471ba8c9
DJ
117802007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
11781
11782 * gdb.cp/classes.exp (do_tests): Always step to the line after the
11783 call.
11784 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
11785 to return to the call.
11786 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
11787 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
11788 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
11789 * gdb.mi/mi-until.exp (test_until): Likewise.
11790 * gdb.mi/mi2-until.exp (test_until): Likewise.
11791
fef8a650
DJ
117922007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
11793
11794 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
11795 two-char array.
11796 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
11797
d983da9c
DJ
117982007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
11799
11800 * gdb.threads/watchthreads.c (thread_function): Sleep between
11801 iterations.
11802 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
11803 at once for S/390. Generate matching fails and passes.
11804
17f62551
VP
118052007-09-27 Vladimir Prus <vladimir@codesourcery.com>
11806
11807 * gdb.mi/var-cmd.c (do_children_tests): Initialize
11808 the 'struct_declarations' variable to zeros.
a9c64011 11809
ed0616c6
VP
118102007-09-24 Vladimir Prus <vladimir@codesourcery.com>
11811
11812 * gdb.cp/mb-ctor.cc: New.
11813 * gdb.cp/mb-ctor.exp: New.
11814 * gdb.cp/mb-templates.cc: New.
11815 * gdb.cp/mb-templates.exp: New.
11816
41f1b697
DJ
118172007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
11818
11819 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
11820
3f213f78
PA
118212007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
11822
11823 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
11824 targets.
11825 * configure: Regenerate.
11826
0d381245 118272007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11828
0d381245
VP
11829 * gdb.base/annota1.exp: Adjust for 'info break'
11830 format changes.
11831 * gdb.base/annota3.exp: Likewise.
11832 * gdb.base/break.exp: Likewise.
11833 * gdb.base/condbreak.exp: Likewise.
11834 * gdb.base/pending.exp: Likewise.
11835 * gdb.base/sepdebug.exp: Likewise.
11836 * gdb.base/unload.exp: Likewise.
11837 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 11838
fe3f5fa8
VP
118392007-09-22 Vladimir Prus <vladimir@codesourcery.com>
11840
11841 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
11842 messages.
11843 * gdb.base/chng-syms.exp: Likewise.
11844 * gdb.base/unload.exp: Likewise.
a9c64011 11845
a75cf6c0
DJ
118462007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
11847
11848 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
11849
18ecae38
DJ
118502007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
11851
11852 * schedlock.c (NUM): Change to 1.
11853 (main): Use args[0] for the main thread.
11854 * schedlock.exp: Only expect two threads. Only issue one pass or fail
11855 regardless of the number of threads.
11856
5509918f
MR
118572007-09-14 Maciej W. Rozycki <macro@mips.com>
11858
4a543daf
MR
11859 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
11860 type down.
11861 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11862 test.
11863 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
11864 watchpoint type down.
11865 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11866 test.
11867
118682007-09-14 Maciej W. Rozycki <macro@mips.com>
11869
5509918f
MR
11870 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
11871 Move all the tests here and run them twice, once using software
11872 watchpoints and once using hardware watchpoints.
11873 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
11874
40b53987
DJ
118752007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
11876
11877 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
11878 test.
11879
695e2681
MK
118802007-09-10 Mark Kettenis <kettenis@gnu.org>
11881
8b3fc8d8
MK
11882 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
11883 build-id.
11884
695e2681
MK
11885 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
11886 know about $ORIGIN. Calculate output dir from $dest instead of
11887 using ${objdir}/{$subdir}.
11888
58d69f29
MK
118892007-09-09 Mark Kettenis <kettenis@gnu.org>
11890
11891 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
11892 gcore, before continuing with the test.
11893
3e347599
DJ
118942007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
11895
11896 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
11897 * gdb.mi/mi-watch.exp: Likewise.
11898
ea37ba09
DJ
118992007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11900 Jim Blandy <jimb@codesourcery.com>
11901
11902 * gdb.arch/i386-sse.exp: Do not expect character constants.
11903 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
11904 * gdb.base/display.exp: Allow print/s.
11905 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
11906 and unsigned char array changes.
11907
2025a643
DJ
119082007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11909
11910 * gdb.base/display.exp: Add tests for printf %p.
11911
26669a27
PA
119122007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
11913
11914 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
11915 the dll name to unicode.
11916
c8f021f8
JK
119172007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11918
11919 * gdb.base/default.exp (show version): Update the version text.
11920 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
11921
4cf31eea
JK
119222007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11923
11924 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
11925 New files.
11926
4935890f
JK
119272007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11928
11929 * lib/gdb.exp (build_id_debug_filename_get): New function.
11930 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
11931 Remove the generate DEBUG file for the future testcase runs.
11932 New testcase for the NT_GNU_BUILD_ID retrieval.
11933 Move the final testing step to ...
11934 (test_different_dir): ... a new function.
11935 New parameter XFAIL to XFAIL all the tests performed.
11936 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
11937 New parameter TYPE to PF_PREFIX all the tests performed.
11938
02142340
VP
119392007-08-31 Vladimir Prus <vladimir@codesourcery.com>
11940
11941 * gdb.mi/mi-var-cp.cc (path_expression): New
11942 function.
11943 * gdb.mi/mi-var-cp.exp: Run path exression tests.
11944
36acd84e
UW
119452007-08-27 Markus Deuling <deuling@de.ibm.com>
11946
11947 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
11948 to fit into SPU Local Store memory.
11949
a896d121
JB
119502007-08-23 Joel Brobecker <brobecker@adacore.com>
11951
11952 * gdb.base/default.exp: Adjust the expected output of "info
11953 warranty" after the switch to GPLv3.
11954
7b433602
JB
119552007-08-23 Joel Brobecker <brobecker@adacore.com>
11956
11957 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
11958 to 30000 (from 20000).
11959
e22f8b7c
JB
119602007-08-23 Joel Brobecker <brobecker@adacore.com>
11961
11962 Switch the license of all .exp files to GPLv3.
11963 Switch the license of all .f and .f90 files to GPLv3.
11964 Switch the license of all .s and .S files to GPLv3.
11965
5a0e3bd0
JB
119662007-08-23 Joel Brobecker <brobecker@adacore.com>
11967
11968 * configure.ac: Switch license to GPLv3.
11969
cc00619d
JB
119702007-08-23 Joel Brobecker <brobecker@adacore.com>
11971
11972 Switch the licensing to GPLv3 for all .ads and .adb files.
11973
8d26208a
DJ
119742007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
11975
11976 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
11977 and t_int_double.
11978 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
11979
4fcb9948
JB
119802007-08-17 Joel Brobecker <brobecker@adacore.com>
11981
11982 * gdb.base/step-line.c: Switch license to GPL version 3, and
11983 update copyright year.
11984 * gdb.base/step-line.inp: Likewise.
11985
b9c34f67
JB
119862007-08-17 Joel Brobecker <brobecker@adacore.com>
11987
11988 * gdb.base/gdb1555.exp: Make expected output immune to formatting
11989 changes inside gdb1555.c.
11990 * gdb.base/pending.exp: Likewise.
11991
2cc17678
DJ
119922007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
11993
11994 * config/default.exp: New file.
11995
e48883f7
DJ
119962007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11997
11998 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
11999 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
12000
1ab80e5b
MR
120012007-07-30 Maciej W. Rozycki <macro@mips.com>
12002
12003 * gdb.base/dump.exp: Force the correct endianness for binary
12004 formats not carrying this information.
12005
aba471f5
DJ
120062007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12007
12008 * gdb.threads/staticthreads.exp: Match .*sem_post.
12009
d4e07204
DJ
120102007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12011
12012 * gdb.base/readline.exp (operate_and_get_next): Match the final
12013 prompt.
12014
2b97317d
KB
120152007-07-23 Kevin Buettner <kevinb@redhat.com>
12016
12017 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
12018 to restarting SID.
12019
44efa07a
KB
120202007-07-18 Kevin Buettner <kevinb@redhat.com>
12021
12022 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
12023 prior to `gdb_start'.
12024
7b5ebade
KB
120252007-07-18 Kevin Buettner <kevinb@redhat.com>
12026
12027 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
12028 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
12029 Remove call to gdb_unload.
12030
255e7678
DJ
120312007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
12032 Daniel Jacobowitz <dan@codesourcery.com>
12033
12034 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
12035 for __WIN32__.
12036 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
12037 * gdb.base/unload.exp: Use shared library test routines.
12038
3a40aaa0
UW
120392007-07-03 Markus Deuling <deuling@de.ibm.com>
12040
12041 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
12042 * gdb.base/solib-symbol-lib.c: Likewise.
12043 * gdb.base/solib-symbol-main.c: Likewise.
12044
b0f4b84b
DJ
120452007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
12046
12047 * config/gdbserver.exp (gdb_reconnect): New.
12048 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
12049 gdb.base/solib-disc.exp: New files.
12050 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
12051 remote debugging".
12052 (gdb_compile): Add shlib_load flag.
12053 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
12054 port.
12055 (gdbserver_reconnect): New.
12056
1b05479a
DJ
120572007-07-01 Nick Roberts <nickrob@snap.net.nz>
12058 Daniel Jacobowitz <dan@codesourcery.com>
12059
12060 * gdb.base/annota3.exp: Test for if construct.
12061
86f78eb2
DJ
120622007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
12063
12064 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
12065
6a2eb474 120662007-06-21 Chris Dearman <chris@mips.com>
a9c64011 12067 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
12068
12069 * gdb.base/display.exp: Allow a newline after display/i.
12070 * gdb.base/pc-fp.exp: Likewise.
12071 * gdb.base/sigbpt.exp: Likewise.
12072
f8b73d13
DJ
120732007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
12074
12075 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
12076 required features to be included.
12077
4339e69e
DJ
120782007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
12079
12080 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
12081 in info threads output.
12082
23d964e7
UW
120832007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12084 Markus Deuling <deuling@de.ibm.com>
12085
12086 * gdb.arch/spu-info.exp: New testcase.
12087 * gdb.arch/spu-info.c: New file.
12088
fd20f75b
DJ
120892007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
12090
12091 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
12092 tpcs_offset. Restore lr after the call.
12093 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
12094
2226f861
DJ
120952007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
12096
12097 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
12098 (gdbserver_run): Kill any running gdbserver.
12099 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
12100
d12371a9
MR
121012007-05-17 Maciej W. Rozycki <macro@mips.com>
12102
12103 * gdb.base/sigbpt.exp: Preset segv_addr.
12104
93f02886
DJ
121052007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
12106
12107 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
12108 (gdb_compile_shlib): Likewise.
12109 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
12110 (default_gdb_init): Clear cleanfiles.
12111 (gdb_finish): Delete recorded cleanfiles.
12112 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
12113
12114 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
12115 Do not use isnative.
12116 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
12117 gdb.base/so-impl-ld.exp: Likewise.
12118 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
12119 * gdb.base/unload.exp: Likewise. Do not pass empty option to
12120 gdb_compile.
12121
b04e06d7
VP
121222007-05-15 Vladimir Prus <vladimir@codesourcery.com>
12123
12124 * config/unknown.exp: Remove.
12125
069ed931
UW
121262007-05-15 Markus Deuling <deuling@de.ibm.com>
12127
12128 * gdb.base/info-proc.exp: Check is_remote.
12129
09db0d03
UW
121302007-05-14 Markus Deuling <deuling@de.ibm.com>
12131
12132 * gdb.base/gcore.exp: Initialize variable core_supported.
12133
af2cbe8c
DJ
121342007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
12135
12136 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
12137
027c0295
DJ
121382007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
12139
12140 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
12141 * gdb.threads/print-threads.exp (test_all_threads): Allow
12142 negative and hexadecimal thread IDs.
12143
dc5000e7
DJ
121442007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
12145
12146 * gdb.java/jprint.java (public): Avoid invalid call to static
12147 method.
12148
2e74ed18
DP
121492007-05-14 Denis Pilat <denis.pilat@st.com>
12150
12151 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
12152 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
12153 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
12154 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
12155 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
12156
83547f02
UW
121572007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12158
12159 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 12160 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
12161 this mode.
12162 * gdb.base/ovlymgr.c: Provide stubs for spu target.
12163 * gdb.base/spu.ld: New file.
12164
b18be20d
DJ
121652007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
12166
12167 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
12168
be444858
DJ
121692007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
12170
12171 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
12172
b1d53152
DJ
121732007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
12174
12175 * gdb.java/jmain.exp: Handle demangled names with and without method
12176 signatures.
12177
d084b331
DJ
121782007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
12179
12180 * gdb.mi/mi-syn-frame.c (main, foo, bar)
12181 (have_a_very_merry_interrupt): Remove calls to puts.
12182 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
12183 inferior output.
12184 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
12185 test names.
12186
db9d7fc5
DJ
121872007-04-29 Markus Deuling <deuling@de.ibm.com>
12188 Daniel Jacobowitz <dan@codesourcery.com>
12189
12190 * gdb.base/auxv.exp (core_works): Also check is_remote.
12191 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
12192
ef783a7d 121932007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 12194
ef783a7d
VP
12195 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
12196 message, not the undefined 'module' variable.
12197 * gdb.base/siginfo.exp: Likewise.
12198 * gdb.base/sigstep.exp: Likewise.
12199 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
12200 serialport.
12201 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
12202
b7b73cae
CV
122032007-04-25 Corinna Vinschen <vinschen@redhat.com>
12204
12205 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
12206 target sim fails. Return 0 otherwise.
12207 (gdb_load): Return prematurely if gdb_target_sim fails.
12208
7d90fdfa
DP
122092007-04-16 Denis Pilat <denis.pilat@st.com>
12210
12211 * gdb.base/setshow.exp: Reset height after having set it to 100.
12212
5d3e9c85
DP
122132007-04-16 Denis Pilat <denis.pilat@st.com>
12214
12215 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
12216
18e75969
DP
122172007-04-16 Denis Pilat <denis.pilat@st.com>
12218
12219 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
12220
25d5ea92
VP
122212007-04-14 Vladimir Prus <vladimir@codesourcery.com>
12222
12223 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
12224 tests. Run the frozen varobjs test.
12225 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 12226 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 12227
0b49cb80
JK
122282007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12229
12230 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
12231 gdb.base/type-opaque.exp: New files.
12232
a73bafbc 122332007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
12234
12235 * gdb.mi/mi-var-child.c
a73bafbc
VP
12236 (do_children_tests): User char[2] instead of
12237 char so that automatic printing of pointers to char
12238 don't give unpredicable result.
12239 * gdb.mi/var-cmd.c (do_locals_test): Initialize
12240 local variables.
12241 * gdb.mi/mi-var-child.exp: Step to right line
12242 of do_children_tests.
12243 * gdb.mi/mi2-var-child.exp: Likewise.
12244 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 12245 do_locals_tests.
a73bafbc
VP
12246 (do_children_tests): User char[2] instead of
12247 char so that automatic printing of pointers to char
a9c64011 12248 don't give unpredicable result.
a73bafbc 12249 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 12250 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
12251 Pass test name to mi_wait_for_stop.
12252
7ce59000
DJ
122532007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
12254
12255 * gdb.asm/asm-source.exp: Remove d10v case.
12256 * lib/gdb.exp (skip_cplus_tests): Likewise.
12257 * gdb.asm/d10v.inc: Deleted.
12258
20389057
DJ
122592007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
12260
12261 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
12262
8807d78b
DJ
122632007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
12264
12265 * config/netware.exp: Delete file.
12266
aa3edb8e
JB
122672007-03-29 Joel Brobecker <brobecker@adacore.com>
12268
12269 * gdb.dwarf2/dw2-noloc.S: New file.
12270 * gdb.dwarf2/dw2-noloc.exp: New file.
12271
297561ac
PA
122722007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
12273
12274 * gdb.cp/method2.cc: New test.
12275 * gdb.cp/method2.exp: New test.
12276 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
12277
1f81bd39
DJ
122782007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
12279
12280 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
12281
9453113a
DJ
122822007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
12283
12284 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
12285
b741e217
DJ
122862007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
12287
12288 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
12289 (gdb_load): Delete, replace with...
12290 (gdb_reload): ...this.
12291 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
12292 * gdb.server/server-mon.exp: Likewise.
12293 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
12294 (gdb_start_cmd): New.
12295 (gdb_file_cmd): Save the last loaded file.
12296 (gdb_reload): New.
12297 (gdb_gnu_strip_debug): Use transform.
12298 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
12299 support here. Use new $last_loaded_file. Check mtime.
12300 (gdb_target_cmd): Handle ObjC failure case.
12301 (infer_host_exec): Delete.
12302 (gdbserver_load): Rename to...
12303 (gdbserver_run): ...this. Simplify.
12304 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
12305 (mi_gdb_load): Move most contents to a new function...
12306 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
12307 (mi_run_cmd): Use mi_gdb_target_load.
12308 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
12309 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
12310 Use gdb_run_cmd.
12311 * gdb.base/charsign.exp: Remove incorrect comment.
12312 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
12313 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
12314 gdb.base/start.exp: Use gdb_start_cmd.
12315
446ab585 123162007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 12317 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
12318
12319 * gdb.base/sigbpt.exp: Fix the message when skipping test.
12320 * gdb.base/signull.exp: Similarly.
12321
bbb88ebf
UW
123222007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12323
12324 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
12325 messages available to test cases (like chng-sym.exp).
12326
cb8c4a99
AS
123272007-03-14 Andreas Schwab <schwab@suse.de>
12328
12329 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
12330 format changes.
12331
4e463ff5
DJ
123322007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
12333
12334 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
12335 (optimized_1): New.
12336 (main): Call optimized_1.
12337 (gdb2029): Correct typos. Call gdb2029_marker.
12338 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
12339 for gdb2029.
12340
b6db2c47
MK
123412007-03-12 Mark Kettenis <kettenis@gnu.org>
12342
12343 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
12344 as tabs. Remove redundant test pattern.
12345
70ed3737
UW
123462007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12347
12348 * gdb.base/long_long.exp: Accept optional symbol name in <...>
12349 for /a format output.
12350
47b67b60
DJ
123512007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
12352
12353 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
12354 collect output incrementally.
12355
b8953b0e
UW
123562007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12357
12358 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
12359 for -var-create lpcharacter test.
12360 * gdb.mi/mi2-var-cmd.exp: Likewise.
12361
7acd5c40
UW
123622007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12363
12364 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
12365 pass on targets where address zero is readable.
12366
9c6759c1
UW
123672007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12368
12369 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
12370 just a single architecture.
12371
a2f1aeb4
UW
123722007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12373
12374 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
12375 (fetch_all_registers): New function, uses gdb_test_multiple and
12376 exp_continue to fetch inferior output line-by-line.
12377 Replace all uses of do_get_all_registers by fetch_all_registers.
12378
46579ac2
UW
123792007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12380
12381 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
12382 in target_info.
12383
fc133f24
MS
123842007-03-02 Michael Snyder <michael.snyder@palmsource.com>
12385
a9c64011 12386 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
12387 consistancy; add a default (timeout) case.
12388
7646a51d
MS
123892007-03-02 Michael Snyder <michael.snyder@palmsource.com>
12390
12391 * gdb.base/watchpoint.exp: Fix truncated comment.
12392
dcfff61f
MS
123932007-03-02 Michael Snyder <michael.snyder@palmsource.com>
12394
12395 * Makefile.in: Remove spurious single-quotes from sed command.
12396
664e3ee9
DJ
123972007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
12398
12399 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
12400 func.
12401 * gdb.mi/mi2-var-cmd.exp: Likewise.
12402
d7cc6f2f
JB
124032007-02-27 Joel Brobecker <brobecker@adacore.com>
12404
a9c64011
AS
12405 * gdb.dwarf2/dw2-producer.S: New file.
12406 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
12407
124082007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
12409
12410 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
12411 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
12412 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
12413 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
12414 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
12415 Revert tests to use mi_gdb_test and include value field in output
12416 of -var-create.
12417
93d42b30
DJ
124182007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
12419
12420 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
12421
c499ed39
DJ
124222007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
12423
12424 * gdb.base/maint.exp: Remove full paths from test names.
12425 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
12426 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
12427
9836f81b
JB
124282007-02-27 Joel Brobecker <brobecker@adacore.com>
12429
12430 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
12431
c74d0ad8
DJ
124322007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
12433
12434 * gdb.server/server-mon.exp: New test.
12435
2711e456
DJ
124362007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
12437
12438 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
12439
ff6f572f
DJ
124402007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
12441
12442 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
12443 register capitalization.
12444
fada3feb
DP
124452007-02-13 Denis Pilat <denis.pilat@st.com>
12446
12447 * gdb.mi/mi-var-invalidate.exp: New file.
12448
fb1e4ffc
DJ
124492007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
12450
12451 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
12452
3da939d7
DJ
124532007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
12454
12455 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
12456
123dc839
DJ
124572007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
12458
12459 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
12460 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
12461
877e3645 124622007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
12463
12464 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
12465 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
12466 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
12467 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
12468 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 12469 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 12470 Update tests to include value field in output of -var-create.
a9c64011 12471
3c0a2960
AS
124722007-02-08 Andreas Schwab <schwab@suse.de>
12473
12474 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
12475
108546a0
DJ
124762007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
12477
12478 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
12479 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
12480
d701dcab
DP
124812007-02-02 Denis Pilat <denis.pilat@st.com>
12482
12483 * gdb.threads/threadapply.exp: check that frame is not changed by
12484 the thread apply all command.
12485
783e3e2f
AS
124862007-01-31 Andreas Schwab <schwab@suse.de>
12487
6d9c3a87
AS
12488 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
12489
3c50d7b9
AS
12490 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
12491 in the dwarf sections.
12492 * gdb.dwarf2/mac-fileno.S: Likewise.
12493
783e3e2f
AS
12494 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
12495 bspstore register on ia64.
12496
78ff580e
AS
124972007-01-29 Andreas Schwab <schwab@suse.de>
12498
cc8e9b12
AS
12499 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
12500 "frame-begin" annotation.
12501
78ff580e
AS
12502 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
12503 number of "frames-invalid" annotations.
12504
704a4f78
DJ
125052007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12506
12507 * gdb.base/commands.exp: Call if_commands_test.
12508 (gdb_test_no_prompt, if_commands_test): New.
12509
e741bf94
MK
125102007-01-28 Mark Kettenis <kettenis@gnu.org>
12511
12512 * gdb.threads/sigthread.c (NSIGS): Make bigger.
12513
474d0ad3
AS
125142007-01-27 Andreas Schwab <schwab@suse.de>
12515
12516 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
12517 .short/.int/.quad in the dwarf sections.
12518 * gdb.dwarf2/dw2-intercu.S: Likewise.
12519 * gdb.dwarf2/dw2-intermix.S: Likewise.
12520
e784b426
JK
125212007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12522
12523 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
12524 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
12525 array.
e784b426
JK
12526 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
12527 * gdb.base/setvar.exp: Likewise.
12528
37f08e04
AS
125292007-01-26 Andreas Schwab <schwab@suse.de>
12530
9a01813a
AS
12531 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
12532 test.
12533
37f08e04
AS
12534 * gdb.base/multi-forks.exp ("restart $i"): Also match
12535 __kernel_syscall_via_break.
12536
6e2a9270
VP
125372007-01-24 Vladimir Prus <vladimir@codesourcery.com>
12538
12539 * lib/mi-support.exp (mi_delete_varobj): New.
12540 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
12541 testcase.
12542 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
12543 (main): Call the above.
12544 (reference_update_test, base_in_reference_test)
12545 (reference_to_pointer): Delete the created varobjs.
a9c64011 12546
e515b470
DJ
125472007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
12548
12549 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
12550 * configure: Regenerated.
12551 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
12552 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
12553 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
12554 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
12555 * lib/gdb.exp (gdb_skip_xml_test): New function.
12556
08d8bcd7
DJ
125572007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
12558
12559 * gdb.base/sigrepeat.exp: Correct error message.
12560
125612007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
12562 Daniel Jacobowitz <dan@codesourcery.com>
12563
12564 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
12565 gdb.arch/i386-gnu-cfi-asm.S: New files.
12566
97c3f1f3
JK
125672007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12568
12569 * lib/gdb.exp: Abort on missing `site.exp'.
12570
cb1df416
DJ
125712007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12572 Daniel Jacobowitz <dan@codesourcery.com>
12573
12574 * gdb.base/included.c, gdb.base/included.exp,
12575 gdb.base/included.h: New files.
12576
35990120
DJ
125772007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
12578
12579 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
12580 (maximize_rlimit): Reduce limits on 64-bit systems.
12581
6e81a116 125822007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
12583
12584 From Marcus Deuling <deuling@de.ibm.com>:
12585 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
12586 every case.
12587
6c3c41f3
NR
125882007-01-13 Nick Roberts <nickrob@snap.net.nz>
12589
12590 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
12591 (test_path_specification): Use objdir instead of srcdir to always
12592 get an absolute filename.
12593
2f12c312
DJ
125942007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
12595
12596 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
12597
81121995
VP
125982007-01-11 Vladimir Prus <vladimir@codesourcery.com>
12599
12600 * gdb.mi/mi-var-cp.cc (reference_update_tests):
12601 Make sure the variable we're using is in scope.
12602 (reference_to_pointer): Likewise.
12603
4741b737
DJ
126042007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
12605
12606 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
12607 has no debug information.
12608
054410c3
DJ
126092007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
12610
12611 * gdb.base/annota1.exp: Remove extra send_gdb.
12612
818f79f6
DJ
126132007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12614
12615 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
12616
f7a6bb70
DJ
126172007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12618
12619 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
12620
57e66780
DJ
126212007-01-08 Nick Roberts <nickrob@snap.net.nz>
12622 Daniel Jacobowitz <dan@codesourcery.com>
12623
12624 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
12625 lcharacter or linteger change. Correct duplicated test name.
12626 * gdb.mi/mi2-var-cmd.exp: Likewise.
12627
3d799a95
DJ
126282007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
12629
12630 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
12631
126322007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 12633
a9c64011
AS
12634 * gdb.base/nofield.c: New file.
12635 * gdb.base/nofield.exp: New testcase.
51679ba9 12636
eafb94e8
NR
126372007-01-05 Nick Roberts <nickrob@snap.net.nz>
12638
12639 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
12640
12641 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
12642 test.
12643
5e572bb4
DJ
126442007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12645
12646 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
12647
74a44383
DJ
126482007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12649
12650 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
12651 when continuing.
12652
1b572db9
DJ
126532007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12654
12655 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
12656 Expect ".exe" extension.
12657
381bc39b
DJ
126582007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12659
12660 * gdb.base/charset.exp: Add explicit filename to break.
12661 * gdb.base/dbx.exp: Add explicit filename to breaks.
12662
2b70e4c6
DJ
126632007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12664
12665 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
12666 * gdb.mi/mi2-file.exp: Likewise.
12667
303b6f5d
DJ
126682007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12669
12670 Implement specification of MI tests as comments
12671 in C and C++ sources.
12672 * lib/mi-support.exp (mi_autotest_data): New variable.
12673 (mi_autotest_source): New variable.
12674 (count_newlines, mi_prepare_inline_tests)
12675 (mi_get_inline_test, mi_continue_to_line)
12676 (mi_run_inline_test, mi_tbreak)
12677 (mi_send_resuming_command, mi_wait_for_stop): New functions.
12678 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
12679 Run inline tests.
12680 * gdb.mi/mi-var-cp.cc: Define tests here.
12681
23da0d94
VP
126822007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12683
12684 Simplify usage of mi_continue_to.
12685 * lib/mi-support.exp (mi_runto_helper): Renamed
12686 from mi_runto, added new parameter 'run_or_continue'.
12687 (mi_runto): Use mi_runto_helper.
12688 (mi_continue_to): Accept just function name as parameter.
12689 Use mi_runto_helper.
12690 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
12691 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 12692
f9e18282
JB
126932006-01-04 Joel Brobecker <brobecker@adacore.com>
12694
12695 Make this testcase a bit more realistic. The current code
12696 is too simplistic, and allows the compiler to optimize out
12697 some of the entities we need for this testcase.
12698 * gdb.ada/null_record/bar.ads (Void_Star): New type.
12699 (Do_Nothing): Add extra parameter.
12700 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
12701 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
12702 by using a variable of type Void_Star.
12703
fd678c65
JB
127042006-01-04 Joel Brobecker <brobecker@adacore.com>
12705
12706 * gdb.ada/catch_ex/foo.adb: New file.
12707 * gdb.ada/catch_ex.exp: New testcase.
12708
05cfdb42
DJ
127092007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
12710
12711 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
12712 pass --image-base to linker.
12713
2e03ee74
DJ
127142007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12715 Daniel Jacobowitz <dan@codesourcery.com>
12716
12717 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
12718 secondary prompts.
12719
0d5de010
DJ
127202007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12721
12722 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
12723 output. Test the types of members and member pointers.
12724 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
12725 gdb/2092.
12726 * gdb.cp/member-ptr.exp: Search for a comment instead of a
12727 statement. Enable for GCC. Update expected output for some tests
12728 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
12729 layout.
12730 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
12731 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
12732 (Diamond::vget_base): New.
12733 (main): Add new tests.
12734 * gdb.cp/printmethod.exp: Update expected output for member functions.
12735 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
12736 print pEe->D::vg().
12737
61a771aa
DJ
127382007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12739
12740 * gdb.threads/tls.exp: Allow stops in sem_post.
12741
2fa63963
DJ
127422006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
12743
12744 * gdb.base/annota1.exp: Allow .*printf in backtraces.
12745 * gdb.base/annota3.exp: Likewise.
12746 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
12747 again (instead of timing out).
12748 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
12749 GCC bug 26475.
12750 * gdb.java/jmisc.exp: Adjust to work with method signatures including
12751 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
12752 test from jmisc1.exp.
12753 * gdb.java/jmisc1.exp: Delete.
12754 * gdb.java/jprint.exp: Adjust to work with method signatures including
12755 return types.
12756 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
12757 * gdb.threads/linux-dp.exp: Don't be confused by program output.
12758 * lib/java.exp (compile_java_from_source): Pass the correct type
12759 to target_compile.
12760
5eefc2b7
JB
127612006-12-31 Joel Brobecker <brobecker@adacore.com>
12762
12763 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
12764 (stack_align_edx): New function.
12765 (stack_align_eax): New function.
12766 (main): Add calls to stack_align_edx and stack_align_eax.
12767 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
12768 Add testing for the cases where the register used during a stack
12769 realignment is edx. Same for eax.
12770
227c54da
DJ
127712006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
12772
12773 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
12774 and generic PE targets.
12775
cab8ac94
JB
127762006-12-29 Joel Brobecker <brobecker@adacore.com>
12777
12778 * gdb.ada/array_return.exp: Update copyright date list.
12779
ba54f318
JB
127802006-12-27 Joel Brobecker <brobecker@adacore.com>
12781
12782 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
12783 (Create_Small_Float_Vector): New function.
12784 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
12785 function body.
12786 * gdb.ada/array_return/p.adb: Use new type and function from
12787 package Pck.
12788 * gdb.ada/array_return.exp: Add a test verifying that GDB is
12789 able to print the value returned by a function returning an
12790 array of float.
12791
6b7a35dd
JB
127922006-12-20 Joel Brobecker <brobecker@adacore.com>
12793
12794 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
12795 The associated tests should be PASSing.
12796
038224f6
VP
127972006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12798
12799 Test for base in references.
12800 * gdb.mi/mi-var-cp.cc: Add test code.
12801 * gdb.mi/mi-var-cp.exp: Test for bases in references.
12802 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
12803 * gdb.mi/mi2-watch.exp: Likewise.
12804 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
12805 (mi_list_varobj_children): New function.
12806
b26ed50d
VP
128072006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12808
12809 * lib/mi-support.exp
12810 (mi_runto): Accept "()" after function name.
12811 (mi_create_varobj): New function.
12812 (mi_varobj_update): New function.
12813 (mi_Check_varobj_value): New function.
12814 * gdb.mi/mi-var-cp.exp: New file.
12815 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 12816
08232497
DJ
128172006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
12818
12819 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
12820 gdb.base/weaklib2.c: New files.
12821
d394c993 128222006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 12823
ac6c2fba
NS
12824 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
12825 info. Adjust test names.
12826
8ec659a0 12827 * gdb.base/break.c (main): Move position of malloc.
d394c993 12828 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 12829
acd65feb
VP
128302006-11-28 Vladimir Prus <vladimir@codesourcery.com>
12831
12832 * gdb.mi/mi-var-cmd.exp: Check -var-update after
12833 assignement of arrays and function pointers.
12834 * gdb.mi/var-cmd.c: Add declaration necessary for above
12835 tests.
12836
f556d5e5
NS
128372006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12838
12839 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
12840
12841 * gdb.threads/linux-dp.exp: Read thread table before and after
12842 creating each philosopher and verify it.
12843
697bc68d
NS
128442006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12845 Paul Brook <paul@codesourcery.com>
12846 Daniel Jacobowitz <dan@codesourcery.com>
12847
12848 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 12849 main to remove duplication. Add start function of the form
697bc68d
NS
12850 '_*start[1-9]*'. Add RVDS start function.
12851
29d73ae4
DJ
128522006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12853
12854 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
12855
c1d88655
UW
128562006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12857
12858 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
12859 * gdb.asm/spu.inc: New file.
12860 * gdb.base/term.exp: Disable if [target_info exists noargs].
12861 * gdb.gdb/complaints.exp: Disable if ![isnative].
12862 * gdb.gdb/selftest.exp: Likewise.
12863 * gdb.gdb/observer.exp: Likewise.
12864 * gdb.gdb/xfullpath.exp: Likewise.
12865 * gdb.base/attach.exp: Disable on SPU target.
12866 * gdb.cp/bs145503.exp: Likewise.
12867 * gdb.cp/exception.exp: Likewise.
12868 * gdb.cp/userdef.exp: Likewise.
12869
32a13b1a
DJ
128702006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12871
12872 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
12873
d8295fe9
VP
128742006-11-10 Vladimir Prus <vladimir@codesourcery.com>
12875
12876 * gdb.base/completion.exp: Fix completion tests for
12877 'info' and 'info '.
12878 * gdb.base/help.exp (help_test_raw, test_class_help)
12879 (test_prefix_command_help): Move...
12880 * lib/gdb.exp: Here.
12881 * gdb.base/main.exp: Adjust.
12882 * gdb.cp/maint.exp: Adjust.
12883 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 12884
8c394015
VP
128852006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12886
12887 * gdb.stabs/weird.exp (print_weird_var): Use
12888 gdb_test_multiple instead of gdb_expect.
12889
027fc1bc
VP
128902006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12891
12892 * gdb.base/help.exp (help_test_raw): New.
12893 (test_class_help): New.
12894 (test_prefix_command_help): New.
12895 Adjust testcases.
12896
67609209
FR
128972006-11-09 Christophe Lyon <christophe.lyon@st.com>
12898
12899 * gdb.base/constvars.c (main): Write to crass and crips, so that
12900 they are allocated by the compiler.
12901
f73adfeb
AS
129022006-10-27 Andreas Schwab <schwab@suse.de>
12903
12904 * gdb.base/multi-forks.exp: Use "detach fork" instead of
12905 "detach-fork".
12906
2f83a18e
DJ
129072006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
12908
12909 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
12910 of patterns.
12911
94277a38
DJ
129122006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12913
12914 * gdb.base/sepdebug.exp: Remove debug format test.
12915 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
12916 Handle no-symtab.
12917 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
12918
5bd2f6e2
DJ
129192006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12920
12921 * gdb.threads/manythreads.c (thread_function, main): Don't cast
12922 int to pointer or pointer to int.
12923 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
12924
8c008720
DJ
129252006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
12926
12927 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
12928
9e35dae4
DJ
129292006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12930
12931 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
12932
d9639e13
DJ
129332006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
12934
12935 PR c++/2116
12936 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
12937
390a1bd0
JB
129382006-10-06 Joel Brobecker <brobecker@adacore.com>
12939
12940 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
12941 the corresponding bug has been fixed in GDB (PR/2018).
12942
dd920c33
JB
129432006-10-06 Joel Brobecker <brobecker@adacore.com>
12944
12945 * gdb.base/subst.exp: New testcase.
12946
53bbefe9
JB
129472006-10-06 Joel Brobecker <brobecker@adacore.com>
12948
12949 * gdb.ada/array_return/pck.ads: Add copyright notice.
12950 * gdb.ada/array_return/pck.adb: Likewise.
12951 * gdb.ada/array_return/p.adb: Likewise.
12952 * gdb.ada/exec_changed/first.adb: Likewise.
12953 * gdb.ada/exec_changed/second.adb: Likewise.
12954
09851417
JB
129552006-10-06 Joel Brobecker <brobecker@adacore.com>
12956
12957 * gdb.ada/watch_arg/watch.adb: New file.
12958 * gdb.ada/watch_arg.exp: New testcase.
12959
041bf30d
VP
129602006-10-02 Vladimir Prus <vladimir@codesourcery.com>
12961
12962 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 12963 via string_to_regexp.
041bf30d 12964 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 12965
f286fbdd 129662006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
12967
12968 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
12969 Remove unused / obsolete files.
12970
7c07f349
NR
129712006-09-19 Nick Roberts <nickrob@snap.net.nz>
12972
12973 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
12974
cd5ff84a
VP
129752006-09-17 Vladimir Prus <vladimir@codesourcery.com>
12976
12977 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
12978 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 12979 the number of frames.
cd5ff84a 12980
ae018d1a
DJ
129812006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
12982
12983 * gdb.base/args.c (main): Add breakpoint marker.
12984 * gdb.base/args.exp: Use args_test for tests. Add new tests which
12985 really test empty arguments.
12986 (args_load): Delete.
12987 (args_test): New.
12988
b399c549
NR
129892006-09-13 Nick Roberts <nickrob@snap.net.nz>
12990
12991 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 12992 check for one file.
b399c549 12993
2ab1eb7a
VP
129942006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
12995
12996 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
12997 HIGH_FRAME argument to -stack-list-locals can be larger than
12998 the number of frames.
a9c64011 12999
476308bf
FF
130002006-08-18 Fred Fish <fnf@specifix.com>
13001
13002 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
13003 '$' in front of skip_vmx_tests_saved when setting that.
13004
8625200f
AS
130052006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
13006
13007 * gdb.base/trace-commands.exp: New file.
13008
089ec8f1
DJ
130092006-08-10 Joel Brobecker <brobecker@adacore.com>
13010 Daniel Jacobowitz <dan@codesourcery.com>
13011
13012 * gdb.base/step-bt.exp: Make hexadecimal address optional in
13013 expected output of the backtrace commands.
13014
b60f0898
JB
130152006-08-09 Joel Brobecker <brobecker@adacore.com>
13016
13017 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
13018 untested followed by return combination.
13019 * gdb.arch/altivec-regs.exp: Likewise.
13020 * gdb.arch/e500-abi.exp: Likewise.
13021 * gdb.arch/e500-regs.exp: Likewise.
13022 * gdb.arch/gdb1291.exp: Likewise.
13023 * gdb.arch/gdb1431.exp: Likewise.
13024 * gdb.arch/gdb1558.exp: Likewise.
13025 * gdb.arch/i386-prologue.exp: Likewise.
13026 * gdb.arch/i386-unwind.exp: Likewise.
13027 * gdb.asm/asm-source.exp: Likewise.
13028 * gdb.base/a2-run.exp: Likewise.
13029 * gdb.base/advance.exp: Likewise.
13030 * gdb.base/all-bin.exp: Likewise.
13031 * gdb.base/annota1.exp: Likewise.
13032 * gdb.base/annota3.exp: Likewise.
13033 * gdb.base/args.exp: Likewise.
13034 * gdb.base/arithmet.exp: Likewise.
13035 * gdb.base/assign.exp: Likewise.
13036 * gdb.base/async.exp: Likewise.
13037 * gdb.base/attach.exp: Likewise.
13038 * gdb.base/bang.exp: Likewise.
13039 * gdb.base/bigcore.exp: Likewise.
13040 * gdb.base/bitfields.exp: Likewise.
13041 * gdb.base/bitfields2.exp: Likewise.
13042 * gdb.base/break.exp: Likewise.
13043 * gdb.base/call-sc.exp: Likewise.
13044 * gdb.base/call-strs.exp: Likewise.
13045 * gdb.base/callfuncs.exp: Likewise.
13046 * gdb.base/checkpoint.exp: Likewise.
13047 * gdb.base/chng-syms.exp: Likewise.
13048 * gdb.base/code-expr.exp: Likewise.
13049 * gdb.base/commands.exp: Likewise.
13050 * gdb.base/completion.exp: Likewise.
13051 * gdb.base/cond-expr.exp: Likewise.
13052 * gdb.base/condbreak.exp: Likewise.
13053 * gdb.base/consecutive.exp: Likewise.
13054 * gdb.base/constvars.exp: Likewise.
13055 * gdb.base/corefile.exp: Likewise.
13056 * gdb.base/cvexpr.exp: Likewise.
13057 * gdb.base/dbx.exp: Likewise.
13058 * gdb.base/define.exp: Likewise.
13059 * gdb.base/detach.exp: Likewise.
13060 * gdb.base/display.exp: Likewise.
13061 * gdb.base/dump.exp: Likewise.
13062 * gdb.base/ena-dis-br.exp: Likewise.
13063 * gdb.base/ending-run.exp: Likewise.
13064 * gdb.base/environ.exp: Likewise.
13065 * gdb.base/eval-skip.exp: Likewise.
13066 * gdb.base/exprs.exp: Likewise.
13067 * gdb.base/fileio.exp: Likewise.
13068 * gdb.base/finish.exp: Likewise.
13069 * gdb.base/float.exp: Likewise.
13070 * gdb.base/foll-exec.exp: Likewise.
13071 * gdb.base/foll-fork.exp: Likewise.
13072 * gdb.base/foll-vfork.exp: Likewise.
13073 * gdb.base/freebpcmd.exp: Likewise.
13074 * gdb.base/funcargs.exp: Likewise.
13075 * gdb.base/gcore.exp: Likewise.
13076 * gdb.base/gdb1090.exp: Likewise.
13077 * gdb.base/gdb1250.exp: Likewise.
13078 * gdb.base/huge.exp: Likewise.
13079 * gdb.base/info-proc.exp: Likewise.
13080 * gdb.base/interrupt.exp: Likewise.
13081 * gdb.base/jump.exp: Likewise.
13082 * gdb.base/langs.exp: Likewise.
13083 * gdb.base/lineinc.exp: Likewise.
13084 * gdb.base/list.exp: Likewise.
13085 * gdb.base/logical.exp: Likewise.
13086 * gdb.base/long_long.exp: Likewise.
13087 * gdb.base/macscp.exp: Likewise.
13088 * gdb.base/maint.exp: Likewise.
13089 * gdb.base/mips_pro.exp: Likewise.
13090 * gdb.base/miscexprs.exp: Likewise.
13091 * gdb.base/multi-forks.exp: Likewise.
13092 * gdb.base/opaque.exp: Likewise.
13093 * gdb.base/overlays.exp: Likewise.
13094 * gdb.base/pc-fp.exp: Likewise.
13095 * gdb.base/pointers.exp: Likewise.
13096 * gdb.base/printcmds.exp: Likewise.
13097 * gdb.base/psymtab.exp: Likewise.
13098 * gdb.base/ptype.exp: Likewise.
13099 * gdb.base/recurse.exp: Likewise.
13100 * gdb.base/relational.exp: Likewise.
13101 * gdb.base/relocate.exp: Likewise.
13102 * gdb.base/remote.exp: Likewise.
13103 * gdb.base/reread.exp: Likewise.
13104 * gdb.base/restore.exp: Likewise.
13105 * gdb.base/return.exp: Likewise.
13106 * gdb.base/return2.exp: Likewise.
13107 * gdb.base/scope.exp: Likewise.
13108 * gdb.base/sect-cmd.exp: Likewise.
13109 * gdb.base/sep.exp: Likewise.
13110 * gdb.base/sepdebug.exp: Likewise.
13111 * gdb.base/setshow.exp: Likewise.
13112 * gdb.base/setvar.exp: Likewise.
13113 * gdb.base/sigall.exp: Likewise.
13114 * gdb.base/sigbpt.exp: Likewise.
13115 * gdb.base/signals.exp: Likewise.
13116 * gdb.base/signull.exp: Likewise.
13117 * gdb.base/sizeof.exp: Likewise.
13118 * gdb.base/solib.exp: Likewise.
13119 * gdb.base/step-line.exp: Likewise.
13120 * gdb.base/step-test.exp: Likewise.
13121 * gdb.base/structs.exp: Likewise.
13122 * gdb.base/structs2.exp: Likewise.
13123 * gdb.base/term.exp: Likewise.
13124 * gdb.base/twice.exp: Likewise.
13125 * gdb.base/until.exp: Likewise.
13126 * gdb.base/varargs.exp: Likewise.
13127 * gdb.base/volatile.exp: Likewise.
13128 * gdb.base/watchpoint.exp: Likewise.
13129 * gdb.base/whatis-exp.exp: Likewise.
13130 * gdb.base/whatis.exp: Likewise.
13131 * gdb.cp/ambiguous.exp: Likewise.
13132 * gdb.cp/annota2.exp: Likewise.
13133 * gdb.cp/annota3.exp: Likewise.
13134 * gdb.cp/bool.exp: Likewise.
13135 * gdb.cp/breakpoint.exp: Likewise.
13136 * gdb.cp/casts.exp: Likewise.
13137 * gdb.cp/class2.exp: Likewise.
13138 * gdb.cp/classes.exp: Likewise.
13139 * gdb.cp/cplusfuncs.exp: Likewise.
13140 * gdb.cp/ctti.exp: Likewise.
13141 * gdb.cp/derivation.exp: Likewise.
13142 * gdb.cp/exception.exp: Likewise.
13143 * gdb.cp/gdb1355.exp: Likewise.
13144 * gdb.cp/hang.exp: Likewise.
13145 * gdb.cp/inherit.exp: Likewise.
13146 * gdb.cp/local.exp: Likewise.
13147 * gdb.cp/m-data.exp: Likewise.
13148 * gdb.cp/m-static.exp: Likewise.
13149 * gdb.cp/member-ptr.exp: Likewise.
13150 * gdb.cp/method.exp: Likewise.
13151 * gdb.cp/misc.exp: Likewise.
13152 * gdb.cp/namespace.exp: Likewise.
13153 * gdb.cp/overload.exp: Likewise.
13154 * gdb.cp/ovldbreak.exp: Likewise.
13155 * gdb.cp/pr-1023.exp: Likewise.
13156 * gdb.cp/pr-1210.exp: Likewise.
13157 * gdb.cp/pr-574.exp: Likewise.
13158 * gdb.cp/printmethod.exp: Likewise.
13159 * gdb.cp/psmang.exp: Likewise.
13160 * gdb.cp/ref-params.exp: Likewise.
13161 * gdb.cp/ref-types.exp: Likewise.
13162 * gdb.cp/rtti.exp: Likewise.
13163 * gdb.cp/templates.exp: Likewise.
13164 * gdb.cp/try_catch.exp: Likewise.
13165 * gdb.cp/userdef.exp: Likewise.
13166 * gdb.cp/virtfunc.exp: Likewise.
13167 * gdb.disasm/am33.exp: Likewise.
13168 * gdb.disasm/h8300s.exp: Likewise.
13169 * gdb.disasm/mn10300.exp: Likewise.
13170 * gdb.disasm/sh3.exp: Likewise.
13171 * gdb.disasm/t01_mov.exp: Likewise.
13172 * gdb.disasm/t02_mova.exp: Likewise.
13173 * gdb.disasm/t03_add.exp: Likewise.
13174 * gdb.disasm/t04_sub.exp: Likewise.
13175 * gdb.disasm/t05_cmp.exp: Likewise.
13176 * gdb.disasm/t06_ari2.exp: Likewise.
13177 * gdb.disasm/t07_ari3.exp: Likewise.
13178 * gdb.disasm/t08_or.exp: Likewise.
13179 * gdb.disasm/t09_xor.exp: Likewise.
13180 * gdb.disasm/t10_and.exp: Likewise.
13181 * gdb.disasm/t11_logs.exp: Likewise.
13182 * gdb.disasm/t12_bit.exp: Likewise.
13183 * gdb.disasm/t13_otr.exp: Likewise.
13184 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
13185 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
13186 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
13187 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
13188 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
13189 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
13190 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
13191 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
13192 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
13193 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
13194 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
13195 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
13196 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
13197 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
13198 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
13199 * gdb.mi/gdb701.exp: Likewise.
13200 * gdb.mi/gdb792.exp: Likewise.
13201 * gdb.mi/mi-basics.exp: Likewise.
13202 * gdb.mi/mi-break.exp: Likewise.
13203 * gdb.mi/mi-cli.exp: Likewise.
13204 * gdb.mi/mi-console.exp: Likewise.
13205 * gdb.mi/mi-disassemble.exp: Likewise.
13206 * gdb.mi/mi-eval.exp: Likewise.
13207 * gdb.mi/mi-file.exp: Likewise.
13208 * gdb.mi/mi-read-memory.exp: Likewise.
13209 * gdb.mi/mi-regs.exp: Likewise.
13210 * gdb.mi/mi-return.exp: Likewise.
13211 * gdb.mi/mi-simplerun.exp: Likewise.
13212 * gdb.mi/mi-stack.exp: Likewise.
13213 * gdb.mi/mi-stepi.exp: Likewise.
13214 * gdb.mi/mi-syn-frame.exp: Likewise.
13215 * gdb.mi/mi-until.exp: Likewise.
13216 * gdb.mi/mi-var-block.exp: Likewise.
13217 * gdb.mi/mi-var-child.exp: Likewise.
13218 * gdb.mi/mi-var-cmd.exp: Likewise.
13219 * gdb.mi/mi-var-display.exp: Likewise.
13220 * gdb.mi/mi-watch.exp: Likewise.
13221 * gdb.mi/mi2-basics.exp: Likewise.
13222 * gdb.mi/mi2-break.exp: Likewise.
13223 * gdb.mi/mi2-cli.exp: Likewise.
13224 * gdb.mi/mi2-console.exp: Likewise.
13225 * gdb.mi/mi2-disassemble.exp: Likewise.
13226 * gdb.mi/mi2-eval.exp: Likewise.
13227 * gdb.mi/mi2-file.exp: Likewise.
13228 * gdb.mi/mi2-read-memory.exp: Likewise.
13229 * gdb.mi/mi2-regs.exp: Likewise.
13230 * gdb.mi/mi2-return.exp: Likewise.
13231 * gdb.mi/mi2-simplerun.exp: Likewise.
13232 * gdb.mi/mi2-stack.exp: Likewise.
13233 * gdb.mi/mi2-stepi.exp: Likewise.
13234 * gdb.mi/mi2-syn-frame.exp: Likewise.
13235 * gdb.mi/mi2-until.exp: Likewise.
13236 * gdb.mi/mi2-var-block.exp: Likewise.
13237 * gdb.mi/mi2-var-child.exp: Likewise.
13238 * gdb.mi/mi2-var-cmd.exp: Likewise.
13239 * gdb.mi/mi2-var-display.exp: Likewise.
13240 * gdb.mi/mi2-watch.exp: Likewise.
13241 * gdb.stabs/exclfwd.exp: Likewise.
13242 * gdb.stabs/weird.exp: Likewise.
13243 * gdb.threads/gcore-thread.exp: Likewise.
13244 * gdb.trace/actions.exp: Likewise.
13245 * gdb.trace/backtrace.exp: Likewise.
13246 * gdb.trace/circ.exp: Likewise.
13247 * gdb.trace/collection.exp: Likewise.
13248 * gdb.trace/deltrace.exp: Likewise.
13249 * gdb.trace/infotrace.exp: Likewise.
13250 * gdb.trace/limits.exp: Likewise.
13251 * gdb.trace/packetlen.exp: Likewise.
13252 * gdb.trace/passc-dyn.exp: Likewise.
13253 * gdb.trace/passcount.exp: Likewise.
13254 * gdb.trace/report.exp: Likewise.
13255 * gdb.trace/save-trace.exp: Likewise.
13256 * gdb.trace/tfind.exp: Likewise.
13257 * gdb.trace/tracecmd.exp: Likewise.
13258 * gdb.trace/while-dyn.exp: Likewise.
13259 * gdb.trace/while-stepping.exp: Likewise.
13260
f4b618d1
JB
132612006-08-08 Joel Brobecker <brobecker@adacore.com>
13262
13263 * gdb.base/step-bt.c: New file.
13264 * gdb.base/step-bt.exp: New testcase.
13265
3d00d119
DJ
132662006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
13267
13268 * config/monitor.exp (gdb_load): Remove support for obsolete
13269 download-write-size.
13270 * gdb.base/remote.exp: Likewise. Update all callers of
13271 gdb_timed_load.
13272
017b5bd4
DJ
132732006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
13274
13275 * cursal.exp: Pass binfile to gdb_load.
13276
837c599d
DJ
132772006-08-01 Nathan Sidwell <nathan@codesourcery.com>
13278
13279 * gdb.base/cursal.exp: Add "" to gdb_load call.
13280
8dd4540b
MK
132812006-07-29 Mark Kettenis <kettenis@gnu.org>
13282
13283 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
13284 NetBSD/ELF targets.
13285
ab5c9f60
DJ
132862006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
13287
13288 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
13289 operator*.
13290
4c42eaff
DJ
132912006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
13292
13293 * gdb.base/completion.exp: Update for change in "file" behavior.
13294 * gdb.stabs/weird.exp: Likewise.
13295 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
13296 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
13297
0155cc76
NS
132982006-07-24 Nathan Sidwell <nathan@codesourcery.com>
13299
13300 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
13301 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
13302
16026cd7
AS
133032006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
13304
13305 * gdb.base/default.exp: Update source command error message.
13306 * gdb.base/help.exp: Update 'help source' message.
13307
16963cb6
DJ
133082006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
13309
13310 * gdb.cp/bs15503.exp: Update comment for no longer crashing
13311 test.
13312
6d7fd486
AS
133132006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
13314
13315 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
13316
29e8a844
DJ
133172006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
13318
13319 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
13320
6afcfa39
DJ
133212006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
13322
13323 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
13324
267a692b
MK
133252006-07-17 Mark Kettenis <kettenis@gnu.org>
13326
13327 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
13328 *-*-openbsd* from targets for wich we expect ARM FPA floating
13329 point format.
13330
85d2fec4
NR
133312006-07-17 Nick Roberts <nickrob@snap.net.nz>
13332
13333 * gdb.cp/annota3.exp: Expect frame-begin annotation.
13334
133352006-07-17 Mark Kettenis <kettenis@gnu.org>
13336
13337 * gdb.base/annota3.exp: Expect frame-begin annotation.
13338
85b4c6e8
JB
133392006-07-14 Joel Brobecker <brobecker@adacore.com>
13340
13341 * gdb.base/help.exp: Adjust "help unset" test to accept
13342 any list of unset commands.
13343
fb933624
DJ
133442006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
13345 Daniel Jacobowitz <dan@codesourcery.com>
13346
13347 * gdb.cp/ref-params.exp: New test.
13348 * gdb.cp/ref-params.cc: New source file.
13349 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
13350
1dff4b64
MK
133512006-07-08 Mark Kettenis <kettenis@gnu.org>
13352
13353 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
13354 spaces/tabs in regular expressions since they might not be there.
13355
40d2e0e3
AS
133562006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
13357
13358 * gdb.base/ifelse.exp: New file.
13359
f6c957d2
NS
133602006-07-04 Nathan Sidwell <nathan@codesourcery.com>
13361
13362 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
13363 line.
13364 * gdb.base/huge.exp: Loop over compilation to find a size that
13365 is acceptable.
13366 * gdb.base/remote.exp: Correct expected strings.
13367 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
13368
b9c5a23d
DJ
133692006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13370
13371 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
13372
9af2e58d
DJ
133732006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13374
13375 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
13376 native.
13377
30930ca5
DJ
133782006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13379
13380 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
13381 enable stabs testing.
13382
aa32fa1d
DJ
133832006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13384
bd4a4c80 13385 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
13386 gdb_test_multiple does.
13387
321fef15
DJ
133882006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13389
13390 * Makefile.in (host_alias): Remove.
13391 (target_alias): Use @target_noncanonical@.
13392 (site.exp): Don't set host_alias.
13393 * aclocal.m4: Remove contents. Include acx.m4.
13394 * configure: Regenerated.
13395 * configure.ac: Use ACX_NONCANONICAL_TARGET.
13396
e1c2defa
NS
133972006-06-13 Nathan Sidwell <nathan@codesourcery.com>
13398
e63b55d1
NS
13399 * lib/gdb.exp (gdb_load_cmd): New.
13400
5600ea19
NS
13401 * gdb.base/fileio.c: Add system(NULL) test.
13402 * gdb.base/fileio.exp: Check it.
13403
e1c2defa
NS
13404 * gdb.base/break.c: Add 10a breakpoint at }
13405 * gdb.base/break.exp: Add test for breakpoint at }
13406 * gdb.cp/anon-union.cc: Add code at end of function.
13407 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
13408 * gdb.mi/var-cmd.c: Add code at end of function.
13409 * gdb.mi/mi-var-display.exp: Adjust end of next.
13410 * gdb.mi/mi2-var-display.exp: Likewise.
13411 * gdb.base/fileio.c: Add stop function and insert calls at
13412 stopping places.
13413 * gdb.base/fileio.exp: Breakpoint stop function and remove
13414 explicit line number references.
13415
6c0112ec
JB
134162006-05-19 Joel Brobecker <brobecker@adacore.com>
13417
a9c64011
AS
13418 * gdb.base/del.exp (test_delete_alias): New function.
13419 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 13420
154189a4
FF
134212006-05-18 Fred Fish <fnf@specifix.com>
13422
13423 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
13424 required. Check for spurious output after program exits normally.
13425
582e64c2
FF
134262006-05-17 Fred Fish <fnf@specifix.com>
13427
13428 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
13429 gdb_load, so it works in the simulator.
13430
8ef6493a
FF
134312006-05-11 Fred Fish <fnf@specifix.com>
13432
13433 * gdb.base/bang.exp: Ignore unexpected output between the
13434 "program exited normally" and the gdb prompt, as many other
13435 tests do.
13436
692b141c
MK
134372006-05-07 Mark Kettenis <kettenis@gnu.org>
13438
13439 * gdb.base/help.exp: Make "delete checkpoint" part option for
13440 "help d" and "help delete" tests.
13441
540b8a30
UW
134422006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13443
a9c64011 13444 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
13445 expected output in some mi_gdb_test statements.
13446 * gdb.mi/mi2-basics.exp: Likewise.
13447
9b6462d9
JB
134482006-05-05 Joel Brobecker <brobecker@adacore.com>
13449
13450 * gdb.base/del.c: New file.
13451 * gdb.base/del.exp: New testcase.
13452
954de43b
DM
134532006-05-05 David S. Miller <davem@sunset.davemloft.net>
13454
13455 * gdb.base/break.exp: Do not assume a breakpoint on
13456 main will actually be in $srcfile when optimizing.
1303f75e
DM
13457 * gdb.base/savedregs.exp: Do not require that the dummy
13458 frame location match up to a symbol and source file location.
c3242428
DM
13459 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
13460 will get printed without a mi_cmd_data_list_register_values prefix.
13461 (*-data-list-register-*): Correct regular expressions to expect the new
13462 pseudo d? floating point registers.
13463 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 13464
c7e64c9a
DJ
134652006-05-05 Christophe Lyon <christophe.lyon@st.com>
13466
13467 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
13468 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
13469 is allocated by the compiler.
13470 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
13471 anons, e, anone to force their allocation by the compiler.
13472
134732006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
13474
13475 * gdb.base/help.exp: Update expected text for help d and
13476 help delete.
13477
27ce9a6d
MK
134782006-05-02 Mark Kettenis <kettenis@gnu.org>
13479
13480 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
13481 NetBSD/ELF targets.
13482
8608915f
MK
134832006-04-30 Mark Kettenis <kettenis@gnu.org>
13484
13485 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
13486 single-step breakpoint fails; make this a KFAIL on
13487 sparc*-*-openbsd*.
13488 * gdb.base/siginfo.exp: Likewise.
13489 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13490
b8db102d
MS
134912006-04-26 Michael Snyder <msnyder@redhat.com>
13492
13493 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
13494 which may have to consume output from other forks.
13495 Add tests to make sure that "delete fork" succeeded.
13496
c702009a
MS
134972006-04-20 Michael Snyder <msnyder@redhat.com>
13498
13499 * 2006-03-22 Jim Blandy <jimb@redhat.com>
13500 Add support for the Renesas M32C and M16C.
13501
13502 * gdb.asm/asm-source.exp: Add m32c target.
13503 * gdb.asm/m32c.inc: Support for m32c target.
13504
e28493f2
AS
135052006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
13506
13507 * gdb.base/commands.exp (recursive_source_test): New test.
13508
880da185
DM
135092006-04-04 David S. Miller <davem@sunset.davemloft.net>
13510
13511 * gdb.base/float.exp: Add pattern for sparc targets.
13512
61d9b92f
DJ
135132006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
13514
13515 * gdb.base/commands.exp (stray_arg0_test): New test.
13516
bd717df8
PB
135172006-03-30 Paul Brook <paul@codesourcery.com>
13518
13519 * gdb.mi/mi-until.exp: kfail broken until command.
13520 * gdb.mi/mi2-until.exp: Ditto.
13521
ec793d3c
NR
135222006-03-27 Nick Roberts <nickrob@snap.net.nz>
13523
13524 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
13525
831004b7
AO
135262006-03-08 Alexandre Oliva <aoliva@redhat.com>
13527
13528 * gdb.base/prelink.exp: Anchor tested-for regular expression
13529 on gdb prompt.
13530
effe49a0
PB
135312006-03-07 Paul Brook <paul@codesourcery.com>
13532
13533 * gdb.base/assign.exp: Correct fail message.
13534
e5461016
PB
135352006-03-07 Paul Brook <paul@codesourcery.com>
13536
13537 * lib/compiler.c: Extract armcc version number.
13538 * lib/compiler.cc: Ditto.
13539
fc91c6c2
PB
135402006-03-07 Paul Brook <paul@codesourcery.com>
13541
13542 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
13543 additional_flags=-w.
13544 * gdb.arch/altivec-regs.exp: Ditto.
13545 * gdb.arch/e500-abi.exp: Ditto.
13546 * gdb.arch/e500-regs.exp: Ditto.
13547 * gdb.base/all-bin.exp: Ditto.
13548 * gdb.base/annota1.exp: Ditto.
13549 * gdb.base/annota3.exp: Ditto.
13550 * gdb.base/args.exp: Ditto.
13551 * gdb.base/arithmet.exp: Ditto.
13552 * gdb.base/assign.exp: Ditto.
13553 * gdb.base/async.exp: Ditto.
13554 * gdb.base/bang.exp: Ditto.
13555 * gdb.base/break.exp: Ditto.
13556 * gdb.base/call-rt-st.exp: Ditto.
13557 * gdb.base/completion.exp: Ditto.
13558 * gdb.base/cond-expr.exp: Ditto.
13559 * gdb.base/condbreak.exp: Ditto.
13560 * gdb.base/consecutive.exp: Ditto.
13561 * gdb.base/define.exp: Ditto.
13562 * gdb.base/display.exp: Ditto.
13563 * gdb.base/ena-dis-br.exp: Ditto.
13564 * gdb.base/environ.exp: Ditto.
13565 * gdb.base/eval-skip.exp: Ditto.
13566 * gdb.base/info-proc.exp: Ditto.
13567 * gdb.base/jump.exp: Ditto.
13568 * gdb.base/logical.exp: Ditto.
13569 * gdb.base/long_long.exp: Ditto.
13570 * gdb.base/maint.exp: Ditto.
13571 * gdb.base/miscexprs.exp: Ditto.
13572 * gdb.base/pc-fp.exp: Ditto.
13573 * gdb.base/pointers.exp: Ditto.
13574 * gdb.base/relational.exp: Ditto.
13575 * gdb.base/reread.exp: Ditto.
13576 * gdb.base/sect-cmd.exp: Ditto.
13577 * gdb.base/sep.exp: Ditto.
13578 * gdb.base/sepdebug.exp: Ditto.
13579 * gdb.base/until.exp: Ditto.
13580 * gdb.base/whatis-exp.exp: Ditto.
13581 * gdb.cp/annota2.exp: Ditto.
13582 * gdb.cp/annota3.exp: Ditto.
13583 * gdb.trace/actions.exp: Ditto.
13584 * gdb.trace/backtrace.exp: Ditto.
13585 * gdb.trace/circ.exp: Ditto.
13586 * gdb.trace/collection.exp: Ditto.
13587 * gdb.trace/deltrace.exp: Ditto.
13588 * gdb.trace/infotrace.exp: Ditto.
13589 * gdb.trace/limits.exp: Ditto.
13590 * gdb.trace/packetlen.exp: Ditto.
13591 * gdb.trace/passc-dyn.exp: Ditto.
13592 * gdb.trace/passcount.exp: Ditto.
13593 * gdb.trace/report.exp: Ditto.
13594 * gdb.trace/save-trace.exp: Ditto.
13595 * gdb.trace/tfind.exp: Ditto.
13596 * gdb.trace/tracecmd.exp: Ditto.
13597 * gdb.trace/while-dyn.exp: Ditto.
13598 * gdb.trace/while-stepping.exp: Ditto.
13599 * lib/gdb.exp: Ditto.
13600 (gdb_compile): Handle nowarning option.
13601
5f4a23d9
AO
136022006-03-07 Alexandre Oliva <aoliva@redhat.com>
13603
13604 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
13605 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
13606 Rename executable to prelinkt. Don't re-prelink if we didn't
13607 get a core file. Test prelink -u exit status to tell whether
13608 prelinking failed. Use gdb_test_multiple.
13609
9733fc94
DJ
136102006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
13611
13612 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
13613 (do_tests): Call it.
13614
cc10cae3
AO
136152006-02-28 Alexandre Oliva <aoliva@redhat.com>
13616
13617 * gdb.base/prelink.exp: New test.
13618 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
13619
15c46491
WZ
136202006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
13621
13622 * gdb.fortran/derived-type.f90: New file.
13623 * gdb.fortran/derived-type.exp: New testcase.
13624
5c9f7ded
DJ
136252006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
13626
13627 * gdb.base/default.exp: Allow ';' as a directory separator.
13628
5b96932b
AS
136292006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13630
13631 * gdb.base/help.exp (help add-symbol-file): Update.
13632
1986bccd
AS
136332006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13634
13635 * gdb.base/help.exp (help load): Update expected results.
13636
a8b7528f
FF
136372006-02-19 Fred Fish <fnf@specifix.com>
13638
13639 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
13640 specifix hex value as part of results.
13641 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 13642
f8261448
FF
136432006-02-16 Fred Fish <fnf@specifix.com>
13644
13645 * gdb.base/whatis.c: Define variables using typedefs char_addr,
13646 ushort_addr, and slong_addr, so the typedefs are not optimized
13647 away.
13648 * gdb.base/whatis.exp: Add tests using type name for struct type,
13649 union type, enum type, and typedef.
a9c64011 13650
31d8bdd2
MK
136512006-02-13 Mark Kettenis <kettenis@gnu.org>
13652
13653 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
13654
34e41e63
JB
136552006-02-13 Jim Blandy <jimb@redhat.com>
13656
13657 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
13658 case where it takes two "next" commands to skip past the init
13659 call.
13660
ac6e4f31
FF
136612006-02-12 Fred Fish <fnf@specifix.com>
13662
13663 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
13664 to handle cases where it takes two "next" commands to skip
13665 past the init call.
13666
2db2d571
JB
136672006-02-07 Joel Brobecker <brobecker@adacore.com>
13668
13669 * gdb.ada/array_return.exp: Mark the last test as expected to fail
13670 on hppa32 targets.
13671
38fcd64c
DJ
136722006-02-06 Vladimir Prus <ghost@cs.msu.su>
13673
13674 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
13675 field.
13676
1315ad46
MK
136772006-01-29 Mark Kettenis <kettenis@gnu.org>
13678
13679 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
13680
5625b943
DJ
136812006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
13682
13683 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
13684 files.
13685
80df1bbe
DJ
136862006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
13687
13688 * gdb.cp/maint.exp: Set complaints to a positive value.
13689
9078e690
DJ
136902006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13691
13692 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
13693 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
13694 function name.
13695
9c903399
DJ
136962006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13697
13698 * gdb.base/checkpoint.c: Update copyright notice. Include
13699 <stdlib.h>.
13700
761ae4d6
JB
137012006-01-04 Jim Blandy <jimb@redhat.com>
13702
13703 * gdb.asm/asm-source.exp: Independently provide default values for
13704 asm-flags and debug-flags. Use 'string equal' to do the
13705 comparison, not the implicit expr's '==' operator. Remove
13706 now-unneeded assignments to asm-flags. In h8300 case, place
13707 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
13708
099ac3dd
MS
137092006-01-04 Michael Snyder <msnyder@redhat.com>
13710
13711 * gdb.base/checkpoint.c: New file.
13712 * gdb.base/checkpoint.exp: New file.
13713 * gdb.base/multi-fork.c: New file.
13714 * gdb.base/multi-fork.exp: New file.
13715 * gdb.base/pi.txt: New file (data for checkpoint.c test).
13716
f4d85314
FF
137172006-01-04 Fred Fish <fnf@specifix.com>
13718
13719 * gdb.base/ptype.c (foo): Add typedef.
13720 (intfoo): Add function.
13721 * gdb.base/ptype1.c: New file.
13722 * gdb.base/ptype.exp: Handle compilation and linking with two
13723 source files. Test that proper type for "foo" is found based
13724 on source context rather than first match found in symtabs.
13725
a1b06f35
MK
137262005-12-28 Mark Kettenis <kettenis@gnu.org>
13727
13728 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
13729 * gdb.asm/openbsd.inc: Indent commands.
13730
d082a1e2
MK
137312005-12-26 Mark Kettenis <kettenis@gnu.org>
13732
c65016bd
MK
13733 * gdb.base/freebpcmd.exp: Increase timeout.
13734
d082a1e2
MK
13735 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
13736
d3c32a0e
DJ
137372005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
13738
13739 * gdb.base/default.exp: Update check for "show version".
13740
9fdb1f50
RC
137412005-12-09 Randolph Chung <tausq@debian.org>
13742
13743 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
13744 * gdb.asm/pa64.inc: New file.
13745
5f2c56f7
RC
137462005-12-09 Randolph Chung <tausq@debian.org>
13747
13748 * gdb.asm/common.inc: Indent commands.
13749 * gdb.asm/asmsrc1.s: Likewise.
13750 * gdb.asm/asmsrc2.s: Likewise.
13751
8117349c
RC
137522005-12-09 Randolph Chung <tausq@debian.org>
13753
13754 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
13755 (get_addr_of_sym): Remove duplicate print.
13756 (gen_core): xfail hppa*-*-hpux*, update expected output.
13757 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
13758 * gdb.arch/pa64-nullify.s: New file.
13759
8f07f25a
RC
137602005-12-09 Randolph Chung <tausq@debian.org>
13761
13762 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
13763
55b39184
DJ
137642005-12-07 Christophe Lyon <christophe.lyon@st.com>
13765
13766 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
13767 code generation for these functions.
13768 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
13769 error message.
13770
31e2b00f
AS
137712005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
13772
13773 * gdb.base/help.exp (help b, help br, help bre, help brea)
13774 (help break): Update the expected message.
13775
c3d0b56e
SC
137762005-11-11 Stephane Carrez <stcarrez@nerim.fr>
13777
13778 * gdb.asm/m68hc11.inc: Setup the data section.
13779 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
13780 script for this test.
13781 (m6812-*-*): Likewise.
13782
36ae0ea9
RC
137832005-11-09 Randolph Chung <tausq@debian.org>
13784
13785 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
13786
9d6f42e9
WZ
137872005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
13788
13789 * gdb.base/break.exp: Fix a comment typo.
13790
e2126a14
EZ
137912005-11-03 Jim Blandy <jimb@redhat.com>
13792
a9c64011
AS
13793 Checked in by Elena Zannoni <ezannoni@redhat.com>
13794
889bf7c5 13795 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 13796
e0ac7199
CV
137972005-11-02 Corinna Vinschen <vinschen@redhat.com>
13798
13799 * gdb.arch/gdb1558.c: Include stdio.h.
13800
31d3fb18
MK
138012005-10-31 Mark Kettenis <kettenis@gnu.org>
13802
13803 * gdb.asm/asm-source.exp: Use -e instead of --entry.
13804
e52b687c
MK
138052005-10-31 Mark Kettenis <kettenis@gnu.org>
13806
13807 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
13808
f4711d79
PG
138092005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
13810
a9c64011
AS
13811 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13812 vscr" tests to better match output.
f4711d79 13813
987a9106
JB
138142005-10-12 Jim Blandy <jimb@redhat.com>
13815
13816 * gdb.base/structs.exp (any): New function.
13817 (test_struct_returns): Don't make any assumptions at all about
13818 what value the function returns when GDB can't set the return
13819 value.
13820
2336bb58
JB
138212005-10-09 Joel Brobecker <brobecker@adacore.com>
13822
13823 * gdb.ada/arrayidx/p.adb: New file.
13824 * gdb.ada/arrayidx.exp: New testcase
13825
138262005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
13827
13828 * gdb.ada/array_return/pck.ads: New file.
13829 * gdb.ada/array_return/pck.adb: New file.
13830 * gdb.ada/array_return/p.adb: New file.
13831 * gdb.ada/array_return.exp: New testcase.
13832
705335ea
JB
138332005-10-03 Joel Brobecker <brobecker@adacore.com>
13834
a9c64011
AS
13835 * gdb.base/arrayidx.c: New file.
13836 * gdb.base/arrayidx.exp: New testcase.
705335ea 13837
11ee9940
NR
138382005-09-29 Nick Roberts <nickrob@snap.net.nz>
13839
13840 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
13841 frames-invalid and breakpoints-invalid are no longer generated
13842 with level 3 so don't expect them in the output.
13843
39fb8e9e
BR
138442005-09-27 Bob Rossi <bob@brasko.net>
13845
a9c64011 13846 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
13847 from test. Escape the | in mi_gdb_test call.
13848 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
13849 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
13850 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
13851 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
13852 expected regex's in mi_gdb_test calls.
13853 * lib/mi-support.exp: Remove arbitrary .* from tests.
13854 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
13855 Fully anchor GDB/MI expected results in mi_gdb_test.
13856 * lib/gdb.exp (string_to_regexp): Escape the ] character.
13857 * gdb.base/sizeof.exp: Remove escape character. Correct test.
13858
2af48f68
PB
138592005-09-26 Paul Brook <paul@codesourcery.com>
13860
13861 * long_long.exp: Exclude eabi targets from arm FPA float format test.
13862
f34502bc
WZ
138632005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13864
13865 * bfp-test.c: New file.
13866 * bfp-test.exp: New testcase.
13867
ca929517
WZ
138682005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13869
13870 * gdb.fortran/subarray.exp: New testcase to test the evaluation
13871 of subarray and substring variable.
13872 * gdb.fortran/subarray.f: New source file for the test of subarray
13873 and substring variable evaluation.
13874 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
13875 of string constant.
13876
c761af65
DJ
138772005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
13878
13879 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
13880 copyright dates.
13881
561d7a1d
PG
138822005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
13883
13884 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
13885 powerpc altivec' test with an almost identical 'info vector' test.
13886
b2b64cc9
PG
138872005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13888
a9c64011
AS
13889 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13890 vscr" tests to match output.
b2b64cc9 13891
6ac4d15a
PG
138922005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13893
a9c64011
AS
13894 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
13895 output.
6ac4d15a 13896
40e55bef
BR
138972005-09-11 Bob Rossi <bob@brasko.net>
13898
889bf7c5
PA
13899 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
13900 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
13901 commands that return an MI output command and an asyncronous MI output
13902 command.
40e55bef
BR
13903 * gdb.mi/mi-console.exp: Ditto.
13904
3c7385ec
BR
139052005-09-11 Bob Rossi <bob@brasko.net>
13906
13907 * gdb.mi/mi-var-child.c: Include <string.h>.
13908
a6cd0eb3
DJ
139092005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
13910
13911 * killed.exp: Correct gdb_expect syntax.
13912
2f168eed
CV
139132005-08-09 Corinna Vinschen <vinschen@redhat.com>
13914
13915 * lib/mi-support.exp (mi_gdb_load): Fix typo.
13916
ecd3fd0f
BR
139172005-08-02 Bob Rossi <bob@brasko.net>
13918
13919 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
13920 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
13921 Change tests to inferior-tty-set/show.
13922 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
13923 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
13924 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
13925 inferior. Use mi_gdb_test to get GDB and Inferior output.
13926 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
13927 descriptor.
13928 (mi_inferior_tty_name): Add inferior PTY file name.
13929 (mi_gdb_start): Add INFERIOR_PTY parameter.
13930 (mi_gdb_test): Add IPATTERN parameter.
13931
f1ea48cb 139322005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 13933
f1ea48cb
BR
13934 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
13935 parameter to mi_gdb_test.
13936 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
13937
6e650a67
DJ
139382005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13939
13940 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
13941 struct_declarations.
13942 * gdb.mi/mi-var-child.exp: Step over the initialization of
13943 struct_declarations.
13944
8be260b6
DJ
139452005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13946
13947 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
13948 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
13949 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
13950 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
13951 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
13952 file.
13953
4e660f07
NR
139542005-07-27 Nick Roberts <nickrob@snap.net.nz>
13955
13956 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
13957 (do_children_tests): Assign values to the extra elements.
13958
13959 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
13960 them for tests for "-var-update --no-values" and
a9c64011 13961 "-var-update --all-values".
4e660f07
NR
13962 Add test for "-var-list-children --simple-values".
13963
13964 * gdb.mi/basics.c (callee4): Add integer array D[3]...
13965
13966 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
13967 "-stack-list-locals --simple-values" Improve doc strings and
13968 comments.
13969
6bdae935
MK
139702005-07-18 Mark Kettenis <kettenis@gnu.org>
13971
598b7a6f
MK
13972 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
13973 *-*-openbsd*.
13974 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
13975
6bdae935
MK
13976 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
13977 sigaltsatck'.
13978
1323e929 139792005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 13980
1323e929
BR
13981 * gdb.base/default.exp (tty): Changed output of command.
13982 * gdb.base/help.exp (help tty): Ditto.
13983
b1a9c082
MK
139842005-07-12 Mark Kettenis <kettenis@gnu.org>
13985
13986 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
13987
10a844a2
MK
139882005-07-10 Mark Kettenis <kettenis@gnu.org>
13989
13990 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
13991 -stack-select-frame without arguments.
13992 (test_stack_frame_listing): Add test for newly implemented command
13993 -stack-info-frame.
13994
3cb3b8df
BR
139952005-07-06 Bob Rossi <bob@brasko.net>
13996
13997 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
13998 command.
13999 (Copyright): Update copyright.
14000
a0c5fbcf
WZ
140012005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
14002
14003 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
14004 tests to evaluate exponentiation expression.
14005
984971d0
AS
140062005-06-29 Andreas Schwab <schwab@suse.de>
14007
14008 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
14009 main to avoid warnings.
14010
14011 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
14012
fe03833f
NR
140132005-06-20 Nick Roberts <nickrob@snap.net.nz>
14014
14015 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
14016 -stack-select-frame without arguments.
14017 (test_stack_frame_listing): Add test for newly implemented command
14018 -stack-info-frame.
a9c64011 14019
7a55f279
WZ
140202005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
14021
0ffa0ea5
DJ
14022 * gdb.fortran/array-element.f: New file.
14023 * gdb.fortran/array-element.exp: New testcase.
7a55f279 14024
26585198
DJ
140252005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
14026
14027 * gdb.base/bigcore.exp: Correct checks for systems which can
14028 not dump a large core file.
14029
c1bd25fd
DJ
140302005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
14031
14032 * gdb.base/relocate.c: Add a copyright notice.
14033 (dummy): Remove.
14034 * gdb.base/relocate.exp: Test printing the values of variables
14035 from a relocatable file.
14036
589e074d
DJ
140372005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
14038
14039 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
14040 excess MI output after an error.
14041
0915f927
JB
140422005-05-29 Joel Brobecker <brobecker@adacore.com>
14043
14044 * gdb.arch/alpha-step.c: New file.
14045 * gdb.arch/alpha-step.exp: New testcase.
14046
76ff342d
DJ
140472005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
14048 Dennis Brueni <dennis@slickedit.com>
14049
14050 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
14051 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
14052 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
14053 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
14054 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
14055 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
14056 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
14057
96b0c7ac
DJ
140582005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
14059 Wu Zhou <woodzltc@cn.ibm.com>
14060
14061 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
14062 IBM's xlc compiler.
14063 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
14064 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
14065
f21565d2
JB
140662005-05-13 Jim Blandy <jimb@redhat.com>
14067
14068 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
14069 calling gdb_suppress_entire_file.
14070 * gdb.base/charset.exp: Same.
14071 * gdb.base/call-rt-st.exp: Same.
14072
6006a3a1
BR
140732005-05-05 Bob Rossi <bob_rossi@cox.net>
14074
14075 * lib/gdb.exp (fullname_syntax): Added global regex.
14076 (fullname_syntax_POSIX): Ditto.
14077 (fullname_syntax_UNC): Ditto.
14078 (fullname_syntax_DOS_CASE): Ditto.
14079 (fullname_syntax_DOS): Ditto.
14080 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
14081 fullname_syntax variable to scope and use it.
14082 (test_file_list_exec_source_files): Ditto.
14083 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
14084
c3b69c04
DJ
140852005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
14086
14087 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
14088
3c95e6af
PG
140892004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
14090
a9c64011
AS
14091 * lib/gdb.exp (skip_altivec_tests): New function, based on
14092 check_vmx_hw_available from the GCC testsuite.
14093 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
14094 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 14095
78df6c56
JB
140962005-05-02 Jim Blandy <jimb@redhat.com>
14097
14098 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
14099 calling gdb_suppress_entire_file.
14100
1690f9cf
DJ
141012005-04-30 Randolph Chung <tausq@debian.org>
14102
14103 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
14104 Slightly relax "sem_post" name checking.
14105
5ea106f7
PG
141062005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
14107
14108 * gdb.base/unload.exp: Use new shared library infrastructure.
14109
bf7234cf
PG
141102005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
14111
14112 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 14113 infrastructure.
bf7234cf 14114
547b869a
CV
141152005-04-29 Corinna Vinschen <vinschen@redhat.com>
14116
14117 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
14118 * gdb.asm/h8300.inc: New file.
14119
f07e55f0
PG
141202005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
14121
14122 * gdb.base/shlib-call.exp: Change to use new shared library
14123 infrastructure.
14124
3cbba3d1
PG
141252005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
14126
a9c64011
AS
14127 * gdb.base/pending.exp: Change to use new shared library
14128 infrastructure.
3cbba3d1 14129
ed6df200
PG
141302005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
14131
a9c64011
AS
14132 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
14133 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 14134
8c8f4ebe
PG
141352005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
14136
a9c64011
AS
14137 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
14138 shared objects being adjusted and update copyright years.
8c8f4ebe 14139
607fbc54
DJ
141402005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
14141
14142 * ChangeLog: Correct some 2003-01-13 dates.
14143 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
14144 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
14145 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
14146 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
14147 gdb.trace/tfind.exp: Update copyright years.
14148
57bf0e56
DJ
141492005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
14150 Daniel Jacobowitz <dan@codesourcery.com>
14151
14152 * lib/gdb.exp (gdb_compile): Handle shlib=.
14153 (gdb_compile_shlib): New function.
14154
9b593790
PG
141552005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
14156
a9c64011 14157 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 14158
9494c6a5
DJ
141592005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
14160
14161 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
14162 gdb.server.
14163 * configure.ac: Likewise.
14164 * configure: Regenerated.
14165 * gdb.gdbserver/Makefile.in: Moved to...
14166 * gdb.server/Makefile.in: ... here.
14167 * gdb.gdbserver/server.c: Moved to...
14168 * gdb.server/server.c: ... here.
14169 * gdb.gdbserver/server-run.exp: Moved to...
14170 * gdb.server/server-run.exp: ... here.
14171
6f8eac0e
DJ
141722005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
14173
14174 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
14175 * configure.ac: Create gdb.gdbserver/Makefile.
14176 * configure: Regenerated.
14177 * lib/gdbserver-support.exp: New file, derived from
14178 config/gdbserver.exp.
14179 * config/gdbserver.exp: Use gdbserver-support.exp.
14180 * gdb.gdbserver/Makefile.in: New file.
14181 * gdb.gdbserver/server.c: New file.
14182 * gdb.gdbserver/server-run.exp: New file.
14183
6e87504d
PG
141842005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
14185
a9c64011
AS
14186 * lib/gdb.exp (test_compiler_info): Return compiler_info
14187 if no arguments are given.
6e87504d 14188
d1779be4
PG
141892005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
14190
14191 * gdb.arch/altivec-abi.exp: Check for compiler and set
14192 use altivec' flag accordingly.
14193 * gdb.arch/altivec-regs.exp: Likewise.
14194
88750304
DJ
141952005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
14196
14197 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
14198
f3fb768d
AS
141992005-03-27 Andreas Schwab <schwab@suse.de>
14200
14201 * gdb.base/bigcore.c (main): Add missing mode argument in open
14202 call.
14203
7e813ac5
DJ
142042005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
14205
14206 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
14207 downloads.
14208 * config/gdbserver.exp (gdb_load): Likewise.
14209
8e3049aa
PB
142102005-03-14 Paul Brook <paul@codesourcery.com>
14211
14212 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
14213 targets.
14214
a9df7c44
JB
142152005-03-09 Joel Brobecker <brobecker@adacore.com>
14216
14217 * gdb.dwarf2/dup-psym.S: New file.
14218 * gdb.dwarf2/dup-psym.exp: New testcase.
14219
9f0d94e8
JB
142202005-03-09 Joel Brobecker <brobecker@adacore.com>
14221
14222 * gdb.ada/exec_changed/first.adb: New file.
14223 * gdb.ada/exec_changed/second.adb: New file.
14224 * gdb.ada/exec_changed.exp: New testcase.
14225
5f579bc5
NS
142262005-03-08 Nathan Sidwell <nathan@codesourcery.com>
14227
36e9969c
NS
14228 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
14229 (A2): New class.
14230 (main): Test operator+.
14231 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
14232 breakpoint test.
14233
5f579bc5
NS
14234 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
14235 * gdb.base/signull.exp: Disable if gdb,nosignals.
14236 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
14237 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
14238 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
14239 * gdb.mi/mi2-console.exp: Likewise.
14240 * gdb.trace/collection.exp (run_trace_experiment): Consume the
14241 continue output at start.
14242 (gdb_collect_locals_test): Robustify regexp.
14243 * gdb.trace/passc-dyn.exp: Fix comment typo.
14244 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
14245
be46087e
CV
142462005-03-08 Corinna Vinschen <vinschen@redhat.com>
14247
14248 * gdb.asm/asm-source.exp: Add iq2000 case.
14249 * gdb.asm/iq2000.inc: New file.
14250
384e1a61 142512005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 14252
384e1a61
MI
14253 * gdb.base/command.exp: Change hardcoded value to regular expression.
14254 * gdb.base/float.exp: Add powerpc to the list of targets checked.
14255
584b6e9e
DJ
142562005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
14257
14258 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
14259 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
14260 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
14261 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
14262 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
14263
ab5b5d61
MK
142642005-03-05 Mark Kettenis <kettenis@gnu.org>
14265
14266 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
14267 changes.
14268
ae051c1b
PG
142692004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
14270
a9c64011
AS
14271 * lib/compiler.c: Add test for IBM's xlc compiler.
14272 * lib/compiler.cc: Likewise.
ae051c1b 14273
3f0f6ed2
JB
142742004-02-24 Joel Brobecker <brobecker@adacore.com>
14275
14276 * gdb.ada/fixed_points.exp: Create compilation object directory
14277 before running the test.
14278 * gdb.ada/null_record.exp: Likewise.
14279 * gdb.ada/packed_array.exp: Likewise.
14280 * gdb.ada/start.exp: Likewise.
14281
724f452b
JB
142822005-02-15 Joel Brobecker <brobecker@adacore.com>
14283
14284 * gdb.ada/packed_array/pa.adb: New file.
14285 * gdb.ada/packed_array.exp: New testcase.
14286
57f5cdfb 142872005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 14288
1f393151
MK
14289 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
14290 files.
14291
ebdda337
MK
14292 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
14293 on *-*-openbsd*. Correctly match whitespace in regukar
14294 expressions.
14295
cf309262
DJ
142962005-02-10 Daniel Jacobowitz <dan@debian.org>
14297
14298 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
14299 PR exp/1821
14300 * gdb.base/gdb1821.c: New test file.
14301 * gdb.base/gdb1821.exp: New test file.
14302
3be49e7a
JB
143032005-02-09 Joel Brobecker <brobecker@adacore.com>
14304
14305 * gdb.base/start.c: New file.
14306 * gdb.base/start.exp: New testcase.
14307
e292e67d
JB
143082005-02-09 Joel Brobecker <brobecker@adacore.com>
14309
14310 * gdb.ada/start/dummy.adb: New file.
14311 * gdb.ada/start.exp: New testcase.
14312
dbdfa66c
CV
143132005-02-09 Corinna Vinschen <vinschen@redhat.com>
14314
14315 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
14316 for printing symbols and statistics.
14317 Add test for using relative pathnames in "maint print msymbols" test.
14318 Mark "maint info sections DATA" XFAIL on Cygwin.
14319 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
14320 tests.
14321
d7941671
AC
143222005-02-09 Andreas Schwab <schwab@suse.de>
14323
14324 Committed by Andrew Cagney <cagney@gnu.org>
14325 * gdb.base/remotetimeout.exp: New file.
14326
74e5ef44
MK
143272005-02-07 Mark Kettenis <kettenis@gnu.org>
14328
14329 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
14330
464dd14d
JB
143312005-02-03 Joel Brobecker <brobecker@adacore.com>
14332
14333 * gdb.ada/gnat_ada.gpr: New file.
14334 * gdb.ada/gnat_ada.gin: Delete, no longer used.
14335 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
14336 * configure.ac: No longer generate gnat_ada.gpr.
14337 * configure: Regenerate.
14338 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
14339 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
14340 * gdb.ada/null_record/bar.ads: Likewise.
14341 * gdb.ada/null_record/bar.adb: Likewise.
14342 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
14343 * gdb.ada/null_record.exp (testdir): New variable.
14344 (testfile): executable is now in testdir subdirectory.
14345 (srcfile): Use full path to the main compilation unit.
14346 * gdb.ada/fixed_points.exp: Same changes as above.
14347
30d756ae
NR
143482005-02-03 Nick Roberts <nickrob@snap.net.nz>
14349
14350 * gdb.base/interp.exp: New test.
14351
9d799f85
AC
143522005-01-24 Andrew Cagney <cagney@gnu.org>
14353
14354 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
14355
15656118
AC
143562005-01-19 Andrew Cagney <cagney@gnu.org>
14357
a892c31b
AC
14358 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
14359 configure.ac not configure.in.
14360
15656118
AC
14361 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
14362 of powerpc*-*-*.
14363 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 14364 * gdb.base/list.exp (test_list_function)
15656118
AC
14365 (test_list_filename_and_function): Ditto.
14366 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
14367
a7b01baf
AC
143682005-01-16 Andrew Cagney <cagney@gnu.org>
14369
17d92a02
AC
14370 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
14371
a7b01baf
AC
14372 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
14373
bc8332bb
AC
143742005-01-14 Andrew Cagney <cagney@gnu.org>
14375
14376 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
14377 * gdb.mi/mi2-var-cmd.exp: Ditto.
14378
4d074752
CV
143792005-01-10 Corinna Vinschen <vinschen@redhat.com>
14380
14381 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
14382
bec39cab
AC
143832005-01-07 Andrew Cagney <cagney@gnu.org>
14384
14385 * configure.ac: Rename configure.in, require autoconf 2.59.
14386 * configure: Re-generate.
14387 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
14388 * gdb.stabs/configure: Re-generate.
14389 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
14390 * gdb.hp/configure: Re-generate.
14391 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
14392 autoconf 2.59.
14393 * gdb.hp/gdb.objdbg/configure: Re-generate.
14394 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
14395 autoconf 2.59.
14396 * gdb.hp/gdb.defects/configure: Re-generate.
14397 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
14398 autoconf 2.59.
14399 * gdb.hp/gdb.compat/configure: Re-generate.
14400 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
14401 autoconf 2.59.
14402 * gdb.hp/gdb.base-hp/configure: Re-generate.
14403 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
14404 autoconf 2.59.
14405 * gdb.hp/gdb.aCC/configure: Re-generate.
14406
f10b16d4
JB
144072004-12-15 Jim Blandy <jimb@redhat.com>
14408
14409 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
14410 under NPTL when there is debugging info available for libpthread.
14411
fb6e1814
JG
144122004-12-13 Jerome Guitton <guitton@gnat.com>
14413
14414 * gdb.ada/fixed_points.c: New file.
14415 * gdb.ada/fixed_points.exp: New file.
14416
fe46cd3a
RC
144172004-12-03 Randolph Chung <tausq@debian.org>
14418
14419 * gdb.arch/pa-nullify.exp: New file.
14420 * gdb.arch/pa-nullify.s: New file.
14421
8de0841b
RC
144222004-11-30 Randolph Chung <tausq@debian.org>
14423
14424 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
14425 instead of "tbug". Fix regexp to work properly with gdb_test.
14426
c8170782
PH
144272004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
14428
14429 * gdb.base/bitfields2.exp: New test.
14430 * gdb.base/bitfields2.c: New file.
14431
954269c2
RE
144322004-11-28 Richard Earnshaw <rearnsha@arm.com>
14433
14434 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
14435
0107feed
RC
144362004-11-16 Randolph Chung <tausq@debian.org>
14437
14438 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
14439
f073ae8c
DJ
144402004-11-14 Daniel Jacobowitz <dan@debian.org>
14441
14442 * gdb.threads/threadapply.exp: Correct "macro details" test.
14443
19ad59e7
JJ
144442004-11-11 Jeff Johnston <jjohnstn@redhat.com>
14445
14446 * gdb.threads/threadapply.exp: New test.
14447 * gdb.threads/threadapply.c: New file.
14448
9cf0961b
MK
144492004-11-07 Mark Kettenis <kettenis@gnu.org>
14450
14451 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
14452 frames.
14453
c789492a
FL
144542004-11-05 Felix Lee <felix+log1@specifixinc.com>
14455
14456 * gdb.base/cursal.exp: New file.
14457 * gdb.base/cursal.c: New file.
14458
a1e167bb
AC
144592004-11-03 Andrew Cagney <cagney@gnu.org>
14460
14461 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
14462
b7cbf173
MK
144632004-10-30 Mark Kettenis <kettenis@gnu.org>
14464
14465 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
14466 NetBSD/ELF targets.
14467
88f9d34f
JB
144682004-10-29 Joel Brobecker <brobecker@gnat.com>
14469
14470 * gdb.threads/bp_in_thread.c: New file, copied from
14471 pthread_cond_wait.c.
14472 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
14473 file, rather than reusing the .c file from another testcase.
14474
ca7d6a0c
JB
144752004-10-20 Joel Brobecker <brobecker@gnat.com>
14476
14477 * gdb.ada/null_record.exp: Check where we stopped after
14478 sending the start command, instead of where the associated
14479 temporary breakpoint was inserted.
14480
0d863d03
AC
144812004-10-14 Andrew Cagney <cagney@gnu.org>
14482
14483 * gdb.mi/gdb701.c (main): Return 0.
14484
d11e72cb
DJ
144852004-10-13 Daniel Jacobowitz <dan@debian.org>
14486
d40539a4 14487 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 14488
e1923096
JJ
144892004-10-12 Jeff Johnston <jjohnstn@redhat.com>
14490
14491 * gdb.threads/schedlock.c: Add comment markers to use to find
14492 line numbers.
14493 * gdb.threads/schedlock.exp: Adjust regex to handle the new
14494 comments.
14495 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
14496 breakpoint lines.
14497
ec8ba2c9
DJ
144982004-10-12 Daniel Jacobowitz <dan@debian.org>
14499
14500 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
14501
0eb3658b
DJ
145022004-10-12 Daniel Jacobowitz <dan@debian.org>
14503
14504 * configure.in: Add gdb.dwarf2.
14505 * configure: Regenerated.
14506 * Makefile.in: Add gdb.dwarf2.
14507 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
14508 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
14509 gdb.dwarf2/file1.txt: New files.
14510
a271cc33
OF
145112004-10-11 Orjan Friberg <orjanf@axis.com>
14512
a9c64011 14513 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
14514 of "run", since the latter doesn't work with remote targets. Adjust
14515 the breakpoint numbering accordingly.
14516 * gdb.threads/pthread_cond_wait.exp: Ditto.
14517
895ce074
MC
145182004-10-08 Michael Chastain <mec.gnu@mindspring.com>
14519
14520 * gdb.base/overlays.exp: Update copyright years.
14521
6be3092d
KI
145222004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
14523
14524 * gdb.base/overlays.exp: Disable if target is Linux.
14525
e05389b8
FL
145262004-10-06 Felix Lee <felix+log1@specifixinc.com>
14527
14528 * config/gdbserver.exp (gdb_load): Use right filename on remote.
14529
73cb587d
KI
145302004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
14531
14532 * gdb.asm/asm-source.exp: Add m32r-linux target.
14533 * gdb.asm/m32r-linux.inc: New file.
14534
3c0edcdc
AC
145352004-09-24 Andrew Cagney <cagney@redhat.com>
14536 David Anderson <anderson@redhat.com>
14537
14538 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
14539 command fails, assume things will work.
14540 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
14541 (_GNU_SOURCE): Define.
14542 (print_unsigned, print_hex): Change parameter to "long long".
14543 (print_byte_count): New function, use to print byte counts.
14544 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
14545 O_LARGEFILE.
14546 (main): Compute an upper bound on a corefile in max_core_size.
14547 Limit memory chunk size to max_core_size. Limit total memory
14548 allocated to max_core_size.
14549
4bb3667f
AC
145502004-09-23 Andrew Cagney <cagney@gnu.org>
14551
14552 * gdb.base/bigcore.exp: Replace the code that creates a corefile
14553 from a separate process with code that creates a corefile by
14554 making the inferior dump core.
14555
60fe1a51
MK
145562004-09-23 Mark Kettenis <kettenis@gnu.org>
14557
14558 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
14559 block.
14560
8e937346
MC
145612004-09-23 Michael Chastain <mec.gnu@mindspring.com>
14562
14563 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
14564 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
14565 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
14566 Likewise.
14567
7213f6d6
JJ
145682004-09-20 Jeff Johnston <jjohnstn@redhat.com>
14569
14570 * gdb.java/jprint.exp: New test case for java inferior call.
14571 * gdb.java/jprint.java: Ditto.
14572
eac69dca
JB
145732004-09-15 Joel Brobecker <brobecker@gnat.com>
14574
14575 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
14576
22227696
MC
145772004-09-14 Michael Chastain <mec.gnu@mindspring.com>
14578
14579 * gdb.threads/killed.c: Include <stdlib.h>.
14580 * gdb.threads/pthreads.c: Likewise.
14581
7dd403a4
MC
145822004-09-14 Michael Chastain <mec.gnu@mindspring.com>
14583
14584 * gdb.threads/killed.c: Add copyright notice.
14585
33f2d567
JM
145862004-09-10 Jason Molenda (jmolenda@apple.com)
14587
a9c64011
AS
14588 * gdb.base/define.exp: Two new tests to verify zero space chars
14589 after 'if' and 'while' commands in a user-defined command is correctly
14590 parsed.
33f2d567 14591
e05b62ac
AC
145922004-09-08 Andrew Cagney <cagney@gnu.org>
14593
14594 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
14595 delivery test with duplicate at end of file.
14596
9cbe82da
MK
145972004-09-06 Mark Kettenis <kettenis@jive.nl>
14598
14599 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
14600
564803d9
MC
146012004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14602
14603 * config/hppro.exp: Removed.
14604
7c6807ce
MC
146052004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14606
14607 * config/sparclet.exp: Removed.
14608
bf7e26dd
MC
146092004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14610
14611 * config/udi.exp: Removed.
14612
714e341b
MC
146132004-09-02 Michael Chastain <mec.gnu@mindspring.com>
14614
14615 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
14616 of "exp_continue".
14617 (advancei): Likewise.
14618
1236e623
JJ
146192004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14620
14621 * gdb.base/unload.exp: Fix so messages aren't duplicated.
14622
3bdcad15
MI
146232004-09-01 Manoj Iyer <manjo@austin.ibm.com>
14624
228af206 14625 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
14626 to check for nodebug in executable.
14627 * gdb.gdb/observer.exp (setup_test): Likewise.
14628 * gdb.gdb/selftest.exp (test_with_self): Likewise.
14629 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
14630
c72b934c
AC
146312004-09-01 Andrew Cagney <cagney@gnu.org>
14632
14633 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14634 files.
14635
edd9b715
JJ
146362004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14637
14638 * gdb.base/unload.exp: Fix expected warning message to match
14639 latest format.
14640
fb4ce06b
CV
146412004-09-01 Corinna Vinschen <vinschen@redhat.com>
14642
14643 * gdb.base/call-rt-st.exp: Fix typos.
14644
ce78e7c3
MI
146452004-08-31 Manoj Iyer <manjo@austin.ibm.com>
14646
14647 * gdb.threads/thread_check.exp: New testcase.
14648 * gdb.threads/thread_check.c: New testcase.
14649
2dedb159
AC
146502004-08-31 Andrew Cagney <cagney@gnu.org>
14651
14652 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
14653 (skip_to_handler_entry): New procedures. Test stepping into a
14654 handler when the breakpoint is at the handler's entry point.
14655
68f53502
AC
146562004-08-30 Andrew Cagney <cagney@gnu.org>
14657
14658 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
14659 gdb/1757.
14660
3e3ffd2b
MC
146612004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14662
14663 With code from Manoj Iyer <manjo@austin.ibm.com>:
14664 * lib/gdb.exp (gdb_file_cmd): Return more information in the
14665 return value. Add an arm for "no debugging symbols found".
14666 Change a stray "error" to "perror".
14667 (gdb_run_cmd): Adapt to new return value.
14668 * gdb.base/remote.exp: Adapt to new return value.
14669 * gdb.gdb/complaints.exp: Likewise.
14670 * gdb.gdb/observer.exp: Likewise.
14671 * gdb.gdb/selftest.exp: Likewise.
14672 * gdb.gdb/xfullpath.exp: Likewise.
14673
4b6f5fd2
JB
146742004-08-27 Joel Brobecker <brobecker@gnat.com>
14675
14676 * gdb.threads/bp_in_thread.exp: New testcase.
14677
e5b25496
MC
146782004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14679
14680 Fix PR testsuite/1735.
14681 * gdb.threads/schedlock.c (thread_function): Add a cast
14682 to suppress a gcc warning.
14683 * gdb.threads/thread-specific.c (thread_function): Likewise.
14684
934353d6
MC
146852004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14686
14687 * gdb.base/unload.c: Include <stdlib.h>.
14688
f98a0aef 146892004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 14690
f98a0aef 14691 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
14692 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
14693 synchronized after the "return".
14694
5a2e8882
MC
146952004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14696
14697 * gdb.mi/basics.c: Include <stdio.h>.
14698 * gdb.mi/pthreads.c: Include <stdlib.h>.
14699 * gdb.mi/var-cmd.c: Include <stdlib.h>.
14700
a9640423
MC
147012004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14702
14703 * gdb.threads/schedlock.c: Add copyright notice.
14704
b04e311d
AC
147052004-08-25 Andrew Cagney <cagney@gnu.org>
14706
14707 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
14708 (skip_over_handler, breakpoint_over_hander): New test procedures.
14709 (advance, advancei): Add a proper prefix, do not use
14710 rerun_to_main.
14711 * gdb.base/sigstep.c (main): Change to use an infinite loop.
14712
7c27f15b
MC
147132004-08-24 Michael Chastain <mec.gnu@mindspring.com>
14714
14715 * gdb.mi/basics.c: Add copyright notice.
14716 * gdb.mi/var-cmd.c: Add copyright notice.
14717
fffc87ae
MC
147182004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14719
14720 * lib/gdb.exp: Remove signed_keyword_not_used.
14721 * lib/compiler.c: Likewise.
14722 * lib/compiler.cc: Likewise.
14723
d782e0bf
MC
147242004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14725
14726 * gdb.base/whatis.c: Remove conditional disabling of "signed".
14727 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
14728
96033e83
MC
147292004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14730
14731 * gdb.base/whatis.c: Add copyright notice.
14732
cf38c229
MK
147332004-08-20 Mark Kettenis <kettenis@gnu.org>
14734
14735 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
14736 it to skip the breakpoints encoded in the inline assembly.
14737
f4b49756
MC
147382004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14739
14740 * Makefile.in: Add gdb.fortran.
14741
2f193b69
MC
147422004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14743
14744 * gdb.base/call-sc.exp (test_scalar_returns):
14745 Fix cut-and-paste glitch in "Make fun return now".
14746
89a237cb
MC
147472004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14748
14749 * configure.in: Add gdb.fortran.
14750 * configure: Regenerate.
14751 * gdb.fortran/Makefile.in: New file.
14752 * lib/gdb.exp (skip_fortran_tests): New procedure.
14753
469aff8e
MC
147542004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14755
14756 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
14757 reference to bug-gnu@prep.ai.mit.edu.
14758 * gdb.mi/mi-var-child.exp: Likewise.
14759 * gdb.mi/mi-var-cmd.exp: Likewise.
14760 * gdb.mi/mi-var-display.exp: Likewise.
14761 * gdb.mi/mi2-var-block.exp: Likewise.
14762 * gdb.mi/mi2-var-child.exp: Likewise.
14763 * gdb.mi/mi2-var-cmd.exp: Likewise.
14764 * gdb.mi/mi2-var-display.exp: Likewise.
14765
00b51b9f
MK
147662004-08-15 Mark Kettenis <kettenis@gnu.org>
14767
14768 * gdb.base/unload.c (main): Make local variable msg const.
14769
45f07fef
MC
147702004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14771
14772 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
14773 to bug-gnu@prep.ai.mit.edu.
14774 * gdb.mi/mi-disassemble.exp: Likewise.
14775 * gdb.mi/mi-eval.exp: Likewise.
14776 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
14777 default line number.
14778 * gdb.mi/mi-return.exp: Likewise.
14779 * gdb.mi/mi-simplerun.exp: Likewise.
14780 * gdb.mi/mi-stack.exp: Likewise.
14781 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
14782 number with explicit range test.
14783 * gdb.mi/mi-watch.exp: Likewise.
14784 * gdb.mi/mi2-break.exp: Likewise.
14785 * gdb.mi/mi2-cli.exp: Likewise.
14786 * gdb.mi/mi2-disassemble.exp: Likewise.
14787 * gdb.mi/mi2-eval.exp: Likewise.
14788 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
14789 default line number.
14790 * gdb.mi/mi2-return.exp: Likewise.
14791 * gdb.mi/mi2-simplerun.exp: Likewise.
14792 * gdb.mi/mi2-stack.exp: Likewise.
14793 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
14794 number with explicit range test.
14795 * gdb.mi/mi2-watch.exp: Likewise.
14796
dd8c8ee7
MC
147972004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14798
14799 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
14800 * gdb.cp/m-static.exp: Likewise.
14801 * gdb.cp/rtti.exp: Likewise.
14802
4e838464
MK
148032004-08-14 Mark Kettenis <kettenis@gnu.org>
14804
14805 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
14806
8d8cb839
EZ
148072004-08-14 Eli Zaretskii <eliz@gnu.org>
14808
14809 * ChangeLog: Prefix Local Variables with semi-colons and indent
14810 the reference to older ChangeLog files, to fix fontification in
14811 Emacs.
14812
deea8bb0
MC
148132004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14814
14815 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
14816 * gdb.mi/mi2-break.exp: Likewise.
14817
c3297504
MC
148182004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14819
14820 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
14821
25808999
MC
148222004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14823
14824 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
14825
226a8d71
MC
148262004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14827
14828 * gdb.cp/classes.exp: Remove unused declarations. Just let
14829 test names default instead of providing special names. Remove
14830 extraneous demangler test.
14831
37fdf854
JJ
148322004-08-12 Jeff Johnston <jjohnstn@redhat.com>
14833
14834 * gdb.base/unload.exp: New test for breakpoints in dynamically
14835 loaded libraries.
14836 * gdb.base/unload.c: Ditto.
14837 * gdb.base/unloadshr.c: Ditto.
14838
2d3a7986
MC
148392004-08-12 Michael Chastain <mec.gnu@mindspring.com>
14840
14841 * gdb.cp/classes.exp (test_ptype_class_objects): Call
14842 cp_test_ptype_class.
14843 (test_enums): Likewise.
14844
c72b934c
AC
148452004-08-10 Andrew Cagney <cagney@gnu.org>
14846
14847 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14848 files.
14849
cc503c8a
AC
148502004-08-10 Andrew Cagney <cagney@gnu.org>
14851
14852 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
14853 init_malloc call.
14854
902f2ccb
MC
148552004-08-10 Michael Chastain <mec.gnu@mindspring.com>
14856
14857 * ChangeLog: Add copyright notice. The notice is copied
14858 from emacs 21.3 top level ChangeLog.
14859
78c90502
MC
148602004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14861
14862 * lib/cp-support.exp: New file.
14863 * lib/cp-support.exp (cp_test_type_class): New function.
14864 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
14865 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
14866 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
14867 cp_test_ptype_class.
14868
88e5ea78
MC
148692004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14870
14871 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
14872 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
14873 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
14874 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
14875 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14876 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
14877 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
14878 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
14879 gdb.mi/mi2-watch.exp: Update copyright years.
14880
6a89fc9c
MK
148812004-08-09 Mark Kettenis <kettenis@gnu.org>
14882
14883 * gdb.base/sigaltstack.exp: Provide proper anchoring.
14884
1482e0de
MC
148852004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14886
14887 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
14888 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
14889 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
14890 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
14891 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
14892 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
14893 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
14894 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
14895 gdb.mi/mi-watch.exp: Update copyright years.
14896
1a5ce3f3
DJ
148972004-08-08 Daniel Jacobowitz <dan@debian.org>
14898
14899 PR gdb/1738
14900 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
14901 from a breakpoint with a pending signal.
14902
04f6ecf2
DJ
149032004-08-08 Daniel Jacobowitz <dan@debian.org>
14904
14905 PR gdb/1736
14906 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
14907 * gdb.base/sigaltstack.exp (finish_test): Consume output until
14908 the prompt.
14909 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
14910
54d90d35
DJ
149112004-08-08 Daniel Jacobowitz <dan@debian.org>
14912
14913 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
14914
d2f6abb0
DJ
149152004-08-08 Daniel Jacobowitz <dan@debian.org>
14916
14917 PR gdb/1736
14918 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
14919 for i?86-*-linux*.
14920
5598c03d
DJ
149212004-08-08 Daniel Jacobowitz <dan@debian.org>
14922
14923 * gdb.arch/i386-prologue.exp: Compile without debug information.
14924
c6fee705
MC
149252004-08-08 Michael Chastain <mec.gnu@mindspring.com>
14926
14927 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
14928 rather than asking gdb to search.
14929
dd90efdb
MC
149302004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14931
14932 * gdb.base/gcore.c: Include <string.h>.
14933
1e84bec1
MC
149342004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14935
14936 * gdb.base/gcore.c: Add copyright notice.
14937
e425eb2b
MC
149382004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14939
14940 * gdb.base/freebpcmd.c: Include <stdio.h>.
14941 * gdb.base/long_long.c: Include <string.h>.
14942 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
14943 * gdb.base/siginfo.c: Include <string.h>.
14944 * gdb.base/sigstep.c: Include <string.h>.
14945
cb9aaed5
MC
149462004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14947
14948 * gdb.base/complex.c: Include <stdlib.h>.
14949
55944f3d
MC
149502004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14951
14952 * gdb.base/complex.c: Add copyright notice.
14953
7b2953d9
MC
149542004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14955
14956 * gdb.base/charset.c: Include <stdlib.h>.
14957
c9133d23
MC
149582004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14959
14960 * gdb.base/auxv.c: Include <stdlib.h>.
14961
0a8490ad
MC
149622004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14963
14964 * gdb.base/auxv.c: Add copyright notice.
14965
3426d5ec
MC
149662004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14967
14968 * gdb.base/coremaker.c: Add copyright notice.
14969 * gdb.base/coremaker2.c: Add copyright notice.
14970
8da195dd
AC
149712004-08-04 Andrew Cagney <cagney@gnu.org>
14972
14973 * gdb.base/store.exp: Update copyright.
14974 (check_set, up_set, check_struct, up_struct): Add a prefix to test
14975 names, do not import gdb_prompt.
14976
8d394f98
AC
149772004-08-01 Andrew Cagney <cagney@gnu.org>
14978
14979 Fix PR testsuite/1729.
14980 * gdb.base/dump.exp: Add test name to callers of capture_value, do
14981 not use capture_value with value 4.
14982 (capture_value): Add optional test name parameter.
14983 (test_reload_saved_value, test_restore_saved_value): Use $msg as
14984 the prefix, pass to capture_value.
14985
b6702b23
MK
149862004-08-01 Mark Kettenis <kettenis@gnu.org>
14987
14988 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
14989 * gdb.arch/i386-prologue.c (standard): New prototype and function.
14990 (main): Call new function.
14991
c203e0ca
MC
149922004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14993
14994 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
14995
a7995a30
MC
149962004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14997
14998 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
14999
9366563b
MC
150002004-07-31 Michael Chastain <mec.gnu@mindspring.com>
15001
b6eeaf26 15002 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
15003 Accept more values of vtbl pointer. Remove some messages
15004 about "obsolete gcc or gdb".
15005
2fc1f950
MC
150062004-07-30 Michael Chastain <mec.gnu@mindspring.com>
15007
15008 * gdb.cp/classes.exp: Accept more varieties of ptype output.
15009
c724d49b
MC
150102004-07-30 Michael Chastain <mec.gnu@mindspring.com>
15011
15012 * gdb.base/asm-source.exp: Properly convert target board
15013 debug flags from gcc format to binutils format.
15014
736b0fce
MK
150152004-07-28 Mark Kettenis <kettenis@gnu.org>
15016
15017 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
15018 gdb1718". PR backtrace/1718 partially fixed.
15019
5633ea5c
JJ
150202004-07-27 Jeff Johnston <jjohnstn@redhat.com>
15021
15022 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
15023
575eebb1
NC
150242004-07-26 Nick Clifton <nickc@redhat.com>
15025
15026 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
15027 good default value for a specific architecture is available then
15028 set it to that value. Otherwise default to the -gstabs switch.
15029 Remove the -g... switches from the asm-flags variable. Allow the
15030 target board info to override the value if it wants to. Pass the
15031 switch on the assembler command line.
15032
62104619
MK
150332004-07-23 Mark Kettenis <kettenis@gnu.org>
15034
15035 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
15036 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
15037 (main): Call new function.
15038
4a1135b8
MC
150392004-07-22 Michael Chastain <mec.gnu@mindspring.com>
15040
15041 Test for PR exp/1715.
15042 * gdb.base/radix.exp: Refactor common procedures. Make all
15043 test names unique. Change XFAIL to KFAIL.
15044
8a12c1f0
MC
150452004-07-20 Michael Chastain <mec.gnu@mindspring.com>
15046
15047 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
15048 * gdb.ada/gnat_ada.gin: ... to here.
15049 * configure.in: Use gnat_ada.gin.
15050 * configure: Regenerate.
15051
23b451cf
AC
150522004-07-20 Andrew Cagney <cagney@gnu.org>
15053
15054 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
15055 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
15056 XFAILs. Clean up test messages and comments. Check backtraces.
15057 Delete re-sync code.
15058
ab618a02
MC
150592004-07-19 Michael Chastain <mec.gnu@mindspring.com>
15060
15061 Fix PR cli/740.
15062 * gdb.base/annota1.exp: Honor gdb,nosignals.
15063 * gdb.base/annota3.exp: Likewise.
15064
46dad340
MC
150652004-07-19 Michael Chastain <mec.gnu@mindspring.com>
15066
15067 * lib/java.exp: Update copyright notice.
15068
756d8c70
AC
150692004-07-19 Andrew Cagney <cagney@gnu.org>
15070
15071 * gdb.base/selftest.exp: Copy file from here ...
15072 * gdb.gdb/selftest.exp: ... to here.
15073
586027e6
AC
150742004-07-16 Andrew Cagney <cagney@redhat.com>
15075
15076 * lib/insight-support.exp: Delete file.
15077 * lib/java.exp (java_init): Fix copyright.
15078
029d2200
AC
150792004-07-16 Andrew Cagney <cagney@gnu.org>
15080
15081 * gdb.base/restore.c: Append "prologue" to comments marking the a
15082 function's prologue.
15083 * gdb.base/restore.exp: Update copyright, re-indent.
15084 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
15085 callerN" prefix where needed. Update patterns that match a
15086 function's prologue.
15087
653b62c5
MC
150882004-07-16 Michael Chastain <mec.gnu@mindspring.com>
15089
15090 * gdb.base/restore.c: Add copyright notice.
15091
f7d690e5
AC
150922004-07-16 Andrew Cagney <cagney@gnu.org>
15093
15094 * gdb.base/logical.exp: Update copyright.
15095 (evaluate): New procedure. Use to re-implement tests using
15096 several tables.
15097
d629a7cb
MH
150982004-07-14 Martin Hunt <hunt@redhat.com>
15099
15100 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
15101 which fixes some problems where init.tcl was not found.
15102
9c7bb332
AC
151032004-07-13 Andrew Cagney <cagney@gnu.org>
15104
6bf46641
AC
15105 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
15106 (check_sizeof, check_valueof): Do not include the output in the
15107 test name. Use gdb_test.
15108 (get_valueof): Use gdb_test_multiple.
15109
c4ffd4c0
AC
15110 * gdb.base/step-test.exp: Update copyright. Use
15111 gdb_test_multiple. Ensure that test names do not include
15112 architecture dependent output.
15113
ab89363a
AC
15114 * gdb.gdb/observer.exp: Update copyright.
15115 (setup_test): Use gdb_test_multiple.
15116 (attach_first_observer, attach_second_observer)
15117 (attach_third_observer, detach_first_observer)
15118 (detach_second_observer, detach_third_observer)
15119 (reset_counters, check_counters): Make $message a prefix.
15120 (test_normal_stop_notifications): Add "args" parameter - a list of
15121 init functions to be called. Make $message a prefix,
15122 (test_observer_normal_stop): Change the message prefixes so that
15123 they are unique, pass the attach / detach procedures to
15124 test_normal_stop_notifications.
15125
ec58997a
AC
15126 * gdb.base/signull.exp (test_segv): Prefix all tests with
15127 "${name}". Clean up test messages.
15128
b475183b
AC
15129 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
15130
9c7bb332
AC
15131 * gdb.base/ena-dis-br.exp: Update copyright.
15132 (break_at): New function. Replace send_gdb with gdb_test,
15133 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
15134 ignore count, not stopped at bpt", with KFAIL.
15135
2dd95497
CV
151362004-07-13 Corinna Vinschen <vinschen@redhat.com>
15137
15138 * gdb.base/attach.exp: Remove cleanupfile handling.
15139
419e626b
AC
151402004-07-12 Andrew Cagney <cagney@gnu.org>
15141
15142 * gdb.base/annota1.exp: Cleanup corefile test name.
15143 * gdb.base/annota3.exp: Ditto.
15144
8b1b3228
AC
151452004-07-12 Andrew Cagney <cagney@gnu.org>
15146
78650829
AC
15147 * gdb.base/signals.exp: Clean up copyright, re-indent.
15148
8b1b3228
AC
15149 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
15150 gdb_test and gdb_test_multiple.
15151
935c2760
JJ
151522004-07-08 Jeff Johnston <jjohnstn@redhat.com>
15153
15154 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 15155 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
15156 provide line number info for first statement in main.
15157
1544280f
AC
151582004-07-08 Andrew Cagney <cagney@gnu.org>
15159
1279f4ff
AC
15160 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
15161
1544280f
AC
15162 * gdb.base/sigbpt.exp: Make the common part of each test name a
15163 prefix instead of suffix.
15164
bcc82369
BR
151652004-07-07 Bob Rossi <bob_rossi@cox.net>
15166
15167 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
15168 test from test_tbreak_creation_and_listing to
15169 test_file_list_exec_source_file
15170 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
15171 Changed name of test from test_tbreak_creation_and_listing to
15172 test_file_list_exec_source_file
15173
23f4b0aa
JJ
151742004-07-07 Jeff Johnston <jjohnstn@redhat.com>
15175
15176 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
15177 the jmisc() constructor instead of <init>.
15178 * gdb.java/jmisc1.exp: Ditto.
15179
56401cd5
AC
151802004-07-07 Andrew Cagney <cagney@gnu.org>
15181
15182 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
15183 corrupting the PC.
15184
44ae2f6a
MC
151852004-07-06 Michael Chastain <mec.gnu@mindspring.com>
15186
15187 * gdb.cp/templates.exp: Accept whitespace change in demangler
15188 output.
15189
45a83408
AC
151902004-07-06 Andrew Cagney <cagney@gnu.org>
15191
15192 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
15193
d205ad70
MC
151942004-07-02 Michael Chastain <mec.gnu@mindspring.com>
15195
15196 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
15197 * lib/compiler.cc: Likewise.
15198
06ea1a61
MC
151992004-06-30 Michael Chastain <mec.gnu@mindspring.com>
15200
15201 * lib/compiler.cc: Work around string preprocessing problem
15202 with old hp c++ compiler.
15203 * lib/compiler.c: Likewise.
15204
daab1251
CV
152052004-06-29 Corinna Vinschen <vinschen@redhat.com>
15206
15207 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
15208 directives to conditionalize symbol prefixing.
15209 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
15210 additional_flags handling. Add underscore prefix for Cygwin.
15211 * gdb.arch/i386-unwind.c: Use preprocessor directives to
15212 conditionalize symbol prefixing.
15213 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
15214 additional_flags handling. Add underscore prefix for Cygwin.
15215
cc984116
CV
152162004-06-29 Corinna Vinschen <vinschen@redhat.com>
15217
15218 * gdb.base/bigcore.exp: Skip test on Cygwin.
15219
c279b077
MC
152202004-06-28 Michael Chastain <mec.gnu@mindspring.com>
15221
15222 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
15223 formats for "info register". Use gdb_test_multiple. Fix
15224 the "invalid register" test.
15225
0e915747
CV
152262004-06-28 Corinna Vinschen <vinschen@redhat.com>
15227
15228 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
15229 PID for Cygwin. Add Cygwin specific strings to check for in some
15230 tests.
15231 (do_attach_tests): Add a test for user interaction when attaching
15232 to a process with no matching symbol table already loaded.
15233
11422c86
AC
152342004-06-26 Andrew Cagney <cagney@gnu.org>
15235
15236 Test PR java/1567 and PR java/1565.
15237 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
15238 * gdb.java/jmisc2.exp: Delete file.
15239
cefbce26
MC
152402004-06-26 Michael Chastain <mec.gnu@mindspring.com>
15241
15242 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
15243
e19f872c
CV
152442004-06-25 Corinna Vinschen <vinschen@redhat.com>
15245
15246 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
15247 attach process.
15248
d931ba3b
MC
152492004-06-23 Michael Chastain <mec.gnu@mindspring.com>
15250
15251 * gdb.cp/pr-1553.exp: Remove.
15252
aef68c48
MC
152532004-06-22 Michael Chastain <mec.gnu@mindspring.com>
15254
15255 * gdb.cp/pr-1553.cc: Remove.
15256 * gdb.cp/pr-1553.exp: Disable this test.
15257
8d5df71a
JB
152582004-06-20 Jim Blandy <jimb@redhat.com>
15259
a9c64011 15260 Fix PR testsuite/1680.
8d5df71a
JB
15261 * gdb.arch/i386-sse.exp: Properly quote curly braces in
15262 regular expressions.
15263
4ac6f39d
MC
152642004-06-19 Michael Chastain <mec.gnu@mindspring.com>
15265
15266 Fix PR testsuite/1679.
15267 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
15268 Issue an UNSUPPORTED result instead.
15269
1b413552
JB
152702004-06-18 Jim Blandy <jimb@redhat.com>
15271
15272 * gdb.base/charset.exp: Only send a control-C if we see a new
15273 prompt and incomplete command.
15274
6daa6ebd
MC
152752004-06-18 Michael Chastain <mec.gnu@mindspring.com>
15276
15277 * gdb.cp/pr-574.cc: Add copyright notice.
15278
51fa4ae0
JB
152792004-06-17 Jim Blandy <jimb@redhat.com>
15280
15281 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
15282 cases where the regexp has no groups; this grabs random text from
15283 the previous test suite, whatever that was.
15284
8fea26c5
MC
152852004-06-17 Michael Chastain <mec.gnu@mindspring.com>
15286
15287 * gdb.cp/printmethod.cc: Add copyright notice.
15288
1e3aeb41
MC
152892004-06-16 Michael Chastain <mec.gnu@mindspring.com>
15290
15291 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
15292
9d9030bc
AC
152932004-06-16 Andrew Cagney <cagney@gnu.org>
15294
15295 * gdb.base/signull.c: Update copyright. Include <string.h>.
15296 (bowler): Replace data_pointer with data_read
15297 and data_write cases. Add code_descriptor case.
15298 (zero, desc): New array and pointer.
15299 (data, code): Change to simple pointers.
15300 * gdb.base/signull.exp: Fix probe pattern matching a function
15301 descriptor SIGSEGV. Replace data_pointer with data_read and
15302 data_write tests.
15303
acd4ad44
AC
153042004-06-16 Andrew Cagney <cagney@gnu.org>
15305
15306 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
15307
08fd625c
MC
153082004-06-15 Michael Chastain <mec.gnu@mindspring.com>
15309
15310 * gdb.base/long_long.c: Add copyright notice.
15311
1903502c
MC
153122004-06-15 Michael Chastain <mec.gnu@mindspring.com>
15313
15314 * gdb.base/long_long.exp: Remove reference to
15315 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
15316 to gdb_breakpoint and gdb_continue_to_breakpoint.
15317
83313cb1
JB
153182004-06-14 Jim Blandy <jimb@redhat.com>
15319
15320 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
15321 endian case.
15322
1bf404ef
AC
153232004-06-14 Andrew Cagney <cagney@gnu.org>
15324
15325 * gdb.base/gcore.exp (capture_command_output): Delete the always
15326 passing tests containing inferior values.
15327 * gdb.base/ending-run.exp: Do not include the breakpoint address
15328 in the test message. Update copyright.
15329 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
15330 size in the test name, use gdb_test_multiple. Update copyright.
15331
ef220b33
MC
153322004-06-14 Michael Chastain <mec.gnu@mindspring.com>
15333
15334 * gdb.cp/ref-types.cc: Add copyright notice.
15335
4f70a4c9
MC
153362004-06-14 Michael Chastain <mec.gnu@mindspring.com>
15337
15338 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
15339 hp_aCC_compiler.
15340 * lib/compiler.cc: Likewise.
15341 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
15342 'set' commands. Log diagnostics for other lines. Set
15343 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
15344
335928ac
MC
153452004-06-13 Michael Chastain <mec.gnu@mindspring.com>
15346
15347 * gdb.cp/try_catch.cc: Add copyright notice.
15348
2efb12e8
MC
153492004-06-12 Michael Chastain <mec.gnu@mindspring.com>
15350
15351 * gdb.cp/userdef.cc: Add copyright notice.
15352
0bbed51a
MC
153532004-06-11 Michael Chastain <mec.gnu@mindspring.com>
15354
15355 * gdb.cp/virtfunc.cc: Add copyright notice.
15356
e12a46c9
RC
153572004-06-11 Randolph Chung <tausq@debian.org>
15358
15359 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
15360 problem.
15361
338e05af
AC
153622004-06-10 Andrew Cagney <cagney@gnu.org>
15363
15364 * lib/compiler.cc, lib/compiler.c: Append either
15365 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
15366 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
15367 instead of gcc-3-3.
15368
dc3f10cb
AC
153692004-06-09 Andrew Cagney <cagney@gnu.org>
15370
b4d946af
AC
15371 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
15372 gdb/1455, bug is specific to "long long" and "double".
a9c64011 15373
dc3f10cb
AC
15374 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
15375 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
15376 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
15377 fixed.
15378
b5c0bfa2
AC
153792004-06-09 Andrew Cagney <cagney@gnu.org>
15380
15381 * gdb.base/structs.exp (test_struct_returns): Replace
15382 "return_value_unknown" and "finish_value_unknown" by
15383 "return_value_known" and "finish_value_known". Instead of
15384 "return_value_unknown" iff "finish_value_unknown", check
15385 "return_value_known" implies "finish_value_known".
15386
caeb605f
MH
153872004-06-08 Martin Hunt <hunt@redhat.com>
15388
15389 * gdb.base/float.exp: Add pattern for mips targets.
15390
c892bb64
RC
153912004-06-08 Randolph Chung <tausq@debian.org>
15392
15393 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
15394 message for unknown architectures more clear.
15395
48306d3e
JB
153962004-06-08 Joel Brobecker <brobecker@gnat.com>
15397
15398 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
15399 start the execution of the program.
15400
83ecb59f
JB
154012004-06-07 Jim Blandy <jimb@redhat.com>
15402
15403 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
15404 * gdb.arch/i386-cpuid.h: New helper file.
15405
55264cb4
RC
154062004-06-07 Randolph Chung <tausq@debian.org>
15407
15408 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
15409 has started.
15410
23cadb28
RM
154112004-06-04 Roland McGrath <roland@redhat.com>
15412
15413 Fix PR gdb/1647.
15414 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
15415 differently to be robust to output buffering differences.
15416
51d01eda
MC
154172004-06-04 Michael Chastain <mec.gnu@mindspring.com>
15418
15419 * gdb.threads/pthreads.exp: Update copyright years.
15420 (check_control_c): Change asynchronous 'after' to synchronous.
15421
f4fc3b93
RM
154222004-06-04 Roland McGrath <roland@redhat.com>
15423
15424 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
15425 next gdb prompt.
15426
4013522b
MC
154272004-06-02 Michael Chastain <mec.gnu@mindspring.com>
15428
15429 Fix PR gdb/1636.
15430 * gdb.threads/manythreads.exp: Change asynchronous 'after'
15431 calls to synchronous.
15432
7a8f1e6b
JB
154332004-05-26 Jim Blandy <jimb@redhat.com>
15434
15435 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
15436
81bb3443
RC
154372004-05-24 Randolph Chung <tausq@debian.org>
15438
15439 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
15440 * gdb.asm/pa.inc: New file.
15441
8f5a3103
MK
154422004-05-22 Mark Kettenis <kettenis@gnu.org>
15443
15444 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
15445
734b8fe8 154462004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 15447 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
15448
15449 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
15450 GDB prompt.
15451
725603e1
UW
154522004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15453
f4fc3b93 15454 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
15455 setjmp/longjmp. Use sigaction instead of signal.
15456
8b923272 154572004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 15458 Michael Snyder <msnyder@redhat.com>
8b923272
JB
15459
15460 * gdb.threads/pthread_cond_wait.c: New file.
15461 * gdb.threads/pthread_cond_wait.exp: New testcase.
15462
8bfabb04
AC
154632004-05-13 Andrew Cagney <cagney@redhat.com>
15464
15465 * gdb.base/signull.exp, gdb.base/signull.c: New files.
15466 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
15467
42edda50
AC
154682004-05-11 Andrew Cagney <cagney@redhat.com>
15469
15470 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
15471 fixed but revealed gdb/1639.
15472
d303a6c7
AC
154732004-05-10 Andrew Cagney <cagney@redhat.com>
15474
15475 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
15476 func1" and "next to 2nd alarm", kernel bug avoided.
15477
bf08c2a1
DJ
154782004-05-10 Daniel Jacobowitz <dan@debian.org>
15479
15480 PR external/1568
15481 * gdb.base/bigcore.exp: Check the size of the dumped core file.
15482 XFAIL if it is smaller than bytes_allocated.
15483 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
15484 (main): Make chunks_allocated unsigned. Correct comment.
15485
c0586a34
JB
154862004-05-07 Joel Brobecker <brobecker@gnat.com>
15487
15488 * gdb.arch/powerpc-aix-prologue.c: New file.
15489 * gdb.arch/powerpc-aix-prologue.exp: New file.
15490
f2785d12
JB
154912004-05-07 Jim Blandy <jimb@redhat.com>
15492
15493 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
15494 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
15495
bd7f6e30
JB
154962004-05-06 Joel Brobecker <brobecker@gnat.com>
15497
15498 * gdb.base/sep.exp: No longer setup_kfail when the program was
15499 built with dwarf2.
15500
0a5e7efe
JI
155012004-05-05 Jim Ingham <jingham@apple.com>
15502
15503 * gdb.base/pending.exp: Make sure pending breakpoints
15504 preserve the ignore count.
f4fc3b93 15505
a8958849
MK
155062004-04-27 Jerome Guitton <guitton@gnat.com>
15507
15508 * i386-prologue.exp: Add testcase for jump instruction as first
15509 instruction of the real code.
15510 * i386-prologue.c (jump_at_beginning): New function.
15511
7e103f5b
MK
155122004-04-28 Mark Kettenis <kettenis@gnu.org>
15513
15514 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
15515 x86_64-*-*.
15516
5d38b224
MK
155172004-04-28 Mark Kettenis <kettenis@gnu.org>
15518
15519 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
15520 i*86-*-*.
15521
0ef32fd9
MK
155222004-04-25 Mark Kettenis <kettenis@gnu.org>
15523
15524 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
15525 expression that checks the return type.
15526
71d7dd7c
AC
155272004-04-23 Andrew Cagney <cagney@redhat.com>
15528
15529 * gdb.base/call-sc.exp: New test of scalar call/return values.
15530 * gdb.base/call-sc.c: Ditto.
15531
1e9f977e
JJ
155322004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15533
15534 * gdb.threads/manythreads.c: Reduce thread stack size.
15535
899d9e3a
JJ
155362004-04-23 Jeff Johnston <jjohnstn@redhat.com>
15537
15538 * gdb.threads/manythreads.c: Add copyright notice.
15539
61bcae62
AC
155402004-04-23 Andrew Cagney <cagney@redhat.com>
15541
15542 * gdb.base/siginfo.exp: Better handle step out of signal.
15543 * gdb.base/sigstep.exp: Ditto.
15544
7339a42e 155452004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 15546 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
15547
15548 * gdb.threads/manythreads.c: New testcase.
15549 * gdb.threads/manythreads.exp: Ditto.
15550
5c98409b
JB
155512004-04-22 Jim Blandy <jimb@redhat.com>
15552
15553 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
15554 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
15555
3b611f1a
MC
155562004-04-21 Michael Chastain <mec.gnu@mindspring.com>
15557
15558 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
15559
f0fd9238
AC
155602004-04-21 Andrew Cagney <cagney@redhat.com>
15561
15562 * gdb.base/sigstep.c: New file.
15563 * gdb.base/sigstep.exp: New file.
15564
90990674
JB
155652004-04-16 Joel Brobecker <brobecker@gnat.com>
15566
15567 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
15568 call to observer_notify_normal_stop.
15569
78cef34b
AC
155702004-04-15 Andrew Cagney <cagney@redhat.com>
15571
15572 * gdb.base/siginfo.c: New file.
15573 * gdb.base/siginfo.exp: New file.
15574
d2343407
JB
155752004-04-12 J. Brobecker <brobecker@gnat.com>
15576
15577 * gdb.base/sep.exp: Fix typo in comment.
15578
a2dba3c8
JB
155792004-04-12 J. Brobecker <brobecker@gnat.com>
15580
15581 * gdb.base/sep.c: New file.
15582 * gdb.base/sep-proc.c: New file.
15583 * gdb.base/sep.exp: New testcase.
15584
15f7b60e
MK
155852004-04-09 Mark Kettenis <kettenis@gnu.org>
15586
15587 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
15588 support.
15589
44f4de1a
AC
155902004-04-05 Andrew Cagney <cagney@redhat.com>
15591
15592 * gdb.base/sigaltstack.c: New file.
15593 * gdb.base/sigaltstack.exp: New file.
15594
ef04f396
JB
155952004-04-04 Joel Brobecker <brobecker@gnat.com>
15596
15597 * gdb.base/foll-fork.exp: Update the expected output for
15598 "help set follow-fork-mode", to match a change that was made
15599 to the help of this variable on 2004-01-13.
15600
d40d2c92
JB
156012004-04-01 Joel Brobecker <brobecker@gnat.com>
15602
15603 * lib/ada.exp: Add copyright notice.
15604 * bar.ads: Likewise.
15605 * bar.adb: Likewise.
15606 * null_record.adb: Likewise.
15607 * null_record.exp: Likewise.
15608 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
15609
f86ef5a3
JB
156102004-04-01 Joel Brobecker <brobecker@gnat.com>
15611
15612 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
15613 * configure: Regenerate.
15614
414e70e3
JB
156152004-04-01 Joel Brobecker <brobecker@gnat.com>
15616
15617 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
15618 to build the application. Remove the message printed when in
15619 verbose mode, redundant with the UNSUPPORTED message above.
15620
f0aaee49
JB
156212004-03-31 Joel Brobecker <brobecker@gnat.com>
15622
15623 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
15624 * gdb.ada (null_record.exp): New testcase.
15625
ac81cb54
JB
156262004-03-31 Joel Brobecker <brobecker@gnat.com>
15627
15628 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
15629
854af2f7
JB
156302004-03-31 Joel Brobecker <brobecker@gnat.com>
15631
15632 * gdb.ada: New subdirectory.
15633 * gdb.ada/Makefile.in: New file.
15634 * gdb.ada/gnat_ada.gpr.in: New file.
15635
034cb681
JB
156362004-03-31 Joel Brobecker <brobecker@gnat.com>
15637
15638 * lib/ada.exp: New file.
15639
78a1a894
DJ
156402004-03-24 Daniel Jacobowitz <drow@mvista.com>
15641
15642 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
15643 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
15644
4b2b3b3e
AC
156452004-03-22 Andrew Cagney <cagney@redhat.com>
15646
15647 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
15648 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
15649 Problem identified by Ulrich Weigand.
15650
23c73aa3
DC
156512004-03-17 David Carlton <carlton@kealia.com>
15652
15653 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
15654 PR c++/826.
15655
d63a86f8
RM
156562004-03-16 Roland McGrath <roland@redhat.com>
15657
15658 * gdb.base/auxv.exp: New file.
15659 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
15660
0e02aa50
DC
156612004-03-12 David Carlton <carlton@kealia.com>
15662
15663 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
15664 * gdb.cp/pr-1553.cc: Ditto.
15665 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
15666 pass branch.
15667
c20b71be
MC
156682004-03-12 Michael Chastain <mec.gnu@mindspring.com>
15669
15670 * gdb.cp/templates.exp: Accept more template types.
15671
c7414a01
MC
156722004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15673
15674 From Corinna Vinschen with modifications.
15675 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
15676 local variable obj_with_enum.
15677 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
15678 results with obj_with_enum.
15679
ed69573c
MC
156802004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15681
15682 * gdb.cp/classes.cc: New file, copied from misc.cc.
15683 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
15684
28301461
MC
156852004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15686
15687 * gdb.cp/misc.cc: Add copyright notice.
15688
1198ecbe
DC
156892004-03-05 David Carlton <carlton@kealia.com>
15690
15691 * gdb.cp/rtti.exp: Add 'print *obj3' test.
15692 * gdb.cp/rtti.h: Update copyright.
15693 (namespace n2::n3): New.
15694 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
15695 (n2::n3::func3): New.
15696 (main): Call n2::n3::func3.
15697 * gdb.cp/rtti2.cc: Update copyright.
15698 (n2::create3): New.
15699
9e08c470
MK
157002004-03-04 Mark Kettenis <kettenis@gnu.org>
15701
15702 * gdb.asm/openbsd.inc: Fix typo.
15703
4bebc3aa
FF
157042004-03-03 Fred Fish <fnf@redhat.com>
15705
15706 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
15707 "val" instead of unused "size". Update copyright year.
15708
6ea9fb37
DJ
157092004-02-29 Daniel Jacobowitz <drow@mvista.com>
15710
15711 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
15712 to use unsigned char.
15713 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
15714 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
15715
23b23974
DJ
157162004-02-29 Daniel Jacobowitz <drow@mvista.com>
15717
15718 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
15719 line of output.
15720
7574fd53
DJ
157212004-02-28 Daniel Jacobowitz <drow@mvista.com>
15722
15723 * gdb.base/relocate.c (dummy): Initialize.
15724
a195357f
DJ
157252004-02-28 Daniel Jacobowitz <drow@mvista.com>
15726
15727 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
15728 a breakpoint at exit.
15729
72fd54a9
FF
157302004-02-27 Fred Fish <fnf@redhat.com>
15731
15732 * gdb.base/chng-syms.exp: Add expect condition to match failing
15733 case that isn't a timeout.
15734
b9d23137
AC
157352004-02-27 Andrew Cagney <cagney@redhat.com>
15736
15737 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
15738 support.
15739
15d208f6 157402004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 15741
15d208f6
FF
15742 * gdb.arch/gdb1431.c: Remove.
15743 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
15744 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
15745 of "until" incorrectly.
15746
98f9cd2d
JB
157472004-02-26 J. Brobecker <brobecker@gnat.com>
15748
15749 * gdb.cp/class2.cc (empty): New class.
15750 (refer): New function.
15751 (main): Declare an object of type empty and use it.
15752 * gdb.cp/class2.exp: Print the value of an object of type empty.
15753
9b50c11b
JJ
157542004-02-26 Jeff Johnston <jjohnstn@redhat.com>
15755
15756 * gdb.base/langs.exp: Update query string to match the
15757 new nquery format used for pending breakpoints.
15758
0dcd613f
AC
157592004-02-26 Andrew Cagney <cagney@redhat.com>
15760
15761 Fix PR i18n/1570.
15762 * gdb.base/charset.c: Update copyright notice.
15763 (main, init_string): Remove the escape character '\e' tests.
15764 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
15765 * gdb.base/charset.exp (valid_host_charset): Ditto.
15766 * gdb.base/setvar.exp: Ditto.
15767
b8a56647
AC
157682004-02-24 Andrew Cagney <cagney@redhat.com>
15769
90d59e34
AC
15770 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
15771 mmapped data in core file" PASS and FAIL messages consistent.
15772
b8a56647
AC
15773 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
15774 setting a breakpoint. Work around PR java/1565.
15775
9f27c604
JJ
157762004-02-23 Jeff Johnston <jjohnstn@redhat.com>
15777
15778 * lib/gdb.exp (gdb_breakpoint): Update query string to match
15779 new nquery format.
15780 * gdb.base/pending.exp: Ditto.
15781
3224a706
MK
157822004-02-22 Mark Kettenis <kettenis@gnu.org>
15783
15784 * configure.in: Run stabs tests on *BSD.
15785 * configure: Regenerated.
15786
41e0a9ca
MK
157872004-02-21 Mark Kettenis <kettenis@gnu.org>
15788
15789 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
15790
1e1b3428
FF
157912004-02-20 Fred Fish <fnf@redhat.com>
15792
15793 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
15794 blank in test for "returns short", for consistency with other
15795 "returns xxx" tests. Update copyright year.
15796
f9a7572a
FF
157972004-02-19 Fred Fish <fnf@redhat.com>
15798
15799 New testcase for PR breakpoint/1558.
15800 * gdb.arch/gdb1558.exp: New file.
15801 * gdb.arch/gdb1558.c: New file.
15802
b2ce2854
EZ
158032004-02-19 Elena Zannoni <ezannoni@redhat.com>
15804
15805 * gdb.base/nodebug.exp: Fix typo.
15806
e7c9ff01
JB
158072004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15808
15809 Committed by Jim Blandy <jimb@redhat.com>.
15810
62f4b920
JB
15811 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
15812
2db536a1
JB
15813 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
15814
e7c9ff01
JB
15815 * gdb.base/float.exp: Support s390*-*-* targets.
15816
f3205b34
AF
158172004-02-17 Adam Fedor <fedor@gnu.org>
15818
15819 * gdb.base/gdb1555.exp: New file.
15820 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
15821
9d62932d
EZ
158222004-02-17 Elena Zannoni <ezannoni@redhat.com>
15823
15824 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
15825
344c9711
FF
158262004-02-16 Fred Fish <fnf@redhat.com>
15827
15828 * gdb.arch/gdb1291.c: Remove
15829 * gdb.arch/gdb1291.s: New test input file.
15830 * gdb.arch/gdb1291.exp: Expand test to check case that should not
15831 fail. Test for correct result, known incorrect result, other
15832 failures and timeouts.
15833
2d822687
AC
158342004-02-16 Andrew Cagney <cagney@redhat.com>
15835
15836 * gdb.base/bigcore.exp: New file.
15837 * gdb.base/bigcore.c: New file.
15838
dac15b66
AC
158392004-02-13 Andrew Cagney <cagney@redhat.com>
15840
15841 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
15842 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
15843 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
15844 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
15845 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
15846 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
15847 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
15848 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
15849 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
15850 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
15851
6bdfc2c4
JJ
158522004-02-11 Jeff Johnston <jjohnstn@redhat.com>
15853
15854 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
15855 executed is an alloc instruction.
15856
87b3ede8
DC
158572004-02-11 David Carlton <carlton@kealia.com>
15858
15859 * gdb.cp/breakpoint.exp: New.
15860 * gdb.cp/breakpoint.cc: New.
15861
6e19e2bf
MC
158622004-02-11 Michael Chastain <mec.gnu@mindspring.com>
15863
15864 Partial fix for PR gdb/1543.
15865 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
15866 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
15867 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
15868 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
15869 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
15870 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
15871 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
15872 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
15873 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
15874 to bug-gdb@prep.ai.mit.edu .
15875 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
15876 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
15877 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
15878 Likewise.
15879
5c5455dc
AC
158802004-02-10 Andrew Cagney <cagney@redhat.com>
15881
15882 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
15883 using gdb_internal_error_resync.
15884
9cf689d7
DJ
158852004-02-09 Daniel Jacobowitz <drow@mvista.com>
15886
15887 * gdb.threads/thread-specific.exp: Stop early if no threads are
15888 found.
15889
d2dc51db
MC
158902004-02-09 Michael Chastain <mec.gnu@mindspring.com>
15891
15892 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
15893
14b1a056
DJ
158942004-02-08 Daniel Jacobowitz <drow@mvista.com>
15895
15896 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
15897 breakpoints.
15898
83f66e8f
DJ
158992004-02-07 Daniel Jacobowitz <drow@mvista.com>
15900
15901 * config/sim.exp (gdb_load): Handle $arg == "".
15902 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
15903 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
15904
30fc0091
EZ
159052004-02-07 Elena Zannoni <ezannoni@redhat.com>
15906
a9c64011
AS
15907 * gdb.base/maint.exp: Update test to reflect
15908 obstack changes.
30fc0091 15909
4d806929
JJ
159102004-02-04 Jeff Johnston <jjohnstn@redhat.com>
15911
15912 * gdb.base/pendshr.c (pendfunc): New function that calls
15913 pendfunc1.
15914 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
15915
7bfdd688
FF
159162004-02-04 Fred Fish <fnf@redhat.com>
15917
15918 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
15919 function symbols and update copyright years.
15920 * gdb.arch/gdb1291.c: Ditto.
15921
aaa08ee4
MC
159222004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15923
15924 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
15925
dbad7755
MC
159262004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15927
15928 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
15929
ec4646ef
MC
159302004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15931
15932 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
15933
1b802196
FF
159342004-02-02 Fred Fish <fnf@redhat.com>
15935
15936 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
15937 remote targets. Update copyright years.
15938
18fe2033
JJ
159392004-02-02 Jeff Johnston <jjohnstn@redhat.com>
15940
15941 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
15942 support.
15943 * gdb.base/langs.exp: Fix test which attempts to create
15944 breakpoint on non-existent function to handle new pending
15945 support.
15946 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
15947 a breakpoint.
15948 * gdb.base/pending.exp: New test.
15949 * gdb.base/pending.c: New file.
15950 * gdb.base/pendshr.c: Ditto.
15951
8d577d32
DC
159522004-02-02 David Carlton <carlton@kealia.com>
15953
15954 * gdb.cp/overload.exp: Add overloadNamespace tests.
15955 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
15956 (overloadNamespace, XXX): New.
15957 (main): Call XXX::marker2.
15958
3ad13771
FF
159592004-02-01 Fred Fish <fnf@redhat.com>
15960
15961 * gdb.base/dump.exp: Use runto_main instead of "runto main".
15962 * gdb.base/finish.exp: Ditto.
15963 * gdb.base/gcore.exp: Ditto.
15964 * gdb.base/huge.exp: Ditto.
15965 * gdb.base/info-proc.exp: Ditto.
15966 * gdb.base/return2.exp: Ditto.
15967 * gdb.threads/gcore-thread.exp: Ditto.
15968
44c75849
DJ
159692004-02-01 Daniel Jacobowitz <drow@mvista.com>
15970
15971 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
15972
005bc093
MK
159732004-02-01 Mark Kettenis <kettenis@gnu.org>
15974
15975 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
15976 that opening the file succeeds on OpenBSD.
15977
c47cebdb
DJ
159782004-02-01 Daniel Jacobowitz <drow@mvista.com>
15979
15980 * gdb.threads/thread-specific.c: New file.
15981 * gdb.threads/threads-specific.exp: New test script.
15982 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
15983 to expect_out.
15984
5a01311c
MK
159852004-02-01 Mark Kettenis <kettenis@gnu.org>
15986
15987 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
15988 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
15989 only on the "print_small_structs from print_long_arg_list" test.
15990
ce22a4f1
DJ
159912004-02-01 Daniel Jacobowitz <drow@mvista.com>
15992
15993 * gdb.base/completion.exp: Kill a stray backslash.
15994
15995 From Jim Ingham <jingham@apple.com>:
15996 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
15997 agrees with the result from sending a tab.
15998
abbab9d3
DJ
159992004-01-31 Daniel Jacobowitz <drow@mvista.com>
16000
16001 * gdb.base/chng-syms.exp: Remove stray newline.
16002
53904d1e
MK
160032004-01-31 Mark Kettenis <kettenis@gnu.org>
16004
16005 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
16006 *-*-openbsd*.
16007 * gdb.asm/openbsd.inc: New file.
16008
3a4b3aac
MK
160092004-01-30 Mark Kettenis <kettenis@gnu.org>
16010
16011 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
16012 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
16013 *-*solaris2*. Remove commented out default settings for
16014 asm-flags. Replace gdb_compile with target_link.
16015
ebac27b4
MC
160162004-01-29 Michael Chastain <mec.gnu@mindspring.com>
16017
16018 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
16019 for all tests. Remove old hp-ux and cygnus xfail cases.
16020
d8679d84
PH
160212004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
16022
16023 * gdb.base/chng-syms.exp: New file.
16024 * gdb.base/chng-syms.c: New file.
16025
0a55bc22
MC
160262004-01-24 Michael Chastain <mec.gnu@mindspring.com>
16027
16028 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
16029 Provide arms for current output in all my configurations.
16030
94b8e876
MC
160312004-01-24 Michael Chastain <mec.gnu@mindspring.com>
16032
16033 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
16034 * lib/compiler.cc: Likewise.
16035 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
16036 get the right preprocessor. Eval the output directly. Remove
16037 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
16038 hp_f77_compiler and hp_f90_compiler completely.
16039 (gdb_preprocess): Delete.
16040 (get_compiler): Delete.
16041
7cf03d44
MK
160422004-01-24 Mark Kettenis <kettenis@gnu.org>
16043
16044 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
16045 <string.h>.
16046
68b6dce9
NR
160472004-01-24 Nick Roberts <nick@nick.uklinux.net>
16048
16049 * gdb.mi/mi-stack.exp: Update copyright.
16050
b368761e
DC
160512004-01-23 David Carlton <carlton@kealia.com>
16052
16053 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
16054 test for cp_lookup_transparent_type.
16055 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
16056 call them.
16057
f2061b53
DJ
160582004-01-23 Daniel Jacobowitz <drow@mvista.com>
16059
16060 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
16061 after -var-update.
16062
37fc574a
DC
160632004-01-23 David Carlton <carlton@kealia.com>
16064
16065 * gdb.cp/namespace.cc (C::ensureRefs): New.
16066 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
16067
8e94b928
NR
160682004-01-20 Nick Roberts <nick@nick.uklinux.net>
16069
16070 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
16071 case "-stack-list-locals 2".
16072 * gdb.mi/mi-var-child.exp: Test for case
16073 "-var-list-children --all-values NAME".
16074
997b0952
MC
160752004-01-18 Michael Chastain <mec.gnu@mindspring.com>
16076
16077 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
16078
52470da3
MK
160792004-01-18 Mark Kettenis <kettenis@gnu.org>
16080
7049b4b8
MK
16081 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
16082 used with gdb_test_multiple.
16083
52470da3
MK
16084 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
16085 read at address 0. This fixes PR testsuite/1504.
16086
da6012e5
DJ
160872004-01-18 Daniel Jacobowitz <drow@mvista.com>
16088
16089 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
16090 Remove downloading, guessing the host executable, the calls to
16091 gdb_file_cmd and gdb_target_cmd, and "load" support.
16092 (infer_host_exec): New function broken out from gdb_load.
16093 (gdb_load): New wrapper for gdbserver_gdb_load.
16094 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
16095 gdb_target_cmd. Use -target-select.
16096 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
16097 Download binaries to the host. Clear last_mi_remote_file when
16098 we load a new binary.
16099 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
16100 call gdbserver_gdb_load and mi_gdb_target_cmd.
16101
32c70722
MC
161022004-01-17 Michael Chastain <mec.gnu@mindspring.com>
16103
16104 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
16105 type patterns.
16106
b0cecf36
MC
161072004-01-17 Michael Chastain <mec.gnu@mindspring.com>
16108
16109 * gdb.cp/templates.exp: Fix typo in test name of
16110 "print Foo<volatile char*>::foo".
16111
4120d7e6
MC
161122004-01-15 Michael Chastain <mec.gnu@mindspring.com>
16113
16114 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
16115
f679e530
BE
161162004-01-16 Ben Elliston <bje@wasabisystems.com>
16117
16118 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
16119 (clean mostlyclean): Remove empty rm.
16120
091c48f6
MC
161212004-01-15 Michael Chastain <mec.gnu@mindspring.com>
16122
16123 * gdb.base/setvar.exp: Add copyright years.
16124
3e5fc8d2
DC
161252004-01-14 David Carlton <carlton@bactrian.org>
16126
16127 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
16128 PR c++/1511 and update coment.
16129 * gdb.cp/templates.exp: Update patterns to match current output.
16130 If changes involve something other than whitespace, KFAIL
16131 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
16132
63d06c5c
DC
161332004-01-14 David Carlton <carlton@kealia.com>
16134
16135 * gdb.cp/namespace.exp: Add tests involving classes defined within
16136 namespaces.
16137 * gdb.cp/namespace.cc (C::CClass): New.
16138 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
16139
a51dab88
EZ
161402004-01-14 Elena Zannoni <ezannoni@redhat.com>
16141
16142 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
16143 what debug info we have. Print a better message if something goes
16144 wrong while producing the separate debug info file.
16145
a476ccc9
MC
161462004-01-14 Michael Chastain <mec.gnu@mindspring.com>
16147
16148 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
16149
f453692c
MC
161502004-01-14 Michael Chastain <mec.gnu@mindspring.com>
16151
16152 * gdb.base/callfuncs.c: Add copyright notice.
16153
f40063a5
MC
161542004-01-13 Michael Chastain <mec.gnu@mindspring.com>
16155
16156 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
16157 inheritance. PR gdb/1498, PR gcc/13539.
16158
19ac3974
EZ
161592004-01-13 Elena Zannoni <ezannoni@redhat.com>
16160
a9c64011
AS
16161 * gdb.threads/gcore-thread.exp: Prefix name of binary with
16162 test specific name.
16163 * gdb.mi/gdb669.exp: Ditto.
16164 * gdb.mi/mi-pthreads.exp: Ditto.
16165 * gdb.mi/mi1-pthreads.exp: Ditto.
16166 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 16167
56c97c6e
MC
161682004-01-12 Michael Chastain <mec.gnu@mindspring.com>
16169
16170 * gdb.cp/member-ptr.cc: Add copyright notice.
16171
a0644324
MC
161722004-01-12 Michael Chastain <mec.gnu@mindspring.com>
16173
16174 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
16175 some patterns for recent versions of gcc and hpacc. Delete
16176 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
16177 Delete tests that access a NULL pointer-to-member-data. This
16178 script is still disabled for gcc.
16179
32fabe09
EZ
161802004-01-12 Elena Zannoni <ezannoni@redhat.com>
16181
16182 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 16183 escaped correctly.
32fabe09 16184
1f8a6abb
EZ
161852004-01-12 Elena Zannoni <ezannoni@redhat.com>
16186
16187 * gdb.base/sepdebug.exp: New file.
16188 * gdb.base/sepdebug.c: New file.
16189 * lib/gdb.exp (separate_debug_filename): New procedure.
16190 (gdb_gnu_strip_debug): New procedure.
16191
48efe704
AC
161922004-01-12 Andrew Cagney <cagney@redhat.com>
16193
16194 * gdb.mi/ChangeLog: Delete file. Renamed to ...
16195 * gdb.mi/ChangeLog-1999-2003: New file.
16196
a9415475
AC
161972004-01-12 Andrew Cagney <cagney@redhat.com>
16198
16199 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
16200 "Renaming a directory to a non-empty directory returns ENOTEMPTY
16201 or EEXIST", treat EBUSY as an XFAIL.
16202
83b8cf9d
MC
162032004-01-11 Michael Chastain <mec.gnu@mindspring.com>
16204
16205 * gdb.base/scope.exp: Remove obsolete setup_xfail for
16206 hp_cc_compiler.
16207
9939d2a8
MC
162082004-01-10 Michael Chastain <mec.gnu@mindspring.com>
16209
16210 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
16211 decorations.
16212
1ff8cadf
MC
162132004-01-10 Michael Chastain <mec.gnu@mindspring.com>
16214
16215 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
16216 and "(aCC)" decorations. Remove obsolete doco about old
16217 test results.
16218
6fa9022e
MC
162192004-01-09 Michael Chastain <mec.gnu@mindspring.com>
16220
16221 * gdb.cp/exception.exp: Fix typo in doco.
16222
209721fe
MK
162232004-01-09 Mark Kettenis <kettenis@gnu.org>
16224
16225 * gdb.base/gdb1476.exp: Fix typo.
16226
ef11303e
MC
162272004-01-09 Michael Chastain <mec.gnu@mindspring.com>
16228
16229 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
16230 file.
16231
041ab88c
MC
162322004-01-09 Michael Chastain <mec.gnu@mindspring.com>
16233
16234 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
16235 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
16236 Use gdb_compile. Remove restriction on gcc. Add some patterns
16237 for recent version of gdb. Delete second half, which was a copy
16238 of the first half with different build flags. This test is
16239 still disabled because it is still not ready for production.
16240
e36d075a
MC
162412004-01-08 Michael Chastain <mec.gnu@mindspring.com>
16242
16243 * gdb.cp/exception.cc: Add copyright notice.
16244 * gdb.cp/exception.exp: Add a notice that this file is broken
16245 because of line number changes caused by addition of copyright
16246 notice.
16247
42b190ad
MC
162482004-01-08 Michael Chastain <mec.gnu@mindspring.com>
16249
16250 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
16251 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
16252
8f25f06b
MC
162532004-01-08 Michael Chastain <mec.gnu@mindspring.com>
16254
16255 * gdb.cp/classes.exp: Accept gnu abi 2.
16256 * gdb.cp/derivation.exp: Likewise.
16257 * gdb.cp/overload.exp: Likewise.
16258 * gdb.cp/virtfunc.exp: Likewise.
16259
06ded8b8
MC
162602004-01-08 Michael Chastain <mec.gnu@mindspring.com>
16261
16262 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
16263 semicolon after end of function.
16264
77c26ae3
MC
162652004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16266
16267 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
16268 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
16269 boilerplate code for compiling and running the program under
16270 test. Add some string method tests.
16271
20757486
MC
162722004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16273
16274 * gdb.cp/bs15503.cc: Add copyright notice.
16275 * gdb.cp/bs15503.exp: Adjust line number.
16276
0fd3b503
MC
162772004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16278
16279 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
16280 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
16281
10d1bea8
MC
162822004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16283
16284 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
16285 hp_cc_compiler.
16286
2789202a
MC
162872004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16288
16289 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
16290 * gdb.cp/ctti.exp: Use the marker instead of "next".
16291 With gcc, run further before bailing.
16292
b862f14c
MC
162932004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16294
16295 * gdb.cp/cttiadd.cc: Add copyright notice.
16296 * gdb.cp/cttiadd1.cc: Likewise.
16297 * gdb.cp/cttiadd2.cc: Likewise.
16298 * gdb.cp/cttiadd3.cc: Likewise.
16299
96da2469
MC
163002004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16301
16302 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
16303 Use gdb_test, gdb_test_multiple. Use floating-point values that
16304 have exact representations in IEEE-ish formats.
16305
053248ff
MC
163062004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16307
16308 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
16309 compilers. Delete duplicate call to get_compiler_info.
16310 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
16311 * gdb.base/volatile.exp: Likewise.
16312
84acecdd
MK
163132004-01-07 Mark Kettenis <kettenis@gnu.org>
16314
16315 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
16316 memory at address 0.
16317
fe11a27f
MC
163182004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16319
16320 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
16321 to test for hp-ux assembler. Fix copyright years.
16322
60ad077b
AC
163232004-01-07 Andrew Cagney <cagney@redhat.com>
16324
16325 * gdb.base/fileio.c (strerrno): Add "EBUSY".
16326
1c9b8f33
AC
163272004-01-07 Andrew Cagney <cagney@redhat.com>
16328
16329 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
16330 when creating the read-only file. From analysis by Roland McGrath
16331 and Elena Zannoni.
16332
753ccc7a
MC
163332004-01-06 Michael Chastain <mec.gnu@mindspring.com>
16334
16335 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
16336
eca3e36b
MC
163372004-01-06 Michael Chastain <mec.gnu@mindspring.com>
16338
16339 * gdb.base/cvexpr.c: Be type-safe with function pointers and
16340 data pointers.
16341
f8d4bac4
MC
163422004-01-06 Michael Chastain <mec.gnu@mindspring.com>
16343
16344 * gdb.cp/m-static.exp: Compile one source file at a time.
16345 Delete unused call to get_compiler_info.
16346
9b4e0f94
MC
163472004-01-06 Michael Chastain <mec.gnu@mindspring.com>
16348
16349 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
16350 * gdb.base/call-rt-st.exp: Likewise.
16351 * gdb.base/nodebug.exp: Likewise.
16352 * gdb.base/volatile.exp: Likewise.
16353 * gdb.cp/ref-types.exp: Likewise.
16354 * gdb.cp/templates.exp: Likewise.
16355
023c1024
MK
163562004-01-05 Mark Kettenis <kettenis@gnu.org>
16357
16358 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
16359
19703c4a
MC
163602004-01-05 Michael Chastain <mec.gnu@mindspring.com>
16361
16362 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
16363 hppa*-hp-hpux*.
16364
18b67037
MK
163652004-01-04 Mark Kettenis <kettenis@gnu.org>
16366
ba6219c8
MK
16367 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
16368 x86_64-*-*.
16369
18b67037
MK
16370 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
16371 sparc64-*-* and sparc*-solaris2*.
16372
1bfbbb9d
MK
163732004-01-04 Mark Kettenis <kettenis@gnu.org>
16374
16375 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
16376 return ${tests}" test. The ${tests} already mentions the
16377 filename.
16378
06846494
MC
163792004-01-02 Michael Chastain <mec.gnu@mindspring.com>
16380
16381 * gdb.cp/local.exp: Accept gcc abi 2.
16382
3b0cb202
MC
163832004-01-02 Michael Chastain <mec.gnu@mindspring.com>
16384
16385 * gdb.cp/templates.exp: Accept gcc abi 2.
16386
0643ec3f
MC
163872004-01-02 Michael Chastain <mec.gnu@mindspring.com>
16388
16389 * lib/compiler.cc: Remove supports_template_debugging.
16390 * gdb.cp/templates.exp: Do not test supports_template_debugging.
16391
d231d0b1
MC
163922004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16393
16394 * gdb.cp/namespace.exp: Accept gcc abi 2.
16395
44ffb27c
MC
163962004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16397
16398 * gdb.cp/method.exp: Accept gcc abi 2.
16399
184ad485
MC
164002004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16401
16402 * gdb.cp/classes.exp: Generate identical results as old version.
16403 * gdb.cp/derivation.exp: Likewise.
16404 * gdb.cp/overload.exp: Likewise.
16405 * gdb.cp/virtfunc.exp: Likewise.
16406
116f09e7
MC
164072004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16408
16409 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
16410 mysterious bug with sourceware version of expect.
16411
b1379776
MC
164122004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16413
16414 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
16415 current versions of gcc, including gcc abi 2. Remove gratuitous
16416 restart of test program. Use gdb_test_multiple and gdb_test for
16417 all tests. Add patterns to xfail missing "const" in "const char *"
16418 and kfail PR gdb/1155.
16419
6b7a4c0e
MC
164202004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16421
16422 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
16423 current versions of gcc, including gcc abi 2. Remove gratuitous
16424 restart of test program. Use gdb_test_multiple and gdb_test for
16425 all tests. Add patterns to kfail PR gdb/1498.
16426
51615d72
MC
164272003-12-31 Michael Chastain <mec.gnu@mindspring.com>
16428
16429 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
16430 current versions of gcc, including gcc abi 2. Use "breakpoint"
16431 and "continue" instead of restarting the target program. Use
16432 gdb_test_multiple and gdb_test for all tests.
16433
7b79a9d7
MK
164342004-01-01 Mark Kettenis <kettenis@gnu.org>
16435
16436 * gdb.asm/asm-source.exp: Update copyright year. Link statically
16437 for *-*-solaris2*.
16438
1cd3489f
MC
164392003-12-31 Michael Chastain <mec.gnu@mindspring.com>
16440
16441 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
16442 current versions of gcc, including gcc abi 2. Use "breakpoint"
16443 and "continue" instead of restarting the target program several
16444 times. Use gdb_test_multiple and gdb_test for all tests.
16445
850742db
MC
164462003-12-18 Michael Chastain <mec.gnu@mindspring.com>
16447
16448 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
16449 source files.
16450
eb4bbda8
MC
164512003-12-16 Michael Chastain <mec.gnu@mindspring.com>
16452
16453 * gdb.base/environ.exp: Handle compiling test case from multiple
16454 source files.
16455
e42c7771
MC
164562003-12-16 Michael Chastain <mec.gnu@mindspring.com>
16457
16458 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
16459
80e4b428
JB
164602003-12-17 Jim Blandy <jimb@redhat.com>
16461
5f06973a
JB
16462 * gdb.base/freebpcmd.c: Add copyright notice.
16463
80e4b428
JB
16464 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
16465
0ab84fb7
MC
164662003-12-16 Michael Chastain <mec.gnu@mindspring.com>
16467
16468 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
16469
1b3bb3d0
JB
164702003-12-13 Jim Blandy <jimb@redhat.com>
16471
16472 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
16473
3a4c9371
KB
164742003-12-12 Kevin Buettner <kevinb@redhat.com>
16475
16476 * gdb.asm/frv.inc: New file.
16477 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
16478
a1dea79a
FF
164792003-12-09 Fred Fish <fnf@redhat.com>
16480
16481 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
16482 functions to break1.c and leave prototypes behind. Add more
16483 "set breakpoint NN here" comments.
16484 * gdb.base/break1.c: New file.
16485
16486 * gdb.base/break.exp: Handle compiling test case from multiple
16487 source files and change source file references as needed.
16488 * gdb.base/completion.exp: Ditto.
16489 * gdb.base/condbreak.exp: Ditto.
16490 * gdb.base/define.exp: Ditto.
16491 * gdb.base/ena-dis-br.exp: Ditto.
16492 * gdb.base/info-proc.exp: Ditto.
16493 * gdb.base/maint.exp: Ditto.
16494 * gdb.base/until.exp: Ditto.
16495
16496 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
16497 hardcoded line numbers.
16498 * gdb.base/define.exp: Ditto.
16499 * gdb.base/ena-dis-br.exp: Ditto.
16500 * gdb.base/maint.exp: Ditto.
16501 * gdb.base/until.exp: Ditto.
16502
16503 * gdb.base/completion.exp: Use "break1" for completion tests since
16504 "break" is no longer a unique prefix.
16505
5266b69c
AC
165062003-12-06 Andrew Cagney <cagney@redhat.com>
16507
16508 * gdb.base/structs.exp (test_struct_returns): When applicable, set
16509 "return_value_unimplemented". When an unimplemented struct return
16510 architecture, report incorrect values as a KFAIL
16511
374451f0
MC
165122003-12-05 Michael Chastain <mec.gnu@mindspring.com>
16513
16514 * gdb.cp/rtti.exp: Accept new wording of warning from
16515 cp_lookup_rtti_type.
16516
ba9b20a7
MC
165172003-12-05 Michael Chastain <mec.gnu@mindspring.com>
16518
16519 Partial fix for PR testsuite/1456.
16520 * gdb.base/scope.exp (test_at_main): Replace references to
16521 gcc_compiled with calls to test_compiler_info.
16522 (test_at_foo): Likewise.
16523 (test_at_bar): Likewise.
16524
b74b6d0b
MC
165252003-12-04 Michael Chastain <mec.gnu@mindspring.com>
16526
16527 Partial fix for PR testsuite/1456.
16528 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
16529 to test_compiler_info.
16530
ccfa3402
MC
165312003-12-03 Michael Chastain <mec.gnu@mindspring.com>
16532
16533 * gdb.base/so-impl-ld.exp: Update copyright notice.
16534
f6246aba
MC
165352003-12-02 Michael Chastain <mec.gnu@mindspring.com>
16536
16537 Partial fix for PR testsuite/1456.
16538 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
16539 to test_compiler_info.
16540
13ae734a
MC
165412003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16542
16543 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
16544 from current versions of gdb. Clean up regular expressions.
16545 Delete redundant timeout case.
16546
d8e1cdee
MC
165472003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16548
16549 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
16550 from current versions of gdb. Clean up regular expressions.
16551 Delete redundant timeout case.
16552
96457b64
MC
165532003-12-01 Michael Chastain <mec.gnu@mindspring.com>
16554
16555 Partial fix for PR testsuite/1456.
16556 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
16557 gcc_compiled with call to test_compiler_info.
16558
f35309fc
MC
165592003-11-30 Michael Chastain <mec.gnu@mindspring.com>
16560
16561 Partial fix for PR testsuite/1456.
16562 * gdb.base/list.exp (test_list_function): Delete unused declaration
16563 of gcc_compiled.
16564
d7afdf9b
MC
165652003-11-29 Michael Chastain <mec.gnu@mindspring.com>
16566
16567 Partial fix for PR testsuite/1456.
16568 * gdb.base/complex.exp: Replace reference to gcc_compiled with
16569 call to test_compiler_info.
16570
71507b56
MK
165712003-11-29 Mark Kettenis <kettenis@gnu.org>
16572
16573 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
16574 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
16575 it to create the appropriate note.inc.
16576 * gdb.asm/asmsrc1.s: Include "note.inc".
16577 * gdb.asm/netbsd.inc: New file.
16578 * gdb.asm/empty.inc: New file.
16579
f81f93f7
MC
165802003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16581
16582 Partial fix for PR testsuite/1456.
16583 * gdb.base/constvars.exp: Replace references to gcc_compiled with
16584 calls to test_compiler_info.
16585
9a77938e
MC
165862003-11-27 Michael Chastain <mec.gnu@mindspring.com>
16587
16588 Partial fix for PR testsuite/1456.
16589 * gdb.base/volatile.exp: Replace references to gcc_compiled with
16590 calls to test_compiler_info.
16591
e8367dc7
MK
165922003-11-27 Mark Kettenis <kettenis@gnu.org>
16593
16594 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
16595 pattern for the KFAILs.
16596
526c61ee
AF
165972003-11-25 Adam Fedor <fedor@gnu.org>
16598
16599 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
16600 * gdb.objc/objcdecode.m: New file.
16601
28f2d600
AF
166022003-11-25 Adam Fedor <fedor@gnu.org>
16603
16604 * gdb.objc/nondebug.exp: Test for PR objc/1236.
16605 * gdb.objc/nondebug.m: New file.
16606
a3895cee
BE
166072003-11-26 Ben Elliston <bje@wasabisystems.com>
16608
16609 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16610 NetBSD as it does on FreeBSD. Modelled on a similar change by
16611 Mark Kettenis on 2003-05-30.
16612 (link-flags): Set to "--entry _start" regardless of target.
16613 Special linker flags are to be appended to $link-flags.
16614 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
16615
c9f2c8a3
MC
166162003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16617
16618 * gdb.cp/method.exp: Accept output of new demangler.
16619
15a0587a 166202003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
16621
16622 * gdb/class2.exp: New file.
16623 * gdb/class2.cc: New file.
16624
3c00b570
MC
166252003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16626
16627 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
16628 of new demangler.
16629
7027acc7
MK
166302003-11-23 Mark Kettenis <kettenis@gnu.org>
16631
16632 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
16633 of gdb_test "run".
16634
b0e1598a
MK
166352003-11-23 Mark Kettenis <kettenis@gnu.org>
16636
16637 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
16638 "continue" into "run".
16639
4d9eda44
MC
166402003-11-23 Michael Chastain <mec.gnu@mindspring.com>
16641
16642 Partial fix for PR testsuite/1456.
16643 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
16644 call to test_compiler_info.
16645 * gdb.cp/ctti.exp: Likewise.
16646 * gdb.cp/derivation.exp: Likewise.
16647 * gdb.cp/member-ptr.exp: Likewise.
16648 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
16649 reference to gcc_compiled.
16650
166512003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
16652
16653 Fix PR testsuite/1463.
16654 * gdb.base/structs.exp (start_structs_test): Call
16655 get_debug_format before using the debug format.
16656
d422fe19
AC
166572003-11-22 Andrew Cagney <cagney@redhat.com>
16658
16659 * lib/gdb.exp (gdb_test_multiple): Add simple example.
16660 * gdb.base/structs.exp: Use gdb_test_multiple.
16661
039cf96d
AC
166622003-11-20 Andrew Cagney <cagney@redhat.com>
16663
6882279b
AC
16664 * gdb.base/structs.exp: Handle and recover from internal errors.
16665 Replace "foo${n}" with "foo<n>" in test messages.
16666
e53890ae
AC
16667 * gdb.base/structs.exp: Update copyright. Rewrite.
16668 * gdb.base/structs.c: Update copyright. Rewrite.
16669
2b211c59
AC
16670 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
16671 resync count exceeded.
d63a86f8 16672
039cf96d
AC
16673 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
16674 from the internal error.
16675 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
16676 Original from Jim Blandy.
16677 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 16678
eac98b22
AC
166792003-11-19 Andrew Cagney <cagney@redhat.com>
16680
16681 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
16682 KFAIL.
16683
67455b2a
MK
166842003-11-17 Mark Kettenis <kettenis@gnu.org>
16685
16686 New testcase for PR backtrace/1435.
16687 * gdb.arch/i386-unwind.exp: New file.
16688 * gdb.arch/i386-unwind.c: New file.
16689
853d6e5b
AC
166902003-11-17 Andrew Cagney <cagney@redhat.com>
16691
16692 * lib/gdb.exp (compiler_info): New global.
16693 (test_compiler_info): New function.
16694 (get_compiler_info): Set compiler_info.
16695 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
16696 "compiler_info" to gcc-<major>-<minor>.
16697
38cf6e11
MC
166982003-11-15 Michael Chastain <mec.gnu@mindspring.com>
16699
16700 * gdb.trace/configure: Remove.
16701
a50d3602
EZ
167022003-11-13 Elena Zannoni <ezannoni@redhat.com>
16703
16704 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 16705 breakpoints.
a50d3602
EZ
16706 * gdb.base/break.exp: Remove all references to explicit line
16707 numbers.
16708
d9407aaa
NC
167092003-11-11 Nick Clifton <nickc@redhat.com>
16710
16711 * gdb.base/shreloc.exp: Do not run for targets which do not
16712 support shared objects.
16713
db488fc1
CV
167142003-11-10 Corinna Vinschen <vinschen@redhat.com>
16715
16716 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
16717 Don't run tests if nofileio flag is given.
16718
6a90a18e
EZ
167192003-11-07 Elena Zannoni <ezannoni@redhat.com>
16720
16721 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 16722 as well as 'Watchpoint'.
6a90a18e 16723
0b915e9c
EZ
167242003-11-06 Elena Zannoni <ezannoni@redhat.com>
16725
16726 Reported by Jim Ingham <jingham@apple.com>:
16727 * gdb.base/annota1.exp: Match at least one occurrence of the
16728 signal handler annotation.
16729
d7e4b55f
EZ
167302003-11-06 Elena Zannoni <ezannoni@redhat.com>
16731
a9c64011
AS
16732 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
16733 as well as 'Watchpoint'.
d7e4b55f 16734
2fe4e8d0
MC
167352003-11-05 Michael Chastain <mec@shout.net>
16736
16737 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
16738
6ef88553
KW
167392003-11-03 Kris Warkentin <kewarken@qnx.com>
16740
16741 * gdb.arch/gdb1291.c: New test file.
16742 * gdb.arch/gdb1291.exp: New test script.
16743 * gdb.arch/gdb1431.c: New test file.
16744 * gdb.arch/gdb1431.exp: New test script.
16745
ae7dc4d8
MC
167462003-10-22 Michael Chastain <mec@shout.net>
16747
16748 * gdb.mi/pthreads.c: Add copyright notice.
16749
c39d7427
MC
167502003-10-22 Michael Chastain <mec@shout.net>
16751
16752 * gdb.threads/pthreads.c: Add copyright notice.
16753
8b7d96c1
MC
167542003-10-20 Michael Chastain <mec@shout.net>
16755
16756 * gdb.base/gdb1056.exp: New test script.
16757
d1d69fdd
DJ
167582003-10-13 Daniel Jacobowitz <drow@mvista.com>
16759
16760 * gdb.threads/killed.exp: Use gdb_run_cmd.
16761
7d605576
DJ
167622003-10-13 Daniel Jacobowitz <drow@mvista.com>
16763
16764 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
16765 create a core file.
16766 * gdb.threads/gcore-thread.exp: Likewise.
16767
618ec112
CV
167682003-10-13 Corinna Vinschen <vinschen@redhat.com>
16769
16770 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
16771 type, based on char type.
16772 (struct bit_flags_short_t): New bitfield type, based on short type.
16773 (init_bit_flags_char): New fuction.
16774 (init_bit_flags_short): Ditto.
16775 (print_bit_flags_char): Ditto.
16776 (print_bit_flags_short): Ditto.
16777 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
16778
9367a73c
MC
167792003-10-11 Michael Chastain <mec@shout.net>
16780
16781 * gdb.base/call-rt-st.exp: Update copyright year.
16782
1decf120
KI
167832003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
16784
16785 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
16786 * gdb.disasm/sh3.s: Ditto.
16787
5445b2ae
DJ
167882003-10-07 Daniel Jacobowitz <drow@mvista.com>
16789
16790 * gdb.threads/switch-threads.exp: New test.
16791 * gdb.threads/switch-threads.c: New source file.
16792
aec24853
CV
167932003-10-07 Corinna Vinschen <vinschen@redhat.com>
16794
16795 * gdb.base/ending-run.exp: Add sh specific case.
16796
adc7428d
AC
167972003-10-06 Andrew Cagney <cagney@redhat.com>
16798
16799 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
16800 * gdb.disasm/mn10200.exp: Delete obsolete file.
16801
c9d37158
DJ
168022003-09-29 Daniel Jacobowitz <drow@mvista.com>
16803
16804 * ChangeLog: Correct an entry command.exp -> commands.exp.
16805 * gdb.base/commands.exp (bp_deleted_in_command_test)
16806 (temporary_breakpoint_commands): Check noargs.
16807
79c2c32d
DC
168082003-09-25 David Carlton <carlton@kealia.com>
16809
16810 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
16811 of some print tests, where appropriate. Add tests for C::D::cd,
16812 E::ce, F::cXfX, G::XgX.
16813 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
16814
594e6d67
RE
168152003-09-25 Richard Earnshaw <rearnsha@arm.com>
16816
16817 * lib/java.exp (java_init): Import target_alias before using it.
16818
10f0d451
DC
168192003-09-25 David Carlton <carlton@kealia.com>
16820
16821 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
16822
274bcba0
EZ
168232003-09-23 Elena Zannoni <ezannoni@redhat.com>
16824
d63a86f8 16825 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 16826 weirdness.
274bcba0 16827
cdbf20f7
MC
168282003-09-17 Michael Chastain <mec@shout.net>
16829
16830 * gdb.cp/gdb1355.exp: New file.
16831 * gdb.cp/gdb1355.c: New file.
16832
71e06f80
CV
168332003-09-15 Corinna Vinschen <vinschen@redhat.com>
16834
16835 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
16836 * gdb.asm/sh.inc: New file.
16837
5c4e30ca
DC
168382003-09-11 David Carlton <carlton@kealia.com>
16839
bd45b7af
DC
16840 * gdb.cp/namespace.exp: Add tests for namespace types.
16841 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
16842 (test_namespace): New.
16843
1c199746
EZ
168442003-09-11 Elena Zannoni <ezannoni@redhat.com>
16845
a9c64011 16846 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 16847 * gdb.stabs/weird.exp: Ditto.
1c199746 16848
04ed252f
MC
168492003-09-08 Michael Chastain <mec@shout.net>
16850
16851 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
16852
d8a2d9e7
MC
168532003-09-07 Michael Chastain <mec@shout.net>
16854
16855 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
16856 'parse error'.
16857
161afb24
MK
168582003-09-07 Mark Kettenis <m.kettenis@osp.nl>
16859
16860 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
16861
49f2741a
MC
168622003-08-30 Michael Chastain <mec@shout.net>
16863
16864 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
16865 * gdb.gdb/observer.exp: Ditto.
16866 * gdb.gdb/xfullpath.exp: Ditto.
16867
8afa723e
MK
168682003-08-29 Mark Kettenis <kettenis@gnu.org>
16869
16870 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
16871 *-*-*bsd*.
16872
f31dfe3b
JJ
168732003-08-28 Jeff Johnston <jjohnstn@redhat.com>
16874
16875 * gdb.base/dump.exp: Skip for ia64.
16876
4630e498
JJ
168772003-08-25 Jeff Johnston <jjohnstn@redhat.com>
16878
16879 * gdb.asm/asm-source.exp: Add ia64 support.
16880 * gdb.asm/ia64.inc: New file.
16881
1105b7ef
MC
168822003-08-22 Michael Chastain <mec@shout.net>
16883
16884 * gdb.cp: New directory.
16885 * gdb.cp/*: Copy from gdb.c++/*.
16886 * gdb.c++/*: Remove.
16887 * Makefile.in: Change gdb.c++ to gdb.cp.
16888 * configure.in: Ditto.
16889 * configure: Regnerate.
16890
c945b932
MK
168912003-08-18 Mark Kettenis <kettenis@gnu.org>
16892
16893 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
16894 * gdb.arch/i386-prologue.c (gdb1338): Add function.
16895
2b66634b
DJ
168962003-08-17 Daniel Jacobowitz <drow@mvista.com>
16897
16898 * mi-var-display.exp (-var-list-children weird): Accept function
16899 pointers with argument types.
16900 * mi1-var-display.exp (-var-list-children weird): Likewise.
16901 * mi2-var-display.exp (-var-list-children weird): Likewise.
16902
a356f73b
DJ
169032003-08-17 Daniel Jacobowitz <drow@mvista.com>
16904
16905 * gdb.base/annota3.exp: Add missing newline.
16906
483417b8
MC
169072003-08-06 Michael Chastain <mec@shout.net>
16908
16909 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
16910
c99c59c3
MS
169112003-08-12 Michael Snyder <msnyder@redhat.com>
16912
16913 * gdb.base/float.exp: Add test for SH.
16914
55ed7501
MK
169152003-08-10 Mark Kettenis <kettenis@gnu.org>
16916
16917 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
16918
1a371f2e
EZ
169192003-08-07 Elena Zannoni <ezannoni@redhat.com>
16920
16921 * gdb.base/completion.exp: Remove reduntant completion test
16922 on filename.
16923
e0f353ce
EZ
169242003-08-07 Elena Zannoni <ezannoni@redhat.com>
16925
a9c64011
AS
16926 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
16927 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
16928 gdb.trace/save-trace.exp: Make sure that full pathnames are
16929 escaped correctly.
e0f353ce 16930
5710a1af 169312003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 16932
a9c64011
AS
16933 * configure.in: Don't generate config.h from config.hin.
16934 * configure: Regenerate.
16935 * config.hin: Remove file.
16936 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
16937 * gdb.threads/pthreads.c: Ditto.
5710a1af 16938
dcd81ce9
DJ
169392003-08-07 Daniel Jacobowitz <drow@mvista.com>
16940
16941 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16942 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
16943 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
16944 Replace ld24 with seth/add3.
16945
6009d884
AC
169462003-08-02 Andrew Cagney <cagney@redhat.com>
16947
16948 * gdb.base/annota3.exp: New file.
16949 * gdb.base/annota3.c: New file.
16950 * gdb.c++/annota3.exp: New file.
16951 * gdb.c++/annota3.cc: New file.
16952
51514e06
MC
169532003-07-29 Michael Chastain <mec@shout.net>
16954
16955 * gdb.threads/tls.c (spin): Check errno only if sem_wait
16956 actually failed.
16957 (do_pass): Likewise.
16958 * gdb.threads/tls.exp: Always initialize no_of_threads.
16959
4ee6625b
DJ
169602003-07-27 Daniel Jacobowitz <drow@mvista.com>
16961
16962 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
16963 pattern.
16964 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
16965 * gdb.threads/tls.exp: Recognize one case of the host library not
16966 supporting TLS.
16967
225f2bf6
AC
169682003-07-27 Andrew Cagney <cagney@redhat.com>
16969
16970 * gdb.base/fileio.exp: Use SH when running commands using
16971 remote_exec.
16972
bcb27c9f
DJ
169732003-07-24 Daniel Jacobowitz <drow@mvista.com>
16974
16975 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16976 * gdb.base/relocate.c (dummy): New padding array.
16977
3d67be83
MS
169782003-07-22 Michael Snyder <msnyder@redhat.com>
16979
d63a86f8 16980 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
16981
16982 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
16983 patterns to be more general, accepting old and new output.
16984 Some output chars (such as '+') also must be quoted.
d63a86f8 16985 Some addresses are displayed numerically instead of
3d67be83
MS
16986 symbolically.
16987
57ba3b85
MS
169882003-07-23 Michael Snyder <msnyder@redhat.com>
16989
686d097c
MS
16990 * gdb.base/return2.exp: Don't test long-long return.
16991
57ba3b85
MS
16992 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
16993 * gdb.disasm/t01_mov.exp: Ditto.
16994 * gdb.disasm/t02_mova.s: Ditto.
16995 * gdb.disasm/t02_mova.exp: Ditto.
16996 * gdb.disasm/t03_add.s: Ditto.
16997 * gdb.disasm/t03_add.exp: Ditto.
16998 * gdb.disasm/t04_sub.s: Ditto.
16999 * gdb.disasm/t04_sub.exp: Ditto.
17000 * gdb.disasm/t05_cmp.s: Ditto.
17001 * gdb.disasm/t05_cmp.exp: Ditto.
17002 * gdb.disasm/t06_ari2.s: Ditto.
17003 * gdb.disasm/t06_ari2.exp: Ditto.
17004 * gdb.disasm/t07_ari3.s: Ditto.
17005 * gdb.disasm/t07_ari3.exp: Ditto.
17006 * gdb.disasm/t08_or.s: Ditto.
17007 * gdb.disasm/t08_or.exp: Ditto.
17008 * gdb.disasm/t09_xor.s: Ditto.
17009 * gdb.disasm/t09_xor.exp: Ditto.
17010 * gdb.disasm/t10_and.s: Ditto.
17011 * gdb.disasm/t10_and.exp: Ditto.
17012 * gdb.disasm/t11_logs.s: Ditto.
17013 * gdb.disasm/t11_logs.exp: Ditto.
17014 * gdb.disasm/t12_bit.s: Ditto.
17015 * gdb.disasm/t12_bit.exp: Ditto.
17016 * gdb.disasm/t13_otr.s: Ditto.
17017 * gdb.disasm/t13_otr.exp: Ditto.
17018
e00759ef
EZ
170192003-07-22 Elena Zannoni <ezannoni@redhat.com>
17020
17021 * gdb.threads/tls.exp :Add kfail for 'info address' case.
17022
8bc2021f
EZ
170232003-07-22 Elena Zannoni <ezannoni@redhat.com>
17024
a9c64011
AS
17025 * gdb.threads/tls.c : New file.
17026 * gdb.threads/tls.exp : New file.
17027 * gdb.threads/tls-main.c : New file.
17028 * gdb.threads/tls-shared.c : New file.
17029 * gdb.threads/tls-shared.exp : New file.
8bc2021f 17030
89320c4c
AS
170312003-07-22 Andreas Schwab <schwab@suse.de>
17032
17033 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
17034
180dea7c
AS
170352003-07-20 Andreas Schwab <schwab@suse.de>
17036
17037 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
17038 due to insn reordering.
17039
0714963c
AC
170402003-07-15 Andrew Cagney <cagney@redhat.com>
17041
17042 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
17043
98a23b3f
MC
170442003-07-15 Michael Chastain <mec@shout.net>
17045
17046 * gdb.base/gdb1250.exp: New file.
17047 * gdb.base/gdb1250.c: New file.
17048
27e417a2
ML
170492003-07-09 Michal Ludvig <mludvig@suse.cz>
17050
17051 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
17052 expansion of size_t to 'unsigned long', not only to 'unsigned'.
17053
8bc2021f
EZ
170542003-07-09 Elena Zannoni <ezannoni@redhat.com>
17055
a9c64011
AS
17056 * gdb.threads/tls.c: New file.
17057 * gdb.threads/tls.exp: New file.
17058 * gdb.threads/tls-main.c: New file.
17059 * gdb.threads/tls-shared.c: New file.
17060 * gdb.threads/tls-shared.exp: New file.
8bc2021f 17061
d99968dc
EZ
170622003-07-09 Elena Zannoni <ezannoni@redhat.com>
17063
17064 * gdb.base/annota1.exp: Make sure that we properly escape the
17065 full path of the source file. Xfail more permissive patterns,
d63a86f8 17066 due to a compiler debug info problem.
d99968dc 17067
83876b3b
AS
170682003-07-07 Andreas Schwab <schwab@suse.de>
17069
2705e972
AS
17070 * gdb.asm/m68k.inc: New file.
17071 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
17072
83876b3b
AS
17073 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
17074 arguments"): Also match negative number.
17075
17076 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
17077
3a871b37
DJ
170782003-07-03 Daniel Jacobowitz <drow@mvista.com>
17079
17080 * gdb.base/store.c (charest): New typedef.
17081 (add_char): Rename to add_charest, update.
17082 (wack_char): Rename to wack_charest, update types. Return l + r
17083 to keep r live across the call.
17084 (wack_short, wack_int, wack_long, wack_longest, wack_float)
17085 (wack_double, wack_doublest): Return l + r to keep r live across
17086 the call.
17087 * gdb.base/store.exp: Accomodate store.c changes.
17088
b2a7f303
DC
170892003-06-30 David Carlton <carlton@kealia.com>
17090
17091 * gdb.c++/maint.exp (test_invalid_name): New.
17092 (test_first_component): Add tests for invalid names.
17093
3c6cb4a1
MC
170942003-06-29 Michael Chastain <mec@shout.net>
17095
17096 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
17097 output of '<VTT for class>' for virtual base classes.
17098
f1c2644b
DJ
170992003-06-29 Daniel Jacobowitz <drow@mvista.com>
17100
17101 * gdb.base/completion.exp: Tab-complete "complet" instead of
17102 "compl".
17103 * gdb.base/complex.exp, gdb.base/complex.c: New files.
17104
18080350
DJ
171052003-06-29 Daniel Jacobowitz <drow@mvista.com>
17106
17107 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
17108 * gdb.base/volatile.exp: Likewise.
17109
f56973f8
DJ
171102003-06-29 Daniel Jacobowitz <drow@mvista.com>
17111
17112 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
17113 gdb/1265.
17114
171152003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
17116 Daniel Jacobowitz <drow@mvista.com>
17117
17118 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
17119 initial line count of 'captured_main' from 26 to 32.
17120 (test_with_self): Allow xmalloc call to be interleaved with the
17121 preceding two lines.
17122
e766d4d6
JB
171232003-06-24 Joel Brobecker <brobecker@gnat.com>
17124
17125 * gdb.base/bang.exp: New testcase.
17126
f125c9a4
JB
171272003-06-23 Joel Brobecker <brobecker@gnat.com>
17128
17129 * gdb.base/langs.exp: Add some tests for the "minimal" language
17130 support.
17131
6e25beaf
EZ
171322003-06-23 Elena Zannoni <ezannoni@redhat.com>
17133
17134 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
17135 the testcase.
17136
2f816dda
DJ
171372003-06-22 Daniel Jacobowitz <drow@mvista.com>
17138
17139 * gdb.base/relocate.exp: Test add-symbol-file with a variable
17140 offset.
17141
db5a5748
DJ
171422003-06-22 Daniel Jacobowitz <drow@mvista.com>
17143
17144 * gdb.c++/pr-1210.cc: New file.
17145 * gdb.c++/pr-1210.exp: New file.
17146
1df0c130
DJ
171472003-06-21 Daniel Jacobowitz <drow@mvista.com>
17148
17149 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
17150 000-exec-continue.
17151
a92feac0
MK
171522003-06-15 Mark Kettenis <kettenis@gnu.org>
17153
17154 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
17155 on *-*-*bsd* instead of *-*-freebsd*.
17156
81a58f5b
AC
171572003-06-14 Andrew Cagney <cagney@redhat.com>
17158
17159 * gdb.base/store.exp: Test longest and doublest. Test all
17160 parameters. Weaken return statement match.
17161 * gdb.base/store.c: Add longest and doublest - aka long long and
17162 long double functions. Put all parameters into local register
17163 variables. Use negative values.
17164
b257a0d3
AC
171652003-06-14 Andrew Cagney <cagney@redhat.com>
17166
17167 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
17168 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
17169 exit status.
17170 * gdb.base/fileio.exp: Disable target when nointerrupts and
17171 noinferiorio, instead of limiting it to remote. Use remote_exec
17172 instead of system.
d63a86f8 17173
21c38304
JJ
171742003-06-12 Jeff Johnston <jjohnstn@redhat.com>
17175
17176 * gdb.base/float.exp: Add ia64 support.
17177
1bcdb424
CV
171782003-06-12 Corinna Vinschen <vinschen@redhat.com>
17179
17180 * gdb.base/fileio.exp: Run only on remote targets.
17181
6aeb981f
CV
171822003-06-10 Corinna Vinschen <vinschen@redhat.com>
17183
17184 * gdb.base/fileio.c: New file, testing File-I/O.
17185 * gdb.base/fileio.exp: Ditto.
17186
53df362e
RG
171872003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
17188
17189 * gdb.base/shreloc.exp: New file, check symbol values obtained from
17190 shared objects after relocation at load time (gdb PR/1132).
17191 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 17192 as above, part of the shared object relocation test.
53df362e 17193
ffee1b46
MK
171942003-06-08 Mark Kettenis <kettenis@gnu.org>
17195
b5ca3722
MK
17196 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
17197 fully filled history list.
17198 * gdb.base/gdb_history: New file.
17199
03ed860d
MK
17200 * gdb.base/signals.exp: XFAIL "continue to func1" on
17201 i*86-*-freebsd*.
17202
ffee1b46
MK
17203 * gdb.base/attach.exp: When trying to attach to a nonexistent
17204 process, make it possible to specify the PID based on the target,
17205 and do so for *-*-freebsd*.
17206
d80dbb52
RH
172072003-06-02 Richard Henderson <rth@redhat.com>
17208
17209 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
17210
6dd77b81
RH
172112003-06-02 Richard Henderson <rth@redhat.com>
17212
17213 * gdb.base/selftest.exp: Next over lim_at_start initialization.
17214
f6347e16
RH
172152003-06-02 Richard Henderson <rth@redhat.com>
17216
17217 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
17218
2c161407
DJ
172192003-06-01 Daniel Jacobowitz <drow@mvista.com>
17220
17221 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
17222 of globalvar.
17223
572eb746
MK
172242003-06-01 Mark Kettenis <kettenis@gnu.org>
17225
17226 * gdb.asm/asm-source.exp: Check for memory read errors in
17227 disassembler test on *BSD too.
17228
9e9617a5
RH
172292003-06-01 Richard Henderson <rth@redhat.com>
17230
17231 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
17232 for .frame.
17233 (gdbasm_call): Lose ldgp.
17234 (gdbasm_startup): Add frame information.
17235 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
17236
7b34ad4e
MK
172372003-05-31 Mark Kettenis <kettenis@gnu.org>
17238
17239 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
17240 i?86-*-*.
17241
10059fdf
MK
172422003-05-30 Mark Kettenis <kettenis@gnu.org>
17243
17244 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
17245 FreeBSD.
17246
acf4b816
RH
172472003-05-29 Richard Henderson <rth@redhat.com>
17248
17249 * gdb.asm/alpha.inc: New file.
17250 * gdb.asm/asm-source.exp: Use it.
17251
e9ecd949
JB
172522003-05-29 Jim Blandy <jimb@redhat.com>
17253
17254 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
17255 'core.PID'.
17256
e3e5a4f3
JB
172572003-05-22 Jim Blandy <jimb@redhat.com>
17258
17259 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
17260 backtrace.
d63a86f8 17261
72fe3d25
DC
172622003-05-20 David Carlton <carlton@math.stanford.edu>
17263
17264 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
17265 this time.
17266
58da2eb2
DC
172672003-05-19 David Carlton <carlton@bactrian.org>
17268
17269 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
17270 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
17271
1fcb5155
DC
172722003-05-19 David Carlton <carlton@bactrian.org>
17273
17274 * gdb.c++/namespace.exp: Add namespace scope and anonymous
17275 namespace tests.
17276 Bump copyright date.
17277 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
17278 (main): Call C::D::marker2.
17279 * gdb.c++/namespace1.cc: New file.
17280
85e85163
JJ
172812003-05-14 Jeff Johnston <jjohnstn@redhat.com>
17282
17283 Roland McGrath <roland@redhat.com>
d63a86f8 17284 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
17285 there is no manager thread.
17286
a25fbfec
JJ
172872003-05-08 Jeff Johnston <jjohnstn@redhat.com>
17288
d63a86f8
RM
17289 * gdb.threads/schedlock.exp: Remove assumption that all threads
17290 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
17291 in one of the child threads rather than the main thread.
17292
be375bae
JB
172932003-05-07 Jim Blandy <jimb@redhat.com>
17294
09bf6082
JB
17295 Add support for assembly source testing on the s390x.
17296 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
17297 architecture.
17298 * gdb.asm/s390x.inc: New file.
17299
be375bae
JB
17300 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
17301 succession of 'if' statements.
17302
00905d52
AC
173032003-05-05 Andrew Cagney <cagney@redhat.com>
17304
17305 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
17306
b1e29e33
AC
173072003-05-05 Andrew Cagney <cagney@redhat.com>
17308
17309 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
17310 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
17311
e33d66ec
EZ
173122003-05-02 Elena Zannoni <ezannoni@redhat.com>
17313
17314 * gdb.base/charset.exp: Update based on new behavior of set/show
17315 charset commands.
17316
2b6fd0d8
AC
173172003-05-01 Andrew Cagney <cagney@redhat.com>
17318
17319 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
17320 variable do not give memory errors.
17321
130cacce
AF
173222003-04-30 Adam Fedor <fedor@gnu.org>
17323
17324 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
17325 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
17326 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
17327 gdb.objc/basicclass.m: : New files
17328
17329 * lib/gdb.exp (gdb_compile_objc): New procedure.
17330
bea71854
DJ
173312003-04-27 Daniel Jacobowitz <drow@mvista.com>
17332
17333 * gdb.base/signals.exp: Make backtrace tests more specific.
17334
0f20eeea
DC
173352003-04-23 David Carlton <carlton@bactrian.org>
17336
17337 * gdb.c++/maint.exp (test_first_component): Add tests for
17338 'operator' in more locations.
17339
c8c4d8dc
KB
173402003-04-16 Kevin Buettner <kevinb@redhat.com>
17341
17342 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
17343
3fe60e3c
EZ
173442003-04-16 Elena Zannoni <ezannoni@redhat.com>
17345
17346 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 17347 func marke' instead. Update test name.
3fe60e3c 17348
9219021c
DC
173492003-04-15 David Carlton <carlton@math.stanford.edu>
17350
17351 * gdb.c++/maint.exp: New file.
17352
5dd55bdd
EZ
173532003-04-14 Elena Zannoni <ezannoni@redhat.com>
17354
17355 * gdb.threads/schedlock.c: Change type of thread function argument
17356 to long, to avoid warnings on 64-bit platforms.
17357
00890572
EZ
173582003-04-14 Elena Zannoni <ezannoni@redhat.com>
17359
a9c64011
AS
17360 * gdb.base/attach.exp: Add new message from ptrace in case of
17361 attaching to nonexistent process.
d63a86f8 17362
93201743
JB
173632003-04-11 Jim Blandy <jimb@redhat.com>
17364
17365 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
17366 gdb.c++/userdef.cc: Place comments on the lines to which the
17367 marker function might return.
17368 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
17369 gdb.c++/userdef.exp: Look for those comments to check that we've
17370 returned to the right place, instead of checking line numbers.
17371
2a11c64d
EZ
173722003-04-11 Elena Zannoni <ezannoni@redhat.com>
17373
a9c64011
AS
17374 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
17375 match on sourcefile name, instead of directory name.
2a11c64d 17376
68ab8fc5
EZ
173772003-04-10 Elena Zannoni <ezannoni@redhat.com>
17378
d63a86f8 17379 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
17380 working directory name.
17381
5624293a
JB
173822003-04-09 Jim Blandy <jimb@redhat.com>
17383
17384 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
17385 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
17386 after an inferior function call, report the failure, but allow the
17387 test to continue.
17388
f1f02ee4
SC
173892003-04-05 Stephane Carrez <stcarrez@nerim.fr>
17390
17391 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
17392 with -DPROTOTYPES.
17393
6eb79af0
SC
173942003-04-05 Stephane Carrez <stcarrez@nerim.fr>
17395
17396 * gdb.base/break.exp: Revert last patch.
17397
8dfb4cf0
SC
173982003-04-04 Stephane Carrez <stcarrez@nerim.fr>
17399
17400 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
17401 with -DPROTOTYPES.
17402
ed4c619a
AC
174032003-04-02 Andrew Cagney <cagney@redhat.com>
17404
17405 * gdb.base/callfuncs.exp: Make "print add" messages unique.
17406 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
17407 matching directories by the name breakpoint.
17408 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
17409 Make "continue to marker1" consistent.
17410 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
17411 message consistent.
17412 * lib/gdb.exp: Put "the program is no longer running", and "the
17413 program exited" in parenthesis.
17414 * lib/mi-support.exp: Ditto.
d63a86f8 17415
4e35d5f0 174162003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 17417
4e35d5f0
BR
17418 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
17419
71900fe8
AC
174202003-03-29 Andrew Cagney <cagney@redhat.com>
17421
17422 * gdb.base/sizeof.c (main): Print the value of '\377'.
17423 * gdb.base/sizeof.exp: Check the sign of '\377'.
17424
c0655a16
MC
174252003-03-27 Michael Chastain <mec@shout.net>
17426
17427 * gdb.base/gdb1090.exp: New file.
17428 * gdb.base/gdb1090.cc: New file.
17429
5b2a3989
JB
174302003-03-27 J. Brobecker <brobecker@gnat.com>
17431
17432 * gdb.gdb/observer.exp: New regression test.
17433
79876890
MC
174342003-03-27 Michael Chastain <mec@shout.net>
17435
17436 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
17437 * gdb.base/ptype.exp: Likewise.
17438
6eac95e3
CV
174392003-03-27 Corinna Vinschen <vinschen@redhat.com>
17440
17441 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
17442
e8c71839
MC
174432003-03-26 Michael Chastain <mec@shout.net>
17444
17445 * gdb.base/ptype.exp: Actually use some typedef'd types.
17446
71b10041
SC
174472003-03-21 Stephane Carrez <stcarrez@nerim.fr>
17448
17449 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
17450 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
17451
2512cf80
CV
174522003-03-20 Corinna Vinschen <vinschen@redhat.com>
17453
17454 * gdb.base/default.exp: Fix regular expression.
17455
0d195a4f
CV
174562003-03-20 Corinna Vinschen <vinschen@redhat.com>
17457
17458 * gdb.base/args.exp: Fix regular expression.
17459
8a2dbca8
CV
174602003-03-20 Corinna Vinschen <vinschen@redhat.com>
17461
17462 * gdb.base/help.exp: Allow Win32 child process.
17463
bf028682
CV
174642003-03-20 Corinna Vinschen <vinschen@redhat.com>
17465
17466 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
17467 when stepping out of main().
17468
182dbe85
CV
174692003-03-20 Corinna Vinschen <vinschen@redhat.com>
17470
17471 * gdb.base/default.exp: Check for win32 specific message when calling
17472 "run" without executable.
17473
d67a6ba5
CV
174742003-03-20 Corinna Vinschen <vinschen@redhat.com>
17475
17476 * gdb.base/args.exp: Expect .exe in output.
17477
a955b5bb
CV
174782003-03-20 Corinna Vinschen <vinschen@redhat.com>
17479
17480 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
17481 Cygwin native.
17482
bf6bad4b
AC
174832003-03-17 Andrew Cagney <cagney@redhat.com>
17484
17485 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
17486 vector registes.
17487 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
17488 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
17489
293e9a31
DC
174902003-03-17 David Carlton <carlton@math.stanford.edu>
17491
17492 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
17493 test, for PR breakpoints/38.
17494 Call test_watchpoint_and_breakpoint.
17495 * gdb.base/watchpoint.c (func3): New function.
17496 (main): Call func3.
17497
5330f2db
DC
174982003-03-04 David Carlton <carlton@math.stanford.edu>
17499
17500 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
17501 Garply<Garply<char> >:: garply".
17502 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
17503 with respect to PR c++/1111; note also PR c++/1113.
17504 (test_template_breakpoints): KFAIL "constructor breakpoint" with
17505 respect to PR c++/1062.
17506 KFAIL "destructor breakpoint" with respect to PR c++/1112.
17507
6ece72da
DC
175082003-03-03 David Carlton <carlton@math.stanford.edu>
17509
17510 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
17511 with respect to PR c++/57.
17512 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
17513 c++/826.
17514 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
17515 respect to PR c++/57.
17516
85ca1584
DC
175172003-03-03 David Carlton <carlton@math.stanford.edu>
17518
17519 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
17520 respect to PR c++/33 into FAILs.
17521
98e9c5b8
MC
175222003-03-03 Michael Chastain <mec@shout.net>
17523
7bedbf27
MC
17524 * configure.in: Update copyright years.
17525
175262003-03-03 Michael Chastain <mec@shout.net>
17527
17528 * Makefile.in: Update copyright years.
98e9c5b8 17529
f683e100
DC
175302003-02-28 David Carlton <carlton@math.stanford.edu>
17531
17532 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
17533 print class instead of struct and/or superfluous protection
17534 specifiers, as long as the resulting output is equivalent to the
17535 source code.
17536 Delete FIXME from end of messages on tests that don't need
17537 fixing.
17538
a9e0cf2c
DC
175392003-02-28 David Carlton <carlton@math.stanford.edu>
17540
17541 * gdb.c++/templates.exp (do_tests): Allow const in the two
17542 Foo<volatile char *>::foo tests.
17543
e8d359df
MS
175442003-02-27 Michael Snyder <msnyder@redhat.com>
17545
d63a86f8 17546 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
17547 will be consistant.
17548
0b71dc91
DC
175492003-02-26 David Carlton <carlton@math.stanford.edu>
17550
17551 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
17552 char *>::foo" test with respect to PR c++/33. Create a new test
17553 which is identical to that one except that it doesn't put the
17554 space between the "char" and the "*"; KFAIL it, too.
17555
dd14ab43
DC
175562003-02-26 David Carlton <carlton@math.stanford.edu>
17557
17558 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
17559 template types into either PASSes or KFAILs (corresponding to PR
17560 c++/57). Tweak indentation. Update copyright.
17561
1146c7f1
SC
175622003-02-23 Stephane Carrez <stcarrez@nerim.fr>
17563
17564 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
17565
74641dfb
MC
175662003-02-13 Michael Chastain <mec@shout.net>
17567
17568 * gdb.base/exprs.exp: Remove i960 remnants.
17569 * gdb.base/funcargs.exp: Likewise.
17570 * gdb.base/list.exp: Likewise.
17571 * gdb.base/ptype.exp: Likewise.
17572
559cd2d0
DC
175732003-02-14 David Carlton <carlton@math.stanford.edu>
17574
17575 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
17576 pEe->D::vg()" from XFAIL to KFAIL.
17577
c4f90d87
JM
175782003-02-13 Jason Molenda (jmolenda@apple.com)
17579
17580 * gdb.base/maint.exp: Update maint print statistics regexp to include
17581 new entries.
17582
cbc4d97c
MC
175832003-02-13 Michael Chastain <mec@shout.net>
17584
17585 * gdb.c++/inherit.exp: Remove call to get_debug_format.
17586
40f235b7
MC
175872003-02-12 Michael Chastain <mec@shout.net>
17588
17589 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
17590 * gdb.c++/inherit.exp: Likewise.
17591 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
17592 * gdb.c++/templates.exp: Likewise.
17593 * gdb.c++/virtfunc.exp: Likewise.
17594
c56716b0
JM
175952003-02-06 Jason Molenda (jason-cl@molenda.com)
17596
17597 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
17598 why the code is written that way.
17599
070afcf8
MC
176002003-02-05 Michael Chastain <mec@shout.net>
17601
17602 * gdb.base/dump.exp: Add missing copyright line.
17603
5d0331e5
JM
176042003-02-05 Jason Molenda (jason-cl@molenda.com)
17605
f7ae6d3e 17606 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
17607 at the beginning so the breakpoint doesn't get set on the loop.
17608
92851186
MC
176092003-02-05 Michael Chastain <mec@shout.net>
17610
17611 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
17612 output for configurations with gcc 2.95.3.
17613
cbf1e085
AC
176142003-02-05 Keith Seitz <keiths@redhat.com>
17615 Andrew Cagney <ac131313@redhat.com>
17616
17617 * gdb.mi/mi-cli.exp: New file.
d63a86f8 17618
29518e1e
MC
176192003-02-04 Michael Chastain <mec@shout.net>
17620
17621 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
17622 Call perror and then continue.
17623
5af1d5f3
MC
176242003-02-03 Michael Chastain <mec@shout.net>
17625
17626 * gdb.c++/pr-1023.cc: New file.
17627 * gdb.c++/pr-1023.exp: New file.
17628
6b549786
JB
176292003-02-05 Jim Blandy <jimb@redhat.com>
17630
17631 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
17632 it's local to foobar. Check for it there, and check that it's not
17633 present in main.
17634 * gdb.c++/local.cc (marker2): New function.
17635 (foobar): Call marker1.
17636 (main): Call marker2 instead of marker1.
17637
67f16606
AC
176382003-02-04 Andrew Cagney <ac131313@redhat.com>
17639
17640 * gdb.disasm/mn10200.exp: Obsolete file.
17641 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
17642 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
17643 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
17644
1c5cb38e
DC
176452003-02-04 David Carlton <carlton@math.stanford.edu>
17646
17647 * gdb.c++/overload.exp: Test intToChar(1).
17648 * gdb.c++/overload.cc (intToChar): New.
17649 (main): Call intToChar.
17650
d1fe6965
DC
176512003-02-03 David Carlton <carlton@math.stanford.edu>
17652
17653 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
17654 'might_kfail' arg.
17655 KFAIL some of the continue_to_bp_overloaded calls, according to
17656 PR c++/1025.
17657
9ba61c5d
MC
176582003-02-01 Michael Chastain <mec@shout.net>
17659
17660 * gdb.base/advance.c (marker1): New marker function.
17661 * gdb.base/advance.exp: When the 'advance' command lands on the
17662 return breakpoint, it can legitimately stop on either the
17663 current line or the next line. Accommodate both outcomes.
17664 * gdb.base/until.exp: Likewise.
17665
e7494ffb
AC
176662003-02-02 Andrew Cagney <ac131313@redhat.com>
17667
17668 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
17669 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
17670 now a list, not a tuple.
17671 * gdb.mi/mi-var-display.exp: Ditto.
17672 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 17673
075559bc
AC
176742003-02-01 Andrew Cagney <ac131313@redhat.com>
17675
17676 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
17677 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
17678 stack backtraces.
17679 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 17680
2bd4c7b1
MK
176812003-02-01 Mark Kettenis <kettenis@gnu.org>
17682
17683 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17684 gdb.mi/mi1-pthreads.exp: Return instead of calling
17685 gdb_suppress_entire_file.
17686
eabd8992
MS
176872003-02-01 Mark Salter <msalter@redhat.com>
17688
17689 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
17690
71469e2f
MS
176912003-01-31 Mark Salter <msalter@redhat.com>
17692
17693 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
17694 Support empty arg.
17695
38a94d44
MC
176962003-01-30 Michael Chastain <mec@shout.net>
17697
17698 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
17699 This was a workaround for a UTF-8 bug in readline 4.3. The bug
17700 has been fixed in gdb/readline on 2003-01-09.
17701
19ea9e73
MS
177022003-01-29 Michael Snyder <msnyder@redhat.com>
17703
e8d359df
MS
17704 * gdb.base/maint.exp: Allow for leading underscore in symbol.
17705 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
17706 * gdb.base/args.exp: Skip if target does not support args passing.
17707
2307bd6a
DJ
177082003-01-22 Daniel Jacobowitz <drow@mvista.com>
17709
19ea9e73 17710 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
17711 gdb_test. Accept a list of expect arguments as the third
17712 parameter.
17713 (gdb_test): Use it.
17714
f2dd3617
EZ
177152003-01-20 Elena Zannoni <ezannoni@redhat.com>
17716
17717 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
17718 allow for different test tree configurations. Update some
17719 tescases accordingly.
17720 * gdb.arch/altivec-regs.exp: Ditto.
17721 * gdb.asm/asm-source.exp: Ditto.
17722 * gdb.base/advance.exp: Ditto.
17723 * gdb.base/display.exp: Ditto.
d63a86f8 17724 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
17725 * gdb.base/mips_pro.exp: Ditto.
17726 * gdb.base/overlays.exp: Ditto.
17727 * gdb.base/relocate.exp: Ditto.
17728 * gdb.base/setshow.exp: Ditto.
17729 * gdb.base/step-line.exp: Ditto.
17730 * gdb.base/step-test.exp: Ditto.
17731 * gdb.base/until.exp: Ditto.
17732 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
17733
c71cdefd
DC
177342003-01-17 David Carlton <carlton@math.stanford.edu>
17735
17736 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
17737 corresponding to PR c++/945.
17738 Update copyright.
17739
fdba05d7
DC
177402003-01-17 David Carlton <carlton@math.stanford.edu>
17741
17742 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
17743 corresponding to PR c++/68.
17744
177452003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
17746
17747 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
17748 (test_paddr_hairy_functions): Call print_addr_2_kfail for
17749 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
17750
c362c33a
EZ
177512003-01-15 Elena Zannoni <ezannoni@redhat.com>
17752
0fbc361c
EZ
17753 * gdb.base/break.exp: Fix change of default location, because of
17754 removal of until tests.
17755 * gdb.base/help.exp: Update test for new 'until' help message.
17756 Add test for help on 'advance'.
a9c64011 17757 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 17758
dabf8a35
MK
177592003-01-15 Mark Kettenis <kettenis@gnu.org>
17760
17761 * gdb.base/default.exp: Adapt "info float" test for recent changes
17762 to that command. Add test for "info vector".
17763 * gdb.base/float.exp: New file. Add test for "info float" that
17764 resembles the old test in gdb.base/default.exp.
17765
a1769aca
DC
177662003-01-15 David Carlton <carlton@math.stanford.edu>
17767
17768 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
17769
82025e13
EZ
177702003-01-15 Elena Zannoni <ezannoni@redhat.com>
17771
17772 * gdb.base/break.exp: Move the tests of until command from here...
17773 * gdb.base/until.exp: ... to here. New file. Add other tests.
17774 * gdb.base/advance.c: New file.
17775 * gdb.base/advance.exp: New file.
17776
8f9ab801
EZ
177772003-01-14 Elena Zannoni <ezannoni@redhat.com>
17778
a9c64011
AS
17779 * gdb.base/args.c: New file.
17780 * gdb.base/args.exp: New file.
8f9ab801 17781
9ae66589
DJ
177822003-01-14 Daniel Jacobowitz <drow@mvista.com>
17783
17784 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
17785
8d77e5c3
DJ
177862003-01-14 Daniel Jacobowitz <drow@mvista.com>
17787
17788 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
17789
12d2f0a1
DJ
177902003-01-14 Daniel Jacobowitz <drow@mvista.com>
17791
17792 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
17793 dates.
17794
6ca37014
DJ
177952003-01-13 Daniel Jacobowitz <drow@mvista.com>
17796
17797 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
17798
b0023472
DJ
177992003-01-13 Daniel Jacobowitz <drow@mvista.com>
17800
17801 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
17802 (ptype &*"foo").
17803 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
17804
607fbc54 178052003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
17806
17807 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
17808 * gdb.mi/mi1-console.exp: Likewise.
17809
607fbc54 178102003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
17811
17812 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
17813 * gdb.mi/mi1-console.exp: Likewise.
17814
a1fb14a2
DJ
178152003-01-13 Daniel Jacobowitz <drow@mvista.com>
17816
17817 * gdb.c++/overload.exp: Remove some fixed XFAILs.
17818
c4cf40b7
DJ
178192003-01-09 Daniel Jacobowitz <drow@mvista.com>
17820
17821 * gdb.base/detach.exp: New test.
17822
696d5a5b
DJ
178232003-01-09 Daniel Jacobowitz <drow@mvista.com>
17824
17825 * Makefile.in (ALL_SUBDIRS): New variable.
17826 (subdirs, clean, distclean): Use it.
17827 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
17828 regenerating Makefile, since it is generated from the top level.
17829 * gdb.asm/Makefile.in: Likewise.
17830 * gdb.base/Makefile.in: Likewise.
17831 * gdb.c++/Makefile.in: Likewise.
17832 * gdb.disasm/Makefile.in: Likewise.
17833 * gdb.java/Makefile.in: Likewise.
17834 * gdb.mi/Makefile.in: Likewise.
17835 * gdb.threads/Makefile.in: Likewise.
17836 * gdb.trace/Makefile.in: Likewise.
17837
754533e4
DC
178382003-01-09 David Carlton <carlton@math.stanford.edu>
17839
17840 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
17841 Add copyright year 2003.
17842
d8b3e9ee
MC
178432003-01-06 Michael Chastain <mec@shout.net>
17844
17845 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
17846 When selecting a thread, 'line' and 'file' are optional.
17847 * gdb.mi/mi1-pthreads.exp: Likewise.
17848
8e9e0fe6
AS
178492003-01-06 Andreas Schwab <schwab@suse.de>
17850
17851 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
17852 failures.
17853
b5ab8ff3
DJ
178542003-01-04 Daniel Jacobowitz <drow@mvista.com>
17855
17856 Fix PR gdb/844
17857 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
17858 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
17859
17860 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
17861 instead of calling gdb_suppress_entire_file.
17862 * gdb.threads/print-threads.exp: Likewise.
17863 * gdb.threads/schedlock.exp: Likewise.
17864
17865 * gdb.threads/killed.exp: Return instead of calling
17866 gdb_suppress_entire_file.
17867 * gdb.threads/linux-dp.exp: Likewise.
17868 * gdb.threads/pthreads.exp: Likewise.
17869
1e698235
DJ
178702003-01-04 Daniel Jacobowitz <drow@mvista.com>
17871
17872 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
17873 stabs.
17874 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
17875 * gdb.base/whatis.exp: Always allow (void) after function names.
17876
147ff08c
DJ
178772003-01-04 Daniel Jacobowitz <drow@mvista.com>
17878
17879 * gdb.c++/casts.exp: Correct regexp.
17880
dc62bfc2
MK
178812003-01-04 Mark Kettenis <kettenis@gnu.org>
17882
17883 * configure.in: Call AC_CONFIG_HEADER. Don't call
17884 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
17885 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
17886 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
17887 aforementioned directories in the AC_OUPUT call.
17888 * config.hin: New file.
17889 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17890 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
17891 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
17892 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
17893 pass -I$objdir instead of -I$objdir/$subdir in compilation.
17894 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
17895 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
17896 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
17897 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
17898 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
17899 gdb.threads/configure.in, gdb.threads/configure,
17900 gdb.threads/config.in, gdb.trace/configure.in,
17901 gdb.trace/configure: Removed.
17902
77afa639
MC
179032003-01-03 Michael Chastain <mec@shout.net>
17904
17905 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
17906 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
17907
7634bb6e
DJ
179082003-01-03 Daniel Jacobowitz <drow@mvista.com>
17909
17910 * gdb.base/store.exp: Fix regular expressions.
17911
b39c905e
MK
179122002-12-28 Mark Kettenis <kettenis@gnu.org>
17913
17914 * configure.in: Rewrite.
17915 * configure: Regenerated.
17916
0a8551dd
DC
179172003-01-03 David Carlton <carlton@math.stanford.edu>
17918
17919 * gdb.base/psymtab.exp: New file.
17920 * gdb.base/psymtab1.c: Ditto.
17921 * gdb.base/psymtab2.c: Ditto.
17922
c60b7188
AF
179232002-12-23 Adam Fedor <fedor@gnu.org>
17924
17925 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
17926
ee73db83
DC
179272002-12-23 David Carlton <carlton@math.stanford.edu>
17928
17929 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
17930 and current_directory initialization.
17931
d6c1774e
JB
179322002-12-22 Jim Blandy <jimb@redhat.com>
17933
f0a847b8
JB
17934 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
17935 rather than as part of the output file name.
17936
d6c1774e
JB
17937 * gdb.base/attach.exp: There's no need to copy the test program to
17938 /tmp; that was only ever necessary on HP/UX, and this test is
17939 entirely disabled there anyway.
17940
f0708dbb
JB
179412002-12-21 Jim Blandy <jimb@redhat.com>
17942
4c2acfea
JB
17943 * gdb.c++/psmang.exp: Doc fix.
17944
f0708dbb
JB
17945 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
17946 test.
17947
9579e000
DC
179482002-12-20 David Carlton <carlton@math.stanford.edu>
17949
17950 * gdb.c++/annota2.exp: KFAIL annotate-quit.
17951
d1810171
MC
179522002-12-18 Michael Chastain <mec@shout.net>
17953
17954 * gdb.c++/annota2.exp: Add copyright year 2002.
17955
76565097
DC
179562002-12-17 David Carlton <carlton@math.stanford.edu>
17957
17958 * gdb.c++/try_catch.cc: Add marker comments.
17959 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
17960 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
17961 * gdb.c++/m-static.cc: Ditto.
17962 * gdb.c++/m-static1.cc: Ditto.
17963 * gdb.c++/try_catch.cc: Ditto.
17964
da81390b
JJ
179652002-12-16 Jeff Johnston <jjohnstn@redhat.com>
17966
17967 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
17968 to see whether we are using the new -environment-directory
17969 command which resets via -r or the old version of the command
17970 which may prompt the user. Part of fix for gdb/741.
17971
b304d130
AC
179722002-12-13 Andrew Cagney <ac131313@redhat.com>
17973
17974 * gdb.fortran/types.exp: Update obsolete comment.
17975 * gdb.fortran/exprs.exp: Ditto.
17976 * lib/gdb.exp: Delete obsolete code.
17977 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
17978 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
17979 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
17980 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
17981 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
17982 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
17983 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
17984 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
17985 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
17986 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
17987 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
17988 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
17989 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
17990 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
17991 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
17992 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
17993 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
17994 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
17995 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
17996 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
17997 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
17998 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
17999 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
18000 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
18001 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
18002 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
18003 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
18004 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
18005 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
18006 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
18007 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
18008 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
18009 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
18010 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
18011 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
18012 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
18013 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
18014
a23b6e6a
DC
180152002-12-11 David Carlton <carlton@math.stanford.edu>
18016
18017 * gdb.c++/m-data.exp: Add test for members that shadow global
18018 variables: see PR gdb/804.
18019 * gdb.c++/m-data.cc: Ditto.
18020
6604731b
DJ
180212002-12-10 Daniel Jacobowitz <drow@mvista.com>
18022
18023 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
18024
de46ecd7
DC
180252002-12-06 David Carlton <carlton@math.stanford.edu>
18026
18027 * gdb.base/store.c: Don't declare functions static.
18028
27e829d0
AC
180292002-12-04 Andrew Cagney <ac131313@redhat.com>
18030
18031 * gdb.base/store.exp, gdb.base/store.c: New files.
18032
92806416
DJ
180332002-12-03 Daniel Jacobowitz <drow@mvista.com>
18034
18035 * gdb.base/selftest.exp: Update for current gdb.
18036
3bcbaac5
DJ
180372002-12-03 Daniel Jacobowitz <drow@mvista.com>
18038
18039 * gdb.base/maint.exp: Only dump symbols from one source file
18040 or objfile.
18041
f4f00b1f
DJ
180422002-12-03 Daniel Jacobowitz <drow@mvista.com>
18043
18044 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
18045 function call.
18046
f1c8a949
JB
180472002-11-25 Jim Blandy <jimb@redhat.com>
18048
18049 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
18050 function appearing in error message.
18051
9e297a97
DJ
180522002-11-21 Daniel Jacobowitz <drow@mvista.com>
18053
18054 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
18055
1f312e79
JJ
180562002-11-08 Jeff Johnston <jjohnstn@redhat.com>
18057
d63a86f8
RM
18058 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
18059 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
18060 should be in mi console format. This is part of fix for PR gdb/604.
18061
83c31e7d
FN
180622002-09-18 Fernando Nasser <fnasser@redhat.com>
18063
18064 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
18065 which explicitly prints the zero offset as "+0".
18066
322b3f65
DJ
180672002-10-22 Daniel Jacobowitz <drow@mvista.com>
18068
18069 * gdb.threads/schedlock.c (args): Make unsigned.
18070
180712002-10-21 Daniel Jacobowitz <drow@mvista.com>
18072
18073 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
18074 numbers. Allow "foo2|selected stack frame".
18075 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
18076 * gdb.asm/asmsrc2.s: Likewise.
18077 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
18078 comments.
18079 * gdb.asm/mips.inc: New file.
18080
5e2fe5b8
AF
180812002-10-18 Adam Fedor <fedor@gnu.org>
18082
18083 * gdb.base/default.exp: Update expected output to include 'ObjC'.
18084 * gdb.base/help.exp: Likewise.
18085
abe1a5d0
KB
180862002-10-17 Kevin Buettner <kevinb@redhat.com>
18087
18088 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
18089 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
18090
10abb1d4
JB
180912002-10-02 Jim Blandy <jimb@redhat.com>
18092
18093 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
18094
1f609b42
AC
180952002-10-01 Andrew Cagney <ac131313@redhat.com>
18096
18097 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
18098 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
18099 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
18100 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
18101 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
18102 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
18103 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
18104
0aee02e4
AC
181052002-09-29 Andrew Cagney <ac131313@redhat.com>
18106
18107 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
18108 * mi0-disassemble.exp, mi0-eval.exp: Delete.
18109 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
18110 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
18111 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
18112 * mi0-var-block.exp, mi0-var-child.exp: Delete.
18113 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 18114
6fde09ad
KB
181152002-09-27 Kevin Buettner <kevinb@redhat.com>
18116
18117 * gdb.base/annota1.exp (info break): Make directory components of
18118 path optional since not all compilers emit this debug information.
18119
889bf7c5
PA
18120 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
18121 step ends up stepping out of the function instead of stopping on
18122 the epilogue.
6fde09ad 18123
9e8aab75
KS
181242002-09-26 Keith Seitz <keiths@redhat.com>
18125
18126 * lib/insight-support.exp (gdbtk_start): Figure out where
18127 the insight executable is based on where gdb is. Use this
18128 executable to start insight instead of gdb.
18129
e36180d7
AC
181302002-09-25 Andrew Cagney <cagney@redhat.com>
18131
18132 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
18133
9dd34b2b
AC
181342002-09-24 Andrew Cagney <ac131313@redhat.com>
18135
18136 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
18137 test_isolated_complaints.
18138 (test_empty_complaint): New function.
18139 (test_empty_complaints): New function. Check no output when no
18140 complaints.
d63a86f8 18141
dea97812
KB
181422002-09-19 Jim Blandy <jimb@redhat.com>
18143
a9c64011 18144 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 18145
54951bd7
AC
181462002-09-19 Andrew Cagney <ac131313@redhat.com>
18147
18148 * gdb.gdb/complaints.exp: New file.
18149
dec43320
AC
181502002-09-18 Andrew Cagney <ac131313@redhat.com>
18151
18152 * gdb.base/maint.exp: Check `help maint internal-warning'.
18153
e70d6e3f
DC
181542002-09-18 David Carlton <carlton@math.stanford.edu>
18155
18156 * gdb.c++/m-static.exp: Remove breakpoints depending on line
18157 numbers, and replace them by a single breakpoint after the
18158 constructors are all finished.
18159 Add test 4.
18160 * gdb.c++/m-static.cc: Add test 4.
18161 * gdb.c++/m-static.h: New file.
18162 * gdb.c++/m-static1.cc: New file.
18163
18164 * gdb.c++/printmethod.exp: New file.
18165 * gdb.c++/printmethod.cc: New file.
18166
18167 * gdb.c++/pr-574.exp: New file.
18168 * gdb.c++/pr-574.cc: New file.
18169
afb5c968
CV
181702002-09-18 Corinna Vinschen <vinschen@redhat.com>
18171
18172 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
18173 embedded targets which never actually exit.
18174
31e45dee
FN
181752002-09-18 Fernando Nasser <fnasser@redhat.com>
18176
18177 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
18178 "don't step after run" as unresolved or unsupported, instead of xfail.
18179
a283c5a1
CV
181802002-09-18 Corinna Vinschen <vinschen@redhat.com>
18181
18182 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
18183 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
18184 Add newline to expected string in "step out of main (status wrapper)"
18185 case.
18186
11350d2a
CV
181872002-09-18 Corinna Vinschen <vinschen@redhat.com>
18188
18189 * lib/gdb.exp (rerun_to_main): Allow restarting application.
18190 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
18191
0deec7d6
TT
181922002-09-17 Tom Tromey <tromey@redhat.com>
18193
18194 * gdb.base/printcmds.exp (test_print_string_constants): Expect
18195 \000, not \0, in double-quoted string.
18196
b2b4a1b5
CV
181972002-09-14 Corinna Vinschen <vinschen@redhat.com>
18198
c9d37158 18199 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
18200 string after running the commands execution on breakpoint tests.
18201
1c56143a
CV
182022002-09-13 Corinna Vinschen <vinschen@redhat.com>
18203
18204 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
18205
37f8da45
JB
182062002-09-12 Joel Brobecker <brobecker@gnat.com>
18207
18208 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
18209
08b468e0
KS
182102002-09-10 Keith Seitz <keiths@redhat.com>
18211
18212 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
18213 runto proc.
18214 (mi_run_to_main): Use mi_runto.
18215 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
18216
dc360f58
KS
182172002-09-10 Keith Seitz <keiths@redhat.com>
18218
18219 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
18220 regexp for stopping at main. Could have multiple event notifications.
18221 Don't assume that main was declared with no parameters.
18222 (mi_next): Use mi_step_to.
18223 (mi_step): Use mi_next_to.
18224
ce3abcfb
CV
182252002-09-09 Corinna Vinschen <vinschen@redhat.com>
18226
18227 * gdb.base/default.exp: Fix expected string in `info float' test.
18228
d1f5b980
BE
182292002-09-09 Ben Elliston <bje@redhat.com>
18230
18231 * config/mips.exp: Update comments.
18232 * config/mips-idt.exp: Likewise.
18233 * config/nind.exp: Likewise.
18234 * config/slite.exp: Likewise.
18235 * config/sparclet.exp: Likewise.
18236 * config/udi.exp: Likewise.
18237 * config/vx.exp: Likewise.
18238 * config/vxworks29k.exp: Likewise.
18239
2f71430b
JB
182402002-09-05 Jim Blandy <jimb@redhat.com>
18241
18242 * gdb.threads/killed.exp: Fix test failure message.
18243
7ddebc7e
KS
182442002-09-04 Keith Seitz <keiths@redhat.com>
18245
18246 * lib/mi-support.exp: Update copyright.
18247 (mi_gdb_test): Increase the priority of the expected pattern
18248 so that it matches gdb_test.
18249
0ae67eb3
KS
182502002-09-03 Keith Seitz <keiths@redhat.com>
18251
18252 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
18253 Use integer comparison instead of string comparison for testing
18254 whether binary was built.
18255
38fc42c8
JB
182562002-09-03 Jim Blandy <jimb@redhat.com>
18257
18258 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
18259
b6ff0e81
JB
182602002-08-29 Jim Blandy <jimb@redhat.com>
18261
18262 * gdb.threads/pthreads.exp: Move the portable thread compilation
18263 code into a function in lib/gdb.exp, and call that from here.
18264 * lib/gdb.exp (gdb_compile_pthreads): New function.
18265
07c98896
KS
182662002-08-29 Keith Seitz <keiths@redhat.com>
18267
18268 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
18269 expect_out so that callers can get at it.
18270
0312286c
DJ
182712002-08-23 Daniel Jacobowitz <drow@mvista.com>
18272
18273 * gdb.threads/print-threads.c: New file.
18274 * gdb.threads/print-threads.exp: New file.
18275 * gdb.threads/schedlock.c: New file.
18276 * gdb.threads/schedlock.exp: New file.
18277
dd039bc4
EZ
182782002-08-22 Elena Zannoni <ezannoni@redhat.com>
18279
a9c64011
AS
18280 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
18281 not altivec.c.
dd039bc4 18282
1f36144c
MK
182832002-08-17 Mark Kettenis <kettenis@gnu.org>
18284
18285 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
18286 targets. The problem should be fixed now.
18287
16057ec7 182882002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
18289
18290 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
18291 2002-07-24 change that removes final dots from error messages.
18292
3c1499ad
TT
182932002-08-13 Tom Tromey <tromey@redhat.com>
18294
18295 * gdb.base/readline.exp: New file.
18296
a20ce2c3
AC
182972002-08-01 Andrew Cagney <ac131313@redhat.com>
18298
18299 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
18300 supress message.
18301
db034ac5
AC
183022002-08-01 Andrew Cagney <cagney@redhat.com>
18303
18304 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
18305 CHILL_FOR_TARGET and CHILL_LIB.
18306 * configure.in (configdirs): Remove gdb.chill.
18307 * configure: Regenerate.
18308 * lib/gdb.exp: Obsolete references to chill.
18309 * gdb.fortran/types.exp: Ditto.
18310 * gdb.fortran/exprs.exp: Ditto.
18311
3e000b18
KB
183122002-07-30 Kevin Buettner <kevinb@redhat.com>
18313
18314 * gdb.base/shlib-call.exp (additional_flags): Conditionally
18315 set Irix-specific compile and link flags.
18316
28f4966b
KB
183172002-07-29 Kevin Buettner <kevinb@redhat.com>
18318
18319 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
18320 source files. The ``-o'' option doesn't work with the ``-E'' option
18321 when using the Irix compiler.
18322
46c0d5a6
DJ
183232002-07-19 Daniel Jacobowitz <drow@mvista.com>
18324
18325 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
18326 Improve support for reusing an exec file. Copy exec file
18327 to target, and run gdbserver on the target instead of on the host.
18328
eecf4bed
JB
183292002-07-18 Jim Blandy <jimb@redhat.com>
18330
0f815cdf
JB
18331 * gdb.base/ending-run.exp: Don't expect to see the program end in
18332 some orderly fashion when we're running on a real stand-alone
18333 board.
18334
eecf4bed
JB
18335 * gdb.base/interrupt.exp: Correct logic for skipping tests on
18336 targets that don't support interrupts.
18337
52d309e4
JB
183382002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
18339
18340 * gdb.base/attach.exp: Add patterns to match output from /proc-based
18341 systems.
18342 Move comments in expect statements to inside the actions, so that they
18343 don't get matched against.
18344
ff683d9e
MK
183452002-07-10 Mark Kettenis <kettenis@gnu.org>
18346
18347 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
18348 function when asleep" test.
18349
b5356753
AC
183502002-07-10 Andrew Cagney <ac131313@redhat.com>
18351
18352 * gdb.base/page.exp: Rewrite to handle problems with very long
18353 `info set' output. Update copyright.
18354
6aa4d13a
AC
183552002-06-26 Andrew Cagney <ac131313@redhat.com>
18356
18357 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
18358 gdb.threads-hp.
18359 * gdb.hp/configure: Regenerate.
18360 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
18361 * gdb.hp/gdb.threads-hp/configure: Delete file.
18362 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
18363
8cf8c2b8
AC
183642002-06-22 Andrew Cagney <ac131313@redhat.com>
18365
18366 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
18367 setlocale, bindtextdomain and textdomain.
18368
6827a8f8
JB
183692002-06-11 Jim Blandy <jimb@redhat.com>
18370
919d772c
JB
18371 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
18372 preprocessor macro information is present.
18373
6827a8f8
JB
18374 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
18375 tests.
18376
c15b0d21
MS
183772002-06-06 Michael Snyder <msnyder@redhat.com>
18378
c5984d70
MS
18379 * gdb.base/overlays.exp: Record addresses of overlay
18380 functions in TCL variables rather than in GDB variables,
18381 to avoid having GDB convert them to pointers (with loss
18382 of information).
18383
d63a86f8 18384 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 18385 default linker script changes.
c15b0d21
MS
18386 * gdb.base/long_long.exp: Add check for sizeof (long double).
18387
be26fe0d
ML
183882002-06-06 Michal Ludvig <mludvig@suse.cz>
18389
18390 * gdb.asm/asm-source.exp: Add x86-64 target.
18391 * gdb.asm/x86_64.inc: New.
d63a86f8 18392
258093ca 183932002-05-30 Michael Chastain <mec@shout.net>
258093ca 18394
4b3153f1 18395 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
18396 * gdb.c++/m-static.cc: New file.
18397 * gdb.c++/m-static.exp: New file.
18398
241264c6
MS
183992002-05-28 Michael Snyder <msnyder@redhat.com>
18400
18401 * gdb.base/call-ar-st.exp: Allow for reduced floating point
18402 precision.
18403
9bba8c8f 184042002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 18405
4b3153f1 18406 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
18407 * gdb.c++/m-data.cc: New file.
18408 * gdb.c++/m-data.exp: New file.
18409
184102002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 18411
4b3153f1 18412 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 18413 * gdb.c++/try_catch.cc: New file.
d63a86f8 18414 * gdb.c++/try_catch.exp: New file.
9bba8c8f 18415
def1b996
MC
184162002-05-27 Michael Chastain <mec@shout.net>
18417
18418 * gdb.c++/local.exp: Accept more nested types in output.
18419
522ba268
MC
184202002-05-26 Michael Chastain <mec@shout.net>
18421
18422 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
18423
277254ba
MS
184242002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
18425
18426 * lib/gdb.exp (gdb_wrapper_init): Just because
18427 gdb_wrapper_file exists, this does not mean that the file
18428 should not be rebuilt. That is what gdb_wrapper_initialized
18429 is for.
18430 (default_gdb_init): Reset gdb_wrapper_initialized.
18431
b61a8733
MS
184322002-05-23 Michael Snyder <msnyder@redhat.com>
18433
d63a86f8 18434 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
18435 the precision of the floating point test results.
18436 * gdb.base/call-rt-st.exp: Ditto.
18437
b61a8733
MS
18438 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
18439 * gdb.base/call-rt-st.exp: Ditto.
18440
56f6e910
MC
184412002-05-19 Michael Chastain <mec@shout.net>
18442
18443 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
18444
ad0b0016
EZ
184452002-05-19 Elena Zannoni <ezannoni@redhat.com>
18446
a9c64011
AS
18447 * configure.in (configdirs): Add gdb.arch.
18448 * configure: Regenerate.
ad0b0016 18449
f617d2b6
JB
184502002-05-17 Jim Blandy <jimb@redhat.com>
18451
18452 * gdb.base/completion.exp: Recognize the more detailed error
18453 messages produced by the macro expander's lexical analyzer.
18454
eac2a696
EZ
184552002-05-14 Elena Zannoni <ezannoni@redhat.com>
18456
a9c64011
AS
18457 * gdb.arch/altivec-abi.c: New file.
18458 * gdb.arch/altivec-abi.exp: New file.
18459 * gdb.arch/altivec-regs.c: New file.
18460 * gdb.arch/altivec-regs.exp: New file.
eac2a696 18461
2fdde8f8
DJ
184622002-05-14 Daniel Jacobowitz <drow@mvista.com>
18463
18464 * gdb.base/maint.exp (maint print type): Update for new type
18465 structure.
d63a86f8 18466
e31f1a7c
EZ
184672002-05-14 Elena Zannoni <ezannoni@redhat.com>
18468
18469 * gdb.arch: New directory.
18470 * gdb.arch/configure.in: New file.
18471 * gdb.arch/configure: New file.
18472 * gdb.arch/Makefile.in: New file.
18473
db589741
CV
184742002-05-13 Corinna Vinschen <vinschen@redhat.com>
18475
18476 * gdb.asm/asm-source.exp: Add v850 as supported target.
18477 * gdb.asm/v850.inc: New file.
18478
8ce2a7dc
DJ
184792002-05-13 Daniel Jacobowitz <drow@mvista.com>
18480
18481 * gdb.c++/annota2.exp (annotate-quit): Add comment.
18482
df763c7f
DJ
184832002-05-12 Daniel Jacobowitz <drow@mvista.com>
18484
18485 * gdb.base/break.exp: Check 'break "marker2"'.
18486
377daeed
MS
184872002-05-10 Michael Snyder <msnyder@redhat.com>
18488
18489 * gdb.base/long_long.exp: Fix typo.
18490
c4b7bc2b
JB
184912002-05-10 Jim Blandy <jimb@redhat.com>
18492
ecac9a4e
JB
18493 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
18494 a bug.
18495
c4b7bc2b
JB
18496 * gdb.base/printcmds.exp (test_integer_literals_rejected):
18497 Recognize more detailed error message produced by the macro
18498 expander's lexical analyzer.
18499 * lib/gdb.exp (test_print_reject): Same.
18500
e71019a1
MK
185012002-05-09 Mark Kettenis <kettenis@gnu.org>
18502
18503 * gdb.c++/method.exp: Fix typo.
18504
fedfc8e6
MS
185052002-05-08 Michael Snyder <msnyder@redhat.com>
18506
166a1957
MS
18507 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
18508 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 18509 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
18510 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
18511 Add iftarget clause for strongarm.
d63a86f8 18512
f1c47eb2
MS
185132002-05-06 Michael Snyder <msnyder@redhat.com>
18514
cb9a9d3e
MS
18515 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
18516 (gdb_continue_to_end): Accept output from status wrapper.
18517 * gdb.base/ending-run.exp: Add case for output from status wrapper.
18518 Clean up fail messages to match pass messages.
18519
f1c47eb2
MS
18520 Enable the "needs_status_wrapper" testsuite feature.
18521 * lib/gdb.exp (gdb_wrapper_init): New procedure.
18522 (gdb_compile): Conditionally call gdb_wrapper_init.
18523 * gdb.base/a2-run.exp: Recognize output from status wrapper.
18524 * gdb.c++/method.exp: Recognize output from status wrapper.
18525
6079c749
BE
185262002-05-06 Ben Elliston <bje@redhat.com>
18527From Graydon Hoare <graydon@redhat.com>
18528
18529 * config/sid.exp: Include support for "rawsid" protocol.
18530
188baff3
JB
185312002-05-03 Jim Blandy <jimb@redhat.com>
18532
18533 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
18534 * gdb.c++/hang3.C: New file.
18535
b9c07f0f
AC
185362002-05-04 Andrew Cagney <ac131313@redhat.com>
18537
18538 * gdb.base/default.exp: Remove obsolete code.
18539 * gdb.c++/misc.exp: Ditto. Update copyright.
18540 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
18541 * gdb.base/whatis.exp: Ditto. Update copyright.
18542 * gdb.base/scope.exp: Ditto. Update copyright.
18543 * gdb.base/ptype.exp: Ditto. Update copyright.
18544 * gdb.base/printcmds.exp: Ditto. Update copyright.
18545 * gdb.base/opaque.exp: Ditto. Update copyright.
18546 * gdb.base/list.exp: Ditto.
18547 * gdb.base/funcargs.exp: Ditto. Update copyright.
18548 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
18549 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
18550 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
18551 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
18552 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
18553 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
18554
5c7a0397
MS
185552002-05-02 Michael Snyder <msnyder@redhat.com>
18556
d6dcc264 18557 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
18558 * gdb.base/long_long.exp: Add xscale target.
18559 * gdb.base/default.exp: Add xscale target.
18560
eb7f1c48
JB
185612002-05-01 Jim Blandy <jimb@redhat.com>
18562
18563 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
18564 gdb.c++/hang.exp: New test.
18565
a6befae8
FF
185662002-05-01 Fred Fish <fnf@redhat.com>
18567
18568 * gdb.base/completion.exp: Handle completions of "./Make" for
18569 more than one completion possibility, as is the case when we
18570 build and test in the source tree.
18571
0a310277
AG
185722002-04-29 Anthony Green <green@redhat.com>
18573
18574 * gdb.java/jmisc1.exp: New file.
18575 * gdb.java/jmisc2.exp: New file.
18576
6ff9af88
DJ
185772002-04-24 Daniel Jacobowitz <drow@mvista.com>
18578
18579 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
18580
96b3d632
EZ
185812002-04-23 Elena Zannoni <ezannoni@redhat.com>
18582
18583 * gdb.base/help.exp: Change 'help status' to allow for target
18584 dependent output differences.
18585
5019bb54
MC
185862002-04-22 Michael Chastain <mec@shout.net>
18587
18588 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
18589
a805a116
MC
185902002-04-22 Michael Chastain <mec@shout.net>
18591
18592 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
18593
a1706bfd
DM
185942002-04-17 David S. Miller <davem@redhat.com>
18595
18596 * gdb.asm/sparc64.inc: New file.
18597 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
18598
a73a20a2
EZ
185992002-04-19 Elena Zannoni <ezannoni@redhat.com>
18600
18601 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
18602 instruction file directly into the build tree. Clean up at end of
18603 test.
18604
ba678339
DM
186052002-04-18 David S. Miller <davem@redhat.com>
18606
18607 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
18608 handle 64-bit platforms correctly.
18609 * gdb.base/maint.exp: Likewise.
18610
b03399da
KB
186112002-04-18 Kevin Buettner <kevinb@redhat.com>
18612
18613 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
18614 ``-fpic'' when compiling files comprising a shared library, but
18615 it does need additional linker flags in order to find shared
18616 libraries at run time.
18617
e2004992
KB
186182002-04-18 Kevin Buettner <kevinb@redhat.com>
18619
18620 * gdb.base/cvexpr.c (use): New function.
18621 (main): Invoke use() on all global variables to prevent
18622 some linkers from deleting these otherwise unused symbols.
18623
d8937120
MC
186242002-04-17 Michael Chastain <mec@shout.net>
18625From David S. Miller <davem@redhat.com>
18626
18627 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
18628 handle 64-bit platforms correctly.
18629
ffd61a58
MS
186302002-04-12 Michael Snyder <msnyder@redhat.com>
18631From Jim Blandy <jimb@redhat.com>
a9c64011 18632 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
18633 script can handle this instead.
18634 * gdb.base/bar.c (barx): Same.
18635 * gdb.base/baz.c (bazx): Same.
18636 * gdb.base/grbx.c (grbxx): Same.
18637
18638 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
18639 manager doesn't automatically unmap overlays unnecessarily.
18640
6b8426a6
MH
186412002-04-10 Martin M. Hunt <hunt@redhat.com>
18642
18643 * gdb.base/ending-run.exp: Fix pattern for Mips targets
18644 stepping out of main.
18645
34af4875
MC
186462002-04-09 Michael Chastain <mec@shout.net>
18647
18648 * gdb.c++/local.cc (main): Move call to marker1() inside nested
18649 scope so that the nested scope tests will make sense.
18650 * gdb.c++/local.exp: Write patterns that actually work with gcc
18651 (the HP patterns "were never known to work with gcc").
18652 Keep the old aCC patterns too.
18653
2d1676a0
DJ
186542002-04-09 Daniel Jacobowitz <drow@mvista.com>
18655
18656 * gdb.base/attach.exp: Correct target board test.
18657
3a63e3f9
MC
186582002-04-08 Michael Chastain <mec@shout.net>
18659
18660 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
18661 in a const method. Add some xfail and fail cases for configurations
18662 that do not emit the "const ...".
18663
f18dabd2
MC
186642002-04-07 Michael Chastain <mec@shout.net>
18665
18666 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
18667 Accept "A * const" and "const A * const" as type of "this".
18668 Fix spelling of getFunky throughout. Make messages uniform.
18669
0fcddd82
EZ
186702002-04-07 Elena Zannoni <ezannoni@redhat.com>
18671
a9c64011 18672 Work around for PR gdb/285:
0fcddd82
EZ
18673 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
18674
16a8534a
EZ
186752002-04-07 Elena Zannoni <ezannoni@redhat.com>
18676
18677 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
18678 instructions file at run time instead of configure time.
18679 Sometimes we run the test in a directory that is not the one we
18680 configured in.
18681 * gdb.asm/configure.in: Delete creation of symlink.
18682 * gdb.asm/configure: Regenerate.
18683
24181d81
JB
186842002-04-05 J. Brobecker <brobecker@gnat.com>
18685
18686 * gdb.gdb/xfullpath.exp: New test, to exercise the new
18687 xfullpath () function.
18688
7cdb7107
DJ
186892002-04-04 Daniel Jacobowitz <drow@mvista.com>
18690
18691 * gdb.asm/Makefile.in: Correct dependencies.
18692
18693 * gdb.asm/powerpc.inc: New file.
18694 * gdb.asm/asm-source.exp: Add PowerPC.
18695 * gdb.asm/configure.in: Likewise.
18696 * gdb.asm/configure: Regenerated.
18697
a7d17088
DJ
186982002-04-04 Daniel Jacobowitz <drow@mvista.com>
18699
18700 * gdb.base/relocate.exp: New file.
18701 * gdb.base/relocate.c: New file.
18702
cd721503
FF
187032002-04-04 Fred Fish <fnf@redhat.com>
18704
18705 * gdb.base/step-test.exp: Update comment regarding stopping in
18706 memcpy/bcopy calls inserted as part of the compiler runtime.
18707
b22ad7a7
MS
187082002-04-04 Michael Snyder <msnyder@redhat.com>
18709
18710 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
18711
5f279fa6
DJ
187122002-04-03 Daniel Jacobowitz <drow@mvista.com>
18713
18714 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
18715 (gdb_expect): Remove $notransfer hack.
18716
dd0fd3ce
DJ
187172002-04-02 Daniel Jacobowitz <drow@mvista.com>
18718
18719 * gdb.c++/classes.exp ("calling method for small class"): Match
18720 updated register output.
18721
1e50cda1
DJ
187222002-03-30 Daniel Jacobowitz <drow@mvista.com>
18723
18724 Fix PR gdb/452
18725 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
18726 when finished. Make gdb_file_cmd send "exec-file" when
18727 appropriate.
18728
24015922
DJ
187292002-03-30 Daniel Jacobowitz <drow@mvista.com>
18730
18731 * gdb.base/attach.exp: Remove extra setup_xfail.
18732
dd7dfd64
MS
187332002-03-26 Michael Snyder <msnyder@redhat.com>
18734
18735 * gdb.base/default.exp: Add tests for dump, append, and restore.
18736 * gdb.base/help.exp: Add tests for dump, append, and restore.
18737 * gdb.base/dump.exp: New file, test dump, append and restore.
18738 * gdb.base/dump.c: New file.
18739
48b2f8d7
MS
187402002-03-27 Michael Snyder <msnyder@redhat.com>
18741
d63a86f8 18742 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
18743 clean-ups in help messages.
18744
05b4d525
FF
187452002-03-26 Fred Fish <fnf@redhat.com>
18746
18747 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
18748 have debugging info for those functions and the compiler uses them
18749 internally to copy structs around.
18750
d7679631
FF
187512002-03-26 Fred Fish <fnf@redhat.com>
18752
18753 * gdb.base/list.exp: Revert the change made yesterday and add note
18754 about why we don't list the default lines for remote targets.
18755
523ac3f9
MS
187562002-03-25 Michael Snyder <msnyder@redhat.com>
18757
18758 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
18759
754b2b8d
FF
187602002-03-25 Fred Fish <fnf@redhat.com>
18761
18762 * gdb.base/list.exp: This test works on remote targets so remove
18763 the short circuit for remote targets. Update copyright.
18764
33c3e192
FF
187652002-03-25 Fred Fish <fnf@redhat.com>
18766
18767 * gdb.base/attach.exp: Fix logic error that was suppressing this
18768 test for all non hppa*-*-hpux* targets, instead of the hp target.
18769 Move comments closer to the suppression point. Also now need to
18770 check that we are running natively.
18771
d43e73ee
MS
187722002-03-22 Michael Snyder <msnyder@redhat.com>
18773
882c8f02
MS
18774 * gdb.base/default.exp: Add test for gcore. Update copyright.
18775 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 18776
04c12f60
FF
187772002-03-06 Fred Fish <fnf@redhat.com>
18778
18779 * gdb.base/funcargs.c: Remove extraneous ';' character.
18780 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
18781
b43df995
MC
187822002-03-04 Michael Chastain <mec@shout.net>
18783
18784 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
18785 accommodate gcc v3 function signature.
18786 * gdb.mi/mi0-var-cmd-exp: Ditto.
18787
92362027
AC
187882002-02-24 Andrew Cagney <ac131313@redhat.com>
18789
18790 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
18791 ``GNU/Linux'' or ``Linux kernel''
18792 * testsuite/gdb.threads/pthreads.c: Ditto.
18793
258ad32d
MC
187942002-02-24 Michael Chastain <mec@shout.net>
18795
18796 * gdb.threads/pthreads.c (thread1): Add a return statement.
18797 (thread2): Likewise.
18798 (foo): Likewise.
18799
04c3b3d4
MC
188002002-02-23 Michael Chastain <mec@shout.net>
18801
18802 * gdb.threads/linux-dp.c (philosopher): Add a return statement
18803 to placate gcc.
18804
5a2a0a20
MC
188052002-02-23 Michael Chastain <mec@shout.net>
18806
18807 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
18808 test "ptype bint". The test passes on all my stabs configurations.
18809
a640f7fc
JB
188102002-02-21 Jim Blandy <jimb@redhat.com>
18811
27924826
JB
18812 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
18813 filename at a time, and watch for the ones we want to see.
18814
a640f7fc
JB
18815 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
18816 types of pointers to prototyped functions.
18817
edcc8c75
AC
188182002-02-20 Andrew Cagney <ac131313@redhat.com>
18819
18820 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
18821 signed, unsigned and straight char.
18822 (padding_char, padding_short, padding_int, padding_long,
18823 padding_long_long, padding_float, padding_double,
18824 padding_long_double): New global variables.
18825 (fill, fill_structs): New functions.
18826
18827 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
18828 for correctly sized writes. Update copyright.
18829 (get_valueof): New procedure.
18830 (get_sizeof): Call get_valueof.
18831 (check_valueof): New procedure.
18832 (check_padding): New procedure.
18833
ac57ea44
MC
188342002-02-20 Michael Chastain <mec@shout.net>
18835
18836 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
18837 to setup_xfail. Document some of the remaining calls.
18838
7a10c941
MC
188392002-02-18 Michael Chastain <mec@shout.net>
18840
18841 * gdb.c++/userdef.exp: Update copyright year.
18842
fb8acdcc
DJ
188432002-02-18 Daniel Jacobowitz <drow@mvista.com>
18844
18845 * gdb.c++/userdef.exp: Test overloaded operators properly.
18846 Remove xfails.
18847
fda6ae12
MS
188482002-02-14 Michael Snyder <msnyder@redhat.com>
18849
18850 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
18851
676a0442
DJ
188522002-02-14 Daniel Jacobowitz <drow@mvista.com>
18853
18854 * gdb.base/a2-run.exp: Check for a remote target properly.
18855 * gdb.base/annota1.exp: Likewise.
18856 * gdb.base/list.exp: Likewise.
18857 * gdb.base/reread.exp: Likewise.
18858 * gdb.base/scope.exp: Likewise.
18859 * gdb.base/shlib-call.exp: Likewise.
18860 * gdb.base/term.exp: Likewise.
18861 * gdb.c++/annota2.exp: Likewise.
18862
78b4f468
RE
188632002-02-13 Richard Earnshaw <rearnsha@arm.com>
18864
18865 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
18866
9a81ba51
MC
188672002-02-10 Michael Chastain <mec@shout.net>
18868
18869 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
18870 (call_after_alloca): Ditto.
18871
004af6c7
DJ
188722002-02-10 Daniel Jacobowitz <drow@mvista.com>
18873
18874 * gdb.base/ending-run.exp: Guard "cont" test with
18875 gdb_skip_stdio_test.
18876
37225f62
JB
188772002-02-06 Jim Blandy <jimb@redhat.com>
18878
18879 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
18880 from here...
18881 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
18882 To here. Disable this test on non-HP platforms. Add big comment.
18883
fe6fdd96
MS
188842002-02-04 Michael Snyder <msnyder@redhat.com>
18885
18886 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
18887 other than d10v and m32r.
18888
036fad3f
RE
188892002-02-02 Richard Earnshaw <rearnsha@arm.com>
18890
18891 * gdb.base/default.exp: Rewrite test patterns to reduce time
18892 taken to match them.
18893
7148ab62
DJ
188942002-01-30 Daniel Jacobowitz <drow@mvista.com>
18895
18896 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
18897 Allow a start function above main.
18898 * gdb.threads/linux-dp.exp: Fix copyright date.
18899
396cc255
DJ
189002002-01-30 Daniel Jacobowitz <drow@mvista.com>
18901
a9c64011
AS
18902 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
18903 (check_philosopher_stack): Check for manager thread before checking
18904 for a just-starting thread.
396cc255 18905
f038d31b
DJ
189062002-01-30 Daniel Jacobowitz <drow@mvista.com>
18907
18908 From Neil Booth <neil@daikokuya.demon.co.uk>:
18909 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
18910 warnings.
18911
b3ff9d9a
FF
189122002-01-21 Fred Fish <fnf@redhat.com>
18913
18914 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
18915 not caller.
18916
39ad761d
JB
189172002-01-21 Jim Blandy <jimb@redhat.com>
18918
18919 * gdb.base/reread.exp: Check that GDB properly re-reads the
18920 executable file when it changes while no inferior is running.
18921
aaf320fa
FF
189222002-01-21 Fred Fish <fnf@redhat.com>
18923
a9c64011
AS
18924 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
18925 optionally accept the "shlib events" variation.
aaf320fa 18926
808a31f5
JB
189272002-01-21 Jim Blandy <jimb@redhat.com>
18928
18929 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
18930 call `fflush' after every `printf', so that the output is produced
18931 at predictable points, regardless of whatever buffering does (or
18932 doesn't) take place.
18933 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
18934 at different points.
18935
4420d5e2
DJ
189362002-01-20 Daniel Jacobowitz <drow@mvista.com>
18937
18938 * gdb.c++/inherit.exp: Update copyright years.
18939 * gdb.c++/method.exp: Likewise.
18940
3e36a0f4
DJ
189412002-01-20 Daniel Jacobowitz <drow@mvista.com>
18942
18943 * gdb.c++/classes.exp: Update for improved v3 support and skipping
18944 artificial methods/arguments.
18945 * gdb.c++/derivation.exp: Likewise.
18946 * gdb.c++/inherit.exp: Likewise.
18947 * gdb.c++/method.exp: Likewise.
18948 * gdb.c++/virtfunc.exp: Likewise.
18949
b4ceaee6
AC
189502002-01-18 Andrew Cagney <ac131313@redhat.com>
18951
18952 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
18953 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
18954 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
18955 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
18956 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
18957 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
18958
ecace851
JB
189592002-01-17 Jim Blandy <jimb@redhat.com>
18960
18961 * gdb.asm/asm-source.exp (info symbol): Take another shot at
18962 anchoring the pattern matching the entry point symbol's name.
18963
375fc983
AC
189642002-01-17 Andrew Cagney <ac131313@redhat.com>
18965
18966 * gdb.base/maint.exp: Update ``maint internal-error'' to match
18967 continue/quit query. Update copyright.
18968
fe6fdd96
MS
189692002-01-14 Michael Snyder <msnyder@redhat.com>
18970
18971 * gdb.base/gcore.exp: Remove extra debugging output.
18972
e017c81f
DJ
189732002-01-13 Daniel Jacobowitz <drow@mvista.com>
18974
18975 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
18976 for slightly dubious v2 mangled string.
18977
37ab3bf8
DJ
189782002-01-13 Daniel Jacobowitz <drow@mvista.com>
18979
18980 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
18981
1bc05c3a 189822002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 18983
1bc05c3a 18984 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 18985
1bc05c3a
JM
18986 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
18987 constructors.
18988 * gdb.c++/derivation.exp: Likewise.
18989 * gdb.c++/templates.exp: Likewise.
18990 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 18991
1bc05c3a
JM
189922002-01-10 Michael Snyder <msnyder@redhat.com>
18993
18994 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 18995
a911c360
MS
189962002-01-08 Michael Snyder <msnyder@redhat.com>
18997
18998 * gdb.base/gcore.exp: New test for generate-core-file command.
18999 * gdb.base/gcore.c: Testcase for above.
19000 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
19001
ea2119ec
JM
190022002-01-08 Jason Merrill <jason@redhat.com>
19003
19004 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
19005
68203136
FF
190062002-01-07 Fred Fish <fnf@redhat.com>
19007
19008 * gdb.c++/overload.exp: Remove unconditional xfails for:
19009 print foo_instance1.overloadargs(1)
19010 print foo_instance1.overloadargs(1, 2)
19011 print foo_instance1.overloadargs(1, 2, 3)
19012 print foo_instance1.overloadargs(1, 2, 3, 4)
19013 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
19014 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
19015 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
19016 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
19017 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
19018 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
19019 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
19020 print foo_instance1.overload1arg()
19021 print foo_instance1.overload1arg((char)arg2)
19022 print foo_instance1.overload1arg((signed char)arg3)
19023 print foo_instance1.overload1arg((unsigned char)arg4)
19024 print foo_instance1.overload1arg((int)arg7)
19025 print foo_instance1.overload1arg((unsigned int)arg8)
19026 print foo_instance1.overload1arg((float)arg11)
19027 print foo_instance1.overload1arg((double)arg12)
d63a86f8 19028
21b9b5b1
MS
190292002-01-07 Michael Snyder <msnyder@redhat.com>
19030
19031 * gdb.base/huge.exp: New test. Print a very large target data object.
19032 (skip_huge_test): New test variable. Define if you want to skip this
19033 test. The test reads an 8 megabyte data object from the target, so it
19034 might be very time consuming on remote targets with a slow connection.
19035 * gdb.base/huge.c: New file. Test case for above.
19036
725f922e
FF
190372002-01-07 Fred Fish <fnf@redhat.com>
19038
19039 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
19040 g_instance.bfoo, and g_instance.cfoo.
19041
889bf7c5 190422002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 19043
889bf7c5
PA
19044 * gdb.base/break.c (multi_line_if_conditional): New function.
19045 (multi_ilne_while_conditional): Likewise.
19046 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
19047 IF or WHILE condition puts the breakpoint at the start of
19048 the condition.
f286b2c3 19049
634d57ec
JL
19050 * gdb.base/selftest.exp (backtrace through signal handler): Remove
19051 hppa*-*-hpux* expected failure.
19052 * gdb.base/structs.exp (do_function_calls): Similarly.
19053
19054 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
19055 watchpoints.
19056
9fbfe2dc
AC
190572002-01-06 Andrew Cagney <ac131313@redhat.com>
19058
19059 Fix PR gdb/66.
19060 * gdb.base/structs.exp: Replace skip for a29k with skip for
19061 gdb,cannot_call_functions.
19062 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
19063 * gdb.base/callfuncs.exp: Ditto.
19064 * gdb.base/call-rt-st.exp: Ditto.
19065 * gdb.base/call-strs.exp: Ditto.
19066 * gdb.base/callfwmall.exp: Ditto.
19067 * gdb.base/scope.exp: Obsolete xfail a29k.
19068 * gdb.c++/misc.exp: Ditto.
19069 * gdb.c++/cplusfuncs.exp: Ditto.
19070 * gdb.base/ptype.exp: Ditto.
19071 * gdb.base/printcmds.exp: Ditto.
19072 * gdb.base/opaque.exp: Ditto.
19073 * gdb.base/list.exp: Ditto.
19074 * gdb.base/funcargs.exp: Ditto.
19075 * gdb.base/default.exp: Ditto.
19076
8ddad156
MS
190772002-01-04 Michael Snyder <msnyder@redhat.com>
19078
ca4976a6 19079 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
19080 * gdb.base/maint.exp: Add tests for maint info sections options.
19081
1b074332
JL
19082Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
19083
19084 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
19085
7d159115
CV
190862001-12-20 Corinna Vinschen <vinschen@redhat.com>
19087
19088 * gdb.asm/arm.inc: New file.
19089 * gdb.asm/asm-source.exp: Add arm targets.
19090 * gdb.asm/configure.in: Ditto.
19091 * gdb.asm/configure: Recreated from configure.in.
19092
8fb87725
JL
19093Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
19094
afabe08c
JL
19095 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
19096 with HP's compiler.
19097 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
19098 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
19099 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
19100 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
19101
19102 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
19103 either HP's compilers or GCC.
19104
db521deb
JL
19105 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
19106 a SIGBUS or SIGSEGV.
19107
19108 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
19109
19110 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
19111 can be compiled with either HP's compiler or GCC.
19112
cfa88ab7
JL
19113 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
19114 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
19115 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
19116
ca344dff
JL
19117 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
19118 to match current gdb output. Update due to using auto-solib-limit
19119 for limiting instead of overloading auto-solib-add.
19120 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
19121 test program.
19122
3f3c6e55 19123 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
19124 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
19125 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
19126 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
19127 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
19128 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
19129 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
19130 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
19131 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
19132 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
19133 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
19134 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
19135 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 19136
8fb87725
JL
19137 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
19138 a SIGTRAP to the inferior.
19139
cf599fa7
CV
191402001-12-19 Corinna Vinschen <vinschen@redhat.com>
19141
19142 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
19143 Substitute call to target_link by call to gdb_compile.
19144
2cd045cd
JL
19145Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
19146
a9c64011
AS
19147 * gdb.base/break.exp: Fix HP specific search string when testing
19148 backtracing in a called function.
2cd045cd 19149
a9c64011
AS
19150 * gdb.base/constvars.exp: Only set lang to C++ if we're
19151 compiling the test with HP's compilers.
19152 * gdb.base/volatile.exp: Similarly.
2cd045cd 19153
99ebe9ac
JB
191542001-12-19 Jim Blandy <jimb@redhat.com>
19155
19156 * gdb.base/printcmds.exp: Expect the null character to be printed
19157 as '\0', and the '\013' to be printed as '\v'.
19158 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
19159 * gdb.base/setvar.exp: Same.
19160
b9891b29
JB
191612001-12-17 Jim Blandy <jimb@redhat.com>
19162
0eba65ab
JB
19163 * gdb.base/completion.exp: Rather than completing very long
19164 filenames, which can make the readline library produce output we
19165 don't recognize, cd to the directory first, and then complete
19166 using nice, short relative paths.
19167
6970b5b1
JB
19168 * gdb.base/completion.exp: On some systems, there is, in fact, a
19169 variable named `b' in scope, since GDB treats all static
a9c64011
AS
19170 variables as being in scope. So use `no_var_named_this'
19171 instead of `b'.
6970b5b1 19172
b9891b29 19173 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 19174 can't find the core file's registers as a failure.
b9891b29 19175
e6ccd35f
JSC
191762001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
19177
a9c64011
AS
19178 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
19179 test expect string more specific.
e6ccd35f 19180
105ba819
CV
191812001-12-13 Corinna Vinschen <vinschen@redhat.com>
19182
19183 * gdb.asm/asm-source.exp: Add support for xstormy16.
19184 * gdb.asm/configure.in: Ditto.
19185 * gdb.asm/configure: Rebuild.
19186 * gdb.asm/xstormy16.inc: New file.
19187
e9e79dd9
FF
191882001-12-10 Fred Fish <fnf@redhat.com>
19189
19190 * gdb.base/maint.exp: Update to match changes in type dumping code.
19191
347dc97d
JB
191922001-12-10 Jim Blandy <jimb@redhat.com>
19193
19194 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
19195 matching the entry point symbol's name at the beginning of the
19196 line.
347dc97d 19197
5178b9d6
DJ
191982001-12-07 Daniel Jacobowitz <drow@mvista.com>
19199
19200 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
19201 gdb.c++/inherit.exp, gdb.c++/method.exp,
19202 gdb.c++/namespace.exp, gdb.c++/templates.exp,
19203 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
19204 and class layout support.
19205
af890c52
DJ
192062001-12-07 Daniel Jacobowitz <drow@mvista.com>
19207
19208 * gdb.c++/classes.exp: Add test for static member function.
19209 * gdb.c++/misc.cc: Add class with static member function.
19210
7a345fb3
JB
192112001-12-07 Jim Blandy <jimb@redhat.com>
19212
f2e54a80 19213 If GDB says it can't find the struct the function returned, report
8032bf31
JB
19214 those tests as `unsupported'.
19215 * gdb.base/call-rt-st.exp (print_struct_call): New function.
19216 Rewrite subsequent tests to use it.
19217
19218 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
19219 those tests as `unsupported'.
19220 * gdb.base/structs.exp (call_struct_func): New function.
19221 (do_function_calls): Use call_struct_func to call the functions
19222 returning structs.
19223
0bc69509
JB
19224 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
19225 whether functions are prototyped or not, so we can't possibly pass
19226 arguments to t_float_values2 properly.
19227
7a345fb3
JB
19228 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
19229 value of `timeout' for targets other than the mips*tx39-*.
19230
edb6ede1
MS
192312001-12-06 Michael Snyder <msnyder@redhat.com>
19232
d63a86f8 19233 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
19234 and detect whether the start symbol has a leading underscore.
19235
2d842f13
JB
192362001-12-04 Jim Blandy <jimb@redhat.com>
19237
19238 * gdb.base/completion.exp: Clarify indentation.
19239
68550daf
JB
192402001-12-03 Jim Blandy <jimb@redhat.com>
19241
19242 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
19243 variables on the S/390, not `.word'.
19244
cd5195a8
JB
192452001-11-30 Jim Blandy <jimb@redhat.com>
19246
19247 Add assembly-source tests for s390-ibm-linux.
19248 * gdb.asm/s390.inc: New file.
19249 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
19250 the S/390 architecture.
a9c64011 19251 * gdb.asm/configure: Regenerated.
cd5195a8 19252
ca9efc90
MS
192532001-11-30 Michael Snyder <msnyder@redhat.com>
19254
19255 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
19256 next, info source, info sources, info line, global and static
19257 variables, and static functions.
19258 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
19259 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
19260 * gdb.asm/asmsrc1.s: Add a static function and some variables.
19261 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
19262 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
19263 (gdbasm_leave): Restore frame pointer.
19264 (gdbasm_startup): Copy stack set-up from crt0.S.
19265
d0e66976
FN
192662001-11-26 Fernando Nasser <fnasser@redhat.com>
19267
19268 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
19269 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
19270 to a local (non-static) variable. Copy tstruct.a to a static buffer
19271 and return a pointer to that buffer.
19272 * gdb.base/callfwmall.c (t_structs_a): Ditto.
19273
e2334072
MK
192742001-11-24 Mark Kettenis <kettenis@gnu.org>
19275
19276 * gdb.asm/configure.in: Fix recognition of ix86 target.
19277 * gdb.asm/configure: Regenerate.
19278
756caa3d
MS
192792001-11-21 Michael Snyder <msnyder@redhat.com>
19280
19281 * gdb.asm/sparc.inc: New file.
19282 * gdb.asm/asm-source.exp: Recognize sparc target.
19283 * gdb.asm/configure.in: Recognize sparc target.
19284 * gdb.asm/configure: Regenerate.
d63a86f8 19285
9a4d72d5
MS
192862001-11-21 Michael Snyder <msnyder@redhat.com>
19287
19288 * gdb.asm/m32r.inc: New file.
19289 * gdb.asm/asm-source.exp: Recognize m32r target.
19290 * gdb.asm/configure.in: Recognize m32r target.
19291 * gdb.asm/configure: Regenerate.
19292
a773d1cd
MS
192932001-11-20 Michael Snyder <msnyder@redhat.com>
19294
017ac23d
MS
19295 * gdb.asm/i386.inc: New file.
19296 * gdb.asm/asm-source.exp: Recognize ix86 target.
19297 * gdb.asm/configure.in: Recognize ix86 target.
19298 * gdb.asm/configure: Regenerate.
19299
a773d1cd
MS
19300 * gdb.c++/namespace.exp: Fix quotes in output messages.
19301
bb632afb
MS
193022001-11-14 Michael Snyder <msnyder@redhat.com>
19303
25d559ca 19304 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
19305 qualifier in a type cast expression, to designate an address
19306 in the instruction space (Harvard architecture).
19307
4749e309
MS
193082001-11-13 Michael Snyder <msnyder@redhat.com>
19309
19310 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
19311 Tests for expressions using 'const' and 'volatile'.
19312
25050984
CV
193132001-11-13 Corinna Vinschen <vinschen@redhat.com>
19314
19315 * gdb.asm/asm-sources.exp: Allow defining linker flags.
19316
1902c51f
DJ
193172001-11-12 Daniel Jacobowitz <drow@mvista.com>
19318
19319 * lib/mi-support.exp (mi_run_to_helper): Move comments
19320 outside of gdb_expect.
19321
dcf95b47
DJ
193222001-11-11 Daniel Jacobowitz <drow@mvista.com>
19323
19324 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
19325 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
19326 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
19327 mi0_run_to): New functions.
19328 * gdb.mi/mi-simplerun.exp: Use them.
19329 * gdb.mi/mi0-simplerun.exp: Likewise.
19330 * gdb.mi/mi-var-cmd.exp: Likewise.
19331 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 19332
45b074e1
AC
193332001-11-10 Andrew Cagney <ac131313@redhat.com>
19334
19335 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
19336 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
19337
bf50d346
AC
193382001-11-09 Andrew Cagney <ac131313@redhat.com>
19339
19340 * gdb.base/restore.exp: Include $expected value in restored test
19341 message.
19342
9383332c
AC
193432001-11-09 Andrew Cagney <ac131313@redhat.com>
19344
19345 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
19346 implemented.
19347
db62520a
MS
193482001-11-08 Michael Snyder <msnyder@redhat.com>
19349
19350 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
19351 Add pass/fail message for stop at breakpoint in call dummy function.
19352
b5703437
MS
193532001-11-07 Michael Snyder <msnyder@redhat.com>
19354
d63a86f8
RM
19355 * gdb.c++/templates.exp (test_template_breakpoints):
19356 If we get an overload menu, but it does not match what
760f6330 19357 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
19358 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
19359 making the whitespace optional. Argument for "new" may be
19360 "unsigned" as well as "unsigned int/long".
d63a86f8 19361 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
19362 making the whitespace optional. Also replace "(void) with
19363 "((void|)), making the keyword "void" optional.
d63a86f8 19364 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
19365 making the whitespace optional. Also replace "(void) with
19366 "((void|)), making the keyword "void" optional.
3bf40917
MS
19367 * gdb.base/callfuncs.c (t_float_values): This function must
19368 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 19369 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
19370 can be tested against both cases. Usually one case involves
19371 promotion of float to double, while the other does not.
19372 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
19373 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
19374 includes a stack frame for "start".
19375
c8ab4e6d
JB
193762001-11-05 Jim Blandy <jimb@redhat.com>
19377
19378 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
19379 pointers are 32 bits long, and that offsets of relocs are always
19380 stored in the data (REL-style), and not in the reloc entry itself
19381 (RELA-style).
19382 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
19383 stabs.
19384
3f08ced9
MS
193852001-11-01 Michael Snyder <msnyder@redhat.com>
19386
19387 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
19388 and regular expression operators by using quoting.
19389
cbfa24cd
MS
193902001-10-31 Michael Snyder <msnyder@redhat.com>
19391
19392 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
19393 depending on what the symbol table contains.
19394 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
19395 the output of the ptype command. Similarly, accept both "const &"
19396 and "const&".
19397
aaa68313
CV
193982001-10-31 Corinna Vinschen <vinschen@redhat.com>
19399
19400 * gdb.base/miscexprs.c (main): Add usage of preprocessor
19401 symbol `STORAGE' to allow to choose the storage class of
19402 the local datastructures.
19403 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
19404 compiler directive.
19405
91740388
MS
194062001-10-30 Michael Snyder <msnyder@redhat.com>
19407
19408 * gdb.base/jump.exp: Allow it to run for all targets.
19409
1b7c05e7
CV
194102001-10-29 Corinna Vinschen <vinschen@redhat.com>
19411
19412 * gdb.base/call-ar-st.c (print_double_array): Match for loop
19413 with new double_array size.
19414 (main): Change storage class of all local variables to static.
19415 Reduce size of double_array to 9.
19416 * gdb.base/call-ar-st.exp: Increase timeout value.
19417 Change expected output for double array to match new size in
19418 call-ar-st.c.
19419
36a22261
CV
194202001-10-29 Corinna Vinschen <vinschen@redhat.com>
19421
19422 * gdb.base/ending-run.exp: Create identical output when passing
19423 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 19424 Stormy16 target.
36a22261 19425
92b8ae91
MK
194262001-10-28 Mark Kettenis <kettenis@gnu.org>
19427
19428 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
19429 that we catch the expected failure under Linux/x86.
19430
cb135b83
OF
194312001-10-29 Orjan Friberg <orjanf@axis.com>
19432
19433 * gdb.base/setvar.exp: Escape curly braces.
19434 * gdb.stabs/weird.exp: Ditto.
19435
6884aa54
DJ
194362001-10-27 Daniel Jacobowitz <drow@mvista.com>
19437
19438 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
19439 * gdm.mi/mi0-hack-cli.exp: Likewise.
19440
0398c9aa
AC
194412001-10-25 Andrew Cagney <ac131313@redhat.com>
19442
19443 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
19444 messages.
19445
d20bf2e8
AC
194462001-10-21 Andrew Cagney <ac131313@redhat.com>
19447
19448 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
19449 checking MI enabled.
19450
03dd63aa
CV
194512001-10-09 Corinna Vinschen <vinschen@redhat.com>
19452
19453 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
19454
1d9d99f3
FCE
194552001-10-04 Frank Ch. Eigler <fche@redhat.com>
19456
19457 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
19458 if gdb child process crashes, just signal an error.
19459
838ae6c4
JB
194602001-10-02 Jim Blandy <jimb@redhat.com>
19461
19462 * lib/gdb.exp (test_xfail_format): Simplify.
19463
19464 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
19465 front of the variable name `format'. Simplify `if'.
19466
8f0cbc1c
DJ
194672001-10-01 Daniel Jacobowitz <drow@mvista.com>
19468
19469 * gdb.threads/pthreads.exp: Wait for output and delay
19470 before sending ^C.
19471
1f08dafd
DJ
194722001-10-01 Daniel Jacobowitz <drow@mvista.com>
19473
19474 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
19475 some incorrect output instead of timing out.
19476 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
19477
674f90ff
CV
194782001-09-28 Corinna Vinschen <vinschen@redhat.com>
19479
19480 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
19481 check to allow additional `int'.
19482
9b284272
DJ
194832001-09-27 Daniel Jacobowitz <drow@mvista.com>
19484
19485 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
19486 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
19487
b55a4771
MS
194882001-09-27 Michael Snyder <msnyder@redhat.com>
19489
19490 * lib/gdb.exp (test_debug_format): New proc.
19491 (setup_xfail_format): Use new proc test_debug_format.
19492 * gdb.base/constvars.exp (local_compiler_xfail_check): New
19493 proc; use new service proc test_debug_format.
19494 Replace all other "gcc_compiled" tests with this test.
19495 * gdb.base/volatile.exp (local_compiler_xfail_check): New
19496 proc; use new service proc test_debug_format.
19497 Replace all other "gcc_compiled" tests with this test.
19498
194992001-09-27 Michael Snyder <msnyder@redhat.com>
19500
19501 * gdb.base/cvexpr.exp: New file.
19502 * gdb.base/cvexpr.c: New file
19503 Test for expressions using const and volatile keywords.
19504
4e6667ac
CV
195052001-09-26 Corinna Vinschen <vinschen@redhat.com>
19506
19507 * gdb.base/constvars.exp: Check for different orders of keywords
19508 and additional "int" strings in output.
19509
4f337972
AC
195102001-09-22 Andrew Cagney <ac131313@redhat.com>
19511
19512 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
19513 responses from "help maint".
19514
2015650d
FCE
195152001-09-19 Frank Ch. Eigler <fche@redhat.com>
19516
19517 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
19518 to localhost:NNN instead of :NNN, in case Xvfb is listening
19519 only on TCP.
19520
f3bcedc1
CV
195212001-09-19 Corinna Vinschen <vinschen@redhat.com>
19522
19523 * gdb.base/recurse.exp: When checking leaving the watchpoint
19524 scope, recognize when gdb is in function's epilogue and pass.
19525
6b819c92
KS
195262001-09-18 Keith Seitz <keiths@redhat.com>
19527
19528 * lib/insight-support.exp (_gdbtk_export_target_info): Add
19529 support for running tests against sid targets.
19530 (gdbtk_done): Ditto.
19531
a10c9419
CV
195322001-09-18 Corinna Vinschen <vinschen@redhat.com>
19533
19534 * gdb.base/ending-run.c (main): Set stdout buffersize
19535 to the same reasonable value for any target.
19536 * gdb.base/ending-run.exp: Add a regular expression
19537 to make testsuite happy on Sanyo Stormy16 target.
19538
739d0d99
CV
195392001-09-17 Corinna Vinschen <vinschen@redhat.com>
19540
19541 * gdb.base/display.c (do_loops): Add float variable `f'.
19542 Increment f in loop.
19543 * gdb.base/display.exp: Increment timeout by 60 seconds.
19544 Change float display test to use variable `f'.
19545
1b8947f0
JB
195462001-09-17 Jim Blandy <jimb@redhat.com>
19547
19548 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
19549 overflowing the limited breakpoint tables on some ROM monitors
19550 (like the ROM68K).
19551
9890ac81
FCE
195522001-09-15 Frank Ch. Eigler <fche@redhat.com>
19553
19554 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
19555 the "-ac" (disable access control) flag.
19556
6db765ea
JH
195572001-08-30 Jeff Holcomb <jeffh@redhat.com>
19558
19559 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
19560 ints.
19561
4c32cc04
KS
195622001-08-30 Keith Seitz <keiths@redhat.com>
19563
19564 * lib/gdb.exp: Move all insight-related functionality into
19565 separate file.
19566 * lib/insight-support.exp: New file.
19567
8d6e6f81
FCE
195682001-08-29 Frank Ch. Eigler <fche@redhat.com>
19569
19570 * config/sid.exp (sid_start): Never set sid verbosity; disable
19571 expect_background {} that consumed its stdout; tolerate </dev/null.
19572 Attempt to set endianness override in "sid" protocol mode. Cleanup.
19573
6a90e1d0
AC
195742001-08-18 Andrew Cagney <ac131313@redhat.com>
19575
19576 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
19577 CLI jump command to start it.
19578 (mi_run_to_main): Fail immediatly when unexpected output.
19579
1759b3c3
AC
195802001-08-18 Andrew Cagney <ac131313@redhat.com>
19581
19582 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
19583 beginning of function. Fix PR gdb/191.
19584
61d11d80
FCE
195852001-08-16 Frank Ch. Eigler <fche@redhat.com>
19586
19587 * config/sid.exp (sid_start): Don't warn if we cannot figure out
19588 what to force sid endianness to.
19589
942a4df2
KS
195902001-08-15 Keith Seitz <keiths@redhat.com>
19591
19592 * lib/gdb.exp (gdbtk_start): Don't set environment
19593 variables for TCL_LIBRARY and friends. Insight will
19594 now figure these out for itself.
19595
0521c418
MS
195962001-08-02 Michael Snyder <msnyder@redhat.com>
19597
19598 * gdb.base/completion.exp: Remove the symbol "a64l" from
19599 the expect string; this is target-specific, and not related
19600 to what is being tested.
19601
74a9a58a
DB
196022001-08-02 Dave Brolley <brolley@redhat.com>
19603
19604 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
19605
c70819fa
MS
196062001-07-25 Michael Snyder <msnyder@redhat.com>
19607
c2b8fa57
MS
19608 * gdb.base/consecutive.exp: New file. Test stepping over
19609 breakpoints on consecutive instructions.
19610 * gdb.base/consecutive.c: New file.
19611
c70819fa
MS
19612 * gdb.base/call-rt-st.exp: Use double-backslash to quote
19613 curly braces in regular expressions.
19614
2b1a1355
MS
196152001-07-25 Michael Snyder <msnyder@redhat.com>
19616
19617 * gdb.base/ending-run.exp: Accept "Program exited normally" as
19618 legitimate output from stepping out of main.
19619
413eca6f
KS
196202001-07-22 Keith Seitz <keiths@redhat.com>
19621
19622 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
19623 the empty string, do not run the tests.
19624
7e5a9322
SC
196252001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19626
19627 * gdb.base/long_long.exp: Detect size of pointer. Take into
19628 account 2-byte pointers when testing for p/a results.
19629
de58f10f
SC
196302001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19631
d63a86f8 19632 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
19633 and defined to 1K for m68hc11.
19634 (random_data): Reduce table to 1K for embedded platforms (68hc11).
19635 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
19636 (sizeof_random_data): New variable to tell the size of the data table;
19637 don't test past this size; always run to main.
19638
d6f5fea1
SC
196392001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19640
19641 * gdb.base/return2.exp: return of long long and double fails for
19642 68HC11; don't execute these tests on that platform.
19643 * gdb.base/return.exp: Return of a double fails for 68hc11.
19644
c477543d
SC
196452001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19646
19647 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
19648 tests that print a float.
19649 * call-rt-st.exp: Likewise.
19650
63cf1c79
MK
196512001-07-12 Mark Kettenis <kettenis@gnu.org>
19652
19653 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
19654 running this test on Linux.
19655
112f9ab5
MC
196562001-06-24 Michael Chastain <chastain@redhat.com>
19657
19658 * gdb.base/arithmet.exp: Remove some tests to make all test names
19659 unique.
19660
4970cb0f
MS
196612001-07-03 Michael Snyder <msnyder@redhat.com>
19662
19663 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
19664 the output of the ptype command.
19665
d85da69f
MS
196662001-07-02 Michael Snyder <msnyder@redhat.com>
19667
4c8a82de
MS
19668 * gdb.base/completion.exp: Don't assume that break.c is the only
19669 source file that may contain functions named "marker".
d85da69f
MS
19670 * gdb.base/corefile.exp: Quote the curly braces in regexp.
19671
8afc772b
AC
196722001-06-28 Andrew Cagney <ac131313@redhat.com>
19673
19674 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
19675 of files to delete.
19676
19677 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
19678 * gdb.disasm/h8300s.exp: New file.
19679 gdb.disasm/h8300s.s: Likewise.
19680
cff22675
AC
196812001-06-27 Andrew Cagney <ac131313@redhat.com>
19682
19683 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
19684 empty breakpoint tables.
19685
68c81b54
AC
196862001-06-25 Andrew Cagney <ac131313@redhat.com>
19687
19688 * lib/mi-support.exp: Update args=... part of stop-reason
19689 patterns. Accept either a list or a tuple.
19690
2dd62704
AC
196912001-06-23 Andrew Cagney <ac131313@redhat.com>
19692
19693 * lib/mi-support.exp: Remove local emacs variable defining
19694 change-log-default-name.
19695
b4127474
MC
196962001-06-22 Michael Chastain <chastain@redhat.com>
19697
19698 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
19699 This is operationally compatible with the previous version.
19700
8dbfb380
JB
197012001-06-13 Jim Blandy <jimb@redhat.com>
19702
19703 * lib/gdb.exp (gdb_test): Doc fix.
19704
f2d8c86d
MC
197052001-06-10 Michael Chastain <chastain@redhat.com>
19706
19707 * gdb.base/exprs.exp: Remove a duplicate test.
19708
81564d34
JB
197092001-06-06 Jim Blandy <jimb@redhat.com>
19710
19711 * gdb.base/return2.exp (main): Use values to test float and double
19712 returns that are not NaN's, to avoid being confused by IEEE
19713 comparison rules.
19714
da55addb
MS
197152001-06-04 Michael Snyder <msnyder@redhat.com>
19716
19717 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 19718 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
19719 rather than wait for 12 more tests to time out.
19720
42c65987
JB
197212001-06-06 Jim Blandy <jimb@redhat.com>
19722
b18bced9 19723 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 19724 Don't forget to match the GDB prompt.
b18bced9 19725
42c65987
JB
19726 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
19727
5b41e5f0
JB
197282001-06-04 Jim Blandy <jimb@redhat.com>
19729
19730 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
19731 command.
19732
015e046f
KB
197332001-05-31 Kevin Buettner <kevinb@redhat.com>
19734
19735 * gdb.base/annota1.exp (info break): Match four or more spaces
19736 after "Address".
19737
fb1ffbbe
MC
197382001-05-31 Michael Chastain <chastain@redhat.com>
19739
19740 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
19741 (dm_type_int_star): Likewise.
19742 (dm_type_long_star): Likewise.
19743 (dm_type_void_star): Likewise.
19744
5ea2a32c
KB
197452001-05-29 Kevin Buettner <kevinb@redhat.com>
19746
19747 * gdb.base/completion.exp (INPUTRC): Set this environment variable
19748 to a known value in order to get consistent results regardless
19749 of the setting of INPUTRC or the presence or contents of .inputrc.
19750
ae23c492
MS
197512001-05-24 Michael Snyder <msnyder@redhat.com>
19752
ac55707e
MS
19753 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
19754 Don't require that the main thread and the manager thread are the
19755 first in the list.
19756
ae23c492
MS
19757 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
19758 debugging. If test fails, issue an "unsupported" not a "fail".
19759
400071f1
JB
197602001-05-24 Jim Blandy <jimb@redhat.com>
19761
19762 Don't assume that short is shorter than int.
19763 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
19764 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 19765 this isn't true.
400071f1
JB
19766 ("print unsigned char == (~0)"): Add test that verifies that ~0,
19767 an int, is not equal to ~0 stored in an unsigned char. This tests
19768 the same thing that the previous test meant to, but works on
19769 16-bit machines, too.
19770 ("print unsigned char != (~0)"): Same test, complemented.
19771
0816a3e5
MS
197722001-05-24 Michael Snyder <msnyder@redhat.com>
19773
19774 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 19775 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
19776 and prevents dejagnu getting out of step.
19777
f6dc23a9
KB
197782001-05-23 Kevin Buettner <kevinb@redhat.com>
19779
19780 * gdb.base/finish.exp (finish_void): Revise pattern for
19781 stopping on the call statement to not permit stopping at
19782 the start of the instructions comprising the call sequence.
19783
7dbd117d
MC
197842001-05-19 Michael Chastain <chastain@redhat.com>
19785
19786 * gdb.base/callfuncs.exp: Make all test names unique.
19787 * gdb.base/commands.exp: Make all test names unique.
19788 * gdb.base/condbreak.exp: Make all test names unique.
19789 * gdb.base/dbx.exp: Make all test names unique.
19790 * gdb.base/default.exp: Make all test names unique.
19791 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
19792 and TIMEOUT messages to their corresponding PASS message.
19793 * gdb.base/ending-run.exp: Make all test names unique.
19794 * gdb.base/long_long.exp: Remove duplicate test.
19795
6b0b0a9e
KB
197962001-05-21 Kevin Buettner <kevinb@redhat.com>
19797
19798 * gdb.base/finish.exp (finish_void): Allow "finish" command to
19799 stop on the call statement as well as the statement after the
19800 call.
19801
2caa35cb
MS
198022001-05-21 Michael Snyder <msnyder@redhat.com>
19803
19804 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
19805
40713331
EZ
198062001-05-10 Elena Zannoni <ezannoni@redhat.com>
19807
a9c64011
AS
19808 * gdb.base/completion.exp: Revamp test. Make it execute on all
19809 platforms.
40713331 19810
c2c1be8d
EZ
198112001-05-10 Elena Zannoni <ezannoni@redhat.com>
19812
a9c64011
AS
19813 * config/gdbserver.exp (gdb_load): Handle the case
19814 in which the arguments to gdbserver are given in the
19815 baseboard configuration file.
19816 Also handle the case in which the server needs to do a
19817 load.
2c9cd303 19818
9671de48
KS
198192001-05-07 Keith Seitz <keiths@cygnus.com>
19820
a9c64011
AS
19821 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
19822 set up the display for testing.
19823 (gdbtk_start): Convert all paths to paths that tcl will like.
19824 Export target information to environment.
19825 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
19826 necessary.
19827 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
19828 (to_tcl_path): New proc to convert a given pathname into
19829 a path acceptible as an argument to a tcl command.
19830 (_gdbtk_export_target_info): New proc to export target info
19831 into the environment for gdbtk testing.
19832 (gdbtk_done): New proc to signal end-of-test.
9671de48 19833
5a360f47
JB
198342001-05-06 Jim Blandy <jimb@redhat.com>
19835
19836 * restore.c: Make the code of caller0 correspond to its comment.
19837
66c756c6
MS
198382001-05-03 Michael Snyder <msnyder@redhat.com>
19839
19840 * config/sid.exp (gdb_target_sid): Check for error messages.
19841 On error or timeout, don't make expect exit (which will terminate
19842 all subsequent tests); instead just make gdb exit.
d63a86f8 19843 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
19844 return a negative value.
19845
a966fde5
JB
198462001-04-24 Jim Blandy <jimb@redhat.com>
19847
851c18e0
JB
19848 * gdb.c++/templates.exp: If we see the prompt for the overload
19849 list, but we haven't recognized any of the longer patterns,
19850 arrange for this test to fail, not hang.
19851
a966fde5
JB
19852 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
19853 variations.
19854
db144853
MC
198552001-04-22 Michael Chastain <chastain@redhat.com>
19856
19857 * gdb.c++/local.exp: Use the 'runto' library function.
19858 * gdb.c++/namespace.exp: Likewise.
19859 * gdb.c++/overload.exp: Likewise.
19860
3207ec21
KB
198612001-03-26 Kevin Buettner <kevinb@redhat.com>
19862
19863 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
19864 * gdb.base/step-line.exp: New file. Test step/next in presence of
19865 #line directives.
19866 * gdb.base/step-line.c: New file. Test program for the above.
19867 * gdb.base/step-line.inp: New file. We pretend that this file has
19868 been transformed by some other tool into step-line.c.
19869
13b57657
JB
198702001-03-21 Jim Blandy <jimb@redhat.com>
19871
19872 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
19873 unmangled operator names.
19874
754cbe1c
JB
198752001-03-20 Jim Blandy <jimb@redhat.com>
19876
19877 * gdb.threads/linux-dp.exp: Recognize an additional message
19878 generated by GDB when it doesn't understand how to debug threads
19879 on the target system.
19880
177495c9
AC
198812001-03-19 Andrew Cagney <ac131313@redhat.com>
19882
19883 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
19884
f266096b
MC
198852001-03-12 Michael Chastain <chastain@redhat.com>
19886
19887 * gdb.c++/derivation.exp: Use the 'runto' library function.
19888
cac3c2ff
MC
198892001-03-12 Michael Chastain <chastain@redhat.com>
19890
19891 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
19892
b6c11a24
MC
198932001-02-24 Michael Chastain <chastain@redhat.com>
19894
19895 * gdb.c++/ref-types.exp: Change handwritten code to library
19896 function 'runto'.
19897
6bae5bce
OF
198982001-03-16 Orjan Friberg <orjanf@axis.com>
19899
19900 * gdb.base/signals.exp: Set count to 0 explicitly.
19901
0015fd9a
MS
199022001-03-15 Mark Salter <msalter@redhat.com>
19903
19904 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
19905 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
19906 (gdb_load): Add support for additional target_info: gdb_download_size
19907 and gdb_load_timeout.
0015fd9a 19908
fc33412a
DT
19909Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
19910
19911 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
19912 file -- to prevent failing when the compile fails but we have no
19913 intention of running the tests anyway.
fc33412a
DT
19914
19915 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
19916 tests if set.
19917
19918 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 19919 integers.
fc33412a
DT
19920
19921 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
19922 * gdb.c++/namespace.exp: Ditto.
19923
115f06de
OF
199242001-03-07 Orjan Friberg <orjanf@axis.com>
19925
19926 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
19927 * gdb.base/pointers.exp: Relax pattern match of decimals.
19928
b6ba6518
KB
199292001-03-06 Kevin Buettner <kevinb@redhat.com>
19930
19931 * Makefile.in, config/abug.exp, config/cfdbug.exp,
19932 config/cpu32bug.exp, config/dve.exp, config/est.exp,
19933 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
19934 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
19935 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
19936 config/sh.exp, config/sid.exp, config/slite.exp,
19937 config/sparclet.exp, config/udi.exp, config/unknown.exp,
19938 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
19939 config/vxworks.exp, config/vxworks29k.exp,
19940 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
19941 gdb.base/all-bin.exp, gdb.base/annota1.exp,
19942 gdb.base/arithmet.exp, gdb.base/assign.exp,
19943 gdb.base/async.exp, gdb.base/attach.exp,
19944 gdb.base/bitfields.exp, gdb.base/bitops.exp,
19945 gdb.base/break.exp, gdb.base/call-ar-st.exp,
19946 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
19947 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
19948 gdb.base/commands.exp, gdb.base/completion.exp,
19949 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
19950 gdb.base/constvars.exp, gdb.base/corefile.exp,
19951 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
19952 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
19953 gdb.base/ending-run.exp, gdb.base/environ.exp,
19954 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
19955 gdb.base/finish.exp, gdb.base/foll-exec.exp,
19956 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
19957 gdb.base/funcargs.exp, gdb.base/help.exp,
19958 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
19959 gdb.base/logical.exp, gdb.base/long_long.exp,
19960 gdb.base/maint.exp, gdb.base/mips_pro.exp,
19961 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
19962 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
19963 gdb.base/pointers.exp, gdb.base/printcmds.exp,
19964 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
19965 gdb.base/regs.exp, gdb.base/relational.exp,
19966 gdb.base/remote.exp, gdb.base/reread.exp,
19967 gdb.base/restore.exp, gdb.base/return2.exp,
19968 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
19969 gdb.base/selftest.exp, gdb.base/setshow.exp,
19970 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
19971 gdb.base/sigall.exp, gdb.base/signals.exp,
19972 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
19973 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
19974 gdb.base/step-test.exp, gdb.base/structs.c,
19975 gdb.base/structs.exp, gdb.base/structs2.exp,
19976 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
19977 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
19978 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
19979 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
19980 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
19981 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
19982 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
19983 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
19984 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
19985 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
19986 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
19987 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
19988 gdb.fortran/types.exp, gdb.java/jmisc.exp,
19989 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
19990 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
19991 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
19992 gdb.trace/circ.exp, gdb.trace/collection.exp,
19993 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
19994 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
19995 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
19996 gdb.trace/report.exp, gdb.trace/save-trace.exp,
19997 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
19998 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
19999 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
20000 notices.
20001
dc96c6c7 200022001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
20003
20004 * gdb.base/varargs.c (find_max_double): Fix printf format string:
20005 first arg is int not float.
20006
dc96c6c7 200072001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
20008
20009 * gdb.base/reread.exp: Unsupported for non-native targets;
20010 doesn't work for remote debugging.
20011
9b0c4aeb
FN
200122001-02-19 Fernando Nasser <fnasser@redhat.com>
20013
20014 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
20015 * gdb.base/ending-run.exp: Properly handle the BSP state when
20016 stepping past the end of main.
9b0c4aeb 20017
02aa71d5
MC
200182001-02-19 John Moore <jmoore@redhat.com>
20019
20020 * gdb.base/commands.exp (infrun_breakpoint_command_test):
20021 Converted HPUX fix for non-expected items following multiple
20022 step commands into general solution for all platforms.
20023
1fa449a4
MC
200242001-02-18 Michael Chastain <chastain@redhat.com>
20025
20026 * gdb.c++/classes.exp (do_tests): Change runto statements
20027 from "runto 'foo(void)'" to "runto 'foo'". This makes the
20028 statements demangler agnostic.
20029 * gdb.c++/virtfunc.exp (do_tests): Likewise.
20030 (gdb_virtfunc_restart): Likewise.
20031
b2f9ec70
MC
200322001-02-14 Michael Chastain <chastain@redhat.com>
20033
20034 * gdb.c++/inherit.exp (do_tests): Change runto statements
20035 from "runto 'foo(void)'" to "runto 'foo'". This makes the
20036 statements demangler agnostic.
20037
cf74b8ca
AC
20038Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
20039
20040 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
20041 ``continue to bkpt at common_routine in thread 2'' and ``stopped
20042 before calling common_routine 15 times'' tests.
cf74b8ca 20043
99f78f56
MC
200442001-02-11 Michael Chastain <chastain@redhat.com>
20045
20046 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
20047 Helps the test script figure out which demangler is in use.
20048 (dm_type_foo_ref): Ditto.
20049 (dm_type_int_star): Ditto.
20050 (dm_type_long_star): Ditto.
20051 (dm_type_unsigned_int): Ditto.
20052 (dm_type_void): Ditto.
20053 (dm_type_void_star): Ditto.
99707966 20054 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
20055 Probe the gdb demangler and set variables to accommodate
20056 formatting differences.
20057 (info_func_regexp): New function. Same as info_func, but
20058 matches against a regexp.
20059 (info_func): Match against a literal string.
20060 (print_addr_2): New function. Match against a literal string,
20061 which can be different from the input to gdb.
20062 (print_addr): Simply call print_addr_2 with the same argument twice.
20063 (test_lookup_operator_functions): Use demangler formatting variables.
20064 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
20065 the tests in the same order as the C++ class declaration.
20066 (test_paddr_operator_functions): Ditto.
20067 (test_paddr_overloaded_functions): Ditto.
20068 (test_paddr_hairy_functions): Use demangler formatting variables.
20069 Add reference to gdb/19 for related tests.
20070 (do_tests): Call probe_demangler.
20071
1de8f023
KB
200722001-01-30 Kevin Buettner <kevinb@redhat.com>
20073
20074 * gdb.c++/templates.cc (printf): Remove unused function definition.
20075
ca3f91ed
MS
200762001-01-26 Felix Lee <flee@redhat.com>
20077
20078 * sid.exp (sid_exit): Pass host, not target, to remote_close.
20079
200802001-01-25 matthew green <mrg@redhat.com>
20081
20082 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
20083 up sid.
20084 (sid_exit): Call `remote_pop_conn' after GDB is gone.
20085
200862001-01-25 matthew green <mrg@redhat.com>
20087
20088 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 20089 Deprecate $sid_spawn_id.
ca3f91ed
MS
20090 (sid_exit): Remove code necessary only for `spawn.'
20091
200922001-01-25 matthew green <mrg@redhat.com>
20093
20094 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
20095
fb18ec4a
MC
200962001-01-28 Michael Chastain <chastain@redhat.com>
20097
20098 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
20099 to call when tests fail. It takes gdb out of the overloaded
20100 function choice menu back to the main prompt, so that the test
20101 program stays synchronized.
20102 (set_bp_overloaded): New proc to collect all the common
20103 code for setting a breakpoint on an overloaded name. Calls
20104 take_gdb_out_of_choice_menu when needed.
20105 (menu_overload1arg): New variable to collect the repeated
20106 instances of the expected menu for an overloaded name. Change
20107 the regular expression to handle changes in g++ type encoding:
20108 "void" can be either "void" or "", and "unsigned int" can be
20109 either "unsigned int" or "unsigned".
20110 (continue_to_bp_overloaded): Change regular expressions to handle
20111 changes in g++ type encoding.
20112 (no proc): Call take_gdb_out_of_choice_menu when needed.
20113 Remove redundant calls to "info break". Accept either "canceled"
20114 or "cancelled". Change regular expressions in "info break"
20115 calls to handle changes in g++ type encoding. Give all tests
20116 unique strings.
20117
9c646a6e
BE
201182001-01-17 Ben Elliston <bje@redhat.com>
20119
20120 * config/sid.exp: New file.
20121
9549d9c1
AC
20122Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
20123
20124 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
20125
dc96c6c7 201262000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
20127
20128 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
20129 Add a RE to accept a non-ascii char if one is ever presented.
20130
b4df4f68
FN
201312000-12-20 Fernando Nasser <fnasser@redhat.com>
20132
297dd0fd 20133 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 20134
dc96c6c7 201352000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 20136
d63a86f8 20137 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
20138 in regexp. One '\' does not suffice on Linux.
20139
4a7bddb6
MC
201402000-12-09 Michael Chastain <chastain@redhat.com>
20141
20142 * gdb.base/break.exp (test_clear_command): Use a marker function
20143 rather than 'main' for the test function. Also move this
20144 test to an execution point where the marker function names are
20145 guaranteed to be bound to functions. (Executing tests after a
20146 'finish' from main runs into name conflicts with local names
20147 in __libc_start_main).
20148
dc96c6c7 201492000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
20150
20151 * gdb.base/finish.exp: New test for gdb's "finish" command.
20152 * gdb.base/return2.exp: New test for gdb's "return" command.
20153 * gdb.base/return2.c: New source file for above.
20154
dc96c6c7 201552000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
20156
20157 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
20158 * gdb.base/miscexprs.exp: Ditto.
20159 * gdb.base/pointers.exp: Ditto.
20160 * gdb.c++/derivation.exp: Ditto.
20161 * gdb.c++/local.exp: Ditto.
20162 * gdb.c++/namespace.exp: Ditto.
20163 * gdb.c++/overload.exp: Ditto.
20164 * gdb.c++/ref-types.exp: Ditto.
20165
dc96c6c7 201662000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
20167
20168 * gdb.base/constvars.exp: Test result of "up" command.
20169 * gdb.base/miscexprs.exp: Ditto.
20170 * gdb.base/pointers.exp: Ditto.
20171 * gdb.base/scope.exp: Ditto.
20172 * gdb.c++/derivation.exp: Ditto.
20173 * gdb.c++/local.exp: Ditto.
20174 * gdb.c++/namespace.exp: Ditto.
20175 * gdb.c++/overload.exp: Ditto.
20176 * gdb.c++/ref-types.exp: Ditto.
20177
44097287
FN
201782000-11-22 Michael Chastain <chastain@redhat.com>
20179
20180 * mips_pro.exp: Accept either "middle -> top -> main" or
20181 "middle -> main" in the backtrace, because gcc can optimize
20182 tail calls to jumps. Remove setup_xfail for the hppa case.
20183 Add a comment with the original warning messages from PR 3016,
20184 which was filed in 1993, to preserve them for posterity.
20185
9d2e1bab
ND
201862000-11-17 Nick Duffek <nsd@redhat.com>
20187
20188 * lib/gdb.exp (gdb_test): Override timeout with board info.
20189
1aca8eb7
ND
201902000-11-17 Nick Duffek <nsd@redhat.com>
20191
20192 * gdb.base/display.exp: Don't kill running stub. Add "again" to
20193 the second kill and detach messages.
20194
93076499
ND
201952000-11-17 Nick Duffek <nsd@redhat.com>
20196
20197 * configure.in: Add AC_EXEEXT.
20198 * configure: Regenerate.
20199 * Makefile.in (just-check): Export EXEEXT.
20200 * lib/gdb.exp ($EXEEXT): Import from environment.
20201 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
20202 expect "maint dump-me" on Cygwin.
20203 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
20204 $EXEEXT.
20205
30e87cd3
ND
202062000-11-17 Nick Duffek <nsd@redhat.com>
20207
20208 * gdb.base/break.exp: Test backtrace and finish from called
20209 function on all platforms, not just HP-UX.
20210
dc96c6c7 202112000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
20212
20213 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
20214 code from gdb_target_monitor, so it can be used independantly
20215 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 20216
dc96c6c7 202172000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
20218
20219 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
20220 * gdb.base/corefile.exp: Expect the message "Program is being
20221 debugged already" when we send the "corefile" command, since
20222 the preceeding gdb_load may have connected gdb to a remote target.
20223 * gdb.base/display.exp: Disable hardware watchpoints if new
20224 board info variable "no_hardware_watchpoints" is true.
20225 Replace single-letter commands with more readable ones.
20226 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
20227 if new board info variable "no_hardware_watchpoints" is true.
20228 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
20229 to see if stdio (printf) testing is possible.
20230 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
20231 board info variable "no_hardware_watchpoints" is true. Use new
20232 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
20233
39124dea
FN
202342000-11-13 Fernando Nasser <fnasser@redhat.com>
20235
20236 From Orjan Friberg <orjanf@axis.com>:
20237 * gdb.base/printcmds.exp: Escape curly braces followed by a number
20238 in array print pattern match.
20239
a9e2e984
FN
202402000-11-09 Fernando Nasser <fnasser@redhat.com>
20241
20242 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
20243 spelling "cancelled" to U.S. spelling "canceled" to match changes
20244 made to gdb.
20245 * gdb.c++/ovldbreak.exp: Ditto.
20246
c7db355b
PS
202472000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
20248
20249 * gdb.base/callfuncs.c (main): Moved to end of file, call
20250 t_double_values to initialize the FPU before inferior calls are made.
20251 * gdb.base/callfuncs.exp: Test for register preservation after calling
20252 inferior functions. Add tests for continuining, finishing and
20253 returning from a stop in a call dummy.
20254
dc96c6c7 202552000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
20256
20257 * gdb.base/commands.exp: Break up long lines, and re-indent.
20258
dc96c6c7 202592000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
20260
20261 * config/gdbserver.exp: Rewritten from the ground up, to make it
20262 compatible with the current dejagnu tree, and to make it work with
20263 the new "gdbserver" in libremote.
20264
dc96c6c7 202652000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
20266
20267 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
20268 * gdb.base/varargs.exp: Skip entire test if no printf support.
20269 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
20270 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
20271
dc96c6c7 202722000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
20273
20274 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
20275 no floating point support.
20276 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
20277 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
20278 * gdb.base/call-rt-st.exp: Ditto.
20279 * gdb.base/call-strs.exp: Ditto.
20280
bac5fc66
JG
202812000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
20282
20283 * gdb.base/sizeof.c: include <stdio.h>.
20284
20285 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
20286 'finish', otherwise uncaptured gdb_prompt would potentially
20287 throw remaining test points out of sync.
bac5fc66 20288
b22a6027
SB
202892000-07-26 Scott Bambrough <scottb@netwinder.org>
20290
20291 * gdb.base/recurse.exp: Run tests for all targets.
20292 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
20293 gnu-oldld case on ARM.
20294 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
20295 for ARM targets.
d63a86f8 20296
d8231941
AG
20297Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
20298
20299 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
20300 * gdb.java/configure: Rebuild.
20301
8caabe69
AG
20302Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
20303
20304 * gdb.java/jv-exp.exp: New file.
20305
9d273ca3
AG
20306Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
20307
20308 * configure: Rebuilt.
20309 * configure.in (configdirs): Add gdb.java.
20310 * gdb.java/jmisc.java: New file.
20311 * gdb.java/jmisc.exp: New file.
20312 * gdb.java/Makefile.in: New file.
20313 * gdb.java/configure: Rebuilt.
20314 * gdb.java/configure.in: New file.
20315 * lib/java.exp: New file.
20316
4f823a66
AC
20317Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
20318
20319 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 20320 underflow.
4f823a66 20321
2391e11d
AC
20322Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
20323
20324 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 20325 and the compilers sizes.
2391e11d 20326
54602222
ND
203272000-07-09 Nick Duffek <nsd@redhat.com>
20328
20329 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
20330 (use_methods): New function.
20331 (main): Call use_methods().
20332 * gdb.c++/classes.exp (test_method_param_class): New procedure.
20333 (do_tests): Call test_method_param_class.
20334
2bec0572
ND
203352000-07-09 Nick Duffek <nsd@redhat.com>
20336
20337 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
20338 spelling.
20339 (test_enums): New procedure. Move enum tests from end of script
20340 to here. Set breakpoint on function name instead of line number.
20341 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
20342 (enums2): New marker function.
20343 (enums1): New function.
20344 (main): Call enums1(). Move enum tests to enums1().
20345
78492fde
AC
20346Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
20347
20348 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 20349 compile/link program. Update line numbers.
78492fde
AC
20350 * gdb.asm/d10v.inc: Define ``startup''.
20351 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 20352
49a2cef8
AC
20353Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
20354
20355 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
20356
3e6c8688
EZ
203572000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20358
20359 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 20360 of 'help maint print' command.
3e6c8688 20361
9ff5cbe9
AC
20362Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
20363
20364 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 20365 they use gdb_expect_list.
9ff5cbe9 20366
17c579bd
AC
20367Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
20368
20369 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
20370 memory-read-packet-size'' instead of ``set endian big'' to test
20371 long commands.
17c579bd 20372
e6d71bf3
DB
203732000-06-03 Daniel Berlin <dan@cgsoftware.com>
20374
20375 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 20376 g++, and stop skipping them.
e6d71bf3
DB
20377
20378 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
20379 work under g++.
20380
d63a86f8 20381 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
20382 initialization.
20383
dc96c6c7 203842000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
20385
20386 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
20387 the regular expression: accept an (almost) arbitrary sequence of
20388 "frames-invalid" and "breakpoints-invalid" messages both before
20389 and after the "starting" message.
20390
dc96c6c7 203912000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
20392
20393 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 20394
dc96c6c7 203952000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
20396
20397 * gdb.base/annota1.exp (annotate-signal-handler-caller):
20398 Relax the regular expression a little, make it pass on Solaris 8.
20399
8216cda9
KB
204002000-05-12 Kevin Buettner <kevinb@redhat.com>
20401
20402 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 20403 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
20404 Instead, it is permissible for gdb to stop on the line of the
20405 call itself.
20406
1a570b2f
MS
204072000-05-12 Michael Snyder <msnyder@.cygnus.com>
20408
20409 * gdb.base/break.exp (bp on small function, optimized file):
20410 Add a second pass pattern. The behavior differs here between stabs
20411 and dwarf for one-line functions. Stabs preserves two line symbols
20412 (one before the prologue and one after) with the same line number,
20413 but dwarf regards these as duplicates and discards one of them.
20414 Therefore the address after the prologue (where the breakpoint is)
20415 has no exactly matching line symbol, and GDB reports the breakpoint
20416 as if it were in the middle of a line rather than at the beginning.
20417
dc96c6c7 204182000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 20419
d63a86f8 20420 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
20421 rather than "send_gdb" (for consistancy).
20422
7d418785
AC
20423Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
20424
20425 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
20426 * gdb.c++/templates.cc: Properly check for GCC version number.
20427 * lib/compiler.cc: Likewise
20428
dc96c6c7 204292000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 20430
d63a86f8 20431 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
20432 gdb may not stop at the first line of main, due to code motion.
20433
dc96c6c7 204342000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
20435
20436 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
20437 This test depends on parsing the printf output from the target.
20438 Since the sparclet stub doesn't do stdio, this will never work.
20439 * gdb.base/call-rt-st.exp: ditto.
20440 * gdb.base/call-strs: ditto.
20441
dc96c6c7 204422000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
20443
20444 * gdb.base/miscexprs.exp: make sizeof long array test portable.
20445
20446 * gdb.base/ending-run.exp: After connecting to a remote target,
20447 but before running, the target will appear to be in a random
20448 location. Specify both a file and a line for breakpoints.
20449 Also, the function that calls main may be called 'init'
20450 rather than 'start'.
20451
a5a51225
EZ
204522000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20453
20454 * gdb.base/help.exp: Update output for add-symbol-file command.
20455
7930cc7c
FN
204562000-04-10 Fernando Nasser <fnasser@cygnus.com>
20457
20458 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20459 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
20460
23e37ab1
C
204612000-04-07 J.T. Conklin <jtc@redback.com>
20462
e93c542c
C
20463 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
20464
23e37ab1
C
20465 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
20466
591b8fa3
PDM
20467Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
20468
20469 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 20470 values that can be represented exactly.
591b8fa3
PDM
20471 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
20472 above change, and to not check against the directory part of the source
20473 file name.
20474 (step into print_long_arg_list): Likewise.
20475 (print print_small_structs from print_long_arg_list): Likewise.
20476 (print print_long_arg_list): Likewise.
20477
7a495180
EZ
204782000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20479
30b53638 20480 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 20481
beb998c6
AC
20482Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
20483
20484 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
20485
1c689132
DB
204862000-03-25 Daniel Berlin <dan@cgsoftware.com>
20487
20488 * gdb.base/commands.exp (deprecated_command_test): Add test for
20489 deprecate with no arguments.
20490
c1790a9d
JL
204912000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
20492
20493 * gdb.base/break.exp: Add new test for setting breakpoints on
20494 optimized code so we can test breakpoints work even when function
20495 prologues may be optimized away
20496
003ba290
FN
204972000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
20498
20499 From David Whedon <dwhedon@gordian.com>
a9c64011 20500 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 20501
6837a0a2
DB
205022000-03-22 Daniel Berlin <dan@cgsoftware.com>
20503
20504 * gdb.base/help.exp: Added test for new apropos command.
20505
b9593231
KB
205062000-03-21 Kevin Buettner <kevinb@redhat.com>
20507
20508 * gdb.base/pointers.c (usevar): New function.
20509 (main): Make sure that global variables v_int_pointer2, rptr,
20510 and y are all referenced someplace in the program by calling
20511 usevar() on them. [Some linkers delete symbols which are
20512 never referenced. The space remains, but there's no way to
20513 get a (symbolic) handle on the variable from the debugger.]
20514
751a959b
EZ
205152000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20516
20517 * gdb.base/printcmds.c: Add typedeffed arrays.
20518
20519 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 20520 procedure to test arrays that are typedef'd.
751a959b 20521
73a93a32
JI
205222000-03-13 James Ingham <jingham@leda.cygnus.com>
20523
20524 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 20525 the library directories.
73a93a32 20526
fb40c209
AC
20527Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
20528
20529 * configure.in (configdirs): Add sub directory gdb.mi.
20530 * configure: Re-generate.
20531
20532 * gdb.mi: New directory.
d63a86f8 20533
ee4dd2c9
AC
205342000-02-25 Scott Bambrough <scottb@netwinder.org>
20535
20536 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 20537 a long long value as a double on ARM platforms.
ee4dd2c9 20538
70f0cc22
JB
205392000-02-16 Jim Blandy <jimb@redhat.com>
20540
20541 * gdb.base/break.exp ("breakpoint line number"): Make sure the
20542 default source file is set properly before running this test.
20543
853819b8
EZ
205442000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20545
20546 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 20547 gdbtk/library directory, not in gdbtcl2.
853819b8 20548
dfcd3bfb
JM
205492000-02-04 Jim Blandy <jimb@redhat.com>
20550
20551 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
20552 backslash from regexp pattern.
20553
20554 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
20555 procedure. Use it to run all the "continue to bp overloaded"
20556 tests. Note that this changes the names of the tests slightly.
20557 If the breakpoint hit message includes a hex PC value, because
20558 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
20559 from the real source code, still consider that a pass.
20560
20561 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
20562 XFAIL here if the breakpoint message contains a hex address. Note
20563 similar change on 1999-11-02.
20564
20565 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
20566
20567 * gdb.base/ptype.exp: Establish a default source file before
20568 calling get_debug_format.
20569
205702000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
20571
20572 * gdb.base/watchpoint.exp: Remove duplication of test messages.
20573
8b93c638
JM
205742000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
20575
20576 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
20577 of successive stepi commands -- while in the prologue we should see
20578 the function entry bracket.
20579
205802000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
20581
20582 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
20583 reach __change_mode() when stepping through the end of main().
20584
c5394b80
JM
205852000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
20586
20587 * gdb.base/default.exp: Fix expected pattern.
20588 * gdb.base/help.exp: Same.
20589
0d06e24b
JM
205902000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20591
20592 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 20593 Don't use xfail's because that affects only the following test.
d63a86f8 20594
0d06e24b 20595 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 20596 solaris or linux.
0d06e24b
JM
20597
20598 * gdb.base/selftest.exp: Update to reflect changes to main.c.
20599
dc96c6c7 206002000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 20601
d63a86f8 20602 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
20603 "A syntax error" rather than "A parse error". Accept both.
20604
206052000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
20606
20607 * gdb.base/default.exp: Remove OS dependent string from "target
20608 remote" test.
20609 * gdb.base/help.exp: Same for "help target remote" test.
20610
c3f6f71d
JM
206112000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20612
20613 From Jim Kingdon <kingdon@redhat.com>:
20614
20615 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
20616 prompt (cleanup rather than necessity, but still might keep output
20617 from spilling to next test).
c3f6f71d
JM
20618
206192000-01-02 Fred Fish <fnf@cygnus.com>
20620
20621 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
20622 AIX, which defines them in <sys/types.h>.
20623
ed9a39eb 206241999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 20625
ed9a39eb 20626 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 20627 float" test.
ed9a39eb
JM
20628
206291999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 20630
ed9a39eb 20631 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
20632
20633 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
20634 outermost frame disallowed".
20635
206361999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
20637
20638 * gdb.base/setvar.exp: New tests for setting the value of a struct
20639 with a constant list.
20640
206411999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20642
20643 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
20644 require the user to type a cast before setting the value of a struct.
20645
de57eccd
JM
206461999-12-06 Jim Blandy <jimb@cygnus.com>
20647
20648 * gdb.base/default.exp: Expect the new 'info float' command on
20649 all i386 platforms.
20650
20651 * gdb.threads/linux-dp.exp: Expand our ability to recognize
20652 LinuxThreads libraries that don't support debugging.
20653
c2d11a7d
JM
20654Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20655
20656 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
20657 Change the buffer type to ``unsigned char'' to simplify size
20658 arithmetic.
c2d11a7d
JM
20659
20660 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
20661 stub only handles 400-1 byte packets. Verify that the download
20662 worked.
c2d11a7d
JM
20663
206641999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
20665
20666 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
20667 tests, using UNRESOLVED for the untested cases. Also, does not wait
20668 for a timeout if the prompt was received before a recognizable pattern.
20669
206701999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
20671
20672 * lib/gdb.exp (gdb_expect_list): Fix spelling.
20673
206741999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20675
20676 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 20677 watchpoints.
c2d11a7d
JM
20678
206791999-11-24 Jason Merrill <jason@casey.cygnus.com>
20680
20681 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
20682
20683 * gdb.c++/local.exp: Be more flexible in recognizing local class
20684 name mangling. Don't allow horribly truncated method names.
20685 * gdb.c++/derivation.exp: Expect protected inheritance.
20686 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
20687 * gdb.c++/virtfunc.exp: Likewise.
20688 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
20689 when printing a nested enum.
20690
206911999-11-22 Jim Blandy <jimb@cygnus.com>
20692
20693 * gdb.base/step-test.exp: Properly await GDB's response to setting
20694 a breakpoint on the call to large_struct_by_value.
20695
20696 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
20697 just because we have debug info for the `start' function.
20698
206991999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
20700
20701 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
20702 "Unknown signal" messages, which indicate (on LinuxThreads) that
20703 GDB doesn't know how to debug threads on this system. This is
20704 better than hanging while philosopher 0 dumps chatter into gdb.log.
20705
207061999-11-18 Tom Tromey <tromey@cygnus.com>
20707
20708 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
20709
207101999-11-18 Fred Fish <fnf@cygnus.com>
20711
20712 * gdb.base/coremaker2.c: Add sample program for generating
20713 cores that is more self contained than coremaker.c. Eventually
20714 I'll add more code to this and tie it into the testsuite.
20715
4ce44c66
JM
207161999-11-12 Stan Shebs <shebs@andros.cygnus.com>
20717
20718 * gdb.base/dollar.exp: Remove, now in gdb.hp.
20719
207201999-11-10 Jimmy Guo <guo@cup.hp.com>
20721
20722 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 20723 from $srcdir/lib/.
4ce44c66 20724 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 20725 and gdb.c++/.
4ce44c66
JM
20726
20727 * gdb.c++/derivation.exp: remove redundant get compiler info code.
20728
d63a86f8 20729 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
20730 'continue with watch' test point.
20731
207321999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
20733
20734 Merged from p2linux-990323-branch:
d63a86f8 20735
4ce44c66
JM
20736 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
20737
11cf8741
JM
20738Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
20739
20740 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 20741 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
20742
20743Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
20744
20745 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 20746 gdb_expect_list.
11cf8741
JM
20747
20748Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
20749
20750 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
20751
207521999-11-03 Mark Salter <msalter@cygnus.com>
20753
20754 * gdb.base/break.exp: Fix "stub continue" pattern.
20755
207561999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
20757
20758 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
20759
207601999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
20761
20762 * gdb.base/display.exp ("finish"): Add timeout clause.
20763
20764 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
20765 plain prompt clause, so this doesn't have to time out in order to
20766 fail.
20767
20768 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 20769 breakpoint hit messages include an address.
11cf8741
JM
20770
20771 * gdb.base/display.exp: Don't forget to escape parens in regular
20772 expressions. Unix regexp notatation sucks.
20773
207741999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20775
20776 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 20777 order for 'signalled' message.
11cf8741 20778
5c44784c
JM
207791999-11-01 Stan Shebs <shebs@andros.cygnus.com>
20780
20781 From Jimmy Guo <guo@cup.hp.com>:
20782 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
20783 * gdb.base/annota1.c: Add code for tests to work with.
20784
207851999-10-26 Frank Ch. Eigler <fche@cygnus.com>
20786
20787 * gdb.base/remote.exp: New test for remote downloading settings.
20788 * gdb.base/remote.c: New file with large .data.
20789
917317f4
JM
207901999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
20791
20792 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
20793 for LinuxThreads support, merged from the Code Fusion branch.
20794
20795Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
20796
20797 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
20798 containing exp_continue into a while within an expect. Don't
20799 attempt a start more than three times. Check return value from
20800 gdb_load.
d63a86f8 20801
2df3850c
JM
20802Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
20803
20804 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 20805 a pass case.
2df3850c 20806
2acceee2
JM
208071999-10-01 Kevin Buettner <kevinb@cygnus.com>
20808
20809 * gdb.base/break.c (main): Added a statement that we can step
20810 off of.
20811 * gdb.base/break.exp: Added tests for setting a breakpoint
20812 at an offset and stepping onto a breakpoint.
20813
208141999-10-01 Fred Fish <fnf@cygnus.com>
20815
d63a86f8 20816 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
20817 gdb output.
20818
c2c6d25f
JM
208191999-09-18 Jim Blandy <jimb@cris.red-bean.com>
20820
20821 * gdb.base/break.exp: Code locations are in hex, don't forget!
20822 (For HP-UX.)
20823
208241999-09-17 Stan Shebs <shebs@andros.cygnus.com>
20825
20826 * condbreak.exp: Use break.c as test program.
20827 * condbreak.c: Remove, redundant with break.c.
20828
208291999-09-15 Stan Shebs <shebs@andros.cygnus.com>
20830
20831 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 20832 Z-packets if the target needs it.
c2c6d25f
JM
20833
208341999-09-13 James Ingham <jingham@leda.cygnus.com>
20835
20836 * gdb.c++/overload.exp: Added tests for listing overloaded
20837 functions with function pointers in the arg, explicitly calling
20838 out the version you want.
20839
cff3e48b
JM
208401999-09-09 Stan Shebs <shebs@andros.cygnus.com>
20841
20842 * long_long.exp: Add variations of test cases that work for
20843 targets with 16-bit ints and 32-bit doubles.
20844
d4f3574e
SS
208451999-09-08 Stan Shebs <shebs@andros.cygnus.com>
20846
20847 * break.c (main): Compare a possibly-uninitialized argc with an
20848 unlikely value that fits in 16 bits.
20849
208501999-09-07 Stan Shebs <shebs@andros.cygnus.com>
20851
20852 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
20853 0xfeeb, don't want negative numbers if ints are 16 bits.
20854
20855 * lib/gdb.exp (skip_cplus_tests): New proc.
20856 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
20857 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
20858 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
20859 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
20860 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
20861 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
20862 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
20863 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
20864
20865 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
20866
20867Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
20868
20869 * gdb.base/corefile.exp (up): Allow a parameter to appear
20870 in the frame that we're going up to.
20871
20872 From Jim Blandy <jimb@cygnus.com>:
20873
20874 * gdb.base/default.exp (info float): Expect some output now.
20875
20876 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
20877 returning floating-point values to fail on the x86.
20878 * gdb.base/callfwmall.exp (do_function_calls): Same.
20879
20880 * gdb.base/list.exp (test_listsize): Correct expectations for
20881 listing line 1 with listsize 2. Also, listing a single line
20882 works now, as does listing three lines. [Kevin's note: There
20883 were a number of other cases fixed too where the expectations
20884 differed...]
20885
208861999-09-02 Stan Shebs <shebs@andros.cygnus.com>
20887
20888 * gdb.base/selftest.exp: Add case for when version prints as
20889 constant string instead of char pointer.
20890
104c1213
JM
208911999-08-25 Stan Shebs <shebs@andros.cygnus.com>
20892
20893 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 20894 stepping out of main.
104c1213
JM
20895
20896 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
20897 G++ used.
20898
20899 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 20900 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
20901
20902 * gdb.c++/ovldbreak.exp: Update match string in test that
20903 includes a warning of multiple breakpoints.
20904
209051999-08-24 Stan Shebs <shebs@andros.cygnus.com>
20906
20907 * gdb.base/display.exp: Improve precision of step-after-finish
20908 added yesterday.
20909
20910 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 20911 test.
104c1213
JM
20912
20913 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
20914 configs when using G++, not just hppa*.
20915
209161999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20917
20918 * gdb.base/async.c: New file.
20919 * gdb.base/async.exp: New file.
20920
20921Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
20922
20923 * gdb.base/break.exp: Tweak PA specific tests to properly handle
20924 PA64.
20925
53a5351d
JM
20926Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
20927
104c1213
JM
20928 * gdb.base/display.exp: "finish" can leave us mid-line on many
20929 targets, deal with it. Add a small constant to main, instead of
20930 1000 since main+1000 may not be a valid address in the target.
20931
53a5351d
JM
20932 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
20933 on hpux11.
20934
20935 * gdb.base/attach.exp: Handle another hpux11 error message variant
20936 when attaching to a process that does not exist.
20937
209381999-08-19 J.T. Conklin <jtc@redback.com>
20939
20940 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 20941 characters in 'continue to 1241' test.
53a5351d
JM
20942
209431999-08-17 Stan Shebs <shebs@andros.cygnus.com>
20944
20945 * gdb.base/call-ar-st.exp: Add a shorter match case for the
20946 stop in print_long_arg_list, define and use a whitespace
20947 variable in print_small_structs test, add an XFAIL for Solaris.
20948 * gdb.base/dbx.exp: XFAIL func commands until somebody is
20949 interested enough to fix.
20950
7be570e7
JM
209511999-08-13 Keith Seitz <keiths@cygnus.com>
20952
20953 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
20954 (dbx_gdb_load): Remove. Use gdb_load instead, since that
20955 proc knows about targets other than the natives.
20956 (test_assign): Use "gdb_run_cmd" to "run" the target.
20957 Check that we've actually hit the breakpoint at main.
20958 When we attempt to assign a value to a local variable, check
20959 that the variable is in the current scope, i.e., don't use
20960 a test with an empty result.
20961
20962Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
20963
20964 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 20965 command.
7be570e7
JM
20966
209671999-08-09 Stan Shebs <shebs@andros.cygnus.com>
20968
20969 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20970 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
20971 gdb.compat, gdb.threads-hp.
20972 gdb.hp/configure, gdb.hp/configure.in: New files.
20973 gdb.hp/Makefile.in: Recurse into new subdirs.
20974 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
20975 gdb.hp/gdb.objdbg: New directory, tests for debugging info
20976 in object files.
20977 gdb.hp/tools: New directory, aux tools for HP-specific tests.
20978
96baa820
JM
209791999-08-05 Stan Shebs <shebs@andros.cygnus.com>
20980
20981 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 20982 funky printf, remove a bogus p/a test.
96baa820
JM
20983
209841999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20985
20986 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
20987 connected to the target. This is necessary when running not
20988 natively.
96baa820
JM
20989
209901999-08-03 Stan Shebs <shebs@andros.cygnus.com>
20991
20992 * gdb.base/step-test.exp: Removed some extraneous messages.
20993
20994 * gdb.base/long_long.exp: Don't run memory examination tests
20995 on little-endian targets (they will need a different set of
20996 results to match).
20997
209981999-08-02 Stan Shebs <shebs@andros.cygnus.com>
20999
21000 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
21001 until somebody decides to fix GDB.
21002
21003 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 21004 constant as "ULL".
96baa820
JM
21005 * gdb.base/long_long.exp: Loosen x/c test, add partial result
21006 matches for a couple x/2 commands.
21007
a0b3c4fd
JM
210081999-07-30 Stan Shebs <shebs@andros.cygnus.com>
21009
21010 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
21011 by merging in ref-types2 tests.
21012 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
21013
21014 From Jimmy Guo <guo@cup.hp.com> and others at HP:
21015 * gdb.c++/Makefile.in: Add standard actions.
21016 (EXECUTABLES): Rename from PROGS, update list.
21017 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
21018 from gdb.hp.
21019 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
21020 foo and bar locals.
21021 * gdb.c++/anon-union.exp: Fix tests to match.
21022 * gdb.c++/classes.exp: Run if HP compiler used, add extra
21023 expect matches to handle output variations.
21024 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
21025 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 21026 output, add HP alternatives for new and delete prints.
a0b3c4fd 21027 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 21028 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
21029 * gdb.c++/demangle.exp: Use $style when reporting failure.
21030 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
21031 * gdb.c++/inherit.exp: Run if HP compiler used, add some
21032 match alternatives.
21033 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 21034 compilers.
a0b3c4fd
JM
21035 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
21036 * gdb.c++/method.exp: Add match alternatives.
21037 * gdb.c++/misc.cc: Add bool types.
21038 * gdb.c++/misc.exp: Add tests for bool types.
21039 * gdb.c++/overload.exp: Add xfails.
21040 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
21041 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
21042 add some more template parameter tests (only for HP currently).
21043 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
21044 * gdb.c++/virtfunc.cc: Add return type and value for main.
21045 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
21046 match alternatives.
d63a86f8 21047
a0b3c4fd
JM
210481999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21049
21050 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
21051
210521999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
21053
21054 * gdb.base/signals.exp: Don't expect getting a backtrace from
21055 within a signal handler to fail on Linux.
21056
210571999-07-29 Stan Shebs <shebs@andros.cygnus.com>
21058
21059 From Jimmy Guo <guo@cup.hp.com> and others at HP:
21060 * lib/gdb.exp: Remove some gratuitious semicolons.
21061 (delete_breakpoints): Increase timeout.
21062 (gdb_expect): Add -notransfer option.
21063 (gdb_test): Use -notransfer option.
21064 (get_compiler_info): Add f77 case.
21065 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 21066 case.
a0b3c4fd
JM
21067 (gdb_preprocess): Call get_compiler.
21068
21069 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
21070 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
21071 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
21072 gdb.base/long_long.exp, gdb.base/printcmds.exp,
21073 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
21074 third arg to gdb_test.
a0b3c4fd
JM
21075 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
21076 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 21077 HP-UX xfails, add others.
a0b3c4fd
JM
21078 * gdb.base/completion.exp: Reflect name change of self-test.
21079 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
21080 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
21081 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
21082 HP failure number.
a0b3c4fd
JM
21083 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
21084 useless HP-UX 10.30 references.
21085 * gdb.base/maint.exp: Loosen matches.
21086 * gdb.base/pointers.c (main): Declare more_code.
21087 * gdb.base/pointers.exp: Match on output of a `next'.
21088 * gdb.base/structs.c: Add prototypes.
21089 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
21090 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
21091
210921999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21093
21094 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 21095 command.
a0b3c4fd
JM
21096
210971999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21098
21099 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
21100 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
21101
21102 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
21103 debug info. Deal with lack of signal hanlder info in stack.
21104
a9c64011 21105 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
21106 * gdb.base/annota1.exp: If printf has debug info, deal with it.
21107
5a2468f5
JM
211081999-07-19 Stan Shebs <shebs@andros.cygnus.com>
21109
21110 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 21111 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 21112
adf40b2e
JM
21113Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
21114
21115 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 21116 a1-selftest.exp.
adf40b2e
JM
21117 * gdb.base/configure: Re-generate.
21118
211191999-07-12 Stan Shebs <shebs@andros.cygnus.com>
21120
21121 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
21122 in trying to run first and name is too long.
21123
21124 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
21125 pointers2.c and pointers2.exp, respectively.
21126 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
21127 doschk happier.
21128
43e526b9
JM
211291999-07-08 Stan Shebs <shebs@andros.cygnus.com>
21130
21131 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
21132 callfuncs2.c and callfuncs2.exp.
21133
21134 * gdb.base/list.exp: Remove mistaken xfails.
21135 * gdb.base/list0.h: Add optional prototypes.
21136
9846de1b
JM
21137Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
21138
a9c64011 21139 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 21140 calling malloc.
a9c64011
AS
21141 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
21142 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 21143 use.
9846de1b
JM
21144
211451999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21146
21147 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
21148 * gdb.base/annota2.cc, annota2.exp: Move from here.
21149 * gdb.c++/annota2.cc, annota2.exp: To here.
21150 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
21151
43ff13b4
JM
21152Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
21153
21154 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 21155 a consistent format.
43ff13b4 21156
085dd6e6
JM
211571999-06-25 Stan Shebs <shebs@andros.cygnus.com>
21158
21159 From Jimmy Guo <guo@cup.hp.com> and others at HP:
21160 * lib/gdb.exp (get_compiler_info): Add detection for assorted
21161 HP compilers, also set the globals $true and $false.
21162
21163 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
21164 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
21165 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
21166 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
21167 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
21168 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
21169 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
21170 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
21171 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
21172 whatis.c} Add C++ compatible function definitions and return
21173 types, add includes for library functions.
085dd6e6
JM
21174 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
21175 * gdb.base/step-test.c (myglob): Rename from glob.
21176 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
21177 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
21178 files, move here from gdb.hp.
085dd6e6 21179 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
21180 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
21181 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
21182 Adjust line numbers in regexps.
085dd6e6
JM
21183
21184 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
21185 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
21186 instead of 0/1.
21187
21188 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
21189 foll-vfork.exp: New files, move here from gdb.hp.
21190 * gdb.base/page.exp: New file, test of pagination command.
21191
21192 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
21193 recursion test.
21194 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
21195
21196 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 21197 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
21198
21199 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 21200 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 21201 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 21202 watchpoint test.
085dd6e6
JM
21203 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
21204 them work.
21205 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
21206 expressions properly.
21207 * gdb.base/corefile.exp: Loosen the match slightly.
21208 * gdb.base/default.exp: Allow "Error accessing memory" message
21209 also.
21210 * gdb.base/display.exp: Skip over x/0 j if PA64.
21211 * gdb.base/funcargs.exp: Add xfails for HP-UX.
21212 * gdb.base/interrupt.exp: Ditto.
21213 * gdb.base/langs.exp: Add symbolic matches governed by compiler
21214 in use.
21215 * gdb.base/list.exp: Add xfails for HP-UX.
21216 * gdb.base/long_long.exp: Refine some of the numeric matches.
21217 * gdb.base/mips_pro.exp: Xfail on HP-UX.
21218 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
21219 * gdb.base/nodebug.exp: Succeed on more varieties of output.
21220 * gdb.base/opaque.exp: Remove some HP-UX xfails.
21221 * gdb.base/ptype.exp: Succeed on more varieties of output.
21222 * gdb.base/scope.exp: Add xfails for HP-UX.
21223 * gdb.base/sect-cmd.exp: Add more cases.
21224 * gdb.base/setvar.exp: Add xfails for HP-UX.
21225 * gdb.base/shlib-call.exp: Loosen some matches slightly.
21226 * gdb.base/signals.exp: Match on void symbolically.
21227 * gdb.base/step-test.exp: Add case for PA64.
21228 * gdb.base/term.exp: Add exit and restart.
21229 * gdb.base/twice.exp: Clean up after self.
21230 * gdb.base/varargs.exp: Disable overload resolution explicitly.
21231 * gdb.base/whatis.exp: Allow more ways to pass tests.
21232
21233 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 21234 no longer useful.
085dd6e6
JM
21235
21236Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
21237
21238 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 21239 list of patterns.
085dd6e6 21240 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
21241 print_double_array(double_array)", "continuing to breakpoint
21242 1018", "print print_double_array(array_d)" and "continuing to
21243 1034" tests.
d63a86f8 21244
085dd6e6
JM
212451999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
21246
a9c64011 21247 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
21248
212491999-06-24 Stan Shebs <shebs@andros.cygnus.com>
21250
21251 * config/mt-*: Remove, these haven't been used since 1996.
21252
212531999-06-22 Stan Shebs <shebs@andros.cygnus.com>
21254
21255 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 21256 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
21257 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
21258
9e0b60a8
JM
212591999-06-18 Stan Shebs <shebs@andros.cygnus.com>
21260
21261 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
21262 simpler match case for the ptype of the big class.
21263
212641999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
21265
21266 * gdb.exp: Fix test for gdb_prompt existence.
21267
212681999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
21269
21270 * gdb.exp (gdb_test): Add fail after calls to perror.
21271
212721999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
21273
21274 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
21275
212761999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
21277
21278 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
21279
0f71a2f6
JM
21280Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
21281
21282 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 21283 malloc() is linked in.
0f71a2f6
JM
21284
212851999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
21286
21287 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
21288 step at end.
21289
21290 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
21291
212921999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
21293
21294 * gdb.java/jv-print.exp: New file. (Our first Java test!)
21295
cce74817
JM
21296Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
21297
21298 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
21299 * gdb.base/mips_pro.exp: Likewise.
21300
213011999-06-02 Keith Seitz <keiths@cygnus.com>
21302
21303 * gdb.c++/templates.cc: Change all "new" operators to throw
21304 an exception.
21305 * gdb.c++/cplusfuncs.cc: Likewise.
21306
21307 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
21308
21309Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
21310
21311 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
21312 * gdb.base/ending-run.exp: When stepping out of main, accept a
21313 step into an arbitrary assembler file.
cce74817 21314
392a587b
JM
213151999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21316
d63a86f8 21317 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 21318 "breakpoint-invalid" to be printed.
d63a86f8 21319 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
21320 number of "frames-invalid" and "breakpoint-invalid" to be printed.
21321 * gdb.base/annota2.cc: Initialize a.x to 0.
21322
9e086581
JM
213231999-05-17 Keith Seitz <keiths@cygnus.com>
21324
21325 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
21326 when "skip_float_tests" set.
21327 Ditto for "print print_double_array(array_d)", "print print_small_structs",
21328 "print print_ten_doubles", and "step into print_long_arg_list".
21329 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
21330 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
21331 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
21332 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
21333 "skip_float_tests" is set.
21334 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
21335 when "skip_float_tests" set.
d63a86f8 21336
cd0fc7c3
SS
213371999-05-06 Keith Seitz <keiths@cygnus.com>
21338
21339 * gdb.base/annota2.cc: Include stdio.h.
21340
21341Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
21342
21343 * gdb.base/crossload.exp: Remove, this has been disabled ever
21344 since BFD stopped including all targets, and cross-GDB gets
21345 plenty of testing anyway.
21346 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
21347 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
21348 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
21349 * gdb.base/README: Remove, was doc for this.
21350 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 21351 needed.
cd0fc7c3 21352
b83266a0
SS
213531999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21354
21355 * gdb.base/call-ar-st.exp: Fix one regular expression in test
21356 output.
21357
21358 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
21359 * gdb.base/annota2.exp: New file. More annotation tests.
21360 * gdb.base/annota1.c: New file. Source file for annota1.exp.
21361 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
21362
213631999-04-23 Angela Marie Thomas <angela@cygnus.com>
21364
21365 * config/cfdbug.exp: New file.
21366
7a292a7a
SS
213671999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
21368
21369 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
21370 Marcus Daniel's and Dale Hawkins's demangler crashes.
21371
21372 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
21373 test_lucid_style_demangling, test_arm_style_demangling,
21374 test_hp_style_demangling): Try Tom Tromey's core-dumping
21375 identifier under each demangling style.
7a292a7a
SS
21376
213771999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
21378
21379 * gdb.c++/demangle.exp: Include the current demangling style
21380 in all test names.
21381 (current_demangling_style): New global variable.
21382 (set_demangling_style, test_demangling_core, test_demangling,
21383 test_demangling_exact): New functions.
21384 (test_gnu_style_demangling, test_lucid_style_demangling,
21385 test_arm_style_demangling, test_hp_style_demangling): Use those,
21386 instead of calling gdb_test and gdb_test_exact directly.
21387 (catch_demangling_errors): New function, which reports errors
21388 signalled by the demangling test functions in an orderly way.
21389 (do_tests): Use catch_demangling_errors.
21390
213911999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
21392
21393 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 21394 grouping in expressions, not {}.
7a292a7a
SS
21395
21396 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 21397 initialized yet.
7a292a7a
SS
21398
213991999-04-01 Stan Shebs <shebs@andros.cygnus.com>
21400
21401 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
21402 are listed.
21403
214041999-03-26 Stan Shebs <shebs@andros.cygnus.com>
21405
21406 * gdb.stabs/weird.exp: Test for CC being defined before
21407 looking at its value.
21408
214091999-03-25 Stan Shebs <shebs@andros.cygnus.com>
21410
21411 * gdb.base/call-ar-st.exp: Remove stray '#'.
21412 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
21413 "short int" and "long int".
21414 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 21415 change, to mollify finicky HP compiler.
7a292a7a
SS
21416 * gdb.hp/reg-test.exp (testfile): Fix file name.
21417 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 21418
7a292a7a
SS
21419 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
21420 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
21421 alternate form of enum ptype.
21422
c906108c
SS
214231999-03-23 Stan Shebs <shebs@andros.cygnus.com>
21424
7a292a7a
SS
21425 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
21426 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
21427 passing skip_hp_tests, so as not to waste time on guaranteed
21428 failure.
7a292a7a 21429
c906108c
SS
21430 * gdb.c++/overload.cc: Pass string instead of char addr, always
21431 init ccpfoo.
21432 * gdb.c++/templates.cc: Fix syntax error.
21433
7a292a7a
SS
21434Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21435
21436 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 21437 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
21438 command.
21439
214401999-03-18 James Ingham <jingham@cygnus.com>
21441
21442 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
21443
21444 * gdb.c++/method.exp: It was testing an uninitialized int on the
21445 stack and assuming it was positive.
21446
21447 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
21448
21449 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 21450 keep it from killing the rest of the tests.
7a292a7a
SS
21451 Use gdb_continue_to_end.
21452
21453 * gdb.base/sigall.exp: use gdb_continue_to_end.
21454
21455 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
21456
21457 * gdb.base/display.exp: use runto_main, not run.
21458
d63a86f8
RM
21459 * gdb.base/default.exp: Check for the current error message in the
21460 r abbreviation test.
7a292a7a
SS
21461 Add strongarm to the targets that know info float.
21462
d63a86f8 21463 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
21464 run which doesn't work with monitors.
21465
21466 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
21467
21468 * gdb.base/break.exp: use the gdb_continue_to_end proc.
21469
21470 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
21471 program. Traps the case (in Cygmon) when the program never really
21472 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
21473 more places, so I used my name. Sorry Mark...
21474
21475 * config/monitor.exp (gdb_target_monitor): added another
21476 target_info parameter: remotebinarydownload. This will set the
21477 remotebinarydownload flag if this is causing some boards trouble.
21478
214791999-03-18 Mark Salter <msalter@cygnus.com>
21480
21481 * lib/gdb.exp (continue_to_exit): New function.
21482
21483 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
21484 * gdb.base/ending-run.exp: Ditto.
21485 * gdb.base/step-test.exp: Ditto.
21486
214871999-03-16 Stan Shebs <shebs@andros.cygnus.com>
21488
21489 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
21490 (suggested by Art Haas <ahaas@neosoft.com>).
21491
214921999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
21493
889bf7c5 21494 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
21495
21496Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
21497
21498 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 21499 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
21500
215011999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
21502
21503 * gdb.base/call-strs.exp: Don't assume that `step' will step over
21504 a call to strlen; sometimes we do have sources.
21505
215061999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
21507
21508 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 21509 character, so GDB won't print garbage after its end.
d63a86f8 21510
c906108c
SS
21511 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
21512 breakpoint there instead. Sometimes GCC emits memcpy to handle
21513 the large structures being passed by value, so we step into that
21514 instead of sum_array_print, which obscures what we're really testing.
21515 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
21516 the bizarre steps into memcpy, so do that here. Add check for
21517 stepping into function calls that pass large structures by value.
21518 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
21519 Remove all references to specific line numbers.
21520 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
21521 New type and function.
21522 (main): Call large_struct_by_value, passing it a large struct by value.
21523 * lib/gdb.exp (gdb_get_line_number): New function.
21524
21525 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
21526 more portable.
21527
7a292a7a
SS
215281999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
21529
c906108c
SS
21530 * lib/gdb.exp: Doc fixes.
21531
7a292a7a
SS
215321999-03-05 Nick Clifton <nickc@cygnus.com>
21533
d63a86f8 21534 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
21535
215361999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
21537
c906108c 21538 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
21539 commands. They're not germane to this test, and they don't work
21540 that way on remote targets.
c906108c 21541
3fc11d3e
JM
215421999-03-01 James Ingham <jingham@cygnus.com>
21543
21544 * Changelog entries merged over from gdb development branch.
21545
3fc11d3e
JM
21546 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
21547
21548 * lib/gdb.exp (gdbtk_analyze_results): Generic function
21549 for outputting results of test run.
21550
2d4a1622 21551 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
21552
21553 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 21554
7a292a7a
SS
215551999-02-25 Felix Lee <flee@cygnus.com>
21556
21557 * lib/gdb.exp (debug_format): initialize
21558
c906108c
SS
215591999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
21560
21561 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
21562 * gdb.base/call-rt-st.c: Ditto.
21563
c906108c
SS
215641999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
21565
21566 * gdb.threads/pthreads.exp (horiz): New variable.
21567 (test_startup): Fix regexps that capture thread numbers.
21568
215691999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
21570
21571 * gdb.base/smoke.exp: Disambiguate two test case names (both
21572 called ``print'').
21573
21574Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
21575
21576 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 21577 compilation.
c906108c
SS
21578
215791999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
21580
21581 * gdb.base/miscexprs.exp: Change patterns to match GDB's
21582 actual output formatting.
21583 * gdb.base/smoke.exp: GDB removes leading 0's.
21584 * gdb.base/volatile.exp: Don't check type of remuneration;
21585 that variable is no longer defined in constvars.c.
21586 * gdb.base/step-test.c (main): Exit with explicit exit code.
21587 * gdb.base/step-test.exp: Remove two nexti checks--they are
21588 not portable.
21589
215901999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
21591
21592 * gdb.base/help.exp ("help delete display"): Fix test to match
21593 gdb's output.
21594
21595 * gdb.base/long_long.c (known_types): Initialize values to zero.
21596 * gdb.base/long_long.exp: Step one more line
21597 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
21598 leading zeros. Explicitly ask for hex formatting. Use
21599 unique test case names.
c906108c
SS
21600
21601Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21602
d63a86f8 21603 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
21604
21605 * gdb.c++/method.exp: Add missing close brace.
21606
216071999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
21608
21609 * gdb.base/maint.exp: Use 'set height 0' to disable page
21610 prompting, not 'set height 400'.
21611
21612 Fix a bunch of timeouts.
21613 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
21614 four separate tests, so expect doesn't take forever to match a ton
21615 of text against a regexp with lots of .* forms.
21616 ("maint print psymbols", "maint print symbols"): Make some of
21617 these greps more selective, so that expect doesn't try to wade
21618 through huge piles of output and time out.
21619
21620 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
21621
21622 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
21623 tests: one which doesn't expect shlib events to be reported, and
21624 another which does, but is XFAIL for all platforms other than
21625 HP/UX.
c906108c
SS
21626
21627 * gdb.base/break.exp: Teach the test suite that the `catch
21628 fork', `catch vfork', and `catch exec' commands produce error
21629 messages on platforms that don't provide these features.
21630
21631Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
21632
21633 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
21634 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
21635 (shortening names from solib_threshold.exp etc), won't run on
21636 anything but HP-UX for the foreseeable future.
c906108c 21637 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 21638 reflect move.
c906108c
SS
21639
21640Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
21641
21642 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 21643 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
21644
21645Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
21646
21647 * gdb.base/shlib-call.exp: add test cases to verify that gdb
21648 successfully re-sets breakpoints in shared libraries.
21649 * gdb.base/shmain.c (main): return 0, don't fall off the end.
21650
21651Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21652
d63a86f8
RM
21653 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
21654 and compiled w/o GCC.
c906108c
SS
21655
21656 * gdb.hp/watch-cmd.exp: ditto.
21657
21658 * gdb.hp/watch-hp.exp: ditto.
21659
21660 * gdb.hp/xdb1.exp: ditto.
21661
21662 * gdb.hp/xdb2.exp: ditto.
21663
21664 * gdb.hp/dbx.exp: ditto.
21665
21666Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
21667
21668 * constvars.c: Remove C++-isms.
21669 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 21670 with GCC.
c906108c
SS
21671
21672Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
21673
21674 The following changes are part of the HP merge.
21675
21676 * gdb.base/break.exp: new tests to verify that catchpoints for
21677 fork, vfork, and exec don't trigger inappropriately.
21678
21679 * gdb.base/opaque.exp: compile one file at a time, then link.
21680
21681 * gdb.base/signals.exp: be more restrictive about which hppa
21682 systems receive a setup_xfail. new tests.
21683
21684 * gdb.base/solib_threshold.build: new file.
21685 * gdb.base/solib_threshold.exp: new file.
21686 * gdb.base/solib_threshold.link_opts: new file.
21687 * gdb.base/solib_threshold.mk: new file.
21688 * gdb.base/gen_solib_threshold.c: new file.
21689
21690 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
21691 tests. New tests for enums inside classes.
21692
21693 * gdb.c++/compiler.cc: indicate support of template debugging.
21694
21695 * gdb.c++/demangle.exp: run hp style demangling tests.
21696
21697 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
21698 tests.
21699
21700 * gdb.c++/misc.cc: changes to support new tests.
21701
21702 * gdb.c++/templates.cc: changes to support HP's compiler; changes
21703 to support new tests.
21704
21705 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
21706 gcc, then skip these tests.
21707
21708Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
21709
21710 The following files are part of the HP merge; some had longer
21711 names at HP, but have been renamed to be no more than 14
21712 characters in length.
21713
21714 * gdb.hp/ambiguous.cc: new file.
21715 * gdb.hp/ambiguous.exp: new file.
21716 * gdb.hp/attach.exp: new file.
21717 * gdb.hp/attach2.exp: new file.
21718 * gdb.hp/classes-hp.exp: new file.
21719 * gdb.hp/ctti.exp: new file.
21720 * gdb.hp/ctti-add.cc: new file.
21721 * gdb.hp/ctti-add1.cc: new file.
21722 * gdb.hp/ctti-add2.cc: new file.
21723 * gdb.hp/ctti-add3.cc: new file.
21724 * gdb.hp/dbx.exp: new file.
21725 * gdb.hp/exception.cc: new file.
21726 * gdb.hp/exception.exp: new file.
21727 * gdb.hp/foll-exec.c: new file.
21728 * gdb.hp/foll-exec.exp: new file.
21729 * gdb.hp/foll-fork.c: new file.
21730 * gdb.hp/foll-fork.exp: new file.
21731 * gdb.hp/foll-vfork.c: new file.
21732 * gdb.hp/foll-vfork.exp: new file.
21733 * gdb.hp/inherit-hp.exp: new file.
21734 * gdb.hp/more-steps.exp: new file.
21735 * gdb.hp/namespace.cc: new file.
21736 * gdb.hp/namespace.exp: new file.
21737 * gdb.hp/optimize.exp: new file.
21738 * gdb.hp/pxdb.c: new file.
21739 * gdb.hp/pxdb.exp: new file.
21740 * gdb.hp/quicksort.exp: new file.
21741 * gdb.hp/reg-test.exp: new file.
21742 * gdb.hp/reg-test.s: new file.
21743 * gdb.hp/sized-enum.c: new file.
21744 * gdb.hp/sized-enum.exp: new file.
21745 * gdb.hp/start-stop.exp: new file.
21746 * gdb.hp/templ-hp.cc: new file.
21747 * gdb.hp/templ-hp.exp: new file.
21748 * gdb.hp/thr-lib.c: new file.
21749 * gdb.hp/thr-lib.exp: new file.
21750 * gdb.hp/thr-lib.h: new file.
21751 * gdb.hp/thr-liblib.c: new file.
21752 * gdb.hp/virtfun-hp.c: new file.
21753 * gdb.hp/virtfun-hp.exp: new file.
21754 * gdb.hp/watch-cmd.exp: new file.
21755 * gdb.hp/watch-hp.exp: new file.
21756 * gdb.hp/xdb1.exp: new file.
21757 * gdb.hp/xdb2.exp: new file.
21758 * gdb.hp/xdb3.exp: new file.
21759
21760Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
21761
21762 The following files are part of the HP merge; some had longer
21763 names at HP, but have been renamed to be no more than 14
21764 characters in length.
21765
21766 * gdb.base/ss.h: new file.
21767 * gdb.base/call-ar-st.c: new file.
21768 * gdb.base/call-ar-st.exp: new file.
21769 * gdb.base/call-rt-st.c: new file.
21770 * gdb.base/call-rt-st-exp: new file.
21771 * gdb.base/call-strs.exp: new file.
21772 * gdb.base/ena-dis-br.exp: new file.
21773 * gdb.base/environ.exp: new file.
21774 * gdb.base/long_long.exp: new file.
21775 * gdb.base/sect-cmd.exp: new file.
21776 * gdb.base/shlib-cl2.exp: new file.
21777 * gdb.base/smoke.exp: new file.
21778 * gdb.base/so-impl-ld.c: new file.
21779 * gdb.base/so-impl-ld.exp: new file.
21780 * gdb.base/so-indr-cl.c: new file.
21781 * gdb.base/so-indr-cl.exp: new file.
21782 * gdb.base/varargs.exp: new file.
21783 * gdb.base/volatile.exp: new file.
21784 * gdb.base/whatis-exp.exp: new file.
7a292a7a 21785 * gdb.base/display.exp: new file.
c906108c
SS
21786 * gdb.c++/derivation.exp: new file.
21787 * gdb.c++/local.exp: new file.
21788 * gdb.c++/member-ptr.exp: new file.
21789 * gdb.c++/overload.exp: new file.
21790 * gdb.c++/ovldbreak.exp: new file.
21791 * gdb.c++/ref-types.exp: new file.
21792 * gdb.c++/ref-types2.exp: new file.
21793 * gdb.c++/userdef.exp: new file.
d63a86f8 21794
c906108c
SS
21795Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
21796
21797 * gdb.base/default.exp: Reflect wording change in remote.c.
21798
dc96c6c7 21799Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21800
21801 * gdb.base/help.exp: Update to reflect current text.
21802
21803Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
21804
21805 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
21806 they're stack variables and contain garbage.
21807 * gdb.c++/anon-union.exp: new file.
21808
21809 The following changes were made by David Taylor
889bf7c5
PA
21810 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21811 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21812 in changes by HP.
c906108c
SS
21813
21814 * gdb.base/bitops.exp: new file.
21815 * gdb.base/default.exp: change expected messages for catch and
21816 info catch tests to reflect HP merge changes.
21817 * gdb.base/enable-disable-break.exp
21818 * gdb.base/ending-run.c: new file.
21819 * gdb.base/long_long.c: new file.
21820 * gdb.base/maint.exp: new file.
21821 * gdb.base/pointers2.exp: new file.
21822 * gdb.base/shlib-call2.exp: new file.
21823 * gdb.base/solib.exp: new file.
21824 * gdb.base/step-test.c: new file.
21825 * gdb.c++/anon-union.cc: new file.
21826 * gdb.c++/local.cc: new file.
21827 * gdb.c++/member-pointer.cc: new file.
21828 * gdb.c++/method.cc: new file.
21829 * gdb.c++/ref-types.cc: new file.
21830 * gdb.c++/ref-types2.cc: new file.
21831 * gdb.c++/userdef.cc: new file.
d63a86f8 21832
c906108c
SS
21833 * gdb.base/scope.exp: compile one file at a time, then link.
21834 * gdb.base/langs.exp: ditto.
21835 * gdb.base/list.exp: ditto.
d63a86f8 21836
c906108c
SS
21837Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
21838
21839 The following changes were made by David Taylor
889bf7c5
PA
21840 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21841 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21842 in changes by HP.
d63a86f8 21843
c906108c
SS
21844 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
21845 skip tests. When compiling pass c++ flag to gdb_compile.
21846 * gdb.c++/
d63a86f8 21847
c906108c
SS
21848 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
21849 test for on hppa*-*-hpux*; use args to see if c++ was specified.
21850 (skip_hp_tests): new function.
21851 (gdb_preprocess): new function.
21852
21853 * configure.in (hpdir): decide whether to configure gdb.hp.
21854 * configure: regenerated.
21855
21856 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
21857 to delete on clean.
21858 (EXECUTABLES): update to reflect new additions.
21859 * gdb.base/commands.exp: update message expected.
21860 * gdb.base/default.exp: add copyright notice.
21861 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
21862 * gdb.base/help.exp: update messages to reflect current text.
21863 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
21864 targets for recurse tests.
21865 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
21866 skip this file.
21867
21868 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
21869 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
21870 compilation.
21871 * gdb.c++/misc.exp: ditto.
21872 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
21873 run the tests. tell gdb_compile that it's a c++ compilation.
21874
21875 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 21876
c906108c
SS
21877 * gdb.base/all-bin.exp: new file.
21878 * gdb.base/arithmet.exp: new file.
21879 * gdb.base/assign.exp: new file.
21880 * gdb.base/completion.exp: new file.
21881 * gdb.base/cond-expr.exp: new file.
21882 * gdb.base/condbreak.exp: new file.
21883 * gdb.base/define.exp: new file.
21884 * gdb.base/dollar.exp: new file.
21885 * gdb.base/environment.exp: new file.
21886 * gdb.base/eval-skip.exp: new file.
21887 * gdb.base/jump.exp: new file.
21888 * gdb.base/logical.exp: new file.
21889 * gdb.base/pointers.exp: new file.
21890 * gdb.base/relational.exp: new file.
21891 * gdb.base/section_command.exp: new file.
21892 * gdb.base/whatis-expr.exp: new file.
21893
21894 * gdb.base/all-types.c: new file.
21895 * gdb.base/call-array-struct.c: new file.
21896 * gdb.base/call-return-struct.c: new file.
21897 * gdb.base/call-strings.c: new file.
21898 * gdb.base/callfuncs2.c: new file.
21899 * gdb.base/condbreak.c: new file.
21900 * gdb.base/constvars.c: new file.
21901 * gdb.base/display.c: new file.
21902 * gdb.base/int-type.c: new file.
21903 * gdb.base/jump.c: new file.
21904 * gdb.base/miscexprs.c: new file.
21905 * gdb.base/pointers.c: new file.
21906 * gdb.base/pointers2.c: new file.
21907 * gdb.base/shmain.c: new file.
21908 * gdb.base/shr1.c: new file.
21909 * gdb.base/shr2.c: new file.
21910 * gdb.base/solib.c: new file.
21911 * gdb.base/solib1.c: new file.
21912 * gdb.base/solib2.c: new file.
21913 * gdb.base/varargs.c: new file.
21914 * gdb.c++/derivation.cc: new file.
21915 * gdb.c++/overload.cc: new file.
21916 * gdb.c++/ovldbreak.cc: new file.
21917 * gdb.hp/attach.c: new file.
21918 * gdb.hp/attach2.c: new file.
21919 * gdb.hp/average.c: new file.
21920 * gdb.hp/compiler.c: new file.
21921 * gdb.hp/compiler.cc: new file.
21922 * gdb.hp/execd-program.c: new file.
21923 * gdb.hp/follow-exec.c: new file.
21924 * gdb.hp/follow-fork.c: new file.
21925 * gdb.hp/follow-vfork-and-exec.c: new file.
21926 * gdb.hp/misc-hp.cc: new file.
21927 * gdb.hp/more-steps.c: new file.
21928 * gdb.hp/optimize.c: new file.
21929 * gdb.hp/quicksort.c: new file.
21930 * gdb.hp/run-hp.c: new file.
21931 * gdb.hp/start-stop.c: new file.
21932 * gdb.hp/sum.c: new file.
21933 * gdb.hp/templates-hp.cc: new file.
21934 * gdb.hp/thread-local-in-lib.c: new file.
21935 * gdb.hp/thread-local-in-lib.h: new file.
21936 * gdb.hp/thread-local-in-lib.lib.c: new file.
21937 * gdb.hp/vforked-program.c: new file.
21938 * gdb.hp/virtfunc-hp.cc: new file.
21939 * gdb.hp/watchpoint-hp.c: new file.
21940 * gdb.hp/xdb.c: new file.
21941 * gdb.hp/xdb0.c: new file.
21942 * gdb.hp/xdb0.h: new file.
21943 * gdb.hp/xdb1.c: new file.
21944
21945Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
21946
21947 The following change was made by Edith Epstein
889bf7c5
PA
21948 <eepstein@cygnus.com> as part of a project to merge in changes
21949 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
21950
21951 * gdb.c++/demangle.exp: changed the expected output for some
21952 ARM-style mangling -- removed second reference to datatype.
889bf7c5 21953 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 21954 T1<char>::~T1<char>(void)
c906108c 21955 becomes,
a9c64011
AS
21956 maint demangle __dt__11T1__pt__2_cFv
21957 T1<char>::~T1(void)
c906108c 21958
889bf7c5 21959 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 21960
c906108c
SS
21961Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
21962
21963 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
21964 * gdb.trace/backtrace.exp: Likewise.
21965 * gdb.trace/circ.exp: Likewise.
21966 * gdb.trace/collection.exp: Likewise.
21967 * gdb.trace/deltrace.exp: Likewise.
21968 * gdb.trace/infotrace.exp: Likewise.
21969 * gdb.trace/limits.exp: Likewise.
21970 * gdb.trace/packetlen.exp: Likewise.
21971 * gdb.trace/passc-dyn.exp: Likewise.
21972 * gdb.trace/passcount.exp: Likewise.
21973 * gdb.trace/report.exp: Likewise.
21974 * gdb.trace/save-trace.exp: Likewise.
21975 * gdb.trace/tfind.exp: Likewise.
21976 * gdb.trace/tracecmd.exp: Likewise.
21977 * gdb.trace/while-dyn.exp: Likewise.
21978 * gdb.trace/while-stepping.exp: Likewise.
21979
219801998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
21981
21982 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
21983
21984Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
21985
21986 From Brendan Kehoe:
21987 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
21988 int return types.
21989
21990Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
21991
21992 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 21993 remote dos host testing right.
c906108c
SS
21994
21995Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
21996
21997 * gdb.base/corefile.exp: remove some xfails.
21998
21999Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
22000
22001 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 22002 have different timestamps.
c906108c
SS
22003
22004Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
22005
22006 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 22007 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
22008
22009Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
22010
22011 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 22012 delta.
c906108c
SS
22013
22014Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
22015
22016 * gdb.base/default.exp: Add brace missing from previous delta.
22017
22018Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
22019
22020 * gdb.base/default.exp: Support test for info float for all
22021 varieties of arm toolchain.
22022
dc96c6c7 22023Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22024
22025 * gdb.trace/*.exp: remove "remote_download" command.
22026
dc96c6c7 22027Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22028
22029 * gdb.trace/*.exp: remove -gdwarf from compile.
22030
22031Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
22032
22033 * gdb.trace/configure.in(AC_INIT): typo
22034 * gdb.trace/configure: regenerated
22035
dc96c6c7 22036Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22037
22038 * config/m68k-emc.exp: New file.
22039 * lib/<emc-support.exp trace-support.exp}: New files.
22040 * configure.in: add new test directory gdb.trace.
22041 * gdb.trace/{configure configure.in Makefile.in}: New files.
22042 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
22043 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
22044 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
22045 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
22046 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
22047 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
22048 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 22049
dc96c6c7 22050Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22051
22052 * gdb.c++/classes.exp: Change all regular expressions to match
22053 arbitrary combinations of newline/carriage-return, so that they
22054 will work equally well on Unix and Windows.
22055 * gdb.c++/inherit.exp: ditto.
22056 * gdb.c++/virtfunc.exp: ditto.
22057
220581998-08-11 Dawn Perchik <dawn@cygnus.com>
22059
22060 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
22061
c2d11a7d
JM
22062Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
22063
22064 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
22065 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
22066 to use a0-a3/d0-d3 as needed.
22067
22068Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
22069
22070 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
22071 * gdb.disasm/am33.exp: Corresponding changes.
22072
c906108c
SS
220731998-07-11 Felix Lee <flee@cygnus.com>
22074
22075 * gdb.base/callfuncs.exp: add cmp10 test.
22076 * gdb.base/callfuncs.c (cmp10): new function.
22077
22078Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
22079
d63a86f8 22080 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
22081 into two parts to get around a synchronization problem in expect.
22082
3fc11d3e
JM
22083Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
22084
22085 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
22086
22087 * configure.in: Add options for gdbtk testsuite.
22088
22089 * configure: Regenerate.
22090
22091 * gdb.gdbtk: New directory to hold gdbtk tests.
22092
c906108c
SS
22093Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
22094
22095 * gdb.fortran/types.exp: Escape brackets in expect patterns
22096 for test_float_literal_types_accepted tests.
22097 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
22098 before run test.
22099
c2d11a7d
JM
22100Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
22101
22102 * am33.exp: Just compile, do not link the testcase.
22103 * am33.s: Add ".am33" pseudoop to force am33 mode.
22104
c906108c
SS
221051998-06-25 Felix Lee <flee@cygnus.com>
22106
22107 * gdb.base/setshow.exp: make sure $pc is sane.
22108
22109 * gdb.stabs/weird.exp: split expect patterns properly.
22110
c2d11a7d
JM
22111Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
22112
22113 * gdb.disasm/am33.s: New disassembler testfile for the am33.
22114 * gdb.disasm/am33.exp: Run it.
22115
dc96c6c7 22116Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22117
22118 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
22119 match processing (and eliminate spurious timeouts when running).
22120
dc96c6c7 22121Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22122
22123 * gdb.base/signals.exp (test_handle_all_print): put back Mach
22124 exception test, but conditionalize it on target [mach | gnu].
22125
dc96c6c7 22126Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22127
22128 * gdb.base/overlays.exp: fixup compile line for linker script.
22129
22130Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
22131
22132 * gdb.fortran/types.exp: don't guess at float size.
22133
22134Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
22135
22136 * gdb.base/exprs.exp: delete test that depends on int size.
22137
22138Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
22139
22140 * config/sim.exp: Removed checks for target triplets.
22141 (gdb_target_sim): Use gdb,target_sim_options.
22142
22143Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
22144
22145 * gdb.base/reread.exp: New file.
22146 * gdb.base/reread1.c: New file.
22147 * gdb.base/reread2.c: New file.
22148
22149Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
22150
22151 * config/sim.exp: Use 'target sim -sparclite' when running
22152 SPARClite programs.
22153
22154Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
22155
22156 * gdb.base/structs2.exp: New file.
22157 * gdb.base/structs2.c: New file.
22158
22159Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
22160
22161 * gdb.asm/common.inc: New file.
22162 * gdb.asm/d10v.inc: New file.
22163 * asm-source.exp: Pass -I's to gas to find .inc files.
22164 Update line numbers in expected output.
22165 * asmsrc1.s: Rewrite.
22166 * asmsrc2.s: Rewrite.
22167 * configure.in: Create arch.inc symlink.
22168 * configure: Regenerate.
22169 * Makefile.in (distclean): Delete arch.inc.
22170
22171Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
22172
22173 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
22174 (t_enum_value2): ditto
22175 (t_enum_value3): ditto
22176 (main): ditto
c906108c
SS
22177Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
22178
22179 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
22180 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
22181 change.
22182 Use gdb_test instead of send_gdb/gdb_expect sequences.
22183
22184Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
22185
22186 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
22187 not void.
22188
22189Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
22190
22191 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
22192 subroutines. Used to test gdbs ability to single step through PC
22193 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
22194
22195Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
22196
22197 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
22198 more rigorous EGCS C++ error checking.
22199
22200Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22201
a9c64011
AS
22202 * gdb.base/help.exp: Clean up `help set args' and `help show args'
22203 tests.
22204 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
22205 function when asleep.
22206 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
22207 for i*86 Linux and SVR4 signal handling problems.
22208 Remove linux xfail for `next to handler in signals_tests_1', fixed
22209 by recent infrun.c change.
22210 Limit backtrace to 10 frames to avoid timeout problems with infinite
22211 stack backtraces.
22212 Adjust expect pattern in `handle all print' test to match Apr 28 1997
22213 target.[ch] change.
c906108c
SS
22214
22215Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
22216
22217 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
22218 for a newline from gdb before continuing.
22219 (default_gdb_exit): Just look for y or n.
22220 (gdb_test): Detect abnormal exit from GDB running on DOS; if
22221 it does, fail the rests of the tests in the file.
22222
22223Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
22224
22225 * config/cygmon.exp: New file.
22226
22227Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
22228
22229 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 22230 main" test on remote targets.
c906108c
SS
22231
22232 * gdb.base/scope.exp: Fix problem with filelocal_bss before
22233 run test on remote targets.
22234
22235Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
22236
22237 * gdb.asm: New directory.
22238 * configure.in: Configure it.
22239 * configure: Regenerate.
22240 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
22241 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
22242
22243Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
22244
22245 * config/mn10300-eval.exp: New file to support MN10300 eval board.
22246
dc96c6c7 22247Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 22248
a9c64011
AS
22249 * gdb.base/overlays (several files): Merge the two overlay
22250 managers into one. Change variables (foox, barx, bazx, grbxx)
22251 back into ints but force them to load in their proper sections.
c906108c
SS
22252
22253Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
22254
22255 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 22256 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
22257 (D10VCopy): Handle memory regions crossing 16k boundaries.
22258 (D10VCopy): Transfer data in 32 bit chunks.
22259
22260Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
22261
22262 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 22263 correct.
c906108c
SS
22264
22265 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 22266 map. Include space for printf in .text segment.
c906108c
SS
22267
22268 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 22269 updated d10v memory VMA/LMA map.
c906108c 22270 (D10VCopy): Call D10VTranslate.
d63a86f8 22271
c906108c
SS
22272Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
22273
22274 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
22275
22276 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
22277 that it won't be put into the .sdata - small data -
22278 section. Update reference.
c906108c
SS
22279 * gdb.base/baz.c (bazx, baz): Ditto.
22280 * gdb.base/foo.c (foox, foo): Ditto.
22281 * gdb.base/grbx.c (grbxx, grbx): Ditto.
22282
22283 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 22284 to be arrays.
d63a86f8 22285
dc96c6c7 22286Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 22287
a9c64011
AS
22288 * gdb.base/overlays.exp: fix up and get working again.
22289 Add tests for backtraces from an overlay function.
d63a86f8 22290
c906108c
SS
22291Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
22292
22293 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
22294 "calling function with watchpoint enabled".
22295
22296Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
22297
22298 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 22299 gdb_suppress_tests for d10v-*-*.
c906108c
SS
22300 * lib/gdb.exp (gdb_suppress_tests): Disable this function
22301 pending review of whether it is useful or not.
22302
22303Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
22304
22305 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
22306
22307Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
22308
22309 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
22310 * config/dve.exp: New file to support Densan boards.
22311
22312Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
22313
22314 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 22315 reads and BSD.
c906108c
SS
22316
22317Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
22318
22319 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
22320 response.
22321
22322 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
22323
22324Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
22325
22326 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 22327 test.
c906108c
SS
22328
22329 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 22330 target_sizeof_long and target_bigendian_p.
c906108c 22331 (structs_by_value, structs_by_reference): Check values according
889bf7c5 22332 to targets word size and endianess.
d63a86f8 22333
c906108c
SS
22334Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
22335
22336 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 22337 output.
c906108c
SS
22338
22339Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
22340
22341 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 22342 Update test of set args help to match source change.
c906108c
SS
22343
22344Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
22345
22346 * gdb.base/default.exp: Expect help system output to be in
22347 alphabetical order.
22348 * gdb.base/help.exp: Ditto.
22349
22350Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
22351
22352 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
22353 "i*86-pc-linux-gnu*".
22354 * gdb.base/interrupt.exp: Ditto.
22355 * gdb.base/corefile.exp: Ditto.
22356
22357 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 22358 define vxworks when building the testcase.
c906108c
SS
22359
22360 * gdb.base/ptype.exp: Fix testnames to be unique.
22361 * gdb.base/radix.exp: Ditto.
22362 * gdb.base/term.exp: Ditto.
22363 * gdb.base/whatis.exp: Ditto.
22364 * gdb.c++/classes.exp: Ditto.
22365
22366Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
22367
22368 * gdb.base/callfuncs.exp: Fix indentation.
22369
22370 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
22371 suppress_flag has been set.
22372 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
22373 target feature.
22374
22375Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
22376
22377 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
22378 the testcase.
22379
22380 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 22381 set_debug_traps() and breakpoint().
c906108c
SS
22382 * gdb.c++/misc.cc (main): Ditto.
22383 * gdb.c++/templates.cc (main): Ditto.
22384 * gdb.c++/virtfunc.cc (main): Ditto.
22385
22386Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
22387
22388 * lib/gdb.exp(gdb_step_for_stub): New function.
22389 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
22390 exists, reload the executable and do a "continue" instead of
22391 doing a jump.
22392 (runto_main): Use gdb_step_for_stub.
d63a86f8 22393
c906108c 22394 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 22395 tests to have unique names.
c906108c
SS
22396 * gdb.base/callfuncs.exp: Ditto.
22397 * gdb.base/commands.exp: Ditto.
22398 * gdb.base/default.exp: Ditto.
22399 * gdb.base/help.exp: Ditto.
22400 * gdb.base/list.exp: Ditto.
22401 * gdb.base/opaque.exp: Ditto.
22402 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
22403 similar tests.
d63a86f8 22404
c906108c
SS
22405 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
22406 * gdb.c++/cplusfuncs.cc: Ditto.
22407 * gdb.c++/virtfunc.cc: Ditto.
22408
22409 * config/monitor.exp: Keep track of the last file we saw, rather
22410 than trying to get the info from gdb.
22411
22412 * gdb.fortran/types.exp: Move comment to previous line.
22413
22414Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
22415
22416 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 22417 target mode.
c906108c
SS
22418
22419Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
22420
22421 From Bob Manson:
22422 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 22423 string from GDB when it connects.
c906108c
SS
22424
22425 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
22426
22427Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
22428
22429 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
22430 if we can't get a debug format from GDB (we may be testing an
22431 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
22432
22433 * gdb.stabs/weird.exp: Fix quoting.
22434
22435 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
22436
22437Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
22438
22439 * config/arm-ice.exp: New file.
22440
22441Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
22442
22443 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 22444 until it has been modified to work with the new testsuite.
c906108c 22445
99707966 22446 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
22447 testcase won't compile, cause all of the testcases in the file to
22448 fail instead.
c906108c
SS
22449
22450 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
22451 (gdb_clear_suppressed): New procedure.
22452 (gdb_stop_suppressing_tests): Only clear suppress_flag if
22453 it contains a positive value.
22454
22455Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
22456
22457 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
22458
22459 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
22460
22461Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
22462
22463 * lib/gdb.exp (setup_xfail_format): New function.
22464 (get_debug_format): New function to get debug format.
22465 (debug_format): New global variable to hold last value set
22466 by get_debug_format.
22467 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 22468 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
22469 * gdb.c++/ptype.exp: Ditto.
22470 * gdb.c++/classes.exp: Ditto.
22471 * gdb.c++/cplusfuncs.exp: Ditto.
22472 * gdb.c++/inherit.exp: Ditto.
22473 * gdb.c++/templates.exp: Ditto.
22474 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 22475
c906108c
SS
22476Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
22477
22478 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
22479 host doesn't have a currently-open connection.
22480
22481 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
22482 any gdb stub target. Handle cases where gdb doesn't respond when
22483 interrupted in a sane fashion.
c906108c
SS
22484
22485 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 22486 same thing in a totally different way.
c906108c
SS
22487
22488 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 22489 setting "timeout".
c906108c 22490 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 22491 default_gdb_init now.
c906108c
SS
22492
22493Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
22494
22495 * gdb.base/printcmds.exp: Fix "check for floating addition"
22496 regexp to accept results within approx +/- .01 of exact value.
22497 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
22498
22499Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
22500
22501 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 22502 properly.
c906108c
SS
22503 (gdb_expect): Add optional timeout parameter, and add timeout
22504 value to various calls.
22505 (gdb_suppress_tests): Only give one warning message per group.
22506
22507Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
22508
22509 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
22510 global variables. Handle getting a value for $timeout more
22511 gracefully.
c906108c
SS
22512
22513Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
22514
22515 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 22516 initialize.
c906108c 22517 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 22518 by a target configuration file.
c906108c
SS
22519 (gdb_expect): Pass the timeout to remote_expect.
22520
22521 * config/monitor.exp(gdb_load): Fix typo in regexp.
22522
22523Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
22524
22525 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
22526
22527Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
22528
22529 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
22530 here. Call gdb_target_exec before rebooting the target, to make
22531 sure the connection to the target is closed.
c906108c
SS
22532 (gdb_load): Pass the name of the executable to gdb_target_monitor.
22533 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
22534 Also detect "Timeout reading from remote" error.
22535
22536 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
22537 gdb_target_monitor. Don't call gdb_file_cmd here; let
22538 gdb_target_monitor do it.
c906108c
SS
22539
22540 * gdb.disasm/hppa.exp: Don't use exec_output.
22541
22542Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
22543
22544 * gdb.base/list.exp: If we're debugging a non-native target,
22545 try to set the pc register to point to the start of the
22546 program before doing the first list command.
22547
22548 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 22549 test_calls after restarting.
c906108c
SS
22550
22551 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 22552 reloading.
c906108c
SS
22553
22554 * gdb.base/watchpoint.exp: Fix typo.
22555
22556 * gdb.base/setshow.exp: Check for use_gdb_stub.
22557
22558 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 22559 stub case.
c906108c
SS
22560 * gdb.base/langs.exp: Ditto.
22561
22562 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
22563 gdb_load_offset. If we weren't given a file to load, figure out
22564 what the current file is and use it.
c906108c
SS
22565
22566 * config/i386-bozo.exp: New file.
22567
22568Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
22569
22570 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
22571 feature.
22572
22573 * config/proelf.exp: New entry.
22574
22575Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
22576
22577 * lib/gdb.exp: Remove spurious .* patterns at the beginning
22578 of regexps.
22579
22580 * gdb.base/watchpoint.exp: Don't run the test_stepping
22581 tests if gdb can't call functions on the target.
22582
22583 * gdb.base/setshow.exp: Don't run the set prompt tests if
22584 the board has gdb_prompt set.
22585
22586Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
22587
22588 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
22589 * gdb.base/commands.exp: Likewise.
22590 * gdb.base/setshow.exp: Likewise.
22591
22592Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
22593
22594 * config/monitor.exp(gdb_start): Look for gdb_prompt target
22595 feature.
22596
22597 * config/i960.exp: New file.
22598
22599Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
22600
22601 * gdb.base/funcargs.exp: Check for gdb,short_int target
22602 feature instead of looking for explicit target triplets.
22603
dc96c6c7 22604Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 22605
d63a86f8 22606 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
22607 "p 123DEADBEEF", to check parse_number.
22608 * top.c: change "to enable to enable" to "to enable" in a couple
22609 of help strings.
22610
22611Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
22612
22613 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
22614 on the mn10300.
d63a86f8 22615
c906108c
SS
22616Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
22617
22618 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
22619 where the test executable is run with explicit args.
22620 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
22621
22622Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
22623
22624 * gdb.base/run.c: Use FAKEARGV to build test executable that
22625 does not require a command line arg, since most simulators
22626 don't currently support passing such an arg into the simulated
22627 program.
22628 * gdb.base/commands.exp: Change tests to insert the proper
22629 value as the arg to the first recursive factorial call. Change
22630 compilation line to define FAKEARGV at compile time.
22631
22632Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
22633
22634 * gdb.base/recurse.exp: Enable these tests for the mn10300.
22635 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
22636 function with watchpoint enabled" test.
22637
22638Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
22639
22640 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 22641 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
22642
22643 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 22644 "Tests restarted" messages.
c906108c
SS
22645
22646Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
22647
22648 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
22649
dc96c6c7 22650Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22651
22652 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
22653 for INFO SYMBOL; add help tests for OVERLAY commands.
22654 * gdb.base/default.exp: add tests for INFO SYMBOL command;
22655 add tests for OVERLAY commands
22656 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
22657 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
22658 * gdb.base/sigall.c: add usestubs code frag
22659 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 22660
c906108c
SS
22661Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
22662
22663 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
22664 failures.
22665 (gdb_stop_suppressing_tests): Note that tests have restarted.
22666
22667Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
22668
22669 * config/h8300.exp: New file.
22670
22671Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
22672
22673 * gdb.base/setshow.exp: Check for the existence of a
22674 feature, not its value.
22675
22676Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
22677
22678 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
22679
22680 * gdb.base/scope.exp: It's now init0(), not init().
22681
22682 * gdb.base/scope0.c: For now, change init() to be init0().
22683
22684 * config/monitor.exp: Use gdb_serial in preference to serial
22685 or netport.
22686
22687 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 22688 and it's not already set.
c906108c
SS
22689
22690Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
22691
22692 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 22693 isn't using a stub and if it supports argument passing.
c906108c
SS
22694
22695Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
22696
22697 * config/udi.exp(gdb_start): Make sure UDICONF is set
22698 properly before starting gdb.
22699
22700Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
22701
22702 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
22703 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
22704 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
22705
22706Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
22707
22708 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 22709 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
22710
22711 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
22712
22713 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
22714
22715 * config/monitor.exp: Make sure we disconnect from the target.
22716 Also, try a reboot/reload cycle instead of failing if the
22717 load fails.
22718
22719Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
22720
22721 * gdb.base/default.exp: Don't set match_max.
22722 * gdb.base/help.exp: Ditto.
22723 * gdb.base/list.exp: Ditto.
22724 * gdb.base/signals.exp: Ditto.
22725
22726 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
22727 set, use remote_ld to download the testcase instead of
22728 the GDB loader.
22729
22730Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
22731
22732 * config/vr5000.exp: New file.
22733
22734 * config/monitor.exp(gdb_target_monitor): Add pattern for
22735 "Ending remote" to detect errors in connecting.
22736
22737 * gdb.base/setshow.exp: Add .* within auto language test.
22738
22739 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
22740 target feature.
22741
22742 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 22743 and reboot the board if necessary.
c906108c
SS
22744
22745 * gdb.base/setvar.exp(test_set): Handle multiple prints within
22746 a set of tests. Remove print.* from the patterns being checked.
22747
22748Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
22749
22750 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
22751 refer to gdb_spawn_id.
22752
22753 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
22754 longer used.
22755 * config/sparclet.exp: Ditto.
22756 * config/sparclet-old.exp: Ditto.
22757 * config/slite.exp: Ditto.
22758 * config/sim.exp: Ditto.
22759 * gdb.base/funcargs.exp: Ditto.
22760
22761 * lib/gdb.exp:Remove references to gdb_spawn_id.
22762 (gdb_expect): Move to remote.exp.
22763
22764Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
22765
22766 * config/monitor.exp: Detect the "Couldn't establish connection"
22767 message from GDB.
22768
22769Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
22770
22771 * gdb.base/bitfields.exp: Use runto instead of explicit
22772 gdb_run_cmd/gdb_expect sequences.
22773
22774 * gdb.base/break.exp(text_next_with_recursion): Add match for
22775 gdb_expect call.
22776
22777 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
22778 We also need to handle the "A program is being debugged already"
22779 prompt from gdb. Use gdb_test to set the baud rate.
22780
22781 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
22782 to 20000. Really. I mean it.
22783
22784Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
22785
22786 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
22787 fails. If suppress_flag is set, skip perror message about not
22788 being able to send to GDB.
c906108c 22789 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 22790 GDB.
c906108c
SS
22791 (gdb_expect): If suppress_flag is set, always fail immediately.
22792 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
22793 (gdb_init): Call gdb_stop_suppressing_tests.
22794 (default_gdb_exit): Ditto.
22795 (default_gdb_start): Ditto.
22796
22797 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 22798 gdb_stop_suppressing_tests as appropriate.
c906108c 22799 * gdb.base/break.exp: Ditto.
889bf7c5 22800 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
22801 * gdb.base/commands.exp: Ditto.
22802 * gdb.base/exprs.exp: Ditto.
889bf7c5 22803 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
22804 * gdb.base/list.exp: Ditto.
22805 * gdb.base/recurse.exp: Ditto.
889bf7c5 22806 * gdb.base/scope.exp: Ditto.
c906108c
SS
22807 * gdb.base/structs.exp: Ditto.
22808 * gdb.c++/inherit.exp: Ditto.
22809
22810Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
22811
22812 * config/vr4300.exp: New file.
22813
99707966 22814 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 22815
99707966 22816 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
22817
22818Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
22819
22820 * lib/gdb.exp(gdb_init): New function.
22821
22822 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 22823 for each individual variable set.
c906108c
SS
22824
22825 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
22826 name.
22827
22828 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
22829
22830 * gdb.base/scope.exp: Use gdb_test.
22831
22832 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
22833 aborting; the testsuite driver will do that for us (see
22834 gdb_finish). Also, use gdb_test in a few more places.
22835
22836Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
22837
22838 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
22839
22840Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
22841
22842 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
22843 and "add_tests" are not at the same address.
22844
22845Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
22846
22847 * gdb.base/ptype.exp: Use gdb_test.
22848
22849Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
22850
22851 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
22852 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
22853 left in. No longer expect them to fail.
22854
22855 * gdb.stabs/*.mt; Deleted, no longer used.
22856 * gdb.stabs/configure.in: Remove references to target makefile
22857 frags.
22858 * gdb.stabs/configure: Rebuilt.
22859
22860 * gdb.disasm/*.mt: Deleted, no longer used.
22861 * gdb.disasm/configure.in: Remove references to target makefile
22862 frags. Use "sh3.s" as the unique filename for this directory.
22863 * gdb.disasm/configure: Rebuilt.
22864
22865 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
22866 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
22867 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
22868
22869Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
22870
22871 * config/udi.exp: Use mondfe,name instead of remote_host.
22872
22873Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
22874
22875 * gdb.base/watchpoint.exp: Don't expect a failure when calling
22876 a function with a watchpoint enabled on the mn10200.
22877
22878 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
22879 before trying to create it!
22880
22881Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
22882
22883 * config/vx.exp: Use hostname instead of netport.
22884
22885 * config/vxworks.exp: New file.
22886
22887 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
22888
22889 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 22890 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
22891 occurs.
22892
22893 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
22894 $gdb_spawn_id directly.
22895 (gdb_run_cmd): Try _start as well as start. Use the target feature
22896 gdb,start_symbol as the symbol to start from when jumping.
22897
22898Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
22899
22900 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
22901 redundant) test.
22902
22903 * gdb.base/recurse.exp: Relax final value test for 'b' so that
22904 it doesn't lose for 16bit integer systems.
22905
22906Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
22907
22908 * gdb.fortran/types.exp: If the target doesn't support "double"
22909 data types, then expect "real" types to only be 4 bytes.
22910
22911 * gdb.c++/virtfunc.exp: Expect failure for virtual function
22912 call tests if the target doesn't support inferior function calls.
22913
22914 * gdb.base/printcmds.exp: Allow minor deviation in FP values
22915 in printf tests.
22916
22917Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
22918
22919 * gdb.base/help.exp: Disable "help set", "help show", and
22920 "help support". Simplify regexp for "help stack".
22921
22922 * gdb.base/default.exp: Set match_max to 5000 and the timeout
22923 to 60 seconds. Temporarily set match_max to 15000 around the
22924 "info copying" test.
22925
22926 * gdb.base/nodebug.exp: Don't try to do an inferior function
22927 call if the target doesn't support them.
22928 * gdb.base/printcmds.exp: Likewise.
22929 * gdb.base/setvar.exp: Likewise.
22930 * gdb.base/structs.exp: Likewise.
22931 * gdb.c++/templates.exp: Likewise.
22932 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
22933
22934 * gdb.base/recurse.exp: Enable for the mn10200.
22935
22936 * configure.in: Do configure gdb.stabs directory for *-*-elf
22937 targets.
22938 * configure: Rebuilt.
22939
22940 * gdb.base/break.exp: Check for gdb,noresults before testing
22941 exit status and/or results from the target.
22942 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
22943 * lib/gdb.exp: Remove old (now bogus) initialization of
22944 noinferior, noargs, noresults and nosignals.
22945
22946Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
22947
22948 * config/sh.exp: New file.
22949
22950 * config/slite.exp: Try to connect multiple times to the board
22951 before rebooting. Only send a "monitor run" if need_monitor_run
22952 is set.
22953
22954 * gdb.base/break.exp: Don't do the "stub continue" test if
22955 the target has gdb_stub set.
22956
22957 * gdb.base/callfuncs.exp: Increase the timeout.
22958
22959 * gdb.base/interrupt.exp: Don't even try to compile the testcase
22960 if the target has gdb,noinferiorio set.
22961
22962 * gdb.base/list.exp: Increase match_max to 10000 characters.
22963
22964 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
22965
22966 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
22967 target.
22968
22969 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
22970
22971Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
22972
22973 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
22974 trying to delete the copy of gdb. Catch the file delete so we
22975 don't die if the delete fails; also, the file should be copied to
22976 the host, not to the build.
c906108c
SS
22977
22978Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
22979
22980 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 22981 parenthesis in case it contains multiple regexps separated
c906108c
SS
22982 with |.
22983
22984 * gdb.base/watchpoint.exp: Use gdb_test.
22985 * gdb.base/default.exp: Ditto.
22986
22987Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
22988
99707966 22989 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 22990
c906108c
SS
22991 * gdb.base/scope.exp: Use gdb_test.
22992 * gdb.c++/classes.exp: Ditto.
22993 * gdb.c++/inherit.exp: Ditto.
22994
22995Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
22996
22997 * gdb.base/crossload.exp: Don't use execute_anywhere, use
22998 remote_exec instead.
22999 * gdb.base/corefile.exp: Don't be ridiculous.
23000 * gdb.base/*.c: Add missing stub invocations.
23001
23002Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
23003
23004 * config/slite.exp: Miscellaneous fixes.
23005
23006 * lib/gdb.exp: Fix runto.
23007
23008 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
23009 the target.
23010
23011 * gdb.base/watchpoint.exp: Fix regexp.
23012
23013 * lib/gdb.exp(default_gdb_exit): Add a catch to the
23014 close and wait commands, as the descriptor may now be
23015 invalid. Always call "remote_close host".
23016
23017Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
23018
23019 Major rewrite for testsuite revision.
d63a86f8 23020
c906108c
SS
23021 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
23022 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
23023 instead of relying on spawn_id to always contain a valid
23024 spawn id.
23025 (get_compiler_info): New procedure to build the ${binfile}.ci
23026 file, instead of replicating this in N different places.
23027 (gdb_compile): New procedure.
d63a86f8 23028
c906108c 23029 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
23030 appropriate arguments) instead of compile. Use gdb_test in a lot
23031 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
23032 at the start of a testcase, as this is no longer done magically.
23033
23034 config/*-gdb.exp: Rename without the -gdb suffix.
23035
23036 config/mips.exp: Use remote_close instead of exit_remote_shell.
23037 config/monitor.exp: Use target_info instead of looking at
23038 baud, timeout, etc.
23039 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
23040
23041Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23042
23043 * gdb.c++/templates.exp (test_ptype_of_templates),
23044 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
23045 Update expect patterns for destructors and assignment operators
23046 to match corresponding c-typeprint.c changes.
23047 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
23048 to destructor breakpoint test, GDB should be able to set the
23049 destructor breakpoint without specifying arguments.
23050
23051Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
23052
23053 * gdb.threads/pthreads.exp: Change result for failure to compile due
23054 to lack of pthreads runtime support from an error to simply an
23055 unsupported test, per dejagnu standards.
23056
23057Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23058
23059 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
23060 where GDB exits to reduce pattern match time.
23061 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
23062
23063 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
23064
dc96c6c7 23065Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23066
23067 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
23068 * gdb.base/default.exp: ditto.
23069 * gdb.base/nodebug.exp: ditto.
23070 * gdb.base/printcmds.exp: ditto.
23071 * gdb.base/ptype.exp: ditto.
23072 * gdb.base/setvar.exp: ditto.
23073 * gdb.base/structs.exp: ditto.
23074 * gdb.base/setshow.c: Guard against uninitialized values of argc.
23075
23076Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
23077
23078 * configure, */configure: Rebuild with autoconf 2.12.
23079
23080Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
23081
23082 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
23083 use new i*86-pc-linux*-gnu quads.
23084 * gdb.base/corefile.exp: Ditto.
23085 * gdb.base/signals.exp: Ditto.
23086 * gdb.base/sigall.exp: Ditto.
23087 * gdb.base/interrupt.exp: Ditto.
23088
23089 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
23090 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
23091 RedHat 4.0.
d63a86f8 23092
c906108c 23093 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
23094 linux. This allows the test case to at least compile on latest
23095 linux, but still not run due to missing the threads runtime library.
c906108c
SS
23096
23097Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23098
23099 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
23100 directory to search gdb directory. Accept and step over conditional
23101 stack alignment code. Consume $prompt in failure cases.
23102 Reset timeout to $oldtimeout instead of some arbitrary value.
23103 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
23104 timeout problems with infinite stack backtraces.
23105 * gdb.base/ptype.exp (ptype struct link, union tu_link):
23106 Accept function parameters for linkfunc member.
23107
23108Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
23109
23110 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
23111 (CXXFLAGS): Remove, unreferenced.
23112 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
23113 previous -B options and also add -B option to pick up cross compiled
23114 runtime.
c906108c
SS
23115 (TARGET_INCLUDES): Add for -I options and add code to initialize when
23116 doing cross compiles.
23117 (target_alias): Declare global.
23118 (xgcc): Set variable to full path of gcc in build tree. Use findfile
23119 to verify that gcc exists in build tree, and if so set CC to that
23120 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 23121
c906108c
SS
23122Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
23123
23124 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
23125 ptype test for anonymous union. Fixup testcase to match
23126 current gcc debug output.
23127
23128Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
23129
23130 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
23131 force argument to an unsigned long type.
23132
23133Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
23134
23135 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 23136 tests and anonymous union print/ptype tests.
c906108c
SS
23137 * gdb.base/list.exp (test_forward-search): Increase timeout by
23138 5 minutes for the "search extremely long line" case.
23139 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
23140 completely optional and that the pass/fail messages use the command as
23141 the message if that third arg is a null string.
23142 (gdb_test_exact): Arrange that a null string pattern means match a
23143 null string output rather than any output, which might include random
889bf7c5 23144 errors.
c906108c
SS
23145 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
23146 backtrace test.
23147 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
23148 always failing and failure is now exposed by gdb.exp changes.
23149
23150Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
23151
23152 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
23153 weren't being noted.
23154
23155Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23156
23157 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
23158 * gdb.stabs/weird.exp: Remove v_comb xfails.
23159
dc96c6c7 23160Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23161
23162 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 23163 list.exp scope.exp watchpoint.exp]
c906108c 23164 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 23165
dc96c6c7 23166Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23167
23168 * config/monitor.exp: Increase download timeout to 1000 seconds.
23169
dc96c6c7 23170Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23171
23172 * config/m32r.exp: Increase timeout to 120 seconds.
23173
23174Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
23175
23176 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
23177 and accept older ordering as obsolescent gcc or gdb.
23178 * gdb.c++/templates.exp: Ditto.
23179 * gdb.c++/virtfunc.exp: Ditto.
23180
23181Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
23182
23183 * gdb.base/coremaker.c: Add code to mmap some data so we
23184 can check that it ends up in the core file.
23185 * gdb.base/corefile.exp: Add test to read mmapped data
23186 from core file.
23187
dc96c6c7 23188Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23189
23190 * config/m32r.exp: New file.
23191
23192Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
23193
23194 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
23195 that cflags can contains -gstabs, and work correctly for other tests.
23196
dc96c6c7 23197Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23198
23199 * gdb.base/setshow.exp: New file, tests show and set.
23200 * gdb.base/setshow.c: New file, tests show and set.
23201 * gdb.base/help.exp: Add test for help set|show annotate.
23202 * gdb.base/default.exp: Add test for set|show annotate.
23203
23204Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
23205
23206 * testsuite/gdb.base/break.exp: Make backtrace from factorial
23207 errors unique.
23208 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
23209 explicitly.
23210
23211Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
23212
23213 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
23214 and width commands. This is done elsewhere.
23215 * (gdb_start): Don't call gdb_start_sim here. That's already
23216 done in gdb_load. This fixes lots of failures in default.exp.
23217
23218Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
23219
23220 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
23221 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
23222 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
23223 in the same we we treat other failures (since it may be an expected
889bf7c5 23224 condition), rather than as an error.
c906108c
SS
23225 * gdb.base/signals.exp (test_handle_all_print): Revert back to
23226 old test format.
23227
23228Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
23229
23230 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
23231 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 23232 twice. Nuke the duplicates.
c906108c 23233 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 23234 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
23235 Remove config.h along with other config files.
23236
23237Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
23238
23239 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
23240 "p func1 ()" and note that rests of tests are skipped.
23241 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 23242 setup_xfails for "print func2::coremaker_local".
c906108c
SS
23243 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
23244 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
23245 affected by the previous run test.
23246 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
23247 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
23248 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
23249 "pass int powerset tuple" and "pass modeless int powerset tuple".
23250 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
23251 "real write 4" and "real write 8".
23252 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 23253 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
23254 "print \$i after tuple assign 2", and
23255 "print vs2 after tuple assign 2".
23256 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
23257 meaningful error message and return -1 so the caller can
23258 suppress further tests and avoid a cascade of errors.
d63a86f8 23259
c906108c
SS
23260Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
23261
23262 * gdb.base/a1-selftest.exp: Tweak tests to account for new
23263 format for printing version.
23264 * gdb.base/default.exp: Ditto.
23265 * gdb.base/interrupt.exp: Fix problem with cascade of
23266 errors if child process dies while calling a function.
d63a86f8 23267
c906108c
SS
23268Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
23269
23270 * Makefile.in (VPATH): Add
23271 * Makefile.in (Makefile, config.status): Fix rules so things get
23272 remade when necessary.
23273
23274Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
23275
23276 * Makefile.in (just-check): Add path to sibling expect dir
23277 to environment variable specified by RPATH_ENVVAR.
23278
23279Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
23280
23281 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
23282 (just-check): Add shared library paths for libstdc++, tk,
23283 tcl, bfd, and opcodes to the environment variable specified
23284 in RPATH_ENVVAR.
23285 * configure.in: Add support to recognize --enable-shared flag
23286 and generate correct value for RPATH_ENVVAR.
23287 * configure: Regenerated with autoconf.
23288
23289Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
23290
23291 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 23292 include all osf versions.
c906108c
SS
23293 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
23294 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
23295 when target is linux. When failing to build pthreads test
23296 executable, give more meaningful message.
23297 * gdb.threads/pthreads.c: Hpux also uses old definition of second
23298 arg for pthread_create.
d63a86f8 23299
c906108c
SS
23300Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
23301
23302 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 23303 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 23304 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 23305 and -lpthreads (everybody else).
c906108c
SS
23306 (test_startup): Fail gracefully if threads are not supported.
23307 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
23308 "p/c array_index("abcdef",2)" when not gcc compiled.
23309 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
23310 "print func2::coremaker_local" when not gcc compiled.
23311 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
23312 "ptype on opaque struct tagname (statically)",
23313 "ptype on opaque struct tagname (dynamically) 1", and
23314 "ptype on opaque struct tagname (dynamically) 2"
23315 for not compiled with gcc.
23316 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
23317 backtrace when compiled with gcc.
d63a86f8 23318 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
23319 than always return success.
23320
23321Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
23322
23323 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
23324
23325Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
23326
23327 * gdb.base/structs.exp: Undo last change.
23328
23329Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
23330
23331 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
23332 encapsulate all the steps/nexts done during self test, starting
23333 at main, and makes them less sensitive to optimization issues.
23334 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
23335 signal handler" test.
23336 * gdb.threads/pthreads.exp: Only run this for native configs.
23337 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
23338 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
23339 tests.
23340 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
23341 for "runto test_calls(void)" test.
d63a86f8 23342
c906108c
SS
23343Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
23344
23345 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
23346 and don't expect address info in breakpoint confirmations.
23347
23348Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
23349
23350 * gdb.base/list.exp (test_forward_search): Increase timeout
23351 temporarily by 60 seconds for searching extremely long line,
889bf7c5 23352 and then reset to old value when done. Increase expect input
c906108c
SS
23353 buffer to 10000.
23354
23355Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
23356
23357 * gdb.base/list.exp (test_forward_search): Fix to handle very
23358 long source line without overflowing expect's input buffer.
23359
23360Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
23361
23362 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
23363 "buffer_full".
23364
23365 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
23366 "buffer_full".
23367
23368 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
23369 "buffer_full".
23370
23371 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
23372 "buffer_full".
23373
23374Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
23375
23376 * configure.in (configdirs): Add gdb.threads.
23377 * configure: Regenerated with autoconf.
23378 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
23379 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
23380 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 23381
c906108c
SS
23382Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
23383
23384 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
23385
23386Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
23387
23388 * gdb.base/signals.exp (test_handle_all_print): Test separately for
23389 each signal's status in the output of "handle all print".
23390 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
23391 the \r\n sequence that immediately precedes the gdb prompt.
23392 * gdb.base/a1-selftest.exp: Save original timeout and restore
23393 after test.
23394
23395Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
23396
23397 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
23398 symbol.
23399
23400Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
23401
23402 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
23403
23404Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
23405
23406 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
23407 timeout by 60 seconds.
23408
23409Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
23410
23411 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
23412 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
23413 error return.
23414
23415Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
23416
23417 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
23418 gdb initialization, also report how long dejagnu waited. Restore
23419 old timeout before doing error return. Temporarily increase timeout
889bf7c5 23420 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
23421
23422Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
23423
23424 * lib/gdb.exp: Report timeout value for verbosity level 2.
23425 * config/gdbserver.exp: Ditto.
23426 * config/hppro.exp: Ditto.
23427 * config/mips-gdb.exp: Ditto.
23428 * config/monitor.exp: Ditto.
23429 * config/netware.exp: Ditto.
23430 * config/sim-gdb.exp: Ditto.
23431 * config/slite-gdb.exp: Ditto.
23432 * config/udi-gdb.exp: Ditto.
23433 * config/unix-gdb.exp: Ditto.
23434 * config/vx-gdb.exp: Ditto.
23435 * gdb.base/a1-selftest.exp: Ditto.
23436 * gdb.base/a2-run.exp: Ditto.
23437 * gdb.base/break.exp: Ditto.
23438 * gdb.base/corefile.exp: Ditto.
23439 * gdb.base/list.exp: Ditto.
23440 * gdb.base/recurse.exp: Ditto.
23441 * gdb.base/scope.exp: Ditto.
23442 * gdb.base/signals.exp: Ditto.
23443
23444Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
23445
23446 * gdb.threads/Makefile.in (docdir): Removed.
23447
23448Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
23449
23450 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 23451 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 23452 @srcdir@.
d63a86f8 23453 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
23454 autoconf 2.5 or higher.
23455 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
23456
23457Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
23458
23459 * configure: Regenerated.
23460 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
23461 avoid name clashes with SunOS headers.
23462
23463Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
23464
23465 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
23466
23467Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
23468
23469 * gdb.base/callfuncs.exp: Finish last change -- make sure the
23470 prototype information ends up in the compiler info file.
23471
23472Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
23473
23474 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
23475 attempting to regenerate it. Eliminate use of a temporary file
23476 and just generate the info file directly. Source it immediately,
23477 for consistency of use.
23478 * gdb.base/corefile.exp: Ditto
23479 * gdb.base/exprs.exp: Ditto.
23480 * gdb.base/funcargs.exp: Ditto.
23481 * gdb.base/langs.exp: Ditto.
23482 * gdb.base/list.exp: Ditto.
23483 * gdb.base/mips_pro.exp: Ditto.
23484 * gdb.base/nodebug.exp: Ditto.
23485 * gdb.base/opaque.exp: Ditto.
23486 * gdb.base/ptype.exp: Ditto.
23487 * gdb.base/scope.exp: Ditto.
23488 * gdb.base/setvar.exp: Ditto.
23489 * gdb.base/signals.exp: Ditto.
23490 * gdb.base/whatis.exp: Ditto.
23491 * gdb.c++/templates.exp: Ditto.
23492 * gdb.c++/virtfunc.exp: Ditto.
23493 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 23494 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
23495
23496Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23497
23498 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
23499 it got fixed by the recent lookup_minimal_symbol_by_pc change.
23500 Increase timeout, a lot of single stepping might be needed if the
23501 target has no hardware watchpoints.
23502
23503Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
23504
23505 * gdb.base/break.exp: Ignore compiler warnings when compiling
23506 break.c.
23507 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
23508 * gdb.base/default.exp: Add h8300 xfails. Handle messages
23509 from remote-sim.
23510 * gdb.base/exprs.exp: Add h8300 xfails.
23511 * gdb.base/funcargs.exp: Likewise.
23512 * gdb.base/nodebug.exp: Likewise.
23513 * gdb.base/printcmds.exp: Likewise.
23514 * gdb.base/ptype.exp: Likewise.
23515 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
23516 h8300 xfails.
d63a86f8 23517 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
23518 on the h8300.
23519 * gdb.base/funcargs.c: Explicitly make last constant argument to
23520 call_after_alloca_subr an unsigned long type.
23521 * gdb.base/return.c: Include stdio.h.
23522
23523Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
23524
23525 * config/abug.exp: New file for the older Motorola Bug monitor
23526 that runs on the mvme13x series VME boards.
23527 * config/monitor.exp: Use the new config array for target settings
23528 if they exist.
23529
23530Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
23531
23532 * sim-gdb.exp: Make the SH simulator allocate less space when
23533 it is targeted.
23534
23535Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
23536
23537 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
23538 test.
23539
23540Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
23541
23542 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
23543 "rs6000-*-*" for "list function in include file" when gcc compiled.
23544 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
23545 for "p ctable1[120]".
23546 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
23547 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
23548 Remove setup_xfail for "rs6000-*-*" for
23549 "print 'scope0.c'::filelocal before run".
23550 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
23551 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
23552 since some compilers don't allow both options to be given
23553 on the same command line. Create object file and move it.
d63a86f8 23554
c906108c
SS
23555Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
23556
23557 * gdb.base/corefile.exp: Always regenerate the core file, since
23558 we always regenerate the coremaker program. Detect special case
23559 where registers cannot be read from core file.
d63a86f8 23560
c906108c
SS
23561Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
23562
23563 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
23564 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
23565 * gdb.c++/templates.exp: Only match on basename of file since
23566 some formats like xcoff don't encode directory information.
23567 * gdb.stabs/weird.exp: Use the right sed script for powerpc
23568 and rs6000 AIX xcoff targets.
23569 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
23570 * configure: Regenerate.
23571 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
23572 here, rather than in distclean.
d63a86f8 23573
c906108c
SS
23574Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
23575
23576 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
23577 defined, and use it to compile the test case with -O2. The
23578 native compilation still uses no optimization.
23579 * gdb.base/mips_pro.c: Remove inline assembly code since
23580 it is compiled PIC by default, which results in assembler
23581 warnings that make the testsuite think the compilation
23582 was unsuccessful.
23583
23584Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
23585
23586 * gdb.c++/misc.exp: Add note to message for
23587 "print s.a for foo struct" that this is a known gcc 2.7.2
23588 and earlier bug.
23589
23590Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
23591
23592 * gdb.base/break.exp: Fix pattern for matching "Delete all
23593 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
23594 setup_xfail for deleting all breakpoints test. Fix various
23595 timeout messages to include "(timeout)".
23596 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
23597 for "p t_float_values2(3.14159,float_val2)".
23598 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
23599 for "continue to call2g" when gcc compiled.
23600 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
23601 "up to foo in langs.exp", "show language at foo in langs.exp",
23602 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
23603 and "show language at fsub in langs.exp".
23604 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
23605 "list line 1 in include file", "list message for lines past EOF",
23606 "list function in include file", "list list0.h:foo", and
23607 "list filename:function; nonexistant function".
23608 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
23609 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
23610 and "ptype t_char_array" to be for native cc only.
d63a86f8 23611
c906108c
SS
23612Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
23613
d63a86f8 23614 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 23615 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 23616 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
23617
23618Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
23619
23620 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
23621 "bt in signals.exp". This problem only appears when running
23622 the testsuite, and then only intermittently.
23623
23624Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
23625
23626 * gdb.base/return.exp (return_tests): Differentiate between
23627 two tests of continuing.
23628
23629Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
23630
23631 * */Makefile.in (maintainer-clean): Remove config.log.
23632 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
23633 * gdb.c++/Makefile.in (PROGS): Add inherit.
23634 (clean): Remove *.ci.
23635
23636Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
23637
23638 * gdb.c++/misc.cc: Add test code from Mike Stump.
23639 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
23640
23641Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
23642
23643 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
23644 to "alpha-*-osf2*" and add comment.
23645 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
23646 setup_xfail for "step over execarg initialization" and
23647 "step over corearg initialization".
c906108c
SS
23648 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
23649 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
23650 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 23651 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
23652 "print func2::coremaker_local", and "backtrace in corefile.exp".
23653 * gdb.base/signals.exp: Build and source signals.ci.
23654 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
23655 to be for gcc only.
23656 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 23657
c906108c
SS
23658Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23659
23660 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
23661 Feb 3 procfs.c change.
23662
23663Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
23664
23665 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
23666
23667Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
23668
23669 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
23670 from dejagnu's apparent default of 10 seconds, which gives random
23671 results when running the tests over NFS on moderately loaded systems.
23672 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
23673
23674Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
23675
23676 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
23677 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 23678 result reports.
c906108c
SS
23679
23680Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
23681
23682 * configure.in (CY_AC_PATH_TCLH): Remove.
23683 * configure: Regenerate.
23684
23685Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
23686
23687 * gdb.c++/Makefile.in (clean): Add missing '{'.
23688
23689Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
23690
23691 * lib/gdb.exp: Provide a default value for noinferior.
23692
23693 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
23694 Load libgloss.exp.
23695
23696Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
23697
23698 * gdb.disasm/hppa.exp: Compile directly into an executable, use
23699 the executable, not the .o to run the tests from.
23700
23701Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
23702
23703 * gdb.base/break.exp: Don't test for program exit or exit status
23704 if $noresults if nonzero.
23705 * gdb.base/langs.exp: Likewise.
23706 * gdb.base/watchpoint.exp: Likewise.
23707
23708 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
23709 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
23710 trying to compile the testcase.
23711
23712Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
23713
23714 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
23715 * gdb.base/signals.exp (continue to handler): Likewise.
23716
23717Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
23718
23719 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
23720
23721 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
23722
23723Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
23724
23725 * gdb.base/corefile.exp: Recognize "not found" as failure
23726 when trying to determine if a core file was generated.
23727 If no core file was generate the first time, try again without
23728 the ulimit -c to work around braindamaged shells.
23729
23730Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
23731
23732 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
23733 [] tests with "test" and enclose string in quotes.
23734 * gdb.stabs/configure: Rebuild
d63a86f8 23735
c906108c
SS
23736Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
23737
23738 Changes in sync with expect:
23739 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
23740 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
23741 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
23742 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
23743 argument to AC_REQUIRE.
23744 * configure: Regenerated.
23745
23746Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
23747
23748 * gdb.base/corefile.exp: When generating a core, discard any
23749 error messages about ulimit not found and the "core dumped"
23750 message from the shell that runs the coredumper.
23751
23752Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
23753
23754 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
23755
23756 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
23757 which sed script to run. Expect failure for v_comb test
23758 on PA targets too.
d63a86f8 23759
c906108c
SS
23760Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
23761
23762 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 23763 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
23764
23765Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
23766
23767 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
23768 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 23769 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
23770 * lib/gdb.exp (default_gdb_start): Fix typo.
23771 * gdb.base/corefile.exp: Allow "Core was generated by ..."
23772 messages to not include the full program name that caused
23773 the core dump since some systems (such as solaris) apparently
23774 truncate this path to about 80 characters.
23775 When generating a core file first try increasing the core file
23776 size limit to unlimited since some systems may default it to
23777 zero, and it is harmless to try it. Move the test for failing
23778 to generate a core file to where it will actually get executed.
23779 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
23780 new gdb result from g++ debug info improvements and make old
23781 pattern obsolescent. Also account for size_t differences
23782 (may be int or long).
23783 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
23784 initialization before function call is placed in the delay slot
23785 and thus appears to be skipped over by commands such as "next".
23786
23787Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
23788
23789 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
23790
23791Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
23792
23793 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
23794 input source file; fix code to compile test to deal with this
23795 convention.
23796 * gdb.c++/*.exp: Likewise.
23797
23798Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
23799
23800 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
23801 "bt in signals.exp".
23802
23803Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
23804
23805 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
23806 "step over execarg initialization" and
889bf7c5 23807 "step over corearg initialization".
c906108c
SS
23808
23809Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
23810
23811 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
23812 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
23813
23814Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
23815
23816 From Rob Savoye (rob@poseidon.cygnus.com)
23817 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
23818 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
23819 configure.in}, gdb.disasm/{Makefile.in, configure.in},
23820 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
23821 configure.in}: Major reworking for autoconfig.
c906108c
SS
23822 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
23823 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 23824 New files.
c906108c
SS
23825 * config/unix-gdb.exp: Make GDB global.
23826 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
23827 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
23828 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
23829 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
23830 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
23831 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 23832 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
23833 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
23834 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
23835 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
23836 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 23837 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
23838 to returns as necessary, arrange for test to compile own testcase
23839 executable.
c906108c 23840 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 23841
c906108c
SS
23842Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
23843
23844 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 23845 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
23846 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
23847 "backtrace through signal handler".
23848
23849Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23850
23851 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
23852 continuing from a job control stop signal.
23853 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
23854
23855Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
23856
23857 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
23858 * gdb.base/corefile.exp: Likewise.
23859 * gdb.base/funcargs.exp: Likewise.
23860
23861Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
23862
23863 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
23864 * config/monitor.exp: Add support for setting baud rate.
23865
23866Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
23867
23868 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
23869 i*86-*-linux* xfails for "backtrace through signal handler".
23870 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
23871 "print func2::coremaker_local".
23872 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 23873 alpha-dec-osf2* xfail for
c906108c
SS
23874 "delete all breakpoints when none".
23875
23876Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
23877
23878 * gdb.base/break.exp: Change test that deletes all breakpoints
23879 when no user breakpoints are installed. A post 4.15 change
23880 causes gdb to no longer prompt in this case.
23881
23882Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
23883
23884 * gdb.base/return.exp (return_tests): Change xfail for test
23885 "correct value returned double test" to stop xfailing at
23886 Solaris 2.5. Apparently the bug has been fixed.
23887
23888Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
23889
23890 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
23891 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
23892
23893Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
23894
23895 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
23896 * gdb.disasm/hppa.s: Corresponding changes.
23897
23898Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
23899
23900 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
23901 makefile fragment.
23902 * config/mt-hpux: Deleted.
23903
23904Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
23905
d63a86f8 23906 * Many files: When warning about suppressed tests due to a
c906108c
SS
23907 nonexistant test binary, avoid incrementing the warning count.
23908
23909Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
23910
23911 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 23912
c906108c
SS
23913Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23914
23915 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
23916 "sparc-*-solaris2*".
23917
23918Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23919
23920 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
23921 Add global and local variables and initialize them.
23922 * gdb.base/corefile.exp: Test correct mapping of corefile sections
23923 by printing variables. Remove rs6000 and powerpc xfails, BFD now
23924 extracts the file name and terminating signal from the core file.
23925 * TODO: Remove note about tests for correct mapping of corefile.
23926 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
23927 from optimizing it away.
23928 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
23929 handles common blocks.
23930
23931Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
23932
23933 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
23934 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
23935
23936Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
23937
23938 * Makefile.in (maintainer-clean): New target, synonym for
23939 realclean.
23940 * gdb.base/Makefile.in (maintainer-clean): Likewise.
23941 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
23942 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
23943 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
23944 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
23945 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
23946
23947Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
23948
23949 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
23950 xfails when not gcc compiled for "print foo::funclocal".
23951 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
23952 "print foo::funclocal at foo",
23953 "print 'scope1.c'::foo::funclocal at foo",
23954 "print foo::funclocal_bss at foo",
23955 "print 'scope1.c'::foo::funclocal_bss at foo",
23956 "print foo::funclocal_ro at foo",
23957 "print 'scope1.c'::foo::funclocal_ro at foo",
23958 "print bar::funclocal at foo" and
23959 "print 'scope1.c'::bar::funclocal at foo".
23960 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
23961 gcc compiled for "print foo::funclocal at bar".
23962 Expand all messages to ensure that they identify that
23963 the test is at bar().
23964 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
23965 gcc compiled for:
23966 "ptype on opaque struct pointer (statically)",
23967 "ptype on opaque struct tagname (statically)",
23968 "ptype on opaque struct pointer (dynamically) 1",
23969 "ptype on opaque struct tagname (dynamically) 1",
23970 "ptype on opaque struct pointer (dynamically) 2" and
23971 "ptype on opaque struct tagname (dynamically) 2
23972 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
23973 gcc compiled for:
23974 "p datalocal"
23975 "whatis datalocal",
23976 "ptype datalocal",
23977 "p bsslocal",
23978 "whatis bsslocal", and
23979 "ptype bsslocal".
23980 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
23981 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
23982 when not gcc compiled.
23983 * gdb.base/funcargs.exp (float_and_integral_args): Add
23984 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
23985 compiled.
23986 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
23987 "backtrace from call6a" when not gcc compiled.
23988 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
23989 "backtrace from call7a" when not gcc compiled.
23990 * gdb.base/callfuncs.exp (do_function_calls):
23991 Add "hppa*-*-hpux*" xfail when not gcc compiled for
23992 "p t_char_array_values(char_array_val2,char_array_val1)",
23993 "p t_char_array_values(char_array_val1,char_array_val2)",
23994 "p t_char_array_values("carray 1","carray 2")",
23995 "p t_char_array_values("carray 1",char_array_val2)",
23996 "p t_char_array_values(char_array_val1,"carray 2")",
23997 "p sum_args(1,{2})",
23998 "p sum_args(2,{2,3})",
23999 "p sum_args(3,{2,3,4})",
24000 "p sum_args(4,{2,3,4,5})"
24001 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
24002 "backtrace in corefile.exp" when not gcc compiled.
24003
24004Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24005
24006 * gdb.base/signals.exp: Rewrite `handle all print' test as
24007 a procedure. Accept blanks or TABs as whitespace, increase
24008 timeout and expect input buffer size for the large output
24009 from the command. Remove "i*86-*-bsdi2.0" xfail.
24010
24011Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24012
24013 * gdb.base/setvar.exp: Add new testcases for truncation when
24014 assigning invalid values to bitfields.
24015
24016Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
24017
d63a86f8 24018 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
24019 mips-sgi-irix* xfail for
24020 "call inferior func with struct - returns char *"
24021 and fix test so that an optional (unsigned char *) cast is
889bf7c5 24022 accepted in the result.
c906108c
SS
24023
24024Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
24025
24026 * gdb.base/funcargs.exp (float_and_integral_args): Remove
24027 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
24028 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
24029 * gdb.base/signals.exp: Remove duplicate "handle all print" test
24030 that accidentally got checked in.
24031
24032Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
24033
d63a86f8 24034 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
24035 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
24036 compiled test.
24037 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
24038 Add mips-sgi-irix5* xfail for not gcc compiled.
24039 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
24040 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
24041 "p top", "whatis top", "p middle", and "whatis middle".
24042 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
24043 "whatis signed char" for not gcc compiled.
24044 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
24045 "set variable signed char=-1 (-1)" and
24046 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
24047 * gdb.base/funcargs.exp (float_and_integral_args):
24048 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
24049 Add mips-sgi-irix* xfail when not gcc compiled for
24050 "continue to call2b".
24051 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
24052 "continue to call2g".
24053 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
24054 "backtrace from call6a"
24055 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
24056 "backtrace from call7k".
24057 Add mips-sgi-irix5* xfail when not gcc compiled for
24058 "backtrace from call7a".
24059 (localvars_after_alloca): Fix gdb_test cmds for
24060 "print * after runto ...".
24061 Remove rs6000-*-* xfails for
24062 "print i after runto localvars_after_alloca" and
24063 "print l after runto localvars_after_alloca"
24064 for all compilers.
24065 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 24066 when not compiled with gcc, for:
c906108c
SS
24067 "print signed char == (minus)",
24068 "print signed char != (minus)",
24069 "print signed char < (minus)",
24070 "print signed char > (minus)".
24071 * gdb.base/callfuncs.exp (do_function_calls):
24072 Add mips-sgi-irix* xfail, when compiled with native compiler, for
24073 "call inferior func with struct - returns char *".
d63a86f8 24074 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
24075 "correct value returned double test" to include Solaris 2.4.
24076 * gdb.base/funcargs.exp (float_and_integral_args):
24077 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 24078
c906108c
SS
24079Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24080
24081 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
24082 enumeration bitfields if compiling with GNU C.
24083 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
24084 to empty' prompt.
24085
24086Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
24087
24088 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
24089 test for PRO targets.
24090
24091 * gdb.base/funcargs.exp: Avoid ever setting more than 8
24092 breakpoints in the inferior at any given time by making
24093 two groups of breakpoints for call2*, call6* and call7*
24094 tests.
24095
24096Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24097
24098 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
24099 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
24100 from optimizing it away.
24101 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
24102 "call inferior func with struct".
24103
24104Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
24105
24106 * configure.in: Only configure gdb.chill for particular targets.
24107
24108Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
24109
24110 * gdb.base/Makefile.in: Add action to .c.o transformation
24111 rule that generates a .ci file for each .o file and remove
24112 explicit .c.o rules except for callfuncs.o.
24113 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
24114 generates a .ci file for each .o file and remove explicit
24115 .cc.o rules.
24116 (clean): Remove *.tmp *.ci files.
24117 (EXECUTABLES): Remove templ-info.exp.
24118 * gdb.base/compiler.c: New file.
24119 * gdb.c++/compiler.cc: New file
24120 * gdb.base/scope.exp: Source gdb.base/scope.ci.
24121 Change rs6000-*-* xfail for
24122 "print 'scope0.c'::filelocal_ro" and
24123 "print 'scope1.c'::filelocal" and
24124 "print 'scope1.c'::filelocal_bss" and
24125 "print 'scope1.c'::filelocal_ro" and
24126 "print 'scope1.c'::foo::funclocal" and
24127 "print 'scope1.c'::foo::funclocal_ro" and
24128 "print 'scope1.c'::bar::funclocal" and
24129 "print 'scope0.c'::filelocal_ro" and
24130 "print 'scope1.c'::filelocal at foo" and
24131 "print 'scope1.c'::filelocal_bss at foo" and
24132 "print 'scope1.c'::filelocal_ro at foo" and
24133 "print 'scope1.c'::foo::funclocal at foo" and
24134 "print 'scope1.c'::foo::funclocal_bss at foo" and
24135 "print 'scope1.c'::foo::funclocal_ro at foo" and
24136 "print 'scope1.c'::bar::funclocal at foo" and
24137 "print 'scope0.c'::filelocal_ro" and
24138 "print 'scope1.c'::filelocal" and
24139 "print 'scope1.c'::filelocal_bss" and
24140 "print 'scope1.c'::filelocal_ro" and
24141 "print 'scope1.c'::foo::funclocal" and
24142 "print 'scope1.c'::foo::funclocal_bss" and
24143 "print 'scope1.c'::foo::funclocal_ro" and
24144 "print 'scope1.c'::bar::funclocal" and
24145 "print 'scope1.c'::bar::funclocal_bss"
24146 to only be xfail'd when not compiled with gcc.
d63a86f8 24147 Add rs6000-*-* xfail for
c906108c
SS
24148 "print 'scope0.c'::filelocal_bss before run"
24149 when compiled with gcc.
24150 (test_at_main): Add rs6000-*-* xfail for
24151 "print filelocal_ro in test_at_main"
24152 when compiled with gcc.
24153 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 24154 Add rs6000-*-aix* xfail for
c906108c
SS
24155 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
24156 "ptype t_char_array", not compiled with gcc.
24157 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
24158 xfail for "list foo (in include file)" when gcc compiled.
24159 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 24160 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
24161 "run to call0a" if not compiled with gcc.
24162 (unsigned_integral_args): Add rs6000-*-* xfail for
24163 "run to call1a" if not compiled with gcc.
24164 (float_and_integral_args): Add rs6000-*-* xfail for
24165 "run to call2a" if not compiled with gcc and for
24166 "continue to call2b" for any compiler.
24167 Add rs6000-*-* xfail to
24168 "print f1 after run to call2a" for gcc compiled.
24169 (discard_and_shuffle): Add rs6000-*-* xfail for
24170 "run to call6a".
24171 (shuffle_round_robin): Add rs6000-*-* xfail for
24172 "backtrace from call7a" if not compiled with gcc.
24173 Add rs6000-*-* xfail for
24174 "backtrace from call7b" if compiled with gcc.
24175 (call_after_alloca): Add rs6000-*-* xfail for
24176 "print c in call_after_alloca" and
24177 "print s in call_after_alloca" and
24178 "backtrace from call_after_alloca_subr"
24179 if not compiled with gcc.
24180 (localvars_in_indirect_call): Add rs6000-*-* xfail for
24181 "print c in localvars_in_indirect_call" and
24182 "print c in localvars_in_indirect_call" and
24183 "backtrace in indirectly called function" and
24184 "stepping into indirectly called function"
24185 if not compiled with gcc.
24186 (localvars_after_alloca): Add rs6000-*-* xfail for
24187 "print c after runto localvars_after_alloca" and
24188 "print s after runto localvars_after_alloca" and
24189 "print i after runto localvars_after_alloca" and
24190 "print l after runto localvars_after_alloca"
24191 for all compilers.
24192 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
24193 than whatis-info.exp.
24194 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
24195 than opaque-info.exp.
24196 Setup rs6000-*-* xfail for
d63a86f8 24197 "ptype on opaque struct pointer (statically)" and
c906108c
SS
24198 "ptype on opaque struct pointer (dynamically)" when
24199 not compiled with gcc.
24200 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
24201 rather than callf-info.exp.
24202 (do_function_calls): Add clear_xfail for rs6000-*-* for
24203 "p t_float_values2(3.14159,float_val2)". Seems to work
24204 fine there, both with xlc and gcc. Need to find out what
24205 it is doing right and fix other platforms.
24206 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
24207 "call inferior func with struct - returns int",
24208 "call inferior func with struct - returns long",
24209 "call inferior func with struct - returns float",
24210 "call inferior func with struct - returns double",
24211 "call inferior func with struct - returns char *",
24212 but only if not gcc compiled (presumes xlc compiled).
24213 Change rs6000-*-* xfails for
24214 "call inferior func with struct - returns char" and
24215 " call inferior func with struct - returns short" to only
24216 xfail if not using gcc.
24217 (clean mostlyclean): Remove *.ci and *.tmp files.
24218 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
24219 than templ-info.exp.
24220 * gdb.base/langs.exp: Source gdb.base/langs.ci.
24221 Add rs6000-*-* xfail for "up to foo in langs.exp"
24222 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 24223 when not gcc compiled.
d63a86f8 24224
c906108c
SS
24225Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
24226
24227 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
24228 * gdb.base/corefile.exp: Likewise.
24229 * gdb.base/list.exp: Likewise.
24230 * gdb.base/scope.exp: Likewise.
24231 * gdb.base/siganls.exp: Likewise.
24232
24233 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
24234 compiler output.
24235 * gdb.base/whatis.exp: Likewise.
24236
24237Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
24238
24239 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
24240 failure (opcode table has been fixed to match reality).
24241
24242Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
24243
24244 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
24245 "call inferior func with struct - returns char",
24246 "call inferior func with struct - returns short"
24247
24248 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
24249 "print 'scope0.c'::filelocal at main",
24250 "print 'scope0.c'::filelocal_bss in test_at_main",
24251 "print 'scope0.c'::filelocal at foo",
24252 "print 'scope0.c'::filelocal_bss in test_at_foo",
24253 "print 'scope0.c'::filelocal at bar",
24254 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 24255
c906108c
SS
24256 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
24257 in source file 1". This bug seems to have been fixed with both
24258 gcc and native cc (was native assembler bug?).
24259
24260Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
24261
24262 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
24263 "backtrace through signal handler" to "i*86-*-sysv4*".
24264 * gdb.base/signals.exp: Add xfail for "'next' behaved as
24265 continue" case. Add "known SVR4 bug" to fail message.
24266 Add "i*86-*-bsdi2.0" xfail for "handle all print".
24267 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
24268 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
24269 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
24270 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
24271 "up to foo in langs.exp", "show language at foo in
24272 langs.exp", "up to cppsub_ in langs.exp", "show
24273 language at cppsub_ in langs.exp", "up to fsub in
24274 langs.exp", and "show language at fsub in langs.exp".
24275 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
24276 "bactrace in corefile.exp".
24277 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
24278 "call inferior function with struct - returns float" and
24279 "call inferior function with struct - returns double".
d63a86f8 24280
c906108c
SS
24281Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
24282
24283 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
24284 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
24285 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
24286 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
24287
24288Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
24289
24290 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
24291 (or overriden) "CHILL" macro rather then bare "gcc".
24292 Also look for ../../gcc/xgcc since that is what we will
24293 actually need, not "Makefile". Remove following assignment
24294 of CHILL to CHILL_FOR_TARGET because that results in
24295 recursive definition.
24296
24297Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
24298
24299 * gdb.base/corefile.exp: Change xfail for backtrace in
24300 corefile.exp from linuxaout to all linux.
24301 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
24302 cases where we miss the breakpoint at the signal handler
24303 for some reason. Setup xfail for linuxoldld/linuxaout and
24304 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
24305 hitting SIGURG breakpoint.
24306 * gdb.base/signals.exp: Setup xfail for "next" acting like
24307 continue to add linuxoldld. Setup xfail for all linux for
24308 "next to handler in signals_tests_1", "backtrace in
24309 signals_tests_1", "continue to func1", "pass SIGUSR1",
24310 and continue to handler".
24311
24312Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
24313
24314 * Update all FSF addresses except those in COPYING* files.
24315
24316Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
24317
24318 * gdb.base/a2-run.exp: Change messages to be more explicit about
24319 the status of args, and quote binfile in results.
24320
24321Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
24322
24323 * gdb.base/callfuncs.exp: Add tests for passing structs to
24324 inferior functions and return various types.
24325 * gdb.base/callfuncs.c: Add functions to receive a struct
24326 and return a member of the struct, in various types.
24327
24328Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24329
24330 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
24331
24332Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
24333
24334 * config/vxworks29k.exp: New file, sources vxworks.exp.
24335
24336Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
24337
24338 * config/gdbremote.exp: New file. Testing framework using
24339 gdbserver.
24340
24341Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
24342
24343 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
24344 "call function when asleep" and "send end of file".
24345 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
24346 for "backtrace in corefile.exp".
24347 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
24348 for "backtrace through signal handler".
24349 * gdb.base/corefile.exp: Make sure we actually generate a core file
24350 before trying the core tests. Some systems allow the user to suppress
24351 generation of core files and default to that (linux for example).
24352 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
24353 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
24354
24355Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
24356
24357 * gdb.threads: New directory with some crude multi-threaded
24358 gdb tests (step.exp and step2.exp).
24359 * config/mt-lynx (STEP_EXECUTABLE): Define.
24360 (THREADFLAGS): Define.
24361
24362Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
24363
24364 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
24365
24366 * gdb.base/signals.exp: Disable whole file for lynx until
24367 further notice.
24368
24369 * gdb.base/signals.exp: xfail test where "next" acts like
24370 "continue" for lynx.
24371
24372 * gdb.base/interrupt.exp: xfail test for calling function while
24373 inferior is asleep for lynx.
24374
24375 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
24376 than one cr-lf after each command.
24377
24378Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24379
24380 * configure.in: Reinstate setting of stabsdirs variable, fix
24381 typo in setting up configdirs for native builds.
24382
24383 * gdb.base/return.exp: Fix typo in return double test.
24384 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
24385 compiler from optimizing them away.
24386
24387Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
24388
24389 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
24390 sequences to be echo'd by gdb when using gdb_test.
24391 * gdb.chill/chexp.exp: Likewise.
24392 * gdb.fortran/exprs.exp: Likewise
24393
24394Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
24395
24396 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
24397 after the inferior gdb has started.
24398
24399 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
24400 after each command.
24401 * gdb.base/funcargs.exp: Likewise.
24402 * gdb.base/gdbvars.exp: Likewise.
24403 * gdb.base/interrupt.exp: Likewise.
24404 * gdb.base/list.exp: Likewise.
24405 * gdb.base/watchpoint.exp: Likewise.
24406 * gdb.c++/demangle.exp: Likewise.
24407 * gdb.c++/inherit.exp: Likewise.
24408 * gdb.chill/chexp.exp: Likewise.
24409 * gdb.fortran/exprs.exp: Likewise.
24410
24411 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
24412 test if we can't handle IO to/from the inferior.
24413
24414 * gdb.c++/misc.exp: Always check for a program already being
24415 started after sending a "run" command to gdb.
24416
24417 * gdb.base/twice.exp: Start with a fresh gdb.
24418
24419 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
24420 only depend on gdb's expression code, not the chill runtime.
24421
24422 * gdb.base/return.c: Put return values into variables so we
24423 can have gdb print them rather than depending on the program
24424 to print them.
24425 * gdb.base/return.exp: Corresponding changes.
24426
24427 * lib/gdb.exp: Provide default value for noinferiorio.
24428 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
24429 the inferior.
24430
24431 * gdb.base/break.exp: Always check for a program already being
24432 started after sending a "run" command to gdb.
24433 (text_next_with_recursion): Don't check the output from the
24434 program's printf statement. Instead just make sure the program
24435 exited.
24436
24437 * gdb.base/commands.exp: Protect tests which need arguments with
24438 $noargs conditionals.
24439
24440Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24441
24442 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
24443 of structure member arrays to match gdb/valops.c:value_addr change.
24444
24445Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
24446
24447 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
24448 cases.
24449
24450Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
24451
24452 * configure.in (configdirs): Remove gdb.chill from default list
24453 of subdirs and then add it back in only if doing a native build.
24454 The current chill compiler does not yet work in any cross build.
24455 * Revert all signal changes from Jul 6.
24456 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
24457 for sh-hms targets, allowing these tests to link, with no other
24458 changes. Testing is suppressed by setting "nosignals" in site.exp.
24459
24460Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
24461
24462 * configure.in (signaldirs): Define and add to configdirs for all
24463 targets except some specific ones that are known to not support signals.
24464 Also clean up formatting.
24465 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
24466 (signals, sigall): Remove rules to build.
24467 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
24468 Moved to new gdb.signals directory.
24469 * gdb.signals: New test directory.
24470 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
24471 signals.c signals.exp}: New or moved files.
24472
24473Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
24474
24475 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
24476
24477Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
24478
24479 * gdb.base/return.exp: Xfail `return double' test failure
24480 on at least Solaris 2.3 and handle future/past versions on
24481 a case by case basis as appropriate. Also update message
24482 to include i*86 failures.
24483
24484Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24485
24486 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
24487
24488 * lib/gdb.exp: Fix comment which erroneously identified
24489 gdb_file_cmd as gdb_load (the 19 May change was in fact to
24490 gdb_file_cmd not gdb_load).
24491 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
24492
24493 * gdb.base/setvar.exp: Make test names consistent between pass and
24494 fail cases. Use gdb_test more.
24495
24496Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24497
24498 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
24499
24500Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24501
24502 * gdb.base/help.exp: Fix expected help string for `show commands'.
24503
24504Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
24505
24506 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
24507
24508 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
24509 of a text section.
24510
24511Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
24512
24513 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
24514 that loop eventually terminates. Fix Connection refused logic so
24515 that testsuite will expire nicely.
24516
24517Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
24518
24519 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
24520 config/rom68k.exp: New tcl glue for the appropriate monitors.
24521 These all just end up calling monitor.exp.
24522 * config/monitor.exp (gdb_target_monitor): Handle `Connection
24523 refused' by retrying. Cleanup some timeout issues.
24524 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
24525 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
24526 callers don't have to set/restore global timeout variable.
24527
24528 * The following set of changes centralizes management of the global
24529 timeout variable. This way, it can be set in one target dependent
24530 place instead of dozens of places scattered throughout the test suite.
24531 If you need to lengthen a timeout, then you should either set timeout
24532 in one of the config/{target}.exp files, or multiply it by a factor.
24533 Setting it to an absolute value is always going to lose for some
24534 targets.
24535 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
24536 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
24537 * gdb.base/funcargs.exp: Don't set timeout.
24538 * gdb.base/list.exp (test_forward_search): Only use local timeout.
24539 * gdb.base/printcmds.exp (test_print_string_constants
24540 test_print_array_constants): Don't set timeout.
24541 * gdb.base/ptype.exp: Don't set timeout.
24542 * gdb.base/recurse.exp: Don't set timeout.
24543 * gdb.base/return.exp: Don't set timeout.
24544 * gdb.base/watchpoint.exp: Don't set timeout.
24545 * gdb.c++/classes.exp (do_tests): Don't set timeout.
24546 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
24547
24548Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
24549
24550 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
24551
24552Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24553
24554 * lib/gdb.exp: Disable chill tests for irix5.
24555
24556Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24557
24558 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
24559 each test pass or fail.
24560
24561Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24562
24563 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
24564 xlc not gcc.
24565
24566Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
24567
24568 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
24569
24570Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
24571
24572 * config/est.exp: Fix copyright and comments. Remove dead code.
24573 Use targetname, serialport and baud variables instead of fixed
24574 constants.
24575 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
24576 * config/cpu32bug.exp: New file to support cpu32bug monitors.
24577
24578Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24579
24580 * gdb.base/watchpoint.exp: Don't run
24581 test_watchpoint_triggered_in_syscall for sunos.
24582
24583Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24584
24585 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
24586 they don't seem to exist. Do include stdio.h.
24587
24588Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24589
24590 * gdb.base/a1-selftest.exp: Add alpha xfail.
24591
24592Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24593
24594 * gdb.base/watchpoint.c (main): Prompt before calling read().
24595 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
24596 Revise accordingly. Remove cruft about sending "123" several
24597 times, until it gets noticed. Clean up the "print buf[0]" stuff
24598 so that it passes or fails, and waits for prompts in the usual way.
24599
24600Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24601
24602 * gdb.base/recurse.exp: Fix comment.
24603
24604 * TODO: Remove item about printing variables in nodebug.exp. Add
24605 item about enabling tests which are only run on some targets.
24606
24607 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
24608 fail, make test names unique, use new gdb_test convention
24609 regarding pattern, use gdb_test more, etc.).
24610
24611 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
24612 fail, make test names unique, etc.).
24613
24614Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24615
24616 * gdb.base/nodebug.c: Change return type of top and middle to
24617 short.
24618 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
24619 are fixed by the recent mdebugread.c changes. Allow `short ()'
24620 as type for top and middle.
24621
24622Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24623
24624 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
24625 nearly as I can tell, the whole thing was an accident in Stu's
24626 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
24627 to replace a send/expect pair with gdb_test, but ended up only
24628 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
24629 of 30 Mar 1995 took care of it, but left this vestigial comment
24630 which I am now nuking.
24631
24632Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24633
24634 * gdb.base/break.exp: Look for different line number for
24635 breakpoint at main depending on usestubs.
24636
24637Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24638
24639 * gdb.base/list.exp: Adjust some alternate expect patterns to
24640 match recent list0.c change. Add alternate expect pattern for
24641 output from `list default lines around main' for optimizing
24642 compilers.
24643
24644Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24645
24646 * lib/gdb.exp: If nosignals is not set, set it to 0.
24647
24648Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
24649
24650 * config/slite-gdb.exp: Responds to load symbol table prompt.
24651 * gdb.base/break.exp: Adjust line number, fix rerun.
24652 * gdb.base/langs0.c: Add #ifdef usestubs.
24653
24654Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
24655
24656 * gdb.base/list.exp: Adjust line contents after adding new lines in
24657 list0.c. Also fix a syntax error.
24658
24659 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
24660 * gdb.base/break.exp: ditto.
24661 * gdb.base/list.exp: ditto.
24662 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
24663 * gdb.base/run.c: ditto.
24664 * gdb.base/list0.c: ditto.
24665 * gdb.base/funcargs.c: ditto.
24666
24667Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
24668
24669 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
24670 $targetname, $serialport and $baud instead of hardwired variables.
24671 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
24672 target doesn't support signals.
24673
24674Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
24675
24676 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
24677
24678Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24679
24680 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
24681 Don't rely on the value of an auto variable before it has been
24682 initialized. Use gdb_test more.
24683
24684Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24685
24686 * lib/gdb.exp (default_gdb_version): A version number must start
24687 with a digit, but other than that contains all characters up to
24688 the first whitespace character.
24689
24690Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24691
24692 * gdb.base/commands.exp (breakpoint_command_test): New tests.
24693
24694Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24695
24696 * gdb.c++/*.exp: Warn if executable does not exist. The original
24697 reason for skipping the warning was that configure.in sometimes
24698 intentionally skipped building the executables but the tcl code
24699 had no way of knowing. That (a) was always bogus with respect to
24700 error handling, (b) is no longer true (right now there is no way
24701 to skip C++ tests).
24702
24703 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
24704
24705Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24706
24707 * gdb.base/list.exp: Add expect patterns for output from
24708 SunPRO compiled executables.
24709 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
24710 types.
24711
24712Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24713
24714 * gdb.base/break.exp (test_next_with_recursion): Accept any line
24715 number (we are already testing that the correct source line text
24716 gets printed).
24717
24718 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
24719 that is what is intended, but something needed to be done to get
24720 sunos4 native working again.
24721
24722 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
24723
24724 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
24725 apparently went with a (very) old xfail.
24726
24727Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
24728
24729 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
24730 runto_main is a proc in gdb.exp that will do 'step' for target use
24731 stubs.
24732 * gdb.base/exprs.exp: ditto.
24733 * gdb.base/interrupt.exp: ditto.
24734 * gdb.base/opaque.exp: ditto.
24735 * gdb.base/printcmds.exp: ditto.
24736 * gdb.base/ptype.exp: ditto.
24737 * gdb.base/scope.exp: ditto.
24738 * gdb.base/setvar.exp: ditto.
24739 * gdb.base/signals.exp: ditto.
24740 * gdb.base/twice.exp: ditto.
24741 * gdb.c++/classes.exp: ditto.
24742 * gdb.c++/inherit.exp: ditto.
24743 * gdb.c++/templates.exp: ditto.
24744 * gdb.base/break.exp: no run and hit main for stubs. Change line
24745 numbers for breakpoints and info breakpoint.
24746 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
24747 breakpoint().
24748 * gdb.base/callfuncs.c: ditto.
24749 * gdb.base/exprs: ditto.
24750 * gdb.base/interrupt.c: ditto.
24751 * gdb.base/opaque0.c: ditto.
24752 * gdb.base/printcmds.c: ditto.
24753 * gdb.base/ptype.c: ditto.
24754 * gdb.base/scope0.c: ditto.
24755 * gdb.base/setvar.c: ditto.
24756 * gdb.base/signals.c: ditto.
24757 * gdb.base/twice.c: ditto.
24758 * gdb.c++/misc.cc: ditto.
24759 * gdb.c++/templates.cc: ditto.
24760
24761Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24762
24763 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
24764
24765 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
24766 somewhere between `read' and `main.c'. I'm pretty sure the
24767 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
24768 and it isn't particularly useful.
24769
24770 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
24771
24772Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24773
24774 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
24775
24776Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
24777
24778 * config/mt-slite: add LIBS and -nostdlib.
24779 * config/slite-gdb.exp: add this new file to support sparclite target.
24780
24781Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
24782
24783 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
24784
24785 * gdb.base/a2-run.exp: Change argument to istarget from
24786 "*-*-vxworks" to "*-*-vxworks*".
24787 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
24788
24789Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
24790
24791 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
24792 will not runto main but do a 'step' to step out of breakpoint().
24793 * config/mt-slite: add -Dusestubs.
24794
24795Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24796
24797 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
24798 instead of just @.
24799
24800 * gdb.base/signals.exp: Add test for "handle all print".
24801 * TODO: Remove "handle all print". Also remove item about
24802 checking copyright date (I don't like the idea of a spurious FAIL
24803 based on when we run the tests).
24804
24805 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
24806 for SunOS4 (reason for failure not investigated). Remove
24807 redundant test for $binfile.
24808
24809 * gdb.base/nodebug.c (array_index): Call malloc.
24810
24811 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
24812
24813Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
24814
24815 * gdb.base/recurse.exp: Update gdb_test invocation to use new
24816 conventions and slightly simplify the matching regexp.
24817
24818Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24819
24820 * gdb.base/break.exp: Update gdb_test invocation to use new
24821 convention.
24822
24823 * lib/gdb.exp: If noargs is not set, set it to 0.
24824
24825 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
24826 tests unique.
24827
24828 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
24829
24830Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24831
24832 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
24833 one argument of type "<non-float parameter>".
24834
24835Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
24836
24837 * config/rom68k.exp: New file to support Motorola IDP board.
24838 * gdb.base/a2-run.exp: Skip this file if noargs is set.
24839 * gdb.base/break.c: Change things around so that this program
24840 doesn't depend upon args. This is necessary to make remote
24841 targets work (in general, they can't take args).
24842 * gdb.base/break.exp: Don't try to send args to program. Don't
24843 expect output. Also, replace lots of code with gdb_test.
24844
24845Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24846
24847 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
24848 printing of '\'' (which is what the comment says we are testing,
24849 even though we were not), not '''.
24850 (test_integer_literals_rejected): Test that printing ''' is an error.
24851
24852 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24853 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
24854 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
24855 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
24856 Use gdb_test not test_print_accept.
24857 * lib/gdb.exp: Remove test_print_accept.
24858
24859 * gdb.base/signals.exp (signal_tests_1): Make pass message
24860 consistent with fail message.
24861
24862 * gdb.base/whatis.exp: Remove xfails for printing char vs.
24863 unsigned char; the bug (PR 1821) is fixed.
24864
24865 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
24866
24867 * gdb.base/scope.exp (test_at_localscopes): Call pass for
24868 successful tests--makes xfailing them work right.
24869
24870Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24871
24872 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
24873 only \r\n, not .*. The test can pass .* as the last thing in
24874 $pattern if that is what it wants. In addition to providing this
24875 flexibility, this change should speed up pattern matching in cases
24876 where the pattern already ended with .* (there were a number of
24877 them). This change also helps catch bad patterns--in the old
24878 scheme the typo "char \*" instead of "char \\*" would pass. Now
24879 it is caught.
24880 * Many .exp files: Update callers.
24881
24882 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
24883 clearer and does not spuriously match multiple ('s. Likewise for
24884 ) and *.
24885
24886 * gdb.base/nodebug.exp: Test ability to call a function and pass
24887 it a string (even with no debugging info).
24888
24889 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
24890 "p '\'", which is the same as "p ''" once tcl gets done with
24891 quoting, to "p '\\'", which I suspect is what is intended (one
24892 backslash gets sent to GDB).
24893
24894 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
24895
24896Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24897
24898 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
24899 1817) was fixed literally years ago.
24900
24901Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24902
24903 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
24904 test, it causes stepping out of call_after_alloca_subr with
24905 optimizing compilers.
24906 (localvars_in_indirect_call): Consume GDB prompt if `finish'
24907 fails.
24908
24909 * gdb.c++/templates.exp: Source templ-info.exp only if
24910 the templates executable exists.
24911
24912 * gdb.c++/misc.cc (class Contains_static_instance,
24913 class Contains_nested_static_instance),
24914 gdb.c++/classes.exp (test_static_members): Test printing of
24915 a class that contains a static instance of the class.
24916
24917Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24918
24919 * gdb.base/langs2.c (cppsub_): Don't prototype.
24920 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
24921 only, I believe).
24922
24923Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24924
24925 * lib/gdb.exp (skip_chill_tests): New procedure.
24926
24927 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
24928
24929Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
24930
24931 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
24932 each expect pattern. Cuts runtime from 12 to about 4 seconds.
24933
24934Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24935
24936 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
24937
24938 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
24939 disassemble 8, not 16, instructions for part 4.
24940
24941 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
24942 support the latter anymore.
24943
24944 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
24945 -DNO_PROTOTYPES.
24946 * gdb.base/callfuncs.c: Control use of prototypes based on
24947 NO_PROTOTYPES, not __STDC__.
24948 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
24949 t_float_values2 tests if prototypes in use.
24950
24951 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
24952 t_double_values): When checking differences against DELTA, check
24953 that difference is within the range (-DELTA,DELTA), not just
24954 (-infinity,DELTA).
24955
24956Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
24957
24958 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
24959 'file' command firts, then 'target', then 'load', this is due to gdb
24960 target set up.
24961 * config/mips-gdb.exp: Fix a couple regular exp bugs.
24962
24963Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
24964
24965 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
24966 FP load/store variants.
24967 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
24968
24969Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24970
24971 * gdb.base/term.exp: Do not give a warning if not native, it is
24972 not an abnormal condition.
24973
24974Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
24975
24976 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
24977 t_char_array".
24978
24979Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24980
24981 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
24982 are getting the version number.
24983
24984 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
24985 if not native, it is not an abnormal condition.
24986
24987Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24988
24989 * lib/gdb.exp: Just use "file exists", rather than undocumented
24990 dejagnu procedure "findfile".
24991
24992Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24993
24994 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
24995 (LDFLAGS): Set to -Xlinker -Ur.
24996
24997 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
24998 Removed, these values are set by lib/gdb.exp.
24999
25000 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
25001
25002Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
25003
25004 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
25005 of replicating gdb startup code.
25006
25007 * config/mt-vxworks (LDFLAGS): Set to -r.
25008 (CFLAGS_FOR_TARGET): Removed.
25009
25010 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
25011 (gdb) and gdb for vxworks uses (vxgdb).
25012
25013 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
25014 executable is not in the tree and host != target, use sed and
25015 program_transform_name to determine the gdb name used by the
25016 target.
25017
25018 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
25019 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
25020
25021Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25022
25023 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
25024 floats, chars, and shorts where there are ANSI-style function
25025 definitions.
25026
25027 * gdb.base/langs.exp, gdb.base/langs*: New test.
25028 * gdb.base/Makefile.in: Build it.
25029 * TODO: Remove item about checking that C names don't get C++
25030 demangling applied; this test tests it.
25031
25032Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25033
25034 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
25035 went with the const70 xfail. The xfail went away a year ago.
25036
25037 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
25038
25039 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
25040 for hp300.
25041
25042 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
25043
25044 * gdb.base/a1-selftest.exp: Don't run on hp300.
25045
25046Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25047
25048 * Makefile.in (site.exp): Set host_alias and target_alias as well
25049 as host_triplet and target_triplet.
25050
25051Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25052
25053 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
25054
25055 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
25056 places as other ecoff systems).
25057
25058 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
25059 ultrix.
25060
25061Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25062
25063 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
25064 remove them.
25065 * gdb.base/nodebug.exp: Accept "function" in addition to "text
25066 variable and "variable" in addition to "data variable".
25067 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
25068
25069 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
25070 2.
25071 * gdb.base/list1.c (long_line): Add additional statement at start
25072 of function.
25073 * gdb.base/list.exp (test_forward_search): Update line number to
25074 reflect new statement.
25075
25076Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25077
25078 * gdb.base/signals.exp: Reinitialize searched source directories
25079 after gdb_start call.
25080
25081Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
25082
25083 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
25084 * gdb.stabs/Makefile.in: Likewise.
25085
25086 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
25087 change. Instead split the tests into smaller pieces.
25088 * gdb.disasm/hppa.s: Corresponding changes.
25089
25090Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25091
25092 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
25093 Quote ^C when passing it to stty. For some shells ^ is a pipe.
25094
25095 * gdb.base/funcargs.exp: Modify many tests so that every test
25096 either passes or fails. Make some test names unique.
25097
25098Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25099
25100 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
25101 Call stty to set interrupt character.
25102
25103 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
25104 for HP assembler versus GNU assembler based on actual behavior of
25105 $(CC), rather than assuming that $(AS) is always the GNU assembler.
25106
25107 * TODO: Suggest a few more stepping tests.
25108
25109Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
25110
25111 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
25112 restart GDB for h8300 after a continue.
25113 (return): Add pattern to match a29k-udi behavior.
25114 * gdb.base/nodebug.exp: Remove obsolete comment.
25115 * gdb.base/regs.exp: New file, testing of register displays.
25116 * gdb.base/return.exp: Fix typo in reference to $objdir.
25117 * gdb.base/whatis.exp: Always start with a fresh GDB.
25118
25119Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25120
25121 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
25122 higher, these tests generate a lot of output.
25123
25124Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25125
25126 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
25127 code following the catch silently ignored some errors; without the
25128 catch they should be thrown like any other tcl error. Also, the
25129 catch used "" instead of {} which meant all the callers who wanted
25130 to include one of the characters "[]$ had to quote it an extra time.
25131 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
25132 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
25133 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
25134 Remove extra quoting.
25135
25136Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
25137
25138 * gdb.base/commands.exp: Make test names unique; every test either
25139 passes or fails. Update some comments.
25140
25141 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
25142
25143Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25144
25145 The following fixes a FAIL caused by the fact that the alpha stabs
25146 configuration didn't use the ".if alpha" code in weird.def.
25147 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
25148 bit pointer, so the 32 bit version works even on the alpha.
25149 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
25150 Remove the stuff which allowed us to have separate versions for
25151 alpha and everything else.
25152
25153 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
25154 regexp which "info func operator\[\](" is supposed to match. Fix
25155 string to send to GDB. Note that GDB still doesn't work right. Add a
25156 new test for "info func .perator\[\](" which GDB does handle correctly.
25157
25158 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
25159
25160Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25161
25162 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
25163 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
25164 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
25165 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
25166 it makes the tests harder to understand and confuses test-o-matic.
25167 The preferred style is that each test provides a PASS or a FAIL,
25168 and has a unique message (e.g. "continue #54" not just "continue")
25169 which is the same for the pass and the fail.
25170 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
25171 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
25172 to lib/gdb.exp.
25173 * gdb.base/printcmds.exp: Use test_print_accept. Remove
25174 prt_accept which was basically the same thing. Likewise for
25175 test_print_reject and prt_reject.
25176 * lib/gdb.exp (test_print_reject): Add some more error message
25177 patterns to match from the former printcmds.exp (prt_reject).
25178 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
25179 One defect of the passcount stuff is that some of it failed to
25180 report XPASS where appropriate.
25181 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
25182 stuff before and after arg in expected pattern.
25183 (test_paddr_operator_functions): Re-do test without print_addr_of;
25184 this is the only test which seems to want extra stuff there.
25185
25186Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25187
25188 * gdb.base/nodebug.exp: Update new tests to reflect improved
25189 wording of gdb output.
25190
25191 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
25192 and "ptype" work on variables in files compiled without -g.
25193 Replaces commented out "maint print msymbol" tests.
25194
25195Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25196
25197 * gdb.base/setvar.c (dummy): Call malloc.
25198
25199 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
25200 losing with the irix4 sed.
25201
25202 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
25203 ALRM" on irix4.
25204
25205Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25206
25207 * TODO: Remove items about corefile.exp testing new exec-file and
25208 backtrace; both are now done. Add items about printing enums.
25209
25210Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25211
25212 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
25213 "get signal $thissig" test fails.
25214
25215 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
25216
25217Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25218
25219 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
25220 compiler warning with dec alpha compiler.
25221
25222 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
25223 extra \n from gdb_test call (this explains why the prompt test
25224 that I removed yesterday was there).
25225 (user_defined_command_test): Remove extra \n and prompt test.
25226
25227 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
25228 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
25229 doesn't exist.
25230 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
25231 Also remove alpha workaround, which turns out to be because
25232 SIGABRT == SIGLOST.
25233
25234 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
25235
25236 * gdb.base/help.exp: Don't test "help show".
25237
25238Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25239
25240 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
25241 "set print address" is on.
25242 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
25243 pass prompt to gdb_test; gdb_test already looks for the prompt.
25244
25245 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
25246
25247 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
25248 was a vestige of the manual TESTSTRATEGY, and the purpose of it
25249 was to make sure that gdb can read a core file. But (a) the "read
25250 the corefile" part didn't make it to a1-selftest.exp, we just
25251 delete the corefile after creating it, and (b) we test reading
25252 corefiles in corefile.exp anyway. Also, this test left around a
25253 xgdb process on Solaris.
25254
25255 * gdb.base/corefile.exp: Also test backtrace.
25256
25257Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
25258
25259 * gdb.base/commands.exp: Test a simple user defined command with
25260 arguments and if/while statements; verify the full user command is
25261 printed by "show user".
25262
25263 * gdb.base/commands.exp: Test if/while commands as part of a
25264 breakpoint command list; verify they appear in breakpoint
25265 information.
25266
25267Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25268
25269 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
25270 than by dividing by zero.
25271
25272Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
25273
25274 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
25275 performing an inferior call with watchpoints enabled.
25276 * gdb.base/watchpoint.c (main): Delete second unnecessary read
25277 call.
25278
25279Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25280
25281 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
25282 of "file" command.
25283
25284 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
25285 Add additional pattern for when "int operator int(void);" appears
25286 in a different order.
25287
25288Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25289
25290 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
25291
25292 * gdb.base/help.exp: Replace most of docstrings for "info signals"
25293 and "signal" with ".*".
25294
25295Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25296
25297 * TODO: Add note about "handle all nostop".
25298
25299 * gdb.base/{sigall.c, sigall.exp}: New test.
25300 * gdb.base/Makefile.in: Add it.
25301
25302Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
25303
25304 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
25305 when invoking GDB, suppresses any windowing interface.
25306
25307Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
25308
25309 * config/sim-gdb: New file, simulator testing support.
25310
25311Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
25312
25313 * gdb.base/interrupt.exp: Test calling func1 twice.
25314
25315Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
25316
25317 * gdb.base/list.exp (test_forward_search): Set timeout higher
25318 when we'll be getting lots of output from gdb.
25319
25320 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
25321 "init_malloc" to after the expect statement. Run it if that
25322 regexp is taken, but also for two others which happen if source
25323 cannot be found.
25324
25325Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25326
25327 * gdb.base/printcmds.exp: New test, for printing register before
25328 program is running.
25329
25330Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25331
25332 * gdb.base/list.exp: Correct some alternate expect patterns
25333 to reflect changes in list1.c.
25334
25335Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25336
25337 * TODO: Add item regarding large frames.
25338
25339 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
25340
25341 * TODO: Remove item about enabling return.exp; it
25342 is enabled. Suggest a few more "return" tests.
25343
25344Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25345
25346 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
25347 anonymous unions.
25348
25349Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25350
25351 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
25352 and pr-5646.o, so "make" is the same as "make all", not "make
25353 pr-4975.o".
25354
25355Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
25356
25357 * gdb.base/list.exp: Adjust expectations to reflect changes in
25358 list1.c.
25359 (test_forward_search): New test proc.
25360 * gdb.base/list1.c (long_line): New function, has long source line.
25361
25362Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
25363
25364 * gdb.base/a1-selftest.exp: Change initial stepping to know about
25365 additional line of code that was added.
25366
25367Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
25368
25369 * gdb.disasm/hppa.s: Break the large branching tests into smaller
25370 tests so as not to overflow expect's input buffers.
25371 * gdb.disasm/hppa.exp: Corresponding changes.
25372
25373Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25374
25375 Beginnings of template debugging tests.
25376 * gdb.c++/templ-info.cc: New file to test for template
25377 debugging capability of the compiler.
25378 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
25379 templ-info.cc.
25380 * gdb.c++/templates.cc: Add explicit template instantiations
25381 to enable compiling with -fno-implicit-templates. Add destructor
25382 and 'value' method to T5 class for template tests.
25383 * gdb.c++/templates.exp: Add testcases for printing of template
25384 types, setting breakpoints on template methods and calling a
d63a86f8 25385 template method.
c906108c
SS
25386
25387Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
25388
25389 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
25390 branch target since some assemblers (gas-2.5) may emit a
25391 relocation for the branch instead of resolving it in the
25392 assembler.
25393
25394Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25395
25396 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
25397 through signal handler.
25398
25399Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25400
25401 * configure.in (*-*-netware): Use config/mt-netware.
25402
25403 * config/mt-netware: New file.
25404 * config/mt-i386-netware: Removed, separate configs for different
25405 netware architectures are no longer needed now that we have
25406 --with-headers.
25407
25408Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25409
25410 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
25411 by the recent changes to use ANSI C arithmetic conversions.
25412
25413Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25414
25415 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
25416 bug involving using inferior_pid to figure out whether to select a
25417 frame.
25418
25419Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
25420
25421 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
25422 match the current disassembler output.
25423
25424Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
25425
25426 * gdb.fortran/exprs.exp: Expect VOID instead of void.
25427 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
25428 types, expect "int" as type of integer values (for now).
25429
25430Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
25431
25432 * gdb.base/commands.exp: New tests for if/while commands.
25433
25434Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
25435
25436 * lib/gdb.exp (runto): Replace sub-pattern for hex value
25437 by .*, since hex values have different syntax in Chill mode.
25438
25439Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25440
25441 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
25442 linefeed from expect pattern for repeated types with indices > 9.
25443
25444Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
25445
25446 First part of Fortran test suite.
25447 * gdb.fortran: New directory.
25448 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
25449
25450Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25451
25452 * gdb.base/default.exp: Update expect pattern for load command
25453 without arguments.
25454
25455Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
25456
25457 * configure.in: Change i386 to i[345]86.
25458 * gdb.base/configure.in: Likewise.
25459 * gdb.c++/configure.in: Likewise.
25460 * gdb.chill/configure.in: Likewise.
25461
25462Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
25463
25464 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
25465 patterns, since that is not a valid context for comments.
25466
25467Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
25468
25469 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
25470 repeated types and repeated types with indices > 9.
25471
25472Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
25473
25474 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
25475 2417; old bug has been fixed.
25476
25477Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
25478
25479 * gdb.base/interrupt.exp: When trying to wake up the inferior,
25480 send the newline ourselves instead of assuming gdb_test will do
25481 so when passed an empty input string.
25482
25483 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
25484 stabs testcode.
25485
25486Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25487
25488 * lib/gdb.exp (gdb_test): Don't send anything if the first
25489 argument is an empty string. This makes cases where we want to
25490 match output that is already in expect's buffers (for example,
25491 matching a breakpoint after gdb_run_cmd has been called) work
25492 reliably.
25493
25494Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25495
25496 * config/netware.exp: New file.
25497
25498Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25499
25500 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
25501 the -B and -L prefixes so we can find the debugging stub.
25502
25503 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
25504 there and we are using the gcc from the tree.
25505
25506 * gdb.base/types.c: Removed.
25507
25508 * gdb.base/configure.in: Look for makefile fragments in ../config.
25509 Recognize i386-*-netware.
25510 * gdb.c++/configure.in: Likewise.
25511
25512Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25513
25514 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
25515 the correct TCL syntax.
25516
25517Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25518
25519 * gdb.base/opaque.exp: use runto instead of messing around with
25520 breakpoints. Simplify by using gdb_test.
25521
25522 * gdb.base/bitfields.exp: restart between tests on netware targets
25523 because breakpoints aren't relocated after target death. Run
25524 processes to completion.
25525
25526 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
25527
25528Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
25529
25530 * Makefile.in: Remove extra tabs that confuse some versions
25531 of "make". Use the newly built gdb to test with by default,
25532 rather than the first one in the tester's search path.
25533
25534Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
25535
25536 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
25537
25538 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
25539 condition help.
25540
25541Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25542
25543 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
25544
25545 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
25546 running.
25547 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
25548 * gdb.base/funcargs.exp: Likewise.
25549
25550 * gdb.base/bitfields.exp: Simplify by using gdb_test.
25551 * gdb.base/funcargs.exp: Likewise.
25552
25553 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
25554 message is "".
25555
25556Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25557
25558 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
25559 return,signals,twice}.exp: Handle non-existant binaries
25560 consistantly.
25561
25562 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
25563 * gdb.base/Makefile.in: Don't try to generate a core dump, we
25564 might testing a cross development system.
25565
25566Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25567
25568 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
25569 runtest script is relative to ${srcdir}, not ${rootdir}.
25570
25571Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
25572
25573 * gdb.base/signals.exp: Allow for optionality of breakpoint
25574 address.
25575
25576Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25577
25578 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
25579
25580Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25581
25582 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
25583 for size_t definition.
25584 * gdb.c++/templates.cc: Likewise
25585
25586 * config/mt-i386-netware: New file.
25587
25588 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
25589 defined.
25590
25591 * gdb.base/Makefile.in: Added support for systems that name core
25592 files by appending "core" to the program name.
25593 * gdb.base/a1-selftest.exp: Likewise.
25594
25595Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25596
25597 * gdb.base/return.exp: Add comment and message for `return double'
25598 test failure on Sparc Solaris.
25599
25600Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
25601
25602 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
25603
25604Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25605
25606 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
25607 from optimizing them away.
25608 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
25609 patterns to include default constructors and assignment operators,
25610 to match gcc versions beyond 2.5.8. Accept any cplus demangling
25611 character in the output of the virtual base pointer.
25612
25613Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25614
25615 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
25616 expression match in print_addr_of to avoid unintented matches.
25617 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
25618 versions up to 2.5.8.
25619
25620Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25621
25622 * gdb.base/list.exp: Tweak alternate pattern for listing of an
25623 included file to run under newer versions of expect.
25624 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
25625 consecutive >'s in templates to accomodate recent cplus-dem.c change.
25626 Remove xfail for the virtual table of BDDHookV.
25627
25628Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
25629
25630 * lib/gdb.exp (string_to_regexp): Set a default result.
25631 (default_gdb_start): Fix misleading message.
25632
25633Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
25634
25635 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
25636 Remove all CC, etc definitions.
25637 * config/mt-hpux: New file.
25638 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
25639 (CFLAGS, LDFLAGS): Define.
25640 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
25641
25642 * Makefile.in (site.exp): Don't insert host_os, etc.
25643 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
25644 (distclean): Check existence of subdir.
25645 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
25646 * gdb.base/Makefile.in: General cleanup and simplification.
25647 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25648 to build executables. Use default rule to build .o files.
25649 (EXPECT, RUNTEST, CC): Fix relative pathname.
25650 (site.exp): Don't insert host_os, etc.
25651 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
25652 and/or SIGUSR1 defined.
25653 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
25654 * gdb.c++/Makefile.in: General cleanup and simplification.
25655 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25656 (CFLAGS): Remove.
25657 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
25658
25659Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
25660
25661 * gdb.base/recurse.exp: Misc changes to get tests running again
25662 after Kung's changes to the watchpoint code.
25663 * gdb.base/watchpoint.exp: Likewise.
25664
25665Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
25666
25667 * lib/gdb.exp (string_to_regexp): Convert {\} also.
25668
25669Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
25670
25671 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
25672 * lib/gdb.exp (default_gdb_start): Define.
25673 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
25674 gdb.base/funcargs.exp, gdb.base/opaque.exp,
25675 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
25676 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
25677 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
25678 Don't call gdb_target_udi in between tests.
25679
25680Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25681
25682 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
25683 (which was basically just a local version of the same thing). In
25684 addition to avoiding duplication, gdb_test_exact is faster.
25685 * lib/gdb.exp (gdb_test_exact): Fix typo.
25686
25687 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
25688 don't give an error.
25689
25690 * gdb.base/term.exp: Call delete_breakpoints before starting.
25691
25692 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
25693 (t10): Add comment.
25694
25695Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25696
25697 Reorganization of the GDB Test Suite.
25698
25699 * gdb.base: New directory, contains all the basic tests.
25700 * gdb.c++: New directory, tests specific to C++.
25701 * gdb.chill: New directory, tests specific to Chill.
25702 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
25703 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
25704 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
25705 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
25706 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
25707 t30-31 to chill).
25708 * */gdbme.*: Rename to match appropriate expect scripts.
25709 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
25710 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
25711 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
25712 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
25713 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
25714 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
25715 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
25716 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
25717 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
25718 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
25719 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
25720 gdb.c++/virtfunc.cc: New names of C++ files.
25721 * gdb.chill/chillvars.ch: New name of Chill file.
25722 * gdb.base/configure.in, gdb.c++/configure.in,
25723 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
25724 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
25725 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
25726 * configure.in (configdirs): Update to reflect directory changes.
25727 (target_abbrev): No longer define for any configuration.
25728 * Makefile.in: Cosmetic improvements to header comments.
25729
25730Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
25731
25732 Various changes to gdb.t31:
25733
25734 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
25735 * gdbme.ch: Make all key-words and predefineds be upper-case.
25736 * chillvars.exp: Expect key-words and predefinds in upper-case.
25737
25738 * chillvars.exp: Use gdb_test_exact many places.
25739 Change expected output for arrays (which now includes index labels).
25740
25741 * pr-5020.exp, gdme.ch (module PR_5020):
25742 New test, for PR-5020.
25743
25744Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
25745
25746 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
25747 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
25748
25749Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
25750
25751 * Makefile.in: Fix bit-rot in definitions of CHILL,
25752 CHILL_FOR_TARGET and Chill_LIB.
25753 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
25754 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
25755 CHILL, and CHILL_LIB.
25756
25757Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
25758
25759 * Revert the previous changes. Please see Rob's directory
25760 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
25761
25762Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
25763
25764 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
25765 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
25766 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
25767 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
25768 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
25769 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
25770 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
25771 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
25772 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
25773 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
25774 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
25775 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
25776 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
25777 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
25778 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
25779 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
25780 changes from 94Q1.
25781
25782Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
25783
25784 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
25785 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
25786 Rob's new testing fragments.
25787
25788Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
25789
25790 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 25791 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
25792
25793Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25794
25795 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
25796 version also, match on casted version strings, and match on
25797 gdb startup case where the line numbers might be messed up.
25798
25799Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
25800
25801 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 25802 (CFLAGS): Delete it from here.
c906108c
SS
25803
25804Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
25805
25806 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
25807
25808Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
25809
25810 * Makefile.in (RUNTEST): Default to just "runtest".
25811
25812Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25813
25814 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
25815 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
25816 the code has been restructured.
25817
25818Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25819
25820 * gdb.t00/default.exp (set write): Allow any number of \r and/or
25821 \n, not just one of each.
25822
25823 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
25824 /bin/cc gives a warning if you do.
25825
25826Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
25827
d63a86f8 25828 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
25829 __t10ListS_link1ZUiRCUiPT0
25830
25831Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25832
25833 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
25834 on local variables in recursive functions.
25835
25836 * gdb.t07/Makefile.in: Build the new test.
25837
25838Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25839
25840 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
25841 directly. Instead compare the return values from actual calls.
25842
25843Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
25844
25845 * Makefile.in (check): Set TCL_LIBRARY for runtest.
25846
25847Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25848
25849 * From Peter Schauer with minor modifications.
a9c64011
AS
25850 * gdb.t15/return.exp (return_tests): Handle targets where "return"
25851 stops in mid-line in the caller. Add xfail for returning a float
25852 value on X86 targets.
c906108c
SS
25853
25854Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25855
25856 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
25857 to avoid expect lossage.
25858 (fmem_LRbug_tests): Likewise.
25859 * gdb.disasm/hppa.s: Corresponding changes.
25860
25861 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
25862 conditions to work with latest dejagnu/expect.
25863
25864 * gdb.t15/funcargs.exp (finish from indirect call): No longer
25865 expected to fail on the PA.
25866 (backtrace in call with trampolines): Explicitly require main
25867 to be frame #1 (no trampolines should show up in backtrace).
25868
25869 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
25870 "continue -expect".
25871 * gdb.t06/break.exp: Likewise.
25872 * gdb.t07/watchpoint.exp: Likewise.
25873 * gdb.t13/bitfields.exp: Likewise.
25874 * gdb.t15/{funcargs,return}.exp: Likewise.
25875 * gdb.stabs/weird.exp: Likewise.
25876 * config/{mips,udi}-gdb.exp: Likewise.
25877
25878 * hppa.sed: Enclose comments within a sed command to avoid
25879 losing with the old OSF1 sed.
25880
25881Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25882
25883 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
25884 sequent dynix.
25885 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
25886 * gdb.t15/funcargs.exp: Conditionally step again to really
25887 finish from marker_call_with_trampolines. Handle the case where
25888 the first step from within call_with_trampolines already steps
25889 us back to main.
25890 * gdb.t15/gdbme.c: Add comment to closing brace of
25891 call_with_trampolines for funcargs.exp.
25892
25893Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25894
d63a86f8 25895 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
25896 Fix typo(s).
25897
25898Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25899
25900 * gdb.t07/gdbme.c: More code for watchpoint testing.
25901
25902 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
25903 "Hardware watchpoint" throughout file.
25904 (test_watchpoint_triggered_in_syscall): New test.
25905 (test_complex_watchpoint): New test.
25906
25907Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25908
25909 * gdbme.c (call_with_trampolines): New function to try and step
25910 into. Tests trampoline problems on the PA.
25911
25912 * funcargs.exp (localvars_in_indirect_call): No longer expect
25913 stepping into indirect call to fail on PAs.
25914 (test_stepping_over_trampolines): New test.
25915
25916Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25917
25918 * TODO: Add suggestions for static member function tests, and
25919 completion tests.
25920
25921Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25922
25923 * TODO: Add suggestions for "p/a" tests.
25924
25925 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
25926 (default_gdb_exit): Replace all the hair with sending "quit" to
25927 the process with a simple close.
25928
25929Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25930
25931 * TODO: Add suggestions for shared library tests.
25932
25933Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25934
25935 * TODO: Add suggestions for x/s tests.
25936
25937Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25938
25939 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
25940 "enable once", and "enable breakpoints once" with ".*".
25941
25942Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25943
25944 * TODO: Add suggestions about structure passing tests.
25945
25946Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25947
25948 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
25949 the primary1 test, use work around if __GNUC__ < 2.
25950 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
25951 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
25952 Test for bad output rather than waiting for timeout. Issue
25953 second continue only if first continue failed.
25954
25955Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25956
25957 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
25958 operator[] test with gdb_test because the old code didn't seem to
25959 be getting the quoting right with the new dejagnu.
25960
25961Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
25962
25963 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
25964 one from the path.
25965 * Makefile.in: Use a fresh expect if there is one, use runtest
25966 from the src tree if there is one.
d63a86f8 25967
c906108c
SS
25968Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25969
25970 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
25971 next over recursive call. Revise the tests from that point on
25972 (which had been skipped) to match GDB's actual (correct) output.
25973
25974 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
25975 with next over a breakpoint whose condition is false.
25976
25977 * gdb.t00/help.exp: Comment out "help set print" tests just like
25978 (and for same reason as) "help set" test.
25979
25980Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25981
25982 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
25983 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
25984
25985Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25986
25987 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
25988 necessary gdb_target_udi.
25989
25990 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
25991
25992 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
25993 1838 and 2417; they are fixed.
25994
25995 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
25996 gdb.t03/ptype.exp (ptype structure, ptype union):
25997 Remove xfails; the test is looser than when the xfails were added.
25998
25999 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
26000 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
26001
26002 * gdb.t01/run.exp: Only run shell test if isnative.
26003
26004 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
26005 since "run" automatically loads if necessary. Call gdb_target_udi
26006 after the "file" since "file" kills any execution target.
26007
26008 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
26009 GDB. GDB doesn't work that way (not anymore at least) on UDI.
26010 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
26011 argument for UDI.
26012
26013Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
26014
26015 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
26016
26017 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
26018
26019Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26020
26021 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
26022 properly quoting regexps. This makes the second argument to
26023 demangle a fixed string, which matches the callers, instead of a
26024 shell-style pattern which is what the previous implementation
26025 used. Update some of the callers.
26026
26027Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
26028
26029 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
26030 (comib_nullified_tests): Fix typo.
26031 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
26032 strings. No longer expected to fail.
26033
26034 * gdb.disasm/hppa.s (addib_tests): Fix typo.
26035 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
26036 strings. No longer expected to fail.
26037
26038 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
26039 string. No longer expected to fail.
26040
26041Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
26042
26043 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
26044 No longer expected to fail.
26045
26046 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
26047 string. No longer expected to fail.
26048
26049Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26050
26051 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
26052 only in the names (I probably got most of them). I was even
26053 generous with some which differed in underscores in names, and
26054 probably missed a few, and I *still* was able to remove almost a
26055 third of the file with almost no impact on testsuite coverage.
26056
26057Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26058
26059 * gdb.t00/default.exp: Match udi_attach error message as well as
26060 the one from child_attach.
26061
26062 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
26063
26064 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
26065
26066 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
26067 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
26068
26069 * Move test with enums and partial symbols back to
26070 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
26071 Reverts the change of 26 May 93. Per today's change to
26072 stabs.texinfo, the behavior that weird.exp was expecting was
26073 unreasonable; what is important is that the compiler+gdb get
26074 things right, which happens with a recent gcc. Also fix the test
26075 to deal with native compilers which put out the stab gdb can't
26076 deal with.
26077
26078Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26079
26080 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
26081 in the names. The main thing these accomplish is to slow things down.
26082 Many more such duplicates surely remain.
26083
26084 * gdb.t00/help.exp: Comment out "help support" test just like
26085 (and for same reason as) "help set" test.
26086
26087Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
26088
26089 * gdb.t06/break.exp: Remove setup_xfails for
26090 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
26091 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
26092 about known bug in gcc to include up through 2.5.8.
26093 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
26094 well as "_vb$".
26095 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
26096 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
26097 with latest gcc and gdb.
26098 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
26099 well as "_vb$".
26100
26101Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
26102
26103 * configure.in (hppa*-*-*): Also configure and build stabs-only
26104 tests.
26105
26106Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
26107
26108 * gdb.t10/hppa.mt: A makefile fragment for the PA.
26109 * gdb.t10/configure.in (hppa*-*-*): Use it.
26110
26111Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26112
26113 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
26114
26115Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26116
26117 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
26118 versions prior to 1.13.5.
26119
26120Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26121
26122 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
26123 the prompt is at the start of a line.
26124
26125Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
26126
26127 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
26128 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
26129 in the copr tests now.
26130 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
26131 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
26132 expected to fail.
26133
26134Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
26135
26136 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
26137 gdb.t31/chillvars.exp, lib/gdb.exp:
26138 Tweak to run under either version of expect.
26139 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
26140 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
26141 * gdb.t11/list.exp: Remove extraneous whitespace.
26142
26143Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26144
26145 * gdb.t16/printcmds.exp (test_print_strings): Accept
26146 "(unsigned char *) " before the string.
26147
26148 * TODO: Add notes about printing of fancy types and GDB expressions.
26149
26150Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
26151
26152 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
26153 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 26154 if doing mips-idt-ecoff.
c906108c
SS
26155
26156Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
26157
26158 * Most .exp files: Tweak to run under either version of expect.
26159
26160Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26161
26162 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
26163 xfails; I'm not sure why they are failing, but not because of PR 1806.
26164
26165Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
26166
26167 * config/unix-gdb.exp: Remove gdb_unload cause it's already
26168 defined in lib/gdb.exp.
26169
26170Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26171
26172 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
26173 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
26174 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
26175 have to be typeless.
26176
26177Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26178
26179 * TODO: Add suggestion for copyright year test.
26180
26181Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
26182
26183 * configure.in (*-*-lynxos*): Add stabs tests.
26184
26185Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
26186
26187 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
26188 so insert a tab before any assembler directive in column zero.
26189
26190 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
26191 stores.
26192 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
26193 stores.
26194 (fpu_short_memory_tests): Likewise.
26195
26196Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26197
26198 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
26199 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
26200 .stabs directives in comments.
26201
26202Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26203
26204 * TODO: New file, describing tests we could write.
26205 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
26206
26207Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26208
26209 * gdb.t06/signals.exp: Add kludge to force re-sync.
26210
26211 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
26212 to xgdb instead of gdb, get out of gdb.
26213
26214Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
26215
26216 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
26217 for info.
26218
26219Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
26220
26221 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
26222 * gdb.stabs/configure.in (hppa*-*-*): Use it.
26223 * gdb.stabs/hppa.sed: New sed script for the PA.
26224
26225Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26226
26227 * gdb.stabs: Re-write weird.def and configuration to use sed
26228 instead of cpp. sed is portable and POSIX; cpp is neither.
26229
26230Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26231
26232 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
26233
26234Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26235
26236 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
26237
26238Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26239
26240 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
26241 "_vb$".
26242 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
26243 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
26244
26245Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26246
26247 * lib/gdb.exp: Comment out code which depends on non-existent
26248 `transform' procedure.
26249
26250Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
26251
26252 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
26253 * lib/gdb.exp: Transform tool name.
26254 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
26255 1.1's new error handling system.
26256
26257Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26258
26259 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
26260
26261Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26262
26263 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
26264 They made pattern matching so slow that timeouts happened on
26265 heavily loaded systems. Now any output from "show print" which
26266 gets us back to the GDB prompt is a PASS.
26267
26268Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
26269
26270 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
26271
26272Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26273
26274 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
26275
26276 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
26277 It is not from PR 3220.
26278
26279Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26280
26281 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
26282 just started failing because they depended on the order the
26283 subcommands are presented, or exact docstring text. This kind of
26284 test is a pain and has minimal benefit.
26285
26286Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26287
26288 * gdb.t09/corefile.exp: At end of test, use "core" command with
26289 no arguments.
26290
26291Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
26292
26293 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
26294 17}/Makefile.in: Make it possible to run the testsuite with Sun
26295 make and CC = cross gcc by adding explicit build rules for .o
26296 files.
26297
26298Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26299
26300 * gdb.t15/funcargs.exp: Don't put comments on same line as
26301 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 26302
c906108c
SS
26303Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26304
26305 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
26306
26307Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
26308
26309 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
26310 * gdb.t20/inherit.exp: remove three dumplicate entries.
26311
26312Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26313
26314 * gdb.t06/break.exp: For "next over recursive call", fail on any
26315 incorrect output, not just on "factorial (value=2)".
26316
26317Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26318
26319 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
26320 working now. Add an xfail if accesing a bss variable causes
26321 a memory error if the target is not yet run.
26322
26323Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26324
26325 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
26326 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
26327 name of __st* demangling (2 strings). Did Kung really get the
26328 more than 95 others right without testing them?
26329
26330Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
26331
26332 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
26333
26334Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
26335
26336 * configure.in (configdirs): Add gdb.disasm
26337 * gdb.disasm: New directory for GDB disassembler tests.
26338 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
26339
26340Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26341
26342 * gdb.t00/help.exp: Don't test "help set".
26343
26344 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
26345 from within expect statements. None of these happen anymore and
26346 they cause regressions to be silently unnoticed.
26347
26348 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
26349 messages) about known failures with gcc cygnus-2.4.5-930417.
26350
26351 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
26352 comp-info.exp so it gets built if it doesn't exist.
26353
26354 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
26355 it is no longer used.
26356 * gdb.t13/comp-info.c: Removed.
26357
26358Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26359
26360 * gdb.t06/signals.exp: Add xfail for sun3.
26361
26362Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26363
26364 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
26365 relevant because ^C doesn't get sent but failure can be reproduced
26366 interactively).
26367
26368Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26369
26370 * gdb.stabs/alpha.mt: New configuration file for alpha.
26371 * gdb.stabs/configure.in: Use it.
26372 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
26373 sharing with alpha.mt, redefine long to word via preprocessor.
26374 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
26375 for alpha.
26376 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
26377 native cc.
26378 * gdb.t00/teststrategy.exp: Change expect string so that we
26379 consume the `(xgdb)' from the command echo and from the gdb prompt.
26380 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
26381 gdb currently compares all values as long, so this failure probably
26382 applies to any configuration where LONGEST is bigger than a target int.
26383 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
26384 with gcc.
26385 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
26386 to handle opaque pointers, gcc is.
26387 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
26388 as first argument. Include <sys/types.h> and change all operator
26389 new definitions to use size_t.
26390 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
26391 now that we use size_t.
26392
26393Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26394
a9c64011 26395 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 26396 a long or float array cast all array members to the same type.
a9c64011 26397 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 26398 with 64 bit longs.
a9c64011 26399 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 26400 on alpha.
a9c64011 26401 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
26402
26403Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26404
26405 * gdb.t24 (demangle.exp): Constructors of templates have names like
26406 vector<int>::vector(int) not vector<int>::vector<int>(int). See
26407 section 14.6 of the ARM.
26408
26409 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
26410 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
26411 accomplish little and slow down the testsuite.
26412
26413 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
26414 Accept spaces various places.
26415
26416Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26417
26418 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
26419 with watchpoint enabled.
26420
26421 * Makefile.in: Remove definition of CC and remove the second
26422 definition of CXX (the "CXX = gcc" one remains). These definitions
26423 were causing backquotes to be expanded within backquotes, which
26424 doesn't work.
26425
26426Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
26427
26428 * gdb.t17/callfuncs.exp: Add "return 0" to end.
26429
26430Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26431
a9c64011
AS
26432 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
26433 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
26434 by mips cc and contains no stabs entries.
26435
26436Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
26437
26438 * config/vx-gdb.exp: Use fake device to load files rather than
26439 NFS.
26440 * lib/gdb.exp: New proc to do "file" command.
26441 * config/unix-gdb.exp: Use new "file" proc.
26442
26443Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
26444
26445 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
26446 Rework board rebooting slightly.
26447 (gdb_exit): Don't exit from the remote shell; there isn't one.
26448 * gdb.stabs/weird.exp: If a program is being debugged already,
26449 kill it.
26450 * gdb.t04/setvar.exp: Stop and restart gdb.
26451 * gdb.t05/expr.exp: Likewise.
26452 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
26453 restart gdb and reload the program.
26454 * gdb.t08/opaque.exp: Likewise.
26455 * gdb.t12/scope.exp: Likewise.
26456 * gdb.t13/bitfields.exp: Likewise.
26457 * gdb.t15/funcargs.exp: Likewise.
26458 * gdb.t20/classes.exp: Likewise.
26459 * gdb.t03/ptype.exp: Increase timeout.
26460 * gdb.t16/printcmds.exp (test_print_string_constants,
26461 test_print_array_constants): Likewise.
26462 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
26463 * gdb.t20/classes.exp (do_tests): Likewise.
26464 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
26465
26466Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
26467
26468 * gdb.stabs: Renamed *wierd* to *weird*.
26469
26470Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
26471
26472 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
26473 for timeout. Add "known gcc 2.4.5 bug" to failure message.
26474
26475Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
26476
26477 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
26478 (do_tests): Remove xfail for whatis on one_var and two_var.
26479
26480Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
26481
26482 * Makefile.in: Made cross building work better by adding
26483 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
26484
26485Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26486
26487 * gdb.t15/{return.c,return.exp,Makefile.in}:
26488 New test, currently commented out.
26489
26490Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
26491
26492 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
26493 still running and removes the leftover named socket so GDb can do
26494 clean restarts.
26495
26496Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
26497
26498 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
26499 console, not GDB.
26500 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
26501 cross testing works better with "make check"
26502 * config/unix-gdb: Use default procedures for exit and version.
26503 * config/vx-gdb.exp: Cleaned up and massaged back to working order
26504 with the newest VxWorks.
26505
26506Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26507
26508 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
26509 old form.
26510
26511 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
26512 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
26513
26514 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
26515
26516 * config/unix-gdb.exp: Remove this version of gdb_exit
26517 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
26518 Rob says he'll look at it when he gets back to testing boards.
26519
26520Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
26521
26522 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
26523 an expected fail for certain ptype commands.
26524
26525 * gdb.t20/classes.exp: Update expected results of "ptype class
26526 Base1" to account for the constructor that now appears in the type.
26527
26528Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
26529
26530 * configure.in (configdirs): Restore gdb.t04, which mysteriously
26531 disappeared from list.
26532 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
26533 "alldone" proc with call to cleanup and exit.
26534 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
26535 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
26536 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
26537 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
26538 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
26539 "alldone" proc with simple returns that suppress remaining
26540 tests. The alldone proc went away many months ago.
26541
26542Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26543
26544 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
26545
26546 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
26547
26548Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26549
26550 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
26551 as vax gdb will display them.
26552
26553Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26554
26555 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
26556 optimizers.
26557
26558 * scope.exp: Change "bad value for localval" messages so each one
26559 is unique.
26560
26561 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
26562 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
26563
26564 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
26565
26566Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26567
26568 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
26569 doesn't exist (due to optimization).
26570
26571Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26572
26573 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
26574 contains \r because the filename is long.
26575
26576 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
26577 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
26578
26579Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26580
26581 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
26582 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
26583 Ultrix.
26584 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
26585 int tests.
26586 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
26587
26588Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
26589
26590 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
26591
26592 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 26593 to match does not match the passing case but still matches the
c906108c
SS
26594 failing case.
26595
26596Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26597
26598 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
26599
26600Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
26601
26602 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
26603 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
26604 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
26605 Remove various versions of gdb_exit.
26606 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
26607 gdb_exit.
26608 * config/unix-gdb.exp: gdb_exit remains here, and should override
26609 the generic version, since it's doing a lot of wierd stuff that
26610 the other versions aren't. FIXME, fold it in, or abandon this
26611 version.
26612
26613Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26614
26615 * gdb.t24/demangle.exp: Add tests for PR 3220.
26616
26617Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26618
26619 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
26620
26621Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
26622
26623 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
26624 "i386-*-*". Works for i486 as well.
26625
26626 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
26627 bug, and expand domain of xfail to all SVR4 systems, since the
26628 actual problem is likely to be in generic SVR4 /proc support.
26629
26630Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26631
26632 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
26633
26634Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
26635
26636 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
26637 xfails for other systems. Match a missing 'Continuing.' as an
26638 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
26639
26640 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
26641 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
26642 Only issue warning for missing executables if -all option is used.
26643
26644 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
26645 file if -all option is used. It's like an unpredictable XFAIL.
26646
26647Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26648
26649 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
26650 for dynamically linked binaries.
26651
26652 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
26653
26654Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26655
26656 * gdb.t20/inherit.exp: Change message for "print tagless struct"
26657 to state that this is a known bug in old versions of g++.
26658
26659Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26660
26661 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
26662 while waiting for `Continuing'.
26663
26664Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
26665
26666 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
26667 in text, data, and bss.
26668 * gdb.t10/nodebug.c: Add local and global test variables for
26669 initialized and uninitialized data.
26670
26671Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26672
26673 * config/unix-gdb.exp (gdb_exit): Add "wait".
26674
26675Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26676
26677 * gdb.t06/signals.exp: xfail the continue from the handler for all
26678 targets.
26679
26680 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
26681 function with watchpoints enabled, the i386 call dummy starts with
26682 a call.
26683
26684 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
26685 386 bsd names its corefiles.
26686
26687Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
26688
26689 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
26690 compilers don't grok it.
26691 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
26692 with small octal ints rather than character constants, which
26693 are signed and might not fit if first promoted to int.
26694
26695Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
26696
26697 * gdb.t09/Makefile.in (clean): Remove corefile.
26698
26699Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26700
26701 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
26702
26703Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26704 and Jim Kingdon (kingdon@cygnus.com)
26705
26706 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
26707 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
26708 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
26709
26710Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26711
26712 * gdb.t17/interrupt.exp: Add xfail for hppa.
26713
26714Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26715
26716 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
26717 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
26718 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
26719 to determine signed-ness of bitfields and use the result to setup
26720 the xfail.
26721 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
26722 * gdb.t15/funcargs.exp: Use them to step until the second indirect
26723 call line is reached if necessary.
26724
26725Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26726
26727 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
26728
26729Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26730
26731 * gdb.t06/break.exp: Also test `clear' command.
26732
26733Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26734
26735 * gdb.t00/teststrategy.exp: Remove extra quote.
26736
26737 * gdb.t07/watchpoint.exp: Change xfail for calling function with
26738 watchpoint enabled to be for all non-68k machines.
26739
26740 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
26741
26742Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26743
26744 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
26745 targets use aout.mt instead of ecoff.mt as gas understands
26746 standard aout format.
26747
26748Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26749
26750 * lib/gdb.exp (runto): Don't insist that function we are running to
26751 was compiled with -g.
26752
26753 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
26754
26755 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
26756 to get back into the read system call.
26757 Accept leading newline in case where we woke it up.
26758
26759Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26760
26761 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
26762 to make the stabs test work on ecoff systems using gcc and -with-stabs.
26763 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
26764 enable ecoff configuration.
26765
26766Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26767
26768 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
26769
26770Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26771
26772 * gdb.t16/printcmds.exp: Add another printf test.
26773
26774Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
26775
26776 * configure.in: If configured -with-stabs on any target, add
26777 stabsdirs to configdirs.
26778
26779Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26780
26781 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
26782 fun" so pattern does not match the command itself.
26783
26784Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26785
26786 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
26787
26788Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26789
26790 * gdb.t17/interrupt.exp: Test for more things.
26791
26792Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26793
26794 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
26795 compiler arranges the code and line numbers.
26796
26797 * gdb.t17/interrupt.exp: Don't send \n after ^C.
26798
26799Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26800
26801 * gdb.t00/help.exp: Increase expect input buffer size.
26802
26803Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26804
26805 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
26806
26807 * gdb.t07/watchpoint.exp: Add xfail for hppa.
26808
26809 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
26810
26811 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
26812 [0-9]*, not just [0-9].
26813
26814Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26815
26816 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
26817
26818 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
26819
26820Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26821
26822 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
26823
26824Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26825
26826 * gdb.t06/signals.c: Add xfails for sun3.
26827
26828 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
26829
26830 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
26831 test_stepping tests.
26832
26833Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26834
26835 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
26836
26837 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
26838
26839 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
26840 rather than actually putting it through cpp twice.
26841
26842 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
26843
26844Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
26845
26846 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
26847 no longer needed.
26848
26849Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26850
26851 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
26852
26853 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
26854 C++ features prints as "struct", make it a pass, not an xfail.
26855
26856Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26857
26858 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
26859 Don't require VA to print as "class" rather than "struct".
26860
26861Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
26862
26863 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
26864
26865Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26866
26867 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
26868
26869Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26870
26871 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
26872 order.
26873
26874Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26875
26876 * gdb.t16/printcmds.exp: Add printf tests.
26877
26878 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
26879
26880 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
26881
26882Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
26883
26884 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
26885 pass counts, to counteract any existing or future setup_xfails.
26886
26887Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26888
26889 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
26890 {BEGIN,END}_COMMON for common block instead of STAB.
26891 * gdb.stabs/wierd.exp: Add xfail for rs6000.
26892
26893 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
26894 intp_var should be N_GSYM not N_LSYM.
26895 wierd-aout.S: Use a label for the value of the N_SO.
26896 wierd.def: Remove all backslashes.
26897 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
26898
26899Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26900
26901 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
26902 get the expected next to inheritance3.
26903
26904Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26905
26906 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
26907 now that gcc-2.4 gets it right.
26908
26909Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26910
26911 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
26912
26913 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
26914 generating comp-info.exp which works for cross-compilation.
26915
26916Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
26917
26918 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
26919 "*-*-sysv4.*".
26920
26921Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
26922
26923 * gdb.t01/run.exp: Start with a fresh gdb.
26924 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
26925 SVR4.x.
26926
26927Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
26928
26929 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
26930 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
26931 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
26932 Makefile.in (distclean, realclean): Remove gdbme.c from list of
26933 things to remove.
26934
26935Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
26936
26937 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
26938 test cases from bug reports.
26939
26940Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
26941
26942 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
26943 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
26944 avoid spurious xfails.
26945 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
26946 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
26947 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
26948
26949Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
26950
26951 * gdb.t00/teststrategy.exp: Rework to provide more useful
26952 description of each test, fix problem with systems that define
26953 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
26954 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
26955 results for "next over recursive call" so timeouts aren't taken
26956 by error.
26957
26958Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
26959
26960 * gdb.t12/scope.exp: Test printing of variables before run.
26961
26962 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
26963 printed in wrong order due to sorting.
26964
26965Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
26966
26967 * gdb.t00/teststrategy.exp: Fix expected results for printing
26968 user entered string constant. Is array of char, prints with no
26969 address.
26970
26971 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
26972 commands.
26973 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
26974 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
26975 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
26976 of struct of char arrays.
26977 * gdb.t00/radix.exp: New tests for radix commands.
26978
26979Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
26980
26981 * gdb.t16/printcmd.exp: Print a variable before running program
26982 (with xfail for AIX).
26983
26984Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
26985
26986 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
26987
26988 * gdb.t16/printcmd.exp: Don't print variables before running program.
26989
26990 * gdb.t06/break.exp: Don't require envp argument to main.
26991
26992 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
26993
26994 * gdb.t02/whatis.exp, gdb.t11/list.exp:
26995 Add xfails for rs6000.
26996
26997 * gdb.t02/whatis.exp: Change other tests not to re-test something
26998 we already tested.
26999
27000 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
27001 each type used has a variable of that type.
27002
27003Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
27004
27005 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
27006
27007Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
27008
27009 * configure.in: change srctrigger to be a file, not a directory
27010
27011Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
27012
27013 * configure.in (mips-idt-ecoff*): Added trailing '*'.
27014
27015 * gdb.t11/list.exp: Fixed a couple of typos.
27016
27017Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
27018
27019 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
27020 is fixed and PR is closed.
27021 * gdb.t16 (gdbme.c): Add simple test string variable.
27022 * gdb.t16 (printcmds.exp): Add tests with simple test string
27023 variable, primarily for boundaries on "set print elements".
27024
27025Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
27026
27027 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
27028 Make leading 0's optional and don't expect a tab in the middle
27029 of the number.
27030
27031 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
27032
27033 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
27034 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
27035 don't end command passed to gdb_test with newline.
27036
27037 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
27038 signed keyword away, don't expect signed bitfields to be signed.
27039
27040 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
27041 printing with only as many 1's as are in the field as well as printing
27042 with 32 1's (see comment).
27043
27044Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
27045
27046 * gdb.t00/default.exp: Start with a fresh gdb.
27047 * configure.in (configdirs): Remove gdb.t31 until the chill
27048 compiler works again. It no longer is able to find chillrt0
27049 since it isn't in libchill.a anymore.
27050 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
27051 wierd.o, make more modular.
27052 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
27053 spurious newlines that caused problems.
27054
27055Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27056
27057 * Move test with enums and partial symbols from gdb.t03/ptype.exp
27058 to gdb.stabs/wierd.exp since GCC has worked around the bug.
27059 gdb.stabs/wierd.{exp,def}: Many new tests.
27060
27061 * gdb.t00/default.exp: update info line for new message.
27062
27063 * gdb.t02/{whatis.exp,gdbme.c}:
27064 Test that "char *" doesn't print as "caddr_t".
27065
27066Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27067
27068 * gdb.t00/help.exp: Use .* in place of some help messages which
27069 just changed.
27070 gdb.t00/default.exp: Update "info frame" test for new message.
27071 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
27072 Remove some xfails
27073
27074Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27075
27076 * gdb.t03/{gdbme.c,ptype.exp}:
27077 Add tests for typedef'd struct and union without tags.
27078 Also check "whatis" on a variable of a typedef'd enum without a tag.
27079
27080 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
27081 PRMS 1823; the bug still exists but isn't reproduced by this test
27082 anymore), and remove rs6000 XFAIL (the bug is fixed).
27083
27084 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
27085 duplicated from whatis.exp. For those that are left, accept
27086 "long", "long int", or "int" for long variables (whatis.exp already
27087 has an XFAIL for "int", so no need to fail it here).
27088
27089 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
27090 Deal with GCC's names for types now that GDB uses the compiler's names.
27091
27092 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
27093 setup_xfail's for sunos4. If we #defined the signed keyword away,
27094 don't expect GDB to know that char it is signed.
27095
27096 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
27097
27098Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
27099
27100 * configure.in (configdirs): Add gdb.t24 for C++ tests that
27101 should work on any system, regardless of debugging format.
27102 * gdb.t21/demangle.exp: Move to gdb.t24.
27103 * gdb.t24/demangle.exp: Move from gdb.t21.
27104 * gdb.t24/{Makefile.in, configure.in}: New files.
27105
27106Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27107
27108 * configure.in: Do gdb.stabs and C++ tests only for stabs.
27109 * gdb.stabs: New directory.
27110
27111Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27112
27113 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
27114 not just "Quit anyway?".
27115
27116Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
27117
27118 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
27119 that all setup_xfails are immediately followed by clear_xfails.
27120
27121Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
27122
27123 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
27124 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
27125 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
27126 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
27127 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
27128 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
27129 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
27130 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
27131 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
27132 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
27133 gdb.t31/chillvars.exp, lib/gdb.exp:
27134 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
27135 bug-gdb@prep.ai.mit.edu.
27136
27137Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
27138
27139 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
27140 with 0.0, not integer 0.
27141
27142Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
27143
27144 * gdb.t06/break.exp: Update for "Kill the program" message change.
27145
27146Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
27147
27148 * Makefile.in (GDBFLAGS): Set to -nx.
27149 * Makefile.in (site.exp): Use GDBFLAGS.
27150
27151Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
27152
27153 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
27154 Makefiles.
27155 (check): depend on just-check.
27156 (just-check): added so that tests can be run without a noop
27157 build pass.
27158
27159Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
27160
27161 Switch to using configure's configdirs.
27162 * Makefile.in (Makefile): add configure.in dependency.
27163 (SUBDIRS): removed redundant assignment.
27164 * configure.in: switch subdirs assignment to configdirs.
27165 * gdb.t*/configure.in: new files.
27166
27167Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
27168
27169 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
27170 works.
27171
27172Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
27173
27174 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
27175 in explicit rules. Apparently this is not supported by some makes.
27176
27177Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
27178
27179 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
27180
27181Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27182
27183 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
27184 disappeared.
27185
27186Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
27187
27188 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
27189
27190Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
27191
27192 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
27193 watchpoint problem that is now fixed.
27194 * gdb.t30/chexp.exp: Remove setup_xfail for printing
27195 uninitialized convenience variables.
27196 * gdb.t31/chillvars.exp: Fix expected patterns for printing
27197 structures.
27198
27199Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27200
27201 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
27202 which causes expect to get out of sync with gdb on long output
27203 from help set.
27204 * gdb.t09/corefile.exp: Make expected pattern for core file
27205 failing signal and frame output format less sun specific.
27206
27207Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
27208
27209 * gdb.t31/chillvars.exp: Add and remove initial dummy
27210 breakpoint, so that symbol table is forced in.
27211 (Needed at least on Sunos4, though it seems not SVR4.)
27212 * gdb.t31/chillvars.exp: Update for changed output format.
27213
27214Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
27215
a9c64011 27216 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
27217
27218Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
27219
27220 * Makefile.in: Added --srcdir when invoking runtest, removed the
27221 need for a local config file. (optional now)
27222
27223Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
27224
27225 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
27226 failure count used to force early termination. Add some more
27227 expected failures for gnu style demangling.
27228
27229Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27230
27231 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
27232 pmi variable from gdb.t20/gdbme to get optimized away.
27233 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
27234 Check for written corefile upon timeout _and_ eof.
27235
27236Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27237
27238 * config/unix-gdb.exp: Add missing return 0.
27239
27240Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27241
27242 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
27243 test termination.
27244
27245Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
27246
27247 * configure.in (subdirs): Put back gdb.t17 which mysteriously
27248 disappeared.
27249
27250Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
27251
27252 * gdb.t10/crossload.exp: Disable the i860-elf test until such
27253 time as i860 support works.
27254
d63a86f8 27255 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
27256 "backtrace 100\r" rather than just "backtrace\r", to match last
27257 change.
27258
27259Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
27260
27261 * config/udi-gdb.exp (gdb_exit): Remove close command.
27262 (gdb_target_udi): New procedure to set the UDI target.
27263 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
27264 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
27265 Added waits for prompts after several question responses. Added
27266 some more responses used by a29k-amd-udi-gdb.
27267 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
27268 pass different arguments, restart UDI connection after program
27269 completion.
27270 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
27271 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
27272 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
27273 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
27274 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
27275 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
27276 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
27277 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
27278 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
27279 after program completion.
27280 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
27281 compiled with a SELECT_VECS setting.
27282 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
27283 infinite recursion.
27284
27285 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
27286 Added checks for COFF results, and made them expected failures for
27287 all targets. It would be better to make them expected failures
27288 for COFF targets only.
27289
27290Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
27291
27292 * Makefile.in: add null dvi target, don't bother to recurse
27293 through test directories for info and install-info; rename
27294 $(datadir) to be dejagnu instead of deja-gnu
27295
27296Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
27297
27298 * gdb.t31/gdbme.ch: Re-enable code that previously caused
27299 compiler to coredump.
27300 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
27301 code.
27302
27303Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
27304
27305 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
27306 coredump.
27307 * gdb.t31/chillvars.exp: Comment out tests that depend on that
27308 code.
27309
27310Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
27311
27312 * gdb.t03/ptype.exp: tests for return code from gdb_test.
27313 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
27314 which in a shell. Deletes xgdb when done.
27315 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
27316 Tests the return from the "set height" or "set width" commands.
27317 Added a few return codes where needed.
27318
27319Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
27320
27321 * Makefile.in (SUBDIRS): Add gdb.t17.
27322 * configure.in (subdirs): Add gdb.t17.
27323 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
27324 files to test gdb's calling of functions in the inferior with
27325 the correct arguments and gdb's ability to retrieve any
27326 result returned.
27327
27328Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
27329
27330 * config/unix-gdb.exp (gdb_exit): Remove close commands that
27331 may be called after gdb goes away. Previous versions of expect
27332 needed these to avoid file descriptor leaks, but they cause
27333 errors with the current revision of expect.
27334 * gdb.t00/gdbvars.exp: Use -re on expected output after
27335 setting sevenbit-strings.
27336 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
27337 to set sevenbit-strings consistent across tests.
27338 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
27339 set sevenbit-strings consistent across tests.
27340
27341Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
27342
27343 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
27344 expected output to match current "expect" expectations.
27345
27346Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
27347
27348 * gdb.t00/default.exp: Change expected output for default "source"
27349 command, to match new gdb behavior which requires a filename to
27350 source.
27351
27352Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
27353
27354 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
27355 expected fail for i486-*-* that misses the marker2 function.
27356 * gdb.t10/crossload.exp (bfddefault): Allow successful
27357 recognition of a format to pass even if no symbols are found.
27358 Explicitly catch failures where the format is not recognized
27359 or is ambiguous, and add the reason to the fail message.
27360 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
27361 the cause is and invalid target and add reason to failure message.
27362 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
27363 elf32-i386, elf32-sparc, and elf32-i860.
27364 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
27365 Set up expected failure for 'filename'::variable scope resolution,
27366 which is now apparently broken on all targets.
27367 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
27368 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
27369 gdb.t23/templates.exp: Change failure for missing binfile into
27370 just a warning.
27371 gdb.t21/demangle.exp: Change all cfront references to 'arm'
27372 references.
27373
27374Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
27375
27376 * gdb.t00/default.exp: Add expected output for default "source"
27377 command, to match new gdb behavior.
27378 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
27379
27380Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
27381
27382 * config/*-gdb.exp: returns an error, rather than exiting on
27383 internal errors.
27384
27385Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
27386
27387 * gdb.t03/gdbme.c: Add pointer to struct variable.
27388 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
27389 referencing struct members.
27390
27391Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
27392
27393 * configure.in (mips-idt-ecoff): New target.
27394 * config/mips-gdb.exp: New file for remote board using MIPS remote
27395 debugging protocol.
27396
27397 * Redid configuration scheme. Removed gdb.t*/configure.in.
27398 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
27399 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
27400 distclean targets. Built executables via .o files. Adjusted
27401 tests to account for source files in $(srcdir) rather than
27402 $(objdir).
27403 * lib/gdb.exp (runto): Don't expect () after the function name,
27404 because it may have arguments.
27405
27406Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
27407
27408 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
27409 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
27410 expected failures for mips-idt-* and mips-sgi-*.
27411 * gdb.t00/default.exp (attach): Kill process if requested.
27412 * gdb.t00/help.exp (help target core, help target): Accept a gdb
27413 that does not read core files.
27414 * gdb.t01/run.exp: Removed checks for exit status code.
27415 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
27416 it is linked in.
27417 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
27418 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
27419 appropriate, rather than doing it by hand.
27420 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
27421 execution.
27422 * gdb.t10/crossload.exp: Kill existing program if needed.
27423 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
27424 appropriate, rather than doing it by hand. Always increase
27425 timeout for this test, not just for VxWorks.
27426
27427Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
27428
27429 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
27430 of Chill STRUCT types and STRUCT values.
27431 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
27432 than "char".
27433 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 27434 struct2): New struct definitions and initializations to test
c906108c
SS
27435 simple Chill STRUCT types.
27436
27437Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
27438
27439 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
27440 the null byte at the end of strings.
27441 * gdb.t00/default.exp: Make show version insensitive to copyright
27442 date.
27443 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
27444 to avoid dependencies on target char signedness.
27445 * gdb.t16/printcmds.exp: Update expected results for explicitly
27446 unsigned char.
27447 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
27448 now work.
27449 * gdb.t21/demangle.exp: Add many more patterns for template
27450 demangling, most of them being expected failures.
27451 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
27452 string we are matching for, to match on the whole string.
27453 * gdb.t21/demangle.exp: Add many new test strings to demangle,
27454 and fix a whole bunch that had incorrect expected output but were
27455 passing anyway because of the bug in "proc demangle".
27456 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
27457 type.
27458 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
27459
27460Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
27461
a9c64011
AS
27462 * gdb/testsuite: made modifications to testcases, etc., to allow
27463 them to work properly given the reorganization of deja-gnu and the
27464 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
27465
27466Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
27467
27468 * gdb/testsuite: Initial creation of gdb/testsuite.
27469 Migrated dejagnu testcases and support files for testing nm to
27470 gdb/testsuite from deja-gnu. These files were moved "as is"
27471 with no modifications. This migration is part of a major overhaul
27472 of dejagnu. The modifications to these testcases, etc., which
27473 will allow them to work with the new version of dejagnu will be
27474 made in a future update.
48efe704 27475
8d8cb839 27476 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 27477\f
8d8cb839
EZ
27478;; Local Variables:
27479;; mode: change-log
27480;; left-margin: 8
27481;; fill-column: 74
27482;; version-control: never
27483;; End:
902f2ccb 27484
0b302171 27485 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
902f2ccb
MC
27486 Copying and distribution of this file, with or without modification,
27487 are permitted provided the copyright notice and this notice are preserved.