Add print 'file'::var testcase with two libs defining the same global variable
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
64ea88dc
JB
12012-05-10 Joel Brobecker <brobecker@adacore.com>
2
3 * config/djgpp/fnchange.lst: Add entries for print-file-var-lib1.c,
4 print-file-var-lib2.c, print-file-var-main.c and
5 print-file-var.exp (located in gdb/testsuite/gdb.base).
6
afba63f1
JB
72012-05-10 Joel Brobecker <brobecker@adacore.com>
8
9 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
10 gdb.base/ctxobj.exp: New files.
11
9d198b1e
TT
122012-05-09 Tom Tromey <tromey@redhat.com>
13
14 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
15
9bfee719
MR
162012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
17
18 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
19
3a7341d8
MR
202012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
21
22 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
23 before using it.
24
52b3699b
TG
252012-05-04 Tristan Gingold <gingold@adacore.com>
26
27 * gdb.base/set-noassign.exp: New test.
28
a20ee7a4
SCR
292012-05-03 Siva Chandra Reddy <sivachandra@google.com>
30
31 * gdb.python/py-symbol.exp: Add tests to test the new methods
32 gdb.Symtab.global_block() and gdb.Symtab.static_block().
33 * gdb.python/py-symbol.c: Add new struct to help test
34 gdb.Symtab.static_block().
35
bf2f0858
DE
362012-05-03 Doug Evans <dje@google.com>
37
38 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
39 commented out.
40
2d4e0376
YQ
412012-05-03 Yao Qi <yao@codesourcery.com>
42
43 * gdb.base/catch-syscall.exp: Skip it before compilation if target
44 doesn't support.
45 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
46 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
47
6d0bb9f3
YQ
482012-05-03 Yao Qi <yao@codesourcery.com>
49
50 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
51
fd820528
DE
522012-04-30 Doug Evans <dje@google.com>
53
54 PR testsuite/13961
55 * gdb.dwarf2/pr13961.S: New file.
56 * gdb.dwarf2/pr13961.exp: New file.
57
b9e219b9
YQ
582012-04-29 Yao Qi <yao@codesourcery.com>
59
60 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
61
3019eac3
DE
622012-04-28 Doug Evans <dje@google.com>
63
64 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
65 .Ltype_int_in_cu2. Use name "int2" instead of "int".
66 All uses updated.
67 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
68 "ptype func_cu1" to expand cu2 before cu1.
69
62e5f89c
SDJ
702012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
71 Tom Tromey <tromey@redhat.com>
72
73 * gdb.base/default.exp: Add `$_probe_arg*' convenience
74 variables.
75 * gdb.base/stap-probe.c: New file.
76 * gdb.base/stap-probe.exp: New file.
77 * gdb.trace/stap-trace.c: New file.
78 * gdb.trace/stap-trace.exp: New file.
79 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
80 libgcc's unwinder.
81
14132e89
MR
822012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
83
84 * gdb.arch/mips16-thunks-inmain.c: New file.
85 * gdb.arch/mips16-thunks-main.c: New file.
86 * gdb.arch/mips16-thunks-sin.c: New file.
87 * gdb.arch/mips16-thunks-sinfrob.c: New file.
88 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
89 * gdb.arch/mips16-thunks-sinmain.c: New file.
90 * gdb.arch/mips16-thunks-sinmips16.c: New file.
91 * gdb.arch/mips16-thunks.exp: New file.
92
a766d390
DE
932012-04-25 Doug Evans <dje@google.com>
94
95 * configure.ac: Create gdb.go/Makefile.
96 * configure: Regenerate.
97 * gdb.base/default.exp: Add "go" to "set language" testing.
98 * gdb.go/Makefile.in: New file.
99 * gdb.go/basic-types.exp: New file.
100 * gdb.go/chan.exp: New file.
101 * gdb.go/chan.go: New file.
102 * gdb.go/handcall.exp: New file.
103 * gdb.go/handcall.go: New file.
104 * gdb.go/hello.exp: New file.
105 * gdb.go/hello.go: New file.
106 * gdb.go/integers.exp: New file.
107 * gdb.go/integers.go: New file.
108 * gdb.go/methods.exp: New file.
109 * gdb.go/methods.go: New file.
110 * gdb.go/package.exp: New file.
111 * gdb.go/package1.go: New file.
112 * gdb.go/package2.go: New file.
113 * gdb.go/print.exp: New file.
114 * gdb.go/strings.exp: New file.
115 * gdb.go/strings.go: New file.
116 * gdb.go/types.exp: New file.
117 * gdb.go/types.go: New file.
118 * gdb.go/unsafe.exp: New file.
119 * gdb.go/unsafe.go: New file.
120 * lib/future.exp: Add Go support.
121 (gdb_find_go, gdb_find_go_linker): New procs.
122 (gdb_default_target_compile): Add Go support.
123 * lib/gdb.exp (skip_go_tests): New proc.
124 * lib/go.exp: New file.
125
e65f9ffb
TT
1262012-04-25 Tom Tromey <tromey@redhat.com>
127
128 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
129
14e75d8e
JK
1302012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
131 Jan Kratochvil <jan.kratochvil@redhat.com>
132
133 PR symtab/7259:
134 * gdb.base/enumval.c: New test case.
135 * gdb.base/enumval.exp: New test case.
136 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
137 field.bitpos.
138
f3525b70
PA
1392012-04-17 Pedro Alves <palves@redhat.com>
140
141 * Makefile.in (site.exp): Make site.exp source
142 $srcdir/lib/append_gdb_boards_dir.exp.
143 * lib/append_gdb_boards_dir.exp: New file.
144
bccbefd2
JK
1452012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
146
147 New option "set auto-load safe-path".
148 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
149 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
150
bf88dd68
JK
1512012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
152
153 auto-load: Implementation.
154 * gdb.base/help.exp (test set height): Increase the height.
155 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
156 to ...
157 (info auto-load python-scripts): ... here.
158 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
159 to ...
160 (info auto-load python-scripts *): ... here.
161
c0d4d1c0
YQ
1622012-04-16 Yao Qi <yao@codesourcery.com>
163
164 * lib/trace-support.exp (get_in_proc_agent): New.
165 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
166 of in process trace agent.
167 * gdb.trace/ftrace.exp: Likewise.
168 * gdb.trace/pending.exp: Likewise.
169 * gdb.trace/trace-break.exp: Likewise.
170 * gdb.trace/trace-mt.exp
171 * gdb.trace/tspeed.exp: Likewise.
172 * gdb.trace/tstatus.exp
173 * gdb.trace/strace.exp: Likewise.
174
cbf68a60
TS
1752012-04-16 Thomas Schwinge <thomas@codesourcery.com>
176
dd6d3b70
TS
177 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
178 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
179
cbf68a60
TS
180 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
181
8264ba82
AG
1822012-04-14 Anton Gorenkov <xgsa@yandex.ru>
183
184 PR mi/13393
185 * gdb.mi/mi-var-rtti.cc: New file.
186 * gdb.mi/mi-var-rtti.exp: New file.
187 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
188 function.
189 (mi_varobj_update_with_type_change): updated to avoid code duplication.
190
de0919f8 1912012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
192
193 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
194 EXECUTABLES.
195 * gdb.python/py-explore.c: C program used for testing the new
196 'explore' command on C constructs.
197 * gdb.python/py-explore.cc: C++ program used for testing the new
198 'explore' command on C++ constructs.
199 * gdb-python/py-explore.exp: Tests for the new 'explore'
200 command on C constructs.
201 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
202 command on C++ constructs.
203
a82da7dd
MK
2042012-04-07 Mark Kettenis <kettenis@gnu.org>
205
206 * gdb.base/funcargs.exp (complex_args): Fix typo.
207
e127cba8
JK
2082012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
209
210 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
211 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
212
40e084e1
KS
2132012-04-05 Keith Seitz <keiths@redhat.com>
214
215 * gdb.base/advance.exp: Update error message for
216 "advance malformed" test.
217 * gdb.base/break.exp: Likewise for "breakpoint with
218 trailing garbage" test.
219 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
220 with trailing garbage" test.
221 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
222 trailng garbage" test.
223 * gdb.base/until.exp: Likewise for "malformed until" test.
224 * gdb.cp/ovldbreak.exp: Create the breakpoint table
225 for "breakpoint info (after setting on all)".
226 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
227 tests.
228 * gdb.cp/cplabel.cc: New file.
229 * gdb.cp/cplabel.exp: New test.
230 * gdb.linespec/ls-errs.c: New file.
231 * gdb.linespec/ls-errs.exp: New test.
232
a72c8f6a
JK
2332012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
234
235 * gdb.trace/unavailable.exp
236 (collect globals: print object on: print derived_partial)
237 (collect globals: print object on: print derived_whole)
238 (collect globals: print object off: print derived_partial)
239 (collect globals: print object off: print derived_whole): Update
240 expected output.
241
f87a3023
KS
2422012-03-30 Keith Seitz <keiths@redhat.com>
243
244 * gdb.python: Add test for linespecs with commas.
245
e2171b3c
KS
2462012-03-28 Keith Seitz <keiths@redhat.com>
247
248 * gdb.linespec/ls-dollar.cc: New file.
249 * gdb.linespec/ls-dollar.exp: New test.
250
2512012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
252
253 * gdb.cp/namespace.exp: Add breakpoint tests for functions
254 starting with the global namespace.
255
2f4e0a80
DE
2562012-03-23 Doug Evans <dje@google.com>
257
258 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
259
7b282c5a
SCR
2602012-03-22 Siva Chandra Reddy <sivachandra@google.com>
261
262 * gdb.python/py-value.cc: Add test case for testing the
263 methodology exposing C++ values to Python.
264 * gdb.python/py-value-cc.exp: Add tests testing the methodology
265 exposing C++ values to Python.
266 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
267
2e98ca53
JK
2682012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
269 Siddhesh Poyarekar <siddhesh@redhat.com>
270
271 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
272 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
273 (generate native core dump): Make the test unsupported if core cannot
274 be generated.
275
8320cc4f
JK
2762012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
277
278 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
279 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
280 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
281
3a69ffb2
JK
2822012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
283
284 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
285
8fabffee
DE
2862012-03-17 Doug Evans <dje@google.com>
287
288 * dg-extract-results.sh: Handle KFAILs.
289
ab260dad
JK
2902012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
291
292 PR symtab/13777
293 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
294
53ba8333
JB
2952012-03-16 Joel Brobecker <brobecker@adacore.com>
296
297 * gdb.ada/set_pckd_arr_elt: New testcase.
298
481860b3
GB
2992012-03-16 Gary Benson <gbenson@redhat.com>
300
301 PR breakpoints/10738
302 * gdb.opt/inline-break.exp: New file.
303 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
304 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
305 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
306 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
307 * gdb.base/async-shell.exp: Likewise.
308 * lib/mi-support.exp (library_loaded_re): Likewise.
309
410528f0
TT
3102012-03-15 Tom Tromey <tromey@redhat.com>
311
312 * gdb.cp/virtfunc2.exp: Update expected output.
313 * gdb.cp/pr9631.exp: Update expected output.
314 * gdb.cp/member-ptr.exp: Update expected output.
315 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
316 output.
317 * gdb.cp/casts.exp: Update expected output.
318
c4aeac85
TT
3192012-03-15 Tom Tromey <tromey@redhat.com>
320
321 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
322 (test_info_vtbl): Likewise.
323 (do_tests): Call test_info_vtbl.
324 * gdb.cp/virtfunc.cc (va): New global.
325
856d06f9
TS
3262012-03-15 Thomas Schwinge <thomas@codesourcery.com>
327
328 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
329 describing DWARF data structures.
330 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
331 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
332 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
333 * gdb.dwarf2/dw2-entry-value.S: Likewise.
334 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
335 * gdb.dwarf2/dw2-param-error.S: Likewise.
336 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
337 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
338 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
339 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
340 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
341 * gdb.dwarf2/pr11465.S: Likewise.
342
e837f12a
JK
3432012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
344
345 * gdb.mi/mi2-prompt.exp: New file.
346
ccbb4f28
JB
3472012-03-13 Joel Brobecker <brobecker@adacore.com>
348
349 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
350
32039130
JB
3512012-03-13 Joel Brobecker <brobecker@adacore.com>
352
353 * gdb.ada/bp_range_type: New testcase.
354
16899756
DE
3552012-03-13 Doug Evans <dje@google.com>
356
357 * gdb.base/default.exp: Delete tests for symbol-reloading.
358 * gdb.base/help.exp: Ditto.
359 * gdb.base/setshow.exp: Ditto.
360 * gdb.base/gdb_history: Delete references to symbol-reloading.
361
87b0bb13
JK
3622012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
363
364 * gdb.base/attach-twice.c: New files.
365 * gdb.base/attach-twice.exp: New files.
366
0d7941a9
KS
3672012-03-08 Keith Seitz <keiths@redhat.com>
368
369 * lib/gdb.exp (gdb_get_line_number): Throw an
370 error instead of returning -1.
371 * gdb.base/break.exp: Remove unused variable
372 bp_location5.
373 * gdb.base/hbreak2.exp: Likewise.
374 * gdb.base/sepdebug.exp: Likewise.
375
f4647387
YQ
3762012-03-08 Yao Qi <yao@codesourcery.com>
377 Pedro Alves <palves@redhat.com>
378
379 Fix PR server/13392.
380 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
381 (tracepoint_change_loc_2): Remove kfail. Return if failed to
382 download tracepoints.
383 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
384 (pending_tracepoint_resolved_during_trace): Likewise.
385 (pending_tracepoint_installed_during_trace): Likewise.
386 (pending_tracepoint_with_action_resolved): Likewise.
387
83c532cb
KS
3882012-03-08 Keith Seitz <keiths@redhat.com>
389
390 * gdb.ada/array_bounds.exp: Get breakpoint for line
391 with "START", not "STOP".
392 * gdb.python/py-infthread.exp: Do not continue to
393 line marked "Break here.", which is undefined.
394
d6b6bbb7
LM
3952012-03-08 Luis Machado <lgustavo@codesourcery.com>
396
397 Revert:
398
399 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
400
401 Implement testsuite workaround for PR breakpoints/13781.
402 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
403 (set breakpoint condition-evaluation host): New conditional command.
404
7fe25d9b
JK
4052012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
406
407 Fix CU relative vs. absolute DIE offsets.
408 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
409 one.
410
51898c15
JK
4112012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
412
413 Fix false FAIL on distros with relro linkage as default.
414 * gdb.reverse/solib-precsave.exp: Try to compile the test using
415 -Wl,-z,norelro first.
416
8131799e
JB
4172012-03-06 Joel Brobecker <brobecker@adacore.com>
418
419 * gdb.ada/bp_on_var: New testcase.
420
ba241969
JB
4212012-03-06 Joel Brobecker <brobecker@adacore.com>
422
423 * gdb.ada/bp_enum_homonym: New testcase.
424
abe49676
YQ
4252012-03-06 Yao Qi <yao@codesourcery.com>
426
427 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
428 x86_64-*-* and i?86-*-*.
429 Set up KFAIL for gdb/13808.
430
d8df103b
TT
4312012-03-05 Tom Tromey <tromey@redhat.com>
432
433 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
434 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
435
b7b189f3
TT
4362012-03-05 Tom Tromey <tromey@redhat.com>
437
438 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
439
69dc1c4d
YQ
4402012-03-04 Yao Qi <yao@codesourcery.com>
441
442 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
443 messages for KFAIL.
444
3f20c47f
JK
4452012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
446
447 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
448 (print one_two_three, indexes off, print few_reps, indexes off)
449 (print many_reps, indexes off, print empty, indexes off)
450 (print one_two_three, print few_reps, print many_reps, print empty):
451 Call setup_xfail if $gcc_old.
452
abf1152a
JK
4532012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
454
455 Implement testsuite workaround for PR breakpoints/13781.
456 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
457 (set breakpoint condition-evaluation host): New conditional command.
458
a06715f8
JK
4592012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
460
461 Code cleanup.
462 * gdb.cp/mb-templates.exp: New variables executable. Use it for
463 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
464 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
465 number 1 by $bpnum. Four times.
466
5808517f
YQ
4672012-03-03 Yao Qi <yao@codesourcery.com>
468
469 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
470
dfe2ac14
JK
4712012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
472
473 Setup KFAIL for PR server/13796.
474 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
475
8bbc467a
JB
4762012-03-02 Joel Brobecker <brobecker@adacore.com>
477
478 * gdb.ada/operator_bp: New testcase.
479
c0eac87f
JB
4802012-03-02 Joel Brobecker <brobecker@adacore.com>
481
482 * gdb.ada/info_locals_renaming: New testcase.
483
4f42c881
TT
4842012-03-02 Tom Tromey <tromey@redhat.com>
485
486 * gdb.base/nextoverexit.c: New file.
487 * gdb.base/nextoverexit.exp: New file.
488
7380c0c9
EBM
4892012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
490
491 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
492 parameter.
493
1faeff08
MR
4942012-03-01 Maciej W. Rozycki <macro@mips.com>
495
496 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
497 core registers.
498
320b6f49
MR
4992012-03-01 Maciej W. Rozycki <macro@mips.com>
500 Maciej W. Rozycki <macro@codesourcery.com>
501 Daniel Jacobowitz <dan@codesourcery.com>
502
503 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
504
ad5f7d6e
PA
5052012-03-01 Pedro Alves <palves@redhat.com>
506
507 PR gdb/13767
508
509 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
510 (gdb_collect_globals_test): Call it.
511
d3dc44a6
KS
5122012-03-01 Keith Seitz <keiths@redhat.com>
513
514 * gdb.cp/method2.exp: Output of overload menu is now
515 alphabetized. Update tests for "break A::method".
516 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
517 of hard-coding them.
518 Overload menu is alphabetized: rewrite to accommodate.
519 Unset variables LINE and TYPES which are used in other tests.
520 Compute the output of "info break".
521 Update the breakpoint table after all breakpoints are deleted.
522 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
523 compute ACTUALS and the method body based on parameters.
524 Update expected output accordingly.
525 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
526 unique comments to allow the use of gdb_get_line_number.
527
5282012-03-01 Keith Seitz <keiths@redhat.com>
529
530 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
531 some Tcl syntax.
532 * gdb.cp/ovldbreak.exp: Likewise.
533
7949c2a0
KS
5342012-03-01 Keith Seitz <keiths@redhat.com>
535
536 * gdb.base/help.exp (help show user): Update expected result
537 for new doc string changes (add "non-python").
538
7d74f244
DE
5392012-03-01 Scott J. Goldman <scottjg@vmware.com>
540
541 * gdb.python/py-cmd.exp: Add test to verify that python commands can
542 be put in the user-defined category and that the commands appear in
543 "help user-defined".
544
1b611343
JB
5452012-02-29 Joel Brobecker <brobecker@adacore.com>
546
547 * gdb.ada/tagged_not_init: New testcase.
548
99b1c762
JB
5492012-02-29 Joel Brobecker <brobecker@adacore.com>
550
551 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
552 * gdb.ada/enum_idx_packed: New testcase.
553
2d4a02ee
JB
5542012-02-29 Joel Brobecker <brobecker@adacore.com>
555
556 * gdb.ada/aliased_array: New testcase.
557
2e6fda7d
JB
5582012-02-29 Joel Brobecker <brobecker@adacore.com>
559
560 * gdb.ada/whatis_array_val: New testcase.
561
9a7f938f
JK
5622012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
563
564 Fix disp-step-syscall.exp: fork: single step over fork.
565 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
566 whitespaces.
567 (single step over $syscall): Remove its check.
568 (single step over $syscall final pc): New check.
569
8703a944
JK
5702012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
571
572 Support processors without SSSE3.
573 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
574 pabsd into ...
575 (ssse3_test): ... a new function.
576 (main): Call ssse3_test.
577 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
578 Update expected values everywhere.
579 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
580 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
581 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
582 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
583 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
584 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
585 Move these tests lower.
586 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
587 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
588 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
589 New tests.
590
c03e6ccc
YQ
5912012-02-29 Yao Qi <yao@codesourcery.com>
592 Pedro Alves <palves@redhat.com>
593
594 * gdb.trace/trace-mt.c: New.
595 * gdb.trace/trace-mt.exp: New.
596
7964b62a
TS
5972012-02-28 Thomas Schwinge <thomas@codesourcery.com>
598
2c8910ba
TS
599 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
600 numbers instead of hardcoding them.
601 * gdb.base/annota1.c: Provide suitable markers.
602 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
603 numbers instead of hardcoding them.
604 * gdb.base/annota3.c: Provide suitable markers.
605
606 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
607 * gdb.base/annota3.c: Likewise.
608 * gdb.base/sigall.c: Likewise.
609 * gdb.base/signals.c: Likewise.
610 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 611
5a41c0b7
MR
6122012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
613
614 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
615 failure return path.
616
ebbbe5c5
LM
6172012-02-27 Luis Machado <lgustavo@codesourcery.com>
618
619 * gdb.base/save-bp.exp: Account for new condition evaluator output.
620
8d126d8a
LM
6212012-02-24 Luis Machado <lgustavo@codesourcery.com>
622
623 * gdb.base/cond-eval-mode.exp: New file.
624
11337c2f
PA
6252012-02-24 Pedro Alves <palves@redhat.com>
626
627 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
628 (top level): Use with_test_prefix.
629
13fc3e3c
PA
6302012-02-24 Pedro Alves <palves@redhat.com>
631
632 * gdb.threads/attach-into-signal.exp (corefunc): Use
633 with_test_prefix.
634
07c1b626
JK
6352012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
636
637 Fix false FAILs on old CPUs without SSE.
638 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
639 Return untested for Illegal instruction.
640
596ba138
JK
6412012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
642
643 Fix false FAILs with glibc debug infos installed.
644 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
645 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
646
aeaa2474
SA
6472012-02-22 Sterling Augustine <saugustine@google.com>
648
649 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
650 constant with cast.
651
aed555c9
PA
6522012-02-21 Pedro Alves <palves@redhat.com>
653
654 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
655
78afebb4
PA
6562012-02-21 Pedro Alves <palves@redhat.com>
657
658 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
659
fdcfef12
PA
6602012-02-21 Pedro Alves <palves@redhat.com>
661
662 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
663 with_test_prefix.
664
0f4d39d5
PA
6652012-02-21 Pedro Alves <palves@redhat.com>
666
667 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
668 with_test_prefix here.
669 (top level): Do it here instead. Remove `:' from the
670 with_test_prefix string.
671 * gdb.base/attach-pie-misread.exp: Remove the leading space the
672 the suffix `:' from the with_test_prefix prefix string.
673 * gdb.base/break-interp.exp: Ditto.
674 * gdb.base/catch-load.exp: Ditto.
675 * gdb.base/disp-step-syscall.exp: Ditto.
676 * gdb.base/jit-so.exp: Ditto.
677 * gdb.base/jit.exp: Ditto.
678 * gdb.base/sepdebug.exp: Ditto.
679 * gdb.base/solib-display.exp: Ditto.
680 * gdb.base/solib-overlap.exp: Ditto.
681 * gdb.base/watch-cond-infcall.exp: Ditto.
682 * gdb.base/watchpoint.exp: Ditto.
683 * gdb.dwarf2/dw2-noloc.exp: Ditto.
684 * gdb.mi/mi-watch.exp: Ditto.
685 * gdb.mi/mi2-watch.exp: Ditto.
686 * gdb.threads/non-ldr-exc-1.exp: Ditto.
687 * gdb.threads/non-ldr-exc-2.exp: Ditto.
688 * gdb.threads/non-ldr-exc-3.exp: Ditto.
689 * gdb.threads/non-ldr-exc-4.exp: Ditto.
690 * gdb.threads/watchpoint-fork.exp: Ditto.
691 * gdb.threads/watchthreads-reorder.exp: Ditto.
692 * gdb.trace/change-loc.exp: Ditto.
693 * gdb.trace/pending.exp: Ditto.
694 * gdb.trace/status-stop.exp: Ditto.
695 * gdb.trace/strace.exp: Ditto.
696 * gdb.trace/trace-break.exp: Ditto.
697 * gdb.trace/unavailable.exp: Ditto.
698 * lib/gdb.exp (with_test_prefix): Always prefix with space and
699 suffix with colon. Adjust leading comments.
700
6a5870ce
PA
7012012-02-21 Pedro Alves <palves@redhat.com>
702 Tom Tromey <tromey@redhat.com>
703
704 * lib/gdb.exp: Add description of test prefixes.
705 (with_test_prefix): New procedure.
706 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
707 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
708 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
709 instead of lappend to append to pf_prefix.
710 * gdb.base/catch-load.exp: Use with_test_prefix.
711 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
712 * gdb.base/jit-so.exp: Use with_test_prefix.
713 * gdb.base/jit.exp: Use with_test_prefix.
714 * gdb.base/return-nodebug.exp (do_test): Use append instead of
715 lappend to append to pf_prefix.
716 * gdb.base/sepdebug.exp: Use with_test_prefix.
717 * gdb.base/solib-display.exp: Use with_test_prefix.
718 * gdb.base/solib-overlap.exp: Use with_test_prefix.
719 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
720 * gdb.base/watchpoint.exp: Use with_test_prefix.
721 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
722 * gdb.mi/mi-watch.exp: Use with_test_prefix.
723 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
724 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
725 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
726 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
727 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
728 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
729 append instead of lappend to append to pf_prefix.
730 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
731 * gdb.trace/change-loc.exp: Use with_test_prefix.
732 * gdb.trace/pending.exp: Use with_test_prefix.
733 * gdb.trace/status-stop.exp: Use with_test_prefix.
734 * gdb.trace/strace.exp: Use with_test_prefix.
735 * gdb.trace/trace-break.exp: Use with_test_prefix.
736 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
737 instead of lappend to append to pf_prefix.
738
35dc4a6b
JK
7392012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
740
741 Fix racy FAILs.
742 * gdb.base/inferior-died.c (main): Add return of 0.
743 * gdb.base/inferior-died.exp (continue): Fix expectation of
744 asynchronous events.
745 (p 1): New test.
746
c5a006e6
PA
7472012-02-20 Pedro Alves <palves@redhat.com>
748
749 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
750 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
751 gdb's internal debug output. For the non-threaded case, look for
752 "Program received signal SIGLARM", for the threaded case, peek at
753 the thread's siginfo.
754
cc51a170
PA
7552012-02-20 Pedro Alves <palves@redhat.com>
756
757 General cleanup, make output test messages unique, and build
758 different executable files for the non-threaded and threaded
759 cases.
760
761 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
762 Delete.
763 (executable_nothr, executable_thr): New globals.
764 (top level): Adjust to delete both executables.
765 (corefunc): New parameter $executable. Set $pf_prefix instead of
766 hand writing a prefix in tests. Issue a clean_restart and enable
767 lin-lwp debug output here.
768 (top level): Adjust. Use build_executable. Don't start gdb here,
769 and don't enable lin-lwp debug output here.
770 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
771
c755f03d
JK
7722012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
773
774 Fix racy FAILs.
775 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
776 "continue" command.
777
6bec5e0a
JK
7782012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
779
780 Fix for gdbserver non-extended mode.
781 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
782 and gdb_run_cmd.
783
2e8265fd
TT
7842012-02-17 Tom Tromey <tromey@redhat.com>
785
786 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
787 * gdb.python/py-events.exp: Check 'dir' output.
788 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
789
9e507076
YQ
7902012-02-17 Yao Qi <yao@codesourcery.com>
791
792 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
793
32d22ab1
TT
7942012-02-16 Tom Tromey <tromey@redhat.com>
795
796 * gdb.base/inferior-died.c: Don't include stdio.h.
797
9addecb9
TT
7982012-02-16 Tom Tromey <tromey@redhat.com>
799
800 * gdb.base/inferior-died.c: New file.
801 * gdb.base/inferior-died.exp: New file.
802
4cb6da1c
AR
8032012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
804
805 * gdb.base/break-inline.exp: New file.
806 * gdb.base/break-inline.c: New file.
807
3af2590d
TT
8082012-02-15 Tom Tromey <tromey@redhat.com>
809
810 * gdb.base/pc-fp.exp: Add "info register" tests.
811
29988831
TT
8122012-02-15 Tom Tromey <tromey@redhat.com>
813
814 * gdb.base/regs.exp: Remove.
815
10010058
PA
8162012-02-15 Pedro Alves <palves@redhat.com>
817
818 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
819 the target doesn't support tracepoints.
820 * gdb.trace/circ.exp: Ditto.
821 * gdb.trace/collection.exp: Ditto.
822 * gdb.trace/packetlen.exp: Ditto.
823 * gdb.trace/passc-dyn.exp: Ditto.
824 * gdb.trace/report.exp: Ditto.
825 * gdb.trace/tfind.exp: Ditto.
826 * gdb.trace/tspeed.exp: Ditto.
827 * gdb.trace/tsv.exp: Ditto.
828 * gdb.trace/unavailable.exp: Ditto.
829 * gdb.trace/while-dyn.exp: Ditto.
830
a2e0062d
PA
8312012-02-15 Pedro Alves <palves@redhat.com>
832
833 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
834 gdb_test_multiple, and call unsupported instead of fail, if the
835 remote side does not support the request.
836
a1999d40
PA
8372012-02-15 Pedro Alves <palves@redhat.com>
838
839 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
840 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
841 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
842 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
843 * gdb.server/server-run.exp: Make sure gdb is disconnected.
844 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
845 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
846 doesn't start with "extended-" already.
847
7cee1e54
PA
8482012-02-15 Pedro Alves <palves@redhat.com>
849
850 Support extended-remote. Avoid cascading timeouts.
851
852 * gdb.base/attach.exp (do_attach_tests): Add expected output for
853 the extended-remote target. If attaching with no file fails, load
854 the file manually.
855 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
856
816338b5
SS
8572012-02-14 Stan Shebs <stan@codesourcery.com>
858
859 * gdb.base/ena-dis-br.exp: Add enable count test.
860
cc30c4bd
PA
8612012-02-13 Pedro Alves <palves@redhat.com>
862
863 * config/mips-idt.exp: Delete.
864 * gdb.base/a2-run.exp: Remove mips-idt xfails.
865 * gdb.base/bitfields.exp: Remove mips-idt restarts.
866 * gdb.base/break.exp: Remove mips-idt references.
867 * gdb.base/chng-syms.exp: Ditto.
868 * gdb.base/default.exp: Ditto.
869 * gdb.base/funcargs.exp (funcargs_reload): Delete.
870 (top level): Don't call it.
871 * gdb.base/opaque.exp: Remove mips-idt restarts.
872 * gdb.base/ptype.exp: Remove mips-idt xfails.
873 * gdb.base/scope.exp: Remove mips-idt restarts.
874 * gdb.base/sepdebug.exp: Remove mips-idt references.
875 * gdb.base/watchpoint.exp (maybe_clean_restart)
876 (maybe_reinitialize): Delete.
877 (test_disabling_watchpoints, test_disabling_watchpoints)
878 (test_watchpoint_triggered_in_syscall)
879 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
880 Don't call them.
881
57008375
JK
8822012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
883
884 * gdb.server/server-exec-info.exp: New file.
885
4a2d9c08
PA
8862012-02-10 Pedro Alves <palves@redhat.com>
887
888 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
889 always non-empty.
890 (test_attach): Always pass $exec to test_attach_gdb.
891
09fa21bd
TT
8922012-02-08 Tom Tromey <tromey@redhat.com>
893
894 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
895 before inferior is started.
896
f0823d2c
TT
8972012-02-07 Tom Tromey <tromey@redhat.com>
898
899 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
900 Symbol.value.
901 * gdb.python/py-symbol.c (qq): Set default value.
902
9032012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
904
905 * gdb.python/py-symbol.c (qq): New global.
906 * gdb.python/py-symbol.exp: Add test for frame-less
907 lookup_symbol.
908 * gdb.python/py-symtab.exp: Fix line number.
909
f7e44f65
JB
9102012-02-03 Joel Brobecker <brobecker@adacore.com>
911
912 * gdb.ada/mi_task_arg: New testcase.
913
4c9ed63c
PA
9142012-02-02 Pedro Alves <palves@redhat.com>
915
916 * gdb.reverse/until-precsave.exp: Also put "record save" under the
917 extended timeout.
918
c0b9f2c6
PA
9192012-02-02 Pedro Alves <palves@redhat.com>
920
921 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
922 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
923
5f8cefd7
PA
9242012-02-02 Pedro Alves <palves@redhat.com>
925
926 * gdb.base/term.exp: Rewrite.
927 * gdb.base/term.c: New.
928
2f3a2569
PA
9292012-02-02 Pedro Alves <palves@redhat.com>
930
931 * gdb.base/default.exp (run "r" abbreviation, run): Add
932 extended-remote expected output.
933
f149aabd
TT
9342012-02-02 Tom Tromey <tromey@redhat.com>
935
936 * gdb.cp/dispcxx.exp: New file.
937 * gdb.cp/dispcxx.cc: New file.
938
03bef283
TT
9392012-02-01 Tom Tromey <tromey@redhat.com>
940
941 * gdb.base/jit-simple.exp: New file.
942 * gdb.base/jit-simple.c: New file.
943
a79b18b5
YQ
9442012-01-30 Yao Qi <yao@codesourcery.com>
945
946 * gdb.base/skip.exp: Make test result unique.
947
f0d1a53e
JK
9482012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
949
950 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
951 compatibility with valgrind-3.7.0.
952
4b3c9f41
PA
9532012-01-27 Pedro Alves <palves@redhat.com>
954
955 * gdb.base/watchpoint.exp (no_hw): New global.
956 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
957 disable hw watchpoints.
958 (test_wide_location_1, test_wide_location_2): If no_hw is set,
959 don't expect hw watchpoints.
960 (no_hw_watchpoints): Always clean restart.
961 (do_tests): New procedure, factored out from the top level.
962 (top level): Run tests twice. Once with hw watchpoints enabled,
963 another time with hw watchpoints disabled.
964
a13491c8
PA
9652012-01-27 Pedro Alves <palves@redhat.com>
966
967 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
968 out from the top level.
969 (top level): Call it instead.
970
f2c8a051
PA
9712012-01-27 Pedro Alves <palves@redhat.com>
972
973 * gdb.base/watchpoint.exp (top level): Re-enable hardware
974 watchpoints sooner.
975
654d7a9e
PA
9762012-01-27 Pedro Alves <palves@redhat.com>
977
978 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
979
274f47f3
PA
9802012-01-27 Pedro Alves <palves@redhat.com>
981
982 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
983 "You may have requested too many hardware
984 breakpoints/watchpoints".
985
e4d63ba2
PA
9862012-01-27 Pedro Alves <palves@redhat.com>
987
988 * gdb.base/watchpoint.exp (maybe_clean_restart)
989 (maybe_reinitialize): New.
990 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
991 expect "hit N times".
992 (test_disabling_watchpoints, test_complex_watchpoint)
993 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
994 Call maybe_clean_restart.
995 (top level): Use clean_restart. Remove "mips-idt-*"
996 reinitialization.
997
dbd95daf
PA
9982012-01-27 Pedro Alves <palves@redhat.com>
999
1000 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
1001
f3ad2025
PA
10022012-01-27 Pedro Alves <palves@redhat.com>
1003
1004 * gdb.base/watchpoint.exp: Clean restart after tests that don't
1005 require `initialize' anymore. Remove unnecessary `initialize'
1006 calls.
1007
100aa3ae
PA
10082012-01-27 Pedro Alves <palves@redhat.com>
1009
1010 * gdb.base/watchpoint.exp (wp_set): Delete.
1011 (initialize, test_simple_watchpoint, top level): Remove dead code.
1012
c79a8e11
PA
10132012-01-27 Pedro Alves <palves@redhat.com>
1014
1015 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
1016 typo.
1017
048fe15a
PA
10182012-01-27 Pedro Alves <palves@redhat.com>
1019
1020 * config/extended-gdbserver.exp: New file.
1021 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
1022 comment.
1023 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
1024 * boards/native-extended-gdbserver.exp: New file.
1025
4033a6bf
PA
10262012-01-26 Pedro Alves <palves@redhat.com>
1027
1028 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
1029 and gdb_test_multiple.
1030
3d7f4b81
PA
10312012-01-26 Pedro Alves <palves@redhat.com>
1032
1033 Make test messages unique, and more identifiable.
1034 * gdb.multi/watchpoint-multi.exp: Change test messages.
1035
484abf42
TT
10362012-01-25 Tom Tromey <tromey@redhat.com>
1037
1038 * gdb.base/solib-disc.exp: Fix regexps.
1039
edcc5120
TT
10402012-01-24 Tom Tromey <tromey@redhat.com>
1041
1042 * lib/mi-support.exp (mi_expect_stop): Add special case for
1043 solib-event.
1044 * gdb.base/catch-load-so.c: New file.
1045 * gdb.base/catch-load.exp: New file.
1046 * gdb.base/catch-load.c: New file.
1047 * gdb.base/break-interp.exp (reach_1): Update regexp.
1048
30b91c90
JK
10492012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1050
1051 Fix fuzzy results.
1052 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
1053 lpsimple and func.
1054
53fe1783
GB
10552012-01-24 Gary Benson <gbenson@redhat.com>
1056
1057 Delete #if 0'd out code.
1058 * gdb.base/default.exp (info catch): Remove.
1059 * gdb.base/gdb_history (info catch): Likewise.
1060 * gdb.base/help.exp (info catch): Likewise.
1061
d0d8b0c6
JK
10622012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1063
1064 Fix watchpoints to be specific for each inferior.
1065 * gdb.multi/watchpoint-multi.c: New file.
1066 * gdb.multi/watchpoint-multi.exp: New file.
1067
4403d8e9
JK
10682012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1069
1070 Fix watchpoints across inferior fork.
1071 * gdb.threads/watchpoint-fork-child.c: New file.
1072 * gdb.threads/watchpoint-fork-mt.c: New file.
1073 * gdb.threads/watchpoint-fork-parent.c: New file.
1074 * gdb.threads/watchpoint-fork-st.c: New file.
1075 * gdb.threads/watchpoint-fork.exp: New file.
1076 * gdb.threads/watchpoint-fork.h: New file.
1077
050a2e1d
PA
10782012-01-23 Pedro Alves <palves@redhat.com>
1079
1080 * gdb.base/call-signal-resume.exp: Allow output after "return".
1081
6a52fb62
PA
10822012-01-20 Pedro Alves <palves@redhat.com>
1083
1084 * gdb.python/py-finish-breakpoint.py: Fix typo.
1085
145b16a9
UW
10862012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
1087
1088 * gdb.base/info-proc.exp: Also run on remote targets. Main
1089 "info proc" command is now always present; whether target supports
1090 actual info proc operation is detected when attempting to issue
1091 the command.
1092
26f6125e
JK
10932012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1094
1095 * .gdbinit: Remove.
1096
eb5227ce
PA
10972012-01-19 Pedro Alves <palves@redhat.com>
1098
1099 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
1100 look at the funtions' returns.
1101 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
1102 (jprint.print(int, int)): Change return type to int. Adjust.
1103
1db33378
PP
11042012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1105
1106 PR gdb/9538
1107 * gdb.base/sepdebug.exp: New test.
1108
b9736cf8
PA
11092012-01-18 Pedro Alves <palves@redhat.com>
1110
1111 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
1112 Allow output before ^done.
1113
4aac40c8
TT
11142012-01-16 Tom Tromey <tromey@redhat.com>
1115
1116 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
1117 Add tests for relative directory.
1118
cafec441
TT
11192012-01-16 Tom Tromey <tromey@redhat.com>
1120
1121 * gdb.base/printcmds.c (enum flag_enum): New.
1122 (three): New global.
1123 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
1124 enum printing.
1125 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
1126 FlagEnumerationPrinter.
1127 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
1128 * gdb.python/py-pp-maint.c (enum flag_enum): New.
1129 (fval): New global.
1130
abcc4978
PA
11312012-01-16 Pedro Alves <palves@redhat.com>
1132
1133 * lib/gdb.exp (banned_procedures): New variable.
1134 (banned_variables_traced): Rename to ...
1135 (banned_traced): ... this.
1136 (gdb_init): Also trace banned procedures.
1137 (gdb_finish): Also untrace banned procedures.
1138
97ccebe8
PA
11392012-01-16 Pedro Alves <palves@redhat.com>
1140
1141 Remove all calls to strace.
1142
2af7517b
JK
11432012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1144
1145 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
1146 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
1147
9241a8bc
PP
11482012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1149
1150 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
1151 * gdb.base/pie-execl.exp: Likewise.
1152
3848a17f
KS
11532012-01-12 Keith Seitz <keiths@redhat.com>
1154
1155 PR mi/10586
1156 * gdb.mi/var-cmd.c (struct anonymous): New structure.
1157 (do_anonymous_type_tests): New function.
1158 (main): Call do_anonymous_type_tests.
1159 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
1160 (verify_everything): New procedure.
1161 * gdb.mi/mi-var-cp.cc (class A): New class.
1162 (anonymous_structs_and_unions): New function.
1163 (main): Call anonymous_structs_and_unions.
1164 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
1165 (verify_everything): New procedure.
1166
440e2fca
KS
11672012-01-12 Keith Seitz <keiths@redhat.com>
1168
1169 * lib/mi-support.exp: Expand comments about PATH_EXPR.
1170 (varobj_tree::get_path_expr): Assume that all varobjs are
1171 compound unless they are known simple types.
1172 Adjust path expressions based on parent type, path parent type,
1173 and tree language.
1174 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
1175 the root varobj.
1176 (mi_walk_varobj_tree): Add LANGUAGE parameter.
1177
675399c9
PA
11782012-01-11 Pedro Alves <palves@redhat.com>
1179
1180 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
1181 core files on this machine" anymore.
1182
97ddaa9b
PH
11832012-01-11 Paul Hilfinger <hilfingr@adacore.com>
1184
1185 * gdb.base/watchpoint.c (recurser): Initialize local_x.
1186 (main): Repeat recurser call.
1187 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
1188 equivalent to 'local_x'.
1189
ea733575
PH
11902012-01-11 Paul Hilfinger <hilfingr@adacore.com>
1191 Joel Brobecker <brobecker@adacore.com>
1192
1193 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
1194
2ca0b532
PA
11952012-01-05 Pedro Alves <alves.ped@gmail.com>
1196
1197 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
1198 * gdb.python/py-events.c (first): Add bits for new "step N" test.
1199 * gdb.python/py-events.exp: Test that "step N" tripping on a
1200 breakpoint emits a breakpoint event.
1201
6e681866
JB
12022012-01-03 Joel Brobecker <brobecker@adacore.com>
1203
1204 * gdb.base/auxv.exp: Reformat the copyright notice.
1205
3c2d6aff
YQ
12062012-01-03 Yao Qi <yao@codesourcery.com>
1207
1208 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
1209 (strace_trace_on_diff_addr): New.
1210 * gdb.trace/strace.c: (main): Add two local variables.
1211
0852fee3
UW
12122011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
1213
1214 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
1215 * gdb.cell/gcore.exp: Likewise.
1216 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
1217 to verify the correct instance of main is selected.
1218
12c3e59c
JB
12192012-01-02 Joel Brobecker <brobecker@adacore.com>
1220
1221 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
1222 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
1223 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
1224 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
1225 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
1226 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
1227 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
1228 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
1229 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
1230 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
1231 gdb.threads/thread_check.c: Reformat copyright header.
1232
c0f378ec
EBM
12332011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
1234
e4a7ca93 1235 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
1236 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
1237 is not enabled.
1238
3bc96cfb
JK
12392011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1240
1241 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
1242 parameter to self_exec, adjust the function.
1243 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
1244 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
1245 (set var do_exit = 0): Remove test.
1246 (newline at end of file): Add one.
1247
095bcf5e
JB
12482011-12-27 Joel Brobecker <brobecker@adacore.com>
1249
1250 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
1251 New files.
1252
18d19bd1
JK
12532011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1254
1255 Fix racy FAILs.
1256 * gdb.threads/fork-thread-pending.c (barrier): New variable.
1257 (thread_function, thread_forker): Call pthread_barrier_wait for it.
1258 (main): Call pthread_barrier_init for it.
1259
e809353a
JK
12602011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1261
1262 Fix double send_gdb leading to racy FAILs.
1263 * gdb.base/break.exp (set silent break bp_location1): Replace
1264 3x send_gdb and gdb_expect by gdb_test.
1265 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
1266 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
1267 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
1268 instead of send_gdb. Twice.
1269 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
1270 3x send_gdb and gdb_expect by gdb_test.
1271 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
1272
da8cb7ec
JK
12732011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1274
1275 * gdb.linespec/linespec.exp: Compile using {c++}.
1276
ae1a303e
JK
12772011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1278
1279 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
1280 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
1281 (verify GCC PR debug/51668): New test.
1282
cc72b2a2
KP
12832011-12-23 Kevin Pouget <kevin.pouget@st.com>
1284
1285 Introduce gdb.FinishBreakpoint in Python.
1286 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
1287 py-finish-breakpoint2
1288 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
1289 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
1290 instead of line number.
1291 * gdb.python/py-finish-breakpoint.c: New file.
1292 * gdb.python/py-finish-breakpoint.exp: New file.
1293 * gdb.python/py-finish-breakpoint.py: New file.
1294 * gdb.python/py-finish-breakpoint2.cc: New file.
1295 * gdb.python/py-finish-breakpoint2.exp: New file.
1296 * gdb.python/py-finish-breakpoint2.py: New file.
1297
3b7962f9
JK
12982011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1299
1300 Partial fix of compatibility with gcc-4.7.
1301 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
1302 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
1303 Add comment to add a PASS case in the future.
1304
6538471c
JK
1305 Fix compatibility with gcc-4.7.
1306 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
1307
7052e42c
UW
13082011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
1309
1310 PR tdep/12797
1311 * gdb.base/callfuncs.exp: Remove KFAIL.
1312
9ac7f98e
JB
13132011-12-21 Joel Brobecker <brobecker@adacore.com>
1314
1315 * gdb.ada/task_bp: New testcase.
1316
f6eeced0
JK
13172011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1318
1319 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
1320 -DNO_SECTIONS.
1321 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
1322
72225e17
JK
13232011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1324
1325 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
1326 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
1327 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
1328 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
1329 conditional for gcc <= 4.5.
1330
13ac8d2c
JK
13312011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1332
1333 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
1334 by XFAIL.
1335 * gdb.cp/static-method.exp (info addr A::func())
1336 (list static-method.cc:xxx::(anonymous namespace)::A::func)
1337 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
1338 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
1339 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
1340 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
1341 (test value of F in k3_m): Likewise.
1342 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
1343 Likewise.
1344
049682ba
JK
13452011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1346
1347 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
1348 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
1349 Remove.
1350 * gdb.threads/attachstop-mt.c: Remove.
1351 * gdb.threads/attachstop-mt.exp: Remove.
1352
2c9d8796
MK
13532011-12-17 Mark Kettenis <kettenis@gnu.org>
1354
1355 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
1356
e0f9f062
DE
13572011-12-16 Doug Evans <dje@google.com>
1358
f4aa2101 1359 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
1360 * boards/native-gdbserver.exp: New file.
1361
e0f9f062
DE
1362 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
1363 gdbserver output.
1364 (gdbserver_default_get_remote_address): New function.
1365 (gdbserver_start): Call gdb,get_remote_address to compute argument
1366 to "target remote" command.
1367
80b6e756
PM
13682011-12-16 Phil Muldoon <pmuldoon@redhat.com>
1369
1c3ad6ab 1370 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
1371 python print-stack. Add set/show python print-stack
1372 off|full|message tests.
1373
1576bd00
YQ
13742011-12-15 Yao Qi <yao@codesourcery.com>
1375
1376 * gdb.trace/strace.c: New
1377 * gdb.trace/strace.exp: New.
1378
d6a0f6e0
TT
13792011-12-14 Tom Tromey <tromey@redhat.com>
1380
1381 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
1382
31015e1d
DE
13832011-12-14 Doug Evans <dje@google.com>
1384
1385 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
1386
7b50312a
PA
13872011-12-14 Pedro Alves <pedro@codesourcery.com>
1388
1389 PR threads/10729
1390
1391 * gdb.mi/watch-nonstop.c: New file.
1392 * gdb.mi/mi-watch-nonstop.exp: New file.
1393
924437bc
PA
13942011-12-13 Pedro Alves <pedro@codesourcery.com>
1395 Doug Evans <dje@google.com>
1396
1397 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
1398 (clean_restart): Remove references to the gdb_stub target board
1399 variable.
1400 (gdb_step_for_stub): Delete.
1401
1402 * gdb.base/annota1.exp: Remove all references to [target_info
1403 exists gdb_stub], gdb_step_for_stub and usestubs.
1404 * gdb.base/annota3.exp: Ditto.
1405 * gdb.base/async.exp: Ditto.
1406 * gdb.base/break.exp: Ditto.
1407 * gdb.base/code-expr.exp: Ditto.
1408 * gdb.base/commands.exp: Ditto.
1409 * gdb.base/completion.exp: Ditto.
1410 * gdb.base/condbreak.exp: Ditto.
1411 * gdb.base/consecutive.exp: Ditto.
1412 * gdb.base/cvexpr.exp: Ditto.
1413 * gdb.base/define.exp: Ditto.
1414 * gdb.base/display.exp: Ditto.
1415 * gdb.base/ena-dis-br.exp: Ditto.
1416 * gdb.base/environ.exp: Ditto.
1417 * gdb.base/gnu-ifunc.exp: Ditto.
1418 * gdb.base/maint.exp: Ditto.
1419 * gdb.base/pending.exp: Ditto.
1420 * gdb.base/sect-cmd.exp: Ditto.
1421 * gdb.base/sepdebug.exp: Ditto.
1422 * gdb.base/unload.exp: Ditto.
1423 * gdb.base/watchpoint-solib.exp: Ditto.
1424 * gdb.cp/annota2.exp: Ditto.
1425 * gdb.cp/annota3.exp: Ditto.
1426 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
1427 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
1428 * gdb.mi/mi-pending.exp: Ditto.
1429 * gdb.trace/circ.exp: Ditto.
1430 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
1431 * gdb.base/list.exp: Ditto.
1432
1433 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
1434 breakpoint function and all references to the usestubs macro.
1435 * gdb.base/exprs.c: Ditto.
1436 * gdb.base/freebpcmd.c: Ditto.
1437 * gdb.base/bitfields.c: Ditto.
1438 * gdb.base/bitfields2.c: Ditto.
1439 * gdb.base/break.c: Ditto.
1440 * gdb.base/call-sc.c: Ditto.
1441 * gdb.base/call-signals.c: Ditto.
1442 * gdb.base/callfuncs.c: Ditto.
1443 * gdb.base/charset.c: Ditto.
1444 * gdb.base/consecutive.c: Ditto.
1445 * gdb.base/constvars.c: Ditto.
1446 * gdb.base/funcargs.c: Ditto.
1447 * gdb.base/int-type.c: Ditto.
1448 * gdb.base/interrupt.c: Ditto.
1449 * gdb.base/langs0.c: Ditto.
1450 * gdb.base/list0.c: Ditto.
1451 * gdb.base/mips_pro.c: Ditto.
1452 * gdb.base/miscexprs.c: Ditto.
1453 * gdb.base/nodebug.c: Ditto.
1454 * gdb.base/opaque0.c: Ditto.
1455 * gdb.base/pointers.c: Ditto.
1456 * gdb.base/printcmds.c: Ditto.
1457 * gdb.base/ptype.c: Ditto.
1458 * gdb.base/recurse.c: Ditto.
1459 * gdb.base/reread1.c: Ditto.
1460 * gdb.base/reread2.c: Ditto.
1461 * gdb.base/restore.c: Ditto.
1462 * gdb.base/return.c: Ditto.
1463 * gdb.base/run.c: Ditto.
1464 * gdb.base/scope0.c: Ditto.
1465 * gdb.base/sepdebug.c: Ditto.
1466 * gdb.base/setshow.c: Ditto.
1467 * gdb.base/setvar.c: Ditto.
1468 * gdb.base/sigall.c: Ditto.
1469 * gdb.base/signals.c: Ditto.
1470 * gdb.base/structs.c: Ditto.
1471 * gdb.base/structs2.c: Ditto.
1472 * gdb.base/testenv.c: Ditto.
1473 * gdb.base/twice.c: Ditto.
1474 * gdb.base/unwindonsignal.c: Ditto.
1475 * gdb.base/watchpoint.c: Ditto.
1476 * gdb.base/watchpoints.c: Ditto.
1477 * gdb.base/whatis.c: Ditto.
1478 * gdb.cp/classes.cc: Ditto.
1479 * gdb.cp/cplusfuncs.cc: Ditto.
1480 * gdb.cp/derivation.cc: Ditto.
1481 * gdb.cp/formatted-ref.cc: Ditto.
1482 * gdb.cp/misc.cc: Ditto.
1483 * gdb.cp/overload.cc: Ditto.
1484 * gdb.cp/ovldbreak.cc: Ditto.
1485 * gdb.cp/ref-params.cc: Ditto.
1486 * gdb.cp/ref-types.cc: Ditto.
1487 * gdb.cp/templates.cc: Ditto.
1488 * gdb.cp/virtfunc.cc: Ditto.
1489 * gdb.hp/gdb.aCC/run.c: Ditto.
1490 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
1491 * gdb.hp/gdb.compat/xdb0.c: Ditto.
1492 * gdb.reverse/consecutive-reverse.c: Ditto.
1493 * gdb.reverse/sigall-reverse.c: Ditto.
1494 * gdb.reverse/until-reverse.c: Ditto.
1495 * gdb.reverse/watch-reverse.c: Ditto.
1496 * gdb.trace/actions.c: Ditto.
1497 * gdb.trace/circ.c: Ditto.
1498 * gdb.trace/collection.c: Ditto.
1499
fabde485
PA
15002011-12-13 Pedro Alves <pedro@codesourcery.com>
1501
1502 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
1503 (func6, func7): New.
1504 (main): Call func6 and func7.
1505 * gdb.base/watchpoint.exp (test_wide_location_1)
1506 (test_wide_location_2): New.
1507 (top level): Re-enable hardware watchpoints if necessary. Call
1508 test_wide_location_1 and test_wide_location_2.
1509
ff7d1690
YQ
15102011-12-11 Yao Qi <yao@codesourcery.com>
1511
1512 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
1513
a6af7abe
JB
15142011-12-11 Joel Brobecker <brobecker@adacore.com>
1515
1516 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
1517 expected output for unsupported case.
1518
61638e15
JK
15192011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1520
1521 PR testsuite/12649
1522 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
1523 Protect gdb_test_multiple by final $gdb_prompt match.
1524
0a00efc3
JK
15252011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1526
1527 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
1528 New variable, new test.
1529 (list static-method.cc:xxx::(anonymous namespace)::A::func)
1530 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
1531 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
1532 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
1533 them if HAVE_GCC_45682_FIXED is not set.
1534
4511b1ba
YQ
15352011-12-10 Yao Qi <yao@codesourcery.com>
1536
1537 * gdb.trace/status-stop.exp: New.
1538 * gdb.trace/status-stop.c: New.
1539
27949e73
JK
15402011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1541
1542 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
1543 timeout.
1544
d8ea7931
TT
15452011-12-08 Tom Tromey <tromey@redhat.com>
1546
1547 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
1548 condition.
1549
1cc310d2
SS
15502011-12-07 Stan Shebs <stan@codesourcery.com>
1551
1552 * gdb.trace/tfind.exp: Update for output changes.
1553
d482a875
PA
15542011-12-07 Pedro Alves <pedro@codesourcery.com>
1555
1556 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
1557 throws "Cannot insert catchpoints in this configuration".
1558 * gdb.ada/mi_catch_ex.exp: Likewise.
1559
f0ba3972
PA
15602011-12-06 Pedro Alves <pedro@codesourcery.com>
1561
1562 * gdb.base/break-always.exp: Test changing memory at addresses
1563 with breakpoints inserted.
1564
f8eba3c6
TT
15652011-12-06 Joel Brobecker <brobecker@acacore.com>
1566
1567 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
1568 involving a fully qualified function name.
1569
15702011-12-06 Tom Tromey <tromey@redhat.com>
1571
1572 * gdb.ada/homonym.exp: Add three breakpoint tests.
1573
15742011-12-06 Tom Tromey <tromey@redhat.com>
1575
1576 * gdb.base/solib-weak.exp (do_test): Remove kfail.
1577 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
1578 * gdb.objc/objcdecode.exp: Update for output changes.
1579 * gdb.linespec/linespec.exp: New file.
1580 * gdb.linespec/lspec.cc: New file.
1581 * gdb.linespec/lspec.h: New file.
1582 * gdb.linespec/body.h: New file.
1583 * gdb.linespec/base/two/thefile.cc: New file.
1584 * gdb.linespec/base/one/thefile.cc: New file.
1585 * gdb.linespec/Makefile.in: New file.
1586 * gdb.cp/templates.exp (test_template_breakpoints): Update for
1587 output changes.
1588 * gdb.cp/re-set-overloaded.exp: Remove kfail.
1589 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
1590 makes one breakpoint.
1591 * gdb.cp/method2.exp (test_break): Update for output changes.
1592 * gdb.cp/mb-templates.exp: Update for output changes.
1593 * gdb.cp/mb-inline.exp: Update for output changes.
1594 * gdb.cp/mb-ctor.exp: Update for output changes.
1595 * gdb.cp/ovsrch.exp: Use fully-qualified names.
1596 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
1597 has multiple matches.
1598 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
1599 error message change.
1600 * gdb.base/list.exp (test_list_filename_and_number): Update for
1601 error message change.
1602 * gdb.base/break.exp: Disable pending breakpoints. Update for
1603 output changes.
1604 * configure.ac: Add gdb.linespec.
1605 * configure: Rebuild.
1606 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
1607
c642a434
UW
16082011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
1609
1610 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
1611 last_break register on s390*-*-* targets.
1612
b18003d1
JB
16132011-12-06 Joel Brobecker <brobecker@adacore.com>
1614
1615 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
1616 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
1617 of parameter X in procedure Foo.
1618
fe96589c
SS
16192011-12-05 Stan Shebs <stan@codesourcery.com>
1620
1621 * gdb.trace/tfind.exp: Update help string matches.
1622
1820ab47
JK
16232011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1624
1625 * gdb.server/ext-run.exp (get process list): Accept also systemd
1626 as PID 1.
1627
e11ac3a3
JK
16282011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1629 Pedro Alves <pedro@codesourcery.com>
1630
1631 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
1632 starting GDB.
1633 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
1634 $use_gdb_stub.
1635 * gdb.base/display.exp: Likewise.
1636 * gdb.base/ending-run.exp: Likewise.
1637 * gdb.base/list.exp (test_listsize): Likewise.
1638 * gdb.base/setshow.exp: Likewise.
1639 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
1640 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
1641 check by global $use_gdb_stub.
1642 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
1643 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
1644 (default_gdb_init): Unset global $use_gdb_stub.
1645 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
1646 by global $use_gdb_stub.
1647 * lib/gdbserver-support.exp: Extend comments for set_board_info
1648 gdb_protocol and gdb,socketport.
1649 (gdbserver_start_extended): Set global gdbserver_protocol and
1650 gdbserver_gdbport. Clear global use_gdb_stub.
1651 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
1652 from target use_gdb_stub.
1653 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
1654
1d41d75c
DE
16552011-12-03 Doug Evans <dje@google.com>
1656
1657 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
1658 (gdb_step_for_stub): Add comments.
1659
d6d7a51a
MR
16602011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
1661
1662 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
1663 to the caller.
1664 (gdb_test_multiple): Likewise.
1665
05acf274
JK
16662011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1667
1668 Fix gdb.mi/mi-solib.exp without system debug info installed.
1669 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
1670 expect attribute, return 0 for it. Update comments.
1671
2268b414
JK
16722011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1673
1674 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
1675 (corrupted list): Adjust the expectation.
1676
585861ea
JK
16772011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1678
1679 PR threads/13448
1680 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
1681 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
1682 * gdb.threads/tls-var-main.c: New file.
1683 * gdb.threads/tls-var.c: New file.
1684 * gdb.threads/tls-var.exp: New file.
1685
968643aa
JK
16862011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1687
1688 PR testsuite/12649
1689 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
1690 Protect gdb_test_multiple by final $gdb_prompt match.
1691 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
1692 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1693 (test_tracepoints): Likewise.
1694
9750bca9
JK
16952011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1696
1697 PR breakpoints/13346
1698 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
1699 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
1700 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
1701
ac1349b7
JB
17022011-12-01 Joel Brobecker <brobecker@adacore.com>
1703
1704 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
1705 * gdb.ada/homonym/homonym.adb: For use of all types defined
1706 locally inside both Get_Value subprograms.
1707
26d44faf
JK
17082011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1709
1710 Fix racy FAILs.
1711 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
1712 of send_gdb.
1713
514f6425
UW
17142011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1715
1716 * gdb.base/testenv.exp: Skip on remote targets. Unset global
1717 environment variable after test completed.
1718
4255c8d2
UW
17192011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1720
1721 * gdb.base/solib-nodir.exp: Skip if remote target.
1722 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
1723 application. Call gdb_load_shlibs.
1724 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
1725
a35ad96a
JB
17262011-11-29 Joel Brobecker <brobecker@adacore.com>
1727
1728 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
1729
1a1d5513
JB
17302011-11-28 Joel Brobecker <brobecker@adacore.com>
1731
1732 * gdb.ada/fullname_bp: New testcase.
1733
50b4ddf8
JK
17342011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1735
1736 PR testsuite/12649
1737 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
1738 Wrap send_gdb into a new gdb_test.
1739
fb0aec57
JK
1740 Code cleanup.
1741 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
1742 Convert send_gdb and gdb_expect to gdb_test_multiple.
1743
2376d946
JK
17442011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1745
1746 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
1747
1eec78bd
KS
17482011-11-23 Keith Seitz <keiths@redhat.com>
1749
1750 * lib/mi-support.exp (varobj_tree): New namespace and procs.
1751 (mi_varobj_tree_test_children_callback): New proc.
1752 (mi_walk_varobj_tree): New proc.
1753
36dfb11c
TT
17542011-11-22 Tom Tromey <tromey@redhat.com>
1755
1756 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
1757 Add "use_mi_command" argument.
1758 (mi_run_cmd, mi_run_with_cli): New procs.
1759 * gdb.mi/solib-lib.c: New file.
1760 * gdb.mi/solib-main.c: New file.
1761 * gdb.mi/mi-solib.exp: New file.
1762
0e965dd0
DE
17632011-11-21 Doug Evans <dje@google.com>
1764
1765 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
1766 _Unwind_DebugHook is missing.
1767
f196051f
SS
17682011-11-20 Stan Shebs <stan@codesourcery.com>
1769
1770 * gdb.trace/tstatus.exp: New.
1771 * gdb.trace/actions.c: Include string.h.
1772
bfccc43c
YQ
17732011-11-18 Yao Qi <yao@codesourcery.com>
1774
1775 * gdb.trace/pending.exp: New.
1776 * gdb.trace/pending.c: New.
1777 * gdb.trace/pendshr1.c: New.
1778 * gdb.trace/pendshr2.c: New.
1779 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
1780 tracepoint location becomes pending.
1781 (tracepoint_change_loc_2): New.
1782
73cd8ab1
DM
17832011-11-16 David S. Miller <davem@davemloft.net>
1784
1785 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
1786 target is sparc*-*-linux*
1787
77426730
PK
17882011-11-15 Paul Koning <paul_koning@dell.com>
1789
1790 * gdb.python/py-type.exp: New testcases for exceptions on scalar
1791 types.
1792
ed59ded5
DE
17932011-11-14 Doug Evans <dje@google.com>
1794
1795 * gdb.base/shell.exp: New file.
1796
405f8e94
SS
17972011-11-14 Stan Shebs <stan@codesourcery.com>
1798
1799 * gdb.trace/ftrace.c: New.
1800 * gdb.trace/ftrace.exp: New.
1801
1e4d1764
YQ
18022011-11-14 Yao Qi <yao@codesourcery.com>
1803
1804 * gdb.trace/change-loc-1.c: New.
1805 * gdb.trace/change-loc-2.c: New.
1806 * gdb.trace/change-loc.c: New.
1807 * gdb.trace/change-loc.exp: New.
1808 * gdb.trace/change-loc.h: New.
1809 * gdb.trace/trace-break.c (marker): Define new symbol.
1810 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
1811 New.
1812 (break_trace_same_addr_6): New.
1813
71eba9c2 18142011-11-12 Matt Rice <ratmice@gmail.com>
1815
1816 * gdb.base/info-macros.exp: Make tests for info definitions
1817 test info macro. Add tests for info macro argument processing.
1818 Rename a few tests.
1819
1d93e29a
KS
18202011-11-11 Keith Seitz <keiths@redhat.com>
1821
1822 PR gdb/12843
1823 * gdb.base/linespecs.exp: New file.
1824
a4b5b48a
DE
18252011-11-11 Doug Evans <dje@google.com>
1826
1827 * gdb.threads/print-threads.exp: Extend timeout for slower
1828 tests.
1829
f6b47be4
DE
18302011-11-10 Doug Evans <dje@google.com>
1831
792a0230
DE
1832 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
1833 "record to end of main" test.
1834
f6b47be4
DE
1835 * gdb.python/py-type.c (TS): New typedef.
1836 (ts): New global.
1837 * gdb.python/py-type.exp: Test field list of typedef.
1838
22355c90
JB
18392011-11-10 Joel Brobecker <brobecker@adacore.com>
1840
1841 * gdb.ada/small_reg_param: New testcase.
1842
a7860e76
TT
18432011-11-09 Tom Tromey <tromey@redhat.com>
1844
1845 * gdb.cp/destrprint.exp: New file.
1846 * gdb.cp/destrprint.cc: New file.
1847
72a2e3dc
MI
18482011-11-08 Meador Inge <meadori@codesourcery.com>
1849
1850 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
1851 (switch_stack_to_other): New test function.
1852 * gdb.arch/thumb-prologue.exp: New test cases.
1853
c7195df2 18542011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
1855
1856 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
1857
d3895d7d
YQ
18582011-11-08 Yao Qi <yao@codesourcery.com>
1859
1860 * gdb.exp (supports_process_record): New.
1861 (supports_reverse): New.
1862 * gdb.reverse/break-precsave.exp: Call support_process_record
1863 to run test conditionally.
1864 * gdb.reverse/consecutive-precsave.exp: Likewise.
1865 * gdb.reverse/i386-precsave.exp: Likewise.
1866 * gdb.reverse/machinestate-precsave.exp: Likewise.
1867 * gdb.reverse/solib-precsave.exp: Likewise.
1868 * gdb.reverse/step-precsave.exp: Likewise.
1869 * gdb.reverse/until-precsave.exp: Likewise.
1870 * gdb.reverse/watch-precsave.exp: Likewise.
1871 * gdb.reverse/break-reverse.exp: Call support_reverse to run
1872 test conditionally.
1873 * gdb.reverse/consecutive-reverse.exp: Likewise.
1874 * gdb.reverse/finish-precsave.exp: Likewise.
1875 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1876 * gdb.reverse/finish-reverse.exp: Likewise.
1877 * gdb.reverse/i386-reverse.exp: Likewise.
1878 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1879 * gdb.reverse/machinestate.exp: Likewise.
1880 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
1881 * gdb.reverse/sigall-precsave.exp: Likewise.
1882 * gdb.reverse/sigall-reverse.exp: Likewise.
1883 * gdb.reverse/solib-reverse.exp: Likewise.
1884 * gdb.reverse/step-reverse.exp: Likewise.
1885 * gdb.reverse/until-reverse.exp: Likewise.
1886 * gdb.reverse/watch-reverse.exp: Likewise.
1887
a59306a3
YQ
18882011-11-05 Yao Qi <yao@codesourcery.com>
1889
1890 * gdb.trace/trace-break.exp: Add test on setting two
1891 fast tracepoints at the same address.
1892
87769f59
JK
18932011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1894
1895 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
1896
3065dfb6
SS
18972011-11-02 Stan Shebs <stan@codesourcery.com>
1898
1899 * gdb.trace/collection.c: Add code using strings.
1900 * gdb.trace/collection.exp: Add tests of string collection.
1901
89e208db
JK
19022011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1903
1904 * gdb.base/skip-solib.exp (executable_main): New variable.
1905 (binfile_main): Base it on that.
1906 Use $executable_main in clean_restart calls. Drop gdb_exit and
1907 gdb_start calls.
1908
405e54e9
JK
19092011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1910
1911 Fix racy FAILs.
1912 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
1913 breakpoint_re globals import by async. Set string_regex to .* for
1914 async. Remove the optional thread_selected_re and breakpoint_re
1915 globals expectations.
1916
58e8570a
JM
19172011-11-01 Joseph Myers <joseph@codesourcery.com>
1918
1919 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
1920 well as Cygwin.
1921
7b35ec7f 19222011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
1923
1924 Add tests for skip command.
89e208db
JK
1925 * gdb.base/skip-solib-lib.c: New
1926 * gdb.base/skip-solib-main.c: New
1927 * gdb.base/skip-solib.exp: New
1928 * gdb.base/skip.c: New
1929 * gdb.base/skip.exp: New
1930 * gdb.base/skip1.c: New
1931 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 1932
b9fd1791
PA
19332011-10-31 Yao Qi <yao@codesourcery.com>
1934 Pedro Alves <pedro@codesourcery.com>
1935
1936 * gdb.trace/trace-break.c: New.
1937 * gdb.trace/trace-break.exp: New.
1938
4323fecc
JK
19392011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1940
1941 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
1942 break-here-2.
1943
0e5bf2a8
PA
19442011-10-28 Pedro Alves <pedro@codesourcery.com>
1945
1946 * gdb.threads/no-unwaited-for-left.c: New.
1947 * gdb.threads/no-unwaited-for-left.exp: New.
1948 * gdb.threads/non-ldr-exc-1.c: New.
1949 * gdb.threads/non-ldr-exc-1.exp: New.
1950 * gdb.threads/non-ldr-exc-2.c: New.
1951 * gdb.threads/non-ldr-exc-2.exp: New.
1952 * gdb.threads/non-ldr-exc-3.c: New.
1953 * gdb.threads/non-ldr-exc-3.exp: New.
1954 * gdb.threads/non-ldr-exc-4.c: New.
1955 * gdb.threads/non-ldr-exc-4.exp: New.
1956
3a3dad98
JK
19572011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1958
1959 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
1960 * gdb.base/attach-pie-misread.exp: Likewise.
1961 * gdb.base/break-interp.exp: Likewise.
1962 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
1963 testcases for use_gdb_stub.
1964 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
1965 (continue): New testcase.
1966 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
1967 * gdb.threads/attach-into-signal.exp: Likewise.
1968 * gdb.threads/attach-stopped.exp: Likewise.
1969 * gdb.threads/attachstop-mt.exp: Likewise.
1970
d6a5d40c
PK
19712011-10-28 Paul Koning <paul_koning@dell.com>
1972
1973 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
1974
ca539be8
JK
19752011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1976
1977 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
1978 (mi_gdb_test): Import globals thread_selected_re
1979 and breakpoint_re. Expect them optionally at the regex start.
1980
d234ef5c
DE
19812011-10-27 Doug Evans <dje@google.com>
1982
1983 * gdb.python/python.exp: Test source -s.
1984
ab964825
PK
19852011-10-26 Paul Koning <paul_koning@dell.com>
1986
1987 * gdb.python/lib-types.cc (struct A): New structure.
1988 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 1989
54d8a644
PK
19902011-10-25 Paul Koning <paul_koning@dell.com>
1991
1992 PR python/13327
d234ef5c 1993
54d8a644
PK
1994 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
1995 fetch_lazy method.
1996
b0221781
YQ
19972011-10-24 Yao Qi <yao@codesourcery.com>
1998
1999 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
2000 target is tic6x-*-*.
2001
6cda5a20
JB
20022011-10-21 Joel Brobecker <brobecker@adacore.com>
2003
2004 * gdb.ada/mi_task_info/task_switch.adb: New file.
2005 * gdb.ada/mi_task_info.exp: New file.
2006
5ed9db04
JK
20072011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2008
2009 * gdb.cp/expand-psymtabs-cxx.exp: New file.
2010 * gdb.cp/expand-psymtabs-cxx.cc: New file.
2011
9df2fbc4
PM
20122011-10-20 Phil Muldoon <pmuldoon@redhat.com>
2013
2014 PR python/12656
2015
2016 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
2017 global_block tests.
2018
736086ba
TT
20192011-10-18 Tom Tromey <tromey@redhat.com>
2020
2021 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
2022
4af31552
TT
20232011-10-18 Tom Tromey <tromey@redhat.com>
2024
2025 * gdb.base/source.exp: Don't include full file name in test name.
2026 * gdb.python/python.exp: Don't include full file name in test
2027 name.
2028
43136979
AR
20292011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2030
2031 * gdb.base/attach-pie-noexec.c: New files.
2032 * gdb.base/attach-pie-noexec.exp: New files.
2033
543a9323
JM
20342011-10-17 Joseph Myers <joseph@codesourcery.com>
2035
2036 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
2037 prompt for each extra line in command.
2038
21ae7a4d
JK
20392011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2040
2041 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
2042 Revert the part of:
2043 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2044 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
2045 Change the expected string.
2046
20ec36d9
JK
20472011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2048
2049 Fix results with system glibc debug info installed.
2050 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
2051 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
2052 Accept also __libc_ symbol prefix and no prefix.
2053
6501c2fc
KS
20542011-10-14 Keith Seitz <keiths@redhat.com>
2055
2056 PR c++/13225
2057 * gdb.cp/converts.cc (foo3_1): New function.
2058 (foo3_2): New functions.
2059 * gdb.cp/converts.exp: Add tests for int to pointer conversion
2060 and null pointer conversions of integer constant zero.
2061 Add test to check if all arguments are checked for incompatible
2062 conversion BADNESS.
2063
55b1fd0c
TT
20642011-10-14 Tom Tromey <tromey@redhat.com>
2065
2066 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
2067 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
2068 linespec.
2069
22c05d8a
JK
20702011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2071
2072 Fix internal error regression.
2073 * gdb.dwarf2/implptr-optimized-out.S: New file.
2074 * gdb.dwarf2/implptr-optimized-out.exp: New file.
2075
1d6edc3c
JK
20762011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2077
2078 Fix empty DWARF expressions DATA vs. SIZE conditionals.
2079 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
2080 (loclist): New.
2081 (4): New abbrev.
2082 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
2083 Use prepare_for_testing, remove clean_restart.
2084 (p arraynoloc, p arraycallnoloc): New tests.
2085
9ec72168
JK
20862011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2087
2088 * gdb.cp/namespace-enum.exp (executable): New variable.
2089 (binfile): Use ${objdir}/${subdir}/ prefix.
2090 Use ${executable} for clean_restart.
2091
9c6c53f7
SA
20922011-10-11 Sterling Augustine <saugustine@google.com>
2093
2094 * gdb.cp/Makefile.in: Add namespace-enum test.
2095 * gdb.cp/namespace-enum.exp: New file.
2096 * gdb.cp/namespace-enum.c: New file.
2097 * gdb.cp/namespace-enum-main.c: New file.
2098
fac7ceb3
UW
20992011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
2100
2101 * gdb.python/py-shared.exp: Relax filename check to handle remote:
2102 sysroot.
2103
941b2081
JK
21042011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2105
2106 Reimplement @entry in input expressions.
2107 * gdb.base/exprs.c (v_int_array_init): New variable.
2108 * gdb.base/exprs.exp (print v_int_array_init)
2109 (print *v_int_array_init@1, print *v_int_array_init@2)
2110 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
2111 (print v_int_array_init[1]@1): New tests.
2112
0344e878
JM
21132011-10-10 Joseph Myers <joseph@codesourcery.com>
2114
2115 * gdb.cp/gdb2495.exp: Do not include directories in filename in
2116 expected message.
2117
5a56e9c5
DE
21182011-10-09 Doug Evans <dje@google.com>
2119
2120 * gdb.base/alias.exp: Add tests for alias command.
2121
2bda9cc5
JK
21222011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2123
2124 * gdb.arch/amd64-entry-value.s: New file.
2125 * gdb.mi/mi2-amd64-entry-value.s: New file.
2126
a471c594
JK
21272011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2128
2129 Display @entry parameter values even for references.
2130 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
2131 functions.
2132 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
2133 reference and datap_input.
2134 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
2135 breakpoints.
2136 (continue to breakpoint: entry_reference: reference)
2137 (entry_reference: bt at entry)
2138 (continue to breakpoint: entry_reference: breakhere_reference)
2139 (entry_reference: bt, entry_reference: ptype regparam)
2140 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
2141 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
2142 (entry_reference: p regcopy, entry_reference: p nodataparam)
2143 (entry_reference: p nodataparam@entry): New tests.
2144
36b11add
JK
21452011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2146
2147 Support @entry in input expressions.
2148 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
2149 (entry_stack: p s1@entry, entry_stack: p s2@entry)
2150 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
2151 (tailcall: p j@entry): New tests.
2152 * gdb.cp/koenig.cc (A::entry): New function.
2153 (main): Call it.
2154 * gdb.cp/koenig.exp (p entry (c)): New test.
2155
e18b2753
JK
21562011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2157
2158 Display @entry parameter values (without references).
2159 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
2160 (different, validity, invalid): New functions.
2161 (main): Call them.
2162 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
2163 stacktest, breakhere_stacktest, different, breakhere_different,
2164 breakhere_validity and breakhere_invalid.
2165 (entry: bt): Update for @entry.
2166 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
2167 (entry_validity: *, entry_invalid: *): Many new tests.
2168 * gdb.base/break.exp
2169 (run until breakpoint set at small function, optimized file): Accept
2170 also the @entry suffix.
2171 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
2172 * gdb.mi/mi2-amd64-entry-value.c: New files.
2173 * gdb.mi/mi2-amd64-entry-value.exp: New files.
2174
2d6c5dc2
JK
21752011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2176
2177 Protect entry values against self tail calls.
2178 * gdb.arch/amd64-entry-value.cc (self2, self): New.
2179 (main): Call self.
2180 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
2181 (set debug entry-values 1, self: bt debug entry-values): New tests.
2182
111c6489
JK
21832011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2184
2185 Recognize virtual tail call frames.
2186 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
2187 (amb_b, amb_a): New.
2188 (main): Call a and b.
2189 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
2190 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
2191 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
2192 New tests.
2193
8e3b41a9
JK
21942011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2195
2196 Implement basic support for DW_TAG_GNU_call_site.
2197 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
2198 * gdb.arch/amd64-entry-value.cc: New file.
2199 * gdb.arch/amd64-entry-value.exp: New file.
2200
181cebd4
JK
22012011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2202
2203 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
2204 * gdb.dwarf2/implptr-64bit.S: New file.
2205 * gdb.dwarf2/implptr-64bit.exp: New file.
2206
741f5e3c
JK
22072011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2208
2209 Fix initial language detection with -readnow.
2210 * gdb.cp/readnow-language.cc: New file.
2211 * gdb.cp/readnow-language.exp: New file.
2212
a73d2258
JK
22132011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2214
2215 Fix printed anonymous struct name.
2216 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
2217
af369495
JM
22182011-10-09 Joseph Myers <joseph@codesourcery.com>
2219
2220 * gdb.base/solib-symbol.exp: Do not include directories in
2221 filenames in expected messages.
2222
1fa57852
DE
22232011-10-07 Doug Evans <dje@google.com>
2224
2225 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
2226
bd054e06
KP
22272011-10-07 Kevin Pouget <kevin.pouget@st.com>
2228
2229 Allow Python notification of new object-file loadings.
2230 * gdb.python/py-events.exp: Test newobjfile event.
2231 * gdb.python/py-events.py: Register newobjfile callback.
2232 * gdb.python/py-events.c: Add call to shared library
2233 * gdb.python/py-events-shlib.c: New file.
2234
8031b6f8
JM
22352011-10-06 Joseph Myers <joseph@codesourcery.com>
2236
2237 * gdb.base/fixsection.exp: Do not include directories in filename
2238 in expected message.
2239
7fea6923
PM
22402011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
2241
2242 Add tests for passing of environment variables to inferior.
2243 * gdb.base/testenv.c: New test source.
2244 * gdb.base/testenv.exp: New expect test.
2245
687f2a88
PK
22462011-10-04 Paul Koning <paul_koning@dell.com>
2247
2248 * gdb.python/py-value.c (main): Break before return.
2249
cb6be26b
KP
22502011-10-04 Kevin Pouget <kevin.pouget@st.com>
2251
2252 PR python/12691: Add the inferior to Python exited event
2253 * gdb.python/py-events.exp: Test the inferior attribute of exited
2254 event with a fork.
2255 * gdb.python/py-events.py: Print inferior number on exit.
2256 * gdb.python/py-events.c: Fork the inferior.
2257
fb213700
EBM
22582011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
2259
2260 * gdb.base/jit.exp: Add testcase name to log message
2261
aa2071bd
PK
22622011-10-03 Paul Koning <paul_koning@dell.com>
2263 Jan Kratochvil <jan.kratochvil@redhat.com>
2264
2265 * gdb.python/py-value.exp
2266 (python inval = gdb.parse_and_eval('*(int*)0'))
2267 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
2268 (set argc=2, python print argc_lazy): New tests.
2269
dd11a36c
JB
22702011-10-02 Joel Brobecker <brobecker@adacore.com>
2271
2272 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
2273
46f886f1
JK
22742011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2275 Pedro Alves <pedro@codesourcery.com>
2276
2277 * gdb.python/py-value.exp (test_value_in_inferior): New variable
2278 can_read_0, test for it.
2279 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
2280 (parse_and_eval with memory error): ... here, make it untested if
2281 can_read_0.
2282
c5cb204f
MP
22832011-09-30 Marek Polacek <mpolacek@redhat.com>
2284
2285 * gdb.python/python.exp (verify pagination beforehand)
2286 (verify pagination afterwards): Fix race by splitting the line.
2287
68fb0ec0
JM
22882011-09-29 Joseph Myers <joseph@codesourcery.com>
2289
2290 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
2291 for 64-bit multilibs from i?86-* targets.
2292
6aee0d90
MP
22932011-09-29 Marek Polacek <mpolacek@redhat.com>
2294
2295 * lib/gdb.exp: Fix a typo in one of the comments.
2296
e9101ff5
MP
22972011-09-29 Marek Polacek <mpolacek@redhat.com>
2298
2299 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
2300 matching pattern.
2301
7a81bdbf
PK
23022011-09-28 Paul Koning <paul_koning@dell.com>
2303
2304 * gdb.python/py-type.c (enum E): New.
2305 * gdb.python/py-type.exp (test_fields): Add tests for Python
2306 mapping access to fields.
2307 (test_enums): New test for field access on enums.
2308
6710bf39
SS
23092011-09-27 Stan Shebs <stan@codesourcery.com>
2310
2311 * gdb.trace/collection.exp: Test collection of $_ret.
2312
b2a6bdeb
AT
23132011-09-22 Andreas Tobler <andreast@fgznet.ch>
2314
2315 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
2316 list of compilation switches for <*-*-freebsd*>.
2317
3c9057f3
SS
23182011-09-19 Stan Shebs <stan@codesourcery.com>
2319
2320 * gdb.trace/tspeed.exp: New file.
2321 * gdb.trace/tspeed.c: New file.
2322
34518530
YQ
23232011-09-18 Yao Qi <yao@codesourcery.com>
2324
2325 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
2326 instructions.
2327 (test_adr_32bit, test_pop_pc): Likewise.
2328 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
2329 Thumb instructions.
2330 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
2331 in gdb_test_multiple.
2332 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
2333
ab254057
YQ
23342011-09-17 Yao Qi <yao@codesourcery.com>
2335
2336 * lib/gdb.exp (can_single_step_to_signal_handler): New.
2337 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
2338 support single step to signal handler.
2339
9c317b71
YQ
23402011-09-17 Yao Qi <yao@codesourcery.com>
2341
2342 * gdb.base/disp-step-fork.c: New.
2343 * gdb.base/disp-step-syscall.exp: New.
2344 * gdb.base/disp-step-vfork.c: New.
2345
a8123151
JB
23462011-09-16 Joel Brobecker <brobecker@adacore.com>
2347
2348 * gdb.ada/tasks.exp: Make the expected output for
2349 the `info tasks' tests more resilient to spacing
2350 changes.
2351
63a9aad8
JK
23522011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2353
2354 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
2355 (reached breakpoint 2, reached breakpoint 3): Update expected output.
2356
2aa48337
KP
23572011-09-15 Kevin Pouget <kevin.pouget@st.com>
2358
2359 PR Python/12692 Add gdb.selected_inferior() to Python interface.
2360 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
2361
6839b47f
KP
23622011-04-30 Kevin Pouget <kevin.pouget@st.com>
2363
2364 Handle multiple breakpoint hits in Python interface:
2365 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
2366 presence.
2367 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
2368 breakpoint hits.
2369
0935723e
JK
23702011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
2371 Jan Kratochvil <jan.kratochvil@redhat.com>
2372
2373 * gdb.python/py-events.exp: Remove pretty printing comment.
2374 * gdb.python/py-evsignal.exp: New file.
2375 * gdb.python/py-evthreads.c: Include signal.h.
2376 (thread3): Remove variable count3. Remove variable bad and use raise
2377 instead.
2378 (thread2): Remove variable count2. Move thread3 pthread_create here,
2379 merge pthread_join to a single line.
2380 (main): Remove variable count1. Merge pthread_join with pthread_create
2381 to a single line.
2382 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
2383 KFAIL python/12966 for gdbserver. Test return value of
2384 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
2385 gdb_expect by gdb_test and gdb_test_multiple.
2386 (thread 2, thread 3): New tests.
2387
4801a9a3
PA
23882011-09-12 Matt Rice <ratmice@gmail.com>
2389 Pedro Alves <pedro@codesourcery.com>
2390
2391 PR gdb/13175
2392
2393 * gdb.base/interp.exp: New tests.
2394 * gdb.base/interp.c: New file.
2395
24ece742
DE
23962011-09-12 Doug Evans <dje@google.com>
2397
2398 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
2399 * gdb.dwarf2/typeddwarf.exp: Ditto.
2400
7f062217
JK
24012011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2402
2403 Fix compatibility with x32 arch.
2404 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
2405 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
2406 is_x86_like_target.
2407 * testsuite/gdb.trace/collection.exp: Likewise.
2408 * testsuite/gdb.trace/report.exp: Likewise.
2409 * testsuite/gdb.trace/unavailable.exp: Likewise.
2410 * testsuite/gdb.trace/while-dyn.exp: Likewise.
2411 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
2412 (is_x86_like_target): Check also is_amd64_regs_target.
2413
08711b9a
JK
24142011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2415
2416 PR breakpoints/12435
2417 * gdb.arch/amd64-prologue-xmm.c: New file.
2418 * gdb.arch/amd64-prologue-xmm.exp: New file.
2419 * gdb.arch/amd64-prologue-xmm.s: New file.
2420
b99b5f66
JK
24212011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2422
2423 * gdb.dwarf2/dw2-param-error-main.c: New file.
2424 * gdb.dwarf2/dw2-param-error.S: New file.
2425 * gdb.dwarf2/dw2-param-error.exp: New file.
2426
a391a2f6
PA
24272011-09-08 Pedro Alves <pedro@codesourcery.com>
2428
2429 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
2430 inferior's pid and look for a core dump named core.$pid. Use
2431 `remote_file' commands on the host instead of hand coding shell
2432 commands on the build.
2433 * gdb.base/valgrind-db-attach.exp: Kill the program before
2434 finishing the test.
2435
7d8e6458 24362011-09-02 Matt Rice <ratmice@gmail.com>
2437
2438 * lib/prompt.exp: New file for testing the first prompt.
2439 * gdb.python/py-prompt.exp: Ditto.
2440 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
2441
68e77c9e
PA
24422011-09-02 Pedro Alves <pedro@codesourcery.com>
2443
2444 * gdb.threads/gcore-thread.exp: Set the global core_supported to
2445 0, before testing gcore.
2446
9655e943
JK
24472011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2448
df6dc84d
JK
2449 * dw2-ifort-parameter-debug.S: Update copyright year.
2450 * dw2-ifort-parameter.c: Update copyright year.
2451 * dw2-ifort-parameter.exp: Update copyright year.
2452
9655e943
JK
2453 * dw2-ifort-parameter-debug.S: New file.
2454 * dw2-ifort-parameter.c: New file.
2455 * dw2-ifort-parameter.exp: New file.
2456
353d1d73
JK
24572011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2458
2459 * gdb.base/commands.exp (error_clears_commands_left): New function.
2460 (): Call it.
2461
5c07461a
JK
24622011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2463
2464 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
2465 (C): Initialize `a'.
2466 * gdb.mi/mi-inheritance-syntax-error.exp
2467 (-data-evaluate-expression $path): Expect `a' as 5.
2468
0d932b2f
MK
24692011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
2470
2471 PR mi/11912
2472 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
2473 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
2474 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
2475 keyword in output of -var-info-path-expression.
2476
bdb54049
JK
24772011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2478
2479 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
2480 * gdb.trace/collection.exp: Likewise.
2481 * gdb.trace/report.exp: Likewise.
2482 * gdb.trace/unavailable.exp: Likewise.
2483 * gdb.trace/while-dyn.exp: Likewise.
2484
59cde39c
KS
24852011-08-18 Keith Seitz <keiths@redhat.com>
2486
2487 PR c++/12266
2488 * gdb.cp/meth-typedefs.cc: New file.
2489 * gdb.cp/meth-typedefs.exp: New file.
2490
fa3a4f15
PM
24912011-08-17 Phil Muldoon <pmuldoon@redhat.com>
2492
2493 * gdb.python/python.exp: Add extended-prompt tests.
2494
c1049fca
JK
24952011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2496
2497 * gdb.arch/i386-dr3-watch.exp
2498 (watchpoint on gap1 does not fit debug registers)
2499 (delete all watchpoints): Fix racy expect strings.
2500
d93f7b5c
YQ
25012011-08-14 Yao Qi <yao@codesourcery.com>
2502
2503 * gdb.base/maint.exp: set data_section to ".neardata".
2504 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
2505 * gdb.base/savedregs.exp: Handle SIGILL.
2506 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
2507 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
2508
457e09f0
DE
25092011-08-12 Doug Evans <dje@google.com>
2510
2511 * gdb.python/py-symbol.exp: Add test for symbol.type.
2512
5d0bb2fb
UW
25132011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
2514
2515 * gdb.threads/pthreads.exp: Enable on non-native configurations.
2516 * gdb.mi/mi-pthreads.exp: Likewise.
2517 * gdb.mi/mi2-pthreads.exp: Likewise.
2518 * gdb.mi/gdb669.exp.exp: Likewise.
2519
fcdfa280
PA
25202011-08-09 Pedro Alves <pedro@codesourcery.com>
2521
2522 * lib/mi-support.exp (detect_async): Rename to...
2523 (mi_detect_async): ... this.
2524 * gdb.mi/mi-nonstop-exit.exp: Adjust.
2525 * gdb.mi/mi-nonstop.exp: Adjust.
2526 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
2527 * gdb.mi/mi-nsintrall.exp: Adjust.
2528 * gdb.mi/mi-nsmoribund.exp: Adjust.
2529 * gdb.mi/mi-nsthrexec.exp: Adjust.
2530
9d8fa392
PA
25312011-08-09 Pedro Alves <pedro@codesourcery.com>
2532
2533 * gdb.base/display.c (do_loops): New `p_i' local.
2534 * gdb.base/display.exp: Test displaying a variable that is
2535 temporarily at a bad address.
2536
b6cede78
JK
25372011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2538
2539 * gdb.dwarf2/dw2-op-stack-value.S: New file.
2540 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
2541
67bedb8c
JK
25422011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2543
2544 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
2545 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
2546 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 2547
af6e93b2
PA
25482011-08-05 Pedro Alves <pedro@codesourcery.com>
2549
2550 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
2551 procedure.
2552 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
2553
1cf0e11f
YQ
25542011-08-05 Yao Qi <yao@codesourcery.com>
2555
2556 * gdb.base/callfuncs.exp: Set language after main.
2557 * gdb.cp/cplusfuncs.exp: Likewise.
2558 * gdb.cp/inherit.exp: Likewise.
2559
a1e28cb2
UW
25602011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2561
2562 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
2563 * gdb.base/watch-vfork.exp: Skip on remote targets.
2564
d4f5bbb9
UW
25652011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2566
2567 * gdb.threads/thread-find.exp: Support remote targets.
2568
724f4f80
UW
25692011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2570
2571 * gdb.base/jit.exp: Download solib_binfile to target.
2572 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
2573 and call dlopen without full path name.
2574 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
2575 dlopen without full path name.
2576
934709f0
PW
25772011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2578
2579 * gdb.base/break-always.exp: Complete the test
2580 with duplicated breakpoints and enabling/disabling them.
2581
c26106c4
TT
25822011-08-02 Tom Tromey <tromey@redhat.com>
2583
2584 PR gdb/11289:
2585 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
2586
9300444e 25872011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
2588
2589 PR gdb/13045
2590 * gdb.base/float.exp: Add new test case for PR gdb/13045
2591 * gdb.base/float.c: New file.
2592
00bd41d6
PM
25932011-07-28 Phil Muldoon <pmuldoon@redhat.com>
2594
2595 * gdb.python/py-mi.exp: Test printers returning string hint, and
2596 also not returning a value.
2597 * gdb.python/py-prettyprint.c: Add testcase for above.
2598 * gdb.python/py-prettyprint.py: Add test printer for above.
2599
d24f74ce
JK
26002011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2601
2602 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
2603 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
2604 (.Ldie30) Add as field "data4".
2605 (.Ldie32) Rename field "b" to "shl".
2606 (abbrev4) Change for the "data4" field.
2607 (abbrev5, abbrev6) Remove.
2608 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
2609 (p &s.shl): ... here. Add comment.
2610 (p &s.data4): New.
2611
bb7da2bf
JK
26122011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2613
2614 Fix crash on lval_computed values.
2615 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
2616
11081198
JK
26172011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2618
2619 * gdb.base/help.exp (help whatis): Update the expected string.
2620
3c6e0cb3
JK
26212011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2622
2623 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
2624 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
2625 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
2626 Change the expected string.
2627
efa80663
PA
26282011-07-26 Pedro Alves <pedro@codesourcery.com>
2629
2630 * gdb.base/watchpoint.exp
2631 (test_disable_enable_software_watchpoint): New procedure.
2632 (top level): Run it.
2633
db8e4570
UW
26342011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
2635
2636 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
2637 executable file "${binfile}", C++ version "${binfile}-cxx".
2638 * gdb.python/py-prettyprint.exp: Likewise.
2639 * gdb.python/py-symbol.exp: Likewise.
2640 * gdb.python/py-type.exp: Likewise.
2641 * gdb.python/py-value.exp: Likewise.
2642 * gdb.python/py-template.exp (test_template_arg): Pass full executable
2643 file name instead of just suffix.
2644
543305c9
JK
26452011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2646
2647 Fix implicit pointer offsets.
2648 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
2649 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
2650 (continue to breakpoint: continue to baz breakpoint for implptr)
2651 (sanity check element 0, sanity check element 1)
2652 (enter the inlined function, check element 0 for the offset)
2653 (check element 1 for the offset)
2654 (continue to breakpoint: ignore the second baz breakpoint): New tests.
2655 (set foo breakpoint for implptr): Update the breakpoint number.
2656
b3215adc
UW
26572011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2658
2659 * gdb.python/py-mi.exp: Use different file names for different
2660 versions of the executable under test.
2661 * gdb.python/py-prettyprint.exp: Likewise.
2662 * gdb.python/py-symbol.exp: Likewise.
2663 * gdb.python/py-template.exp: Likewise.
2664 * gdb.python/py-type.exp: Likewise.
2665 * gdb.python/py-value.exp: Likewise.
2666
182b9acc
UW
26672011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2668
2669 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
2670 flag after restarting GDB if necessary.
2671
e6052b5d
UW
26722011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2673
2674 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
2675
1ced966e
PA
26762011-07-22 Pedro Alves <pedro@codesourcery.com>
2677
2678 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
2679 backend doesn't leave used debug registers behind.
2680
3543a589
TT
26812011-07-22 Tom Tromey <tromey@redhat.com>
2682
2683 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
2684 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
2685 argument.
2686 * gdb.dwarf2/typeddwarf-amd64.S: New file.
2687
14d15303 26882011-07-21 Matt Rice <ratmice@gmail.com>
2689
2690 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
2691 in mostlyclean rule. Add files ending in .core.
2692
9b158ba0 26932011-07-21 Matt Rice <ratmice@gmail.com>
2694
2695 PR macros/12999
2696 * gdb.base/info-macros.c: New test sources.
2697 * gdb.base/info-macros.exp: New tests.
2698
d17b6f81
PM
26992011-07-21 Phil Muldoon <pmuldoon@redhat.com>
2700
2701 * gdb.python/python.exp: Add prompt substitution tests.
2702
918dd910
JK
27032011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2704
2705 Fix crash if referenced CU is aged out.
2706 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
2707 New.
2708 * gdb.dwarf2/implptr.exp: Likewise.
2709
0e37a63c
JK
27102011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2711
2712 * gdb.dwarf2/implptr.S: Rebuilt.
2713 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
2714 (bar): Use them for j, k, l.
2715 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
2716 COMPILE.
2717 (print j in implptr:bar): Update for the intp typedef.
2718 (print p[0].x in implptr:foo): Use more exact regex.
2719
f65cf84c
TT
27202011-07-18 Tom Tromey <tromey@redhat.com>
2721
2722 * gdb.cp/static-method.exp: Add missing single quote.
2723
d5b4a7be
YQ
27242011-07-18 Yao Qi <yao@codesourcery.com>
2725
2726 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
2727 supported.
2728 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2729 * gdb.mi/mi-nonstop.exp: Likewise.
2730 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2731 * gdb.mi/mi-nsintrall.exp: Likewise.
2732 * gdb.mi/mi-nsmoribund.exp: Likewise.
2733 * gdb.mi/mi-nsthrexec.exp: Likewise.
2734 * gdb.python/py-evthreads.exp: Likewise.
2735
e9ea2662
JK
27362011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2737
2738 Code cleanup.
2739 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
2740 it. Substitute it instead of test_compiler_info everywhere.
2741
ce451573
UW
27422011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2743
2744 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
2745 remote targets as well.
2746
756d88a7
UW
27472011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2748
2749 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
2750 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
2751
31f83dc5
UW
27522011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2753
2754 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
2755 a remote machine, not the host.
2756 (gdb_compile_shlib): Set soname if target is remote.
2757
059241a0
PP
27582011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2759
2760 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
2761
28a0b48c 27622011-07-13 Matt Rice <ratmice@gmail.com>
2763
2764 * gdb.python/py-objfile-script-gdb.py: Renamed to
2765 py-objfile-script-gdb.py.in.
2766 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
2767 py-objfile-script-gdb.py.
2768 * gdb.python/py-objfile-script.exp: Update reference to
2769 py-objfile-script-gdb.py.
2770
9a771b67
JK
27712011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2772
2773 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
2774 reference undefined label.
2775
04ad99e6
JK
27762011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2777
2778 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
2779 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
2780 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
2781 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
2782
713389e0
PM
27832011-07-11 Phil Muldoon <pmuldoon@redhat.com>
2784
2785 PR python/12438
2786 * gdb.python/python.exp: Add maint set/show python print-stack
2787 deprecated tests. Add set/show python print-backtrace tests.
2788
97d146f8
JK
27892011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2790
2791 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
2792 debug info.
2793
facde0e5 27942011-07-06 Matt Rice <ratmice@gmail.com>
2795
2796 * gdb.python/python.exp: Update filename paths.
2797 * gdb.python/py-symtab.exp: Ditto.
2798
438640d1
MP
27992011-07-06 Marek Polacek <mpolacek@redhat.com>
2800
2801 * gdb.python/py-evthreads.exp: Add missing `$'.
2802
33a365df
MF
28032011-07-06 Jie Zhang <jie.zhang@analog.com>
2804
2805 * config/bfin.exp: New file.
2806 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
2807 * gdb.asm/bfin.inc: New file.
2808
8f7ae686
MP
28092011-07-06 Marek Polacek <mpolacek@redhat.com>
2810
df46027d 2811 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
2812 the whole output.
2813
eb2a6f42
TT
28142011-07-05 Tom Tromey <tromey@redhat.com>
2815
2816 * gdb.java/jprint.java (jprint.hi): New field.
2817 * gdb.java/jprint.exp: Print string.
2818
177b42fe
TJB
28192011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
2820
2821 * gdb.base/call-sc.c: Fix typos.
2822 * gdb.base/ifelse.exp: Likewise.
2823 * gdb.base/structs.c: Likewise.
2824
3b2a0cf2
JB
28252011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2826
2827 * gdb.base/jit-so.exp: New test.
2828 * gdb.base/jit-dlmain.c: New file.
2829 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
2830
46fc714c
JK
28312011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2832
2833 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
2834 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
2835 * gdb.cp/pr9167.exp (p b): Likewise.
2836 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
2837 (test value of P in inner_m, test type of Z in inner_m): Call
2838 setup_xfail for gcc <= 4.5.
46fc714c 2839
418c7cf7
JK
28402011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2841
2842 * gdb.cp/paren-type.cc: New files.
2843 * gdb.cp/paren-type.exp: New files.
2844
3d50dd94
JK
28452011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2846
2847 Stop on first linespec terminator instead of eating what we can.
2848 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
2849 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
2850 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
2851 (break C::f()): ... this one.
2852 (break C::operator()()): New test.
2853 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
2854 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
2855 test.
2856
dcf9f4ab
JK
28572011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2858
2859 Fall back linespec to minimal symbols.
2860 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
2861 error message.
2862 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
2863 * gdb.cp/minsym-fallback-main.cc: New file.
2864 * gdb.cp/minsym-fallback.cc: New file.
2865 * gdb.cp/minsym-fallback.exp: New file.
2866 * gdb.cp/minsym-fallback.h: New file.
2867
3f542ed1
JK
28682011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2869
2870 * gdb.cp/no-dmgl-verbose.cc: New file.
2871 * gdb.cp/no-dmgl-verbose.exp: New file.
2872
28732011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
2874
2875 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
2876 __GI_.
2877 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
2878 (f): New function.
2879 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
2880 (complete p 'func<short>(): ... here.
2881 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
2882 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
2883 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
2884 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
2885 Make them KFAIL gcc/49546.
2886
00eb2c4a
JB
28872011-07-01 Joel Brobecker <brobecker@adacore.com>
2888
2889 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
2890
85a20c42
JK
28912011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2892
2893 Test GCC PR debug/49546.
2894 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
2895 (test type of F in k3_m, test value of F in k3_m): New.
2896 * gdb.cp/temargs.cc (struct S3, struct K3): New.
2897 (main): New variable k3. Call k3.k3_m.
2898
d2d43431
JB
28992011-07-01 Jean-Charles Delay <delay@adacore.com>
2900
2901 * gdb.ada/packed_array.exp: Fix expected outout.
2902
54ae186f
JB
29032011-07-01 Jean-Charles Delay <delay@adacore.com>
2904
2905 * gdb.ada/packed_array.exp: fixed expected output.
2906
8f17729f
JB
29072011-07-01 Joel Brobecker <brobecker@adacore.com>
2908
2909 * gdb.ada/same_enum: New testcase.
2910
f5aa6869
JB
29112011-07-01 Joel Brobecker <brobecker@adacore.com>
2912
2913 * gdb.ada/ptr_typedef: New testcase.
2914
828292f2
JB
29152011-07-01 Joel Brobecker <brobecker@adacore.com>
2916
2917 * gdb.ada/arrayptr.exp: Add ptype test.
2918
18920c42
JB
29192011-07-01 Joel Brobecker <brobecker@adacore.com>
2920
2921 * gdb.ada/char_enum: New testcase.
2922
3536d9e3 29232011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
2924
2925 * gdb.base/dump.exp (capture_pointer_with_type): New.
2926 Get value from address instead of name.
2927 Start GDB once, and do `dump' and `restore'
2928 tests together.
2929
db863c42
MF
29302011-06-30 Jie Zhang <jie.zhang@analog.com>
2931 Mike Frysinger <vapier@gentoo.org>
2932
2933 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
2934 helper functions for getting/setting remotetimeout variable.
2935 * lib/gdb.exp (gdb_load): If the target is remote, set
2936 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
2937 with $loadtimeout. Set $load_ok to 0 before doing the load.
2938 Instead of returning, immediately, set $load_ok to 0. Call
2939 set_remotetimeout with $oldremotetimeout, and then return if
2940 $load_ok is 1.
2941
e9e642a8
AB
29422011-06-30 Andrew Burgess <aburgess@broadcom.com>
2943
2944 * gdb.python/py-template.exp: Don't run this test if the target
2945 does not support c++ tests.
2946
32019081
JK
29472011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2948
2949 Fix non-only rename list for Fortran modules import.
2950 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
2951 tests.
2952 * gdb.fortran/module.f90 (module moduse): New.
2953 (program module): use moduse, test var_x, var_y and var_z.
2954
0ecee54c
TT
29552011-06-29 Tom Tromey <tromey@redhat.com>
2956
2957 PR testsuite/12040:
2958 * gdb.fortran/array-element.exp: Use f90, not f77.
2959 * gdb.fortran/complex.exp: Use f90, not f77.
2960 * gdb.fortran/derived-type.exp: Use f90, not f77.
2961 * gdb.fortran/library-module.exp: Use f90, not f77.
2962 * gdb.fortran/logical.exp: Use f90, not f77.
2963 * gdb.fortran/module.exp: Use f90, not f77.
2964 * gdb.fortran/multi-dim.exp: Use f90, not f77.
2965 * gdb.fortran/subarray.exp: Use f90, not f77.
2966
3b2b8fea
TT
29672011-06-29 Tom Tromey <tromey@redhat.com>
2968
2969 * gdb.fortran/charset.exp: New file.
2970 * gdb.fortran/charset.f90: New file.
2971
42159ca5
TT
29722011-06-29 Tom Tromey <tromey@redhat.com>
2973
2974 PR testsuite/12040:
2975 * lib/future.exp: New file, mostly extracted from ada.exp.
2976 Rewrote compatibility code to use rename.
2977 (gdb_find_gfortran): New proc.
2978 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
2979 gfortran patch.
2980 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
2981 Move to future.exp.
2982 * lib/gdb.exp: Always load future.exp.
2983
af69a5ce
YQ
29842011-06-28 Yao Qi <yao@codesourcery.com>
2985
2986 * gdb.cp/exception.cc: Don't include iostream.
2987 (bar): Remove print statement.
2988 (catcher): New.
2989 (main): Remove print statements. Call function catcher.
2990 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
2991 Set breakpoint on catcher, and check the value of parameter.
2992
ab5c6a72
YQ
29932011-06-23 Yao Qi <yao@codesourcery.com>
2994
2995 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
2996 1.2 is disabled. KFAIL for uclinux.
2997
9497469f
MP
29982011-06-23 Marek Polacek <mpolacek@redhat.com>
2999
3000 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
3001 mi_gdb_test.
3002
b9132588
MP
30032011-06-23 Marek Polacek <mpolacek@redhat.com>
3004
5d197ed0 3005 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 3006
e55595ca
MP
30072011-06-23 Marek Polacek <mpolacek@redhat.com>
3008
5d197ed0
MP
3009 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
3010
30112011-06-23 Marek Polacek <mpolacek@redhat.com>
3012
3013 * gdb.mi/mi2-basics.exp: Fix races. Honour the
3014 `test_exec_and_symbol_mi_operatons' return value.
3015 (test_mi_interpreter_selection): Use mi_gdb_test instead of
3016 gdb_test_multiple.
3017 (test_exec_and_symbol_mi_operatons): Likewise.
3018 (test_path_specification): Likewise.
e55595ca 3019
be777e08
YQ
30202011-06-23 Yao Qi <yao@codesourcery.com>
3021
3022 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
3023 supported.
3024 * lib/gdb.exp (support_displaced_stepping): New.
3025
615556d6
YQ
30262011-06-23 Yao Qi <yao@codesourcery.com>
3027
3028 * gdb.threads/execl.exp: Skip on remote target.
3029
833b0ca7
MP
30302011-06-21 Marek Polacek <mpolacek@redhat.com>
3031
5d197ed0 3032 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
3033 mi_gdb_test.
3034
1ee4023a
MP
30352011-06-20 Marek Polacek <mpolacek@redhat.com>
3036
5d197ed0 3037 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 3038
d0b1d624
MP
30392011-06-20 Marek Polacek <mpolacek@redhat.com>
3040
5d197ed0 3041 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
3042 mi_gdb_test.
3043
79aa92c1
MP
30442011-06-20 Marek Polacek <mpolacek@redhat.com>
3045
5d197ed0 3046 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 3047
5ce5db06
YQ
30482011-06-14 Yao Qi <yao@codesourcery.com>
3049
3050 gdb/testsuite/
3051 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
3052
533a737e
JK
30532011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3054
3055 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
3056
d0e53741
TT
30572011-06-10 Tom Tromey <tromey@redhat.com>
3058
3059 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
3060 Add tests for pointer-to-member-function.
3061 * gdb.cp/temargs.cc (S::somefunc): New function.
3062 (K2): New class.
3063 (main): Instantiate K2; call method.
3064
b5916bbd
JB
30652011-06-08 Joel Brobecker <brobecker@adacore.com>
3066
3067 * gdb.python/py-inferior.c (f2): Make str an array rather
3068 than a pointer.
3069 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
3070
5be4dfca
JK
30712011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3072
3073 * gdb.base/async-shell.c: New file.
3074 * gdb.base/async-shell.exp: New file.
3075
9f47e254
PA
30762011-06-06 Pedro Alves <pedro@codesourcery.com>
3077
3078 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
3079
64b9b334
JB
30802011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
3081
3082 From Stephen Kitt <steve@sk2.org>
3083 * gdb.base/help.exp: Adjust following some spelling corrections
3084 in GDB.
3085
dbc0f131
YQ
30862011-06-01 Yao Qi <yao@codesourcery.com>
3087
3088 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
3089
fd336a18
KS
30902010-05-31 Keith Seitz <keiths@redhat.com>
3091
3092 PR c++/12750
3093 * gdb.cp/static-method.cc: New file.
3094 * gdb.cp/static-method.exp: New file.
3095
fa8b9902
KS
30962010-05-31 Keith Seitz <keiths@redhat.com>
3097
3098 PR symtab/12704
3099 * gdb.cp/anon-ns.cc: New file.
3100 * gdb.cp/anon-ns.exp: New file.
3101
0a5b1e09
PA
31022011-05-31 Pedro Alves <pedro@codesourcery.com>
3103
3104 * gdb.arch/i386-dr3-watch.c: New file.
3105 * gdb.arch/i386-dr3-watch.exp: New file.
3106
0578b8d1
YQ
31072011-05-30 Yao Qi <yao@codesourcery.com>
3108
3109 * gdb.base/callfuncs.c (t_structs_fc): New.
3110 (t_structs_dc, t_structs_ldc): New.
3111 (t_double_many_args):
3112 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
3113 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
3114 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
3115 * gdb.base/callfuncs.exp: Call new functions.
3116
6680506e
YQ
31172011-05-30 Yao Qi <yao@codesourcery.com>
3118
ff4d2c60
YQ
3119 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
3120 Call rerun_and_prepare for each test to isolate effects.
3121
31222011-05-30 Yao Qi <yao@codesourcery.com>
3123
3124 * gdb.base/varargs.c (find_max_float_real): New.
3125 (find_max_double_real, find_max_long_double_real): New.
3126 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
3127 * lib/gdb.exp (setup_kfail_for_target): New.
3128
e43ec454
YQ
31292011-05-30 Yao Qi <yao@codesourcery.com>
3130
3131 * gdb.base/funcargs.c (callca, callcb, callcc): New.
3132 (callcd, callce, callcf, callc1a, callc1b): New.
3133 (callc2a, callc2b): New.
3134 * gdb.base/funcargs.exp (complex_args): New.
3135 (complex_integral_args, complex_float_integral_args): New.
3136 * lib/gdb.exp (support_complex_tests): New. Determine
3137 whether to run test cases on _Complex types.
3138
432b4d03
JK
31392011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3140
3141 * gdb.threads/leader-exit.c: New file.
3142 * gdb.threads/leader-exit.exp: New file.
3143
6caf069d
MP
31442011-05-27 Marek Polacek <mpolacek@redhat.com>
3145
9497469f 3146 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 3147
97fce28b
MP
31482011-05-27 Marek Polacek <mpolacek@redhat.com>
3149
3150 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
3151 remove the `supported' variable.
3152 * gdb.mi/mi-nonstop.exp: Likewise.
3153 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3154 * gdb.mi/mi-nsintrall.exp: Likewise.
3155 * gdb.mi/mi-nsmoribund.exp: Likewise.
3156 * gdb.mi/mi-nsthrexec.exp: Likewise.
3157
9da8c2a0
PA
31582011-05-26 Pedro Alves <pedro@codesourcery.com>
3159
3160 * gdb.reverse/finish-reverse-bkpt.exp: New test.
3161
2c03e5be
PA
31622011-05-26 Pedro Alves <pedro@codesourcery.com>
3163
3164 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
3165
2e21250d
KS
31662011-05-24 Keith Seitz <keiths@redhat.com>
3167
3168 PR breakpoint/12803
3169 * gdb.cp/cmpd-minsyms.cc (a): New method.
3170 (b): New method.
3171 (c): New method.
3172 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
3173
cdac0397
PA
31742011-05-24 Pedro Alves <pedro@codesourcery.com>
3175
3176 * gdb.base/commands.exp (watchpoint_command_test): Check that the
3177 watchpoint's command list didn't execute when the watchpoint went
3178 out of scope.
3179
ee5683ab
PM
31802011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
3181
3182 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
3183 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
3184 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
3185 * gdb.arch/i386-gnu-cfi.exp: Likewise.
3186 * gdb.arch/i386-permbkpt.exp: Likewise.
3187 * gdb.arch/i386-prologue.exp: Likewise.
3188 * gdb.arch/i386-size-overlap.exp: Likewise.
3189 * gdb.arch/i386-size.exp: Likewise.
3190 * gdb.arch/i386-unwind.exp: Likewise.
3191 * gdb.reverse/i386-precsave.exp: Likewise.
3192 * gdb.reverse/i386-reverse.exp: Likewise.
3193 * gdb.reverse/i386-sse-reverse.exp: Likewise.
3194 * gdb.reverse/i387-env-reverse.exp: Likewise.
3195 * gdb.reverse/i387-stack-reverse.exp: Likewise.
3196
c91c8c16
PA
31972011-05-24 Pedro Alves <pedro@codesourcery.com>
3198
3199 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
3200 file doesn't error, using MI.
3201
c50491a7
TT
32022011-05-23 Tom Tromey <tromey@redhat.com>
3203
3204 * gdb.base/charset.exp (string_display): Add tests to assign to
3205 arrays.
3206 * gdb.base/charset.c (short_array, int_array, long_array): New.
3207
4a07b7da
PA
32082011-05-20 Pedro Alves <pedro@codesourcery.com>
3209
3210 Cope with async mode.
3211
4a07b7da
PA
3212 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
3213 into gdb_test + mi_expect_stop.
3214
b275f2d2
PA
32152011-05-20 Pedro Alves <pedro@codesourcery.com>
3216
3217 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
3218 (callme): Remove printf call.
3219
eec52c44
PM
32202011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
3221
3222 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
3223 quote pattern to avoid problems with Cygwin/mingw expect versions.
3224 * gdb.base/default.exp (show convenience): Use double
3225 quote pattern for regular expressions.
3226
b3c8eb43
JK
32272011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3228
3229 Fix -readnow for -gdwarf-4 unused type units.
3230 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
3231 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
3232
ed731959
JK
32332011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3234
3235 * gdb.base/kill-after-signal.c: New file.
3236 * gdb.base/kill-after-signal.exp: New file.
3237
3b48433d
PA
32382011-05-16 Pedro Alves <pedro@codesourcery.com>
3239
3240 * gdb.ada/start.exp: Call untested with the correct test filename.
3241 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
3242 test filename. Make the test's binary unique.
3243 * gdb.arch/i386-signal.exp: Call untested with the correct test
3244 filename.
3245 * gdb.arch/i386-size-overlap.exp: Ditto.
3246 * gdb.arch/Makefile.in (EXECUTABLES): Update.
3247 * gdb.base/gcore-buffer-overflow.exp: Ditto.
3248 * gdb.cp/call-c.exp: Ditto.
3249 * gdb.mi/mi-reverse.exp: Call untested with the correct test
3250 filename. Make the test's binary unique.
3251 * gdb.mi/Makefile.in (EXECUTABLES): Update.
3252 * gdb.python/py-mi.exp: Ditto.
3253 * gdb.python/Makefile.in (EXECUTABLES): Update.
3254 * gdb.reverse/i386-precsave.exp: Ditto.
3255 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
3256 test filename.
3257 * gdb.reverse/i387-stack-reverse.exp: Ditto.
3258 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
3259 unique.
3260 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
3261 test filename.
3262 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
3263 * gdb.trace/tfile.exp: Ditto.
3264
ba4a8bdd
YQ
32652011-05-14 Yao Qi <yao@codesourcery.com>
3266
3267 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
3268 type.
3269
dbaefcf7
DE
32702011-05-13 Doug Evans <dje@google.com>
3271
3272 * gdb.python/py-objfile-script.exp: New file.
3273 * gdb.python/py-objfile-script.c: New file.
3274 * gdb.python/py-objfile-script-gdb.py: New file.
3275 * testsuite/gdb.python/py-section-script.exp: Test
3276 "info auto-load-scripts".
3277
9930639c
TT
32782011-05-13 Tom Tromey <tromey@redhat.com>
3279
3280 * gdb.dwarf2/clztest.exp: New file.
3281 * gdb.dwarf2/clztest.c: New file.
3282 * gdb.dwarf2/clztest.S: New file.
3283
05272e11
DE
32842011-05-13 Doug Evans <dje@google.com>
3285
cc63ef9b
DE
3286 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
3287 String16 tests.
05272e11 3288
6edba76f
TT
32892011-05-13 Tom Tromey <tromey@redhat.com>
3290
3291 * lib/gdb.exp (is_x86_like_target): New proc.
3292 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
3293 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
3294 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
3295 -nostdlib to compiler.
3296 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
3297 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
3298 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
3299 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
3300 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
3301
028d0ed5
TJB
33022011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
3303
3304 * gdb.python/py-function.exp: Test setting a value from a function
3305 which executes a command.
3306
8a9b8146
TT
33072011-05-12 Tom Tromey <tromey@redhat.com>
3308
3309 * gdb.dwarf2/typeddwarf.S: New file.
3310 * gdb.dwarf2/typeddwarf.c: New file.
3311 * gdb.dwarf2/typeddwarf.exp: New file.
3312
10483e8e
MP
33132011-05-12 Marek Polacek <mpolacek@redhat.com>
3314
3315 * gdb.mi/mi-basics.exp: Fix races. Honour the
3316 `test_exec_and_symbol_mi_operatons' return value.
3317 (test_mi_interpreter_selection): Use mi_gdb_test instead of
3318 gdb_test_multiple.
3319 (test_exec_and_symbol_mi_operatons): Likewise.
3320 (test_path_specification): Likewise.
3321
faf067f1
JK
33222011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3323
3324 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
3325 (gdb_touch_execfile): Remove catch wrappers. New variable time.
3326 Replace `file copy' and `file rename' by `file mtime'. Twice.
3327
7ff911a3
JK
33282011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3329
3330 * gdb.base/readline-ask.c: New file.
3331 * gdb.base/readline-ask.exp: New file.
3332 * gdb.base/readline-ask.inputrc: New file.
3333
a536c6d7
UW
33342011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
3335
3336 * gdb.cell/bt.exp: Delete breakpoints before running to signal
3337 to avoid race condition.
3338 * gdb.cell/coremaker.c: Use small stack size.
3339 * gdb.cell/ea-standalone.exp: Use file name without path as
3340 argument to c_to.
3341 * gdb.cell/fork.exp: Allow other output when continuing to end.
3342
d472a426
JK
33432011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3344
3345 * gdb.threads/corethreads.c: New file.
3346 * gdb.threads/corethreads.exp: New file.
3347
33482011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
3349
3350 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
3351 Try to compile the test using -Wl,-z,norelro first.
3352 (load_core): New variable libthread_db_seen, initialize it.
3353 (zeroed-threads cannot be listed): Protect it by XFAIL on
3354 !$libthread_db_seen.
3355
8be455d7
JK
33562011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3357
3358 PR 12573
3359 * gdb.dwarf2/dw2-skip-prologue.S: New file.
3360 * gdb.dwarf2/dw2-skip-prologue.c: New file.
3361 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
3362
1976171a
JK
33632011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3364
3365 * gdb.cp/psymtab-parameter.cc: New file.
3366 * gdb.cp/psymtab-parameter.exp: New file.
3367
7db6f30f
JK
33682011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3369
3370 Fix a race.
3371 * gdb.cp/static-print-quit.exp (print c): Split to ...
3372 (print c - <return>, print c - q <return>, print c - to quit):
3373 ... these. Make the testfile untested on gdb-7.1.
3374
85161e9e 33752011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
3376
3377 * lib/gdb.exp (exec_target_file, exec_symbol_file,
3378 gdb_rename_execfile, gdb_touch_execfile): New.
3379 * gdb.base/reread.exp: Use new procs to handle multiple
3380 exec files.
3381
0c51be18
YQ
33822011-05-05 Yao Qi <yao@codesourcery.com>
3383
3384 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
3385 (test_adr_32bit, test_pop_pc): New.
3386 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
3387 (test_adr_32bit, test_pop_pc): New.
3388
4d393d60
JM
33892011-05-04 Joseph Myers <joseph@codesourcery.com>
3390
3391 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
3392 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
3393 targets.
3394 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
3395 handle targets.
3396
8ffd0459
JK
33972011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3398
3399 * gdb.base/completion.exp (complete help info wat): Rename to ...
3400 (complete 'help info wat'): ... here.
3401 Remove all `-re ".*' and `-re "^.*' redundant regexes.
3402 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
3403
8e28d804
PA
34042011-05-04 Pedro Alves <pedro@codesourcery.com>
3405
3406 * gdb.base/completion.exp: Use gdb_test_multiple instead of
3407 gdb_test and explicit $gdb_prompt/timeout matches.
3408
3eb2ef34
YQ
34092011-05-04 Yao Qi <yao@codesourcery.com>
3410
3411 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
3412 and __thumb2__.
3413
aaaf81a3
MP
34142011-05-03 Marek Polacek <mpolacek@redhat.com>
3415
3416 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
3417 in place of `gdb_test "delete breakpoints"'. This eliminates two
3418 testcases.
3419
c4cbc0df
PA
34202011-05-02 Pedro Alves <pedro@codesourcery.com>
3421
3422 PR testsuite/12649
3423 Fix races.
3424
3425 * gdb.base/completion.exp: Remove all sleep calls. Remove
3426 unnecessary regexs. Don't explicitly expect anything after the
3427 prompt. Eat the prompt if necessary.
3428
b4cbb4a3
EBM
34292011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
3430
3431 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
3432 accept to show the caller line again as well as the line after.
3433
d65aec65
PM
34342011-04-29 Phil Muldoon <pmuldoon@redhat.com>
3435
3436 PR mi/12531
3437
3438 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
3439 compile target.
3440 * gdb.python/py-prettyprint.exp: Add C++ object for
3441 CPLUS_FAKE_CHILD test.
3442
30852783
UW
34432011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
3444
3445 * gdb.base/signest.exp: New file.
3446 * gdb.base/signest.c: Likewise.
3447
c7b1f0d9
JK
34482011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3449
3450 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
3451 thread and breakpoint notifications.
3452
559a7a62
JK
34532011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3454
3455 * gdb.base/fortran-sym-case.c: New file.
3456 * gdb.base/fortran-sym-case.exp: New file.
3457 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
3458 * gdb.dwarf2/dw2-case-insensitive.c: New file.
3459 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
3460
8344e389
JK
34612011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3462
3463 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
3464 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
3465 false #1', `if true else false #2' and `if true else false #3'.
3466
2484c66b
UW
34672011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
3468
3469 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
3470 while delivering signal.
3471
8d3788bd
VP
34722011-04-27 Vladimir Prus <vladimir@codesourcery.com>
3473
3474 MI breakpoint notifications.
3475
3476 * testsuite/gdb.mi/mi-cli.exp: Adust.
3477 * testsuite/gdb.mi/mi2-cli.exp: Adust.
3478 * testsuite/gdb.mi/mi-watch.exp: Adust.
3479 * testsuite/gdb.mi/mi2-watch.exp: Adust.
3480 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
3481 notifications.
3482
3e03848b
JK
34832011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3484
3485 * gdb.base/gdbindex-stabs-dwarf.c: New file.
3486 * gdb.base/gdbindex-stabs.c: New file.
3487 * gdb.base/gdbindex-stabs.exp: New file.
3488
918c9108
YQ
34892011-04-25 Yao Qi <yao@codesourcery.com>
3490
3491 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
3492 with /*...*/.
3493 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
3494
90556b8c
JK
34952011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3496
3497 * gdb.python/py-value.exp (test_objfiles): Name the first test
3498 `py-value in file.filename'.
3499
03f2bd59
JK
35002011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3501
3502 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
3503 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
3504 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
3505 !gdbserver_reconnect_p..
3506 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
3507
7b08b9eb
JK
35082011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3509
3510 * gdb.cp/cpcompletion.exp (complete class methods)
3511 (complete class methods beginning with F): Move them above runto. New
3512 comment about the runto delimiter.
3513
b78974c3
PA
35142011-04-20 Pedro Alves <pedro@codesourcery.com>
3515
3516 * gdb.base/maint.exp: Test that "maint print registers" works
3517 without a running program.
3518
20429c40 35192011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 3520
20429c40
MP
3521 * gdb.base/setshow.exp: Fix racy tests.
3522 ($old_gdb_prompt): New variable.
3523
7a9dd1b2
TT
35242011-04-19 Tom Tromey <tromey@redhat.com>
3525
3526 * gdb.mi/mi-nsmoribund.exp:
3527 * gdb.hp/gdb.objdbg/objdbg01.exp:
3528 * gdb.base/structs.exp (test_struct_returns):
3529 * gdb.base/call-sc.exp (test_scalar_returns):
3530 * gdb.base/bigcore.exp: Remove duplicate words.
3531
02835898
JK
35322011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3533
3534 * gdb.base/break-interp-lib.c (v, vptr): New variables.
3535 * gdb.base/break-interp.exp (test_attach): New comment.
3536
254f582e
JK
35372011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3538
3539 * gdb.threads/gcore-thread.exp ($core0file): New variable.
3540 (clear __stack_user.next, clear stack_used.next)
3541 (save a zeroed-threads corefile): New test.
3542 Call core_load for $core0file.
3543 (zeroed-threads cannot be listed): New test.
3544
4fe85f5c
JK
35452011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3546
3547 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
3548 filename.
3549 ($srcfile): Preserve the original value.
3550 ($testfile): Match it the .exp filename.
3551 ($corefile): New variable. Substitute it around.
3552 Use clean_restart.
3553 ($prev_timeout): Remove.
3554 (load_core): Move core loading into this proc.
3555 Fix restore of $timeout if load_core fails.
3556
63524580
JK
35572011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3558
3559 * gdb.base/eu-strip-infcall.c: New file.
3560 * gdb.base/eu-strip-infcall.exp: New file.
3561
90359a16
JK
35622011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3563
3564 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
3565 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
3566
626e7282
JK
35672011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3568
3569 Fix Python access to inlined frames.
3570 * gdb.python/py-frame-inline.c: New file.
3571 * gdb.python/py-frame-inline.exp: New file.
3572
3363d018
EBM
35732011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
3574
3575 * gdb.base/gdb1090.exp: Change breakpoint location to read the
3576 content of 's24' correctly (avoiding "optimized out").
3577 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
3578
28781456
JK
35792011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3580
3581 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
3582
4a4106ca
TJB
35832011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
3584
3585 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
3586 expect a colon in watch -location output.
3587
d26ccb4f
JK
35882011-04-13 Marek Polacek <mpolacek@redhat.com>
3589
df46027d 3590 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
3591 New testcase `expect response to define backtrace'. Also remove
3592 redundant `default' block.
3593
e1ab1f9c
JK
35942011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3595
3596 * gdb.python/py-prettyprint.c (struct hint_error): New.
3597 (main): New variable hint_error.
3598 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
3599 "print hint_error".
3600 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
3601 (register_pretty_printers): Register it.
3602
0c2e6019
TT
36032011-04-04 Tom Tromey <tromey@redhat.com>
3604
3605 * gdb.cp/maint.exp (test_help): Update.
3606 (test_namespace): Likewise.
3607
af57139d
JB
36082011-04-01 Joel Brobecker <brobecker@adacore.com>
3609
3610 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
3611 * gdb.ada/arrayptr.exp: Add new tests.
3612
956a9fb9
JB
36132011-04-01 Joel Brobecker <brobecker@adacore.com>
3614
3615 * gdb.ada/mi_catch_ex: New testcase.
3616
d0c4d642
PA
36172011-04-01 Pedro Alves <pedro@codesourcery.com>
3618
3619 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
3620 base::overload(void) method without specifying "const".
3621
18819fa6
UW
36222011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3623
3624 * gdb.arch/thumb-singlestep.S: New file.
3625 * gdb.arch/thumb-singlestep.exp: Likewise.
3626
a4c8e806
TT
36272011-03-31 Tom Tromey <tromey@redhat.com>
3628
3629 * gdb.python/py-prettyprint.py (exception_flag): New global.
3630 (NoStringContainerPrinter._iterator.next): Check it.
3631 * gdb.python/py-prettyprint.c (main): New variable nstype2.
3632 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
3633
53832f31
TT
36342011-03-29 Tom Tromey <tromey@redhat.com>
3635
3636 * gdb.cp/anon-struct.cc: New file.
3637 * gdb.cp/anon-struct.exp: New file.
3638
e4620230
JK
36392011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3640
3641 Test STT_GNU_IFUNC support.
3642 * gdb.base/gnu-ifunc-lib.c: New file.
3643 * gdb.base/gnu-ifunc.c: New file.
3644 * gdb.base/gnu-ifunc.exp: New file.
3645
d0fb5eae
JK
36462011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3647
3648 Support a ring of related breakpoints.
3649 * gdb.base/watchpoint-delete.c: New file.
3650 * gdb.base/watchpoint-delete.exp: New file.
3651
20106cfb
JK
36522011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3653
3654 * gdb.ada/arrayparam.exp (print first after function call): Use
3655 explicit package name. Add a comment
3656 (print lasta after function call): Rename ...
3657 (print last after function call): ... it and use explicit package
3658 name.
3659 (print length after function call): Use explicit package name.
3660 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
3661 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
3662 (multiple matches for symbol i): Rename ...
3663 (multiple matches for symbol integervar): ... it.
3664 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
3665 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
3666
e7ab5e63
AB
36672011-03-25 Andrew Burgess <aburgess@broadcom.com>
3668
3669 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
3670 environment variable to make grep output more predictable. Move
3671 all the environment setup into gdb_init so it's done once per test
3672 case rather than each time we start gdb.
3673
9ef07c8c
TT
36742011-03-24 Tom Tromey <tromey@redhat.com>
3675
3676 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
3677 test.
3678
dd90784c
JK
36792011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3680
3681 * gdb.dwarf2/dw2-entry-value-main.c: New file.
3682 * gdb.dwarf2/dw2-entry-value.S: New file.
3683 * gdb.dwarf2/dw2-entry-value.exp: New file.
3684
05775840
PM
36852011-03-22 Phil Muldoon <pmuldoon@redhat.com>
3686
3687 PR python/12183
3688
3689 * gdb.python/py-function.exp: Add GdbError tests.
3690
8661b11b
PA
36912011-03-18 Pedro Alves <pedro@codesourcery.com>
3692
3693 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
3694 (reglocal_test_func, statlocal_test_func): New functions.
3695 (globals_test_func): Call new functions.
3696 * gdb.trace/unavailable.exp (gdb_collect_args_test)
3697 (gdb_collect_locals_test): New procedure.
3698 (gdb_trace_collection_test): Call new procedures.
3699
0fdb4f18
PA
37002011-03-18 Pedro Alves <pedro@codesourcery.com>
3701
3702 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
3703 (test_register, test_register_unavailable): New procedures.
3704 (gdb_unavailable_registers_test): New procedure.
3705 (gdb_trace_collection_test): Call it.
3706
99c3dc11
PM
37072011-03-18 Phil Muldoon <pmuldoon@redhat.com>
3708
3709 PR python/12149
3710
3711 * gdb.python/python.exp: Add gdb.write tests.
3712
29703da4
PM
37132010-03-17 Phil Muldoon <pmuldoon@redhat.com>
3714
3715 * gdb.python/Makefile.in: Add py-objfile.
3716 * gdb.python/py-objfile.exp: New file.
3717 * gdb.python/py-objfile.c: New file.
3718 * gdb.python/py-block.exp: Add is_valid tests.
3719 * gdb.python/py-inferior.exp: Ditto.
3720 * gdb.python/py-infthread.exp: Ditto.
3721 * gdb.python/py-symbol.exp: Ditto.
3722 * gdb.python/py-symtab.exp: Ditto.
3723
598997c8
KS
37242011-03-16 Keith Seitz <keiths@redhat.com>
3725
3726 PR c++/12273
3727 * gdb.cp/cmpd-minsyms.exp: New test.
3728 * gdb.cp/cmpd-minsyms.cc: New file.
3729
3730 PR c++/11734
3731 * gdb.cp/ovsrch.exp: New test.
3732 * gdb.cp/ovsrch.h: New file.
3733 * gdb.cp/ovsrch1.cc: New file.
3734 * gdb.cp/ovsrch2.cc: New file.
3735 * gdb.cp/ovsrch3.cc: New file.
3736 * gdb.cp/ovsrch4.cc: New file.
3737
c91513d8
PP
37382011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3739
3740 PR gdb/12528
3741 * gdb.base/Makefile.in: Adjust EXECUTABLES.
3742 * gdb.base/break-on-linker-gcd-function.exp: New test.
3743 * gdb.base/break-on-linker-gcd-function.cc: New file.
3744
7470fc63
AT
37452011-03-15 Andreas Tobler <andreast@fgznet.ch>
3746
3747 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
3748
959e7469
PM
37492011-03-15 Phil Muldoon <pmuldoon@redhat.com>
3750
3751 * lib/gdb.exp (gdb_unload): Add another termination case.
3752
9373cf26
JK
37532011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3754
3755 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
3756 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
3757 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
3758 Provide a stub byte there.
3759 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
3760 DW_AT_entry_pc.
3761 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
3762
24e9cda0
UW
37632011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
3764
3765 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
3766 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
3767 "generic ABI, auto".
3768 (altivec_abi_tests): Accept vectors returned by reference.
3769
7371cf6d
PM
37702010-03-14 Phil Muldoon <pmuldoon@redhat.com>
3771
3772 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
3773
ce77046a
UW
37742011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
3775
3776 * gdb.python/py-section-script.exp: Skip test if no Python support.
3777
176400c3
UW
37782011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
3779
3780 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
3781
ecec24e6
PM
37822011-03-10 Phil Muldoon <pmuldoon@redhat.com>
3783
3784 * gdb.python/py-parameter.exp: Update tests to the new Python
3785 parameter API. Add "no documentation" test. Add deprecated API
3786 backward compatibility test.
3787
5dbdd470
TT
37882011-03-09 Tom Tromey <tromey@redhat.com>
3789
3790 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
3791 gdb_continue_to_end.
3792
b66e66ee
MK
37932011-03-09 Mark Kettenis <kettenis@gnu.org>
3794
3795 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
3796 tabs.
3797
eceb0c5f
TT
37982011-03-09 Tom Tromey <tromey@redhat.com>
3799
3800 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
3801 parentheses.
3802 (gdb_continue_to_end): Add "allow_extra" parameter. Use
3803 $command.
3804 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
3805 argument to gdb_continue_to_end.
3806 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
3807 argument to gdb_continue_to_end.
3808 * gdb.cp/annota3.exp: Fix regex.
3809 * gdb.cp/annota2.exp: Fix regex.
3810 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
3811 gdb_continue_to_end.
3812 * gdb.base/call-signal-resume.exp: Revert earlier patch.
3813 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
3814 gdb_continue_to_end.
3815
63154eca
PA
38162011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3817
3818 * gdb.server/ext-run.exp
3819 (load new file without any gdbserver inferior): New test.
3820
967d1f9b
TT
38212011-03-07 Tom Tromey <tromey@redhat.com>
3822
3823 * Makefile.in (TAGS): Rewrite.
3824
d68dcbb9
JK
38252011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3826
3827 * gdb.trace/report.exp (12.1: trace report #1): New match for the
3828 initial commands echo. New match for `Found trace'. Anchor all the
3829 other matches. Anchor and match for `No trace frame found' the final
3830 match.
3831
6bf58e63
TT
38322011-03-07 Tom Tromey <tromey@redhat.com>
3833
3834 * Makefile.in (TAGS): New target.
3835
fda326dd
TT
38362011-03-07 Tom Tromey <tromey@redhat.com>
3837
3838 * lib/opencl.exp (skip_opencl_tests): Update for exit message
3839 change.
3840 * lib/mi-support.exp (mi_gdb_test): Update for exit message
3841 change.
3842 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
3843 exit message change.
3844 (skip_altivec_tests): Update for exit message change.
3845 (skip_vsx_tests): Likewise.
3846 (gdb_continue_to_end): Likewise. Add 'command' argument.
3847 * lib/cell.exp (skip_cell_tests): Update for exit message change.
3848 * gdb.threads/tls.exp: Update for exit message change.
3849 * gdb.threads/thread-unwindonsignal.exp: Use
3850 gdb_continue_to_end.
3851 * gdb.threads/step.exp (step_it): Update for exit message change.
3852 (continue_all): Likewise.
3853 * gdb.threads/print-threads.exp (test_all_threads): Update for
3854 exit message change.
3855 * gdb.threads/interrupted-hand-call.exp: Use
3856 gdb_continue_to_end.
3857 * gdb.threads/execl.exp: Use gdb_continue_to_end.
3858 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
3859 gdb_continue_to_end.
3860 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
3861 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
3862 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
3863 * gdb.cp/method.exp: Update for exit message change.
3864 * gdb.cp/mb-templates.exp: Update for exit message change.
3865 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
3866 * gdb.cp/annota3.exp: Update for exit message change.
3867 * gdb.cp/annota2.exp: Update for exit message change.
3868 * gdb.cell/fork.exp: Use gdb_continue_to_end.
3869 * gdb.base/term.exp: Update for exit message change.
3870 * gdb.base/step-test.exp (test_i): Update for exit message change.
3871 * gdb.base/sigstep.exp (advance): Update for exit message change.
3872 (advancei): Likewise.
3873 * gdb.base/siginfo.exp: Update for exit message change.
3874 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
3875 * gdb.base/reread.exp: Use gdb_continue_to_end.
3876 * gdb.base/langs.exp: Use gdb_continue_to_end.
3877 * gdb.base/interrupt.exp: Update for exit message change.
3878 * gdb.base/gdb1555.exp: Update for exit message change.
3879 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
3880 * gdb.base/ending-run.exp: Update for exit message change.
3881 * gdb.base/chng-syms.exp: Update for exit message change.
3882 * gdb.base/checkpoint.exp: Update for exit message change.
3883 * gdb.base/catch-syscall.exp (check_for_program_end): Use
3884 gdb_continue_to_end.
3885 (test_catch_syscall_with_wrong_args): Likewise.
3886 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
3887 * gdb.base/break-interp.exp (test_ld): Update for exit message
3888 change.
3889 * gdb.base/bang.exp: Update for exit message change.
3890 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
3891 (do_call_attach_tests): Likewise.
3892 * gdb.base/a2-run.exp: Update for exit message change.
3893 * gdb.arch/ppc-dfp.exp: Update for exit message change.
3894 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
3895 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
3896
dd19bd70
JK
38972011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3898
3899 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
3900
30e62689
TT
39012011-03-03 Tom Tromey <tromey@redhat.com>
3902
3903 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
3904 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
3905 * gdb.hp/gdb.aCC/configure.ac: Remove.
3906 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
3907 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
3908 * gdb.hp/gdb.base-hp/configure.ac: Remove.
3909 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
3910 * gdb.hp/gdb.compat/configure (Makefile): Remove.
3911 * gdb.hp/gdb.compat/configure.ac: Remove.
3912 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
3913 * gdb.hp/gdb.defects/configure (Makefile): Remove.
3914 * gdb.hp/gdb.defects/configure.ac: Remove.
3915 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
3916 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
3917 * gdb.hp/gdb.objdbg/configure.ac: Remove.
3918 * gdb.hp/configure.ac: Remove.
3919 * gdb.hp/configure: Remove.
3920 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
3921 substitution.
3922 (Makefile): Remove rule.
3923 * gdb.cell/configure.ac: Remove.
3924 * gdb.cell/configure: Remove.
3925 * gdb.stabs/Makefile.in (Makefile): Remove.
3926 (distclean): Don't remove config.status or config.log.
3927 * gdb.stabs/configure (Makefile): Remove.
3928 * gdb.stabs/configure.ac: Remove.
3929 * configure: Rebuild.
3930 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
3931 Remove stabs- and cell-specific logic. Test for existence of
3932 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
3933 subdirectories, gdb.cell, and and gdb.stabs.
3934 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
3935
c171f854
JB
39362011-03-03 Joel Brobecker <brobecker@adacore.com>
3937
3938 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
3939 end of buffer.
3940
9a5193cb
JB
39412011-03-02 Joel Brobecker <brobecker@adacore.com>
3942
3943 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
3944 gdb_test when running a test where we expected no output back.
3945
9bb4c1bb
MS
39462011-02-28 Michael Snyder <msnyder@vmware.com>
3947
3948 * gdb.cp/overload.cc: Change initializer value to integer.
3949
3bd0f5ef
MS
39502011-02-27 Michael Snyder <msnyder@vmware.com>
3951
3952 * gdb.multi/base.exp: Add test for remove-inferiors.
3953
2279eaad
JB
39542011-02-26 Joel Brobecker <brobecker@adacore.com>
3955
3956 * gdb.python/py-frame.exp: Simplify the initialization phase
3957 using prepare_for_testing.
3958
c82c0b55
MS
39592011-02-25 Michael Snyder <msnyder@vmware.com>
3960
3961 * gdb.multi/base.exp: Add tests for info inferiors with args.
3962
1d94651b
JK
39632011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3964
3965 * gdb.dwarf2/dw2-ranges.S: Rename to ...
3966 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
3967 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
3968 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
3969 asmfile3. Comment the STABS (#3) file compilation. Compile
3970 everything through assembler. Provide KFAIL for symtab/12497.
3971 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
3972 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
3973 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
3974 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
3975
3bd0f5ef
MS
39762011-02-24 Michael Snyder <msnyder@vmware.com>
3977
3978 * gdb.base/break.exp: Add tests for delete breakpoints using
3979 convenience variables and value history references.
3980
12c1418e
MS
39812011-02-24 Michael Snyder <msnyder@vmware.com>
3982
3983 * gdb.base/break.exp: Remove debugging 'printf' accidentally
3984 left behind in previous check-in.
3985
e5a67952
MS
39862011-02-23 Michael Snyder <msnyder@vmware.com>
3987
3988 * gdb.base/break.exp: Add tests for "info break" with arguments.
3989 * gdb.trace/infotrace.exp: Update patterns for error and help.
3990 * gdb.base/completion.exp: Update pattern.
3991 * gdb.base/ena-dis-br.exp: Update pattern.
3992 * gdb.base/help.exp: Update patterns.
3993
39942011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
3995
3996 * gdb.base/memattr.exp: New test.
3997 * gdb.base/memattr.c: Test load for memattr.exp.
3998
6e6fbe60
DE
39992011-02-22 Doug Evans <dje@google.com>
4000
4001 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
4002
1d41d745
MS
40032011-02-22 Michael Snyder <msnyder@vmware.com>
4004
4005 * Makefile.in: Make more clean.
4006 * gdb.ada/Makefile.in: Ditto.
4007 * gdb.arch/Makefile.in: Ditto.
4008 * gdb.asm/Makefile.in: Ditto.
4009 * gdb.base/Makefile.in: Ditto.
4010 * gdb.cp/Makefile.in: Ditto.
4011 * gdb.dwarf2/Makefile.in: Ditto.
4012 * gdb.java/Makefile.in: Ditto.
4013 * gdb.mi/Makefile.in: Ditto.
4014 * gdb.modula2/Makefile.in: Ditto.
4015 * gdb.python/Makefile.in: Ditto.
4016 * gdb.server/Makefile.in: Ditto.
4017 * gdb.stabs/Makefile.in: Ditto.
4018 * gdb.threads/Makefile.in: Ditto.
4019 * gdb.trace/Makefile.in: Ditto.
4020
79ba84ca
MS
40212011-02-22 Michael Snyder <msnyder@vmware.com>
4022
df46027d 4023 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
4024 info threads.
4025
b9b35694
JB
40262011-02-22 Joel Brobecker <brobecker@adacore.com>
4027
4028 * gdb.python/py-breakpoint.exp: Fix the expected output of
4029 one of the "maint info breakpoints" tests to accept the output
4030 generated on platforms that do not have hardware watchpoints.
4031
8bfb830f
JB
40322011-02-22 Joel Brobecker <brobecker@adacore.com>
4033
4034 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
4035 clean_restart. Be a little stricter in the expected output
4036 for one of the tests. Fix a typo in one of the comments.
4037
c45f3c54
JB
40382011-02-22 Joel Brobecker <brobecker@adacore.com>
4039
4040 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
4041 Delete variable binfile, no longer use. Add or modify test
4042 comments to make them unique.
4043
b97c863c
MS
40442011-02-21 Michael Snyder <msnyder@vmware.com>
4045
4046 * Makefile.in: Update for make clean.
4047 * gdb.ada/Makefile.in: Ditto.
4048 * gdb.arch/Makefile.in: Ditto.
4049 * gdb.asm/Makefile.in: Ditto.
4050 * gdb.base/Makefile.in: Ditto.
4051 * gdb.cp/Makefile.in: Ditto.
4052 * gdb.dwarf2/Makefile.in: Ditto.
4053 * gdb.java/Makefile.in: Ditto.
4054 * gdb.mi/Makefile.in: Ditto.
4055 * gdb.modula2/Makefile.in: Ditto.
4056 * gdb.python/Makefile.in: Ditto.
4057 * gdb.server/Makefile.in: Ditto.
4058 * gdb.stabs/Makefile.in: Ditto.
4059 * gdb.threads/Makefile.in: Ditto.
4060 * gdb.trace/Makefile.in: Ditto.
4061
aea5b279
MS
40622011-02-21 Michael Snyder <msnyder@vmware.com>
4063
4064 * gdb.threads/thread-find.exp: Update patterns for changes in
4065 output of "info threads" command.
4066
e3039479
UW
40672011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
4068 Ulrich Weigand <uweigand@de.ibm.com>
4069
4070 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
4071 (skip_hw_watchpoint_tests): Likewise.
4072 (skip_hw_watchpoint_multi_tests): Likewise.
4073
b800ec70
UW
40742011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
4075
4076 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
4077 (skip_hw_watchpoint_tests): Likewise.
4078 (skip_hw_watchpoint_multi_tests): Likewise.
4079 (skip_hw_watchpoint_access_tests): Likewise.
4080
4081 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
4082 * gdb.base/pr11022.exp: Likewise.
4083 * gdb.base/watch-read.exp: Likewise.
4084 * gdb.base/watch_thread_num.exp: Likewise.
4085 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
4086 * gdb.base/watchpoint-hw.exp: Likewise.
4087 * gdb.base/watchpoint.exp: Likewise.
4088 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
4089 * gdb.threads/watchthreads-reorder.exp: Likewise.
4090 * gdb.threads/watchthreads.exp: Likewise.
4091 * gdb.threads/watchthreads2.exp: Likewise.
4092
91033e37
JB
40932011-02-21 Joel Brobecker <brobecker@adacore.com>
4094
4095 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
4096 the debugger is unable to find the array bounds.
4097
eeaafae2
JK
40982011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4099
4100 * gdb.cp/typedef-operator.exp: New file.
4101 * gdb.cp/typedef-operator.cc: New file.
4102
e338d953
MS
41032011-02-17 Michael Snyder <msnyder@vmware.com>
4104
4105 * gdb.threads/thread-find.exp: Fix regular expressions.
4106
e67ad678
JB
41072011-02-17 Joel Brobecker <brobecker@adacore.com>
4108
4109 * gdb.ada/packed_array: Expand testcase to test printing of
4110 unconstrained packed array.
4111
93084bca
JB
41122011-02-17 Joel Brobecker <brobecker@adacore.com>
4113
4114 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
4115
a0c78a73
PA
41162011-02-16 Pedro Alves <pedro@codesourcery.com>
4117
f65d5553 4118 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
4119 (main): Initialize it before collecting, and and clear it
4120 afterwards.
f65d5553
PA
4121 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
4122 collecting with '{type} addr', where the addr expression is not an
4123 rvalue.
a0c78a73 4124
3dfcbbd2
KW
41252011-02-16 Ken Werner <ken.werner@de.ibm.com>
4126
4127 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
4128 a bool variable. Expect correct OpenCL names for vector types. Use the
4129 uc3 variable name instead of referring to the uchar3 built-in type.
4130 Escape the asterisk at the half pointer test.
4131
08807d5a
PA
41322011-02-16 Pedro Alves <pedro@codesourcery.com>
4133
f65d5553 4134 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
4135 (main): Initialize it before collecting, and and clear it
4136 afterwards.
f65d5553
PA
4137 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
4138 collecting overlapping memory ranges.
08807d5a 4139
60f98dde
MS
41402011-02-15 Michael Snyder <msnyder@vmware.com>
4141
4142 * gdb.base/default.exp: Add tests for thread commands.
4143 * gdb.base/help.exp: Add tests for thread commands.
4144 * gdb.threads/thread-find.exp: New test for thread find command.
4145
648cd113
KW
41462011-02-15 Ken Werner <ken.werner@de.ibm.com>
4147
4148 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
4149
494e194e
YQ
41502011-02-15 Yao Qi <yao@codesourcery.com>
4151
4152 PR tdep/12352
4153 * gdb.arch/arm-disp-step.S : New test for str instruction.
4154 * gdb.arch/arm-disp-step.exp : Likewise.
4155
d9492458
TJB
41562011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
4157
4158 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
4159 "vector_register2_vr" test strings. Test the extended floating
4160 point registers (F32~F63).
4161 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
4162 IBM XL C compiler. Make the test program use a register provided
4163 by the compiler for the lxvd2x instruction.
4164
8af8e3bc
PA
41652011-02-14 Pedro Alves <pedro@codesourcery.com>
4166
4167 * gdb.trace/unavailable.cc (class Base, class Middle, class
4168 Derived): New types.
4169 (derived_unavail, derived_partial, derived_whole): New globals.
4170 (virtual_partial): New global.
4171 (virtualp): Point at virtual_partial.
4172 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
4173 related to unavailable vptr.
4174
1b28d0b3
PA
41752011-02-14 Pedro Alves <pedro@codesourcery.com>
4176
4177 * gdb.trace/unavailable.cc (a, b, c): New globals.
4178 (main): Set and clear them.
4179 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
4180 `a' and `c', and check that `b' isn't collected, although `a' and
4181 `c' are.
4182
ec0a52e1
PA
41832011-02-14 Pedro Alves <pedro@codesourcery.com>
4184
4185 * gdb.trace/unavailable.cc (struct Virtual): New.
4186 (virtualp): New global pointer.
4187 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
4188 printing a pointer to an object whose type has a vtable, with
4189 print object on.
4190
24e6bcee
PA
41912011-02-14 Pedro Alves <pedro@codesourcery.com>
4192
4193 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
4194 value repeat handles unavailableness.
4195
39d37385
PA
41962011-02-14 Pedro Alves <pedro@codesourcery.com>
4197
4198 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
4199 tests for building arrays from unavailable values, subscripting
4200 non-memory rvalue unvailable arrays, and accessing fields or
4201 baseclasses of non-lazy unavailable values,
4202 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
4203 struct types.
4204 (g_smallstruct, g_smallstruct_b): New globals.
4205
06d72e16
PA
42062011-02-14 Pedro Alves <pedro@codesourcery.com>
4207
4208 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
4209
bc9a5551
JK
42102011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4211
4212 Fix const/volatile qualifiers of C++ types, PR c++/12328.
4213 * gdb.cp/overload-const.exp: New file.
4214 * gdb.cp/overload-const.cc: New file.
4215
54fcddd0
UW
42162011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
4217
4218 * gdb.opencl/callfuncs.cl: New file.
4219 * gdb.opencl/callfuncs.exp: New test.
4220 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
4221
d6dafb7c
UW
42222011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
4223
4224 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
4225 when computing result.
4226 * gdb.arch/altivec-abi.exp: Update expected results.
4227
a449c2d8
TJB
42282011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
4229
4230 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
4231 * gdb.base/jit.exp: Likewise.
4232 * gdb.base/pie-execl.exp: Likewise.
4233 * gdb.base/solib-nodir.exp: Likewise.
4234 * gdb.base/solib-overlap.exp: Likewise.
4235
764880b7
PA
42362011-02-07 Pedro Alves <pedro@codesourcery.com>
4237
4238 * gdb.trace/collection.c (global_pieces): New.
4239 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
4240 New procedure.
4241 (gdb_trace_collection_test): Call it.
4242
505500db
SW
42432011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
4244
4245 * gdb.python/py-evthreads.c: New file.
4246 * gdb.python/py-evthreads.exp: New file.
4247 * gdb.python/py-events.py: New file.
4248 * gdb.python/py-events.exp: New file.
4249 * gdb.python/py-events.c: New file.
4250
385203ed
DD
42512011-02-04 David Daney <ddaney@caviumnetworks.com>
4252
4253 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
4254
9011945e
AB
42552011-02-03 Andrew Burgess <aburgess@broadcom.com>
4256
4257 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
4258 gdb.base/disasm-end-cu.exp: New test for disassembling over the
4259 boundary between two compilation units.
4260
580688f3
PA
42612011-02-02 Pedro Alves <pedro@codesourcery.com>
4262
4263 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
4264 (Virtual): New structs.
4265 (virtual_o, virtual_middle_b): New globals.
4266 * gdb.cp/virtbase.exp: New tests.
4267
d3f0f853
PP
42682011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4269
4270 * gdb.base/jit.exp: New file.
4271 * gdb.base/jit-main.c: New file.
4272 * gdb.base/jit-solib.c: New file.
4273
b2030fb5
UW
42742011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
4275
4276 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
4277 proceed to initial kernel entry point.
4278 * gdb.opencl/datatypes.exp: Likewise.
4279 * gdb.opencl/operators.exp: Likewise.
4280 * gdb.opencl/vec_comps.exp: Likewise.
4281
2db19d1e
SW
42822011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
4283
4284 * gdb.cp/nsnested.cc: New.
4285 * gdb.cp/nsnested.exp: New.
4286 * gdb.cp/nsnoimports.exp: New.
4287 * gdb.cp/nsnoimports.cc: New.
4288
6b0c4c1f
JB
42892011-01-31 Joel Brobecker <brobecker@adacore.com>
4290
4291 * gdb.base/interact.exp: Add extra tests that verify that
4292 the value of the interactive-mode setting does not change
4293 after the script is sourced.
4294
80b23b6a
JK
42952011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4296
4297 * gdb.cp/noparam.exp: New file.
4298 * gdb.cp/noparam.cc: New file.
4299
ffd5ec24
PA
43002011-01-28 Pedro Alves <pedro@codesourcery.com>
4301
4302 * gdb.trace/tfile.exp: Test that with no traceframe selected,
4303 there's no stack or registers.
4304
a81766d8
TT
43052011-01-26 Tom Tromey <tromey@redhat.com>
4306
4307 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
4308 space before string output. Add test for "set print pretty off"
4309 case.
4310
585fdaa1
PA
43112011-01-25 Pedro Alves <pedro@codesourcery.com>
4312
4313 * gdb.base/frame-args.exp: Adjust.
4314 * gdb.dwarf2/dw2-noloc.exp: Adjust.
4315 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
4316 * gdb.dwarf2/pieces.exp: Adjust.
4317 * gdb.opt/clobbered-registers-O2.exp: Adjust.
4318 * gdb.opt/inline-locals.exp: Adjust.
4319 * gdb.threads/fork-child-threads.exp: Adjust.
4320
d468832a
KW
43212011-01-25 Ken Werner <ken.werner@de.ibm.com>
4322
4323 * gdb.opencl/convs_casts.cl: Move program scope variables into the
4324 OpenCL kernel function. Add a comment as marker. Add address space
4325 qualifiers for the remaining program scope variables.
4326 * gdb.opencl/datatypes.cl: Likewise.
4327 * gdb.opencl/operators.cl: Likewise.
4328 * gdb.opencl/vec_comps.cl: Likewise.
4329 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
4330 Add breakpoint at the marker comment.
4331 * gdb.opencl/datatypes.exp: Likewise.
4332 * gdb.opencl/operators.exp: Likewise.
4333 * gdb.opencl/vec_comps.exp: Likewise.
4334
490f124f
PA
43352011-01-24 Pedro Alves <pedro@codesourcery.com>
4336
4337 * gdb.base/printcmds.c (some_struct): New struct and instance.
4338 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
4339 procedure.
4340 <global scope>: Call it.
4341
6da78614
KW
43422011-01-21 Ken Werner <ken.werner@de.ibm.com>
4343
4344 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
4345 argument to the gdb_compile_opencl_hostapp call.
4346
ec64c9aa
YQ
43472011-01-19 Yao Qi <yao@codesourcery.com>
4348
4349 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
4350 positve list.
4351
810cfdbb
YQ
43522011-01-19 Yao Qi <yao@codesourcery.com>
4353
4354 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
4355 canonical form.
4356 Remove "xscale-*-*"
4357 * gdb.xml/tdesc-regs.exp: Likewise.
4358 * gdb.python/py-section-script.exp: Replace ARM target triplet
4359 with canonical form.
4360 Match arm*-*-symbianelf*.
4361 * gdb.base/dup-sect.exp: Likewise.
4362 * lib/dwarf.exp: New.
4363 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
4364 dwarf2_support.
4365 * gdb.dwarf2/dup-psym.exp: Likewise.
4366 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
4367 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4368 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
4369 * gdb.dwarf2/dw2-basic.exp: Likewise.
4370 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4371 * gdb.dwarf2/dw2-const.exp: Likewise.
4372 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
4373 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
4374 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4375 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
4376 * gdb.dwarf2/dw2-filename.exp: Likewise.
4377 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4378 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
4379 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4380 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4381 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
4382 * gdb.dwarf2/dw2-noloc.exp: Likewise.
4383 * gdb.dwarf2/dw2-op-call.exp: Likewise.
4384 * gdb.dwarf2/dw2-producer.exp: Likewise.
4385 * gdb.dwarf2/dw2-ranges.exp: Likewise.
4386 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
4387 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
4388 * gdb.dwarf2/dw2-strp.exp: Likewise.
4389 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
4390 * gdb.dwarf2/implptr.exp: Likewise.
4391 * gdb.dwarf2/mac-fileno.exp: Likewise.
4392 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
4393 * gdb.dwarf2/pieces.exp: Likewise.
4394 * gdb.dwarf2/pr11465.exp: Likewise.
4395 * gdb.dwarf2/valop.exp: Likewise.
4396 * gdb.dwarf2/watch-notconst.exp: Likewise.
4397 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
4398
4694da01
TT
43992011-01-19 Tom Tromey <tromey@redhat.com>
4400
4401 * gdb.python/py-infthread.exp: Add thread tests.
4402
b075872c
JB
44032011-01-14 Joel Brobecker <brobecker@adacore.com>
4404
4405 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
4406
2c3e6e24
JB
44072011-01-14 Joel Brobecker <brobecker@adacore.com>
4408
4409 * gdb.ada/widewide: New testcase.
4410
de8fa76c
JB
44112011-01-13 Joel Brobecker <brobecker@adacore.com>
4412
4413 * gdb.base/interact.exp: New testcase.
4414
1b05df00
TT
44152011-01-12 Tom Tromey <tromey@redhat.com>
4416
4417 * gdb.mi/gdb2549.exp: Update for error message changes.
4418 * gdb.mi/mi-cli.exp: Likewise.
4419 * gdb.mi/mi-disassemble.exp: Likewise.
4420 * gdb.mi/mi-pthreads.exp: Likewise.
4421 * gdb.mi/mi-regs.exp: Likewise.
4422 * gdb.mi/mi-stack.exp: Likewise.
4423 * gdb.mi/mi-var-block.exp: Likewise.
4424 * gdb.mi/mi-var-cmd.exp: Likewise.
4425 * gdb.mi/mi2-cli.exp: Likewise.
4426 * gdb.mi/mi2-disassemble.exp: Likewise.
4427 * gdb.mi/mi2-pthreads.exp: Likewise.
4428 * gdb.mi/mi2-regs.exp: Likewise.
4429 * gdb.mi/mi2-stack.exp: Likewise.
4430 * gdb.mi/mi2-var-block.exp: Likewise.
4431 * gdb.mi/mi2-var-cmd.exp: Likewise.
4432
c2ff108b
JK
44332011-01-12 Andrew Burgess <aburgess@broadcom.com>
4434 Jan Kratochvil <jan.kratochvil@redhat.com>
4435
4436 PR fortran/11104 and DWARF unbound arrays detection.
4437 * gdb.fortran/multi-dim.exp: New file.
4438 * gdb.fortran/multi-dim.f90: New file.
4439
b716877b
AB
44402011-01-12 Andrew Burgess <aburgess@broadcom.com>
4441
4442 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
4443 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
4444 add new tests for opcode dumping.
4445
6c162d5e
TT
44462011-01-11 Tom Tromey <tromey@redhat.com>
4447
4448 * gdb.python/py-infthread.exp: Load gdb-python.exp.
4449
77b06cd7
TJB
44502010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
4451
4452 Convert hardware watchpoints to use breakpoint_ops.
4453 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
4454 type is not supported.
4455 * gdb.base/foll-fork.exp: Likewise.
4456 * gdb.base/foll-vfork.exp: Likewise.
4457
f39a75d0
PM
44582011-01-10 Phil Muldoon <pmuldoon@redhat.com>
4459
4460 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
4461 Use load_lib gdb-python.exp.
4462 * gdb.python/python.exp: Ditto.
4463 * gdb.python/py-function.exp: Ditto.
4464
fc529d80
AS
44652011-01-09 Andreas Schwab <schwab@linux-m68k.org>
4466
4467 * gdb.threads/tls.exp ("info address me"): Fix expected output.
4468
fb03cb59
JK
44692011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4470
4471 * configure: Regenerate.
4472
d8e22779
TT
44732011-01-06 Tom Tromey <tromey@redhat.com>
4474
4475 * gdb.python/py-frame.exp: Test gdb.newest_frame.
4476
09050809
JB
44772011-01-06 Joel Brobecker <brobecker@adacore.com>
4478
fc529d80
AS
4479 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
4480 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
4481 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
4482 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
4483 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
4484 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
4485 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
4486 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
4487 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
4488 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
4489 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
4490 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
4491 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
4492 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
4493 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
4494 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
4495 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
4496 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
4497 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
4498 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
4499 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
4500 gdb.ada/uninitialized_vars.exp,
4501 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
4502 Simplify by using clean_restart.
09050809 4503
8ed5dd9e
JB
45042011-01-06 Joel Brobecker <brobecker@adacore.com>
4505
4506 Add marker to be used as anchor for inserting breakpoints.
4507 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
4508 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
4509 Likewise.
4510
4511 Remove uses of gdb_start_cmd.
4512 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
4513 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
4514
4515 Do not run testcase if testing with GDBserver.
4516 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
4517 if testing with GDBserver.
4518
368a124f
JB
45192011-01-06 Joel Brobecker <brobecker@adacore.com>
4520
4521 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
4522 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
4523 copyright header.
4524
44944448
JB
45252011-01-05 Joel Brobecker <brobecker@adacore.com>
4526
4527 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
4528 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
4529 testsuite/gdb.fortran/complex.f,
4530 testsuite/gdb.fortran/derived-type.f90,
4531 testsuite/gdb.fortran/library-module-lib.f90,
4532 testsuite/gdb.fortran/library-module-main.f90,
4533 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
4534 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
4535 Copyright year update.
4536
31886ea6
JB
45372011-01-05 Joel Brobecker <brobecker@adacore.com>
4538
4539 * gdb.base/langs1.f: Add copyright header.
4540
ebedcab5
JK
45412011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4542
4543 * gdb.base/morestack.exp: New file.
4544 * gdb.base/morestack.c: New file.
4545
de1eb2f9
JK
45462011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4547
4548 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
4549
9e87a409
JB
45502010-12-29 Joel Brobecker <brobecker@adacore.com>
4551
4552 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
4553 * gdb.ada/arrayptr.exp: Add test printing that new variable.
4554
720d1a40
JB
45552010-12-29 Joel Brobecker <brobecker@adacore.com>
4556
4557 * gdb.ada/lang_switch.exp: Correct expected parameter value.
4558
a283af87
AS
45592010-12-25 Andreas Schwab <schwab@linux-m68k.org>
4560
5d3d9cba
AS
4561 * gdb.threads/tls.exp: Fix typo.
4562
a283af87
AS
4563 * gdb.threads/thread-specific.exp (get_thread_list): Update.
4564 * gdb.threads/execl.exp: Update.
4565
2a20745c
YQ
45662010-12-23 Yao Qi <yao@codesourcery.com>
4567
4568 * gdb.arch/arm-disp-step.exp: New.
4569 * gdb.arch/arm-disp-step.S: New.
4570
a7658b96
TT
45712010-12-21 Tom Tromey <tromey@redhat.com>
4572
4573 * gdb.threads/execl.exp: Update.
4574 * gdb.threads/linux-dp.exp: Update.
4575 * gdb.threads/manythreads.exp: Update.
4576 * gdb.threads/tls.exp: Update.
4577
5b79abe7
TT
45782010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4579
4580 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
4581 (NextOverThrowDerivates) <resumebpt>: New.
4582 (resumebpt_test): New.
4583 (main): Call resumebpt_test.
4584 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
4585
0914bcdb
SS
45862010-12-12 Stan Shebs <stan@codesourcery.com>
4587
4588 * gdb.trace/tsv.exp: Test print command on trace state variables.
4589
305aeedc
TT
45902010-12-09 Tom Tromey <tromey@redhat.com>
4591
4592 * gdb.base/interp.exp: Add regression test.
4593
186c406b
TT
45942010-12-09 Tom Tromey <tromey@redhat.com>
4595
4596 * gdb.java/jnpe.java: New file.
4597 * gdb.java/jnpe.exp: New file.
4598 * gdb.cp/nextoverthrow.exp: New file.
4599 * gdb.cp/nextoverthrow.cc: New file.
4600
aae1c79a
DE
46012010-12-07 Doug Evans <dje@google.com>
4602
4603 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
4604 of data-directory.
4605 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
4606 updated.
4607 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
4608
60f98dde 46092010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
4610
4611 * gdb.base/callfuncs.exp: Test for skip_float_tests.
4612 * gdb.base/call-sc.exp: Ditto.
4613 * gdb.base/finish.exp: Ditto.
4614 * gdb.base/return.exp: Ditto.
4615 * gdb.base/return2.exp: Ditto.
4616
5fa290c1
DE
46172010-11-30 Doug Evans <dje@google.com>
4618
4619 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
4620 (gdb_expect_list): Fix spelling errors in comments.
4621 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
4622 send_gdb/gdb_expect_list where applicable.
4623 * gdb.base/call-ar-st.exp: Ditto.
4624 * gdb.base/funcargs.exp: Ditto.
4625 * gdb.base/gcore.exp: Ditto.
4626 * gdb.base/page.exp: Ditto.
4627 * gdb.base/sigaltstack.exp: Ditto.
4628 * gdb.base/siginfo.exp: Ditto.
4629 * gdb.base/sigstep.exp: Ditto.
4630 * gdb.base/trace-commands.exp: Ditto.
4631
4e04c971
DE
46322010-11-29 Doug Evans <dje@google.com>
4633
4634 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
4635 printer-name;subprinter-name.
4636
8cf6f0b1
TT
46372010-11-29 Tom Tromey <tromey@redhat.com>
4638
4639 * gdb.dwarf2/implptr.exp: New file.
4640 * gdb.dwarf2/implptr.c: New file.
4641 * gdb.dwarf2/implptr.S: New file.
4642
94b6973e
PM
46432010-11-29 Phil Muldoon <pmuldoon@redhat.com>
4644
fc529d80 4645 PR python/12199
94b6973e
PM
4646
4647 * gdb.python/py-breakpoint.exp: Test the delete method.
4648
8358c15c
JK
46492010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4650
4651 Fix step_resume_breakpoint unsaved during an infcall.
4652 * gdb.base/step-resume-infcall.exp: New file.
4653 * gdb.base/step-resume-infcall.c: New file.
4654
f6df29bc
TJB
46552010-11-24 Edjunior Machado <emachado@br.ibm.com>
4656
4657 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
4658
f2b5a5cf
TJB
46592010-11-24 Edjunior Machado <emachado@br.ibm.com>
4660
4661 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
4662 on ppc64's symbols; "finish" and "return" commands must accept to
4663 show the caller line again as well as the line after.
4664 * gdb.asm/powerpc64.inc: New file.
4665
6b0ecdc2
DE
46662010-11-23 Doug Evans <dje@google.com>
4667
4668 * lib/gdb.exp (gdb_test_sequence): New function.
4669 (gdb_expect_list): Add verbose -log call for each pattern.
4670 * gdb.base/signals.exp (test_handle_all_print): Call it.
4671 Reduce timeout increment from 6 minutes to 1 minute.
4672 * gdb.server/ext-run.exp: Call it.
4673
ea976c60
PM
46742010-11-23 Phil Muldoon <pmuldoon@redhat.com>
4675
f2b5a5cf 4676 PR python/12212
ea976c60
PM
4677
4678 * gdb.python/python.exp: Check that selected_thread raises an
4679 error when no inferior is loaded.
4680
c0efa795
JK
46812010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4682
4683 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
4684 * gdb.dwarf2/dw2-stack-boundary.S: New file.
4685
ec3aa567
JK
46862010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4687
4688 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
4689 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
4690
d8249011
DE
46912010-11-18 Doug Evans <dje@google.com>
4692
4693 * gdb.server/ext-run.exp: Fix intermittent failures.
4694
d4eba7d1
NF
46952010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4696
4697 * gdb.stabs/gdb11479.exp: Use runto_main.
4698
b04c2f88
NF
46992010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4700
4701 * gdb.base/break-entry.exp: Skip if using a stub.
4702
ae9d7ce4
NF
47032010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4704
4705 * gdb.python/py-inferior.exp: Pack values in target endianness.
4706
621c8364
TT
47072010-11-12 Tom Tromey <tromey@redhat.com>
4708
4709 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
4710 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
4711 MemoryError.
4712 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
4713 type.
4714 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
4715 MemoryError.
4716 (test_subscript_regression): Update exception type.
4717
84f4c1fe
PM
47182010-11-11 Phil Muldoon <pmuldoon@redhat.com>
4719
4720 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
4721 breakpoint tests.
4722
a1442452
PA
47232010-11-09 Pedro Alves <pedro@codesourcery.com>
4724
4725 * gdb.base/watchpoint.exp: Test "watch -location" with an
4726 innacessible location.
4727
efd11a33
JK
47282010-11-09 Edjunior Machado <emachado@br.ibm.com>
4729 Luis Machado <luisgpm@br.ibm.com>
4730
4731 * gdb.base/maint.exp: Expect "." prefix.
4732 * gdb.base/nodebug.exp: Expect "." Likewise.
4733 * gdb.base/sepsymtab.exp: Expect "." Likewise.
4734 * gdb.base/watchpoint-cond-gone.exp: Likewise.
4735 * gdb.base/watchpoint.exp: Expect a software watch to be created for
4736 POWER server processors.
4737
aa00efb5
JK
47382010-11-08 Edjunior Machado <emachado@br.ibm.com>
4739 Luis Machado <luisgpm@br.ibm.com>
4740
4741 * gdb.base/break-entry.exp: convert entry point for
4742 ppc64 and expect leading `.' on ppc64's symbols
4743
99e7ae30
DE
47442010-11-05 Doug Evans <dje@google.com>
4745
4746 * gdb.base/help.exp: Update expected output.
b521dba8
DE
4747 * gdb.python/py-param.exp: Delete, contents moved to ...
4748 * gdb.python/py-parameter.exp: ... here. New file.
4749 Add test for gdb.parameter ("directories").
99e7ae30 4750
f4b8a18d
KW
47512010-11-05 Ken Werner <ken.werner@de.ibm.com>
4752
4753 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
4754 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
4755 * configure: Regenerate.
4756 * gdb.opencl/Makefile.in: New File.
4757 * gdb.opencl/datatypes.exp: Likewise.
4758 * gdb.opencl/datatypes.cl: Likewise.
4759 * gdb.opencl/operators.exp: Likewise.
4760 * gdb.opencl/operators.cl: Likewise.
4761 * gdb.opencl/vec_comps.exp: Likewise.
4762 * gdb.opencl/vec_comps.cl: Likewise.
4763 * gdb.opencl/convs_casts.exp: Likewise.
4764 * gdb.opencl/convs_casts.cl: Likewise.
4765 * lib/opencl.exp: Likewise.
4766 * lib/opencl_hostapp.c: Likewise.
4767 * lib/opencl_kernel.cl: Likewise.
4768 * lib/cl_util.c: Likewise.
4769 * lib/cl_util.c: Likewise.
4770 * gdb.base/default.exp (set language): Add "opencl" to the list of
4771 languages.
4772
a9d5ef47
SW
47732010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
4774
4775 * gdb.cp/overload.exp: Added test for inheritance overload.
4776 * gdb.cp/overload.cc: Ditto.
4777 * gdb.cp/oranking.exp: Removed releveant kfails.
4778
03eb1c79
JK
47792010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4780 Joel Brobecker <brobecker@adacore.com>
4781
4782 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
4783 check test_compiler_info.
4784
dbc98a8b
KW
47852010-11-03 Ken Werner <ken.werner@de.ibm.com>
4786
4787 * gdb.base/gnu_vector.exp: Adjust expect messages.
4788
120bd360
KW
47892010-11-03 Ken Werner <ken.werner@de.ibm.com>
4790
4791 * gdb.base/gnu_vector.exp: Add unary operator tests.
4792
c37f7098
KW
47932010-11-03 Ken Werner <ken.werner@de.ibm.com>
4794
4795 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
4796
7b51bc51
DE
47972010-11-02 Doug Evans <dje@google.com>
4798
4799 * gdb.python/py-pp-maint.c: New file.
4800 * gdb.python/py-pp-maint.exp: New file.
4801 * gdb.python/py-pp-maint.py: New file.
4802
50c97f38
TT
48032010-11-02 Tom Tromey <tromey@redhat.com>
4804
4805 * gdb.base/default.exp: Remove "scheme" from language list.
4806
a289b8f6
JK
48072010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4808
4809 Revert:
4810 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4811 * gdb.threads/sigstep-threads.exp: New file.
4812 * gdb.threads/sigstep-threads.c: New file.
4813
cd017491
MS
48142010-10-20 Michael Snyder <msnyder@vmware.com>
4815
4816 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
4817
8e6a5956
UW
48182010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4819
4820 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
4821 Skip test completely if gdb,no_hardware_watchpoints.
4822
2c04da0d
UW
48232010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4824
4825 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
4826 strict, but do not check for any particular function name within libc.
4827
79afc5ef
SW
48282010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4829
4830 * gdb.cp/smartp.exp: New test.
4831 * gdb.cp/smartp.cc : New test.
4832
026ffab7
SW
48332010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4834
4835 * gdb.cp/converts.exp: Test pointer to bool conversion.
4836 Test pointer to long conversion.
4837 * gdb.cp/oranking.exp: Removed relevant kfail.
4838
3a772aa4
TT
48392010-10-18 Tom Tromey <tromey@redhat.com>
4840
4841 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
4842 argument to lazy_string.
4843 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
4844 (pp_ls.to_string): Use it.
4845 * gdb.python/py-prettyprint.c (main): Move declarations to top.
4846 Add "estring2" local.
4847
5fc3827b
JK
48482010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4849
4850 Fix s390x compatibility.
4851 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
4852 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
4853
8aeb23f3
JK
48542010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4855
4856 * gdb.threads/sigstep-threads.exp: New file.
4857 * gdb.threads/sigstep-threads.c: New file.
4858
c1e56572
JK
48592010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4860
4861 * gdb.base/pie-execl.exp: New file.
4862 * gdb.base/pie-execl.c: New file.
4863
92163a10
JK
48642010-10-13 Doug Evans <dje@google.com>
4865 Jan Kratochvil <jan.kratochvil@redhat.com>
4866
4867 PR exp/12117
4868 * gdb.cp/ptype-cv-cp.cc: New file.
4869 * gdb.cp/ptype-cv-cp.exp: New file.
4870
7062b0a0
SW
48712010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
4872
4873 * gdb.cp/converts.cc: New test program.
4874 * gdb.cp/converts.exp: New test.
4875 * gdb.cp/overload.exp: Added test for void* vs int*.
4876 * gdb.cp/overload.exp: Ditto.
4877 * gdb.cp/oranking.exp: Removed related kfail.
4878
0e3509db
DE
48792010-10-13 Doug Evans <dje@google.com>
4880
4881 * lib/gdb-python.exp (gdb_check_python_config): New function.
4882 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
4883 * gdb.python/lib-types.cc: New file.
4884 * gdb.python/lib-types.exp: New file.
4885
8dc78533
JK
48862010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4887
4888 * gdb.python/py-error.exp: New file.
4889 * gdb.python/py-error.py: New file.
4890
93c17e06
JK
48912010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4892
4893 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
4894 gdb_test_multiple.
4895
d8b34041
JK
48962010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4897
4898 * gdb.base/break-interp.exp: Use ldlags for linking flags.
4899 * gdb.base/prelink.exp: Likewise.
4900 * gdb.base/solib-nodir.exp: Likewise.
4901 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
4902 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
4903 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
4904
e0cc584e
UW
49052010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
4906
4907 * break-interp.exp (test_ld): Use two separate gdb_expect statements
4908 for the "info files" test to avoid timeouts on slow machines.
4909
cfc353b1
JK
49102010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4911
4912 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
4913 (main): Make openlib dummy call.
4914
d3d7896d
JK
49152010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4916
4917 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
4918 * break-interp.exp (reach): Move the core body ...
4919 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
4920 (test_ld): Provide always real argument, even to the linker. Replace
4921 dl_main by _dl_debug_state.
4922
5e533c94
JK
49232010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4924
4925 Fix results of prelinked PIEs on ppc*.
4926 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
4927 Accept also DISPLACEMENT "PRESENT".
4928 (main): Replace "ZERO" displacements by "PRESENT".
4929
33540610
SW
49302010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
4931
4932 * gdb.cp/oranking.exp: New test.
4933 * gdb.cp/oranking.cc: New test program.
4934
3bdf2bbd
KW
49352010-10-08 Ken Werner <ken.werner@de.ibm.com>
4936
4937 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
4938 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
4939
2f608a3a
KW
49402010-10-06 Ken Werner <ken.werner@de.ibm.com>
4941
4942 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
4943 lush, lynx) New constant.
4944 * gdb.base/constvars.exp: Test const array types.
4945 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
4946
aa2e2d8d
DE
49472010-10-06 Doug Evans <dje@google.com>
4948
4949 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
4950 of syscall staging area.
4951
2844d6b5
KW
49522010-10-06 Ken Werner <ken.werner@de.ibm.com>
4953
4954 * gdb.base/gnu_vector.c: Add variable c4.
4955 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
4956 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4957
7d8ac8bb
MR
49582010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
4959
4960 * gdb.arch/altivec-abi.exp: Fix a typo.
4961
84a02e58
MR
49622010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
4963
4964 * lib/mi-support.exp (thread_selected_re): Correct pattern used
4965 to match a thread ID.
4966
b18e6318
JK
49672010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4968
4969 Fix s390x testcase compatibility.
4970 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
4971
a2c09bd0
DE
49722010-10-01 Doug Evans <dje@google.com>
4973
4974 * lib/gdb-python.exp: New file.
4975 * gdb.python/py-block.exp: Use it.
4976 * gdb.python/py-breakpoint.exp: Ditto.
4977 * gdb.python/py-frame.exp: Ditto.
4978 * gdb.python/py-inferior.exp: Ditto.
4979 * gdb.python/py-param.exp: Ditto.
4980 * gdb.python/py-prettyprint.exp: Ditto.
4981 * gdb.python/py-shared.exp: Ditto.
4982 * gdb.python/py-symbol.exp: Ditto.
4983 * gdb.python/py-symtab.exp: Ditto.
4984 * gdb.python/py-type.exp: Ditto.
4985 * gdb.python/py-value.exp: Ditto.
4986 * gdb.python/python.exp: Ditto.
4987
38f12cfc
TT
49882010-09-30 Tom Tromey <tromey@redhat.com>
4989
4990 * gdb.base/anon.exp: New file.
4991 * gdb.base/anon.c: New file.
4992
9ae8282d
TT
49932010-09-30 Tom Tromey <tromey@redhat.com>
4994
4995 * gdb.base/completion.exp: Test completion through anonymous
4996 union.
4997 * gdb.base/break1.c (struct some_struct): Add anonymous union.
4998
e9e07ba6
JK
49992010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5000
5001 Fix printing parameters of inlined functions.
5002 * gdb.dwarf2/dw2-inline-param.exp: New file.
5003 * gdb.dwarf2/dw2-inline-param-main.c: New file.
5004 * gdb.dwarf2/dw2-inline-param.S: New file.
5005
cd2effb2
JK
50062010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5007
5008 PR corefiles/12071.
5009 * gdb.base/corefile.exp (quit with a process, no question: load core)
5010 (quit with a core file): New tests.
5011
bceffbf3
JK
50122010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5013
5014 Fix GDB crash on inferior calls with self-referencing classes.
5015 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
5016 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
5017 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
5018
1736ad11
JK
50192010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5020
5021 Fix lost siginfo_t for inferior calls.
5022 * gdb.base/siginfo-infcall.exp: New file.
5023 * gdb.base/siginfo-infcall.c: New file.
5024
a176ad92
JB
50252010-09-22 Joel Brobecker <brobecker@adacore.com>
5026
5027 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
5028
c2b0a229
JK
50292010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5030
5031 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
5032 New test.
5033 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
5034
e8ae22d1
JB
50352010-09-22 Joel Brobecker <brobecker@adacore.com>
5036
5037 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
5038 type of our const type.
5039
ec322823
SW
50402010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
5041
5042 * gdb.cp/pr12028.cc: New.
5043 * gdb.cp/pr12028.exp: New.
5044
72929c62
JB
50452010-09-22 Joel Brobecker <brobecker@adacore.com>
5046
5047 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
5048
875b4ff5 50492010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 5050 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
5051
5052 PR mi/11407
5053 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
5054 * gdb.mi/dw2-ref-missing-frame-main.c New File.
5055 * gdb.mi/dw2-ref-missing-frame.S New File.
5056 * gdb.mi/dw2-ref-missing-frame.exp New File.
5057
7155d578
TT
50582010-09-14 Tom Tromey <tromey@redhat.com>
5059
5060 PR symtab/8399:
5061 * gdb.threads/tls.exp: Remove kfail. Update expected output.
5062
515ed532
TT
50632010-09-14 Tom Tromey <tromey@redhat.com>
5064
5065 PR exp/11803:
5066 * gdb.threads/tls.exp: Use C++.
5067 (check_thread_local): Use K::another_thread_local.
5068 * gdb.threads/tls.c (class K): New.
5069 (another_thread_local): Now a member of K.
5070 (spin): Update. No longer K&R C.
5071
450ca57c
SW
50722010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
5073
5074 * gdb.cp/koenig.cc: created class for testing member lookup.
5075 * gdb.cp/koenig.exp: Added test for member lookup.
5076
dbd492a3
JK
50772010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5078
5079 Fix false FAILs on sourcetree topdir directory containing "kill".
5080 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
5081 source line matching regexp.
5082
8d4d924b
JK
50832010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5084
5085 * gdb.python/python.exp (set height 0, collect help from uiout)
5086 (verify help to uiout): New tests.
5087
8e64f2a0
JK
50882010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5089
5090 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
5091 is_lp64_target to check 64bit target.
5092
4569eed2
JK
50932010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5094
5095 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
5096 (test_ld) <powerpc64-*>: New.
5097
5e1617b1
DJ
50982010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
5099
5100 * gdb.cp/templates.exp (test_template_args): Allow "struct".
5101
c767944b
DJ
51022010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
5103
5104 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
5105 (FunctionArg::method): New function.
5106 (empty, arg): New variables.
5107 (main): Call arg.method.
5108 * gdb.cp/templates.exp (test_template_args): New function.
5109 (do_tests): Call it.
5110
27d3a3fc
UW
51112010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
5112
5113 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
5114 of "next" to proceed over pthread_exit call.
5115
55b7ce7f
UW
51162010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
5117
5118 * gdb.base/maint.exp: Avoid wildcards against potentially very long
5119 "maint print statistics" output to prevent expect timeouts.
5120
809df446
JK
51212010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5122
5123 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
5124 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
5125 (test_float_rejected): ... here.
5126 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
5127 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
5128 (test_float_rejected): ... here.
5129 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
5130 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
5131 (test_float_rejected): ... here.
5132 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
5133 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
5134 (test_float_rejected): ... here.
5135
8464be76
DJ
51362010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
5137
5138 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
5139 before disabling hardware watchpoints.
5140 (test_inaccessible_watchpoint): Check that hardware watchpoints
5141 are used. Test for watchpoints on a constant address.
5142
14dba4b4
JK
51432010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5144
5145 * gdb.base/ui-redirect.exp: New file.
5146
3f3540e1 51472010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 5148 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
5149
5150 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
5151
0f254bb7
DE
51522010-08-31 Doug Evans <dje@google.com>
5153
5154 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
5155
03f17ccf
TT
51562010-08-30 Tom Tromey <tromey@redhat.com>
5157
5158 PR python/11792:
5159 * gdb.python/py-value.exp (test_subscript_regression): Add
5160 dynamic_type test.
5161
640617ad
DJ
51622010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
5163
5164 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
5165 instead of running to main. Do not test the main function.
5166 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
5167 Add new main.
5168
2ed91d1b
PA
51692010-08-26 Pedro Alves <pedro@codesourcery.com>
5170
5171 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
5172 one test.
5173
673bfd45
DE
51742010-08-24 Doug Evans <dje@google.com>
5175
5176 PR symtab/11942
5177 * gdb.dwarf2/dw4-sig-types.cc: New file.
5178 * gdb.dwarf2/dw4-sig-types.h: New file.
5179 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
5180 * gdb.dwarf2/dw4-sig-types.exp: New file.
5181
f9ffd4bb
TT
51822010-08-23 Tom Tromey <tromey@redhat.com>
5183
5184 PR python/11145:
5185 * gdb.python/py-value.c (Base, Derived): New types.
5186 (base): New global.
5187 * gdb.python/py-value.exp (test_subscript_regression): Add
5188 dynamic_cast test.
5189
d839c8a4
TT
51902010-08-23 Tom Tromey <tromey@redhat.com>
5191
5192 PR python/10676:
5193 * gdb.python/py-type.exp (test_fields): Add tests for type
5194 equality.
5195
702c2711
TT
51962010-08-23 Tom Tromey <tromey@redhat.com>
5197
5198 PR python/11915:
5199 * gdb.python/py-type.exp (test_fields): Add tests for array.
5200
832bafd3
KS
52012010-08-23 Keith Seitz <keiths@redhat.com>
5202
5203 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
5204 have any children. Create a new abbrev for it.
5205 Add missing terminal sequence to .debug_abbrev.
5206
c37bf528
KS
52072010-08-20 Keith Seitz <keiths@redhat.com>
5208
5209 PR symtab/11465:
5210 * gdb.dwarf2/pr11465.exp: New test.
5211 * gdb.dwarf2/pr11465.S: New file.
5212 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
5213 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
5214
4572cbac
TJB
52152010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
5216
5217 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
5218 registers. Update data sets with the new v2_double element in the
5219 VSX register union. Add vector_register3_vr data set for the AltiVec
5220 registers. Use gdb_test_no_output instead of send_gdb.
5221
e7fbb131
PA
52222010-08-19 Pedro Alves <pedro@codesourcery.com>
5223
5224 * gdb.python/py-shared.exp: New file, factored out from
5225 python.exp.
5226 * gdb.python/py-shared.c: New file.
5227 * gdb.python/py-shared-sl.c: New file.
5228 * gdb.python/python-1.c: New file.
5229 * gdb.python/python-sl.c: Delete.
5230 * gdb.python/python.c: Mention python-1.c.
5231 * gdb.python/python.exp: Move shared library tests to
5232 py-shared.exp.
5233 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
5234 (MISCELLANEOUS): New.
5235 (clean mostlyclean): Also remove $MISCELLANEOUS.
5236
d30f5e1f
DE
52372010-08-19 Doug Evans <dje@google.com>
5238
5239 PR exp/11926
5240 * gdb.base/printcmds.exp (test_float_accepted): New function.
5241 Move existing float tests there. Add tests for floats with suffixes.
5242 (test_float_rejected): New function.
5243 * gdb.java/jv-print.exp (test_float_accepted): New function.
5244 (test_float_rejected): New function.
5245 * gdb.objc/print.exp: New file.
5246 * gdb.pascal/print.exp: New file.
5247 * lib/objc.exp: New file.
5248
7b3fd859
PM
52492010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
5250
5251 * gdb.base/default.exp (info set): Avoid full buffer error and force
5252 reading up to final gdb prompt.
5253 (show): Likewise.
5254
c92817ce
TT
52552010-08-18 Tom Tromey <tromey@redhat.com>
5256
5257 PR symtab/11919:
5258 * gdb.base/completion.exp: Add test.
5259
f1208f9e
DE
52602010-08-18 Doug Evans <dje@google.com>
5261
5262 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
5263 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
5264 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
5265 Simplify, early exit if runto_main fails.
5266 * gdb.fortran/exprs.exp: load_lib fortran.exp.
5267 (set_lang_fortran): Moved to lib/fortran.exp.
5268 * gdb.fortran/types.exp: load_lib fortran.exp.
5269 (set_lang_fortran): Moved to lib/fortran.exp.
5270 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
5271 * gdb.java/jprint.exp (set_lang_java): Ditto.
5272 * gdb.java/jv-exp.exp: load_lib java.exp.
5273 If set_lang_java fails, issue a warning instead of failure to be
5274 consistent with other set_lang_foo uses.
5275 (set_lang_java): Moved to lib/java.exp.
5276 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
5277 If set_lang_java fails, issue a warning instead of failure to be
5278 consistent with other set_lang_foo uses.
5279 * gdb.pascal/types.exp: load_lib pascal.exp.
5280 (set_lang_pascal): Moved to lib/pascal.exp.
5281 * lib/fortran.exp: New file.
5282 * lib/java.exp (set_lang_java): New function.
5283 * lib/pascal.exp (set_lang_pascal): New function.
5284
2f06b485
YQ
52852010-08-18 Yao Qi <yao@codesourcery.com
5286
5287 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
5288 func_nofb_start and func_loopfb_start, so that address of functions
5289 is equal to these labels on Thumb.
5290
96e25403
YQ
52912010-08-18 Yao Qi <yao@codesourcery.com>
5292
5293 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
5294 to reflect latest c source file.
5295
36e6adc4
JK
52962010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5297
5298 * gdb.cp/infcall-dlopen.exp: New file.
5299 * gdb.cp/infcall-dlopen.cc: New file.
5300 * gdb.cp/infcall-dlopen-lib.cc: New file.
5301
f431efe5
PA
53022010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5303 Pedro Alves <pedro@codesourcery.com>
5304
5305 PR breakpoints/11371
5306
5307 * gdb.base/watch-cond-infcall.exp: New file.
5308 * gdb.base/watch-cond-infcall.c: New file.
5309
06a64a0b
TT
53102010-08-16 Tom Tromey <tromey@redhat.com>
5311
5312 * gdb.base/help.exp: Update.
5313 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
5314 watchpoint.
5315 (test_watch_location): New proc.
5316 (test_watchpoint_in_big_blob): Delete watchpoint.
5317 * gdb.base/watchpoint.c (func5): New function.
5318 (main): Call it.
5319
70ebf4ed
DE
53202010-08-16 Doug Evans <dje@google.com>
5321
5322 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
5323
ca5c20b6
PM
53242010-08-11 Phil Muldoon <pmuldoon@redhat.com>
5325
5326 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
5327 tests.
5328
7346b668
KW
53292010-08-11 Ken Werner <ken.werner@de.ibm.com>
5330
5331 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
5332 * gdb.base/gnu_vector.c: New File.
5333 * gdb.base/gnu_vector.exp: Likewise.
5334
cb2e07a6
PM
53352010-08-11 Phil Muldoon <pmuldoon@redhat.com>
5336
5337 * gdb.python/python.c: New File.
5338 * gdb.python/python-sl.c: New File.
5339 * gdb.python/python.exp: Test solib_address and decode_line
5340 * functions.
5341
5da1313b
JK
53422010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5343
5344 * gdb.python/python.exp (show height, set height 10)
5345 (verify pagination beforehand, verify pagination beforehand: q)
5346 (gdb.execute does not page, verify pagination afterwards)
5347 (verify pagination afterwards: q): New.
5348
49c3ccf7
DE
53492010-08-02 Doug Evans <dje@google.com>
5350
5351 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
5352 because of an older gcc, change test2
5353 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
5354 to unsupported.
5355
42c0c4f1
KH
53562010-07-30 Kazu Hirata <kazu@codesourcery.com>
5357
5358 * gdb.base/break-always.exp: Do not expect full paths to file
5359 names.
5360 * gdb.base/commands.exp: Likewise.
5361
d3765805
DE
53622010-07-30 Doug Evans <dje@google.com>
5363
c98ee71b
DE
5364 * gdb.cp/temargs.exp: For new tests that require newer gccs,
5365 xfail them when run with older gccs.
5366
fd961404
DE
5367 * lib/gdb.exp (build_executable): Forward "c++" option to
5368 get_compiler_info.
5369
999adef4
DE
5370 * gdb.python/py-type.exp (test_template): Mark as xfail tests
5371 "python print ttype.template_argument(1)" and
5372 "python print isinstance(ttype.template_argument(1), gdb.Value)"
5373 if using gcc 4.4 or earlier.
5374
d3765805
DE
5375 * gdb.base/valgrind-db-attach.exp: Use unique test name for
5376 attach-to-debugger handling.
5377
1276c759
JK
53782010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5379
5380 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
5381 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
5382 (main): Use copyreloc.
5383 * gdb.base/prelink.exp (split debug of executable)
5384 (.dynbss vs. .bss address shift): New tests.
5385
88caa9b9
PA
53862010-07-29 Pedro Alves <pedro@codesourcery.com>
5387
5388 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
5389 in gdb_test_multiple.
5390
c6f2ac43
PA
53912010-07-29 Pedro Alves <pedro@codesourcery.com>
5392
5393 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
5394 environment.
5395
326fd672
TT
53962010-07-28 Tom Tromey <tromey@redhat.com>
5397
5398 PR python/11060:
5399 * gdb.python/py-type.c (Temargs): New template.
5400 (temvar): New variable.
5401 * gdb.python/py-type.exp (test_template): New proc.
5402
3ce3b1ba
PA
54032010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
5404
5405 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
5406 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
5407
34eaf542
TT
54082010-07-28 Tom Tromey <tromey@redhat.com>
5409
5410 PR c++/9946:
5411 * gdb.cp/temargs.exp: New file.
5412 * gdb.cp/temargs.cc: New file.
5413
d41b819e
JK
54142010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5415
5416 * gdb.base/help.exp (help disassemble): Update the content.
5417
26ab7092
JK
54182010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5419
5420 * gdb.threads/ia64-sigill.exp: New file.
5421 * gdb.threads/ia64-sigill.c: New file.
5422
5283e9e1
TT
54232010-07-27 Tom Tromey <tromey@redhat.com>
5424
5425 * gdb.opt/inline-cmds.c (ATTR): New define.
5426 (func1): Use it.
5427 (func2): Likewise.
5428 (func3): Likewise.
5429 (outer_inline1): Likewise.
5430 (outer_inline2): Likewise.
5431 * gdb.opt/inline-bt.c (ATTR): New define.
5432 (func1): Use it.
5433 (func2): Likewise.
5434 * gdb.opt/inline-locals.c (ATTR): New define.
5435 (func1): Use it.
5436 (func2): Likewise.
5437
e992ef73
TT
54382010-07-27 Tom Tromey <tromey@redhat.com>
5439
5440 * gdb.stabs/gdb11479.c (hack): New function.
5441 (test): Use it.
5442 (test2): Use it.
5443 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
5444 (int32_search_buf, int64_search_buf): No longer static.
5445 (x): Remove.
5446 * gdb.base/relocate.c (hack): New function.
5447
5374244e
PM
54482010-07-27 Phil Muldoon <pmuldoon@redhat.com>
5449
5450 * gdb.python/py-value.exp (test_inferior_function_call): New function.
5451 * gdb.python/py-value.c (func1): New function.
5452 (func2): Likewise.
5453
a99aee83
CV
54542010-07-26 Corinna Vinschen <vinschen@redhat.com>
5455
5456 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
5457 as not to clash with .data section.
5458
a04ba985
JG
54592010-07-26 Jerome Guitton <guitton@adacore.com>
5460
5461 * gdb.base/code_elim.exp: New file.
5462 * gdb.base/code_elim1.c: New file.
5463 * gdb.base/code_elim2.c: New file.
5464
23bd0f7c
PA
54652010-07-21 Pedro Alves <pedro@codesourcery.com>
5466
5467 PR symtab/11827
5468
5469 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
5470 (some_volatile_enum): New variable.
5471 * gdb.base/printcmds.exp (test_print_enums): New.
5472 <top level>: Call it.
5473
883df6dd
SW
54742010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
5475
5476 * gdb.cp/fpointer.cc: New test.
5477 * gdb.cp/fpointer.exp: New test.
5478
569b05a5
JK
54792010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5480
5481 * gdb.base/solib-nodir.exp: New file.
5482 * lib/gdb.exp (runto): New case for a GDB internal error.
5483
51d7d803
JK
54842010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5485 Ulrich Weigand <uweigand@de.ibm.com>
5486 Tom Tromey <tromey@redhat.com>
5487
5488 * gdb.base/charset-malloc.c: New file.
5489 * gdb.base/charset.c (malloc_stub): New prototype.
5490 (main): Call it instead of malloc itself.
5491 * gdb.base/charset.exp: Use only prepare_for_testing.
5492 (binfile): Remove the variable.
5493
c0edd9ed
JK
54942010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5495
5496 Make core files the process_stratum.
5497 * gdb.base/corefile.exp (run: load core again)
5498 (run: sanity check we see the core file, run: with core)
5499 (run: core file is cleared, attach: load core again)
5500 (attach: sanity check we see the core file, attach: with core)
5501 (attach: core file is cleared): New tests.
5502 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
5503
3cbaedff
KW
55042010-07-14 Ken Werner <ken.werner@de.ibm.com>
5505
5506 * gdb.arch/altivec-abi.exp: New tests.
5507
91158a56
TT
55082010-07-13 Tom Tromey <tromey@redhat.com>
5509
5510 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
5511 (main): Use it.
5512 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
5513
0f5238ed
TT
55142010-07-13 Tom Tromey <tromey@redhat.com>
5515
5516 * gdb.base/label.exp: New file.
5517 * gdb.base/label.c: New file.
5518
add265ae
L
55192010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
5520 H.J. Lu <hongjiu.lu@intel.com>
5521
5522 * lib/gdb.exp (is_ilp32_target): New.
5523 (is_lp64_target): Likewise.
5524
5525 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
5526 target.
5527 * gdb.arch/amd64-disp-step.exp: Likewise.
5528 * gdb.arch/amd64-dword.exp: Likewise.
5529 * gdb.arch/amd64-i386-address.exp: Likewise.
5530 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 5531
add265ae
L
5532 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
5533 target.
5534 * gdb.arch/i386-bp_permanent.exp: Likewise.
5535 * gdb.arch/i386-byte.exp: Likewise.
5536 * gdb.arch/i386-disp-step.exp: Likewise.
5537 * gdb.arch/i386-gnu-cfi.exp: Likewise.
5538 * gdb.arch/i386-prologue.exp: Likewise.
5539 * gdb.arch/i386-size-overlap.exp: Likewise.
5540 * gdb.arch/i386-size.exp: Likewise.
5541 * gdb.arch/i386-sse.exp: Likewise.
5542 * gdb.arch/i386-unwind.exp: Likewise.
5543 * gdb.arch/i386-word.exp: Likewise.
5544
5545 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
5546 test only when building 64-bit executables. Do not hard-code
5547 -m64 option.
5548
2dfb8c17
DE
55492010-07-07 Doug Evans <dje@google.com>
5550
5551 * lib/gdb.exp (gdb_test_list_exact): New function.
5552 * gdb.base/default.exp (show convenience): Call it, add tests for
5553 $_sdata = void, $_thread = 0.
5554
4e5799b6
JK
55552010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5556 Joel Brobecker <brobecker@adacore.com>
5557
5558 Fix re-run of PIE executable, PR shlibs/11776.
5559 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
5560 Remove $displacement_main to match the solib-svr4.c change. New "kill"
5561 and re-"run" of the inferior.
5562
1a219cc7
JK
55632010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5564 Joel Brobecker <brobecker@adacore.com>
5565
5566 Cope with missing /usr/sbin/prelink.
5567 * lib/prelink-support.exp (prelink_no):
5568 <result == 1 && $output is "no such file or directory">: New.
5569 (prelink_yes): Likewise. Return on failed prelink_no.
5570
5e3b36f8
JK
55712010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5572 Joel Brobecker <brobecker@adacore.com>
5573
5574 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
5575 build_executable by build_executable_own_libs. Replace "prelink -R"
5576 execution by a call of prelink_yes. Comment why "prelink -r" needs no
5577 change.
5578 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
5579 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
5580 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
5581 Replace build_executable by build_executable_own_libs's function
5582 build_executable_own_libs.
5583 (prelinkNO): Create new stub to call prelink_no.
5584 (prelinkYES): Create new stub to call prelink_yes.
5585 (test_attach): Rename calls of copy to file_copy.
5586 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
5587 (copy): Move to ...
5588 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
5589 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
5590 * gdb.base/prelink.exp: Disable testcase also for is_remote and
5591 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
5592 special flags by gdb_compile_shlib. Replace second gdb_compile by
5593 build_executable_own_libs. Replace "prelink -R" execution by a call of
5594 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
5595 a second call of prelink_yes. Replace restart commands by
5596 clean_restart.
5597 (prelink): Rename to ...
5598 (seen displacement message): ... this test. Extend its expectation
5599 strictness.
5600
86e4bafc
JK
56012010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5602
5603 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
5604 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
5605 displacement message exactly once.
5606
3cd07d20
JK
56072010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5608 Joel Brobecker <brobecker@adacore.com>
5609
5610 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
5611 its restore after the <$relink_args != ""> loop. new comment.
5612
0a1e94c7
JK
56132010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5614 Joel Brobecker <brobecker@adacore.com>
5615
5616 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
5617 code for it. New variable relink_args.
5618 (prelinkYES): Call prelinkNO.
5619 (test_attach): Accept new parameter relink_args. Re-prelink the binary
5620 in such case. Move the core code to ...
5621 (test_attach_gdb): ... a new function. Send GDB command "file".
5622 Extend expected "Attaching to " string.
5623
2f70bcfb
TT
56242010-07-02 Tom Tromey <tromey@redhat.com>
5625
5626 * gdb.base/bitops.exp: Remove extraneous "pass".
5627
a17ac5b0
TT
56282010-07-02 Ken Werner <ken.werner@de.ibm.com>
5629
5630 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
5631
dc10affe
PA
56322010-07-01 Pedro Alves <pedro@codesourcery.com>
5633
d41c0fc8
PA
5634 * gdb.base/help.exp: Adjust expected output.
5635
56362010-07-01 Pedro Alves <pedro@codesourcery.com>
5637
5638 * gdb.base/help.exp: Adjust expected output.
dc10affe 5639
0a600c36
JK
56402010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5641
5642 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
5643 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
5644 c++/11702.
5645
37cc8bfe
JK
56462010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5647 Doug Evans <dje@google.com>
5648
5649 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
5650 add .dynamic entry'.
5651
254e6b9e
DE
56522010-06-29 Doug Evans <dje@google.com>
5653
5654 Test PR c++/11702.
5655 * gdb.cp/m-static.exp: Add testcase.
5656 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
5657
595939de 56582010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
5659 Tom Tromey <tromey@redhat.com>
5660 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
5661
5662 * gdb.python/py-inferior.c: New File.
5663 * gdb.python/py-infthread.c: New File.
5664 * gdb.python/py-inferior.exp: New File.
5665 * gdb.python/py-infthread.exp: New File.
5666
98751a41
JK
56672010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5668
5669 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
5670 (ptype ::C::OtherFileClass typedefs): New.
5671 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
5672 (C::OtherFileClass::cOtherFileClassVar2): New.
5673 (C::OtherFileClass::cOtherFileClassVar_use): Use also
5674 cOtherFileClassVar2.
5675 (C::cOtherFileType2, C::cOtherFileVar2): New.
5676 (C::cOtherFileVar_use): use also cOtherFileVar2.
5677 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
5678
41f62f39
JK
56792010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5680
5681 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
5682 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
5683 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
5684 (print ::C::cOtherFileVar)
5685 (whatis C::OtherFileClass::cOtherFileClassType)
5686 (whatis ::C::OtherFileClass::cOtherFileClassType)
5687 (print C::OtherFileClass::cOtherFileClassVar)
5688 (print ::cOtherFileClassVar)
5689 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
5690 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
5691 trailing content.
5692 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
5693 (C::OtherFileClass::cOtherFileClassVar)
5694 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
5695 (C::cOtherFileVar, C::cOtherFileVar_use): New.
5696
af53d231
JK
56972010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5698
5699 Test PR c++/11703 and PR gdb/1448.
5700 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
5701 gdb/1448.
5702
9655fd1a
JK
57032010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5704
5705 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
5706 (main) <rtti_data>: New.
5707 * gdb.cp/virtbase.exp (print rtti_data): New.
5708
824cc8dd
JK
57092010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5710 Joel Brobecker <brobecker@adacore.com>
5711
5712 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
5713
6036c742
JK
57142010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5715
5716 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
5717
de6a0421
DE
57182010-06-28 Doug Evans <dje@google.com>
5719
5720 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
5721
b2dae948
DE
57222010-06-27 Doug Evans <dje@google.com>
5723
5724 * gdb.cp/m-static.exp: Update expected test output.
5725
0f3bb72e
PH
57262010-06-25 Paul Hilfinger <hilfinger@adacore.com>
5727
889bf7c5
PA
5728 * gdb.gdb/selftest.exp: Adjust expected message for
5729 capturing start-up runtime.
0f3bb72e 5730
bc9f0842
TT
57312010-06-25 Tom Tromey <tromey@redhat.com>
5732
5733 PR python/10808:
5734 * gdb.python/python.exp: Add new tests.
5735
099ef718
SW
57362010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
5737
5738 * gdb.cp/operator.cc: Created an import loop.
5739 * gdb.cp/operator.exp: Added testcase for import loop.
5740
5868a632
JK
57412010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5742
5743 Test PR python/11407.
5744 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
5745 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
5746 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
5747 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
5748 executable_nofb and executable_fb. New variables srcsfile, objsfile,
5749 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
5750 binfile. Call gdb_compile with clean_restart twice.
5751 (func_nofb print, func_nofb backtrace, func_loopfb print)
5752 (func_loopfb backtrace): New.
5753
af76db58
JK
57542010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5755
5756 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
5757 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
5758 by a hand made one.
5759 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
5760 i?86 requirement. Remove variables srcfile and binfile. New variable
5761 sources, executable_nofb and executable_fb. Call prepare_for_testing.
5762
f2c7657e
UW
57632010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5764
5765 * gdb.cell/dwarfaddr.exp: New file.
5766 * gdb.cell/dwarfaddr.S: New file.
5767
628fe4e4
JK
57682010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5769
5770 Test PR 9436.
5771 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
5772
f1421989
HZ
57732010-06-24 Hui Zhu <teawater@gmail.com>
5774
5775 * gdb.base/eval.exp: New file.
5776
d03285ec
UW
57772010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5778
5779 * gdb.cell/fork.exp: New file.
5780 * gdb.cell/fork.c: Likewise.
5781 * gdb.cell/fork-spu.c: Likewise.
5782
41b2c92d
PM
57832010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
5784
5785 * lib/gdb.exp (banned_variables_traced): New global variable.
5786 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
5787 (gdb_init): Use `trace add variable' instead of obsolete
5788 `trace variable'.
5789
d5bc977f
DE
57902010-06-21 Doug Evans <dje@google.com>
5791
5792 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
5793
d2ed6730
UW
57942010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5795
5796 * gdb.arch/spu-ls.exp: New file.
5797 * gdb.arch/spu-ls.c: Likewise.
5798
6aed2dbc
SS
57992010-06-18 Stan Shebs <stan@codesourcery.com>
5800
5801 * gdb.threads/thread-specific.exp: Add tests of $_thread.
5802
e0756905
UW
58032010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5804
5805 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
5806 * gdb.base/watch-cond.exp: Likewise.
5807 * gdb.python/py-breakpoint.exp: Likewise.
5808
d8053d4d
PA
58092010-06-18 Pedro Alves <pedro@codesourcery.com>
5810
5811 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
5812 clean_restart, make sure every test has a distinct message, and
5813 that messages don't include the executable' full path.
5814
81ce510c
DE
58152010-06-17 Doug Evans <dje@google.com>
5816
5817 * gdb.arch/i386-size.exp: Updated expected output for
5818 DISASSEMBLY_OMIT_FNAME.
5819
65d79d4b
SDJ
58202010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5821 Sergio Durigan Junior <sergiodj@redhat.com>
5822
5823 * gdb.base/watch-notconst.c: New file.
5824 * gdb.base/watch-notconst.S: New file.
5825 * gdb.base/watch-notconst2.c: New file.
5826 * gdb.base/watch-notconst2.S: New file.
5827 * gdb.base/watch-notconst.exp: New file.
5828 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
5829 (func4): Add operations on `global_ptr_ptr'.
5830 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
5831 routine to test watchpoints created with a constant expression.
5832 (test_inaccessible_watchpoint): Include tests for watchpoints
5833 created with a constant expression.
5834
df0f4836
KB
58352010-06-14 Kevin Buettner <kevinb@redhat.com>
5836
5837 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
5838 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
5839 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
5840 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
5841 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
5842 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
5843 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
5844 of `_start'.
5845
b769def5
UW
58462010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5847
5848 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
5849 not supported on the target.
5850 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5851 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5852 * gdb.mi/mi-nsintrall.exp: Likewise.
5853 * gdb.mi/mi-nsmoribund.exp: Likewise.
5854 * gdb.mi/mi-nsthrexec.exp: Likewise.
5855
d914c394
SS
58562010-06-11 Stan Shebs <stan@codesourcery.com>
5857
5858 * gdb.base/permissions.exp: New file.
5859
58602010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
5861
5862 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
5863 does not support ELF executable class.
5864
f3ce5b9c
UW
58652010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5866
5867 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
5868
8e46892c
JK
58692010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5870
5871 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
5872 (runto): Catch "The target does not support running in non-stop mode.".
5873
6cc55c64
MS
58742010-06-11 Michael Snyder <msnyder@vmware.com>
5875
5876 * gdb.base/setshow.exp (set language asm): Don't use
5877 gdb_test_no_output, fails on some targets.
5878
caddefa4
UW
58792010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5880
5881 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
5882 * gdb.cp/pr9167.exp: Likewise.
5883
468b1aa7
UW
58842010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5885
5886 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
5887
5c3552dc
UW
58882010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5889
5890 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
5891
02e6fe6a
UW
58922010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5893
5894 * gdb.base/charset.c (main): Make sure malloc gets linked in.
5895
0e03807e
TT
58962010-06-11 Tom Tromey <tromey@redhat.com>
5897
5898 PR gdb/9977, PR exp/11636::
5899 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
5900 (pieces_test_f6): Update expected output.
5901
2bdf28a0
JK
59022010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5903
5904 * gdb.base/moribund-step.exp: New.
5905
f6978de9
MS
59062010-06-08 Michael Snyder <msnyder@vmware.com>
5907
5908 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 5909 * gdb.ada/boolean_expr.exp:
f6978de9
MS
5910 * gdb.ada/frame_args.exp: Ditto.
5911 * gdb.ada/lang_switch.exp: Ditto.
5912 * gdb.ada/ptype_arith_binop.exp: Ditto.
5913 * gdb.ada/ref_param.exp: Ditto.
5914 * gdb.ada/type_coercion.exp:Ditto.
5915
5916 * gdb.asm/asm-source.exp: Ditto.
5917
5918 * gdb.base/attach.exp: Ditto.
5919 * gdb.base/bitfields2.exp: Ditto.
5920 * gdb.base/call-signal-resume.exp: Ditto.
5921 * gdb.base/callfuncs.exp: Ditto.
5922 * gdb.base/commands.exp: Ditto.
5923 * gdb.base/dbx.exp: Ditto.
5924 * gdb.base/default.exp: Ditto.
5925 * gdb.base/dump.exp: Ditto.
5926 * gdb.base/exprs.exp: Ditto.
5927 * gdb.base/freebpcmd.exp: Ditto.
5928 * gdb.base/interrupt.exp: Ditto.
5929 * gdb.base/list.exp: Ditto.
5930 * gdb.base/long_long.exp: Ditto.
5931 * gdb.base/maint.exp: Ditto.
5932 * gdb.base/ptype.exp: Ditto.
5933 * gdb.base/return.exp: Ditto.
5934 * gdb.base/setshow.exp: Ditto.
5935 * gdb.base/sigbpt.exp: Ditto.
5936 * gdb.base/sigrepeat.exp: Ditto.
5937
5938 * gdb.cp/classes.exp: Ditto.
5939
5940 * gdb.dwarf2/dw2-restore.exp: Ditto.
5941
5942 * gdb.gdb/selftest.exp: Ditto.
5943
5944 * gdb.multi/base.exp: Ditto.
5945 * gdb.multi/bkpt-multi-exec.exp: Ditto.
5946
5947 * gdb.python/py-block.exp: Ditto.
5948 * gdb.python/py-prettyprint.exp: Ditto.
5949 * gdb.python/py-template.exp: Ditto.
5950
5951 * gdb.server/ext-attach.exp: Ditto.
5952 * gdb.server/ext-run.exp: Ditto.
5953 * gdb.server/server-mon.exp: Ditto.
5954
5955 * gdb.threads/fork-thread-pending.exp: Ditto.
5956 * gdb.threads/hand-call-in-threads.exp: Ditto.
5957 * gdb.threads/interrupted-hand-call.exp: Ditto.
5958 * gdb.threads/linux-dp.exp: Ditto.
5959 * gdb.threads/manythreads.exp: Ditto.
5960 * gdb.threads/print-threads.exp: Ditto.
5961 * gdb.threads/pthreads.exp: Ditto.
5962 * gdb.threads/schedlock.exp: Ditto.
5963 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5964 * gdb.threads/threadapply.exp: Ditto.
5965
de7ff789
MS
59662010-06-08 Michael Snyder <msnyder@vmware.com>
5967
889bf7c5 5968 * gdb.ada/exec_changed.exp:
de7ff789
MS
5969 Use ".*" instead of "" as wildcard regexp.
5970
5971 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
5972 * gdb.base/call-ar-st.exp: Ditto.
5973 * gdb.base/checkpoint.exp: Ditto.
5974 * gdb.base/default.exp: Ditto.
5975 * gdb.base/dump.exp: Ditto.
5976 * gdb.base/ending-run.exp: Ditto.
5977 * gdb.base/fileio.exp: Ditto.
5978 * gdb.base/miscexprs.exp: Ditto.
5979 * gdb.base/pointers.exp: Ditto.
5980 * gdb.base/readline.exp: Ditto.
5981 * gdb.base/reread.exp: Ditto.
5982 * gdb.base/restore.exp: Ditto.
5983 * gdb.base/shlib-call.exp: Ditto.
5984 * gdb.base/valgrind-db-attach.exp: Ditto.
5985 * gdb.base/volatile.exp: Ditto.
5986 * gdb.base/watchpoints.exp: Ditto.
5987
5988 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
5989
5990 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
5991 * gdb.python/py-value.exp: Ditto.
5992
5993 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
5994 * gdb.trace/circ.exp: Ditto.
5995 * gdb.trace/collection.exp: Ditto.
5996 * gdb.trace/packetlen.exp: Ditto.
5997 * gdb.trace/passc-dyn.exp: Ditto.
5998 * gdb.trace/report.exp: Ditto.
5999 * gdb.trace/tfile.exp: Ditto.
6000 * gdb.trace/tfind.exp: Ditto.
6001 * gdb.trace/while-dyn.exp: Ditto.
6002
3bebe2f2
JK
60032010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6004
6005 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
6006
5c631832
JK
60072010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6008
6009 Test PR 10640.
6010 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
6011
4c3376c8
SW
60122010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
6013
6014 * gdb.cp/koenig.exp: Test for ADL operators.
6015 * gdb.cp/koenig.cc: Added ADL operators.
6016 * gdb.cp/operator.exp: New test.
6017 * gdb.cp/operator.cc: New test.
6018
dc226d5a
MS
60192010-06-04 Michael Snyder <msnyder@vmware.com>
6020
dfb88a23
MS
6021 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
6022 * gdb.base/pending.exp: Ditto.
f7ae76b3 6023
dc226d5a
MS
6024 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
6025
967cf477
DE
60262010-06-04 Doug Evans <dje@google.com>
6027
6028 * gdb.python/py-prettyprint.exp: Add new test for enabled and
6029 disabled printers.
6030 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
6031 (enable_lookup_function): New function.
6032
eb801841
TT
60332010-06-04 Tom Tromey <tromey@redhat.com>
6034
6035 * gdb.python/py-value.exp (test_value_hash): Don't test equality
6036 of hash and id.
6037
38979823
JK
60382010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6039
6040 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
6041 newline.
6042 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
6043 (empty verbose non-noisy clear, empty verbose noisy clear)
6044 (empty non-verbose noisy clear): Likewise.
6045
35ec993f
MS
60462010-06-03 Michael Snyder <msnyder@vmware.com>
6047
6048 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
6049 * gdb.base/display.exp: Ditto.
6050 * gdb.base/find.exp: Ditto.
6051 * gdb.base/ifelse.exp: Ditto.
6052 * gdb.base/multi-forks.exp: Ditto.
6053 * gdb.base/recurse.exp: Ditto.
6054 * gdb.base/setshow.exp: Ditto.
6055 * gdb.base/value-double-free.exp: Ditto.
6056 * gdb.base/watch-vfork.exp: Ditto.
6057 * gdb.base/watch_thread_num.exp: Ditto.
6058 * gdb.base/watchpoint-solib.exp: Ditto.
6059 * gdb.base/watchpoint.exp: Ditto.
6060 * gdb.base/watchpoints.exp: Ditto.
6061
6062 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
6063 * gdb.cp/overload.exp: Ditto.
6064 * gdb.cp/virtfunc.exp: Ditto.
6065
6066 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
6067
889bf7c5 6068 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
6069 Replace gdb_test with gdb_test_no_output.
6070
889bf7c5 6071 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
6072 Replace gdb_test with gdb_test_no_output.
6073 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
6074 * gdb.threads/watchthreads.exp: Ditto.
6075 * gdb.threads/watchthreads2.exp: Ditto.
6076
6077 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
6078 * gdb.trace/tfind.exp: Ditto.
6079
c22decce
JB
60802010-06-03 Joel Brobecker <brobecker@adacore.com>
6081
6082 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
6083 successful test if message is the empty string.
6084
fd5700c7
JK
60852010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6086
6087 * gdb.fortran/module.exp (stopped language detection): New test.
6088
f55ee35c
JK
60892010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6090
6091 Support DW_TAG_module as separate namespaces.
6092 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
6093 gdb.fortran/library-module-lib.f90: New.
6094 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
6095 (print i): Remove.
6096 (continue to breakpoint: i-is-1, print var_i value 1)
6097 (continue to breakpoint: i-is-2, print var_i value 2)
6098 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
6099 (print var_d, print var_i value 14, ptype modmany, complete `modm)
6100 (complete `modmany, complete `modmany`, complete `modmany`var)
6101 (show language, setting breakpoint at module): New tests.
6102 * gdb.fortran/module.f90 (module mod): Remove.
6103 (module mod1, module mod2, module modmany, subroutine sub1)
6104 (subroutine sub2, program module): New.
6105
b8e8282f
JK
61062010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6107
6108 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
6109 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
6110 * gdb.cp/anon-union.exp (pass): Rename to ...
6111 (print z 2): ... here.
b8e8282f 6112
019ebafc
MS
61132010-06-02 Michael Snyder <msnyder@vmware.com>
6114
e68d8fd4
MS
6115 * gdb.trace/actions.exp: Use gdb_test_no_output.
6116 * gdb.trace/circ.exp: Ditto.
6117 * gdb.trace/packetlen.exp: Ditto.
6118 * gdb.trace/save-trace.exp: Ditto.
6119 * gdb.trace/tracecmd.exp: Ditto.
6120 * gdb.trace/tsv.exp: Ditto.
6121
12b5d08a
MS
6122 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
6123 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
6124 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
6125 * gdb.threads/manythreads.exp: Ditto.
6126 * gdb.threads/print-threads.exp: Ditto.
6127 * gdb.threads/pthreads.exp: Ditto.
6128 * gdb.threads/schedlock.exp: Ditto.
6129 * gdb.threads/staticthreads.exp: Ditto.
6130 * gdb.threads/thread-specific.exp: Ditto.
6131 * gdb.threads/thread-unwindonsignal.exp: Ditto.
6132 * gdb.threads/threadapply.exp: Ditto.
6133 * gdb.threads/watchthreads.exp: Ditto.
6134 * gdb.threads/watchthreads2.exp: Ditto.
6135
89493308
MS
6136 * gdb.python/py-block.exp: Use gdb_test_no_output.
6137 * gdb.python/py-prettyprint.exp: Ditto.
6138 * gdb.python/py-template.exp: Ditto.
6139 * gdb.python/py-value.exp: Ditto.
6140
6141 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
6142 * gdb.reverse/watch-reverse.exp: Ditto.
6143
6144 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
6145 * gdb.server/ext-run.exp: Ditto.
6146
019ebafc
MS
6147 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
6148 * gdb.dwarf2/dw2-compressed.exp: Ditto.
6149 * gdb.dwarf2/dw2-intercu.exp: Ditto.
6150 * gdb.dwarf2/dw2-intermix.exp: Ditto.
6151 * gdb.dwarf2/dw2-producer.exp: Ditto.
6152 * gdb.dwarf2/mac-fileno.exp: Ditto.
6153
6154 * gdb.gdb/observer.exp: Use gdb_test_no_output.
6155 * gdb.gdb/selftest.exp: Ditto.
6156
6157 * gdb.multi/base.exp: Use gdb_test_no_output.
6158
6159 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
6160
3e0ca3a5
JK
61612010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6162
6163 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
6164
9db70545
MS
61652010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
6166
a8d52276
MS
6167 * gdb.cp/class2.exp: Use gdb_test_no_output.
6168 * gdb.cp/classes.exp: Ditto.
6169 * gdb.cp/extern-c.exp: Ditto.
6170 * gdb.cp/inherit.exp: Ditto.
6171 * gdb.cp/maint.exp: Ditto.
6172 * gdb.cp/mb-inline.exp: Ditto.
6173 * gdb.cp/mb-templates.exp: Ditto.
6174 * gdb.cp/method2.exp: Ditto.
6175 * gdb.cp/misc.exp: Ditto.
6176 * gdb.cp/ovldbreak.exp: Ditto.
6177 * gdb.cp/punctuator.exp: Ditto.
6178 * gdb.cp/templates.exp: Ditto.
6179 * gdb.cp/virtbase.exp: Ditto.
6180
889bf7c5 6181 * gdb.threads/attach-stopped.exp:
9db70545 6182 Replace uses of send_gdb / gdb_expect.
889bf7c5 6183 * gdb.threads/attachstop-mt.exp:
9db70545 6184 Replace uses of send_gdb / gdb_expect.
889bf7c5 6185 * gdb.threads/gcore-thread.exp:
9db70545 6186 Replace uses of send_gdb / gdb_expect.
889bf7c5 6187 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
6188 Replace uses of send_gdb / gdb_expect.
6189 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 6190 * gdb.threads/print-threads.exp:
9db70545
MS
6191 Replace uses of send_gdb / gdb_expect.
6192 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
6193 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
6194 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
6195
6196 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
6197 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
6198 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
6199 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
6200 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
6201 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
6202 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
6203 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
6204 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
6205 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
6206 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
6207
359cc68c
JK
62082010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6209
6210 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
6211
7d3fe98e
SW
62122010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
6213
6214 * gdb.cp/koenig.exp: Added new test case.
6215 * gdb.cp/koenig.cc: Ditto.
6216
27d3a1a2
MS
62172010-06-01 Michael Snyder <msnyder@vmware.com>
6218
6219 * gdb.base/arithmet.exp: Use gdb_test_no_output.
6220 * gdb.base/arrayidx.exp: Ditto.
6221 * gdb.base/attach.exp: Ditto.
6222 * gdb.base/auxv.exp: Ditto.
6223 * gdb.base/bigcre.exp: Ditto.
6224 * gdb.base/break-always.exp: Ditto.
6225 * gdb.base/break-interp.exp: Ditto.
6226 * gdb.base/break.exp: Ditto.
6227 * gdb.base/breakpoint-shadow.exp: Ditto.
6228 * gdb.base/call-ar-st.exp: Ditto.
6229 * gdb.base/call-sc.exp: Ditto.
6230 * gdb.base/call-signal-resume.exp: Ditto.
6231 * gdb.base/callfuncs.exp: Ditto.
6232 * gdb.base/catch-syscall.exp: Ditto.
6233 * gdb.base/charset.exp: Ditto.
6234 * gdb.base/code-expr.exp: Ditto.
6235 * gdb.base/commands.exp: Ditto.
6236 * gdb.base/cond-expr.exp: Ditto.
6237 * gdb.base/condbreak.exp: Ditto.
6238 * gdb.base/cursal.exp: Ditto.
6239 * gdb.base/cvexpr.exp: Ditto.
6240 * gdb.base/default.exp: Ditto.
6241 * gdb.base/del.exp: Ditto.
6242 * gdb.base/detach.exp: Ditto.
6243 * gdb.base/display.exp: Ditto.
6244 * gdb.base/ena-dis-br.exp: Ditto.
6245 * gdb.base/eval-skip.exp: Ditto.
6246 * gdb.base/foll-fork.exp: Ditto.
6247 * gdb.base/foll-vfork.exp: Ditto.
6248 * gdb.base/frame-args.exp: Ditto.
6249 * gdb.base/funcargs.exp: Ditto.
6250 * gdb.base/gcore-buffer-overflow.exp: Ditto.
6251 * gdb.base/gdbvars.exp: Ditto.
6252 * gdb.base/help.exp: Ditto.
6253 * gdb.base/ifelse.exp: Ditto.
6254 * gdb.base/included.exp: Ditto.
6255 * gdb.base/list.exp: Ditto.
6256 * gdb.base/macscp.exp: Ditto.
6257 * gdb.base/maint.exp: Ditto.
6258 * gdb.base/multi-fork.exp: Ditto.
6259 * gdb.base/overlays.exp: Ditto.
6260 * gdb.base/page.exp: Ditto.
6261 * gdb.base/pending.exp: Ditto.
6262 * gdb.base/pointers.exp: Ditto.
6263 * gdb.base/pr11022.exp: Ditto.
6264 * gdb.base/prelink.exp: Ditto.
6265 * gdb.base/printcmds.exp: Ditto.
6266 * gdb.base/psymtab.exp: Ditto.
6267 * gdb.base/randomize.exp: Ditto.
6268 * gdb.base/relational.exp: Ditto.
6269 * gdb.base/relocate.exp: Ditto.
6270 * gdb.base/remote.exp: Ditto.
6271 * gdb.base/sepdebug.exp: Ditto.
6272 * gdb.base/set-lang-auto.exp: Ditto.
6273 * gdb.base/setshow.exp: Ditto.
6274 * gdb.base/setvar.exp: Ditto.
6275 * gdb.base/signals.exp: Ditto.
6276 * gdb.base/signull.exp: Ditto.
6277 * gdb.base/sigstep.exp: Ditto.
6278 * gdb.base/sizeof.exp: Ditto.
6279 * gdb.base/solib-disc.exp: Ditto.
6280 * gdb.base/store.exp: Ditto.
6281 * gdb.base/structs.exp: Ditto.
6282 * gdb.base/structs2.exp: Ditto.
6283 * gdb.base/subst.exp: Ditto.
6284 * gdb.base/term.exp: Ditto.
6285 * gdb.base/trace-commands.exp: Ditto.
6286 * gdb.base/unwindonsignal.exp: Ditto.
6287 * gdb.base/valgrind-db-attach.exp: Ditto.
6288 * gdb.base/varargs.exp: Ditto.
6289 * gdb.base/watch-cond.exp: Ditto.
6290 * gdb.base/watch_thread_num.exp: Ditto.
6291 * gdb.base/watchpoint-cond-gone.exp: Ditto.
6292 * gdb.base/watchpoint.exp: Ditto.
6293 * gdb.base/whatis-exp.exp: Ditto.
6294
f8d3bf8f
MS
62952010-06-01 Michael Snyder <msnyder@vmware.com>
6296
6297 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
6298 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
6299 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
6300 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
6301 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
6302 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
6303 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
6304 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
6305 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
6306 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
6307 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
6308 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
6309 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
6310 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
6311 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
6312
3f9e0d32
JK
63132010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6314
6315 * gdb.base/commands.exp (begin commands on watch): Remove excessive
6316 trailing newline.
6317 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
6318 * gdb.java/jmisc.exp (p *args\n): Rename to ...
6319 (p *args): ... here and remove excessive trailing newline.
6320
f629457d
JB
63212010-05-31 Joel Brobecker <brobecker@adacore.com>
6322
6323 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
6324
09eef106
JK
63252010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
6326
6327 Accept the new Linux kernel "t (tracing stop)" string.
6328 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
6329 Update comment.
6330 (state_wait) <T (tracing stop)>: New.
6331 (main): Update the state_wait expect string.
6332
94f31136
PA
63332010-05-28 Pedro Alves <pedro@codesourcery.com>
6334
6335 * limits.c, limits.exp: Delete files.
6336 * Makefile.in (clean mostlyclean): Adjust.
6337 * tracecmd.exp: Adjust.
6338
096554ab
JK
63392010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6340
6341 * gdb.base/tui-layout.exp: New.
6342
27d3a1a2 63432010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 6344
889bf7c5 6345 * gdb.reverse/break-precsave.exp:
bcd2dc50 6346 Replace uses of send_gdb / gdb_expect.
889bf7c5 6347 * gdb.reverse/break-reverse.exp:
bcd2dc50 6348 Replace uses of send_gdb / gdb_expect.
889bf7c5 6349 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 6350 Replace uses of send_gdb / gdb_expect.
889bf7c5 6351 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 6352 Replace uses of send_gdb / gdb_expect.
889bf7c5 6353 * gdb.reverse/finish-precsave.exp:
bcd2dc50 6354 Replace uses of send_gdb / gdb_expect.
889bf7c5 6355 * gdb.reverse/finish-reverse.exp:
bcd2dc50 6356 Replace uses of send_gdb / gdb_expect.
889bf7c5 6357 * gdb.reverse/i386-precsave.exp:
bcd2dc50 6358 Replace uses of send_gdb / gdb_expect.
889bf7c5 6359 * gdb.reverse/i386-reverse.exp:
bcd2dc50 6360 Replace uses of send_gdb / gdb_expect.
889bf7c5 6361 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 6362 Replace uses of send_gdb / gdb_expect.
889bf7c5 6363 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 6364 Replace uses of send_gdb / gdb_expect.
889bf7c5 6365 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 6366 Replace uses of send_gdb / gdb_expect.
889bf7c5 6367 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 6368 Replace uses of send_gdb / gdb_expect.
889bf7c5 6369 * gdb.reverse/machinestate.exp:
bcd2dc50 6370 Replace uses of send_gdb / gdb_expect.
889bf7c5 6371 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 6372 Replace uses of send_gdb / gdb_expect.
889bf7c5 6373 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 6374 Replace uses of send_gdb / gdb_expect.
889bf7c5 6375 * gdb.reverse/solib-precsave.exp:
bcd2dc50 6376 Replace uses of send_gdb / gdb_expect.
889bf7c5 6377 * gdb.reverse/solib-reverse.exp:
bcd2dc50 6378 Replace uses of send_gdb / gdb_expect.
889bf7c5 6379 * gdb.reverse/step-precsave.exp:
bcd2dc50 6380 Replace uses of send_gdb / gdb_expect.
889bf7c5 6381 * gdb.reverse/step-reverse.exp:
bcd2dc50 6382 Replace uses of send_gdb / gdb_expect.
889bf7c5 6383 * gdb.reverse/until-precsave.exp:
bcd2dc50 6384 Replace uses of send_gdb / gdb_expect.
889bf7c5 6385 * gdb.reverse/until-reverse.exp:
bcd2dc50 6386 Replace uses of send_gdb / gdb_expect.
889bf7c5 6387 * gdb.reverse/watch-precsave.exp:
bcd2dc50 6388 Replace uses of send_gdb / gdb_expect.
889bf7c5 6389 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
6390 Replace uses of send_gdb / gdb_expect.
6391
3def43e0
JK
63922010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6393
6394 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
6395 excessive newline.
6396
27d3a1a2 63972010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
6398
6399 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
6400 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
6401 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
6402 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
6403 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
6404 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
6405 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
6406 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
6407 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
6408 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
6409 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
6410 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
6411 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
6412 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
6413 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
6414 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
6415 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
6416 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
6417 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 6418
27d3a1a2 64192010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 6420
22454424
MS
6421 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
6422 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
6423
6424 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
6425 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
6426 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
6427
889bf7c5 6428 * gdb.reverse/consecutive-reverse.exp:
22454424 6429 Replace uses of send_gdb / gdb_expect.
889bf7c5 6430 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
6431 Replace uses of send_gdb / gdb_expect.
6432
6433 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
6434 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
6435 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 6436 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
6437 Replace uses of send_gdb / gdb_expect.
6438 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
6439 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
6440 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
6441 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
6442 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
6443 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
6444 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
6445 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
6446 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
6447
64482010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 6449
22454424 6450 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 6451
22454424 6452 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 6453
22454424
MS
6454 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
6455 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
6456 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
6457 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
6458 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
6459 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
6460 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
6461 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
6462 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 6463
6e5f2c59
TT
64642010-05-25 Tom Tromey <tromey@redhat.com>
6465
6466 * gdb.base/macscp.exp: Add missing space after setup_kfail.
6467
bbc8b958
TT
64682010-05-25 Tom Tromey <tromey@redhat.com>
6469
6470 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
6471 argument order.
6472 * gdb.base/macscp.exp: Fix setup_kfail argument order.
6473 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
6474 order.
6475 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
6476 order.
6477 * gdb.base/call-sc.exp (setup_kfails): Remove.
6478 (setup_compiler_kfails): Remove.
6479 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
6480 argument order.
6481 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
6482 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
6483 (advancei): Fix setup_kfail argument order.
6484 * gdb.base/radix.exp: Fix setup_kfail argument order.
6485 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
6486 order.
6487 * gdb.base/structs.exp (setup_kfails): Remove.
6488 (setup_compiler_kfails): Fix setup_kfail argument order.
6489 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
6490 order.
6491 * gdb.java/jmain.exp: Fix setup_kfail argument order.
6492 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
6493 setup_kfail argument order.
6494 * gdb.cp/overload.exp: Fix setup_kfail argument order.
6495
83d1babf
TT
64962010-05-25 Tom Tromey <tromey@redhat.com>
6497
6498 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
6499
6acb16a2
MS
65002010-05-25 Michael Snyder <msnyder@vmware.com>
6501
6502 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
6503 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
6504 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
6505 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
6506 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
6507 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
6508 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
6509 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
6510 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
6511 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
6512 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
6513 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
6514 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
6515 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
6516 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
6517 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
6518 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
6519 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
6520 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
6521 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
6522 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
6523 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
6524 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
6525 * gdb.base/default.exp: Replace send_gdb with gdb_test.
6526 * gdb.base/define.exp: Replace send_gdb with gdb_test.
6527 * gdb.base/display.exp: Replace send_gdb with gdb_test.
6528 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
6529 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
6530 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
6531 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
6532 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
6533 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
6534 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
6535 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
6536 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
6537 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
6538 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
6539 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
6540 * gdb.base/help.exp: Replace send_gdb with gdb_test.
6541 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
6542 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
6543 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
6544 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
6545 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
6546 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
6547 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
6548 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 6549 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
6550
65512010-05-25 Doug Evans <dje@google.com>
6552
6553 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
6554 gdb.string_to_argv.
ad3986f0 6555
d3b1e874
TT
65562010-05-21 Tom Tromey <tromey@redhat.com>
6557
6558 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
6559 Call it.
6560 * gdb.dwarf2/pieces.S: Update.
6561 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
6562
cb826367
TT
65632010-05-21 Tom Tromey <tromey@redhat.com>
6564
6565 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
6566 Call it.
6567 * gdb.dwarf2/pieces.c (struct C): New.
6568 (f6): New function.
6569 * gdb.dwarf2/pieces.S: Replace.
6570
74de6778
TT
65712010-05-21 Tom Tromey <tromey@redhat.com>
6572
6573 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
6574 Call it.
6575
afd74c5f
TT
65762010-05-21 Tom Tromey <tromey@redhat.com>
6577
6578 * gdb.dwarf2.pieces.exp: New file.
6579 * gdb.dwarf2.pieces.S: New file.
6580 * gdb.dwarf2.pieces.c: New file.
6581
a7b75dfd 65822010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 6583 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
6584
6585 * lib/gdb.exp (gdb_test_no_output): New function.
6586 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
6587 when testing commands that should produce no output.
6588
c81c812a
JB
65892010-05-17 Joel Brobecker <brobecker@adacore.com>
6590
6591 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
6592 parameter that we want to watch being a constant.
6593
0cce5bd9
JB
65942010-05-17 Joel Brobecker <brobecker@adacore.com>
6595
6596 * gdb.ada/cond_lang: New testcase.
6597
47050449
JB
65982010-05-17 Joel Brobecker <brobecker@adacore.com>
6599
6600 * lib/gdb.exp (banned_variables): New variable/constant.
6601 (gdb_init): Add write trace on variables listed in banned_variables.
6602 (gdb_finish): Remove write traces on variables listed in
6603 banned_variables.
6604
77c01586
JB
66052010-05-17 Joel Brobecker <brobecker@adacore.com>
6606
6607 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
6608 * gdb.cp/koenig.exp: Likewise.
6609
88d4aea7
PM
66102010-05-14 Phil Muldoon <pmuldoon@redhat.com>
6611
889bf7c5 6612 PR python/11482
88d4aea7
PM
6613
6614 * gdb.python/py-value.exp (test_value_hash): New function.
6615
f5a010c0
PM
66162010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
6617
6618 PR exp/11530.
6619 * gdb.base/gdb11530.c: New file.
6620 * gdb.base/gdb11530.exp: New file.
6621
8ef4892f
JK
66222010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6623
6624 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
6625 * gdb.dwarf2/dw2-modula2-self-type.S: New.
6626
7322dca9
SW
66272010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
6628
6629 * gdb.cp/koenig.exp: New test.
6630 * gdb.cp/koenig.cc: New test program.
6631
02e7ea18
JB
66322010-05-05 Joel Brobecker <brobecker@adacore.com>
6633
6634 Remove the use of prms_id and bug_id throughout the testsuite.
6635
e1c34c5d
PM
66362010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
6637
6638 PR exp/11349.
6639 * testsuite/gdb.cp/ref-types.exp: Add test to examine
6640 use a reference local variable.
6641
8e1d0c49
JK
66422010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6643
6644 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
6645 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
6646 variable different_dir. Move debugfile into a full directory pathname
6647 under DIFFERENT_DIR.
6648 * lib/gdb.exp (separate_debug_filename): Remove.
6649 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
6650 variable debug_dir and mkdir of it. Update function comments.
6651
e66408ed
PA
66522010-04-29 Pedro Alves <pedro@codesourcery.com>
6653
6654 PR gdb/11557
6655
6656 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
6657 files.
6658
d7b32ed3
PM
66592010-04-29 Phil Muldoon <pmuldoon@redhat.com>
6660
889bf7c5 6661 * gdb.python/py-param.exp: New File.
d7b32ed3 6662
6aecb9c2
JB
66632010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
6664
6665 * gdb.base/default.exp: Fix "set language" test.
6666
bdf92a1c
PM
66672010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
6668
6669 PR breakpoints/11531.
6670 * gdb.base/gdb11531.c: New file.
6671 * gdb.base/gdb11531.exp: New file.
6672
3f172e24
TT
66732010-04-26 Tom Tromey <tromey@redhat.com>
6674
6675 * gdb.base/completion.exp: Add tests for completion and deprecated
6676 commands.
6677
64af4c92
JK
66782010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6679
6680 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
6681 (print /x char_array): Escape curly brackets.
6682
492928e4
JK
66832010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6684
6685 Fix deadlock on looped list of loaded shared objects.
6686 * gdb.base/solib-corrupted.exp: New.
6687
66d09542
DE
66882010-04-23 Doug Evans <dje@google.com>
6689
6690 * gdb.python/py-section-script.c: New file.
6691 * gdb.python/py-section-script.exp: New file.
6692 * gdb.python/py-section-script.py: New file.
6693
8bd10a10
CM
66942010-04-20 Chris Moller <cmoller@redhat.com>
6695
6696 PR 10179
6697
6698 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
6699 * gdb.base/pr10179-a.c:
6700 * gdb.base/pr10179-b.c:
6701 * gdb.base/pr10179.exp: New files.
6702
c0201579
JK
67032010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6704
6705 Fix crashes on dangling display expressions.
6706 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
6707 is SEP.
6708 (lib_flags): Remove the "debug" keyword.
6709 (libsepdebug): New variable for iterating new loop.
6710 (save_pf_prefix): New variable wrapping the loop.
6711 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
6712 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
6713
793b0ff8
PM
67142010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6715
6716 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
6717
097f51f7
PM
67182010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6719
6720 PR stabs/11479.
6721 * gdb.stabs/gdb11479.exp: New file.
6722 * gdb.stabs/gdb11479.c: New file.
6723
9a22f0d0
PM
67242010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6725
6726 * gdb.base/charset.c (Strin16, String32): New variables.
6727 * gdb.base/charset.exp (gdb_test): Test correct display
6728 of 16 or 32 bit strings.
6729
67302010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
6731
6732 PR 9167
6733 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
6734 * gdb.cp/pr9167.cc: New file.
6735 * gdb.cp/pr9167.exp: New file.
6736
6737
6e354e5e
PM
67382010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
6739
6740 PR pascal/11492.
6741 * gdb.pascal/gdb11492.pas: New file.
6742 * gdb.pascal/gdb11492.exp: New file.
6743
be942545
JB
67442010-04-20 Joel Brobecker <brobecker@adacore.com>
6745
1667e6e3 6746 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 6747
0c3acc09
JB
67482010-04-20 Joel Brobecker <brobecker@adacore.com>
6749
6750 * gdb.ada/dyn_loc: New testcase.
6751
ec31cde5
CM
67522010-04-20 Chris Moller <cmoller@redhat.com>
6753
6754 PR 10867
889bf7c5 6755
ec31cde5
CM
6756 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
6757 * gdb.cp/pr10687.cc: New file.
6758 * gdb.cp/pr10687.exp: New file.
6759
6760
ce4b0682
SDJ
67612010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6762 Sergio Durigan Junior <sergiodj@redhat.com>
6763
6764 * gdb.fortran/logical.exp: New testcase.
6765 * gdb.fortran/logical.f90: New file.
6766
3436961f
DE
67672010-04-19 Doug Evans <dje@google.com>
6768
6769 * gdb.base/help.exp (help source): Update expected output.
6770
4d836c09
JK
67712010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6772
6773 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
6774 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
6775 gdb_exit and return.
6776 (executable): New variable.
6777 (binfile): Use it.
6778
6149aea9
PA
67792010-04-19 Pedro Alves <pedro@codesourcery.com>
6780
6781 PR breakpoints/8554.
6782
6783 * gdb.trace/save-trace.exp: Adjust.
6784
ed41462c
L
67852010-04-17 H.J. Lu <hongjiu.lu@intel.com>
6786
6787 PR corefiles/11511
6788 * gdb.arch/system-gcore.exp: New.
6789 * gdb.arch/gcore.c: Likewise.
6790
3f7b2faa
DE
67912010-04-15 Doug Evans <dje@google.com>
6792
fa33c3cd
DE
6793 * gdb.python/py-progspace.c: New file.
6794 * gdb.python/py-progspace.exp: New file.
6795
3f7b2faa
DE
6796 * gdb.base/source.exp: Add tests for "source -s".
6797
79f283fe
PM
67982010-04-14 Phil Muldoon <pmuldoon@redhat.com>
6799
6800 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
6801 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
6802 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
6803 * gdb.python/py-mi.exp: New test for to_string returning None.
6804
fc8eb08a
PM
68052010-04-12 Phil Muldoon <pmuldoon@redhat.com>
6806
6807 * gdb.python/py-breakpoint.c: Make result global.
6808
26e197f6
JK
68092010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6810
6811 Fix non-GNU make compatibility.
6812 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
6813
adc36818
PM
68142010-04-09 Phil Muldoon <pmuldoon@redhat.com>
6815
6816 * gdb.python/py-breakpoint.exp: New File.
6817 * gdb.python/py-breakpoint.C: Ditto.
6818
64e17368
SS
68192010-04-08 Stan Shebs <stan@codesourcery.com>
6820
6821 * gdb.trace/actions.exp: Clear default-collect.
6822 * gdb.trace/save-trace.exp: Clear default-collect.
6823
fff5cc64
PM
68242010-04-08 Phil Muldoon <pmuldoon@redhat.com>
6825
6826 * gdb.python/py-value: Add null string variable.
6827 (test_lazy_string): Test zero length, NULL address lazy
6828 strings.
6829
a055a187
L
68302010-04-07 H.J. Lu <hongjiu.lu@intel.com>
6831
6832 * gdb.arch/i386-avx.c: New.
6833 * gdb.arch/i386-avx.exp: Likewise.
6834
6835 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
6836
96e39866
DE
68372010-04-06 Doug Evans <dje@google.com>
6838
6839 * gdb.base/source-test.gdb: New file.
6840 * gdb.base/source.exp: Test source -v.
6841
5984a431
UW
68422010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6843
6844 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
6845
ec8a089a
PM
68462010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
6847
6848 * gdb.stabs/aout.sed: Convert all backslash to double backslash
6849 within one line, unless it is followed by a double quote.
6850 * gdb.stabs/hppa.sed: Idem.
6851 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
6852 * gdb.stabs/weird.exp: Check for correct parsing of
6853 char and string constants.
ec8a089a
PM
6854 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
6855 in .stabs to .stabx substitution.
6856
fce3c1f0
SS
68572010-04-05 Stan Shebs <stan@codesourcery.com>
6858
6859 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
6860 constant global.
6861 * gdb.trace/tfile.exp: Try to print them.
6862
d77f58be
SS
68632010-04-04 Stan Shebs <stan@codesourcery.com>
6864
6865 * gdb.base/completion.exp: Update for new "info watchpoints".
6866 * gdb.base/default.exp: Ditto.
6867 * gdb.base/help.exp: Ditto.
6868 * gdb.base/watchpoint.exp: Ditto.
6869 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 6870
af54718e
SS
68712010-04-04 Stan Shebs <stan@codesourcery.com>
6872
6873 * gdb.trace/tfile.exp: Sharpen tfind test.
6874
74d1f91e
JK
68752010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6876
6877 * gdb.base/break-entry.exp: New.
6878
eb8e76db 68792010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 6880 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
6881
6882 * gdb.reverse/i386-sse-reverse.exp: New file.
6883 * gdb.reverse/i386-sse-reverse.c: New file.
6884
bf65cad8
PA
68852010-04-02 Pedro Alves <pedro@codesourcery.com>
6886
6887 * gdb.trace/tfind.exp: Adjust expected disassembly output.
6888
fff87407
SS
68892010-04-01 Stan Shebs <stan@codesourcery.com>
6890
6891 * gdb.trace/actions.exp: Tweak expected output.
6892 * gdb.trace/while-stepping.exp: Tweak expected output.
6893
fe01d668
L
68942010-04-01 H.J. Lu <hongjiu.lu@intel.com>
6895
6896 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
6897
86b17b60
PA
68982010-04-01 Pedro Alves <pedro@codesourcery.com>
6899
6900 * gdb.base/commands.exp: Adjust.
6901 * gdb.cp/extern-c.exp: Adjust.
6902
2c58c0a9
PA
69032010-04-01 Pedro Alves <pedro@codesourcery.com>
6904
6905 * gdb.trace/collection.c (local_test_func): Define a local struct,
6906 and instanciate it.
6907
0db9b91c
PA
69082010-04-01 Pedro Alves <pedro@codesourcery.com>
6909
6910 * gdb.trace/collection.exp (gdb_collect_args_test)
6911 (gdb_collect_argarray_test): XFAIL the tests that assume the
6912 argarray argument's elements are collected.
6913
8072405b
JK
69142010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
6915
6916 * gdb.dwarf2/dw2-bad-parameter-type.exp,
6917 gdb.dwarf2/dw2-bad-parameter-type.S: New.
6918
8bf6485c
SS
69192010-03-31 Stan Shebs <stan@codesourcery.com>
6920
6921 * gdb.trace/save-trace.exp: Test save/restore of default-collect
6922 and tracepoint conditionals.
6923 (gdb_verify_tracepoints): Delete unused return.
6924
fd7f724a
KS
69252010-03-26 Keith Seitz <keiths@redhat.com>
6926
6927 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
6928 appear in the output before main.
6929 Remove KFAIL for gdb/2215 aka bz 9320.
6930
8d9e7719
DE
69312010-03-30 Doug Evans <dje@google.com>
6932
0906dd0b
DE
6933 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
6934 by dejagnu.
6935 * gdb.arch/amd64-dword.exp: Ditto.
6936
8d9e7719
DE
6937 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
6938 match.
6939 (break printf): Ditto.
6940
1da644f0
SW
69412010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
6942
6943 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
6944 gcc < 4.4.
6945 * gdb.cp/shadow.exp: Ditto.
6946
a8121990
PA
69472010-03-29 Pedro Alves <pedro@codesourcery.com>
6948
6949 * gdb.trace/collection.exp (run_trace_experiment): Make sure
6950 "tstart" is silent.
6951
6e79d367
PA
69522010-03-29 Pedro Alves <pedro@codesourcery.com>
6953
6954 * gdb.trace/collection.exp (executable): New.
6955 (binfile): Use it.
6956 (fpreg, spreg, pcreg): New.
6957 (test_register): Use gdb_test_multiple. Pass /x to print.
6958 (prepare_for_trace_test): New.
6959 (run_trace_experiment): Use "continue", not gdb_run_cmd.
6960 (gdb_collect_args_test, gdb_collect_argstruct_test)
6961 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
6962 prepare_for_trace_test.
6963 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
6964 fpreg, spreg and pcreg.
6965 (gdb_collect_expression_test, gdb_collect_globals_test): Use
6966 prepare_for_trace_test.
6967 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
6968 try to detect tracing support here. Don't set breakpoints at
6969 `begin' or `end' here.
6970 <global scope>: Use clean_restart. Run to main before checking
6971 for tracing support. Check for for tracing support here.
6972
09248348
JK
69732010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6974
6975 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
6976 " as $displacement" to "seen displacement message".
6977
d350db38
PA
69782010-03-28 Pedro Alves <pedro@codesourcery.com>
6979
6980 * gdb.trace/while-dyn.exp (executable): New variable.
6981 (binfile): Use it.
6982 (test_while_stepping): New function. Move most tests here. Call
6983 it once for each of the while-stepping, stepping and ws aliases.
6984
907af001
UW
69852010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6986
6987 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
6988 that do not provide the tagless_struct type name at all.
6989 (test_print_anon_union): Do not check value of uninitialized
6990 union member. Do not use cp_test_ptype_class, so we can accept
6991 "long" as well as "long int".
6992
610197fd
PA
69932010-03-26 Pedro Alves <pedro@codesourcery.com>
6994
6995 * gdb.trace/tfile.c (tohex, bin2hex): New.
6996 (write_error_trace_file): Hexify error description.
6997
6c28cbf2
SS
69982010-03-25 Stan Shebs <stan@codesourcery.com>
6999
7000 * gdb.trace/tfile.c: Generate an additional trace file, improve
7001 portability.
7002 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
7003 files in a better way.
7004
e62b8c7e
KS
70052010-03-25 Keith Seitz <keiths@redhat.com>
7006
7007 * gdb.java/jprint.exp: XFAIL printing of static class members
7008 because of GCC debuginfo problem.
7009
82ccf5a5
JK
70102010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7011
7012 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
7013
293e2f9e
DJ
70142010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
7015
7016 * gdb.base/completion.exp: Allow long instead of long int.
7017 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
7018 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
7019 variable p.
7020 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
7021 * gdb.base/pointers.exp: Allow long instead of long int.
7022 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
7023 * gdb.base/step-line.exp: Allow a directory before the source file name.
7024
95a42b64
TT
70252010-03-24 Tom Tromey <tromey@redhat.com>
7026
7027 PR breakpoints/9352:
7028 * gdb.base/default.exp: Update.
7029 * gdb.base/commands.exp: Update.
7030 * gdb.cp/extern-c.exp: Test setting commands on multiple
7031 breakpoints at once.
7032
2390201f
DJ
70332010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
7034
7035 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
7036 if gdb,nosignals.
7037 * gdb.base/watchpoints.c: Do not include unnecessary headers.
7038 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
7039 exited".
7040
8c9a6790
SS
70412010-03-24 Stan Shebs <stan@codesourcery.com>
7042
7043 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
7044
a6c727b2
DJ
70452010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
7046
7047 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
7048 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
7049 argument. Handle "short" and "long".
7050 (Top level): Pass overprototyped output for old_fptr and xptr.
7051
4dfd5423
PA
70522010-03-23 Pedro Alves <pedro@codesourcery.com>
7053
7054 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
7055 format strings and add casts to avoid compiler warnings.
7056
70572010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
7058
7059 * lib/trace-support.exp (gdb_trace_setactions):
7060 Don't expect whitespace after ">" prompt.
7061 * gdb.trace/actions.exp: Adjust for output changes.
7062 * gdb.trace/while-stepping.exp: Likewise.
7063
c847d045
JK
70642010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7065
7066 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
7067 and r157645).
7068
5f717f1d
JK
70692010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7070
7071 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
7072 New.
7073
7d6d51d5
DJ
70742010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
7075
7076 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
7077 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
7078
3b11a015
SS
70792010-03-19 Stan Shebs <stan@codesourcery.com>
7080
7081 * gdb.trace/ax.exp: New file.
7082
d7d158ed
DE
70832010-03-19 Doug Evans <dje@google.com>
7084
6bb85cd1
DE
7085 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
7086 output from gcc.
7087
d7d158ed
DE
7088 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
7089 named /usr/sbin/prelink<foo>.
7090
4daf5ac0
SS
70912010-03-18 Stan Shebs <stan@codesourcery.com>
7092
7093 * gdb.trace/circ.exp: Test circular-trace-buffer.
7094 * gdb.trace/tfile.exp: Update tstatus test.
7095
e8d05480
JB
70962010-03-18 Joel Brobecker <brobecker@adacore.com>
7097
7098 * gdb.dwarf2/dw2-anonymous-func.S: New file.
7099 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
7100
441b986a
UW
71012010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7102
7103 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
7104
4247603b
PA
71052010-03-18 Pedro Alves <pedro@codesourcery.com>
7106
7107 * gdb.base/default.exp: Adjust the expected output of the finish
7108 and until commands when the inferior is not being run.
7109
13387711
SW
71102010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
7111
7112 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
7113 * gdb.cp/nsusing.exp: Ditto.
7114
6e31430b
TT
71152010-03-15 Tom Tromey <tromey@redhat.com>
7116
7117 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
7118 * gdb.cp/userdef.cc (operator==): New function.
7119 (main): New locals mem1, mem2.
7120
e2d69cb5
JZ
71212010-03-15 Jie Zhang <jie@codesourcery.com>
7122
7123 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
7124 Declare and use new loadtimeout variable.
7125
f572f0a9
DJ
71262010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
7127
7128 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
7129 Use gdb_load later.
7130
51f4c0b0
PA
71312010-03-14 Pedro Alves <pedro@codesourcery.com>
7132
7133 * gdb.base/solib-disc.c (main): Make format of fprintf a string
7134 literal. Add missing endlines to prints to stderr.
7135
1c809c68
TT
71362010-03-12 Tom Tromey <tromey@redhat.com>
7137
7138 PR c++/9708:
7139 * gdb.cp/m-static.exp: Add regression test.
7140 * gdb.cp/m-static.cc (method): New method.
7141 (main): Call it.
7142
00ae8fef
SW
71432010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
7144
7145 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
7146 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
7147
759f0f0b
PA
71482010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
7149
21e24d21
PA
7150 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
7151
71522010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
7153
759f0f0b
PA
7154 * lib/gdb.exp (skip_stl_tests): New.
7155 (gdb_compile): Symbian needs -ldl.
7156 (shlib_target_file): New.
7157 (shlib_symbol_file): New.
7158 (gdb_load_shlibs): Use shlib_target_file.
7159 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
7160 * gdb.cp/exception.exp: Use skip_stl_tests.
7161 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
7162 * gdb.cp/try_catch.exp: Use skip_stl_tests.
7163 * gdb.cp/mb-templates.exp: Ditto.
7164 * gdb.base/commands.exp: Relax regexes.
7165 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
7166 shlib_target_file and shlib_symbol_file.
7167 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
7168 sections.
7169 * gdb.base/ending-run.exp: Accept E32Main for symbian.
7170 * gdb.base/solib-disc.exp: Use
7171 shlib_target_file and shlib_symbol_file.
7172 * gdb.base/unload.exp: Don't skip on symbian. Use
7173 shlib_target_file and shlib_symbol_file.
7174 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
7175
6a8f2671 71762010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 7177
6a8f2671
PA
7178 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
7179 * gdb.trace/report.exp: Adjust for x86 and x86_64.
7180 Issue a tfind end before looking for a tracepoint frame.
7181 * gdb.trace/tfind.exp: Adjust tstatus output.
7182 Adjust disassembly output.
7183 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
7184
ccf26247
JK
71852010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7186
7187 * gdb.base/break-interp.exp: Create new displacement parameter value
7188 for the test_ld calls.
7189 (reach): New parameter displacement, verify its content. New push of
7190 pf_prefix "reach-$func:". Import global expect_out.
7191 (test_core): New parameter displacement, verify its content. New push
7192 of pf_prefix "core:". New command "set verbose on". Import global
7193 expect_out.
7194 (test_attach): New parameter displacement, verify its content. New
7195 push of pf_prefix "attach:". New command "set verbose on". Import
7196 global expect_out.
7197 (test_ld): New parameter displacement, pass it to the reach, test_core
7198 and test_attach calls and verify its content in the "ld.so exit" test.
7199 * gdb.base/prelink.exp: Remove gdb_exit and final return.
7200 (prelink): Update expected text, use gdb_test.
7201
e469c7fb
DE
72022010-03-10 Doug Evans <dje@google.com>
7203
7204 * gdb.base/checkpoint.exp: Fix comment.
7205 Lengthen timeout while doing >600 checkpoints test.
7206 Rename duplicate "kill all one" test to keep test names unique.
7207
60e1c644
PA
72082010-03-10 Pedro Alves <pedro@codesourcery.com>
7209
7210 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
7211
cec808ec
KS
72122010-03-08 Keith Seitz <keiths@redhat.com>
7213
889bf7c5
PA
7214 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
7215 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
7216 (dm_type_long): New function.
7217 (dm_type_unsigned_short): New function.
7218 (dm_type_unsigned_long): New function.
7219 (myint): New typedef.
7220 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
7221 long, unsigned shor and long, operator char*, and typedef.
7222 (test_lookup_operator_functions): Add operator char* test.
7223 (test_paddr_operator_functions): Likewise.
7224 (test_paddr_overloaded_functions): Use probe values for
7225 short, long, and unsigned short and long.
7226 (test_paddr_hairy_functions): If the demangler probe detected
7227 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
7228 demangler.
7229 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
7230 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
7231 and "print null_pmf".
7232 Add test "ptype a.*pmf".
7233 * gdb.cp/overload.exp: Allow optional "int" to appear with
7234 "short" and "long".
7235 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
7236 long expect value for men_overload1arg.
7237 Allow "int" to appear with "short" and "long".
7238 When testing "info break", add argument for main (void).
7239 Also allow "int" to appear with "short" and "long".
7240 Ditto with "unsigned" and "long long".
cec808ec
KS
7241 * gdb.java/jmain.exp: Do not enclose methods names in single
7242 quotes.
7243 * gdb.java/jmisc.exp: Likewise.
7244 * gdb.java/jprint.exp: Likewise.
7245 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
7246
7247 From Jan Kratochvil <jan.kratochvil@redhat.com>:
7248 * gdb.cp/exception.exp (backtrace after first throw)
7249 (backtrace after second throw): Allow a namespace before __cxa_throw.
7250 (backtrace after first catch, backtrace after second catch): Allow
7251 a namespace before __cxa_begin_catch.
7252
7253 * gdb.cp/cpexprs.exp: New file.
7254 * gdb.cp/cpexprs.cc: New file.
7255
7256 From Daniel Jacobowitz <dan@codesourcery.com>
7257 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
7258 to use string_to_regexp.
7259 (ctor, dtor): New functions. Use them to match constructor
7260 and destructor function types.
7261 (Top level): Use runto_main.
7262
f870a310
TT
72632010-03-05 Tom Tromey <tromey@redhat.com>
7264
7265 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
7266 gdb.target_charset.
7267 (pp_ns.to_string): Likewise.
7268
0c199f28
KS
72692010-03-04 Keith Seitz <keiths@redhat.com>
7270
7271 * gdb.cp/overload.exp: Test that the filename portion of a linespec
7272 can be quoted. Test that both the filename and function/line
7273 portions can be quoted at the same time.
7274
c7437ca6
PA
72752010-03-04 Pedro Alves <pedro@codesourcery.com>
7276
7277 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
7278
b111b805
DE
72792010-03-03 Doug Evans <dje@google.com>
7280
24486cb7
DE
7281 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
7282 libc contains libpthread.
7283
b111b805
DE
7284 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
7285 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
7286 of gdb_compile. Add another pattern to match android backtrace.
7287
a0e0ef55
TT
72882010-03-03 Tom Tromey <tromey@redhat.com>
7289
7290 PR gdb/11345:
7291 * gdb.base/printcmds.exp (test_printf): Add test.
7292
1ba53b71
L
72932010-03-02 H.J. Lu <hongjiu.lu@intel.com>
7294
7295 * gdb.arch/amd64-byte.exp: New.
7296 * gdb.arch/amd64-dword.exp: Likewise.
7297 * gdb.arch/amd64-pseudo.c: Likewise.
7298 * gdb.arch/amd64-word.exp: Likewise.
7299 * gdb.arch/i386-byte.exp: Likewise.
7300 * gdb.arch/i386-pseudo.c: Likewise.
7301 * gdb.arch/i386-word.exp: Likewise.
7302
f5dff777
DJ
73032010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
7304
7305 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
7306 types. Add structreg, bitfields, and flags registers.
7307 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
7308 registers.
7309
90884b2b
L
73102010-03-01 H.J. Lu <hongjiu.lu@intel.com>
7311
7312 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
7313 (load_description): Set architecture if defined.
7314
dc00d89f
PM
73152010-02-28 Phil Muldoon <pmuldoon@redhat.com>
7316
7317 * gdb.python/py-frame.exp: Add read_var block tests.
7318 * gdb.python/py-frame.c (block): New function.
7319
0e095b7e
JK
73202010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7321 Daniel Jacobowitz <dan@codesourcery.com>
7322
7323 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
7324
624f1a65
DM
73252010-02-25 David S. Miller <davem@davemloft.net>
7326
7327 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
7328 fix logic for setting all_syscalls_numbers.
7329
f3e9a817
PM
73302010-02-24 Phil Muldoon <pmuldoon@redhat.com>
7331
7332 * Makefile.in: Add py-block and py-symbol.
7333 * gdb.python/py-symbol.exp: New File.
7334 * gdb.python/py-symtab.exp: New File.
7335 * gdb.python/py-block.exp: New File.
7336 * gdb.python/py-symbol.c: New File.
7337 * gdb.python/py-block.c: New File.
7338
f6bbabf0
PM
73392010-02-24 Phil Muldoon <pmuldoon@redhat.com>
7340
7341 PR python/11314
7342 * lib/gdb.exp (skip_python_tests): New function.
7343 * gdb.python/py-cmd.exp: Use skip_python_tests.
7344 * gdb.python/py-frame.exp: Likewise.
7345 * gdb.python/py-function.exp: Likewise.
7346 * gdb.python/py-prettyprint.exp: Likewise.
7347 * gdb.python/py-template.exp: Likewise.
7348 * gdb.python/py-type.exp: Likewise.
7349 * gdb.python/py-value.exp: Likewise.
7350
85d721b8
PA
73512010-02-22 Pedro Alves <pedro@codesourcery.com>
7352
7353 PR9605
7354
7355 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
7356
48e32051
TT
73572010-02-19 Tom Tromey <tromey@redhat.com>
7358
7359 PR c++/8693, PR c++/9496:
7360 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
7361 regression tests.
7362
ac9c0048
JK
73632010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7364
7365 Fix compatibility with m68k as.
7366 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
7367 Use only /* comments */.
7368
57bb97a4
UW
73692010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7370
7371 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
7372 * configure: Regenerate.
7373
7d1bf85c
DJ
73742010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
7375
7376 * gdb.python/py-type.exp: Check for Python support.
7377
061b5285
PA
73782010-02-17 Pedro Alves <pedro@codesourcery.com>
7379
7380 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
7381 `regsub' syntax available.
7382
f8a8bc2c
PA
73832010-02-17 Pedro Alves <pedro@codesourcery.com>
7384
7385 * gdb.base/shmain.c (main): Remove printf call.
7386 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
7387 * gdb.base/unload.c (main): Make format of fprintf a string
7388 literal. Add missing endlines to prints to stderr.
7389 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
7390
6f451e5e
TT
73912010-02-17 Tom Tromey <tromey@redhat.com>
7392
7393 * gdb.java/jprint.java (jprint.props): New field.
7394 * gdb.java/jprint.exp (set_lang_java): Add regression test.
7395
12d79008
PA
73962010-02-17 Pedro Alves <pedro@codesourcery.com>
7397
ef801a0e 7398 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
7399 available.
7400
d252f7e5
DJ
74012010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7402
7403 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
7404 creation to support remote host testing.
7405
67bdab6c
DJ
74062010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7407
7408 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
7409 Recognize "command not found".
7410
bb391223
DJ
74112010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7412
7413 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
7414 single-stepping.
7415
70362913
DJ
74162010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7417
7418 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
7419 if arguments are not supported.
7420
493f3c00
DJ
74212010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7422
7423 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
7424 be const or non-const.
7425
8034c749
DJ
74262010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7427
7428 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
7429 mi_send_resuming_command to send -exec-continue.
7430
791dfb64
DJ
74312010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7432
7433 * gdb.base/list.exp (test_list_filename_and_function): Add test
7434 with single quotes.
7435 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
7436 matching.
7437 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
7438 Add KFAIL'd tests for PR gdb/11289.
7439
7c5fe868
DJ
74402010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7441
7442 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
7443
fdc498b8
DJ
74442010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7445
7446 * gdb.base/comp-dir/subdir/dummy.txt: New file.
7447 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
7448 a temporary directory.
7449
b519e2a6
DJ
74502010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7451
7452 * gdb.base/charset.exp: Use a single regular expression to match
7453 show host-charset and show target-charset output.
7454
74164c56
JK
74552010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7456
7457 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
7458 "Illegal process-id" expect string more exact.
7459 (attach to digits-starting nonsense is prohibited): New.
7460
701ed6dc
JK
74612010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7462
7463 * gdb.base/prelink.exp (set verbose on): New.
7464
889bf7c5 74652010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
7466
7467 * mi-reverse.exp: New file. Test for reverse option to the
7468 following MI commands: exec-continue, exec-finish, exec-next,
7469 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 7470
dadf0e9c
JB
74712010-02-09 Joel Brobecker <brobecker@adacore.com>
7472
7473 * gdb.ada/ptype_tagged_param: New testcase.
7474
714f19d5
TT
74752010-02-08 Tom Tromey <tromey@redhat.com>
7476
7477 PR c++/8017:
7478 * gdb.cp/overload.exp: Add tests.
7479 * gdb.cp/overload.cc (struct K): New.
7480 (namespace N): New.
7481 (main): Call new functions.
7482 (K::staticoverload): Define.
7483
889bf7c5 74842010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
7485
7486 PR gdb/10728
7487 * gdb.cp/pr10728-x.h: New file.
7488 * gdb.cp/pr10728-x.cc: New file.
7489 * gdb.cp/pr10728-y.cc: New file.
7490 * gdb.cp/pr10728.exp: New file.
7491 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
7492
889bf7c5 74932010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
7494
7495 PR gdb/9067
7496 * gdb.cp/pr9067.exp: New
7497 * gdb.cp/pr9067.cc: New
7498 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
7499
7b356089
JB
75002010-02-08 Joel Brobecker <brobecker@adacore.com>
7501
7502 * lib/gdb.exp (gdb_test_timeout): New global variable.
7503 Set it to timeout if not already set.
7504 (gdb_init): Reset the value of timeout to gdb_test_timeout.
7505
1be00882
DE
75062010-02-05 Doug Evans <dje@google.com>
7507
7508 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
7509 user.
7510
82856980
SW
75112010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
7512
7513 PR c++/7935:
7514 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
7515
1a334831
TT
75162010-02-04 Tom Tromey <tromey@redhat.com>
7517
7518 * gdb.cp/virtbase.exp: Make test case names unique.
7519
9c3c02fd
TT
75202010-02-02 Tom Tromey <tromey@redhat.com>
7521
7522 * gdb.cp/virtbase.exp: Add regression tests.
7523 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
7524 (main): Instantiate RHC.
7525
0cc2414c
TT
75262010-02-02 Tom Tromey <tromey@redhat.com>
7527
7528 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
7529 type-printing change.
7530
edf3d5f3
TT
75312010-02-02 Tom Tromey <tromey@redhat.com>
7532
7533 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
7534 * gdb.cp/virtbase.cc: New file.
7535 * gdb.cp/virtbase.exp: New file.
7536 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
7537
e4b7f41c
JK
75382010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7539
7540 PR libc/11214:
7541 * gdb.threads/current-lwp-dead.c: Include features.h.
7542 (HAS_NOMMU): New.
7543 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
7544
b381ea14
JK
75452010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7546
7547 * gdb.base/symbol-without-target_section.exp,
7548 gdb.base/symbol-without-target_section.c: New.
7549
c593ac0e
DJ
75502010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7551
7552 * gdb.base/bigcore.exp: Reset increased timeout.
7553 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
7554
db25f29d
DJ
75552010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7556
7557 * gdb.base/gcore.exp (capture_command_output): Use
7558 gdb_test_multiple.
7559
f9d67f43
DJ
75602010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7561
7562 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
7563 * gdb.arch/thumb2-it.exp (test_it_break): New function.
7564 (Top level): Call it.
7565
177321bd
DJ
75662010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7567
7568 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
7569
97f2ed50
DJ
75702010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7571
7572 * gdb.base/call-strs.exp, gdb.base/default.exp,
7573 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
7574 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
7575 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
7576 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
7577 gdb.base/watchpoint-solib.exp: Save and restore timeout.
7578 * gdb.base/ending-run.exp: Correct restore of timeout.
7579 * gdb.base/page.exp: Remove unnecessary timeout setting.
7580
e4e2711a
JB
75812010-01-29 Joel Brobecker <brobecker@adacore.com>
7582
7583 * gdb.ada/rec_return: New testcase.
7584
ba581dc1
JB
75852010-01-29 Joel Brobecker <brobecker@adacore.com>
7586
7587 * gdb.ada/call_pn: New testcase.
7588
4ea95be9
DJ
75892010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
7590
7591 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
7592 (Top level): Use it to resume.
7593 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
7594 the Thumb mode displaced stepping error as unsupported.
7595
df83a9bf
SW
75962010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
7597
889bf7c5
PA
7598 * gdb.cp/nsusing.exp: Added more tests.
7599 * gdb.cp/nsrecurs.exp: Ditto.
7600 * gdb.cp/nsusing.cc: Added test functions.
7601 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 7602
40b27cdc
JK
76032010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7604
7605 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
7606 absolute directory pathnames in gdb.sum file.
7607
de958931
SW
76082010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
7609
7610 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
7611 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
7612
708ead4e
TT
76132010-01-26 Tom Tromey <tromey@redhat.com>
7614
7615 PR exp/7643:
7616 * gdb.base/printcmds.exp (test_print_string_constants): Remove
7617 setup_kfail.
7618
b14e635e
SW
76192010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
7620
7621 * gdb.cp/nsrecurs.exp: New test.
7622 * gdb.cp/nsrecurs.cc: New test program.
7623 * gdb.cp/nsstress.exp: New test.
7624 * gdb.cp/nsstress.cc: New test program.
7625 * gdb.cp/nsdecl.exp: New test.
7626 * gdb.cp/nsdecl.cc: New test program.
7627
8540c487
SW
76282010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
7629
7630 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
7631 imported into file scope.
7632 Marked test as xfail.
7633 * gdb.cp/namespace-using.cc (marker5): New function.
7634 * gdb.cp/shadow.exp: New test.
7635 * gdb.cp/shadow.cc: New test program.
7636 * gdb.cp/nsimport.exp: New test.
7637 * gdb.cp/nsimport.cc: New test program.
7638
421d5d99
TT
76392010-01-25 Tom Tromey <tromey@redhat.com>
7640
7641 PR gdb/11049:
7642 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
7643 with "set print null-stop on".
7644
691f8dc1
JK
76452010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7646
7647 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
7648 Adjust it for DISASSEMBLY_OMIT_FNAME.
7649
0b92b5bb
TT
76502010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7651
7652 PR symtab/11199:
7653 * gdb.dwarf2/member-ptr-forwardref.exp,
7654 gdb.dwarf2/member-ptr-forwardref.S: New.
7655
23787403
JK
76562010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7657
7658 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
7659 (thread1_func): Protect thread1_tid with thread1_tid_cond by
7660 thread1_tid_mutex. Remove gdbstop_mutex handling.
7661 (thread2_func): Protect thread2_tid with thread2_tid_cond by
7662 thread2_tid_mutex. Remove gdbstop_mutex handling.
7663 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
7664 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
7665 pthread_cond_wait conditionalizations by while loops.
7666
b966cb8a
TT
76672010-01-20 Tom Tromey <tromey@redhat.com>
7668
7669 PR backtrace/10770:
7670 * gdb.dwarf2/pr10770.exp: New file.
7671 * gdb.dwarf2/pr10770.c: New file.
7672 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
7673
fcae584b
VP
76742010-01-20 Vladimir Prus <vladimir@codesourcery.com>
7675
7676 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
7677 that target was removed, and the test always runs native anyway.
7678
a0f49112
JK
76792010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7680
7681 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
7682 gdb.base/watchpoint-cond-gone-stripped.c: New.
7683
ceeb3d5a
TT
76842010-01-19 Tom Tromey <tromey@redhat.com>
7685
7686 PR c++/8000:
7687 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
7688 existing tests.
7689 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
7690 (main): Use AAA::SomeEnum.
7691
dd322c54
JK
76922010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7693
7694 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
7695 (test_ignore_count): Declare line_callme_body global.
7696 (run to breakpoint with ignore count): Use line_callme_body.
7697 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
7698 (set line_main_hello, set line_main_return): Reindent.
7699 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
7700 New.
7701 (continue to callee4): Use line_callee4_body.
7702 (check *stopped from CLI command): Use line_callee4_next.
7703 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
7704 (set line_main_hello, set line_main_return): Reindent.
7705 (set line_callee4_head, set line_callee4_body): New.
7706 (continue to callee4): Use line_callee4_body.
7707
4e8f195d
TT
77082010-01-18 Tom Tromey <tromey@redhat.com>
7709
7710 PR c++/9680:
7711 * gdb.cp/casts.cc: Add new classes and variables.
7712 * gdb.cp/casts.exp: Test new operators.
7713
9e14a9ba
JB
77142010-01-18 Tom Tromey <tromey@redhat.com>
7715 Thiago Jung Bauermann <bauerman@br.ibm.com>
7716
7717 * gdb.python/source2.py: New file.
7718 * gdb.python/source1: New file.
7719 * gdb.python/python.exp: Test "source" command.
7720
00bf0b85
SS
77212010-01-15 Stan Shebs <stan@codesourcery.com>
7722
7723 * gdb.trace/tfile.c: New file.
7724 * gdb.trace/tfile.exp: New file.
889bf7c5 7725
55235ad7
JK
77262010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7727
7728 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
7729
9f2982ff
JK
77302010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7731
7732 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
7733
bbfba9ed
JK
77342010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7735
7736 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
7737 (libfunc): New parameter action. Implement also selectable "sleep".
7738 * gdb.base/break-interp-main.c: Include assert.h.
7739 (libfunc): New parameter action.
7740 (main): New parameters argc and argv. Assert argc. Pass argv.
7741 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
7742 (test_attach): New proc.
7743 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
7744 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
7745
61f0d762
JK
77462010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7747
7748 * gdb.base/break-interp.exp (test_core): New proc.
7749 (test_ld): Call it.
7750
06a6f270
JK
77512010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7752
7753 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
7754 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
7755 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
7756 and gdb_compile_shlib. Use new -Wl compiler options.
7757 (dl bt, main bt): New tests.
7758
51bee8e9
JK
77592010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7760
7761 Support PIEs with no symfile_objfile.
7762 * gdb.base/break-interp.exp: New argument at the test_ld calls.
7763 (test_ld): New parameter trynosym.
7764 (test_ld <$trynosym>): New block.
7765
b8040f19
JK
77662010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7767
7768 * gdb.base/break-interp.exp: New file.
7769
be759fcf
PM
77702010-01-13 Phil Muldoon <pmuldoon@redhat.com>
7771
7772 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
7773 * gdb.python/py-prettyprint.py (pp_ls): New printer.
7774 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
7775 test.
7776 * gdb.python/py-prettyprint.c: Define lazystring test structure.
7777 * gdb.python/py-mi.exp: Add lazy string test.
7778
dc146f7c
VP
77792010-01-13 Vladimir Prus <vladimir@codesourcery.com>
7780
7781 * lib/mi-support.exp (mi_check_thread_states): Handle
7782 core number in thread listing.
7783
b4ba55a1
JB
77842010-01-12 Joel Brobecker <brobecker@adacore.com>
7785
7786 * gdb.base/maint.exp: Adjust the expected output for the
7787 "maint print type" test. Use gdb_test_multiple instead of
7788 gdb_sent/gdb_expect.
7789
08e24bd4
DE
77902010-01-11 Doug Evans <dje@google.com>
7791
6496a609
DE
7792 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
7793 from gdbserver_download. All callers updated.
7794
08e24bd4
DE
7795 * gdb.server/ext-run.exp: "info os processes" requires xml support.
7796
b5cfddf5
JK
77972010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7798
7799 Implement binary numbers parsing.
7800 * gdb.base/printcmds.exp (test_integer_literals_accepted)
7801 (test_integer_literals_rejected): New binary tests.
7802
3725885a
RW
78032010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7804
7805 * gdb.cell/configure: Regenerate.
7806
37aeb5df
JK
78072010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7808
7809 * gdb.base/corefile.exp: Move the core finding block out and call it as
7810 core_find, new variable $corefile, replace corefile by $corefile and
7811 [file tail $corefile] for usage vs. test names resp.
7812 * lib/gdb.exp (core_find): Move it as a new function here. New
7813 parameter binfile and deletefiles. New variable $destcore. Pre-delete
7814 $destcore. Return "" on error.
7815
d521f563
JK
78162010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7817
7818 Workaround PR binutils/10802.
7819 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
7820 (twice).
7821
28f24826
DJ
78222010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
7823
7824 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
7825
2de75e71
JB
78262010-01-08 Joel Brobecker <brobecker@adacore.com>
7827
7828 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
7829 call, to avoid interruption.
7830
fe00719b 78312010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
7832
7833 * gdb.stabs/weird.def (args93): New.
7834
d0ef5df8
DE
78352010-01-07 Doug Evans <dje@google.com>
7836
7837 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
7838
3a08d52f
TT
78392010-01-07 Tom Tromey <tromey@redhat.com>
7840
7841 * gdb.base/source.exp: Use correct line number.
7842
7a697b8d
SS
78432010-01-05 Stan Shebs <stan@codesourcery.com>
7844
7845 * gdb.trace/tracecmd.exp: Test ftrace.
7846
7803799a
UW
78472010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7848
7849 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
7850
c54eabfa
JK
78512010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7852
7853 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
7854 "uint_for_mi_testing".
7855
02e7ef19
JB
78562010-01-01 Joel Brobecker <brobecker@adacore.com>
7857
7858 Test indented comment in file being sourced.
7859 * gdb.base/commands.exp: Test indented comment in file being sourced.
7860
abd775ce
JB
78612010-01-01 Joel Brobecker <brobecker@adacore.com>
7862
7863 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
7864 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
7865 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
7866 notice.
7867
79b55b82
JB
78682010-01-01 Joel Brobecker <brobecker@adacore.com>
7869
7870 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
7871 notice.
7872
8997583e
JK
78732010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7874
7875 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
7876 missing $after_stopped and comma (,) expectation.
7877
6da95a67
SS
78782009-12-31 Stan Shebs <stan@codesourcery.com>
7879
7880 * gdb.trace/actions.exp: Test teval action.
889bf7c5 7881
218d2fc6
TJB
78822009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7883
7884 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
7885 (top level): Call test_watchpoint_in_big_blob.
7886 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
7887 watchpoints.
7888 (func3): Write to buf.
7889
236f1d4d
SS
78902009-12-29 Stan Shebs <stan@codesourcery.com>
7891
7892 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 7893
f61e138d
SS
78942009-12-28 Stan Shebs <stan@codesourcery.com>
7895
7896 * gdb.trace/tsv.exp: New file.
7897 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 7898
0219b378
DJ
78992009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
7900
7901 * gdb.base/find.c (main): Reference search buffers.
7902 * gdb.base/included.c (main): Reference integer.
7903 * gdb.base/ptype.c (charfoo): Declare.
7904 (intfoo): Call charfoo.
7905 * gdb.base/scope0.c (useitp): New function.
7906 (usestatics): Use useitp.
7907 (useit): Add a type for val.
7908 * gdb.base/scope1.c (useit1): Take a pointer argument.
7909 (usestatics1): Update calls to useit1.
7910 * gdb.cp/call-c.cc: Declare foo.
7911 (main): Call foo.
7912 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
7913 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
7914 (main): Call C::ensureRefs and ensureOtherRefs.
7915 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
7916 variables.
7917 (ensureOtherRefs): New function.
7918 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
7919 * gdb.cp/templates.cc (main): Call t5i.value.
7920
3f78692f
JK
79212009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7922
7923 Fix compatibility with G++-4.5.
7924 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
7925 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
7926 (uncaught return): Remove.
7927
429374b8
JK
79282009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7929 Phil Muldoon <pmuldoon@redhat.com>
7930
7931 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
7932 (bp_location13, bp_location14, bp_location17, bp_location18)
7933 (marker3_proto, marker4_proto): New variables.
7934 (breakpoint info): Update output.
7935 (run until breakpoint at marker3, run until breakpoint at marker4): New
7936 tests.
7937
859825b8
JK
79382009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7939
7940 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
7941 Replace the printf call of Y by provided "y-set-1" label. New block
7942 for the second shared library.
7943 * gdb.base/unload.exp: Compile also the second library, call
7944 gdb_load_shlibs also for it. Use now gdb_breakpoint.
7945 (single pending breakpoint info): Rename to ...
7946 (pending breakpoint info before run): ... this extended test.
7947 (libfile2, libname2, libsrcfile2, libsrc2)
7948 (lib_sl2): New variables.
7949 (exec_opts): Set also SHLIB_NAME2.
7950 (pending breakpoint info on first run at shrfunc1)
7951 (pending breakpoint info on second run at shrfunc1)
7952 (pending breakpoint info on second run at shrfunc2)
7953 (print y from libfile, print y from libfile2): New tests.
7954 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
7955 * gdb.base/unloadshr2.c: New.
7956
e6a386cd
HZ
79572009-12-22 Hui Zhu <teawater@gmail.com>
7958
7959 * gdb.reverse/sigall-reverse.exp: Adjust.
7960
9e19b45e
VP
79612009-12-21 Vladimir Prus <vladimir@codesourcery.com>
7962
7963 PR gdb/10884
7964
7965 * gdb.mi/var-cmd.c (do_bitfield_tests): New
7966 (main): Call do_bitfield_tests.
aacf5b1e 7967 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 7968
d53a7b30
JB
79692009-12-20 Joel Brobecker <brobecker@adacore.com>
7970
7971 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
7972 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
7973 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
7974 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
7975 gdb.modula2/unbounded1.c: Update copyright header.
7976
191ca0a1
CM
79772009-12-10 Chris Moller <moller@mollerware.com>
7978
7979 PR gdb/9399
7980 * gdb.cp/virtfunc2.exp: New tests
7981 * gdb.cp/virtfunc2.cc: New tests
7982 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
7983
0fa6cf1b
MS
79842009-12-10 Oza Pawandeep (paawan1982@yahoo.com
7985
7986 * gdb.reverse/i387-env-reverse.c: New file.
7987 * gdb.reverse/i387-env-reverse.exp: New file.
7988 * gdb.reverse/i387-stack-reverse.c: New file.
7989 * gdb.reverse/i387-stack-reverse.exp: New file.
7990
361ae042
PM
79912009-12-08 Phil Muldoon <pmuldoon@redhat.com>
7992
7993 * gdb.python/py-type.exp (test_range): New test.
7994
bfd31e71
PM
79952009-12-03 Phil Muldoon <pmuldoon@redhat.com>
7996
7997 PR python/10805
7998
7999 * gdb.python/py-type.exp: New file.
8000 * gdb.python/py-type.c: New file.
8001 * Makefile.in: Add py-type.
8002
57a1d736
TT
80032009-12-03 Tom Tromey <tromey@redhat.com>
8004
8005 * gdb.python/py-value.exp (test_parse_and_eval): New
8006 function.
8007
1f3b5d1b
PP
80082009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
8009
8010 PR gdb/11022
8011
8012 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
8013 * gdb.base/pr11022.c: New test.
8014
8b7dbdc9
JK
80152009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8016
8017 Fix spurious false FAILs.
8018 * gdb.base/structs.c (chartest): New.
8019 (main): Fill-in chartest.
8020 * gdb.base/structs.exp (anychar_re, first): New.
8021 (start_structs_test): Import global anychar_re and first.
8022 New gdb_test call "set print elements 300; ${testfile}"
8023 (start_structs_test <$first>): New block.
8024 (any): Import global anychar_re. New variable ac. Use ${ac}.
8025
6a53b2ec
JK
80262009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8027
8028 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
8029
d7167b4c
JK
80302009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8031
8032 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
8033 Force $srcfile file.
8034 * gdb.base/foll-fork.c (callee): Comment out the printf call.
8035
b1798462
UW
80362009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8037
8038 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
8039 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
8040 * gdb.threads/watchthreads-reorder.exp: Likewise.
8041
b6199126
DJ
80422009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
8043
8044 PR gdb/8704
8045
8046 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
8047 "if", and "thread". Correct matching in the previous test.
8048
b22a0510
DJ
80492009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
8050
8051 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
8052
930636d2
MS
80532009-11-23 Michael Snyder <msnyder@vmware.com>
8054
8055 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
8056 * gdb.reverse-watch-precsave.exp: Ditto.
8057
21a0512e
PP
80582009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
8059
8060 * gdb.asm/asm-source.exp: Adjust.
8061 * gdb.base/help.exp: Adjust.
889bf7c5 8062
fc30d5e0
PA
80632009-11-22 Pedro Alves <pedro@codesourcery.com>
8064
8065 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
8066 (do_syscall_tests_without_xml): Set data-directory to
8067 /the/path/to/nowhere.
8068
f6bc2008
PA
80692009-11-21 Pedro Alves <pedro@codesourcery.com>
8070
8071 * gdb.threads/local-watch-wrong-thread.c,
8072 gdb.threads/local-watch-wrong-thread.exp: New files.
8073
8c2fb5de
PA
80742009-11-21 Pedro Alves <pedro@codesourcery.com>
8075
8076 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
8077 assume new `regsub' syntax available.
8078
ebec9a0f
PA
80792009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8080
a79d3c27
JK
8081 * gdb.base/watchpoint-hw-hit-once.exp,
8082 gdb.base/watchpoint-hw-hit-once.c: New.
8083
80842009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8085
8086 * gdb.threads/watchthreads-reorder.exp,
8087 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 8088
276a961b
MK
80892009-11-17 Nathan Sidwell <nathan@codesourcery.com>
8090
8091 * gdb.xml/tdesc-regs.exp: Use for m68k.
8092
4867c1fb
PA
80932009-11-15 Pedro Alves <pedro@codesourcery.com>
8094
8095 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
8096
f6838f81
DJ
80972009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
8098
8099 * lib/gdb.exp (current_target_name): New procedure.
8100 (gdb_wrapper_target): New variable.
8101 (gdb_wrapper_init): Set gdb_wrapper_target.
8102 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
8103 wrapper.
8104
4ac4dd3f
DJ
81052009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
8106
8107 * gdb.base/remote.exp: Delete the slowest load test.
8108 Do not load with fixed packet sizes.
8109
a7881759
DJ
81102009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
8111
8112 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
8113
97a5b505
DJ
81142009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
8115
8116 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
8117 srcfile when setting a breakpoint.
8118
d3e1fc54
DJ
81192009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
8120
8121 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
8122 macros.
8123
7cbcbded
DJ
81242009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
8125
8126 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
8127 to be in memory.
8128 * gdb.base/display.c (force_mem): New.
8129 (do_loops): Use it. Add breakpoint comments.
8130 (do_vars): Add a breakpoint comment.
8131 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
8132 line numbers.
8133
bdea3a92
NF
81342009-11-13 Nathan Froyd <froydnj@codesourcery.com>
8135
8136 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
8137 instead of a bare "run".
8138
269f82e5
PP
81392009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8140
8141 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 8142
a69b7d9d
DJ
81432009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
8144
8145 * lib/cell.exp (skip_cell_tests): Clean up test files before
8146 returning.
8147
b598bfda
DJ
81482009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
8149
8150 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
8151 and the breakpoint menu. Do not call perror if a prompt is seen.
8152 Consume the following GDB prompt.
8153 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
8154 * gdb.cp/namespace.exp: Use gdb_test.
8155 * gdb.cp/templates.exp: Use gdb_test.
8156 (test_template_breakpoints): Use gdb_test_multiple.
8157
87728fa0
DJ
81582009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
8159
8160 * gdb.base/break1.c (struct some_struct, values): Move earlier.
8161 (marker4): Reference values.
8162
b67c692f
DJ
81632009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
8164
8165 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
8166 is missing.
8167
f0df251a
DJ
81682009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
8169
8170 * gdb.base/break.c (need_malloc): New.
8171 * gdb.base/constvars.c (main): Reference crass and crisp.
8172 * gdb.base/gdb1821.c (main): Reference bar.
8173 * gdb.cp/gdb1355.cc (main): Reference s1.
8174 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
8175 (main): Call them.
8176 * gdb.cp/hang2.cc (dummy2): Define.
8177 * gdb.cp/hang3.cc (dummy3): Define.
8178 * gdb.cp/m-data.cc (main): Reference shadow.
8179
bdf7534a
NF
81802009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
8181 Nathan Froyd <froydnj@codesourcery.com>
8182
8183 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
8184 remote host.
8185
f24fce77
NF
81862009-11-12 Nathan Froyd <froydnj@codesourcery.com>
8187
8188 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
8189 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
8190 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8191 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8192 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8193 * gdb.dwarf2/dw2-producer.exp: Likewise.
8194 * gdb.dwarf2/mac-fileno.exp: Likewise.
8195 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
8196 py-prettyprint.py to the remote host.
8197 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
8198
40f0318e
KS
81992009-11-11 Keith Seitz <keiths@redhat.com>
8200
8201 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
8202 use it instead of "Foo".
8203 * gdb.cp/classes.exp (do_tests): Add a test to access
8204 a method through a typedef'd class name.
8205
f3d9f7fb
NF
82062009-11-11 Nathan Froyd <froydnj@codesourcery.com>
8207
8208 * gdb.base/long_long.exp: Permit leading zeros on floating-point
8209 exponents.
8210 * gdb.base/pointers.exp: Likewise.
8211 * gdb.cp/ref-types.exp: Likewise.
8212
a4216f37
KS
82132009-11-11 Keith Seitz <keiths@redhat.com>
8214
8215 * gdb.cp/cplusfuncs.cc (class foo): Add operators
8216 new[] and delete[].
8217 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
8218 "void".
8219 (probe_demangler): Remove all single-quoting of
8220 method and variable names.
8221 (info_func_regexp): Remove the word "void" from any
8222 occurrence of "(void)".
8223 (print_addr_2): Remove all single-quoting of
8224 method names.
8225 (print_addr_2_kfail): Likewise.
8226 (print_addr): Single-quote C function names before
8227 passing to print_addr_2.
8228 (test_paddr_operator_functions): Remove single-quoting
8229 for method names.
8230 Add tests for operator new[] and operator delete[].
8231
9b14d7aa
JK
82322009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8233
8234 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
8235
85feb311
KS
82362009-11-09 Keith Seitz <keiths@redhat.com>
8237
8238 * gdb.cp/overload.exp: Add tests for resolving overloaded
8239 methods in expression parsing/evaluation.
8240
fa335448
DJ
82412009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
8242
8243 * lib/gdb.exp (default_gdb_version): Use --version instead of
8244 --command.
8245
ec3c07fc
NS
82462009-11-10 Nathan Sidwell <nathan@codesourcery.com>
8247
8248 * lib/gdb.exp (gdb_compile_test): New.
8249 (skip_ada_tests, skip_java_tests): New.
8250 (gdb_compile): Use gdb_compile_test for f77.
8251 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
8252 * lib/java.exp (compile_java_from_source): Remove runtests check,
8253 use gdb_compile_test to record result.
8254 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
8255 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
8256 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
8257 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
8258 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
8259 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
8260 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
8261 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
8262 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
8263 adjust gdb_compile invocations.
8264
b8b4e42b
JK
82652009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8266
8267 * Makefile.in (abs_builddir): New.
8268 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
8269 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
8270 `$(abs_builddir)/site.exp'.
8271
f8b7eaf3
DJ
82722009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
8273
8274 * config/m68k-emc.exp, lib/emc-support.exp,
8275 gdb.trace/gdb_c_test.c: Delete.
8276 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
8277 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
8278 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
8279 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
8280 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
8281 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
8282 casing for m68k-*-elf.
8283
c4187697
NS
82842009-11-03 Pedro Alves <pedro@codesourcery.com>
8285
8286 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
8287 * gdb.arch/i386-prologue.exp: Likewise.
8288 * gdb.arch/i386-unwind.exp: Likewise.
8289
db16b772
DJ
82902009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
8291
8292 * lib/gdb.exp (gdb_expect): Fix timeout typo.
8293
bcf71277
DJ
82942009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
8295
8296 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
8297
0105cee2
DJ
82982009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
8299
8300 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
8301
24ddea62
JK
83022009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8303
8304 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
8305
287ccc17
JK
83062009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8307
8308 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
8309 * gdb.base/sepdebug2.c: New file.
8310
08bca259 83112009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
8312
8313 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
8314 the modified warnings for catch syscall. Verify if GDB was compiled
8315 with support for lib expat, and choose which tests to run depending
8316 on this.
8317
5d4e2b76
VP
83182009-10-30 Vladimir Prus <vladimir@codesourcery.com>
8319
8320 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
8321 that composite commands are parsed OK. And also test
8322 that breakpoint commands do work.
8323
240e538a
MS
83242009-10-23 Michael Snyder <msnyder@vmware.com>
8325
8326 gdb.reverse/consecutive-precsave.exp: Change expect pattern
8327 to allow for new disassembly style.
8328
9c419145
PP
83292009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8330
8331 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 8332
02506ff1
MS
83332009-10-22 Michael Snyder <msnyder@vmware.com>
8334
8335 * gdb.reverse/break-precsave.exp: New test.
8336 * gdb.reverse/consecutive-precsave.exp: Ditto.
8337 * gdb.reverse/finish-precsave.exp: Ditto.
8338 * gdb.reverse/i386-precsave.exp: Ditto.
8339 * gdb.reverse/machinestate-precsave.exp: Ditto.
8340 * gdb.reverse/sigall-precsave.exp: Ditto.
8341 * gdb.reverse/solilb-precsave.exp: Ditto.
8342 * gdb.reverse/step-precsave.exp: Ditto.
8343 * gdb.reverse/until-precsave.exp: Ditto.
8344 * gdb.reverse/watch-precsave.exp: Ditto.
8345
4cf866a3
MS
83462009-10-22 Michael Snyder <msnyder@vmware.com>
8347
8348 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
8349 for gdb_expect. Adjust one test's expect strings for the new
8350 format of disassemble.
8351 * gdb.reverse/finish-reverse.exp: Delete 'return'.
8352 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
8353 gdb_test_multiple.
8354 * gdb.reverse/step-reverse.exp: Delete 'return'.
8355 * gdb.reverse/until-reverse.exp: Delete blank lines.
8356 * gdb.reverse/watch-reverse.exp: Delete blank lines.
8357
2b28d209
PP
83582009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
8359
8360 * gdb.base/consecutive.exp: Adjust.
8361 * gdb.base/display.exp: Likewise.
8362 * gdb.base/pc-fp.exp: Likewise.
8363 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 8364
33b9c32b
MS
83652009-10-19 Michael Snyder <msnyder@vmware.com>
8366
8367 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
8368 * gdb.reverse/finish-reverse.c: Ditto.
8369 * gdb.reverse/sigall-reverse.c: Ditto.
8370 * gdb.reverse/solib-reverse.c: Ditto.
8371 * gdb.reverse/step-reverse.c: Ditto.
8372 * gdb.reverse/watch-reverse.c: Ditto.
8373
6c95b8df
PA
83742009-10-19 Pedro Alves <pedro@codesourcery.com>
8375 Stan Shebs <stan@codesourcery.com>
8376
8377 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
8378 * gdb.base/foll-exec.exp: Adjust to expect a process id before
8379 "Executing new program".
8380 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
8381 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
8382 left listed after having been killed.
8383 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
8384 * gdb.base/maint.exp: Adjust test.
8385
8386 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
8387 * gdb.multi/Makefile.in: New.
8388 * gdb.multi/base.exp: New.
8389 * gdb.multi/goodbye.c: New.
8390 * gdb.multi/hangout.c: New.
8391 * gdb.multi/hello.c: New.
8392 * gdb.multi/bkpt-multi-exec.c: New.
8393 * gdb.multi/bkpt-multi-exec.exp: New.
8394 * gdb.multi/crashme.c: New.
8395
279017b7
TG
83962009-10-13 Tristan Gingold <gingold@adacore.com>
8397
8398 * gdb.base/sepdebug.exp: Check debug info are found.
8399
0413d738
PA
84002009-10-08 Pedro Alves <pedro@codesourcery.com>
8401
8402 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
8403 bits.
8404
c628eecc
JK
84052009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8406
8407 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
8408
38af1bfe
JB
84092009-10-07 Joel Brobecker <brobecker@adacore.com>
8410
8411 * gdb.base/watchpoints.c: Add copyright header. Reformat one
8412 of the comments.
8413
2b0adecd
PM
84142009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
8415
8416 * gdb.base/annota1.exp: Remove obsolete match_max increase.
8417 * gdb.base/annota3.exp: Idem.
8418 * gdb.base/maint.exp: Idem.
8419
8d417781
PM
84202009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
8421
889bf7c5 8422 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
8423 to default.
8424
bb61102d
PM
84252009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
8426
889bf7c5 8427 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
8428 mingw and cygwin targets.
8429
ace5c364
PM
84302009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
8431 Pedro Alves <pedro@codesourcery.com>
8432
889bf7c5 8433 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
8434 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
8435
c2d494a0
PM
84362009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
8437
e1b52ce2
PM
8438 * gdb.base/shr1.c: Use %p in format string.
8439 * gdb.base/unload.c: Avoid warning in fprintf.
8440 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 8441
209f53f5
PM
84422009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
8443
8444 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
8445 long type.
8446 (test_unlink): Correct printf string.
8447 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
8448 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
8449
8172766a
JK
84502009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8451
8452 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
8453 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
8454 * gdb.arch/ia64-breakpoint-shadow.S: New file.
8455
0f73703c
UW
84562009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8457
8458 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
8459 * gdb.objc/nondebug.exp: Likewise.
8460
b32306ca
UW
84612009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8462
8463 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
8464 target_info setting.
8465
8466 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
8467 that detect new threads during "info threads".
8468
0057022f
UW
84692009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8470
8471 * gdb.threads/manythreads.c (main): Increase thread stack size
8472 to 2*PTHREAD_STACK_MIN.
8473 * gdb.threads/multi-create.c (main): Likewise.
8474 (create_function): Likewise.
8475
f29c0325
UW
84762009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8477
8478 * gdb.base/dump.exp: Pass difference of pointer types instead
8479 of integer types as offset to restore in intarr3.srec case.
8480
fcb34849
UW
84812009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8482
8483 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
8484
d5142e3b
UW
84852009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8486
8487 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
8488
087b74b2 84892009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 8490
087b74b2
PM
8491 New test for two watchpoints, with disabling of
8492 the first inserted.
8493 * testsuite/gdb.base/watchpoints.c: New file.
8494 * testsuite/gdb.base/watchpoints.exp: New file.
8495
96c07c5b
TT
84962009-09-25 Tom Tromey <tromey@redhat.com>
8497
8498 * gdb.base/charset.exp: Test utf-16 strings with Python.
8499
b8899f2b
TT
85002009-09-25 Tom Tromey <tromey@redhat.com>
8501
8502 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
8503 UCS-4.
8504 * gdb.base/charset.c (utf_32_string): Rename.
8505 (init_utf32): Rename.
8506 (main): Update.
8507
329719ec
TT
85082009-09-22 Tom Tromey <tromey@redhat.com>
8509
8510 * gdb.python/py-function.exp: Add regression tests.
8511
11ef0d76
KS
85122009-09-21 Keith Seitz <keiths@redhat.com>
8513
8514 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
8515 with invalid operator.
8516
3fe8f3b3
KS
85172009-09-21 Keith Seitz <keiths@redhat.com>
8518
8519 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
8520 and destructor using typedef name of class.
8521 * gdb.cp/classes.cc (class Base1): Add a destructor.
8522 (base1): New typedef.
8523 (use_methods): Instanitate an object of type base1.
8524 * gdb.cp/templates.exp (test_template_typedef): New procedure.
8525 (do_tests): Call test_template_typedef.
8526 * gdb.cp/templates.cc (Baz::~Baz): New method.
8527 (intBazOne): New typedef.
8528 (main): Instantiate intBazOne.
8529
7a9fe101
PM
85302009-09-21 Phil Muldoon <pmuldoon@redhat.com>
8531
8532 PR python/10633
8533
8534 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
8535 Function.
8536 (run_lang_tests): Add print elements test.
8537
2e4d963f
PM
85382009-09-21 Phil Muldoon <pmuldoon@redhat.com>
8539
8540 * gdb.python/py-value.exp (test_subscript_regression): New
8541 function. Test for invalid subscripts.
8542 * gdb.python/py-value.c (main): Add test array, and pointer to it.
8543 (ptr_ref): New function.
8544
ec7e75e7
PP
85452009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8546
8547 * gdb.base/default.exp: Fix "show convenience".
8548
0cc7d26f
TT
85492009-09-15 Tom Tromey <tromey@redhat.com>
8550
8551 * lib/mi-support.exp (mi_create_varobj): Update.
8552 (mi_create_floating_varobj): Likewise.
8553 (mi_create_dynamic_varobj): New proc.
8554 (mi_varobj_update): Update.
8555 (mi_varobj_update_with_type_change): Likewise.
8556 (mi_varobj_update_kv_helper): New proc.
8557 (mi_varobj_update_dynamic_helper): Rewrite.
8558 (mi_varobj_update_dynamic): New proc.
8559 (mi_list_varobj_children): Update.
8560 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
8561 * gdb.python/python-prettyprint.py (pp_outer): New class.
8562 (pp_nullstr): Likewise.
8563 (lookup_function): Register new printers.
8564 * gdb.python/python-prettyprint.c (struct substruct): New type.
8565 (struct outerstruct): Likewise.
8566 (substruct_test): New function.
8567 (struct nullstr): New type.
8568 (string_1, string_2): New globals.
8569 (main): Add new tests.
8570 * gdb.python/python-mi.exp: Added regression tests.
8571 * gdb.mi/mi2-var-display.exp: Update.
8572 * gdb.mi/mi2-var-cmd.exp: Update.
8573 * gdb.mi/mi2-var-child.exp: Update.
8574 * gdb.mi/mi2-var-block.exp: Update.
8575 * gdb.mi/mi-var-invalidate.exp: Update.
8576 * gdb.mi/mi-var-display.exp: Update.
8577 * gdb.mi/mi-var-cmd.exp: Update.
8578 * gdb.mi/mi-var-child.exp: Update.
8579 * gdb.mi/mi-var-block.exp: Update.
8580 * gdb.mi/mi-break.exp: Update.
8581 * gdb.mi/gdb701.exp: Update.
8582
a96d9b2e
SDJ
85832009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
8584
8585 * Makefile.in: Inclusion of catch-syscall object.
8586 * gdb.base/catch-syscall.c: New file.
8587 * gdb.base/catch-syscall.exp: New file.
8588
b43b923a
MS
85892009-09-12 Michael Snyder <msnyder@vmware.com>
8590
8591 * gdb.reverse/step-reverse.exp: Explicitly check for targets
8592 that can support reverse debuggnig.
8593
cec03d70
TT
85942009-09-11 Tom Tromey <tromey@redhat.com>
8595
8596 * gdb.dwarf2/valop.S: New file.
8597 * gdb.dwarf2/valop.exp: New file.
8598
e23bb3fc
MK
85992009-09-11 Mark Kettenis <kettenis@gnu.org>
8600
8601 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
8602
37c3696d
DE
86032009-09-10 Doug Evans <dje@google.com>
8604
8605 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
8606 Add $gdb_prompt to second breakpoint regexp.
8607
5172aecb
JB
86082009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
8609
8610 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
8611 names, add missing ones.
8612 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
8613 * gdb.python/py-frame.c: Rename from python-frame.c.
8614 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
8615 testfile name.
8616 * gdb.python/py-function.exp: Rename from python-function.exp.
8617 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
8618 testfile name.
8619 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
8620 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
8621 Adjust testfile name.
8622 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
8623 * gdb.python/py-template.cc: Rename from python-template.cc.
8624 * gdb.python/py-template.exp: Rename from python-template.exp.
8625 Adjust testfile name.
8626 * gdb.python/py-value.c: Rename from python-value.c.
8627 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
8628 testfile name.
8629
b554e4bd
JK
86302009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8631
8632 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
8633 $bpt2address.
8634 (Second breakpoint address is valid on ia64)
8635 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
8636
9a68ae16
JM
86372009-09-03 Joseph Myers <joseph@codesourcery.com>
8638
8639 * gdb.base/ending-run.exp: Restrict regular expression matching
8640 line number to require closing brace following.
8641
146b9145
DE
86422009-09-03 Doug Evans <dje@google.com>
8643
8644 * gdb.base/store.exp (check_set): Fix typo in expected value message.
8645
787d21e1
TT
86462009-09-02 Tom Tromey <tromey@redhat.com>
8647
8648 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
8649
e7802207
TT
86502009-09-02 Tom Tromey <tromey@redhat.com>
8651
8652 * gdb.dwarf2/callframecfa.exp: New file.
8653 * gdb.dwarf2/callframecfa.S: New file.
8654
817aadd2
JK
86552009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8656
8657 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
8658 gdb.base/solib-overlap-main.c: New.
8659
4a76eae5
DJ
86602009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
8661
8662 PR gdb/10565
8663
8664 * gdb.base/bitfields.c (struct container, container): New.
8665 (main): Initialize it and call break5.
8666 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
8667
d4b96c9a
JK
86682009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8669
8670 Support constant DW_AT_data_member_location by GCC PR debug/40659.
8671 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
8672
4e22772d
JK
86732009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8674
8675 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
8676
2efab443
MS
86772009-08-26 Michael Snyder <msnyder@vmware.com>
8678
8679 * gdb.base/i386-reverse.c: New file.
8680 * gdb.base/i386-reverse.exp: New file.
8681 * gdb.base/Makefile.in: Add new files to be removed.
8682
07ab73a0
JM
86832009-08-26 Joseph Myers <joseph@codesourcery.com>
8684
8685 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
8686 environment-pwd for remote host.
8687 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
8688
676accff
KS
86892009-08-24 Keith Seitz <keiths@redhat.com>
8690
8691 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
8692 Add two new C++ completer tests which limit the output to a
889bf7c5 8693 given class.
676accff 8694
f9f7ad22
MS
86952009-08-24 Michael Snyder <msnyder@vmware.com>
8696
8697 * gdb.base/del.exp: Fix typo in comment.
8698 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
8699
81ecdfbb
RW
87002009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8701
8702 * configure: Regenerate.
8703 * gdb.hp/configure: Likewise.
8704 * gdb.hp/gdb.aCC/configure: Likewise.
8705 * gdb.hp/gdb.base-hp/configure: Likewise.
8706 * gdb.hp/gdb.compat/configure: Likewise.
8707 * gdb.hp/gdb.defects/configure: Likewise.
8708 * gdb.hp/gdb.objdbg/configure: Likewise.
8709 * gdb.stabs/configure: Likewise.
8710
cab0c772
UW
87112009-08-19 Doug Evans <dje@google.com>
8712
8713 * gdb.base/gdbvars.c: New file.
8714 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
8715
b8fa0bfa
PA
87162009-08-14 Pedro Alves <pedro@codesourcery.com>
8717
8718 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8719 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
8720
b84aa90a
PA
87212009-08-13 Pedro Alves <pedro@codesourcery.com>
8722
8723 * gdb.base/default.exp: Adjust "set language test": it's now an
8724 enum command. Larger help string moved to "help set language".
8725 * gdb.base/help.exp: Adjust "help set language" expected output,
8726 now lists all known languages.
8727
0d8f9b2c
NF
87282009-08-11 Nathan Froyd <froydnj@codesourcery.com>
8729
8730 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
8731 all frame arguments.
8732 * gdb.arch/altivec-regs.exp: Likewise.
8733
bda180e0
TT
87342009-08-07 Tom Tromey <tromey@redhat.com>
8735
8736 * gdb.base/setshow.exp: Add tests for changes to set language, set
8737 check range, and set check type.
8738
48cb2d85
VP
87392009-08-03 Vladimir Prus <vladimir@codesourcery.com>
8740
8741 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
8742 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 8743 Call it.
48cb2d85 8744
1ea34204
UW
87452009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8746
8747 * configure.ac: Run gdb.cell tests when appropriate.
8748 * configure: Regenerate.
8749 * lib/cell.exp: New file.
8750 * gdb.cell: New directory.
8751 * gdb.cell/configure.ac: New file.
8752 * gdb.cell/configure: New file.
8753 * gdb.cell/Makefile.in: New file.
8754 * gdb.cell/arch.exp: New file.
8755 * gdb.cell/break.c: New file.
8756 * gdb.cell/break.exp: New file.
8757 * gdb.cell/break-spu.c: New file.
8758 * gdb.cell/bt.c: New file.
8759 * gdb.cell/bt2-spu.c: New file.
8760 * gdb.cell/bt-spu.c: New file.
8761 * gdb.cell/bt.exp: New file.
8762 * gdb.cell/coremaker.c: New file.
8763 * gdb.cell/coremaker-spu.c: New file.
8764 * gdb.cell/core.exp: New file.
8765 * gdb.cell/gcore.exp: New file.
8766 * gdb.cell/data.c: New file.
8767 * gdb.cell/data.exp: New file.
8768 * gdb.cell/data-spu.c: New file.
8769 * gdb.cell/ea-cache.exp: New file.
8770 * gdb.cell/ea-cache.c: New file.
8771 * gdb.cell/ea-cache-spu.c: New file.
8772 * gdb.cell/ea-standalone.c: New file.
8773 * gdb.cell/ea-standalone.exp: New file.
8774 * gdb.cell/ea-test.c: New file.
8775 * gdb.cell/ea-test.exp: New file.
8776 * gdb.cell/f-regs.exp: New file.
8777 * gdb.cell/mem-access.c: New file.
8778 * gdb.cell/mem-access.exp: New file.
8779 * gdb.cell/mem-access-spu.c: New file.
8780 * gdb.cell/ptype.exp: New file.
8781 * gdb.cell/registers.exp: New file.
8782 * gdb.cell/size.c: New file.
8783 * gdb.cell/sizeof.exp: New file.
8784 * gdb.cell/size-spu.c: New file.
8785 * gdb.cell/solib.exp: New file.
8786 * gdb.cell/solib-symbol.exp: New file.
8787
85e747d2
UW
87882009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8789
8790 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
8791
58d6951d
DJ
87922009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
8793
8794 * gdb.base/float.exp: Handle VFP registers.
8795
6e0a4f15
MS
87962009-07-14 Michael Snyder <msnyder@vmware.com>
8797
dcd5da87
MS
8798 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
8799 to bring gdb to the beginning of the calling line.
8800
6e0a4f15
MS
8801 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
8802 confusing the i386 epilogue unwinder.
8803
782b2b07
SS
88042009-07-14 Stan Shebs <stan@codesourcery.com>
8805
8806 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
8807
f662c3bc
MS
88082009-07-14 Michael Snyder <msnyder@vmware.com>
8809
8810 * gdb.reverse/step-reverse.exp (stepi into function call):
8811 Call instruction may not be first instruction in the line.
8812 (reverse stepi from a function call): Used wrong line number.
8813
8f313923
JK
88142009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8815
8816 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
8817
4662c76e
JK
88182009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8819
8820 Fix gdb.base/macscp.exp when using custom inputrc.
8821 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
8822 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
8823 env(TERM) set.
8824 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
8825 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
8826
aa81e255
JK
88272009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8828
8829 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
8830 * gdb.base/annota1.exp (thread_test): Import global $testfile.
8831 Change the compilation target to match the testcase name.
8832 * gdb.base/sect-cmd.exp: Change the compilation target to match the
8833 testcase name.
8834 * a2-run.exp: Use for setup prepare_for_testing. Change the
8835 compilation target to match the testcase name.
8836 * gdb.base/commands.exp: Likewise.
8837 * gdb.base/finish.exp: Likewise.
8838 * gdb.base/float.exp: Likewise.
8839 * gdb.base/info-target.exp: Likewise.
8840 * gdb.base/relational.exp: Likewise.
8841 * gdb.base/term.exp: Likewise.
8842 * gdb.base/until.exp: Likewise.
8843 * gdb.base/volatile.exp: Likewise.
8844 * gdb.base/whatis-exp.exp: Likewise.
8845
4c93b1d7
HZ
88462009-07-11 Hui Zhu <teawater@gmail.com>
8847
8848 * gdb.base/help.exp (disassemble): Update expected help text.
8849
812f7342
TT
88502009-07-09 Tom Tromey <tromey@redhat.com>
8851
8852 * lib/gdb.exp: Handle TRANSCRIPT.
8853 (remote_spawn, remote_close, send_gdb): New procs.
8854
fbb8f299
PM
88552009-07-10 Phil Muldoon <pmuldoon@redhat.com>
8856
8857 * gdb.python/python-prettyprint.c: Add counted null string
8858 structure.
8859 * gdb.python/python-prettyprint.exp: Print null string. Test for
8860 embedded nulls.
8861 * gdb.python/python-prettyprint.py (pp_ns): New Function.
8862 * gdb.python/python-value.exp (test_value_in_inferior): Add
8863 variable length string fetch tests.
8864 * gdb.python/python-value.c (main): Add strings for string fetch tests.
8865
c0ac0ec7
JK
88662009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8867
8868 * gdb.base/dump.exp (inaccessible memory is reported): New test.
8869
30b66ecc
TT
88702009-07-07 Tom Tromey <tromey@redhat.com>
8871
8872 * gdb.base/call-rt-st.exp: Update for change to escape output.
8873 * gdb.base/callfuncs.exp: Likewise.
8874 * gdb.base/charset.exp: Likewise.
8875 * gdb.base/constvars.exp: Likewise.
8876 * gdb.base/long_long.exp: Likewise.
8877 * gdb.base/pointers.exp: Likewise.
8878 * gdb.base/printcmds.exp: Likewise.
8879 * gdb.base/setvar.exp: Likewise.
8880 * gdb.base/store.exp: Likewise.
8881 * gdb.cp/ref-types.exp: Likewise.
8882 * gdb.mi/mi-var-child.exp: Likewise.
8883 * gdb.mi/mi-var-display.exp: Likewise.
8884 * gdb.mi/mi2-var-display.exp: Likewise.
8885 * gdb.base/charset.exp: Test octal escape sequence length.
8886 Update for change to escape output.
8887
187c4a2b
JK
88882009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8889
8890 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
8891
d80a43f9
DJ
88922009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
8893
8894 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
8895
047427a8
JK
88962009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8897
8898 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
8899 gdbserver increasing $portnum if "Can't bind address" has been seen.
8900
8b5a0f4f
PA
89012009-07-05 Pedro Alves <pedro@codesourcery.com>
8902
8903 * gdb.base/ending-run.exp: Add "step out of main" pattern for
8904 mingw32ce.
8905
7d93ba58
PA
89062009-07-05 Pedro Alves <pedro@codesourcery.com>
8907
8908 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
8909 VFP format.
8910
2277426b
PA
89112009-07-02 Pedro Alves <pedro@codesourcery.com>
8912
8913 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
8914 linux. Adjust to use "inferior", "info inferiors", "detach
8915 inferior" and "kill inferior" instead of "restart", "info fork",
8916 "detach fork" and "delete fork".
8917 * gdb.base/ending-run.exp: Spell out "info".
8918 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
8919 the "kill" command.
8920
5af949e3
UW
89212009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8922
8923 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
8924 change to prefix TLS offset in hex with 0x.
8925
5d3729b5
UW
89262009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8927
8928 * gdb.base/default.exp: Update test case for "x" changes.
8929
af589bd0
TG
89302009-07-01 Tristan Gingold <gingold@adacore.com>
8931
8932 * gdb.base/bigcore.exp: Make darwin untested.
8933
40974f91
JK
89342009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8935
8936 * gdb.base/completion.exp (directory completion): Create the directory.
8937 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
8938 escapeuniquesub.
8939 (directory completion 2): Expect now ${escapeuniquesub}.
8940 (Glob remaining of directory test): Remove one excessive newline.
8941 Expect the real output.
8942
59dd3af6
JK
89432009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8944
8945 Fix `make check//%' target after `make check' has been ran.
8946 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
8947 a mkdir call.
8948 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
8949 (%/.dir): Remove.
8950
f4e164aa
JK
89512009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8952
8953 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
8954 the expected result record.
8955
69af2122
JK
89562009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8957
8958 Remove racy FAILs relying just on the timeouts.
8959 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
8960 (annotation_level 2): Remove racy FAILs.
8961
2fd481e1
PP
89622009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
8963
8964 gdb/10275
889bf7c5
PA
8965 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
8966
c38f313d
DJ
89672009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
8968
8969 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
8970
8b777f02
VP
89712009-06-30 Vladimir Prus <vladimir@codesourcery.com>
8972
8973 * gdb.mi/mi-stack.exp: Testing symbolic options
8974 to -stack-list-locals and -stack-list-arguments.
8975
00c7eacf
JK
89762009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8977
8978 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
8979
6bc80edc
TT
89802009-06-29 Tom Tromey <tromey@redhat.com>
8981
8982 * dg-extract-results.sh: New file.
8983 * Makefile.in (FORCE_PARALLEL): New variable.
8984 (CHECK_TARGET): New conditional variable.
8985 (check): Use CHECK_TARGET.
8986 (DO_RUNTEST): New variable.
8987 (check-single): New target.
8988 (TEST_DIRS): New variable.
8989 (TEST_TARGETS): Likewise.
8990 (check-parallel): New target.
8991 (check-gdb.%): New pattern.
8992 (BASE1_FILES): New variable.
8993 (BASE2_FILES): Likewise.
8994 (check-gdb.base%): New pattern.
8995 (%/.dir): New pattern.
8996 * configure: Rebuild.
8997 * aclocal.m4 (AM_CONDITIONAL): New defun.
8998 * configure.ac: Check whether user is using GNU make.
8999 (GMAKE): New conditional.
9000
794684b6
SW
90012009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
9002
9003 * gdb.cp/namespace-nested-import.cc: New test.
9004 * gdb.cp/namespace-nested-import.exp: New test.
9005
edb3359d
DJ
90062009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
9007
9008 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
9009 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
9010 * gdb.opt/Makefile.in (EXECUTABLES): Update.
9011 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
9012 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
9013 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
9014 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
9015 gdb.opt/inline-markers.c: New files.
9016 * lib/gdb.exp (skip_inline_frame_tests): New function.
9017 (skip_inline_var_tests): New function.
9018
cf657a0c
AS
90192009-06-27 Andreas Schwab <schwab@linux-m68k.org>
9020
9021 * gdb.cp/exception.exp: Don't require $hex before inner frame in
9022 backtrace.
9023
28d41a99
MS
90242009-06-27 Michael Snyder <msnyder@vmware.com>
9025
9026 * gdb.reverse: New directory.
9027 * gdb.reverse/break-reverse.c: New test.
9028 * gdb.reverse/break-reverse.exp: New test.
9029 * gdb.reverse/consecutive-reverse.c: New test.
9030 * gdb.reverse/consecutive-reverse.exp: New test.
9031 * gdb.reverse/finish-reverse.c: New test.
9032 * gdb.reverse/finish-reverse.exp: New test.
9033 * gdb.reverse/machinestate.c: New test.
9034 * gdb.reverse/ms1.c: New test.
9035 * gdb.reverse/machinestate.exp: New test.
9036 * gdb.reverse/Makefile.in: New file.
9037 * gdb.reverse/shr2.c: New test.
9038 * gdb.reverse/solib-reverse.c: New test.
9039 * gdb.reverse/solib-reverse.exp: New test.
9040 * gdb.reverse/step-reverse.c: New test.
9041 * gdb.reverse/step-reverse.exp: New test.
9042 * gdb.reverse/until-reverse.c: New test.
9043 * gdb.reverse/ur1.c: New test.
9044 * gdb.reverse/until-reverse.exp: New test.
9045 * gdb.reverse/watch-reverse.c: New test.
9046 * gdb.reverse/watch-reverse.exp: New test.
9047 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
9048 * configure: Regenerate.
9049
fe3c8b0d
DE
90502009-06-26 Doug Evans <dje@google.com>
9051
9052 * gdb.base/psymtab.exp: Turn off pending breakpoints.
9053
3a72a602
PM
90542009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
9055
9056 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
9057 windows problem for 'file delete $binfile'.
9058
27aa8d6a
SW
90592009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
9060
9061 * gdb.cp/namespace-using.exp: New test.
9062 * gdb.cp/namespace-using.cc: New test.
9063
8ac055f8
JB
90642009-05-20 Joel Brobecker <brobecker@adacore.com>
9065
9066 * gdb.ada/variant_record_packed_array: New testcase.
9067
85e306ed
TT
90682009-06-23 Tom Tromey <tromey@redhat.com>
9069
9070 * gdb.base/charset.exp (test_combination): Regression test.
9071 * gdb.base/charset.c (my_wchar_t): New typedef.
9072 (myvar): New global.
9073 (main): Set myvar.
9074
56643c5e
PM
90752009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
9076
9077 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
9078 target.
9079
1fac167a
UW
90802009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9081
9082 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
9083
7ccb0be9
UW
90842009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9085
9086 * gdb.mi/gdb680.exp: Update test for error message.
9087
568d6575
UW
90882009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9089
9090 * gdb.base/annota1.exp: Allow multiple occurrences of the
9091 frames-invalid annotation.
9092 * gdb.cp/annota2.exp: Likewise.
9093
7cd1089b
PM
90942009-06-15 Phil Muldoon <pmuldoon@redhat.com>
9095
9096 * gdb.cp/gdb2495.cc: New file.
9097 * gdb.cp/gdb2495.exp: New file.
9098
72c63395
JK
90992009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9100
9101 Report error on GDB crash during runto.
9102 * lib/gdb.exp (runto <eof>): New.
9103
3788363d
DJ
91042009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
9105
9106 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
9107 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
9108 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
9109 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
9110 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
9111 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
9112 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
9113 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
9114 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
9115 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
9116 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
9117 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
9118 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
9119 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
9120 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
9121 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
9122 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
9123 gdb.server/server-mon.exp, gdb.server/server-run.exp,
9124 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
9125 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
9126 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
9127 gdb.trace/passcount.exp, gdb.trace/report.exp,
9128 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
9129 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
9130 gdb.trace/while-stepping.exp: Use a unique name for the compiled
9131 executable.
9132
17592de3
PA
91332009-06-07 Pedro Alves <pedro@codesourcery.com>
9134
9135 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
9136 defined before referencing it.
9137
701e355d
DE
91382009-06-03 Doug Evans <dje@google.com>
9139
9140 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
9141 * gdb.arch/i386-see.c: Ditto.
9142
f2292c65
PM
91432009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
9144
9145 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
9146 (check_macro): Return 1 if undefined.
9147 If first test fails, check if macro debug information is available,
9148 and report unsupported test if no macro information is found.
9149
5a437975
DE
91502009-05-29 Doug Evans <dje@google.com>
9151
9152 * gdb.threads/hand-call-in-threads.exp: New.
9153 * gdb.threads/hand-call-in-threads.c: New.
9154
c141c696
MS
91552009-05-29 Michael Snyder <msnyder@vmware.com>
9156
9157 * gdb.base/break-always.exp: Change "1" to "on".
9158 Add confirmation check.
9159
b3444185
PA
91602009-05-28 Pedro Alves <pedro@codesourcery.com>
9161
9162 * gdb.threads/threxit-hop-specific.c: New.
9163 * gdb.threads/threxit-hop-specific.exp: New.
9164 * gdb.threads/thread-execl.c: New.
9165 * gdb.threads/thread-execl.exp: New.
9166
b6313243
TT
91672009-05-27 Tom Tromey <tromey@redhat.com>
9168 Thiago Jung Bauermann <bauerman@br.ibm.com>
9169
9170 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
9171 (mi_child_regexp): Likewise.
9172 (mi_list_varobj_children_range): Likewise.
9173 (mi_get_features): Likewise.
9174 (mi_list_varobj_children): Rewrite.
9175 * gdb.python/python-mi.exp: New file.
9176
a6bac58e
TT
91772009-05-27 Tom Tromey <tromey@redhat.com>
9178 Thiago Jung Bauermann <bauerman@br.ibm.com>
9179 Phil Muldoon <pmuldoon@redhat.com>
9180 Paul Pluzhnikov <ppluzhnikov@google.com>
9181
9182 * gdb.python/python-prettyprint.exp: New file.
9183 * gdb.python/python-prettyprint.c: New file.
9184 * gdb.python/python-prettyprint.py: New file.
9185 * gdb.base/display.exp: print/r is now valid.
9186
2c74e833
TT
91872009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
9188 Tom Tromey <tromey@redhat.com>
9189 Pedro Alves <pedro@codesourcery.com>
9190 Paul Pluzhnikov <ppluzhnikov@google.com>
9191
9192 * gdb.python/python-template.exp: New file.
9193 * gdb.python/python-template.cc: New file.
9194 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
9195 tests.
9196 * gdb.python/python-value.exp (py_objfile_tests): New proc.
9197 Call it.
9198 (test_value_after_death): New proc.
9199 * gdb.python/python-value.c (PTR): New typedef.
9200 (main): New variable 'x'.
9201
89c73ade
TT
92022009-05-27 Tom Tromey <tromey@redhat.com>
9203
9204 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
9205 tests.
9206 * gdb.python/python-value.exp (py_objfile_tests): New proc.
9207 Call it.
9208
a75724bc
PA
92092009-05-27 Pedro Alves <pedro@codesourcery.com>
9210
9211 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
9212
e58b0e63
PA
92132009-05-24 Pedro Alves <pedro@codesourcery.com>
9214
9215 * gdb.threads/fork-thread-pending.c: New.
9216 * gdb.threads/fork-thread-pending.exp: New.
9217
4ac36638
JK
92182009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9219
9220 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
9221 * gdb.dwarf2/dw2-strp.S (a_string2): New.
9222
889bf7c5 92232009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 9224
889bf7c5 9225 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 9226
b242c3c2
PA
92272009-05-17 Pedro Alves <pedro@codesourcery.com>
9228
9229 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
9230 `gdb_get_line_number'. Call `callee' in both parent and child.
9231 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
9232 `gdb_get_line_number' instead of hardcoding line numbers.
9233 (catch_fork_unpatch_child): New procedure to test detaching
9234 breakpoints from child fork.
9235 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
9236 hardcoding line numbers.
9237 (do_fork_tests): Run `catch_fork_unpatch_child'.
9238
ee342b23
VP
92392009-05-17 Vladimir Prus <vladimir@codesourcery.com>
9240
9241 * gdb.mi/mi-cmd-var.exp: Check that when varobj
9242 of structure type enters or leaves the scope, it
9243 is reported by -var-update.
9244
e2009e98
DE
92452009-05-11 Doug Evans <dje@sebabeach.org>
9246
9247 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 9248 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
9249 * gdb.threads/schedlock.c (main): Fix off-by-one error.
9250
00903456
JK
92512009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9252
9253 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
9254
dc621c35
DE
92552009-04-30 Doug Evans <dje@google.com>
9256
9257 * gdb.threads/watchthreads2.exp: New testcase.
9258 * gdb.threads/watchthreads2.c: New testcase.
9259
9ab4e744
DE
92602009-04-29 Doug Evans <dje@google.com>
9261
9262 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
9263 * gdb.cp/mb-ctor.cc: Ditto.
9264 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
9265 * gdb.cp/mb-inline.h (multi_line_foo): New function.
9266 * gdb.cp/mb-inline1.cc: Call it.
9267 * gdb.cp/mb-inline2.cc: Ditto.
9268 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
9269 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
9270
484086b7
JK
92712009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9272
9273 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
9274 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
9275 Replace all uses of `decimal' by `nonzero'.
9276 (info macro FROM_COMMANDLINE): New test.
9277
379a77b5
TT
92782009-04-27 Tom Tromey <tromey@redhat.com>
9279
9280 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
9281
b92b73c2
DE
92822009-04-27 Doug Evans <dje@google.com>
9283
9284 * gdb.threads/watchthreads.c (main): Initialize args before starting
9285 the threads. Plus formatting cleanup.
9286 * gdb.threads/watchthreads.exp: Avoid errant failures due to
9287 biased scheduling of one thread.
9288
945a118d
JG
92892009-04-27 Jerome Guitton <guitton@adacore.com>
9290
9291 * gdb.cp/templates.cc (GetMax): New template.
9292 (main): Declare two instances of GetMax.
9293 * gdb.cp/templates.exp: Add new test.
9294
d389af10
JK
92952009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9296
9297 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
9298
e7f86de9
JM
92992009-04-22 Joseph Myers <joseph@codesourcery.com>
9300
9301 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
9302
334cc82d
TT
93032009-04-15 Tom Tromey <tromey@redhat.com>
9304
9305 * gdb.base/charset.exp: Add regression test.
9306
d12672cc
JB
93072009-04-14 Joel Brobecker <brobecker@adacore.com>
9308
9309 * gdb.base/exe-lock.exp: New testcase.
9310
18e8c3bc
TT
93112009-04-13 Tom Tromey <tromey@redhat.com>
9312
9313 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
9314 operator on Frame.
9315
5ecd5cbe
UW
93162009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9317
9318 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
9319 * gdb.server/ext-attach.exp: Likewise.
9320
7309f756
VP
93212009-04-03 Vladimir Prus <vladimir@codesourcery.com>
9322
9323 Eliminate some sleep usage.
9324
889bf7c5
PA
9325 * gdb.mi/basics.c (do_nothing): New.
9326 (main): Use do_nothing instead of printf, so that
9327 not to introduce race condition between output of
9328 inferiour and output of gdb. Do not use sleep as it
9329 is not generally available on embedded targets.
7309f756 9330
f4b95f6f
PA
93312009-04-02 Pedro Alves <pedro@codesourcery.com>
9332
9333 * gdb.server/ext-attach.exp: Expect an optional process id after
9334 "Detached from remote process".
9335
de40b933
JK
93362009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9337
9338 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
9339 gdb.dwarf2/dw2-unresolved.exp: New.
9340
2ae101a4
PA
93412009-04-02 Pedro Alves <pedro@codesourcery.com>
9342
9343 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
9344 mi_run_to_main.
9345
56a8e183
PA
93462009-04-02 Pedro Alves <pedro@codesourcery.com>
9347
9348 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
9349 mi_run_to_main. Skip thread exit test on remote targets.
9350 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
9351 mi_run_to_main.
9352 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
9353 mi_run_to_main.
9354 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
9355 when expecting ^connected. Detect when the target doesn't support
9356 non-stop mode.
9357 (mi_run_cmd): Detect if non-stop mode was requested by isn't
9358 supported. Return -1 on error, 0 on success.
9359 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
9360 (mi_runto): Return mi_runto_helper's result explicitly.
9361
c35fafde
PA
93622009-04-01 Pedro Alves <pedro@codesourcery.com>
9363
9364 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
9365
f8a8dce6
JB
93662009-04-01 Tom Tromey <tromey@redhat.com>
9367
9368 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
9369 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
9370 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
9371 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
9372
71c25dea
TT
93732009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
9374 Jan Kratochvil <jan.kratochvil@redhat.com>
9375
9376 PR gdb/931
9377 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
9378 output.
9379 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
9380 for gdb/931.
9381 * dw2-strp.S (DW_AT_language): Change to C++.
9382 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
9383
02d9a9ce
JB
93842009-03-31 Joel Brobecker <brobecker@adacore.com>
9385
9386 * gdb.ada/tasks: New testcase.
9387
1042e4c0
SS
93882009-03-30 Stan Shebs <stan@codesourcery.com>
9389
9390 * gdb.trace/actions.exp: Update to match new info trace format.
9391 * gdb.trace/deltrace.exp: Ditto.
9392 * gdb.trace/infotrace.exp: Ditto.
9393 * gdb.trace/passcount.exp: Ditto.
9394 * gdb.trace/save-trace.exp: Ditto.
9395 * gdb.trace/while-stepping.exp: Ditto.
9396 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
9397
f8f6f20b
TJB
93982009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
9399
9400 * gdb.python/python-frame.c: New file.
9401 * gdb.python/python-frame.exp: New file.
9402
c0c6f777
TJB
94032009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
9404
9405 * gdb.python/python-value.exp: Add tests for the address
9406 attribute.
9407
3cb51905
AS
94082009-03-29 Andreas Schwab <schwab@linux-m68k.org>
9409
9410 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
9411
88fc996f
DE
94122009-03-26 Doug Evans <dje@google.com>
9413
9414 * gdb.mi/mi-nonstop-exit.exp: New file.
9415 * gdb.mi/non-stop-exit.c: New file.
9416
56ef84b1
TT
94172009-03-26 Tom Tromey <tromey@redhat.com>
9418
9419 Update for change to prologue skipping:
9420 * gdb.mi/mi2-simplerun.exp: Update.
9421 * gdb.mi/mi2-break.exp: Update.
9422 * gdb.mi/mi-simplerun.exp: Update.
9423 * gdb.mi/mi-break.exp: Update.
9424 * gdb.base/ending-run.exp: Update.
9425
def2b000
TJB
94262009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
9427
9428 * gdb.python/python-value.exp (test_value_in_inferior): Test
9429 gdb.Value.is_optimized_out attribute.
9430
442ddf59
JK
94312009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9432
9433 * gdb.dwarf2/dw2-noloc-main.c: New file.
9434 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
9435 (.text): Remove.
9436 (.data): New.
9437 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
9438 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
9439 (DW_TAG_subprogram func_cu1, noloc): Remove.
9440 (main): New.
9441 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
9442 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
9443 (file_symbols): New procedure.
9444
a8df5de4
TT
94452009-03-25 Tom Tromey <tromey@redhat.com>
9446
9447 * gdb.base/charset.exp (valid_target_charset): New proc.
9448 Use it to skip tests on invalid charsets.
9449
cc1d7add
PM
94502009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
9451
9452 * gdb.base/completion.exp: Add a test for directory completion.
9453
bcd5727b
JK
94542009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9455
9456 Fix a racy FAIL.
9457 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
9458 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
9459
cc924cad
TJB
94602009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
9461
9462 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
9463 * gdb.python/python-function.exp: Add test for function returning
9464 a GDB value.
9465
bc3b79fd
TJB
94662009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
9467
9468 * gdb.python/python-function.exp: New file.
9469
6c7a06a3
TT
94702009-03-20 Tom Tromey <tromey@redhat.com>
9471
9472 * gdb.base/store.exp: Update for change to escape output.
9473 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
9474 to escape output.
9475 * gdb.base/pointers.exp: Update for change to escape output.
9476 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
9477 to escape output.
9478 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
9479 escape output.
9480 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
9481 to escape output.
9482 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
9483 escape output.
9484 * gdb.base/setvar.exp: Update for change to escape output.
9485 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
9486 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
9487 to escape output.
9488 (test_print_string_constants): Likewise.
9489 * gdb.base/charset.exp (valid_host_charset): Check size of
9490 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
9491 cases. Handle "auto"-related output.
9492 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
9493 (uvar, Uvar): New globals.
9494
c31af87b
JG
94952009-03-19 Jerome Guitton <guitton@adacore.com>
9496
9497 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
9498 deltas.
9499 * gdb.ada/fixed_points.exp: Ditto.
9500
51272cf2
PA
95012009-03-18 Pedro Alves <pedro@codesourcery.com>
9502
9503 * return-nodebug.c: Don't include stdio.h.
9504 (init): Delete.
9505 (func): Delete definition and provide extern declaration.
9506 (t): New.
9507 (main): Don't call printf. Call func and store its result in t.
9508 * return-nodebug1.c: New.
9509 * return-nodebug.exp: Don't expect stdio output. Instead, print
9510 the global variable t. Drop printf formatters and cast types from
9511 foreach loop. Don't use prepare_for_testing. Compile
9512 return-nodebug.c and return-nodebug1.c in separate steps. Don't
9513 define FORMAT or CAST.
9514
d24948ac
PP
95152009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9516
9517 * gdb.base/solib-display.exp: Disable test for remote targers.
9518
61ff14c6
JK
95192009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9520
9521 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
9522
cb4dce93
JK
95232009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9524
9525 Fix a racy FAIL.
9526 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
9527 code from `follow parent, print pids'.
9528 (`follow child, print pids', `follow parent, print pids'): Call it.
9529 Replace `gdb_test "break..."' by gdb_breakpoint.
9530
f7c60c5e
VP
95312009-03-13 Vladimir Prus <vladimir@codesourcery.com>
9532
9533 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 9534 sync and async modes.
f7c60c5e 9535
383ace49
JB
95362009-03-12 Joel Brobecker <brobecker@adacore.com>
9537
9538 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
9539 that was checked in by mistake. Remove loading of ada.exp, since
9540 this is not necessary in this case.
9541
4ce102af
JB
95422009-03-12 Joel Brobecker <brobecker@adacore.com>
9543
9544 * gdb.ada/ptype_arith_binop.exp: New testcase.
9545
529a2aef
JB
95462009-03-12 Joel Brobecker <brobecker@adacore.com>
9547
9548 * gdb.ada/mod_from_name: New testcase.
9549
8a38181c
JB
95502009-03-12 Joel Brobecker <brobecker@adacore.com>
9551
9552 * gdb.ada/tick_last_segv: New testcase.
9553
11436dee
VP
95542009-03-12 Vladimir Prus <vladimir@codesourcery.com>
9555
61ff14c6 9556 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 9557
1f31650a
VP
95582009-03-12 Vladimir Prus <vladimir@codesourcery.com>
9559
61ff14c6
JK
9560 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
9561 include the token in ^running and frame info in *stopped.
1f31650a 9562
a3247a22
PP
95632009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9564
9565 * solib-display.exp: New file.
9566 * solib-display-main.c: New file.
9567 * solib-display-lib.c: New file.
61ff14c6 9568
aae64587
PA
95692009-03-05 Pedro Alves <pedro@codesourcery.com>
9570
9571 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
9572
44aabfbc
JK
95732009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9574
9575 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
9576 (list_and_check_macro): Use more specific test name.
9577 (next to definition): Make the test names unique.
9578
c087fcd3
PM
95792009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
9580
9581 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 9582
c86cf029
VP
95832009-02-17 Vladimir Prus <vladimir@codesourcery.com>
9584
9585 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
9586 notifications.
9587 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
9588 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
9589 * lib/mi-support.exp (library_loaded_re): New.
9590 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
9591
3ea85240
VP
95922009-02-17 Vladimir Prus <vladimir@codesourcery.com>
9593
9594 * gdb.gdb/observer.exp: Use test_notification observer, not
9595 normal_stop, everywhere.
9596 (test_normal_stop_notifications): Rename to...
9597 (test_notifications): ...this.
9598 (test_observer_normal_stop): Rename to...
9599 (test_observer): ...this.
9600
1903f0e6
DE
96012009-02-16 Doug Evans <dje@google.com>
9602
9603 * gdb.arch/amd64-disp-step.S (test_int3): New test.
9604 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
9605 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
9606 (test_prefixed_syscall,test_int3): New tests.
9607 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
9608 (test_prefixed_syscall,test_int3): New tests.
9609
1d33d6ba
VP
96102009-02-14 Vladimir Prus <vladimir@codesourcery.com>
9611
3cb51905
AS
9612 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
9613 (mi_expect_interrupt): Likewise.
9614 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
9615 response.
1d33d6ba 9616
faafb047
PM
96172009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
9618
9619 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
9620 * gdb.base/pc-fp.exp (get_valueofx): Remove.
9621 Replace calls to get_valueofx by get_hexadecimal_valueof.
9622
417e16e2
PM
96232009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
9624
9625 * lib/gdb.exp (get_valueof): Accept anything as a return value.
9626 (get_integer_valueof): New procedure.
9627 (get_sizeof): Use new get_integer_value_of.
9628 * gdb.base/sizeof.exp: Replace all uses of get_valueof
9629 by get_integer_valueof.
9630
7065b901
TT
96312009-02-13 Tom Tromey <tromey@redhat.com>
9632
9633 * gdb.base/remote.exp (get_sizeof): Remove.
9634 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
9635 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
9636 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
9637 * lib/gdb.exp (get_valueof): Move from long_long.exp.
9638 (get_sizeof): Likewise.
9639
5d7cb8df
JK
96402009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9641
9642 PR fortran/9806
9643 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
9644
b2febfff
PP
96452009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9646
9647 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
9648
4aa995e1
PA
96492009-02-06 Pedro Alves <pedro@codesourcery.com>
9650
9651 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
9652
d8906c6f
TJB
96532009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
9654
9655 * gdb.python/python-cmd.exp: New file.
9656
ff4ab08d
TG
96572009-02-06 Tristan Gingold <gingold@adacore.com>
9658
9659 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
9660
aacd552b
TG
96612009-02-05 Tristan Gingold <gingold@adacore.com>
9662
9663 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
9664 pointer is dereferenced and use this signal name in regexp.
9665 * gdb.base/signull.exp: Ditto.
9666 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
9667 * gdb.base/signull.c (main): Ditto.
9668
08c637de
TJB
96692009-02-04 Tom Tromey <tromey@redhat.com>
9670 Thiago Jung Bauermann <bauerman@br.ibm.com>
9671
9672 * gdb.python/python-value.exp: Use `gdb.history' instead of
9673 `gdb.value_from_history'.
9674 (test_value_numeric_ops): Add test for conversion of enum constant.
9675 * gdb.python/python-value.c (enum e): New type.
9676 (evalue): New global.
9677 (main): Use argv.
9678
20261af8
JG
96792009-02-04 Jerome Guitton <guitton@adacore.com>
9680
9681 * gdb.ada/uninitialized_vars: New test program.
9682 * gdb.ada/uninitialized_vars.exp: New testcase.
9683
52e44b43
TT
96842009-02-02 Tom Tromey <tromey@redhat.com>
9685
9686 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
9687 * gdb.cp/pr2489.cc: Rename...
9688 * gdb.cp/pr9594.cc: ... to this.
9689
1c71341a
TT
96902009-02-02 Tom Tromey <tromey@redhat.com>
9691
9692 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
9693 * gdb.cp/pr2489.cc: New file.
9694 * gdb.cp/cpcompletion.exp: New file.
9695
a4295225
TT
96962009-02-02 Tom Tromey <tromey@redhat.com>
9697
9698 PR exp/9059:
9699 * gdb.cp/call-c.exp: Add regression test.
9700 * gdb.cp/call-c.cc (FooHandle): New typedef.
9701 (main): New variable 'handle'.
9702
592375cd
VP
97032009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9704
9705 * lib/mi-support.exp (et_mi_thread_list)
9706 (check_mi_and_console_threads): Adjust for current thread in
9707 -thread-list-ids output.
9708
41447f92
VP
97092009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9710
889bf7c5
PA
9711 * gdb.mi/mi-break.exp (test_disabled_creation): New.
9712 Call it.
41447f92 9713
35669430
DE
97142009-01-28 Doug Evans <dje@google.com>
9715
9716 * gdb.arch/amd64-disp-step.S: New file.
9717 * gdb.arch/amd64-disp-step.exp: New file.
9718 * gdb.arch/i386-disp-step.S: New file.
9719 * gdb.arch/i386-disp-step.exp: New file.
9720
09f00d9a
PM
97212009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
9722
9723 * gdb.base/find.exp: Set newline variable
9724 using quotes instead of braces to fix cygwin failures.
9725
1e8fb976
PA
97262009-01-23 Pedro Alves <pedro@codesourcery.com>
9727
9728 * gdb.base/radix.exp: Add tests to ensure that that set
9729 input-radix 0 and set output-radix 0 are really rejected.
9730
da061712
PA
97312009-01-23 Pedro Alves <pedro@codesourcery.com>
9732
9733 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
9734 copyright years.
9735
dd7e2d2b
PA
97362009-01-23 Pedro Alves <pedro@codesourcery.com>
9737
9738 PR gdb/9664:
9739 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
9740
392452f6
PA
97412009-01-22 Pedro Alves <pedro@codesourcery.com>
9742
9743 PR c++/9631:
9744 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
9745
8653e71c
PM
97462009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
9747
9748 * gdb.server/file-transfer.exp: Use EXEEXT variable for
9749 binfile definition to fix Windows OS failure.
9750
a12cc160
DJ
97512009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9752
9753 PR gdb/9346
9754 * gdb.base/interrupt.c (sigint_handler): New.
9755 (main): Install a SIGINT handler if SIGNALS is defined. Exit
9756 on error.
9757 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
9758 Test "signal SIGINT".
9759
b89667eb
DE
97602009-01-19 Doug Evans <dje@google.com>
9761
9762 * gdb.base/break.exp: Update expected gdb output.
9763 * gdb.base/sepdebug.exp: Ditto.
9764 * gdb.mi/mi-syn-frame.exp: Ditto.
9765 * gdb.mi/mi2-syn-frame.exp: Ditto.
9766 * gdb.base/call-signal-resume.exp: New file.
9767 * gdb.base/call-signals.c: New file.
9768 * gdb.base/unwindonsignal.exp: New file.
9769 * gdb.base/unwindonsignal.c: New file.
9770 * gdb.threads/interrupted-hand-call.exp: New file.
9771 * gdb.threads/interrupted-hand-call.c: New file.
9772 * gdb.threads/thread-unwindonsignal.exp: New file.
9773
adb483fe
DJ
97742009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
9775
9776 * gdb.base/define.exp: Test defining and hooking prefix commands.
9777 * gdb.python/python.exp: Update test for "show user" output.
9778
60023297
JK
97792009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9780
9781 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
9782 now the output exactly, using less wildcards. Expect also the output
9783 of gfortran-4.3. Update for the f-valprint.c modification from
9784 2008-04-22.
9785 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
9786 Remove gdb_test test names where matching the command.
9787
ccc57cf9
PA
97882009-01-01 Pedro Alves <pedro@codesourcery.com>
9789
9790 PR breakpoints/9681:
9791 * gdb.base/watchpoint.exp: Add regression test.
9792
c7a6ca08
PA
97932008-12-31 Pedro Alves <pedro@codesourcery.com>
9794
9795 * gdb.threads/attach-into-signal.exp: Don't use
9796 gdb_suppress_entire_file.
9797 * gdb.threads/attach-stopped.exp: Ditto.
9798 * gdb.threads/attachstop-mt.exp: Ditto.
9799
3a031f65
PA
98002008-12-31 Pedro Alves <pedro@codesourcery.com>
9801
9802 PR gdb/8812:
9803 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
9804
09e6485f
PA
98052008-12-29 Pedro Alves <pedro@codesourcery.com>
9806
9807 PR gdb/7536:
9808 * gdb.base/radix.exp: Add tests to ensure invalid input radices
9809 and unsupported output radices are really rejected.
9810
0cd53049
JK
98112008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9812
9813 * gdb.cp/punctuator.exp: Backslash the '$' signs.
9814
ba163c7e
TT
98152008-12-22 Tom Tromey <tromey@redhat.com>
9816
9817 * gdb.cp/punctuator.exp: New file.
9818
6f4de6c9
JK
98192008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9820
9821 * gdb.base/completion.exp (Completing non-existing component): New test.
9822
0f34d0b4
JK
98232008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9824
9825 Fix for PR gdb/8648.
9826 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
9827 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
9828 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
9829 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
9830
db2ad4c3
JK
98312008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9832
9833 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
9834
bb5ef15e
DP
98352008-12-16 Christophe Lyon <christophe.lyon@st.com>
9836
9837 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
9838 compiler actually generate code at the expected line number.
9839
90142adc
JZ
98402008-12-15 Jie Zhang <jie.zhang@analog.com>
9841
9842 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
9843
fad6eecd
TT
98442008-12-12 Tom Tromey <tromey@redhat.com>
9845
9846 * gdb.base/commands.exp (redefine_hook_test): New proc.
9847 Call it.
9848
17c8aaf5
TT
98492008-12-11 Tom Tromey <tromey@redhat.com>
9850
9851 * gdb.base/macscp.exp: New regression test.
9852
7c8adf68
TT
98532008-12-11 Tom Tromey <tromey@redhat.com>
9854
9855 * gdb.base/macscp.exp: Print "address.addr".
9856 * gdb.base/macscp1.c (struct outer): New struct.
9857 (address): New global.
9858
b05dcbb7
TT
98592008-12-09 Tom Tromey <tromey@redhat.com>
9860
9861 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
9862 Call it.
9863
2d476de1
DE
98642008-12-04 Doug Evans <dje@google.com>
9865
9866 * gdb.server/ext-run.exp: Relax regexp for init program.
9867
87bdc959
TG
98682008-12-03 Tristan Gingold <gingold@adacore.com>
9869
9870 * gdb.base/macscp.exp: Generate an object file during compilation
9871 to work around Darwin dsymutil limitations.
9872
e0740f77
JK
98732008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9874
9875 Test resolving external references to TLS variables.
9876 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
9877 FILE2_THREAD_LOCAL.
9878 (testfile2, srcfile2): New variables.
9879 * gdb.threads/tls.c (file2_thread_local)
9880 (function_referencing_file2_thread_local): New.
9881 * gdb.threads/tls2.c: New file.
9882
67f0aac5
JB
98832008-11-28 Joel Brobecker <brobecker@adacore.com>
9884
9885 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
9886 rather than integer, as integer might not be big enough when
9887 on 64bit targets.
67f0aac5 9888
c332165e
JG
98892008-11-27 Jerome Guitton <guitton@adacore.com>
9890
9891 * gdb.cp/formatted-ref.exp: Add equality test.
9892 * gdb.ada/formatted_ref.exp: Ditto.
9893
fc9b693c
JK
98942008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9895
9896 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
9897 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
9898
a9c64011
AS
98992008-11-20 Andreas Schwab <schwab@suse.de>
9900
9901 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
9902 matching syscall entry point.
9903 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
9904 (tcatch_vfork_then_child_follow): Likewise. Finish through
9905 vfork even if we stopped at the syscall trampoline.
9906
e2fd701e
DE
99072008-11-20 Doug Evans <dje@google.com>
9908
9909 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
9910
69abc51c
TJB
99112008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
9912
9913 * gdb.arch/ppc-dfp.exp: New file.
9914 * gdb.arch/ppc-dfp.c: New file.
9915
c14c28ba
PP
99162008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9917
9918 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 9919
2e74121d
DE
99202008-11-17 Doug Evans <dje@google.com>
9921
9922 * gdb.mi/mi-syn-frame.exp: Update expected output.
9923 * gdb.mi/mi2-syn-frame.exp: Update expected output.
9924
66bb093b
VP
99252008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9926
9927 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
9928 "thread N" results in =thread-selected.
9929 * lib/mi-support (mi_run_cmd, mi_expect_stop)
9930 (mi_send_resuming_command_raw): Be prepared for
9931 =thread-selected.
9932
3d043ef6
VP
99332008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9934
a9c64011
AS
9935 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
9936 * lib/mi-support.exp: Likewise.
3d043ef6 9937
808104c8
JB
99382008-11-16 Joel Brobecker <brobecker@adacore.com>
9939
9940 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
9941 commands from the expected output for "help catch".
9942
00b22944
JB
99432008-11-15 Joel Brobecker <brobecker@adacore.com>
9944
9945 * gdb.ada/int_deref.exp: New testcase.
9946
59669435
TT
99472008-11-14 Nick Roberts <nickrob@snap.net.nz>
9948
9949 * gdb.mi/gdb2549.exp: New file.
9950
de04a248
DE
99512008-11-11 Doug Evans <dje@google.com>
9952
9953 * gdb.base/callexit.exp: New file.
9954 * gdb.base/callexit.c: New file.
9955
6b8ce727
DE
99562008-11-10 Doug Evans <dje@google.com>
9957
9958 * lib/gdb.exp (GDBFLAGS): Move -nx ...
9959 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
9960 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
9961 (default_gdb_start,default_gdb_exit): Ditto.
9962 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
9963 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
9964 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
9965 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
9966 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
9967 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
9968
1b14b8aa
AS
99692008-11-03 Andreas Schwab <schwab@suse.de>
9970
9971 * gdb.base/hashline2.exp: Fix typo.
9972 * gdb.base/hashline3.exp: Likewise.
9973
f3134b88
TT
99742008-10-30 Tom Tromey <tromey@redhat.com>
9975
9976 * gdb.base/pointers.exp: Add test.
9977 * gdb.base/pointers.c (k, S): New typedefs.
9978 (instance): New global.
9979
c2226152
AS
99802008-10-30 Andreas Schwab <schwab@suse.de>
9981
9982 * gdb.base/args.exp: Add tests for newlines.
9983
462f405c
JB
99842008-10-30 Joel Brobecker <brobecker@adacore.com>
9985
9986 gdb.base/foll-exec.exp: Update the expected output of a couple
9987 of "info breakpoints" tests.
9988
79a45b7d
TT
99892008-10-28 Tom Tromey <tromey@redhat.com>
9990
9991 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
9992
adc13a14
PA
99932008-10-24 Pedro Alves <pedro@codesourcery.com>
9994
9995 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
9996 gdb_start_cmd.
9997 Use runto_main before any test that requires execution.
9998
252fbfc8
PA
99992008-10-23 Pedro Alves <pedro@codesourcery.com>
10000
10001 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
10002 instead of SIGINT.
10003
28148e3d
JB
100042008-10-22 Joel Brobecker <brobecker@adacore.com>
10005
10006 * gdb.base/completion.exp: Update expected output following
10007 the addition of the "info tasks" command.
10008
c209f847
TT
100092008-10-22 Tom Tromey <tromey@redhat.com>
10010
10011 * gdb.base/exprs.exp (test_expr): Add test for string
10012 concatenation.
10013
f177e350
PA
100142008-10-19 Pedro Alves <pedro@codesourcery.com>
10015
10016 * configure.ac: Output gdb.python/Makefile.
10017 * configure: Regenerate.
10018 * gdb.python/Makefile.in: New.
10019
cce89356
JB
100202008-10-16 Joel Brobecker <brobecker@adacore.com>
10021
10022 * gdb.base/foll-fork.exp: Adjust the expected output to match
10023 the new description for fork/vfork catchpoints in the "info
10024 breakpoints" output.
10025
176d289d
TJB
100262008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10027
10028 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
10029
a08702d6
TJB
100302008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
10031
10032 * gdb.python/python-value.c: New file.
10033 * gdb.python/python-value.exp: New file.
10034
1c5cfe86
PA
100352008-10-15 Pedro Alves <pedro@codesourcery.com>
10036
10037 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
10038
5a98ad69
DP
100392008-10-15 Denis Pilat <denis.pilat@st.com>
10040
41702f1b 10041 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 10042
dcb1a1e2
TT
100432008-10-09 Tom Tromey <tromey@redhat.com>
10044
10045 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
10046 'fprintf' and 'stderr'.
10047
9124fe48
JB
100482008-10-07 Joel Brobecker <brobecker@adacore.com>
10049
10050 * gdb.ada/ref_tick_size.exp: New testcase.
10051
45452591
DE
100522008-10-06 Doug Evans <dje@google.com>
10053
10054 * gdb.dwarf2/dw2-cu-size.exp: New file.
10055 * gdb.dwarf2/dw2-cu-size.S: New file.
10056
10057 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
10058 .Ltype_int for clarity.
10059
4fc5b208
PP
100602008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
10061
10062 PR gdb/2384:
10063 * gdb.cp/gdb2384.exp: Extended to test more cases.
10064 * gdb.cp/gdb2384.cc: Likewise.
10065 * gdb.cp/gdb2384-base.h: Likewise.
10066 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 10067
d78df370
JK
100682008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10069
10070 * gdb.base/maint.exp (maint print type): Remove printing
10071 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
10072
9a044a89
TT
100732008-09-30 Tom Tromey <tromey@redhat.com>
10074
10075 * gdb.base/macscp.exp: Add completion tests.
10076 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
10077 (TWENTY_THREE): Likewise.
10078 (FORTY_EIGHT): Likewise.
10079
506800a9
TT
100802008-09-30 Tom Tromey <tromey@redhat.com>
10081
10082 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
10083 everywhere.
10084 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
10085
1a6f01b5
JK
100862008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10087
10088 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
10089 testcase is derived from. Fix racy dependency on an expected PID
10090 number. No longer support the testcase on Linux kernel 2.4.x.
10091
2fae03e8
TT
100922008-09-27 Tom Tromey <tromey@redhat.com>
10093
10094 * gdb.base/macscp.exp: Add tests for stringification, splicing,
10095 and varargs.
10096
1ad15515
PA
100972008-09-22 Pedro Alves <pedro@codesourcery.com>
10098
10099 * lib/mi-support.exp (mi_expect_interrupt): New.
10100 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
10101 from gdb.mi/mi-nonstop.exp.
10102 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
10103 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
10104 lib/mi-support.exp.
10105 Use mi_check_thread_states throughout. Avoid ".*" and do not
10106 require an anchor after -exec-run.
10107
d0b76dc6
DJ
101082008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
10109
10110 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
10111 stop is pending. Avoid ".*" when two stops are pending.
10112 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
10113 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
10114 newlines in fullnames.
10115 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
10116 (mi_expect_stop): Update comments. Only anchor in sync mode.
10117 Do not match newlines.
10118 (mi_send_resuming_command_raw): Always return status.
10119 (mi_get_stop_line): Do not match more than one line by accident.
10120 Only anchor in sync mode.
10121 (mi_run_inline_test): If -exec-next fails, give up.
10122
9990c830
UW
101232008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10124
10125 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
10126 on SPU.
10127
ebcf6f00
JB
101282008-09-10 Joel Brobecker <brobecker@adacore.com>
10129
10130 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
10131
b6db24e5
JB
101322008-09-10 Joel Brobecker <brobecker@adacore.com>
10133
10134 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
10135 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
10136 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
10137 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
10138 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
10139 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
10140 gdb.ada/interface.exp, gdb.ada/null_array.exp,
10141 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
10142 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
10143 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
10144 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
10145 Include the "= " sequence in the expected output of print tests.
10146
2bf448e0
JB
101472008-09-10 Joel Brobecker <brobecker@adacore.com>
10148
10149 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
10150 description for boolean types.
10151
d51fd4c8
PA
101522008-09-09 Pedro Alves <pedro@codesourcery.com>
10153
10154 * gdb.base/hook-stop-continue.c: New.
10155 * gdb.base/hook-stop-continue.exp: New.
10156
694182d2
DJ
101572008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10158
10159 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
10160
3b8a7fc0
JG
101612008-09-08 Jerome Guitton <guitton@adacore.com>
10162
10163 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
10164 (stack_check_probe_2, stack_check_probe_loop_1)
10165 (stack_check_probe_loop_2): New functions.
10166 (main): Add call to these new functions.
10167 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
10168 functions, check that the breakpoint is inserted at the appropriate
10169 location.
10170 (insert_breakpoint): Slightly refine this procedure so that it can
10171 be called several times in the test.
10172
96cc0ae8
JG
101732008-09-08 Jerome Guitton <guitton@adacore.com>
10174
10175 * gdb.base/stack-checking.c: New file.
10176 * gdb.base/stack-checking.exp: New file.
10177
1f08b409
TJB
101782008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
10179
10180 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
10181 * gdb.arch/altivec-regs.exp: Likewise.
10182 * gdb.arch/vsx-regs.exp: Likewise.
10183
3099e1c4
TJB
101842008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
10185
10186 * gdb.arch/ppc-fp.exp: New file.
10187 * gdb.arch/ppc-fp.c: New file.
10188
cc69bfc1
PP
101892008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10190
10191 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
10192 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 10193
b02a33db
MS
101942008-09-04 Michael Snyder <msnyder@vmware.com>
10195
10196 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
10197 as "at" (for non-debug functions such as _start).
10198
2992cbe0
UW
101992008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10200
10201 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
10202 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
10203 software watchpoints.
10204 * gdb.base/watch_thread_num.exp: Likewise.
10205
514f746b
AR
102062008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
10207
10208 * gdb.arch/i386-bp_permanent.exp: New test.
10209
876cecd0
TT
102102008-08-24 Tom Tromey <tromey@redhat.com>
10211
10212 * gdb.base/maint.exp: Update "maint print type".
10213
80f73d71
VP
102142008-08-21 Vladimir Prus <vladimir@codesourcery.com>
10215
10216 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
10217 support. Adjust the order of "*running" notifications.
10218 * gdb.mi/non-stop.c: Don't cast from int to void* and
10219 back.
10220
d9c78d7d
MK
102212008-08-20 Mark Kettenis <kettenis@gnu.org>
10222
10223 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
10224 expect to find it in the "info frame" output.
10225
97a2d1d3
DJ
102262008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
10227
10228 * gdb.base/interp.exp: Always consume both prompts.
10229
b96e2927
PA
102302008-08-20 Pedro Alves <pedro@codesourcery.com>
10231
10232 * gdb.base/pending.exp: Test pending breakpoints without symbols
10233 loaded.
10234
8cf6e61a
VP
102352008-08-19 Vladimir Prus <vladimir@codesourcery.com>
10236
10237 * lib/mi-support.exp (mi_expect_stop): Produce
10238 more details on failures.
10239 * gdb.mi/mi-nonstop.exp: New.
10240 * gdb.mi/non-stop.c: New.
10241
c6ebd6cf
VP
102422008-08-19 Vladimir Prus <vladimir@codesourcery.com>
10243
a9c64011
AS
10244 * gdb.mi/mi-async.exp: Use 'set target-async'.
10245 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 10246
46a9b8ed
DJ
102472008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
10248
10249 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
10250
44feb3ce
TT
102512008-08-17 Tom Tromey <tromey@redhat.com>
10252
10253 * gdb.base/help.exp (help catch): Rewrite.
10254
311a4e6b
TJB
102552008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
10256
10257 * gdb.base/define.exp: Test indented command documentation.
10258 * gdb.python/python.exp: Test indented multi-line command.
10259
604c2f83
LM
102602008-08-15 Luis Machado <luisgpm@br.ibm.com>
10261
10262 * testsuite/gdb.arch/vsx-regs.c: New source file.
10263 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
10264 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
10265
886a217c
TT
102662008-08-14 Tom Tromey <tromey@redhat.com>
10267
10268 * gdb.base/macscp.exp: Add regression test for "macro define" or
10269 "macro undef" with no arguments.
10270
c814a4f3
PP
102712008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10272
10273 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 10274
12ab8a60
UW
102752008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10276
10277 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
10278
d57a3c85
TJB
102792008-08-06 Tom Tromey <tromey@redhat.com>
10280
10281 * gdb.python/python.exp: New file.
10282
c7b778ff
JK
102832008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10284
10285 Fix for PR gdb/1543.
10286 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
10287 $LOCATION.
10288 (location): New variable.
10289 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
10290 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
10291 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
10292 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
10293 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
10294 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
10295 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
10296 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
10297 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
10298 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
10299 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
10300 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
10301 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
10302 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
10303 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
10304 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
10305 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
10306 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
10307 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
10308 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
10309 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
10310 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
10311 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
10312 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
10313 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
10314 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
10315 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
10316 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
10317 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
10318 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
10319 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
10320 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
10321 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
10322 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
10323 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
10324 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
10325 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
10326 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
10327 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
10328 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
10329 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
10330 gdb.base/type-opaque.exp, gdb.base/until.exp,
10331 gdb.base/value-double-free.c, gdb.base/varargs.exp,
10332 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
10333 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
10334 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
10335 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
10336 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
10337 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
10338 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
10339 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
10340 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
10341 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
10342 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
10343 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
10344 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
10345 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
10346 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
10347 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
10348 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
10349 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
10350 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
10351 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
10352 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
10353 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
10354 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
10355 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
10356 gdb.pascal/types.exp, gdb.stabs/weird.exp,
10357 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
10358 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
10359 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
10360 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
10361 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
10362 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
10363 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
10364 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
10365 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
10366 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
10367 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
10368 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
10369 lib/mi-support.exp, lib/trace-support.exp: Remove reference
10370 to bug-gdb@prep.ai.mit.edu .
10371
5e06a3d1
VP
103722008-07-31 Vladimir Prus <vladimir@codesourcery.com>
10373
10374 * lib/mi-support.exp (mi_load_shlibs): New.
10375 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
10376
9d81d21b
VP
103772008-07-30 Vladimir Prus <vladimir@codesourcery.com>
10378
10379 * lib/mi-support.exp (get_mi_thread_list)
10380 (check_mi_and_console_threads): New, moved from ...
10381 * gdb.mi/mi-pthread.exp: ...here.
10382 * gdb.mi/gdb669.exp (get_mi_thread_list)
10383 (check_mi_and_console_threads): Delete.
10384 * gdb.mi/mi2-pthread.exp: Likewise.
10385
bae98fe0
TT
103862008-07-28 Tom Tromey <tromey@redhat.com>
10387
10388 * Makefile.in (just-check): Remove. Move body to...
10389 (check): ... here.
10390
57380f4e
DJ
103912008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10392
10393 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
10394 Add a test for duplicated SIGINTs.
10395
e09490f1
DJ
103962008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10397
10398 * gdb.threads/schedlock.exp (get_args): Update to work for any
10399 value of NUM.
10400 (Top level): Report the number of threads that did not resume.
10401
6387b45f
DJ
104022008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10403
10404 * gdb.dwarf2/dw2-compressed.S: Also define __start.
10405
62f64ff2
DJ
104062008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10407
10408 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
10409 non-MI prompt.
10410
fa8de41e
TT
104112008-07-26 Tom Tromey <tromey@redhat.com>
10412
10413 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
10414 (function_struct, function_struct_ptr): New globals.
10415 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
10416 function pointer in a struct.
10417
ccb3ac8a
TT
104182008-07-26 Tom Tromey <tromey@redhat.com>
10419
10420 * gdb.base/macscp.exp: Add test for macro lexing bug.
10421
d7d9f01e
TT
104222008-07-18 Tom Tromey <tromey@redhat.com>
10423
10424 * gdb.base/macscp.exp: Add macro tests.
10425
9bf07184
PP
104262008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
10427
10428 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
10429
becf6477
PP
104302008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
10431
10432 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
10433
0709f7d3
PP
104342008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
10435
10436 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 10437
7093c834
PP
104382008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
10439
10440 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 10441
b432ffe3
JK
104422008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10443
10444 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
10445
b1a268e5
VP
104462008-07-12 Vladimir Prus <vladimir@codesourcery.com>
10447
10448 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
10449
e2995f8e
KB
104502008-07-11 Kevin Buettner <kevinb@redhat.com>
10451
10452 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
10453 of regexp to account for changes made to GDB in the printing of
10454 byte vectors.
10455
14032a66
TT
104562008-07-11 Tom Tromey <tromey@redhat.com>
10457
10458 * gdb.base/completion.exp: Add 'help' completion test.
10459
981505ef
JK
104602008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10461
10462 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
10463
10568435
JK
104642008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10465
10466 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
10467
4487aabf
PA
104682008-07-09 Pedro Alves <pedro@codesourcery.com>
10469
10470 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
10471
a4a9b1c4
PA
104722008-07-09 Pedro Alves <pedro@codesourcery.com>
10473
10474 * gdb.base/fullname.exp: Restore pwd if compiling failed.
10475
3c3185ac
JK
104762008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10477
10478 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
10479
7ebd49dc
VP
104802008-06-28 Vladimir Prus <vladimir@codesourcery.com>
10481
10482 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
10483 previous commit. Add a comment.
10484
84e46146
PA
104852008-06-28 Pedro Alves <pedro@codesourcery.com>
10486
10487 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
10488
0f8d4a2f
VP
104892008-06-28 Vladimir Prus <vladimir@codesourcery.com>
10490
10491 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
10492
f747e0ce
PA
104932008-06-27 Pedro Alves <pedro@codesourcery.com>
10494
10495 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
10496 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
10497 compiling an executable, link in an object that forces unbuffered
10498 output.
10499 * lib/set_unbuffered_mode.c: New file.
10500
734a5c36
JK
105012008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10502
10503 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
10504
a2840c35
VP
105052008-06-25 Vladimir Prus <vladimir@codesourcery.com>
10506
a9c64011
AS
10507 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
10508 mi_expect_stop.
10509 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
10510 Demand that *running is output.
10511 (detect_async): Perform checking every time.
10512 (mi_send_resuming_command): Extract everything into...
10513 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
10514 (mi_expect_stop): Don't accept any output before *stopped.
10515
6ae37fef
VP
105162008-06-13 Vladimir Prus <vladimir@codesourcery.com>
10517
10518 Robustify mi-simplerun.
a9c64011
AS
10519 * gdb.mi/basics.c (main): Add a call to sleep.
10520 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
10521 * gdb.mi/mi2-cli.exp: Likewise.
10522 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 10523
b4aa76f0 105242008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
10525
10526 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
10527
e1ac3328
VP
105282008-06-10 Vladimir Prus <vladimir@codesourcery.com>
10529
a9c64011
AS
10530 * gdb.mi/mi-console.exp: Adjust.
10531 * gdb.mi/mi-syn-frame.exp: Adjust.
10532 * gdb.mi/mi2-console.exp: Adjust.
10533 * gdb.mi/mi2-syn-frame.exp: Adjust.
10534 * lib/mi-support.exp (mi_run_cmd): Adjust.
10535 (mi_send_resuming_command): Adjust.
e1ac3328 10536
f7f9a841
VP
105372008-06-10 Vladimir Prus <vladimir@codesourcery.com>
10538
10539 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
10540 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
10541 testing of stopped.
10542 * gdb.mi/mi2-syn-frame.exp: Likewise.
10543 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
10544 (async, detect_async): New.
10545 (mi_expect_stop, mi_continue_to_line): Adjust expectation
10546 depending on if we're running in sync or async mode.
f7f9a841 10547
37cd5d19
TT
105482008-06-09 Tom Tromey <tromey@redhat.com>
10549
10550 * gdb.base/completion.exp: New tests for field name completion
10551 with spaces, and field name completion with '->'.
10552
65d12d83
TT
105532008-06-06 Tom Tromey <tromey@redhat.com>
10554
10555 * gdb.base/break1.c (struct some_struct): New struct.
10556 (values): New global.
10557 * gdb.base/completion.exp: Add field name completion test.
10558
ebfe2e3f
PP
105592008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10560
10561 * gdb.cp/call-c.exp: Test for incorrect handling of reference
10562 to pointer.
10563 * gdb.cp/call-c.cc: Likewise.
10564
bcf6fc3a
NR
105652008-06-06 Nick Roberts <nickrob@snap.net.nz>
10566
10567 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
10568 annotation.
10569
49fd4a42 105702008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 10571 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
10572
10573 * gdb.threads/execl.c, gdb.threads/execl1.c,
10574 gdb.threads/execl.exp: New tests.
a9c64011 10575
8a34ac3f
AR
105762008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
10577 Daniel Jacobowitz <dan@codesourcery.com>
10578
10579 * gdb.cp/exception.exp: Activate test, make it work with pending
10580 catchpoints.
10581
86ae69ef
JK
105822008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10583
10584 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
10585
f7f9ae2c
VP
105862008-05-28 Vladimir Prus <vladimir@codesourcery.com>
10587
a9c64011
AS
10588 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
10589 now printed.
10590 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 10591
2a2d4dc3
AS
105922008-05-27 Andreas Schwab <schwab@suse.de>
10593
10594 * gdb.base/frame-args.exp: Handle arguments that are optimized
10595 out.
10596
5099e4d9
LM
105972008-05-26 Luis Machado <luisgpm@br.ibm.com>
10598
10599 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
10600 quiet for ppc32 and group options into a single variable.
10601
d9c36a91
JB
106022008-05-23 Joel Brobecker <brobecker@adacore.com>
10603
10604 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
10605 of zero-size elements.
10606 * gdb.ada/null_array.exp: Test printing this new array.
10607
103a8671
JK
106082008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10609
10610 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
10611
07a4cc1a 106122008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
10613
10614 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
10615 of the "finish" command.
10616
55f996a7
NR
106172008-05-21 Nick Roberts <nickrob@snap.net.nz>
10618
10619 * gdb.base/annota1.exp: Test for new annotation.
10620
907fc202
UW
106212008-05-16 Pedro Alves <pedro@codesourcery.com>
10622
10623 * gdb.base/fixsection.exp: New file.
10624 * gdb.base/fixsection0.c: New file.
10625 * gdb.base/fixsection1.c: New file.
10626
e8f97270
UW
106272008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10628
10629 * gdb.base/annota1.exp: Accept printf@... in place of printf.
10630 * gdb.base/annota3.exp: Likewise.
10631
ac0bb574
NF
106322008-05-13 Nathan Froyd <froydnj@codesourcery.com>
10633
10634 * gdb.base/watch_thread_num.exp: Don't run tests that require
10635 watchpoints if the target doesn't support them.
10636
6fadd07a
DE
106372008-05-12 Doug Evans <dje@google.com>
10638
10639 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
10640
6e9a4a30
JB
106412008-05-09 Joel Brobecker <brobecker@adacore.com>
10642
10643 * gdb.ada/assign_1.exp: New testcase.
10644
08388c79
DE
106452008-05-09 Doug Evans <dje@google.com>
10646
a3c83fae
DE
10647 * gdb.base/find.exp: New file.
10648 * gdb.base/find.c: New file.
08388c79 10649
bd5ddfe8
DJ
106502008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
10651
10652 * gdb.base/commands.exp (watchpoint_command_test): Handle
10653 gdb,no_hardware_watchpoints.
10654 * gdb.base/float.exp: Allow ARM targets without floating point.
10655 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
10656
b5dd68e2 106572008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 10658 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
10659
10660 * gdb.ada/lang_switch: New test program.
10661 * gdb.ada/lang_switch.exp: New testcase.
10662
382d13d1
DE
106632008-05-05 Doug Evans <dje@google.com>
10664
10665 * gdb.base/help.exp (disassemble): Update expected help text.
10666
9dd789d0
PA
106672008-05-04 Pedro Alves <pedro@codesourcery.com>
10668
10669 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
10670
611c83ae
PA
106712008-05-04 Pedro Alves <pedro@codesourcery.com>
10672
10673 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
10674 different times.
10675
ff013f42
JK
106762008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10677
10678 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
10679 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
10680 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
10681 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
10682
96dff6a2
VP
106832008-05-04 Vladimir Prus <vladimir@codesourcery.com>
10684
10685 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
10686 notification to appear.
10687
55cd6f92
DJ
106882008-05-04 Daniel Jacobowitz <dan@debian.org>
10689
10690 * gdb.base/fullname.c: New file.
10691 * gdb.base/fullname.exp: New file.
10692 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
10693
d705c43c
PA
106942008-05-03 Pedro Alves <pedro@codesourcery.com>
10695
10696 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
10697 expressions with macros.
10698
333222e1
JK
106992008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10700
10701 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
10702
5ac01682
DJ
107032008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
10704
10705 * gdb.base/completion.exp: Handle lack of other symbols beginning
10706 with "a".
10707
10708 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
10709
237fc4c9
PA
107102008-05-02 Jim Blandy <jimb@codesourcery.com>
10711
10712 * gdb.asm/asmsrc1.s: Add scratch space.
10713
ed5e9466
DJ
107142008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10715 Daniel Jacobowitz <dan@codesourcery.com>
10716
10717 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
10718 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
10719 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
10720
b39cc962
DJ
107212007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
10722
10723 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
10724
36d520f5
JB
107252008-05-01 Joel Brobecker <brobecker@adacore.com>
10726
10727 * gdb.base/info-target.exp: New testcase.
10728
8d4e3071
DJ
107292008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10730
10731 * gdb.cp/hang.exp: Use .cc instead of .C.
10732 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
10733 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
10734
6f3f3097
DJ
107352008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10736
10737 * gdb.base/gdb1250.exp: Remove perror.
10738 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
10739
5550a914
PA
107402008-04-30 Pedro Alves <pedro@codesourcery.com>
10741
10742 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
10743 .2byte.
10744
d848e687
DJ
107452008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
10746
10747 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
10748 (maybe_kfail): New.
10749
93b5768b
PA
107502008-04-25 Pedro Alves <pedro@codesourcery.com>
10751
10752 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
10753
721c02de
VP
107542008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10755
a9c64011
AS
10756 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
10757 * gdb.mi/mi2-syn-frame.exp: Likewise.
10758 * lib/mi-support.exp: Likewise.
721c02de 10759
74960c60
VP
107602008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10761
10762 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
10763 to specify regexp for the location to stop at.
10764 * gdb.base/break-always.c: New.
10765 * gdb.base/break-always.exp: New.
10766
d24317b4
VP
107672008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10768
10769 * lib/mi-support.exp (mi_runto_helper): Adjust
10770 for the original-location field.
10771 (mi_create_breakpoint, mi_list_breakpoints): New.
10772 * gdb.mi/mi-break.exp: Adjust.
10773 * gdb.mi/mi2-break.exp: Adjust.
10774 * gdb.mi/mi-pending.exp: Adjust.
10775 * gdb.mi/mi-simplerun.exp: Adjust.
10776 * gdb.mi/mi2-simplerun.exp: Adjust.
10777 * gdb.mi/mi-syn-frame.exp: Adjust.
10778 * gdb.mi/mi2-syn-frame.exp: Adjust.
10779 * gdb.mi/mi-until.exp: Adjust.
10780 * gdb.mi/mi2-until.exp: Adjust.
10781 * gdb.mi/mi-var-display.exp: Adjust.
10782 * gdb.mi/mi2-var-display.exp: Adjust.
10783 * gdb.mi/mi-watch.exp: Adjust.
10784 * gdb.mi/mi2-watch.exp: Adjust.
10785
fdc59709 107862008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 10787
a9c64011
AS
10788 * aclocal.m4: Add override.m4.
10789 * configure: Regenerate.
fdc59709 10790
8e91f023
VP
107912008-04-19 Vladimir Prus <vladimir@codesourcery.com>
10792
10793 * gdb.mi/var-cmd.c (do_at_tests): Verify that
10794 '-var-update --all-values' reports new value even the type
10795 of a variable object has changed.
10796
233a11ab
CS
107972008-04-18 Craig Silverstein <csilvers@google.com>
10798
10799 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
10800 files.
d24317b4 10801
9c1137ad
JB
108022008-04-18 Joel Brobecker <brobecker@adacore.com>
10803
10804 * gdb.ada/atomic_enum: New test program.
10805 * gdb.ada/atomic_enum.exp: New testcase.
10806
66d0bbc7
DE
108072008-04-17 Doug Evans <dje@google.com>
10808
10809 * gdb.opt/Makefile.in: Fix whitespace.
10810
100906b0
UW
108112008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
10812
10813 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
10814
4584e32e
DE
108152008-04-17 Doug Evans <dje@google.com>
10816
10817 * gdb.base/hashline1.exp: New testcase.
10818 * gdb.base/hashline2.exp: New testcase.
10819 * gdb.base/hashline2.exp: New testcase.
10820
0a320680
PA
108212008-04-17 Pedro Alves <pedro@codesourcery.com>
10822
10823 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
10824
18ac113b
AR
108252008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
10826
10827 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
10828 temporary breakpoint to match "Temporary breakpoint".
10829 * gdb.base/break.exp (delete_breakpoints): Likewise.
10830 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
10831 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
10832 * gdb.base/display.exp: Likewise.
10833 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
10834 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
10835 * gdb.base/restore.exp (restore_tests): Likewise.
10836 * gdb.base/sepdebug.exp: Likewise.
10837 * gdb.base/watchpoint.exp: Likewise.
10838 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
10839 * gdb.mi/mi-pending.exp: Likewise.
10840 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
10841 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
10842 * gdb.mi/mi-var-cmd.exp: Likewise.
10843 * gdb.mi/mi-var-display.exp: Likewise.
10844 * gdb.mi/mi2-cli.exp: Likewise.
10845 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
10846 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
10847 * gdb.mi/mi2-var-display.exp: Likewise.
10848 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
10849 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
10850 new "disp" field.
a9c64011 10851 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
10852 reason. This is to support fix for PR2424.
10853
add38693
JK
108542008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10855
10856 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
10857
fcacd99f
VP
108582008-04-13 Vladimir Prus <vladimir@codesourcery.com>
10859
10860 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 10861 field. Add more floating varobj tests.
fcacd99f 10862 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
10863 field.
10864 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
10865 (main): Call do_at_tests.
10866 * lib/mi-support.exp (mi_create_floating_varobj)
10867 (mi_varobj_update_with_type_change): New.
fcacd99f 10868
de051565
MK
108692008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
10870
10871 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
10872 option of -var-evaluate-expression.
10873 * gdb.mi/mi2-var-display.exp: Likewise.
10874
dbc52822
VP
108752008-04-07 Vladimir Prus <vladimir@codesourcery.com>
10876
10877 Introduce test setup helpers.
a9c64011
AS
10878 * lib/gdb.exp (build_executable, clean_restart)
10879 (prepare_for_testing): New.
10880 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
10881 * gdb.base/return.exp: Likewise.
10882 * gdb.base/ending-run.exp: Likewise.
dbc52822 10883
473591da
NR
108842008-04-07 Nick Roberts <nickrob@snap.net.nz>
10885
10886 * gdb.mi/mi-async.exp: New test for asynchronous Machine
10887 Interface (MI) responses.
10888
2b2d9e11
VP
108892008-04-06 Vladimir Prus <vladimir@codesourcery.com>
10890
a9c64011
AS
10891 * gdb.cp/breakpoint.cc: New code to test conditions involving
10892 member variables.
10893 * gdb.cp/breakpoint.exp: Test condition involving member
10894 variables.
2b2d9e11 10895
bb378428
VP
108962008-04-05 Vladimir Prus <vladimir@codesourcery.com>
10897
10898 * lib/mi-support.exp (mi_expect_stop): New.
10899 (mi_run_cmd): Change the
10900 token. Use mi_send_resuming_command, use
10901 mi_expect_stop.
10902 (mi_execute_to_helper): Rename to mi_execute_to.
10903 (mi_send_resuming_command): Add more error patterns.
10904 (mi_wait_for_stop): Renamed to...
10905 (mi_get_stop_line): ...this.
10906 (mi_run_inline_test): Adjust.
10907
10908 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
10909 * gdb.mi/mi-console.exp: Likewise.
10910 * gdb.mi/mi-pending.exp: Likewise.
10911 * gdb.mi/mi-simplerun.exp: Likewise.
10912 * gdb.mi/mi-stack.exp: Likewise.
10913 * gdb.mi/mi-stepi.exp: Likewise.
10914 * gdb.mi/mi-syn-frame.exp: Add comment.
10915 * gdb.mi/mi-until.exp: Likewise.
10916 * gdb.mi/mi-var-display.exp: Likewise.
10917 * gdb.mi/mi-watch.exp: Likewise.
10918 * gdb.mi/mi2-cli.exp: Likewise.
10919 * gdb.mi/mi2-console.exp: Likewise.
10920 * gdb.mi/mi2-simplerun.exp: Likewise.
10921 * gdb.mi/mi2-stack.exp: Likewise.
10922 * gdb.mi/mi2-stepi.exp: Likewise.
10923 * gdb.mi/mi2-until.exp: Likewise.
10924 * gdb.mi/mi2-var-display.exp: Likewise.
10925 * gdb.mi/mi2-watch.exp: Likewise.
10926
62172bb9
UW
109272008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10928
10929 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
10930
10931 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
10932
a13e061a
PA
109332008-04-04 Pedro Alves <pedro@codesourcery.com>
10934
10935 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
10936 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
10937 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
10938 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
10939 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
10940 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
10941 expect an mi error duplicated in stderr.
10942
eae06beb
JB
109432008-04-03 Joel Brobecker <brobecker@adacore.com>
10944
10945 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
10946 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
10947 Add a couple of tests that verify the behavior when the new setting
10948 is set to "cancel" and "all".
10949 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
10950 "ask" before we start the testing.
10951
79c6ced6
AR
109522008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
10953
10954 * gdb.cp/casts.cc: Add class reference variables.
10955 * gdb.cp/casts.exp: New test cases for up/down casting references.
10956
6c2d1a6b
MK
109572008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
10958
10959 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
10960 instead of beginning to make an extra test pass.
10961 * gdb.mi/mi2-var-display.exp: Likewise.
10962
55b411d9
MR
109632008-03-31 Maciej W. Rozycki <macro@mips.com>
10964
10965 * gdb.base/break.exp: Mark failures as such. Fix formatting.
10966
c6140da2
MD
109672008-03-31 Markus Deuling <deuling@de.ibm.com>
10968 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10969
10970 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
10971 value. Add xfail for older kernels.
10972
79732189
AR
109732008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
10974
10975 Bring mi-support in line with gdb.exp.
10976 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
10977 (mi_gdb_start): New function.
10978
33c3676e
MR
109792008-03-28 Maciej W. Rozycki <macro@mips.com>
10980
10981 * gdb.mi/mi-var-cmd.exp: Fix a typo.
10982
92e28119
VP
109832008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10984
10985 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
10986 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 10987
9e8e3afe
VP
109882008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10989
10990 * lib/mi-support.exp (mi_create_varobj_checked): New.
10991 (mi_list_varobj_children): Allow to check for a
10992 value.
10993 (mi_list_array_varobj_children): New.
10994
10995 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
10996 and mi_list_varobj_children, as opposed to hardcoding
10997 expected strings.
10998 * gdb.mi/gdb701.exp: Likewise.
10999 * gdb.mi/gdb792.exp: Likewise.
11000 * gdb.mi/mi-var-block.exp: Likewise.
11001 * gdb.mi/mi-var-cmd.exp: Likewise.
11002 * gdb.mi/mi-var-invalidate.exp: Likewise.
11003 * gdb.mi/mi2-var-block.exp: Likewise.
11004 * gdb.mi/mi2-var-child.exp: Likewise.
11005 * gdb.mi/mi2-var-cmd.exp: Likewise.
11006 * gdb.mi/mi2-var-display.exp: Likewise.
11007
9df50351
JK
110082008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11009
11010 Fix random false FAILs on i386.
11011 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
11012
31e5d73a
DJ
110132008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
11014
11015 PR gdb/544
11016 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
11017
12f4afab
DJ
110182008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
11019
11020 PR gdb/544
11021 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
11022
b562a0cb
DJ
110232008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
11024
11025 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
11026 fixed PR gdb/544.
11027
17faa917
DJ
110282008-03-21 Pedro Alves <pedro@codesourcery.com>
11029
11030 * gdb.threads/fork-child-threads.exp: Test next over fork.
11031
6214f497
DJ
110322008-03-21 Chris Demetriou <cgd@google.com>
11033
11034 * gdb.base/break.exp (rbreak junk): New test for rbreak
11035 "Junk at end of arguments" issue.
11036
63092375
DJ
110372008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
11038
11039 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
11040 *& to work on created array elements.
11041 (Top level): Test print $pc with a file. Test string operations
11042 without a target.
11043 * gdb.base/ptype.exp: Do not expect *& to work on created array
11044 elements.
11045
b21991b0
DJ
110462008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
11047
11048 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
11049 gdb.threads/staticthreads.exp: Update exit query.
11050
c4b347c7
SL
110512008-03-07 Sandra Loosemore <sandra@codesourcery.com>
11052
11053 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
11054
fa4727a6
DJ
110552008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
11056
11057 * gdb.base/watchpoint.c (global_ptr, func4): New.
11058 (main): Call func4.
11059 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
11060 (test_inaccessible_watchpoint): New.
11061
2f34202f
MR
110622008-02-29 Maciej W. Rozycki <macro@mips.com>
11063
11064 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
11065 select the largest.
11066
0d6ba1b1
DJ
110672008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
11068
11069 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
11070 frames-invalid annotations.
11071
e691325a
PM
110722008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
11073
a9c64011 11074 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 11075
f85b5ecc
DE
110762008-02-27 Doug Evans <dje@google.com>
11077
11078 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
11079 for bug 1738.
11080 (breakpoint_to_handler_entry): Ditto.
11081
b40e7bf3
JB
110822008-02-27 Joel Brobecker <brobecker@adacore.com>
11083
11084 * gdb.base/ending-run.exp: Use the first line of code inside
11085 function body to test breakpoints.
11086 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
11087 location where the breakpoint is inserted when using the line
11088 where a function is declared. Fix typo in the description of
11089 one of the tests.
11090 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
11091
2faca73a
PM
110922008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
11093
11094 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 11095 tests.
2faca73a 11096
6f439c36
PM
110972008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
11098
11099 * gdb.base/args.exp: avoid same output for tests
11100 with single quotes.
11101
54e52265
VP
111022008-02-26 Vladimir Prus <vladimir@codesourcery.com>
11103
a9c64011
AS
11104 * gdb.base/annota1.exp: Adjust for 'info break'
11105 format changes.
11106 * gdb.base/annota3.exp: Likewise.
11107 * gdb.base/break.exp: Likewise.
11108 * gdb.base/condbreak.exp: Likewise.
11109 * gdb.base/pending.exp: Likewise.
11110 * gdb.base/sepdebug.exp: Likewise.
11111 * gdb.base/unload.exp: Likewise.
11112 * gdb.cp/ovldbreak.exp: Likewise.
11113 * gdb.mi/mi-pending.exp: Likewise.
54e52265 11114
897b09ca
DE
111152008-02-07 Doug Evans <dje@google.com>
11116
11117 * gdb.cp/mb-inline.exp: New.
11118 * gdb.cp/mb-inline.h: New.
11119 * gdb.cp/mb-inline1.cc: New.
11120 * gdb.cp/mb-inline2.cc: New.
11121
b1c32d35
PM
111222008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
11123
11124 * gdb.pascal/floats.pas: New test program.
11125 * gdb.pascal/floats.exp: New testcase.
11126
1a4ca44a
TJB
111272008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
11128
11129 * gdb.base/callfuncs.c (t_float_many_args): New function.
11130 (t_double_many_args): New function.
11131 * gdb.base/callfuncs.exp: Add tests for exceeding float
11132 and double parameters passed through the stack.
11133
439048e8
JB
111342008-02-05 Joel Brobecker <brobecker@adacore.com>
11135
11136 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
11137 gdb.ada/complete/foo.adb: New files.
11138 * gdb.ada/complete.exp: New testcase.
11139
81fe8080
DE
111402008-02-03 Doug Evans <dje@google.com>
11141
301f0ecf
DE
11142 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
11143
81fe8080
DE
11144 * gdb.cp/gdb2384.exp: New file.
11145 * gdb.cp/gdb2384.cc: New file.
11146 * gdb.cp/gdb2384-base.h: New file.
11147 * gdb.cp/gdb2384-base.cc: New file.
11148
4b071aec
DE
111492008-02-02 Doug Evans <dje@google.com>
11150
11151 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
11152
61137ba6
JB
111532007-02-01 Joel Brobecker <brobecker@adacore.com>
11154
11155 * gdb.ada/sym_print_name: New test program.
11156 * gdb.ada/sym_print_name.exp: New testcase.
11157
111582007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
11159
11160 * gdb.ada/nested/hello.adb: New file.
11161 * gdb.ada/nested.exp: New testcase.
11162 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
11163
98deb0da
VP
111642008-02-01 Vladimir Prus <vladimir@codesourcery.com>
11165
11166 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
11167 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
11168 don't cause future evaluations of function to report
11169 creation of internal breakpoints.
98deb0da 11170
723a2275
VP
111712008-02-01 Vladimir Prus <vladimir@codesourcery.com>
11172
11173 * gdb.mi/mi-break.exp (test_error): New.
11174 Call it.
11175
fb546a2f
LM
111762008-01-31 Luis Machado <luisgpm@br.ibm.com>
11177
11178 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
11179 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
11180
2d8fd90a
PM
111812008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
11182
11183 * gdb.pascal/integers.pas: New test program.
11184 * gdb.pascal/integers.exp: New testcase.
11185
a7fa0ded
PM
111862008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
11187
11188 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
11189
5e1a1926
TJB
111902008-01-30 Luis Machado <luisgpm@br.ibm.com>
11191
11192 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
11193 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
11194
8d04f9f0
JB
111952008-01-30 Paul Hilfinger <hilfinger@adacore.com>
11196
11197 * gdb.ada/formatted_ref: New test program.
11198 * gdb.ada/formatted_ref.exp: New testcase.
11199
11200 * gdb.cp/formatted-ref.cc: New file.
11201 * gdb.cp/formatted-ref.exp: New testcase.
11202
ce75a98f
JB
112032008-01-30 Joel Brobecker <brobecker@adacore.com>
11204
11205 * gdb.base/ptype.exp: Add testing of "ptype $pc".
11206
e835f6bf
NR
112072008-01-30 Nick Roberts <nickrob@snap.net.nz>
11208
11209 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
11210 (test_file_list_exec_source_file): Update to new macro-info field.
11211
d118ef87
PH
112122008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
11213
11214 * gdb.ada/exprs: New test program.
11215 * gdb.ada/exprs.exp: New testcase.
11216
7d35ab09
TJB
112172008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
11218
11219 * dfp-test.c (DELTA, DELTA_B): New definitions.
11220 (double_val1, double_val2, double_val3, double_val4, double_val5,
11221 double_val6, double_val7, double_val8, double_val9, double_val10,
11222 double_val11, double_val12, double_val13, double_val14, dec32_val1,
11223 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
11224 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
11225 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
11226 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
11227 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
11228 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
11229 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
11230 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
11231 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
11232 dec128_val16): New global variables.
11233 (decimal_dec128_align): New function.
11234 (decimal_mixed): Likewise.
11235 (decimal_many_args_dec32): Likewise.
11236 (decimal_many_args_dec64): Likewise.
11237 (decimal_many_args_dec128): Likewise.
11238 (decimal_many_args_mixed): Likewise.
11239 * dfp-test.exp: Add tests calling new inferior functions.
11240
2d717e4f
DJ
112412008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11242
11243 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
11244 gdb.server/ext-run.exp: New files.
11245 * lib/gdbserver-support.exp (gdbserver_download): New.
11246 (gdbserver_start): New. Update gdbserver expected
11247 output.
11248 (gdbserver_spawn): Use them.
11249 (gdbserver_start_extended): New.
11250
e85a822c
DJ
112512008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11252
11253 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
11254 Run on GNU/Linux.
11255 (do_exec_tests): Check for systems which do not support catchpoints.
11256 Do not match START.
11257 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
11258 Run on GNU/Linux. Enable verbose output.
11259 (check_fork_catchpoints): New.
11260 (explicit_fork_child_follow, catch_fork_child_follow)
11261 (tcatch_fork_parent_follow): Update expected messages.
11262 (do_fork_tests): Use check_fork_catchpoints.
11263 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
11264 Run on GNU/Linux. Enable verbose output.
11265 (check_vfork_catchpoints): New.
11266 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
11267 expected messages.
11268 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
11269
401ea829
JB
112702008-01-29 Jim Blandy <jimb@red-bean.com>
11271
11272 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
11273 host' errors.
11274 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
11275
aceaf3ad
JB
112762008-01-29 Jim Blandy <jimb@red-bean.com>
11277
11278 * gdb.threads/sigthread.c: Use barriers to ensure that
11279 child_thread and child_thread_two are always initialized before we
11280 start to use them.
11281
a5606eee
VP
112822008-01-29 Vladimir Prus <vladimir@codesourcery.com>
11283
11284 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
11285 * gdb.base/watchpoint-solib.c: New.
11286 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 11287
c55a82bb
PM
112882008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
11289
11290 * gdb.base/gdb1056.exp: Add unsigned integer test.
11291
0993fe05
DE
112922008-01-28 Doug Evans <dje@google.com>
11293
11294 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
11295
4fe42e7f
JB
112962008-01-27 Jim Blandy <jimb@codesourcery.com>
11297
c7a69933
JB
11298 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
11299
4fe42e7f
JB
11300 * gdb.base/expand-psymtabs.exp: Doc fix.
11301
5def8285
MK
113022008-01-26 Mark Kettenis <kettenis@gnu.org>
11303
11304 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
11305
5313c911
NR
113062008-01-24 Nick Roberts <nickrob@snap.net.nz>
11307
a9c64011 11308 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
11309 -var-set-format.
11310
93815fbf
VP
113112008-01-23 Chris Demetriou <cgd@google.com>
11312
11313 * gdb.threads/thread_events.c: New testcase source file.
11314 * gdb.threads/thread_events.exp: New testcase expect file.
11315
467a88ee
NR
113162008-01-23 Nick Roberts <nickrob@snap.net.nz>
11317
11318 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
11319
11320 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
11321 -var-set-format.
11322
d8f82aba
DJ
113232008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
11324 Vladimir Prus <vladimir@codesourcery.com>
11325
11326 * gdb.base/float.exp: Allow missing floating point for m68k and
11327 PowerPC.
11328
60c46647
VP
113292008-01-22 Vladimir Prus <vladimir@codesourcery.com>
11330
11331 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
11332 ignore count.
11333 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
11334 * gdb.mi/mi-cli.exp: Adjust.
11335 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 11336
c7dd36a1
PA
113372008-01-17 Pedro Alves <pedro@codesourcery.com>
11338
11339 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
11340 and 'dummy_ptr' integer pointer. Initialize struct_declarations
11341 with dummy_ptr's address.
11342 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
11343 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
11344 all targets.
11345 * gdb.mi/mi2-var-child.exp: Likewise.
11346
39d5313e
JB
113472008-01-09 Joel Brobecker <brobecker@adacore.com>
11348
11349 * gdb.ada/null_array: New test program.
11350 * gdb.ada/null_array.exp: New testcase.
11351
0aea4bf3
LM
113522008-01-09 Luis Machado <luisgpm@br.ibm.com>
11353
11354 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
11355 with required float modifiers.
11356
0b354900
JB
113572008-01-08 Joel Brobecker <brobecker@adacore.com>
11358
11359 * gdb.ada/funcall_param: New test program.
11360 * gdb.ada/funcall_param.exp: New testcase.
11361
cdb7f5d4
JB
113622008-01-08 Joel Brobecker <brobecker@adacore.com>
11363
11364 * gdb.ada/arrayparam: New test program.
11365 * gdb.ada/arrayparam.exp: New testcase.
11366
88e2547f
JB
113672008-01-08 Joel Brobecker <brobecker@adacore.com>
11368
11369 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
11370 landed. Should also fix random failures in the test following it.
11371
f6867ce0
TJB
113722008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
11373
11374 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
11375 for expressions with decimal float values.
11376 (test_dfp_conversions): New function to test casts to and from
11377 decimal float types.
11378 Call test_dfp_conversions.
11379 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
11380 elements.
11381 (main): Initialize ds.float4 and ds.double8 elements.
11382 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
11383 string to new error message.
11384 (d64_set_tests): Likewise.
11385 (d128_set_tests): Likewise.
11386 Add tests for expressions with decimal float variables. Add tests for
11387 conversions to and from decimal float types.
11388
f9c11282
JB
113892008-01-05 Joel Brobecker <brobecker@adacore.com>
11390
11391 * gdb.ada/packed_tagged/comp_bug.adb: New file.
11392 * gdb.ada/packed_tagged.exp: New testcase.
11393
0ecbca72
JB
113942008-01-04 Joel Brobecker <brobecker@adacore.com>
11395
11396 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
11397 gdb.ada/homonym/homonym_main.adb: New files.
11398 * gdb.ada/homonym.exp: New testcase.
11399
c18d3d89
JB
114002008-01-04 Joel Brobecker <brobecker@adacore.com>
11401
11402 * gdb.ada/packed_array.exp: Add testing of references to
11403 a packed array.
11404
ecc7085b
JB
114052008-01-04 Joel Brobecker <brobecker@adacore.com>
11406
11407 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
11408 New files.
11409 * gdb.ada/type_coercion.exp: New testcase.
11410
c474c922
JB
114112008-01-04 Joel Brobecker <brobecker@adacore.com>
11412
11413 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
11414 gdb.ada/tagged/foo.adb: New file.
11415 * gdb.ada/tagged.exp: New testcase.
11416
9005b927
JB
114172008-01-04 Joel Brobecker <brobecker@adacore.com>
11418
11419 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
11420 gdb.ada/ptype_field/foo.adb: New files.
11421 * gdb.ada/ptype_field.exp: New testcase.
11422
1a6aaad8
JB
114232008-01-03 Joel Brobecker <brobecker@adacore.com>
11424
11425 * gdb.ada/print_pc.exp: New testcase.
11426
0ef22f53
JB
114272008-01-03 Joel Brobecker <brobecker@adacore.com>
11428
11429 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
11430 gdb.ada/taft_type/p.adb: New files.
11431 * gdb.ada/taft_type.exp: New testcase.
11432
1689ecf8
JB
114332008-01-03 Joel Brobecker <brobecker@adacore.com>
11434
11435 * gdb.ada/array_bounds/bar.adb: New file.
11436 * gdb.ada/array_bounds.exp: New testcase.
11437
a4d0b9c3
JB
114382008-01-03 Joel Brobecker <brobecker@adacore.com>
11439
11440 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
11441 gdb.ada/arrayptr/foo.adb: New files.
11442 * gdb.ada/arrayptr.exp: New testcase.
11443
a31ace00
JB
114442008-01-03 Joel Brobecker <brobecker@adacore.com>
11445
11446 * gdb.base/set-lang-auto.exp: New testcase.
11447
a97fced3
JB
114482008-01-03 Joel Brobecker <brobecker@adacore.com>
11449
11450 * gdb.ada/fun_addr/foo.adb: New file.
11451 * gdb.ada/fun_addr.exp: New testcase.
11452
ef29ce1a
JK
114532008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11454
11455 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
11456 New files
11457
0fafefe3
JB
114582008-01-02 Joel Brobecker <brobecker@adacore.com>
11459
11460 * array_subscript_addr/p.adb: New file.
a9c64011 11461 * array_subscript_addr.exp: New testcase.
0fafefe3 11462
c4359f8d
JB
114632008-01-02 Joel Brobecker <brobecker@adacore.com>
11464
a9c64011 11465 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
11466 New files.
11467 * gdb.ada/str_cmp_ref.exp: New testcase.
11468
1aa1b15b
JB
114692008-01-01 Joel Brobecker <brobecker@adacore.com>
11470
11471 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
11472 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 11473 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 11474
81c9b2cf
JB
114752008-01-01 Joel Brobecker <brobecker@adacore.com>
11476
11477 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
11478 gdb.ada/ref_param/pck.ads: New files.
11479 * gdb.ada/ref_param.exp: New testcase.
11480
319e4674
JB
114812008-01-01 Joel Brobecker <brobecker@adacore.com>
11482
11483 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
11484 gdb.ada/interface/foo.adb: New files.
11485 * gdb.ada/interface.exp: New testcase.
11486
ef682c56
JB
114872007-12-31 Jim Blandy <jimb@codesourcery.com>
11488
11489 * gdb.base/multi-forks.exp: Consume all output from child
11490 processes before proceeding to next test.
11491
f6f3eb6c
JB
114922007-12-29 Jim Blandy <jimb@codesourcery.com>
11493
11494 * configure: Regenerated.
11495
f652e42f
JB
114962007-12-27 Joel Brobecker <brobecker@adacore.com>
11497
11498 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
11499 gdb.ada/fixed_cmp/fixed.adb: New files.
11500 * gdb.ada/fixed_cmp.exp: New testcase.
11501
6943e596
JB
115022007-12-27 Joel Brobecker <brobecker@adacore.com>
11503
11504 * gdb.ada/boolean_expr.exp: New testcase.
11505
aad9a193
JB
115062007-12-26 Jim Blandy <jimb@codesourcery.com>
11507
11508 * gdb.base/multi-forks.exp: Doc fix.
11509
fb5f3683
JB
115102007-12-26 Joel Brobecker <brobecker@adacore.com>
11511
11512 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
11513 * gdb.ada/char_param.exp: Do not compile our test program with
11514 -gnata, this is unnecessary.
11515 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
11516
384e4a9c
JB
115172007-12-24 Joel Brobecker <brobecker@adacore.com>
11518
11519 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
11520 gdb.ada/print_chars/foo.adb: New files.
11521 * gdb.ada/print_chars.exp: New testcase.
11522
01e044f7
JB
115232007-12-24 Joel Brobecker <brobecker@adacore.com>
11524
11525 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
11526 gdb.ada/char_param/foo.adb: New files.
11527 * gdb.ada/char_param.exp: New testcase.
11528
0ce17860
JB
115292007-12-22 Jim Blandy <jimb@codesourcery.com>
11530
11531 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
11532 hard-coding source line numbers into the test.
11533 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
11534 gdb_get_line_number to find.
11535
919809b9
JB
115362007-12-22 Joel Brobecker <brobecker@adacore.com>
11537
11538 * gdb.base/ptype.c (highest): New struct type.
11539 (the_highest): New variable of that type.
11540 (main): Add dummy assignment to a field of variable the_highest.
11541 * gdb.base/ptype.exp: Test type printing of our new variable.
11542
abc8a88d
PM
115432007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
11544
11545 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 11546 and record first explicitly generated thread number.
abc8a88d
PM
11547 Use that thread number for thread specific watchpoint test.
11548 Add iteration number to repetitive tests.
11549
5158f3e3
CES
115502007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
11551 Jim Blandy <jimb@codesourcery.com>
11552
11553 * gdb.base/expand-psymtabs.c: New testcase
11554 source file.
11555 * gdb.base/expand-psymtabs.exp: New testcase
11556 expect file.
11557
37e4754d
LM
115582007-12-17 Luis Machado <luisgpm@br.ibm.com>
11559
11560 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
11561 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
11562
551e5d04
JB
115632007-12-17 Joel Brobecker <brobecker@adacore.com>
11564
11565 * gdb.ada/frame_args/foo.adb: New file.
11566 * gdb.ada/frame_args/pck.ads: New file.
11567 * gdb.ada/frame_args/pck.adb: New file.
11568 * gdb.ada/frame_args.exp: New testcase.
11569
a05ee097
JB
115702007-12-17 Joel Brobecker <brobecker@adacore.com>
11571
11572 * gdb.base/frame-args.c: New file.
11573 * gdb.base/frame-args.exp: New testcase.
11574
c162e8c9 115752007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 11576 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
11577
11578 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
11579
afe8ab22 115802007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11581
afe8ab22
VP
11582 * gdb.mi/mi-pending.exp: New.
11583 * gdb.mi/mi-pending.c: New.
11584 * gdb.mi/mi-pendshr.c: New.
11585
dfdfb3ca
JB
115862007-12-06 Jim Blandy <jimb@codesourcery.com>
11587
11588 * gdb.base/default.exp: Update expected output for 'info catch'.
11589
b7fca990
JK
115902007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11591
11592 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
11593 must be set to binary.
11594
6a1afc1e
PA
115952007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
11596
11597 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
11598
a6b151f1
DJ
115992007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
11600
11601 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
11602 gdb.mi/mi-file-transfer.exp: New.
11603
43039443
JK
116042007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11605
11606 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
11607
0ef2251b
MR
116082007-11-22 Maciej W. Rozycki <macro@mips.com>
11609
11610 * gdb.trace/backtrace.exp: Fix a typo.
11611 * gdb.trace/circ.exp: Likewise.
11612 * gdb.trace/collection.exp: Likewise.
11613 * gdb.trace/limits.exp: Likewise.
11614 * gdb.trace/report.exp: Likewise.
11615 * gdb.trace/tfind.exp: Likewise.
11616 * gdb.trace/while-dyn.exp: Likewise.
11617
5443631e
NR
116182007-11-21 Nick Roberts <nickrob@snap.net.nz>
11619
11620 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
11621 objects of pointers that can't be dereferenced are now
11622 "noneditable".
11623
a4ce5b0d
UW
116242007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11625
11626 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
11627 (target_cpu): Remove.
11628
d6e956e5
VP
116292007-10-15 Vladimir Prus <vladimir@codesourcery.com>
11630
11631 * gdb.base/ending-run.exp: Expect the list of cleared
11632 breakpoint to come in natural order, not the reversed one.
a9c64011 11633
214270ab
VP
116342007-11-07 Vladimir Prus <vladimir@codesourcery.com>
11635
11636 * gdb.mi/mi-var-child.c (do_child_deletion): New.
11637 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 11638
1a619819
LM
116392007-11-05 Luis Machado <luisgpm@br.ibm.com>
11640
11641 * gdb.base/printcmds.exp: New function
11642 test_printf_with_dfp.
11643
5b01a6fa
DE
116442007-11-02 Doug Evans <dje@google.com>
11645
11646 * gdb.disasm/t01_mov.s: Remove carriage returns.
11647 * gdb.disasm/t02_mova.s: Ditto.
11648 * gdb.disasm/t03_add.s: Ditto.
11649 * gdb.disasm/t04_sub.s: Ditto.
11650 * gdb.disasm/t05_cmp.s: Ditto.
11651 * gdb.disasm/t06_ari2.s: Ditto.
11652 * gdb.disasm/t07_ari3.s: Ditto.
11653 * gdb.disasm/t08_or.s: Ditto.
11654 * gdb.disasm/t09_xor.s: Ditto.
11655 * gdb.disasm/t10_and.s: Ditto.
11656 * gdb.disasm/t11_logs.s: Ditto.
11657 * gdb.disasm/t12_bit.s: Ditto.
11658 * gdb.disasm/t13_otr.s: Ditto.
11659
ec33ab7f
JK
116602007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11661
11662 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
11663
ae0d01ff
UW
116642007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11665
11666 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
11667 provide DFP support.
11668
55eddb0f
DJ
116692007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
11670
11671 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
11672 Test "set powerpc vector-abi". Skip auto-detection tests for old
11673 toolchains.
11674
7020f05c
PA
116752007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11676
11677 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
11678 with [string compare].
11679
84bc3db9
PA
116802007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11681
11682 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
11683 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
11684
5876dc88
LM
116852007-10-25 Luis Machado <luisgpm@br.ibm.com>
11686
11687 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
11688 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
11689 * gdb.opt/Makefile.in: New makefile.
11690 * Makefile.in: Create new directory "gdb.opt".
11691 * configure.ac: Add "gdb.opt" directory.
11692 * configure: Regenerated.
a9c64011 11693
c3ea9a14
DE
116942007-10-25 Doug Evans <dje@google.com>
11695
11696 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
11697 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
11698
a9c64011 116992007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
11700 Thiago Jung Bauermann <bauerman@br.ibm.com>
11701
11702 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
11703 Floating Point expressions.
11704 * gdb.base/dfp-test.exp: new file adding tests for Decimal
11705 Floating Point variables.
11706 * gdb.base/dfp-test.c: new file containing program with Decimal
11707 Floating variables, used by gdb.base/dfp-test.exp.
11708
62a24a2b
DJ
117092007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
11710
11711 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
11712
e7b1eae6
UW
117132007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11714
11715 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
11716 compiling test case with GCC.
11717 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
11718
c641edcc
UW
117192007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11720
11721 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11722 format changes.
11723
5e5ebfe6
MS
117242007-10-18 Michael Snyder <msnyder@specifix.com>
11725
11726 * gdb.base/dbx.exp: Add missing "-re " operator.
11727
e831e7b6
GM
117282007-10-16 Gaius Mulley <gaius@glam.ac.uk>
11729
11730 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
11731 * configure.ac: Removed trailing spaces after backslash.
11732 * gdb.modula2: New directory.
11733 * gdb.modula2/Makefile.in: New file.
11734 * gdb.modula2/unbounded-array.exp: New file.
11735 * gdb.modula2/unbounded1.c: New file.
11736
7cc46491
DJ
117372007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
11738
11739 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
11740
117412007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
11742
11743 * gdb.base/sigstep.c (main): Add checks for
11744 return values for setitimer call.
11745 Call setitimer again with itimer = ITIMER_REAL
11746 if first call to setitimer fails.
11747
e91528f0
KH
117482007-10-11 Kazu Hirata <kazu@codesourcery.com>
11749
11750 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
11751 of $timeout.
11752
2ec9a4f8
DJ
117532007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
11754
11755 * gdb.server/server-run.exp: Test for dynamic linker symbols.
11756
117572007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
11758
11759 * lib/gdb.exp (gdb_run_cmd): Move comment outside
11760 of gdb_expect call, to avoid interruption.
11761
64b2fa04
PA
117622007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
11763
11764 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
11765 (v_unsigned_long_long, v_long_long_array)
11766 (v_signed_long_long_array, v_unsigned_long_long_array)
11767 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
11768 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
11769 [!NO_LONG_LONG]: New.
11770 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
11771 v_long_long_member.
11772
11773 (v_long_long_func, v_signed_long_long_func)
11774 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
11775 (main) [!NO_LONG_LONG]: Initialize long long variants.
11776
11777 * gdb.base/whatis.exp: If board file requests no_long_long, build
11778 test with NO_LONG_LONG defined. Test long long, signed long long,
11779 and unsigned long long variants but only if board file doesn't
11780 disable it.
11781
a912286e 117822007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 11783 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
11784
11785 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
11786 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
11787 * configure: Regenerated.
11788 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
11789 gdb.pascal/types.exp, lib/pascal.exp: New files.
11790
471ba8c9
DJ
117912007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
11792
11793 * gdb.cp/classes.exp (do_tests): Always step to the line after the
11794 call.
11795 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
11796 to return to the call.
11797 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
11798 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
11799 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
11800 * gdb.mi/mi-until.exp (test_until): Likewise.
11801 * gdb.mi/mi2-until.exp (test_until): Likewise.
11802
fef8a650
DJ
118032007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
11804
11805 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
11806 two-char array.
11807 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
11808
d983da9c
DJ
118092007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
11810
11811 * gdb.threads/watchthreads.c (thread_function): Sleep between
11812 iterations.
11813 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
11814 at once for S/390. Generate matching fails and passes.
11815
17f62551
VP
118162007-09-27 Vladimir Prus <vladimir@codesourcery.com>
11817
11818 * gdb.mi/var-cmd.c (do_children_tests): Initialize
11819 the 'struct_declarations' variable to zeros.
a9c64011 11820
ed0616c6
VP
118212007-09-24 Vladimir Prus <vladimir@codesourcery.com>
11822
11823 * gdb.cp/mb-ctor.cc: New.
11824 * gdb.cp/mb-ctor.exp: New.
11825 * gdb.cp/mb-templates.cc: New.
11826 * gdb.cp/mb-templates.exp: New.
11827
41f1b697
DJ
118282007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
11829
11830 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
11831
3f213f78
PA
118322007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
11833
11834 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
11835 targets.
11836 * configure: Regenerate.
11837
0d381245 118382007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11839
0d381245
VP
11840 * gdb.base/annota1.exp: Adjust for 'info break'
11841 format changes.
11842 * gdb.base/annota3.exp: Likewise.
11843 * gdb.base/break.exp: Likewise.
11844 * gdb.base/condbreak.exp: Likewise.
11845 * gdb.base/pending.exp: Likewise.
11846 * gdb.base/sepdebug.exp: Likewise.
11847 * gdb.base/unload.exp: Likewise.
11848 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 11849
fe3f5fa8
VP
118502007-09-22 Vladimir Prus <vladimir@codesourcery.com>
11851
11852 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
11853 messages.
11854 * gdb.base/chng-syms.exp: Likewise.
11855 * gdb.base/unload.exp: Likewise.
a9c64011 11856
a75cf6c0
DJ
118572007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
11858
11859 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
11860
18ecae38
DJ
118612007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
11862
11863 * schedlock.c (NUM): Change to 1.
11864 (main): Use args[0] for the main thread.
11865 * schedlock.exp: Only expect two threads. Only issue one pass or fail
11866 regardless of the number of threads.
11867
5509918f
MR
118682007-09-14 Maciej W. Rozycki <macro@mips.com>
11869
4a543daf
MR
11870 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
11871 type down.
11872 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11873 test.
11874 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
11875 watchpoint type down.
11876 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11877 test.
11878
118792007-09-14 Maciej W. Rozycki <macro@mips.com>
11880
5509918f
MR
11881 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
11882 Move all the tests here and run them twice, once using software
11883 watchpoints and once using hardware watchpoints.
11884 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
11885
40b53987
DJ
118862007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
11887
11888 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
11889 test.
11890
695e2681
MK
118912007-09-10 Mark Kettenis <kettenis@gnu.org>
11892
8b3fc8d8
MK
11893 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
11894 build-id.
11895
695e2681
MK
11896 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
11897 know about $ORIGIN. Calculate output dir from $dest instead of
11898 using ${objdir}/{$subdir}.
11899
58d69f29
MK
119002007-09-09 Mark Kettenis <kettenis@gnu.org>
11901
11902 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
11903 gcore, before continuing with the test.
11904
3e347599
DJ
119052007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
11906
11907 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
11908 * gdb.mi/mi-watch.exp: Likewise.
11909
ea37ba09
DJ
119102007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11911 Jim Blandy <jimb@codesourcery.com>
11912
11913 * gdb.arch/i386-sse.exp: Do not expect character constants.
11914 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
11915 * gdb.base/display.exp: Allow print/s.
11916 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
11917 and unsigned char array changes.
11918
2025a643
DJ
119192007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11920
11921 * gdb.base/display.exp: Add tests for printf %p.
11922
26669a27
PA
119232007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
11924
11925 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
11926 the dll name to unicode.
11927
c8f021f8
JK
119282007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11929
11930 * gdb.base/default.exp (show version): Update the version text.
11931 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
11932
4cf31eea
JK
119332007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11934
11935 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
11936 New files.
11937
4935890f
JK
119382007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11939
11940 * lib/gdb.exp (build_id_debug_filename_get): New function.
11941 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
11942 Remove the generate DEBUG file for the future testcase runs.
11943 New testcase for the NT_GNU_BUILD_ID retrieval.
11944 Move the final testing step to ...
11945 (test_different_dir): ... a new function.
11946 New parameter XFAIL to XFAIL all the tests performed.
11947 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
11948 New parameter TYPE to PF_PREFIX all the tests performed.
11949
02142340
VP
119502007-08-31 Vladimir Prus <vladimir@codesourcery.com>
11951
11952 * gdb.mi/mi-var-cp.cc (path_expression): New
11953 function.
11954 * gdb.mi/mi-var-cp.exp: Run path exression tests.
11955
36acd84e
UW
119562007-08-27 Markus Deuling <deuling@de.ibm.com>
11957
11958 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
11959 to fit into SPU Local Store memory.
11960
a896d121
JB
119612007-08-23 Joel Brobecker <brobecker@adacore.com>
11962
11963 * gdb.base/default.exp: Adjust the expected output of "info
11964 warranty" after the switch to GPLv3.
11965
7b433602
JB
119662007-08-23 Joel Brobecker <brobecker@adacore.com>
11967
11968 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
11969 to 30000 (from 20000).
11970
e22f8b7c
JB
119712007-08-23 Joel Brobecker <brobecker@adacore.com>
11972
11973 Switch the license of all .exp files to GPLv3.
11974 Switch the license of all .f and .f90 files to GPLv3.
11975 Switch the license of all .s and .S files to GPLv3.
11976
5a0e3bd0
JB
119772007-08-23 Joel Brobecker <brobecker@adacore.com>
11978
11979 * configure.ac: Switch license to GPLv3.
11980
cc00619d
JB
119812007-08-23 Joel Brobecker <brobecker@adacore.com>
11982
11983 Switch the licensing to GPLv3 for all .ads and .adb files.
11984
8d26208a
DJ
119852007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
11986
11987 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
11988 and t_int_double.
11989 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
11990
4fcb9948
JB
119912007-08-17 Joel Brobecker <brobecker@adacore.com>
11992
11993 * gdb.base/step-line.c: Switch license to GPL version 3, and
11994 update copyright year.
11995 * gdb.base/step-line.inp: Likewise.
11996
b9c34f67
JB
119972007-08-17 Joel Brobecker <brobecker@adacore.com>
11998
11999 * gdb.base/gdb1555.exp: Make expected output immune to formatting
12000 changes inside gdb1555.c.
12001 * gdb.base/pending.exp: Likewise.
12002
2cc17678
DJ
120032007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
12004
12005 * config/default.exp: New file.
12006
e48883f7
DJ
120072007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
12008
12009 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
12010 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
12011
1ab80e5b
MR
120122007-07-30 Maciej W. Rozycki <macro@mips.com>
12013
12014 * gdb.base/dump.exp: Force the correct endianness for binary
12015 formats not carrying this information.
12016
aba471f5
DJ
120172007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12018
12019 * gdb.threads/staticthreads.exp: Match .*sem_post.
12020
d4e07204
DJ
120212007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12022
12023 * gdb.base/readline.exp (operate_and_get_next): Match the final
12024 prompt.
12025
2b97317d
KB
120262007-07-23 Kevin Buettner <kevinb@redhat.com>
12027
12028 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
12029 to restarting SID.
12030
44efa07a
KB
120312007-07-18 Kevin Buettner <kevinb@redhat.com>
12032
12033 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
12034 prior to `gdb_start'.
12035
7b5ebade
KB
120362007-07-18 Kevin Buettner <kevinb@redhat.com>
12037
12038 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
12039 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
12040 Remove call to gdb_unload.
12041
255e7678
DJ
120422007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
12043 Daniel Jacobowitz <dan@codesourcery.com>
12044
12045 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
12046 for __WIN32__.
12047 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
12048 * gdb.base/unload.exp: Use shared library test routines.
12049
3a40aaa0
UW
120502007-07-03 Markus Deuling <deuling@de.ibm.com>
12051
12052 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
12053 * gdb.base/solib-symbol-lib.c: Likewise.
12054 * gdb.base/solib-symbol-main.c: Likewise.
12055
b0f4b84b
DJ
120562007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
12057
12058 * config/gdbserver.exp (gdb_reconnect): New.
12059 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
12060 gdb.base/solib-disc.exp: New files.
12061 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
12062 remote debugging".
12063 (gdb_compile): Add shlib_load flag.
12064 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
12065 port.
12066 (gdbserver_reconnect): New.
12067
1b05479a
DJ
120682007-07-01 Nick Roberts <nickrob@snap.net.nz>
12069 Daniel Jacobowitz <dan@codesourcery.com>
12070
12071 * gdb.base/annota3.exp: Test for if construct.
12072
86f78eb2
DJ
120732007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
12074
12075 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
12076
6a2eb474 120772007-06-21 Chris Dearman <chris@mips.com>
a9c64011 12078 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
12079
12080 * gdb.base/display.exp: Allow a newline after display/i.
12081 * gdb.base/pc-fp.exp: Likewise.
12082 * gdb.base/sigbpt.exp: Likewise.
12083
f8b73d13
DJ
120842007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
12085
12086 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
12087 required features to be included.
12088
4339e69e
DJ
120892007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
12090
12091 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
12092 in info threads output.
12093
23d964e7
UW
120942007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12095 Markus Deuling <deuling@de.ibm.com>
12096
12097 * gdb.arch/spu-info.exp: New testcase.
12098 * gdb.arch/spu-info.c: New file.
12099
fd20f75b
DJ
121002007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
12101
12102 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
12103 tpcs_offset. Restore lr after the call.
12104 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
12105
2226f861
DJ
121062007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
12107
12108 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
12109 (gdbserver_run): Kill any running gdbserver.
12110 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
12111
d12371a9
MR
121122007-05-17 Maciej W. Rozycki <macro@mips.com>
12113
12114 * gdb.base/sigbpt.exp: Preset segv_addr.
12115
93f02886
DJ
121162007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
12117
12118 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
12119 (gdb_compile_shlib): Likewise.
12120 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
12121 (default_gdb_init): Clear cleanfiles.
12122 (gdb_finish): Delete recorded cleanfiles.
12123 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
12124
12125 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
12126 Do not use isnative.
12127 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
12128 gdb.base/so-impl-ld.exp: Likewise.
12129 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
12130 * gdb.base/unload.exp: Likewise. Do not pass empty option to
12131 gdb_compile.
12132
b04e06d7
VP
121332007-05-15 Vladimir Prus <vladimir@codesourcery.com>
12134
12135 * config/unknown.exp: Remove.
12136
069ed931
UW
121372007-05-15 Markus Deuling <deuling@de.ibm.com>
12138
12139 * gdb.base/info-proc.exp: Check is_remote.
12140
09db0d03
UW
121412007-05-14 Markus Deuling <deuling@de.ibm.com>
12142
12143 * gdb.base/gcore.exp: Initialize variable core_supported.
12144
af2cbe8c
DJ
121452007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
12146
12147 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
12148
027c0295
DJ
121492007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
12150
12151 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
12152 * gdb.threads/print-threads.exp (test_all_threads): Allow
12153 negative and hexadecimal thread IDs.
12154
dc5000e7
DJ
121552007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
12156
12157 * gdb.java/jprint.java (public): Avoid invalid call to static
12158 method.
12159
2e74ed18
DP
121602007-05-14 Denis Pilat <denis.pilat@st.com>
12161
12162 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
12163 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
12164 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
12165 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
12166 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
12167
83547f02
UW
121682007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12169
12170 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 12171 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
12172 this mode.
12173 * gdb.base/ovlymgr.c: Provide stubs for spu target.
12174 * gdb.base/spu.ld: New file.
12175
b18be20d
DJ
121762007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
12177
12178 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
12179
be444858
DJ
121802007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
12181
12182 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
12183
b1d53152
DJ
121842007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
12185
12186 * gdb.java/jmain.exp: Handle demangled names with and without method
12187 signatures.
12188
d084b331
DJ
121892007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
12190
12191 * gdb.mi/mi-syn-frame.c (main, foo, bar)
12192 (have_a_very_merry_interrupt): Remove calls to puts.
12193 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
12194 inferior output.
12195 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
12196 test names.
12197
db9d7fc5
DJ
121982007-04-29 Markus Deuling <deuling@de.ibm.com>
12199 Daniel Jacobowitz <dan@codesourcery.com>
12200
12201 * gdb.base/auxv.exp (core_works): Also check is_remote.
12202 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
12203
ef783a7d 122042007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 12205
ef783a7d
VP
12206 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
12207 message, not the undefined 'module' variable.
12208 * gdb.base/siginfo.exp: Likewise.
12209 * gdb.base/sigstep.exp: Likewise.
12210 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
12211 serialport.
12212 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
12213
b7b73cae
CV
122142007-04-25 Corinna Vinschen <vinschen@redhat.com>
12215
12216 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
12217 target sim fails. Return 0 otherwise.
12218 (gdb_load): Return prematurely if gdb_target_sim fails.
12219
7d90fdfa
DP
122202007-04-16 Denis Pilat <denis.pilat@st.com>
12221
12222 * gdb.base/setshow.exp: Reset height after having set it to 100.
12223
5d3e9c85
DP
122242007-04-16 Denis Pilat <denis.pilat@st.com>
12225
12226 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
12227
18e75969
DP
122282007-04-16 Denis Pilat <denis.pilat@st.com>
12229
12230 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
12231
25d5ea92
VP
122322007-04-14 Vladimir Prus <vladimir@codesourcery.com>
12233
12234 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
12235 tests. Run the frozen varobjs test.
12236 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 12237 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 12238
0b49cb80
JK
122392007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12240
12241 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
12242 gdb.base/type-opaque.exp: New files.
12243
a73bafbc 122442007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
12245
12246 * gdb.mi/mi-var-child.c
a73bafbc
VP
12247 (do_children_tests): User char[2] instead of
12248 char so that automatic printing of pointers to char
12249 don't give unpredicable result.
12250 * gdb.mi/var-cmd.c (do_locals_test): Initialize
12251 local variables.
12252 * gdb.mi/mi-var-child.exp: Step to right line
12253 of do_children_tests.
12254 * gdb.mi/mi2-var-child.exp: Likewise.
12255 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 12256 do_locals_tests.
a73bafbc
VP
12257 (do_children_tests): User char[2] instead of
12258 char so that automatic printing of pointers to char
a9c64011 12259 don't give unpredicable result.
a73bafbc 12260 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 12261 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
12262 Pass test name to mi_wait_for_stop.
12263
7ce59000
DJ
122642007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
12265
12266 * gdb.asm/asm-source.exp: Remove d10v case.
12267 * lib/gdb.exp (skip_cplus_tests): Likewise.
12268 * gdb.asm/d10v.inc: Deleted.
12269
20389057
DJ
122702007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
12271
12272 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
12273
8807d78b
DJ
122742007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
12275
12276 * config/netware.exp: Delete file.
12277
aa3edb8e
JB
122782007-03-29 Joel Brobecker <brobecker@adacore.com>
12279
12280 * gdb.dwarf2/dw2-noloc.S: New file.
12281 * gdb.dwarf2/dw2-noloc.exp: New file.
12282
297561ac
PA
122832007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
12284
12285 * gdb.cp/method2.cc: New test.
12286 * gdb.cp/method2.exp: New test.
12287 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
12288
1f81bd39
DJ
122892007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
12290
12291 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
12292
9453113a
DJ
122932007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
12294
12295 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
12296
b741e217
DJ
122972007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
12298
12299 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
12300 (gdb_load): Delete, replace with...
12301 (gdb_reload): ...this.
12302 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
12303 * gdb.server/server-mon.exp: Likewise.
12304 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
12305 (gdb_start_cmd): New.
12306 (gdb_file_cmd): Save the last loaded file.
12307 (gdb_reload): New.
12308 (gdb_gnu_strip_debug): Use transform.
12309 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
12310 support here. Use new $last_loaded_file. Check mtime.
12311 (gdb_target_cmd): Handle ObjC failure case.
12312 (infer_host_exec): Delete.
12313 (gdbserver_load): Rename to...
12314 (gdbserver_run): ...this. Simplify.
12315 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
12316 (mi_gdb_load): Move most contents to a new function...
12317 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
12318 (mi_run_cmd): Use mi_gdb_target_load.
12319 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
12320 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
12321 Use gdb_run_cmd.
12322 * gdb.base/charsign.exp: Remove incorrect comment.
12323 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
12324 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
12325 gdb.base/start.exp: Use gdb_start_cmd.
12326
446ab585 123272007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 12328 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
12329
12330 * gdb.base/sigbpt.exp: Fix the message when skipping test.
12331 * gdb.base/signull.exp: Similarly.
12332
bbb88ebf
UW
123332007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12334
12335 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
12336 messages available to test cases (like chng-sym.exp).
12337
cb8c4a99
AS
123382007-03-14 Andreas Schwab <schwab@suse.de>
12339
12340 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
12341 format changes.
12342
4e463ff5
DJ
123432007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
12344
12345 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
12346 (optimized_1): New.
12347 (main): Call optimized_1.
12348 (gdb2029): Correct typos. Call gdb2029_marker.
12349 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
12350 for gdb2029.
12351
b6db2c47
MK
123522007-03-12 Mark Kettenis <kettenis@gnu.org>
12353
12354 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
12355 as tabs. Remove redundant test pattern.
12356
70ed3737
UW
123572007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12358
12359 * gdb.base/long_long.exp: Accept optional symbol name in <...>
12360 for /a format output.
12361
47b67b60
DJ
123622007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
12363
12364 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
12365 collect output incrementally.
12366
b8953b0e
UW
123672007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12368
12369 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
12370 for -var-create lpcharacter test.
12371 * gdb.mi/mi2-var-cmd.exp: Likewise.
12372
7acd5c40
UW
123732007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12374
12375 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
12376 pass on targets where address zero is readable.
12377
9c6759c1
UW
123782007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12379
12380 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
12381 just a single architecture.
12382
a2f1aeb4
UW
123832007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12384
12385 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
12386 (fetch_all_registers): New function, uses gdb_test_multiple and
12387 exp_continue to fetch inferior output line-by-line.
12388 Replace all uses of do_get_all_registers by fetch_all_registers.
12389
46579ac2
UW
123902007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12391
12392 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
12393 in target_info.
12394
fc133f24
MS
123952007-03-02 Michael Snyder <michael.snyder@palmsource.com>
12396
a9c64011 12397 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
12398 consistancy; add a default (timeout) case.
12399
7646a51d
MS
124002007-03-02 Michael Snyder <michael.snyder@palmsource.com>
12401
12402 * gdb.base/watchpoint.exp: Fix truncated comment.
12403
dcfff61f
MS
124042007-03-02 Michael Snyder <michael.snyder@palmsource.com>
12405
12406 * Makefile.in: Remove spurious single-quotes from sed command.
12407
664e3ee9
DJ
124082007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
12409
12410 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
12411 func.
12412 * gdb.mi/mi2-var-cmd.exp: Likewise.
12413
d7cc6f2f
JB
124142007-02-27 Joel Brobecker <brobecker@adacore.com>
12415
a9c64011
AS
12416 * gdb.dwarf2/dw2-producer.S: New file.
12417 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
12418
124192007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
12420
12421 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
12422 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
12423 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
12424 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
12425 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
12426 Revert tests to use mi_gdb_test and include value field in output
12427 of -var-create.
12428
93d42b30
DJ
124292007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
12430
12431 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
12432
c499ed39
DJ
124332007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
12434
12435 * gdb.base/maint.exp: Remove full paths from test names.
12436 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
12437 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
12438
9836f81b
JB
124392007-02-27 Joel Brobecker <brobecker@adacore.com>
12440
12441 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
12442
c74d0ad8
DJ
124432007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
12444
12445 * gdb.server/server-mon.exp: New test.
12446
2711e456
DJ
124472007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
12448
12449 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
12450
ff6f572f
DJ
124512007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
12452
12453 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
12454 register capitalization.
12455
fada3feb
DP
124562007-02-13 Denis Pilat <denis.pilat@st.com>
12457
12458 * gdb.mi/mi-var-invalidate.exp: New file.
12459
fb1e4ffc
DJ
124602007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
12461
12462 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
12463
3da939d7
DJ
124642007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
12465
12466 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
12467
123dc839
DJ
124682007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
12469
12470 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
12471 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
12472
877e3645 124732007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
12474
12475 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
12476 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
12477 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
12478 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
12479 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 12480 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 12481 Update tests to include value field in output of -var-create.
a9c64011 12482
3c0a2960
AS
124832007-02-08 Andreas Schwab <schwab@suse.de>
12484
12485 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
12486
108546a0
DJ
124872007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
12488
12489 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
12490 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
12491
d701dcab
DP
124922007-02-02 Denis Pilat <denis.pilat@st.com>
12493
12494 * gdb.threads/threadapply.exp: check that frame is not changed by
12495 the thread apply all command.
12496
783e3e2f
AS
124972007-01-31 Andreas Schwab <schwab@suse.de>
12498
6d9c3a87
AS
12499 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
12500
3c50d7b9
AS
12501 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
12502 in the dwarf sections.
12503 * gdb.dwarf2/mac-fileno.S: Likewise.
12504
783e3e2f
AS
12505 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
12506 bspstore register on ia64.
12507
78ff580e
AS
125082007-01-29 Andreas Schwab <schwab@suse.de>
12509
cc8e9b12
AS
12510 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
12511 "frame-begin" annotation.
12512
78ff580e
AS
12513 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
12514 number of "frames-invalid" annotations.
12515
704a4f78
DJ
125162007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12517
12518 * gdb.base/commands.exp: Call if_commands_test.
12519 (gdb_test_no_prompt, if_commands_test): New.
12520
e741bf94
MK
125212007-01-28 Mark Kettenis <kettenis@gnu.org>
12522
12523 * gdb.threads/sigthread.c (NSIGS): Make bigger.
12524
474d0ad3
AS
125252007-01-27 Andreas Schwab <schwab@suse.de>
12526
12527 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
12528 .short/.int/.quad in the dwarf sections.
12529 * gdb.dwarf2/dw2-intercu.S: Likewise.
12530 * gdb.dwarf2/dw2-intermix.S: Likewise.
12531
e784b426
JK
125322007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12533
12534 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
12535 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
12536 array.
e784b426
JK
12537 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
12538 * gdb.base/setvar.exp: Likewise.
12539
37f08e04
AS
125402007-01-26 Andreas Schwab <schwab@suse.de>
12541
9a01813a
AS
12542 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
12543 test.
12544
37f08e04
AS
12545 * gdb.base/multi-forks.exp ("restart $i"): Also match
12546 __kernel_syscall_via_break.
12547
6e2a9270
VP
125482007-01-24 Vladimir Prus <vladimir@codesourcery.com>
12549
12550 * lib/mi-support.exp (mi_delete_varobj): New.
12551 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
12552 testcase.
12553 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
12554 (main): Call the above.
12555 (reference_update_test, base_in_reference_test)
12556 (reference_to_pointer): Delete the created varobjs.
a9c64011 12557
e515b470
DJ
125582007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
12559
12560 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
12561 * configure: Regenerated.
12562 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
12563 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
12564 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
12565 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
12566 * lib/gdb.exp (gdb_skip_xml_test): New function.
12567
08d8bcd7
DJ
125682007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
12569
12570 * gdb.base/sigrepeat.exp: Correct error message.
12571
125722007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
12573 Daniel Jacobowitz <dan@codesourcery.com>
12574
12575 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
12576 gdb.arch/i386-gnu-cfi-asm.S: New files.
12577
97c3f1f3
JK
125782007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12579
12580 * lib/gdb.exp: Abort on missing `site.exp'.
12581
cb1df416
DJ
125822007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12583 Daniel Jacobowitz <dan@codesourcery.com>
12584
12585 * gdb.base/included.c, gdb.base/included.exp,
12586 gdb.base/included.h: New files.
12587
35990120
DJ
125882007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
12589
12590 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
12591 (maximize_rlimit): Reduce limits on 64-bit systems.
12592
6e81a116 125932007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
12594
12595 From Marcus Deuling <deuling@de.ibm.com>:
12596 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
12597 every case.
12598
6c3c41f3
NR
125992007-01-13 Nick Roberts <nickrob@snap.net.nz>
12600
12601 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
12602 (test_path_specification): Use objdir instead of srcdir to always
12603 get an absolute filename.
12604
2f12c312
DJ
126052007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
12606
12607 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
12608
81121995
VP
126092007-01-11 Vladimir Prus <vladimir@codesourcery.com>
12610
12611 * gdb.mi/mi-var-cp.cc (reference_update_tests):
12612 Make sure the variable we're using is in scope.
12613 (reference_to_pointer): Likewise.
12614
4741b737
DJ
126152007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
12616
12617 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
12618 has no debug information.
12619
054410c3
DJ
126202007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
12621
12622 * gdb.base/annota1.exp: Remove extra send_gdb.
12623
818f79f6
DJ
126242007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12625
12626 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
12627
f7a6bb70
DJ
126282007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12629
12630 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
12631
57e66780
DJ
126322007-01-08 Nick Roberts <nickrob@snap.net.nz>
12633 Daniel Jacobowitz <dan@codesourcery.com>
12634
12635 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
12636 lcharacter or linteger change. Correct duplicated test name.
12637 * gdb.mi/mi2-var-cmd.exp: Likewise.
12638
3d799a95
DJ
126392007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
12640
12641 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
12642
126432007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 12644
a9c64011
AS
12645 * gdb.base/nofield.c: New file.
12646 * gdb.base/nofield.exp: New testcase.
51679ba9 12647
eafb94e8
NR
126482007-01-05 Nick Roberts <nickrob@snap.net.nz>
12649
12650 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
12651
12652 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
12653 test.
12654
5e572bb4
DJ
126552007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12656
12657 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
12658
74a44383
DJ
126592007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12660
12661 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
12662 when continuing.
12663
1b572db9
DJ
126642007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12665
12666 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
12667 Expect ".exe" extension.
12668
381bc39b
DJ
126692007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12670
12671 * gdb.base/charset.exp: Add explicit filename to break.
12672 * gdb.base/dbx.exp: Add explicit filename to breaks.
12673
2b70e4c6
DJ
126742007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12675
12676 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
12677 * gdb.mi/mi2-file.exp: Likewise.
12678
303b6f5d
DJ
126792007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12680
12681 Implement specification of MI tests as comments
12682 in C and C++ sources.
12683 * lib/mi-support.exp (mi_autotest_data): New variable.
12684 (mi_autotest_source): New variable.
12685 (count_newlines, mi_prepare_inline_tests)
12686 (mi_get_inline_test, mi_continue_to_line)
12687 (mi_run_inline_test, mi_tbreak)
12688 (mi_send_resuming_command, mi_wait_for_stop): New functions.
12689 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
12690 Run inline tests.
12691 * gdb.mi/mi-var-cp.cc: Define tests here.
12692
23da0d94
VP
126932007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12694
12695 Simplify usage of mi_continue_to.
12696 * lib/mi-support.exp (mi_runto_helper): Renamed
12697 from mi_runto, added new parameter 'run_or_continue'.
12698 (mi_runto): Use mi_runto_helper.
12699 (mi_continue_to): Accept just function name as parameter.
12700 Use mi_runto_helper.
12701 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
12702 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 12703
f9e18282
JB
127042006-01-04 Joel Brobecker <brobecker@adacore.com>
12705
12706 Make this testcase a bit more realistic. The current code
12707 is too simplistic, and allows the compiler to optimize out
12708 some of the entities we need for this testcase.
12709 * gdb.ada/null_record/bar.ads (Void_Star): New type.
12710 (Do_Nothing): Add extra parameter.
12711 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
12712 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
12713 by using a variable of type Void_Star.
12714
fd678c65
JB
127152006-01-04 Joel Brobecker <brobecker@adacore.com>
12716
12717 * gdb.ada/catch_ex/foo.adb: New file.
12718 * gdb.ada/catch_ex.exp: New testcase.
12719
05cfdb42
DJ
127202007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
12721
12722 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
12723 pass --image-base to linker.
12724
2e03ee74
DJ
127252007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12726 Daniel Jacobowitz <dan@codesourcery.com>
12727
12728 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
12729 secondary prompts.
12730
0d5de010
DJ
127312007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12732
12733 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
12734 output. Test the types of members and member pointers.
12735 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
12736 gdb/2092.
12737 * gdb.cp/member-ptr.exp: Search for a comment instead of a
12738 statement. Enable for GCC. Update expected output for some tests
12739 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
12740 layout.
12741 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
12742 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
12743 (Diamond::vget_base): New.
12744 (main): Add new tests.
12745 * gdb.cp/printmethod.exp: Update expected output for member functions.
12746 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
12747 print pEe->D::vg().
12748
61a771aa
DJ
127492007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12750
12751 * gdb.threads/tls.exp: Allow stops in sem_post.
12752
2fa63963
DJ
127532006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
12754
12755 * gdb.base/annota1.exp: Allow .*printf in backtraces.
12756 * gdb.base/annota3.exp: Likewise.
12757 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
12758 again (instead of timing out).
12759 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
12760 GCC bug 26475.
12761 * gdb.java/jmisc.exp: Adjust to work with method signatures including
12762 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
12763 test from jmisc1.exp.
12764 * gdb.java/jmisc1.exp: Delete.
12765 * gdb.java/jprint.exp: Adjust to work with method signatures including
12766 return types.
12767 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
12768 * gdb.threads/linux-dp.exp: Don't be confused by program output.
12769 * lib/java.exp (compile_java_from_source): Pass the correct type
12770 to target_compile.
12771
5eefc2b7
JB
127722006-12-31 Joel Brobecker <brobecker@adacore.com>
12773
12774 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
12775 (stack_align_edx): New function.
12776 (stack_align_eax): New function.
12777 (main): Add calls to stack_align_edx and stack_align_eax.
12778 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
12779 Add testing for the cases where the register used during a stack
12780 realignment is edx. Same for eax.
12781
227c54da
DJ
127822006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
12783
12784 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
12785 and generic PE targets.
12786
cab8ac94
JB
127872006-12-29 Joel Brobecker <brobecker@adacore.com>
12788
12789 * gdb.ada/array_return.exp: Update copyright date list.
12790
ba54f318
JB
127912006-12-27 Joel Brobecker <brobecker@adacore.com>
12792
12793 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
12794 (Create_Small_Float_Vector): New function.
12795 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
12796 function body.
12797 * gdb.ada/array_return/p.adb: Use new type and function from
12798 package Pck.
12799 * gdb.ada/array_return.exp: Add a test verifying that GDB is
12800 able to print the value returned by a function returning an
12801 array of float.
12802
6b7a35dd
JB
128032006-12-20 Joel Brobecker <brobecker@adacore.com>
12804
12805 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
12806 The associated tests should be PASSing.
12807
038224f6
VP
128082006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12809
12810 Test for base in references.
12811 * gdb.mi/mi-var-cp.cc: Add test code.
12812 * gdb.mi/mi-var-cp.exp: Test for bases in references.
12813 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
12814 * gdb.mi/mi2-watch.exp: Likewise.
12815 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
12816 (mi_list_varobj_children): New function.
12817
b26ed50d
VP
128182006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12819
12820 * lib/mi-support.exp
12821 (mi_runto): Accept "()" after function name.
12822 (mi_create_varobj): New function.
12823 (mi_varobj_update): New function.
12824 (mi_Check_varobj_value): New function.
12825 * gdb.mi/mi-var-cp.exp: New file.
12826 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 12827
08232497
DJ
128282006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
12829
12830 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
12831 gdb.base/weaklib2.c: New files.
12832
d394c993 128332006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 12834
ac6c2fba
NS
12835 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
12836 info. Adjust test names.
12837
8ec659a0 12838 * gdb.base/break.c (main): Move position of malloc.
d394c993 12839 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 12840
acd65feb
VP
128412006-11-28 Vladimir Prus <vladimir@codesourcery.com>
12842
12843 * gdb.mi/mi-var-cmd.exp: Check -var-update after
12844 assignement of arrays and function pointers.
12845 * gdb.mi/var-cmd.c: Add declaration necessary for above
12846 tests.
12847
f556d5e5
NS
128482006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12849
12850 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
12851
12852 * gdb.threads/linux-dp.exp: Read thread table before and after
12853 creating each philosopher and verify it.
12854
697bc68d
NS
128552006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12856 Paul Brook <paul@codesourcery.com>
12857 Daniel Jacobowitz <dan@codesourcery.com>
12858
12859 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 12860 main to remove duplication. Add start function of the form
697bc68d
NS
12861 '_*start[1-9]*'. Add RVDS start function.
12862
29d73ae4
DJ
128632006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12864
12865 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
12866
c1d88655
UW
128672006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12868
12869 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
12870 * gdb.asm/spu.inc: New file.
12871 * gdb.base/term.exp: Disable if [target_info exists noargs].
12872 * gdb.gdb/complaints.exp: Disable if ![isnative].
12873 * gdb.gdb/selftest.exp: Likewise.
12874 * gdb.gdb/observer.exp: Likewise.
12875 * gdb.gdb/xfullpath.exp: Likewise.
12876 * gdb.base/attach.exp: Disable on SPU target.
12877 * gdb.cp/bs145503.exp: Likewise.
12878 * gdb.cp/exception.exp: Likewise.
12879 * gdb.cp/userdef.exp: Likewise.
12880
32a13b1a
DJ
128812006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12882
12883 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
12884
d8295fe9
VP
128852006-11-10 Vladimir Prus <vladimir@codesourcery.com>
12886
12887 * gdb.base/completion.exp: Fix completion tests for
12888 'info' and 'info '.
12889 * gdb.base/help.exp (help_test_raw, test_class_help)
12890 (test_prefix_command_help): Move...
12891 * lib/gdb.exp: Here.
12892 * gdb.base/main.exp: Adjust.
12893 * gdb.cp/maint.exp: Adjust.
12894 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 12895
8c394015
VP
128962006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12897
12898 * gdb.stabs/weird.exp (print_weird_var): Use
12899 gdb_test_multiple instead of gdb_expect.
12900
027fc1bc
VP
129012006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12902
12903 * gdb.base/help.exp (help_test_raw): New.
12904 (test_class_help): New.
12905 (test_prefix_command_help): New.
12906 Adjust testcases.
12907
67609209
FR
129082006-11-09 Christophe Lyon <christophe.lyon@st.com>
12909
12910 * gdb.base/constvars.c (main): Write to crass and crips, so that
12911 they are allocated by the compiler.
12912
f73adfeb
AS
129132006-10-27 Andreas Schwab <schwab@suse.de>
12914
12915 * gdb.base/multi-forks.exp: Use "detach fork" instead of
12916 "detach-fork".
12917
2f83a18e
DJ
129182006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
12919
12920 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
12921 of patterns.
12922
94277a38
DJ
129232006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12924
12925 * gdb.base/sepdebug.exp: Remove debug format test.
12926 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
12927 Handle no-symtab.
12928 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
12929
5bd2f6e2
DJ
129302006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12931
12932 * gdb.threads/manythreads.c (thread_function, main): Don't cast
12933 int to pointer or pointer to int.
12934 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
12935
8c008720
DJ
129362006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
12937
12938 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
12939
9e35dae4
DJ
129402006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12941
12942 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
12943
d9639e13
DJ
129442006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
12945
12946 PR c++/2116
12947 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
12948
390a1bd0
JB
129492006-10-06 Joel Brobecker <brobecker@adacore.com>
12950
12951 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
12952 the corresponding bug has been fixed in GDB (PR/2018).
12953
dd920c33
JB
129542006-10-06 Joel Brobecker <brobecker@adacore.com>
12955
12956 * gdb.base/subst.exp: New testcase.
12957
53bbefe9
JB
129582006-10-06 Joel Brobecker <brobecker@adacore.com>
12959
12960 * gdb.ada/array_return/pck.ads: Add copyright notice.
12961 * gdb.ada/array_return/pck.adb: Likewise.
12962 * gdb.ada/array_return/p.adb: Likewise.
12963 * gdb.ada/exec_changed/first.adb: Likewise.
12964 * gdb.ada/exec_changed/second.adb: Likewise.
12965
09851417
JB
129662006-10-06 Joel Brobecker <brobecker@adacore.com>
12967
12968 * gdb.ada/watch_arg/watch.adb: New file.
12969 * gdb.ada/watch_arg.exp: New testcase.
12970
041bf30d
VP
129712006-10-02 Vladimir Prus <vladimir@codesourcery.com>
12972
12973 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 12974 via string_to_regexp.
041bf30d 12975 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 12976
f286fbdd 129772006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
12978
12979 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
12980 Remove unused / obsolete files.
12981
7c07f349
NR
129822006-09-19 Nick Roberts <nickrob@snap.net.nz>
12983
12984 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
12985
cd5ff84a
VP
129862006-09-17 Vladimir Prus <vladimir@codesourcery.com>
12987
12988 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
12989 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 12990 the number of frames.
cd5ff84a 12991
ae018d1a
DJ
129922006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
12993
12994 * gdb.base/args.c (main): Add breakpoint marker.
12995 * gdb.base/args.exp: Use args_test for tests. Add new tests which
12996 really test empty arguments.
12997 (args_load): Delete.
12998 (args_test): New.
12999
b399c549
NR
130002006-09-13 Nick Roberts <nickrob@snap.net.nz>
13001
13002 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 13003 check for one file.
b399c549 13004
2ab1eb7a
VP
130052006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
13006
13007 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
13008 HIGH_FRAME argument to -stack-list-locals can be larger than
13009 the number of frames.
a9c64011 13010
476308bf
FF
130112006-08-18 Fred Fish <fnf@specifix.com>
13012
13013 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
13014 '$' in front of skip_vmx_tests_saved when setting that.
13015
8625200f
AS
130162006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
13017
13018 * gdb.base/trace-commands.exp: New file.
13019
089ec8f1
DJ
130202006-08-10 Joel Brobecker <brobecker@adacore.com>
13021 Daniel Jacobowitz <dan@codesourcery.com>
13022
13023 * gdb.base/step-bt.exp: Make hexadecimal address optional in
13024 expected output of the backtrace commands.
13025
b60f0898
JB
130262006-08-09 Joel Brobecker <brobecker@adacore.com>
13027
13028 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
13029 untested followed by return combination.
13030 * gdb.arch/altivec-regs.exp: Likewise.
13031 * gdb.arch/e500-abi.exp: Likewise.
13032 * gdb.arch/e500-regs.exp: Likewise.
13033 * gdb.arch/gdb1291.exp: Likewise.
13034 * gdb.arch/gdb1431.exp: Likewise.
13035 * gdb.arch/gdb1558.exp: Likewise.
13036 * gdb.arch/i386-prologue.exp: Likewise.
13037 * gdb.arch/i386-unwind.exp: Likewise.
13038 * gdb.asm/asm-source.exp: Likewise.
13039 * gdb.base/a2-run.exp: Likewise.
13040 * gdb.base/advance.exp: Likewise.
13041 * gdb.base/all-bin.exp: Likewise.
13042 * gdb.base/annota1.exp: Likewise.
13043 * gdb.base/annota3.exp: Likewise.
13044 * gdb.base/args.exp: Likewise.
13045 * gdb.base/arithmet.exp: Likewise.
13046 * gdb.base/assign.exp: Likewise.
13047 * gdb.base/async.exp: Likewise.
13048 * gdb.base/attach.exp: Likewise.
13049 * gdb.base/bang.exp: Likewise.
13050 * gdb.base/bigcore.exp: Likewise.
13051 * gdb.base/bitfields.exp: Likewise.
13052 * gdb.base/bitfields2.exp: Likewise.
13053 * gdb.base/break.exp: Likewise.
13054 * gdb.base/call-sc.exp: Likewise.
13055 * gdb.base/call-strs.exp: Likewise.
13056 * gdb.base/callfuncs.exp: Likewise.
13057 * gdb.base/checkpoint.exp: Likewise.
13058 * gdb.base/chng-syms.exp: Likewise.
13059 * gdb.base/code-expr.exp: Likewise.
13060 * gdb.base/commands.exp: Likewise.
13061 * gdb.base/completion.exp: Likewise.
13062 * gdb.base/cond-expr.exp: Likewise.
13063 * gdb.base/condbreak.exp: Likewise.
13064 * gdb.base/consecutive.exp: Likewise.
13065 * gdb.base/constvars.exp: Likewise.
13066 * gdb.base/corefile.exp: Likewise.
13067 * gdb.base/cvexpr.exp: Likewise.
13068 * gdb.base/dbx.exp: Likewise.
13069 * gdb.base/define.exp: Likewise.
13070 * gdb.base/detach.exp: Likewise.
13071 * gdb.base/display.exp: Likewise.
13072 * gdb.base/dump.exp: Likewise.
13073 * gdb.base/ena-dis-br.exp: Likewise.
13074 * gdb.base/ending-run.exp: Likewise.
13075 * gdb.base/environ.exp: Likewise.
13076 * gdb.base/eval-skip.exp: Likewise.
13077 * gdb.base/exprs.exp: Likewise.
13078 * gdb.base/fileio.exp: Likewise.
13079 * gdb.base/finish.exp: Likewise.
13080 * gdb.base/float.exp: Likewise.
13081 * gdb.base/foll-exec.exp: Likewise.
13082 * gdb.base/foll-fork.exp: Likewise.
13083 * gdb.base/foll-vfork.exp: Likewise.
13084 * gdb.base/freebpcmd.exp: Likewise.
13085 * gdb.base/funcargs.exp: Likewise.
13086 * gdb.base/gcore.exp: Likewise.
13087 * gdb.base/gdb1090.exp: Likewise.
13088 * gdb.base/gdb1250.exp: Likewise.
13089 * gdb.base/huge.exp: Likewise.
13090 * gdb.base/info-proc.exp: Likewise.
13091 * gdb.base/interrupt.exp: Likewise.
13092 * gdb.base/jump.exp: Likewise.
13093 * gdb.base/langs.exp: Likewise.
13094 * gdb.base/lineinc.exp: Likewise.
13095 * gdb.base/list.exp: Likewise.
13096 * gdb.base/logical.exp: Likewise.
13097 * gdb.base/long_long.exp: Likewise.
13098 * gdb.base/macscp.exp: Likewise.
13099 * gdb.base/maint.exp: Likewise.
13100 * gdb.base/mips_pro.exp: Likewise.
13101 * gdb.base/miscexprs.exp: Likewise.
13102 * gdb.base/multi-forks.exp: Likewise.
13103 * gdb.base/opaque.exp: Likewise.
13104 * gdb.base/overlays.exp: Likewise.
13105 * gdb.base/pc-fp.exp: Likewise.
13106 * gdb.base/pointers.exp: Likewise.
13107 * gdb.base/printcmds.exp: Likewise.
13108 * gdb.base/psymtab.exp: Likewise.
13109 * gdb.base/ptype.exp: Likewise.
13110 * gdb.base/recurse.exp: Likewise.
13111 * gdb.base/relational.exp: Likewise.
13112 * gdb.base/relocate.exp: Likewise.
13113 * gdb.base/remote.exp: Likewise.
13114 * gdb.base/reread.exp: Likewise.
13115 * gdb.base/restore.exp: Likewise.
13116 * gdb.base/return.exp: Likewise.
13117 * gdb.base/return2.exp: Likewise.
13118 * gdb.base/scope.exp: Likewise.
13119 * gdb.base/sect-cmd.exp: Likewise.
13120 * gdb.base/sep.exp: Likewise.
13121 * gdb.base/sepdebug.exp: Likewise.
13122 * gdb.base/setshow.exp: Likewise.
13123 * gdb.base/setvar.exp: Likewise.
13124 * gdb.base/sigall.exp: Likewise.
13125 * gdb.base/sigbpt.exp: Likewise.
13126 * gdb.base/signals.exp: Likewise.
13127 * gdb.base/signull.exp: Likewise.
13128 * gdb.base/sizeof.exp: Likewise.
13129 * gdb.base/solib.exp: Likewise.
13130 * gdb.base/step-line.exp: Likewise.
13131 * gdb.base/step-test.exp: Likewise.
13132 * gdb.base/structs.exp: Likewise.
13133 * gdb.base/structs2.exp: Likewise.
13134 * gdb.base/term.exp: Likewise.
13135 * gdb.base/twice.exp: Likewise.
13136 * gdb.base/until.exp: Likewise.
13137 * gdb.base/varargs.exp: Likewise.
13138 * gdb.base/volatile.exp: Likewise.
13139 * gdb.base/watchpoint.exp: Likewise.
13140 * gdb.base/whatis-exp.exp: Likewise.
13141 * gdb.base/whatis.exp: Likewise.
13142 * gdb.cp/ambiguous.exp: Likewise.
13143 * gdb.cp/annota2.exp: Likewise.
13144 * gdb.cp/annota3.exp: Likewise.
13145 * gdb.cp/bool.exp: Likewise.
13146 * gdb.cp/breakpoint.exp: Likewise.
13147 * gdb.cp/casts.exp: Likewise.
13148 * gdb.cp/class2.exp: Likewise.
13149 * gdb.cp/classes.exp: Likewise.
13150 * gdb.cp/cplusfuncs.exp: Likewise.
13151 * gdb.cp/ctti.exp: Likewise.
13152 * gdb.cp/derivation.exp: Likewise.
13153 * gdb.cp/exception.exp: Likewise.
13154 * gdb.cp/gdb1355.exp: Likewise.
13155 * gdb.cp/hang.exp: Likewise.
13156 * gdb.cp/inherit.exp: Likewise.
13157 * gdb.cp/local.exp: Likewise.
13158 * gdb.cp/m-data.exp: Likewise.
13159 * gdb.cp/m-static.exp: Likewise.
13160 * gdb.cp/member-ptr.exp: Likewise.
13161 * gdb.cp/method.exp: Likewise.
13162 * gdb.cp/misc.exp: Likewise.
13163 * gdb.cp/namespace.exp: Likewise.
13164 * gdb.cp/overload.exp: Likewise.
13165 * gdb.cp/ovldbreak.exp: Likewise.
13166 * gdb.cp/pr-1023.exp: Likewise.
13167 * gdb.cp/pr-1210.exp: Likewise.
13168 * gdb.cp/pr-574.exp: Likewise.
13169 * gdb.cp/printmethod.exp: Likewise.
13170 * gdb.cp/psmang.exp: Likewise.
13171 * gdb.cp/ref-params.exp: Likewise.
13172 * gdb.cp/ref-types.exp: Likewise.
13173 * gdb.cp/rtti.exp: Likewise.
13174 * gdb.cp/templates.exp: Likewise.
13175 * gdb.cp/try_catch.exp: Likewise.
13176 * gdb.cp/userdef.exp: Likewise.
13177 * gdb.cp/virtfunc.exp: Likewise.
13178 * gdb.disasm/am33.exp: Likewise.
13179 * gdb.disasm/h8300s.exp: Likewise.
13180 * gdb.disasm/mn10300.exp: Likewise.
13181 * gdb.disasm/sh3.exp: Likewise.
13182 * gdb.disasm/t01_mov.exp: Likewise.
13183 * gdb.disasm/t02_mova.exp: Likewise.
13184 * gdb.disasm/t03_add.exp: Likewise.
13185 * gdb.disasm/t04_sub.exp: Likewise.
13186 * gdb.disasm/t05_cmp.exp: Likewise.
13187 * gdb.disasm/t06_ari2.exp: Likewise.
13188 * gdb.disasm/t07_ari3.exp: Likewise.
13189 * gdb.disasm/t08_or.exp: Likewise.
13190 * gdb.disasm/t09_xor.exp: Likewise.
13191 * gdb.disasm/t10_and.exp: Likewise.
13192 * gdb.disasm/t11_logs.exp: Likewise.
13193 * gdb.disasm/t12_bit.exp: Likewise.
13194 * gdb.disasm/t13_otr.exp: Likewise.
13195 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
13196 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
13197 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
13198 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
13199 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
13200 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
13201 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
13202 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
13203 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
13204 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
13205 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
13206 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
13207 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
13208 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
13209 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
13210 * gdb.mi/gdb701.exp: Likewise.
13211 * gdb.mi/gdb792.exp: Likewise.
13212 * gdb.mi/mi-basics.exp: Likewise.
13213 * gdb.mi/mi-break.exp: Likewise.
13214 * gdb.mi/mi-cli.exp: Likewise.
13215 * gdb.mi/mi-console.exp: Likewise.
13216 * gdb.mi/mi-disassemble.exp: Likewise.
13217 * gdb.mi/mi-eval.exp: Likewise.
13218 * gdb.mi/mi-file.exp: Likewise.
13219 * gdb.mi/mi-read-memory.exp: Likewise.
13220 * gdb.mi/mi-regs.exp: Likewise.
13221 * gdb.mi/mi-return.exp: Likewise.
13222 * gdb.mi/mi-simplerun.exp: Likewise.
13223 * gdb.mi/mi-stack.exp: Likewise.
13224 * gdb.mi/mi-stepi.exp: Likewise.
13225 * gdb.mi/mi-syn-frame.exp: Likewise.
13226 * gdb.mi/mi-until.exp: Likewise.
13227 * gdb.mi/mi-var-block.exp: Likewise.
13228 * gdb.mi/mi-var-child.exp: Likewise.
13229 * gdb.mi/mi-var-cmd.exp: Likewise.
13230 * gdb.mi/mi-var-display.exp: Likewise.
13231 * gdb.mi/mi-watch.exp: Likewise.
13232 * gdb.mi/mi2-basics.exp: Likewise.
13233 * gdb.mi/mi2-break.exp: Likewise.
13234 * gdb.mi/mi2-cli.exp: Likewise.
13235 * gdb.mi/mi2-console.exp: Likewise.
13236 * gdb.mi/mi2-disassemble.exp: Likewise.
13237 * gdb.mi/mi2-eval.exp: Likewise.
13238 * gdb.mi/mi2-file.exp: Likewise.
13239 * gdb.mi/mi2-read-memory.exp: Likewise.
13240 * gdb.mi/mi2-regs.exp: Likewise.
13241 * gdb.mi/mi2-return.exp: Likewise.
13242 * gdb.mi/mi2-simplerun.exp: Likewise.
13243 * gdb.mi/mi2-stack.exp: Likewise.
13244 * gdb.mi/mi2-stepi.exp: Likewise.
13245 * gdb.mi/mi2-syn-frame.exp: Likewise.
13246 * gdb.mi/mi2-until.exp: Likewise.
13247 * gdb.mi/mi2-var-block.exp: Likewise.
13248 * gdb.mi/mi2-var-child.exp: Likewise.
13249 * gdb.mi/mi2-var-cmd.exp: Likewise.
13250 * gdb.mi/mi2-var-display.exp: Likewise.
13251 * gdb.mi/mi2-watch.exp: Likewise.
13252 * gdb.stabs/exclfwd.exp: Likewise.
13253 * gdb.stabs/weird.exp: Likewise.
13254 * gdb.threads/gcore-thread.exp: Likewise.
13255 * gdb.trace/actions.exp: Likewise.
13256 * gdb.trace/backtrace.exp: Likewise.
13257 * gdb.trace/circ.exp: Likewise.
13258 * gdb.trace/collection.exp: Likewise.
13259 * gdb.trace/deltrace.exp: Likewise.
13260 * gdb.trace/infotrace.exp: Likewise.
13261 * gdb.trace/limits.exp: Likewise.
13262 * gdb.trace/packetlen.exp: Likewise.
13263 * gdb.trace/passc-dyn.exp: Likewise.
13264 * gdb.trace/passcount.exp: Likewise.
13265 * gdb.trace/report.exp: Likewise.
13266 * gdb.trace/save-trace.exp: Likewise.
13267 * gdb.trace/tfind.exp: Likewise.
13268 * gdb.trace/tracecmd.exp: Likewise.
13269 * gdb.trace/while-dyn.exp: Likewise.
13270 * gdb.trace/while-stepping.exp: Likewise.
13271
f4b618d1
JB
132722006-08-08 Joel Brobecker <brobecker@adacore.com>
13273
13274 * gdb.base/step-bt.c: New file.
13275 * gdb.base/step-bt.exp: New testcase.
13276
3d00d119
DJ
132772006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
13278
13279 * config/monitor.exp (gdb_load): Remove support for obsolete
13280 download-write-size.
13281 * gdb.base/remote.exp: Likewise. Update all callers of
13282 gdb_timed_load.
13283
017b5bd4
DJ
132842006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
13285
13286 * cursal.exp: Pass binfile to gdb_load.
13287
837c599d
DJ
132882006-08-01 Nathan Sidwell <nathan@codesourcery.com>
13289
13290 * gdb.base/cursal.exp: Add "" to gdb_load call.
13291
8dd4540b
MK
132922006-07-29 Mark Kettenis <kettenis@gnu.org>
13293
13294 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
13295 NetBSD/ELF targets.
13296
ab5c9f60
DJ
132972006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
13298
13299 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
13300 operator*.
13301
4c42eaff
DJ
133022006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
13303
13304 * gdb.base/completion.exp: Update for change in "file" behavior.
13305 * gdb.stabs/weird.exp: Likewise.
13306 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
13307 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
13308
0155cc76
NS
133092006-07-24 Nathan Sidwell <nathan@codesourcery.com>
13310
13311 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
13312 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
13313
16026cd7
AS
133142006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
13315
13316 * gdb.base/default.exp: Update source command error message.
13317 * gdb.base/help.exp: Update 'help source' message.
13318
16963cb6
DJ
133192006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
13320
13321 * gdb.cp/bs15503.exp: Update comment for no longer crashing
13322 test.
13323
6d7fd486
AS
133242006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
13325
13326 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
13327
29e8a844
DJ
133282006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
13329
13330 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
13331
6afcfa39
DJ
133322006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
13333
13334 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
13335
267a692b
MK
133362006-07-17 Mark Kettenis <kettenis@gnu.org>
13337
13338 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
13339 *-*-openbsd* from targets for wich we expect ARM FPA floating
13340 point format.
13341
85d2fec4
NR
133422006-07-17 Nick Roberts <nickrob@snap.net.nz>
13343
13344 * gdb.cp/annota3.exp: Expect frame-begin annotation.
13345
133462006-07-17 Mark Kettenis <kettenis@gnu.org>
13347
13348 * gdb.base/annota3.exp: Expect frame-begin annotation.
13349
85b4c6e8
JB
133502006-07-14 Joel Brobecker <brobecker@adacore.com>
13351
13352 * gdb.base/help.exp: Adjust "help unset" test to accept
13353 any list of unset commands.
13354
fb933624
DJ
133552006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
13356 Daniel Jacobowitz <dan@codesourcery.com>
13357
13358 * gdb.cp/ref-params.exp: New test.
13359 * gdb.cp/ref-params.cc: New source file.
13360 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
13361
1dff4b64
MK
133622006-07-08 Mark Kettenis <kettenis@gnu.org>
13363
13364 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
13365 spaces/tabs in regular expressions since they might not be there.
13366
40d2e0e3
AS
133672006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
13368
13369 * gdb.base/ifelse.exp: New file.
13370
f6c957d2
NS
133712006-07-04 Nathan Sidwell <nathan@codesourcery.com>
13372
13373 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
13374 line.
13375 * gdb.base/huge.exp: Loop over compilation to find a size that
13376 is acceptable.
13377 * gdb.base/remote.exp: Correct expected strings.
13378 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
13379
b9c5a23d
DJ
133802006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13381
13382 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
13383
9af2e58d
DJ
133842006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13385
13386 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
13387 native.
13388
30930ca5
DJ
133892006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13390
13391 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
13392 enable stabs testing.
13393
aa32fa1d
DJ
133942006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13395
bd4a4c80 13396 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
13397 gdb_test_multiple does.
13398
321fef15
DJ
133992006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13400
13401 * Makefile.in (host_alias): Remove.
13402 (target_alias): Use @target_noncanonical@.
13403 (site.exp): Don't set host_alias.
13404 * aclocal.m4: Remove contents. Include acx.m4.
13405 * configure: Regenerated.
13406 * configure.ac: Use ACX_NONCANONICAL_TARGET.
13407
e1c2defa
NS
134082006-06-13 Nathan Sidwell <nathan@codesourcery.com>
13409
e63b55d1
NS
13410 * lib/gdb.exp (gdb_load_cmd): New.
13411
5600ea19
NS
13412 * gdb.base/fileio.c: Add system(NULL) test.
13413 * gdb.base/fileio.exp: Check it.
13414
e1c2defa
NS
13415 * gdb.base/break.c: Add 10a breakpoint at }
13416 * gdb.base/break.exp: Add test for breakpoint at }
13417 * gdb.cp/anon-union.cc: Add code at end of function.
13418 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
13419 * gdb.mi/var-cmd.c: Add code at end of function.
13420 * gdb.mi/mi-var-display.exp: Adjust end of next.
13421 * gdb.mi/mi2-var-display.exp: Likewise.
13422 * gdb.base/fileio.c: Add stop function and insert calls at
13423 stopping places.
13424 * gdb.base/fileio.exp: Breakpoint stop function and remove
13425 explicit line number references.
13426
6c0112ec
JB
134272006-05-19 Joel Brobecker <brobecker@adacore.com>
13428
a9c64011
AS
13429 * gdb.base/del.exp (test_delete_alias): New function.
13430 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 13431
154189a4
FF
134322006-05-18 Fred Fish <fnf@specifix.com>
13433
13434 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
13435 required. Check for spurious output after program exits normally.
13436
582e64c2
FF
134372006-05-17 Fred Fish <fnf@specifix.com>
13438
13439 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
13440 gdb_load, so it works in the simulator.
13441
8ef6493a
FF
134422006-05-11 Fred Fish <fnf@specifix.com>
13443
13444 * gdb.base/bang.exp: Ignore unexpected output between the
13445 "program exited normally" and the gdb prompt, as many other
13446 tests do.
13447
692b141c
MK
134482006-05-07 Mark Kettenis <kettenis@gnu.org>
13449
13450 * gdb.base/help.exp: Make "delete checkpoint" part option for
13451 "help d" and "help delete" tests.
13452
540b8a30
UW
134532006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13454
a9c64011 13455 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
13456 expected output in some mi_gdb_test statements.
13457 * gdb.mi/mi2-basics.exp: Likewise.
13458
9b6462d9
JB
134592006-05-05 Joel Brobecker <brobecker@adacore.com>
13460
13461 * gdb.base/del.c: New file.
13462 * gdb.base/del.exp: New testcase.
13463
954de43b
DM
134642006-05-05 David S. Miller <davem@sunset.davemloft.net>
13465
13466 * gdb.base/break.exp: Do not assume a breakpoint on
13467 main will actually be in $srcfile when optimizing.
1303f75e
DM
13468 * gdb.base/savedregs.exp: Do not require that the dummy
13469 frame location match up to a symbol and source file location.
c3242428
DM
13470 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
13471 will get printed without a mi_cmd_data_list_register_values prefix.
13472 (*-data-list-register-*): Correct regular expressions to expect the new
13473 pseudo d? floating point registers.
13474 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 13475
c7e64c9a
DJ
134762006-05-05 Christophe Lyon <christophe.lyon@st.com>
13477
13478 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
13479 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
13480 is allocated by the compiler.
13481 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
13482 anons, e, anone to force their allocation by the compiler.
13483
134842006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
13485
13486 * gdb.base/help.exp: Update expected text for help d and
13487 help delete.
13488
27ce9a6d
MK
134892006-05-02 Mark Kettenis <kettenis@gnu.org>
13490
13491 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
13492 NetBSD/ELF targets.
13493
8608915f
MK
134942006-04-30 Mark Kettenis <kettenis@gnu.org>
13495
13496 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
13497 single-step breakpoint fails; make this a KFAIL on
13498 sparc*-*-openbsd*.
13499 * gdb.base/siginfo.exp: Likewise.
13500 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13501
b8db102d
MS
135022006-04-26 Michael Snyder <msnyder@redhat.com>
13503
13504 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
13505 which may have to consume output from other forks.
13506 Add tests to make sure that "delete fork" succeeded.
13507
c702009a
MS
135082006-04-20 Michael Snyder <msnyder@redhat.com>
13509
13510 * 2006-03-22 Jim Blandy <jimb@redhat.com>
13511 Add support for the Renesas M32C and M16C.
13512
13513 * gdb.asm/asm-source.exp: Add m32c target.
13514 * gdb.asm/m32c.inc: Support for m32c target.
13515
e28493f2
AS
135162006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
13517
13518 * gdb.base/commands.exp (recursive_source_test): New test.
13519
880da185
DM
135202006-04-04 David S. Miller <davem@sunset.davemloft.net>
13521
13522 * gdb.base/float.exp: Add pattern for sparc targets.
13523
61d9b92f
DJ
135242006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
13525
13526 * gdb.base/commands.exp (stray_arg0_test): New test.
13527
bd717df8
PB
135282006-03-30 Paul Brook <paul@codesourcery.com>
13529
13530 * gdb.mi/mi-until.exp: kfail broken until command.
13531 * gdb.mi/mi2-until.exp: Ditto.
13532
ec793d3c
NR
135332006-03-27 Nick Roberts <nickrob@snap.net.nz>
13534
13535 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
13536
831004b7
AO
135372006-03-08 Alexandre Oliva <aoliva@redhat.com>
13538
13539 * gdb.base/prelink.exp: Anchor tested-for regular expression
13540 on gdb prompt.
13541
effe49a0
PB
135422006-03-07 Paul Brook <paul@codesourcery.com>
13543
13544 * gdb.base/assign.exp: Correct fail message.
13545
e5461016
PB
135462006-03-07 Paul Brook <paul@codesourcery.com>
13547
13548 * lib/compiler.c: Extract armcc version number.
13549 * lib/compiler.cc: Ditto.
13550
fc91c6c2
PB
135512006-03-07 Paul Brook <paul@codesourcery.com>
13552
13553 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
13554 additional_flags=-w.
13555 * gdb.arch/altivec-regs.exp: Ditto.
13556 * gdb.arch/e500-abi.exp: Ditto.
13557 * gdb.arch/e500-regs.exp: Ditto.
13558 * gdb.base/all-bin.exp: Ditto.
13559 * gdb.base/annota1.exp: Ditto.
13560 * gdb.base/annota3.exp: Ditto.
13561 * gdb.base/args.exp: Ditto.
13562 * gdb.base/arithmet.exp: Ditto.
13563 * gdb.base/assign.exp: Ditto.
13564 * gdb.base/async.exp: Ditto.
13565 * gdb.base/bang.exp: Ditto.
13566 * gdb.base/break.exp: Ditto.
13567 * gdb.base/call-rt-st.exp: Ditto.
13568 * gdb.base/completion.exp: Ditto.
13569 * gdb.base/cond-expr.exp: Ditto.
13570 * gdb.base/condbreak.exp: Ditto.
13571 * gdb.base/consecutive.exp: Ditto.
13572 * gdb.base/define.exp: Ditto.
13573 * gdb.base/display.exp: Ditto.
13574 * gdb.base/ena-dis-br.exp: Ditto.
13575 * gdb.base/environ.exp: Ditto.
13576 * gdb.base/eval-skip.exp: Ditto.
13577 * gdb.base/info-proc.exp: Ditto.
13578 * gdb.base/jump.exp: Ditto.
13579 * gdb.base/logical.exp: Ditto.
13580 * gdb.base/long_long.exp: Ditto.
13581 * gdb.base/maint.exp: Ditto.
13582 * gdb.base/miscexprs.exp: Ditto.
13583 * gdb.base/pc-fp.exp: Ditto.
13584 * gdb.base/pointers.exp: Ditto.
13585 * gdb.base/relational.exp: Ditto.
13586 * gdb.base/reread.exp: Ditto.
13587 * gdb.base/sect-cmd.exp: Ditto.
13588 * gdb.base/sep.exp: Ditto.
13589 * gdb.base/sepdebug.exp: Ditto.
13590 * gdb.base/until.exp: Ditto.
13591 * gdb.base/whatis-exp.exp: Ditto.
13592 * gdb.cp/annota2.exp: Ditto.
13593 * gdb.cp/annota3.exp: Ditto.
13594 * gdb.trace/actions.exp: Ditto.
13595 * gdb.trace/backtrace.exp: Ditto.
13596 * gdb.trace/circ.exp: Ditto.
13597 * gdb.trace/collection.exp: Ditto.
13598 * gdb.trace/deltrace.exp: Ditto.
13599 * gdb.trace/infotrace.exp: Ditto.
13600 * gdb.trace/limits.exp: Ditto.
13601 * gdb.trace/packetlen.exp: Ditto.
13602 * gdb.trace/passc-dyn.exp: Ditto.
13603 * gdb.trace/passcount.exp: Ditto.
13604 * gdb.trace/report.exp: Ditto.
13605 * gdb.trace/save-trace.exp: Ditto.
13606 * gdb.trace/tfind.exp: Ditto.
13607 * gdb.trace/tracecmd.exp: Ditto.
13608 * gdb.trace/while-dyn.exp: Ditto.
13609 * gdb.trace/while-stepping.exp: Ditto.
13610 * lib/gdb.exp: Ditto.
13611 (gdb_compile): Handle nowarning option.
13612
5f4a23d9
AO
136132006-03-07 Alexandre Oliva <aoliva@redhat.com>
13614
13615 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
13616 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
13617 Rename executable to prelinkt. Don't re-prelink if we didn't
13618 get a core file. Test prelink -u exit status to tell whether
13619 prelinking failed. Use gdb_test_multiple.
13620
9733fc94
DJ
136212006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
13622
13623 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
13624 (do_tests): Call it.
13625
cc10cae3
AO
136262006-02-28 Alexandre Oliva <aoliva@redhat.com>
13627
13628 * gdb.base/prelink.exp: New test.
13629 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
13630
15c46491
WZ
136312006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
13632
13633 * gdb.fortran/derived-type.f90: New file.
13634 * gdb.fortran/derived-type.exp: New testcase.
13635
5c9f7ded
DJ
136362006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
13637
13638 * gdb.base/default.exp: Allow ';' as a directory separator.
13639
5b96932b
AS
136402006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13641
13642 * gdb.base/help.exp (help add-symbol-file): Update.
13643
1986bccd
AS
136442006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13645
13646 * gdb.base/help.exp (help load): Update expected results.
13647
a8b7528f
FF
136482006-02-19 Fred Fish <fnf@specifix.com>
13649
13650 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
13651 specifix hex value as part of results.
13652 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 13653
f8261448
FF
136542006-02-16 Fred Fish <fnf@specifix.com>
13655
13656 * gdb.base/whatis.c: Define variables using typedefs char_addr,
13657 ushort_addr, and slong_addr, so the typedefs are not optimized
13658 away.
13659 * gdb.base/whatis.exp: Add tests using type name for struct type,
13660 union type, enum type, and typedef.
a9c64011 13661
31d8bdd2
MK
136622006-02-13 Mark Kettenis <kettenis@gnu.org>
13663
13664 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
13665
34e41e63
JB
136662006-02-13 Jim Blandy <jimb@redhat.com>
13667
13668 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
13669 case where it takes two "next" commands to skip past the init
13670 call.
13671
ac6e4f31
FF
136722006-02-12 Fred Fish <fnf@specifix.com>
13673
13674 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
13675 to handle cases where it takes two "next" commands to skip
13676 past the init call.
13677
2db2d571
JB
136782006-02-07 Joel Brobecker <brobecker@adacore.com>
13679
13680 * gdb.ada/array_return.exp: Mark the last test as expected to fail
13681 on hppa32 targets.
13682
38fcd64c
DJ
136832006-02-06 Vladimir Prus <ghost@cs.msu.su>
13684
13685 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
13686 field.
13687
1315ad46
MK
136882006-01-29 Mark Kettenis <kettenis@gnu.org>
13689
13690 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
13691
5625b943
DJ
136922006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
13693
13694 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
13695 files.
13696
80df1bbe
DJ
136972006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
13698
13699 * gdb.cp/maint.exp: Set complaints to a positive value.
13700
9078e690
DJ
137012006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13702
13703 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
13704 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
13705 function name.
13706
9c903399
DJ
137072006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13708
13709 * gdb.base/checkpoint.c: Update copyright notice. Include
13710 <stdlib.h>.
13711
761ae4d6
JB
137122006-01-04 Jim Blandy <jimb@redhat.com>
13713
13714 * gdb.asm/asm-source.exp: Independently provide default values for
13715 asm-flags and debug-flags. Use 'string equal' to do the
13716 comparison, not the implicit expr's '==' operator. Remove
13717 now-unneeded assignments to asm-flags. In h8300 case, place
13718 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
13719
099ac3dd
MS
137202006-01-04 Michael Snyder <msnyder@redhat.com>
13721
13722 * gdb.base/checkpoint.c: New file.
13723 * gdb.base/checkpoint.exp: New file.
13724 * gdb.base/multi-fork.c: New file.
13725 * gdb.base/multi-fork.exp: New file.
13726 * gdb.base/pi.txt: New file (data for checkpoint.c test).
13727
f4d85314
FF
137282006-01-04 Fred Fish <fnf@specifix.com>
13729
13730 * gdb.base/ptype.c (foo): Add typedef.
13731 (intfoo): Add function.
13732 * gdb.base/ptype1.c: New file.
13733 * gdb.base/ptype.exp: Handle compilation and linking with two
13734 source files. Test that proper type for "foo" is found based
13735 on source context rather than first match found in symtabs.
13736
a1b06f35
MK
137372005-12-28 Mark Kettenis <kettenis@gnu.org>
13738
13739 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
13740 * gdb.asm/openbsd.inc: Indent commands.
13741
d082a1e2
MK
137422005-12-26 Mark Kettenis <kettenis@gnu.org>
13743
c65016bd
MK
13744 * gdb.base/freebpcmd.exp: Increase timeout.
13745
d082a1e2
MK
13746 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
13747
d3c32a0e
DJ
137482005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
13749
13750 * gdb.base/default.exp: Update check for "show version".
13751
9fdb1f50
RC
137522005-12-09 Randolph Chung <tausq@debian.org>
13753
13754 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
13755 * gdb.asm/pa64.inc: New file.
13756
5f2c56f7
RC
137572005-12-09 Randolph Chung <tausq@debian.org>
13758
13759 * gdb.asm/common.inc: Indent commands.
13760 * gdb.asm/asmsrc1.s: Likewise.
13761 * gdb.asm/asmsrc2.s: Likewise.
13762
8117349c
RC
137632005-12-09 Randolph Chung <tausq@debian.org>
13764
13765 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
13766 (get_addr_of_sym): Remove duplicate print.
13767 (gen_core): xfail hppa*-*-hpux*, update expected output.
13768 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
13769 * gdb.arch/pa64-nullify.s: New file.
13770
8f07f25a
RC
137712005-12-09 Randolph Chung <tausq@debian.org>
13772
13773 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
13774
55b39184
DJ
137752005-12-07 Christophe Lyon <christophe.lyon@st.com>
13776
13777 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
13778 code generation for these functions.
13779 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
13780 error message.
13781
31e2b00f
AS
137822005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
13783
13784 * gdb.base/help.exp (help b, help br, help bre, help brea)
13785 (help break): Update the expected message.
13786
c3d0b56e
SC
137872005-11-11 Stephane Carrez <stcarrez@nerim.fr>
13788
13789 * gdb.asm/m68hc11.inc: Setup the data section.
13790 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
13791 script for this test.
13792 (m6812-*-*): Likewise.
13793
36ae0ea9
RC
137942005-11-09 Randolph Chung <tausq@debian.org>
13795
13796 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
13797
9d6f42e9
WZ
137982005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
13799
13800 * gdb.base/break.exp: Fix a comment typo.
13801
e2126a14
EZ
138022005-11-03 Jim Blandy <jimb@redhat.com>
13803
a9c64011
AS
13804 Checked in by Elena Zannoni <ezannoni@redhat.com>
13805
889bf7c5 13806 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 13807
e0ac7199
CV
138082005-11-02 Corinna Vinschen <vinschen@redhat.com>
13809
13810 * gdb.arch/gdb1558.c: Include stdio.h.
13811
31d3fb18
MK
138122005-10-31 Mark Kettenis <kettenis@gnu.org>
13813
13814 * gdb.asm/asm-source.exp: Use -e instead of --entry.
13815
e52b687c
MK
138162005-10-31 Mark Kettenis <kettenis@gnu.org>
13817
13818 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
13819
f4711d79
PG
138202005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
13821
a9c64011
AS
13822 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13823 vscr" tests to better match output.
f4711d79 13824
987a9106
JB
138252005-10-12 Jim Blandy <jimb@redhat.com>
13826
13827 * gdb.base/structs.exp (any): New function.
13828 (test_struct_returns): Don't make any assumptions at all about
13829 what value the function returns when GDB can't set the return
13830 value.
13831
2336bb58
JB
138322005-10-09 Joel Brobecker <brobecker@adacore.com>
13833
13834 * gdb.ada/arrayidx/p.adb: New file.
13835 * gdb.ada/arrayidx.exp: New testcase
13836
138372005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
13838
13839 * gdb.ada/array_return/pck.ads: New file.
13840 * gdb.ada/array_return/pck.adb: New file.
13841 * gdb.ada/array_return/p.adb: New file.
13842 * gdb.ada/array_return.exp: New testcase.
13843
705335ea
JB
138442005-10-03 Joel Brobecker <brobecker@adacore.com>
13845
a9c64011
AS
13846 * gdb.base/arrayidx.c: New file.
13847 * gdb.base/arrayidx.exp: New testcase.
705335ea 13848
11ee9940
NR
138492005-09-29 Nick Roberts <nickrob@snap.net.nz>
13850
13851 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
13852 frames-invalid and breakpoints-invalid are no longer generated
13853 with level 3 so don't expect them in the output.
13854
39fb8e9e
BR
138552005-09-27 Bob Rossi <bob@brasko.net>
13856
a9c64011 13857 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
13858 from test. Escape the | in mi_gdb_test call.
13859 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
13860 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
13861 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
13862 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
13863 expected regex's in mi_gdb_test calls.
13864 * lib/mi-support.exp: Remove arbitrary .* from tests.
13865 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
13866 Fully anchor GDB/MI expected results in mi_gdb_test.
13867 * lib/gdb.exp (string_to_regexp): Escape the ] character.
13868 * gdb.base/sizeof.exp: Remove escape character. Correct test.
13869
2af48f68
PB
138702005-09-26 Paul Brook <paul@codesourcery.com>
13871
13872 * long_long.exp: Exclude eabi targets from arm FPA float format test.
13873
f34502bc
WZ
138742005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13875
13876 * bfp-test.c: New file.
13877 * bfp-test.exp: New testcase.
13878
ca929517
WZ
138792005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13880
13881 * gdb.fortran/subarray.exp: New testcase to test the evaluation
13882 of subarray and substring variable.
13883 * gdb.fortran/subarray.f: New source file for the test of subarray
13884 and substring variable evaluation.
13885 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
13886 of string constant.
13887
c761af65
DJ
138882005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
13889
13890 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
13891 copyright dates.
13892
561d7a1d
PG
138932005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
13894
13895 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
13896 powerpc altivec' test with an almost identical 'info vector' test.
13897
b2b64cc9
PG
138982005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13899
a9c64011
AS
13900 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13901 vscr" tests to match output.
b2b64cc9 13902
6ac4d15a
PG
139032005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13904
a9c64011
AS
13905 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
13906 output.
6ac4d15a 13907
40e55bef
BR
139082005-09-11 Bob Rossi <bob@brasko.net>
13909
889bf7c5
PA
13910 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
13911 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
13912 commands that return an MI output command and an asyncronous MI output
13913 command.
40e55bef
BR
13914 * gdb.mi/mi-console.exp: Ditto.
13915
3c7385ec
BR
139162005-09-11 Bob Rossi <bob@brasko.net>
13917
13918 * gdb.mi/mi-var-child.c: Include <string.h>.
13919
a6cd0eb3
DJ
139202005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
13921
13922 * killed.exp: Correct gdb_expect syntax.
13923
2f168eed
CV
139242005-08-09 Corinna Vinschen <vinschen@redhat.com>
13925
13926 * lib/mi-support.exp (mi_gdb_load): Fix typo.
13927
ecd3fd0f
BR
139282005-08-02 Bob Rossi <bob@brasko.net>
13929
13930 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
13931 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
13932 Change tests to inferior-tty-set/show.
13933 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
13934 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
13935 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
13936 inferior. Use mi_gdb_test to get GDB and Inferior output.
13937 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
13938 descriptor.
13939 (mi_inferior_tty_name): Add inferior PTY file name.
13940 (mi_gdb_start): Add INFERIOR_PTY parameter.
13941 (mi_gdb_test): Add IPATTERN parameter.
13942
f1ea48cb 139432005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 13944
f1ea48cb
BR
13945 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
13946 parameter to mi_gdb_test.
13947 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
13948
6e650a67
DJ
139492005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13950
13951 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
13952 struct_declarations.
13953 * gdb.mi/mi-var-child.exp: Step over the initialization of
13954 struct_declarations.
13955
8be260b6
DJ
139562005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13957
13958 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
13959 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
13960 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
13961 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
13962 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
13963 file.
13964
4e660f07
NR
139652005-07-27 Nick Roberts <nickrob@snap.net.nz>
13966
13967 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
13968 (do_children_tests): Assign values to the extra elements.
13969
13970 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
13971 them for tests for "-var-update --no-values" and
a9c64011 13972 "-var-update --all-values".
4e660f07
NR
13973 Add test for "-var-list-children --simple-values".
13974
13975 * gdb.mi/basics.c (callee4): Add integer array D[3]...
13976
13977 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
13978 "-stack-list-locals --simple-values" Improve doc strings and
13979 comments.
13980
6bdae935
MK
139812005-07-18 Mark Kettenis <kettenis@gnu.org>
13982
598b7a6f
MK
13983 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
13984 *-*-openbsd*.
13985 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
13986
6bdae935
MK
13987 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
13988 sigaltsatck'.
13989
1323e929 139902005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 13991
1323e929
BR
13992 * gdb.base/default.exp (tty): Changed output of command.
13993 * gdb.base/help.exp (help tty): Ditto.
13994
b1a9c082
MK
139952005-07-12 Mark Kettenis <kettenis@gnu.org>
13996
13997 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
13998
10a844a2
MK
139992005-07-10 Mark Kettenis <kettenis@gnu.org>
14000
14001 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
14002 -stack-select-frame without arguments.
14003 (test_stack_frame_listing): Add test for newly implemented command
14004 -stack-info-frame.
14005
3cb3b8df
BR
140062005-07-06 Bob Rossi <bob@brasko.net>
14007
14008 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
14009 command.
14010 (Copyright): Update copyright.
14011
a0c5fbcf
WZ
140122005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
14013
14014 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
14015 tests to evaluate exponentiation expression.
14016
984971d0
AS
140172005-06-29 Andreas Schwab <schwab@suse.de>
14018
14019 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
14020 main to avoid warnings.
14021
14022 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
14023
fe03833f
NR
140242005-06-20 Nick Roberts <nickrob@snap.net.nz>
14025
14026 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
14027 -stack-select-frame without arguments.
14028 (test_stack_frame_listing): Add test for newly implemented command
14029 -stack-info-frame.
a9c64011 14030
7a55f279
WZ
140312005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
14032
0ffa0ea5
DJ
14033 * gdb.fortran/array-element.f: New file.
14034 * gdb.fortran/array-element.exp: New testcase.
7a55f279 14035
26585198
DJ
140362005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
14037
14038 * gdb.base/bigcore.exp: Correct checks for systems which can
14039 not dump a large core file.
14040
c1bd25fd
DJ
140412005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
14042
14043 * gdb.base/relocate.c: Add a copyright notice.
14044 (dummy): Remove.
14045 * gdb.base/relocate.exp: Test printing the values of variables
14046 from a relocatable file.
14047
589e074d
DJ
140482005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
14049
14050 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
14051 excess MI output after an error.
14052
0915f927
JB
140532005-05-29 Joel Brobecker <brobecker@adacore.com>
14054
14055 * gdb.arch/alpha-step.c: New file.
14056 * gdb.arch/alpha-step.exp: New testcase.
14057
76ff342d
DJ
140582005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
14059 Dennis Brueni <dennis@slickedit.com>
14060
14061 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
14062 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
14063 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
14064 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
14065 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
14066 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
14067 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
14068
96b0c7ac
DJ
140692005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
14070 Wu Zhou <woodzltc@cn.ibm.com>
14071
14072 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
14073 IBM's xlc compiler.
14074 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
14075 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
14076
f21565d2
JB
140772005-05-13 Jim Blandy <jimb@redhat.com>
14078
14079 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
14080 calling gdb_suppress_entire_file.
14081 * gdb.base/charset.exp: Same.
14082 * gdb.base/call-rt-st.exp: Same.
14083
6006a3a1
BR
140842005-05-05 Bob Rossi <bob_rossi@cox.net>
14085
14086 * lib/gdb.exp (fullname_syntax): Added global regex.
14087 (fullname_syntax_POSIX): Ditto.
14088 (fullname_syntax_UNC): Ditto.
14089 (fullname_syntax_DOS_CASE): Ditto.
14090 (fullname_syntax_DOS): Ditto.
14091 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
14092 fullname_syntax variable to scope and use it.
14093 (test_file_list_exec_source_files): Ditto.
14094 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
14095
c3b69c04
DJ
140962005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
14097
14098 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
14099
3c95e6af
PG
141002004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
14101
a9c64011
AS
14102 * lib/gdb.exp (skip_altivec_tests): New function, based on
14103 check_vmx_hw_available from the GCC testsuite.
14104 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
14105 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 14106
78df6c56
JB
141072005-05-02 Jim Blandy <jimb@redhat.com>
14108
14109 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
14110 calling gdb_suppress_entire_file.
14111
1690f9cf
DJ
141122005-04-30 Randolph Chung <tausq@debian.org>
14113
14114 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
14115 Slightly relax "sem_post" name checking.
14116
5ea106f7
PG
141172005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
14118
14119 * gdb.base/unload.exp: Use new shared library infrastructure.
14120
bf7234cf
PG
141212005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
14122
14123 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 14124 infrastructure.
bf7234cf 14125
547b869a
CV
141262005-04-29 Corinna Vinschen <vinschen@redhat.com>
14127
14128 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
14129 * gdb.asm/h8300.inc: New file.
14130
f07e55f0
PG
141312005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
14132
14133 * gdb.base/shlib-call.exp: Change to use new shared library
14134 infrastructure.
14135
3cbba3d1
PG
141362005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
14137
a9c64011
AS
14138 * gdb.base/pending.exp: Change to use new shared library
14139 infrastructure.
3cbba3d1 14140
ed6df200
PG
141412005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
14142
a9c64011
AS
14143 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
14144 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 14145
8c8f4ebe
PG
141462005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
14147
a9c64011
AS
14148 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
14149 shared objects being adjusted and update copyright years.
8c8f4ebe 14150
607fbc54
DJ
141512005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
14152
14153 * ChangeLog: Correct some 2003-01-13 dates.
14154 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
14155 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
14156 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
14157 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
14158 gdb.trace/tfind.exp: Update copyright years.
14159
57bf0e56
DJ
141602005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
14161 Daniel Jacobowitz <dan@codesourcery.com>
14162
14163 * lib/gdb.exp (gdb_compile): Handle shlib=.
14164 (gdb_compile_shlib): New function.
14165
9b593790
PG
141662005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
14167
a9c64011 14168 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 14169
9494c6a5
DJ
141702005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
14171
14172 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
14173 gdb.server.
14174 * configure.ac: Likewise.
14175 * configure: Regenerated.
14176 * gdb.gdbserver/Makefile.in: Moved to...
14177 * gdb.server/Makefile.in: ... here.
14178 * gdb.gdbserver/server.c: Moved to...
14179 * gdb.server/server.c: ... here.
14180 * gdb.gdbserver/server-run.exp: Moved to...
14181 * gdb.server/server-run.exp: ... here.
14182
6f8eac0e
DJ
141832005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
14184
14185 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
14186 * configure.ac: Create gdb.gdbserver/Makefile.
14187 * configure: Regenerated.
14188 * lib/gdbserver-support.exp: New file, derived from
14189 config/gdbserver.exp.
14190 * config/gdbserver.exp: Use gdbserver-support.exp.
14191 * gdb.gdbserver/Makefile.in: New file.
14192 * gdb.gdbserver/server.c: New file.
14193 * gdb.gdbserver/server-run.exp: New file.
14194
6e87504d
PG
141952005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
14196
a9c64011
AS
14197 * lib/gdb.exp (test_compiler_info): Return compiler_info
14198 if no arguments are given.
6e87504d 14199
d1779be4
PG
142002005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
14201
14202 * gdb.arch/altivec-abi.exp: Check for compiler and set
14203 use altivec' flag accordingly.
14204 * gdb.arch/altivec-regs.exp: Likewise.
14205
88750304
DJ
142062005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
14207
14208 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
14209
f3fb768d
AS
142102005-03-27 Andreas Schwab <schwab@suse.de>
14211
14212 * gdb.base/bigcore.c (main): Add missing mode argument in open
14213 call.
14214
7e813ac5
DJ
142152005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
14216
14217 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
14218 downloads.
14219 * config/gdbserver.exp (gdb_load): Likewise.
14220
8e3049aa
PB
142212005-03-14 Paul Brook <paul@codesourcery.com>
14222
14223 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
14224 targets.
14225
a9df7c44
JB
142262005-03-09 Joel Brobecker <brobecker@adacore.com>
14227
14228 * gdb.dwarf2/dup-psym.S: New file.
14229 * gdb.dwarf2/dup-psym.exp: New testcase.
14230
9f0d94e8
JB
142312005-03-09 Joel Brobecker <brobecker@adacore.com>
14232
14233 * gdb.ada/exec_changed/first.adb: New file.
14234 * gdb.ada/exec_changed/second.adb: New file.
14235 * gdb.ada/exec_changed.exp: New testcase.
14236
5f579bc5
NS
142372005-03-08 Nathan Sidwell <nathan@codesourcery.com>
14238
36e9969c
NS
14239 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
14240 (A2): New class.
14241 (main): Test operator+.
14242 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
14243 breakpoint test.
14244
5f579bc5
NS
14245 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
14246 * gdb.base/signull.exp: Disable if gdb,nosignals.
14247 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
14248 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
14249 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
14250 * gdb.mi/mi2-console.exp: Likewise.
14251 * gdb.trace/collection.exp (run_trace_experiment): Consume the
14252 continue output at start.
14253 (gdb_collect_locals_test): Robustify regexp.
14254 * gdb.trace/passc-dyn.exp: Fix comment typo.
14255 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
14256
be46087e
CV
142572005-03-08 Corinna Vinschen <vinschen@redhat.com>
14258
14259 * gdb.asm/asm-source.exp: Add iq2000 case.
14260 * gdb.asm/iq2000.inc: New file.
14261
384e1a61 142622005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 14263
384e1a61
MI
14264 * gdb.base/command.exp: Change hardcoded value to regular expression.
14265 * gdb.base/float.exp: Add powerpc to the list of targets checked.
14266
584b6e9e
DJ
142672005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
14268
14269 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
14270 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
14271 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
14272 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
14273 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
14274
ab5b5d61
MK
142752005-03-05 Mark Kettenis <kettenis@gnu.org>
14276
14277 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
14278 changes.
14279
ae051c1b
PG
142802004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
14281
a9c64011
AS
14282 * lib/compiler.c: Add test for IBM's xlc compiler.
14283 * lib/compiler.cc: Likewise.
ae051c1b 14284
3f0f6ed2
JB
142852004-02-24 Joel Brobecker <brobecker@adacore.com>
14286
14287 * gdb.ada/fixed_points.exp: Create compilation object directory
14288 before running the test.
14289 * gdb.ada/null_record.exp: Likewise.
14290 * gdb.ada/packed_array.exp: Likewise.
14291 * gdb.ada/start.exp: Likewise.
14292
724f452b
JB
142932005-02-15 Joel Brobecker <brobecker@adacore.com>
14294
14295 * gdb.ada/packed_array/pa.adb: New file.
14296 * gdb.ada/packed_array.exp: New testcase.
14297
57f5cdfb 142982005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 14299
1f393151
MK
14300 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
14301 files.
14302
ebdda337
MK
14303 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
14304 on *-*-openbsd*. Correctly match whitespace in regukar
14305 expressions.
14306
cf309262
DJ
143072005-02-10 Daniel Jacobowitz <dan@debian.org>
14308
14309 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
14310 PR exp/1821
14311 * gdb.base/gdb1821.c: New test file.
14312 * gdb.base/gdb1821.exp: New test file.
14313
3be49e7a
JB
143142005-02-09 Joel Brobecker <brobecker@adacore.com>
14315
14316 * gdb.base/start.c: New file.
14317 * gdb.base/start.exp: New testcase.
14318
e292e67d
JB
143192005-02-09 Joel Brobecker <brobecker@adacore.com>
14320
14321 * gdb.ada/start/dummy.adb: New file.
14322 * gdb.ada/start.exp: New testcase.
14323
dbdfa66c
CV
143242005-02-09 Corinna Vinschen <vinschen@redhat.com>
14325
14326 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
14327 for printing symbols and statistics.
14328 Add test for using relative pathnames in "maint print msymbols" test.
14329 Mark "maint info sections DATA" XFAIL on Cygwin.
14330 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
14331 tests.
14332
d7941671
AC
143332005-02-09 Andreas Schwab <schwab@suse.de>
14334
14335 Committed by Andrew Cagney <cagney@gnu.org>
14336 * gdb.base/remotetimeout.exp: New file.
14337
74e5ef44
MK
143382005-02-07 Mark Kettenis <kettenis@gnu.org>
14339
14340 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
14341
464dd14d
JB
143422005-02-03 Joel Brobecker <brobecker@adacore.com>
14343
14344 * gdb.ada/gnat_ada.gpr: New file.
14345 * gdb.ada/gnat_ada.gin: Delete, no longer used.
14346 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
14347 * configure.ac: No longer generate gnat_ada.gpr.
14348 * configure: Regenerate.
14349 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
14350 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
14351 * gdb.ada/null_record/bar.ads: Likewise.
14352 * gdb.ada/null_record/bar.adb: Likewise.
14353 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
14354 * gdb.ada/null_record.exp (testdir): New variable.
14355 (testfile): executable is now in testdir subdirectory.
14356 (srcfile): Use full path to the main compilation unit.
14357 * gdb.ada/fixed_points.exp: Same changes as above.
14358
30d756ae
NR
143592005-02-03 Nick Roberts <nickrob@snap.net.nz>
14360
14361 * gdb.base/interp.exp: New test.
14362
9d799f85
AC
143632005-01-24 Andrew Cagney <cagney@gnu.org>
14364
14365 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
14366
15656118
AC
143672005-01-19 Andrew Cagney <cagney@gnu.org>
14368
a892c31b
AC
14369 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
14370 configure.ac not configure.in.
14371
15656118
AC
14372 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
14373 of powerpc*-*-*.
14374 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 14375 * gdb.base/list.exp (test_list_function)
15656118
AC
14376 (test_list_filename_and_function): Ditto.
14377 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
14378
a7b01baf
AC
143792005-01-16 Andrew Cagney <cagney@gnu.org>
14380
17d92a02
AC
14381 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
14382
a7b01baf
AC
14383 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
14384
bc8332bb
AC
143852005-01-14 Andrew Cagney <cagney@gnu.org>
14386
14387 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
14388 * gdb.mi/mi2-var-cmd.exp: Ditto.
14389
4d074752
CV
143902005-01-10 Corinna Vinschen <vinschen@redhat.com>
14391
14392 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
14393
bec39cab
AC
143942005-01-07 Andrew Cagney <cagney@gnu.org>
14395
14396 * configure.ac: Rename configure.in, require autoconf 2.59.
14397 * configure: Re-generate.
14398 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
14399 * gdb.stabs/configure: Re-generate.
14400 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
14401 * gdb.hp/configure: Re-generate.
14402 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
14403 autoconf 2.59.
14404 * gdb.hp/gdb.objdbg/configure: Re-generate.
14405 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
14406 autoconf 2.59.
14407 * gdb.hp/gdb.defects/configure: Re-generate.
14408 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
14409 autoconf 2.59.
14410 * gdb.hp/gdb.compat/configure: Re-generate.
14411 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
14412 autoconf 2.59.
14413 * gdb.hp/gdb.base-hp/configure: Re-generate.
14414 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
14415 autoconf 2.59.
14416 * gdb.hp/gdb.aCC/configure: Re-generate.
14417
f10b16d4
JB
144182004-12-15 Jim Blandy <jimb@redhat.com>
14419
14420 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
14421 under NPTL when there is debugging info available for libpthread.
14422
fb6e1814
JG
144232004-12-13 Jerome Guitton <guitton@gnat.com>
14424
14425 * gdb.ada/fixed_points.c: New file.
14426 * gdb.ada/fixed_points.exp: New file.
14427
fe46cd3a
RC
144282004-12-03 Randolph Chung <tausq@debian.org>
14429
14430 * gdb.arch/pa-nullify.exp: New file.
14431 * gdb.arch/pa-nullify.s: New file.
14432
8de0841b
RC
144332004-11-30 Randolph Chung <tausq@debian.org>
14434
14435 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
14436 instead of "tbug". Fix regexp to work properly with gdb_test.
14437
c8170782
PH
144382004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
14439
14440 * gdb.base/bitfields2.exp: New test.
14441 * gdb.base/bitfields2.c: New file.
14442
954269c2
RE
144432004-11-28 Richard Earnshaw <rearnsha@arm.com>
14444
14445 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
14446
0107feed
RC
144472004-11-16 Randolph Chung <tausq@debian.org>
14448
14449 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
14450
f073ae8c
DJ
144512004-11-14 Daniel Jacobowitz <dan@debian.org>
14452
14453 * gdb.threads/threadapply.exp: Correct "macro details" test.
14454
19ad59e7
JJ
144552004-11-11 Jeff Johnston <jjohnstn@redhat.com>
14456
14457 * gdb.threads/threadapply.exp: New test.
14458 * gdb.threads/threadapply.c: New file.
14459
9cf0961b
MK
144602004-11-07 Mark Kettenis <kettenis@gnu.org>
14461
14462 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
14463 frames.
14464
c789492a
FL
144652004-11-05 Felix Lee <felix+log1@specifixinc.com>
14466
14467 * gdb.base/cursal.exp: New file.
14468 * gdb.base/cursal.c: New file.
14469
a1e167bb
AC
144702004-11-03 Andrew Cagney <cagney@gnu.org>
14471
14472 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
14473
b7cbf173
MK
144742004-10-30 Mark Kettenis <kettenis@gnu.org>
14475
14476 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
14477 NetBSD/ELF targets.
14478
88f9d34f
JB
144792004-10-29 Joel Brobecker <brobecker@gnat.com>
14480
14481 * gdb.threads/bp_in_thread.c: New file, copied from
14482 pthread_cond_wait.c.
14483 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
14484 file, rather than reusing the .c file from another testcase.
14485
ca7d6a0c
JB
144862004-10-20 Joel Brobecker <brobecker@gnat.com>
14487
14488 * gdb.ada/null_record.exp: Check where we stopped after
14489 sending the start command, instead of where the associated
14490 temporary breakpoint was inserted.
14491
0d863d03
AC
144922004-10-14 Andrew Cagney <cagney@gnu.org>
14493
14494 * gdb.mi/gdb701.c (main): Return 0.
14495
d11e72cb
DJ
144962004-10-13 Daniel Jacobowitz <dan@debian.org>
14497
d40539a4 14498 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 14499
e1923096
JJ
145002004-10-12 Jeff Johnston <jjohnstn@redhat.com>
14501
14502 * gdb.threads/schedlock.c: Add comment markers to use to find
14503 line numbers.
14504 * gdb.threads/schedlock.exp: Adjust regex to handle the new
14505 comments.
14506 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
14507 breakpoint lines.
14508
ec8ba2c9
DJ
145092004-10-12 Daniel Jacobowitz <dan@debian.org>
14510
14511 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
14512
0eb3658b
DJ
145132004-10-12 Daniel Jacobowitz <dan@debian.org>
14514
14515 * configure.in: Add gdb.dwarf2.
14516 * configure: Regenerated.
14517 * Makefile.in: Add gdb.dwarf2.
14518 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
14519 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
14520 gdb.dwarf2/file1.txt: New files.
14521
a271cc33
OF
145222004-10-11 Orjan Friberg <orjanf@axis.com>
14523
a9c64011 14524 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
14525 of "run", since the latter doesn't work with remote targets. Adjust
14526 the breakpoint numbering accordingly.
14527 * gdb.threads/pthread_cond_wait.exp: Ditto.
14528
895ce074
MC
145292004-10-08 Michael Chastain <mec.gnu@mindspring.com>
14530
14531 * gdb.base/overlays.exp: Update copyright years.
14532
6be3092d
KI
145332004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
14534
14535 * gdb.base/overlays.exp: Disable if target is Linux.
14536
e05389b8
FL
145372004-10-06 Felix Lee <felix+log1@specifixinc.com>
14538
14539 * config/gdbserver.exp (gdb_load): Use right filename on remote.
14540
73cb587d
KI
145412004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
14542
14543 * gdb.asm/asm-source.exp: Add m32r-linux target.
14544 * gdb.asm/m32r-linux.inc: New file.
14545
3c0edcdc
AC
145462004-09-24 Andrew Cagney <cagney@redhat.com>
14547 David Anderson <anderson@redhat.com>
14548
14549 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
14550 command fails, assume things will work.
14551 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
14552 (_GNU_SOURCE): Define.
14553 (print_unsigned, print_hex): Change parameter to "long long".
14554 (print_byte_count): New function, use to print byte counts.
14555 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
14556 O_LARGEFILE.
14557 (main): Compute an upper bound on a corefile in max_core_size.
14558 Limit memory chunk size to max_core_size. Limit total memory
14559 allocated to max_core_size.
14560
4bb3667f
AC
145612004-09-23 Andrew Cagney <cagney@gnu.org>
14562
14563 * gdb.base/bigcore.exp: Replace the code that creates a corefile
14564 from a separate process with code that creates a corefile by
14565 making the inferior dump core.
14566
60fe1a51
MK
145672004-09-23 Mark Kettenis <kettenis@gnu.org>
14568
14569 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
14570 block.
14571
8e937346
MC
145722004-09-23 Michael Chastain <mec.gnu@mindspring.com>
14573
14574 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
14575 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
14576 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
14577 Likewise.
14578
7213f6d6
JJ
145792004-09-20 Jeff Johnston <jjohnstn@redhat.com>
14580
14581 * gdb.java/jprint.exp: New test case for java inferior call.
14582 * gdb.java/jprint.java: Ditto.
14583
eac69dca
JB
145842004-09-15 Joel Brobecker <brobecker@gnat.com>
14585
14586 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
14587
22227696
MC
145882004-09-14 Michael Chastain <mec.gnu@mindspring.com>
14589
14590 * gdb.threads/killed.c: Include <stdlib.h>.
14591 * gdb.threads/pthreads.c: Likewise.
14592
7dd403a4
MC
145932004-09-14 Michael Chastain <mec.gnu@mindspring.com>
14594
14595 * gdb.threads/killed.c: Add copyright notice.
14596
33f2d567
JM
145972004-09-10 Jason Molenda (jmolenda@apple.com)
14598
a9c64011
AS
14599 * gdb.base/define.exp: Two new tests to verify zero space chars
14600 after 'if' and 'while' commands in a user-defined command is correctly
14601 parsed.
33f2d567 14602
e05b62ac
AC
146032004-09-08 Andrew Cagney <cagney@gnu.org>
14604
14605 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
14606 delivery test with duplicate at end of file.
14607
9cbe82da
MK
146082004-09-06 Mark Kettenis <kettenis@jive.nl>
14609
14610 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
14611
564803d9
MC
146122004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14613
14614 * config/hppro.exp: Removed.
14615
7c6807ce
MC
146162004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14617
14618 * config/sparclet.exp: Removed.
14619
bf7e26dd
MC
146202004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14621
14622 * config/udi.exp: Removed.
14623
714e341b
MC
146242004-09-02 Michael Chastain <mec.gnu@mindspring.com>
14625
14626 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
14627 of "exp_continue".
14628 (advancei): Likewise.
14629
1236e623
JJ
146302004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14631
14632 * gdb.base/unload.exp: Fix so messages aren't duplicated.
14633
3bdcad15
MI
146342004-09-01 Manoj Iyer <manjo@austin.ibm.com>
14635
228af206 14636 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
14637 to check for nodebug in executable.
14638 * gdb.gdb/observer.exp (setup_test): Likewise.
14639 * gdb.gdb/selftest.exp (test_with_self): Likewise.
14640 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
14641
c72b934c
AC
146422004-09-01 Andrew Cagney <cagney@gnu.org>
14643
14644 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14645 files.
14646
edd9b715
JJ
146472004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14648
14649 * gdb.base/unload.exp: Fix expected warning message to match
14650 latest format.
14651
fb4ce06b
CV
146522004-09-01 Corinna Vinschen <vinschen@redhat.com>
14653
14654 * gdb.base/call-rt-st.exp: Fix typos.
14655
ce78e7c3
MI
146562004-08-31 Manoj Iyer <manjo@austin.ibm.com>
14657
14658 * gdb.threads/thread_check.exp: New testcase.
14659 * gdb.threads/thread_check.c: New testcase.
14660
2dedb159
AC
146612004-08-31 Andrew Cagney <cagney@gnu.org>
14662
14663 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
14664 (skip_to_handler_entry): New procedures. Test stepping into a
14665 handler when the breakpoint is at the handler's entry point.
14666
68f53502
AC
146672004-08-30 Andrew Cagney <cagney@gnu.org>
14668
14669 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
14670 gdb/1757.
14671
3e3ffd2b
MC
146722004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14673
14674 With code from Manoj Iyer <manjo@austin.ibm.com>:
14675 * lib/gdb.exp (gdb_file_cmd): Return more information in the
14676 return value. Add an arm for "no debugging symbols found".
14677 Change a stray "error" to "perror".
14678 (gdb_run_cmd): Adapt to new return value.
14679 * gdb.base/remote.exp: Adapt to new return value.
14680 * gdb.gdb/complaints.exp: Likewise.
14681 * gdb.gdb/observer.exp: Likewise.
14682 * gdb.gdb/selftest.exp: Likewise.
14683 * gdb.gdb/xfullpath.exp: Likewise.
14684
4b6f5fd2
JB
146852004-08-27 Joel Brobecker <brobecker@gnat.com>
14686
14687 * gdb.threads/bp_in_thread.exp: New testcase.
14688
e5b25496
MC
146892004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14690
14691 Fix PR testsuite/1735.
14692 * gdb.threads/schedlock.c (thread_function): Add a cast
14693 to suppress a gcc warning.
14694 * gdb.threads/thread-specific.c (thread_function): Likewise.
14695
934353d6
MC
146962004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14697
14698 * gdb.base/unload.c: Include <stdlib.h>.
14699
f98a0aef 147002004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 14701
f98a0aef 14702 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
14703 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
14704 synchronized after the "return".
14705
5a2e8882
MC
147062004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14707
14708 * gdb.mi/basics.c: Include <stdio.h>.
14709 * gdb.mi/pthreads.c: Include <stdlib.h>.
14710 * gdb.mi/var-cmd.c: Include <stdlib.h>.
14711
a9640423
MC
147122004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14713
14714 * gdb.threads/schedlock.c: Add copyright notice.
14715
b04e311d
AC
147162004-08-25 Andrew Cagney <cagney@gnu.org>
14717
14718 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
14719 (skip_over_handler, breakpoint_over_hander): New test procedures.
14720 (advance, advancei): Add a proper prefix, do not use
14721 rerun_to_main.
14722 * gdb.base/sigstep.c (main): Change to use an infinite loop.
14723
7c27f15b
MC
147242004-08-24 Michael Chastain <mec.gnu@mindspring.com>
14725
14726 * gdb.mi/basics.c: Add copyright notice.
14727 * gdb.mi/var-cmd.c: Add copyright notice.
14728
fffc87ae
MC
147292004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14730
14731 * lib/gdb.exp: Remove signed_keyword_not_used.
14732 * lib/compiler.c: Likewise.
14733 * lib/compiler.cc: Likewise.
14734
d782e0bf
MC
147352004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14736
14737 * gdb.base/whatis.c: Remove conditional disabling of "signed".
14738 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
14739
96033e83
MC
147402004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14741
14742 * gdb.base/whatis.c: Add copyright notice.
14743
cf38c229
MK
147442004-08-20 Mark Kettenis <kettenis@gnu.org>
14745
14746 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
14747 it to skip the breakpoints encoded in the inline assembly.
14748
f4b49756
MC
147492004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14750
14751 * Makefile.in: Add gdb.fortran.
14752
2f193b69
MC
147532004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14754
14755 * gdb.base/call-sc.exp (test_scalar_returns):
14756 Fix cut-and-paste glitch in "Make fun return now".
14757
89a237cb
MC
147582004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14759
14760 * configure.in: Add gdb.fortran.
14761 * configure: Regenerate.
14762 * gdb.fortran/Makefile.in: New file.
14763 * lib/gdb.exp (skip_fortran_tests): New procedure.
14764
469aff8e
MC
147652004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14766
14767 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
14768 reference to bug-gnu@prep.ai.mit.edu.
14769 * gdb.mi/mi-var-child.exp: Likewise.
14770 * gdb.mi/mi-var-cmd.exp: Likewise.
14771 * gdb.mi/mi-var-display.exp: Likewise.
14772 * gdb.mi/mi2-var-block.exp: Likewise.
14773 * gdb.mi/mi2-var-child.exp: Likewise.
14774 * gdb.mi/mi2-var-cmd.exp: Likewise.
14775 * gdb.mi/mi2-var-display.exp: Likewise.
14776
00b51b9f
MK
147772004-08-15 Mark Kettenis <kettenis@gnu.org>
14778
14779 * gdb.base/unload.c (main): Make local variable msg const.
14780
45f07fef
MC
147812004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14782
14783 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
14784 to bug-gnu@prep.ai.mit.edu.
14785 * gdb.mi/mi-disassemble.exp: Likewise.
14786 * gdb.mi/mi-eval.exp: Likewise.
14787 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
14788 default line number.
14789 * gdb.mi/mi-return.exp: Likewise.
14790 * gdb.mi/mi-simplerun.exp: Likewise.
14791 * gdb.mi/mi-stack.exp: Likewise.
14792 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
14793 number with explicit range test.
14794 * gdb.mi/mi-watch.exp: Likewise.
14795 * gdb.mi/mi2-break.exp: Likewise.
14796 * gdb.mi/mi2-cli.exp: Likewise.
14797 * gdb.mi/mi2-disassemble.exp: Likewise.
14798 * gdb.mi/mi2-eval.exp: Likewise.
14799 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
14800 default line number.
14801 * gdb.mi/mi2-return.exp: Likewise.
14802 * gdb.mi/mi2-simplerun.exp: Likewise.
14803 * gdb.mi/mi2-stack.exp: Likewise.
14804 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
14805 number with explicit range test.
14806 * gdb.mi/mi2-watch.exp: Likewise.
14807
dd8c8ee7
MC
148082004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14809
14810 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
14811 * gdb.cp/m-static.exp: Likewise.
14812 * gdb.cp/rtti.exp: Likewise.
14813
4e838464
MK
148142004-08-14 Mark Kettenis <kettenis@gnu.org>
14815
14816 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
14817
8d8cb839
EZ
148182004-08-14 Eli Zaretskii <eliz@gnu.org>
14819
14820 * ChangeLog: Prefix Local Variables with semi-colons and indent
14821 the reference to older ChangeLog files, to fix fontification in
14822 Emacs.
14823
deea8bb0
MC
148242004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14825
14826 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
14827 * gdb.mi/mi2-break.exp: Likewise.
14828
c3297504
MC
148292004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14830
14831 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
14832
25808999
MC
148332004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14834
14835 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
14836
226a8d71
MC
148372004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14838
14839 * gdb.cp/classes.exp: Remove unused declarations. Just let
14840 test names default instead of providing special names. Remove
14841 extraneous demangler test.
14842
37fdf854
JJ
148432004-08-12 Jeff Johnston <jjohnstn@redhat.com>
14844
14845 * gdb.base/unload.exp: New test for breakpoints in dynamically
14846 loaded libraries.
14847 * gdb.base/unload.c: Ditto.
14848 * gdb.base/unloadshr.c: Ditto.
14849
2d3a7986
MC
148502004-08-12 Michael Chastain <mec.gnu@mindspring.com>
14851
14852 * gdb.cp/classes.exp (test_ptype_class_objects): Call
14853 cp_test_ptype_class.
14854 (test_enums): Likewise.
14855
c72b934c
AC
148562004-08-10 Andrew Cagney <cagney@gnu.org>
14857
14858 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14859 files.
14860
cc503c8a
AC
148612004-08-10 Andrew Cagney <cagney@gnu.org>
14862
14863 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
14864 init_malloc call.
14865
902f2ccb
MC
148662004-08-10 Michael Chastain <mec.gnu@mindspring.com>
14867
14868 * ChangeLog: Add copyright notice. The notice is copied
14869 from emacs 21.3 top level ChangeLog.
14870
78c90502
MC
148712004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14872
14873 * lib/cp-support.exp: New file.
14874 * lib/cp-support.exp (cp_test_type_class): New function.
14875 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
14876 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
14877 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
14878 cp_test_ptype_class.
14879
88e5ea78
MC
148802004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14881
14882 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
14883 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
14884 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
14885 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
14886 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14887 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
14888 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
14889 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
14890 gdb.mi/mi2-watch.exp: Update copyright years.
14891
6a89fc9c
MK
148922004-08-09 Mark Kettenis <kettenis@gnu.org>
14893
14894 * gdb.base/sigaltstack.exp: Provide proper anchoring.
14895
1482e0de
MC
148962004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14897
14898 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
14899 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
14900 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
14901 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
14902 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
14903 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
14904 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
14905 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
14906 gdb.mi/mi-watch.exp: Update copyright years.
14907
1a5ce3f3
DJ
149082004-08-08 Daniel Jacobowitz <dan@debian.org>
14909
14910 PR gdb/1738
14911 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
14912 from a breakpoint with a pending signal.
14913
04f6ecf2
DJ
149142004-08-08 Daniel Jacobowitz <dan@debian.org>
14915
14916 PR gdb/1736
14917 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
14918 * gdb.base/sigaltstack.exp (finish_test): Consume output until
14919 the prompt.
14920 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
14921
54d90d35
DJ
149222004-08-08 Daniel Jacobowitz <dan@debian.org>
14923
14924 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
14925
d2f6abb0
DJ
149262004-08-08 Daniel Jacobowitz <dan@debian.org>
14927
14928 PR gdb/1736
14929 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
14930 for i?86-*-linux*.
14931
5598c03d
DJ
149322004-08-08 Daniel Jacobowitz <dan@debian.org>
14933
14934 * gdb.arch/i386-prologue.exp: Compile without debug information.
14935
c6fee705
MC
149362004-08-08 Michael Chastain <mec.gnu@mindspring.com>
14937
14938 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
14939 rather than asking gdb to search.
14940
dd90efdb
MC
149412004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14942
14943 * gdb.base/gcore.c: Include <string.h>.
14944
1e84bec1
MC
149452004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14946
14947 * gdb.base/gcore.c: Add copyright notice.
14948
e425eb2b
MC
149492004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14950
14951 * gdb.base/freebpcmd.c: Include <stdio.h>.
14952 * gdb.base/long_long.c: Include <string.h>.
14953 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
14954 * gdb.base/siginfo.c: Include <string.h>.
14955 * gdb.base/sigstep.c: Include <string.h>.
14956
cb9aaed5
MC
149572004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14958
14959 * gdb.base/complex.c: Include <stdlib.h>.
14960
55944f3d
MC
149612004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14962
14963 * gdb.base/complex.c: Add copyright notice.
14964
7b2953d9
MC
149652004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14966
14967 * gdb.base/charset.c: Include <stdlib.h>.
14968
c9133d23
MC
149692004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14970
14971 * gdb.base/auxv.c: Include <stdlib.h>.
14972
0a8490ad
MC
149732004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14974
14975 * gdb.base/auxv.c: Add copyright notice.
14976
3426d5ec
MC
149772004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14978
14979 * gdb.base/coremaker.c: Add copyright notice.
14980 * gdb.base/coremaker2.c: Add copyright notice.
14981
8da195dd
AC
149822004-08-04 Andrew Cagney <cagney@gnu.org>
14983
14984 * gdb.base/store.exp: Update copyright.
14985 (check_set, up_set, check_struct, up_struct): Add a prefix to test
14986 names, do not import gdb_prompt.
14987
8d394f98
AC
149882004-08-01 Andrew Cagney <cagney@gnu.org>
14989
14990 Fix PR testsuite/1729.
14991 * gdb.base/dump.exp: Add test name to callers of capture_value, do
14992 not use capture_value with value 4.
14993 (capture_value): Add optional test name parameter.
14994 (test_reload_saved_value, test_restore_saved_value): Use $msg as
14995 the prefix, pass to capture_value.
14996
b6702b23
MK
149972004-08-01 Mark Kettenis <kettenis@gnu.org>
14998
14999 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
15000 * gdb.arch/i386-prologue.c (standard): New prototype and function.
15001 (main): Call new function.
15002
c203e0ca
MC
150032004-07-31 Michael Chastain <mec.gnu@mindspring.com>
15004
15005 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
15006
a7995a30
MC
150072004-07-31 Michael Chastain <mec.gnu@mindspring.com>
15008
15009 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
15010
9366563b
MC
150112004-07-31 Michael Chastain <mec.gnu@mindspring.com>
15012
b6eeaf26 15013 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
15014 Accept more values of vtbl pointer. Remove some messages
15015 about "obsolete gcc or gdb".
15016
2fc1f950
MC
150172004-07-30 Michael Chastain <mec.gnu@mindspring.com>
15018
15019 * gdb.cp/classes.exp: Accept more varieties of ptype output.
15020
c724d49b
MC
150212004-07-30 Michael Chastain <mec.gnu@mindspring.com>
15022
15023 * gdb.base/asm-source.exp: Properly convert target board
15024 debug flags from gcc format to binutils format.
15025
736b0fce
MK
150262004-07-28 Mark Kettenis <kettenis@gnu.org>
15027
15028 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
15029 gdb1718". PR backtrace/1718 partially fixed.
15030
5633ea5c
JJ
150312004-07-27 Jeff Johnston <jjohnstn@redhat.com>
15032
15033 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
15034
575eebb1
NC
150352004-07-26 Nick Clifton <nickc@redhat.com>
15036
15037 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
15038 good default value for a specific architecture is available then
15039 set it to that value. Otherwise default to the -gstabs switch.
15040 Remove the -g... switches from the asm-flags variable. Allow the
15041 target board info to override the value if it wants to. Pass the
15042 switch on the assembler command line.
15043
62104619
MK
150442004-07-23 Mark Kettenis <kettenis@gnu.org>
15045
15046 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
15047 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
15048 (main): Call new function.
15049
4a1135b8
MC
150502004-07-22 Michael Chastain <mec.gnu@mindspring.com>
15051
15052 Test for PR exp/1715.
15053 * gdb.base/radix.exp: Refactor common procedures. Make all
15054 test names unique. Change XFAIL to KFAIL.
15055
8a12c1f0
MC
150562004-07-20 Michael Chastain <mec.gnu@mindspring.com>
15057
15058 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
15059 * gdb.ada/gnat_ada.gin: ... to here.
15060 * configure.in: Use gnat_ada.gin.
15061 * configure: Regenerate.
15062
23b451cf
AC
150632004-07-20 Andrew Cagney <cagney@gnu.org>
15064
15065 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
15066 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
15067 XFAILs. Clean up test messages and comments. Check backtraces.
15068 Delete re-sync code.
15069
ab618a02
MC
150702004-07-19 Michael Chastain <mec.gnu@mindspring.com>
15071
15072 Fix PR cli/740.
15073 * gdb.base/annota1.exp: Honor gdb,nosignals.
15074 * gdb.base/annota3.exp: Likewise.
15075
46dad340
MC
150762004-07-19 Michael Chastain <mec.gnu@mindspring.com>
15077
15078 * lib/java.exp: Update copyright notice.
15079
756d8c70
AC
150802004-07-19 Andrew Cagney <cagney@gnu.org>
15081
15082 * gdb.base/selftest.exp: Copy file from here ...
15083 * gdb.gdb/selftest.exp: ... to here.
15084
586027e6
AC
150852004-07-16 Andrew Cagney <cagney@redhat.com>
15086
15087 * lib/insight-support.exp: Delete file.
15088 * lib/java.exp (java_init): Fix copyright.
15089
029d2200
AC
150902004-07-16 Andrew Cagney <cagney@gnu.org>
15091
15092 * gdb.base/restore.c: Append "prologue" to comments marking the a
15093 function's prologue.
15094 * gdb.base/restore.exp: Update copyright, re-indent.
15095 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
15096 callerN" prefix where needed. Update patterns that match a
15097 function's prologue.
15098
653b62c5
MC
150992004-07-16 Michael Chastain <mec.gnu@mindspring.com>
15100
15101 * gdb.base/restore.c: Add copyright notice.
15102
f7d690e5
AC
151032004-07-16 Andrew Cagney <cagney@gnu.org>
15104
15105 * gdb.base/logical.exp: Update copyright.
15106 (evaluate): New procedure. Use to re-implement tests using
15107 several tables.
15108
d629a7cb
MH
151092004-07-14 Martin Hunt <hunt@redhat.com>
15110
15111 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
15112 which fixes some problems where init.tcl was not found.
15113
9c7bb332
AC
151142004-07-13 Andrew Cagney <cagney@gnu.org>
15115
6bf46641
AC
15116 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
15117 (check_sizeof, check_valueof): Do not include the output in the
15118 test name. Use gdb_test.
15119 (get_valueof): Use gdb_test_multiple.
15120
c4ffd4c0
AC
15121 * gdb.base/step-test.exp: Update copyright. Use
15122 gdb_test_multiple. Ensure that test names do not include
15123 architecture dependent output.
15124
ab89363a
AC
15125 * gdb.gdb/observer.exp: Update copyright.
15126 (setup_test): Use gdb_test_multiple.
15127 (attach_first_observer, attach_second_observer)
15128 (attach_third_observer, detach_first_observer)
15129 (detach_second_observer, detach_third_observer)
15130 (reset_counters, check_counters): Make $message a prefix.
15131 (test_normal_stop_notifications): Add "args" parameter - a list of
15132 init functions to be called. Make $message a prefix,
15133 (test_observer_normal_stop): Change the message prefixes so that
15134 they are unique, pass the attach / detach procedures to
15135 test_normal_stop_notifications.
15136
ec58997a
AC
15137 * gdb.base/signull.exp (test_segv): Prefix all tests with
15138 "${name}". Clean up test messages.
15139
b475183b
AC
15140 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
15141
9c7bb332
AC
15142 * gdb.base/ena-dis-br.exp: Update copyright.
15143 (break_at): New function. Replace send_gdb with gdb_test,
15144 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
15145 ignore count, not stopped at bpt", with KFAIL.
15146
2dd95497
CV
151472004-07-13 Corinna Vinschen <vinschen@redhat.com>
15148
15149 * gdb.base/attach.exp: Remove cleanupfile handling.
15150
419e626b
AC
151512004-07-12 Andrew Cagney <cagney@gnu.org>
15152
15153 * gdb.base/annota1.exp: Cleanup corefile test name.
15154 * gdb.base/annota3.exp: Ditto.
15155
8b1b3228
AC
151562004-07-12 Andrew Cagney <cagney@gnu.org>
15157
78650829
AC
15158 * gdb.base/signals.exp: Clean up copyright, re-indent.
15159
8b1b3228
AC
15160 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
15161 gdb_test and gdb_test_multiple.
15162
935c2760
JJ
151632004-07-08 Jeff Johnston <jjohnstn@redhat.com>
15164
15165 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 15166 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
15167 provide line number info for first statement in main.
15168
1544280f
AC
151692004-07-08 Andrew Cagney <cagney@gnu.org>
15170
1279f4ff
AC
15171 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
15172
1544280f
AC
15173 * gdb.base/sigbpt.exp: Make the common part of each test name a
15174 prefix instead of suffix.
15175
bcc82369
BR
151762004-07-07 Bob Rossi <bob_rossi@cox.net>
15177
15178 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
15179 test from test_tbreak_creation_and_listing to
15180 test_file_list_exec_source_file
15181 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
15182 Changed name of test from test_tbreak_creation_and_listing to
15183 test_file_list_exec_source_file
15184
23f4b0aa
JJ
151852004-07-07 Jeff Johnston <jjohnstn@redhat.com>
15186
15187 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
15188 the jmisc() constructor instead of <init>.
15189 * gdb.java/jmisc1.exp: Ditto.
15190
56401cd5
AC
151912004-07-07 Andrew Cagney <cagney@gnu.org>
15192
15193 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
15194 corrupting the PC.
15195
44ae2f6a
MC
151962004-07-06 Michael Chastain <mec.gnu@mindspring.com>
15197
15198 * gdb.cp/templates.exp: Accept whitespace change in demangler
15199 output.
15200
45a83408
AC
152012004-07-06 Andrew Cagney <cagney@gnu.org>
15202
15203 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
15204
d205ad70
MC
152052004-07-02 Michael Chastain <mec.gnu@mindspring.com>
15206
15207 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
15208 * lib/compiler.cc: Likewise.
15209
06ea1a61
MC
152102004-06-30 Michael Chastain <mec.gnu@mindspring.com>
15211
15212 * lib/compiler.cc: Work around string preprocessing problem
15213 with old hp c++ compiler.
15214 * lib/compiler.c: Likewise.
15215
daab1251
CV
152162004-06-29 Corinna Vinschen <vinschen@redhat.com>
15217
15218 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
15219 directives to conditionalize symbol prefixing.
15220 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
15221 additional_flags handling. Add underscore prefix for Cygwin.
15222 * gdb.arch/i386-unwind.c: Use preprocessor directives to
15223 conditionalize symbol prefixing.
15224 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
15225 additional_flags handling. Add underscore prefix for Cygwin.
15226
cc984116
CV
152272004-06-29 Corinna Vinschen <vinschen@redhat.com>
15228
15229 * gdb.base/bigcore.exp: Skip test on Cygwin.
15230
c279b077
MC
152312004-06-28 Michael Chastain <mec.gnu@mindspring.com>
15232
15233 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
15234 formats for "info register". Use gdb_test_multiple. Fix
15235 the "invalid register" test.
15236
0e915747
CV
152372004-06-28 Corinna Vinschen <vinschen@redhat.com>
15238
15239 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
15240 PID for Cygwin. Add Cygwin specific strings to check for in some
15241 tests.
15242 (do_attach_tests): Add a test for user interaction when attaching
15243 to a process with no matching symbol table already loaded.
15244
11422c86
AC
152452004-06-26 Andrew Cagney <cagney@gnu.org>
15246
15247 Test PR java/1567 and PR java/1565.
15248 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
15249 * gdb.java/jmisc2.exp: Delete file.
15250
cefbce26
MC
152512004-06-26 Michael Chastain <mec.gnu@mindspring.com>
15252
15253 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
15254
e19f872c
CV
152552004-06-25 Corinna Vinschen <vinschen@redhat.com>
15256
15257 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
15258 attach process.
15259
d931ba3b
MC
152602004-06-23 Michael Chastain <mec.gnu@mindspring.com>
15261
15262 * gdb.cp/pr-1553.exp: Remove.
15263
aef68c48
MC
152642004-06-22 Michael Chastain <mec.gnu@mindspring.com>
15265
15266 * gdb.cp/pr-1553.cc: Remove.
15267 * gdb.cp/pr-1553.exp: Disable this test.
15268
8d5df71a
JB
152692004-06-20 Jim Blandy <jimb@redhat.com>
15270
a9c64011 15271 Fix PR testsuite/1680.
8d5df71a
JB
15272 * gdb.arch/i386-sse.exp: Properly quote curly braces in
15273 regular expressions.
15274
4ac6f39d
MC
152752004-06-19 Michael Chastain <mec.gnu@mindspring.com>
15276
15277 Fix PR testsuite/1679.
15278 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
15279 Issue an UNSUPPORTED result instead.
15280
1b413552
JB
152812004-06-18 Jim Blandy <jimb@redhat.com>
15282
15283 * gdb.base/charset.exp: Only send a control-C if we see a new
15284 prompt and incomplete command.
15285
6daa6ebd
MC
152862004-06-18 Michael Chastain <mec.gnu@mindspring.com>
15287
15288 * gdb.cp/pr-574.cc: Add copyright notice.
15289
51fa4ae0
JB
152902004-06-17 Jim Blandy <jimb@redhat.com>
15291
15292 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
15293 cases where the regexp has no groups; this grabs random text from
15294 the previous test suite, whatever that was.
15295
8fea26c5
MC
152962004-06-17 Michael Chastain <mec.gnu@mindspring.com>
15297
15298 * gdb.cp/printmethod.cc: Add copyright notice.
15299
1e3aeb41
MC
153002004-06-16 Michael Chastain <mec.gnu@mindspring.com>
15301
15302 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
15303
9d9030bc
AC
153042004-06-16 Andrew Cagney <cagney@gnu.org>
15305
15306 * gdb.base/signull.c: Update copyright. Include <string.h>.
15307 (bowler): Replace data_pointer with data_read
15308 and data_write cases. Add code_descriptor case.
15309 (zero, desc): New array and pointer.
15310 (data, code): Change to simple pointers.
15311 * gdb.base/signull.exp: Fix probe pattern matching a function
15312 descriptor SIGSEGV. Replace data_pointer with data_read and
15313 data_write tests.
15314
acd4ad44
AC
153152004-06-16 Andrew Cagney <cagney@gnu.org>
15316
15317 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
15318
08fd625c
MC
153192004-06-15 Michael Chastain <mec.gnu@mindspring.com>
15320
15321 * gdb.base/long_long.c: Add copyright notice.
15322
1903502c
MC
153232004-06-15 Michael Chastain <mec.gnu@mindspring.com>
15324
15325 * gdb.base/long_long.exp: Remove reference to
15326 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
15327 to gdb_breakpoint and gdb_continue_to_breakpoint.
15328
83313cb1
JB
153292004-06-14 Jim Blandy <jimb@redhat.com>
15330
15331 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
15332 endian case.
15333
1bf404ef
AC
153342004-06-14 Andrew Cagney <cagney@gnu.org>
15335
15336 * gdb.base/gcore.exp (capture_command_output): Delete the always
15337 passing tests containing inferior values.
15338 * gdb.base/ending-run.exp: Do not include the breakpoint address
15339 in the test message. Update copyright.
15340 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
15341 size in the test name, use gdb_test_multiple. Update copyright.
15342
ef220b33
MC
153432004-06-14 Michael Chastain <mec.gnu@mindspring.com>
15344
15345 * gdb.cp/ref-types.cc: Add copyright notice.
15346
4f70a4c9
MC
153472004-06-14 Michael Chastain <mec.gnu@mindspring.com>
15348
15349 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
15350 hp_aCC_compiler.
15351 * lib/compiler.cc: Likewise.
15352 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
15353 'set' commands. Log diagnostics for other lines. Set
15354 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
15355
335928ac
MC
153562004-06-13 Michael Chastain <mec.gnu@mindspring.com>
15357
15358 * gdb.cp/try_catch.cc: Add copyright notice.
15359
2efb12e8
MC
153602004-06-12 Michael Chastain <mec.gnu@mindspring.com>
15361
15362 * gdb.cp/userdef.cc: Add copyright notice.
15363
0bbed51a
MC
153642004-06-11 Michael Chastain <mec.gnu@mindspring.com>
15365
15366 * gdb.cp/virtfunc.cc: Add copyright notice.
15367
e12a46c9
RC
153682004-06-11 Randolph Chung <tausq@debian.org>
15369
15370 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
15371 problem.
15372
338e05af
AC
153732004-06-10 Andrew Cagney <cagney@gnu.org>
15374
15375 * lib/compiler.cc, lib/compiler.c: Append either
15376 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
15377 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
15378 instead of gcc-3-3.
15379
dc3f10cb
AC
153802004-06-09 Andrew Cagney <cagney@gnu.org>
15381
b4d946af
AC
15382 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
15383 gdb/1455, bug is specific to "long long" and "double".
a9c64011 15384
dc3f10cb
AC
15385 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
15386 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
15387 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
15388 fixed.
15389
b5c0bfa2
AC
153902004-06-09 Andrew Cagney <cagney@gnu.org>
15391
15392 * gdb.base/structs.exp (test_struct_returns): Replace
15393 "return_value_unknown" and "finish_value_unknown" by
15394 "return_value_known" and "finish_value_known". Instead of
15395 "return_value_unknown" iff "finish_value_unknown", check
15396 "return_value_known" implies "finish_value_known".
15397
caeb605f
MH
153982004-06-08 Martin Hunt <hunt@redhat.com>
15399
15400 * gdb.base/float.exp: Add pattern for mips targets.
15401
c892bb64
RC
154022004-06-08 Randolph Chung <tausq@debian.org>
15403
15404 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
15405 message for unknown architectures more clear.
15406
48306d3e
JB
154072004-06-08 Joel Brobecker <brobecker@gnat.com>
15408
15409 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
15410 start the execution of the program.
15411
83ecb59f
JB
154122004-06-07 Jim Blandy <jimb@redhat.com>
15413
15414 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
15415 * gdb.arch/i386-cpuid.h: New helper file.
15416
55264cb4
RC
154172004-06-07 Randolph Chung <tausq@debian.org>
15418
15419 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
15420 has started.
15421
23cadb28
RM
154222004-06-04 Roland McGrath <roland@redhat.com>
15423
15424 Fix PR gdb/1647.
15425 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
15426 differently to be robust to output buffering differences.
15427
51d01eda
MC
154282004-06-04 Michael Chastain <mec.gnu@mindspring.com>
15429
15430 * gdb.threads/pthreads.exp: Update copyright years.
15431 (check_control_c): Change asynchronous 'after' to synchronous.
15432
f4fc3b93
RM
154332004-06-04 Roland McGrath <roland@redhat.com>
15434
15435 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
15436 next gdb prompt.
15437
4013522b
MC
154382004-06-02 Michael Chastain <mec.gnu@mindspring.com>
15439
15440 Fix PR gdb/1636.
15441 * gdb.threads/manythreads.exp: Change asynchronous 'after'
15442 calls to synchronous.
15443
7a8f1e6b
JB
154442004-05-26 Jim Blandy <jimb@redhat.com>
15445
15446 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
15447
81bb3443
RC
154482004-05-24 Randolph Chung <tausq@debian.org>
15449
15450 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
15451 * gdb.asm/pa.inc: New file.
15452
8f5a3103
MK
154532004-05-22 Mark Kettenis <kettenis@gnu.org>
15454
15455 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
15456
734b8fe8 154572004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 15458 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
15459
15460 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
15461 GDB prompt.
15462
725603e1
UW
154632004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15464
f4fc3b93 15465 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
15466 setjmp/longjmp. Use sigaction instead of signal.
15467
8b923272 154682004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 15469 Michael Snyder <msnyder@redhat.com>
8b923272
JB
15470
15471 * gdb.threads/pthread_cond_wait.c: New file.
15472 * gdb.threads/pthread_cond_wait.exp: New testcase.
15473
8bfabb04
AC
154742004-05-13 Andrew Cagney <cagney@redhat.com>
15475
15476 * gdb.base/signull.exp, gdb.base/signull.c: New files.
15477 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
15478
42edda50
AC
154792004-05-11 Andrew Cagney <cagney@redhat.com>
15480
15481 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
15482 fixed but revealed gdb/1639.
15483
d303a6c7
AC
154842004-05-10 Andrew Cagney <cagney@redhat.com>
15485
15486 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
15487 func1" and "next to 2nd alarm", kernel bug avoided.
15488
bf08c2a1
DJ
154892004-05-10 Daniel Jacobowitz <dan@debian.org>
15490
15491 PR external/1568
15492 * gdb.base/bigcore.exp: Check the size of the dumped core file.
15493 XFAIL if it is smaller than bytes_allocated.
15494 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
15495 (main): Make chunks_allocated unsigned. Correct comment.
15496
c0586a34
JB
154972004-05-07 Joel Brobecker <brobecker@gnat.com>
15498
15499 * gdb.arch/powerpc-aix-prologue.c: New file.
15500 * gdb.arch/powerpc-aix-prologue.exp: New file.
15501
f2785d12
JB
155022004-05-07 Jim Blandy <jimb@redhat.com>
15503
15504 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
15505 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
15506
bd7f6e30
JB
155072004-05-06 Joel Brobecker <brobecker@gnat.com>
15508
15509 * gdb.base/sep.exp: No longer setup_kfail when the program was
15510 built with dwarf2.
15511
0a5e7efe
JI
155122004-05-05 Jim Ingham <jingham@apple.com>
15513
15514 * gdb.base/pending.exp: Make sure pending breakpoints
15515 preserve the ignore count.
f4fc3b93 15516
a8958849
MK
155172004-04-27 Jerome Guitton <guitton@gnat.com>
15518
15519 * i386-prologue.exp: Add testcase for jump instruction as first
15520 instruction of the real code.
15521 * i386-prologue.c (jump_at_beginning): New function.
15522
7e103f5b
MK
155232004-04-28 Mark Kettenis <kettenis@gnu.org>
15524
15525 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
15526 x86_64-*-*.
15527
5d38b224
MK
155282004-04-28 Mark Kettenis <kettenis@gnu.org>
15529
15530 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
15531 i*86-*-*.
15532
0ef32fd9
MK
155332004-04-25 Mark Kettenis <kettenis@gnu.org>
15534
15535 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
15536 expression that checks the return type.
15537
71d7dd7c
AC
155382004-04-23 Andrew Cagney <cagney@redhat.com>
15539
15540 * gdb.base/call-sc.exp: New test of scalar call/return values.
15541 * gdb.base/call-sc.c: Ditto.
15542
1e9f977e
JJ
155432004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15544
15545 * gdb.threads/manythreads.c: Reduce thread stack size.
15546
899d9e3a
JJ
155472004-04-23 Jeff Johnston <jjohnstn@redhat.com>
15548
15549 * gdb.threads/manythreads.c: Add copyright notice.
15550
61bcae62
AC
155512004-04-23 Andrew Cagney <cagney@redhat.com>
15552
15553 * gdb.base/siginfo.exp: Better handle step out of signal.
15554 * gdb.base/sigstep.exp: Ditto.
15555
7339a42e 155562004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 15557 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
15558
15559 * gdb.threads/manythreads.c: New testcase.
15560 * gdb.threads/manythreads.exp: Ditto.
15561
5c98409b
JB
155622004-04-22 Jim Blandy <jimb@redhat.com>
15563
15564 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
15565 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
15566
3b611f1a
MC
155672004-04-21 Michael Chastain <mec.gnu@mindspring.com>
15568
15569 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
15570
f0fd9238
AC
155712004-04-21 Andrew Cagney <cagney@redhat.com>
15572
15573 * gdb.base/sigstep.c: New file.
15574 * gdb.base/sigstep.exp: New file.
15575
90990674
JB
155762004-04-16 Joel Brobecker <brobecker@gnat.com>
15577
15578 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
15579 call to observer_notify_normal_stop.
15580
78cef34b
AC
155812004-04-15 Andrew Cagney <cagney@redhat.com>
15582
15583 * gdb.base/siginfo.c: New file.
15584 * gdb.base/siginfo.exp: New file.
15585
d2343407
JB
155862004-04-12 J. Brobecker <brobecker@gnat.com>
15587
15588 * gdb.base/sep.exp: Fix typo in comment.
15589
a2dba3c8
JB
155902004-04-12 J. Brobecker <brobecker@gnat.com>
15591
15592 * gdb.base/sep.c: New file.
15593 * gdb.base/sep-proc.c: New file.
15594 * gdb.base/sep.exp: New testcase.
15595
15f7b60e
MK
155962004-04-09 Mark Kettenis <kettenis@gnu.org>
15597
15598 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
15599 support.
15600
44f4de1a
AC
156012004-04-05 Andrew Cagney <cagney@redhat.com>
15602
15603 * gdb.base/sigaltstack.c: New file.
15604 * gdb.base/sigaltstack.exp: New file.
15605
ef04f396
JB
156062004-04-04 Joel Brobecker <brobecker@gnat.com>
15607
15608 * gdb.base/foll-fork.exp: Update the expected output for
15609 "help set follow-fork-mode", to match a change that was made
15610 to the help of this variable on 2004-01-13.
15611
d40d2c92
JB
156122004-04-01 Joel Brobecker <brobecker@gnat.com>
15613
15614 * lib/ada.exp: Add copyright notice.
15615 * bar.ads: Likewise.
15616 * bar.adb: Likewise.
15617 * null_record.adb: Likewise.
15618 * null_record.exp: Likewise.
15619 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
15620
f86ef5a3
JB
156212004-04-01 Joel Brobecker <brobecker@gnat.com>
15622
15623 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
15624 * configure: Regenerate.
15625
414e70e3
JB
156262004-04-01 Joel Brobecker <brobecker@gnat.com>
15627
15628 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
15629 to build the application. Remove the message printed when in
15630 verbose mode, redundant with the UNSUPPORTED message above.
15631
f0aaee49
JB
156322004-03-31 Joel Brobecker <brobecker@gnat.com>
15633
15634 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
15635 * gdb.ada (null_record.exp): New testcase.
15636
ac81cb54
JB
156372004-03-31 Joel Brobecker <brobecker@gnat.com>
15638
15639 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
15640
854af2f7
JB
156412004-03-31 Joel Brobecker <brobecker@gnat.com>
15642
15643 * gdb.ada: New subdirectory.
15644 * gdb.ada/Makefile.in: New file.
15645 * gdb.ada/gnat_ada.gpr.in: New file.
15646
034cb681
JB
156472004-03-31 Joel Brobecker <brobecker@gnat.com>
15648
15649 * lib/ada.exp: New file.
15650
78a1a894
DJ
156512004-03-24 Daniel Jacobowitz <drow@mvista.com>
15652
15653 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
15654 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
15655
4b2b3b3e
AC
156562004-03-22 Andrew Cagney <cagney@redhat.com>
15657
15658 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
15659 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
15660 Problem identified by Ulrich Weigand.
15661
23c73aa3
DC
156622004-03-17 David Carlton <carlton@kealia.com>
15663
15664 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
15665 PR c++/826.
15666
d63a86f8
RM
156672004-03-16 Roland McGrath <roland@redhat.com>
15668
15669 * gdb.base/auxv.exp: New file.
15670 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
15671
0e02aa50
DC
156722004-03-12 David Carlton <carlton@kealia.com>
15673
15674 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
15675 * gdb.cp/pr-1553.cc: Ditto.
15676 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
15677 pass branch.
15678
c20b71be
MC
156792004-03-12 Michael Chastain <mec.gnu@mindspring.com>
15680
15681 * gdb.cp/templates.exp: Accept more template types.
15682
c7414a01
MC
156832004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15684
15685 From Corinna Vinschen with modifications.
15686 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
15687 local variable obj_with_enum.
15688 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
15689 results with obj_with_enum.
15690
ed69573c
MC
156912004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15692
15693 * gdb.cp/classes.cc: New file, copied from misc.cc.
15694 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
15695
28301461
MC
156962004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15697
15698 * gdb.cp/misc.cc: Add copyright notice.
15699
1198ecbe
DC
157002004-03-05 David Carlton <carlton@kealia.com>
15701
15702 * gdb.cp/rtti.exp: Add 'print *obj3' test.
15703 * gdb.cp/rtti.h: Update copyright.
15704 (namespace n2::n3): New.
15705 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
15706 (n2::n3::func3): New.
15707 (main): Call n2::n3::func3.
15708 * gdb.cp/rtti2.cc: Update copyright.
15709 (n2::create3): New.
15710
9e08c470
MK
157112004-03-04 Mark Kettenis <kettenis@gnu.org>
15712
15713 * gdb.asm/openbsd.inc: Fix typo.
15714
4bebc3aa
FF
157152004-03-03 Fred Fish <fnf@redhat.com>
15716
15717 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
15718 "val" instead of unused "size". Update copyright year.
15719
6ea9fb37
DJ
157202004-02-29 Daniel Jacobowitz <drow@mvista.com>
15721
15722 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
15723 to use unsigned char.
15724 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
15725 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
15726
23b23974
DJ
157272004-02-29 Daniel Jacobowitz <drow@mvista.com>
15728
15729 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
15730 line of output.
15731
7574fd53
DJ
157322004-02-28 Daniel Jacobowitz <drow@mvista.com>
15733
15734 * gdb.base/relocate.c (dummy): Initialize.
15735
a195357f
DJ
157362004-02-28 Daniel Jacobowitz <drow@mvista.com>
15737
15738 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
15739 a breakpoint at exit.
15740
72fd54a9
FF
157412004-02-27 Fred Fish <fnf@redhat.com>
15742
15743 * gdb.base/chng-syms.exp: Add expect condition to match failing
15744 case that isn't a timeout.
15745
b9d23137
AC
157462004-02-27 Andrew Cagney <cagney@redhat.com>
15747
15748 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
15749 support.
15750
15d208f6 157512004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 15752
15d208f6
FF
15753 * gdb.arch/gdb1431.c: Remove.
15754 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
15755 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
15756 of "until" incorrectly.
15757
98f9cd2d
JB
157582004-02-26 J. Brobecker <brobecker@gnat.com>
15759
15760 * gdb.cp/class2.cc (empty): New class.
15761 (refer): New function.
15762 (main): Declare an object of type empty and use it.
15763 * gdb.cp/class2.exp: Print the value of an object of type empty.
15764
9b50c11b
JJ
157652004-02-26 Jeff Johnston <jjohnstn@redhat.com>
15766
15767 * gdb.base/langs.exp: Update query string to match the
15768 new nquery format used for pending breakpoints.
15769
0dcd613f
AC
157702004-02-26 Andrew Cagney <cagney@redhat.com>
15771
15772 Fix PR i18n/1570.
15773 * gdb.base/charset.c: Update copyright notice.
15774 (main, init_string): Remove the escape character '\e' tests.
15775 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
15776 * gdb.base/charset.exp (valid_host_charset): Ditto.
15777 * gdb.base/setvar.exp: Ditto.
15778
b8a56647
AC
157792004-02-24 Andrew Cagney <cagney@redhat.com>
15780
90d59e34
AC
15781 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
15782 mmapped data in core file" PASS and FAIL messages consistent.
15783
b8a56647
AC
15784 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
15785 setting a breakpoint. Work around PR java/1565.
15786
9f27c604
JJ
157872004-02-23 Jeff Johnston <jjohnstn@redhat.com>
15788
15789 * lib/gdb.exp (gdb_breakpoint): Update query string to match
15790 new nquery format.
15791 * gdb.base/pending.exp: Ditto.
15792
3224a706
MK
157932004-02-22 Mark Kettenis <kettenis@gnu.org>
15794
15795 * configure.in: Run stabs tests on *BSD.
15796 * configure: Regenerated.
15797
41e0a9ca
MK
157982004-02-21 Mark Kettenis <kettenis@gnu.org>
15799
15800 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
15801
1e1b3428
FF
158022004-02-20 Fred Fish <fnf@redhat.com>
15803
15804 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
15805 blank in test for "returns short", for consistency with other
15806 "returns xxx" tests. Update copyright year.
15807
f9a7572a
FF
158082004-02-19 Fred Fish <fnf@redhat.com>
15809
15810 New testcase for PR breakpoint/1558.
15811 * gdb.arch/gdb1558.exp: New file.
15812 * gdb.arch/gdb1558.c: New file.
15813
b2ce2854
EZ
158142004-02-19 Elena Zannoni <ezannoni@redhat.com>
15815
15816 * gdb.base/nodebug.exp: Fix typo.
15817
e7c9ff01
JB
158182004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15819
15820 Committed by Jim Blandy <jimb@redhat.com>.
15821
62f4b920
JB
15822 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
15823
2db536a1
JB
15824 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
15825
e7c9ff01
JB
15826 * gdb.base/float.exp: Support s390*-*-* targets.
15827
f3205b34
AF
158282004-02-17 Adam Fedor <fedor@gnu.org>
15829
15830 * gdb.base/gdb1555.exp: New file.
15831 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
15832
9d62932d
EZ
158332004-02-17 Elena Zannoni <ezannoni@redhat.com>
15834
15835 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
15836
344c9711
FF
158372004-02-16 Fred Fish <fnf@redhat.com>
15838
15839 * gdb.arch/gdb1291.c: Remove
15840 * gdb.arch/gdb1291.s: New test input file.
15841 * gdb.arch/gdb1291.exp: Expand test to check case that should not
15842 fail. Test for correct result, known incorrect result, other
15843 failures and timeouts.
15844
2d822687
AC
158452004-02-16 Andrew Cagney <cagney@redhat.com>
15846
15847 * gdb.base/bigcore.exp: New file.
15848 * gdb.base/bigcore.c: New file.
15849
dac15b66
AC
158502004-02-13 Andrew Cagney <cagney@redhat.com>
15851
15852 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
15853 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
15854 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
15855 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
15856 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
15857 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
15858 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
15859 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
15860 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
15861 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
15862
6bdfc2c4
JJ
158632004-02-11 Jeff Johnston <jjohnstn@redhat.com>
15864
15865 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
15866 executed is an alloc instruction.
15867
87b3ede8
DC
158682004-02-11 David Carlton <carlton@kealia.com>
15869
15870 * gdb.cp/breakpoint.exp: New.
15871 * gdb.cp/breakpoint.cc: New.
15872
6e19e2bf
MC
158732004-02-11 Michael Chastain <mec.gnu@mindspring.com>
15874
15875 Partial fix for PR gdb/1543.
15876 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
15877 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
15878 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
15879 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
15880 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
15881 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
15882 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
15883 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
15884 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
15885 to bug-gdb@prep.ai.mit.edu .
15886 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
15887 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
15888 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
15889 Likewise.
15890
5c5455dc
AC
158912004-02-10 Andrew Cagney <cagney@redhat.com>
15892
15893 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
15894 using gdb_internal_error_resync.
15895
9cf689d7
DJ
158962004-02-09 Daniel Jacobowitz <drow@mvista.com>
15897
15898 * gdb.threads/thread-specific.exp: Stop early if no threads are
15899 found.
15900
d2dc51db
MC
159012004-02-09 Michael Chastain <mec.gnu@mindspring.com>
15902
15903 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
15904
14b1a056
DJ
159052004-02-08 Daniel Jacobowitz <drow@mvista.com>
15906
15907 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
15908 breakpoints.
15909
83f66e8f
DJ
159102004-02-07 Daniel Jacobowitz <drow@mvista.com>
15911
15912 * config/sim.exp (gdb_load): Handle $arg == "".
15913 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
15914 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
15915
30fc0091
EZ
159162004-02-07 Elena Zannoni <ezannoni@redhat.com>
15917
a9c64011
AS
15918 * gdb.base/maint.exp: Update test to reflect
15919 obstack changes.
30fc0091 15920
4d806929
JJ
159212004-02-04 Jeff Johnston <jjohnstn@redhat.com>
15922
15923 * gdb.base/pendshr.c (pendfunc): New function that calls
15924 pendfunc1.
15925 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
15926
7bfdd688
FF
159272004-02-04 Fred Fish <fnf@redhat.com>
15928
15929 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
15930 function symbols and update copyright years.
15931 * gdb.arch/gdb1291.c: Ditto.
15932
aaa08ee4
MC
159332004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15934
15935 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
15936
dbad7755
MC
159372004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15938
15939 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
15940
ec4646ef
MC
159412004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15942
15943 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
15944
1b802196
FF
159452004-02-02 Fred Fish <fnf@redhat.com>
15946
15947 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
15948 remote targets. Update copyright years.
15949
18fe2033
JJ
159502004-02-02 Jeff Johnston <jjohnstn@redhat.com>
15951
15952 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
15953 support.
15954 * gdb.base/langs.exp: Fix test which attempts to create
15955 breakpoint on non-existent function to handle new pending
15956 support.
15957 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
15958 a breakpoint.
15959 * gdb.base/pending.exp: New test.
15960 * gdb.base/pending.c: New file.
15961 * gdb.base/pendshr.c: Ditto.
15962
8d577d32
DC
159632004-02-02 David Carlton <carlton@kealia.com>
15964
15965 * gdb.cp/overload.exp: Add overloadNamespace tests.
15966 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
15967 (overloadNamespace, XXX): New.
15968 (main): Call XXX::marker2.
15969
3ad13771
FF
159702004-02-01 Fred Fish <fnf@redhat.com>
15971
15972 * gdb.base/dump.exp: Use runto_main instead of "runto main".
15973 * gdb.base/finish.exp: Ditto.
15974 * gdb.base/gcore.exp: Ditto.
15975 * gdb.base/huge.exp: Ditto.
15976 * gdb.base/info-proc.exp: Ditto.
15977 * gdb.base/return2.exp: Ditto.
15978 * gdb.threads/gcore-thread.exp: Ditto.
15979
44c75849
DJ
159802004-02-01 Daniel Jacobowitz <drow@mvista.com>
15981
15982 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
15983
005bc093
MK
159842004-02-01 Mark Kettenis <kettenis@gnu.org>
15985
15986 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
15987 that opening the file succeeds on OpenBSD.
15988
c47cebdb
DJ
159892004-02-01 Daniel Jacobowitz <drow@mvista.com>
15990
15991 * gdb.threads/thread-specific.c: New file.
15992 * gdb.threads/threads-specific.exp: New test script.
15993 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
15994 to expect_out.
15995
5a01311c
MK
159962004-02-01 Mark Kettenis <kettenis@gnu.org>
15997
15998 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
15999 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
16000 only on the "print_small_structs from print_long_arg_list" test.
16001
ce22a4f1
DJ
160022004-02-01 Daniel Jacobowitz <drow@mvista.com>
16003
16004 * gdb.base/completion.exp: Kill a stray backslash.
16005
16006 From Jim Ingham <jingham@apple.com>:
16007 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
16008 agrees with the result from sending a tab.
16009
abbab9d3
DJ
160102004-01-31 Daniel Jacobowitz <drow@mvista.com>
16011
16012 * gdb.base/chng-syms.exp: Remove stray newline.
16013
53904d1e
MK
160142004-01-31 Mark Kettenis <kettenis@gnu.org>
16015
16016 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
16017 *-*-openbsd*.
16018 * gdb.asm/openbsd.inc: New file.
16019
3a4b3aac
MK
160202004-01-30 Mark Kettenis <kettenis@gnu.org>
16021
16022 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
16023 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
16024 *-*solaris2*. Remove commented out default settings for
16025 asm-flags. Replace gdb_compile with target_link.
16026
ebac27b4
MC
160272004-01-29 Michael Chastain <mec.gnu@mindspring.com>
16028
16029 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
16030 for all tests. Remove old hp-ux and cygnus xfail cases.
16031
d8679d84
PH
160322004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
16033
16034 * gdb.base/chng-syms.exp: New file.
16035 * gdb.base/chng-syms.c: New file.
16036
0a55bc22
MC
160372004-01-24 Michael Chastain <mec.gnu@mindspring.com>
16038
16039 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
16040 Provide arms for current output in all my configurations.
16041
94b8e876
MC
160422004-01-24 Michael Chastain <mec.gnu@mindspring.com>
16043
16044 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
16045 * lib/compiler.cc: Likewise.
16046 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
16047 get the right preprocessor. Eval the output directly. Remove
16048 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
16049 hp_f77_compiler and hp_f90_compiler completely.
16050 (gdb_preprocess): Delete.
16051 (get_compiler): Delete.
16052
7cf03d44
MK
160532004-01-24 Mark Kettenis <kettenis@gnu.org>
16054
16055 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
16056 <string.h>.
16057
68b6dce9
NR
160582004-01-24 Nick Roberts <nick@nick.uklinux.net>
16059
16060 * gdb.mi/mi-stack.exp: Update copyright.
16061
b368761e
DC
160622004-01-23 David Carlton <carlton@kealia.com>
16063
16064 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
16065 test for cp_lookup_transparent_type.
16066 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
16067 call them.
16068
f2061b53
DJ
160692004-01-23 Daniel Jacobowitz <drow@mvista.com>
16070
16071 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
16072 after -var-update.
16073
37fc574a
DC
160742004-01-23 David Carlton <carlton@kealia.com>
16075
16076 * gdb.cp/namespace.cc (C::ensureRefs): New.
16077 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
16078
8e94b928
NR
160792004-01-20 Nick Roberts <nick@nick.uklinux.net>
16080
16081 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
16082 case "-stack-list-locals 2".
16083 * gdb.mi/mi-var-child.exp: Test for case
16084 "-var-list-children --all-values NAME".
16085
997b0952
MC
160862004-01-18 Michael Chastain <mec.gnu@mindspring.com>
16087
16088 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
16089
52470da3
MK
160902004-01-18 Mark Kettenis <kettenis@gnu.org>
16091
7049b4b8
MK
16092 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
16093 used with gdb_test_multiple.
16094
52470da3
MK
16095 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
16096 read at address 0. This fixes PR testsuite/1504.
16097
da6012e5
DJ
160982004-01-18 Daniel Jacobowitz <drow@mvista.com>
16099
16100 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
16101 Remove downloading, guessing the host executable, the calls to
16102 gdb_file_cmd and gdb_target_cmd, and "load" support.
16103 (infer_host_exec): New function broken out from gdb_load.
16104 (gdb_load): New wrapper for gdbserver_gdb_load.
16105 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
16106 gdb_target_cmd. Use -target-select.
16107 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
16108 Download binaries to the host. Clear last_mi_remote_file when
16109 we load a new binary.
16110 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
16111 call gdbserver_gdb_load and mi_gdb_target_cmd.
16112
32c70722
MC
161132004-01-17 Michael Chastain <mec.gnu@mindspring.com>
16114
16115 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
16116 type patterns.
16117
b0cecf36
MC
161182004-01-17 Michael Chastain <mec.gnu@mindspring.com>
16119
16120 * gdb.cp/templates.exp: Fix typo in test name of
16121 "print Foo<volatile char*>::foo".
16122
4120d7e6
MC
161232004-01-15 Michael Chastain <mec.gnu@mindspring.com>
16124
16125 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
16126
f679e530
BE
161272004-01-16 Ben Elliston <bje@wasabisystems.com>
16128
16129 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
16130 (clean mostlyclean): Remove empty rm.
16131
091c48f6
MC
161322004-01-15 Michael Chastain <mec.gnu@mindspring.com>
16133
16134 * gdb.base/setvar.exp: Add copyright years.
16135
3e5fc8d2
DC
161362004-01-14 David Carlton <carlton@bactrian.org>
16137
16138 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
16139 PR c++/1511 and update coment.
16140 * gdb.cp/templates.exp: Update patterns to match current output.
16141 If changes involve something other than whitespace, KFAIL
16142 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
16143
63d06c5c
DC
161442004-01-14 David Carlton <carlton@kealia.com>
16145
16146 * gdb.cp/namespace.exp: Add tests involving classes defined within
16147 namespaces.
16148 * gdb.cp/namespace.cc (C::CClass): New.
16149 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
16150
a51dab88
EZ
161512004-01-14 Elena Zannoni <ezannoni@redhat.com>
16152
16153 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
16154 what debug info we have. Print a better message if something goes
16155 wrong while producing the separate debug info file.
16156
a476ccc9
MC
161572004-01-14 Michael Chastain <mec.gnu@mindspring.com>
16158
16159 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
16160
f453692c
MC
161612004-01-14 Michael Chastain <mec.gnu@mindspring.com>
16162
16163 * gdb.base/callfuncs.c: Add copyright notice.
16164
f40063a5
MC
161652004-01-13 Michael Chastain <mec.gnu@mindspring.com>
16166
16167 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
16168 inheritance. PR gdb/1498, PR gcc/13539.
16169
19ac3974
EZ
161702004-01-13 Elena Zannoni <ezannoni@redhat.com>
16171
a9c64011
AS
16172 * gdb.threads/gcore-thread.exp: Prefix name of binary with
16173 test specific name.
16174 * gdb.mi/gdb669.exp: Ditto.
16175 * gdb.mi/mi-pthreads.exp: Ditto.
16176 * gdb.mi/mi1-pthreads.exp: Ditto.
16177 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 16178
56c97c6e
MC
161792004-01-12 Michael Chastain <mec.gnu@mindspring.com>
16180
16181 * gdb.cp/member-ptr.cc: Add copyright notice.
16182
a0644324
MC
161832004-01-12 Michael Chastain <mec.gnu@mindspring.com>
16184
16185 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
16186 some patterns for recent versions of gcc and hpacc. Delete
16187 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
16188 Delete tests that access a NULL pointer-to-member-data. This
16189 script is still disabled for gcc.
16190
32fabe09
EZ
161912004-01-12 Elena Zannoni <ezannoni@redhat.com>
16192
16193 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 16194 escaped correctly.
32fabe09 16195
1f8a6abb
EZ
161962004-01-12 Elena Zannoni <ezannoni@redhat.com>
16197
16198 * gdb.base/sepdebug.exp: New file.
16199 * gdb.base/sepdebug.c: New file.
16200 * lib/gdb.exp (separate_debug_filename): New procedure.
16201 (gdb_gnu_strip_debug): New procedure.
16202
48efe704
AC
162032004-01-12 Andrew Cagney <cagney@redhat.com>
16204
16205 * gdb.mi/ChangeLog: Delete file. Renamed to ...
16206 * gdb.mi/ChangeLog-1999-2003: New file.
16207
a9415475
AC
162082004-01-12 Andrew Cagney <cagney@redhat.com>
16209
16210 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
16211 "Renaming a directory to a non-empty directory returns ENOTEMPTY
16212 or EEXIST", treat EBUSY as an XFAIL.
16213
83b8cf9d
MC
162142004-01-11 Michael Chastain <mec.gnu@mindspring.com>
16215
16216 * gdb.base/scope.exp: Remove obsolete setup_xfail for
16217 hp_cc_compiler.
16218
9939d2a8
MC
162192004-01-10 Michael Chastain <mec.gnu@mindspring.com>
16220
16221 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
16222 decorations.
16223
1ff8cadf
MC
162242004-01-10 Michael Chastain <mec.gnu@mindspring.com>
16225
16226 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
16227 and "(aCC)" decorations. Remove obsolete doco about old
16228 test results.
16229
6fa9022e
MC
162302004-01-09 Michael Chastain <mec.gnu@mindspring.com>
16231
16232 * gdb.cp/exception.exp: Fix typo in doco.
16233
209721fe
MK
162342004-01-09 Mark Kettenis <kettenis@gnu.org>
16235
16236 * gdb.base/gdb1476.exp: Fix typo.
16237
ef11303e
MC
162382004-01-09 Michael Chastain <mec.gnu@mindspring.com>
16239
16240 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
16241 file.
16242
041ab88c
MC
162432004-01-09 Michael Chastain <mec.gnu@mindspring.com>
16244
16245 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
16246 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
16247 Use gdb_compile. Remove restriction on gcc. Add some patterns
16248 for recent version of gdb. Delete second half, which was a copy
16249 of the first half with different build flags. This test is
16250 still disabled because it is still not ready for production.
16251
e36d075a
MC
162522004-01-08 Michael Chastain <mec.gnu@mindspring.com>
16253
16254 * gdb.cp/exception.cc: Add copyright notice.
16255 * gdb.cp/exception.exp: Add a notice that this file is broken
16256 because of line number changes caused by addition of copyright
16257 notice.
16258
42b190ad
MC
162592004-01-08 Michael Chastain <mec.gnu@mindspring.com>
16260
16261 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
16262 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
16263
8f25f06b
MC
162642004-01-08 Michael Chastain <mec.gnu@mindspring.com>
16265
16266 * gdb.cp/classes.exp: Accept gnu abi 2.
16267 * gdb.cp/derivation.exp: Likewise.
16268 * gdb.cp/overload.exp: Likewise.
16269 * gdb.cp/virtfunc.exp: Likewise.
16270
06ded8b8
MC
162712004-01-08 Michael Chastain <mec.gnu@mindspring.com>
16272
16273 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
16274 semicolon after end of function.
16275
77c26ae3
MC
162762004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16277
16278 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
16279 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
16280 boilerplate code for compiling and running the program under
16281 test. Add some string method tests.
16282
20757486
MC
162832004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16284
16285 * gdb.cp/bs15503.cc: Add copyright notice.
16286 * gdb.cp/bs15503.exp: Adjust line number.
16287
0fd3b503
MC
162882004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16289
16290 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
16291 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
16292
10d1bea8
MC
162932004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16294
16295 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
16296 hp_cc_compiler.
16297
2789202a
MC
162982004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16299
16300 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
16301 * gdb.cp/ctti.exp: Use the marker instead of "next".
16302 With gcc, run further before bailing.
16303
b862f14c
MC
163042004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16305
16306 * gdb.cp/cttiadd.cc: Add copyright notice.
16307 * gdb.cp/cttiadd1.cc: Likewise.
16308 * gdb.cp/cttiadd2.cc: Likewise.
16309 * gdb.cp/cttiadd3.cc: Likewise.
16310
96da2469
MC
163112004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16312
16313 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
16314 Use gdb_test, gdb_test_multiple. Use floating-point values that
16315 have exact representations in IEEE-ish formats.
16316
053248ff
MC
163172004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16318
16319 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
16320 compilers. Delete duplicate call to get_compiler_info.
16321 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
16322 * gdb.base/volatile.exp: Likewise.
16323
84acecdd
MK
163242004-01-07 Mark Kettenis <kettenis@gnu.org>
16325
16326 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
16327 memory at address 0.
16328
fe11a27f
MC
163292004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16330
16331 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
16332 to test for hp-ux assembler. Fix copyright years.
16333
60ad077b
AC
163342004-01-07 Andrew Cagney <cagney@redhat.com>
16335
16336 * gdb.base/fileio.c (strerrno): Add "EBUSY".
16337
1c9b8f33
AC
163382004-01-07 Andrew Cagney <cagney@redhat.com>
16339
16340 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
16341 when creating the read-only file. From analysis by Roland McGrath
16342 and Elena Zannoni.
16343
753ccc7a
MC
163442004-01-06 Michael Chastain <mec.gnu@mindspring.com>
16345
16346 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
16347
eca3e36b
MC
163482004-01-06 Michael Chastain <mec.gnu@mindspring.com>
16349
16350 * gdb.base/cvexpr.c: Be type-safe with function pointers and
16351 data pointers.
16352
f8d4bac4
MC
163532004-01-06 Michael Chastain <mec.gnu@mindspring.com>
16354
16355 * gdb.cp/m-static.exp: Compile one source file at a time.
16356 Delete unused call to get_compiler_info.
16357
9b4e0f94
MC
163582004-01-06 Michael Chastain <mec.gnu@mindspring.com>
16359
16360 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
16361 * gdb.base/call-rt-st.exp: Likewise.
16362 * gdb.base/nodebug.exp: Likewise.
16363 * gdb.base/volatile.exp: Likewise.
16364 * gdb.cp/ref-types.exp: Likewise.
16365 * gdb.cp/templates.exp: Likewise.
16366
023c1024
MK
163672004-01-05 Mark Kettenis <kettenis@gnu.org>
16368
16369 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
16370
19703c4a
MC
163712004-01-05 Michael Chastain <mec.gnu@mindspring.com>
16372
16373 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
16374 hppa*-hp-hpux*.
16375
18b67037
MK
163762004-01-04 Mark Kettenis <kettenis@gnu.org>
16377
ba6219c8
MK
16378 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
16379 x86_64-*-*.
16380
18b67037
MK
16381 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
16382 sparc64-*-* and sparc*-solaris2*.
16383
1bfbbb9d
MK
163842004-01-04 Mark Kettenis <kettenis@gnu.org>
16385
16386 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
16387 return ${tests}" test. The ${tests} already mentions the
16388 filename.
16389
06846494
MC
163902004-01-02 Michael Chastain <mec.gnu@mindspring.com>
16391
16392 * gdb.cp/local.exp: Accept gcc abi 2.
16393
3b0cb202
MC
163942004-01-02 Michael Chastain <mec.gnu@mindspring.com>
16395
16396 * gdb.cp/templates.exp: Accept gcc abi 2.
16397
0643ec3f
MC
163982004-01-02 Michael Chastain <mec.gnu@mindspring.com>
16399
16400 * lib/compiler.cc: Remove supports_template_debugging.
16401 * gdb.cp/templates.exp: Do not test supports_template_debugging.
16402
d231d0b1
MC
164032004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16404
16405 * gdb.cp/namespace.exp: Accept gcc abi 2.
16406
44ffb27c
MC
164072004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16408
16409 * gdb.cp/method.exp: Accept gcc abi 2.
16410
184ad485
MC
164112004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16412
16413 * gdb.cp/classes.exp: Generate identical results as old version.
16414 * gdb.cp/derivation.exp: Likewise.
16415 * gdb.cp/overload.exp: Likewise.
16416 * gdb.cp/virtfunc.exp: Likewise.
16417
116f09e7
MC
164182004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16419
16420 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
16421 mysterious bug with sourceware version of expect.
16422
b1379776
MC
164232004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16424
16425 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
16426 current versions of gcc, including gcc abi 2. Remove gratuitous
16427 restart of test program. Use gdb_test_multiple and gdb_test for
16428 all tests. Add patterns to xfail missing "const" in "const char *"
16429 and kfail PR gdb/1155.
16430
6b7a4c0e
MC
164312004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16432
16433 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
16434 current versions of gcc, including gcc abi 2. Remove gratuitous
16435 restart of test program. Use gdb_test_multiple and gdb_test for
16436 all tests. Add patterns to kfail PR gdb/1498.
16437
51615d72
MC
164382003-12-31 Michael Chastain <mec.gnu@mindspring.com>
16439
16440 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
16441 current versions of gcc, including gcc abi 2. Use "breakpoint"
16442 and "continue" instead of restarting the target program. Use
16443 gdb_test_multiple and gdb_test for all tests.
16444
7b79a9d7
MK
164452004-01-01 Mark Kettenis <kettenis@gnu.org>
16446
16447 * gdb.asm/asm-source.exp: Update copyright year. Link statically
16448 for *-*-solaris2*.
16449
1cd3489f
MC
164502003-12-31 Michael Chastain <mec.gnu@mindspring.com>
16451
16452 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
16453 current versions of gcc, including gcc abi 2. Use "breakpoint"
16454 and "continue" instead of restarting the target program several
16455 times. Use gdb_test_multiple and gdb_test for all tests.
16456
850742db
MC
164572003-12-18 Michael Chastain <mec.gnu@mindspring.com>
16458
16459 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
16460 source files.
16461
eb4bbda8
MC
164622003-12-16 Michael Chastain <mec.gnu@mindspring.com>
16463
16464 * gdb.base/environ.exp: Handle compiling test case from multiple
16465 source files.
16466
e42c7771
MC
164672003-12-16 Michael Chastain <mec.gnu@mindspring.com>
16468
16469 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
16470
80e4b428
JB
164712003-12-17 Jim Blandy <jimb@redhat.com>
16472
5f06973a
JB
16473 * gdb.base/freebpcmd.c: Add copyright notice.
16474
80e4b428
JB
16475 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
16476
0ab84fb7
MC
164772003-12-16 Michael Chastain <mec.gnu@mindspring.com>
16478
16479 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
16480
1b3bb3d0
JB
164812003-12-13 Jim Blandy <jimb@redhat.com>
16482
16483 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
16484
3a4c9371
KB
164852003-12-12 Kevin Buettner <kevinb@redhat.com>
16486
16487 * gdb.asm/frv.inc: New file.
16488 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
16489
a1dea79a
FF
164902003-12-09 Fred Fish <fnf@redhat.com>
16491
16492 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
16493 functions to break1.c and leave prototypes behind. Add more
16494 "set breakpoint NN here" comments.
16495 * gdb.base/break1.c: New file.
16496
16497 * gdb.base/break.exp: Handle compiling test case from multiple
16498 source files and change source file references as needed.
16499 * gdb.base/completion.exp: Ditto.
16500 * gdb.base/condbreak.exp: Ditto.
16501 * gdb.base/define.exp: Ditto.
16502 * gdb.base/ena-dis-br.exp: Ditto.
16503 * gdb.base/info-proc.exp: Ditto.
16504 * gdb.base/maint.exp: Ditto.
16505 * gdb.base/until.exp: Ditto.
16506
16507 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
16508 hardcoded line numbers.
16509 * gdb.base/define.exp: Ditto.
16510 * gdb.base/ena-dis-br.exp: Ditto.
16511 * gdb.base/maint.exp: Ditto.
16512 * gdb.base/until.exp: Ditto.
16513
16514 * gdb.base/completion.exp: Use "break1" for completion tests since
16515 "break" is no longer a unique prefix.
16516
5266b69c
AC
165172003-12-06 Andrew Cagney <cagney@redhat.com>
16518
16519 * gdb.base/structs.exp (test_struct_returns): When applicable, set
16520 "return_value_unimplemented". When an unimplemented struct return
16521 architecture, report incorrect values as a KFAIL
16522
374451f0
MC
165232003-12-05 Michael Chastain <mec.gnu@mindspring.com>
16524
16525 * gdb.cp/rtti.exp: Accept new wording of warning from
16526 cp_lookup_rtti_type.
16527
ba9b20a7
MC
165282003-12-05 Michael Chastain <mec.gnu@mindspring.com>
16529
16530 Partial fix for PR testsuite/1456.
16531 * gdb.base/scope.exp (test_at_main): Replace references to
16532 gcc_compiled with calls to test_compiler_info.
16533 (test_at_foo): Likewise.
16534 (test_at_bar): Likewise.
16535
b74b6d0b
MC
165362003-12-04 Michael Chastain <mec.gnu@mindspring.com>
16537
16538 Partial fix for PR testsuite/1456.
16539 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
16540 to test_compiler_info.
16541
ccfa3402
MC
165422003-12-03 Michael Chastain <mec.gnu@mindspring.com>
16543
16544 * gdb.base/so-impl-ld.exp: Update copyright notice.
16545
f6246aba
MC
165462003-12-02 Michael Chastain <mec.gnu@mindspring.com>
16547
16548 Partial fix for PR testsuite/1456.
16549 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
16550 to test_compiler_info.
16551
13ae734a
MC
165522003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16553
16554 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
16555 from current versions of gdb. Clean up regular expressions.
16556 Delete redundant timeout case.
16557
d8e1cdee
MC
165582003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16559
16560 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
16561 from current versions of gdb. Clean up regular expressions.
16562 Delete redundant timeout case.
16563
96457b64
MC
165642003-12-01 Michael Chastain <mec.gnu@mindspring.com>
16565
16566 Partial fix for PR testsuite/1456.
16567 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
16568 gcc_compiled with call to test_compiler_info.
16569
f35309fc
MC
165702003-11-30 Michael Chastain <mec.gnu@mindspring.com>
16571
16572 Partial fix for PR testsuite/1456.
16573 * gdb.base/list.exp (test_list_function): Delete unused declaration
16574 of gcc_compiled.
16575
d7afdf9b
MC
165762003-11-29 Michael Chastain <mec.gnu@mindspring.com>
16577
16578 Partial fix for PR testsuite/1456.
16579 * gdb.base/complex.exp: Replace reference to gcc_compiled with
16580 call to test_compiler_info.
16581
71507b56
MK
165822003-11-29 Mark Kettenis <kettenis@gnu.org>
16583
16584 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
16585 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
16586 it to create the appropriate note.inc.
16587 * gdb.asm/asmsrc1.s: Include "note.inc".
16588 * gdb.asm/netbsd.inc: New file.
16589 * gdb.asm/empty.inc: New file.
16590
f81f93f7
MC
165912003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16592
16593 Partial fix for PR testsuite/1456.
16594 * gdb.base/constvars.exp: Replace references to gcc_compiled with
16595 calls to test_compiler_info.
16596
9a77938e
MC
165972003-11-27 Michael Chastain <mec.gnu@mindspring.com>
16598
16599 Partial fix for PR testsuite/1456.
16600 * gdb.base/volatile.exp: Replace references to gcc_compiled with
16601 calls to test_compiler_info.
16602
e8367dc7
MK
166032003-11-27 Mark Kettenis <kettenis@gnu.org>
16604
16605 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
16606 pattern for the KFAILs.
16607
526c61ee
AF
166082003-11-25 Adam Fedor <fedor@gnu.org>
16609
16610 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
16611 * gdb.objc/objcdecode.m: New file.
16612
28f2d600
AF
166132003-11-25 Adam Fedor <fedor@gnu.org>
16614
16615 * gdb.objc/nondebug.exp: Test for PR objc/1236.
16616 * gdb.objc/nondebug.m: New file.
16617
a3895cee
BE
166182003-11-26 Ben Elliston <bje@wasabisystems.com>
16619
16620 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16621 NetBSD as it does on FreeBSD. Modelled on a similar change by
16622 Mark Kettenis on 2003-05-30.
16623 (link-flags): Set to "--entry _start" regardless of target.
16624 Special linker flags are to be appended to $link-flags.
16625 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
16626
c9f2c8a3
MC
166272003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16628
16629 * gdb.cp/method.exp: Accept output of new demangler.
16630
15a0587a 166312003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
16632
16633 * gdb/class2.exp: New file.
16634 * gdb/class2.cc: New file.
16635
3c00b570
MC
166362003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16637
16638 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
16639 of new demangler.
16640
7027acc7
MK
166412003-11-23 Mark Kettenis <kettenis@gnu.org>
16642
16643 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
16644 of gdb_test "run".
16645
b0e1598a
MK
166462003-11-23 Mark Kettenis <kettenis@gnu.org>
16647
16648 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
16649 "continue" into "run".
16650
4d9eda44
MC
166512003-11-23 Michael Chastain <mec.gnu@mindspring.com>
16652
16653 Partial fix for PR testsuite/1456.
16654 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
16655 call to test_compiler_info.
16656 * gdb.cp/ctti.exp: Likewise.
16657 * gdb.cp/derivation.exp: Likewise.
16658 * gdb.cp/member-ptr.exp: Likewise.
16659 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
16660 reference to gcc_compiled.
16661
166622003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
16663
16664 Fix PR testsuite/1463.
16665 * gdb.base/structs.exp (start_structs_test): Call
16666 get_debug_format before using the debug format.
16667
d422fe19
AC
166682003-11-22 Andrew Cagney <cagney@redhat.com>
16669
16670 * lib/gdb.exp (gdb_test_multiple): Add simple example.
16671 * gdb.base/structs.exp: Use gdb_test_multiple.
16672
039cf96d
AC
166732003-11-20 Andrew Cagney <cagney@redhat.com>
16674
6882279b
AC
16675 * gdb.base/structs.exp: Handle and recover from internal errors.
16676 Replace "foo${n}" with "foo<n>" in test messages.
16677
e53890ae
AC
16678 * gdb.base/structs.exp: Update copyright. Rewrite.
16679 * gdb.base/structs.c: Update copyright. Rewrite.
16680
2b211c59
AC
16681 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
16682 resync count exceeded.
d63a86f8 16683
039cf96d
AC
16684 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
16685 from the internal error.
16686 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
16687 Original from Jim Blandy.
16688 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 16689
eac98b22
AC
166902003-11-19 Andrew Cagney <cagney@redhat.com>
16691
16692 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
16693 KFAIL.
16694
67455b2a
MK
166952003-11-17 Mark Kettenis <kettenis@gnu.org>
16696
16697 New testcase for PR backtrace/1435.
16698 * gdb.arch/i386-unwind.exp: New file.
16699 * gdb.arch/i386-unwind.c: New file.
16700
853d6e5b
AC
167012003-11-17 Andrew Cagney <cagney@redhat.com>
16702
16703 * lib/gdb.exp (compiler_info): New global.
16704 (test_compiler_info): New function.
16705 (get_compiler_info): Set compiler_info.
16706 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
16707 "compiler_info" to gcc-<major>-<minor>.
16708
38cf6e11
MC
167092003-11-15 Michael Chastain <mec.gnu@mindspring.com>
16710
16711 * gdb.trace/configure: Remove.
16712
a50d3602
EZ
167132003-11-13 Elena Zannoni <ezannoni@redhat.com>
16714
16715 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 16716 breakpoints.
a50d3602
EZ
16717 * gdb.base/break.exp: Remove all references to explicit line
16718 numbers.
16719
d9407aaa
NC
167202003-11-11 Nick Clifton <nickc@redhat.com>
16721
16722 * gdb.base/shreloc.exp: Do not run for targets which do not
16723 support shared objects.
16724
db488fc1
CV
167252003-11-10 Corinna Vinschen <vinschen@redhat.com>
16726
16727 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
16728 Don't run tests if nofileio flag is given.
16729
6a90a18e
EZ
167302003-11-07 Elena Zannoni <ezannoni@redhat.com>
16731
16732 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 16733 as well as 'Watchpoint'.
6a90a18e 16734
0b915e9c
EZ
167352003-11-06 Elena Zannoni <ezannoni@redhat.com>
16736
16737 Reported by Jim Ingham <jingham@apple.com>:
16738 * gdb.base/annota1.exp: Match at least one occurrence of the
16739 signal handler annotation.
16740
d7e4b55f
EZ
167412003-11-06 Elena Zannoni <ezannoni@redhat.com>
16742
a9c64011
AS
16743 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
16744 as well as 'Watchpoint'.
d7e4b55f 16745
2fe4e8d0
MC
167462003-11-05 Michael Chastain <mec@shout.net>
16747
16748 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
16749
6ef88553
KW
167502003-11-03 Kris Warkentin <kewarken@qnx.com>
16751
16752 * gdb.arch/gdb1291.c: New test file.
16753 * gdb.arch/gdb1291.exp: New test script.
16754 * gdb.arch/gdb1431.c: New test file.
16755 * gdb.arch/gdb1431.exp: New test script.
16756
ae7dc4d8
MC
167572003-10-22 Michael Chastain <mec@shout.net>
16758
16759 * gdb.mi/pthreads.c: Add copyright notice.
16760
c39d7427
MC
167612003-10-22 Michael Chastain <mec@shout.net>
16762
16763 * gdb.threads/pthreads.c: Add copyright notice.
16764
8b7d96c1
MC
167652003-10-20 Michael Chastain <mec@shout.net>
16766
16767 * gdb.base/gdb1056.exp: New test script.
16768
d1d69fdd
DJ
167692003-10-13 Daniel Jacobowitz <drow@mvista.com>
16770
16771 * gdb.threads/killed.exp: Use gdb_run_cmd.
16772
7d605576
DJ
167732003-10-13 Daniel Jacobowitz <drow@mvista.com>
16774
16775 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
16776 create a core file.
16777 * gdb.threads/gcore-thread.exp: Likewise.
16778
618ec112
CV
167792003-10-13 Corinna Vinschen <vinschen@redhat.com>
16780
16781 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
16782 type, based on char type.
16783 (struct bit_flags_short_t): New bitfield type, based on short type.
16784 (init_bit_flags_char): New fuction.
16785 (init_bit_flags_short): Ditto.
16786 (print_bit_flags_char): Ditto.
16787 (print_bit_flags_short): Ditto.
16788 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
16789
9367a73c
MC
167902003-10-11 Michael Chastain <mec@shout.net>
16791
16792 * gdb.base/call-rt-st.exp: Update copyright year.
16793
1decf120
KI
167942003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
16795
16796 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
16797 * gdb.disasm/sh3.s: Ditto.
16798
5445b2ae
DJ
167992003-10-07 Daniel Jacobowitz <drow@mvista.com>
16800
16801 * gdb.threads/switch-threads.exp: New test.
16802 * gdb.threads/switch-threads.c: New source file.
16803
aec24853
CV
168042003-10-07 Corinna Vinschen <vinschen@redhat.com>
16805
16806 * gdb.base/ending-run.exp: Add sh specific case.
16807
adc7428d
AC
168082003-10-06 Andrew Cagney <cagney@redhat.com>
16809
16810 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
16811 * gdb.disasm/mn10200.exp: Delete obsolete file.
16812
c9d37158
DJ
168132003-09-29 Daniel Jacobowitz <drow@mvista.com>
16814
16815 * ChangeLog: Correct an entry command.exp -> commands.exp.
16816 * gdb.base/commands.exp (bp_deleted_in_command_test)
16817 (temporary_breakpoint_commands): Check noargs.
16818
79c2c32d
DC
168192003-09-25 David Carlton <carlton@kealia.com>
16820
16821 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
16822 of some print tests, where appropriate. Add tests for C::D::cd,
16823 E::ce, F::cXfX, G::XgX.
16824 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
16825
594e6d67
RE
168262003-09-25 Richard Earnshaw <rearnsha@arm.com>
16827
16828 * lib/java.exp (java_init): Import target_alias before using it.
16829
10f0d451
DC
168302003-09-25 David Carlton <carlton@kealia.com>
16831
16832 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
16833
274bcba0
EZ
168342003-09-23 Elena Zannoni <ezannoni@redhat.com>
16835
d63a86f8 16836 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 16837 weirdness.
274bcba0 16838
cdbf20f7
MC
168392003-09-17 Michael Chastain <mec@shout.net>
16840
16841 * gdb.cp/gdb1355.exp: New file.
16842 * gdb.cp/gdb1355.c: New file.
16843
71e06f80
CV
168442003-09-15 Corinna Vinschen <vinschen@redhat.com>
16845
16846 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
16847 * gdb.asm/sh.inc: New file.
16848
5c4e30ca
DC
168492003-09-11 David Carlton <carlton@kealia.com>
16850
bd45b7af
DC
16851 * gdb.cp/namespace.exp: Add tests for namespace types.
16852 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
16853 (test_namespace): New.
16854
1c199746
EZ
168552003-09-11 Elena Zannoni <ezannoni@redhat.com>
16856
a9c64011 16857 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 16858 * gdb.stabs/weird.exp: Ditto.
1c199746 16859
04ed252f
MC
168602003-09-08 Michael Chastain <mec@shout.net>
16861
16862 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
16863
d8a2d9e7
MC
168642003-09-07 Michael Chastain <mec@shout.net>
16865
16866 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
16867 'parse error'.
16868
161afb24
MK
168692003-09-07 Mark Kettenis <m.kettenis@osp.nl>
16870
16871 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
16872
49f2741a
MC
168732003-08-30 Michael Chastain <mec@shout.net>
16874
16875 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
16876 * gdb.gdb/observer.exp: Ditto.
16877 * gdb.gdb/xfullpath.exp: Ditto.
16878
8afa723e
MK
168792003-08-29 Mark Kettenis <kettenis@gnu.org>
16880
16881 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
16882 *-*-*bsd*.
16883
f31dfe3b
JJ
168842003-08-28 Jeff Johnston <jjohnstn@redhat.com>
16885
16886 * gdb.base/dump.exp: Skip for ia64.
16887
4630e498
JJ
168882003-08-25 Jeff Johnston <jjohnstn@redhat.com>
16889
16890 * gdb.asm/asm-source.exp: Add ia64 support.
16891 * gdb.asm/ia64.inc: New file.
16892
1105b7ef
MC
168932003-08-22 Michael Chastain <mec@shout.net>
16894
16895 * gdb.cp: New directory.
16896 * gdb.cp/*: Copy from gdb.c++/*.
16897 * gdb.c++/*: Remove.
16898 * Makefile.in: Change gdb.c++ to gdb.cp.
16899 * configure.in: Ditto.
16900 * configure: Regnerate.
16901
c945b932
MK
169022003-08-18 Mark Kettenis <kettenis@gnu.org>
16903
16904 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
16905 * gdb.arch/i386-prologue.c (gdb1338): Add function.
16906
2b66634b
DJ
169072003-08-17 Daniel Jacobowitz <drow@mvista.com>
16908
16909 * mi-var-display.exp (-var-list-children weird): Accept function
16910 pointers with argument types.
16911 * mi1-var-display.exp (-var-list-children weird): Likewise.
16912 * mi2-var-display.exp (-var-list-children weird): Likewise.
16913
a356f73b
DJ
169142003-08-17 Daniel Jacobowitz <drow@mvista.com>
16915
16916 * gdb.base/annota3.exp: Add missing newline.
16917
483417b8
MC
169182003-08-06 Michael Chastain <mec@shout.net>
16919
16920 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
16921
c99c59c3
MS
169222003-08-12 Michael Snyder <msnyder@redhat.com>
16923
16924 * gdb.base/float.exp: Add test for SH.
16925
55ed7501
MK
169262003-08-10 Mark Kettenis <kettenis@gnu.org>
16927
16928 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
16929
1a371f2e
EZ
169302003-08-07 Elena Zannoni <ezannoni@redhat.com>
16931
16932 * gdb.base/completion.exp: Remove reduntant completion test
16933 on filename.
16934
e0f353ce
EZ
169352003-08-07 Elena Zannoni <ezannoni@redhat.com>
16936
a9c64011
AS
16937 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
16938 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
16939 gdb.trace/save-trace.exp: Make sure that full pathnames are
16940 escaped correctly.
e0f353ce 16941
5710a1af 169422003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 16943
a9c64011
AS
16944 * configure.in: Don't generate config.h from config.hin.
16945 * configure: Regenerate.
16946 * config.hin: Remove file.
16947 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
16948 * gdb.threads/pthreads.c: Ditto.
5710a1af 16949
dcd81ce9
DJ
169502003-08-07 Daniel Jacobowitz <drow@mvista.com>
16951
16952 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16953 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
16954 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
16955 Replace ld24 with seth/add3.
16956
6009d884
AC
169572003-08-02 Andrew Cagney <cagney@redhat.com>
16958
16959 * gdb.base/annota3.exp: New file.
16960 * gdb.base/annota3.c: New file.
16961 * gdb.c++/annota3.exp: New file.
16962 * gdb.c++/annota3.cc: New file.
16963
51514e06
MC
169642003-07-29 Michael Chastain <mec@shout.net>
16965
16966 * gdb.threads/tls.c (spin): Check errno only if sem_wait
16967 actually failed.
16968 (do_pass): Likewise.
16969 * gdb.threads/tls.exp: Always initialize no_of_threads.
16970
4ee6625b
DJ
169712003-07-27 Daniel Jacobowitz <drow@mvista.com>
16972
16973 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
16974 pattern.
16975 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
16976 * gdb.threads/tls.exp: Recognize one case of the host library not
16977 supporting TLS.
16978
225f2bf6
AC
169792003-07-27 Andrew Cagney <cagney@redhat.com>
16980
16981 * gdb.base/fileio.exp: Use SH when running commands using
16982 remote_exec.
16983
bcb27c9f
DJ
169842003-07-24 Daniel Jacobowitz <drow@mvista.com>
16985
16986 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16987 * gdb.base/relocate.c (dummy): New padding array.
16988
3d67be83
MS
169892003-07-22 Michael Snyder <msnyder@redhat.com>
16990
d63a86f8 16991 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
16992
16993 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
16994 patterns to be more general, accepting old and new output.
16995 Some output chars (such as '+') also must be quoted.
d63a86f8 16996 Some addresses are displayed numerically instead of
3d67be83
MS
16997 symbolically.
16998
57ba3b85
MS
169992003-07-23 Michael Snyder <msnyder@redhat.com>
17000
686d097c
MS
17001 * gdb.base/return2.exp: Don't test long-long return.
17002
57ba3b85
MS
17003 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
17004 * gdb.disasm/t01_mov.exp: Ditto.
17005 * gdb.disasm/t02_mova.s: Ditto.
17006 * gdb.disasm/t02_mova.exp: Ditto.
17007 * gdb.disasm/t03_add.s: Ditto.
17008 * gdb.disasm/t03_add.exp: Ditto.
17009 * gdb.disasm/t04_sub.s: Ditto.
17010 * gdb.disasm/t04_sub.exp: Ditto.
17011 * gdb.disasm/t05_cmp.s: Ditto.
17012 * gdb.disasm/t05_cmp.exp: Ditto.
17013 * gdb.disasm/t06_ari2.s: Ditto.
17014 * gdb.disasm/t06_ari2.exp: Ditto.
17015 * gdb.disasm/t07_ari3.s: Ditto.
17016 * gdb.disasm/t07_ari3.exp: Ditto.
17017 * gdb.disasm/t08_or.s: Ditto.
17018 * gdb.disasm/t08_or.exp: Ditto.
17019 * gdb.disasm/t09_xor.s: Ditto.
17020 * gdb.disasm/t09_xor.exp: Ditto.
17021 * gdb.disasm/t10_and.s: Ditto.
17022 * gdb.disasm/t10_and.exp: Ditto.
17023 * gdb.disasm/t11_logs.s: Ditto.
17024 * gdb.disasm/t11_logs.exp: Ditto.
17025 * gdb.disasm/t12_bit.s: Ditto.
17026 * gdb.disasm/t12_bit.exp: Ditto.
17027 * gdb.disasm/t13_otr.s: Ditto.
17028 * gdb.disasm/t13_otr.exp: Ditto.
17029
e00759ef
EZ
170302003-07-22 Elena Zannoni <ezannoni@redhat.com>
17031
17032 * gdb.threads/tls.exp :Add kfail for 'info address' case.
17033
8bc2021f
EZ
170342003-07-22 Elena Zannoni <ezannoni@redhat.com>
17035
a9c64011
AS
17036 * gdb.threads/tls.c : New file.
17037 * gdb.threads/tls.exp : New file.
17038 * gdb.threads/tls-main.c : New file.
17039 * gdb.threads/tls-shared.c : New file.
17040 * gdb.threads/tls-shared.exp : New file.
8bc2021f 17041
89320c4c
AS
170422003-07-22 Andreas Schwab <schwab@suse.de>
17043
17044 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
17045
180dea7c
AS
170462003-07-20 Andreas Schwab <schwab@suse.de>
17047
17048 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
17049 due to insn reordering.
17050
0714963c
AC
170512003-07-15 Andrew Cagney <cagney@redhat.com>
17052
17053 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
17054
98a23b3f
MC
170552003-07-15 Michael Chastain <mec@shout.net>
17056
17057 * gdb.base/gdb1250.exp: New file.
17058 * gdb.base/gdb1250.c: New file.
17059
27e417a2
ML
170602003-07-09 Michal Ludvig <mludvig@suse.cz>
17061
17062 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
17063 expansion of size_t to 'unsigned long', not only to 'unsigned'.
17064
8bc2021f
EZ
170652003-07-09 Elena Zannoni <ezannoni@redhat.com>
17066
a9c64011
AS
17067 * gdb.threads/tls.c: New file.
17068 * gdb.threads/tls.exp: New file.
17069 * gdb.threads/tls-main.c: New file.
17070 * gdb.threads/tls-shared.c: New file.
17071 * gdb.threads/tls-shared.exp: New file.
8bc2021f 17072
d99968dc
EZ
170732003-07-09 Elena Zannoni <ezannoni@redhat.com>
17074
17075 * gdb.base/annota1.exp: Make sure that we properly escape the
17076 full path of the source file. Xfail more permissive patterns,
d63a86f8 17077 due to a compiler debug info problem.
d99968dc 17078
83876b3b
AS
170792003-07-07 Andreas Schwab <schwab@suse.de>
17080
2705e972
AS
17081 * gdb.asm/m68k.inc: New file.
17082 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
17083
83876b3b
AS
17084 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
17085 arguments"): Also match negative number.
17086
17087 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
17088
3a871b37
DJ
170892003-07-03 Daniel Jacobowitz <drow@mvista.com>
17090
17091 * gdb.base/store.c (charest): New typedef.
17092 (add_char): Rename to add_charest, update.
17093 (wack_char): Rename to wack_charest, update types. Return l + r
17094 to keep r live across the call.
17095 (wack_short, wack_int, wack_long, wack_longest, wack_float)
17096 (wack_double, wack_doublest): Return l + r to keep r live across
17097 the call.
17098 * gdb.base/store.exp: Accomodate store.c changes.
17099
b2a7f303
DC
171002003-06-30 David Carlton <carlton@kealia.com>
17101
17102 * gdb.c++/maint.exp (test_invalid_name): New.
17103 (test_first_component): Add tests for invalid names.
17104
3c6cb4a1
MC
171052003-06-29 Michael Chastain <mec@shout.net>
17106
17107 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
17108 output of '<VTT for class>' for virtual base classes.
17109
f1c2644b
DJ
171102003-06-29 Daniel Jacobowitz <drow@mvista.com>
17111
17112 * gdb.base/completion.exp: Tab-complete "complet" instead of
17113 "compl".
17114 * gdb.base/complex.exp, gdb.base/complex.c: New files.
17115
18080350
DJ
171162003-06-29 Daniel Jacobowitz <drow@mvista.com>
17117
17118 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
17119 * gdb.base/volatile.exp: Likewise.
17120
f56973f8
DJ
171212003-06-29 Daniel Jacobowitz <drow@mvista.com>
17122
17123 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
17124 gdb/1265.
17125
171262003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
17127 Daniel Jacobowitz <drow@mvista.com>
17128
17129 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
17130 initial line count of 'captured_main' from 26 to 32.
17131 (test_with_self): Allow xmalloc call to be interleaved with the
17132 preceding two lines.
17133
e766d4d6
JB
171342003-06-24 Joel Brobecker <brobecker@gnat.com>
17135
17136 * gdb.base/bang.exp: New testcase.
17137
f125c9a4
JB
171382003-06-23 Joel Brobecker <brobecker@gnat.com>
17139
17140 * gdb.base/langs.exp: Add some tests for the "minimal" language
17141 support.
17142
6e25beaf
EZ
171432003-06-23 Elena Zannoni <ezannoni@redhat.com>
17144
17145 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
17146 the testcase.
17147
2f816dda
DJ
171482003-06-22 Daniel Jacobowitz <drow@mvista.com>
17149
17150 * gdb.base/relocate.exp: Test add-symbol-file with a variable
17151 offset.
17152
db5a5748
DJ
171532003-06-22 Daniel Jacobowitz <drow@mvista.com>
17154
17155 * gdb.c++/pr-1210.cc: New file.
17156 * gdb.c++/pr-1210.exp: New file.
17157
1df0c130
DJ
171582003-06-21 Daniel Jacobowitz <drow@mvista.com>
17159
17160 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
17161 000-exec-continue.
17162
a92feac0
MK
171632003-06-15 Mark Kettenis <kettenis@gnu.org>
17164
17165 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
17166 on *-*-*bsd* instead of *-*-freebsd*.
17167
81a58f5b
AC
171682003-06-14 Andrew Cagney <cagney@redhat.com>
17169
17170 * gdb.base/store.exp: Test longest and doublest. Test all
17171 parameters. Weaken return statement match.
17172 * gdb.base/store.c: Add longest and doublest - aka long long and
17173 long double functions. Put all parameters into local register
17174 variables. Use negative values.
17175
b257a0d3
AC
171762003-06-14 Andrew Cagney <cagney@redhat.com>
17177
17178 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
17179 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
17180 exit status.
17181 * gdb.base/fileio.exp: Disable target when nointerrupts and
17182 noinferiorio, instead of limiting it to remote. Use remote_exec
17183 instead of system.
d63a86f8 17184
21c38304
JJ
171852003-06-12 Jeff Johnston <jjohnstn@redhat.com>
17186
17187 * gdb.base/float.exp: Add ia64 support.
17188
1bcdb424
CV
171892003-06-12 Corinna Vinschen <vinschen@redhat.com>
17190
17191 * gdb.base/fileio.exp: Run only on remote targets.
17192
6aeb981f
CV
171932003-06-10 Corinna Vinschen <vinschen@redhat.com>
17194
17195 * gdb.base/fileio.c: New file, testing File-I/O.
17196 * gdb.base/fileio.exp: Ditto.
17197
53df362e
RG
171982003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
17199
17200 * gdb.base/shreloc.exp: New file, check symbol values obtained from
17201 shared objects after relocation at load time (gdb PR/1132).
17202 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 17203 as above, part of the shared object relocation test.
53df362e 17204
ffee1b46
MK
172052003-06-08 Mark Kettenis <kettenis@gnu.org>
17206
b5ca3722
MK
17207 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
17208 fully filled history list.
17209 * gdb.base/gdb_history: New file.
17210
03ed860d
MK
17211 * gdb.base/signals.exp: XFAIL "continue to func1" on
17212 i*86-*-freebsd*.
17213
ffee1b46
MK
17214 * gdb.base/attach.exp: When trying to attach to a nonexistent
17215 process, make it possible to specify the PID based on the target,
17216 and do so for *-*-freebsd*.
17217
d80dbb52
RH
172182003-06-02 Richard Henderson <rth@redhat.com>
17219
17220 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
17221
6dd77b81
RH
172222003-06-02 Richard Henderson <rth@redhat.com>
17223
17224 * gdb.base/selftest.exp: Next over lim_at_start initialization.
17225
f6347e16
RH
172262003-06-02 Richard Henderson <rth@redhat.com>
17227
17228 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
17229
2c161407
DJ
172302003-06-01 Daniel Jacobowitz <drow@mvista.com>
17231
17232 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
17233 of globalvar.
17234
572eb746
MK
172352003-06-01 Mark Kettenis <kettenis@gnu.org>
17236
17237 * gdb.asm/asm-source.exp: Check for memory read errors in
17238 disassembler test on *BSD too.
17239
9e9617a5
RH
172402003-06-01 Richard Henderson <rth@redhat.com>
17241
17242 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
17243 for .frame.
17244 (gdbasm_call): Lose ldgp.
17245 (gdbasm_startup): Add frame information.
17246 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
17247
7b34ad4e
MK
172482003-05-31 Mark Kettenis <kettenis@gnu.org>
17249
17250 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
17251 i?86-*-*.
17252
10059fdf
MK
172532003-05-30 Mark Kettenis <kettenis@gnu.org>
17254
17255 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
17256 FreeBSD.
17257
acf4b816
RH
172582003-05-29 Richard Henderson <rth@redhat.com>
17259
17260 * gdb.asm/alpha.inc: New file.
17261 * gdb.asm/asm-source.exp: Use it.
17262
e9ecd949
JB
172632003-05-29 Jim Blandy <jimb@redhat.com>
17264
17265 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
17266 'core.PID'.
17267
e3e5a4f3
JB
172682003-05-22 Jim Blandy <jimb@redhat.com>
17269
17270 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
17271 backtrace.
d63a86f8 17272
72fe3d25
DC
172732003-05-20 David Carlton <carlton@math.stanford.edu>
17274
17275 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
17276 this time.
17277
58da2eb2
DC
172782003-05-19 David Carlton <carlton@bactrian.org>
17279
17280 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
17281 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
17282
1fcb5155
DC
172832003-05-19 David Carlton <carlton@bactrian.org>
17284
17285 * gdb.c++/namespace.exp: Add namespace scope and anonymous
17286 namespace tests.
17287 Bump copyright date.
17288 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
17289 (main): Call C::D::marker2.
17290 * gdb.c++/namespace1.cc: New file.
17291
85e85163
JJ
172922003-05-14 Jeff Johnston <jjohnstn@redhat.com>
17293
17294 Roland McGrath <roland@redhat.com>
d63a86f8 17295 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
17296 there is no manager thread.
17297
a25fbfec
JJ
172982003-05-08 Jeff Johnston <jjohnstn@redhat.com>
17299
d63a86f8
RM
17300 * gdb.threads/schedlock.exp: Remove assumption that all threads
17301 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
17302 in one of the child threads rather than the main thread.
17303
be375bae
JB
173042003-05-07 Jim Blandy <jimb@redhat.com>
17305
09bf6082
JB
17306 Add support for assembly source testing on the s390x.
17307 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
17308 architecture.
17309 * gdb.asm/s390x.inc: New file.
17310
be375bae
JB
17311 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
17312 succession of 'if' statements.
17313
00905d52
AC
173142003-05-05 Andrew Cagney <cagney@redhat.com>
17315
17316 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
17317
b1e29e33
AC
173182003-05-05 Andrew Cagney <cagney@redhat.com>
17319
17320 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
17321 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
17322
e33d66ec
EZ
173232003-05-02 Elena Zannoni <ezannoni@redhat.com>
17324
17325 * gdb.base/charset.exp: Update based on new behavior of set/show
17326 charset commands.
17327
2b6fd0d8
AC
173282003-05-01 Andrew Cagney <cagney@redhat.com>
17329
17330 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
17331 variable do not give memory errors.
17332
130cacce
AF
173332003-04-30 Adam Fedor <fedor@gnu.org>
17334
17335 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
17336 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
17337 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
17338 gdb.objc/basicclass.m: : New files
17339
17340 * lib/gdb.exp (gdb_compile_objc): New procedure.
17341
bea71854
DJ
173422003-04-27 Daniel Jacobowitz <drow@mvista.com>
17343
17344 * gdb.base/signals.exp: Make backtrace tests more specific.
17345
0f20eeea
DC
173462003-04-23 David Carlton <carlton@bactrian.org>
17347
17348 * gdb.c++/maint.exp (test_first_component): Add tests for
17349 'operator' in more locations.
17350
c8c4d8dc
KB
173512003-04-16 Kevin Buettner <kevinb@redhat.com>
17352
17353 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
17354
3fe60e3c
EZ
173552003-04-16 Elena Zannoni <ezannoni@redhat.com>
17356
17357 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 17358 func marke' instead. Update test name.
3fe60e3c 17359
9219021c
DC
173602003-04-15 David Carlton <carlton@math.stanford.edu>
17361
17362 * gdb.c++/maint.exp: New file.
17363
5dd55bdd
EZ
173642003-04-14 Elena Zannoni <ezannoni@redhat.com>
17365
17366 * gdb.threads/schedlock.c: Change type of thread function argument
17367 to long, to avoid warnings on 64-bit platforms.
17368
00890572
EZ
173692003-04-14 Elena Zannoni <ezannoni@redhat.com>
17370
a9c64011
AS
17371 * gdb.base/attach.exp: Add new message from ptrace in case of
17372 attaching to nonexistent process.
d63a86f8 17373
93201743
JB
173742003-04-11 Jim Blandy <jimb@redhat.com>
17375
17376 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
17377 gdb.c++/userdef.cc: Place comments on the lines to which the
17378 marker function might return.
17379 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
17380 gdb.c++/userdef.exp: Look for those comments to check that we've
17381 returned to the right place, instead of checking line numbers.
17382
2a11c64d
EZ
173832003-04-11 Elena Zannoni <ezannoni@redhat.com>
17384
a9c64011
AS
17385 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
17386 match on sourcefile name, instead of directory name.
2a11c64d 17387
68ab8fc5
EZ
173882003-04-10 Elena Zannoni <ezannoni@redhat.com>
17389
d63a86f8 17390 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
17391 working directory name.
17392
5624293a
JB
173932003-04-09 Jim Blandy <jimb@redhat.com>
17394
17395 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
17396 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
17397 after an inferior function call, report the failure, but allow the
17398 test to continue.
17399
f1f02ee4
SC
174002003-04-05 Stephane Carrez <stcarrez@nerim.fr>
17401
17402 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
17403 with -DPROTOTYPES.
17404
6eb79af0
SC
174052003-04-05 Stephane Carrez <stcarrez@nerim.fr>
17406
17407 * gdb.base/break.exp: Revert last patch.
17408
8dfb4cf0
SC
174092003-04-04 Stephane Carrez <stcarrez@nerim.fr>
17410
17411 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
17412 with -DPROTOTYPES.
17413
ed4c619a
AC
174142003-04-02 Andrew Cagney <cagney@redhat.com>
17415
17416 * gdb.base/callfuncs.exp: Make "print add" messages unique.
17417 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
17418 matching directories by the name breakpoint.
17419 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
17420 Make "continue to marker1" consistent.
17421 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
17422 message consistent.
17423 * lib/gdb.exp: Put "the program is no longer running", and "the
17424 program exited" in parenthesis.
17425 * lib/mi-support.exp: Ditto.
d63a86f8 17426
4e35d5f0 174272003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 17428
4e35d5f0
BR
17429 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
17430
71900fe8
AC
174312003-03-29 Andrew Cagney <cagney@redhat.com>
17432
17433 * gdb.base/sizeof.c (main): Print the value of '\377'.
17434 * gdb.base/sizeof.exp: Check the sign of '\377'.
17435
c0655a16
MC
174362003-03-27 Michael Chastain <mec@shout.net>
17437
17438 * gdb.base/gdb1090.exp: New file.
17439 * gdb.base/gdb1090.cc: New file.
17440
5b2a3989
JB
174412003-03-27 J. Brobecker <brobecker@gnat.com>
17442
17443 * gdb.gdb/observer.exp: New regression test.
17444
79876890
MC
174452003-03-27 Michael Chastain <mec@shout.net>
17446
17447 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
17448 * gdb.base/ptype.exp: Likewise.
17449
6eac95e3
CV
174502003-03-27 Corinna Vinschen <vinschen@redhat.com>
17451
17452 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
17453
e8c71839
MC
174542003-03-26 Michael Chastain <mec@shout.net>
17455
17456 * gdb.base/ptype.exp: Actually use some typedef'd types.
17457
71b10041
SC
174582003-03-21 Stephane Carrez <stcarrez@nerim.fr>
17459
17460 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
17461 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
17462
2512cf80
CV
174632003-03-20 Corinna Vinschen <vinschen@redhat.com>
17464
17465 * gdb.base/default.exp: Fix regular expression.
17466
0d195a4f
CV
174672003-03-20 Corinna Vinschen <vinschen@redhat.com>
17468
17469 * gdb.base/args.exp: Fix regular expression.
17470
8a2dbca8
CV
174712003-03-20 Corinna Vinschen <vinschen@redhat.com>
17472
17473 * gdb.base/help.exp: Allow Win32 child process.
17474
bf028682
CV
174752003-03-20 Corinna Vinschen <vinschen@redhat.com>
17476
17477 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
17478 when stepping out of main().
17479
182dbe85
CV
174802003-03-20 Corinna Vinschen <vinschen@redhat.com>
17481
17482 * gdb.base/default.exp: Check for win32 specific message when calling
17483 "run" without executable.
17484
d67a6ba5
CV
174852003-03-20 Corinna Vinschen <vinschen@redhat.com>
17486
17487 * gdb.base/args.exp: Expect .exe in output.
17488
a955b5bb
CV
174892003-03-20 Corinna Vinschen <vinschen@redhat.com>
17490
17491 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
17492 Cygwin native.
17493
bf6bad4b
AC
174942003-03-17 Andrew Cagney <cagney@redhat.com>
17495
17496 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
17497 vector registes.
17498 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
17499 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
17500
293e9a31
DC
175012003-03-17 David Carlton <carlton@math.stanford.edu>
17502
17503 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
17504 test, for PR breakpoints/38.
17505 Call test_watchpoint_and_breakpoint.
17506 * gdb.base/watchpoint.c (func3): New function.
17507 (main): Call func3.
17508
5330f2db
DC
175092003-03-04 David Carlton <carlton@math.stanford.edu>
17510
17511 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
17512 Garply<Garply<char> >:: garply".
17513 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
17514 with respect to PR c++/1111; note also PR c++/1113.
17515 (test_template_breakpoints): KFAIL "constructor breakpoint" with
17516 respect to PR c++/1062.
17517 KFAIL "destructor breakpoint" with respect to PR c++/1112.
17518
6ece72da
DC
175192003-03-03 David Carlton <carlton@math.stanford.edu>
17520
17521 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
17522 with respect to PR c++/57.
17523 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
17524 c++/826.
17525 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
17526 respect to PR c++/57.
17527
85ca1584
DC
175282003-03-03 David Carlton <carlton@math.stanford.edu>
17529
17530 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
17531 respect to PR c++/33 into FAILs.
17532
98e9c5b8
MC
175332003-03-03 Michael Chastain <mec@shout.net>
17534
7bedbf27
MC
17535 * configure.in: Update copyright years.
17536
175372003-03-03 Michael Chastain <mec@shout.net>
17538
17539 * Makefile.in: Update copyright years.
98e9c5b8 17540
f683e100
DC
175412003-02-28 David Carlton <carlton@math.stanford.edu>
17542
17543 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
17544 print class instead of struct and/or superfluous protection
17545 specifiers, as long as the resulting output is equivalent to the
17546 source code.
17547 Delete FIXME from end of messages on tests that don't need
17548 fixing.
17549
a9e0cf2c
DC
175502003-02-28 David Carlton <carlton@math.stanford.edu>
17551
17552 * gdb.c++/templates.exp (do_tests): Allow const in the two
17553 Foo<volatile char *>::foo tests.
17554
e8d359df
MS
175552003-02-27 Michael Snyder <msnyder@redhat.com>
17556
d63a86f8 17557 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
17558 will be consistant.
17559
0b71dc91
DC
175602003-02-26 David Carlton <carlton@math.stanford.edu>
17561
17562 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
17563 char *>::foo" test with respect to PR c++/33. Create a new test
17564 which is identical to that one except that it doesn't put the
17565 space between the "char" and the "*"; KFAIL it, too.
17566
dd14ab43
DC
175672003-02-26 David Carlton <carlton@math.stanford.edu>
17568
17569 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
17570 template types into either PASSes or KFAILs (corresponding to PR
17571 c++/57). Tweak indentation. Update copyright.
17572
1146c7f1
SC
175732003-02-23 Stephane Carrez <stcarrez@nerim.fr>
17574
17575 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
17576
74641dfb
MC
175772003-02-13 Michael Chastain <mec@shout.net>
17578
17579 * gdb.base/exprs.exp: Remove i960 remnants.
17580 * gdb.base/funcargs.exp: Likewise.
17581 * gdb.base/list.exp: Likewise.
17582 * gdb.base/ptype.exp: Likewise.
17583
559cd2d0
DC
175842003-02-14 David Carlton <carlton@math.stanford.edu>
17585
17586 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
17587 pEe->D::vg()" from XFAIL to KFAIL.
17588
c4f90d87
JM
175892003-02-13 Jason Molenda (jmolenda@apple.com)
17590
17591 * gdb.base/maint.exp: Update maint print statistics regexp to include
17592 new entries.
17593
cbc4d97c
MC
175942003-02-13 Michael Chastain <mec@shout.net>
17595
17596 * gdb.c++/inherit.exp: Remove call to get_debug_format.
17597
40f235b7
MC
175982003-02-12 Michael Chastain <mec@shout.net>
17599
17600 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
17601 * gdb.c++/inherit.exp: Likewise.
17602 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
17603 * gdb.c++/templates.exp: Likewise.
17604 * gdb.c++/virtfunc.exp: Likewise.
17605
c56716b0
JM
176062003-02-06 Jason Molenda (jason-cl@molenda.com)
17607
17608 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
17609 why the code is written that way.
17610
070afcf8
MC
176112003-02-05 Michael Chastain <mec@shout.net>
17612
17613 * gdb.base/dump.exp: Add missing copyright line.
17614
5d0331e5
JM
176152003-02-05 Jason Molenda (jason-cl@molenda.com)
17616
f7ae6d3e 17617 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
17618 at the beginning so the breakpoint doesn't get set on the loop.
17619
92851186
MC
176202003-02-05 Michael Chastain <mec@shout.net>
17621
17622 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
17623 output for configurations with gcc 2.95.3.
17624
cbf1e085
AC
176252003-02-05 Keith Seitz <keiths@redhat.com>
17626 Andrew Cagney <ac131313@redhat.com>
17627
17628 * gdb.mi/mi-cli.exp: New file.
d63a86f8 17629
29518e1e
MC
176302003-02-04 Michael Chastain <mec@shout.net>
17631
17632 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
17633 Call perror and then continue.
17634
5af1d5f3
MC
176352003-02-03 Michael Chastain <mec@shout.net>
17636
17637 * gdb.c++/pr-1023.cc: New file.
17638 * gdb.c++/pr-1023.exp: New file.
17639
6b549786
JB
176402003-02-05 Jim Blandy <jimb@redhat.com>
17641
17642 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
17643 it's local to foobar. Check for it there, and check that it's not
17644 present in main.
17645 * gdb.c++/local.cc (marker2): New function.
17646 (foobar): Call marker1.
17647 (main): Call marker2 instead of marker1.
17648
67f16606
AC
176492003-02-04 Andrew Cagney <ac131313@redhat.com>
17650
17651 * gdb.disasm/mn10200.exp: Obsolete file.
17652 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
17653 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
17654 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
17655
1c5cb38e
DC
176562003-02-04 David Carlton <carlton@math.stanford.edu>
17657
17658 * gdb.c++/overload.exp: Test intToChar(1).
17659 * gdb.c++/overload.cc (intToChar): New.
17660 (main): Call intToChar.
17661
d1fe6965
DC
176622003-02-03 David Carlton <carlton@math.stanford.edu>
17663
17664 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
17665 'might_kfail' arg.
17666 KFAIL some of the continue_to_bp_overloaded calls, according to
17667 PR c++/1025.
17668
9ba61c5d
MC
176692003-02-01 Michael Chastain <mec@shout.net>
17670
17671 * gdb.base/advance.c (marker1): New marker function.
17672 * gdb.base/advance.exp: When the 'advance' command lands on the
17673 return breakpoint, it can legitimately stop on either the
17674 current line or the next line. Accommodate both outcomes.
17675 * gdb.base/until.exp: Likewise.
17676
e7494ffb
AC
176772003-02-02 Andrew Cagney <ac131313@redhat.com>
17678
17679 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
17680 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
17681 now a list, not a tuple.
17682 * gdb.mi/mi-var-display.exp: Ditto.
17683 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 17684
075559bc
AC
176852003-02-01 Andrew Cagney <ac131313@redhat.com>
17686
17687 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
17688 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
17689 stack backtraces.
17690 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 17691
2bd4c7b1
MK
176922003-02-01 Mark Kettenis <kettenis@gnu.org>
17693
17694 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17695 gdb.mi/mi1-pthreads.exp: Return instead of calling
17696 gdb_suppress_entire_file.
17697
eabd8992
MS
176982003-02-01 Mark Salter <msalter@redhat.com>
17699
17700 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
17701
71469e2f
MS
177022003-01-31 Mark Salter <msalter@redhat.com>
17703
17704 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
17705 Support empty arg.
17706
38a94d44
MC
177072003-01-30 Michael Chastain <mec@shout.net>
17708
17709 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
17710 This was a workaround for a UTF-8 bug in readline 4.3. The bug
17711 has been fixed in gdb/readline on 2003-01-09.
17712
19ea9e73
MS
177132003-01-29 Michael Snyder <msnyder@redhat.com>
17714
e8d359df
MS
17715 * gdb.base/maint.exp: Allow for leading underscore in symbol.
17716 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
17717 * gdb.base/args.exp: Skip if target does not support args passing.
17718
2307bd6a
DJ
177192003-01-22 Daniel Jacobowitz <drow@mvista.com>
17720
19ea9e73 17721 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
17722 gdb_test. Accept a list of expect arguments as the third
17723 parameter.
17724 (gdb_test): Use it.
17725
f2dd3617
EZ
177262003-01-20 Elena Zannoni <ezannoni@redhat.com>
17727
17728 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
17729 allow for different test tree configurations. Update some
17730 tescases accordingly.
17731 * gdb.arch/altivec-regs.exp: Ditto.
17732 * gdb.asm/asm-source.exp: Ditto.
17733 * gdb.base/advance.exp: Ditto.
17734 * gdb.base/display.exp: Ditto.
d63a86f8 17735 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
17736 * gdb.base/mips_pro.exp: Ditto.
17737 * gdb.base/overlays.exp: Ditto.
17738 * gdb.base/relocate.exp: Ditto.
17739 * gdb.base/setshow.exp: Ditto.
17740 * gdb.base/step-line.exp: Ditto.
17741 * gdb.base/step-test.exp: Ditto.
17742 * gdb.base/until.exp: Ditto.
17743 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
17744
c71cdefd
DC
177452003-01-17 David Carlton <carlton@math.stanford.edu>
17746
17747 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
17748 corresponding to PR c++/945.
17749 Update copyright.
17750
fdba05d7
DC
177512003-01-17 David Carlton <carlton@math.stanford.edu>
17752
17753 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
17754 corresponding to PR c++/68.
17755
177562003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
17757
17758 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
17759 (test_paddr_hairy_functions): Call print_addr_2_kfail for
17760 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
17761
c362c33a
EZ
177622003-01-15 Elena Zannoni <ezannoni@redhat.com>
17763
0fbc361c
EZ
17764 * gdb.base/break.exp: Fix change of default location, because of
17765 removal of until tests.
17766 * gdb.base/help.exp: Update test for new 'until' help message.
17767 Add test for help on 'advance'.
a9c64011 17768 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 17769
dabf8a35
MK
177702003-01-15 Mark Kettenis <kettenis@gnu.org>
17771
17772 * gdb.base/default.exp: Adapt "info float" test for recent changes
17773 to that command. Add test for "info vector".
17774 * gdb.base/float.exp: New file. Add test for "info float" that
17775 resembles the old test in gdb.base/default.exp.
17776
a1769aca
DC
177772003-01-15 David Carlton <carlton@math.stanford.edu>
17778
17779 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
17780
82025e13
EZ
177812003-01-15 Elena Zannoni <ezannoni@redhat.com>
17782
17783 * gdb.base/break.exp: Move the tests of until command from here...
17784 * gdb.base/until.exp: ... to here. New file. Add other tests.
17785 * gdb.base/advance.c: New file.
17786 * gdb.base/advance.exp: New file.
17787
8f9ab801
EZ
177882003-01-14 Elena Zannoni <ezannoni@redhat.com>
17789
a9c64011
AS
17790 * gdb.base/args.c: New file.
17791 * gdb.base/args.exp: New file.
8f9ab801 17792
9ae66589
DJ
177932003-01-14 Daniel Jacobowitz <drow@mvista.com>
17794
17795 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
17796
8d77e5c3
DJ
177972003-01-14 Daniel Jacobowitz <drow@mvista.com>
17798
17799 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
17800
12d2f0a1
DJ
178012003-01-14 Daniel Jacobowitz <drow@mvista.com>
17802
17803 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
17804 dates.
17805
6ca37014
DJ
178062003-01-13 Daniel Jacobowitz <drow@mvista.com>
17807
17808 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
17809
b0023472
DJ
178102003-01-13 Daniel Jacobowitz <drow@mvista.com>
17811
17812 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
17813 (ptype &*"foo").
17814 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
17815
607fbc54 178162003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
17817
17818 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
17819 * gdb.mi/mi1-console.exp: Likewise.
17820
607fbc54 178212003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
17822
17823 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
17824 * gdb.mi/mi1-console.exp: Likewise.
17825
a1fb14a2
DJ
178262003-01-13 Daniel Jacobowitz <drow@mvista.com>
17827
17828 * gdb.c++/overload.exp: Remove some fixed XFAILs.
17829
c4cf40b7
DJ
178302003-01-09 Daniel Jacobowitz <drow@mvista.com>
17831
17832 * gdb.base/detach.exp: New test.
17833
696d5a5b
DJ
178342003-01-09 Daniel Jacobowitz <drow@mvista.com>
17835
17836 * Makefile.in (ALL_SUBDIRS): New variable.
17837 (subdirs, clean, distclean): Use it.
17838 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
17839 regenerating Makefile, since it is generated from the top level.
17840 * gdb.asm/Makefile.in: Likewise.
17841 * gdb.base/Makefile.in: Likewise.
17842 * gdb.c++/Makefile.in: Likewise.
17843 * gdb.disasm/Makefile.in: Likewise.
17844 * gdb.java/Makefile.in: Likewise.
17845 * gdb.mi/Makefile.in: Likewise.
17846 * gdb.threads/Makefile.in: Likewise.
17847 * gdb.trace/Makefile.in: Likewise.
17848
754533e4
DC
178492003-01-09 David Carlton <carlton@math.stanford.edu>
17850
17851 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
17852 Add copyright year 2003.
17853
d8b3e9ee
MC
178542003-01-06 Michael Chastain <mec@shout.net>
17855
17856 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
17857 When selecting a thread, 'line' and 'file' are optional.
17858 * gdb.mi/mi1-pthreads.exp: Likewise.
17859
8e9e0fe6
AS
178602003-01-06 Andreas Schwab <schwab@suse.de>
17861
17862 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
17863 failures.
17864
b5ab8ff3
DJ
178652003-01-04 Daniel Jacobowitz <drow@mvista.com>
17866
17867 Fix PR gdb/844
17868 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
17869 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
17870
17871 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
17872 instead of calling gdb_suppress_entire_file.
17873 * gdb.threads/print-threads.exp: Likewise.
17874 * gdb.threads/schedlock.exp: Likewise.
17875
17876 * gdb.threads/killed.exp: Return instead of calling
17877 gdb_suppress_entire_file.
17878 * gdb.threads/linux-dp.exp: Likewise.
17879 * gdb.threads/pthreads.exp: Likewise.
17880
1e698235
DJ
178812003-01-04 Daniel Jacobowitz <drow@mvista.com>
17882
17883 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
17884 stabs.
17885 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
17886 * gdb.base/whatis.exp: Always allow (void) after function names.
17887
147ff08c
DJ
178882003-01-04 Daniel Jacobowitz <drow@mvista.com>
17889
17890 * gdb.c++/casts.exp: Correct regexp.
17891
dc62bfc2
MK
178922003-01-04 Mark Kettenis <kettenis@gnu.org>
17893
17894 * configure.in: Call AC_CONFIG_HEADER. Don't call
17895 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
17896 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
17897 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
17898 aforementioned directories in the AC_OUPUT call.
17899 * config.hin: New file.
17900 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17901 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
17902 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
17903 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
17904 pass -I$objdir instead of -I$objdir/$subdir in compilation.
17905 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
17906 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
17907 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
17908 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
17909 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
17910 gdb.threads/configure.in, gdb.threads/configure,
17911 gdb.threads/config.in, gdb.trace/configure.in,
17912 gdb.trace/configure: Removed.
17913
77afa639
MC
179142003-01-03 Michael Chastain <mec@shout.net>
17915
17916 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
17917 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
17918
7634bb6e
DJ
179192003-01-03 Daniel Jacobowitz <drow@mvista.com>
17920
17921 * gdb.base/store.exp: Fix regular expressions.
17922
b39c905e
MK
179232002-12-28 Mark Kettenis <kettenis@gnu.org>
17924
17925 * configure.in: Rewrite.
17926 * configure: Regenerated.
17927
0a8551dd
DC
179282003-01-03 David Carlton <carlton@math.stanford.edu>
17929
17930 * gdb.base/psymtab.exp: New file.
17931 * gdb.base/psymtab1.c: Ditto.
17932 * gdb.base/psymtab2.c: Ditto.
17933
c60b7188
AF
179342002-12-23 Adam Fedor <fedor@gnu.org>
17935
17936 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
17937
ee73db83
DC
179382002-12-23 David Carlton <carlton@math.stanford.edu>
17939
17940 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
17941 and current_directory initialization.
17942
d6c1774e
JB
179432002-12-22 Jim Blandy <jimb@redhat.com>
17944
f0a847b8
JB
17945 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
17946 rather than as part of the output file name.
17947
d6c1774e
JB
17948 * gdb.base/attach.exp: There's no need to copy the test program to
17949 /tmp; that was only ever necessary on HP/UX, and this test is
17950 entirely disabled there anyway.
17951
f0708dbb
JB
179522002-12-21 Jim Blandy <jimb@redhat.com>
17953
4c2acfea
JB
17954 * gdb.c++/psmang.exp: Doc fix.
17955
f0708dbb
JB
17956 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
17957 test.
17958
9579e000
DC
179592002-12-20 David Carlton <carlton@math.stanford.edu>
17960
17961 * gdb.c++/annota2.exp: KFAIL annotate-quit.
17962
d1810171
MC
179632002-12-18 Michael Chastain <mec@shout.net>
17964
17965 * gdb.c++/annota2.exp: Add copyright year 2002.
17966
76565097
DC
179672002-12-17 David Carlton <carlton@math.stanford.edu>
17968
17969 * gdb.c++/try_catch.cc: Add marker comments.
17970 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
17971 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
17972 * gdb.c++/m-static.cc: Ditto.
17973 * gdb.c++/m-static1.cc: Ditto.
17974 * gdb.c++/try_catch.cc: Ditto.
17975
da81390b
JJ
179762002-12-16 Jeff Johnston <jjohnstn@redhat.com>
17977
17978 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
17979 to see whether we are using the new -environment-directory
17980 command which resets via -r or the old version of the command
17981 which may prompt the user. Part of fix for gdb/741.
17982
b304d130
AC
179832002-12-13 Andrew Cagney <ac131313@redhat.com>
17984
17985 * gdb.fortran/types.exp: Update obsolete comment.
17986 * gdb.fortran/exprs.exp: Ditto.
17987 * lib/gdb.exp: Delete obsolete code.
17988 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
17989 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
17990 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
17991 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
17992 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
17993 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
17994 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
17995 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
17996 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
17997 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
17998 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
17999 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
18000 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
18001 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
18002 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
18003 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
18004 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
18005 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
18006 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
18007 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
18008 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
18009 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
18010 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
18011 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
18012 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
18013 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
18014 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
18015 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
18016 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
18017 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
18018 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
18019 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
18020 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
18021 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
18022 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
18023 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
18024 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
18025
a23b6e6a
DC
180262002-12-11 David Carlton <carlton@math.stanford.edu>
18027
18028 * gdb.c++/m-data.exp: Add test for members that shadow global
18029 variables: see PR gdb/804.
18030 * gdb.c++/m-data.cc: Ditto.
18031
6604731b
DJ
180322002-12-10 Daniel Jacobowitz <drow@mvista.com>
18033
18034 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
18035
de46ecd7
DC
180362002-12-06 David Carlton <carlton@math.stanford.edu>
18037
18038 * gdb.base/store.c: Don't declare functions static.
18039
27e829d0
AC
180402002-12-04 Andrew Cagney <ac131313@redhat.com>
18041
18042 * gdb.base/store.exp, gdb.base/store.c: New files.
18043
92806416
DJ
180442002-12-03 Daniel Jacobowitz <drow@mvista.com>
18045
18046 * gdb.base/selftest.exp: Update for current gdb.
18047
3bcbaac5
DJ
180482002-12-03 Daniel Jacobowitz <drow@mvista.com>
18049
18050 * gdb.base/maint.exp: Only dump symbols from one source file
18051 or objfile.
18052
f4f00b1f
DJ
180532002-12-03 Daniel Jacobowitz <drow@mvista.com>
18054
18055 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
18056 function call.
18057
f1c8a949
JB
180582002-11-25 Jim Blandy <jimb@redhat.com>
18059
18060 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
18061 function appearing in error message.
18062
9e297a97
DJ
180632002-11-21 Daniel Jacobowitz <drow@mvista.com>
18064
18065 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
18066
1f312e79
JJ
180672002-11-08 Jeff Johnston <jjohnstn@redhat.com>
18068
d63a86f8
RM
18069 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
18070 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
18071 should be in mi console format. This is part of fix for PR gdb/604.
18072
83c31e7d
FN
180732002-09-18 Fernando Nasser <fnasser@redhat.com>
18074
18075 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
18076 which explicitly prints the zero offset as "+0".
18077
322b3f65
DJ
180782002-10-22 Daniel Jacobowitz <drow@mvista.com>
18079
18080 * gdb.threads/schedlock.c (args): Make unsigned.
18081
180822002-10-21 Daniel Jacobowitz <drow@mvista.com>
18083
18084 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
18085 numbers. Allow "foo2|selected stack frame".
18086 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
18087 * gdb.asm/asmsrc2.s: Likewise.
18088 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
18089 comments.
18090 * gdb.asm/mips.inc: New file.
18091
5e2fe5b8
AF
180922002-10-18 Adam Fedor <fedor@gnu.org>
18093
18094 * gdb.base/default.exp: Update expected output to include 'ObjC'.
18095 * gdb.base/help.exp: Likewise.
18096
abe1a5d0
KB
180972002-10-17 Kevin Buettner <kevinb@redhat.com>
18098
18099 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
18100 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
18101
10abb1d4
JB
181022002-10-02 Jim Blandy <jimb@redhat.com>
18103
18104 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
18105
1f609b42
AC
181062002-10-01 Andrew Cagney <ac131313@redhat.com>
18107
18108 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
18109 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
18110 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
18111 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
18112 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
18113 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
18114 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
18115
0aee02e4
AC
181162002-09-29 Andrew Cagney <ac131313@redhat.com>
18117
18118 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
18119 * mi0-disassemble.exp, mi0-eval.exp: Delete.
18120 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
18121 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
18122 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
18123 * mi0-var-block.exp, mi0-var-child.exp: Delete.
18124 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 18125
6fde09ad
KB
181262002-09-27 Kevin Buettner <kevinb@redhat.com>
18127
18128 * gdb.base/annota1.exp (info break): Make directory components of
18129 path optional since not all compilers emit this debug information.
18130
889bf7c5
PA
18131 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
18132 step ends up stepping out of the function instead of stopping on
18133 the epilogue.
6fde09ad 18134
9e8aab75
KS
181352002-09-26 Keith Seitz <keiths@redhat.com>
18136
18137 * lib/insight-support.exp (gdbtk_start): Figure out where
18138 the insight executable is based on where gdb is. Use this
18139 executable to start insight instead of gdb.
18140
e36180d7
AC
181412002-09-25 Andrew Cagney <cagney@redhat.com>
18142
18143 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
18144
9dd34b2b
AC
181452002-09-24 Andrew Cagney <ac131313@redhat.com>
18146
18147 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
18148 test_isolated_complaints.
18149 (test_empty_complaint): New function.
18150 (test_empty_complaints): New function. Check no output when no
18151 complaints.
d63a86f8 18152
dea97812
KB
181532002-09-19 Jim Blandy <jimb@redhat.com>
18154
a9c64011 18155 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 18156
54951bd7
AC
181572002-09-19 Andrew Cagney <ac131313@redhat.com>
18158
18159 * gdb.gdb/complaints.exp: New file.
18160
dec43320
AC
181612002-09-18 Andrew Cagney <ac131313@redhat.com>
18162
18163 * gdb.base/maint.exp: Check `help maint internal-warning'.
18164
e70d6e3f
DC
181652002-09-18 David Carlton <carlton@math.stanford.edu>
18166
18167 * gdb.c++/m-static.exp: Remove breakpoints depending on line
18168 numbers, and replace them by a single breakpoint after the
18169 constructors are all finished.
18170 Add test 4.
18171 * gdb.c++/m-static.cc: Add test 4.
18172 * gdb.c++/m-static.h: New file.
18173 * gdb.c++/m-static1.cc: New file.
18174
18175 * gdb.c++/printmethod.exp: New file.
18176 * gdb.c++/printmethod.cc: New file.
18177
18178 * gdb.c++/pr-574.exp: New file.
18179 * gdb.c++/pr-574.cc: New file.
18180
afb5c968
CV
181812002-09-18 Corinna Vinschen <vinschen@redhat.com>
18182
18183 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
18184 embedded targets which never actually exit.
18185
31e45dee
FN
181862002-09-18 Fernando Nasser <fnasser@redhat.com>
18187
18188 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
18189 "don't step after run" as unresolved or unsupported, instead of xfail.
18190
a283c5a1
CV
181912002-09-18 Corinna Vinschen <vinschen@redhat.com>
18192
18193 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
18194 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
18195 Add newline to expected string in "step out of main (status wrapper)"
18196 case.
18197
11350d2a
CV
181982002-09-18 Corinna Vinschen <vinschen@redhat.com>
18199
18200 * lib/gdb.exp (rerun_to_main): Allow restarting application.
18201 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
18202
0deec7d6
TT
182032002-09-17 Tom Tromey <tromey@redhat.com>
18204
18205 * gdb.base/printcmds.exp (test_print_string_constants): Expect
18206 \000, not \0, in double-quoted string.
18207
b2b4a1b5
CV
182082002-09-14 Corinna Vinschen <vinschen@redhat.com>
18209
c9d37158 18210 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
18211 string after running the commands execution on breakpoint tests.
18212
1c56143a
CV
182132002-09-13 Corinna Vinschen <vinschen@redhat.com>
18214
18215 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
18216
37f8da45
JB
182172002-09-12 Joel Brobecker <brobecker@gnat.com>
18218
18219 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
18220
08b468e0
KS
182212002-09-10 Keith Seitz <keiths@redhat.com>
18222
18223 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
18224 runto proc.
18225 (mi_run_to_main): Use mi_runto.
18226 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
18227
dc360f58
KS
182282002-09-10 Keith Seitz <keiths@redhat.com>
18229
18230 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
18231 regexp for stopping at main. Could have multiple event notifications.
18232 Don't assume that main was declared with no parameters.
18233 (mi_next): Use mi_step_to.
18234 (mi_step): Use mi_next_to.
18235
ce3abcfb
CV
182362002-09-09 Corinna Vinschen <vinschen@redhat.com>
18237
18238 * gdb.base/default.exp: Fix expected string in `info float' test.
18239
d1f5b980
BE
182402002-09-09 Ben Elliston <bje@redhat.com>
18241
18242 * config/mips.exp: Update comments.
18243 * config/mips-idt.exp: Likewise.
18244 * config/nind.exp: Likewise.
18245 * config/slite.exp: Likewise.
18246 * config/sparclet.exp: Likewise.
18247 * config/udi.exp: Likewise.
18248 * config/vx.exp: Likewise.
18249 * config/vxworks29k.exp: Likewise.
18250
2f71430b
JB
182512002-09-05 Jim Blandy <jimb@redhat.com>
18252
18253 * gdb.threads/killed.exp: Fix test failure message.
18254
7ddebc7e
KS
182552002-09-04 Keith Seitz <keiths@redhat.com>
18256
18257 * lib/mi-support.exp: Update copyright.
18258 (mi_gdb_test): Increase the priority of the expected pattern
18259 so that it matches gdb_test.
18260
0ae67eb3
KS
182612002-09-03 Keith Seitz <keiths@redhat.com>
18262
18263 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
18264 Use integer comparison instead of string comparison for testing
18265 whether binary was built.
18266
38fc42c8
JB
182672002-09-03 Jim Blandy <jimb@redhat.com>
18268
18269 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
18270
b6ff0e81
JB
182712002-08-29 Jim Blandy <jimb@redhat.com>
18272
18273 * gdb.threads/pthreads.exp: Move the portable thread compilation
18274 code into a function in lib/gdb.exp, and call that from here.
18275 * lib/gdb.exp (gdb_compile_pthreads): New function.
18276
07c98896
KS
182772002-08-29 Keith Seitz <keiths@redhat.com>
18278
18279 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
18280 expect_out so that callers can get at it.
18281
0312286c
DJ
182822002-08-23 Daniel Jacobowitz <drow@mvista.com>
18283
18284 * gdb.threads/print-threads.c: New file.
18285 * gdb.threads/print-threads.exp: New file.
18286 * gdb.threads/schedlock.c: New file.
18287 * gdb.threads/schedlock.exp: New file.
18288
dd039bc4
EZ
182892002-08-22 Elena Zannoni <ezannoni@redhat.com>
18290
a9c64011
AS
18291 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
18292 not altivec.c.
dd039bc4 18293
1f36144c
MK
182942002-08-17 Mark Kettenis <kettenis@gnu.org>
18295
18296 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
18297 targets. The problem should be fixed now.
18298
16057ec7 182992002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
18300
18301 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
18302 2002-07-24 change that removes final dots from error messages.
18303
3c1499ad
TT
183042002-08-13 Tom Tromey <tromey@redhat.com>
18305
18306 * gdb.base/readline.exp: New file.
18307
a20ce2c3
AC
183082002-08-01 Andrew Cagney <ac131313@redhat.com>
18309
18310 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
18311 supress message.
18312
db034ac5
AC
183132002-08-01 Andrew Cagney <cagney@redhat.com>
18314
18315 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
18316 CHILL_FOR_TARGET and CHILL_LIB.
18317 * configure.in (configdirs): Remove gdb.chill.
18318 * configure: Regenerate.
18319 * lib/gdb.exp: Obsolete references to chill.
18320 * gdb.fortran/types.exp: Ditto.
18321 * gdb.fortran/exprs.exp: Ditto.
18322
3e000b18
KB
183232002-07-30 Kevin Buettner <kevinb@redhat.com>
18324
18325 * gdb.base/shlib-call.exp (additional_flags): Conditionally
18326 set Irix-specific compile and link flags.
18327
28f4966b
KB
183282002-07-29 Kevin Buettner <kevinb@redhat.com>
18329
18330 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
18331 source files. The ``-o'' option doesn't work with the ``-E'' option
18332 when using the Irix compiler.
18333
46c0d5a6
DJ
183342002-07-19 Daniel Jacobowitz <drow@mvista.com>
18335
18336 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
18337 Improve support for reusing an exec file. Copy exec file
18338 to target, and run gdbserver on the target instead of on the host.
18339
eecf4bed
JB
183402002-07-18 Jim Blandy <jimb@redhat.com>
18341
0f815cdf
JB
18342 * gdb.base/ending-run.exp: Don't expect to see the program end in
18343 some orderly fashion when we're running on a real stand-alone
18344 board.
18345
eecf4bed
JB
18346 * gdb.base/interrupt.exp: Correct logic for skipping tests on
18347 targets that don't support interrupts.
18348
52d309e4
JB
183492002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
18350
18351 * gdb.base/attach.exp: Add patterns to match output from /proc-based
18352 systems.
18353 Move comments in expect statements to inside the actions, so that they
18354 don't get matched against.
18355
ff683d9e
MK
183562002-07-10 Mark Kettenis <kettenis@gnu.org>
18357
18358 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
18359 function when asleep" test.
18360
b5356753
AC
183612002-07-10 Andrew Cagney <ac131313@redhat.com>
18362
18363 * gdb.base/page.exp: Rewrite to handle problems with very long
18364 `info set' output. Update copyright.
18365
6aa4d13a
AC
183662002-06-26 Andrew Cagney <ac131313@redhat.com>
18367
18368 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
18369 gdb.threads-hp.
18370 * gdb.hp/configure: Regenerate.
18371 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
18372 * gdb.hp/gdb.threads-hp/configure: Delete file.
18373 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
18374
8cf8c2b8
AC
183752002-06-22 Andrew Cagney <ac131313@redhat.com>
18376
18377 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
18378 setlocale, bindtextdomain and textdomain.
18379
6827a8f8
JB
183802002-06-11 Jim Blandy <jimb@redhat.com>
18381
919d772c
JB
18382 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
18383 preprocessor macro information is present.
18384
6827a8f8
JB
18385 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
18386 tests.
18387
c15b0d21
MS
183882002-06-06 Michael Snyder <msnyder@redhat.com>
18389
c5984d70
MS
18390 * gdb.base/overlays.exp: Record addresses of overlay
18391 functions in TCL variables rather than in GDB variables,
18392 to avoid having GDB convert them to pointers (with loss
18393 of information).
18394
d63a86f8 18395 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 18396 default linker script changes.
c15b0d21
MS
18397 * gdb.base/long_long.exp: Add check for sizeof (long double).
18398
be26fe0d
ML
183992002-06-06 Michal Ludvig <mludvig@suse.cz>
18400
18401 * gdb.asm/asm-source.exp: Add x86-64 target.
18402 * gdb.asm/x86_64.inc: New.
d63a86f8 18403
258093ca 184042002-05-30 Michael Chastain <mec@shout.net>
258093ca 18405
4b3153f1 18406 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
18407 * gdb.c++/m-static.cc: New file.
18408 * gdb.c++/m-static.exp: New file.
18409
241264c6
MS
184102002-05-28 Michael Snyder <msnyder@redhat.com>
18411
18412 * gdb.base/call-ar-st.exp: Allow for reduced floating point
18413 precision.
18414
9bba8c8f 184152002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 18416
4b3153f1 18417 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
18418 * gdb.c++/m-data.cc: New file.
18419 * gdb.c++/m-data.exp: New file.
18420
184212002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 18422
4b3153f1 18423 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 18424 * gdb.c++/try_catch.cc: New file.
d63a86f8 18425 * gdb.c++/try_catch.exp: New file.
9bba8c8f 18426
def1b996
MC
184272002-05-27 Michael Chastain <mec@shout.net>
18428
18429 * gdb.c++/local.exp: Accept more nested types in output.
18430
522ba268
MC
184312002-05-26 Michael Chastain <mec@shout.net>
18432
18433 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
18434
277254ba
MS
184352002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
18436
18437 * lib/gdb.exp (gdb_wrapper_init): Just because
18438 gdb_wrapper_file exists, this does not mean that the file
18439 should not be rebuilt. That is what gdb_wrapper_initialized
18440 is for.
18441 (default_gdb_init): Reset gdb_wrapper_initialized.
18442
b61a8733
MS
184432002-05-23 Michael Snyder <msnyder@redhat.com>
18444
d63a86f8 18445 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
18446 the precision of the floating point test results.
18447 * gdb.base/call-rt-st.exp: Ditto.
18448
b61a8733
MS
18449 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
18450 * gdb.base/call-rt-st.exp: Ditto.
18451
56f6e910
MC
184522002-05-19 Michael Chastain <mec@shout.net>
18453
18454 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
18455
ad0b0016
EZ
184562002-05-19 Elena Zannoni <ezannoni@redhat.com>
18457
a9c64011
AS
18458 * configure.in (configdirs): Add gdb.arch.
18459 * configure: Regenerate.
ad0b0016 18460
f617d2b6
JB
184612002-05-17 Jim Blandy <jimb@redhat.com>
18462
18463 * gdb.base/completion.exp: Recognize the more detailed error
18464 messages produced by the macro expander's lexical analyzer.
18465
eac2a696
EZ
184662002-05-14 Elena Zannoni <ezannoni@redhat.com>
18467
a9c64011
AS
18468 * gdb.arch/altivec-abi.c: New file.
18469 * gdb.arch/altivec-abi.exp: New file.
18470 * gdb.arch/altivec-regs.c: New file.
18471 * gdb.arch/altivec-regs.exp: New file.
eac2a696 18472
2fdde8f8
DJ
184732002-05-14 Daniel Jacobowitz <drow@mvista.com>
18474
18475 * gdb.base/maint.exp (maint print type): Update for new type
18476 structure.
d63a86f8 18477
e31f1a7c
EZ
184782002-05-14 Elena Zannoni <ezannoni@redhat.com>
18479
18480 * gdb.arch: New directory.
18481 * gdb.arch/configure.in: New file.
18482 * gdb.arch/configure: New file.
18483 * gdb.arch/Makefile.in: New file.
18484
db589741
CV
184852002-05-13 Corinna Vinschen <vinschen@redhat.com>
18486
18487 * gdb.asm/asm-source.exp: Add v850 as supported target.
18488 * gdb.asm/v850.inc: New file.
18489
8ce2a7dc
DJ
184902002-05-13 Daniel Jacobowitz <drow@mvista.com>
18491
18492 * gdb.c++/annota2.exp (annotate-quit): Add comment.
18493
df763c7f
DJ
184942002-05-12 Daniel Jacobowitz <drow@mvista.com>
18495
18496 * gdb.base/break.exp: Check 'break "marker2"'.
18497
377daeed
MS
184982002-05-10 Michael Snyder <msnyder@redhat.com>
18499
18500 * gdb.base/long_long.exp: Fix typo.
18501
c4b7bc2b
JB
185022002-05-10 Jim Blandy <jimb@redhat.com>
18503
ecac9a4e
JB
18504 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
18505 a bug.
18506
c4b7bc2b
JB
18507 * gdb.base/printcmds.exp (test_integer_literals_rejected):
18508 Recognize more detailed error message produced by the macro
18509 expander's lexical analyzer.
18510 * lib/gdb.exp (test_print_reject): Same.
18511
e71019a1
MK
185122002-05-09 Mark Kettenis <kettenis@gnu.org>
18513
18514 * gdb.c++/method.exp: Fix typo.
18515
fedfc8e6
MS
185162002-05-08 Michael Snyder <msnyder@redhat.com>
18517
166a1957
MS
18518 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
18519 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 18520 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
18521 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
18522 Add iftarget clause for strongarm.
d63a86f8 18523
f1c47eb2
MS
185242002-05-06 Michael Snyder <msnyder@redhat.com>
18525
cb9a9d3e
MS
18526 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
18527 (gdb_continue_to_end): Accept output from status wrapper.
18528 * gdb.base/ending-run.exp: Add case for output from status wrapper.
18529 Clean up fail messages to match pass messages.
18530
f1c47eb2
MS
18531 Enable the "needs_status_wrapper" testsuite feature.
18532 * lib/gdb.exp (gdb_wrapper_init): New procedure.
18533 (gdb_compile): Conditionally call gdb_wrapper_init.
18534 * gdb.base/a2-run.exp: Recognize output from status wrapper.
18535 * gdb.c++/method.exp: Recognize output from status wrapper.
18536
6079c749
BE
185372002-05-06 Ben Elliston <bje@redhat.com>
18538From Graydon Hoare <graydon@redhat.com>
18539
18540 * config/sid.exp: Include support for "rawsid" protocol.
18541
188baff3
JB
185422002-05-03 Jim Blandy <jimb@redhat.com>
18543
18544 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
18545 * gdb.c++/hang3.C: New file.
18546
b9c07f0f
AC
185472002-05-04 Andrew Cagney <ac131313@redhat.com>
18548
18549 * gdb.base/default.exp: Remove obsolete code.
18550 * gdb.c++/misc.exp: Ditto. Update copyright.
18551 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
18552 * gdb.base/whatis.exp: Ditto. Update copyright.
18553 * gdb.base/scope.exp: Ditto. Update copyright.
18554 * gdb.base/ptype.exp: Ditto. Update copyright.
18555 * gdb.base/printcmds.exp: Ditto. Update copyright.
18556 * gdb.base/opaque.exp: Ditto. Update copyright.
18557 * gdb.base/list.exp: Ditto.
18558 * gdb.base/funcargs.exp: Ditto. Update copyright.
18559 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
18560 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
18561 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
18562 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
18563 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
18564 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
18565
5c7a0397
MS
185662002-05-02 Michael Snyder <msnyder@redhat.com>
18567
d6dcc264 18568 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
18569 * gdb.base/long_long.exp: Add xscale target.
18570 * gdb.base/default.exp: Add xscale target.
18571
eb7f1c48
JB
185722002-05-01 Jim Blandy <jimb@redhat.com>
18573
18574 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
18575 gdb.c++/hang.exp: New test.
18576
a6befae8
FF
185772002-05-01 Fred Fish <fnf@redhat.com>
18578
18579 * gdb.base/completion.exp: Handle completions of "./Make" for
18580 more than one completion possibility, as is the case when we
18581 build and test in the source tree.
18582
0a310277
AG
185832002-04-29 Anthony Green <green@redhat.com>
18584
18585 * gdb.java/jmisc1.exp: New file.
18586 * gdb.java/jmisc2.exp: New file.
18587
6ff9af88
DJ
185882002-04-24 Daniel Jacobowitz <drow@mvista.com>
18589
18590 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
18591
96b3d632
EZ
185922002-04-23 Elena Zannoni <ezannoni@redhat.com>
18593
18594 * gdb.base/help.exp: Change 'help status' to allow for target
18595 dependent output differences.
18596
5019bb54
MC
185972002-04-22 Michael Chastain <mec@shout.net>
18598
18599 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
18600
a805a116
MC
186012002-04-22 Michael Chastain <mec@shout.net>
18602
18603 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
18604
a1706bfd
DM
186052002-04-17 David S. Miller <davem@redhat.com>
18606
18607 * gdb.asm/sparc64.inc: New file.
18608 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
18609
a73a20a2
EZ
186102002-04-19 Elena Zannoni <ezannoni@redhat.com>
18611
18612 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
18613 instruction file directly into the build tree. Clean up at end of
18614 test.
18615
ba678339
DM
186162002-04-18 David S. Miller <davem@redhat.com>
18617
18618 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
18619 handle 64-bit platforms correctly.
18620 * gdb.base/maint.exp: Likewise.
18621
b03399da
KB
186222002-04-18 Kevin Buettner <kevinb@redhat.com>
18623
18624 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
18625 ``-fpic'' when compiling files comprising a shared library, but
18626 it does need additional linker flags in order to find shared
18627 libraries at run time.
18628
e2004992
KB
186292002-04-18 Kevin Buettner <kevinb@redhat.com>
18630
18631 * gdb.base/cvexpr.c (use): New function.
18632 (main): Invoke use() on all global variables to prevent
18633 some linkers from deleting these otherwise unused symbols.
18634
d8937120
MC
186352002-04-17 Michael Chastain <mec@shout.net>
18636From David S. Miller <davem@redhat.com>
18637
18638 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
18639 handle 64-bit platforms correctly.
18640
ffd61a58
MS
186412002-04-12 Michael Snyder <msnyder@redhat.com>
18642From Jim Blandy <jimb@redhat.com>
a9c64011 18643 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
18644 script can handle this instead.
18645 * gdb.base/bar.c (barx): Same.
18646 * gdb.base/baz.c (bazx): Same.
18647 * gdb.base/grbx.c (grbxx): Same.
18648
18649 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
18650 manager doesn't automatically unmap overlays unnecessarily.
18651
6b8426a6
MH
186522002-04-10 Martin M. Hunt <hunt@redhat.com>
18653
18654 * gdb.base/ending-run.exp: Fix pattern for Mips targets
18655 stepping out of main.
18656
34af4875
MC
186572002-04-09 Michael Chastain <mec@shout.net>
18658
18659 * gdb.c++/local.cc (main): Move call to marker1() inside nested
18660 scope so that the nested scope tests will make sense.
18661 * gdb.c++/local.exp: Write patterns that actually work with gcc
18662 (the HP patterns "were never known to work with gcc").
18663 Keep the old aCC patterns too.
18664
2d1676a0
DJ
186652002-04-09 Daniel Jacobowitz <drow@mvista.com>
18666
18667 * gdb.base/attach.exp: Correct target board test.
18668
3a63e3f9
MC
186692002-04-08 Michael Chastain <mec@shout.net>
18670
18671 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
18672 in a const method. Add some xfail and fail cases for configurations
18673 that do not emit the "const ...".
18674
f18dabd2
MC
186752002-04-07 Michael Chastain <mec@shout.net>
18676
18677 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
18678 Accept "A * const" and "const A * const" as type of "this".
18679 Fix spelling of getFunky throughout. Make messages uniform.
18680
0fcddd82
EZ
186812002-04-07 Elena Zannoni <ezannoni@redhat.com>
18682
a9c64011 18683 Work around for PR gdb/285:
0fcddd82
EZ
18684 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
18685
16a8534a
EZ
186862002-04-07 Elena Zannoni <ezannoni@redhat.com>
18687
18688 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
18689 instructions file at run time instead of configure time.
18690 Sometimes we run the test in a directory that is not the one we
18691 configured in.
18692 * gdb.asm/configure.in: Delete creation of symlink.
18693 * gdb.asm/configure: Regenerate.
18694
24181d81
JB
186952002-04-05 J. Brobecker <brobecker@gnat.com>
18696
18697 * gdb.gdb/xfullpath.exp: New test, to exercise the new
18698 xfullpath () function.
18699
7cdb7107
DJ
187002002-04-04 Daniel Jacobowitz <drow@mvista.com>
18701
18702 * gdb.asm/Makefile.in: Correct dependencies.
18703
18704 * gdb.asm/powerpc.inc: New file.
18705 * gdb.asm/asm-source.exp: Add PowerPC.
18706 * gdb.asm/configure.in: Likewise.
18707 * gdb.asm/configure: Regenerated.
18708
a7d17088
DJ
187092002-04-04 Daniel Jacobowitz <drow@mvista.com>
18710
18711 * gdb.base/relocate.exp: New file.
18712 * gdb.base/relocate.c: New file.
18713
cd721503
FF
187142002-04-04 Fred Fish <fnf@redhat.com>
18715
18716 * gdb.base/step-test.exp: Update comment regarding stopping in
18717 memcpy/bcopy calls inserted as part of the compiler runtime.
18718
b22ad7a7
MS
187192002-04-04 Michael Snyder <msnyder@redhat.com>
18720
18721 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
18722
5f279fa6
DJ
187232002-04-03 Daniel Jacobowitz <drow@mvista.com>
18724
18725 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
18726 (gdb_expect): Remove $notransfer hack.
18727
dd0fd3ce
DJ
187282002-04-02 Daniel Jacobowitz <drow@mvista.com>
18729
18730 * gdb.c++/classes.exp ("calling method for small class"): Match
18731 updated register output.
18732
1e50cda1
DJ
187332002-03-30 Daniel Jacobowitz <drow@mvista.com>
18734
18735 Fix PR gdb/452
18736 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
18737 when finished. Make gdb_file_cmd send "exec-file" when
18738 appropriate.
18739
24015922
DJ
187402002-03-30 Daniel Jacobowitz <drow@mvista.com>
18741
18742 * gdb.base/attach.exp: Remove extra setup_xfail.
18743
dd7dfd64
MS
187442002-03-26 Michael Snyder <msnyder@redhat.com>
18745
18746 * gdb.base/default.exp: Add tests for dump, append, and restore.
18747 * gdb.base/help.exp: Add tests for dump, append, and restore.
18748 * gdb.base/dump.exp: New file, test dump, append and restore.
18749 * gdb.base/dump.c: New file.
18750
48b2f8d7
MS
187512002-03-27 Michael Snyder <msnyder@redhat.com>
18752
d63a86f8 18753 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
18754 clean-ups in help messages.
18755
05b4d525
FF
187562002-03-26 Fred Fish <fnf@redhat.com>
18757
18758 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
18759 have debugging info for those functions and the compiler uses them
18760 internally to copy structs around.
18761
d7679631
FF
187622002-03-26 Fred Fish <fnf@redhat.com>
18763
18764 * gdb.base/list.exp: Revert the change made yesterday and add note
18765 about why we don't list the default lines for remote targets.
18766
523ac3f9
MS
187672002-03-25 Michael Snyder <msnyder@redhat.com>
18768
18769 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
18770
754b2b8d
FF
187712002-03-25 Fred Fish <fnf@redhat.com>
18772
18773 * gdb.base/list.exp: This test works on remote targets so remove
18774 the short circuit for remote targets. Update copyright.
18775
33c3e192
FF
187762002-03-25 Fred Fish <fnf@redhat.com>
18777
18778 * gdb.base/attach.exp: Fix logic error that was suppressing this
18779 test for all non hppa*-*-hpux* targets, instead of the hp target.
18780 Move comments closer to the suppression point. Also now need to
18781 check that we are running natively.
18782
d43e73ee
MS
187832002-03-22 Michael Snyder <msnyder@redhat.com>
18784
882c8f02
MS
18785 * gdb.base/default.exp: Add test for gcore. Update copyright.
18786 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 18787
04c12f60
FF
187882002-03-06 Fred Fish <fnf@redhat.com>
18789
18790 * gdb.base/funcargs.c: Remove extraneous ';' character.
18791 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
18792
b43df995
MC
187932002-03-04 Michael Chastain <mec@shout.net>
18794
18795 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
18796 accommodate gcc v3 function signature.
18797 * gdb.mi/mi0-var-cmd-exp: Ditto.
18798
92362027
AC
187992002-02-24 Andrew Cagney <ac131313@redhat.com>
18800
18801 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
18802 ``GNU/Linux'' or ``Linux kernel''
18803 * testsuite/gdb.threads/pthreads.c: Ditto.
18804
258ad32d
MC
188052002-02-24 Michael Chastain <mec@shout.net>
18806
18807 * gdb.threads/pthreads.c (thread1): Add a return statement.
18808 (thread2): Likewise.
18809 (foo): Likewise.
18810
04c3b3d4
MC
188112002-02-23 Michael Chastain <mec@shout.net>
18812
18813 * gdb.threads/linux-dp.c (philosopher): Add a return statement
18814 to placate gcc.
18815
5a2a0a20
MC
188162002-02-23 Michael Chastain <mec@shout.net>
18817
18818 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
18819 test "ptype bint". The test passes on all my stabs configurations.
18820
a640f7fc
JB
188212002-02-21 Jim Blandy <jimb@redhat.com>
18822
27924826
JB
18823 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
18824 filename at a time, and watch for the ones we want to see.
18825
a640f7fc
JB
18826 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
18827 types of pointers to prototyped functions.
18828
edcc8c75
AC
188292002-02-20 Andrew Cagney <ac131313@redhat.com>
18830
18831 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
18832 signed, unsigned and straight char.
18833 (padding_char, padding_short, padding_int, padding_long,
18834 padding_long_long, padding_float, padding_double,
18835 padding_long_double): New global variables.
18836 (fill, fill_structs): New functions.
18837
18838 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
18839 for correctly sized writes. Update copyright.
18840 (get_valueof): New procedure.
18841 (get_sizeof): Call get_valueof.
18842 (check_valueof): New procedure.
18843 (check_padding): New procedure.
18844
ac57ea44
MC
188452002-02-20 Michael Chastain <mec@shout.net>
18846
18847 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
18848 to setup_xfail. Document some of the remaining calls.
18849
7a10c941
MC
188502002-02-18 Michael Chastain <mec@shout.net>
18851
18852 * gdb.c++/userdef.exp: Update copyright year.
18853
fb8acdcc
DJ
188542002-02-18 Daniel Jacobowitz <drow@mvista.com>
18855
18856 * gdb.c++/userdef.exp: Test overloaded operators properly.
18857 Remove xfails.
18858
fda6ae12
MS
188592002-02-14 Michael Snyder <msnyder@redhat.com>
18860
18861 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
18862
676a0442
DJ
188632002-02-14 Daniel Jacobowitz <drow@mvista.com>
18864
18865 * gdb.base/a2-run.exp: Check for a remote target properly.
18866 * gdb.base/annota1.exp: Likewise.
18867 * gdb.base/list.exp: Likewise.
18868 * gdb.base/reread.exp: Likewise.
18869 * gdb.base/scope.exp: Likewise.
18870 * gdb.base/shlib-call.exp: Likewise.
18871 * gdb.base/term.exp: Likewise.
18872 * gdb.c++/annota2.exp: Likewise.
18873
78b4f468
RE
188742002-02-13 Richard Earnshaw <rearnsha@arm.com>
18875
18876 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
18877
9a81ba51
MC
188782002-02-10 Michael Chastain <mec@shout.net>
18879
18880 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
18881 (call_after_alloca): Ditto.
18882
004af6c7
DJ
188832002-02-10 Daniel Jacobowitz <drow@mvista.com>
18884
18885 * gdb.base/ending-run.exp: Guard "cont" test with
18886 gdb_skip_stdio_test.
18887
37225f62
JB
188882002-02-06 Jim Blandy <jimb@redhat.com>
18889
18890 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
18891 from here...
18892 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
18893 To here. Disable this test on non-HP platforms. Add big comment.
18894
fe6fdd96
MS
188952002-02-04 Michael Snyder <msnyder@redhat.com>
18896
18897 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
18898 other than d10v and m32r.
18899
036fad3f
RE
189002002-02-02 Richard Earnshaw <rearnsha@arm.com>
18901
18902 * gdb.base/default.exp: Rewrite test patterns to reduce time
18903 taken to match them.
18904
7148ab62
DJ
189052002-01-30 Daniel Jacobowitz <drow@mvista.com>
18906
18907 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
18908 Allow a start function above main.
18909 * gdb.threads/linux-dp.exp: Fix copyright date.
18910
396cc255
DJ
189112002-01-30 Daniel Jacobowitz <drow@mvista.com>
18912
a9c64011
AS
18913 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
18914 (check_philosopher_stack): Check for manager thread before checking
18915 for a just-starting thread.
396cc255 18916
f038d31b
DJ
189172002-01-30 Daniel Jacobowitz <drow@mvista.com>
18918
18919 From Neil Booth <neil@daikokuya.demon.co.uk>:
18920 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
18921 warnings.
18922
b3ff9d9a
FF
189232002-01-21 Fred Fish <fnf@redhat.com>
18924
18925 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
18926 not caller.
18927
39ad761d
JB
189282002-01-21 Jim Blandy <jimb@redhat.com>
18929
18930 * gdb.base/reread.exp: Check that GDB properly re-reads the
18931 executable file when it changes while no inferior is running.
18932
aaf320fa
FF
189332002-01-21 Fred Fish <fnf@redhat.com>
18934
a9c64011
AS
18935 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
18936 optionally accept the "shlib events" variation.
aaf320fa 18937
808a31f5
JB
189382002-01-21 Jim Blandy <jimb@redhat.com>
18939
18940 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
18941 call `fflush' after every `printf', so that the output is produced
18942 at predictable points, regardless of whatever buffering does (or
18943 doesn't) take place.
18944 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
18945 at different points.
18946
4420d5e2
DJ
189472002-01-20 Daniel Jacobowitz <drow@mvista.com>
18948
18949 * gdb.c++/inherit.exp: Update copyright years.
18950 * gdb.c++/method.exp: Likewise.
18951
3e36a0f4
DJ
189522002-01-20 Daniel Jacobowitz <drow@mvista.com>
18953
18954 * gdb.c++/classes.exp: Update for improved v3 support and skipping
18955 artificial methods/arguments.
18956 * gdb.c++/derivation.exp: Likewise.
18957 * gdb.c++/inherit.exp: Likewise.
18958 * gdb.c++/method.exp: Likewise.
18959 * gdb.c++/virtfunc.exp: Likewise.
18960
b4ceaee6
AC
189612002-01-18 Andrew Cagney <ac131313@redhat.com>
18962
18963 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
18964 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
18965 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
18966 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
18967 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
18968 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
18969
ecace851
JB
189702002-01-17 Jim Blandy <jimb@redhat.com>
18971
18972 * gdb.asm/asm-source.exp (info symbol): Take another shot at
18973 anchoring the pattern matching the entry point symbol's name.
18974
375fc983
AC
189752002-01-17 Andrew Cagney <ac131313@redhat.com>
18976
18977 * gdb.base/maint.exp: Update ``maint internal-error'' to match
18978 continue/quit query. Update copyright.
18979
fe6fdd96
MS
189802002-01-14 Michael Snyder <msnyder@redhat.com>
18981
18982 * gdb.base/gcore.exp: Remove extra debugging output.
18983
e017c81f
DJ
189842002-01-13 Daniel Jacobowitz <drow@mvista.com>
18985
18986 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
18987 for slightly dubious v2 mangled string.
18988
37ab3bf8
DJ
189892002-01-13 Daniel Jacobowitz <drow@mvista.com>
18990
18991 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
18992
1bc05c3a 189932002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 18994
1bc05c3a 18995 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 18996
1bc05c3a
JM
18997 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
18998 constructors.
18999 * gdb.c++/derivation.exp: Likewise.
19000 * gdb.c++/templates.exp: Likewise.
19001 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 19002
1bc05c3a
JM
190032002-01-10 Michael Snyder <msnyder@redhat.com>
19004
19005 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 19006
a911c360
MS
190072002-01-08 Michael Snyder <msnyder@redhat.com>
19008
19009 * gdb.base/gcore.exp: New test for generate-core-file command.
19010 * gdb.base/gcore.c: Testcase for above.
19011 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
19012
ea2119ec
JM
190132002-01-08 Jason Merrill <jason@redhat.com>
19014
19015 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
19016
68203136
FF
190172002-01-07 Fred Fish <fnf@redhat.com>
19018
19019 * gdb.c++/overload.exp: Remove unconditional xfails for:
19020 print foo_instance1.overloadargs(1)
19021 print foo_instance1.overloadargs(1, 2)
19022 print foo_instance1.overloadargs(1, 2, 3)
19023 print foo_instance1.overloadargs(1, 2, 3, 4)
19024 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
19025 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
19026 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
19027 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
19028 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
19029 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
19030 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
19031 print foo_instance1.overload1arg()
19032 print foo_instance1.overload1arg((char)arg2)
19033 print foo_instance1.overload1arg((signed char)arg3)
19034 print foo_instance1.overload1arg((unsigned char)arg4)
19035 print foo_instance1.overload1arg((int)arg7)
19036 print foo_instance1.overload1arg((unsigned int)arg8)
19037 print foo_instance1.overload1arg((float)arg11)
19038 print foo_instance1.overload1arg((double)arg12)
d63a86f8 19039
21b9b5b1
MS
190402002-01-07 Michael Snyder <msnyder@redhat.com>
19041
19042 * gdb.base/huge.exp: New test. Print a very large target data object.
19043 (skip_huge_test): New test variable. Define if you want to skip this
19044 test. The test reads an 8 megabyte data object from the target, so it
19045 might be very time consuming on remote targets with a slow connection.
19046 * gdb.base/huge.c: New file. Test case for above.
19047
725f922e
FF
190482002-01-07 Fred Fish <fnf@redhat.com>
19049
19050 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
19051 g_instance.bfoo, and g_instance.cfoo.
19052
889bf7c5 190532002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 19054
889bf7c5
PA
19055 * gdb.base/break.c (multi_line_if_conditional): New function.
19056 (multi_ilne_while_conditional): Likewise.
19057 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
19058 IF or WHILE condition puts the breakpoint at the start of
19059 the condition.
f286b2c3 19060
634d57ec
JL
19061 * gdb.base/selftest.exp (backtrace through signal handler): Remove
19062 hppa*-*-hpux* expected failure.
19063 * gdb.base/structs.exp (do_function_calls): Similarly.
19064
19065 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
19066 watchpoints.
19067
9fbfe2dc
AC
190682002-01-06 Andrew Cagney <ac131313@redhat.com>
19069
19070 Fix PR gdb/66.
19071 * gdb.base/structs.exp: Replace skip for a29k with skip for
19072 gdb,cannot_call_functions.
19073 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
19074 * gdb.base/callfuncs.exp: Ditto.
19075 * gdb.base/call-rt-st.exp: Ditto.
19076 * gdb.base/call-strs.exp: Ditto.
19077 * gdb.base/callfwmall.exp: Ditto.
19078 * gdb.base/scope.exp: Obsolete xfail a29k.
19079 * gdb.c++/misc.exp: Ditto.
19080 * gdb.c++/cplusfuncs.exp: Ditto.
19081 * gdb.base/ptype.exp: Ditto.
19082 * gdb.base/printcmds.exp: Ditto.
19083 * gdb.base/opaque.exp: Ditto.
19084 * gdb.base/list.exp: Ditto.
19085 * gdb.base/funcargs.exp: Ditto.
19086 * gdb.base/default.exp: Ditto.
19087
8ddad156
MS
190882002-01-04 Michael Snyder <msnyder@redhat.com>
19089
ca4976a6 19090 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
19091 * gdb.base/maint.exp: Add tests for maint info sections options.
19092
1b074332
JL
19093Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
19094
19095 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
19096
7d159115
CV
190972001-12-20 Corinna Vinschen <vinschen@redhat.com>
19098
19099 * gdb.asm/arm.inc: New file.
19100 * gdb.asm/asm-source.exp: Add arm targets.
19101 * gdb.asm/configure.in: Ditto.
19102 * gdb.asm/configure: Recreated from configure.in.
19103
8fb87725
JL
19104Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
19105
afabe08c
JL
19106 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
19107 with HP's compiler.
19108 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
19109 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
19110 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
19111 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
19112
19113 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
19114 either HP's compilers or GCC.
19115
db521deb
JL
19116 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
19117 a SIGBUS or SIGSEGV.
19118
19119 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
19120
19121 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
19122 can be compiled with either HP's compiler or GCC.
19123
cfa88ab7
JL
19124 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
19125 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
19126 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
19127
ca344dff
JL
19128 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
19129 to match current gdb output. Update due to using auto-solib-limit
19130 for limiting instead of overloading auto-solib-add.
19131 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
19132 test program.
19133
3f3c6e55 19134 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
19135 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
19136 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
19137 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
19138 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
19139 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
19140 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
19141 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
19142 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
19143 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
19144 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
19145 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
19146 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 19147
8fb87725
JL
19148 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
19149 a SIGTRAP to the inferior.
19150
cf599fa7
CV
191512001-12-19 Corinna Vinschen <vinschen@redhat.com>
19152
19153 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
19154 Substitute call to target_link by call to gdb_compile.
19155
2cd045cd
JL
19156Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
19157
a9c64011
AS
19158 * gdb.base/break.exp: Fix HP specific search string when testing
19159 backtracing in a called function.
2cd045cd 19160
a9c64011
AS
19161 * gdb.base/constvars.exp: Only set lang to C++ if we're
19162 compiling the test with HP's compilers.
19163 * gdb.base/volatile.exp: Similarly.
2cd045cd 19164
99ebe9ac
JB
191652001-12-19 Jim Blandy <jimb@redhat.com>
19166
19167 * gdb.base/printcmds.exp: Expect the null character to be printed
19168 as '\0', and the '\013' to be printed as '\v'.
19169 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
19170 * gdb.base/setvar.exp: Same.
19171
b9891b29
JB
191722001-12-17 Jim Blandy <jimb@redhat.com>
19173
0eba65ab
JB
19174 * gdb.base/completion.exp: Rather than completing very long
19175 filenames, which can make the readline library produce output we
19176 don't recognize, cd to the directory first, and then complete
19177 using nice, short relative paths.
19178
6970b5b1
JB
19179 * gdb.base/completion.exp: On some systems, there is, in fact, a
19180 variable named `b' in scope, since GDB treats all static
a9c64011
AS
19181 variables as being in scope. So use `no_var_named_this'
19182 instead of `b'.
6970b5b1 19183
b9891b29 19184 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 19185 can't find the core file's registers as a failure.
b9891b29 19186
e6ccd35f
JSC
191872001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
19188
a9c64011
AS
19189 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
19190 test expect string more specific.
e6ccd35f 19191
105ba819
CV
191922001-12-13 Corinna Vinschen <vinschen@redhat.com>
19193
19194 * gdb.asm/asm-source.exp: Add support for xstormy16.
19195 * gdb.asm/configure.in: Ditto.
19196 * gdb.asm/configure: Rebuild.
19197 * gdb.asm/xstormy16.inc: New file.
19198
e9e79dd9
FF
191992001-12-10 Fred Fish <fnf@redhat.com>
19200
19201 * gdb.base/maint.exp: Update to match changes in type dumping code.
19202
347dc97d
JB
192032001-12-10 Jim Blandy <jimb@redhat.com>
19204
19205 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
19206 matching the entry point symbol's name at the beginning of the
19207 line.
347dc97d 19208
5178b9d6
DJ
192092001-12-07 Daniel Jacobowitz <drow@mvista.com>
19210
19211 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
19212 gdb.c++/inherit.exp, gdb.c++/method.exp,
19213 gdb.c++/namespace.exp, gdb.c++/templates.exp,
19214 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
19215 and class layout support.
19216
af890c52
DJ
192172001-12-07 Daniel Jacobowitz <drow@mvista.com>
19218
19219 * gdb.c++/classes.exp: Add test for static member function.
19220 * gdb.c++/misc.cc: Add class with static member function.
19221
7a345fb3
JB
192222001-12-07 Jim Blandy <jimb@redhat.com>
19223
f2e54a80 19224 If GDB says it can't find the struct the function returned, report
8032bf31
JB
19225 those tests as `unsupported'.
19226 * gdb.base/call-rt-st.exp (print_struct_call): New function.
19227 Rewrite subsequent tests to use it.
19228
19229 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
19230 those tests as `unsupported'.
19231 * gdb.base/structs.exp (call_struct_func): New function.
19232 (do_function_calls): Use call_struct_func to call the functions
19233 returning structs.
19234
0bc69509
JB
19235 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
19236 whether functions are prototyped or not, so we can't possibly pass
19237 arguments to t_float_values2 properly.
19238
7a345fb3
JB
19239 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
19240 value of `timeout' for targets other than the mips*tx39-*.
19241
edb6ede1
MS
192422001-12-06 Michael Snyder <msnyder@redhat.com>
19243
d63a86f8 19244 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
19245 and detect whether the start symbol has a leading underscore.
19246
2d842f13
JB
192472001-12-04 Jim Blandy <jimb@redhat.com>
19248
19249 * gdb.base/completion.exp: Clarify indentation.
19250
68550daf
JB
192512001-12-03 Jim Blandy <jimb@redhat.com>
19252
19253 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
19254 variables on the S/390, not `.word'.
19255
cd5195a8
JB
192562001-11-30 Jim Blandy <jimb@redhat.com>
19257
19258 Add assembly-source tests for s390-ibm-linux.
19259 * gdb.asm/s390.inc: New file.
19260 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
19261 the S/390 architecture.
a9c64011 19262 * gdb.asm/configure: Regenerated.
cd5195a8 19263
ca9efc90
MS
192642001-11-30 Michael Snyder <msnyder@redhat.com>
19265
19266 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
19267 next, info source, info sources, info line, global and static
19268 variables, and static functions.
19269 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
19270 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
19271 * gdb.asm/asmsrc1.s: Add a static function and some variables.
19272 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
19273 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
19274 (gdbasm_leave): Restore frame pointer.
19275 (gdbasm_startup): Copy stack set-up from crt0.S.
19276
d0e66976
FN
192772001-11-26 Fernando Nasser <fnasser@redhat.com>
19278
19279 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
19280 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
19281 to a local (non-static) variable. Copy tstruct.a to a static buffer
19282 and return a pointer to that buffer.
19283 * gdb.base/callfwmall.c (t_structs_a): Ditto.
19284
e2334072
MK
192852001-11-24 Mark Kettenis <kettenis@gnu.org>
19286
19287 * gdb.asm/configure.in: Fix recognition of ix86 target.
19288 * gdb.asm/configure: Regenerate.
19289
756caa3d
MS
192902001-11-21 Michael Snyder <msnyder@redhat.com>
19291
19292 * gdb.asm/sparc.inc: New file.
19293 * gdb.asm/asm-source.exp: Recognize sparc target.
19294 * gdb.asm/configure.in: Recognize sparc target.
19295 * gdb.asm/configure: Regenerate.
d63a86f8 19296
9a4d72d5
MS
192972001-11-21 Michael Snyder <msnyder@redhat.com>
19298
19299 * gdb.asm/m32r.inc: New file.
19300 * gdb.asm/asm-source.exp: Recognize m32r target.
19301 * gdb.asm/configure.in: Recognize m32r target.
19302 * gdb.asm/configure: Regenerate.
19303
a773d1cd
MS
193042001-11-20 Michael Snyder <msnyder@redhat.com>
19305
017ac23d
MS
19306 * gdb.asm/i386.inc: New file.
19307 * gdb.asm/asm-source.exp: Recognize ix86 target.
19308 * gdb.asm/configure.in: Recognize ix86 target.
19309 * gdb.asm/configure: Regenerate.
19310
a773d1cd
MS
19311 * gdb.c++/namespace.exp: Fix quotes in output messages.
19312
bb632afb
MS
193132001-11-14 Michael Snyder <msnyder@redhat.com>
19314
25d559ca 19315 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
19316 qualifier in a type cast expression, to designate an address
19317 in the instruction space (Harvard architecture).
19318
4749e309
MS
193192001-11-13 Michael Snyder <msnyder@redhat.com>
19320
19321 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
19322 Tests for expressions using 'const' and 'volatile'.
19323
25050984
CV
193242001-11-13 Corinna Vinschen <vinschen@redhat.com>
19325
19326 * gdb.asm/asm-sources.exp: Allow defining linker flags.
19327
1902c51f
DJ
193282001-11-12 Daniel Jacobowitz <drow@mvista.com>
19329
19330 * lib/mi-support.exp (mi_run_to_helper): Move comments
19331 outside of gdb_expect.
19332
dcf95b47
DJ
193332001-11-11 Daniel Jacobowitz <drow@mvista.com>
19334
19335 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
19336 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
19337 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
19338 mi0_run_to): New functions.
19339 * gdb.mi/mi-simplerun.exp: Use them.
19340 * gdb.mi/mi0-simplerun.exp: Likewise.
19341 * gdb.mi/mi-var-cmd.exp: Likewise.
19342 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 19343
45b074e1
AC
193442001-11-10 Andrew Cagney <ac131313@redhat.com>
19345
19346 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
19347 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
19348
bf50d346
AC
193492001-11-09 Andrew Cagney <ac131313@redhat.com>
19350
19351 * gdb.base/restore.exp: Include $expected value in restored test
19352 message.
19353
9383332c
AC
193542001-11-09 Andrew Cagney <ac131313@redhat.com>
19355
19356 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
19357 implemented.
19358
db62520a
MS
193592001-11-08 Michael Snyder <msnyder@redhat.com>
19360
19361 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
19362 Add pass/fail message for stop at breakpoint in call dummy function.
19363
b5703437
MS
193642001-11-07 Michael Snyder <msnyder@redhat.com>
19365
d63a86f8
RM
19366 * gdb.c++/templates.exp (test_template_breakpoints):
19367 If we get an overload menu, but it does not match what
760f6330 19368 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
19369 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
19370 making the whitespace optional. Argument for "new" may be
19371 "unsigned" as well as "unsigned int/long".
d63a86f8 19372 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
19373 making the whitespace optional. Also replace "(void) with
19374 "((void|)), making the keyword "void" optional.
d63a86f8 19375 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
19376 making the whitespace optional. Also replace "(void) with
19377 "((void|)), making the keyword "void" optional.
3bf40917
MS
19378 * gdb.base/callfuncs.c (t_float_values): This function must
19379 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 19380 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
19381 can be tested against both cases. Usually one case involves
19382 promotion of float to double, while the other does not.
19383 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
19384 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
19385 includes a stack frame for "start".
19386
c8ab4e6d
JB
193872001-11-05 Jim Blandy <jimb@redhat.com>
19388
19389 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
19390 pointers are 32 bits long, and that offsets of relocs are always
19391 stored in the data (REL-style), and not in the reloc entry itself
19392 (RELA-style).
19393 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
19394 stabs.
19395
3f08ced9
MS
193962001-11-01 Michael Snyder <msnyder@redhat.com>
19397
19398 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
19399 and regular expression operators by using quoting.
19400
cbfa24cd
MS
194012001-10-31 Michael Snyder <msnyder@redhat.com>
19402
19403 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
19404 depending on what the symbol table contains.
19405 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
19406 the output of the ptype command. Similarly, accept both "const &"
19407 and "const&".
19408
aaa68313
CV
194092001-10-31 Corinna Vinschen <vinschen@redhat.com>
19410
19411 * gdb.base/miscexprs.c (main): Add usage of preprocessor
19412 symbol `STORAGE' to allow to choose the storage class of
19413 the local datastructures.
19414 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
19415 compiler directive.
19416
91740388
MS
194172001-10-30 Michael Snyder <msnyder@redhat.com>
19418
19419 * gdb.base/jump.exp: Allow it to run for all targets.
19420
1b7c05e7
CV
194212001-10-29 Corinna Vinschen <vinschen@redhat.com>
19422
19423 * gdb.base/call-ar-st.c (print_double_array): Match for loop
19424 with new double_array size.
19425 (main): Change storage class of all local variables to static.
19426 Reduce size of double_array to 9.
19427 * gdb.base/call-ar-st.exp: Increase timeout value.
19428 Change expected output for double array to match new size in
19429 call-ar-st.c.
19430
36a22261
CV
194312001-10-29 Corinna Vinschen <vinschen@redhat.com>
19432
19433 * gdb.base/ending-run.exp: Create identical output when passing
19434 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 19435 Stormy16 target.
36a22261 19436
92b8ae91
MK
194372001-10-28 Mark Kettenis <kettenis@gnu.org>
19438
19439 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
19440 that we catch the expected failure under Linux/x86.
19441
cb135b83
OF
194422001-10-29 Orjan Friberg <orjanf@axis.com>
19443
19444 * gdb.base/setvar.exp: Escape curly braces.
19445 * gdb.stabs/weird.exp: Ditto.
19446
6884aa54
DJ
194472001-10-27 Daniel Jacobowitz <drow@mvista.com>
19448
19449 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
19450 * gdm.mi/mi0-hack-cli.exp: Likewise.
19451
0398c9aa
AC
194522001-10-25 Andrew Cagney <ac131313@redhat.com>
19453
19454 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
19455 messages.
19456
d20bf2e8
AC
194572001-10-21 Andrew Cagney <ac131313@redhat.com>
19458
19459 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
19460 checking MI enabled.
19461
03dd63aa
CV
194622001-10-09 Corinna Vinschen <vinschen@redhat.com>
19463
19464 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
19465
1d9d99f3
FCE
194662001-10-04 Frank Ch. Eigler <fche@redhat.com>
19467
19468 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
19469 if gdb child process crashes, just signal an error.
19470
838ae6c4
JB
194712001-10-02 Jim Blandy <jimb@redhat.com>
19472
19473 * lib/gdb.exp (test_xfail_format): Simplify.
19474
19475 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
19476 front of the variable name `format'. Simplify `if'.
19477
8f0cbc1c
DJ
194782001-10-01 Daniel Jacobowitz <drow@mvista.com>
19479
19480 * gdb.threads/pthreads.exp: Wait for output and delay
19481 before sending ^C.
19482
1f08dafd
DJ
194832001-10-01 Daniel Jacobowitz <drow@mvista.com>
19484
19485 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
19486 some incorrect output instead of timing out.
19487 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
19488
674f90ff
CV
194892001-09-28 Corinna Vinschen <vinschen@redhat.com>
19490
19491 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
19492 check to allow additional `int'.
19493
9b284272
DJ
194942001-09-27 Daniel Jacobowitz <drow@mvista.com>
19495
19496 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
19497 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
19498
b55a4771
MS
194992001-09-27 Michael Snyder <msnyder@redhat.com>
19500
19501 * lib/gdb.exp (test_debug_format): New proc.
19502 (setup_xfail_format): Use new proc test_debug_format.
19503 * gdb.base/constvars.exp (local_compiler_xfail_check): New
19504 proc; use new service proc test_debug_format.
19505 Replace all other "gcc_compiled" tests with this test.
19506 * gdb.base/volatile.exp (local_compiler_xfail_check): New
19507 proc; use new service proc test_debug_format.
19508 Replace all other "gcc_compiled" tests with this test.
19509
195102001-09-27 Michael Snyder <msnyder@redhat.com>
19511
19512 * gdb.base/cvexpr.exp: New file.
19513 * gdb.base/cvexpr.c: New file
19514 Test for expressions using const and volatile keywords.
19515
4e6667ac
CV
195162001-09-26 Corinna Vinschen <vinschen@redhat.com>
19517
19518 * gdb.base/constvars.exp: Check for different orders of keywords
19519 and additional "int" strings in output.
19520
4f337972
AC
195212001-09-22 Andrew Cagney <ac131313@redhat.com>
19522
19523 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
19524 responses from "help maint".
19525
2015650d
FCE
195262001-09-19 Frank Ch. Eigler <fche@redhat.com>
19527
19528 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
19529 to localhost:NNN instead of :NNN, in case Xvfb is listening
19530 only on TCP.
19531
f3bcedc1
CV
195322001-09-19 Corinna Vinschen <vinschen@redhat.com>
19533
19534 * gdb.base/recurse.exp: When checking leaving the watchpoint
19535 scope, recognize when gdb is in function's epilogue and pass.
19536
6b819c92
KS
195372001-09-18 Keith Seitz <keiths@redhat.com>
19538
19539 * lib/insight-support.exp (_gdbtk_export_target_info): Add
19540 support for running tests against sid targets.
19541 (gdbtk_done): Ditto.
19542
a10c9419
CV
195432001-09-18 Corinna Vinschen <vinschen@redhat.com>
19544
19545 * gdb.base/ending-run.c (main): Set stdout buffersize
19546 to the same reasonable value for any target.
19547 * gdb.base/ending-run.exp: Add a regular expression
19548 to make testsuite happy on Sanyo Stormy16 target.
19549
739d0d99
CV
195502001-09-17 Corinna Vinschen <vinschen@redhat.com>
19551
19552 * gdb.base/display.c (do_loops): Add float variable `f'.
19553 Increment f in loop.
19554 * gdb.base/display.exp: Increment timeout by 60 seconds.
19555 Change float display test to use variable `f'.
19556
1b8947f0
JB
195572001-09-17 Jim Blandy <jimb@redhat.com>
19558
19559 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
19560 overflowing the limited breakpoint tables on some ROM monitors
19561 (like the ROM68K).
19562
9890ac81
FCE
195632001-09-15 Frank Ch. Eigler <fche@redhat.com>
19564
19565 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
19566 the "-ac" (disable access control) flag.
19567
6db765ea
JH
195682001-08-30 Jeff Holcomb <jeffh@redhat.com>
19569
19570 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
19571 ints.
19572
4c32cc04
KS
195732001-08-30 Keith Seitz <keiths@redhat.com>
19574
19575 * lib/gdb.exp: Move all insight-related functionality into
19576 separate file.
19577 * lib/insight-support.exp: New file.
19578
8d6e6f81
FCE
195792001-08-29 Frank Ch. Eigler <fche@redhat.com>
19580
19581 * config/sid.exp (sid_start): Never set sid verbosity; disable
19582 expect_background {} that consumed its stdout; tolerate </dev/null.
19583 Attempt to set endianness override in "sid" protocol mode. Cleanup.
19584
6a90e1d0
AC
195852001-08-18 Andrew Cagney <ac131313@redhat.com>
19586
19587 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
19588 CLI jump command to start it.
19589 (mi_run_to_main): Fail immediatly when unexpected output.
19590
1759b3c3
AC
195912001-08-18 Andrew Cagney <ac131313@redhat.com>
19592
19593 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
19594 beginning of function. Fix PR gdb/191.
19595
61d11d80
FCE
195962001-08-16 Frank Ch. Eigler <fche@redhat.com>
19597
19598 * config/sid.exp (sid_start): Don't warn if we cannot figure out
19599 what to force sid endianness to.
19600
942a4df2
KS
196012001-08-15 Keith Seitz <keiths@redhat.com>
19602
19603 * lib/gdb.exp (gdbtk_start): Don't set environment
19604 variables for TCL_LIBRARY and friends. Insight will
19605 now figure these out for itself.
19606
0521c418
MS
196072001-08-02 Michael Snyder <msnyder@redhat.com>
19608
19609 * gdb.base/completion.exp: Remove the symbol "a64l" from
19610 the expect string; this is target-specific, and not related
19611 to what is being tested.
19612
74a9a58a
DB
196132001-08-02 Dave Brolley <brolley@redhat.com>
19614
19615 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
19616
c70819fa
MS
196172001-07-25 Michael Snyder <msnyder@redhat.com>
19618
c2b8fa57
MS
19619 * gdb.base/consecutive.exp: New file. Test stepping over
19620 breakpoints on consecutive instructions.
19621 * gdb.base/consecutive.c: New file.
19622
c70819fa
MS
19623 * gdb.base/call-rt-st.exp: Use double-backslash to quote
19624 curly braces in regular expressions.
19625
2b1a1355
MS
196262001-07-25 Michael Snyder <msnyder@redhat.com>
19627
19628 * gdb.base/ending-run.exp: Accept "Program exited normally" as
19629 legitimate output from stepping out of main.
19630
413eca6f
KS
196312001-07-22 Keith Seitz <keiths@redhat.com>
19632
19633 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
19634 the empty string, do not run the tests.
19635
7e5a9322
SC
196362001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19637
19638 * gdb.base/long_long.exp: Detect size of pointer. Take into
19639 account 2-byte pointers when testing for p/a results.
19640
de58f10f
SC
196412001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19642
d63a86f8 19643 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
19644 and defined to 1K for m68hc11.
19645 (random_data): Reduce table to 1K for embedded platforms (68hc11).
19646 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
19647 (sizeof_random_data): New variable to tell the size of the data table;
19648 don't test past this size; always run to main.
19649
d6f5fea1
SC
196502001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19651
19652 * gdb.base/return2.exp: return of long long and double fails for
19653 68HC11; don't execute these tests on that platform.
19654 * gdb.base/return.exp: Return of a double fails for 68hc11.
19655
c477543d
SC
196562001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19657
19658 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
19659 tests that print a float.
19660 * call-rt-st.exp: Likewise.
19661
63cf1c79
MK
196622001-07-12 Mark Kettenis <kettenis@gnu.org>
19663
19664 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
19665 running this test on Linux.
19666
112f9ab5
MC
196672001-06-24 Michael Chastain <chastain@redhat.com>
19668
19669 * gdb.base/arithmet.exp: Remove some tests to make all test names
19670 unique.
19671
4970cb0f
MS
196722001-07-03 Michael Snyder <msnyder@redhat.com>
19673
19674 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
19675 the output of the ptype command.
19676
d85da69f
MS
196772001-07-02 Michael Snyder <msnyder@redhat.com>
19678
4c8a82de
MS
19679 * gdb.base/completion.exp: Don't assume that break.c is the only
19680 source file that may contain functions named "marker".
d85da69f
MS
19681 * gdb.base/corefile.exp: Quote the curly braces in regexp.
19682
8afc772b
AC
196832001-06-28 Andrew Cagney <ac131313@redhat.com>
19684
19685 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
19686 of files to delete.
19687
19688 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
19689 * gdb.disasm/h8300s.exp: New file.
19690 gdb.disasm/h8300s.s: Likewise.
19691
cff22675
AC
196922001-06-27 Andrew Cagney <ac131313@redhat.com>
19693
19694 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
19695 empty breakpoint tables.
19696
68c81b54
AC
196972001-06-25 Andrew Cagney <ac131313@redhat.com>
19698
19699 * lib/mi-support.exp: Update args=... part of stop-reason
19700 patterns. Accept either a list or a tuple.
19701
2dd62704
AC
197022001-06-23 Andrew Cagney <ac131313@redhat.com>
19703
19704 * lib/mi-support.exp: Remove local emacs variable defining
19705 change-log-default-name.
19706
b4127474
MC
197072001-06-22 Michael Chastain <chastain@redhat.com>
19708
19709 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
19710 This is operationally compatible with the previous version.
19711
8dbfb380
JB
197122001-06-13 Jim Blandy <jimb@redhat.com>
19713
19714 * lib/gdb.exp (gdb_test): Doc fix.
19715
f2d8c86d
MC
197162001-06-10 Michael Chastain <chastain@redhat.com>
19717
19718 * gdb.base/exprs.exp: Remove a duplicate test.
19719
81564d34
JB
197202001-06-06 Jim Blandy <jimb@redhat.com>
19721
19722 * gdb.base/return2.exp (main): Use values to test float and double
19723 returns that are not NaN's, to avoid being confused by IEEE
19724 comparison rules.
19725
da55addb
MS
197262001-06-04 Michael Snyder <msnyder@redhat.com>
19727
19728 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 19729 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
19730 rather than wait for 12 more tests to time out.
19731
42c65987
JB
197322001-06-06 Jim Blandy <jimb@redhat.com>
19733
b18bced9 19734 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 19735 Don't forget to match the GDB prompt.
b18bced9 19736
42c65987
JB
19737 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
19738
5b41e5f0
JB
197392001-06-04 Jim Blandy <jimb@redhat.com>
19740
19741 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
19742 command.
19743
015e046f
KB
197442001-05-31 Kevin Buettner <kevinb@redhat.com>
19745
19746 * gdb.base/annota1.exp (info break): Match four or more spaces
19747 after "Address".
19748
fb1ffbbe
MC
197492001-05-31 Michael Chastain <chastain@redhat.com>
19750
19751 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
19752 (dm_type_int_star): Likewise.
19753 (dm_type_long_star): Likewise.
19754 (dm_type_void_star): Likewise.
19755
5ea2a32c
KB
197562001-05-29 Kevin Buettner <kevinb@redhat.com>
19757
19758 * gdb.base/completion.exp (INPUTRC): Set this environment variable
19759 to a known value in order to get consistent results regardless
19760 of the setting of INPUTRC or the presence or contents of .inputrc.
19761
ae23c492
MS
197622001-05-24 Michael Snyder <msnyder@redhat.com>
19763
ac55707e
MS
19764 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
19765 Don't require that the main thread and the manager thread are the
19766 first in the list.
19767
ae23c492
MS
19768 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
19769 debugging. If test fails, issue an "unsupported" not a "fail".
19770
400071f1
JB
197712001-05-24 Jim Blandy <jimb@redhat.com>
19772
19773 Don't assume that short is shorter than int.
19774 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
19775 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 19776 this isn't true.
400071f1
JB
19777 ("print unsigned char == (~0)"): Add test that verifies that ~0,
19778 an int, is not equal to ~0 stored in an unsigned char. This tests
19779 the same thing that the previous test meant to, but works on
19780 16-bit machines, too.
19781 ("print unsigned char != (~0)"): Same test, complemented.
19782
0816a3e5
MS
197832001-05-24 Michael Snyder <msnyder@redhat.com>
19784
19785 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 19786 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
19787 and prevents dejagnu getting out of step.
19788
f6dc23a9
KB
197892001-05-23 Kevin Buettner <kevinb@redhat.com>
19790
19791 * gdb.base/finish.exp (finish_void): Revise pattern for
19792 stopping on the call statement to not permit stopping at
19793 the start of the instructions comprising the call sequence.
19794
7dbd117d
MC
197952001-05-19 Michael Chastain <chastain@redhat.com>
19796
19797 * gdb.base/callfuncs.exp: Make all test names unique.
19798 * gdb.base/commands.exp: Make all test names unique.
19799 * gdb.base/condbreak.exp: Make all test names unique.
19800 * gdb.base/dbx.exp: Make all test names unique.
19801 * gdb.base/default.exp: Make all test names unique.
19802 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
19803 and TIMEOUT messages to their corresponding PASS message.
19804 * gdb.base/ending-run.exp: Make all test names unique.
19805 * gdb.base/long_long.exp: Remove duplicate test.
19806
6b0b0a9e
KB
198072001-05-21 Kevin Buettner <kevinb@redhat.com>
19808
19809 * gdb.base/finish.exp (finish_void): Allow "finish" command to
19810 stop on the call statement as well as the statement after the
19811 call.
19812
2caa35cb
MS
198132001-05-21 Michael Snyder <msnyder@redhat.com>
19814
19815 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
19816
40713331
EZ
198172001-05-10 Elena Zannoni <ezannoni@redhat.com>
19818
a9c64011
AS
19819 * gdb.base/completion.exp: Revamp test. Make it execute on all
19820 platforms.
40713331 19821
c2c1be8d
EZ
198222001-05-10 Elena Zannoni <ezannoni@redhat.com>
19823
a9c64011
AS
19824 * config/gdbserver.exp (gdb_load): Handle the case
19825 in which the arguments to gdbserver are given in the
19826 baseboard configuration file.
19827 Also handle the case in which the server needs to do a
19828 load.
2c9cd303 19829
9671de48
KS
198302001-05-07 Keith Seitz <keiths@cygnus.com>
19831
a9c64011
AS
19832 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
19833 set up the display for testing.
19834 (gdbtk_start): Convert all paths to paths that tcl will like.
19835 Export target information to environment.
19836 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
19837 necessary.
19838 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
19839 (to_tcl_path): New proc to convert a given pathname into
19840 a path acceptible as an argument to a tcl command.
19841 (_gdbtk_export_target_info): New proc to export target info
19842 into the environment for gdbtk testing.
19843 (gdbtk_done): New proc to signal end-of-test.
9671de48 19844
5a360f47
JB
198452001-05-06 Jim Blandy <jimb@redhat.com>
19846
19847 * restore.c: Make the code of caller0 correspond to its comment.
19848
66c756c6
MS
198492001-05-03 Michael Snyder <msnyder@redhat.com>
19850
19851 * config/sid.exp (gdb_target_sid): Check for error messages.
19852 On error or timeout, don't make expect exit (which will terminate
19853 all subsequent tests); instead just make gdb exit.
d63a86f8 19854 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
19855 return a negative value.
19856
a966fde5
JB
198572001-04-24 Jim Blandy <jimb@redhat.com>
19858
851c18e0
JB
19859 * gdb.c++/templates.exp: If we see the prompt for the overload
19860 list, but we haven't recognized any of the longer patterns,
19861 arrange for this test to fail, not hang.
19862
a966fde5
JB
19863 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
19864 variations.
19865
db144853
MC
198662001-04-22 Michael Chastain <chastain@redhat.com>
19867
19868 * gdb.c++/local.exp: Use the 'runto' library function.
19869 * gdb.c++/namespace.exp: Likewise.
19870 * gdb.c++/overload.exp: Likewise.
19871
3207ec21
KB
198722001-03-26 Kevin Buettner <kevinb@redhat.com>
19873
19874 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
19875 * gdb.base/step-line.exp: New file. Test step/next in presence of
19876 #line directives.
19877 * gdb.base/step-line.c: New file. Test program for the above.
19878 * gdb.base/step-line.inp: New file. We pretend that this file has
19879 been transformed by some other tool into step-line.c.
19880
13b57657
JB
198812001-03-21 Jim Blandy <jimb@redhat.com>
19882
19883 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
19884 unmangled operator names.
19885
754cbe1c
JB
198862001-03-20 Jim Blandy <jimb@redhat.com>
19887
19888 * gdb.threads/linux-dp.exp: Recognize an additional message
19889 generated by GDB when it doesn't understand how to debug threads
19890 on the target system.
19891
177495c9
AC
198922001-03-19 Andrew Cagney <ac131313@redhat.com>
19893
19894 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
19895
f266096b
MC
198962001-03-12 Michael Chastain <chastain@redhat.com>
19897
19898 * gdb.c++/derivation.exp: Use the 'runto' library function.
19899
cac3c2ff
MC
199002001-03-12 Michael Chastain <chastain@redhat.com>
19901
19902 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
19903
b6c11a24
MC
199042001-02-24 Michael Chastain <chastain@redhat.com>
19905
19906 * gdb.c++/ref-types.exp: Change handwritten code to library
19907 function 'runto'.
19908
6bae5bce
OF
199092001-03-16 Orjan Friberg <orjanf@axis.com>
19910
19911 * gdb.base/signals.exp: Set count to 0 explicitly.
19912
0015fd9a
MS
199132001-03-15 Mark Salter <msalter@redhat.com>
19914
19915 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
19916 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
19917 (gdb_load): Add support for additional target_info: gdb_download_size
19918 and gdb_load_timeout.
0015fd9a 19919
fc33412a
DT
19920Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
19921
19922 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
19923 file -- to prevent failing when the compile fails but we have no
19924 intention of running the tests anyway.
fc33412a
DT
19925
19926 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
19927 tests if set.
19928
19929 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 19930 integers.
fc33412a
DT
19931
19932 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
19933 * gdb.c++/namespace.exp: Ditto.
19934
115f06de
OF
199352001-03-07 Orjan Friberg <orjanf@axis.com>
19936
19937 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
19938 * gdb.base/pointers.exp: Relax pattern match of decimals.
19939
b6ba6518
KB
199402001-03-06 Kevin Buettner <kevinb@redhat.com>
19941
19942 * Makefile.in, config/abug.exp, config/cfdbug.exp,
19943 config/cpu32bug.exp, config/dve.exp, config/est.exp,
19944 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
19945 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
19946 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
19947 config/sh.exp, config/sid.exp, config/slite.exp,
19948 config/sparclet.exp, config/udi.exp, config/unknown.exp,
19949 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
19950 config/vxworks.exp, config/vxworks29k.exp,
19951 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
19952 gdb.base/all-bin.exp, gdb.base/annota1.exp,
19953 gdb.base/arithmet.exp, gdb.base/assign.exp,
19954 gdb.base/async.exp, gdb.base/attach.exp,
19955 gdb.base/bitfields.exp, gdb.base/bitops.exp,
19956 gdb.base/break.exp, gdb.base/call-ar-st.exp,
19957 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
19958 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
19959 gdb.base/commands.exp, gdb.base/completion.exp,
19960 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
19961 gdb.base/constvars.exp, gdb.base/corefile.exp,
19962 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
19963 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
19964 gdb.base/ending-run.exp, gdb.base/environ.exp,
19965 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
19966 gdb.base/finish.exp, gdb.base/foll-exec.exp,
19967 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
19968 gdb.base/funcargs.exp, gdb.base/help.exp,
19969 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
19970 gdb.base/logical.exp, gdb.base/long_long.exp,
19971 gdb.base/maint.exp, gdb.base/mips_pro.exp,
19972 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
19973 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
19974 gdb.base/pointers.exp, gdb.base/printcmds.exp,
19975 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
19976 gdb.base/regs.exp, gdb.base/relational.exp,
19977 gdb.base/remote.exp, gdb.base/reread.exp,
19978 gdb.base/restore.exp, gdb.base/return2.exp,
19979 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
19980 gdb.base/selftest.exp, gdb.base/setshow.exp,
19981 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
19982 gdb.base/sigall.exp, gdb.base/signals.exp,
19983 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
19984 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
19985 gdb.base/step-test.exp, gdb.base/structs.c,
19986 gdb.base/structs.exp, gdb.base/structs2.exp,
19987 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
19988 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
19989 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
19990 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
19991 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
19992 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
19993 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
19994 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
19995 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
19996 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
19997 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
19998 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
19999 gdb.fortran/types.exp, gdb.java/jmisc.exp,
20000 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
20001 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
20002 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
20003 gdb.trace/circ.exp, gdb.trace/collection.exp,
20004 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
20005 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
20006 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
20007 gdb.trace/report.exp, gdb.trace/save-trace.exp,
20008 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
20009 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
20010 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
20011 notices.
20012
dc96c6c7 200132001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
20014
20015 * gdb.base/varargs.c (find_max_double): Fix printf format string:
20016 first arg is int not float.
20017
dc96c6c7 200182001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
20019
20020 * gdb.base/reread.exp: Unsupported for non-native targets;
20021 doesn't work for remote debugging.
20022
9b0c4aeb
FN
200232001-02-19 Fernando Nasser <fnasser@redhat.com>
20024
20025 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
20026 * gdb.base/ending-run.exp: Properly handle the BSP state when
20027 stepping past the end of main.
9b0c4aeb 20028
02aa71d5
MC
200292001-02-19 John Moore <jmoore@redhat.com>
20030
20031 * gdb.base/commands.exp (infrun_breakpoint_command_test):
20032 Converted HPUX fix for non-expected items following multiple
20033 step commands into general solution for all platforms.
20034
1fa449a4
MC
200352001-02-18 Michael Chastain <chastain@redhat.com>
20036
20037 * gdb.c++/classes.exp (do_tests): Change runto statements
20038 from "runto 'foo(void)'" to "runto 'foo'". This makes the
20039 statements demangler agnostic.
20040 * gdb.c++/virtfunc.exp (do_tests): Likewise.
20041 (gdb_virtfunc_restart): Likewise.
20042
b2f9ec70
MC
200432001-02-14 Michael Chastain <chastain@redhat.com>
20044
20045 * gdb.c++/inherit.exp (do_tests): Change runto statements
20046 from "runto 'foo(void)'" to "runto 'foo'". This makes the
20047 statements demangler agnostic.
20048
cf74b8ca
AC
20049Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
20050
20051 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
20052 ``continue to bkpt at common_routine in thread 2'' and ``stopped
20053 before calling common_routine 15 times'' tests.
cf74b8ca 20054
99f78f56
MC
200552001-02-11 Michael Chastain <chastain@redhat.com>
20056
20057 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
20058 Helps the test script figure out which demangler is in use.
20059 (dm_type_foo_ref): Ditto.
20060 (dm_type_int_star): Ditto.
20061 (dm_type_long_star): Ditto.
20062 (dm_type_unsigned_int): Ditto.
20063 (dm_type_void): Ditto.
20064 (dm_type_void_star): Ditto.
99707966 20065 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
20066 Probe the gdb demangler and set variables to accommodate
20067 formatting differences.
20068 (info_func_regexp): New function. Same as info_func, but
20069 matches against a regexp.
20070 (info_func): Match against a literal string.
20071 (print_addr_2): New function. Match against a literal string,
20072 which can be different from the input to gdb.
20073 (print_addr): Simply call print_addr_2 with the same argument twice.
20074 (test_lookup_operator_functions): Use demangler formatting variables.
20075 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
20076 the tests in the same order as the C++ class declaration.
20077 (test_paddr_operator_functions): Ditto.
20078 (test_paddr_overloaded_functions): Ditto.
20079 (test_paddr_hairy_functions): Use demangler formatting variables.
20080 Add reference to gdb/19 for related tests.
20081 (do_tests): Call probe_demangler.
20082
1de8f023
KB
200832001-01-30 Kevin Buettner <kevinb@redhat.com>
20084
20085 * gdb.c++/templates.cc (printf): Remove unused function definition.
20086
ca3f91ed
MS
200872001-01-26 Felix Lee <flee@redhat.com>
20088
20089 * sid.exp (sid_exit): Pass host, not target, to remote_close.
20090
200912001-01-25 matthew green <mrg@redhat.com>
20092
20093 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
20094 up sid.
20095 (sid_exit): Call `remote_pop_conn' after GDB is gone.
20096
200972001-01-25 matthew green <mrg@redhat.com>
20098
20099 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 20100 Deprecate $sid_spawn_id.
ca3f91ed
MS
20101 (sid_exit): Remove code necessary only for `spawn.'
20102
201032001-01-25 matthew green <mrg@redhat.com>
20104
20105 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
20106
fb18ec4a
MC
201072001-01-28 Michael Chastain <chastain@redhat.com>
20108
20109 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
20110 to call when tests fail. It takes gdb out of the overloaded
20111 function choice menu back to the main prompt, so that the test
20112 program stays synchronized.
20113 (set_bp_overloaded): New proc to collect all the common
20114 code for setting a breakpoint on an overloaded name. Calls
20115 take_gdb_out_of_choice_menu when needed.
20116 (menu_overload1arg): New variable to collect the repeated
20117 instances of the expected menu for an overloaded name. Change
20118 the regular expression to handle changes in g++ type encoding:
20119 "void" can be either "void" or "", and "unsigned int" can be
20120 either "unsigned int" or "unsigned".
20121 (continue_to_bp_overloaded): Change regular expressions to handle
20122 changes in g++ type encoding.
20123 (no proc): Call take_gdb_out_of_choice_menu when needed.
20124 Remove redundant calls to "info break". Accept either "canceled"
20125 or "cancelled". Change regular expressions in "info break"
20126 calls to handle changes in g++ type encoding. Give all tests
20127 unique strings.
20128
9c646a6e
BE
201292001-01-17 Ben Elliston <bje@redhat.com>
20130
20131 * config/sid.exp: New file.
20132
9549d9c1
AC
20133Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
20134
20135 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
20136
dc96c6c7 201372000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
20138
20139 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
20140 Add a RE to accept a non-ascii char if one is ever presented.
20141
b4df4f68
FN
201422000-12-20 Fernando Nasser <fnasser@redhat.com>
20143
297dd0fd 20144 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 20145
dc96c6c7 201462000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 20147
d63a86f8 20148 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
20149 in regexp. One '\' does not suffice on Linux.
20150
4a7bddb6
MC
201512000-12-09 Michael Chastain <chastain@redhat.com>
20152
20153 * gdb.base/break.exp (test_clear_command): Use a marker function
20154 rather than 'main' for the test function. Also move this
20155 test to an execution point where the marker function names are
20156 guaranteed to be bound to functions. (Executing tests after a
20157 'finish' from main runs into name conflicts with local names
20158 in __libc_start_main).
20159
dc96c6c7 201602000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
20161
20162 * gdb.base/finish.exp: New test for gdb's "finish" command.
20163 * gdb.base/return2.exp: New test for gdb's "return" command.
20164 * gdb.base/return2.c: New source file for above.
20165
dc96c6c7 201662000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
20167
20168 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
20169 * gdb.base/miscexprs.exp: Ditto.
20170 * gdb.base/pointers.exp: Ditto.
20171 * gdb.c++/derivation.exp: Ditto.
20172 * gdb.c++/local.exp: Ditto.
20173 * gdb.c++/namespace.exp: Ditto.
20174 * gdb.c++/overload.exp: Ditto.
20175 * gdb.c++/ref-types.exp: Ditto.
20176
dc96c6c7 201772000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
20178
20179 * gdb.base/constvars.exp: Test result of "up" command.
20180 * gdb.base/miscexprs.exp: Ditto.
20181 * gdb.base/pointers.exp: Ditto.
20182 * gdb.base/scope.exp: Ditto.
20183 * gdb.c++/derivation.exp: Ditto.
20184 * gdb.c++/local.exp: Ditto.
20185 * gdb.c++/namespace.exp: Ditto.
20186 * gdb.c++/overload.exp: Ditto.
20187 * gdb.c++/ref-types.exp: Ditto.
20188
44097287
FN
201892000-11-22 Michael Chastain <chastain@redhat.com>
20190
20191 * mips_pro.exp: Accept either "middle -> top -> main" or
20192 "middle -> main" in the backtrace, because gcc can optimize
20193 tail calls to jumps. Remove setup_xfail for the hppa case.
20194 Add a comment with the original warning messages from PR 3016,
20195 which was filed in 1993, to preserve them for posterity.
20196
9d2e1bab
ND
201972000-11-17 Nick Duffek <nsd@redhat.com>
20198
20199 * lib/gdb.exp (gdb_test): Override timeout with board info.
20200
1aca8eb7
ND
202012000-11-17 Nick Duffek <nsd@redhat.com>
20202
20203 * gdb.base/display.exp: Don't kill running stub. Add "again" to
20204 the second kill and detach messages.
20205
93076499
ND
202062000-11-17 Nick Duffek <nsd@redhat.com>
20207
20208 * configure.in: Add AC_EXEEXT.
20209 * configure: Regenerate.
20210 * Makefile.in (just-check): Export EXEEXT.
20211 * lib/gdb.exp ($EXEEXT): Import from environment.
20212 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
20213 expect "maint dump-me" on Cygwin.
20214 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
20215 $EXEEXT.
20216
30e87cd3
ND
202172000-11-17 Nick Duffek <nsd@redhat.com>
20218
20219 * gdb.base/break.exp: Test backtrace and finish from called
20220 function on all platforms, not just HP-UX.
20221
dc96c6c7 202222000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
20223
20224 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
20225 code from gdb_target_monitor, so it can be used independantly
20226 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 20227
dc96c6c7 202282000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
20229
20230 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
20231 * gdb.base/corefile.exp: Expect the message "Program is being
20232 debugged already" when we send the "corefile" command, since
20233 the preceeding gdb_load may have connected gdb to a remote target.
20234 * gdb.base/display.exp: Disable hardware watchpoints if new
20235 board info variable "no_hardware_watchpoints" is true.
20236 Replace single-letter commands with more readable ones.
20237 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
20238 if new board info variable "no_hardware_watchpoints" is true.
20239 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
20240 to see if stdio (printf) testing is possible.
20241 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
20242 board info variable "no_hardware_watchpoints" is true. Use new
20243 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
20244
39124dea
FN
202452000-11-13 Fernando Nasser <fnasser@redhat.com>
20246
20247 From Orjan Friberg <orjanf@axis.com>:
20248 * gdb.base/printcmds.exp: Escape curly braces followed by a number
20249 in array print pattern match.
20250
a9e2e984
FN
202512000-11-09 Fernando Nasser <fnasser@redhat.com>
20252
20253 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
20254 spelling "cancelled" to U.S. spelling "canceled" to match changes
20255 made to gdb.
20256 * gdb.c++/ovldbreak.exp: Ditto.
20257
c7db355b
PS
202582000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
20259
20260 * gdb.base/callfuncs.c (main): Moved to end of file, call
20261 t_double_values to initialize the FPU before inferior calls are made.
20262 * gdb.base/callfuncs.exp: Test for register preservation after calling
20263 inferior functions. Add tests for continuining, finishing and
20264 returning from a stop in a call dummy.
20265
dc96c6c7 202662000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
20267
20268 * gdb.base/commands.exp: Break up long lines, and re-indent.
20269
dc96c6c7 202702000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
20271
20272 * config/gdbserver.exp: Rewritten from the ground up, to make it
20273 compatible with the current dejagnu tree, and to make it work with
20274 the new "gdbserver" in libremote.
20275
dc96c6c7 202762000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
20277
20278 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
20279 * gdb.base/varargs.exp: Skip entire test if no printf support.
20280 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
20281 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
20282
dc96c6c7 202832000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
20284
20285 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
20286 no floating point support.
20287 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
20288 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
20289 * gdb.base/call-rt-st.exp: Ditto.
20290 * gdb.base/call-strs.exp: Ditto.
20291
bac5fc66
JG
202922000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
20293
20294 * gdb.base/sizeof.c: include <stdio.h>.
20295
20296 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
20297 'finish', otherwise uncaptured gdb_prompt would potentially
20298 throw remaining test points out of sync.
bac5fc66 20299
b22a6027
SB
203002000-07-26 Scott Bambrough <scottb@netwinder.org>
20301
20302 * gdb.base/recurse.exp: Run tests for all targets.
20303 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
20304 gnu-oldld case on ARM.
20305 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
20306 for ARM targets.
d63a86f8 20307
d8231941
AG
20308Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
20309
20310 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
20311 * gdb.java/configure: Rebuild.
20312
8caabe69
AG
20313Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
20314
20315 * gdb.java/jv-exp.exp: New file.
20316
9d273ca3
AG
20317Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
20318
20319 * configure: Rebuilt.
20320 * configure.in (configdirs): Add gdb.java.
20321 * gdb.java/jmisc.java: New file.
20322 * gdb.java/jmisc.exp: New file.
20323 * gdb.java/Makefile.in: New file.
20324 * gdb.java/configure: Rebuilt.
20325 * gdb.java/configure.in: New file.
20326 * lib/java.exp: New file.
20327
4f823a66
AC
20328Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
20329
20330 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 20331 underflow.
4f823a66 20332
2391e11d
AC
20333Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
20334
20335 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 20336 and the compilers sizes.
2391e11d 20337
54602222
ND
203382000-07-09 Nick Duffek <nsd@redhat.com>
20339
20340 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
20341 (use_methods): New function.
20342 (main): Call use_methods().
20343 * gdb.c++/classes.exp (test_method_param_class): New procedure.
20344 (do_tests): Call test_method_param_class.
20345
2bec0572
ND
203462000-07-09 Nick Duffek <nsd@redhat.com>
20347
20348 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
20349 spelling.
20350 (test_enums): New procedure. Move enum tests from end of script
20351 to here. Set breakpoint on function name instead of line number.
20352 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
20353 (enums2): New marker function.
20354 (enums1): New function.
20355 (main): Call enums1(). Move enum tests to enums1().
20356
78492fde
AC
20357Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
20358
20359 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 20360 compile/link program. Update line numbers.
78492fde
AC
20361 * gdb.asm/d10v.inc: Define ``startup''.
20362 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 20363
49a2cef8
AC
20364Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
20365
20366 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
20367
3e6c8688
EZ
203682000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20369
20370 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 20371 of 'help maint print' command.
3e6c8688 20372
9ff5cbe9
AC
20373Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
20374
20375 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 20376 they use gdb_expect_list.
9ff5cbe9 20377
17c579bd
AC
20378Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
20379
20380 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
20381 memory-read-packet-size'' instead of ``set endian big'' to test
20382 long commands.
17c579bd 20383
e6d71bf3
DB
203842000-06-03 Daniel Berlin <dan@cgsoftware.com>
20385
20386 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 20387 g++, and stop skipping them.
e6d71bf3
DB
20388
20389 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
20390 work under g++.
20391
d63a86f8 20392 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
20393 initialization.
20394
dc96c6c7 203952000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
20396
20397 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
20398 the regular expression: accept an (almost) arbitrary sequence of
20399 "frames-invalid" and "breakpoints-invalid" messages both before
20400 and after the "starting" message.
20401
dc96c6c7 204022000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
20403
20404 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 20405
dc96c6c7 204062000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
20407
20408 * gdb.base/annota1.exp (annotate-signal-handler-caller):
20409 Relax the regular expression a little, make it pass on Solaris 8.
20410
8216cda9
KB
204112000-05-12 Kevin Buettner <kevinb@redhat.com>
20412
20413 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 20414 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
20415 Instead, it is permissible for gdb to stop on the line of the
20416 call itself.
20417
1a570b2f
MS
204182000-05-12 Michael Snyder <msnyder@.cygnus.com>
20419
20420 * gdb.base/break.exp (bp on small function, optimized file):
20421 Add a second pass pattern. The behavior differs here between stabs
20422 and dwarf for one-line functions. Stabs preserves two line symbols
20423 (one before the prologue and one after) with the same line number,
20424 but dwarf regards these as duplicates and discards one of them.
20425 Therefore the address after the prologue (where the breakpoint is)
20426 has no exactly matching line symbol, and GDB reports the breakpoint
20427 as if it were in the middle of a line rather than at the beginning.
20428
dc96c6c7 204292000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 20430
d63a86f8 20431 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
20432 rather than "send_gdb" (for consistancy).
20433
7d418785
AC
20434Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
20435
20436 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
20437 * gdb.c++/templates.cc: Properly check for GCC version number.
20438 * lib/compiler.cc: Likewise
20439
dc96c6c7 204402000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 20441
d63a86f8 20442 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
20443 gdb may not stop at the first line of main, due to code motion.
20444
dc96c6c7 204452000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
20446
20447 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
20448 This test depends on parsing the printf output from the target.
20449 Since the sparclet stub doesn't do stdio, this will never work.
20450 * gdb.base/call-rt-st.exp: ditto.
20451 * gdb.base/call-strs: ditto.
20452
dc96c6c7 204532000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
20454
20455 * gdb.base/miscexprs.exp: make sizeof long array test portable.
20456
20457 * gdb.base/ending-run.exp: After connecting to a remote target,
20458 but before running, the target will appear to be in a random
20459 location. Specify both a file and a line for breakpoints.
20460 Also, the function that calls main may be called 'init'
20461 rather than 'start'.
20462
a5a51225
EZ
204632000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20464
20465 * gdb.base/help.exp: Update output for add-symbol-file command.
20466
7930cc7c
FN
204672000-04-10 Fernando Nasser <fnasser@cygnus.com>
20468
20469 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20470 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
20471
23e37ab1
C
204722000-04-07 J.T. Conklin <jtc@redback.com>
20473
e93c542c
C
20474 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
20475
23e37ab1
C
20476 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
20477
591b8fa3
PDM
20478Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
20479
20480 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 20481 values that can be represented exactly.
591b8fa3
PDM
20482 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
20483 above change, and to not check against the directory part of the source
20484 file name.
20485 (step into print_long_arg_list): Likewise.
20486 (print print_small_structs from print_long_arg_list): Likewise.
20487 (print print_long_arg_list): Likewise.
20488
7a495180
EZ
204892000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20490
30b53638 20491 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 20492
beb998c6
AC
20493Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
20494
20495 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
20496
1c689132
DB
204972000-03-25 Daniel Berlin <dan@cgsoftware.com>
20498
20499 * gdb.base/commands.exp (deprecated_command_test): Add test for
20500 deprecate with no arguments.
20501
c1790a9d
JL
205022000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
20503
20504 * gdb.base/break.exp: Add new test for setting breakpoints on
20505 optimized code so we can test breakpoints work even when function
20506 prologues may be optimized away
20507
003ba290
FN
205082000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
20509
20510 From David Whedon <dwhedon@gordian.com>
a9c64011 20511 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 20512
6837a0a2
DB
205132000-03-22 Daniel Berlin <dan@cgsoftware.com>
20514
20515 * gdb.base/help.exp: Added test for new apropos command.
20516
b9593231
KB
205172000-03-21 Kevin Buettner <kevinb@redhat.com>
20518
20519 * gdb.base/pointers.c (usevar): New function.
20520 (main): Make sure that global variables v_int_pointer2, rptr,
20521 and y are all referenced someplace in the program by calling
20522 usevar() on them. [Some linkers delete symbols which are
20523 never referenced. The space remains, but there's no way to
20524 get a (symbolic) handle on the variable from the debugger.]
20525
751a959b
EZ
205262000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20527
20528 * gdb.base/printcmds.c: Add typedeffed arrays.
20529
20530 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 20531 procedure to test arrays that are typedef'd.
751a959b 20532
73a93a32
JI
205332000-03-13 James Ingham <jingham@leda.cygnus.com>
20534
20535 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 20536 the library directories.
73a93a32 20537
fb40c209
AC
20538Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
20539
20540 * configure.in (configdirs): Add sub directory gdb.mi.
20541 * configure: Re-generate.
20542
20543 * gdb.mi: New directory.
d63a86f8 20544
ee4dd2c9
AC
205452000-02-25 Scott Bambrough <scottb@netwinder.org>
20546
20547 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 20548 a long long value as a double on ARM platforms.
ee4dd2c9 20549
70f0cc22
JB
205502000-02-16 Jim Blandy <jimb@redhat.com>
20551
20552 * gdb.base/break.exp ("breakpoint line number"): Make sure the
20553 default source file is set properly before running this test.
20554
853819b8
EZ
205552000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20556
20557 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 20558 gdbtk/library directory, not in gdbtcl2.
853819b8 20559
dfcd3bfb
JM
205602000-02-04 Jim Blandy <jimb@redhat.com>
20561
20562 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
20563 backslash from regexp pattern.
20564
20565 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
20566 procedure. Use it to run all the "continue to bp overloaded"
20567 tests. Note that this changes the names of the tests slightly.
20568 If the breakpoint hit message includes a hex PC value, because
20569 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
20570 from the real source code, still consider that a pass.
20571
20572 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
20573 XFAIL here if the breakpoint message contains a hex address. Note
20574 similar change on 1999-11-02.
20575
20576 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
20577
20578 * gdb.base/ptype.exp: Establish a default source file before
20579 calling get_debug_format.
20580
205812000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
20582
20583 * gdb.base/watchpoint.exp: Remove duplication of test messages.
20584
8b93c638
JM
205852000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
20586
20587 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
20588 of successive stepi commands -- while in the prologue we should see
20589 the function entry bracket.
20590
205912000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
20592
20593 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
20594 reach __change_mode() when stepping through the end of main().
20595
c5394b80
JM
205962000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
20597
20598 * gdb.base/default.exp: Fix expected pattern.
20599 * gdb.base/help.exp: Same.
20600
0d06e24b
JM
206012000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20602
20603 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 20604 Don't use xfail's because that affects only the following test.
d63a86f8 20605
0d06e24b 20606 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 20607 solaris or linux.
0d06e24b
JM
20608
20609 * gdb.base/selftest.exp: Update to reflect changes to main.c.
20610
dc96c6c7 206112000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 20612
d63a86f8 20613 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
20614 "A syntax error" rather than "A parse error". Accept both.
20615
206162000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
20617
20618 * gdb.base/default.exp: Remove OS dependent string from "target
20619 remote" test.
20620 * gdb.base/help.exp: Same for "help target remote" test.
20621
c3f6f71d
JM
206222000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20623
20624 From Jim Kingdon <kingdon@redhat.com>:
20625
20626 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
20627 prompt (cleanup rather than necessity, but still might keep output
20628 from spilling to next test).
c3f6f71d
JM
20629
206302000-01-02 Fred Fish <fnf@cygnus.com>
20631
20632 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
20633 AIX, which defines them in <sys/types.h>.
20634
ed9a39eb 206351999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 20636
ed9a39eb 20637 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 20638 float" test.
ed9a39eb
JM
20639
206401999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 20641
ed9a39eb 20642 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
20643
20644 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
20645 outermost frame disallowed".
20646
206471999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
20648
20649 * gdb.base/setvar.exp: New tests for setting the value of a struct
20650 with a constant list.
20651
206521999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20653
20654 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
20655 require the user to type a cast before setting the value of a struct.
20656
de57eccd
JM
206571999-12-06 Jim Blandy <jimb@cygnus.com>
20658
20659 * gdb.base/default.exp: Expect the new 'info float' command on
20660 all i386 platforms.
20661
20662 * gdb.threads/linux-dp.exp: Expand our ability to recognize
20663 LinuxThreads libraries that don't support debugging.
20664
c2d11a7d
JM
20665Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20666
20667 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
20668 Change the buffer type to ``unsigned char'' to simplify size
20669 arithmetic.
c2d11a7d
JM
20670
20671 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
20672 stub only handles 400-1 byte packets. Verify that the download
20673 worked.
c2d11a7d
JM
20674
206751999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
20676
20677 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
20678 tests, using UNRESOLVED for the untested cases. Also, does not wait
20679 for a timeout if the prompt was received before a recognizable pattern.
20680
206811999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
20682
20683 * lib/gdb.exp (gdb_expect_list): Fix spelling.
20684
206851999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20686
20687 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 20688 watchpoints.
c2d11a7d
JM
20689
206901999-11-24 Jason Merrill <jason@casey.cygnus.com>
20691
20692 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
20693
20694 * gdb.c++/local.exp: Be more flexible in recognizing local class
20695 name mangling. Don't allow horribly truncated method names.
20696 * gdb.c++/derivation.exp: Expect protected inheritance.
20697 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
20698 * gdb.c++/virtfunc.exp: Likewise.
20699 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
20700 when printing a nested enum.
20701
207021999-11-22 Jim Blandy <jimb@cygnus.com>
20703
20704 * gdb.base/step-test.exp: Properly await GDB's response to setting
20705 a breakpoint on the call to large_struct_by_value.
20706
20707 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
20708 just because we have debug info for the `start' function.
20709
207101999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
20711
20712 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
20713 "Unknown signal" messages, which indicate (on LinuxThreads) that
20714 GDB doesn't know how to debug threads on this system. This is
20715 better than hanging while philosopher 0 dumps chatter into gdb.log.
20716
207171999-11-18 Tom Tromey <tromey@cygnus.com>
20718
20719 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
20720
207211999-11-18 Fred Fish <fnf@cygnus.com>
20722
20723 * gdb.base/coremaker2.c: Add sample program for generating
20724 cores that is more self contained than coremaker.c. Eventually
20725 I'll add more code to this and tie it into the testsuite.
20726
4ce44c66
JM
207271999-11-12 Stan Shebs <shebs@andros.cygnus.com>
20728
20729 * gdb.base/dollar.exp: Remove, now in gdb.hp.
20730
207311999-11-10 Jimmy Guo <guo@cup.hp.com>
20732
20733 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 20734 from $srcdir/lib/.
4ce44c66 20735 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 20736 and gdb.c++/.
4ce44c66
JM
20737
20738 * gdb.c++/derivation.exp: remove redundant get compiler info code.
20739
d63a86f8 20740 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
20741 'continue with watch' test point.
20742
207431999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
20744
20745 Merged from p2linux-990323-branch:
d63a86f8 20746
4ce44c66
JM
20747 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
20748
11cf8741
JM
20749Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
20750
20751 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 20752 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
20753
20754Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
20755
20756 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 20757 gdb_expect_list.
11cf8741
JM
20758
20759Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
20760
20761 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
20762
207631999-11-03 Mark Salter <msalter@cygnus.com>
20764
20765 * gdb.base/break.exp: Fix "stub continue" pattern.
20766
207671999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
20768
20769 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
20770
207711999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
20772
20773 * gdb.base/display.exp ("finish"): Add timeout clause.
20774
20775 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
20776 plain prompt clause, so this doesn't have to time out in order to
20777 fail.
20778
20779 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 20780 breakpoint hit messages include an address.
11cf8741
JM
20781
20782 * gdb.base/display.exp: Don't forget to escape parens in regular
20783 expressions. Unix regexp notatation sucks.
20784
207851999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20786
20787 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 20788 order for 'signalled' message.
11cf8741 20789
5c44784c
JM
207901999-11-01 Stan Shebs <shebs@andros.cygnus.com>
20791
20792 From Jimmy Guo <guo@cup.hp.com>:
20793 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
20794 * gdb.base/annota1.c: Add code for tests to work with.
20795
207961999-10-26 Frank Ch. Eigler <fche@cygnus.com>
20797
20798 * gdb.base/remote.exp: New test for remote downloading settings.
20799 * gdb.base/remote.c: New file with large .data.
20800
917317f4
JM
208011999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
20802
20803 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
20804 for LinuxThreads support, merged from the Code Fusion branch.
20805
20806Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
20807
20808 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
20809 containing exp_continue into a while within an expect. Don't
20810 attempt a start more than three times. Check return value from
20811 gdb_load.
d63a86f8 20812
2df3850c
JM
20813Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
20814
20815 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 20816 a pass case.
2df3850c 20817
2acceee2
JM
208181999-10-01 Kevin Buettner <kevinb@cygnus.com>
20819
20820 * gdb.base/break.c (main): Added a statement that we can step
20821 off of.
20822 * gdb.base/break.exp: Added tests for setting a breakpoint
20823 at an offset and stepping onto a breakpoint.
20824
208251999-10-01 Fred Fish <fnf@cygnus.com>
20826
d63a86f8 20827 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
20828 gdb output.
20829
c2c6d25f
JM
208301999-09-18 Jim Blandy <jimb@cris.red-bean.com>
20831
20832 * gdb.base/break.exp: Code locations are in hex, don't forget!
20833 (For HP-UX.)
20834
208351999-09-17 Stan Shebs <shebs@andros.cygnus.com>
20836
20837 * condbreak.exp: Use break.c as test program.
20838 * condbreak.c: Remove, redundant with break.c.
20839
208401999-09-15 Stan Shebs <shebs@andros.cygnus.com>
20841
20842 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 20843 Z-packets if the target needs it.
c2c6d25f
JM
20844
208451999-09-13 James Ingham <jingham@leda.cygnus.com>
20846
20847 * gdb.c++/overload.exp: Added tests for listing overloaded
20848 functions with function pointers in the arg, explicitly calling
20849 out the version you want.
20850
cff3e48b
JM
208511999-09-09 Stan Shebs <shebs@andros.cygnus.com>
20852
20853 * long_long.exp: Add variations of test cases that work for
20854 targets with 16-bit ints and 32-bit doubles.
20855
d4f3574e
SS
208561999-09-08 Stan Shebs <shebs@andros.cygnus.com>
20857
20858 * break.c (main): Compare a possibly-uninitialized argc with an
20859 unlikely value that fits in 16 bits.
20860
208611999-09-07 Stan Shebs <shebs@andros.cygnus.com>
20862
20863 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
20864 0xfeeb, don't want negative numbers if ints are 16 bits.
20865
20866 * lib/gdb.exp (skip_cplus_tests): New proc.
20867 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
20868 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
20869 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
20870 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
20871 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
20872 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
20873 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
20874 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
20875
20876 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
20877
20878Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
20879
20880 * gdb.base/corefile.exp (up): Allow a parameter to appear
20881 in the frame that we're going up to.
20882
20883 From Jim Blandy <jimb@cygnus.com>:
20884
20885 * gdb.base/default.exp (info float): Expect some output now.
20886
20887 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
20888 returning floating-point values to fail on the x86.
20889 * gdb.base/callfwmall.exp (do_function_calls): Same.
20890
20891 * gdb.base/list.exp (test_listsize): Correct expectations for
20892 listing line 1 with listsize 2. Also, listing a single line
20893 works now, as does listing three lines. [Kevin's note: There
20894 were a number of other cases fixed too where the expectations
20895 differed...]
20896
208971999-09-02 Stan Shebs <shebs@andros.cygnus.com>
20898
20899 * gdb.base/selftest.exp: Add case for when version prints as
20900 constant string instead of char pointer.
20901
104c1213
JM
209021999-08-25 Stan Shebs <shebs@andros.cygnus.com>
20903
20904 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 20905 stepping out of main.
104c1213
JM
20906
20907 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
20908 G++ used.
20909
20910 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 20911 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
20912
20913 * gdb.c++/ovldbreak.exp: Update match string in test that
20914 includes a warning of multiple breakpoints.
20915
209161999-08-24 Stan Shebs <shebs@andros.cygnus.com>
20917
20918 * gdb.base/display.exp: Improve precision of step-after-finish
20919 added yesterday.
20920
20921 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 20922 test.
104c1213
JM
20923
20924 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
20925 configs when using G++, not just hppa*.
20926
209271999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20928
20929 * gdb.base/async.c: New file.
20930 * gdb.base/async.exp: New file.
20931
20932Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
20933
20934 * gdb.base/break.exp: Tweak PA specific tests to properly handle
20935 PA64.
20936
53a5351d
JM
20937Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
20938
104c1213
JM
20939 * gdb.base/display.exp: "finish" can leave us mid-line on many
20940 targets, deal with it. Add a small constant to main, instead of
20941 1000 since main+1000 may not be a valid address in the target.
20942
53a5351d
JM
20943 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
20944 on hpux11.
20945
20946 * gdb.base/attach.exp: Handle another hpux11 error message variant
20947 when attaching to a process that does not exist.
20948
209491999-08-19 J.T. Conklin <jtc@redback.com>
20950
20951 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 20952 characters in 'continue to 1241' test.
53a5351d
JM
20953
209541999-08-17 Stan Shebs <shebs@andros.cygnus.com>
20955
20956 * gdb.base/call-ar-st.exp: Add a shorter match case for the
20957 stop in print_long_arg_list, define and use a whitespace
20958 variable in print_small_structs test, add an XFAIL for Solaris.
20959 * gdb.base/dbx.exp: XFAIL func commands until somebody is
20960 interested enough to fix.
20961
7be570e7
JM
209621999-08-13 Keith Seitz <keiths@cygnus.com>
20963
20964 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
20965 (dbx_gdb_load): Remove. Use gdb_load instead, since that
20966 proc knows about targets other than the natives.
20967 (test_assign): Use "gdb_run_cmd" to "run" the target.
20968 Check that we've actually hit the breakpoint at main.
20969 When we attempt to assign a value to a local variable, check
20970 that the variable is in the current scope, i.e., don't use
20971 a test with an empty result.
20972
20973Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
20974
20975 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 20976 command.
7be570e7
JM
20977
209781999-08-09 Stan Shebs <shebs@andros.cygnus.com>
20979
20980 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20981 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
20982 gdb.compat, gdb.threads-hp.
20983 gdb.hp/configure, gdb.hp/configure.in: New files.
20984 gdb.hp/Makefile.in: Recurse into new subdirs.
20985 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
20986 gdb.hp/gdb.objdbg: New directory, tests for debugging info
20987 in object files.
20988 gdb.hp/tools: New directory, aux tools for HP-specific tests.
20989
96baa820
JM
209901999-08-05 Stan Shebs <shebs@andros.cygnus.com>
20991
20992 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 20993 funky printf, remove a bogus p/a test.
96baa820
JM
20994
209951999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20996
20997 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
20998 connected to the target. This is necessary when running not
20999 natively.
96baa820
JM
21000
210011999-08-03 Stan Shebs <shebs@andros.cygnus.com>
21002
21003 * gdb.base/step-test.exp: Removed some extraneous messages.
21004
21005 * gdb.base/long_long.exp: Don't run memory examination tests
21006 on little-endian targets (they will need a different set of
21007 results to match).
21008
210091999-08-02 Stan Shebs <shebs@andros.cygnus.com>
21010
21011 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
21012 until somebody decides to fix GDB.
21013
21014 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 21015 constant as "ULL".
96baa820
JM
21016 * gdb.base/long_long.exp: Loosen x/c test, add partial result
21017 matches for a couple x/2 commands.
21018
a0b3c4fd
JM
210191999-07-30 Stan Shebs <shebs@andros.cygnus.com>
21020
21021 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
21022 by merging in ref-types2 tests.
21023 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
21024
21025 From Jimmy Guo <guo@cup.hp.com> and others at HP:
21026 * gdb.c++/Makefile.in: Add standard actions.
21027 (EXECUTABLES): Rename from PROGS, update list.
21028 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
21029 from gdb.hp.
21030 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
21031 foo and bar locals.
21032 * gdb.c++/anon-union.exp: Fix tests to match.
21033 * gdb.c++/classes.exp: Run if HP compiler used, add extra
21034 expect matches to handle output variations.
21035 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
21036 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 21037 output, add HP alternatives for new and delete prints.
a0b3c4fd 21038 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 21039 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
21040 * gdb.c++/demangle.exp: Use $style when reporting failure.
21041 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
21042 * gdb.c++/inherit.exp: Run if HP compiler used, add some
21043 match alternatives.
21044 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 21045 compilers.
a0b3c4fd
JM
21046 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
21047 * gdb.c++/method.exp: Add match alternatives.
21048 * gdb.c++/misc.cc: Add bool types.
21049 * gdb.c++/misc.exp: Add tests for bool types.
21050 * gdb.c++/overload.exp: Add xfails.
21051 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
21052 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
21053 add some more template parameter tests (only for HP currently).
21054 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
21055 * gdb.c++/virtfunc.cc: Add return type and value for main.
21056 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
21057 match alternatives.
d63a86f8 21058
a0b3c4fd
JM
210591999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21060
21061 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
21062
210631999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
21064
21065 * gdb.base/signals.exp: Don't expect getting a backtrace from
21066 within a signal handler to fail on Linux.
21067
210681999-07-29 Stan Shebs <shebs@andros.cygnus.com>
21069
21070 From Jimmy Guo <guo@cup.hp.com> and others at HP:
21071 * lib/gdb.exp: Remove some gratuitious semicolons.
21072 (delete_breakpoints): Increase timeout.
21073 (gdb_expect): Add -notransfer option.
21074 (gdb_test): Use -notransfer option.
21075 (get_compiler_info): Add f77 case.
21076 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 21077 case.
a0b3c4fd
JM
21078 (gdb_preprocess): Call get_compiler.
21079
21080 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
21081 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
21082 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
21083 gdb.base/long_long.exp, gdb.base/printcmds.exp,
21084 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
21085 third arg to gdb_test.
a0b3c4fd
JM
21086 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
21087 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 21088 HP-UX xfails, add others.
a0b3c4fd
JM
21089 * gdb.base/completion.exp: Reflect name change of self-test.
21090 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
21091 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
21092 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
21093 HP failure number.
a0b3c4fd
JM
21094 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
21095 useless HP-UX 10.30 references.
21096 * gdb.base/maint.exp: Loosen matches.
21097 * gdb.base/pointers.c (main): Declare more_code.
21098 * gdb.base/pointers.exp: Match on output of a `next'.
21099 * gdb.base/structs.c: Add prototypes.
21100 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
21101 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
21102
211031999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21104
21105 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 21106 command.
a0b3c4fd
JM
21107
211081999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21109
21110 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
21111 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
21112
21113 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
21114 debug info. Deal with lack of signal hanlder info in stack.
21115
a9c64011 21116 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
21117 * gdb.base/annota1.exp: If printf has debug info, deal with it.
21118
5a2468f5
JM
211191999-07-19 Stan Shebs <shebs@andros.cygnus.com>
21120
21121 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 21122 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 21123
adf40b2e
JM
21124Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
21125
21126 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 21127 a1-selftest.exp.
adf40b2e
JM
21128 * gdb.base/configure: Re-generate.
21129
211301999-07-12 Stan Shebs <shebs@andros.cygnus.com>
21131
21132 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
21133 in trying to run first and name is too long.
21134
21135 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
21136 pointers2.c and pointers2.exp, respectively.
21137 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
21138 doschk happier.
21139
43e526b9
JM
211401999-07-08 Stan Shebs <shebs@andros.cygnus.com>
21141
21142 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
21143 callfuncs2.c and callfuncs2.exp.
21144
21145 * gdb.base/list.exp: Remove mistaken xfails.
21146 * gdb.base/list0.h: Add optional prototypes.
21147
9846de1b
JM
21148Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
21149
a9c64011 21150 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 21151 calling malloc.
a9c64011
AS
21152 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
21153 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 21154 use.
9846de1b
JM
21155
211561999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21157
21158 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
21159 * gdb.base/annota2.cc, annota2.exp: Move from here.
21160 * gdb.c++/annota2.cc, annota2.exp: To here.
21161 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
21162
43ff13b4
JM
21163Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
21164
21165 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 21166 a consistent format.
43ff13b4 21167
085dd6e6
JM
211681999-06-25 Stan Shebs <shebs@andros.cygnus.com>
21169
21170 From Jimmy Guo <guo@cup.hp.com> and others at HP:
21171 * lib/gdb.exp (get_compiler_info): Add detection for assorted
21172 HP compilers, also set the globals $true and $false.
21173
21174 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
21175 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
21176 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
21177 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
21178 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
21179 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
21180 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
21181 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
21182 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
21183 whatis.c} Add C++ compatible function definitions and return
21184 types, add includes for library functions.
085dd6e6
JM
21185 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
21186 * gdb.base/step-test.c (myglob): Rename from glob.
21187 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
21188 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
21189 files, move here from gdb.hp.
085dd6e6 21190 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
21191 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
21192 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
21193 Adjust line numbers in regexps.
085dd6e6
JM
21194
21195 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
21196 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
21197 instead of 0/1.
21198
21199 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
21200 foll-vfork.exp: New files, move here from gdb.hp.
21201 * gdb.base/page.exp: New file, test of pagination command.
21202
21203 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
21204 recursion test.
21205 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
21206
21207 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 21208 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
21209
21210 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 21211 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 21212 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 21213 watchpoint test.
085dd6e6
JM
21214 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
21215 them work.
21216 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
21217 expressions properly.
21218 * gdb.base/corefile.exp: Loosen the match slightly.
21219 * gdb.base/default.exp: Allow "Error accessing memory" message
21220 also.
21221 * gdb.base/display.exp: Skip over x/0 j if PA64.
21222 * gdb.base/funcargs.exp: Add xfails for HP-UX.
21223 * gdb.base/interrupt.exp: Ditto.
21224 * gdb.base/langs.exp: Add symbolic matches governed by compiler
21225 in use.
21226 * gdb.base/list.exp: Add xfails for HP-UX.
21227 * gdb.base/long_long.exp: Refine some of the numeric matches.
21228 * gdb.base/mips_pro.exp: Xfail on HP-UX.
21229 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
21230 * gdb.base/nodebug.exp: Succeed on more varieties of output.
21231 * gdb.base/opaque.exp: Remove some HP-UX xfails.
21232 * gdb.base/ptype.exp: Succeed on more varieties of output.
21233 * gdb.base/scope.exp: Add xfails for HP-UX.
21234 * gdb.base/sect-cmd.exp: Add more cases.
21235 * gdb.base/setvar.exp: Add xfails for HP-UX.
21236 * gdb.base/shlib-call.exp: Loosen some matches slightly.
21237 * gdb.base/signals.exp: Match on void symbolically.
21238 * gdb.base/step-test.exp: Add case for PA64.
21239 * gdb.base/term.exp: Add exit and restart.
21240 * gdb.base/twice.exp: Clean up after self.
21241 * gdb.base/varargs.exp: Disable overload resolution explicitly.
21242 * gdb.base/whatis.exp: Allow more ways to pass tests.
21243
21244 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 21245 no longer useful.
085dd6e6
JM
21246
21247Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
21248
21249 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 21250 list of patterns.
085dd6e6 21251 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
21252 print_double_array(double_array)", "continuing to breakpoint
21253 1018", "print print_double_array(array_d)" and "continuing to
21254 1034" tests.
d63a86f8 21255
085dd6e6
JM
212561999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
21257
a9c64011 21258 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
21259
212601999-06-24 Stan Shebs <shebs@andros.cygnus.com>
21261
21262 * config/mt-*: Remove, these haven't been used since 1996.
21263
212641999-06-22 Stan Shebs <shebs@andros.cygnus.com>
21265
21266 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 21267 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
21268 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
21269
9e0b60a8
JM
212701999-06-18 Stan Shebs <shebs@andros.cygnus.com>
21271
21272 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
21273 simpler match case for the ptype of the big class.
21274
212751999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
21276
21277 * gdb.exp: Fix test for gdb_prompt existence.
21278
212791999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
21280
21281 * gdb.exp (gdb_test): Add fail after calls to perror.
21282
212831999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
21284
21285 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
21286
212871999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
21288
21289 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
21290
0f71a2f6
JM
21291Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
21292
21293 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 21294 malloc() is linked in.
0f71a2f6
JM
21295
212961999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
21297
21298 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
21299 step at end.
21300
21301 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
21302
213031999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
21304
21305 * gdb.java/jv-print.exp: New file. (Our first Java test!)
21306
cce74817
JM
21307Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
21308
21309 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
21310 * gdb.base/mips_pro.exp: Likewise.
21311
213121999-06-02 Keith Seitz <keiths@cygnus.com>
21313
21314 * gdb.c++/templates.cc: Change all "new" operators to throw
21315 an exception.
21316 * gdb.c++/cplusfuncs.cc: Likewise.
21317
21318 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
21319
21320Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
21321
21322 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
21323 * gdb.base/ending-run.exp: When stepping out of main, accept a
21324 step into an arbitrary assembler file.
cce74817 21325
392a587b
JM
213261999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21327
d63a86f8 21328 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 21329 "breakpoint-invalid" to be printed.
d63a86f8 21330 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
21331 number of "frames-invalid" and "breakpoint-invalid" to be printed.
21332 * gdb.base/annota2.cc: Initialize a.x to 0.
21333
9e086581
JM
213341999-05-17 Keith Seitz <keiths@cygnus.com>
21335
21336 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
21337 when "skip_float_tests" set.
21338 Ditto for "print print_double_array(array_d)", "print print_small_structs",
21339 "print print_ten_doubles", and "step into print_long_arg_list".
21340 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
21341 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
21342 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
21343 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
21344 "skip_float_tests" is set.
21345 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
21346 when "skip_float_tests" set.
d63a86f8 21347
cd0fc7c3
SS
213481999-05-06 Keith Seitz <keiths@cygnus.com>
21349
21350 * gdb.base/annota2.cc: Include stdio.h.
21351
21352Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
21353
21354 * gdb.base/crossload.exp: Remove, this has been disabled ever
21355 since BFD stopped including all targets, and cross-GDB gets
21356 plenty of testing anyway.
21357 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
21358 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
21359 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
21360 * gdb.base/README: Remove, was doc for this.
21361 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 21362 needed.
cd0fc7c3 21363
b83266a0
SS
213641999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21365
21366 * gdb.base/call-ar-st.exp: Fix one regular expression in test
21367 output.
21368
21369 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
21370 * gdb.base/annota2.exp: New file. More annotation tests.
21371 * gdb.base/annota1.c: New file. Source file for annota1.exp.
21372 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
21373
213741999-04-23 Angela Marie Thomas <angela@cygnus.com>
21375
21376 * config/cfdbug.exp: New file.
21377
7a292a7a
SS
213781999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
21379
21380 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
21381 Marcus Daniel's and Dale Hawkins's demangler crashes.
21382
21383 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
21384 test_lucid_style_demangling, test_arm_style_demangling,
21385 test_hp_style_demangling): Try Tom Tromey's core-dumping
21386 identifier under each demangling style.
7a292a7a
SS
21387
213881999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
21389
21390 * gdb.c++/demangle.exp: Include the current demangling style
21391 in all test names.
21392 (current_demangling_style): New global variable.
21393 (set_demangling_style, test_demangling_core, test_demangling,
21394 test_demangling_exact): New functions.
21395 (test_gnu_style_demangling, test_lucid_style_demangling,
21396 test_arm_style_demangling, test_hp_style_demangling): Use those,
21397 instead of calling gdb_test and gdb_test_exact directly.
21398 (catch_demangling_errors): New function, which reports errors
21399 signalled by the demangling test functions in an orderly way.
21400 (do_tests): Use catch_demangling_errors.
21401
214021999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
21403
21404 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 21405 grouping in expressions, not {}.
7a292a7a
SS
21406
21407 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 21408 initialized yet.
7a292a7a
SS
21409
214101999-04-01 Stan Shebs <shebs@andros.cygnus.com>
21411
21412 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
21413 are listed.
21414
214151999-03-26 Stan Shebs <shebs@andros.cygnus.com>
21416
21417 * gdb.stabs/weird.exp: Test for CC being defined before
21418 looking at its value.
21419
214201999-03-25 Stan Shebs <shebs@andros.cygnus.com>
21421
21422 * gdb.base/call-ar-st.exp: Remove stray '#'.
21423 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
21424 "short int" and "long int".
21425 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 21426 change, to mollify finicky HP compiler.
7a292a7a
SS
21427 * gdb.hp/reg-test.exp (testfile): Fix file name.
21428 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 21429
7a292a7a
SS
21430 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
21431 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
21432 alternate form of enum ptype.
21433
c906108c
SS
214341999-03-23 Stan Shebs <shebs@andros.cygnus.com>
21435
7a292a7a
SS
21436 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
21437 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
21438 passing skip_hp_tests, so as not to waste time on guaranteed
21439 failure.
7a292a7a 21440
c906108c
SS
21441 * gdb.c++/overload.cc: Pass string instead of char addr, always
21442 init ccpfoo.
21443 * gdb.c++/templates.cc: Fix syntax error.
21444
7a292a7a
SS
21445Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21446
21447 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 21448 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
21449 command.
21450
214511999-03-18 James Ingham <jingham@cygnus.com>
21452
21453 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
21454
21455 * gdb.c++/method.exp: It was testing an uninitialized int on the
21456 stack and assuming it was positive.
21457
21458 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
21459
21460 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 21461 keep it from killing the rest of the tests.
7a292a7a
SS
21462 Use gdb_continue_to_end.
21463
21464 * gdb.base/sigall.exp: use gdb_continue_to_end.
21465
21466 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
21467
21468 * gdb.base/display.exp: use runto_main, not run.
21469
d63a86f8
RM
21470 * gdb.base/default.exp: Check for the current error message in the
21471 r abbreviation test.
7a292a7a
SS
21472 Add strongarm to the targets that know info float.
21473
d63a86f8 21474 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
21475 run which doesn't work with monitors.
21476
21477 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
21478
21479 * gdb.base/break.exp: use the gdb_continue_to_end proc.
21480
21481 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
21482 program. Traps the case (in Cygmon) when the program never really
21483 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
21484 more places, so I used my name. Sorry Mark...
21485
21486 * config/monitor.exp (gdb_target_monitor): added another
21487 target_info parameter: remotebinarydownload. This will set the
21488 remotebinarydownload flag if this is causing some boards trouble.
21489
214901999-03-18 Mark Salter <msalter@cygnus.com>
21491
21492 * lib/gdb.exp (continue_to_exit): New function.
21493
21494 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
21495 * gdb.base/ending-run.exp: Ditto.
21496 * gdb.base/step-test.exp: Ditto.
21497
214981999-03-16 Stan Shebs <shebs@andros.cygnus.com>
21499
21500 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
21501 (suggested by Art Haas <ahaas@neosoft.com>).
21502
215031999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
21504
889bf7c5 21505 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
21506
21507Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
21508
21509 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 21510 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
21511
215121999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
21513
21514 * gdb.base/call-strs.exp: Don't assume that `step' will step over
21515 a call to strlen; sometimes we do have sources.
21516
215171999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
21518
21519 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 21520 character, so GDB won't print garbage after its end.
d63a86f8 21521
c906108c
SS
21522 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
21523 breakpoint there instead. Sometimes GCC emits memcpy to handle
21524 the large structures being passed by value, so we step into that
21525 instead of sum_array_print, which obscures what we're really testing.
21526 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
21527 the bizarre steps into memcpy, so do that here. Add check for
21528 stepping into function calls that pass large structures by value.
21529 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
21530 Remove all references to specific line numbers.
21531 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
21532 New type and function.
21533 (main): Call large_struct_by_value, passing it a large struct by value.
21534 * lib/gdb.exp (gdb_get_line_number): New function.
21535
21536 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
21537 more portable.
21538
7a292a7a
SS
215391999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
21540
c906108c
SS
21541 * lib/gdb.exp: Doc fixes.
21542
7a292a7a
SS
215431999-03-05 Nick Clifton <nickc@cygnus.com>
21544
d63a86f8 21545 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
21546
215471999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
21548
c906108c 21549 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
21550 commands. They're not germane to this test, and they don't work
21551 that way on remote targets.
c906108c 21552
3fc11d3e
JM
215531999-03-01 James Ingham <jingham@cygnus.com>
21554
21555 * Changelog entries merged over from gdb development branch.
21556
3fc11d3e
JM
21557 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
21558
21559 * lib/gdb.exp (gdbtk_analyze_results): Generic function
21560 for outputting results of test run.
21561
2d4a1622 21562 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
21563
21564 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 21565
7a292a7a
SS
215661999-02-25 Felix Lee <flee@cygnus.com>
21567
21568 * lib/gdb.exp (debug_format): initialize
21569
c906108c
SS
215701999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
21571
21572 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
21573 * gdb.base/call-rt-st.c: Ditto.
21574
c906108c
SS
215751999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
21576
21577 * gdb.threads/pthreads.exp (horiz): New variable.
21578 (test_startup): Fix regexps that capture thread numbers.
21579
215801999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
21581
21582 * gdb.base/smoke.exp: Disambiguate two test case names (both
21583 called ``print'').
21584
21585Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
21586
21587 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 21588 compilation.
c906108c
SS
21589
215901999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
21591
21592 * gdb.base/miscexprs.exp: Change patterns to match GDB's
21593 actual output formatting.
21594 * gdb.base/smoke.exp: GDB removes leading 0's.
21595 * gdb.base/volatile.exp: Don't check type of remuneration;
21596 that variable is no longer defined in constvars.c.
21597 * gdb.base/step-test.c (main): Exit with explicit exit code.
21598 * gdb.base/step-test.exp: Remove two nexti checks--they are
21599 not portable.
21600
216011999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
21602
21603 * gdb.base/help.exp ("help delete display"): Fix test to match
21604 gdb's output.
21605
21606 * gdb.base/long_long.c (known_types): Initialize values to zero.
21607 * gdb.base/long_long.exp: Step one more line
21608 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
21609 leading zeros. Explicitly ask for hex formatting. Use
21610 unique test case names.
c906108c
SS
21611
21612Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21613
d63a86f8 21614 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
21615
21616 * gdb.c++/method.exp: Add missing close brace.
21617
216181999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
21619
21620 * gdb.base/maint.exp: Use 'set height 0' to disable page
21621 prompting, not 'set height 400'.
21622
21623 Fix a bunch of timeouts.
21624 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
21625 four separate tests, so expect doesn't take forever to match a ton
21626 of text against a regexp with lots of .* forms.
21627 ("maint print psymbols", "maint print symbols"): Make some of
21628 these greps more selective, so that expect doesn't try to wade
21629 through huge piles of output and time out.
21630
21631 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
21632
21633 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
21634 tests: one which doesn't expect shlib events to be reported, and
21635 another which does, but is XFAIL for all platforms other than
21636 HP/UX.
c906108c
SS
21637
21638 * gdb.base/break.exp: Teach the test suite that the `catch
21639 fork', `catch vfork', and `catch exec' commands produce error
21640 messages on platforms that don't provide these features.
21641
21642Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
21643
21644 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
21645 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
21646 (shortening names from solib_threshold.exp etc), won't run on
21647 anything but HP-UX for the foreseeable future.
c906108c 21648 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 21649 reflect move.
c906108c
SS
21650
21651Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
21652
21653 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 21654 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
21655
21656Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
21657
21658 * gdb.base/shlib-call.exp: add test cases to verify that gdb
21659 successfully re-sets breakpoints in shared libraries.
21660 * gdb.base/shmain.c (main): return 0, don't fall off the end.
21661
21662Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21663
d63a86f8
RM
21664 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
21665 and compiled w/o GCC.
c906108c
SS
21666
21667 * gdb.hp/watch-cmd.exp: ditto.
21668
21669 * gdb.hp/watch-hp.exp: ditto.
21670
21671 * gdb.hp/xdb1.exp: ditto.
21672
21673 * gdb.hp/xdb2.exp: ditto.
21674
21675 * gdb.hp/dbx.exp: ditto.
21676
21677Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
21678
21679 * constvars.c: Remove C++-isms.
21680 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 21681 with GCC.
c906108c
SS
21682
21683Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
21684
21685 The following changes are part of the HP merge.
21686
21687 * gdb.base/break.exp: new tests to verify that catchpoints for
21688 fork, vfork, and exec don't trigger inappropriately.
21689
21690 * gdb.base/opaque.exp: compile one file at a time, then link.
21691
21692 * gdb.base/signals.exp: be more restrictive about which hppa
21693 systems receive a setup_xfail. new tests.
21694
21695 * gdb.base/solib_threshold.build: new file.
21696 * gdb.base/solib_threshold.exp: new file.
21697 * gdb.base/solib_threshold.link_opts: new file.
21698 * gdb.base/solib_threshold.mk: new file.
21699 * gdb.base/gen_solib_threshold.c: new file.
21700
21701 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
21702 tests. New tests for enums inside classes.
21703
21704 * gdb.c++/compiler.cc: indicate support of template debugging.
21705
21706 * gdb.c++/demangle.exp: run hp style demangling tests.
21707
21708 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
21709 tests.
21710
21711 * gdb.c++/misc.cc: changes to support new tests.
21712
21713 * gdb.c++/templates.cc: changes to support HP's compiler; changes
21714 to support new tests.
21715
21716 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
21717 gcc, then skip these tests.
21718
21719Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
21720
21721 The following files are part of the HP merge; some had longer
21722 names at HP, but have been renamed to be no more than 14
21723 characters in length.
21724
21725 * gdb.hp/ambiguous.cc: new file.
21726 * gdb.hp/ambiguous.exp: new file.
21727 * gdb.hp/attach.exp: new file.
21728 * gdb.hp/attach2.exp: new file.
21729 * gdb.hp/classes-hp.exp: new file.
21730 * gdb.hp/ctti.exp: new file.
21731 * gdb.hp/ctti-add.cc: new file.
21732 * gdb.hp/ctti-add1.cc: new file.
21733 * gdb.hp/ctti-add2.cc: new file.
21734 * gdb.hp/ctti-add3.cc: new file.
21735 * gdb.hp/dbx.exp: new file.
21736 * gdb.hp/exception.cc: new file.
21737 * gdb.hp/exception.exp: new file.
21738 * gdb.hp/foll-exec.c: new file.
21739 * gdb.hp/foll-exec.exp: new file.
21740 * gdb.hp/foll-fork.c: new file.
21741 * gdb.hp/foll-fork.exp: new file.
21742 * gdb.hp/foll-vfork.c: new file.
21743 * gdb.hp/foll-vfork.exp: new file.
21744 * gdb.hp/inherit-hp.exp: new file.
21745 * gdb.hp/more-steps.exp: new file.
21746 * gdb.hp/namespace.cc: new file.
21747 * gdb.hp/namespace.exp: new file.
21748 * gdb.hp/optimize.exp: new file.
21749 * gdb.hp/pxdb.c: new file.
21750 * gdb.hp/pxdb.exp: new file.
21751 * gdb.hp/quicksort.exp: new file.
21752 * gdb.hp/reg-test.exp: new file.
21753 * gdb.hp/reg-test.s: new file.
21754 * gdb.hp/sized-enum.c: new file.
21755 * gdb.hp/sized-enum.exp: new file.
21756 * gdb.hp/start-stop.exp: new file.
21757 * gdb.hp/templ-hp.cc: new file.
21758 * gdb.hp/templ-hp.exp: new file.
21759 * gdb.hp/thr-lib.c: new file.
21760 * gdb.hp/thr-lib.exp: new file.
21761 * gdb.hp/thr-lib.h: new file.
21762 * gdb.hp/thr-liblib.c: new file.
21763 * gdb.hp/virtfun-hp.c: new file.
21764 * gdb.hp/virtfun-hp.exp: new file.
21765 * gdb.hp/watch-cmd.exp: new file.
21766 * gdb.hp/watch-hp.exp: new file.
21767 * gdb.hp/xdb1.exp: new file.
21768 * gdb.hp/xdb2.exp: new file.
21769 * gdb.hp/xdb3.exp: new file.
21770
21771Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
21772
21773 The following files are part of the HP merge; some had longer
21774 names at HP, but have been renamed to be no more than 14
21775 characters in length.
21776
21777 * gdb.base/ss.h: new file.
21778 * gdb.base/call-ar-st.c: new file.
21779 * gdb.base/call-ar-st.exp: new file.
21780 * gdb.base/call-rt-st.c: new file.
21781 * gdb.base/call-rt-st-exp: new file.
21782 * gdb.base/call-strs.exp: new file.
21783 * gdb.base/ena-dis-br.exp: new file.
21784 * gdb.base/environ.exp: new file.
21785 * gdb.base/long_long.exp: new file.
21786 * gdb.base/sect-cmd.exp: new file.
21787 * gdb.base/shlib-cl2.exp: new file.
21788 * gdb.base/smoke.exp: new file.
21789 * gdb.base/so-impl-ld.c: new file.
21790 * gdb.base/so-impl-ld.exp: new file.
21791 * gdb.base/so-indr-cl.c: new file.
21792 * gdb.base/so-indr-cl.exp: new file.
21793 * gdb.base/varargs.exp: new file.
21794 * gdb.base/volatile.exp: new file.
21795 * gdb.base/whatis-exp.exp: new file.
7a292a7a 21796 * gdb.base/display.exp: new file.
c906108c
SS
21797 * gdb.c++/derivation.exp: new file.
21798 * gdb.c++/local.exp: new file.
21799 * gdb.c++/member-ptr.exp: new file.
21800 * gdb.c++/overload.exp: new file.
21801 * gdb.c++/ovldbreak.exp: new file.
21802 * gdb.c++/ref-types.exp: new file.
21803 * gdb.c++/ref-types2.exp: new file.
21804 * gdb.c++/userdef.exp: new file.
d63a86f8 21805
c906108c
SS
21806Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
21807
21808 * gdb.base/default.exp: Reflect wording change in remote.c.
21809
dc96c6c7 21810Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21811
21812 * gdb.base/help.exp: Update to reflect current text.
21813
21814Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
21815
21816 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
21817 they're stack variables and contain garbage.
21818 * gdb.c++/anon-union.exp: new file.
21819
21820 The following changes were made by David Taylor
889bf7c5
PA
21821 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21822 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21823 in changes by HP.
c906108c
SS
21824
21825 * gdb.base/bitops.exp: new file.
21826 * gdb.base/default.exp: change expected messages for catch and
21827 info catch tests to reflect HP merge changes.
21828 * gdb.base/enable-disable-break.exp
21829 * gdb.base/ending-run.c: new file.
21830 * gdb.base/long_long.c: new file.
21831 * gdb.base/maint.exp: new file.
21832 * gdb.base/pointers2.exp: new file.
21833 * gdb.base/shlib-call2.exp: new file.
21834 * gdb.base/solib.exp: new file.
21835 * gdb.base/step-test.c: new file.
21836 * gdb.c++/anon-union.cc: new file.
21837 * gdb.c++/local.cc: new file.
21838 * gdb.c++/member-pointer.cc: new file.
21839 * gdb.c++/method.cc: new file.
21840 * gdb.c++/ref-types.cc: new file.
21841 * gdb.c++/ref-types2.cc: new file.
21842 * gdb.c++/userdef.cc: new file.
d63a86f8 21843
c906108c
SS
21844 * gdb.base/scope.exp: compile one file at a time, then link.
21845 * gdb.base/langs.exp: ditto.
21846 * gdb.base/list.exp: ditto.
d63a86f8 21847
c906108c
SS
21848Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
21849
21850 The following changes were made by David Taylor
889bf7c5
PA
21851 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21852 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21853 in changes by HP.
d63a86f8 21854
c906108c
SS
21855 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
21856 skip tests. When compiling pass c++ flag to gdb_compile.
21857 * gdb.c++/
d63a86f8 21858
c906108c
SS
21859 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
21860 test for on hppa*-*-hpux*; use args to see if c++ was specified.
21861 (skip_hp_tests): new function.
21862 (gdb_preprocess): new function.
21863
21864 * configure.in (hpdir): decide whether to configure gdb.hp.
21865 * configure: regenerated.
21866
21867 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
21868 to delete on clean.
21869 (EXECUTABLES): update to reflect new additions.
21870 * gdb.base/commands.exp: update message expected.
21871 * gdb.base/default.exp: add copyright notice.
21872 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
21873 * gdb.base/help.exp: update messages to reflect current text.
21874 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
21875 targets for recurse tests.
21876 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
21877 skip this file.
21878
21879 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
21880 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
21881 compilation.
21882 * gdb.c++/misc.exp: ditto.
21883 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
21884 run the tests. tell gdb_compile that it's a c++ compilation.
21885
21886 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 21887
c906108c
SS
21888 * gdb.base/all-bin.exp: new file.
21889 * gdb.base/arithmet.exp: new file.
21890 * gdb.base/assign.exp: new file.
21891 * gdb.base/completion.exp: new file.
21892 * gdb.base/cond-expr.exp: new file.
21893 * gdb.base/condbreak.exp: new file.
21894 * gdb.base/define.exp: new file.
21895 * gdb.base/dollar.exp: new file.
21896 * gdb.base/environment.exp: new file.
21897 * gdb.base/eval-skip.exp: new file.
21898 * gdb.base/jump.exp: new file.
21899 * gdb.base/logical.exp: new file.
21900 * gdb.base/pointers.exp: new file.
21901 * gdb.base/relational.exp: new file.
21902 * gdb.base/section_command.exp: new file.
21903 * gdb.base/whatis-expr.exp: new file.
21904
21905 * gdb.base/all-types.c: new file.
21906 * gdb.base/call-array-struct.c: new file.
21907 * gdb.base/call-return-struct.c: new file.
21908 * gdb.base/call-strings.c: new file.
21909 * gdb.base/callfuncs2.c: new file.
21910 * gdb.base/condbreak.c: new file.
21911 * gdb.base/constvars.c: new file.
21912 * gdb.base/display.c: new file.
21913 * gdb.base/int-type.c: new file.
21914 * gdb.base/jump.c: new file.
21915 * gdb.base/miscexprs.c: new file.
21916 * gdb.base/pointers.c: new file.
21917 * gdb.base/pointers2.c: new file.
21918 * gdb.base/shmain.c: new file.
21919 * gdb.base/shr1.c: new file.
21920 * gdb.base/shr2.c: new file.
21921 * gdb.base/solib.c: new file.
21922 * gdb.base/solib1.c: new file.
21923 * gdb.base/solib2.c: new file.
21924 * gdb.base/varargs.c: new file.
21925 * gdb.c++/derivation.cc: new file.
21926 * gdb.c++/overload.cc: new file.
21927 * gdb.c++/ovldbreak.cc: new file.
21928 * gdb.hp/attach.c: new file.
21929 * gdb.hp/attach2.c: new file.
21930 * gdb.hp/average.c: new file.
21931 * gdb.hp/compiler.c: new file.
21932 * gdb.hp/compiler.cc: new file.
21933 * gdb.hp/execd-program.c: new file.
21934 * gdb.hp/follow-exec.c: new file.
21935 * gdb.hp/follow-fork.c: new file.
21936 * gdb.hp/follow-vfork-and-exec.c: new file.
21937 * gdb.hp/misc-hp.cc: new file.
21938 * gdb.hp/more-steps.c: new file.
21939 * gdb.hp/optimize.c: new file.
21940 * gdb.hp/quicksort.c: new file.
21941 * gdb.hp/run-hp.c: new file.
21942 * gdb.hp/start-stop.c: new file.
21943 * gdb.hp/sum.c: new file.
21944 * gdb.hp/templates-hp.cc: new file.
21945 * gdb.hp/thread-local-in-lib.c: new file.
21946 * gdb.hp/thread-local-in-lib.h: new file.
21947 * gdb.hp/thread-local-in-lib.lib.c: new file.
21948 * gdb.hp/vforked-program.c: new file.
21949 * gdb.hp/virtfunc-hp.cc: new file.
21950 * gdb.hp/watchpoint-hp.c: new file.
21951 * gdb.hp/xdb.c: new file.
21952 * gdb.hp/xdb0.c: new file.
21953 * gdb.hp/xdb0.h: new file.
21954 * gdb.hp/xdb1.c: new file.
21955
21956Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
21957
21958 The following change was made by Edith Epstein
889bf7c5
PA
21959 <eepstein@cygnus.com> as part of a project to merge in changes
21960 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
21961
21962 * gdb.c++/demangle.exp: changed the expected output for some
21963 ARM-style mangling -- removed second reference to datatype.
889bf7c5 21964 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 21965 T1<char>::~T1<char>(void)
c906108c 21966 becomes,
a9c64011
AS
21967 maint demangle __dt__11T1__pt__2_cFv
21968 T1<char>::~T1(void)
c906108c 21969
889bf7c5 21970 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 21971
c906108c
SS
21972Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
21973
21974 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
21975 * gdb.trace/backtrace.exp: Likewise.
21976 * gdb.trace/circ.exp: Likewise.
21977 * gdb.trace/collection.exp: Likewise.
21978 * gdb.trace/deltrace.exp: Likewise.
21979 * gdb.trace/infotrace.exp: Likewise.
21980 * gdb.trace/limits.exp: Likewise.
21981 * gdb.trace/packetlen.exp: Likewise.
21982 * gdb.trace/passc-dyn.exp: Likewise.
21983 * gdb.trace/passcount.exp: Likewise.
21984 * gdb.trace/report.exp: Likewise.
21985 * gdb.trace/save-trace.exp: Likewise.
21986 * gdb.trace/tfind.exp: Likewise.
21987 * gdb.trace/tracecmd.exp: Likewise.
21988 * gdb.trace/while-dyn.exp: Likewise.
21989 * gdb.trace/while-stepping.exp: Likewise.
21990
219911998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
21992
21993 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
21994
21995Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
21996
21997 From Brendan Kehoe:
21998 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
21999 int return types.
22000
22001Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
22002
22003 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 22004 remote dos host testing right.
c906108c
SS
22005
22006Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
22007
22008 * gdb.base/corefile.exp: remove some xfails.
22009
22010Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
22011
22012 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 22013 have different timestamps.
c906108c
SS
22014
22015Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
22016
22017 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 22018 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
22019
22020Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
22021
22022 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 22023 delta.
c906108c
SS
22024
22025Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
22026
22027 * gdb.base/default.exp: Add brace missing from previous delta.
22028
22029Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
22030
22031 * gdb.base/default.exp: Support test for info float for all
22032 varieties of arm toolchain.
22033
dc96c6c7 22034Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22035
22036 * gdb.trace/*.exp: remove "remote_download" command.
22037
dc96c6c7 22038Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22039
22040 * gdb.trace/*.exp: remove -gdwarf from compile.
22041
22042Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
22043
22044 * gdb.trace/configure.in(AC_INIT): typo
22045 * gdb.trace/configure: regenerated
22046
dc96c6c7 22047Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22048
22049 * config/m68k-emc.exp: New file.
22050 * lib/<emc-support.exp trace-support.exp}: New files.
22051 * configure.in: add new test directory gdb.trace.
22052 * gdb.trace/{configure configure.in Makefile.in}: New files.
22053 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
22054 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
22055 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
22056 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
22057 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
22058 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
22059 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 22060
dc96c6c7 22061Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22062
22063 * gdb.c++/classes.exp: Change all regular expressions to match
22064 arbitrary combinations of newline/carriage-return, so that they
22065 will work equally well on Unix and Windows.
22066 * gdb.c++/inherit.exp: ditto.
22067 * gdb.c++/virtfunc.exp: ditto.
22068
220691998-08-11 Dawn Perchik <dawn@cygnus.com>
22070
22071 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
22072
c2d11a7d
JM
22073Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
22074
22075 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
22076 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
22077 to use a0-a3/d0-d3 as needed.
22078
22079Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
22080
22081 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
22082 * gdb.disasm/am33.exp: Corresponding changes.
22083
c906108c
SS
220841998-07-11 Felix Lee <flee@cygnus.com>
22085
22086 * gdb.base/callfuncs.exp: add cmp10 test.
22087 * gdb.base/callfuncs.c (cmp10): new function.
22088
22089Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
22090
d63a86f8 22091 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
22092 into two parts to get around a synchronization problem in expect.
22093
3fc11d3e
JM
22094Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
22095
22096 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
22097
22098 * configure.in: Add options for gdbtk testsuite.
22099
22100 * configure: Regenerate.
22101
22102 * gdb.gdbtk: New directory to hold gdbtk tests.
22103
c906108c
SS
22104Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
22105
22106 * gdb.fortran/types.exp: Escape brackets in expect patterns
22107 for test_float_literal_types_accepted tests.
22108 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
22109 before run test.
22110
c2d11a7d
JM
22111Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
22112
22113 * am33.exp: Just compile, do not link the testcase.
22114 * am33.s: Add ".am33" pseudoop to force am33 mode.
22115
c906108c
SS
221161998-06-25 Felix Lee <flee@cygnus.com>
22117
22118 * gdb.base/setshow.exp: make sure $pc is sane.
22119
22120 * gdb.stabs/weird.exp: split expect patterns properly.
22121
c2d11a7d
JM
22122Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
22123
22124 * gdb.disasm/am33.s: New disassembler testfile for the am33.
22125 * gdb.disasm/am33.exp: Run it.
22126
dc96c6c7 22127Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22128
22129 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
22130 match processing (and eliminate spurious timeouts when running).
22131
dc96c6c7 22132Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22133
22134 * gdb.base/signals.exp (test_handle_all_print): put back Mach
22135 exception test, but conditionalize it on target [mach | gnu].
22136
dc96c6c7 22137Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22138
22139 * gdb.base/overlays.exp: fixup compile line for linker script.
22140
22141Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
22142
22143 * gdb.fortran/types.exp: don't guess at float size.
22144
22145Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
22146
22147 * gdb.base/exprs.exp: delete test that depends on int size.
22148
22149Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
22150
22151 * config/sim.exp: Removed checks for target triplets.
22152 (gdb_target_sim): Use gdb,target_sim_options.
22153
22154Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
22155
22156 * gdb.base/reread.exp: New file.
22157 * gdb.base/reread1.c: New file.
22158 * gdb.base/reread2.c: New file.
22159
22160Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
22161
22162 * config/sim.exp: Use 'target sim -sparclite' when running
22163 SPARClite programs.
22164
22165Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
22166
22167 * gdb.base/structs2.exp: New file.
22168 * gdb.base/structs2.c: New file.
22169
22170Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
22171
22172 * gdb.asm/common.inc: New file.
22173 * gdb.asm/d10v.inc: New file.
22174 * asm-source.exp: Pass -I's to gas to find .inc files.
22175 Update line numbers in expected output.
22176 * asmsrc1.s: Rewrite.
22177 * asmsrc2.s: Rewrite.
22178 * configure.in: Create arch.inc symlink.
22179 * configure: Regenerate.
22180 * Makefile.in (distclean): Delete arch.inc.
22181
22182Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
22183
22184 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
22185 (t_enum_value2): ditto
22186 (t_enum_value3): ditto
22187 (main): ditto
c906108c
SS
22188Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
22189
22190 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
22191 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
22192 change.
22193 Use gdb_test instead of send_gdb/gdb_expect sequences.
22194
22195Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
22196
22197 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
22198 not void.
22199
22200Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
22201
22202 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
22203 subroutines. Used to test gdbs ability to single step through PC
22204 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
22205
22206Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
22207
22208 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
22209 more rigorous EGCS C++ error checking.
22210
22211Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22212
a9c64011
AS
22213 * gdb.base/help.exp: Clean up `help set args' and `help show args'
22214 tests.
22215 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
22216 function when asleep.
22217 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
22218 for i*86 Linux and SVR4 signal handling problems.
22219 Remove linux xfail for `next to handler in signals_tests_1', fixed
22220 by recent infrun.c change.
22221 Limit backtrace to 10 frames to avoid timeout problems with infinite
22222 stack backtraces.
22223 Adjust expect pattern in `handle all print' test to match Apr 28 1997
22224 target.[ch] change.
c906108c
SS
22225
22226Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
22227
22228 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
22229 for a newline from gdb before continuing.
22230 (default_gdb_exit): Just look for y or n.
22231 (gdb_test): Detect abnormal exit from GDB running on DOS; if
22232 it does, fail the rests of the tests in the file.
22233
22234Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
22235
22236 * config/cygmon.exp: New file.
22237
22238Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
22239
22240 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 22241 main" test on remote targets.
c906108c
SS
22242
22243 * gdb.base/scope.exp: Fix problem with filelocal_bss before
22244 run test on remote targets.
22245
22246Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
22247
22248 * gdb.asm: New directory.
22249 * configure.in: Configure it.
22250 * configure: Regenerate.
22251 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
22252 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
22253
22254Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
22255
22256 * config/mn10300-eval.exp: New file to support MN10300 eval board.
22257
dc96c6c7 22258Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 22259
a9c64011
AS
22260 * gdb.base/overlays (several files): Merge the two overlay
22261 managers into one. Change variables (foox, barx, bazx, grbxx)
22262 back into ints but force them to load in their proper sections.
c906108c
SS
22263
22264Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
22265
22266 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 22267 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
22268 (D10VCopy): Handle memory regions crossing 16k boundaries.
22269 (D10VCopy): Transfer data in 32 bit chunks.
22270
22271Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
22272
22273 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 22274 correct.
c906108c
SS
22275
22276 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 22277 map. Include space for printf in .text segment.
c906108c
SS
22278
22279 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 22280 updated d10v memory VMA/LMA map.
c906108c 22281 (D10VCopy): Call D10VTranslate.
d63a86f8 22282
c906108c
SS
22283Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
22284
22285 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
22286
22287 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
22288 that it won't be put into the .sdata - small data -
22289 section. Update reference.
c906108c
SS
22290 * gdb.base/baz.c (bazx, baz): Ditto.
22291 * gdb.base/foo.c (foox, foo): Ditto.
22292 * gdb.base/grbx.c (grbxx, grbx): Ditto.
22293
22294 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 22295 to be arrays.
d63a86f8 22296
dc96c6c7 22297Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 22298
a9c64011
AS
22299 * gdb.base/overlays.exp: fix up and get working again.
22300 Add tests for backtraces from an overlay function.
d63a86f8 22301
c906108c
SS
22302Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
22303
22304 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
22305 "calling function with watchpoint enabled".
22306
22307Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
22308
22309 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 22310 gdb_suppress_tests for d10v-*-*.
c906108c
SS
22311 * lib/gdb.exp (gdb_suppress_tests): Disable this function
22312 pending review of whether it is useful or not.
22313
22314Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
22315
22316 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
22317
22318Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
22319
22320 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
22321 * config/dve.exp: New file to support Densan boards.
22322
22323Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
22324
22325 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 22326 reads and BSD.
c906108c
SS
22327
22328Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
22329
22330 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
22331 response.
22332
22333 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
22334
22335Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
22336
22337 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 22338 test.
c906108c
SS
22339
22340 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 22341 target_sizeof_long and target_bigendian_p.
c906108c 22342 (structs_by_value, structs_by_reference): Check values according
889bf7c5 22343 to targets word size and endianess.
d63a86f8 22344
c906108c
SS
22345Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
22346
22347 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 22348 output.
c906108c
SS
22349
22350Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
22351
22352 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 22353 Update test of set args help to match source change.
c906108c
SS
22354
22355Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
22356
22357 * gdb.base/default.exp: Expect help system output to be in
22358 alphabetical order.
22359 * gdb.base/help.exp: Ditto.
22360
22361Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
22362
22363 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
22364 "i*86-pc-linux-gnu*".
22365 * gdb.base/interrupt.exp: Ditto.
22366 * gdb.base/corefile.exp: Ditto.
22367
22368 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 22369 define vxworks when building the testcase.
c906108c
SS
22370
22371 * gdb.base/ptype.exp: Fix testnames to be unique.
22372 * gdb.base/radix.exp: Ditto.
22373 * gdb.base/term.exp: Ditto.
22374 * gdb.base/whatis.exp: Ditto.
22375 * gdb.c++/classes.exp: Ditto.
22376
22377Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
22378
22379 * gdb.base/callfuncs.exp: Fix indentation.
22380
22381 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
22382 suppress_flag has been set.
22383 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
22384 target feature.
22385
22386Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
22387
22388 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
22389 the testcase.
22390
22391 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 22392 set_debug_traps() and breakpoint().
c906108c
SS
22393 * gdb.c++/misc.cc (main): Ditto.
22394 * gdb.c++/templates.cc (main): Ditto.
22395 * gdb.c++/virtfunc.cc (main): Ditto.
22396
22397Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
22398
22399 * lib/gdb.exp(gdb_step_for_stub): New function.
22400 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
22401 exists, reload the executable and do a "continue" instead of
22402 doing a jump.
22403 (runto_main): Use gdb_step_for_stub.
d63a86f8 22404
c906108c 22405 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 22406 tests to have unique names.
c906108c
SS
22407 * gdb.base/callfuncs.exp: Ditto.
22408 * gdb.base/commands.exp: Ditto.
22409 * gdb.base/default.exp: Ditto.
22410 * gdb.base/help.exp: Ditto.
22411 * gdb.base/list.exp: Ditto.
22412 * gdb.base/opaque.exp: Ditto.
22413 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
22414 similar tests.
d63a86f8 22415
c906108c
SS
22416 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
22417 * gdb.c++/cplusfuncs.cc: Ditto.
22418 * gdb.c++/virtfunc.cc: Ditto.
22419
22420 * config/monitor.exp: Keep track of the last file we saw, rather
22421 than trying to get the info from gdb.
22422
22423 * gdb.fortran/types.exp: Move comment to previous line.
22424
22425Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
22426
22427 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 22428 target mode.
c906108c
SS
22429
22430Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
22431
22432 From Bob Manson:
22433 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 22434 string from GDB when it connects.
c906108c
SS
22435
22436 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
22437
22438Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
22439
22440 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
22441 if we can't get a debug format from GDB (we may be testing an
22442 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
22443
22444 * gdb.stabs/weird.exp: Fix quoting.
22445
22446 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
22447
22448Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
22449
22450 * config/arm-ice.exp: New file.
22451
22452Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
22453
22454 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 22455 until it has been modified to work with the new testsuite.
c906108c 22456
99707966 22457 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
22458 testcase won't compile, cause all of the testcases in the file to
22459 fail instead.
c906108c
SS
22460
22461 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
22462 (gdb_clear_suppressed): New procedure.
22463 (gdb_stop_suppressing_tests): Only clear suppress_flag if
22464 it contains a positive value.
22465
22466Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
22467
22468 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
22469
22470 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
22471
22472Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
22473
22474 * lib/gdb.exp (setup_xfail_format): New function.
22475 (get_debug_format): New function to get debug format.
22476 (debug_format): New global variable to hold last value set
22477 by get_debug_format.
22478 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 22479 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
22480 * gdb.c++/ptype.exp: Ditto.
22481 * gdb.c++/classes.exp: Ditto.
22482 * gdb.c++/cplusfuncs.exp: Ditto.
22483 * gdb.c++/inherit.exp: Ditto.
22484 * gdb.c++/templates.exp: Ditto.
22485 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 22486
c906108c
SS
22487Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
22488
22489 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
22490 host doesn't have a currently-open connection.
22491
22492 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
22493 any gdb stub target. Handle cases where gdb doesn't respond when
22494 interrupted in a sane fashion.
c906108c
SS
22495
22496 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 22497 same thing in a totally different way.
c906108c
SS
22498
22499 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 22500 setting "timeout".
c906108c 22501 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 22502 default_gdb_init now.
c906108c
SS
22503
22504Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
22505
22506 * gdb.base/printcmds.exp: Fix "check for floating addition"
22507 regexp to accept results within approx +/- .01 of exact value.
22508 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
22509
22510Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
22511
22512 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 22513 properly.
c906108c
SS
22514 (gdb_expect): Add optional timeout parameter, and add timeout
22515 value to various calls.
22516 (gdb_suppress_tests): Only give one warning message per group.
22517
22518Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
22519
22520 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
22521 global variables. Handle getting a value for $timeout more
22522 gracefully.
c906108c
SS
22523
22524Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
22525
22526 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 22527 initialize.
c906108c 22528 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 22529 by a target configuration file.
c906108c
SS
22530 (gdb_expect): Pass the timeout to remote_expect.
22531
22532 * config/monitor.exp(gdb_load): Fix typo in regexp.
22533
22534Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
22535
22536 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
22537
22538Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
22539
22540 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
22541 here. Call gdb_target_exec before rebooting the target, to make
22542 sure the connection to the target is closed.
c906108c
SS
22543 (gdb_load): Pass the name of the executable to gdb_target_monitor.
22544 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
22545 Also detect "Timeout reading from remote" error.
22546
22547 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
22548 gdb_target_monitor. Don't call gdb_file_cmd here; let
22549 gdb_target_monitor do it.
c906108c
SS
22550
22551 * gdb.disasm/hppa.exp: Don't use exec_output.
22552
22553Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
22554
22555 * gdb.base/list.exp: If we're debugging a non-native target,
22556 try to set the pc register to point to the start of the
22557 program before doing the first list command.
22558
22559 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 22560 test_calls after restarting.
c906108c
SS
22561
22562 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 22563 reloading.
c906108c
SS
22564
22565 * gdb.base/watchpoint.exp: Fix typo.
22566
22567 * gdb.base/setshow.exp: Check for use_gdb_stub.
22568
22569 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 22570 stub case.
c906108c
SS
22571 * gdb.base/langs.exp: Ditto.
22572
22573 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
22574 gdb_load_offset. If we weren't given a file to load, figure out
22575 what the current file is and use it.
c906108c
SS
22576
22577 * config/i386-bozo.exp: New file.
22578
22579Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
22580
22581 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
22582 feature.
22583
22584 * config/proelf.exp: New entry.
22585
22586Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
22587
22588 * lib/gdb.exp: Remove spurious .* patterns at the beginning
22589 of regexps.
22590
22591 * gdb.base/watchpoint.exp: Don't run the test_stepping
22592 tests if gdb can't call functions on the target.
22593
22594 * gdb.base/setshow.exp: Don't run the set prompt tests if
22595 the board has gdb_prompt set.
22596
22597Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
22598
22599 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
22600 * gdb.base/commands.exp: Likewise.
22601 * gdb.base/setshow.exp: Likewise.
22602
22603Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
22604
22605 * config/monitor.exp(gdb_start): Look for gdb_prompt target
22606 feature.
22607
22608 * config/i960.exp: New file.
22609
22610Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
22611
22612 * gdb.base/funcargs.exp: Check for gdb,short_int target
22613 feature instead of looking for explicit target triplets.
22614
dc96c6c7 22615Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 22616
d63a86f8 22617 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
22618 "p 123DEADBEEF", to check parse_number.
22619 * top.c: change "to enable to enable" to "to enable" in a couple
22620 of help strings.
22621
22622Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
22623
22624 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
22625 on the mn10300.
d63a86f8 22626
c906108c
SS
22627Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
22628
22629 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
22630 where the test executable is run with explicit args.
22631 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
22632
22633Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
22634
22635 * gdb.base/run.c: Use FAKEARGV to build test executable that
22636 does not require a command line arg, since most simulators
22637 don't currently support passing such an arg into the simulated
22638 program.
22639 * gdb.base/commands.exp: Change tests to insert the proper
22640 value as the arg to the first recursive factorial call. Change
22641 compilation line to define FAKEARGV at compile time.
22642
22643Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
22644
22645 * gdb.base/recurse.exp: Enable these tests for the mn10300.
22646 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
22647 function with watchpoint enabled" test.
22648
22649Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
22650
22651 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 22652 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
22653
22654 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 22655 "Tests restarted" messages.
c906108c
SS
22656
22657Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
22658
22659 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
22660
dc96c6c7 22661Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22662
22663 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
22664 for INFO SYMBOL; add help tests for OVERLAY commands.
22665 * gdb.base/default.exp: add tests for INFO SYMBOL command;
22666 add tests for OVERLAY commands
22667 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
22668 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
22669 * gdb.base/sigall.c: add usestubs code frag
22670 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 22671
c906108c
SS
22672Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
22673
22674 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
22675 failures.
22676 (gdb_stop_suppressing_tests): Note that tests have restarted.
22677
22678Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
22679
22680 * config/h8300.exp: New file.
22681
22682Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
22683
22684 * gdb.base/setshow.exp: Check for the existence of a
22685 feature, not its value.
22686
22687Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
22688
22689 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
22690
22691 * gdb.base/scope.exp: It's now init0(), not init().
22692
22693 * gdb.base/scope0.c: For now, change init() to be init0().
22694
22695 * config/monitor.exp: Use gdb_serial in preference to serial
22696 or netport.
22697
22698 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 22699 and it's not already set.
c906108c
SS
22700
22701Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
22702
22703 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 22704 isn't using a stub and if it supports argument passing.
c906108c
SS
22705
22706Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
22707
22708 * config/udi.exp(gdb_start): Make sure UDICONF is set
22709 properly before starting gdb.
22710
22711Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
22712
22713 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
22714 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
22715 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
22716
22717Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
22718
22719 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 22720 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
22721
22722 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
22723
22724 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
22725
22726 * config/monitor.exp: Make sure we disconnect from the target.
22727 Also, try a reboot/reload cycle instead of failing if the
22728 load fails.
22729
22730Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
22731
22732 * gdb.base/default.exp: Don't set match_max.
22733 * gdb.base/help.exp: Ditto.
22734 * gdb.base/list.exp: Ditto.
22735 * gdb.base/signals.exp: Ditto.
22736
22737 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
22738 set, use remote_ld to download the testcase instead of
22739 the GDB loader.
22740
22741Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
22742
22743 * config/vr5000.exp: New file.
22744
22745 * config/monitor.exp(gdb_target_monitor): Add pattern for
22746 "Ending remote" to detect errors in connecting.
22747
22748 * gdb.base/setshow.exp: Add .* within auto language test.
22749
22750 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
22751 target feature.
22752
22753 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 22754 and reboot the board if necessary.
c906108c
SS
22755
22756 * gdb.base/setvar.exp(test_set): Handle multiple prints within
22757 a set of tests. Remove print.* from the patterns being checked.
22758
22759Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
22760
22761 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
22762 refer to gdb_spawn_id.
22763
22764 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
22765 longer used.
22766 * config/sparclet.exp: Ditto.
22767 * config/sparclet-old.exp: Ditto.
22768 * config/slite.exp: Ditto.
22769 * config/sim.exp: Ditto.
22770 * gdb.base/funcargs.exp: Ditto.
22771
22772 * lib/gdb.exp:Remove references to gdb_spawn_id.
22773 (gdb_expect): Move to remote.exp.
22774
22775Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
22776
22777 * config/monitor.exp: Detect the "Couldn't establish connection"
22778 message from GDB.
22779
22780Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
22781
22782 * gdb.base/bitfields.exp: Use runto instead of explicit
22783 gdb_run_cmd/gdb_expect sequences.
22784
22785 * gdb.base/break.exp(text_next_with_recursion): Add match for
22786 gdb_expect call.
22787
22788 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
22789 We also need to handle the "A program is being debugged already"
22790 prompt from gdb. Use gdb_test to set the baud rate.
22791
22792 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
22793 to 20000. Really. I mean it.
22794
22795Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
22796
22797 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
22798 fails. If suppress_flag is set, skip perror message about not
22799 being able to send to GDB.
c906108c 22800 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 22801 GDB.
c906108c
SS
22802 (gdb_expect): If suppress_flag is set, always fail immediately.
22803 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
22804 (gdb_init): Call gdb_stop_suppressing_tests.
22805 (default_gdb_exit): Ditto.
22806 (default_gdb_start): Ditto.
22807
22808 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 22809 gdb_stop_suppressing_tests as appropriate.
c906108c 22810 * gdb.base/break.exp: Ditto.
889bf7c5 22811 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
22812 * gdb.base/commands.exp: Ditto.
22813 * gdb.base/exprs.exp: Ditto.
889bf7c5 22814 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
22815 * gdb.base/list.exp: Ditto.
22816 * gdb.base/recurse.exp: Ditto.
889bf7c5 22817 * gdb.base/scope.exp: Ditto.
c906108c
SS
22818 * gdb.base/structs.exp: Ditto.
22819 * gdb.c++/inherit.exp: Ditto.
22820
22821Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
22822
22823 * config/vr4300.exp: New file.
22824
99707966 22825 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 22826
99707966 22827 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
22828
22829Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
22830
22831 * lib/gdb.exp(gdb_init): New function.
22832
22833 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 22834 for each individual variable set.
c906108c
SS
22835
22836 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
22837 name.
22838
22839 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
22840
22841 * gdb.base/scope.exp: Use gdb_test.
22842
22843 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
22844 aborting; the testsuite driver will do that for us (see
22845 gdb_finish). Also, use gdb_test in a few more places.
22846
22847Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
22848
22849 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
22850
22851Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
22852
22853 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
22854 and "add_tests" are not at the same address.
22855
22856Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
22857
22858 * gdb.base/ptype.exp: Use gdb_test.
22859
22860Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
22861
22862 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
22863 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
22864 left in. No longer expect them to fail.
22865
22866 * gdb.stabs/*.mt; Deleted, no longer used.
22867 * gdb.stabs/configure.in: Remove references to target makefile
22868 frags.
22869 * gdb.stabs/configure: Rebuilt.
22870
22871 * gdb.disasm/*.mt: Deleted, no longer used.
22872 * gdb.disasm/configure.in: Remove references to target makefile
22873 frags. Use "sh3.s" as the unique filename for this directory.
22874 * gdb.disasm/configure: Rebuilt.
22875
22876 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
22877 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
22878 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
22879
22880Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
22881
22882 * config/udi.exp: Use mondfe,name instead of remote_host.
22883
22884Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
22885
22886 * gdb.base/watchpoint.exp: Don't expect a failure when calling
22887 a function with a watchpoint enabled on the mn10200.
22888
22889 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
22890 before trying to create it!
22891
22892Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
22893
22894 * config/vx.exp: Use hostname instead of netport.
22895
22896 * config/vxworks.exp: New file.
22897
22898 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
22899
22900 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 22901 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
22902 occurs.
22903
22904 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
22905 $gdb_spawn_id directly.
22906 (gdb_run_cmd): Try _start as well as start. Use the target feature
22907 gdb,start_symbol as the symbol to start from when jumping.
22908
22909Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
22910
22911 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
22912 redundant) test.
22913
22914 * gdb.base/recurse.exp: Relax final value test for 'b' so that
22915 it doesn't lose for 16bit integer systems.
22916
22917Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
22918
22919 * gdb.fortran/types.exp: If the target doesn't support "double"
22920 data types, then expect "real" types to only be 4 bytes.
22921
22922 * gdb.c++/virtfunc.exp: Expect failure for virtual function
22923 call tests if the target doesn't support inferior function calls.
22924
22925 * gdb.base/printcmds.exp: Allow minor deviation in FP values
22926 in printf tests.
22927
22928Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
22929
22930 * gdb.base/help.exp: Disable "help set", "help show", and
22931 "help support". Simplify regexp for "help stack".
22932
22933 * gdb.base/default.exp: Set match_max to 5000 and the timeout
22934 to 60 seconds. Temporarily set match_max to 15000 around the
22935 "info copying" test.
22936
22937 * gdb.base/nodebug.exp: Don't try to do an inferior function
22938 call if the target doesn't support them.
22939 * gdb.base/printcmds.exp: Likewise.
22940 * gdb.base/setvar.exp: Likewise.
22941 * gdb.base/structs.exp: Likewise.
22942 * gdb.c++/templates.exp: Likewise.
22943 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
22944
22945 * gdb.base/recurse.exp: Enable for the mn10200.
22946
22947 * configure.in: Do configure gdb.stabs directory for *-*-elf
22948 targets.
22949 * configure: Rebuilt.
22950
22951 * gdb.base/break.exp: Check for gdb,noresults before testing
22952 exit status and/or results from the target.
22953 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
22954 * lib/gdb.exp: Remove old (now bogus) initialization of
22955 noinferior, noargs, noresults and nosignals.
22956
22957Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
22958
22959 * config/sh.exp: New file.
22960
22961 * config/slite.exp: Try to connect multiple times to the board
22962 before rebooting. Only send a "monitor run" if need_monitor_run
22963 is set.
22964
22965 * gdb.base/break.exp: Don't do the "stub continue" test if
22966 the target has gdb_stub set.
22967
22968 * gdb.base/callfuncs.exp: Increase the timeout.
22969
22970 * gdb.base/interrupt.exp: Don't even try to compile the testcase
22971 if the target has gdb,noinferiorio set.
22972
22973 * gdb.base/list.exp: Increase match_max to 10000 characters.
22974
22975 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
22976
22977 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
22978 target.
22979
22980 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
22981
22982Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
22983
22984 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
22985 trying to delete the copy of gdb. Catch the file delete so we
22986 don't die if the delete fails; also, the file should be copied to
22987 the host, not to the build.
c906108c
SS
22988
22989Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
22990
22991 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 22992 parenthesis in case it contains multiple regexps separated
c906108c
SS
22993 with |.
22994
22995 * gdb.base/watchpoint.exp: Use gdb_test.
22996 * gdb.base/default.exp: Ditto.
22997
22998Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
22999
99707966 23000 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 23001
c906108c
SS
23002 * gdb.base/scope.exp: Use gdb_test.
23003 * gdb.c++/classes.exp: Ditto.
23004 * gdb.c++/inherit.exp: Ditto.
23005
23006Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
23007
23008 * gdb.base/crossload.exp: Don't use execute_anywhere, use
23009 remote_exec instead.
23010 * gdb.base/corefile.exp: Don't be ridiculous.
23011 * gdb.base/*.c: Add missing stub invocations.
23012
23013Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
23014
23015 * config/slite.exp: Miscellaneous fixes.
23016
23017 * lib/gdb.exp: Fix runto.
23018
23019 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
23020 the target.
23021
23022 * gdb.base/watchpoint.exp: Fix regexp.
23023
23024 * lib/gdb.exp(default_gdb_exit): Add a catch to the
23025 close and wait commands, as the descriptor may now be
23026 invalid. Always call "remote_close host".
23027
23028Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
23029
23030 Major rewrite for testsuite revision.
d63a86f8 23031
c906108c
SS
23032 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
23033 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
23034 instead of relying on spawn_id to always contain a valid
23035 spawn id.
23036 (get_compiler_info): New procedure to build the ${binfile}.ci
23037 file, instead of replicating this in N different places.
23038 (gdb_compile): New procedure.
d63a86f8 23039
c906108c 23040 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
23041 appropriate arguments) instead of compile. Use gdb_test in a lot
23042 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
23043 at the start of a testcase, as this is no longer done magically.
23044
23045 config/*-gdb.exp: Rename without the -gdb suffix.
23046
23047 config/mips.exp: Use remote_close instead of exit_remote_shell.
23048 config/monitor.exp: Use target_info instead of looking at
23049 baud, timeout, etc.
23050 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
23051
23052Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23053
23054 * gdb.c++/templates.exp (test_ptype_of_templates),
23055 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
23056 Update expect patterns for destructors and assignment operators
23057 to match corresponding c-typeprint.c changes.
23058 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
23059 to destructor breakpoint test, GDB should be able to set the
23060 destructor breakpoint without specifying arguments.
23061
23062Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
23063
23064 * gdb.threads/pthreads.exp: Change result for failure to compile due
23065 to lack of pthreads runtime support from an error to simply an
23066 unsupported test, per dejagnu standards.
23067
23068Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23069
23070 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
23071 where GDB exits to reduce pattern match time.
23072 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
23073
23074 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
23075
dc96c6c7 23076Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23077
23078 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
23079 * gdb.base/default.exp: ditto.
23080 * gdb.base/nodebug.exp: ditto.
23081 * gdb.base/printcmds.exp: ditto.
23082 * gdb.base/ptype.exp: ditto.
23083 * gdb.base/setvar.exp: ditto.
23084 * gdb.base/structs.exp: ditto.
23085 * gdb.base/setshow.c: Guard against uninitialized values of argc.
23086
23087Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
23088
23089 * configure, */configure: Rebuild with autoconf 2.12.
23090
23091Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
23092
23093 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
23094 use new i*86-pc-linux*-gnu quads.
23095 * gdb.base/corefile.exp: Ditto.
23096 * gdb.base/signals.exp: Ditto.
23097 * gdb.base/sigall.exp: Ditto.
23098 * gdb.base/interrupt.exp: Ditto.
23099
23100 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
23101 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
23102 RedHat 4.0.
d63a86f8 23103
c906108c 23104 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
23105 linux. This allows the test case to at least compile on latest
23106 linux, but still not run due to missing the threads runtime library.
c906108c
SS
23107
23108Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23109
23110 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
23111 directory to search gdb directory. Accept and step over conditional
23112 stack alignment code. Consume $prompt in failure cases.
23113 Reset timeout to $oldtimeout instead of some arbitrary value.
23114 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
23115 timeout problems with infinite stack backtraces.
23116 * gdb.base/ptype.exp (ptype struct link, union tu_link):
23117 Accept function parameters for linkfunc member.
23118
23119Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
23120
23121 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
23122 (CXXFLAGS): Remove, unreferenced.
23123 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
23124 previous -B options and also add -B option to pick up cross compiled
23125 runtime.
c906108c
SS
23126 (TARGET_INCLUDES): Add for -I options and add code to initialize when
23127 doing cross compiles.
23128 (target_alias): Declare global.
23129 (xgcc): Set variable to full path of gcc in build tree. Use findfile
23130 to verify that gcc exists in build tree, and if so set CC to that
23131 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 23132
c906108c
SS
23133Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
23134
23135 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
23136 ptype test for anonymous union. Fixup testcase to match
23137 current gcc debug output.
23138
23139Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
23140
23141 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
23142 force argument to an unsigned long type.
23143
23144Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
23145
23146 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 23147 tests and anonymous union print/ptype tests.
c906108c
SS
23148 * gdb.base/list.exp (test_forward-search): Increase timeout by
23149 5 minutes for the "search extremely long line" case.
23150 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
23151 completely optional and that the pass/fail messages use the command as
23152 the message if that third arg is a null string.
23153 (gdb_test_exact): Arrange that a null string pattern means match a
23154 null string output rather than any output, which might include random
889bf7c5 23155 errors.
c906108c
SS
23156 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
23157 backtrace test.
23158 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
23159 always failing and failure is now exposed by gdb.exp changes.
23160
23161Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
23162
23163 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
23164 weren't being noted.
23165
23166Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23167
23168 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
23169 * gdb.stabs/weird.exp: Remove v_comb xfails.
23170
dc96c6c7 23171Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23172
23173 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 23174 list.exp scope.exp watchpoint.exp]
c906108c 23175 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 23176
dc96c6c7 23177Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23178
23179 * config/monitor.exp: Increase download timeout to 1000 seconds.
23180
dc96c6c7 23181Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23182
23183 * config/m32r.exp: Increase timeout to 120 seconds.
23184
23185Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
23186
23187 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
23188 and accept older ordering as obsolescent gcc or gdb.
23189 * gdb.c++/templates.exp: Ditto.
23190 * gdb.c++/virtfunc.exp: Ditto.
23191
23192Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
23193
23194 * gdb.base/coremaker.c: Add code to mmap some data so we
23195 can check that it ends up in the core file.
23196 * gdb.base/corefile.exp: Add test to read mmapped data
23197 from core file.
23198
dc96c6c7 23199Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23200
23201 * config/m32r.exp: New file.
23202
23203Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
23204
23205 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
23206 that cflags can contains -gstabs, and work correctly for other tests.
23207
dc96c6c7 23208Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23209
23210 * gdb.base/setshow.exp: New file, tests show and set.
23211 * gdb.base/setshow.c: New file, tests show and set.
23212 * gdb.base/help.exp: Add test for help set|show annotate.
23213 * gdb.base/default.exp: Add test for set|show annotate.
23214
23215Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
23216
23217 * testsuite/gdb.base/break.exp: Make backtrace from factorial
23218 errors unique.
23219 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
23220 explicitly.
23221
23222Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
23223
23224 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
23225 and width commands. This is done elsewhere.
23226 * (gdb_start): Don't call gdb_start_sim here. That's already
23227 done in gdb_load. This fixes lots of failures in default.exp.
23228
23229Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
23230
23231 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
23232 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
23233 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
23234 in the same we we treat other failures (since it may be an expected
889bf7c5 23235 condition), rather than as an error.
c906108c
SS
23236 * gdb.base/signals.exp (test_handle_all_print): Revert back to
23237 old test format.
23238
23239Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
23240
23241 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
23242 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 23243 twice. Nuke the duplicates.
c906108c 23244 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 23245 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
23246 Remove config.h along with other config files.
23247
23248Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
23249
23250 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
23251 "p func1 ()" and note that rests of tests are skipped.
23252 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 23253 setup_xfails for "print func2::coremaker_local".
c906108c
SS
23254 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
23255 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
23256 affected by the previous run test.
23257 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
23258 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
23259 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
23260 "pass int powerset tuple" and "pass modeless int powerset tuple".
23261 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
23262 "real write 4" and "real write 8".
23263 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 23264 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
23265 "print \$i after tuple assign 2", and
23266 "print vs2 after tuple assign 2".
23267 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
23268 meaningful error message and return -1 so the caller can
23269 suppress further tests and avoid a cascade of errors.
d63a86f8 23270
c906108c
SS
23271Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
23272
23273 * gdb.base/a1-selftest.exp: Tweak tests to account for new
23274 format for printing version.
23275 * gdb.base/default.exp: Ditto.
23276 * gdb.base/interrupt.exp: Fix problem with cascade of
23277 errors if child process dies while calling a function.
d63a86f8 23278
c906108c
SS
23279Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
23280
23281 * Makefile.in (VPATH): Add
23282 * Makefile.in (Makefile, config.status): Fix rules so things get
23283 remade when necessary.
23284
23285Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
23286
23287 * Makefile.in (just-check): Add path to sibling expect dir
23288 to environment variable specified by RPATH_ENVVAR.
23289
23290Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
23291
23292 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
23293 (just-check): Add shared library paths for libstdc++, tk,
23294 tcl, bfd, and opcodes to the environment variable specified
23295 in RPATH_ENVVAR.
23296 * configure.in: Add support to recognize --enable-shared flag
23297 and generate correct value for RPATH_ENVVAR.
23298 * configure: Regenerated with autoconf.
23299
23300Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
23301
23302 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 23303 include all osf versions.
c906108c
SS
23304 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
23305 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
23306 when target is linux. When failing to build pthreads test
23307 executable, give more meaningful message.
23308 * gdb.threads/pthreads.c: Hpux also uses old definition of second
23309 arg for pthread_create.
d63a86f8 23310
c906108c
SS
23311Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
23312
23313 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 23314 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 23315 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 23316 and -lpthreads (everybody else).
c906108c
SS
23317 (test_startup): Fail gracefully if threads are not supported.
23318 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
23319 "p/c array_index("abcdef",2)" when not gcc compiled.
23320 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
23321 "print func2::coremaker_local" when not gcc compiled.
23322 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
23323 "ptype on opaque struct tagname (statically)",
23324 "ptype on opaque struct tagname (dynamically) 1", and
23325 "ptype on opaque struct tagname (dynamically) 2"
23326 for not compiled with gcc.
23327 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
23328 backtrace when compiled with gcc.
d63a86f8 23329 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
23330 than always return success.
23331
23332Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
23333
23334 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
23335
23336Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
23337
23338 * gdb.base/structs.exp: Undo last change.
23339
23340Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
23341
23342 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
23343 encapsulate all the steps/nexts done during self test, starting
23344 at main, and makes them less sensitive to optimization issues.
23345 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
23346 signal handler" test.
23347 * gdb.threads/pthreads.exp: Only run this for native configs.
23348 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
23349 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
23350 tests.
23351 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
23352 for "runto test_calls(void)" test.
d63a86f8 23353
c906108c
SS
23354Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
23355
23356 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
23357 and don't expect address info in breakpoint confirmations.
23358
23359Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
23360
23361 * gdb.base/list.exp (test_forward_search): Increase timeout
23362 temporarily by 60 seconds for searching extremely long line,
889bf7c5 23363 and then reset to old value when done. Increase expect input
c906108c
SS
23364 buffer to 10000.
23365
23366Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
23367
23368 * gdb.base/list.exp (test_forward_search): Fix to handle very
23369 long source line without overflowing expect's input buffer.
23370
23371Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
23372
23373 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
23374 "buffer_full".
23375
23376 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
23377 "buffer_full".
23378
23379 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
23380 "buffer_full".
23381
23382 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
23383 "buffer_full".
23384
23385Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
23386
23387 * configure.in (configdirs): Add gdb.threads.
23388 * configure: Regenerated with autoconf.
23389 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
23390 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
23391 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 23392
c906108c
SS
23393Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
23394
23395 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
23396
23397Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
23398
23399 * gdb.base/signals.exp (test_handle_all_print): Test separately for
23400 each signal's status in the output of "handle all print".
23401 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
23402 the \r\n sequence that immediately precedes the gdb prompt.
23403 * gdb.base/a1-selftest.exp: Save original timeout and restore
23404 after test.
23405
23406Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
23407
23408 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
23409 symbol.
23410
23411Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
23412
23413 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
23414
23415Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
23416
23417 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
23418 timeout by 60 seconds.
23419
23420Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
23421
23422 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
23423 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
23424 error return.
23425
23426Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
23427
23428 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
23429 gdb initialization, also report how long dejagnu waited. Restore
23430 old timeout before doing error return. Temporarily increase timeout
889bf7c5 23431 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
23432
23433Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
23434
23435 * lib/gdb.exp: Report timeout value for verbosity level 2.
23436 * config/gdbserver.exp: Ditto.
23437 * config/hppro.exp: Ditto.
23438 * config/mips-gdb.exp: Ditto.
23439 * config/monitor.exp: Ditto.
23440 * config/netware.exp: Ditto.
23441 * config/sim-gdb.exp: Ditto.
23442 * config/slite-gdb.exp: Ditto.
23443 * config/udi-gdb.exp: Ditto.
23444 * config/unix-gdb.exp: Ditto.
23445 * config/vx-gdb.exp: Ditto.
23446 * gdb.base/a1-selftest.exp: Ditto.
23447 * gdb.base/a2-run.exp: Ditto.
23448 * gdb.base/break.exp: Ditto.
23449 * gdb.base/corefile.exp: Ditto.
23450 * gdb.base/list.exp: Ditto.
23451 * gdb.base/recurse.exp: Ditto.
23452 * gdb.base/scope.exp: Ditto.
23453 * gdb.base/signals.exp: Ditto.
23454
23455Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
23456
23457 * gdb.threads/Makefile.in (docdir): Removed.
23458
23459Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
23460
23461 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 23462 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 23463 @srcdir@.
d63a86f8 23464 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
23465 autoconf 2.5 or higher.
23466 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
23467
23468Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
23469
23470 * configure: Regenerated.
23471 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
23472 avoid name clashes with SunOS headers.
23473
23474Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
23475
23476 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
23477
23478Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
23479
23480 * gdb.base/callfuncs.exp: Finish last change -- make sure the
23481 prototype information ends up in the compiler info file.
23482
23483Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
23484
23485 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
23486 attempting to regenerate it. Eliminate use of a temporary file
23487 and just generate the info file directly. Source it immediately,
23488 for consistency of use.
23489 * gdb.base/corefile.exp: Ditto
23490 * gdb.base/exprs.exp: Ditto.
23491 * gdb.base/funcargs.exp: Ditto.
23492 * gdb.base/langs.exp: Ditto.
23493 * gdb.base/list.exp: Ditto.
23494 * gdb.base/mips_pro.exp: Ditto.
23495 * gdb.base/nodebug.exp: Ditto.
23496 * gdb.base/opaque.exp: Ditto.
23497 * gdb.base/ptype.exp: Ditto.
23498 * gdb.base/scope.exp: Ditto.
23499 * gdb.base/setvar.exp: Ditto.
23500 * gdb.base/signals.exp: Ditto.
23501 * gdb.base/whatis.exp: Ditto.
23502 * gdb.c++/templates.exp: Ditto.
23503 * gdb.c++/virtfunc.exp: Ditto.
23504 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 23505 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
23506
23507Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23508
23509 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
23510 it got fixed by the recent lookup_minimal_symbol_by_pc change.
23511 Increase timeout, a lot of single stepping might be needed if the
23512 target has no hardware watchpoints.
23513
23514Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
23515
23516 * gdb.base/break.exp: Ignore compiler warnings when compiling
23517 break.c.
23518 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
23519 * gdb.base/default.exp: Add h8300 xfails. Handle messages
23520 from remote-sim.
23521 * gdb.base/exprs.exp: Add h8300 xfails.
23522 * gdb.base/funcargs.exp: Likewise.
23523 * gdb.base/nodebug.exp: Likewise.
23524 * gdb.base/printcmds.exp: Likewise.
23525 * gdb.base/ptype.exp: Likewise.
23526 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
23527 h8300 xfails.
d63a86f8 23528 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
23529 on the h8300.
23530 * gdb.base/funcargs.c: Explicitly make last constant argument to
23531 call_after_alloca_subr an unsigned long type.
23532 * gdb.base/return.c: Include stdio.h.
23533
23534Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
23535
23536 * config/abug.exp: New file for the older Motorola Bug monitor
23537 that runs on the mvme13x series VME boards.
23538 * config/monitor.exp: Use the new config array for target settings
23539 if they exist.
23540
23541Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
23542
23543 * sim-gdb.exp: Make the SH simulator allocate less space when
23544 it is targeted.
23545
23546Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
23547
23548 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
23549 test.
23550
23551Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
23552
23553 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
23554 "rs6000-*-*" for "list function in include file" when gcc compiled.
23555 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
23556 for "p ctable1[120]".
23557 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
23558 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
23559 Remove setup_xfail for "rs6000-*-*" for
23560 "print 'scope0.c'::filelocal before run".
23561 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
23562 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
23563 since some compilers don't allow both options to be given
23564 on the same command line. Create object file and move it.
d63a86f8 23565
c906108c
SS
23566Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
23567
23568 * gdb.base/corefile.exp: Always regenerate the core file, since
23569 we always regenerate the coremaker program. Detect special case
23570 where registers cannot be read from core file.
d63a86f8 23571
c906108c
SS
23572Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
23573
23574 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
23575 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
23576 * gdb.c++/templates.exp: Only match on basename of file since
23577 some formats like xcoff don't encode directory information.
23578 * gdb.stabs/weird.exp: Use the right sed script for powerpc
23579 and rs6000 AIX xcoff targets.
23580 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
23581 * configure: Regenerate.
23582 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
23583 here, rather than in distclean.
d63a86f8 23584
c906108c
SS
23585Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
23586
23587 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
23588 defined, and use it to compile the test case with -O2. The
23589 native compilation still uses no optimization.
23590 * gdb.base/mips_pro.c: Remove inline assembly code since
23591 it is compiled PIC by default, which results in assembler
23592 warnings that make the testsuite think the compilation
23593 was unsuccessful.
23594
23595Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
23596
23597 * gdb.c++/misc.exp: Add note to message for
23598 "print s.a for foo struct" that this is a known gcc 2.7.2
23599 and earlier bug.
23600
23601Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
23602
23603 * gdb.base/break.exp: Fix pattern for matching "Delete all
23604 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
23605 setup_xfail for deleting all breakpoints test. Fix various
23606 timeout messages to include "(timeout)".
23607 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
23608 for "p t_float_values2(3.14159,float_val2)".
23609 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
23610 for "continue to call2g" when gcc compiled.
23611 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
23612 "up to foo in langs.exp", "show language at foo in langs.exp",
23613 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
23614 and "show language at fsub in langs.exp".
23615 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
23616 "list line 1 in include file", "list message for lines past EOF",
23617 "list function in include file", "list list0.h:foo", and
23618 "list filename:function; nonexistant function".
23619 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
23620 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
23621 and "ptype t_char_array" to be for native cc only.
d63a86f8 23622
c906108c
SS
23623Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
23624
d63a86f8 23625 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 23626 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 23627 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
23628
23629Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
23630
23631 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
23632 "bt in signals.exp". This problem only appears when running
23633 the testsuite, and then only intermittently.
23634
23635Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
23636
23637 * gdb.base/return.exp (return_tests): Differentiate between
23638 two tests of continuing.
23639
23640Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
23641
23642 * */Makefile.in (maintainer-clean): Remove config.log.
23643 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
23644 * gdb.c++/Makefile.in (PROGS): Add inherit.
23645 (clean): Remove *.ci.
23646
23647Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
23648
23649 * gdb.c++/misc.cc: Add test code from Mike Stump.
23650 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
23651
23652Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
23653
23654 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
23655 to "alpha-*-osf2*" and add comment.
23656 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
23657 setup_xfail for "step over execarg initialization" and
23658 "step over corearg initialization".
c906108c
SS
23659 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
23660 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
23661 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 23662 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
23663 "print func2::coremaker_local", and "backtrace in corefile.exp".
23664 * gdb.base/signals.exp: Build and source signals.ci.
23665 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
23666 to be for gcc only.
23667 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 23668
c906108c
SS
23669Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23670
23671 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
23672 Feb 3 procfs.c change.
23673
23674Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
23675
23676 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
23677
23678Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
23679
23680 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
23681 from dejagnu's apparent default of 10 seconds, which gives random
23682 results when running the tests over NFS on moderately loaded systems.
23683 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
23684
23685Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
23686
23687 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
23688 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 23689 result reports.
c906108c
SS
23690
23691Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
23692
23693 * configure.in (CY_AC_PATH_TCLH): Remove.
23694 * configure: Regenerate.
23695
23696Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
23697
23698 * gdb.c++/Makefile.in (clean): Add missing '{'.
23699
23700Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
23701
23702 * lib/gdb.exp: Provide a default value for noinferior.
23703
23704 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
23705 Load libgloss.exp.
23706
23707Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
23708
23709 * gdb.disasm/hppa.exp: Compile directly into an executable, use
23710 the executable, not the .o to run the tests from.
23711
23712Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
23713
23714 * gdb.base/break.exp: Don't test for program exit or exit status
23715 if $noresults if nonzero.
23716 * gdb.base/langs.exp: Likewise.
23717 * gdb.base/watchpoint.exp: Likewise.
23718
23719 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
23720 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
23721 trying to compile the testcase.
23722
23723Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
23724
23725 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
23726 * gdb.base/signals.exp (continue to handler): Likewise.
23727
23728Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
23729
23730 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
23731
23732 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
23733
23734Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
23735
23736 * gdb.base/corefile.exp: Recognize "not found" as failure
23737 when trying to determine if a core file was generated.
23738 If no core file was generate the first time, try again without
23739 the ulimit -c to work around braindamaged shells.
23740
23741Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
23742
23743 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
23744 [] tests with "test" and enclose string in quotes.
23745 * gdb.stabs/configure: Rebuild
d63a86f8 23746
c906108c
SS
23747Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
23748
23749 Changes in sync with expect:
23750 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
23751 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
23752 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
23753 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
23754 argument to AC_REQUIRE.
23755 * configure: Regenerated.
23756
23757Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
23758
23759 * gdb.base/corefile.exp: When generating a core, discard any
23760 error messages about ulimit not found and the "core dumped"
23761 message from the shell that runs the coredumper.
23762
23763Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
23764
23765 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
23766
23767 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
23768 which sed script to run. Expect failure for v_comb test
23769 on PA targets too.
d63a86f8 23770
c906108c
SS
23771Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
23772
23773 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 23774 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
23775
23776Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
23777
23778 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
23779 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 23780 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
23781 * lib/gdb.exp (default_gdb_start): Fix typo.
23782 * gdb.base/corefile.exp: Allow "Core was generated by ..."
23783 messages to not include the full program name that caused
23784 the core dump since some systems (such as solaris) apparently
23785 truncate this path to about 80 characters.
23786 When generating a core file first try increasing the core file
23787 size limit to unlimited since some systems may default it to
23788 zero, and it is harmless to try it. Move the test for failing
23789 to generate a core file to where it will actually get executed.
23790 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
23791 new gdb result from g++ debug info improvements and make old
23792 pattern obsolescent. Also account for size_t differences
23793 (may be int or long).
23794 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
23795 initialization before function call is placed in the delay slot
23796 and thus appears to be skipped over by commands such as "next".
23797
23798Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
23799
23800 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
23801
23802Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
23803
23804 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
23805 input source file; fix code to compile test to deal with this
23806 convention.
23807 * gdb.c++/*.exp: Likewise.
23808
23809Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
23810
23811 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
23812 "bt in signals.exp".
23813
23814Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
23815
23816 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
23817 "step over execarg initialization" and
889bf7c5 23818 "step over corearg initialization".
c906108c
SS
23819
23820Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
23821
23822 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
23823 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
23824
23825Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
23826
23827 From Rob Savoye (rob@poseidon.cygnus.com)
23828 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
23829 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
23830 configure.in}, gdb.disasm/{Makefile.in, configure.in},
23831 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
23832 configure.in}: Major reworking for autoconfig.
c906108c
SS
23833 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
23834 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 23835 New files.
c906108c
SS
23836 * config/unix-gdb.exp: Make GDB global.
23837 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
23838 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
23839 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
23840 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
23841 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
23842 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 23843 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
23844 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
23845 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
23846 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
23847 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 23848 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
23849 to returns as necessary, arrange for test to compile own testcase
23850 executable.
c906108c 23851 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 23852
c906108c
SS
23853Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
23854
23855 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 23856 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
23857 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
23858 "backtrace through signal handler".
23859
23860Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23861
23862 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
23863 continuing from a job control stop signal.
23864 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
23865
23866Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
23867
23868 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
23869 * gdb.base/corefile.exp: Likewise.
23870 * gdb.base/funcargs.exp: Likewise.
23871
23872Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
23873
23874 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
23875 * config/monitor.exp: Add support for setting baud rate.
23876
23877Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
23878
23879 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
23880 i*86-*-linux* xfails for "backtrace through signal handler".
23881 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
23882 "print func2::coremaker_local".
23883 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 23884 alpha-dec-osf2* xfail for
c906108c
SS
23885 "delete all breakpoints when none".
23886
23887Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
23888
23889 * gdb.base/break.exp: Change test that deletes all breakpoints
23890 when no user breakpoints are installed. A post 4.15 change
23891 causes gdb to no longer prompt in this case.
23892
23893Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
23894
23895 * gdb.base/return.exp (return_tests): Change xfail for test
23896 "correct value returned double test" to stop xfailing at
23897 Solaris 2.5. Apparently the bug has been fixed.
23898
23899Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
23900
23901 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
23902 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
23903
23904Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
23905
23906 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
23907 * gdb.disasm/hppa.s: Corresponding changes.
23908
23909Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
23910
23911 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
23912 makefile fragment.
23913 * config/mt-hpux: Deleted.
23914
23915Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
23916
d63a86f8 23917 * Many files: When warning about suppressed tests due to a
c906108c
SS
23918 nonexistant test binary, avoid incrementing the warning count.
23919
23920Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
23921
23922 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 23923
c906108c
SS
23924Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23925
23926 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
23927 "sparc-*-solaris2*".
23928
23929Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23930
23931 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
23932 Add global and local variables and initialize them.
23933 * gdb.base/corefile.exp: Test correct mapping of corefile sections
23934 by printing variables. Remove rs6000 and powerpc xfails, BFD now
23935 extracts the file name and terminating signal from the core file.
23936 * TODO: Remove note about tests for correct mapping of corefile.
23937 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
23938 from optimizing it away.
23939 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
23940 handles common blocks.
23941
23942Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
23943
23944 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
23945 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
23946
23947Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
23948
23949 * Makefile.in (maintainer-clean): New target, synonym for
23950 realclean.
23951 * gdb.base/Makefile.in (maintainer-clean): Likewise.
23952 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
23953 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
23954 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
23955 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
23956 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
23957
23958Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
23959
23960 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
23961 xfails when not gcc compiled for "print foo::funclocal".
23962 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
23963 "print foo::funclocal at foo",
23964 "print 'scope1.c'::foo::funclocal at foo",
23965 "print foo::funclocal_bss at foo",
23966 "print 'scope1.c'::foo::funclocal_bss at foo",
23967 "print foo::funclocal_ro at foo",
23968 "print 'scope1.c'::foo::funclocal_ro at foo",
23969 "print bar::funclocal at foo" and
23970 "print 'scope1.c'::bar::funclocal at foo".
23971 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
23972 gcc compiled for "print foo::funclocal at bar".
23973 Expand all messages to ensure that they identify that
23974 the test is at bar().
23975 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
23976 gcc compiled for:
23977 "ptype on opaque struct pointer (statically)",
23978 "ptype on opaque struct tagname (statically)",
23979 "ptype on opaque struct pointer (dynamically) 1",
23980 "ptype on opaque struct tagname (dynamically) 1",
23981 "ptype on opaque struct pointer (dynamically) 2" and
23982 "ptype on opaque struct tagname (dynamically) 2
23983 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
23984 gcc compiled for:
23985 "p datalocal"
23986 "whatis datalocal",
23987 "ptype datalocal",
23988 "p bsslocal",
23989 "whatis bsslocal", and
23990 "ptype bsslocal".
23991 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
23992 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
23993 when not gcc compiled.
23994 * gdb.base/funcargs.exp (float_and_integral_args): Add
23995 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
23996 compiled.
23997 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
23998 "backtrace from call6a" when not gcc compiled.
23999 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
24000 "backtrace from call7a" when not gcc compiled.
24001 * gdb.base/callfuncs.exp (do_function_calls):
24002 Add "hppa*-*-hpux*" xfail when not gcc compiled for
24003 "p t_char_array_values(char_array_val2,char_array_val1)",
24004 "p t_char_array_values(char_array_val1,char_array_val2)",
24005 "p t_char_array_values("carray 1","carray 2")",
24006 "p t_char_array_values("carray 1",char_array_val2)",
24007 "p t_char_array_values(char_array_val1,"carray 2")",
24008 "p sum_args(1,{2})",
24009 "p sum_args(2,{2,3})",
24010 "p sum_args(3,{2,3,4})",
24011 "p sum_args(4,{2,3,4,5})"
24012 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
24013 "backtrace in corefile.exp" when not gcc compiled.
24014
24015Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24016
24017 * gdb.base/signals.exp: Rewrite `handle all print' test as
24018 a procedure. Accept blanks or TABs as whitespace, increase
24019 timeout and expect input buffer size for the large output
24020 from the command. Remove "i*86-*-bsdi2.0" xfail.
24021
24022Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24023
24024 * gdb.base/setvar.exp: Add new testcases for truncation when
24025 assigning invalid values to bitfields.
24026
24027Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
24028
d63a86f8 24029 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
24030 mips-sgi-irix* xfail for
24031 "call inferior func with struct - returns char *"
24032 and fix test so that an optional (unsigned char *) cast is
889bf7c5 24033 accepted in the result.
c906108c
SS
24034
24035Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
24036
24037 * gdb.base/funcargs.exp (float_and_integral_args): Remove
24038 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
24039 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
24040 * gdb.base/signals.exp: Remove duplicate "handle all print" test
24041 that accidentally got checked in.
24042
24043Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
24044
d63a86f8 24045 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
24046 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
24047 compiled test.
24048 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
24049 Add mips-sgi-irix5* xfail for not gcc compiled.
24050 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
24051 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
24052 "p top", "whatis top", "p middle", and "whatis middle".
24053 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
24054 "whatis signed char" for not gcc compiled.
24055 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
24056 "set variable signed char=-1 (-1)" and
24057 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
24058 * gdb.base/funcargs.exp (float_and_integral_args):
24059 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
24060 Add mips-sgi-irix* xfail when not gcc compiled for
24061 "continue to call2b".
24062 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
24063 "continue to call2g".
24064 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
24065 "backtrace from call6a"
24066 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
24067 "backtrace from call7k".
24068 Add mips-sgi-irix5* xfail when not gcc compiled for
24069 "backtrace from call7a".
24070 (localvars_after_alloca): Fix gdb_test cmds for
24071 "print * after runto ...".
24072 Remove rs6000-*-* xfails for
24073 "print i after runto localvars_after_alloca" and
24074 "print l after runto localvars_after_alloca"
24075 for all compilers.
24076 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 24077 when not compiled with gcc, for:
c906108c
SS
24078 "print signed char == (minus)",
24079 "print signed char != (minus)",
24080 "print signed char < (minus)",
24081 "print signed char > (minus)".
24082 * gdb.base/callfuncs.exp (do_function_calls):
24083 Add mips-sgi-irix* xfail, when compiled with native compiler, for
24084 "call inferior func with struct - returns char *".
d63a86f8 24085 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
24086 "correct value returned double test" to include Solaris 2.4.
24087 * gdb.base/funcargs.exp (float_and_integral_args):
24088 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 24089
c906108c
SS
24090Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24091
24092 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
24093 enumeration bitfields if compiling with GNU C.
24094 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
24095 to empty' prompt.
24096
24097Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
24098
24099 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
24100 test for PRO targets.
24101
24102 * gdb.base/funcargs.exp: Avoid ever setting more than 8
24103 breakpoints in the inferior at any given time by making
24104 two groups of breakpoints for call2*, call6* and call7*
24105 tests.
24106
24107Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24108
24109 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
24110 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
24111 from optimizing it away.
24112 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
24113 "call inferior func with struct".
24114
24115Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
24116
24117 * configure.in: Only configure gdb.chill for particular targets.
24118
24119Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
24120
24121 * gdb.base/Makefile.in: Add action to .c.o transformation
24122 rule that generates a .ci file for each .o file and remove
24123 explicit .c.o rules except for callfuncs.o.
24124 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
24125 generates a .ci file for each .o file and remove explicit
24126 .cc.o rules.
24127 (clean): Remove *.tmp *.ci files.
24128 (EXECUTABLES): Remove templ-info.exp.
24129 * gdb.base/compiler.c: New file.
24130 * gdb.c++/compiler.cc: New file
24131 * gdb.base/scope.exp: Source gdb.base/scope.ci.
24132 Change rs6000-*-* xfail for
24133 "print 'scope0.c'::filelocal_ro" and
24134 "print 'scope1.c'::filelocal" and
24135 "print 'scope1.c'::filelocal_bss" and
24136 "print 'scope1.c'::filelocal_ro" and
24137 "print 'scope1.c'::foo::funclocal" and
24138 "print 'scope1.c'::foo::funclocal_ro" and
24139 "print 'scope1.c'::bar::funclocal" and
24140 "print 'scope0.c'::filelocal_ro" and
24141 "print 'scope1.c'::filelocal at foo" and
24142 "print 'scope1.c'::filelocal_bss at foo" and
24143 "print 'scope1.c'::filelocal_ro at foo" and
24144 "print 'scope1.c'::foo::funclocal at foo" and
24145 "print 'scope1.c'::foo::funclocal_bss at foo" and
24146 "print 'scope1.c'::foo::funclocal_ro at foo" and
24147 "print 'scope1.c'::bar::funclocal at foo" and
24148 "print 'scope0.c'::filelocal_ro" and
24149 "print 'scope1.c'::filelocal" and
24150 "print 'scope1.c'::filelocal_bss" and
24151 "print 'scope1.c'::filelocal_ro" and
24152 "print 'scope1.c'::foo::funclocal" and
24153 "print 'scope1.c'::foo::funclocal_bss" and
24154 "print 'scope1.c'::foo::funclocal_ro" and
24155 "print 'scope1.c'::bar::funclocal" and
24156 "print 'scope1.c'::bar::funclocal_bss"
24157 to only be xfail'd when not compiled with gcc.
d63a86f8 24158 Add rs6000-*-* xfail for
c906108c
SS
24159 "print 'scope0.c'::filelocal_bss before run"
24160 when compiled with gcc.
24161 (test_at_main): Add rs6000-*-* xfail for
24162 "print filelocal_ro in test_at_main"
24163 when compiled with gcc.
24164 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 24165 Add rs6000-*-aix* xfail for
c906108c
SS
24166 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
24167 "ptype t_char_array", not compiled with gcc.
24168 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
24169 xfail for "list foo (in include file)" when gcc compiled.
24170 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 24171 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
24172 "run to call0a" if not compiled with gcc.
24173 (unsigned_integral_args): Add rs6000-*-* xfail for
24174 "run to call1a" if not compiled with gcc.
24175 (float_and_integral_args): Add rs6000-*-* xfail for
24176 "run to call2a" if not compiled with gcc and for
24177 "continue to call2b" for any compiler.
24178 Add rs6000-*-* xfail to
24179 "print f1 after run to call2a" for gcc compiled.
24180 (discard_and_shuffle): Add rs6000-*-* xfail for
24181 "run to call6a".
24182 (shuffle_round_robin): Add rs6000-*-* xfail for
24183 "backtrace from call7a" if not compiled with gcc.
24184 Add rs6000-*-* xfail for
24185 "backtrace from call7b" if compiled with gcc.
24186 (call_after_alloca): Add rs6000-*-* xfail for
24187 "print c in call_after_alloca" and
24188 "print s in call_after_alloca" and
24189 "backtrace from call_after_alloca_subr"
24190 if not compiled with gcc.
24191 (localvars_in_indirect_call): Add rs6000-*-* xfail for
24192 "print c in localvars_in_indirect_call" and
24193 "print c in localvars_in_indirect_call" and
24194 "backtrace in indirectly called function" and
24195 "stepping into indirectly called function"
24196 if not compiled with gcc.
24197 (localvars_after_alloca): Add rs6000-*-* xfail for
24198 "print c after runto localvars_after_alloca" and
24199 "print s after runto localvars_after_alloca" and
24200 "print i after runto localvars_after_alloca" and
24201 "print l after runto localvars_after_alloca"
24202 for all compilers.
24203 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
24204 than whatis-info.exp.
24205 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
24206 than opaque-info.exp.
24207 Setup rs6000-*-* xfail for
d63a86f8 24208 "ptype on opaque struct pointer (statically)" and
c906108c
SS
24209 "ptype on opaque struct pointer (dynamically)" when
24210 not compiled with gcc.
24211 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
24212 rather than callf-info.exp.
24213 (do_function_calls): Add clear_xfail for rs6000-*-* for
24214 "p t_float_values2(3.14159,float_val2)". Seems to work
24215 fine there, both with xlc and gcc. Need to find out what
24216 it is doing right and fix other platforms.
24217 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
24218 "call inferior func with struct - returns int",
24219 "call inferior func with struct - returns long",
24220 "call inferior func with struct - returns float",
24221 "call inferior func with struct - returns double",
24222 "call inferior func with struct - returns char *",
24223 but only if not gcc compiled (presumes xlc compiled).
24224 Change rs6000-*-* xfails for
24225 "call inferior func with struct - returns char" and
24226 " call inferior func with struct - returns short" to only
24227 xfail if not using gcc.
24228 (clean mostlyclean): Remove *.ci and *.tmp files.
24229 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
24230 than templ-info.exp.
24231 * gdb.base/langs.exp: Source gdb.base/langs.ci.
24232 Add rs6000-*-* xfail for "up to foo in langs.exp"
24233 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 24234 when not gcc compiled.
d63a86f8 24235
c906108c
SS
24236Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
24237
24238 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
24239 * gdb.base/corefile.exp: Likewise.
24240 * gdb.base/list.exp: Likewise.
24241 * gdb.base/scope.exp: Likewise.
24242 * gdb.base/siganls.exp: Likewise.
24243
24244 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
24245 compiler output.
24246 * gdb.base/whatis.exp: Likewise.
24247
24248Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
24249
24250 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
24251 failure (opcode table has been fixed to match reality).
24252
24253Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
24254
24255 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
24256 "call inferior func with struct - returns char",
24257 "call inferior func with struct - returns short"
24258
24259 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
24260 "print 'scope0.c'::filelocal at main",
24261 "print 'scope0.c'::filelocal_bss in test_at_main",
24262 "print 'scope0.c'::filelocal at foo",
24263 "print 'scope0.c'::filelocal_bss in test_at_foo",
24264 "print 'scope0.c'::filelocal at bar",
24265 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 24266
c906108c
SS
24267 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
24268 in source file 1". This bug seems to have been fixed with both
24269 gcc and native cc (was native assembler bug?).
24270
24271Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
24272
24273 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
24274 "backtrace through signal handler" to "i*86-*-sysv4*".
24275 * gdb.base/signals.exp: Add xfail for "'next' behaved as
24276 continue" case. Add "known SVR4 bug" to fail message.
24277 Add "i*86-*-bsdi2.0" xfail for "handle all print".
24278 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
24279 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
24280 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
24281 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
24282 "up to foo in langs.exp", "show language at foo in
24283 langs.exp", "up to cppsub_ in langs.exp", "show
24284 language at cppsub_ in langs.exp", "up to fsub in
24285 langs.exp", and "show language at fsub in langs.exp".
24286 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
24287 "bactrace in corefile.exp".
24288 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
24289 "call inferior function with struct - returns float" and
24290 "call inferior function with struct - returns double".
d63a86f8 24291
c906108c
SS
24292Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
24293
24294 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
24295 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
24296 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
24297 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
24298
24299Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
24300
24301 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
24302 (or overriden) "CHILL" macro rather then bare "gcc".
24303 Also look for ../../gcc/xgcc since that is what we will
24304 actually need, not "Makefile". Remove following assignment
24305 of CHILL to CHILL_FOR_TARGET because that results in
24306 recursive definition.
24307
24308Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
24309
24310 * gdb.base/corefile.exp: Change xfail for backtrace in
24311 corefile.exp from linuxaout to all linux.
24312 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
24313 cases where we miss the breakpoint at the signal handler
24314 for some reason. Setup xfail for linuxoldld/linuxaout and
24315 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
24316 hitting SIGURG breakpoint.
24317 * gdb.base/signals.exp: Setup xfail for "next" acting like
24318 continue to add linuxoldld. Setup xfail for all linux for
24319 "next to handler in signals_tests_1", "backtrace in
24320 signals_tests_1", "continue to func1", "pass SIGUSR1",
24321 and continue to handler".
24322
24323Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
24324
24325 * Update all FSF addresses except those in COPYING* files.
24326
24327Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
24328
24329 * gdb.base/a2-run.exp: Change messages to be more explicit about
24330 the status of args, and quote binfile in results.
24331
24332Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
24333
24334 * gdb.base/callfuncs.exp: Add tests for passing structs to
24335 inferior functions and return various types.
24336 * gdb.base/callfuncs.c: Add functions to receive a struct
24337 and return a member of the struct, in various types.
24338
24339Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24340
24341 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
24342
24343Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
24344
24345 * config/vxworks29k.exp: New file, sources vxworks.exp.
24346
24347Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
24348
24349 * config/gdbremote.exp: New file. Testing framework using
24350 gdbserver.
24351
24352Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
24353
24354 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
24355 "call function when asleep" and "send end of file".
24356 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
24357 for "backtrace in corefile.exp".
24358 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
24359 for "backtrace through signal handler".
24360 * gdb.base/corefile.exp: Make sure we actually generate a core file
24361 before trying the core tests. Some systems allow the user to suppress
24362 generation of core files and default to that (linux for example).
24363 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
24364 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
24365
24366Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
24367
24368 * gdb.threads: New directory with some crude multi-threaded
24369 gdb tests (step.exp and step2.exp).
24370 * config/mt-lynx (STEP_EXECUTABLE): Define.
24371 (THREADFLAGS): Define.
24372
24373Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
24374
24375 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
24376
24377 * gdb.base/signals.exp: Disable whole file for lynx until
24378 further notice.
24379
24380 * gdb.base/signals.exp: xfail test where "next" acts like
24381 "continue" for lynx.
24382
24383 * gdb.base/interrupt.exp: xfail test for calling function while
24384 inferior is asleep for lynx.
24385
24386 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
24387 than one cr-lf after each command.
24388
24389Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24390
24391 * configure.in: Reinstate setting of stabsdirs variable, fix
24392 typo in setting up configdirs for native builds.
24393
24394 * gdb.base/return.exp: Fix typo in return double test.
24395 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
24396 compiler from optimizing them away.
24397
24398Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
24399
24400 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
24401 sequences to be echo'd by gdb when using gdb_test.
24402 * gdb.chill/chexp.exp: Likewise.
24403 * gdb.fortran/exprs.exp: Likewise
24404
24405Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
24406
24407 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
24408 after the inferior gdb has started.
24409
24410 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
24411 after each command.
24412 * gdb.base/funcargs.exp: Likewise.
24413 * gdb.base/gdbvars.exp: Likewise.
24414 * gdb.base/interrupt.exp: Likewise.
24415 * gdb.base/list.exp: Likewise.
24416 * gdb.base/watchpoint.exp: Likewise.
24417 * gdb.c++/demangle.exp: Likewise.
24418 * gdb.c++/inherit.exp: Likewise.
24419 * gdb.chill/chexp.exp: Likewise.
24420 * gdb.fortran/exprs.exp: Likewise.
24421
24422 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
24423 test if we can't handle IO to/from the inferior.
24424
24425 * gdb.c++/misc.exp: Always check for a program already being
24426 started after sending a "run" command to gdb.
24427
24428 * gdb.base/twice.exp: Start with a fresh gdb.
24429
24430 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
24431 only depend on gdb's expression code, not the chill runtime.
24432
24433 * gdb.base/return.c: Put return values into variables so we
24434 can have gdb print them rather than depending on the program
24435 to print them.
24436 * gdb.base/return.exp: Corresponding changes.
24437
24438 * lib/gdb.exp: Provide default value for noinferiorio.
24439 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
24440 the inferior.
24441
24442 * gdb.base/break.exp: Always check for a program already being
24443 started after sending a "run" command to gdb.
24444 (text_next_with_recursion): Don't check the output from the
24445 program's printf statement. Instead just make sure the program
24446 exited.
24447
24448 * gdb.base/commands.exp: Protect tests which need arguments with
24449 $noargs conditionals.
24450
24451Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24452
24453 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
24454 of structure member arrays to match gdb/valops.c:value_addr change.
24455
24456Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
24457
24458 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
24459 cases.
24460
24461Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
24462
24463 * configure.in (configdirs): Remove gdb.chill from default list
24464 of subdirs and then add it back in only if doing a native build.
24465 The current chill compiler does not yet work in any cross build.
24466 * Revert all signal changes from Jul 6.
24467 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
24468 for sh-hms targets, allowing these tests to link, with no other
24469 changes. Testing is suppressed by setting "nosignals" in site.exp.
24470
24471Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
24472
24473 * configure.in (signaldirs): Define and add to configdirs for all
24474 targets except some specific ones that are known to not support signals.
24475 Also clean up formatting.
24476 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
24477 (signals, sigall): Remove rules to build.
24478 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
24479 Moved to new gdb.signals directory.
24480 * gdb.signals: New test directory.
24481 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
24482 signals.c signals.exp}: New or moved files.
24483
24484Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
24485
24486 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
24487
24488Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
24489
24490 * gdb.base/return.exp: Xfail `return double' test failure
24491 on at least Solaris 2.3 and handle future/past versions on
24492 a case by case basis as appropriate. Also update message
24493 to include i*86 failures.
24494
24495Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24496
24497 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
24498
24499 * lib/gdb.exp: Fix comment which erroneously identified
24500 gdb_file_cmd as gdb_load (the 19 May change was in fact to
24501 gdb_file_cmd not gdb_load).
24502 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
24503
24504 * gdb.base/setvar.exp: Make test names consistent between pass and
24505 fail cases. Use gdb_test more.
24506
24507Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24508
24509 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
24510
24511Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24512
24513 * gdb.base/help.exp: Fix expected help string for `show commands'.
24514
24515Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
24516
24517 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
24518
24519 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
24520 of a text section.
24521
24522Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
24523
24524 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
24525 that loop eventually terminates. Fix Connection refused logic so
24526 that testsuite will expire nicely.
24527
24528Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
24529
24530 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
24531 config/rom68k.exp: New tcl glue for the appropriate monitors.
24532 These all just end up calling monitor.exp.
24533 * config/monitor.exp (gdb_target_monitor): Handle `Connection
24534 refused' by retrying. Cleanup some timeout issues.
24535 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
24536 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
24537 callers don't have to set/restore global timeout variable.
24538
24539 * The following set of changes centralizes management of the global
24540 timeout variable. This way, it can be set in one target dependent
24541 place instead of dozens of places scattered throughout the test suite.
24542 If you need to lengthen a timeout, then you should either set timeout
24543 in one of the config/{target}.exp files, or multiply it by a factor.
24544 Setting it to an absolute value is always going to lose for some
24545 targets.
24546 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
24547 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
24548 * gdb.base/funcargs.exp: Don't set timeout.
24549 * gdb.base/list.exp (test_forward_search): Only use local timeout.
24550 * gdb.base/printcmds.exp (test_print_string_constants
24551 test_print_array_constants): Don't set timeout.
24552 * gdb.base/ptype.exp: Don't set timeout.
24553 * gdb.base/recurse.exp: Don't set timeout.
24554 * gdb.base/return.exp: Don't set timeout.
24555 * gdb.base/watchpoint.exp: Don't set timeout.
24556 * gdb.c++/classes.exp (do_tests): Don't set timeout.
24557 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
24558
24559Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
24560
24561 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
24562
24563Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24564
24565 * lib/gdb.exp: Disable chill tests for irix5.
24566
24567Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24568
24569 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
24570 each test pass or fail.
24571
24572Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24573
24574 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
24575 xlc not gcc.
24576
24577Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
24578
24579 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
24580
24581Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
24582
24583 * config/est.exp: Fix copyright and comments. Remove dead code.
24584 Use targetname, serialport and baud variables instead of fixed
24585 constants.
24586 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
24587 * config/cpu32bug.exp: New file to support cpu32bug monitors.
24588
24589Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24590
24591 * gdb.base/watchpoint.exp: Don't run
24592 test_watchpoint_triggered_in_syscall for sunos.
24593
24594Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24595
24596 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
24597 they don't seem to exist. Do include stdio.h.
24598
24599Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24600
24601 * gdb.base/a1-selftest.exp: Add alpha xfail.
24602
24603Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24604
24605 * gdb.base/watchpoint.c (main): Prompt before calling read().
24606 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
24607 Revise accordingly. Remove cruft about sending "123" several
24608 times, until it gets noticed. Clean up the "print buf[0]" stuff
24609 so that it passes or fails, and waits for prompts in the usual way.
24610
24611Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24612
24613 * gdb.base/recurse.exp: Fix comment.
24614
24615 * TODO: Remove item about printing variables in nodebug.exp. Add
24616 item about enabling tests which are only run on some targets.
24617
24618 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
24619 fail, make test names unique, use new gdb_test convention
24620 regarding pattern, use gdb_test more, etc.).
24621
24622 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
24623 fail, make test names unique, etc.).
24624
24625Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24626
24627 * gdb.base/nodebug.c: Change return type of top and middle to
24628 short.
24629 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
24630 are fixed by the recent mdebugread.c changes. Allow `short ()'
24631 as type for top and middle.
24632
24633Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24634
24635 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
24636 nearly as I can tell, the whole thing was an accident in Stu's
24637 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
24638 to replace a send/expect pair with gdb_test, but ended up only
24639 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
24640 of 30 Mar 1995 took care of it, but left this vestigial comment
24641 which I am now nuking.
24642
24643Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24644
24645 * gdb.base/break.exp: Look for different line number for
24646 breakpoint at main depending on usestubs.
24647
24648Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24649
24650 * gdb.base/list.exp: Adjust some alternate expect patterns to
24651 match recent list0.c change. Add alternate expect pattern for
24652 output from `list default lines around main' for optimizing
24653 compilers.
24654
24655Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24656
24657 * lib/gdb.exp: If nosignals is not set, set it to 0.
24658
24659Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
24660
24661 * config/slite-gdb.exp: Responds to load symbol table prompt.
24662 * gdb.base/break.exp: Adjust line number, fix rerun.
24663 * gdb.base/langs0.c: Add #ifdef usestubs.
24664
24665Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
24666
24667 * gdb.base/list.exp: Adjust line contents after adding new lines in
24668 list0.c. Also fix a syntax error.
24669
24670 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
24671 * gdb.base/break.exp: ditto.
24672 * gdb.base/list.exp: ditto.
24673 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
24674 * gdb.base/run.c: ditto.
24675 * gdb.base/list0.c: ditto.
24676 * gdb.base/funcargs.c: ditto.
24677
24678Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
24679
24680 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
24681 $targetname, $serialport and $baud instead of hardwired variables.
24682 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
24683 target doesn't support signals.
24684
24685Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
24686
24687 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
24688
24689Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24690
24691 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
24692 Don't rely on the value of an auto variable before it has been
24693 initialized. Use gdb_test more.
24694
24695Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24696
24697 * lib/gdb.exp (default_gdb_version): A version number must start
24698 with a digit, but other than that contains all characters up to
24699 the first whitespace character.
24700
24701Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24702
24703 * gdb.base/commands.exp (breakpoint_command_test): New tests.
24704
24705Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24706
24707 * gdb.c++/*.exp: Warn if executable does not exist. The original
24708 reason for skipping the warning was that configure.in sometimes
24709 intentionally skipped building the executables but the tcl code
24710 had no way of knowing. That (a) was always bogus with respect to
24711 error handling, (b) is no longer true (right now there is no way
24712 to skip C++ tests).
24713
24714 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
24715
24716Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24717
24718 * gdb.base/list.exp: Add expect patterns for output from
24719 SunPRO compiled executables.
24720 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
24721 types.
24722
24723Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24724
24725 * gdb.base/break.exp (test_next_with_recursion): Accept any line
24726 number (we are already testing that the correct source line text
24727 gets printed).
24728
24729 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
24730 that is what is intended, but something needed to be done to get
24731 sunos4 native working again.
24732
24733 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
24734
24735 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
24736 apparently went with a (very) old xfail.
24737
24738Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
24739
24740 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
24741 runto_main is a proc in gdb.exp that will do 'step' for target use
24742 stubs.
24743 * gdb.base/exprs.exp: ditto.
24744 * gdb.base/interrupt.exp: ditto.
24745 * gdb.base/opaque.exp: ditto.
24746 * gdb.base/printcmds.exp: ditto.
24747 * gdb.base/ptype.exp: ditto.
24748 * gdb.base/scope.exp: ditto.
24749 * gdb.base/setvar.exp: ditto.
24750 * gdb.base/signals.exp: ditto.
24751 * gdb.base/twice.exp: ditto.
24752 * gdb.c++/classes.exp: ditto.
24753 * gdb.c++/inherit.exp: ditto.
24754 * gdb.c++/templates.exp: ditto.
24755 * gdb.base/break.exp: no run and hit main for stubs. Change line
24756 numbers for breakpoints and info breakpoint.
24757 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
24758 breakpoint().
24759 * gdb.base/callfuncs.c: ditto.
24760 * gdb.base/exprs: ditto.
24761 * gdb.base/interrupt.c: ditto.
24762 * gdb.base/opaque0.c: ditto.
24763 * gdb.base/printcmds.c: ditto.
24764 * gdb.base/ptype.c: ditto.
24765 * gdb.base/scope0.c: ditto.
24766 * gdb.base/setvar.c: ditto.
24767 * gdb.base/signals.c: ditto.
24768 * gdb.base/twice.c: ditto.
24769 * gdb.c++/misc.cc: ditto.
24770 * gdb.c++/templates.cc: ditto.
24771
24772Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24773
24774 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
24775
24776 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
24777 somewhere between `read' and `main.c'. I'm pretty sure the
24778 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
24779 and it isn't particularly useful.
24780
24781 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
24782
24783Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24784
24785 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
24786
24787Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
24788
24789 * config/mt-slite: add LIBS and -nostdlib.
24790 * config/slite-gdb.exp: add this new file to support sparclite target.
24791
24792Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
24793
24794 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
24795
24796 * gdb.base/a2-run.exp: Change argument to istarget from
24797 "*-*-vxworks" to "*-*-vxworks*".
24798 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
24799
24800Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
24801
24802 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
24803 will not runto main but do a 'step' to step out of breakpoint().
24804 * config/mt-slite: add -Dusestubs.
24805
24806Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24807
24808 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
24809 instead of just @.
24810
24811 * gdb.base/signals.exp: Add test for "handle all print".
24812 * TODO: Remove "handle all print". Also remove item about
24813 checking copyright date (I don't like the idea of a spurious FAIL
24814 based on when we run the tests).
24815
24816 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
24817 for SunOS4 (reason for failure not investigated). Remove
24818 redundant test for $binfile.
24819
24820 * gdb.base/nodebug.c (array_index): Call malloc.
24821
24822 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
24823
24824Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
24825
24826 * gdb.base/recurse.exp: Update gdb_test invocation to use new
24827 conventions and slightly simplify the matching regexp.
24828
24829Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24830
24831 * gdb.base/break.exp: Update gdb_test invocation to use new
24832 convention.
24833
24834 * lib/gdb.exp: If noargs is not set, set it to 0.
24835
24836 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
24837 tests unique.
24838
24839 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
24840
24841Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24842
24843 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
24844 one argument of type "<non-float parameter>".
24845
24846Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
24847
24848 * config/rom68k.exp: New file to support Motorola IDP board.
24849 * gdb.base/a2-run.exp: Skip this file if noargs is set.
24850 * gdb.base/break.c: Change things around so that this program
24851 doesn't depend upon args. This is necessary to make remote
24852 targets work (in general, they can't take args).
24853 * gdb.base/break.exp: Don't try to send args to program. Don't
24854 expect output. Also, replace lots of code with gdb_test.
24855
24856Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24857
24858 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
24859 printing of '\'' (which is what the comment says we are testing,
24860 even though we were not), not '''.
24861 (test_integer_literals_rejected): Test that printing ''' is an error.
24862
24863 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24864 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
24865 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
24866 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
24867 Use gdb_test not test_print_accept.
24868 * lib/gdb.exp: Remove test_print_accept.
24869
24870 * gdb.base/signals.exp (signal_tests_1): Make pass message
24871 consistent with fail message.
24872
24873 * gdb.base/whatis.exp: Remove xfails for printing char vs.
24874 unsigned char; the bug (PR 1821) is fixed.
24875
24876 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
24877
24878 * gdb.base/scope.exp (test_at_localscopes): Call pass for
24879 successful tests--makes xfailing them work right.
24880
24881Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24882
24883 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
24884 only \r\n, not .*. The test can pass .* as the last thing in
24885 $pattern if that is what it wants. In addition to providing this
24886 flexibility, this change should speed up pattern matching in cases
24887 where the pattern already ended with .* (there were a number of
24888 them). This change also helps catch bad patterns--in the old
24889 scheme the typo "char \*" instead of "char \\*" would pass. Now
24890 it is caught.
24891 * Many .exp files: Update callers.
24892
24893 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
24894 clearer and does not spuriously match multiple ('s. Likewise for
24895 ) and *.
24896
24897 * gdb.base/nodebug.exp: Test ability to call a function and pass
24898 it a string (even with no debugging info).
24899
24900 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
24901 "p '\'", which is the same as "p ''" once tcl gets done with
24902 quoting, to "p '\\'", which I suspect is what is intended (one
24903 backslash gets sent to GDB).
24904
24905 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
24906
24907Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24908
24909 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
24910 1817) was fixed literally years ago.
24911
24912Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24913
24914 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
24915 test, it causes stepping out of call_after_alloca_subr with
24916 optimizing compilers.
24917 (localvars_in_indirect_call): Consume GDB prompt if `finish'
24918 fails.
24919
24920 * gdb.c++/templates.exp: Source templ-info.exp only if
24921 the templates executable exists.
24922
24923 * gdb.c++/misc.cc (class Contains_static_instance,
24924 class Contains_nested_static_instance),
24925 gdb.c++/classes.exp (test_static_members): Test printing of
24926 a class that contains a static instance of the class.
24927
24928Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24929
24930 * gdb.base/langs2.c (cppsub_): Don't prototype.
24931 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
24932 only, I believe).
24933
24934Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24935
24936 * lib/gdb.exp (skip_chill_tests): New procedure.
24937
24938 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
24939
24940Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
24941
24942 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
24943 each expect pattern. Cuts runtime from 12 to about 4 seconds.
24944
24945Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24946
24947 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
24948
24949 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
24950 disassemble 8, not 16, instructions for part 4.
24951
24952 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
24953 support the latter anymore.
24954
24955 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
24956 -DNO_PROTOTYPES.
24957 * gdb.base/callfuncs.c: Control use of prototypes based on
24958 NO_PROTOTYPES, not __STDC__.
24959 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
24960 t_float_values2 tests if prototypes in use.
24961
24962 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
24963 t_double_values): When checking differences against DELTA, check
24964 that difference is within the range (-DELTA,DELTA), not just
24965 (-infinity,DELTA).
24966
24967Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
24968
24969 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
24970 'file' command firts, then 'target', then 'load', this is due to gdb
24971 target set up.
24972 * config/mips-gdb.exp: Fix a couple regular exp bugs.
24973
24974Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
24975
24976 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
24977 FP load/store variants.
24978 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
24979
24980Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24981
24982 * gdb.base/term.exp: Do not give a warning if not native, it is
24983 not an abnormal condition.
24984
24985Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
24986
24987 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
24988 t_char_array".
24989
24990Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24991
24992 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
24993 are getting the version number.
24994
24995 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
24996 if not native, it is not an abnormal condition.
24997
24998Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24999
25000 * lib/gdb.exp: Just use "file exists", rather than undocumented
25001 dejagnu procedure "findfile".
25002
25003Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
25004
25005 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
25006 (LDFLAGS): Set to -Xlinker -Ur.
25007
25008 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
25009 Removed, these values are set by lib/gdb.exp.
25010
25011 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
25012
25013Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
25014
25015 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
25016 of replicating gdb startup code.
25017
25018 * config/mt-vxworks (LDFLAGS): Set to -r.
25019 (CFLAGS_FOR_TARGET): Removed.
25020
25021 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
25022 (gdb) and gdb for vxworks uses (vxgdb).
25023
25024 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
25025 executable is not in the tree and host != target, use sed and
25026 program_transform_name to determine the gdb name used by the
25027 target.
25028
25029 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
25030 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
25031
25032Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25033
25034 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
25035 floats, chars, and shorts where there are ANSI-style function
25036 definitions.
25037
25038 * gdb.base/langs.exp, gdb.base/langs*: New test.
25039 * gdb.base/Makefile.in: Build it.
25040 * TODO: Remove item about checking that C names don't get C++
25041 demangling applied; this test tests it.
25042
25043Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25044
25045 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
25046 went with the const70 xfail. The xfail went away a year ago.
25047
25048 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
25049
25050 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
25051 for hp300.
25052
25053 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
25054
25055 * gdb.base/a1-selftest.exp: Don't run on hp300.
25056
25057Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25058
25059 * Makefile.in (site.exp): Set host_alias and target_alias as well
25060 as host_triplet and target_triplet.
25061
25062Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25063
25064 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
25065
25066 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
25067 places as other ecoff systems).
25068
25069 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
25070 ultrix.
25071
25072Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25073
25074 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
25075 remove them.
25076 * gdb.base/nodebug.exp: Accept "function" in addition to "text
25077 variable and "variable" in addition to "data variable".
25078 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
25079
25080 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
25081 2.
25082 * gdb.base/list1.c (long_line): Add additional statement at start
25083 of function.
25084 * gdb.base/list.exp (test_forward_search): Update line number to
25085 reflect new statement.
25086
25087Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25088
25089 * gdb.base/signals.exp: Reinitialize searched source directories
25090 after gdb_start call.
25091
25092Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
25093
25094 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
25095 * gdb.stabs/Makefile.in: Likewise.
25096
25097 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
25098 change. Instead split the tests into smaller pieces.
25099 * gdb.disasm/hppa.s: Corresponding changes.
25100
25101Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25102
25103 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
25104 Quote ^C when passing it to stty. For some shells ^ is a pipe.
25105
25106 * gdb.base/funcargs.exp: Modify many tests so that every test
25107 either passes or fails. Make some test names unique.
25108
25109Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25110
25111 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
25112 Call stty to set interrupt character.
25113
25114 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
25115 for HP assembler versus GNU assembler based on actual behavior of
25116 $(CC), rather than assuming that $(AS) is always the GNU assembler.
25117
25118 * TODO: Suggest a few more stepping tests.
25119
25120Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
25121
25122 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
25123 restart GDB for h8300 after a continue.
25124 (return): Add pattern to match a29k-udi behavior.
25125 * gdb.base/nodebug.exp: Remove obsolete comment.
25126 * gdb.base/regs.exp: New file, testing of register displays.
25127 * gdb.base/return.exp: Fix typo in reference to $objdir.
25128 * gdb.base/whatis.exp: Always start with a fresh GDB.
25129
25130Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25131
25132 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
25133 higher, these tests generate a lot of output.
25134
25135Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25136
25137 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
25138 code following the catch silently ignored some errors; without the
25139 catch they should be thrown like any other tcl error. Also, the
25140 catch used "" instead of {} which meant all the callers who wanted
25141 to include one of the characters "[]$ had to quote it an extra time.
25142 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
25143 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
25144 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
25145 Remove extra quoting.
25146
25147Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
25148
25149 * gdb.base/commands.exp: Make test names unique; every test either
25150 passes or fails. Update some comments.
25151
25152 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
25153
25154Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25155
25156 The following fixes a FAIL caused by the fact that the alpha stabs
25157 configuration didn't use the ".if alpha" code in weird.def.
25158 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
25159 bit pointer, so the 32 bit version works even on the alpha.
25160 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
25161 Remove the stuff which allowed us to have separate versions for
25162 alpha and everything else.
25163
25164 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
25165 regexp which "info func operator\[\](" is supposed to match. Fix
25166 string to send to GDB. Note that GDB still doesn't work right. Add a
25167 new test for "info func .perator\[\](" which GDB does handle correctly.
25168
25169 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
25170
25171Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25172
25173 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
25174 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
25175 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
25176 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
25177 it makes the tests harder to understand and confuses test-o-matic.
25178 The preferred style is that each test provides a PASS or a FAIL,
25179 and has a unique message (e.g. "continue #54" not just "continue")
25180 which is the same for the pass and the fail.
25181 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
25182 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
25183 to lib/gdb.exp.
25184 * gdb.base/printcmds.exp: Use test_print_accept. Remove
25185 prt_accept which was basically the same thing. Likewise for
25186 test_print_reject and prt_reject.
25187 * lib/gdb.exp (test_print_reject): Add some more error message
25188 patterns to match from the former printcmds.exp (prt_reject).
25189 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
25190 One defect of the passcount stuff is that some of it failed to
25191 report XPASS where appropriate.
25192 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
25193 stuff before and after arg in expected pattern.
25194 (test_paddr_operator_functions): Re-do test without print_addr_of;
25195 this is the only test which seems to want extra stuff there.
25196
25197Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25198
25199 * gdb.base/nodebug.exp: Update new tests to reflect improved
25200 wording of gdb output.
25201
25202 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
25203 and "ptype" work on variables in files compiled without -g.
25204 Replaces commented out "maint print msymbol" tests.
25205
25206Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25207
25208 * gdb.base/setvar.c (dummy): Call malloc.
25209
25210 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
25211 losing with the irix4 sed.
25212
25213 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
25214 ALRM" on irix4.
25215
25216Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25217
25218 * TODO: Remove items about corefile.exp testing new exec-file and
25219 backtrace; both are now done. Add items about printing enums.
25220
25221Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25222
25223 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
25224 "get signal $thissig" test fails.
25225
25226 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
25227
25228Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25229
25230 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
25231 compiler warning with dec alpha compiler.
25232
25233 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
25234 extra \n from gdb_test call (this explains why the prompt test
25235 that I removed yesterday was there).
25236 (user_defined_command_test): Remove extra \n and prompt test.
25237
25238 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
25239 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
25240 doesn't exist.
25241 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
25242 Also remove alpha workaround, which turns out to be because
25243 SIGABRT == SIGLOST.
25244
25245 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
25246
25247 * gdb.base/help.exp: Don't test "help show".
25248
25249Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25250
25251 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
25252 "set print address" is on.
25253 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
25254 pass prompt to gdb_test; gdb_test already looks for the prompt.
25255
25256 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
25257
25258 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
25259 was a vestige of the manual TESTSTRATEGY, and the purpose of it
25260 was to make sure that gdb can read a core file. But (a) the "read
25261 the corefile" part didn't make it to a1-selftest.exp, we just
25262 delete the corefile after creating it, and (b) we test reading
25263 corefiles in corefile.exp anyway. Also, this test left around a
25264 xgdb process on Solaris.
25265
25266 * gdb.base/corefile.exp: Also test backtrace.
25267
25268Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
25269
25270 * gdb.base/commands.exp: Test a simple user defined command with
25271 arguments and if/while statements; verify the full user command is
25272 printed by "show user".
25273
25274 * gdb.base/commands.exp: Test if/while commands as part of a
25275 breakpoint command list; verify they appear in breakpoint
25276 information.
25277
25278Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25279
25280 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
25281 than by dividing by zero.
25282
25283Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
25284
25285 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
25286 performing an inferior call with watchpoints enabled.
25287 * gdb.base/watchpoint.c (main): Delete second unnecessary read
25288 call.
25289
25290Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25291
25292 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
25293 of "file" command.
25294
25295 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
25296 Add additional pattern for when "int operator int(void);" appears
25297 in a different order.
25298
25299Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25300
25301 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
25302
25303 * gdb.base/help.exp: Replace most of docstrings for "info signals"
25304 and "signal" with ".*".
25305
25306Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25307
25308 * TODO: Add note about "handle all nostop".
25309
25310 * gdb.base/{sigall.c, sigall.exp}: New test.
25311 * gdb.base/Makefile.in: Add it.
25312
25313Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
25314
25315 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
25316 when invoking GDB, suppresses any windowing interface.
25317
25318Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
25319
25320 * config/sim-gdb: New file, simulator testing support.
25321
25322Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
25323
25324 * gdb.base/interrupt.exp: Test calling func1 twice.
25325
25326Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
25327
25328 * gdb.base/list.exp (test_forward_search): Set timeout higher
25329 when we'll be getting lots of output from gdb.
25330
25331 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
25332 "init_malloc" to after the expect statement. Run it if that
25333 regexp is taken, but also for two others which happen if source
25334 cannot be found.
25335
25336Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25337
25338 * gdb.base/printcmds.exp: New test, for printing register before
25339 program is running.
25340
25341Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25342
25343 * gdb.base/list.exp: Correct some alternate expect patterns
25344 to reflect changes in list1.c.
25345
25346Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25347
25348 * TODO: Add item regarding large frames.
25349
25350 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
25351
25352 * TODO: Remove item about enabling return.exp; it
25353 is enabled. Suggest a few more "return" tests.
25354
25355Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25356
25357 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
25358 anonymous unions.
25359
25360Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25361
25362 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
25363 and pr-5646.o, so "make" is the same as "make all", not "make
25364 pr-4975.o".
25365
25366Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
25367
25368 * gdb.base/list.exp: Adjust expectations to reflect changes in
25369 list1.c.
25370 (test_forward_search): New test proc.
25371 * gdb.base/list1.c (long_line): New function, has long source line.
25372
25373Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
25374
25375 * gdb.base/a1-selftest.exp: Change initial stepping to know about
25376 additional line of code that was added.
25377
25378Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
25379
25380 * gdb.disasm/hppa.s: Break the large branching tests into smaller
25381 tests so as not to overflow expect's input buffers.
25382 * gdb.disasm/hppa.exp: Corresponding changes.
25383
25384Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25385
25386 Beginnings of template debugging tests.
25387 * gdb.c++/templ-info.cc: New file to test for template
25388 debugging capability of the compiler.
25389 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
25390 templ-info.cc.
25391 * gdb.c++/templates.cc: Add explicit template instantiations
25392 to enable compiling with -fno-implicit-templates. Add destructor
25393 and 'value' method to T5 class for template tests.
25394 * gdb.c++/templates.exp: Add testcases for printing of template
25395 types, setting breakpoints on template methods and calling a
d63a86f8 25396 template method.
c906108c
SS
25397
25398Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
25399
25400 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
25401 branch target since some assemblers (gas-2.5) may emit a
25402 relocation for the branch instead of resolving it in the
25403 assembler.
25404
25405Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25406
25407 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
25408 through signal handler.
25409
25410Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25411
25412 * configure.in (*-*-netware): Use config/mt-netware.
25413
25414 * config/mt-netware: New file.
25415 * config/mt-i386-netware: Removed, separate configs for different
25416 netware architectures are no longer needed now that we have
25417 --with-headers.
25418
25419Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25420
25421 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
25422 by the recent changes to use ANSI C arithmetic conversions.
25423
25424Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25425
25426 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
25427 bug involving using inferior_pid to figure out whether to select a
25428 frame.
25429
25430Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
25431
25432 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
25433 match the current disassembler output.
25434
25435Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
25436
25437 * gdb.fortran/exprs.exp: Expect VOID instead of void.
25438 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
25439 types, expect "int" as type of integer values (for now).
25440
25441Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
25442
25443 * gdb.base/commands.exp: New tests for if/while commands.
25444
25445Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
25446
25447 * lib/gdb.exp (runto): Replace sub-pattern for hex value
25448 by .*, since hex values have different syntax in Chill mode.
25449
25450Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25451
25452 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
25453 linefeed from expect pattern for repeated types with indices > 9.
25454
25455Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
25456
25457 First part of Fortran test suite.
25458 * gdb.fortran: New directory.
25459 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
25460
25461Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25462
25463 * gdb.base/default.exp: Update expect pattern for load command
25464 without arguments.
25465
25466Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
25467
25468 * configure.in: Change i386 to i[345]86.
25469 * gdb.base/configure.in: Likewise.
25470 * gdb.c++/configure.in: Likewise.
25471 * gdb.chill/configure.in: Likewise.
25472
25473Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
25474
25475 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
25476 patterns, since that is not a valid context for comments.
25477
25478Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
25479
25480 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
25481 repeated types and repeated types with indices > 9.
25482
25483Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
25484
25485 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
25486 2417; old bug has been fixed.
25487
25488Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
25489
25490 * gdb.base/interrupt.exp: When trying to wake up the inferior,
25491 send the newline ourselves instead of assuming gdb_test will do
25492 so when passed an empty input string.
25493
25494 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
25495 stabs testcode.
25496
25497Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25498
25499 * lib/gdb.exp (gdb_test): Don't send anything if the first
25500 argument is an empty string. This makes cases where we want to
25501 match output that is already in expect's buffers (for example,
25502 matching a breakpoint after gdb_run_cmd has been called) work
25503 reliably.
25504
25505Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25506
25507 * config/netware.exp: New file.
25508
25509Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25510
25511 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
25512 the -B and -L prefixes so we can find the debugging stub.
25513
25514 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
25515 there and we are using the gcc from the tree.
25516
25517 * gdb.base/types.c: Removed.
25518
25519 * gdb.base/configure.in: Look for makefile fragments in ../config.
25520 Recognize i386-*-netware.
25521 * gdb.c++/configure.in: Likewise.
25522
25523Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25524
25525 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
25526 the correct TCL syntax.
25527
25528Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25529
25530 * gdb.base/opaque.exp: use runto instead of messing around with
25531 breakpoints. Simplify by using gdb_test.
25532
25533 * gdb.base/bitfields.exp: restart between tests on netware targets
25534 because breakpoints aren't relocated after target death. Run
25535 processes to completion.
25536
25537 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
25538
25539Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
25540
25541 * Makefile.in: Remove extra tabs that confuse some versions
25542 of "make". Use the newly built gdb to test with by default,
25543 rather than the first one in the tester's search path.
25544
25545Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
25546
25547 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
25548
25549 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
25550 condition help.
25551
25552Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25553
25554 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
25555
25556 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
25557 running.
25558 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
25559 * gdb.base/funcargs.exp: Likewise.
25560
25561 * gdb.base/bitfields.exp: Simplify by using gdb_test.
25562 * gdb.base/funcargs.exp: Likewise.
25563
25564 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
25565 message is "".
25566
25567Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25568
25569 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
25570 return,signals,twice}.exp: Handle non-existant binaries
25571 consistantly.
25572
25573 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
25574 * gdb.base/Makefile.in: Don't try to generate a core dump, we
25575 might testing a cross development system.
25576
25577Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25578
25579 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
25580 runtest script is relative to ${srcdir}, not ${rootdir}.
25581
25582Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
25583
25584 * gdb.base/signals.exp: Allow for optionality of breakpoint
25585 address.
25586
25587Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25588
25589 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
25590
25591Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25592
25593 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
25594 for size_t definition.
25595 * gdb.c++/templates.cc: Likewise
25596
25597 * config/mt-i386-netware: New file.
25598
25599 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
25600 defined.
25601
25602 * gdb.base/Makefile.in: Added support for systems that name core
25603 files by appending "core" to the program name.
25604 * gdb.base/a1-selftest.exp: Likewise.
25605
25606Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25607
25608 * gdb.base/return.exp: Add comment and message for `return double'
25609 test failure on Sparc Solaris.
25610
25611Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
25612
25613 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
25614
25615Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25616
25617 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
25618 from optimizing them away.
25619 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
25620 patterns to include default constructors and assignment operators,
25621 to match gcc versions beyond 2.5.8. Accept any cplus demangling
25622 character in the output of the virtual base pointer.
25623
25624Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25625
25626 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
25627 expression match in print_addr_of to avoid unintented matches.
25628 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
25629 versions up to 2.5.8.
25630
25631Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25632
25633 * gdb.base/list.exp: Tweak alternate pattern for listing of an
25634 included file to run under newer versions of expect.
25635 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
25636 consecutive >'s in templates to accomodate recent cplus-dem.c change.
25637 Remove xfail for the virtual table of BDDHookV.
25638
25639Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
25640
25641 * lib/gdb.exp (string_to_regexp): Set a default result.
25642 (default_gdb_start): Fix misleading message.
25643
25644Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
25645
25646 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
25647 Remove all CC, etc definitions.
25648 * config/mt-hpux: New file.
25649 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
25650 (CFLAGS, LDFLAGS): Define.
25651 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
25652
25653 * Makefile.in (site.exp): Don't insert host_os, etc.
25654 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
25655 (distclean): Check existence of subdir.
25656 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
25657 * gdb.base/Makefile.in: General cleanup and simplification.
25658 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25659 to build executables. Use default rule to build .o files.
25660 (EXPECT, RUNTEST, CC): Fix relative pathname.
25661 (site.exp): Don't insert host_os, etc.
25662 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
25663 and/or SIGUSR1 defined.
25664 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
25665 * gdb.c++/Makefile.in: General cleanup and simplification.
25666 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25667 (CFLAGS): Remove.
25668 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
25669
25670Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
25671
25672 * gdb.base/recurse.exp: Misc changes to get tests running again
25673 after Kung's changes to the watchpoint code.
25674 * gdb.base/watchpoint.exp: Likewise.
25675
25676Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
25677
25678 * lib/gdb.exp (string_to_regexp): Convert {\} also.
25679
25680Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
25681
25682 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
25683 * lib/gdb.exp (default_gdb_start): Define.
25684 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
25685 gdb.base/funcargs.exp, gdb.base/opaque.exp,
25686 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
25687 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
25688 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
25689 Don't call gdb_target_udi in between tests.
25690
25691Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25692
25693 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
25694 (which was basically just a local version of the same thing). In
25695 addition to avoiding duplication, gdb_test_exact is faster.
25696 * lib/gdb.exp (gdb_test_exact): Fix typo.
25697
25698 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
25699 don't give an error.
25700
25701 * gdb.base/term.exp: Call delete_breakpoints before starting.
25702
25703 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
25704 (t10): Add comment.
25705
25706Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25707
25708 Reorganization of the GDB Test Suite.
25709
25710 * gdb.base: New directory, contains all the basic tests.
25711 * gdb.c++: New directory, tests specific to C++.
25712 * gdb.chill: New directory, tests specific to Chill.
25713 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
25714 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
25715 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
25716 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
25717 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
25718 t30-31 to chill).
25719 * */gdbme.*: Rename to match appropriate expect scripts.
25720 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
25721 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
25722 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
25723 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
25724 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
25725 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
25726 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
25727 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
25728 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
25729 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
25730 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
25731 gdb.c++/virtfunc.cc: New names of C++ files.
25732 * gdb.chill/chillvars.ch: New name of Chill file.
25733 * gdb.base/configure.in, gdb.c++/configure.in,
25734 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
25735 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
25736 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
25737 * configure.in (configdirs): Update to reflect directory changes.
25738 (target_abbrev): No longer define for any configuration.
25739 * Makefile.in: Cosmetic improvements to header comments.
25740
25741Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
25742
25743 Various changes to gdb.t31:
25744
25745 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
25746 * gdbme.ch: Make all key-words and predefineds be upper-case.
25747 * chillvars.exp: Expect key-words and predefinds in upper-case.
25748
25749 * chillvars.exp: Use gdb_test_exact many places.
25750 Change expected output for arrays (which now includes index labels).
25751
25752 * pr-5020.exp, gdme.ch (module PR_5020):
25753 New test, for PR-5020.
25754
25755Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
25756
25757 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
25758 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
25759
25760Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
25761
25762 * Makefile.in: Fix bit-rot in definitions of CHILL,
25763 CHILL_FOR_TARGET and Chill_LIB.
25764 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
25765 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
25766 CHILL, and CHILL_LIB.
25767
25768Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
25769
25770 * Revert the previous changes. Please see Rob's directory
25771 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
25772
25773Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
25774
25775 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
25776 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
25777 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
25778 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
25779 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
25780 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
25781 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
25782 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
25783 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
25784 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
25785 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
25786 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
25787 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
25788 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
25789 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
25790 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
25791 changes from 94Q1.
25792
25793Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
25794
25795 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
25796 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
25797 Rob's new testing fragments.
25798
25799Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
25800
25801 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 25802 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
25803
25804Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25805
25806 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
25807 version also, match on casted version strings, and match on
25808 gdb startup case where the line numbers might be messed up.
25809
25810Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
25811
25812 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 25813 (CFLAGS): Delete it from here.
c906108c
SS
25814
25815Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
25816
25817 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
25818
25819Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
25820
25821 * Makefile.in (RUNTEST): Default to just "runtest".
25822
25823Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25824
25825 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
25826 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
25827 the code has been restructured.
25828
25829Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25830
25831 * gdb.t00/default.exp (set write): Allow any number of \r and/or
25832 \n, not just one of each.
25833
25834 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
25835 /bin/cc gives a warning if you do.
25836
25837Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
25838
d63a86f8 25839 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
25840 __t10ListS_link1ZUiRCUiPT0
25841
25842Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25843
25844 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
25845 on local variables in recursive functions.
25846
25847 * gdb.t07/Makefile.in: Build the new test.
25848
25849Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25850
25851 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
25852 directly. Instead compare the return values from actual calls.
25853
25854Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
25855
25856 * Makefile.in (check): Set TCL_LIBRARY for runtest.
25857
25858Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25859
25860 * From Peter Schauer with minor modifications.
a9c64011
AS
25861 * gdb.t15/return.exp (return_tests): Handle targets where "return"
25862 stops in mid-line in the caller. Add xfail for returning a float
25863 value on X86 targets.
c906108c
SS
25864
25865Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25866
25867 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
25868 to avoid expect lossage.
25869 (fmem_LRbug_tests): Likewise.
25870 * gdb.disasm/hppa.s: Corresponding changes.
25871
25872 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
25873 conditions to work with latest dejagnu/expect.
25874
25875 * gdb.t15/funcargs.exp (finish from indirect call): No longer
25876 expected to fail on the PA.
25877 (backtrace in call with trampolines): Explicitly require main
25878 to be frame #1 (no trampolines should show up in backtrace).
25879
25880 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
25881 "continue -expect".
25882 * gdb.t06/break.exp: Likewise.
25883 * gdb.t07/watchpoint.exp: Likewise.
25884 * gdb.t13/bitfields.exp: Likewise.
25885 * gdb.t15/{funcargs,return}.exp: Likewise.
25886 * gdb.stabs/weird.exp: Likewise.
25887 * config/{mips,udi}-gdb.exp: Likewise.
25888
25889 * hppa.sed: Enclose comments within a sed command to avoid
25890 losing with the old OSF1 sed.
25891
25892Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25893
25894 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
25895 sequent dynix.
25896 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
25897 * gdb.t15/funcargs.exp: Conditionally step again to really
25898 finish from marker_call_with_trampolines. Handle the case where
25899 the first step from within call_with_trampolines already steps
25900 us back to main.
25901 * gdb.t15/gdbme.c: Add comment to closing brace of
25902 call_with_trampolines for funcargs.exp.
25903
25904Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25905
d63a86f8 25906 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
25907 Fix typo(s).
25908
25909Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25910
25911 * gdb.t07/gdbme.c: More code for watchpoint testing.
25912
25913 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
25914 "Hardware watchpoint" throughout file.
25915 (test_watchpoint_triggered_in_syscall): New test.
25916 (test_complex_watchpoint): New test.
25917
25918Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25919
25920 * gdbme.c (call_with_trampolines): New function to try and step
25921 into. Tests trampoline problems on the PA.
25922
25923 * funcargs.exp (localvars_in_indirect_call): No longer expect
25924 stepping into indirect call to fail on PAs.
25925 (test_stepping_over_trampolines): New test.
25926
25927Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25928
25929 * TODO: Add suggestions for static member function tests, and
25930 completion tests.
25931
25932Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25933
25934 * TODO: Add suggestions for "p/a" tests.
25935
25936 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
25937 (default_gdb_exit): Replace all the hair with sending "quit" to
25938 the process with a simple close.
25939
25940Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25941
25942 * TODO: Add suggestions for shared library tests.
25943
25944Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25945
25946 * TODO: Add suggestions for x/s tests.
25947
25948Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25949
25950 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
25951 "enable once", and "enable breakpoints once" with ".*".
25952
25953Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25954
25955 * TODO: Add suggestions about structure passing tests.
25956
25957Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25958
25959 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
25960 the primary1 test, use work around if __GNUC__ < 2.
25961 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
25962 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
25963 Test for bad output rather than waiting for timeout. Issue
25964 second continue only if first continue failed.
25965
25966Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25967
25968 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
25969 operator[] test with gdb_test because the old code didn't seem to
25970 be getting the quoting right with the new dejagnu.
25971
25972Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
25973
25974 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
25975 one from the path.
25976 * Makefile.in: Use a fresh expect if there is one, use runtest
25977 from the src tree if there is one.
d63a86f8 25978
c906108c
SS
25979Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25980
25981 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
25982 next over recursive call. Revise the tests from that point on
25983 (which had been skipped) to match GDB's actual (correct) output.
25984
25985 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
25986 with next over a breakpoint whose condition is false.
25987
25988 * gdb.t00/help.exp: Comment out "help set print" tests just like
25989 (and for same reason as) "help set" test.
25990
25991Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25992
25993 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
25994 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
25995
25996Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25997
25998 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
25999 necessary gdb_target_udi.
26000
26001 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
26002
26003 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
26004 1838 and 2417; they are fixed.
26005
26006 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
26007 gdb.t03/ptype.exp (ptype structure, ptype union):
26008 Remove xfails; the test is looser than when the xfails were added.
26009
26010 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
26011 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
26012
26013 * gdb.t01/run.exp: Only run shell test if isnative.
26014
26015 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
26016 since "run" automatically loads if necessary. Call gdb_target_udi
26017 after the "file" since "file" kills any execution target.
26018
26019 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
26020 GDB. GDB doesn't work that way (not anymore at least) on UDI.
26021 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
26022 argument for UDI.
26023
26024Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
26025
26026 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
26027
26028 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
26029
26030Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26031
26032 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
26033 properly quoting regexps. This makes the second argument to
26034 demangle a fixed string, which matches the callers, instead of a
26035 shell-style pattern which is what the previous implementation
26036 used. Update some of the callers.
26037
26038Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
26039
26040 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
26041 (comib_nullified_tests): Fix typo.
26042 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
26043 strings. No longer expected to fail.
26044
26045 * gdb.disasm/hppa.s (addib_tests): Fix typo.
26046 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
26047 strings. No longer expected to fail.
26048
26049 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
26050 string. No longer expected to fail.
26051
26052Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
26053
26054 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
26055 No longer expected to fail.
26056
26057 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
26058 string. No longer expected to fail.
26059
26060Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26061
26062 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
26063 only in the names (I probably got most of them). I was even
26064 generous with some which differed in underscores in names, and
26065 probably missed a few, and I *still* was able to remove almost a
26066 third of the file with almost no impact on testsuite coverage.
26067
26068Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26069
26070 * gdb.t00/default.exp: Match udi_attach error message as well as
26071 the one from child_attach.
26072
26073 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
26074
26075 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
26076
26077 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
26078 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
26079
26080 * Move test with enums and partial symbols back to
26081 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
26082 Reverts the change of 26 May 93. Per today's change to
26083 stabs.texinfo, the behavior that weird.exp was expecting was
26084 unreasonable; what is important is that the compiler+gdb get
26085 things right, which happens with a recent gcc. Also fix the test
26086 to deal with native compilers which put out the stab gdb can't
26087 deal with.
26088
26089Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26090
26091 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
26092 in the names. The main thing these accomplish is to slow things down.
26093 Many more such duplicates surely remain.
26094
26095 * gdb.t00/help.exp: Comment out "help support" test just like
26096 (and for same reason as) "help set" test.
26097
26098Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
26099
26100 * gdb.t06/break.exp: Remove setup_xfails for
26101 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
26102 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
26103 about known bug in gcc to include up through 2.5.8.
26104 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
26105 well as "_vb$".
26106 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
26107 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
26108 with latest gcc and gdb.
26109 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
26110 well as "_vb$".
26111
26112Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
26113
26114 * configure.in (hppa*-*-*): Also configure and build stabs-only
26115 tests.
26116
26117Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
26118
26119 * gdb.t10/hppa.mt: A makefile fragment for the PA.
26120 * gdb.t10/configure.in (hppa*-*-*): Use it.
26121
26122Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26123
26124 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
26125
26126Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26127
26128 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
26129 versions prior to 1.13.5.
26130
26131Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26132
26133 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
26134 the prompt is at the start of a line.
26135
26136Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
26137
26138 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
26139 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
26140 in the copr tests now.
26141 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
26142 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
26143 expected to fail.
26144
26145Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
26146
26147 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
26148 gdb.t31/chillvars.exp, lib/gdb.exp:
26149 Tweak to run under either version of expect.
26150 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
26151 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
26152 * gdb.t11/list.exp: Remove extraneous whitespace.
26153
26154Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26155
26156 * gdb.t16/printcmds.exp (test_print_strings): Accept
26157 "(unsigned char *) " before the string.
26158
26159 * TODO: Add notes about printing of fancy types and GDB expressions.
26160
26161Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
26162
26163 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
26164 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 26165 if doing mips-idt-ecoff.
c906108c
SS
26166
26167Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
26168
26169 * Most .exp files: Tweak to run under either version of expect.
26170
26171Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26172
26173 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
26174 xfails; I'm not sure why they are failing, but not because of PR 1806.
26175
26176Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
26177
26178 * config/unix-gdb.exp: Remove gdb_unload cause it's already
26179 defined in lib/gdb.exp.
26180
26181Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26182
26183 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
26184 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
26185 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
26186 have to be typeless.
26187
26188Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26189
26190 * TODO: Add suggestion for copyright year test.
26191
26192Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
26193
26194 * configure.in (*-*-lynxos*): Add stabs tests.
26195
26196Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
26197
26198 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
26199 so insert a tab before any assembler directive in column zero.
26200
26201 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
26202 stores.
26203 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
26204 stores.
26205 (fpu_short_memory_tests): Likewise.
26206
26207Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26208
26209 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
26210 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
26211 .stabs directives in comments.
26212
26213Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26214
26215 * TODO: New file, describing tests we could write.
26216 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
26217
26218Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26219
26220 * gdb.t06/signals.exp: Add kludge to force re-sync.
26221
26222 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
26223 to xgdb instead of gdb, get out of gdb.
26224
26225Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
26226
26227 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
26228 for info.
26229
26230Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
26231
26232 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
26233 * gdb.stabs/configure.in (hppa*-*-*): Use it.
26234 * gdb.stabs/hppa.sed: New sed script for the PA.
26235
26236Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26237
26238 * gdb.stabs: Re-write weird.def and configuration to use sed
26239 instead of cpp. sed is portable and POSIX; cpp is neither.
26240
26241Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26242
26243 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
26244
26245Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26246
26247 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
26248
26249Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26250
26251 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
26252 "_vb$".
26253 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
26254 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
26255
26256Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26257
26258 * lib/gdb.exp: Comment out code which depends on non-existent
26259 `transform' procedure.
26260
26261Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
26262
26263 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
26264 * lib/gdb.exp: Transform tool name.
26265 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
26266 1.1's new error handling system.
26267
26268Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26269
26270 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
26271
26272Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26273
26274 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
26275 They made pattern matching so slow that timeouts happened on
26276 heavily loaded systems. Now any output from "show print" which
26277 gets us back to the GDB prompt is a PASS.
26278
26279Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
26280
26281 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
26282
26283Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26284
26285 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
26286
26287 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
26288 It is not from PR 3220.
26289
26290Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26291
26292 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
26293 just started failing because they depended on the order the
26294 subcommands are presented, or exact docstring text. This kind of
26295 test is a pain and has minimal benefit.
26296
26297Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26298
26299 * gdb.t09/corefile.exp: At end of test, use "core" command with
26300 no arguments.
26301
26302Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
26303
26304 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
26305 17}/Makefile.in: Make it possible to run the testsuite with Sun
26306 make and CC = cross gcc by adding explicit build rules for .o
26307 files.
26308
26309Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26310
26311 * gdb.t15/funcargs.exp: Don't put comments on same line as
26312 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 26313
c906108c
SS
26314Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26315
26316 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
26317
26318Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
26319
26320 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
26321 * gdb.t20/inherit.exp: remove three dumplicate entries.
26322
26323Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26324
26325 * gdb.t06/break.exp: For "next over recursive call", fail on any
26326 incorrect output, not just on "factorial (value=2)".
26327
26328Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26329
26330 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
26331 working now. Add an xfail if accesing a bss variable causes
26332 a memory error if the target is not yet run.
26333
26334Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26335
26336 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
26337 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
26338 name of __st* demangling (2 strings). Did Kung really get the
26339 more than 95 others right without testing them?
26340
26341Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
26342
26343 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
26344
26345Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
26346
26347 * configure.in (configdirs): Add gdb.disasm
26348 * gdb.disasm: New directory for GDB disassembler tests.
26349 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
26350
26351Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26352
26353 * gdb.t00/help.exp: Don't test "help set".
26354
26355 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
26356 from within expect statements. None of these happen anymore and
26357 they cause regressions to be silently unnoticed.
26358
26359 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
26360 messages) about known failures with gcc cygnus-2.4.5-930417.
26361
26362 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
26363 comp-info.exp so it gets built if it doesn't exist.
26364
26365 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
26366 it is no longer used.
26367 * gdb.t13/comp-info.c: Removed.
26368
26369Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26370
26371 * gdb.t06/signals.exp: Add xfail for sun3.
26372
26373Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26374
26375 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
26376 relevant because ^C doesn't get sent but failure can be reproduced
26377 interactively).
26378
26379Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26380
26381 * gdb.stabs/alpha.mt: New configuration file for alpha.
26382 * gdb.stabs/configure.in: Use it.
26383 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
26384 sharing with alpha.mt, redefine long to word via preprocessor.
26385 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
26386 for alpha.
26387 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
26388 native cc.
26389 * gdb.t00/teststrategy.exp: Change expect string so that we
26390 consume the `(xgdb)' from the command echo and from the gdb prompt.
26391 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
26392 gdb currently compares all values as long, so this failure probably
26393 applies to any configuration where LONGEST is bigger than a target int.
26394 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
26395 with gcc.
26396 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
26397 to handle opaque pointers, gcc is.
26398 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
26399 as first argument. Include <sys/types.h> and change all operator
26400 new definitions to use size_t.
26401 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
26402 now that we use size_t.
26403
26404Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26405
a9c64011 26406 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 26407 a long or float array cast all array members to the same type.
a9c64011 26408 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 26409 with 64 bit longs.
a9c64011 26410 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 26411 on alpha.
a9c64011 26412 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
26413
26414Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26415
26416 * gdb.t24 (demangle.exp): Constructors of templates have names like
26417 vector<int>::vector(int) not vector<int>::vector<int>(int). See
26418 section 14.6 of the ARM.
26419
26420 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
26421 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
26422 accomplish little and slow down the testsuite.
26423
26424 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
26425 Accept spaces various places.
26426
26427Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26428
26429 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
26430 with watchpoint enabled.
26431
26432 * Makefile.in: Remove definition of CC and remove the second
26433 definition of CXX (the "CXX = gcc" one remains). These definitions
26434 were causing backquotes to be expanded within backquotes, which
26435 doesn't work.
26436
26437Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
26438
26439 * gdb.t17/callfuncs.exp: Add "return 0" to end.
26440
26441Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26442
a9c64011
AS
26443 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
26444 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
26445 by mips cc and contains no stabs entries.
26446
26447Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
26448
26449 * config/vx-gdb.exp: Use fake device to load files rather than
26450 NFS.
26451 * lib/gdb.exp: New proc to do "file" command.
26452 * config/unix-gdb.exp: Use new "file" proc.
26453
26454Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
26455
26456 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
26457 Rework board rebooting slightly.
26458 (gdb_exit): Don't exit from the remote shell; there isn't one.
26459 * gdb.stabs/weird.exp: If a program is being debugged already,
26460 kill it.
26461 * gdb.t04/setvar.exp: Stop and restart gdb.
26462 * gdb.t05/expr.exp: Likewise.
26463 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
26464 restart gdb and reload the program.
26465 * gdb.t08/opaque.exp: Likewise.
26466 * gdb.t12/scope.exp: Likewise.
26467 * gdb.t13/bitfields.exp: Likewise.
26468 * gdb.t15/funcargs.exp: Likewise.
26469 * gdb.t20/classes.exp: Likewise.
26470 * gdb.t03/ptype.exp: Increase timeout.
26471 * gdb.t16/printcmds.exp (test_print_string_constants,
26472 test_print_array_constants): Likewise.
26473 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
26474 * gdb.t20/classes.exp (do_tests): Likewise.
26475 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
26476
26477Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
26478
26479 * gdb.stabs: Renamed *wierd* to *weird*.
26480
26481Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
26482
26483 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
26484 for timeout. Add "known gcc 2.4.5 bug" to failure message.
26485
26486Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
26487
26488 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
26489 (do_tests): Remove xfail for whatis on one_var and two_var.
26490
26491Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
26492
26493 * Makefile.in: Made cross building work better by adding
26494 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
26495
26496Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26497
26498 * gdb.t15/{return.c,return.exp,Makefile.in}:
26499 New test, currently commented out.
26500
26501Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
26502
26503 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
26504 still running and removes the leftover named socket so GDb can do
26505 clean restarts.
26506
26507Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
26508
26509 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
26510 console, not GDB.
26511 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
26512 cross testing works better with "make check"
26513 * config/unix-gdb: Use default procedures for exit and version.
26514 * config/vx-gdb.exp: Cleaned up and massaged back to working order
26515 with the newest VxWorks.
26516
26517Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26518
26519 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
26520 old form.
26521
26522 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
26523 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
26524
26525 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
26526
26527 * config/unix-gdb.exp: Remove this version of gdb_exit
26528 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
26529 Rob says he'll look at it when he gets back to testing boards.
26530
26531Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
26532
26533 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
26534 an expected fail for certain ptype commands.
26535
26536 * gdb.t20/classes.exp: Update expected results of "ptype class
26537 Base1" to account for the constructor that now appears in the type.
26538
26539Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
26540
26541 * configure.in (configdirs): Restore gdb.t04, which mysteriously
26542 disappeared from list.
26543 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
26544 "alldone" proc with call to cleanup and exit.
26545 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
26546 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
26547 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
26548 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
26549 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
26550 "alldone" proc with simple returns that suppress remaining
26551 tests. The alldone proc went away many months ago.
26552
26553Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26554
26555 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
26556
26557 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
26558
26559Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26560
26561 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
26562 as vax gdb will display them.
26563
26564Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26565
26566 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
26567 optimizers.
26568
26569 * scope.exp: Change "bad value for localval" messages so each one
26570 is unique.
26571
26572 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
26573 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
26574
26575 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
26576
26577Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26578
26579 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
26580 doesn't exist (due to optimization).
26581
26582Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26583
26584 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
26585 contains \r because the filename is long.
26586
26587 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
26588 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
26589
26590Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26591
26592 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
26593 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
26594 Ultrix.
26595 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
26596 int tests.
26597 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
26598
26599Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
26600
26601 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
26602
26603 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 26604 to match does not match the passing case but still matches the
c906108c
SS
26605 failing case.
26606
26607Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26608
26609 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
26610
26611Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
26612
26613 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
26614 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
26615 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
26616 Remove various versions of gdb_exit.
26617 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
26618 gdb_exit.
26619 * config/unix-gdb.exp: gdb_exit remains here, and should override
26620 the generic version, since it's doing a lot of wierd stuff that
26621 the other versions aren't. FIXME, fold it in, or abandon this
26622 version.
26623
26624Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26625
26626 * gdb.t24/demangle.exp: Add tests for PR 3220.
26627
26628Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26629
26630 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
26631
26632Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
26633
26634 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
26635 "i386-*-*". Works for i486 as well.
26636
26637 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
26638 bug, and expand domain of xfail to all SVR4 systems, since the
26639 actual problem is likely to be in generic SVR4 /proc support.
26640
26641Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26642
26643 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
26644
26645Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
26646
26647 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
26648 xfails for other systems. Match a missing 'Continuing.' as an
26649 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
26650
26651 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
26652 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
26653 Only issue warning for missing executables if -all option is used.
26654
26655 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
26656 file if -all option is used. It's like an unpredictable XFAIL.
26657
26658Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26659
26660 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
26661 for dynamically linked binaries.
26662
26663 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
26664
26665Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26666
26667 * gdb.t20/inherit.exp: Change message for "print tagless struct"
26668 to state that this is a known bug in old versions of g++.
26669
26670Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26671
26672 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
26673 while waiting for `Continuing'.
26674
26675Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
26676
26677 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
26678 in text, data, and bss.
26679 * gdb.t10/nodebug.c: Add local and global test variables for
26680 initialized and uninitialized data.
26681
26682Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26683
26684 * config/unix-gdb.exp (gdb_exit): Add "wait".
26685
26686Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26687
26688 * gdb.t06/signals.exp: xfail the continue from the handler for all
26689 targets.
26690
26691 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
26692 function with watchpoints enabled, the i386 call dummy starts with
26693 a call.
26694
26695 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
26696 386 bsd names its corefiles.
26697
26698Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
26699
26700 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
26701 compilers don't grok it.
26702 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
26703 with small octal ints rather than character constants, which
26704 are signed and might not fit if first promoted to int.
26705
26706Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
26707
26708 * gdb.t09/Makefile.in (clean): Remove corefile.
26709
26710Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26711
26712 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
26713
26714Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26715 and Jim Kingdon (kingdon@cygnus.com)
26716
26717 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
26718 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
26719 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
26720
26721Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26722
26723 * gdb.t17/interrupt.exp: Add xfail for hppa.
26724
26725Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26726
26727 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
26728 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
26729 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
26730 to determine signed-ness of bitfields and use the result to setup
26731 the xfail.
26732 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
26733 * gdb.t15/funcargs.exp: Use them to step until the second indirect
26734 call line is reached if necessary.
26735
26736Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26737
26738 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
26739
26740Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26741
26742 * gdb.t06/break.exp: Also test `clear' command.
26743
26744Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26745
26746 * gdb.t00/teststrategy.exp: Remove extra quote.
26747
26748 * gdb.t07/watchpoint.exp: Change xfail for calling function with
26749 watchpoint enabled to be for all non-68k machines.
26750
26751 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
26752
26753Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26754
26755 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
26756 targets use aout.mt instead of ecoff.mt as gas understands
26757 standard aout format.
26758
26759Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26760
26761 * lib/gdb.exp (runto): Don't insist that function we are running to
26762 was compiled with -g.
26763
26764 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
26765
26766 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
26767 to get back into the read system call.
26768 Accept leading newline in case where we woke it up.
26769
26770Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26771
26772 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
26773 to make the stabs test work on ecoff systems using gcc and -with-stabs.
26774 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
26775 enable ecoff configuration.
26776
26777Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26778
26779 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
26780
26781Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26782
26783 * gdb.t16/printcmds.exp: Add another printf test.
26784
26785Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
26786
26787 * configure.in: If configured -with-stabs on any target, add
26788 stabsdirs to configdirs.
26789
26790Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26791
26792 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
26793 fun" so pattern does not match the command itself.
26794
26795Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26796
26797 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
26798
26799Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26800
26801 * gdb.t17/interrupt.exp: Test for more things.
26802
26803Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26804
26805 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
26806 compiler arranges the code and line numbers.
26807
26808 * gdb.t17/interrupt.exp: Don't send \n after ^C.
26809
26810Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26811
26812 * gdb.t00/help.exp: Increase expect input buffer size.
26813
26814Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26815
26816 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
26817
26818 * gdb.t07/watchpoint.exp: Add xfail for hppa.
26819
26820 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
26821
26822 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
26823 [0-9]*, not just [0-9].
26824
26825Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26826
26827 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
26828
26829 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
26830
26831Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26832
26833 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
26834
26835Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26836
26837 * gdb.t06/signals.c: Add xfails for sun3.
26838
26839 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
26840
26841 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
26842 test_stepping tests.
26843
26844Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26845
26846 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
26847
26848 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
26849
26850 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
26851 rather than actually putting it through cpp twice.
26852
26853 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
26854
26855Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
26856
26857 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
26858 no longer needed.
26859
26860Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26861
26862 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
26863
26864 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
26865 C++ features prints as "struct", make it a pass, not an xfail.
26866
26867Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26868
26869 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
26870 Don't require VA to print as "class" rather than "struct".
26871
26872Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
26873
26874 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
26875
26876Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26877
26878 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
26879
26880Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26881
26882 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
26883 order.
26884
26885Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26886
26887 * gdb.t16/printcmds.exp: Add printf tests.
26888
26889 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
26890
26891 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
26892
26893Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
26894
26895 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
26896 pass counts, to counteract any existing or future setup_xfails.
26897
26898Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26899
26900 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
26901 {BEGIN,END}_COMMON for common block instead of STAB.
26902 * gdb.stabs/wierd.exp: Add xfail for rs6000.
26903
26904 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
26905 intp_var should be N_GSYM not N_LSYM.
26906 wierd-aout.S: Use a label for the value of the N_SO.
26907 wierd.def: Remove all backslashes.
26908 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
26909
26910Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26911
26912 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
26913 get the expected next to inheritance3.
26914
26915Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26916
26917 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
26918 now that gcc-2.4 gets it right.
26919
26920Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26921
26922 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
26923
26924 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
26925 generating comp-info.exp which works for cross-compilation.
26926
26927Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
26928
26929 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
26930 "*-*-sysv4.*".
26931
26932Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
26933
26934 * gdb.t01/run.exp: Start with a fresh gdb.
26935 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
26936 SVR4.x.
26937
26938Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
26939
26940 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
26941 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
26942 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
26943 Makefile.in (distclean, realclean): Remove gdbme.c from list of
26944 things to remove.
26945
26946Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
26947
26948 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
26949 test cases from bug reports.
26950
26951Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
26952
26953 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
26954 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
26955 avoid spurious xfails.
26956 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
26957 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
26958 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
26959
26960Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
26961
26962 * gdb.t00/teststrategy.exp: Rework to provide more useful
26963 description of each test, fix problem with systems that define
26964 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
26965 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
26966 results for "next over recursive call" so timeouts aren't taken
26967 by error.
26968
26969Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
26970
26971 * gdb.t12/scope.exp: Test printing of variables before run.
26972
26973 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
26974 printed in wrong order due to sorting.
26975
26976Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
26977
26978 * gdb.t00/teststrategy.exp: Fix expected results for printing
26979 user entered string constant. Is array of char, prints with no
26980 address.
26981
26982 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
26983 commands.
26984 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
26985 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
26986 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
26987 of struct of char arrays.
26988 * gdb.t00/radix.exp: New tests for radix commands.
26989
26990Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
26991
26992 * gdb.t16/printcmd.exp: Print a variable before running program
26993 (with xfail for AIX).
26994
26995Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
26996
26997 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
26998
26999 * gdb.t16/printcmd.exp: Don't print variables before running program.
27000
27001 * gdb.t06/break.exp: Don't require envp argument to main.
27002
27003 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
27004
27005 * gdb.t02/whatis.exp, gdb.t11/list.exp:
27006 Add xfails for rs6000.
27007
27008 * gdb.t02/whatis.exp: Change other tests not to re-test something
27009 we already tested.
27010
27011 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
27012 each type used has a variable of that type.
27013
27014Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
27015
27016 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
27017
27018Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
27019
27020 * configure.in: change srctrigger to be a file, not a directory
27021
27022Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
27023
27024 * configure.in (mips-idt-ecoff*): Added trailing '*'.
27025
27026 * gdb.t11/list.exp: Fixed a couple of typos.
27027
27028Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
27029
27030 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
27031 is fixed and PR is closed.
27032 * gdb.t16 (gdbme.c): Add simple test string variable.
27033 * gdb.t16 (printcmds.exp): Add tests with simple test string
27034 variable, primarily for boundaries on "set print elements".
27035
27036Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
27037
27038 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
27039 Make leading 0's optional and don't expect a tab in the middle
27040 of the number.
27041
27042 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
27043
27044 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
27045 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
27046 don't end command passed to gdb_test with newline.
27047
27048 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
27049 signed keyword away, don't expect signed bitfields to be signed.
27050
27051 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
27052 printing with only as many 1's as are in the field as well as printing
27053 with 32 1's (see comment).
27054
27055Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
27056
27057 * gdb.t00/default.exp: Start with a fresh gdb.
27058 * configure.in (configdirs): Remove gdb.t31 until the chill
27059 compiler works again. It no longer is able to find chillrt0
27060 since it isn't in libchill.a anymore.
27061 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
27062 wierd.o, make more modular.
27063 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
27064 spurious newlines that caused problems.
27065
27066Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27067
27068 * Move test with enums and partial symbols from gdb.t03/ptype.exp
27069 to gdb.stabs/wierd.exp since GCC has worked around the bug.
27070 gdb.stabs/wierd.{exp,def}: Many new tests.
27071
27072 * gdb.t00/default.exp: update info line for new message.
27073
27074 * gdb.t02/{whatis.exp,gdbme.c}:
27075 Test that "char *" doesn't print as "caddr_t".
27076
27077Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27078
27079 * gdb.t00/help.exp: Use .* in place of some help messages which
27080 just changed.
27081 gdb.t00/default.exp: Update "info frame" test for new message.
27082 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
27083 Remove some xfails
27084
27085Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27086
27087 * gdb.t03/{gdbme.c,ptype.exp}:
27088 Add tests for typedef'd struct and union without tags.
27089 Also check "whatis" on a variable of a typedef'd enum without a tag.
27090
27091 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
27092 PRMS 1823; the bug still exists but isn't reproduced by this test
27093 anymore), and remove rs6000 XFAIL (the bug is fixed).
27094
27095 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
27096 duplicated from whatis.exp. For those that are left, accept
27097 "long", "long int", or "int" for long variables (whatis.exp already
27098 has an XFAIL for "int", so no need to fail it here).
27099
27100 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
27101 Deal with GCC's names for types now that GDB uses the compiler's names.
27102
27103 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
27104 setup_xfail's for sunos4. If we #defined the signed keyword away,
27105 don't expect GDB to know that char it is signed.
27106
27107 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
27108
27109Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
27110
27111 * configure.in (configdirs): Add gdb.t24 for C++ tests that
27112 should work on any system, regardless of debugging format.
27113 * gdb.t21/demangle.exp: Move to gdb.t24.
27114 * gdb.t24/demangle.exp: Move from gdb.t21.
27115 * gdb.t24/{Makefile.in, configure.in}: New files.
27116
27117Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27118
27119 * configure.in: Do gdb.stabs and C++ tests only for stabs.
27120 * gdb.stabs: New directory.
27121
27122Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27123
27124 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
27125 not just "Quit anyway?".
27126
27127Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
27128
27129 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
27130 that all setup_xfails are immediately followed by clear_xfails.
27131
27132Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
27133
27134 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
27135 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
27136 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
27137 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
27138 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
27139 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
27140 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
27141 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
27142 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
27143 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
27144 gdb.t31/chillvars.exp, lib/gdb.exp:
27145 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
27146 bug-gdb@prep.ai.mit.edu.
27147
27148Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
27149
27150 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
27151 with 0.0, not integer 0.
27152
27153Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
27154
27155 * gdb.t06/break.exp: Update for "Kill the program" message change.
27156
27157Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
27158
27159 * Makefile.in (GDBFLAGS): Set to -nx.
27160 * Makefile.in (site.exp): Use GDBFLAGS.
27161
27162Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
27163
27164 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
27165 Makefiles.
27166 (check): depend on just-check.
27167 (just-check): added so that tests can be run without a noop
27168 build pass.
27169
27170Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
27171
27172 Switch to using configure's configdirs.
27173 * Makefile.in (Makefile): add configure.in dependency.
27174 (SUBDIRS): removed redundant assignment.
27175 * configure.in: switch subdirs assignment to configdirs.
27176 * gdb.t*/configure.in: new files.
27177
27178Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
27179
27180 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
27181 works.
27182
27183Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
27184
27185 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
27186 in explicit rules. Apparently this is not supported by some makes.
27187
27188Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
27189
27190 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
27191
27192Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27193
27194 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
27195 disappeared.
27196
27197Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
27198
27199 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
27200
27201Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
27202
27203 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
27204 watchpoint problem that is now fixed.
27205 * gdb.t30/chexp.exp: Remove setup_xfail for printing
27206 uninitialized convenience variables.
27207 * gdb.t31/chillvars.exp: Fix expected patterns for printing
27208 structures.
27209
27210Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27211
27212 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
27213 which causes expect to get out of sync with gdb on long output
27214 from help set.
27215 * gdb.t09/corefile.exp: Make expected pattern for core file
27216 failing signal and frame output format less sun specific.
27217
27218Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
27219
27220 * gdb.t31/chillvars.exp: Add and remove initial dummy
27221 breakpoint, so that symbol table is forced in.
27222 (Needed at least on Sunos4, though it seems not SVR4.)
27223 * gdb.t31/chillvars.exp: Update for changed output format.
27224
27225Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
27226
a9c64011 27227 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
27228
27229Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
27230
27231 * Makefile.in: Added --srcdir when invoking runtest, removed the
27232 need for a local config file. (optional now)
27233
27234Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
27235
27236 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
27237 failure count used to force early termination. Add some more
27238 expected failures for gnu style demangling.
27239
27240Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27241
27242 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
27243 pmi variable from gdb.t20/gdbme to get optimized away.
27244 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
27245 Check for written corefile upon timeout _and_ eof.
27246
27247Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27248
27249 * config/unix-gdb.exp: Add missing return 0.
27250
27251Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27252
27253 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
27254 test termination.
27255
27256Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
27257
27258 * configure.in (subdirs): Put back gdb.t17 which mysteriously
27259 disappeared.
27260
27261Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
27262
27263 * gdb.t10/crossload.exp: Disable the i860-elf test until such
27264 time as i860 support works.
27265
d63a86f8 27266 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
27267 "backtrace 100\r" rather than just "backtrace\r", to match last
27268 change.
27269
27270Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
27271
27272 * config/udi-gdb.exp (gdb_exit): Remove close command.
27273 (gdb_target_udi): New procedure to set the UDI target.
27274 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
27275 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
27276 Added waits for prompts after several question responses. Added
27277 some more responses used by a29k-amd-udi-gdb.
27278 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
27279 pass different arguments, restart UDI connection after program
27280 completion.
27281 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
27282 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
27283 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
27284 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
27285 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
27286 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
27287 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
27288 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
27289 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
27290 after program completion.
27291 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
27292 compiled with a SELECT_VECS setting.
27293 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
27294 infinite recursion.
27295
27296 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
27297 Added checks for COFF results, and made them expected failures for
27298 all targets. It would be better to make them expected failures
27299 for COFF targets only.
27300
27301Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
27302
27303 * Makefile.in: add null dvi target, don't bother to recurse
27304 through test directories for info and install-info; rename
27305 $(datadir) to be dejagnu instead of deja-gnu
27306
27307Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
27308
27309 * gdb.t31/gdbme.ch: Re-enable code that previously caused
27310 compiler to coredump.
27311 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
27312 code.
27313
27314Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
27315
27316 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
27317 coredump.
27318 * gdb.t31/chillvars.exp: Comment out tests that depend on that
27319 code.
27320
27321Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
27322
27323 * gdb.t03/ptype.exp: tests for return code from gdb_test.
27324 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
27325 which in a shell. Deletes xgdb when done.
27326 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
27327 Tests the return from the "set height" or "set width" commands.
27328 Added a few return codes where needed.
27329
27330Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
27331
27332 * Makefile.in (SUBDIRS): Add gdb.t17.
27333 * configure.in (subdirs): Add gdb.t17.
27334 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
27335 files to test gdb's calling of functions in the inferior with
27336 the correct arguments and gdb's ability to retrieve any
27337 result returned.
27338
27339Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
27340
27341 * config/unix-gdb.exp (gdb_exit): Remove close commands that
27342 may be called after gdb goes away. Previous versions of expect
27343 needed these to avoid file descriptor leaks, but they cause
27344 errors with the current revision of expect.
27345 * gdb.t00/gdbvars.exp: Use -re on expected output after
27346 setting sevenbit-strings.
27347 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
27348 to set sevenbit-strings consistent across tests.
27349 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
27350 set sevenbit-strings consistent across tests.
27351
27352Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
27353
27354 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
27355 expected output to match current "expect" expectations.
27356
27357Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
27358
27359 * gdb.t00/default.exp: Change expected output for default "source"
27360 command, to match new gdb behavior which requires a filename to
27361 source.
27362
27363Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
27364
27365 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
27366 expected fail for i486-*-* that misses the marker2 function.
27367 * gdb.t10/crossload.exp (bfddefault): Allow successful
27368 recognition of a format to pass even if no symbols are found.
27369 Explicitly catch failures where the format is not recognized
27370 or is ambiguous, and add the reason to the fail message.
27371 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
27372 the cause is and invalid target and add reason to failure message.
27373 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
27374 elf32-i386, elf32-sparc, and elf32-i860.
27375 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
27376 Set up expected failure for 'filename'::variable scope resolution,
27377 which is now apparently broken on all targets.
27378 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
27379 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
27380 gdb.t23/templates.exp: Change failure for missing binfile into
27381 just a warning.
27382 gdb.t21/demangle.exp: Change all cfront references to 'arm'
27383 references.
27384
27385Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
27386
27387 * gdb.t00/default.exp: Add expected output for default "source"
27388 command, to match new gdb behavior.
27389 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
27390
27391Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
27392
27393 * config/*-gdb.exp: returns an error, rather than exiting on
27394 internal errors.
27395
27396Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
27397
27398 * gdb.t03/gdbme.c: Add pointer to struct variable.
27399 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
27400 referencing struct members.
27401
27402Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
27403
27404 * configure.in (mips-idt-ecoff): New target.
27405 * config/mips-gdb.exp: New file for remote board using MIPS remote
27406 debugging protocol.
27407
27408 * Redid configuration scheme. Removed gdb.t*/configure.in.
27409 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
27410 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
27411 distclean targets. Built executables via .o files. Adjusted
27412 tests to account for source files in $(srcdir) rather than
27413 $(objdir).
27414 * lib/gdb.exp (runto): Don't expect () after the function name,
27415 because it may have arguments.
27416
27417Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
27418
27419 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
27420 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
27421 expected failures for mips-idt-* and mips-sgi-*.
27422 * gdb.t00/default.exp (attach): Kill process if requested.
27423 * gdb.t00/help.exp (help target core, help target): Accept a gdb
27424 that does not read core files.
27425 * gdb.t01/run.exp: Removed checks for exit status code.
27426 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
27427 it is linked in.
27428 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
27429 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
27430 appropriate, rather than doing it by hand.
27431 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
27432 execution.
27433 * gdb.t10/crossload.exp: Kill existing program if needed.
27434 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
27435 appropriate, rather than doing it by hand. Always increase
27436 timeout for this test, not just for VxWorks.
27437
27438Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
27439
27440 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
27441 of Chill STRUCT types and STRUCT values.
27442 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
27443 than "char".
27444 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 27445 struct2): New struct definitions and initializations to test
c906108c
SS
27446 simple Chill STRUCT types.
27447
27448Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
27449
27450 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
27451 the null byte at the end of strings.
27452 * gdb.t00/default.exp: Make show version insensitive to copyright
27453 date.
27454 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
27455 to avoid dependencies on target char signedness.
27456 * gdb.t16/printcmds.exp: Update expected results for explicitly
27457 unsigned char.
27458 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
27459 now work.
27460 * gdb.t21/demangle.exp: Add many more patterns for template
27461 demangling, most of them being expected failures.
27462 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
27463 string we are matching for, to match on the whole string.
27464 * gdb.t21/demangle.exp: Add many new test strings to demangle,
27465 and fix a whole bunch that had incorrect expected output but were
27466 passing anyway because of the bug in "proc demangle".
27467 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
27468 type.
27469 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
27470
27471Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
27472
a9c64011
AS
27473 * gdb/testsuite: made modifications to testcases, etc., to allow
27474 them to work properly given the reorganization of deja-gnu and the
27475 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
27476
27477Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
27478
27479 * gdb/testsuite: Initial creation of gdb/testsuite.
27480 Migrated dejagnu testcases and support files for testing nm to
27481 gdb/testsuite from deja-gnu. These files were moved "as is"
27482 with no modifications. This migration is part of a major overhaul
27483 of dejagnu. The modifications to these testcases, etc., which
27484 will allow them to work with the new version of dejagnu will be
27485 made in a future update.
48efe704 27486
8d8cb839 27487 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 27488\f
8d8cb839
EZ
27489;; Local Variables:
27490;; mode: change-log
27491;; left-margin: 8
27492;; fill-column: 74
27493;; version-control: never
27494;; End:
902f2ccb 27495
0b302171 27496 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
902f2ccb
MC
27497 Copying and distribution of this file, with or without modification,
27498 are permitted provided the copyright notice and this notice are preserved.
This page took 3.976696 seconds and 4 git commands to generate.