]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
gdb/testsuite/
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
73c1d57e
YQ
12013-07-19 Yao Qi <yao@codesourcery.com>
2
3 * gdb.trace/read-memory.c: New.
4 * gdb.trace/read-memory.exp: New.
5
a075c3e5
YQ
62013-07-19 Yao Qi <yao@codesourcery.com>
7
8 * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
9 $dest to link options if host is remote. Move the
10 generated file to $dest.a on host if host is remote.
11
623cc285
WN
122013-07-18 Will Newton <will.newton@linaro.org>
13
14 * gdb.threads/tls-nodebug.c: Call pthread_testcancel
15 to ensure the test is linked against pthreads.
16 * gdb.threads/tls-var-main.c: Likewise.
17 * gdb.threads/tls-shared.c: Likewise.
18
1f74d3b5
YQ
192013-07-18 Yao Qi <yao@codesourcery.com>
20
21 * lib/future.exp (gdb_default_target_compile): Use tail name
22 of $destfile as the output name of compile. Move the
23 generated file to $destfile on build.
24
f6dc277e
YQ
252013-07-18 Yao Qi <yao@codesourcery.com>
26
27 * lib/gdb.exp (gdb_compile): Set
28 gdb_saved_set_unbuffered_mode_obj to
29 set_unbuffered_mode_saved.o if host is remote. Invoke
30 remote_download to copy $unbuf_obj to host.
31
e7045703
DE
322013-07-17 Doug Evans <dje@google.com>
33
34 * gdb.python/py-frame-args.c: New file.
35 * gdb.python/py-frame-args.py: New file.
36 * gdb.python/py-frame-args.exp New file.
37
5ea5559b
AB
382013-07-16 Andrew Burgess <aburgess@broadcom.com>
39
40 * gdb.base/printcmds.exp (test_printf): Add tests for format
41 strings with missing format specifier.
42
4229ca0e
TT
432013-07-16 Tom Tromey <tromey@redhat.com>
44
45 * gdb.ada/info_types.exp: Use standard_testfile.
46
5ee657d5
TT
472013-07-16 Tom Tromey <tromey@redhat.com>
48
49 * gdb.mi/mi-basics.exp: Use standard_output_file.
50 (test_dir_specification, test_cwd_specification)
51 (test_path_specification): Use testsubdir, not subdir and objdir.
52
20e3d738
TT
532013-07-16 Tom Tromey <tromey@redhat.com>
54
55 * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
56
7d7c6477
JB
572013-07-09 Joel Brobecker <brobecker@adacore.com>
58
59 * gdb.ada/small_reg_param.exp: Accept optional entry value
60 for parameter "w".
61
52cd8b7d
JB
622013-07-09 Joel Brobecker <brobecker@adacore.com>
63
64 * gdb.ada/small_reg_param.exp: Remove trailing space.
65
2a998fc0
DE
662013-07-09 Doug Evans <dje@google.com>
67
68 * gdb.base/default.exp: Update expected output of "show print array"
69 and "show print pretty".
70
0329e9fb
UW
712013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
72
73 * gdb.threads/wp-replication.exp: Stop counting available hardware
74 watchpoints after NR_THREADS iterations.
75
1953058f
AB
762013-07-08 Andrew Burgess <aburgess@broadcom.com>
77
78 * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
79
7c0de741
YQ
802013-07-07 Yao Qi <yao@codesourcery.com>
81
82 * boards/native-gdbserver.exp: Move invoke of
83 process_multilib_options to gdbserver-base.exp.
84 Move set_board_info 'compiler', 'gdb,noinferiorio',
85 'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
86 gdbserver-base.exp.
87 Move proc ${board}_download, ${board}_upload and
88 ${board}_file to gdbserver-base.exp.
89 * boards/native-extended-gdbserver.exp: Likewise.
90 * boards/native-stdio-gdbserver.exp: Likewise.
91 * boards/gdbserver-base.exp: New file.
92
497a4c48
LM
932013-07-05 Luis Machado <lgustavo@codesourcery.com>
94
95 * gdb.base/dump.exp: Remove arch-specific tests and do a
96 generic data address check to set is64bitonly correctly.
97
bb3f62fc
LM
982013-07-05 Luis Machado <lgustavo@codesourcery.com>
99
100 * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
101 the register number instead of expecting only 0.
102
005faa9d
WN
1032013-07-05 Will Newton <will.newton@linaro.org>
104
105 * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
106 in asm syntax to allow building on ARM.
107
4767856f
YQ
1082013-07-05 Yao Qi <yao@codesourcery.com>
109
110 * boards/local-remote-host.exp: Remove obsolete comments.
111 * boards/native-extended-gdbserver.exp: Likewise.
112 * boards/native-gdbserver.exp: Likewise.
113 * boards/native-stdio-gdbserver.exp: Likewise.
114
691a26f5
AB
1152013-07-04 Andrew Burgess <aburgess@broadcom.com>
116
117 * gdb.dwarf2/dw2-reg-undefined.exp: New file.
118 * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
119 * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
120
4d142eaa
JK
1212013-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
122
123 * gdb.base/break-on-linker-gcd-function.exp: Replace
124 prepare_for_testing by build_executable_from_specs and clean_restart.
125
62cef515
TT
1262013-06-27 Tom Tromey <tromey@redhat.com>
127
128 * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
129 gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
130 gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
131 gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
132 gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
133 gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
134 gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
135 gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
136 gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
137 gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
138 gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
139 Use standard_testfile, standard_output_file, prepare_for_testing,
140 clean_restart.
141
0ab77f5f
TT
1422013-06-27 Tom Tromey <tromey@redhat.com>
143
144 * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
145 gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
146 gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
147 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
148 gdb.base/shreloc.exp, gdb.base/sigall.exp,
149 gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
150 gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
151 gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
152 gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
153 gdb.base/signull.exp, gdb.base/sigrepeat.exp,
154 gdb.base/sigstep.exp, gdb.base/sizeof.exp,
155 gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
156 gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
157 gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
158 gdb.base/solib-weak.exp, gdb.base/source.exp,
159 gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
160 gdb.base/stap-probe.exp, gdb.base/start.exp,
161 gdb.base/step-break.exp, gdb.base/step-bt.exp,
162 gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
163 gdb.base/step-test.exp, gdb.base/structs.exp,
164 gdb.base/structs2.exp, gdb.base/structs3.exp,
165 gdb.base/symbol-without-target_section.exp: Use standard_testfile,
166 standard_output_file, prepare_for_testing, clean_restart.
167
822bd149
TT
1682013-06-27 Tom Tromey <tromey@redhat.com>
169
170 * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
171 gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
172 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
173 gdb.base/pending.exp, gdb.base/permissions.exp,
174 gdb.base/pie-execl.exp, gdb.base/pointers.exp,
175 gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
176 gdb.base/printcmds.exp, gdb.base/prologue.exp,
177 gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
178 gdb.base/ptype.exp, gdb.base/randomize.exp,
179 gdb.base/readline-ask.exp, gdb.base/recpar.exp,
180 gdb.base/recurse.exp, gdb.base/relativedebug.exp,
181 gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
182 gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
183 standard_testfile, standard_output_file, prepare_for_testing,
184 clean_restart.
185
f8b41b00
TT
1862013-06-27 Tom Tromey <tromey@redhat.com>
187
a8c97a87
TT
188 * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
189 gdb.base/huge.exp, gdb.base/included.exp,
190 gdb.base/inferior-died.exp, gdb.base/infnan.exp,
191 gdb.base/info-fun.exp, gdb.base/info-macros.exp,
192 gdb.base/info-os.exp, gdb.base/info-proc.exp,
193 gdb.base/info-target.exp, gdb.base/infoline.exp,
194 gdb.base/interp.exp, gdb.base/interrupt.exp,
195 gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
196 gdb.base/kill-after-signal.exp, gdb.base/label.exp,
197 gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
198 gdb.base/logical.exp, gdb.base/long_long.exp,
199 gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
200 gdb.base/memattr.exp, gdb.base/mips_pro.exp,
201 gdb.base/miscexprs.exp, gdb.base/morestack.exp,
202 gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
f8b41b00
TT
203 standard_testfile, standard_output_file, prepare_for_testing,
204 clean_restart.
205
289f9037
TT
2062013-06-27 Tom Tromey <tromey@redhat.com>
207
a8c97a87
TT
208 * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
209 gdb.base/enumval.exp, gdb.base/environ.exp,
210 gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
211 gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
212 gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
213 gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
214 gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
215 gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
216 gdb.base/fullname.exp, gdb.base/funcargs.exp,
217 gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
218 gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
219 gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
220 gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
221 gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
222 gdb.base/gnu_vector.exp: Use standard_testfile,
223 standard_output_file, prepare_for_testing, clean_restart.
289f9037 224
f76495c8
TT
2252013-06-27 Tom Tromey <tromey@redhat.com>
226
a8c97a87
TT
227 * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
228 gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
229 gdb.base/call-strs.exp, gdb.base/callexit.exp,
230 gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
231 gdb.base/catch-syscall.exp, gdb.base/charset.exp,
232 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
233 gdb.base/code-expr.exp, gdb.base/code_elim.exp,
234 gdb.base/commands.exp, gdb.base/completion.exp,
235 gdb.base/complex.exp, gdb.base/cond-expr.exp,
236 gdb.base/condbreak.exp, gdb.base/consecutive.exp,
237 gdb.base/constvars.exp, gdb.base/corefile.exp,
238 gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
239 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
240 gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
241 gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
242 gdb.base/dup-sect.exp: Use standard_testfile,
f76495c8
TT
243 standard_output_file, prepare_for_testing, clean_restart.
244
a64d2530
TT
2452013-06-27 Tom Tromey <tromey@redhat.com>
246
a8c97a87
TT
247 * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
248 gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
249 gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
250 gdb.base/async-shell.exp, gdb.base/async.exp,
251 gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
252 gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
253 gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
254 gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
255 gdb.base/break-entry.exp, gdb.base/break-interp.exp,
256 gdb.base/break-on-linker-gcd-function.exp,
257 gdb.base/breakpoint-shadow.exp: Use standard_testfile,
a64d2530
TT
258 standard_output_file, prepare_for_testing, clean_restart.
259
aaff8d73
YQ
2602013-06-26 Yao Qi <yao@codesourcery.com>
261
262 * gdb.trace/mi-trace-frame-collected.exp: New.
263
a0743c90
YQ
2642013-06-25 Yao Qi <yao@codesourcery.com>
265
266 * boards/native-extended-gdbserver.exp: Set board_info
267 'gdb,predefined_tsv'.
268 * boards/native-gdbserver.exp: Likewise.
269 * boards/native-stdio-gdbserver.exp: Likewise.
270 * gdb.server/ext-attach.exp: Load trace-support.exp. Check
271 uploaded TSVs if target supports tracing.
272 * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
273 tracing and target has predefined tsv.
274
9d6e6e84
HZ
2752013-06-25 Yao Qi <yao@codesourcery.com>
276 Hui Zhu <hui@codesourcery.com>
277 Pedro Alves <palves@redhat.com>
278
279 PR breakpoints/15075
280 PR breakpoints/15434
281 * gdb.base/dprintf-next.c: New file.
282 * gdb.base/dprintf-next.exp: New file.
283 * gdb.base/dprintf-non-stop.c: New file.
284 * gdb.base/dprintf-non-stop.exp: New file.
285 * gdb.base/dprintf.exp: Don't check "continue" in the output
286 of "info breakpoints".
287 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
288 Don't check "continue" in script field.
289
e7ab3185
TT
2902013-06-21 Tom Tromey <tromey@redhat.com>
291
292 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
293 name in a test name.
294
c898adb7
YQ
2952013-06-20 Yao Qi <yao@codesourcery.com>
296
297 * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
298 and set an action.
299 (test_trace_unavailable): Test command -data-list-register-values
300 in the context of traceframe and with option --skip-unavailable.
301 * gdb.trace/trace-unavailable.c (foo): New.
302 (main): Call it.
303 * gdb.mi/gdb2549.exp: Update matching pattern.
304
4d157a3d
MF
3052013-06-19 Mike Frysinger <vapier@gentoo.org>
306
307 * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
308 * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
309 * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
310 * gdb.arch/i386-sse.c: Call new i386_cpuid function.
311 * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
312
d69cace4
LM
3132013-06-19 Luis Machado <lgustavo@codesourcery.com>
314
315 * gdb.base/subst.exp: Delete default rules before further
316 tests.
317
9bdd0636
YQ
3182013-06-19 Yao Qi <yao@codesourcery.com>
319
320 * gdb.base/maint.exp: Make the test to command 'maint dump-me'
321 unsupported if it is not registered.
322
427cd150
TT
3232013-06-18 Tom Tromey <tromey@redhat.com>
324
325 * gdb.base/random-signal.c: New file.
326 * gdb.base/random-signal.exp: New file.
327
6de7c271
WN
3282013-06-18 Will Newton <will.newton@linaro.org>
329
330 * gdb.base/skip.c: Use comma to evaluate results of foo()
331 and bar() before passing to baz().
332 * gdb.base/skip.c: baz() now takes one argument instead of
333 two.
334
5bd1ef56
TT
3352013-06-18 Tom Tromey <tromey@redhat.com>
336
337 * gdb.dwarf2/implptrpiece.exp: New file.
338 * gdb.dwarf2/implptrconst.exp (d): New variable.
339 Print d.
340 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
341
e379b391
TT
3422013-06-18 Tom Tromey <tromey@redhat.com>
343
344 * lib/selftest-support.exp (do_self_tests): Reject remote or
345 non-native targets.
346 * gdb.gdb/complaints.exp: Remove check.
347 * gdb.gdb/observer.exp: Remove check.
348 * gdb.gdb/xfullpath.exp: Remove check.
349 * gdb.gdb/complaints.exp: Remove check.
350
4ec70201
PA
3512013-06-07 Pedro Alves <palves@redhat.com>
352
353 * boards/native-extended-gdbserver.exp: Remove semicolon.
354 * config/arm-ice.exp: Likewise.
355 * config/bfin.exp: Likewise.
356 * config/cygmon.exp: Likewise.
357 * config/h8300.exp: Likewise.
358 * config/monitor.exp: Likewise.
359 * config/sid.exp: Likewise.
360 * config/sim.exp: Likewise.
361 * config/slite.exp: Likewise.
362 * config/vx.exp: Likewise.
363 * gdb.arch/i386-bp_permanent.exp: Likewise.
364 * gdb.asm/asm-source.exp: Likewise.
365 * gdb.base/args.exp: Likewise.
366 * gdb.base/attach-pie-misread.exp: Likewise.
367 * gdb.base/auxv.exp: Likewise.
368 * gdb.base/bigcore.exp: Likewise.
369 * gdb.base/bitfields2.exp: Likewise.
370 * gdb.base/bitfields.exp: Likewise.
371 * gdb.base/break.exp: Likewise.
372 * gdb.base/break-interp.exp: Likewise.
373 * gdb.base/callfuncs.exp: Likewise.
374 * gdb.base/call-sc.exp: Likewise.
375 * gdb.base/commands.exp: Likewise.
376 * gdb.base/corefile.exp: Likewise.
377 * gdb.base/dbx.exp: Likewise.
378 * gdb.base/ending-run.exp: Likewise.
379 * gdb.base/exprs.exp: Likewise.
380 * gdb.base/funcargs.exp: Likewise.
381 * gdb.base/hbreak2.exp: Likewise.
382 * gdb.base/huge.exp: Likewise.
383 * gdb.base/list.exp: Likewise.
384 * gdb.base/memattr.exp: Likewise.
385 * gdb.base/overlays.exp: Likewise.
386 * gdb.base/printcmds.exp: Likewise.
387 * gdb.base/recurse.exp: Likewise.
388 * gdb.base/remotetimeout.exp: Likewise.
389 * gdb.base/reread.exp: Likewise.
390 * gdb.base/savedregs.exp: Likewise.
391 * gdb.base/scope.exp: Likewise.
392 * gdb.base/sepdebug.exp: Likewise.
393 * gdb.base/setshow.exp: Likewise.
394 * gdb.base/setvar.exp: Likewise.
395 * gdb.base/sigaltstack.exp: Likewise.
396 * gdb.base/siginfo-addr.exp: Likewise.
397 * gdb.base/siginfo.exp: Likewise.
398 * gdb.base/siginfo-obj.exp: Likewise.
399 * gdb.base/sigrepeat.exp: Likewise.
400 * gdb.base/sigstep.exp: Likewise.
401 * gdb.base/structs.exp: Likewise.
402 * gdb.base/testenv.exp: Likewise.
403 * gdb.base/twice.exp: Likewise.
404 * gdb.base/valgrind-db-attach.exp: Likewise.
405 * gdb.base/valgrind-infcall.exp: Likewise.
406 * gdb.base/varargs.exp: Likewise.
407 * gdb.base/watchpoint.exp: Likewise.
408 * gdb.cp/gdb1355.exp: Likewise.
409 * gdb.cp/misc.exp: Likewise.
410 * gdb.disasm/hppa.exp: Likewise.
411 * gdb.disasm/t01_mov.exp: Likewise.
412 * gdb.disasm/t02_mova.exp: Likewise.
413 * gdb.disasm/t03_add.exp: Likewise.
414 * gdb.disasm/t04_sub.exp: Likewise.
415 * gdb.disasm/t05_cmp.exp: Likewise.
416 * gdb.disasm/t06_ari2.exp: Likewise.
417 * gdb.disasm/t07_ari3.exp: Likewise.
418 * gdb.disasm/t08_or.exp: Likewise.
419 * gdb.disasm/t09_xor.exp: Likewise.
420 * gdb.disasm/t10_and.exp: Likewise.
421 * gdb.disasm/t11_logs.exp: Likewise.
422 * gdb.disasm/t12_bit.exp: Likewise.
423 * gdb.disasm/t13_otr.exp: Likewise.
424 * gdb.gdb/selftest.exp: Likewise.
425 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
426 * gdb.mi/mi-reverse.exp: Likewise.
427 * gdb.pascal/floats.exp: Likewise.
428 * gdb.python/py-inferior.exp: Likewise.
429 * gdb.threads/attach-into-signal.exp: Likewise.
430 * gdb.threads/pthreads.exp: Likewise.
431 * gdb.threads/thread_events.exp: Likewise.
432 * gdb.threads/watchthreads.exp: Likewise.
433 * gdb.trace/actions-changed.exp: Likewise.
434 * gdb.trace/actions.exp: Likewise.
435 * gdb.trace/ax.exp: Likewise.
436 * gdb.trace/backtrace.exp: Likewise.
437 * gdb.trace/change-loc.exp: Likewise.
438 * gdb.trace/deltrace.exp: Likewise.
439 * gdb.trace/disconnected-tracing.exp: Likewise.
440 * gdb.trace/ftrace.exp: Likewise.
441 * gdb.trace/infotrace.exp: Likewise.
442 * gdb.trace/passc-dyn.exp: Likewise.
443 * gdb.trace/passcount.exp: Likewise.
444 * gdb.trace/pending.exp: Likewise.
445 * gdb.trace/qtro.exp: Likewise.
446 * gdb.trace/range-stepping.exp: Likewise.
447 * gdb.trace/report.exp: Likewise.
448 * gdb.trace/save-trace.exp: Likewise.
449 * gdb.trace/status-stop.exp: Likewise.
450 * gdb.trace/strace.exp: Likewise.
451 * gdb.trace/tfile.exp: Likewise.
452 * gdb.trace/tfind.exp: Likewise.
453 * gdb.trace/trace-break.exp: Likewise.
454 * gdb.trace/tracecmd.exp: Likewise.
455 * gdb.trace/trace-mt.exp: Likewise.
456 * gdb.trace/tspeed.exp: Likewise.
457 * gdb.trace/tsv.exp: Likewise.
458 * gdb.trace/while-stepping.exp: Likewise.
459 * lib/gdb.exp: Likewise.
460 * lib/gdbserver-support.exp: Likewise.
461 * lib/java.exp: Likewise.
462 * lib/mi-support.exp: Likewise.
463 * lib/pascal.exp: Likewise.
464 * lib/prompt.exp: Likewise.
465 * lib/trace-support.exp: Likewise.
466
47d48711
PA
4672013-06-07 Pedro Alves <palves@redhat.com>
468
469 * gdb.ada/info_types.c: Fix formating in copyright header.
470 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
471 * gdb.base/float.c: Likewise.
472 * gdb.base/inferior-died.c: Likewise.
473 * gdb.base/interp.c: Likewise.
474 * gdb.base/jit-main.c: Likewise.
475 * gdb.base/jit-solib.c: Likewise.
476 * gdb.base/long_long.c: Likewise.
477 * gdb.base/longjmp.c: Likewise.
478 * gdb.base/nextoverexit.c: Likewise.
479 * gdb.base/pr11022.c: Likewise.
480 * gdb.base/prelink-lib.c: Likewise.
481 * gdb.base/prelink.c: Likewise.
482 * gdb.base/prologue.c: Likewise.
483 * gdb.base/restore.c: Likewise.
484 * gdb.base/sigchld.c: Likewise.
485 * gdb.base/solib-search-lib1.c: Likewise.
486 * gdb.base/solib-search-lib2.c: Likewise.
487 * gdb.base/solib-search.c: Likewise.
488 * gdb.base/solib-search.h: Likewise.
489 * gdb.base/whatis.c: Likewise.
490 * gdb.cp/abstract-origin.cc: Likewise.
491 * gdb.cp/anon-struct.cc: Likewise.
492 * gdb.cp/baseenum.cc: Likewise.
493 * gdb.cp/bs15503.cc: Likewise.
494 * gdb.cp/call-c-1.c: Likewise.
495 * gdb.cp/call-c.cc: Likewise.
496 * gdb.cp/class2.cc: Likewise.
497 * gdb.cp/classes.cc: Likewise.
498 * gdb.cp/cttiadd.cc: Likewise.
499 * gdb.cp/cttiadd1.cc: Likewise.
500 * gdb.cp/cttiadd2.cc: Likewise.
501 * gdb.cp/cttiadd3.cc: Likewise.
502 * gdb.cp/derivation.cc: Likewise.
503 * gdb.cp/derivation2.cc: Likewise.
504 * gdb.cp/dispcxx.cc: Likewise.
505 * gdb.cp/exception.cc: Likewise.
506 * gdb.cp/gdb2384-base.cc: Likewise.
507 * gdb.cp/gdb2384-base.h: Likewise.
508 * gdb.cp/gdb2384.cc: Likewise.
509 * gdb.cp/gdb2495.cc: Likewise.
510 * gdb.cp/mb-inline.h: Likewise.
511 * gdb.cp/mb-inline1.cc: Likewise.
512 * gdb.cp/mb-inline2.cc: Likewise.
513 * gdb.cp/member-name.cc: Likewise.
514 * gdb.cp/member-ptr.cc: Likewise.
515 * gdb.cp/misc.cc: Likewise.
516 * gdb.cp/namespace1.cc: Likewise.
517 * gdb.cp/nextoverthrow.cc: Likewise.
518 * gdb.cp/pr-574.cc: Likewise.
519 * gdb.cp/pr9631.cc: Likewise.
520 * gdb.cp/printmethod.cc: Likewise.
521 * gdb.cp/psmang1.cc: Likewise.
522 * gdb.cp/psmang2.cc: Likewise.
523 * gdb.cp/psymtab-parameter.cc: Likewise.
524 * gdb.cp/ptype-flags.cc: Likewise.
525 * gdb.cp/ref-params.cc: Likewise.
526 * gdb.cp/ref-types.cc: Likewise.
527 * gdb.cp/smartp.cc: Likewise.
528 * gdb.cp/try_catch.cc: Likewise.
529 * gdb.cp/userdef.cc: Likewise.
530 * gdb.cp/using-crash.cc: Likewise.
531 * gdb.cp/virtfunc.cc: Likewise.
532 * gdb.cp/virtfunc2.cc: Likewise.
533 * gdb.dwarf2/callframecfa.S: Likewise.
534 * gdb.dwarf2/dw2-ranges.c: Likewise.
535 * gdb.dwarf2/dw2-ranges2.c: Likewise.
536 * gdb.dwarf2/dw2-ranges3.c: Likewise.
537 * gdb.dwarf2/dw2-restore.S: Likewise.
538 * gdb.dwarf2/pieces.S: Likewise.
539 * gdb.dwarf2/valop.S: Likewise.
540 * gdb.java/jnpe.java: Likewise.
541 * gdb.mi/mi-stepn.c: Likewise.
542 * gdb.mi/mi-var-cp.cc: Likewise.
543 * gdb.mi/mi-var-rtti.cc: Likewise.
544 * gdb.mi/ns-stale-regcache.c: Likewise.
545 * gdb.mi/pr11022.c: Likewise.
546 * gdb.mi/solib-lib.c: Likewise.
547 * gdb.mi/solib-main.c: Likewise.
548 * gdb.python/py-arch.c: Likewise.
549 * gdb.python/py-block.c: Likewise.
550 * gdb.python/py-breakpoint.c: Likewise.
551 * gdb.python/py-events.c: Likewise.
552 * gdb.python/py-evthreads.c: Likewise.
553 * gdb.python/py-explore.c: Likewise.
554 * gdb.python/py-explore.cc: Likewise.
555 * gdb.python/py-finish-breakpoint.c: Likewise.
556 * gdb.python/py-finish-breakpoint2.cc: Likewise.
557 * gdb.python/py-symbol.c: Likewise.
558 * gdb.threads/execl.c: Likewise.
559 * gdb.threads/execl1.c: Likewise.
560
88ab5684
WN
5612013-06-07 Will Newton <will.newton@linaro.org>
562
563 * gdb.base/long_long.exp: Fix ARM EABI target glob.
564
42daa7a0
WN
5652013-06-07 Will Newton <will.newton@linaro.org>
566
567 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
568 and "starting".
569
f4059ef3
WN
5702013-06-07 Will Newton <will.newton@linaro.org>
571
572 * gdb.cp/anon-struct.exp: Conditionalize constructor and
573 destructor prototypes for ARM ABI.
574 * gdb.cp/m-static.exp: Likewise.
575
8cb5cc78
YQ
5762013-06-07 Yao Qi <yao@codesourcery.com>
577
578 * gdb.trace/mi-trace-unavailable.exp: New.
579 * gdb.trace/trace-unavailable.c: New.
580
c6cf1712
DE
5812013-06-06 Doug Evans <dje@google.com>
582
583 * gdb.cp/derivation.exp: Make tests have unique names.
584
bf6be0f4
TT
5852013-06-06 Tom Tromey <tromey@redhat.com>
586
587 * gdb.base/dump.exp (capture_value): Don't put expression into
588 test name if arguments passed in.
589 Rename a couple more tests to make them unique.
590
ebb022fa
TT
5912013-06-06 Tom Tromey <tromey@redhat.com>
592
593 * gdb.base/break-always.exp: Explicitly specify test name.
594
69fc87c2
DE
5952013-06-05 Doug Evans <dje@google.com>
596 Keith Seitz <keiths@redhat.com>
597
598 * gdb.cp/derivation2.cc: New file.
599 * gdb.cp/derivation.cc (main): Call foo2.
600 * gdb.cp/derivation.exp: Add tests for typedefs in another
601 file, and when there's an active block.
602
f993f39e
LM
6032013-06-05 Luis Machado <lgustavo@codesourcery.com>
604
605 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
606 from targets that use function descriptors in the virtual tables.
607 Handle presence of dot symbols.
608
afacd7f3
GB
6092013-06-04 Gary Benson <gbenson@redhat.com>
610
611 * gdb.base/break-probes.exp: New file.
612 * gdb.base/break-probes.c: Likewise.
613 * gdb.base/break-probes-solib.c: Likewise.
614 * gdb.base/info-shared.exp: New file.
615 * gdb.base/info-shared.c: Likewise.
616 * gdb.base/info-shared-solib1.c: Likewise.
617 * gdb.base/info-shared-solib2.c: Likewise.
618
a29a3fb7
GB
6192013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
620 Gary Benson <gbenson@redhat.com>
621
622 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
623 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
624 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
625 to be set to "no" to indicate that no ld.so copy should be made.
626 * gdb.base/break-interp.exp (solib_bp): New constant.
627 (reach_1): Use the above instead of "_dl_debug_state".
628 (test_attach): Likewise.
629 (test_ld): Likewise.
630 * gdb.threads/dlopen-libpthread.exp: New file.
631 * gdb.threads/dlopen-libpthread.c: Likewise.
632 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
633 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
634
62a813cc
YQ
6352013-05-30 Yao Qi <yao@codesourcery.com>
636
637 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
638 Add a test that no MI notification is emitted when executing
639 -exec-arguments.
640
8f56dad4
JK
6412013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
642
643 PR testsuite/12649
644 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
645 $mi_gdb_prompt expectation by mi_expect_stop.
646 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
647 (mi info dprintf second time): Replace them by mi_send_resuming_command
648 and mi_expect_stop.
649
c588eb20
GB
6502013-05-24 Gary Benson <gbenson@redhat.com>
651
652 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
653 backslash.
654 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
655 backslashes.
656 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
657 backslash.
658
c0ea94eb
YQ
6592013-05-24 Yao Qi <yao@codesourcery.com>
660
661 * gdb.trace/tfile.exp: Test inferior and thread.
662
db1ac436
YQ
6632013-05-24 Yao Qi <yao@codesourcery.com>
664 Pedro Alves <palves@redhat.com>
665
666 * gdb.base/range-stepping.exp: Skip the rest of tests if the
667 test fails.
668 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
669 Return 0 if the test passes, otherwise return 1.
670
b6abb10c
DE
6712013-05-23 Doug Evans <dje@google.com>
672
673 * boards/fission-dwp.exp: New file.
674
bc5065a7
PA
6752013-05-23 Yao Qi <yao@codesourcery.com>
676 Pedro Alves <palves@redhat.com>
677
678 * gdb.base/range-stepping.c: New file.
679 * gdb.base/range-stepping.exp: New file.
680 * gdb.trace/range-stepping.c: New file.
681 * gdb.trace/range-stepping.exp: New file.
682 * lib/range-stepping-support.exp: New file.
683
5f2e6b00
TT
6842013-05-22 Tom Tromey <tromey@redhat.com>
685
686 * gdb.cp/class2.cc (main): New local 'aref'.
687 * gdb.cp/class2.exp: Check printing of 'aref'.
688
e6ba475a
DE
6892013-05-22 Doug Evans <dje@google.com>
690
691 * gdb.threads/wp-replication.c (main): Insert some code at the start
692 to ensure the breakpoint on main is only hit once. Fix comment.
693
52c935b6
KS
6942013-05-21 Keith Seitz <keiths@redhat.com>
695 Pedro Alves <palves@redhat.com>
696
697 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
698 gdb_expect.
699 Add test to flush the remaining input buffer so that this
700 file passes testsuite/12649.
701
bd9673a4
PW
7022013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
703
704 * gdb.base/catch-signal-fork.exp: New file.
705 * gdb.base/catch-signal-fork.c: New file.
706
69a97597
SA
7072013-05-21 Sterling Augustine <saugustine@google.com>
708
709 * boards/remote-stdio-gdbserver.exp: New file.
710
44e97363
JK
7112013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
712
713 PR testsuite/12649
714 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
715 racy matches.
716
02392865
CG
7172013-05-21 Christian Groessler <chris@groessler.org>
718
719 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
720 since it's not supported in all shells.
721
c5867ab6
HZ
7222013-05-21 Hui Zhu <hui@codesourcery.com>
723
724 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
725 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
726
6c9e2db4
DE
7272013-05-20 Doug Evans <dje@google.com>
728
729 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
730 (_handle_DW_TAG): Use it.
731 (cu, tu): Replace parameters is_64, version, addr_size with options.
732 All callers updated. Add Fission support.
733 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
734 * gdb.dwarf2/method-ptr.exp: Ditto.
735 * gdb.dwarf2/nostaticblock.exp: Ditto.
736 * gdb.dwarf2/subrange.exp: Ditto.
737 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
738
4a6e676c
TT
7392013-05-20 Tom Tromey <tromey@redhat.com>
740
741 * gdb.gdb/python-selftest.exp: New file.
742
e19d3afb
DE
7432013-05-20 Doug Evans <dje@google.com>
744
745 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
746 -fdebug-types-section.
747
4d804846
JB
7482013-05-20 Joel Brobecker <brobecker@adacore.com>
749
750 * gdb.ada/float_param: New testcase.
751
8d324e83
DE
7522013-05-17 Doug Evans <dje@google.com>
753
7d0c9981
DE
754 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
755 Add tests for "maint check-symtabs", "maint expand-symtabs".
756
8d324e83
DE
757 * gdb.base/maint.exp: Remove testing of individual maint command
758 help output.
759
177aadc4
PA
7602013-05-16 Pedro Alves <palves@redhat.com>
761
762 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
763 comment. Use gdb_test_no_output.
764
b8fea896
JB
7652013-05-16 Joel Brobecker <brobecker@adacore.com>
766
767 * gdb.ada/complete.exp: Add test verifying completion using
768 the "tab" key.
769
52c935b6
KS
7702013-05-15 Keith Seitz <keiths@redhat.com>
771
772 * gdb.base/filesym.exp: New completer test.
773 * gdb.base/filesym.c: New file.
774
ed0f00b8
PA
7752013-05-15 Pedro Alves <palves@redhat.com>
776
777 * gdb.base/fixsection.c: Remove attribution.
778 * gdb.base/watch-read.exp: Ditto.
779
55fb6d27
TT
7802013-05-13 Tom Tromey <tromey@redhat.com>
781
782 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
783 size and change type sizes to 4 bytes.
784
ac1ca910
TT
7852013-05-13 Tom Tromey <tromey@redhat.com>
786
787 * gdb.base/exprs.exp (test_expr): Add regression test.
788 * gdb.base/exprs.c (null_t_struct): New global.
789
8414efef
MB
7902013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
791
792 * gdb.base/default.exp: Disable history saving.
793 * gdb.base/setshow.exp: Likewise.
794
9779ab84
PA
7952013-05-10 Pedro Alves <palves@redhat.com>
796
797 PR remote/15455
798
799 * gdb.trace/qtro.c: New file.
800 * gdb.trace/qtro.exp: New file.
801
1e611234
PM
8022013-05-10 Phil Muldoon <pmuldoon@redhat.com>
803
804 * gdb.python/py-framefilter.py: New File.
805 * gdb.python/py-framefilter-mi.exp: Ditto.
806 * gdb.python/py-framefilter.c: Ditto.
807 * gdb.python/py-framefilter-mi.exp: Ditto.
808 * gdb.python/py-framefilter-mi.c: Ditto,
809 * gdb.python/py-framefilter-gdb.py.in: Ditto.
810
5e4c3ac4
TT
8112013-05-08 Tom Tromey <tromey@redhat.com>
812
813 * gdb.base/solib-search.exp: Set test name for "set
814 solib-search-path" test.
815
993654a9
HAQ
8162013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
817
818 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
819 (set_a_tracepoint): Set tracepoint before prologue.
820 (run_trace_experiment): Test setup_tracepoints and 'break end'
821 in it.
822 (trace_buffer_normal): Remove.
823 (gdb_trace_circular_tests): Remove. Move tests to...
824 (top level): ...here. Call 'runto_main' before checking for
825 trace support. Use commands to check the support for circular
826 trace buffer and changing of trace buffer size. Add test
827 to calculate size of single frame. Use this size to
828 calculate the size of trace buffer. Use 'tfind pc func9'
829 instead of 'tfind 9'. Use 'with_test_prefix'.
830
c95aea6b
TT
8312013-05-07 Tom Tromey <tromey@redhat.com>
832
833 * lib/selftest-support.exp: New file.
834 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
835 do_self_tests.
836 (setup_test, find_gdb): Remove.
837 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
838 do_self_tests.
839 (setup_test, find_gdb): Remove.
840 (test_observer): Don't call setup_test. Remove argument.
841 * gdb.gdb/selftest.exp: Load selftest-support.exp.
842 (find_gdb): Remove.
843 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
844 do_self_tests.
845 (setup_test, find_gdb): Remove.
846 (test_with_self): Don't call setup_test. Remove argument.
847
1f031429
PA
8482013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
849
850 * gdb.arch/system-gcore.exp: Remove.
851 * gdb.arch/gcore.c: Remove.
852 * gdb.base/gcore.exp: Add "info reg system".
853
58ce7251
SDJ
8542013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
855
856 PR breakpoints/15413:
857 * gdb.base/pending.exp: Add test for completion of the "condition"
858 command for pending breakpoints.
859 * gdb.linespec/linespec.ex: Add test for completion of the
860 "condition" command when dealing with multiple locations.
861
aacbb8a5
LM
8622013-05-07 Luis Machado <lgustavo@codesourcery.com>
863
864 * gdb.threads/wp-replication.c: New file.
865 * gdb.threads/wp-replication.exp: New file.
866
2dd6254d
SL
8672013-05-06 Sandra Loosemore <sandra@codesourcery.com>
868
869 * gdb.xml/tdesc-regs.exp: Add case for nios2.
870
c2a96e8c
DE
8712013-05-06 Doug Evans <dje@google.com>
872
b903e17e
DE
873 * gdb.base/solib-search-lib1.c: New file.
874 * gdb.base/solib-search-lib2.c: New file.
875 * gdb.base/solib-search.c: New file.
876 * gdb.base/solib-search.h: New file.
877 * gdb.base/solib-search.exp: New file.
878
fac51dd9
DE
879 * lib/gdb.exp (gdb_core_cmd): New function.
880 * gdb.arch/system-gcore.exp: Use it.
881 * gdb.arch/vsx-regs.exp: Ditto.
882 * gdb.base/gcore.exp: Ditto.
883 * gdb.threads/gcore-thread.exp: Ditto.
884
c2a96e8c
DE
885 * gdb.reverse/shr.h: New file.
886 * gdb.reverse/shr1.c: New file.
887 * gdb.reverse/shr2.c: #include "shr.h".
888 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
889 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
890 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
891 Update tests using sleep/printf to use shr2.sl instead.
892 * gdb.reverse/solib-reverse.exp: Ditto.
893
b6807d98
TT
8942013-05-06 Tom Tromey <tromey@redhat.com>
895
896 * gdb.dwarf2/implptrconst.c: New file.
897 * gdb.dwarf2/implptrconst.exp: New file.
898 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
899 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
900 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
901
96f7d3f1
PW
9022013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
903
904 * gdb.base/catch-sig.c (main): Raise SIGINT.
905 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
906
1ebff1fd
HAQ
9072013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
908
909 * status-stop.exp (test_tstart_tstart): Check for error
910 returned by the second 'tstart' command.
911
f92b06da
WT
9122013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
913
914 * gdb.xml/maint_print_struct.exp: New file.
915 * gdb.xml/maint_print_struct.xml: New file.
916
ff546935
TT
9172013-04-25 Tom Tromey <tromey@redhat.com>
918
919 * gdb.dwarf2/nostaticblock.exp: New file.
920
bf9e4d0c
MB
9212013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
922
923 PR gdb/10462
924 * gdb.base/setshow.exp: Add test case.
925
a11cfd87
HZ
9262013-04-23 Hui Zhu <hui@codesourcery.com>
927
928 PR gdb/15293
a11cfd87
HZ
929 * gdb.base/dprintf.exp: Add ignore command.
930
2d9442cc
HZ
9312013-04-23 Hui Zhu <hui@codesourcery.com>
932
933 PR gdb/15165
2d9442cc
HZ
934 * gdb.base/save-bp.exp: Add test for dprintf.
935
0f3305ed
TT
9362013-04-22 Tom Tromey <tromey@redhat.com>
937
938 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
939 notice_open_fds.
940
d504301e
SDJ
9412013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
942
943 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
944 ldflags.
945
9991b207
SDJ
9462013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
947
948 * gdb.arch/arm-bl-branch-dest.c: New file.
949 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
950
433730c9
PA
9512013-04-19 Vladimir Kargov <kargov@gmail.com>
952 Pedro Alves <palves@redhat.com>
953
954 * gdb.arch/i386-float.S: New file.
955 * gdb.arch/i386-float.exp: New file.
956
9a908334
LM
9572013-04-18 Luis Machado <lgustavo@codesourcery.com>
958
959 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
960 type void *.
961
4f22ed5c
DE
9622013-04-17 Doug Evans <dje@google.com>
963
964 * lib/dwarf.exp (Dwarf): New proc "tu".
965 * gdb.dwarf2/missing-sig-type.exp: New file.
966
a0d3f2f5
SCR
9672013-04-15 Siva Chandra Reddy <sivachandra@google.com>
968
969 Add option to link testcases with Pthreads library when
970 using 'prepare_for_testing' in tests.
971
972 * lib/gdb.exp (build_executable_from_specs): Use
973 gdb_compile_pthreads to compile if option "pthreads" is
974 specified.
975
cc16e6c9
TT
9762013-04-15 Tom Tromey <tromey@redhat.com>
977
978 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
979
72f1fe8a
TT
9802013-04-15 Tom Tromey <tromey@redhat.com>
981
982 * gdb.base/default.exp: Update for $_exception.
983 * gdb.cp/exceptprint.cc: New file.
984 * gdb.cp/exceptprint.exp: New file.
985 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
986
6e72ca20
TT
9872013-04-15 Tom Tromey <tromey@redhat.com>
988
989 * gdb.cp/typeid.cc: New file.
990 * gdb.cp/typeid.exp: New file.
991
591f19e8
TT
9922013-04-15 Tom Tromey <tromey@redhat.com>
993
994 * gdb.cp/exception.exp: Add "catch rethrow" tests.
995
da9160e4
YQ
9962013-04-13 Yao Qi <yao@codesourcery.com>
997
998 * gdb.base/completion.exp: Test completion of command
999 'target ctf' if target ctf is supported.
1000
f81d1120
PA
10012013-04-10 Pedro Alves <palves@redhat.com>
1002
1003 * gdb.base/completion.exp: Test "set height", "set listsize" and
1004 "set trace-buffer-size" completion.
1005 * gdb.base/setshow.exp: Test "set height unlimited".
1006 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
1007 unlimited".
1008
393fd4c3
YQ
10092013-04-10 Yao Qi <yao@codesourcery.com>
1010
1011 * gdb.trace/actions.exp: Save trace data to CTF.
1012 Change to ctf target if GDB supports, read CTF data in ctf
1013 target, and check the actions of tracepoints.
1014 * gdb.trace/while-stepping.exp: Likewise.
1015 * gdb.trace/report.exp: Test GDB saves trace data to CTF
1016 format and read CTF trace file if GDB supports.
1017 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
1018 target is supported, change to ctf target, read trace data and
1019 check output of command "tstatus".
1020 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
1021 read CTF data by target ctf and call check_tsv.
1022
b7a273f8
YQ
10232013-04-10 Yao Qi <yao@codesourcery.com>
1024
1025 * gdb.trace/actions.exp (check_tracepoint): New.
1026 (top level): Start the tracing and check the actions of
1027 tracepoints. Save trace data to tfile format. Restart GDB
1028 and read trace file in tfile target. Check the actions of
1029 tracepoints again.
1030 * gdb.trace/while-stepping.exp: Likewise.
1031
f3786771
YQ
10322013-04-10 Yao Qi <yao@codesourcery.com>
1033
1034 * gdb.trace/report.exp: Use standard_output_file for saved
1035 trace file.
1036
5c2b4418
HZ
10372013-04-10 Hui Zhu <hui@codesourcery.com>
1038
1039 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
1040 (MISCELLANEOUS): Add dprintf-pendshr.sl.
1041 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
1042
f7543f0a
JK
10432013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1044
1045 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
1046 response.
1047
f6de8ec2
PA
10482013-04-08 Pedro Alves <palves@redhat.com>
1049
1050 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
1051 the location.
1052
b8abfd58
SL
10532013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1054
1055 * gdb.cp/cplabel.exp: Allow empty directory in file reported
1056 for breakpoint location.
1057
156bffd0
SL
10582013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1059
1060 * gdb.linespec/linespec.exp: Make dir/file:line tests
1061 conditional for non-remote hosts only.
1062
c9a6ce02
PA
10632013-04-04 Stan Shebs <stan@codesourcery.com>
1064 Pedro Alves <palves@redhat.com>
1065
1066 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
1067 * gdb.trace/actions-changed.c: New file.
1068 * gdb.trace/actions-changed.exp: New file.
1069 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
1070 (gdb_trace_setactions_command): ... this. Add "actions_command"
1071 parameter, and handle it.
1072 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
1073
4bd05f24
YQ
10742013-04-04 Yao Qi <yao@codesourcery.com>
1075
1076 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
1077 'step'.
1078
3758b5ce
YQ
10792013-04-03 Yao Qi <yao@codesourcery.com>
1080
1081 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
1082 "tfile-basic.tf".
1083 (test_tfind_tfile): Likewise.
1084
1dcaed0d
YQ
10852013-04-03 Yao Qi <yao@codesourcery.com>
1086
1087 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
1088 "tfile-basic.tf" instead of "basic.tf".
1089 (write_error_trace_file): Pass argument "tfile-error.tf"
1090 instead of "error.tf".
1091 * gdb.trace/tfile.exp: Update tfile names to
1092 "tfile-basic.tf" and "tfile-error.tf".
1093
0e7a53fc
SL
10942013-04-02 Sandra Loosemore <sandra@codesourcery.com>
1095
1096 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
1097 empty directory in file for breakpoint hit.
1098
9852c492
YQ
10992013-03-29 Yao Qi <yao@codesourcery.com>
1100
1101 * gdb.base/completion.exp: Test completion of commands
1102 "target core", "target tfile" and "target exec".
1103 * gdb.trace/tfile.exp: Test completion of command
1104 "target tfile".
1105
af312be7
JB
11062013-03-28 Joel Brobecker <brobecker@adacore.com>
1107
1108 * gdb.ada/win_fu_syms: New testcase.
1109
e4a48d9d
DE
11102013-03-28 Doug Evans <dje@google.com>
1111
1112 * gdb.base/maint.exp (maint print statistics): Update expected output.
1113
7f7cc265
PA
11142013-03-28 Pedro Alves <palves@redhat.com>
1115
1116 PR gdb/15294
1117
1118 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
1119 mean unlimited instead of $arg < 0.
1120 (test_listsize): Remove "listsize of 0 suppresses output" test.
1121 Test that "set listsize 0" ends up with an unlimited listsize.
1122
fc0da894
PA
11232013-03-28 Pedro Alves <palves@redhat.com>
1124
1125 * gdb.base/list.exp (last_line): New global.
1126 (last_line_re): New global.
1127 (test_listsize, test_list_function, test_list_forward)
1128 (test_repeat_list_command, test_list_range)
1129 (test_list_filename_and_function): Use them.
1130 * gdb.base/list0.c: Comment the last line of the file with "last
1131 line".
1132
abe7b711
PA
11332013-03-28 Pedro Alves <palves@redhat.com>
1134
1135 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
1136 list the whole file.
1137
15b3979c
PA
11382013-03-28 Pedro Alves <palves@redhat.com>
1139
1140 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
1141 "set listsize".
1142
96811e3b
KS
11432013-03-26 Keith Seitz <keiths@redhat.com>
1144
1145 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
1146 from passing.
1147
4043f22b
PA
11482013-03-26 Pedro Alves <palves@redhat.com>
1149
1150 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
1151 until after GDB has run.
1152
14a1aa17
YQ
11532013-03-26 Yao Qi <yao@codesourcery.com>
1154
1155 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
1156 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
1157
99c819ee
MM
11582013-03-26 Markus Metzger <markus.t.metzger@intel.com>
1159
1160 * gdb.btrace/enable.exp: Add regression test.
1161
24955f63
TT
11622013-03-25 Tom Tromey <tromey@redhat.com>
1163
1164 * gdb.cp/m-static.exp: Add destructor-printing tests.
1165
fce632b6
TT
11662013-03-25 Tom Tromey <tromey@redhat.com>
1167
1168 * gdb.cp/m-static.exp: Add constructor ptype tests.
1169 * gdb.cp/m-static.cc (single_constructor): New class.
1170 (main): Make instance of single_constructor.
1171
598d3636
JK
11722013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1173 Pedro Alves <palves@redhat.com>
1174
1175 * gdb.server/server-kill.c: New file.
1176 * gdb.server/server-kill.exp: New file.
1177
c12440c9
PA
11782013-03-21 Pedro Alves <palves@redhat.com>
1179
1180 * gdb.trace/trace-buffer-size.exp (get default buffer size):
1181 Expect $gdb_prompt in gdb_test_multiple.
1182
bd712aed
DE
11832013-03-21 Doug Evans <dje@google.com>
1184
1185 * gdb.base/maint.exp: Update tests for per-command stats.
1186
b2f83c08
TT
11872013-03-21 Tom Tromey <tromey@redhat.com>
1188
1189 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
1190 * gdb.cp/misc.exp: Add test for FILENAME:: case.
1191
ef0026f0
PA
11922013-03-20 Pedro Alves <palves@redhat.com>
1193
1194 PR gdb/15289
1195
1196 * gdb.base/remote.exp: Test
1197 "set remote hardware-watchpoint-limit -1",
1198 "set remote hardware-breakpoint-limit -1",
1199 "set remote hardware-watchpoint-limit 2147483647" and
1200 "set remote hardware-breakpoint-limit 2147483647".
1201
3f1175a9
PA
12022013-03-20 Pedro Alves <palves@redhat.com>
1203 Yao Qi <yao@codesourcery.com>
1204
1205 * gdb.trace/tfile.c: Add comments.
1206 (nonconstglob): New global.
1207 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
1208 global that is not covered by the trace frame. Test
1209 disassembling.
1210
a09ae1c1
JK
12112013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1212
1213 * gdb.base/valgrind-infcall.exp
1214 (continue #$continue_count) <remote connection closed>
1215 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
1216 $valgrind_pid.
1217
9ce98649
TT
12182013-03-15 Tom Tromey <tromey@redhat.com>
1219
1220 * gdb.cp/overload.cc (intintfunc): New.
1221 * gdb.cp/overload.exp: Add regression test.
1222
0a251e08
YQ
12232013-03-15 Yao Qi <yao@codesourcery.com>
1224
1225 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
1226 using with_test_prefix.
1227 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
1228 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
1229 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
1230 * gdb.threads/watchpoint-fork.exp (test): Likewise.
1231 * gdb.base/break-interp.exp (test_core): Likewise.
1232 (test_attach_gdb): Likewise.
1233 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1234 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1235 Likewise.
1236 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1237 * gdb.base/jit.exp (one_jit_test): Likewise.
1238 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
1239 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
1240 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
1241 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
1242 Likewise.
1243 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1244 Likewise.
1245 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
1246 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
1247 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
1248 (tracepoint_change_loc_2): Likewise.
1249 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1250 Likewise.
1251 (disconnected_tfind): Likewise.
1252 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
1253 Likewise.
1254 (test_tfind_remote): Likewise.
1255 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
1256 Likewise.
1257 (test_pending_resolved): Likewise.
1258 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
1259 Likewise.
1260 (test_upload_tsv): Likewise.
1261 * gdb.trace/pending.exp (pending_tracepoint_resolved):
1262 Likewise.
1263 (pending_tracepoint_works): Likewise.
1264 * gdb.trace/report.exp (use_collected_data): Likewise.
1265 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
1266 Likewise.
1267 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
1268 * gdb.trace/strace.exp (strace_info_marker): Likewise.
1269 (strace_trace_on_same_addr): Likewise.
1270 (strace_trace_on_diff_addr): Likewise.
1271 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
1272 (gdb_collect_locals_test): Likewise.
1273 (gdb_unavailable_registers_test): Likewise.
1274 (gdb_collect_globals_test): Likewise.
1275
2c415c0f
YQ
12762013-03-15 Yao Qi <yao@codesourcery.com>
1277
1278 * gdb.base/condbreak.exp: Add semicolon back which was removed
1279 by my previous commit.
1280
ae59b1da
YQ
12812013-03-14 Yao Qi <yao@codesourcery.com>
1282
1283 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
1284 'return'.
1285 (gdb_target_monitor, gdb_load): Likewise.
1286 * config/sid.exp (gdb_load): Likewise.
1287 * config/slite.exp (gdb_load): Likewise.
1288 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
1289 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
1290 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
1291 (single_step_until): Likewise.
1292 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1293 * gdb.arch/system-gcore.exp: Likewise.
1294 * gdb.base/bigcore.exp (extract_heap): Likewise.
1295 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
1296 * gdb.base/call-ar-st.exp: Likewise.
1297 * gdb.base/call-rt-st.exp: Likewise.
1298 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
1299 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
1300 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
1301 * gdb.base/corefile.exp: Likewise.
1302 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
1303 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
1304 * gdb.base/fixsection.exp: Likewise.
1305 * gdb.base/funcargs.exp: Likewise.
1306 * gdb.base/gcore-buffer-overflow.exp: Likewise.
1307 * gdb.base/gcore-relro.exp: Likewise.
1308 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
1309 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
1310 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
1311 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
1312 * gdb.base/list.exp: Likewise.
1313 (set_listsize): Likewise.
1314 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
1315 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
1316 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
1317 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
1318 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
1319 * gdb.base/setvar.exp: Likewise.
1320 (test_set): Likewise.
1321 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
1322 * gdb.base/solib-overlap.exp: Likewise.
1323 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
1324 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
1325 * gdb.base/watchpoint.exp (initialize): Likewise.
1326 (test_simple_watchpoint): Likewise.
1327 (test_disabling_watchpoints): Likewise.
1328 (test_watchpoint_triggered_in_syscall): Likewise.
1329 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
1330 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
1331 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
1332 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
1333 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
1334 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
1335 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1336 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1337 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
1338 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
1339 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1340 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
1341 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
1342 * gdb.mi/gdb792.exp: Likewise.
1343 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
1344 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
1345 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
1346 * gdb.threads/gcore-thread.exp: Likewise.
1347 (load_core): Likewise.
1348 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
1349 (test_startup, check_control_c): Likewise.
1350 * gdb.threads/sigstep-threads.exp: Likewise.
1351 * gdb.threads/thread_check.exp: Likewise.
1352 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
1353 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
1354 (set_a_tracepoint, trace_buffer_normal): Likewise.
1355 (gdb_trace_circular_tests): Likewise.
1356 * gdb.trace/collection.exp: Likewise.
1357 * gdb.trace/disconnected-tracing.exp: Likewise.
1358 * gdb.trace/infotrace.exp: Likewise.
1359 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1360 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1361 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
1362 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
1363 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
1364 * gdb.trace/stap-trace.exp: Likewise.
1365 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
1366 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
1367 * gdb.trace/trace-buffer-size.exp: Likewise.
1368 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
1369 * gdb.trace/unavailable.exp: Likewise.
1370 * gdb.trace/while-dyn.exp: Likewise.
1371 * lib/fortran.exp (set_lang_fortran): Likewise.
1372 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
1373 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
1374 (default_gdb_start, get_compiler_info): Likewise.
1375 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
1376 (get_debug_format, setup_xfail_format): Likewise.
1377 (rerun_to_main, gdb_skip_float_test): Likewise.
1378 (build_id_debug_filename_get, get_remotetimeout): Likewise.
1379 * lib/java.exp (set_lang_java): Likewise.
1380 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
1381 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
1382 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
1383 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
1384 * lib/objc.exp (set_lang_objc): Likewise.
1385 * lib/pascal.exp (set_lang_pascal): Likewise.
1386 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
1387 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
1388 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
1389
bb869963
SDJ
13902013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
1391
1392 PR c++/15203
1393 PR c++/15210
1394 * gdb.cp/m-static.cc (keepalive_int): New function.
1395 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
1396 * gdb.cp/m-static.exp: New test for `sintvar'.
1397
e2be70a0
YQ
13982013-03-14 Yao Qi <yao@codesourcery.com>
1399
1400 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
1401 of 'tstatus' into tstatus_output.
1402 (top level): Save the trace data to tfile. Read trace file in
1403 tfile target. Check the trace status.
1404
8ddb1965
YQ
14052013-03-13 Yao Qi <yao@codesourcery.com>
1406
1407 * gdb.trace/tsv.exp (check_tsv): New.
1408 (top level): Save a tfile on current trace session. Call
1409 check_tsv on live target. Load the tfile with target tfile
1410 and call check_tsv again.
1411
045dd51f
YQ
14122013-03-13 Yao Qi <yao@codesourcery.com>
1413
1414 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
1415 Replace some "gdb_test" with "gdb_test_no_output".
1416
82d049ab
PH
14172013-03-12 Paul Hilfinger <hilfingr@adacore.com>
1418
1419 * gdb.ada/expr_delims.exp: New file.
1420 * gdb.ada/expr_delims/foo.adb: New file.
1421 * gdb.ada/expr_delims/pck.ads: New file.
1422 * gdb.ada/expr_delims/pck.adb: New file.
1423
cb8ea32b
KS
14242013-03-11 Keith Seitz <keiths@redhat.com>
1425
1426 * watchpoint.exp (test_no_hw_watchpoints): Add test using
1427 both condition and thread. Then delete the watchpoint.
1428
2f1d9bdd
MM
14292013-03-11 Christian Himpel <christian.himpel@intel.com>
1430
1431 * Makefile.in: Add btrace testsuite.
1432 * configure: Regenerated.
1433 * configure.ac: Add btrace testsuite.
1434 * gdb.btrace/Makefile.in: New file.
1435 * gdb.btrace/enable.c: New file.
1436 * gdb.btrace/enable.exp: New file.
1437 * gdb.btrace/function_call_history.c: New file.
1438 * gdb.btrace/function_call_history.exp: New file.
1439 * gdb.btrace/instruction_history.c: New file.
1440 * gdb.btrace/instruction_history.exp: New file.
1441 * gdb.btrace/instruction_history.S: New file.
1442 * lib/gdb.exp: Add btrace skip proc.
1443
05c56a9d
JK
14442013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1445
1446 Fix entry-values if the callee called a noreturn function.
1447 * gdb.arch/amd64-tailcall-noret.S: New file.
1448 * gdb.arch/amd64-tailcall-noret.c: New file.
1449 * gdb.arch/amd64-tailcall-noret.exp: New file.
1450
9112db09
JK
14512013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1452
1453 Fix entry-values in C++ across CUs.
1454 * gdb.arch/amd64-tailcall-cxx.exp: New file.
1455 * gdb.arch/amd64-tailcall-cxx1.S: New file.
1456 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
1457 * gdb.arch/amd64-tailcall-cxx2.S: New file.
1458 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
1459
be9a119c 14602013-03-08 Stan Shebs <stan@codesourcery.com>
f6f899bf
HAQ
1461 Hafiz Abid Qadeer <abidh@codesourcery.com>
1462
1463 gdb/testsuite/
1464 * gdb.trace/trace-buffer-size.exp: New file.
1465 * gdb.trace/trace-buffer-size.c: New file.
1466
049109b0
PA
14672013-03-06 Pedro Alves <palves@redhat.com>
1468
1469 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
1470 doesn't support the tested optional feature, call "unsupported"
1471 with the same test message as the "pass" case, instead of calling
1472 "pass" with a different message. Use the same text for the "fail"
1473 cases too.
1474
4aa54120
YQ
14752013-03-06 Yao Qi <yao@codesourcery.com>
1476
1477 * gdb.trace/tstatus.exp: Remove the invocation of
1478 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
1479 (test_tracepoints): Don't set fast tracepoint.
1480 (top level): Don't check agent library is loaded or not.
1481
b8b71e63
YQ
14822013-03-06 Yao Qi <yao@codesourcery.com>
1483
1484 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
1485 parentheses by "\\".
1486
33f448b1
JK
14872013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1488
1489 * gdb.linespec/base/one/thefile.cc (twodup): New.
1490 (m): Call it.
1491 * gdb.linespec/base/two/thefile.cc (dupname): New.
1492 (n): Call it.
1493 * gdb.linespec/break-ask.exp: New file.
1494 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
1495
1c942fb9
YQ
14962013-02-28 Yao Qi <yao@codesourcery.com>
1497
1498 * gdb.trace/report.exp: Move some code to ...
1499 (use_collected_data): New.
1500 (top level): Call use_collected_data once on the live target.
1501 Save at file of the current trace session, load it with target
1502 tfile, and call use_collected_data again.
1503
5b967901
JK
15042013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1505
1506 * gdb.threads/fork-thread-pending.c (main): Add alarm.
1507
6447023f
JK
15082013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1509
1510 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
1511 Add final kill of ${valgrind_pid}.
1512
9f44fbc0
SCR
15132013-02-20 Siva Chandra Reddy <sivachandra@google.com>
1514
1515 * gdb.python/py-arch.c: New test case
1516 * gdb.python/py-arch.exp: New tests to test
1517 gdb.Architecture.disassemble
1518 * gdb.python/Makefile.in: Add py-arch to the list of
1519 EXECUTABLES.
1520
4c9ad8c2
TT
15212013-02-18 Tom Tromey <tromey@redhat.com>
1522
1523 * gdb.dwarf2/subrange.exp: New file.
1524
f5911ea1
HAQ
15252013-02-15 Pedro Alves <pedro@codesourcery.com>
1526 Hafiz Abid Qadeer <abidh@codesourcery.com>
1527
1528 * gdb.trace/tfile.exp: Add test for -trace-status command.
1529
420f4384
JK
15302013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1531
1532 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
1533 nanosleep by sleep.
1534
4819b3f8
PA
15352013-02-14 Pedro Alves <palves@redhat.com>
1536
1537 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
1538
1773c82c
HAQ
15392013-02-14 Pedro Alves <pedro@codesourcery.com>
1540 Hafiz Abid Qadeer <abidh@codesourcery.com>
1541
1542 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
1543
e234dfaf
TT
15442013-02-12 Tom Tromey <tromey@redhat.com>
1545
1546 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
1547 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
1548
6c01dd94
PA
15492013-02-12 Pedro Alves <palves@redhat.com>
1550
1551 * gdb.base/catch-signal.c: Update copyright years.
1552 * gdb.base/catch-signal.exp: Update copyright years.
1553 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
1554 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
1555 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
1556 * gdb.dwarf2/dw2-error.S: Update copyright years.
1557 * gdb.dwarf2/dw2-error.c: Update copyright years.
1558 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
1559 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
1560 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
1561
595fc67f
PA
15622013-02-12 Pedro Alves <palves@redhat.com>
1563
1564 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
1565 message.
1566 * gdb.base/sigaltstack.exp: Ditto.
1567 * gdb.base/siginfo.exp: Ditto.
1568 * gdb.base/sizeof.exp: Ditto.
1569
17282693
PA
15702013-02-12 Pedro Alves <palves@redhat.com>
1571
1572 * gdb.mi/mi-basics.exp: Tweak intro comment.
1573 * gdb.mi/mi-break.exp: Tweak intro comment.
1574 * gdb.mi/mi-console.exp: Tweak intro comment.
1575 * gdb.mi/mi-file.exp: Tweak intro comment.
1576 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
1577 * gdb.mi/mi-return.exp: Tweak intro comment.
1578 * gdb.mi/mi-stepi.exp: Tweak intro comment.
1579 * gdb.mi/mi-until.exp: Tweak intro comment.
1580 * gdb.mi/mi-watch.exp: Tweak intro comment.
1581
8a4ac37e
PA
15822013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1583
1584 * gdb.server/no-thread-db.exp: New file.
1585 * gdb.server/no-thread-db.c: New file.
1586 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
1587
c2792f5a
DE
15882013-02-11 Doug Evans <dje@google.com>
1589
1590 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
1591 two decfloats.
1592
d9e98382
SDJ
15932013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
1594
1595 * gdb.base/bitfields.c (struct internalvartest): New declaration.
1596 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
1597
a321661a
JK
15982013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1599
1600 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
1601
134a2066
YQ
16022013-02-06 Yao Qi <yao@codesourcery.com>
1603
1604 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
1605 to ...
1606 (test_create_delete_modify_tsv): ... here. New test on modifying
1607 the initial value of a tsv.
1608
5a2dc60a
JK
16092013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1610
1611 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
1612 (cd .../rdir): ... here.
1613
233d95b5
JK
16142013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1615
1616 * gdb.linespec/base/one/header.h: New file.
1617 * gdb.linespec/base/two/header.h: New file.
1618 * gdb.linespec/macro-relative.c: New file.
1619 * gdb.linespec/macro-relative.exp: New file.
1620
fbd9ab74
JK
16212013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1622
1623 * gdb.base/fullpath-expand-func.c: New file.
1624 * gdb.base/fullpath-expand.c: New file.
1625 * gdb.base/fullpath-expand.exp: New file.
1626 * gdb.base/realname-expand-real.c: New file.
1627 * gdb.base/realname-expand.c: New file.
1628 * gdb.base/realname-expand.exp: New file.
1629
1b56eb55
JK
16302013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1631
1632 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
1633 * gdb.dwarf2/dw2-dir-file-name.c: New file.
1634
af529f8f
JK
16352013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1636
1637 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
1638 (compare_filenames_for_search does not match)
1639 (compare_filenames_for_search does match): New tests.
1640
f5b95b50
JK
16412013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1642
1643 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
1644
d47921b9
JK
16452013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1646
1647 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
1648
8a92335b
JK
16492013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1650
1651 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
1652 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
1653 ${binfile}.mini_debuginfo-debuglink and
1654 ${binfile}.mini_debuginfo-debuglink.xz.
1655
17f2157d
TT
16562013-02-01 Tom Tromey <tromey@redhat.com>
1657
1658 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
1659 attributes.
1660
d65f0a9c
TT
16612013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1662 Tom Tromey <tromey@redhat.com>
1663
1664 * gdb.dwarf2/method-ptr.exp: Link with c++.
1665 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
1666
f25c0135
TT
16672013-01-31 Tom Tromey <tromey@redhat.com>
1668
1669 * gdb.base/jit.exp (compile_jit_test): New proc.
1670 Add PIE tests.
1671
7078baeb
TT
16722013-01-31 Tom Tromey <tromey@redhat.com>
1673
1674 * gdb.dwarf2/method-ptr.cc: New file.
1675 * gdb.dwarf2/method-ptr.exp: New file.
1676
1d24041a
TT
16772013-01-31 Tom Tromey <tromey@redhat.com>
1678
1679 * lib/dwarf.exp (namespace Dwarf): New.
1680
8d9878a4
TT
16812013-01-29 Tom Tromey <tromey@redhat.com>
1682
1683 * gdb.dwarf2/fission-reread.exp: Add unload test.
1684
bed911e5
DE
16852013-01-28 Doug Evans <dje@google.com>
1686
1687 * gdb.dwarf2/fission-loclists.exp: New file.
1688 * gdb.dwarf2/fission-loclists.S: New file.
1689
e229648e
JK
16902013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1691
1692 Code cleanup.
1693 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
1694 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
1695 and prepare_for_testing.
1696 * gdb.base/store.exp: Likewise.
1697
86700f00
TT
16982013-01-25 Tom Tromey <tromey@redhat.com>
1699
1700 * gdb.python/py-explore.exp: Expect the gdb prompt.
1701
8954db33
AB
17022013-01-25 Andrew Burgess <aburgess@broadcom.com>
1703
1704 * gdb.base/gnu_vector.c: New variable for use in tests.
1705 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
1706 changes in scalar to vector casting and widening.
1707 * gdb.python/py-type.c: New variables for use in tests.
1708 * gdb.python/py-type.exp: Update vector related tests to reflect
1709 changes in scalar to vector casting and widening.
1710
2077afdd
TD
17112013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
1712
1713 * gdb.base/prologue-include.c: New file.
1714 * gdb.base/prologue-include.exp: New file.
1715 * gdb.base/prologue-include.h: New file.
1716
d7499464
HAQ
17172013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
1718
1719 PR gdb/13443
1720 * gdb.mi/mi-var-block.exp: Make test messages unique.
1721
e2a3e0f1
TT
17222013-01-23 Tom Tromey <tromey@redhat.com>
1723
1724 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
1725
152fcc9c
TT
17262013-01-23 Tom Tromey <tromey@redhat.com>
1727
1728 * gdb.cp/converts.cc (main): Initialize 'a'.
1729
bea883fd
SCR
17302013-01-23 Siva Chandra Reddy <sivachandra@google.com>
1731
1732 * testsuite/gdb.python/frame.exp: Add a test for
1733 gdb.Frame.architecture() method.
1734
0928e93d
PA
17352013-01-22 Pedro Alves <palves@redhat.com>
1736
1737 * gdb.base/annota1.exp (signal sent): No longer expect
1738 breakpoints-invalid.
1739 * gdb.cp/annota2.exp (continue until exit)
1740 (watch triggered on a.x): Ditto.
1741
9c97429f
PA
17422013-01-22 Pedro Alves <palves@redhat.com>
1743
1744 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
1745 Adjust tests to breakpoints-invalid changes.
1746 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
1747 variables.
1748 Adjust tests to breakpoints-invalid changes.
1749
187d10dd
PA
17502013-01-22 Pedro Alves <palves@redhat.com>
1751
1752 * gdb.base/annota1.exp (annotate ignore count change): Add
1753 expected output for failure case.
1754
ea3aedcb
TT
17552013-01-22 Tom Tromey <tromey@redhat.com>
1756
1757 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
1758 call.
1759
998580f1
MK
17602013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
1761
1762 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
8f1d5693 1763 * gdb.mi/mi-catch-load.exp: Ditto.
998580f1
MK
1764 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
1765 Also handle 'thread' field.
1766 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
1767 * gdb.mi/mi-watch.exp: Ditto.
1768 * lib/mi-support.exp: Ditto.
1769
8f1d5693
MK
17702013-01-21 Siva Chandra Reddy <sivachandra@google.com>
1771
1772 * gdb.python/py-explore.exp: Improve a test
1773
2d8c5d7c
DB
17742013-01-18  David Blaikie  <dblaikie@gmail.com>
1775
1776 * gdb.base/label.c (main): Correct the type of the second
1777 parameter.
1778
46f35228
TT
17792013-01-18 Tom Tromey <tromey@redhat.com>
1780
1781 * gdb.dwarf2/trace-crash.s: New file.
1782 * gdb.dwarf2/trace-crash.exp: New file.
1783
5965d69d
HAQ
17842013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
1785
43aaf8b6
PA
1786 PR gdb/13443
1787 * gdb.base/checkpoint.exp: Update test messages to make them
1788 unique.
5965d69d 1789
5ae4861a
YQ
17902013-01-18 Yao Qi <yao@codesourcery.com>
1791
1792 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
1793 output of 'info tracepoints'.
1794 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1795 Likewise.
1796 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1797 * gdb.trace/disconnected-tracing.c (struct foo): New.
1798
d84fca2c
JK
17992013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1800
1801 * gdb.dwarf2/dw2-dos-drive.S: New file.
1802 * gdb.dwarf2/dw2-dos-drive.exp: New file.
1803
aebb1cc9
DE
18042013-01-17 Doug Evans <dje@google.com>
1805
2782d512
DE
1806 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
1807 CXX_FOR_TARGET.
1808
aebb1cc9
DE
1809 * boards/cc-with-tweaks.exp: New file.
1810
db2b2972
TT
18112013-01-17 Tom Tromey <tromey@redhat.com>
1812
1813 * gdb.base/completion.exp: Add "set cp-abi" completion test.
1814
96343774
PA
18152013-01-17 Pedro Alves <palves@redhat.com>
1816
1817 Merge dg-extract-results.sh from upstream (svn 195224).
1818
1819 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 1820 * dg-extract-results.sh: Fix order of summary counts.
96343774
PA
1821
1822 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 1823 * dg-extract-results.sh: Constrain the start-of-log pattern.
96343774
PA
1824
1825 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 1826 * dg-extract-results.sh: Handle KPASSes.
96343774
PA
1827
1828 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1829 * dg-extract-results.sh: Redirect grep output to /dev/null instead
1830 of grep -q.
1831
675921c0
SD
18322012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1833
1834 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
1835 interface.
1836 * gdb.base/jithost.c: New file.
1837 * gdb.base/jithost.h: New file.
1838 * gdb.base/jitreader.c : New file.
1839 * gdb.base/jit-protocol.h: New file.
1840
ab04a2af
TT
18412013-01-16 Tom Tromey <tromey@redhat.com>
1842
1843 * gdb.base/catch-signal.c: New file.
1844 * gdb.base/catch-signal.exp: New file.
1845
8ac3646f
TT
18462013-01-16 Tom Tromey <tromey@redhat.com>
1847
1848 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
1849
22fc223e
JK
18502013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1851
1852 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
1853
44478ab3
TT
18542013-01-14 Tom Tromey <tromey@redhat.com>
1855
1856 * gdb.base/completion.exp: Add "set gnutarget" test.
1857
06d66ee9
TT
18582013-01-14 Tom Tromey <tromey@redhat.com>
1859
1860 * gdb.dwarf2/dw2-restrict.S: New file.
1861 * gdb.dwarf2/dw2-restrict.c: New file.
1862 * gdb.dwarf2/dw2-restrict.exp: New file.
1863
c9bf0622
TT
18642013-01-14 Tom Tromey <tromey@redhat.com>
1865
1866 * gdb.dwarf2/dw2-error.exp: New file.
1867 * gdb.dwarf2/dw2-error.c: New file.
1868 * gdb.dwarf2/dw2-error.S: New file.
1869
5b12a61c
JK
18702013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1871
1872 * gdb.cp/parse-lang.cc: New file.
1873 * gdb.cp/parse-lang.exp: New file.
1874
f0a4b570
JK
18752013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1876
1877 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
1878 (set substitute-path): New test.
1879 (fullname present): Remove content.
1880 (substituted fullname): New test.
1881
f751cc97
JB
18822013-01-13 Joel Brobecker <brobecker@adacore.com>
1883
1884 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
1885 check. Move $gdb_py_is_py24 value check right after.
1886
04164e8e
JK
18872013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1888
1889 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
1890 targets.
1891
5bf480a5
YQ
18922013-01-11 Yao Qi <yao@codesourcery.com>
1893
1894 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
1895 for dprintf.
1896 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1897 Check the fields in "=breakpoint-created" for dprintf.
1898
f35a17b5
JK
18992012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1900
1901 * gdb.mi/mi-fullname-deleted.exp: New file.
1902
85817405
JK
19032012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1904
1905 * gdb.base/skip-solib.exp (info skip with pending file): Update the
1906 expected output.
1907 (info skip with pending file): Remove.
1908 (ignoring function in solib, info skip for function multiply): Update
1909 the expected output.
1910 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
1911 (info skip (delete 1), info skip after disabling all)
1912 (info skip after enabling all, info skip after disabling 4 2-3)
1913 (info skip after enabling 2-3, info skip 2-3)
1914 (info skip after deleting 2 3): Update the expected output.
1915 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
1916 statement to its initialization and return.
1917 * gdb.linespec/skip-two.exp: New file.
1918
27210e12
DE
19192012-12-19 Doug Evans <dje@google.com>
1920
1921 * gdb.base/maint.exp: Handle testing with .gdb_index.
1922
bb627a12
JB
19232012-12-19 Joel Brobecker <brobecker@adacore.com>
1924
1925 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
1926 Cavium to FSF.
1927
7785b880
JB
19282012-12-19 Joel Brobecker <brobecker@adacore.com>
1929
1930 * dg-extract-results.sh: Update contact info in copyright notice.
1931 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
1932 GPL v3 or later. Update contact info.
1933 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
1934 gdb.threads/watchpoint-fork-mt.c,
1935 gdb.threads/watchpoint-fork-parent.c,
1936 gdb.threads/watchpoint-fork-st.c,
1937 gdb.threads/watchpoint-fork.h: Likewise.
1938
f2a8bc8a
YQ
19392012-12-15 Yao Qi <yao@codesourcery.com>
1940
1941 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
1942 'installed' field in '=breakpoint-modified'.
1943 (test_reconnect): Check 'installed' field in
1944 '=breakpoint-modified' and '=breakpoint-created'.
1945
1946 * gdb.trace/actions.exp: Update test for 'installed' field.
1947 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
1948 (tracepoint_change_loc_2): Likewise.
1949 Check 'info tracepoint' display nothing else.
1950 * gdb.trace/deltrace.exp: Likewise.
1951 * gdb.trace/infotrace.exp: Likewise.
1952 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
1953 Likewise.
1954 * gdb.trace/passcount.exp: Likewise.
1955 * gdb.trace/tracecmd.exp: Likewise.
1956 * gdb.trace/while-stepping.exp: Likewise.
1957
6592e36f
TT
19582012-12-14 Tom Tromey <tromey@redhat.com>
1959
1960 * gdb.cp/member-name.exp: New file.
1961 * gdb.cp/member-name.cc: New file.
1962
7d27a96d
TT
19632012-12-14 Tom Tromey <tromey@redhat.com>
1964
1965 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
1966
f8c05d0d
DE
19672012-12-14 Doug Evans <dje@google.com>
1968
1969 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
1970 DW_OP_GNU_implicit_pointer is section-relative.
1971
451b7c33
TT
19722012-12-14 Tom Tromey <tromey@redhat.com>
1973
43aaf8b6 1974 * gdb.base/info-proc.exp: Add core file tests.
451b7c33 1975
10e339df
PA
19762012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
1977
6fdff2c5 1978 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
10e339df 1979
e780d813
DE
19802012-12-13 Doug Evans <dje@google.com>
1981
1982 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
1983 * gdb.multi/multi-arch.exp: Ditto.
1984
ca3dbcc8 19852012-12-12 Keven Boell <keven.boell@intel.com>
6fdff2c5 1986
ca3dbcc8
MG
1987 * gdb.mi/mi-catch-load-so.c: New. Clone of the
1988 catch load test library source file.
1989 * gdb.mi/mi-catch-load.c: New. Clone of the catch
1990 load test source file.
1991 * gdb.mi/mi-catch-load.exp: New. Test file for
1992 basic MI -catch-load and -catch-unload tests.
1993
2960a434
PK
19942012-12-11 Paul Koning <paul_koning@dell.com>
1995
1996 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
1997 exception.
1998 (_iterator_except): New function.
1999 (ArrayPrinter): Use _iterator function instead of local _iterator
2000 class for Python 3 compatibility.
2001 (NoStringContainerPrinter): Use _iterator_except instead of
6fdff2c5 2002 _iterator.
2960a434
PK
2003 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
2004 execfile for Python 3 compatibility.
2005 * gdb.python/python.exp: Handle Python 2.4 exception traceback
2006 format in error_prompt test.
6fdff2c5 2007
9325cb04
PK
20082012-12-10 Paul Koning <paul_koning@dell.com>
2009
2010 * gdb.base/charset.exp: Change print syntax for Python 3
6fdff2c5 2011 compatibility.
9325cb04
PK
2012 * gdb.python/py-block.exp: Ditto.
2013 * gdb.python/py-breakpoint.exp: Ditto.
2014 * gdb.python/py-cmd.exp: Ditto.
2015 * gdb.python/py-events.py: Ditto.
2016 * gdb.python/py-finish-breakpoint.py: Ditto.
2017 * gdb.python/py-finish-breakpoint2.exp: Ditto.
2018 * gdb.python/py-finish-breakpoint2.py: Ditto.
2019 * gdb.python/py-frame-inline.exp: Ditto.
2020 * gdb.python/py-frame.exp: Ditto.
2021 * gdb.python/py-infthread.exp: Ditto.
2022 * gdb.python/py-objfile.exp: Ditto.
2023 * gdb.python/py-parameter.exp: Ditto.
2024 * gdb.python/py-progspace.exp: Ditto.
2025 * gdb.python/py-prompt.exp: Ditto.
2026 * gdb.python/py-symbol.exp: Ditto.
2027 * gdb.python/py-symtab.exp: Ditto.
2028 * gdb.python/py-template.exp: Ditto.
2029 * gdb.python/py-value-cc.exp: Ditto.
2030 * gdb.python/python.exp: Ditto.
2031 * gdb.python/source2.py: Ditto.
2032 * gdb.python/lib-types.exp: Change print syntax for Python 3
6fdff2c5 2033 compatibility.
9325cb04
PK
2034 Use sorted() function rather than sort() method.
2035 Accept either int or long values for enum values.
2036 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
2037 execfile for Python 3 compatibility.
2038 * gdb.python/py-evsignal.exp: Ditto.
2039 * gdb.python/py-evthreads.exp: Ditto.
2040 * gdb.python/py-mi.exp: Ditto.
2041 * gdb.python/py-pp-maint.exp: Ditto.
2042 * gdb.python/py-prettyprint.exp: Ditto.
2043 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
6fdff2c5 2044 Python 3 compatibility.
9325cb04
PK
2045 Skip tests for Python 2.4.
2046 * gdb.python/py-inferior.exp: Change print syntax for
6fdff2c5 2047 Python 3 compatibility.
9325cb04
PK
2048 Use byte string rather than character string in memory write test
2049 if Python 3.
2050 * gdb.python/py-pp-maint.py: Change class declarations to "new
2051 class" syntax.
2052 * gdb.python/py-prettyprint.py: Change iterator class to generator
2053 function for Python 3 compatibility.
2054 Make all classes "new style".
2055 Fix indentation issue and stray semicolon.
2056 * gdb.python/py-shared.expChange print syntax for Python 3
2057 compatibility.
2058 Define "long" if Python 3.
2059 * gdb.python/py-type.exp: Change print syntax for Python 3
6fdff2c5 2060 compatibility.
9325cb04
PK
2061 Accept either int or long values for enum values.
2062 * gdb.python/py-value.exp: Change print syntax for Python 3
6fdff2c5 2063 compatibility.
9325cb04
PK
2064 Skip "long" and "unicode" tests if Python 3.
2065 Accept either "type" or "class" in type checks.
2066 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
2067 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
2068
8b9737bf
TT
20692012-12-10 Tom Tromey <tromey@redhat.com>
2070
2071 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
2072 (test): Add "two_cu" argument.
2073 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
2074 for types; allow two CUs.
2075
1b80a9fa
JK
20762012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2077
2078 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
2079 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
2080
f0b6d50a
YQ
20812012-12-08 Yao Qi <yao@codesourcery.com>
2082 Pedro Alves <palves@redhat.com>
2083
2084 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
2085 '=breakpoint-created' when GDB merges the tracepoints of both
2086 sides.
2087
2f68a895
TT
20882012-12-07 Tom Tromey <tromey@redhat.com>
2089
2090 * gdb.base/break1.c (enum some_enum, union some_union): New.
2091 (some_enum_global, some_union_global, some_value): New globals.
2092 * gdb.base/completion.exp: Add tag completion tests.
2093
4fc5d43e
TT
20942012-12-07 Tom Tromey <tromey@redhat.com>
2095
2096 * gdb.base/completion.exp: Add tests for ptype and whatis
2097 completion.
2098
6559e013
JB
20992012-12-07 Joel Brobecker <brobecker@adacore.com>
2100
2101 * gdb.base/stale-infcall.exp: Fix copyright line.
2102
ae2b630d
JB
21032012-12-07 Joel Brobecker <brobecker@adacore.com>
2104
2105 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
2106
0ba2eb0f
TT
21072012-12-06 Pedro Alves <palves@redhat.com>
2108 Tom Tromey <tromey@redhat.com>
2109
2110 * gdb.base/exprs.exp: Add tests for cast to void.
2111
731145cb
TT
21122012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
2113
2114 * gdb.python/py-mi.exp: Correct expected results for attribute
2115 "dynamic" returned by -var-update.
2116 Add test case for correct handling of "diplayhint" for children
2117 of dynamic varobjs.
2118 * gdb.python/py-prettyprint.c (set_itme): New function.
2119 (bug_14741) New function.
2120 (main) Add call to bug_14741().
2121 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
2122
e58fcc15
UW
21232012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
2124
2125 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
2126 ${binfile}.funcsyms list.
2127
e9eb0d14
YQ
21282012-12-04 Yao Qi <yao@codesourcery.com>
2129
2130 PR gdb/13443
2131 * gdb.trace/actions.exp: Make test messages unique.
2132
4983028c
TT
21332012-11-29 Tom Tromey <tromey@redhat.com>
2134
2135 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
2136
ea5e6b0e
UW
21372012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
2138
2139 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
2140 * gdb.opencl/datatypes.exp: Likewise.
2141 * gdb.opencl/operators.exp: Likewise.
2142 * gdb.opencl/vec_comps.exp: Likewise.
2143
cdde3dfb
JG
21442012-11-29 Jerome Guitton <guitton@adacore.com>
2145
2146 * gdb.ada/iwide: New testcase.
2147
b50d69b5
JG
21482012-11-29 Jerome Guitton <guitton@adacore.com>
2149
2150 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
2151 ptype test.
2152
c2d3fccf
JG
21532012-11-29 Jerome Guitton <guitton@adacore.com>
2154
2155 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
2156 form {VARIANT_TYPE}ADDRESS.
2157
5edf51fe
YQ
21582012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
2159
2160 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
2161 (func): New function.
2162 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
2163 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
2164 pointers to members with pointer-to-function type.
2165
608e2dbb
TT
21662012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2167 Tom Tromey <tromey@redhat.com>
2168
2169 * gdb.base/gnu-debugdata.exp: New file.
2170 * gdb.base/gnu-debugdata.c: New file.
2171 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
2172 (gdb_unload): Return 0 on success.
2173
4648e588
JK
21742012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2175
2176 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
2177
17d6efc4
JB
21782012-11-26 Joel Brobecker <brobecker@adacore.com>
2179
2180 * gdb.base/empty_exe.exp: New testcase.
2181
ace21957
MF
21822012-11-20 Mike Frysinger <vapier@gentoo.org>
2183
2184 * gdb.base/completion.exp: Add test for help aliases completion.
2185
5c401a0a
YQ
21862012-11-20 Yao Qi <yao@codesourcery.com>
2187
2188 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2189 Don't test 'maint set show-debug-regs'.
2190 Use command 'set remotecache' instead of
2191 'set circular-trace-buffer'.
2192
8dea366b
KS
21932012-11-16 Keith Seitz <keiths@redhat.com>
2194
2195 PR c++/13615
2196 * gdb.cp/baseenum.cc: New file.
2197 * gdb.cp/baseenum.exp: New file.
2198 * gdb.cp/derivation.cc (A): Add copyright.
2199 Add a typedef.
2200 (B): Use A::value_type instead of int. Change all references.
2201 (D): Use value_type instead of int. Change all references.
2202 (E): Likewise.
2203 (F); Likewise.
2204 (Z): New class.
2205 (ZZ): New class.
6fdff2c5 2206 (N, Base, Derived): New namespace and classes.
8dea366b
KS
2207 (main): Add instances of Z and ZZ.
2208 Make sure all symbols from N are kept.
2209 * gdb.cp/derivation.exp: Update typedef changes in tests.
2210 Add tests for class typedefs both before and after starting
2211 the inferior.
2212 Add tests for searching for a typedef while stopped in a
2213 method.
2214
5e34c6c3
LM
22152012-11-14 Luis Machado <lgustavo@codesourcery.com>
2216
2217 * gdb.mi/mi-var-create-rtti.c: New file.
2218 * gdb.mi/mi-var-create-rtti.exp: New file.
2219
5e487a5f
LM
22202012-11-14 Luis Machado <lgustavo@codesourcery.com>
2221
2222 * gdb.base/structs3.exp: Run to main before doing any tests.
2223
6d67b990
AB
22242012-11-14 Andrew Burgess <aburgess@broadcom.com>
2225
2226 * gdb.python/py-type.exp: Uniquify test names.
2227
e5d98164
YQ
22282012-11-14 Yao Qi <yao@codesourcery.com>
2229
2230 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
2231 (thread_function) [DEBUG]: Call 'printf'.
2232 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
2233 command line if 'DEBUG=1' is passed to test.
2234 Remove a pattern to match inferior's output.
2235
62747a60
TT
22362012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
2237
2238 * gdb.mi/mi-fill-memory.exp: New test.
2239
18a9fc12
TT
22402012-11-12 Tom Tromey <tromey@redhat.com>
2241
2242 * gdb.base/completion.exp: Update for "info type-printers".
2243 * gdb.python/py-typeprint.cc: New file.
2244 * gdb.python/py-typeprint.exp: New file.
2245 * gdb.python/py-typeprint.py: New file.
2246
bd69fc68
TT
22472012-11-12 Tom Tromey <tromey@redhat.com>
2248
2249 * gdb.base/call-sc.exp: Use "ptype/r".
2250 * gdb.base/volatile.exp: Don't expect "int".
2251 * gdb.cp/ptype-flags.cc: New file.
2252 * gdb.cp/ptype-flags.exp: New file.
2253 * gdb.cp/templates.exp: Use ptype/r.
2254 (test_ptype_of_templates, test_template_typedef): Likewise.
2255 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
2256 argument. Handle template names and template parameters.
2257 * gdb.mi/mi-var-cmd.exp: Accept "long".
2258 * gdb.mi/mi-var-child.exp: Accept "long".
2259 * gdb.mi/mi-var-display.exp: Accept "long".
2260 * gdb.mi/mi2-var-child.exp: Accept "long".
2261
b3720c3a
TT
22622012-11-12 Tom Tromey <tromey@redhat.com>
2263
2264 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
2265 "ptype" from calls to cp_test_ptype_class.
2266 (test_enums): Likewise.
2267 * gdb.cp/derivation.exp: Remove "ptype" from calls to
2268 cp_test_ptype_class.
2269 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
2270 calls to cp_test_ptype_class.
2271 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
2272 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
2273 from calls to cp_test_ptype_class.
2274 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
2275 command here. Change "in_command" argument to "in_exp".
2276
0d63ecda
KS
22772012-11-10 Keith Seitz <keiths@redhat.com>
2278
2279 PR gdb/14288
2280 * gdb.base/printcmds.c: Add invalid_XXX globals
2281 for repeated byte tests.
2282 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
2283 * gdb.base/wchar.c (main): Add and construct a wchar_t
2284 array with repeated characters.
2285 * gdb.base/wchar.exp: Add repeated character tests.
2286
ed8a1c2d
AB
22872012-11-09 Andrew Burgess <aburgess@broadcom.com>
2288
2289 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
2290 disassembly output.
2291
9107fc8d
PA
22922012-11-09 Pedro Alves <palves@redhat.com>
2293
2294 PR gdb/14306
2295
2296 * gdb.multi/multi-arch-exec.c: New file.
2297 * gdb.multi/multi-arch-exec.exp: New file.
2298
558a9d82
YQ
22992012-11-09 Yao Qi <yao@codesourcery.com>
2300
2301 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
2302 (top level): Call it.
2303
e714f336
YQ
23042012-11-09 Yao Qi <yao@codesourcery.com>
2305
2306 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
2307 typo.
2308
6ecd4729
PA
23092012-11-09 Pedro Alves <palves@redhat.com>
2310
2311 * gdb.multi/multi-arch.exp: New.
2312
9015683b
TT
23132012-11-08 Tom Tromey <tromey@redhat.com>
2314
2315 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
2316 core files, if possible.
2317 * gdb.base/siginfo-thread.c: New file
2318 * gdb.base/siginfo-thread.exp: New file
2319
ea9f10bb
TT
23202012-11-08 Tom Tromey <tromey@redhat.com>
2321
2322 * gdb.base/comprdebug.exp: New file.
2323
f6592439
PA
23242012-11-06 Pedro Alves <palves@redhat.com>
2325
2326 PR gdb/14810
2327
2328 * gdb.base/disabled-location.c: New file.
2329 * gdb.base/disabled-location.exp: New file.
2330
2d338fa9
TT
23312012-11-06 Tom Tromey <tromey@redhat.com>
2332
2333 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
2334 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
2335 gdb_gcore_cmd.
2336 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
2337 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
2338 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
2339 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
2340 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
2341 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
2342 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
2343 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
2344 * lib/gdb.exp (gdb_gcore_cmd): New proc.
2345
68c9da30
PA
23462012-11-05 Pedro Alves <palves@redhat.com>
2347
2348 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
2349 procedure.
2350 (do_vfork_and_follow_child_tests_exec)
2351 (do_vfork_and_follow_child_tests_exit): Call it.
2352
a7c8c931
PA
23532012-11-05 Pedro Alves <palves@redhat.com>
2354
2355 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
2356 fails.
2357
6f6484cd
YQ
23582012-11-03 Yao Qi <yao@codesourcery.com>
2359
2360 Fix PR gdb/14617.
2361 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2362 Remove setup_kfail, and update test.
2363
b45627a0
TT
23642012-11-02 Tom Tromey <tromey@redhat.com>
2365
2366 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
2367 test.
2368
f50f4e56
PA
23692012-11-02 Pedro Alves <palves@redhat.com>
2370
2371 PR gdb/14766
2372
2373 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
2374 setup_kfail.
2375 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
2376 get registers".
2377
71ce889d
PA
23782012-11-02 Pedro Alves <palves@redhat.com>
2379
2380 * gdb.base/foll-vfork-exit.c: New file.
2381 * gdb.base/foll-vfork.exp (top level): New file-describing
2382 comment.
2383 (vfork_child_follow_to_exit): New procedure.
2384 (tcatch_vfork_then_child_follow): Rename as ...
2385 (tcatch_vfork_then_child_follow_exec): ... this.
2386 (tcatch_vfork_then_child_follow_exit): New procedure.
2387 (do_vfork_and_follow_parent_tests): New procedure, factored out
2388 from do_vfork_and_exec_tests.
2389 (do_vfork_and_follow_child_tests_exec): Ditto.
2390 (do_vfork_and_exec_tests): Delete.
2391 (do_vfork_and_follow_child_tests_exit): New procedure.
2392 (top level): Run tests with both the program that has the vfork
2393 child execing, and the program has the vfork child exiting.
2394
1e35b1a9
PA
23952012-11-02 Pedro Alves <palves@redhat.com>
2396
2397 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
2398 (check_vfork_catchpoints, vfork_parent_follow_through_step)
2399 (vfork_parent_follow_to_bp): Call it.
2400 (kill_child): Delete.
2401 (vfork_and_exec_child_follow_to_main_bp)
2402 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
2403 longer call kill_child.
2404 (tcatch_vfork_then_parent_follow): Call setup_gdb.
2405 (do_vfork_and_exec_tests): Don't runto_main before calling each
2406 test procedure.
2407 (top level): Don't clean restart and set verbose before running
2408 each test procedure.
2409
24102012-11-02 Pedro Alves <palves@redhat.com>
2411
2412 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
2413 (vfork_parent_follow_to_bp)
2414 (vfork_and_exec_child_follow_to_main_bp)
2415 (vfork_and_exec_child_follow_through_step)
2416 (tcatch_vfork_then_parent_follow)
2417 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
2418 Use with_test_prefix.
2419
24202012-11-02 Pedro Alves <palves@redhat.com>
2421
2422 * gdb.base/foll-vfork.c: Add copyright header.
2423 * gdb.base/vforked-prog.c: Add copyright header.
2424
24252012-11-02 Pedro Alves <palves@redhat.com>
2426
2427 * gdb.base/foll-vfork.exp
2428 (vfork_and_exec_child_follow_through_step): Don't skip on
2429 non-HP/UX targets. Expect the next to only step one line on
2430 non-HP/UX targets, rather than stopping only after the exec.
2431
24322012-11-02 Pedro Alves <palves@redhat.com>
2433
2434 Don't hard code line numbers.
2435
2436 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
2437 Expect text from the sources instead of a line number.
2438 (vfork_parent_follow_to_bp)
2439 (vfork_and_exec_child_follow_to_main_bp)
2440 (vfork_and_exec_child_follow_through_step)
2441 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
2442 Use gdb_get_line_number.
2443
24442012-11-02 Pedro Alves <palves@redhat.com>
2445
2446 Modernize.
2447
2448 * gdb.base/foll-vfork.exp: Use standard_testfile and
2449 build_executable. Pass descriptive string to untested.
2450 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
2451 (vfork_and_exec_child_follow_to_main_bp)
2452 (vfork_and_exec_child_follow_through_step)
2453 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
2454 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
2455 of send_gdb/gdb_expect.
2456
2457 (kill_child): New procedure.
2458 (vfork_and_exec_child_follow_to_main_bp)
2459 (vfork_and_exec_child_follow_through_step): Use it.
2460
f0559fff
YQ
24612012-11-02 Yao Qi <yao@codesourcery.com>
2462
2463 * gdb.base/setvar.exp: Test setting nested struct.
2464 * gdb.base/setvar.c (v_struct3): New.
2465
c207c6da
DE
24662012-11-01 Doug Evans <dje@google.com>
2467
2468 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
2469 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
2470 use them.
2471
2f27adfe
AB
24722012-10-31 Andrew Burgess <aburgess@broadcom.com>
2473
2474 PR cli/14772
2475 * gdb.base/gnu_vector.c (union_with_vector_1)
2476 (struct_with_vector_1): Add new struct and union for testing
2477 ptype.
2478 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
2479 structs / unions containing vectors.
2480
bb662ca6
YQ
24812012-10-25 Yao Qi <yao@codesourcery.com>
2482
2483 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
2484 'setup_kfail' instead of 'setup_kfail_for_target'.
2485 * gdb.base/varargs.exp: Likewise.
2486 * lib/gdb.exp (setup_kfail_for_target): Remove.
2487
635d23ff
MK
24882012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
2489
2490 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
2491
afdb064f
MK
24922012-10-25 Mark Kettenis <kettenis@gnu.org>
2493
2494 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
2495
d99dcf51
JB
24962012-10-24 Joel Brobecker <brobecker@adacore.com>
2497
2498 * gdb.ada/set_wstr: New testcase.
2499
32560274
JB
25002012-10-24 Joel Brobecker <brobecker@adacore.com>
2501
2502 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
2503
5ded5331
JB
25042012-10-24 Joel Brobecker <brobecker@adacore.com>
2505
2506 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
2507
d8d84291
MK
25082012-10-24 Mark Kettenis <kettenis@gnu.org>
2509
2510 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
2511
6e933c51
JK
25122012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2513
2514 * gdb.base/callfuncs.exp (do_function_calls): Fix
2515 setup_kfail_for_target for -m32 mode.
2516
274bd000
MK
25172012-10-23 Mark Kettenis <kettenis@gnu.org>
2518
2519 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
2520 are now fixed.
2521
545f743d
YQ
25222012-10-23 Yao Qi <yao@codesourcery.com>
2523
2524 * gdb.base/info-os.exp: Resume the inferior until it exits.
2525
48b56b6a 25262012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
2527
99c7d5a8 2528 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
2529 * gdb.base/print-file-var.exp: Likewise.
2530 * gdb.base/type-opaque.exp: Likewise.
48b56b6a 2531
8de0566d
YQ
25322012-10-17 Yao Qi <yao@codesourcery.com>
2533
2534 * gdb.mi/mi-memory-changed.exp: New.
2535
44883546
YQ
25362012-10-16 Yao Qi <yao@codesourcery.com>
2537
2538 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
2539 returns true.
2540 Call gdb_load_shlibs.
2541 * gdb.reverse/solib-reverse.exp: Likewise.
2542
345f514a
KS
25432012-10-15 Keith Seitz <keiths@redhat.com>
2544
2545 * lib/cp-support.exp (cp_test_ptype_class): Add support
2546 for class typedefs.
2547
2548 * gdb.cp/derivation.exp: Add tests for g_instance.
2549
9e3a7d65
JK
25502012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2551
2552 Fix entry values resolving in inlined frames.
2553 * gdb.arch/amd64-entry-value-inline.S: New file.
2554 * gdb.arch/amd64-entry-value-inline.c: New file.
2555 * gdb.arch/amd64-entry-value-inline.exp: New file.
2556
21a7b089
JK
25572012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2558 Doug Evans <dje@google.com>
2559
2560 Fix recent gdb_breakpoint regression.
2561 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
2562 braces from the parameter.
2563 * gdb.java/jprint.exp: Likewise.
2564
2c47921e
DE
25652012-10-15 Doug Evans <dje@google.com>
2566
2567 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
2568
89398707
JB
25692012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
2570
2571 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
2572
801e4185
TT
25732012-10-15 Tom Tromey <tromey@redhat.com>
2574
2575 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
2576
74f910c8
TT
25772012-10-15 Tom Tromey <tromey@redhat.com>
2578
2579 * gdb.python/py-symbol.exp: Test symbol destructor.
2580
91567807
YQ
25812012-10-14 Yao Qi <yao@codesourcery.com>
2582
2583 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
2584 * gdb.mi/mi-cli.exp: New.
2585
2586 * gdb.mi/mi2-basics.exp: Remove.
2587 * gdb.mi/mi2-break.exp: Remove.
2588 * gdb.mi/mi2-console.exp: Remove.
2589 * gdb.mi/mi2-disassemble.exp: Remove.
2590 * gdb.mi/mi2-eval.exp: Remove.
2591 * gdb.mi/mi2-file.exp: Remove.
2592 * gdb.mi/mi2-hack-cli.exp: Remove.
2593 * gdb.mi/mi2-pthreads.exp: Remove.
2594 * gdb.mi/mi2-read-memory.exp: Remove.
2595 * gdb.mi/mi2-regs.exp: Remove.
2596 * gdb.mi/mi2-return.exp: Remove.
2597 * gdb.mi/mi2-simplerun.exp: Remove.
2598 * gdb.mi/mi2-stack.exp: Remove.
2599 * gdb.mi/mi2-stepi.exp: Remove.
2600 * gdb.mi/mi2-syn-frame.exp: Remove.
2601 * gdb.mi/mi2-until.exp: Remove.
2602 * gdb.mi/mi2-watch.exp: Remove.
2603 * gdb.mi/mi2-var-block.exp: Remove.
2604 * gdb.mi/mi2-var-cmd.exp: Remove.
2605 * gdb.mi/mi2-var-display.exp: Remove.
2606
87332029
YQ
26072012-10-12 Yao Qi <yao@codesourcery.com>
2608
2609 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
2610 trail '.*' on matching patterns.
2611
11fc9057
L
26122012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2613
2614 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
2615 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
2616 * gdb.arch/i386-disp-step.exp: Likewise.
2617 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2618 * gdb.arch/i386-prologue.exp: Likewise.
2619 * gdb.arch/i386-size-overlap.exp: Likewise.
2620 * gdb.arch/i386-size.exp: Likewise.
2621 * gdb.arch/i386-unwind.exp: Likewise.
2622
7d46bcdc
L
26232012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2624
2625 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
2626 * gdb.arch/i386-word.exp: Likewise.
2627
31224d9d
L
26282012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2629
2630 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
2631 is_ilp32_target to set nr_regs.
2632 * gdb.arch/i386-sse.exp: Likewise.
2633
5b7d0050
DE
26342012-10-11 Doug Evans <dje@google.com>
2635
7c09e5a0
DE
2636 PR breakpoints/14643.
2637 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
2638 * gdb.linespec/thread.c: New file.
2639 * gdb.linespec/thread.exp: New file.
2640
5b7d0050
DE
2641 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
2642 Recognize "message" -> print pass and fail. Add eof case.
2643 (runto): Recognize message, no-message. Print pass/fail if requested,
2644 with same treatment as gdb_breakpoint.
2645 (runto_main): Pass no-message to runto.
2646 (gdb_internal_error_resync): Add log message.
2647 (gdb_file_cmd): Tweak internal error fail text for consistency.
2648
2e24f4aa
JK
26492012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2650
2651 Fix crash during stepping on ppc32.
2652 * gdb.base/step-symless.c: New file.
2653 * gdb.base/step-symless.exp: New file.
2654
aa14df25
DE
26552012-10-03 Doug Evans <dje@google.com>
2656
2657 PR symtab/14601
2658 * gdb.cp/using-crash.exp: New file.
2659 * gdb.cp/using-crash.cc: New file.
2660
975531db
DE
26612012-10-02 Doug Evans <dje@google.com>
2662
2663 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
2664 more consistent.
2665 (runto,gdb_debug_format): Ditto.
2666 (gdb_file_cmd): Watch for eof in nested gdb_expect.
2667 Clean up logging and error messages.
2668
b3dc46ff
AB
26692012-10-01 Andrew Burgess <aburgess@broadcom.com>
2670
2671 Test find command on unmapped memory.
2672 * gdb.base/find-unmapped.c: New file.
2673 * gdb.base/find-unmapped.exp: New file.
2674
45814d45
YQ
26752012-09-29 Yao Qi <yao@codesourcery.com>
2676
2677 * gdb.trace/mi-tracepoint-changed.exp: New.
2678 * gdb.mi/mi-breakpoint-changed.exp: New.
2679 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
2680 * gdb.mi/pendshr2.c: New.
2681
4c2786ba
YQ
26822012-09-28 Yao Qi <yao@codesourcery.com>
2683
2684 * gdb.mi/pr11022.exp: New.
2685 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
2686
7977e5d2
TT
26872012-09-27 Tom Tromey <tromey@redhat.com>
2688
2689 * gdb.cp/derivation.exp: Add regression test.
2690 * gdb.cp/derivation.cc (class V_base, class V_inter, class
2691 V_derived): New.
2692 (vderived): New global.
2693
0971de02
TT
26942012-09-26 Tom Tromey <tromey@redhat.com>
2695
2696 * gdb.dwarf2/dw2-common-block.S: New file.
2697 * gdb.dwarf2/dw2-common-block.exp: New file.
2698
4357ac6c
TT
26992012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2700
2701 * gdb.fortran/common-block.exp: New file.
2702 * gdb.fortran/common-block.f90: New file.
2703
6f380991
AB
27042012-09-26 Andrew Burgess <aburgess@broadcom.com>
2705
2706 * gdb.base/duplicate-bp.c: New file.
2707 * gdb.base/duplicate-bp.exp: New file.
2708
8ae551cf
YQ
27092012-09-26 Yao Qi <yao@codesourcery.com>
2710
2711 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
2712
2713 Revert:
2714 2012-09-21 Yao Qi <yao@codesourcery.com>
2715
2716 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2717
318102b9
SP
27182012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2719
2720 * gdb.base/longest-types.c: New test case.
2721 * gdb.base/longest-types.exp: New test case.
2722
a1e5fd69
YQ
27232012-09-25 Yao Qi <yao@codesourcery.com>
2724
2725 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
2726
04e7407c
JK
27272012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2728
2729 Fix internal error on canonicalization of clang types.
2730 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
2731 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
2732 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
2733
9bf4bce9
JK
27342012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2735
2736 Fix disassemble without parameters in tailcall frame.
2737 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
2738
2603f7ee
AB
27392012-09-21 Andrew Burgess <aburgess@broadcom.com>
2740
2741 * gdb.dwarf2/dw2-op-out-param.S: New file.
2742 * gdb.dwarf2/dw2-op-out-param.exp: New file.
2743
a3569abd
YQ
27442012-09-21 Yao Qi <yao@codesourcery.com>
2745
2746 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2747
a065d7af
YQ
27482012-09-21 Yao Qi <yao@codesourcery.com>
2749
2750 * gdb.mi/mi-cli.exp: Remove.
2751 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
2752
15544bd9
YQ
27532012-09-21 Yao Qi <yao@codesourcery.com>
2754
2755 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
2756 "=record-started" notification.
2757
82a90ccf
YQ
27582012-09-21 Yao Qi <yao@codesourcery.com>
2759
2760 * gdb.mi/mi-record-changed.exp: New.
2761 * gdb.mi/mi-reverse.exp: Adjust expected output.
2762
d7de8e3c
TT
27632012-09-20 Tom Tromey <tromey@redhat.com>
2764
2765 * gdb.python/python.exp: Test atexit.register.
2766
1aa99537
DE
27672012-09-20 Doug Evans <dje@google.com>
2768
05eade73
DE
2769 * boards/dwarf4-gdb-index.exp: New file.
2770
1aa99537
DE
2771 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
2772 while running the tests.
2773
4ae24af0
JB
27742012-09-18 Joel Brobecker <brobecker@adacore.com>
2775
2776 * gdb.ada/bp_reset: New testcase.
2777
bb25a15c
YQ
27782012-09-18 Yao Qi <yao@codesourcery.com>
2779
2780 * gdb.trace/mi-tsv-changed.exp: New.
2781
201b4506
YQ
27822012-09-18 Yao Qi <yao@codesourcery.com>
2783
2784 * gdb.trace/mi-traceframe-changed.exp: New.
2785
6fc1c773
YQ
27862012-09-17 Yao Qi <yao@codesourcery.com>
2787
2788 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
2789 when it is less than 0.
2790
1ab3b62c
JK
27912012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2792
2793 PR 14119
2794 * gdb.arch/amd64-tailcall-ret.S: New file.
2795 * gdb.arch/amd64-tailcall-ret.c: New file.
2796 * gdb.arch/amd64-tailcall-ret.exp: New file.
2797 * gdb.reverse/amd64-tailcall-reverse.S: New file.
2798 * gdb.reverse/amd64-tailcall-reverse.c: New file.
2799 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
2800
acf9414f
JK
28012012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2802
2803 PR 14548
2804 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
2805 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
2806 * gdb.reverse/singlejmp-reverse.S: New file.
2807 * gdb.reverse/singlejmp-reverse.c: New file.
2808 * gdb.reverse/singlejmp-reverse.exp: New file.
2809
666b578b
JK
28102012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2811
2812 Fix compatibility with old GCC (~4.1).
2813 * gdb.cp/converts.cc (my_enum_var): New variable.
2814
42056501
AB
28152012-09-14 Andrew Burgess <aburgess@broadcom.com>
2816
2817 * gdb.xml/tdesc-regs.exp: Update expected output for new
2818 vector_size syntax of vector types.
2819
b9516fa1
YPK
28202012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
2821
2822 Refactor Python "gdb" module into a proper Python package, by
2823 introducing a new "_gdb" module for code implemented in C, and
2824 using reload/__import__ instead of exec.
2825 * gdb.python/python.exp (Test stderr location): Update module
2826 location of GDB-specific sys.stderr.
2827 (Test stdout location): Ditto for sys.stdout.
2828
18dc9ad8
JK
28292012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2830
2831 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
2832
ea3a9873
KS
28332012-09-12 Keith Seitz <keiths@redhat.com>
2834
2835 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
2836 conversion statement.
2837
5941debb
DE
28382012-09-12 Doug Evans <dje@google.com>
2839
2840 * gdb.base/help.exp: Remove testing of individual command help text,
2841 too much of a maintenance burden. Instead, test the functionality
2842 of "help" itself.
2843
cfc35e02
DE
28442012-09-11 Doug Evans <dje@google.com>
2845
3a0ed5d7
DE
2846 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
2847 breakpoint.
2848
cfc35e02
DE
2849 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
2850 * gdb.dwarf2/fission-reread.S: Ditto.
2851 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
2852 * gdb.dwarf2/fission-reread.exp: Ditto.
2853
350b1b26
AB
28542012-09-11 Andrew Burgess <aburgess@broadcom.com>
2855
2856 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
2857
2fa15f23
JB
28582012-09-10 Joel Brobecker <brobecker@adacore.com>
2859
2860 * gdb.ada/optim_drec: New testcase.
2861
09be558e
DE
28622012-09-10 Doug Evans <dje@google.com>
2863
2864 * boards/fission.exp: Explicitly mark "board" as not remote.
2865
5b4f6e25
KS
28662012-09-10 Keith Seitz <keiths@redhat.com>
2867
2868 PR gdb/13483
2869 * gdb.cp/converts.cc (A::A): Add ctor.
2870 (A::member_): Add member.
2871 (enum my_enum): New enumeration.
2872 (main): Add calls to foo1_7 with various
2873 permitted arguments.
2874 * gdb.cp/converts.exp: Add tests for boolean
2875 conversions permitted by the standard.
2876
b4ca5ed9
YPK
28772012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
2878
2879 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
2880 avoid spurious results due to ~/.gdbinit.
2881 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
2882 $INTERNAL_GDBFLAGS in run command.
2883 * gdb.gdb/observer.exp (setup_test): Ditto.
2884 * gdb.gdb/selftest.exp (test_with_self): Ditto.
2885 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
2886
d54b30bb
DE
28872012-09-06 Doug Evans <dje@google.com>
2888
14910956
DE
2889 * boards/fission.exp: New file.
2890
d54b30bb
DE
2891 * gdb.python/py-value.exp: Use clean_restart.
2892
91b253e1
DE
28932012-09-05 Doug Evans <dje@google.com>
2894
2895 * gdb.base/info-macros.c: Fix whitespace.
2896
1292279a
PA
28972012-08-28 Pedro Alves <palves@redhat.com>
2898
2899 PR gdb/14428
2900
2901 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
2902
1c8cdcb1
JK
29032012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2904
2905 * gdb.base/break-caller-line.c: New file.
2906 * gdb.base/break-caller-line.exp: New file.
2907
1e8e8b51
JK
29082012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2909
2910 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
2911 * gdb.arch/i386-cfi-notcurrent.S: New file.
2912 * gdb.arch/i386-cfi-notcurrent.exp: New file.
2913
1591a1e8
PA
29142012-08-27 Wei-cheng Wang <cole945@gmail.com>
2915 Yao Qi <yao@codesourcery.com>
2916 Pedro Alves <palves@redhat.com>
2917
2918 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
2919 New procedures.
2920 (top level): Add overlap checking tests.
2921
4442ada7
TT
29222012-08-24 Tom Tromey <tromey@redhat.com>
2923
2924 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
2925 gdb_test_multiple fails for other reasons.
2926
e7d50cc9
YQ
29272012-08-24 Yao Qi <yao@codesourcery.com>
2928
2929 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
2930
dfbd5e7b
PA
29312012-08-23 Pedro Alves <palves@redhat.com>
2932
2933 * gdb.base/help.exp: Adjust to "handle" help text change.
2934
8d735b87
YQ
29352012-08-23 Yao Qi <yao@codesourcery.com>
2936
2937 * gdb.trace/disconnected-tracing.c (start, end): New.
2938 (main): Call start and end.
2939 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
2940 existing tests into this proc.
2941 (disconnected_tfind): New.
2942
61b1d759
YQ
29432012-08-23 Yao Qi <yao@codesourcery.com>
2944
2945 * boards/native-gdbserver.exp (${board}_upload): New.
2946 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
2947 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
2948 Execute tfile on remote target.
2949 Copy trace file from target to host.
2950
6ca1b147
JM
29512012-08-22 Joseph Myers <joseph@codesourcery.com>
2952
2953 * gdb.arch/thumb-bx-pc.S: New file.
2954 * gdb.arch/thumb-bx-pc.exp: New file.
2955
706e3705
TT
29562012-08-22 Tom Tromey <tromey@redhat.com>
2957
2958 * gdb.base/maint.exp: Update.
2959
b4893d48
TT
29602012-08-22 Tom Tromey <tromey@redhat.com>
2961
2962 * lib/gdb.exp (skip_unwinder_tests): New proc.
2963 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
2964 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
2965
45b7da81
TT
29662012-08-21 Tom Tromey <tromey@redhat.com>
2967
2968 * gdb.hp/gdb.aCC/exception.exp: Remove.
2969
f94363d7
AP
2970012-08-19 Andrew Pinski <apinski@cavium.com>
2971
2972 * gdb.arch/mips-octeon-bbit.c: New file.
2973 * gdb.arch/mips-octeon-bbit.exp: New Test.
2974
e5afdbd7
KS
2975012-08-19 Keith Seitz <keiths@redhat.com>
2976
2977 PR c++/14365
2978 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
2979 * gdb.dwarf2/dw2-anon-mptr.S: New file.
2980
c29e8b64
JK
29812012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2982
2983 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
2984 verbose -log by more specific untested call.
2985
15a7e7bc
YQ
29862012-08-18 Yao Qi <yao@codesourcery.com>
2987
2988 * gdb.trace/tfind.exp: Move tests on various command help before
2989 checking target supports trace.
2990 Fix the expected output of 'help tfind end'.
2991
a451cb65
KS
29922012-08-17 Keith Seitz <keiths@redhat.com>
2993
2994 PR c++/13356
2995 * gdb.base/default.exp: Update all "check type" tests.
2996 * gdb.base/help.exp: Likewise.
2997 * gdb.base/setshow.exp: Likewise.
2998 * gdb.cp/converts.cc (foo1_type_check): New function.
2999 (foo2_type_check): New function.
3000 (foo3_type_check): New function.
3001 (main): Call new functions.
3002 * converts.exp: Add tests for integer-to-pointer conversions
3003 with/without strict type-checking.
3004
dbf6a605
MF
30052012-08-16 Mike Frysinger <vapier@gentoo.org>
3006
3007 * gdb.base/help.exp: Update expected output.
3008
0c92d8c1
JB
30092012-08-16 Joel Brobecker <brobecker@adacore.com>
3010
3011 * gdb.ada/rdv_wait: New testcase.
3012
e56f7f42
JK
30132012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3014
3015 * gdb.base/attach-twice.exp: Remove excessive ps exec.
3016
f47f77df
DE
30172012-08-13 Doug Evans <dje@google.com>
3018
e202d6e8 3019 * gdb.base/help.exp: Update expected output.
f47f77df
DE
3020 * gdb.base/default.exp: Update expected output of "show convenience".
3021
a72c3253
DE
30222012-08-10 Doug Evans <dje@google.com>
3023
3024 * gdb.python/py-strfns.c: New file.
3025 * gdb.python/py-strfns.exp: New file.
3026 * gdb.python/py-type.exp (test_fields): Add vector tests.
3027
de0bea00
MF
30282012-08-10 Mike Frysinger <vapier@gentoo.org>
3029
3030 PR cli/10436:
3031 * gdb.base/completion.exp: Add tests for handle completion.
3032
5b9afe8a
YQ
30332012-08-09 Yao Qi <yao@codesourcery.com>
3034
3035 * gdb.mi/mi-cmd-param-changed.exp: New.
3036 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
3037 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
3038 * gdb.mi/mi2-prompt.exp: Likewise.
3039
4f485ebc
DE
30402012-08-08 Doug Evans <dje@google.com>
3041
3042 * gdb.base/debug-expr.c: New file.
3043 * gdb.base/debug-expr.exp: New file.
3044 * gdb.base/exprs.exp: Test {type} casts.
3045 * gdb.cp/debug-expr.exp: New file.
3046
5888842d
JK
30472012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3048
3049 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
3050 global variable loop, not a 'break'. Add loop count limit to 100.
3051 Add new fail case for terminated vgdb.
3052
4f69f4c2
JK
30532012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3054 Jean-Marc Saffroy <saffroy@gmail.com>
3055
3056 PR 11804
3057 * gdb.base/gcore-relro.exp: New file.
3058 * gdb.base/gcore-relro-main.c: New file.
3059 * gdb.base/gcore-relro-lib.c: New file.
3060
e2de5390
JK
30612012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3062
3063 Do not false FAIL with old GCCs.
3064 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
3065 GCC < 4.5 in $no_hw mode.
3066
606603c5
JK
30672012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3068
3069 * gdb.base/default.exp (cd): Accept new directory with no arguments.
3070
777f26c2
JK
30712012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3072
3073 * gdb.base/list.exp (test_only_end): New function.
3074 Call it.
3075
2c12abee
TT
30762012-08-06 Tom Tromey <tromey@redhat.com>
3077
3078 * gdb.python/py-mi.exp: Add test for printer whose children
3079 are a list.
3080 * gdb.python/py-prettyprint.c (struct children_as_list): New.
3081 (main): New variable children_as_list.
3082 * gdb.python/py-prettyprint.py (class pp_children_as_list):
3083 New.
3084 (register_pretty_printers): Register new printer.
3085
0eae2cf4
EBM
30862012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
3087
3088 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
3089 symbols. Abort if vgdb remote connection is closed.
3090
09e0881d
DE
30912012-08-02 Doug Evans <dje@google.com>
3092
3093 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
3094
b40f514f
SDJ
30952012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
3096
3097 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
3098 s390x, PowerPC 64 and m68k-linux.
3099
11315ae0
UW
31002012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3101
3102 * gdb.base/annota1.exp: Accept no frames-invalid notification
3103 when starting up the program.
3104 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
3105 show a symbolic value as well.
3106 * gdb.server/server-exec-info.exp: Skip test when skipping
3107 gdbserver test and/or when skipping shared library tests.
3108 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
3109 avoid name conflicts with other tests.
3110
0547eeed
UW
31112012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3112
3113 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
3114 Fix wrong output on big-endian systems.
3115 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
3116 4-byte pointer types on 64-bit s390x.
3117
bdddb4de
UW
31182012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3119
3120 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
3121 marker comment at the beginning (after intialization).
3122 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
3123 breakpoint on marker comment instead of function begin.
3124 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
3125 PowerPC.
3126 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
3127 or 64-bit PowerPC.
3128 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
3129 gdb,no_hardware_watchpoints flag is set.
3130 (initialize): Remove now redundant can-use-hw-watchpoints change.
3131
5d206025
YQ
31322012-08-02 Yao Qi <yao@codesourcery.com>
3133 Pedro Alves <palves@redhat.com>
3134
3135 * boards/local-remote-host.exp: New.
3136
4f665099
UW
31372012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3138
3139 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
3140 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
3141 * gdb.base/print-file-var.exp: Likewise.
3142 * gdb.server/solib-list.exp: Skip on remote targets.
3143
b62e2b27
UW
31442012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3145
3146 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
3147 watchpoints on ARM. When expecting software watchpoints, tolerate
3148 (remote) targets that report unsupported hardware watchpoint only
3149 at continue time.
3150 (test_wide_location_2): Likewise.
3151
a967a851
JK
31522012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3153
3154 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
3155 valgrind versions.
3156
75d9f9ff 31572012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
a14dd77e
JK
3158
3159 * gdb.base/valgrind-infcall.c: New file.
3160 * gdb.base/valgrind-infcall.exp: New file.
3161
75d9f9ff
JK
3162 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
3163
1c9f2ed2
KS
31642012-07-30 Keith Seitz <keiths@redhat.com>
3165
3166 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
3167 linespecs.
3168
7f9b2034
DE
31692012-07-30 Doug Evans <dje@google.com>
3170
85220e01
DE
3171 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
3172 * gdb.dwarf2/pr13961.S: Ditto.
3173
7f9b2034
DE
3174 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
3175
4e969b4f
AB
31762012-07-30 Andrew Burgess <aburgess@broadcom.com>
3177
3178 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
3179 change its format immediately after reloading the binary.
3180
e7de8362
JK
31812012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3182
3183 Fix testsuite regression after --use-deprecated-index-sections removal.
3184 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
3185 string.
3186 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
3187
7255706c
YQ
31882012-07-27 Yao Qi <yao@codesourcery.com>
3189
3190 KFAIL for PR remote/14161.
3191 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
3192 Cleanup socket files.
3193 (strace_info_marker): Detach inferior.
3194
f2e8016f
TT
31952012-07-26 Tom Tromey <tromey@redhat.com>
3196
6fdff2c5 3197 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
f2e8016f 3198
f66713d2
JK
31992012-07-26 Markus Metzger <markus.t.metzger@intel.com>
3200
3201 * gdb.python/py-inferior.c (thread): New function.
3202 (check_threads): New function.
3203 (test_threads): New function.
3204 * gdb.python/py-inferior.exp: Added test.
3205 Replaced runto with continue to breakpoint.
3206
8223e12c
TT
32072012-07-26 Tom Tromey <tromey@redhat.com>
3208
3209 * lib/ada.exp (standard_ada_testfile): New proc.
3210 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
3211 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
3212 * gdb.ada/array_return.exp: Use standard_ada_testfile.
3213 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
3214 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
3215 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
3216 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
3217 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
3218 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
3219 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
3220 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
3221 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
3222 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
3223 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
3224 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
3225 * gdb.ada/char_param.exp: Use standard_ada_testfile.
3226 * gdb.ada/complete.exp: Use standard_ada_testfile.
3227 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
3228 standard_output_file.
3229 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
3230 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
3231 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
3232 standard_output_file.
3233 * gdb.ada/exprs.exp: Use standard_ada_testfile.
3234 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
3235 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
3236 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
3237 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
3238 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
3239 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
3240 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
3241 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
3242 * gdb.ada/homonym.exp: Use standard_ada_testfile.
3243 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
3244 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
3245 * gdb.ada/interface.exp: Use standard_ada_testfile.
3246 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
3247 standard_output_file
3248 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
3249 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
3250 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
3251 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
3252 * gdb.ada/nested.exp: Use standard_ada_testfile.
3253 * gdb.ada/null_array.exp: Use standard_ada_testfile.
3254 * gdb.ada/null_record.exp: Use standard_ada_testfile.
3255 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
3256 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
3257 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
3258 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
3259 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
3260 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
3261 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
3262 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
3263 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
3264 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
3265 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
3266 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
3267 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
3268 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
3269 * gdb.ada/start.exp: Use standard_ada_testfile.
3270 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
3271 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
3272 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
3273 * gdb.ada/tagged.exp: Use standard_ada_testfile.
3274 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
3275 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
3276 * gdb.ada/tasks.exp: Use standard_ada_testfile.
3277 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
3278 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
3279 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
3280 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
3281 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
3282 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
3283 * gdb.ada/widewide.exp: Use standard_ada_testfile.
3284
bbec57e4
JK
32852012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3286
3287 Fix testsuite regression after --use-deprecated-index-sections removal.
3288 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
3289
9cc8e32c
JK
32902012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3291
3292 Fix compatibility with Tcl before 7.5.
3293 * lib/future.exp (lreverse): New function if it does not exist.
3294
ea5ca7b5
MK
32952012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
3296
3297 * gdb.mi/mi-pending.c: New method to set a second pending
3298 breakpoint.
3299 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
3300 condition.
3301
64776a0b
PA
33022012-07-20 Pedro Alves <palves@redhat.com>
3303
3304 PR threads/11692
3305 PR gdb/12203
3306
3307 * gdb.threads/create-fail.c: New file.
3308 * gdb.threads/create-fail.exp: New file.
3309
13e4e967
PA
33102012-07-19 Pedro Alves <palves@redhat.com>
3311
3312 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
3313 * config/vx.exp (gdb_start): Likewise.
3314 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
3315 * gdb.base/setvar.exp (test_set): Likewise.
3316 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
3317 * gdb.reverse/sigall-precsave.exp: Likewise.
3318 * gdb.reverse/sigall-reverse.exp: Likewise.
3319
b7aefa4d
PA
33202012-07-19 Pedro Alves <palves@redhat.com>
3321
3322 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
3323 handler before recording.
3324
608b4967
TT
33252012-07-19 Tom Tromey <tromey@redhat.com>
3326
3327 * gdb.cp/casts.exp: Add tests for typeof and decltype.
3328 * gdb.cp/casts.cc (decltype): New function.
3329 (main): Use it.
3330
b1e0c0fa
PA
33312012-07-19 Pedro Alves <palves@redhat.com>
3332
3333 * gdb.base/sigall.exp (signals): New list.
3334 <top level>: Loop over signals in the $signals list instead of
3335 calling a test function once per signal.
3336 * gdb.reverse/sigall-precsave.exp (signals): New list.
3337 <top level>: Loop over signals in the $signals list instead of
3338 calling a test function once per signal.
3339 * gdb.reverse/sigall-reverse.exp (signals): New list.
3340 <top level>: Loop over signals in the $signals list instead of
3341 calling a test function once per signal.
3342
6ace3df1
YQ
33432012-07-19 Yao Qi <yao@codesourcery.com>
3344
3345 * gdb.base/setshow.exp: Test 'set args ~'.
3346
263a0f8c
JK
33472012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3348
3349 * gdb.base/store.exp (check_set): Import gdb_prompt.
3350 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
3351 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
3352
8f043999
JK
33532012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3354
3355 PR 11914
3356 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
3357 (main): Call eval_sub.
3358 * gdb.python/py-prettyprint.exp:
3359 (python execfile ('py-prettyprint.py')): Move it earlier.
3360 New breakpoint for eval-break.
3361 (continue to breakpoint: eval-break, info locals): New test.
3362 (python execfile ('py-prettyprint.py')): Move it from here.
3363 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
3364 (register_pretty_printers): Register pp_eval_type.
3365
725c7b66
JK
33662012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3367
3368 Fix a testcase regression by me.
3369 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
3370 DW_FORM_data4.
3371
4359dff1
JK
33722012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3373 Doug Evans <dje@google.com>
3374
3375 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
3376 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
3377
61e44cfa
JK
33782012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3379
3380 Fix gdbserver run regression.
3381 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
3382
93c0ef37
TT
33832012-07-12 Tom Tromey <tromey@redhat.com>
3384
3385 * lib/gdb.exp (standard_testfile): Don't declare objdir.
3386 (clean_restart): Likewise.
3387 (core_find): Use standard_output_file.
3388
76027ef5
TT
33892012-07-12 Tom Tromey <tromey@redhat.com>
3390
3391 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
3392 * gdb.dwarf2/dw2-anonymous-func.exp: Use
3393 prepare_for_testing_full.
3394 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
3395 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
3396 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
3397 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
3398 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
3399 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
3400 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
3401 prepare_for_testing_full.
3402 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
3403 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
3404 prepare_for_testing_full.
3405 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
3406 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
3407 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
3408
85b4440a
TT
34092012-07-12 Tom Tromey <tromey@redhat.com>
3410
3411 * lib/gdb.exp (build_executable_from_specs): New proc, from
3412 build_executable.
3413 (build_executable): Use it.
3414 (prepare_for_testing_full): New proc.
3415
55baab26
TT
34162012-07-11 Tom Tromey <tromey@redhat.com>
3417
3418 * gdb.reverse/break-precsave.exp: Use standard_output_file.
3419 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
3420 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
3421 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
3422 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
3423 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
3424 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
3425 * gdb.reverse/step-precsave.exp: Use standard_output_file.
3426 * gdb.reverse/until-precsave.exp: Use standard_output_file.
3427 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
3428
298a9cf0
TT
34292012-07-10 Tom Tromey <tromey@redhat.com>
3430
3431 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
3432 standard_output_file.
3433 * gdb.mi/gdb2549.exp: Use standard_testfile.
3434 * gdb.mi/gdb669.exp: Use standard_testfile.
3435 * gdb.mi/gdb701.exp: Use standard_testfile.
3436 * gdb.mi/gdb792.exp: Use standard_testfile.
3437 * gdb.mi/mi-async.exp: Use standard_testfile.
3438 * gdb.mi/mi-basics.exp: Use standard_testfile.
3439 * gdb.mi/mi-break.exp: Use standard_testfile.
3440 * gdb.mi/mi-cli.exp: Use standard_testfile.
3441 * gdb.mi/mi-console.exp: Use standard_testfile.
3442 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
3443 * gdb.mi/mi-eval.exp: Use standard_testfile.
3444 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
3445 * gdb.mi/mi-file.exp: Use standard_testfile.
3446 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
3447 * gdb.mi/mi-logging.exp: Use standard_testfile.
3448 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
3449 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
3450 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
3451 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
3452 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
3453 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
3454 * gdb.mi/mi-pending.exp: Use standard_testfile,
3455 standard_output_file.
3456 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
3457 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
3458 * gdb.mi/mi-regs.exp: Use standard_testfile.
3459 * gdb.mi/mi-return.exp: Use standard_testfile.
3460 * gdb.mi/mi-reverse.exp: Use standard_testfile.
3461 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
3462 * gdb.mi/mi-solib.exp: Use standard_testfile,
3463 standard_output_file.
3464 * gdb.mi/mi-stack.exp: Use standard_testfile.
3465 * gdb.mi/mi-stepi.exp: Use standard_testfile.
3466 * gdb.mi/mi-stepn.exp: Use standard_testfile.
3467 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
3468 * gdb.mi/mi-until.exp: Use standard_testfile.
3469 * gdb.mi/mi-var-block.exp: Use standard_testfile.
3470 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
3471 * gdb.mi/mi-var-child.exp: Use standard_testfile.
3472 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
3473 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
3474 * gdb.mi/mi-var-display.exp: Use standard_testfile.
3475 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
3476 standard_output_file.
3477 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
3478 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
3479 * gdb.mi/mi-watch.exp: Use standard_testfile.
3480 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
3481 * gdb.mi/mi2-basics.exp: Use standard_testfile.
3482 * gdb.mi/mi2-break.exp: Use standard_testfile.
3483 * gdb.mi/mi2-cli.exp: Use standard_testfile.
3484 * gdb.mi/mi2-console.exp: Use standard_testfile.
3485 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
3486 * gdb.mi/mi2-eval.exp: Use standard_testfile.
3487 * gdb.mi/mi2-file.exp: Use standard_testfile.
3488 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
3489 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
3490 * gdb.mi/mi2-regs.exp: Use standard_testfile.
3491 * gdb.mi/mi2-return.exp: Use standard_testfile.
3492 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
3493 * gdb.mi/mi2-stack.exp: Use standard_testfile.
3494 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
3495 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
3496 * gdb.mi/mi2-until.exp: Use standard_testfile.
3497 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
3498 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
3499 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
3500 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
3501 * gdb.mi/mi2-watch.exp: Use standard_testfile.
3502
f5f3a911
TT
35032012-07-10 Tom Tromey <tromey@redhat.com>
3504
3505 * gdb.cp/abstract-origin.exp: Use standard_testfile.
3506 * gdb.cp/ambiguous.exp: Use standard_testfile,
3507 prepare_for_testing.
3508 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
3509 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
3510 * gdb.cp/anon-ns.exp: Use standard_testfile.
3511 * gdb.cp/anon-struct.exp: Use standard_testfile.
3512 * gdb.cp/anon-union.exp: Use standard_testfile,
3513 prepare_for_testing.
3514 * gdb.cp/arg-reference.exp: Use standard_testfile,
3515 prepare_for_testing.
3516 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
3517 * gdb.cp/breakpoint.exp: Use standard_testfile,
3518 prepare_for_testing.
3519 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
3520 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
3521 standard_output_file.
3522 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
3523 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
3524 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
3525 (test_static_members): Update.
3526 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
3527 * gdb.cp/converts.exp: Use standard_testfile.
3528 * gdb.cp/cp-relocate.exp: Use standard_testfile.
3529 * gdb.cp/cpcompletion.exp: Use standard_testfile,
3530 prepare_for_testing.
3531 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
3532 * gdb.cp/cplabel.exp: Use standard_testfile.
3533 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
3534 prepare_for_testing.
3535 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
3536 * gdb.cp/derivation.exp: Use standard_testfile,
3537 prepare_for_testing.
3538 * gdb.cp/destrprint.exp: Use standard_testfile.
3539 * gdb.cp/dispcxx.exp: Use standard_testfile.
3540 * gdb.cp/exception.exp: Use standard_testfile,
3541 prepare_for_testing.
3542 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
3543 * gdb.cp/extern-c.exp: Use standard_testfile,
3544 prepare_for_testing.
3545 * gdb.cp/formatted-ref.exp: Use standard_testfile,
3546 prepare_for_testing.
3547 * gdb.cp/fpointer.exp: Use standard_testfile.
3548 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
3549 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
3550 standard_output_file.
3551 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
3552 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
3553 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
3554 standard_output_file.
3555 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
3556 (do_tests): Update.
3557 * gdb.cp/koenig.exp: Use standard_testfile.
3558 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
3559 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
3560 * gdb.cp/m-static.exp: Use standard_testfile,
3561 prepare_for_testing.
3562 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
3563 * gdb.cp/mb-inline.exp: Use standard_testfile,
3564 prepare_for_testing.
3565 * gdb.cp/mb-templates.exp: Use standard_testfile,
3566 prepare_for_testing.
3567 * gdb.cp/member-ptr.exp: Use standard_testfile,
3568 prepare_for_testing.
3569 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
3570 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
3571 * gdb.cp/method2.exp: Use standard_testfile.
3572 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
3573 standard_output_file.
3574 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
3575 (do_tests): Update.
3576 * gdb.cp/namespace-enum.exp: Use standard_testfile,
3577 prepare_for_testing.
3578 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
3579 prepare_for_testing.
3580 * gdb.cp/namespace.exp: Use standard_testfile,
3581 prepare_for_testing.
3582 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
3583 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
3584 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
3585 * gdb.cp/nsimport.exp: Use standard_testfile,
3586 prepare_for_testing.
3587 * gdb.cp/nsnested.exp: Use standard_testfile.
3588 * gdb.cp/nsnoimports.exp: Use standard_testfile.
3589 * gdb.cp/nsrecurs.exp: Use standard_testfile,
3590 prepare_for_testing.
3591 * gdb.cp/nsstress.exp: Use standard_testfile,
3592 prepare_for_testing.
3593 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
3594 * gdb.cp/operator.exp: Use standard_testfile.
3595 * gdb.cp/oranking.exp: Use standard_testfile.
3596 * gdb.cp/overload-const.exp: Use standard_testfile.
3597 * gdb.cp/overload.exp: Use standard_testfile,
3598 prepare_for_testing.
3599 * gdb.cp/ovldbreak.exp: Use standard_testfile.
3600 * gdb.cp/ovsrch.exp: Use standard_testfile.
3601 * gdb.cp/paren-type.exp: Use standard_testfile.
3602 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
3603 prepare_for_testing.
3604 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
3605 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
3606 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
3607 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
3608 * gdb.cp/pr10728.exp: Use standard_testfile,
3609 standard_output_file.
3610 * gdb.cp/pr12028.exp: Use standard_testfile.
3611 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
3612 * gdb.cp/pr9167.exp: Use standard_testfile.
3613 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
3614 * gdb.cp/printmethod.exp: Use standard_testfile,
3615 prepare_for_testing.
3616 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
3617 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
3618 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
3619 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
3620 standard_output_file.
3621 * gdb.cp/readnow-language.exp: Use standard_testfile.
3622 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
3623 (gdb_start_again): Use clean_restart.
3624 * gdb.cp/ref-types.exp: Use standard_testfile,
3625 prepare_for_testing.
3626 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
3627 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
3628 * gdb.cp/smartp.exp: Use standard_testfile.
3629 * gdb.cp/static-method.exp: Use standard_testfile.
3630 * gdb.cp/static-print-quit.exp: Use standard_testfile.
3631 * gdb.cp/temargs.exp: Use standard_testfile.
3632 * gdb.cp/templates.exp: Use standard_testfile,
3633 prepare_for_testing.
3634 (do_tests): Update.
3635 * gdb.cp/try_catch.exp: Use standard_testfile,
3636 prepare_for_testing.
3637 * gdb.cp/typedef-operator.exp: Use standard_testfile.
3638 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
3639 * gdb.cp/virtbase.exp: Use standard_testfile,
3640 prepare_for_testing.
3641 * gdb.cp/virtfunc.exp: Use standard_testfile,
3642 prepare_for_testing.
3643 (do_tests): Update.
3644 * gdb.cp/virtfunc2.exp: Use standard_testfile,
3645 prepare_for_testing.
3646
686f09d0
TT
36472012-07-10 Tom Tromey <tromey@redhat.com>
3648
3649 * lib/gdb.exp (standard_testfile): Unset output variables from
3650 earlier invocations.
3651
9357e021
YQ
36522012-07-10 Yao Qi <yao@codesourcery.com>
3653
3654 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
3655 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
3656 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
3657 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
3658 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
3659 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
3660 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
3661 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
3662 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
3663 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
3664 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
3665 * gdb.mi/mi-var-display.exp: Likewise.
3666 * gdb.mi/mi-var-invalidate.exp: Likewise.
3667 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
3668 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
3669 * gdb.mi/mi2-console.exp: Likewise.
3670 * gdb.mi/mi2-disassemble.exp: Likewise.
3671 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
3672 * gdb.mi/mi2-read-memory.exp: Likewise.
3673 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
3674 * gdb.mi/mi2-simplerun.exp: Likewise.
3675 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
3676 * gdb.mi/mi2-syn-frame.exp: Likewise.
3677 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
3678 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
3679 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
3680
e314d629
TT
36812012-07-09 Tom Tromey <tromey@redhat.com>
3682
3683 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
3684 * gdb.base/callfuncs.exp: Add cast-based test.
3685 * gdb.base/callfuncs.c (voidfunc): New function.
3686
06928b3f
DE
36872012-07-08 Doug Evans <dje@google.com>
3688
3689 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
3690
32f11bad
JK
36912012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3692
3693 Fix XFAIL compatibility with old i386 systems.
3694 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
3695 Check also 'Cannot insert breakpoint 0'.
3696
76b83c51
JK
36972012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3698
3699 PR 14321
3700 * gdb.base/find.exp
3701 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
3702
a6fb9c08
TT
37032012-07-06 Tom Tromey <tromey@redhat.com>
3704
3705 * gdb.base/whatis.exp: Add test.
3706
71918a86
TT
37072012-07-06 Tom Tromey <tromey@redhat.com>
3708
3709 * gdb.base/whatis.exp: Add regression test.
3710
fcde5961
TT
37112012-07-06 Tom Tromey <tromey@redhat.com>
3712
3713 * gdb.base/whatis.exp: Add tests.
3714
f9cf0f4a
JK
37152012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3716
3717 PR 12649
3718 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
3719 gdb_test_multiple $gdb_prompt terminator.
3720
979ade8b
PA
37212012-07-04 Pedro Alves <palves@redhat.com>
3722
3723 * gdb.mi/mi-reverse.exp: Use supports_reverse and
3724 supports_process_record.
3725
8a980b44
PA
37262012-07-04 Pedro Alves <palves@redhat.com>
3727
3728 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
3729 endings.
3730 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
3731
855ba978
SS
37322012-07-03 Stan Shebs <stan@codesourcery.com>
3733
3734 * gdb.base/info-os.c (main): Retry resource acquisition until an
3735 available one is found.
3736 * gdb.base/info-os.exp: Collect resource keys from the program
3737 and use them in matching.
3738
fcb44371
JK
37392012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3740
3741 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
3742 Wrap the test into loop for corefile and core0file.
3743
08a67be6
JK
37442012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3745
3746 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
3747 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
3748 .note.GNU-stack.
3749
0f3c2347
JK
3750 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
3751
ff4a4500
SDJ
37522012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
3753
3754 * gdb.base/help.exp (help b, help br, help bre, help brea, help
3755 break): Include help message for the new `-probe' and `-probe-stap'
3756 options.
3757
d3ce09f5
SS
37582012-07-02 Stan Shebs <stan@codesourcery.com>
3759
3760 * gdb.base/dprintf.exp: Add agent style tests.
3761
a1624241
JK
37622012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3763
3764 * gdb.base/stale-infcall.c (infcall): New label test-next.
3765 (main): New labels test-pass and test-fail.
3766 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
3767 $test_fail_bpnum to test-fail.
3768 (test system longjmp tracking support): New test.
3769 Delete $test_fail_bpnum.
3770 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
3771 breakpoint.
3772
42e7ad6c
DE
37732012-06-30 Doug Evans <dje@google.com>
3774
3775 * gdb.dwarf2/fission-reread.S: New file.
3776 * gdb.dwarf2/fission-reread.exp: New file.
3777
37ce89eb
SS
37782012-06-28 Stan Shebs <stan@codesourcery.com>
3779
3780 * gdb.mi/mi-logging.exp: New file.
3781
e5ef252a
PA
37822012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3783 Pedro Alves <palves@redhat.com>
3784
3785 * gdb.threads/siginfo-threads.exp: New file.
3786 * gdb.threads/siginfo-threads.c: New file.
3787 * gdb.threads/sigstep-threads.exp: New file.
3788 * gdb.threads/sigstep-threads.c: New file.
3789
22f1fbae
TT
37902012-06-28 Tom Tromey <tromey@redhat.com>
3791
3792 * gdb.go/package.exp: Partially revert earlier patch; use
3793 gdb_compile again. Use standard_output_file.
3794
2e3cf129
DE
37952012-06-27 Doug Evans <dje@google.com>
3796
3797 * gdb.dwarf2/fission-base.c: New file.
3798 * gdb.dwarf2/fission-base.S: New file.
3799 * gdb.dwarf2/fission-base.exp: New file.
3800
785fd303
JK
38012012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3802
3803 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
3804
1bb9788d
TT
38052012-06-27 Tom Tromey <tromey@redhat.com>
3806
3807 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
3808 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
3809
c83ee902
TT
38102012-06-27 Tom Tromey <tromey@redhat.com>
3811
3812 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
3813 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
3814 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
3815 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
3816 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
3817 prepare_for_testing.
3818 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
3819 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
3820 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
3821 standard_testfile.
3822 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
3823 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
3824 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
3825 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
3826 prepare_for_testing.
3827 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
3828 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
3829 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
3830 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
3831 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
3832 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
3833 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
3834 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
3835 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
3836 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
3837 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
3838 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
3839 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
3840 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
3841 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
3842 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
3843 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
3844 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
3845 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
3846 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
3847 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
3848 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
3849 standard_output_file.
3850 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
3851 standard_output_file.
3852 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
3853 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
3854 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
3855 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
3856 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
3857 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
3858 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
3859 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
3860 * gdb.dwarf2/implptr.exp: Use standard_testfile.
3861 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
3862 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
3863 * gdb.dwarf2/pieces.exp: Use standard_testfile.
3864 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
3865 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
3866 * gdb.dwarf2/valop.exp: Use standard_testfile,
3867 prepare_for_testing.
3868
5204774b
TT
38692012-06-27 Tom Tromey <tromey@redhat.com>
3870
3871 * gdb.python/python.exp: Fix regexps in pagination tests.
3872
ee0bf529
SCR
38732012-06-26 Siva Chandra Reddy <sivachandra@google.com>
3874
3875 * gdb.python/py-symtab.exp: Add tests to test the new attribute
3876 'last' of gdb.Symtab_and_line.
3877 * gdb.python/py-symbol.c: Move break point comment to enable
3878 testing of gdb.Symtab_and_line.last.
3879
14fcc022
TT
38802012-06-26 Tom Tromey <tromey@redhat.com>
3881
3882 * gdb.threads/step.c: Remove.
3883 * gdb.threads/step.exp: Remove.
3884 * gdb.threads/step2.exp: Remove.
3885
0efbbabc
TT
38862012-06-26 Tom Tromey <tromey@redhat.com>
3887
3888 * gdb.threads/watchpoint-fork.exp (test): Use
3889 standard_output_file. Don't declare objdir.
3890 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
3891 standard_output_file.
3892 * gdb.threads/attach-stopped.exp: Use standard_testfile.
3893 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
3894 clean_restart. Remove incdir.
3895 * gdb.threads/corethreads.exp: Use standard_testfile.
3896 * gdb.threads/execl.exp: Use standard_testfile,
3897 standard_output_file, clean_restart.
3898 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
3899 clean_restart.
3900 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
3901 clean_restart.
3902 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
3903 incdir.
3904 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
3905 clean_restart. Remove incdir.
3906 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
3907 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
3908 clean_restart. Remove incdir.
3909 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
3910 Remove incdir.
3911 * gdb.threads/leader-exit.exp: Use standard_testfile.
3912 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
3913 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
3914 clean_restart.
3915 * gdb.threads/manythreads.exp: Use standard_testfile,
3916 clean_restart. Remove incdir.
3917 * gdb.threads/multi-create.exp: Use standard_testfile,
3918 clean_restart.
3919 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
3920 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
3921 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
3922 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
3923 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
3924 * gdb.threads/pending-step.exp: Use standard_testfile,
3925 clean_restart. Remove incdir.
3926 * gdb.threads/print-threads.exp: Use standard_testfile,
3927 clean_restart. Remove incdir.
3928 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
3929 clean_restart. Remove incdir.
3930 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
3931 Remove incdir.
3932 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
3933 incdir.
3934 * gdb.threads/sigthread.exp: Use standard_testfile,
3935 clean_restart.
3936 * gdb.threads/staticthreads.exp: Use standard_testfile,
3937 clean_restart. Remove incdir.
3938 * gdb.threads/switch-threads.exp: Use standard_testfile,
3939 clean_restart. Remove incdir.
3940 * gdb.threads/thread-execl.exp: Use standard_testfile,
3941 clean_restart. Remove incdir.
3942 * gdb.threads/thread-find.exp: Use standard_testfile,
3943 clean_restart.
3944 * gdb.threads/thread-specific.exp: Use standard_testfile,
3945 clean_restart. Remove incdir.
3946 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
3947 clean_restart. Remove incdir.
3948 * gdb.threads/thread_check.exp: Use standard_testfile,
3949 clean_restart. Remove incdir.
3950 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
3951 incdir.
3952 * gdb.threads/threadapply.exp: Use standard_testfile,
3953 clean_restart. Remove incdir.
3954 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
3955 clean_restart. Remove incdir.
3956 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
3957 clean_restart.
3958 * gdb.threads/tls-shared.exp: Use standard_testfile,
3959 clean_restart, standard_output_file.
3960 * gdb.threads/tls-var.exp: Use standard_testfile,
3961 standard_output_file.
3962 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
3963 Remove incdir.
3964 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
3965 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
3966 incdir.
3967 * gdb.threads/watchthreads2.exp: Use standard_testfile,
3968 clean_restart. Remove incdir.
3969
497a5eb0
TT
39702012-06-26 Tom Tromey <tromey@redhat.com>
3971
3972 * gdb.trace/actions.exp: Use standard_testfile.
3973 * gdb.trace/ax.exp: Use standard_testfile.
3974 * gdb.trace/backtrace.exp: Use standard_testfile.
3975 * gdb.trace/change-loc.exp: Use standard_testfile.
3976 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
3977 * gdb.trace/collection.exp: Use standard_testfile,
3978 prepare_for_testing.
3979 * gdb.trace/deltrace.exp: Use standard_testfile.
3980 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
3981 * gdb.trace/ftrace.exp: Use standard_testfile.
3982 * gdb.trace/infotrace.exp: Use standard_testfile.
3983 * gdb.trace/packetlen.exp: Use standard_testfile.
3984 * gdb.trace/passc-dyn.exp: Use standard_testfile.
3985 * gdb.trace/passcount.exp: Use standard_testfile.
3986 * gdb.trace/pending.exp: Use standard_testfile.
3987 * gdb.trace/report.exp: Use standard_testfile.
3988 * gdb.trace/save-trace.exp: Use standard_testfile.
3989 * gdb.trace/stap-trace.exp: Use standard_testfile.
3990 * gdb.trace/status-stop.exp: Use standard_testfile.
3991 * gdb.trace/strace.exp: Use standard_testfile.
3992 * gdb.trace/tfile.exp: Use standard_testfile.
3993 * gdb.trace/tfind.exp: Use standard_testfile.
3994 * gdb.trace/trace-break.exp: Use standard_testfile.
3995 * gdb.trace/trace-mt.exp: Use standard_testfile.
3996 * gdb.trace/tracecmd.exp: Use standard_testfile.
3997 * gdb.trace/tspeed.exp: Use standard_testfile.
3998 * gdb.trace/tstatus.exp: Use standard_testfile.
3999 * gdb.trace/tsv.exp: Use standard_testfile.
4000 * gdb.trace/unavailable.exp: Use standard_testfile,
4001 prepare_for_testing.
4002 * gdb.trace/while-dyn.exp: Use standard_testfile.
4003 * gdb.trace/while-stepping.exp: Use standard_testfile.
4004
7686c074
TT
40052012-06-26 Tom Tromey <tromey@redhat.com>
4006
4007 * gdb.reverse/break-precsave.exp: Use standard_testfile.
4008 * gdb.reverse/break-reverse.exp: Use standard_testfile.
4009 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
4010 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
4011 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
4012 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
4013 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
4014 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
4015 prepare_for_testing.
4016 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
4017 prepare_for_testing.
4018 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
4019 prepare_for_testing.
4020 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
4021 prepare_for_testing.
4022 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
4023 prepare_for_testing
4024 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
4025 * gdb.reverse/machinestate.exp: Use standard_testfile.
4026 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
4027 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
4028 build_executable.
4029 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
4030 build_executable.
4031 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
4032 standard_output_file.
4033 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
4034 standard_output_file.
4035 * gdb.reverse/step-precsave.exp: Use standard_testfile.
4036 * gdb.reverse/step-reverse.exp: Use standard_testfile.
4037 * gdb.reverse/until-precsave.exp: Use standard_testfile.
4038 * gdb.reverse/until-reverse.exp: Use standard_testfile.
4039 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
4040 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
4041
481fc100
TT
40422012-06-26 Tom Tromey <tromey@redhat.com>
4043
4044 * gdb.stabs/weird.exp: Remove directory-checking code. Use
4045 standard_output_file.
4046 * gdb.stabs/exclfwd.exp: Use standard_testfile,
4047 prepare_for_testing. Remove directory-checking code.
4048
7bb18ae2
TT
40492012-06-25 Tom Tromey <tromey@redhat.com>
4050
4051 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
4052 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
4053 build_executable, not prepare_for_testing.
4054 * gdb.multi/base.exp: Use standard_output_file. Use
4055 build_executable, not prepare_for_testing.
4056
cf09b3e4
TT
40572012-06-25 Tom Tromey <tromey@redhat.com>
4058
4059 * gdb.fortran/subarray.exp: Use standard_testfile,
4060 prepare_for_testing.
4061 * gdb.fortran/multi-dim.exp: Use standard_testfile.
4062 * gdb.fortran/module.exp: Use standard_testfile.
4063 * gdb.fortran/logical.exp: Use standard_testfile.
4064 * gdb.fortran/library-module.exp: Use standard_testfile,
4065 standard_output_file.
4066 * gdb.fortran/derived-type.exp: Use standard_testfile,
4067 prepare_for_testing.
4068 * gdb.fortran/complex.exp: Use standard_testfile,
4069 prepare_for_testing.
4070 * gdb.fortran/charset.exp: Use standard_testfile.
4071 * gdb.fortran/array-element.exp: Use standard_testfile,
4072 prepare_for_testing.
4073
18b5ff1b
KS
40742012-06-25 Keith Seitz <keiths@redhat.com>
4075
4076 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
4077 Change rbreak-related tests to KFAIL and add bugzilla numbers.
4078
17b77626
TT
40792012-06-25 Tom Tromey <tromey@redhat.com>
4080
4081 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
4082 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
4083 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
4084 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
4085
f91e3dc1
TT
40862012-06-25 Tom Tromey <tromey@redhat.com>
4087
4088 * gdb.linespec/ls-errs.exp: Use standard_testfile.
4089 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
4090 * gdb.linespec/linespec.exp: Use standard_testfile.
4091
a884434d
TT
40922012-06-25 Tom Tromey <tromey@redhat.com>
4093
4094 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
4095 prepare_for_testing.
4096
efc9d70a
TT
40972012-06-25 Tom Tromey <tromey@redhat.com>
4098
4099 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
4100 prepare_for_testing.
4101 * gdb.opt/inline-break.exp: Use standard_testfile,
4102 prepare_for_testing.
4103 * gdb.opt/inline-bt.exp: Use standard_testfile,
4104 prepare_for_testing.
4105 * gdb.opt/inline-cmds.exp: Use standard_testfile,
4106 prepare_for_testing.
4107 * gdb.opt/inline-locals.exp: Use standard_testfile,
4108 prepare_for_testing.
4109
e2fc92c6
TT
41102012-06-25 Tom Tromey <tromey@redhat.com>
4111
4112 * gdb.asm/asm-source.exp: Use standard_output_file,
4113 standard_testfile. Construct .o files in proper subdir.
4114
b0963d73
TT
41152012-06-25 Tom Tromey <tromey@redhat.com>
4116
4117 * gdb.server/ext-attach.exp: Use standard_testfile,
4118 prepare_for_testing.
4119 * gdb.server/ext-run.exp: Use standard_testfile,
4120 build_executable.
4121 * gdb.server/file-transfer.exp: Use standard_testfile,
4122 prepare_for_testing.
4123 * gdb.server/server-exec-info.exp: Use standard_testfile.
4124 * gdb.server/server-mon.exp: Use standard_testfile,
4125 prepare_for_testing.
4126 * gdb.server/server-run.exp: Use standard_testfile,
4127 build_executable.
4128 * gdb.server/solib-list.exp: Use standard_testfile,
4129 standard_output_file.
4130
8a3e1f8d
TT
41312012-06-25 Tom Tromey <tromey@redhat.com>
4132
4133 * lib/gdb.exp (standard_output_file): Use "file join".
4134 * gdb.go/chan.exp: Use standard_testfile.
4135 * gdb.go/handcall.exp: Use standard_testfile.
4136 * gdb.go/hello.exp: Use standard_testfile.
4137 * gdb.integers/chan.exp: Use standard_testfile.
4138 * gdb.go/methods.exp: Use standard_testfile.
4139 * gdb.go/package.exp: Use standard_testfile.
4140 * gdb.go/strings.exp: Use standard_testfile.
4141 * gdb.go/types.exp: Use standard_testfile.
4142 * gdb.go/unsafe.exp: Use standard_testfile.
4143
944a9061
MGD
41442012-06-25 Greta Yorsh <greta.yorsh@arm.com>
4145
4146 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
4147
1c06bd58
JK
41482012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4149
4150 Fix regression by the previous commit.
4151 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
4152
b4a58790
TT
41532012-06-22 Tom Tromey <tromey@redhat.com>
4154
4155 * gdb.python/lib-types.exp: Use standard_testfile,
4156 prepare_for_testing.
4157 * gdb.python/py-block.exp: Use standard_testfile.
4158 * gdb.python/py-breakpoint.exp: Use standard_testfile.
4159 * gdb.python/py-events.exp: Use standard_testfile,
4160 standard_output_file.
4161 * gdb.python/py-evsignal.exp: Use standard_testfile.
4162 * gdb.python/py-evethreads.exp: Use standard_testfile.
4163 * gdb.python/py-explore-cc.exp: Use standard_testfile.
4164 * gdb.python/py-explore.exp: Use standard_testfile.
4165 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
4166 standard_output_file.
4167 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
4168 prepare_for_testing.
4169 * gdb.python/py-frame-inline.exp: Use standard_testfile.
4170 * gdb.python/py-frame.exp: Use standard_testfile.
4171 * gdb.python/py-inferior.exp: Use standard_testfile.
4172 * gdb.python/py-infthread.exp: Use standard_testfile.
4173 * gdb.python/py-mi.exp: Use standard_testfile.
4174 * gdb.python/py-objfile-script.exp: Use standard_testfile,
4175 build_executable.
4176 * gdb.python/py-objfile.exp: Use standard_testfile.
4177 * gdb.python/py-pp-maint.exp: Use standard_testfile,
4178 prepare_for_testing.
4179 * gdb.python/py-prettyprint.exp: Use standard_testfile.
4180 * gdb.python/py-progspace.exp: Use standard_testfile,
4181 build_executable.
4182 * gdb.python/py-prompt.exp: Use standard_testfile,
4183 build_executable.
4184 * gdb.python/py-section-script.exp: Use standard_testfile,
4185 build_executable.
4186 * gdb.python/py-shared.exp: Use standard_testfile,
4187 standard_output_file, clean_restart.
4188 * gdb.python/py-symbol.exp: Use standard_output_file,
4189 prepare_for_testing.
4190 * gdb.python/py-symtab.exp: Use standard_output_file,
4191 prepare_for_testing
4192 * gdb.python/py-template.exp: Use standard_testfile.
4193 * gdb.python/py-type.exp: Use standard_testfile.
4194 * gdb.python/py-value-cc.exp: Use standard_testfile.
4195 * gdb.python/py-value.exp: Use standard_testfile.
4196 * gdb.python/python.exp: Use standard_testfile, build_executable.
4197
2c44deac
TT
41982012-06-22 Tom Tromey <tromey@redhat.com>
4199
4200 * gdb.objc/basicclass.exp: Use standard_testfile.
4201 (do_objc_tests): Don't declare objdir.
4202 * gdb.objc/nondebug.exp: Use standard_testfile.
4203 (do_objc_tests): Don't declare objdir.
4204 * gdb.objc/objcdecode.exp: Use standard_testfile.
4205 (do_objc_tests): Don't declare objdir.
4206
c24ccbce
TT
42072012-06-22 Tom Tromey <tromey@redhat.com>
4208
4209 * gdb.java/jmain.exp: Use standard_testfile.
4210 * gdb.java/jmisc.exp: Use standard_testfile.
4211 * gdb.java/jnpe.exp: Use standard_testfile.
4212 * gdb.java/jprint.exp: Use standard_testfile.
4213
0a6d0306
TT
42142012-06-22 Tom Tromey <tromey@redhat.com>
4215
4216 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
4217 (standard_output_file, standard_testfile): New procs.
4218 (build_executable, clean_restart): Use standard_output_file.
4219
6ea815ef
YQ
42202012-06-22 Yao Qi <yao@codesourcery.com>
4221
4222 * boards/native-gdbserver.exp: New proc ${board}_exec.
4223 * boards/native-stdio-gdbserver.exp: Likewise.
4224
4c93b1db
TT
42252012-06-21 Tom Tromey <tromey@redhat.com>
4226
4227 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
4228 (build_executable): Update.
4229 (get_compiler_info): Remove 'binfile' argument.
4230 * gdb.ada/arrayidx.exp: Update.
4231 * gdb.ada/null_array.exp: Update.
4232 * gdb.arch/altivec-abi.exp: Update.
4233 * gdb.arch/altivec-regs.exp: Update.
4234 * gdb.arch/amd64-byte.exp: Update.
4235 * gdb.arch/amd64-dword.exp: Update.
4236 * gdb.arch/amd64-word.exp: Update.
4237 * gdb.arch/i386-avx.exp: Update.
4238 * gdb.arch/i386-byte.exp: Update.
4239 * gdb.arch/i386-sse.exp: Update.
4240 * gdb.arch/i386-word.exp: Update.
4241 * gdb.arch/ppc-dfp.exp: Update.
4242 * gdb.arch/ppc-fp.exp: Update.
4243 * gdb.arch/vsx-regs.exp: Update.
4244 * gdb.base/all-bin.exp: Update.
4245 * gdb.base/annota1.exp: Update.
4246 * gdb.base/async.exp: Update.
4247 * gdb.base/attach.exp: Update.
4248 * gdb.base/break-interp.exp: Update.
4249 * gdb.base/call-ar-st.exp: Update.
4250 * gdb.base/call-rt-st.exp: Update.
4251 * gdb.base/call-sc.exp: Update.
4252 * gdb.base/callfuncs.exp: Update.
4253 * gdb.base/catch-load.exp: Update.
4254 * gdb.base/completion.exp: Update.
4255 * gdb.base/complex.exp: Update.
4256 * gdb.base/condbreak.exp: Update.
4257 * gdb.base/consecutive.exp: Update.
4258 * gdb.base/constvars.exp: Update.
4259 * gdb.base/corefile.exp: Update.
4260 * gdb.base/eval-skip.exp: Update.
4261 * gdb.base/expand-psymtabs.exp: Update.
4262 * gdb.base/exprs.exp: Update.
4263 * gdb.base/fileio.exp: Update.
4264 * gdb.base/fixsection.exp: Update.
4265 * gdb.base/funcargs.exp: Update.
4266 * gdb.base/gdb11530.exp: Update.
4267 * gdb.base/gdb1555.exp: Update.
4268 * gdb.base/gnu-ifunc.exp: Update.
4269 * gdb.base/gnu_vector.exp: Update.
4270 * gdb.base/info-macros.exp: Update.
4271 * gdb.base/jit-simple.exp: Update.
4272 * gdb.base/jit-so.exp: Update.
4273 * gdb.base/jit.exp: Update.
4274 * gdb.base/langs.exp: Update.
4275 * gdb.base/list.exp: Update.
4276 * gdb.base/logical.exp: Update.
4277 * gdb.base/long_long.exp: Update.
4278 * gdb.base/longjmp.exp: Update.
4279 * gdb.base/macscp.exp: Update.
4280 * gdb.base/mips_pro.exp: Update.
4281 * gdb.base/miscexprs.exp: Update.
4282 * gdb.base/morestack.exp: Update.
4283 * gdb.base/nodebug.exp: Update.
4284 * gdb.base/opaque.exp: Update.
4285 * gdb.base/pc-fp.exp: Update.
4286 * gdb.base/pending.exp: Update.
4287 * gdb.base/permissions.exp: Update.
4288 * gdb.base/pointers.exp: Update.
4289 * gdb.base/prelink.exp: Update.
4290 * gdb.base/printcmds.exp: Update.
4291 * gdb.base/psymtab.exp: Update.
4292 * gdb.base/ptype.exp: Update.
4293 * gdb.base/relational.exp: Update.
4294 * gdb.base/scope.exp: Update.
4295 * gdb.base/setvar.exp: Update.
4296 * gdb.base/shlib-call.exp: Update.
4297 * gdb.base/shreloc.exp: Update.
4298 * gdb.base/signals.exp: Update.
4299 * gdb.base/sizeof.exp: Update.
4300 * gdb.base/so-impl-ld.exp: Update.
4301 * gdb.base/so-indr-cl.exp: Update.
4302 * gdb.base/solib-disc.exp: Update.
4303 * gdb.base/solib-display.exp: Update.
4304 * gdb.base/solib-nodir.exp: Update.
4305 * gdb.base/solib-overlap.exp: Update.
4306 * gdb.base/solib-symbol.exp: Update.
4307 * gdb.base/solib-weak.exp: Update.
4308 * gdb.base/solib.exp: Update.
4309 * gdb.base/store.exp: Update.
4310 * gdb.base/structs.exp: Update.
4311 * gdb.base/structs2.exp: Update.
4312 * gdb.base/type-opaque.exp: Update.
4313 * gdb.base/unload.exp: Update.
4314 * gdb.base/varargs.exp: Update.
4315 * gdb.base/volatile.exp: Update.
4316 * gdb.base/watch_thread_num.exp: Update.
4317 * gdb.base/watchpoint-solib.exp: Update.
4318 * gdb.base/watchpoint.exp: Update.
4319 * gdb.base/watchpoints.exp: Update.
4320 * gdb.base/whatis.exp: Update.
4321 * gdb.cell/arch.exp: Update.
4322 * gdb.cell/break.exp: Update.
4323 * gdb.cell/bt.exp: Update.
4324 * gdb.cell/core.exp: Update.
4325 * gdb.cell/data.exp: Update.
4326 * gdb.cell/ea-cache.exp: Update.
4327 * gdb.cell/f-regs.exp: Update.
4328 * gdb.cell/fork.exp: Update.
4329 * gdb.cell/gcore.exp: Update.
4330 * gdb.cell/mem-access.exp: Update.
4331 * gdb.cell/ptype.exp: Update.
4332 * gdb.cell/registers.exp: Update.
4333 * gdb.cell/sizeof.exp: Update.
4334 * gdb.cell/solib-symbol.exp: Update.
4335 * gdb.cell/solib.exp: Update.
4336 * gdb.cp/ambiguous.exp: Update.
4337 * gdb.cp/breakpoint.exp: Update.
4338 * gdb.cp/bs15503.exp: Update.
4339 * gdb.cp/casts.exp: Update.
4340 * gdb.cp/class2.exp: Update.
4341 * gdb.cp/cpexprs.exp: Update.
4342 * gdb.cp/cplusfuncs.exp: Update.
4343 * gdb.cp/ctti.exp: Update.
4344 * gdb.cp/dispcxx.exp: Update.
4345 * gdb.cp/gdb1355.exp: Update.
4346 * gdb.cp/gdb2384.exp: Update.
4347 * gdb.cp/gdb2495.exp: Update.
4348 * gdb.cp/infcall-dlopen.exp: Update.
4349 * gdb.cp/local.exp: Update.
4350 * gdb.cp/m-data.exp: Update.
4351 * gdb.cp/m-static.exp: Update.
4352 * gdb.cp/mb-ctor.exp: Update.
4353 * gdb.cp/mb-inline.exp: Update.
4354 * gdb.cp/mb-templates.exp: Update.
4355 * gdb.cp/member-ptr.exp: Update.
4356 * gdb.cp/method.exp: Update.
4357 * gdb.cp/namespace.exp: Update.
4358 * gdb.cp/nextoverthrow.exp: Update.
4359 * gdb.cp/nsdecl.exp: Update.
4360 * gdb.cp/nsrecurs.exp: Update.
4361 * gdb.cp/nsstress.exp: Update.
4362 * gdb.cp/nsusing.exp: Update.
4363 * gdb.cp/pr-1023.exp: Update.
4364 * gdb.cp/pr-1210.exp: Update.
4365 * gdb.cp/pr-574.exp: Update.
4366 * gdb.cp/pr9631.exp: Update.
4367 * gdb.cp/printmethod.exp: Update.
4368 * gdb.cp/psmang.exp: Update.
4369 * gdb.cp/re-set-overloaded.exp: Update.
4370 * gdb.cp/rtti.exp: Update.
4371 * gdb.cp/shadow.exp: Update.
4372 * gdb.cp/templates.exp: Update.
4373 * gdb.cp/try_catch.exp: Update.
4374 * gdb.dwarf2/dw2-ranges.exp: Update.
4375 * gdb.dwarf2/pr10770.exp: Update.
4376 * gdb.fortran/library-module.exp: Update.
4377 * gdb.hp/gdb.aCC/optimize.exp: Update.
4378 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
4379 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
4380 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
4381 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
4382 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
4383 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
4384 * gdb.hp/gdb.compat/xdb1.exp: Update.
4385 * gdb.hp/gdb.compat/xdb2.exp: Update.
4386 * gdb.hp/gdb.compat/xdb3.exp: Update.
4387 * gdb.hp/gdb.defects/bs14602.exp: Update.
4388 * gdb.hp/gdb.defects/solib-d.exp: Update.
4389 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
4390 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
4391 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
4392 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
4393 * gdb.mi/gdb792.exp: Update.
4394 * gdb.mi/mi-pending.exp: Update.
4395 * gdb.mi/mi-solib.exp: Update.
4396 * gdb.mi/mi-var-cp.exp: Update.
4397 * gdb.opt/clobbered-registers-O2.exp: Update.
4398 * gdb.opt/inline-bt.exp: Update.
4399 * gdb.opt/inline-cmds.exp: Update.
4400 * gdb.opt/inline-locals.exp: Update.
4401 * gdb.python/py-events.exp: Update.
4402 * gdb.python/py-finish-breakpoint.exp: Update.
4403 * gdb.python/py-type.exp: Update.
4404 * gdb.reverse/solib-precsave.exp: Update.
4405 * gdb.reverse/solib-reverse.exp: Update.
4406 * gdb.server/solib-list.exp: Update.
4407 * gdb.stabs/weird.exp: Update.
4408 * gdb.threads/attach-into-signal.exp: Update.
4409 * gdb.threads/attach-stopped.exp: Update.
4410 * gdb.threads/tls-shared.exp: Update.
4411 * gdb.trace/change-loc.exp: Update.
4412 * gdb.trace/strace.exp: Update.
4413
95c391b6
TT
44142012-06-19 Tom Tromey <tromey@redhat.com>
4415
4416 * gdb.base/whatis.exp: Add tests.
4417
e910f0b6
TT
44182012-06-19 Tom Tromey <tromey@redhat.com>
4419
4420 * gdb.cp/m-static.cc (keepalive): New function.
4421 (gnu_obj_1::method): Use it.
4422
422d65e7
DE
44232012-06-18 Doug Evans <dje@google.com>
4424
4425 * gdb.base/info-fun.exp: New file.
4426 * gdb.base/info-fun.c: New file.
4427 * gdb.base/info-fun-solib.c: New file.
4428
e2e4d78b
JK
44292012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4430
4431 Remove stale dummy frames.
4432 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
4433 (maintenance info breakpoints): New tests.
4434 * gdb.base/stale-infcall.c: New file.
4435 * gdb.base/stale-infcall.exp: New file.
4436
1788b2d3
JK
44372012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4438
4439 * gdb.arch/amd64-entry-value-param.S: New file.
4440 * gdb.arch/amd64-entry-value-param.c: New file.
4441 * gdb.arch/amd64-entry-value-param.exp: New file.
4442
663b969e
TT
44432012-06-15 Tom Tromey <tromey@redhat.com>
4444
4445 * gdb.cp/namespace.exp: Add "show lang" test.
4446
8e09ad05
IS
44472012-06-15 Iain Sandoe <iain@codesourcery.com>
4448
4449 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
4450 case. (top level): Use gdb_file_cmd instead of gdb_load.
4451
f85e18ee
JK
44522012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4453
4454 PR tdep/14222
4455 * gdb.arch/i386-sse-stack-align.S: New file.
4456 * gdb.arch/i386-sse-stack-align.c: New file.
4457 * gdb.arch/i386-sse-stack-align.exp: New file.
4458
f3b5e280
KS
44592012-06-13 Keith Seitz <keiths@redhat.com>
4460
4461 PR breakpoints/13798 and mi/11541
4462 * gdb.linespec/ls-errs.exp: Add a few more tests for
4463 filenames with spaces and colons.
4464
50af5481
JK
44652012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4466
4467 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
4468 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
4469 (test_function): Call CV_f.
4470 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
4471 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
4472 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
4473 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
4474 (p CV_f(CV::i)): New tests.
4475
d55637df
TT
44762012-06-13 Tom Tromey <tromey@redhat.com>
4477
4478 * gdb.base/condbreak.exp: Add tests for "condition" completion.
4479
cc80f267
JK
44802012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4481
4482 Fix regression by the "ambiguous linespec" series.
4483 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
4484 tests.
4485
bb2af9cc
JK
44862012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4487
4488 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
4489 missing.
4490
e81a37f7
TT
44912012-06-11 Tom Tromey <tromey@redhat.com>
4492
4493 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
4494 location...
4495 (main): ...here.
4496
8efd7788
YQ
44972012-06-07 Yao Qi <yao@codesourcery.com>
4498
4499 * gdb.trace/strace.exp: Shorten some too-long lines.
4500
359f5fe6
PA
45012012-06-06 Pedro Alves <palves@redhat.com>
4502
4503 * gdb.threads/clone-new-thread-event.c: New file.
4504 * gdb.threads/clone-new-thread-event.exp: New file.
4505
7b2fe205
YQ
45062012-06-06 Yao Qi <yao@codesourcery.com>
4507
4508 * gdb.base/dprintf.c (main): Add extra parameter when calling
4509 printf and fprintf.
4510 (bar): New function. It is a dead function, but to ensure
4511 'malloc' is linked explicitly.
4512
3eca55e8
YQ
45132012-06-06 Yao Qi <yao@codesourcery.com>
4514
4515 * gdb.base/info-proc.exp: Return if target doesn't support
4516 'info proc'.
4517
91cc9324
JK
45182012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4519
4520 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
4521 (run program with breakpoint commands): XFAIl if it is not.
4522
c56e7c43
JB
45232012-06-05 Joel Brobecker <brobecker@adacore.com>
4524
4525 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
4526 and add comment.
4527 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
4528 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
4529 "STOP" marker. Adjust testing strategy to make it work on
4530 all targets.
4531
4532 * gdb.base/print-file-var-main.c (main): Rewrite using local
4533 variables and adjust get_version_2's return value check.
4534 Add small comment.
4535 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
4536 marker. Adjust testing strategy to make it work on all targets.
4537
ccab2054
JB
45382012-06-05 Joel Brobecker <brobecker@adacore.com>
4539
4540 * gdb.ada/bad-task-bp-keyword: New testcase.
4541
d0d86158
JK
45422012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4543
4544 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
4545 Simplify it to ...
4546 (symbol-file ${testfile1}): ... here.
4547 (test eliminated var my_global_symbol)
4548 (test eliminated var my_static_symbol)
4549 (test eliminated var my_global_func, get address of main): Wrap them to
4550 'single psymtabs' and 'single symtabs'
4551 (get address of my_global_symbol, get address of my_static_symbol)
4552 (get address of my_global_func, get address of main): Wrap them to
4553 'order1' and 'order2'.
4554
952cf74c
JK
4555 * gdb.base/code_elim.exp
4556 (add-symbol-file ${testfile1} 0x100000)
4557 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
4558 'order2'.
4559 (order1: add-symbol-file ${testfile1} 0x100000)
4560 (order1: add-symbol-file ${testfile2} 0x200000)
4561 (order2: add-symbol-file ${testfile2} 0x200000)
4562 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
4563 .bss as appropriate.
4564
0c5bf5a9
JK
45652012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4566
4567 * gdb.server/solib-list-lib.c: New file.
4568 * gdb.server/solib-list-main.c: New file.
4569 * gdb.server/solib-list.exp: New file.
4570
4196f325
MR
45712012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
4572
4573 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
4574 for 'set print symbol' change.
4575
bfb05775
JK
45762012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4577
4578 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
4579 .debug_abbrev_seg3.
4580
685b1105
JK
45812012-05-24 John Steele Scott <toojays@toojays.net>
4582
4583 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
4584 * gdb.dwarf2/dw2-icc-opaque.S: New file.
4585 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
4586
f3e0e960
SS
45872012-05-23 Stan Shebs <stan@codesourcery.com>
4588
4589 * gdb.mi/mi-info-os.exp: New file.
4590
11eb1b4d
KS
45912012-05-23 Keith Seitz <keiths@redhat.com>
4592
4593 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
4594 return -1 to suppress the rest of the tests.
4595 (compile_stap_bin): Return boolean success value.
4596
b1af9e97
TT
45972012-05-21 Tom Tromey <tromey@redhat.com>
4598
4599 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
4600 Remove kfails.
4601 (test_print_mi_member_types): Likewise.
4602
248537e3
TT
46032012-05-21 Tom Tromey <tromey@redhat.com>
4604
4605 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
4606 print symbol' change.
4607
d791e155
TJB
46082012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
4609
4610 * gdb.python/py-prompt.exp: Quit if the target is remote.
4611
e77afa2e
JK
46122012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4613
4614 Fix ERROR: internal buffer is full.
4615 * gdb.base/info-os.exp (expect_multiline): New function.
4616 (get process list, get process groups, get threads)
4617 (get file descriptors, get internet-domain sockets)
4618 (get shared-memory regions, get semaphores, get message queues): Use
4619 it for these tests.
4620
9cb709b6
TT
46212012-05-18 Tom Tromey <tromey@redhat.com>
4622
4623 * gdb.mi/mi-var-cmd.exp: Update.
4624 * gdb.objc/basicclass.exp (do_objc_tests): Update.
4625 * gdb.cp/virtbase.exp: Update.
4626 * gdb.cp/classes.exp (test_static_members): Update.
4627 * gdb.cp/casts.exp: Update.
4628 * gdb.base/pointers.exp: Update.
4629 * gdb.base/funcargs.exp (pointer_args): Update.
4630 (structs_by_reference): Update.
4631 * gdb.base/find.exp: Update.
4632 * gdb.base/call-strs.exp: Send "set print symbol off".
4633 * gdb.base/call-ar-st.exp: Update.
4634 * gdb.ada/fun_addr.exp: Update.
4635 * gdb.base/printcmds.exp (test_print_symbol): New proc.
4636 Call it.
4637 (test_print_repeats_10, test_print_strings)
4638 (test_print_char_arrays): Update.
4639
b012acdd
TT
46402012-05-18 Tom Tromey <tromey@redhat.com>
4641
4642 * gdb.base/charset.exp (string_display): Update.
4643
1d51a733
TT
46442012-05-18 Tom Tromey <tromey@redhat.com>
4645
4646 * gdb.mi/mi2-var-display.exp: Update.
4647 * gdb.mi/mi-var-display.exp: Update.
4648 * gdb.mi/mi-var-child.exp: Update.
4649 * gdb.cp/expand-psymtabs-cxx.exp: Update.
4650 * gdb.cp/cp-relocate.exp (get_func_address): Update.
4651
957df313
DE
46522012-05-17 Doug Evans <dje@google.com>
4653
682c7f7b
DE
4654 * info-macros.exp: Pass "debug" to prepare_for_testing.
4655
957df313
DE
4656 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
4657 * gdb.ada/Makefile.in (clean): Ditto.
4658 * gdb.arch/Makefile.in (clean): Ditto.
4659 * gdb.asm/Makefile.in (clean): Ditto.
4660 * gdb.base/Makefile.in (clean): Ditto.
4661 * gdb.cell/Makefile.in (clean): Ditto.
4662 * gdb.cp/Makefile.in (clean): Ditto.
4663 * gdb.disasm/Makefile.in (clean): Ditto.
4664 * gdb.dwarf2/Makefile.in (clean): Ditto.
4665 * gdb.fortran/Makefile.in (clean): Ditto.
4666 * gdb.go/Makefile.in (clean): Ditto.
4667 * gdb.hp/Makefile.in (clean): Ditto.
4668 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
4669 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
4670 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
4671 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
4672 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
4673 * gdb.java/Makefile.in (clean): Ditto.
4674 * gdb.linespec/Makefile.in (clean): Ditto.
4675 * gdb.mi/Makefile.in (clean): Ditto.
4676 * gdb.modula2/Makefile.in (clean): Ditto.
4677 * gdb.multi/Makefile.in (clean): Ditto.
4678 * gdb.objc/Makefile.in (clean): Ditto.
4679 * gdb.opencl/Makefile.in (clean): Ditto.
4680 * gdb.opt/Makefile.in (clean): Ditto.
4681 * gdb.pascal/Makefile.in (clean): Ditto.
4682 * gdb.python/Makefile.in (clean): Ditto.
4683 * gdb.reverse/Makefile.in (clean): Ditto.
4684 * gdb.server/Makefile.in (clean): Ditto.
4685 * gdb.stabs/Makefile.in (clean): Ditto.
4686 * gdb.threads/Makefile.in (clean): Ditto.
4687 * gdb.trace/Makefile.in (clean): Ditto.
4688 * gdb.xml/Makefile.in (clean): Ditto.
4689
abc9d0dc
TT
46902012-05-16 Tom Tromey <tromey@redhat.com>
4691
4692 * gdb.base/macscp1.c (macscp_expr): Add comment.
4693 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
4694
6a3a010b
MR
46952012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4696
4697 * gdb.base/return-nodebug.exp: Also test float and double types.
4698
01429c8e
JK
46992012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4700
4701 PR testsuite/12649
4702 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
4703
54115cd4
JK
4704 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
4705
0c5f383f
SDJ
47062012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
4707
4708 * gdb.base/stap-probe.exp (stap_test): Remove calls to
4709 `rerun_to_main'.
4710 (stap_test_no_debuginfo): Likewise.
4711
e7e0cddf
SS
47122012-05-14 Stan Shebs <stan@codesourcery.com>
4713
4714 * gdb.base/dprintf.c: New file.
4715 * gdb.base/dprintf.exp: New file.
4716
c772f8e7
HZ
47172012-05-14 Hui Zhu <hui_zhu@mentor.com>
4718
4719 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
4720 * gdb.trace/disconnected-tracing.c: New file.
4721 * gdb.trace/disconnected-tracing.exp: New file.
4722
7efc75aa
SCR
47232012-05-13 Siva Chandra Reddy <sivachandra@google.com>
4724
4725 * gdb.python/python.c: Add a new breakpoint comment.
4726 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
4727
85d4a676
SS
47282011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
4729
4730 * gdb.base/info-os.exp: New file.
4731 * gdb.base/info-os.c: New file.
4732
64ea88dc
JB
47332012-05-10 Joel Brobecker <brobecker@adacore.com>
4734
4647ab1b
JB
4735 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
4736 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
4737 New files.
64ea88dc 4738
afba63f1
JB
47392012-05-10 Joel Brobecker <brobecker@adacore.com>
4740
4741 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
4742 gdb.base/ctxobj.exp: New files.
4743
9d198b1e
TT
47442012-05-09 Tom Tromey <tromey@redhat.com>
4745
4746 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
4747
9bfee719
MR
47482012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
4749
4750 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
4751
3a7341d8
MR
47522012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
4753
4754 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
4755 before using it.
4756
52b3699b
TG
47572012-05-04 Tristan Gingold <gingold@adacore.com>
4758
4759 * gdb.base/set-noassign.exp: New test.
4760
a20ee7a4
SCR
47612012-05-03 Siva Chandra Reddy <sivachandra@google.com>
4762
4763 * gdb.python/py-symbol.exp: Add tests to test the new methods
4764 gdb.Symtab.global_block() and gdb.Symtab.static_block().
4765 * gdb.python/py-symbol.c: Add new struct to help test
4766 gdb.Symtab.static_block().
4767
bf2f0858
DE
47682012-05-03 Doug Evans <dje@google.com>
4769
4770 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
4771 commented out.
4772
2d4e0376
YQ
47732012-05-03 Yao Qi <yao@codesourcery.com>
4774
4775 * gdb.base/catch-syscall.exp: Skip it before compilation if target
4776 doesn't support.
4777 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
4778 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
4779
6d0bb9f3
YQ
47802012-05-03 Yao Qi <yao@codesourcery.com>
4781
4782 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
4783
fd820528
DE
47842012-04-30 Doug Evans <dje@google.com>
4785
4786 PR testsuite/13961
4787 * gdb.dwarf2/pr13961.S: New file.
4788 * gdb.dwarf2/pr13961.exp: New file.
4789
b9e219b9
YQ
47902012-04-29 Yao Qi <yao@codesourcery.com>
4791
4792 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
4793
3019eac3
DE
47942012-04-28 Doug Evans <dje@google.com>
4795
4796 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
4797 .Ltype_int_in_cu2. Use name "int2" instead of "int".
4798 All uses updated.
4799 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
4800 "ptype func_cu1" to expand cu2 before cu1.
4801
62e5f89c
SDJ
48022012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
4803 Tom Tromey <tromey@redhat.com>
4804
4805 * gdb.base/default.exp: Add `$_probe_arg*' convenience
4806 variables.
4807 * gdb.base/stap-probe.c: New file.
4808 * gdb.base/stap-probe.exp: New file.
4809 * gdb.trace/stap-trace.c: New file.
4810 * gdb.trace/stap-trace.exp: New file.
4811 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
4812 libgcc's unwinder.
4813
14132e89
MR
48142012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
4815
4816 * gdb.arch/mips16-thunks-inmain.c: New file.
4817 * gdb.arch/mips16-thunks-main.c: New file.
4818 * gdb.arch/mips16-thunks-sin.c: New file.
4819 * gdb.arch/mips16-thunks-sinfrob.c: New file.
4820 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
4821 * gdb.arch/mips16-thunks-sinmain.c: New file.
4822 * gdb.arch/mips16-thunks-sinmips16.c: New file.
4823 * gdb.arch/mips16-thunks.exp: New file.
4824
a766d390
DE
48252012-04-25 Doug Evans <dje@google.com>
4826
4827 * configure.ac: Create gdb.go/Makefile.
4828 * configure: Regenerate.
4829 * gdb.base/default.exp: Add "go" to "set language" testing.
4830 * gdb.go/Makefile.in: New file.
4831 * gdb.go/basic-types.exp: New file.
4832 * gdb.go/chan.exp: New file.
4833 * gdb.go/chan.go: New file.
4834 * gdb.go/handcall.exp: New file.
4835 * gdb.go/handcall.go: New file.
4836 * gdb.go/hello.exp: New file.
4837 * gdb.go/hello.go: New file.
4838 * gdb.go/integers.exp: New file.
4839 * gdb.go/integers.go: New file.
4840 * gdb.go/methods.exp: New file.
4841 * gdb.go/methods.go: New file.
4842 * gdb.go/package.exp: New file.
4843 * gdb.go/package1.go: New file.
4844 * gdb.go/package2.go: New file.
4845 * gdb.go/print.exp: New file.
4846 * gdb.go/strings.exp: New file.
4847 * gdb.go/strings.go: New file.
4848 * gdb.go/types.exp: New file.
4849 * gdb.go/types.go: New file.
4850 * gdb.go/unsafe.exp: New file.
4851 * gdb.go/unsafe.go: New file.
4852 * lib/future.exp: Add Go support.
4853 (gdb_find_go, gdb_find_go_linker): New procs.
4854 (gdb_default_target_compile): Add Go support.
4855 * lib/gdb.exp (skip_go_tests): New proc.
4856 * lib/go.exp: New file.
4857
e65f9ffb
TT
48582012-04-25 Tom Tromey <tromey@redhat.com>
4859
4860 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
4861
14e75d8e
JK
48622012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4863 Jan Kratochvil <jan.kratochvil@redhat.com>
4864
4865 PR symtab/7259:
4866 * gdb.base/enumval.c: New test case.
4867 * gdb.base/enumval.exp: New test case.
4868 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
4869 field.bitpos.
4870
f3525b70
PA
48712012-04-17 Pedro Alves <palves@redhat.com>
4872
4873 * Makefile.in (site.exp): Make site.exp source
4874 $srcdir/lib/append_gdb_boards_dir.exp.
4875 * lib/append_gdb_boards_dir.exp: New file.
4876
bccbefd2
JK
48772012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4878
4879 New option "set auto-load safe-path".
4880 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
4881 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
4882
bf88dd68
JK
48832012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4884
4885 auto-load: Implementation.
4886 * gdb.base/help.exp (test set height): Increase the height.
4887 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
4888 to ...
4889 (info auto-load python-scripts): ... here.
4890 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
4891 to ...
4892 (info auto-load python-scripts *): ... here.
4893
c0d4d1c0
YQ
48942012-04-16 Yao Qi <yao@codesourcery.com>
4895
4896 * lib/trace-support.exp (get_in_proc_agent): New.
4897 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
4898 of in process trace agent.
4899 * gdb.trace/ftrace.exp: Likewise.
4900 * gdb.trace/pending.exp: Likewise.
4901 * gdb.trace/trace-break.exp: Likewise.
4902 * gdb.trace/trace-mt.exp
4903 * gdb.trace/tspeed.exp: Likewise.
4904 * gdb.trace/tstatus.exp
4905 * gdb.trace/strace.exp: Likewise.
4906
cbf68a60
TS
49072012-04-16 Thomas Schwinge <thomas@codesourcery.com>
4908
dd6d3b70
TS
4909 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
4910 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
4911
cbf68a60
TS
4912 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
4913
8264ba82
AG
49142012-04-14 Anton Gorenkov <xgsa@yandex.ru>
4915
4916 PR mi/13393
4917 * gdb.mi/mi-var-rtti.cc: New file.
4918 * gdb.mi/mi-var-rtti.exp: New file.
4919 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
4920 function.
4921 (mi_varobj_update_with_type_change): updated to avoid code duplication.
4922
de0919f8 49232012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
4924
4925 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
4926 EXECUTABLES.
4927 * gdb.python/py-explore.c: C program used for testing the new
4928 'explore' command on C constructs.
4929 * gdb.python/py-explore.cc: C++ program used for testing the new
4930 'explore' command on C++ constructs.
4931 * gdb-python/py-explore.exp: Tests for the new 'explore'
4932 command on C constructs.
4933 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
4934 command on C++ constructs.
4935
a82da7dd
MK
49362012-04-07 Mark Kettenis <kettenis@gnu.org>
4937
4938 * gdb.base/funcargs.exp (complex_args): Fix typo.
4939
e127cba8
JK
49402012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4941
4942 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
4943 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
4944
40e084e1
KS
49452012-04-05 Keith Seitz <keiths@redhat.com>
4946
4947 * gdb.base/advance.exp: Update error message for
4948 "advance malformed" test.
4949 * gdb.base/break.exp: Likewise for "breakpoint with
4950 trailing garbage" test.
4951 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
4952 with trailing garbage" test.
4953 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
4954 trailng garbage" test.
4955 * gdb.base/until.exp: Likewise for "malformed until" test.
4956 * gdb.cp/ovldbreak.exp: Create the breakpoint table
4957 for "breakpoint info (after setting on all)".
4958 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
4959 tests.
4960 * gdb.cp/cplabel.cc: New file.
4961 * gdb.cp/cplabel.exp: New test.
4962 * gdb.linespec/ls-errs.c: New file.
4963 * gdb.linespec/ls-errs.exp: New test.
4964
a72c8f6a
JK
49652012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4966
4967 * gdb.trace/unavailable.exp
4968 (collect globals: print object on: print derived_partial)
4969 (collect globals: print object on: print derived_whole)
4970 (collect globals: print object off: print derived_partial)
4971 (collect globals: print object off: print derived_whole): Update
4972 expected output.
4973
f87a3023
KS
49742012-03-30 Keith Seitz <keiths@redhat.com>
4975
4976 * gdb.python: Add test for linespecs with commas.
4977
e2171b3c
KS
49782012-03-28 Keith Seitz <keiths@redhat.com>
4979
4980 * gdb.linespec/ls-dollar.cc: New file.
4981 * gdb.linespec/ls-dollar.exp: New test.
4982
49832012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
4984
4985 * gdb.cp/namespace.exp: Add breakpoint tests for functions
4986 starting with the global namespace.
4987
2f4e0a80
DE
49882012-03-23 Doug Evans <dje@google.com>
4989
4990 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
4991
7b282c5a
SCR
49922012-03-22 Siva Chandra Reddy <sivachandra@google.com>
4993
4994 * gdb.python/py-value.cc: Add test case for testing the
4995 methodology exposing C++ values to Python.
4996 * gdb.python/py-value-cc.exp: Add tests testing the methodology
4997 exposing C++ values to Python.
4998 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
4999
2e98ca53
JK
50002012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5001 Siddhesh Poyarekar <siddhesh@redhat.com>
5002
5003 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
5004 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
5005 (generate native core dump): Make the test unsupported if core cannot
5006 be generated.
5007
8320cc4f
JK
50082012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5009
5010 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
5011 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
5012 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
5013
3a69ffb2
JK
50142012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5015
5016 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
5017
8fabffee
DE
50182012-03-17 Doug Evans <dje@google.com>
5019
5020 * dg-extract-results.sh: Handle KFAILs.
5021
ab260dad
JK
50222012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5023
5024 PR symtab/13777
5025 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
5026
53ba8333
JB
50272012-03-16 Joel Brobecker <brobecker@adacore.com>
5028
5029 * gdb.ada/set_pckd_arr_elt: New testcase.
5030
481860b3
GB
50312012-03-16 Gary Benson <gbenson@redhat.com>
5032
5033 PR breakpoints/10738
5034 * gdb.opt/inline-break.exp: New file.
5035 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
5036 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
5037 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
5038 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
5039 * gdb.base/async-shell.exp: Likewise.
5040 * lib/mi-support.exp (library_loaded_re): Likewise.
5041
410528f0
TT
50422012-03-15 Tom Tromey <tromey@redhat.com>
5043
5044 * gdb.cp/virtfunc2.exp: Update expected output.
5045 * gdb.cp/pr9631.exp: Update expected output.
5046 * gdb.cp/member-ptr.exp: Update expected output.
5047 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
5048 output.
5049 * gdb.cp/casts.exp: Update expected output.
5050
c4aeac85
TT
50512012-03-15 Tom Tromey <tromey@redhat.com>
5052
5053 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
5054 (test_info_vtbl): Likewise.
5055 (do_tests): Call test_info_vtbl.
5056 * gdb.cp/virtfunc.cc (va): New global.
5057
856d06f9
TS
50582012-03-15 Thomas Schwinge <thomas@codesourcery.com>
5059
5060 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
5061 describing DWARF data structures.
5062 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
5063 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
5064 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
5065 * gdb.dwarf2/dw2-entry-value.S: Likewise.
5066 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
5067 * gdb.dwarf2/dw2-param-error.S: Likewise.
5068 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
5069 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
5070 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
5071 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
5072 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
5073 * gdb.dwarf2/pr11465.S: Likewise.
5074
e837f12a
JK
50752012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5076
5077 * gdb.mi/mi2-prompt.exp: New file.
5078
ccbb4f28
JB
50792012-03-13 Joel Brobecker <brobecker@adacore.com>
5080
5081 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
5082
32039130
JB
50832012-03-13 Joel Brobecker <brobecker@adacore.com>
5084
5085 * gdb.ada/bp_range_type: New testcase.
5086
16899756
DE
50872012-03-13 Doug Evans <dje@google.com>
5088
5089 * gdb.base/default.exp: Delete tests for symbol-reloading.
5090 * gdb.base/help.exp: Ditto.
5091 * gdb.base/setshow.exp: Ditto.
5092 * gdb.base/gdb_history: Delete references to symbol-reloading.
5093
87b0bb13
JK
50942012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5095
5096 * gdb.base/attach-twice.c: New files.
5097 * gdb.base/attach-twice.exp: New files.
5098
0d7941a9
KS
50992012-03-08 Keith Seitz <keiths@redhat.com>
5100
5101 * lib/gdb.exp (gdb_get_line_number): Throw an
5102 error instead of returning -1.
5103 * gdb.base/break.exp: Remove unused variable
5104 bp_location5.
5105 * gdb.base/hbreak2.exp: Likewise.
5106 * gdb.base/sepdebug.exp: Likewise.
5107
f4647387
YQ
51082012-03-08 Yao Qi <yao@codesourcery.com>
5109 Pedro Alves <palves@redhat.com>
5110
5111 Fix PR server/13392.
5112 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
5113 (tracepoint_change_loc_2): Remove kfail. Return if failed to
5114 download tracepoints.
5115 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
5116 (pending_tracepoint_resolved_during_trace): Likewise.
5117 (pending_tracepoint_installed_during_trace): Likewise.
5118 (pending_tracepoint_with_action_resolved): Likewise.
5119
83c532cb
KS
51202012-03-08 Keith Seitz <keiths@redhat.com>
5121
5122 * gdb.ada/array_bounds.exp: Get breakpoint for line
5123 with "START", not "STOP".
5124 * gdb.python/py-infthread.exp: Do not continue to
5125 line marked "Break here.", which is undefined.
5126
d6b6bbb7
LM
51272012-03-08 Luis Machado <lgustavo@codesourcery.com>
5128
5129 Revert:
5130
5131 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5132
5133 Implement testsuite workaround for PR breakpoints/13781.
5134 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5135 (set breakpoint condition-evaluation host): New conditional command.
5136
7fe25d9b
JK
51372012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5138
5139 Fix CU relative vs. absolute DIE offsets.
5140 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
5141 one.
5142
51898c15
JK
51432012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5144
5145 Fix false FAIL on distros with relro linkage as default.
5146 * gdb.reverse/solib-precsave.exp: Try to compile the test using
5147 -Wl,-z,norelro first.
5148
8131799e
JB
51492012-03-06 Joel Brobecker <brobecker@adacore.com>
5150
5151 * gdb.ada/bp_on_var: New testcase.
5152
ba241969
JB
51532012-03-06 Joel Brobecker <brobecker@adacore.com>
5154
5155 * gdb.ada/bp_enum_homonym: New testcase.
5156
abe49676
YQ
51572012-03-06 Yao Qi <yao@codesourcery.com>
5158
5159 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
5160 x86_64-*-* and i?86-*-*.
5161 Set up KFAIL for gdb/13808.
5162
d8df103b
TT
51632012-03-05 Tom Tromey <tromey@redhat.com>
5164
5165 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
5166 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
5167
b7b189f3
TT
51682012-03-05 Tom Tromey <tromey@redhat.com>
5169
5170 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
5171
69dc1c4d
YQ
51722012-03-04 Yao Qi <yao@codesourcery.com>
5173
5174 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
5175 messages for KFAIL.
5176
3f20c47f
JK
51772012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5178
5179 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
5180 (print one_two_three, indexes off, print few_reps, indexes off)
5181 (print many_reps, indexes off, print empty, indexes off)
5182 (print one_two_three, print few_reps, print many_reps, print empty):
5183 Call setup_xfail if $gcc_old.
5184
abf1152a
JK
51852012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5186
5187 Implement testsuite workaround for PR breakpoints/13781.
5188 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5189 (set breakpoint condition-evaluation host): New conditional command.
5190
a06715f8
JK
51912012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5192
5193 Code cleanup.
5194 * gdb.cp/mb-templates.exp: New variables executable. Use it for
5195 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
5196 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
5197 number 1 by $bpnum. Four times.
5198
5808517f
YQ
51992012-03-03 Yao Qi <yao@codesourcery.com>
5200
5201 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
5202
dfe2ac14
JK
52032012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5204
5205 Setup KFAIL for PR server/13796.
5206 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
5207
8bbc467a
JB
52082012-03-02 Joel Brobecker <brobecker@adacore.com>
5209
5210 * gdb.ada/operator_bp: New testcase.
5211
c0eac87f
JB
52122012-03-02 Joel Brobecker <brobecker@adacore.com>
5213
5214 * gdb.ada/info_locals_renaming: New testcase.
5215
4f42c881
TT
52162012-03-02 Tom Tromey <tromey@redhat.com>
5217
5218 * gdb.base/nextoverexit.c: New file.
5219 * gdb.base/nextoverexit.exp: New file.
5220
7380c0c9
EBM
52212012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
5222
5223 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
5224 parameter.
5225
1faeff08
MR
52262012-03-01 Maciej W. Rozycki <macro@mips.com>
5227
5228 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
5229 core registers.
5230
320b6f49 52312012-03-01 Maciej W. Rozycki <macro@mips.com>
6fdff2c5
PA
5232 Maciej W. Rozycki <macro@codesourcery.com>
5233 Daniel Jacobowitz <dan@codesourcery.com>
320b6f49
MR
5234
5235 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
5236
ad5f7d6e
PA
52372012-03-01 Pedro Alves <palves@redhat.com>
5238
5239 PR gdb/13767
5240
5241 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
5242 (gdb_collect_globals_test): Call it.
5243
d3dc44a6
KS
52442012-03-01 Keith Seitz <keiths@redhat.com>
5245
5246 * gdb.cp/method2.exp: Output of overload menu is now
5247 alphabetized. Update tests for "break A::method".
5248 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
5249 of hard-coding them.
5250 Overload menu is alphabetized: rewrite to accommodate.
5251 Unset variables LINE and TYPES which are used in other tests.
5252 Compute the output of "info break".
5253 Update the breakpoint table after all breakpoints are deleted.
5254 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
5255 compute ACTUALS and the method body based on parameters.
5256 Update expected output accordingly.
5257 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
5258 unique comments to allow the use of gdb_get_line_number.
5259
52602012-03-01 Keith Seitz <keiths@redhat.com>
5261
5262 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
5263 some Tcl syntax.
5264 * gdb.cp/ovldbreak.exp: Likewise.
5265
7949c2a0
KS
52662012-03-01 Keith Seitz <keiths@redhat.com>
5267
5268 * gdb.base/help.exp (help show user): Update expected result
5269 for new doc string changes (add "non-python").
5270
7d74f244
DE
52712012-03-01 Scott J. Goldman <scottjg@vmware.com>
5272
5273 * gdb.python/py-cmd.exp: Add test to verify that python commands can
5274 be put in the user-defined category and that the commands appear in
5275 "help user-defined".
5276
1b611343
JB
52772012-02-29 Joel Brobecker <brobecker@adacore.com>
5278
5279 * gdb.ada/tagged_not_init: New testcase.
5280
99b1c762
JB
52812012-02-29 Joel Brobecker <brobecker@adacore.com>
5282
5283 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
5284 * gdb.ada/enum_idx_packed: New testcase.
5285
2d4a02ee
JB
52862012-02-29 Joel Brobecker <brobecker@adacore.com>
5287
5288 * gdb.ada/aliased_array: New testcase.
5289
2e6fda7d
JB
52902012-02-29 Joel Brobecker <brobecker@adacore.com>
5291
5292 * gdb.ada/whatis_array_val: New testcase.
5293
9a7f938f
JK
52942012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5295
5296 Fix disp-step-syscall.exp: fork: single step over fork.
5297 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
5298 whitespaces.
5299 (single step over $syscall): Remove its check.
5300 (single step over $syscall final pc): New check.
5301
8703a944
JK
53022012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5303
5304 Support processors without SSSE3.
5305 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
5306 pabsd into ...
5307 (ssse3_test): ... a new function.
5308 (main): Call ssse3_test.
5309 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
5310 Update expected values everywhere.
5311 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
5312 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
5313 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
5314 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
5315 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
5316 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
5317 Move these tests lower.
5318 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
5319 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
5320 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
5321 New tests.
5322
c03e6ccc
YQ
53232012-02-29 Yao Qi <yao@codesourcery.com>
5324 Pedro Alves <palves@redhat.com>
5325
5326 * gdb.trace/trace-mt.c: New.
5327 * gdb.trace/trace-mt.exp: New.
5328
7964b62a
TS
53292012-02-28 Thomas Schwinge <thomas@codesourcery.com>
5330
2c8910ba
TS
5331 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
5332 numbers instead of hardcoding them.
5333 * gdb.base/annota1.c: Provide suitable markers.
5334 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
5335 numbers instead of hardcoding them.
5336 * gdb.base/annota3.c: Provide suitable markers.
5337
5338 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
5339 * gdb.base/annota3.c: Likewise.
5340 * gdb.base/sigall.c: Likewise.
5341 * gdb.base/signals.c: Likewise.
5342 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 5343
5a41c0b7
MR
53442012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
5345
5346 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
5347 failure return path.
5348
ebbbe5c5
LM
53492012-02-27 Luis Machado <lgustavo@codesourcery.com>
5350
5351 * gdb.base/save-bp.exp: Account for new condition evaluator output.
5352
8d126d8a
LM
53532012-02-24 Luis Machado <lgustavo@codesourcery.com>
5354
5355 * gdb.base/cond-eval-mode.exp: New file.
5356
11337c2f
PA
53572012-02-24 Pedro Alves <palves@redhat.com>
5358
5359 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
5360 (top level): Use with_test_prefix.
5361
13fc3e3c
PA
53622012-02-24 Pedro Alves <palves@redhat.com>
5363
5364 * gdb.threads/attach-into-signal.exp (corefunc): Use
5365 with_test_prefix.
5366
07c1b626
JK
53672012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5368
5369 Fix false FAILs on old CPUs without SSE.
5370 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
5371 Return untested for Illegal instruction.
5372
596ba138
JK
53732012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5374
5375 Fix false FAILs with glibc debug infos installed.
5376 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
5377 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
5378
aeaa2474
SA
53792012-02-22 Sterling Augustine <saugustine@google.com>
5380
5381 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
5382 constant with cast.
5383
aed555c9
PA
53842012-02-21 Pedro Alves <palves@redhat.com>
5385
5386 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
5387
78afebb4
PA
53882012-02-21 Pedro Alves <palves@redhat.com>
5389
5390 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
5391
fdcfef12
PA
53922012-02-21 Pedro Alves <palves@redhat.com>
5393
5394 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
5395 with_test_prefix.
5396
0f4d39d5
PA
53972012-02-21 Pedro Alves <palves@redhat.com>
5398
5399 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
5400 with_test_prefix here.
5401 (top level): Do it here instead. Remove `:' from the
5402 with_test_prefix string.
5403 * gdb.base/attach-pie-misread.exp: Remove the leading space the
5404 the suffix `:' from the with_test_prefix prefix string.
5405 * gdb.base/break-interp.exp: Ditto.
5406 * gdb.base/catch-load.exp: Ditto.
5407 * gdb.base/disp-step-syscall.exp: Ditto.
5408 * gdb.base/jit-so.exp: Ditto.
5409 * gdb.base/jit.exp: Ditto.
5410 * gdb.base/sepdebug.exp: Ditto.
5411 * gdb.base/solib-display.exp: Ditto.
5412 * gdb.base/solib-overlap.exp: Ditto.
5413 * gdb.base/watch-cond-infcall.exp: Ditto.
5414 * gdb.base/watchpoint.exp: Ditto.
5415 * gdb.dwarf2/dw2-noloc.exp: Ditto.
5416 * gdb.mi/mi-watch.exp: Ditto.
5417 * gdb.mi/mi2-watch.exp: Ditto.
5418 * gdb.threads/non-ldr-exc-1.exp: Ditto.
5419 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5420 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5421 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5422 * gdb.threads/watchpoint-fork.exp: Ditto.
5423 * gdb.threads/watchthreads-reorder.exp: Ditto.
5424 * gdb.trace/change-loc.exp: Ditto.
5425 * gdb.trace/pending.exp: Ditto.
5426 * gdb.trace/status-stop.exp: Ditto.
5427 * gdb.trace/strace.exp: Ditto.
5428 * gdb.trace/trace-break.exp: Ditto.
5429 * gdb.trace/unavailable.exp: Ditto.
5430 * lib/gdb.exp (with_test_prefix): Always prefix with space and
5431 suffix with colon. Adjust leading comments.
5432
6a5870ce
PA
54332012-02-21 Pedro Alves <palves@redhat.com>
5434 Tom Tromey <tromey@redhat.com>
5435
5436 * lib/gdb.exp: Add description of test prefixes.
5437 (with_test_prefix): New procedure.
5438 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
5439 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
5440 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
5441 instead of lappend to append to pf_prefix.
5442 * gdb.base/catch-load.exp: Use with_test_prefix.
5443 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
5444 * gdb.base/jit-so.exp: Use with_test_prefix.
5445 * gdb.base/jit.exp: Use with_test_prefix.
5446 * gdb.base/return-nodebug.exp (do_test): Use append instead of
5447 lappend to append to pf_prefix.
5448 * gdb.base/sepdebug.exp: Use with_test_prefix.
5449 * gdb.base/solib-display.exp: Use with_test_prefix.
5450 * gdb.base/solib-overlap.exp: Use with_test_prefix.
5451 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
5452 * gdb.base/watchpoint.exp: Use with_test_prefix.
5453 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
5454 * gdb.mi/mi-watch.exp: Use with_test_prefix.
5455 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
5456 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
5457 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
5458 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
5459 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
5460 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
5461 append instead of lappend to append to pf_prefix.
5462 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
5463 * gdb.trace/change-loc.exp: Use with_test_prefix.
5464 * gdb.trace/pending.exp: Use with_test_prefix.
5465 * gdb.trace/status-stop.exp: Use with_test_prefix.
5466 * gdb.trace/strace.exp: Use with_test_prefix.
5467 * gdb.trace/trace-break.exp: Use with_test_prefix.
5468 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
5469 instead of lappend to append to pf_prefix.
5470
35dc4a6b
JK
54712012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5472
5473 Fix racy FAILs.
5474 * gdb.base/inferior-died.c (main): Add return of 0.
5475 * gdb.base/inferior-died.exp (continue): Fix expectation of
5476 asynchronous events.
5477 (p 1): New test.
5478
c5a006e6
PA
54792012-02-20 Pedro Alves <palves@redhat.com>
5480
5481 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
5482 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
5483 gdb's internal debug output. For the non-threaded case, look for
5484 "Program received signal SIGLARM", for the threaded case, peek at
5485 the thread's siginfo.
5486
cc51a170
PA
54872012-02-20 Pedro Alves <palves@redhat.com>
5488
5489 General cleanup, make output test messages unique, and build
5490 different executable files for the non-threaded and threaded
5491 cases.
5492
5493 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
5494 Delete.
5495 (executable_nothr, executable_thr): New globals.
5496 (top level): Adjust to delete both executables.
5497 (corefunc): New parameter $executable. Set $pf_prefix instead of
5498 hand writing a prefix in tests. Issue a clean_restart and enable
5499 lin-lwp debug output here.
5500 (top level): Adjust. Use build_executable. Don't start gdb here,
5501 and don't enable lin-lwp debug output here.
5502 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
5503
c755f03d
JK
55042012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5505
5506 Fix racy FAILs.
5507 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
5508 "continue" command.
5509
6bec5e0a
JK
55102012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5511
5512 Fix for gdbserver non-extended mode.
5513 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
5514 and gdb_run_cmd.
5515
2e8265fd
TT
55162012-02-17 Tom Tromey <tromey@redhat.com>
5517
5518 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
5519 * gdb.python/py-events.exp: Check 'dir' output.
5520 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
5521
9e507076
YQ
55222012-02-17 Yao Qi <yao@codesourcery.com>
5523
5524 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
5525
32d22ab1
TT
55262012-02-16 Tom Tromey <tromey@redhat.com>
5527
5528 * gdb.base/inferior-died.c: Don't include stdio.h.
5529
9addecb9
TT
55302012-02-16 Tom Tromey <tromey@redhat.com>
5531
5532 * gdb.base/inferior-died.c: New file.
5533 * gdb.base/inferior-died.exp: New file.
5534
4cb6da1c
AR
55352012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
5536
5537 * gdb.base/break-inline.exp: New file.
5538 * gdb.base/break-inline.c: New file.
5539
3af2590d
TT
55402012-02-15 Tom Tromey <tromey@redhat.com>
5541
5542 * gdb.base/pc-fp.exp: Add "info register" tests.
5543
29988831
TT
55442012-02-15 Tom Tromey <tromey@redhat.com>
5545
5546 * gdb.base/regs.exp: Remove.
5547
10010058
PA
55482012-02-15 Pedro Alves <palves@redhat.com>
5549
5550 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
5551 the target doesn't support tracepoints.
5552 * gdb.trace/circ.exp: Ditto.
5553 * gdb.trace/collection.exp: Ditto.
5554 * gdb.trace/packetlen.exp: Ditto.
5555 * gdb.trace/passc-dyn.exp: Ditto.
5556 * gdb.trace/report.exp: Ditto.
5557 * gdb.trace/tfind.exp: Ditto.
5558 * gdb.trace/tspeed.exp: Ditto.
5559 * gdb.trace/tsv.exp: Ditto.
5560 * gdb.trace/unavailable.exp: Ditto.
5561 * gdb.trace/while-dyn.exp: Ditto.
5562
a2e0062d
PA
55632012-02-15 Pedro Alves <palves@redhat.com>
5564
5565 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
5566 gdb_test_multiple, and call unsupported instead of fail, if the
5567 remote side does not support the request.
5568
a1999d40
PA
55692012-02-15 Pedro Alves <palves@redhat.com>
5570
5571 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
5572 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
5573 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
5574 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
5575 * gdb.server/server-run.exp: Make sure gdb is disconnected.
5576 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
5577 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
5578 doesn't start with "extended-" already.
5579
7cee1e54
PA
55802012-02-15 Pedro Alves <palves@redhat.com>
5581
5582 Support extended-remote. Avoid cascading timeouts.
5583
5584 * gdb.base/attach.exp (do_attach_tests): Add expected output for
5585 the extended-remote target. If attaching with no file fails, load
5586 the file manually.
5587 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
5588
816338b5
SS
55892012-02-14 Stan Shebs <stan@codesourcery.com>
5590
5591 * gdb.base/ena-dis-br.exp: Add enable count test.
5592
cc30c4bd
PA
55932012-02-13 Pedro Alves <palves@redhat.com>
5594
5595 * config/mips-idt.exp: Delete.
5596 * gdb.base/a2-run.exp: Remove mips-idt xfails.
5597 * gdb.base/bitfields.exp: Remove mips-idt restarts.
5598 * gdb.base/break.exp: Remove mips-idt references.
5599 * gdb.base/chng-syms.exp: Ditto.
5600 * gdb.base/default.exp: Ditto.
5601 * gdb.base/funcargs.exp (funcargs_reload): Delete.
5602 (top level): Don't call it.
5603 * gdb.base/opaque.exp: Remove mips-idt restarts.
5604 * gdb.base/ptype.exp: Remove mips-idt xfails.
5605 * gdb.base/scope.exp: Remove mips-idt restarts.
5606 * gdb.base/sepdebug.exp: Remove mips-idt references.
5607 * gdb.base/watchpoint.exp (maybe_clean_restart)
5608 (maybe_reinitialize): Delete.
5609 (test_disabling_watchpoints, test_disabling_watchpoints)
5610 (test_watchpoint_triggered_in_syscall)
5611 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5612 Don't call them.
5613
57008375
JK
56142012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5615
5616 * gdb.server/server-exec-info.exp: New file.
5617
4a2d9c08
PA
56182012-02-10 Pedro Alves <palves@redhat.com>
5619
5620 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
5621 always non-empty.
5622 (test_attach): Always pass $exec to test_attach_gdb.
5623
09fa21bd
TT
56242012-02-08 Tom Tromey <tromey@redhat.com>
5625
5626 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
5627 before inferior is started.
5628
f0823d2c
TT
56292012-02-07 Tom Tromey <tromey@redhat.com>
5630
5631 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
5632 Symbol.value.
5633 * gdb.python/py-symbol.c (qq): Set default value.
5634
56352012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
5636
5637 * gdb.python/py-symbol.c (qq): New global.
5638 * gdb.python/py-symbol.exp: Add test for frame-less
5639 lookup_symbol.
5640 * gdb.python/py-symtab.exp: Fix line number.
5641
f7e44f65
JB
56422012-02-03 Joel Brobecker <brobecker@adacore.com>
5643
5644 * gdb.ada/mi_task_arg: New testcase.
5645
4c9ed63c
PA
56462012-02-02 Pedro Alves <palves@redhat.com>
5647
5648 * gdb.reverse/until-precsave.exp: Also put "record save" under the
5649 extended timeout.
5650
c0b9f2c6
PA
56512012-02-02 Pedro Alves <palves@redhat.com>
5652
5653 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
5654 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
5655
5f8cefd7
PA
56562012-02-02 Pedro Alves <palves@redhat.com>
5657
5658 * gdb.base/term.exp: Rewrite.
5659 * gdb.base/term.c: New.
5660
2f3a2569
PA
56612012-02-02 Pedro Alves <palves@redhat.com>
5662
5663 * gdb.base/default.exp (run "r" abbreviation, run): Add
5664 extended-remote expected output.
5665
f149aabd
TT
56662012-02-02 Tom Tromey <tromey@redhat.com>
5667
5668 * gdb.cp/dispcxx.exp: New file.
5669 * gdb.cp/dispcxx.cc: New file.
5670
03bef283
TT
56712012-02-01 Tom Tromey <tromey@redhat.com>
5672
5673 * gdb.base/jit-simple.exp: New file.
5674 * gdb.base/jit-simple.c: New file.
5675
a79b18b5
YQ
56762012-01-30 Yao Qi <yao@codesourcery.com>
5677
5678 * gdb.base/skip.exp: Make test result unique.
5679
f0d1a53e
JK
56802012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5681
5682 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
5683 compatibility with valgrind-3.7.0.
5684
4b3c9f41
PA
56852012-01-27 Pedro Alves <palves@redhat.com>
5686
5687 * gdb.base/watchpoint.exp (no_hw): New global.
5688 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
5689 disable hw watchpoints.
5690 (test_wide_location_1, test_wide_location_2): If no_hw is set,
5691 don't expect hw watchpoints.
5692 (no_hw_watchpoints): Always clean restart.
5693 (do_tests): New procedure, factored out from the top level.
5694 (top level): Run tests twice. Once with hw watchpoints enabled,
5695 another time with hw watchpoints disabled.
5696
a13491c8
PA
56972012-01-27 Pedro Alves <palves@redhat.com>
5698
5699 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
5700 out from the top level.
5701 (top level): Call it instead.
5702
f2c8a051
PA
57032012-01-27 Pedro Alves <palves@redhat.com>
5704
5705 * gdb.base/watchpoint.exp (top level): Re-enable hardware
5706 watchpoints sooner.
5707
654d7a9e
PA
57082012-01-27 Pedro Alves <palves@redhat.com>
5709
5710 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
5711
274f47f3
PA
57122012-01-27 Pedro Alves <palves@redhat.com>
5713
5714 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
5715 "You may have requested too many hardware
5716 breakpoints/watchpoints".
5717
e4d63ba2
PA
57182012-01-27 Pedro Alves <palves@redhat.com>
5719
5720 * gdb.base/watchpoint.exp (maybe_clean_restart)
5721 (maybe_reinitialize): New.
5722 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
5723 expect "hit N times".
5724 (test_disabling_watchpoints, test_complex_watchpoint)
5725 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5726 Call maybe_clean_restart.
5727 (top level): Use clean_restart. Remove "mips-idt-*"
5728 reinitialization.
5729
dbd95daf
PA
57302012-01-27 Pedro Alves <palves@redhat.com>
5731
5732 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
5733
f3ad2025
PA
57342012-01-27 Pedro Alves <palves@redhat.com>
5735
5736 * gdb.base/watchpoint.exp: Clean restart after tests that don't
5737 require `initialize' anymore. Remove unnecessary `initialize'
5738 calls.
5739
100aa3ae
PA
57402012-01-27 Pedro Alves <palves@redhat.com>
5741
5742 * gdb.base/watchpoint.exp (wp_set): Delete.
5743 (initialize, test_simple_watchpoint, top level): Remove dead code.
5744
c79a8e11
PA
57452012-01-27 Pedro Alves <palves@redhat.com>
5746
5747 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
5748 typo.
5749
048fe15a
PA
57502012-01-27 Pedro Alves <palves@redhat.com>
5751
5752 * config/extended-gdbserver.exp: New file.
5753 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
5754 comment.
5755 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
5756 * boards/native-extended-gdbserver.exp: New file.
5757
4033a6bf
PA
57582012-01-26 Pedro Alves <palves@redhat.com>
5759
5760 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
5761 and gdb_test_multiple.
5762
3d7f4b81
PA
57632012-01-26 Pedro Alves <palves@redhat.com>
5764
5765 Make test messages unique, and more identifiable.
5766 * gdb.multi/watchpoint-multi.exp: Change test messages.
5767
484abf42
TT
57682012-01-25 Tom Tromey <tromey@redhat.com>
5769
5770 * gdb.base/solib-disc.exp: Fix regexps.
5771
edcc5120
TT
57722012-01-24 Tom Tromey <tromey@redhat.com>
5773
5774 * lib/mi-support.exp (mi_expect_stop): Add special case for
5775 solib-event.
5776 * gdb.base/catch-load-so.c: New file.
5777 * gdb.base/catch-load.exp: New file.
5778 * gdb.base/catch-load.c: New file.
5779 * gdb.base/break-interp.exp (reach_1): Update regexp.
5780
30b91c90
JK
57812012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5782
5783 Fix fuzzy results.
5784 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
5785 lpsimple and func.
5786
53fe1783
GB
57872012-01-24 Gary Benson <gbenson@redhat.com>
5788
5789 Delete #if 0'd out code.
5790 * gdb.base/default.exp (info catch): Remove.
5791 * gdb.base/gdb_history (info catch): Likewise.
5792 * gdb.base/help.exp (info catch): Likewise.
5793
d0d8b0c6
JK
57942012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5795
5796 Fix watchpoints to be specific for each inferior.
5797 * gdb.multi/watchpoint-multi.c: New file.
5798 * gdb.multi/watchpoint-multi.exp: New file.
5799
4403d8e9
JK
58002012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5801
5802 Fix watchpoints across inferior fork.
5803 * gdb.threads/watchpoint-fork-child.c: New file.
5804 * gdb.threads/watchpoint-fork-mt.c: New file.
5805 * gdb.threads/watchpoint-fork-parent.c: New file.
5806 * gdb.threads/watchpoint-fork-st.c: New file.
5807 * gdb.threads/watchpoint-fork.exp: New file.
5808 * gdb.threads/watchpoint-fork.h: New file.
5809
050a2e1d
PA
58102012-01-23 Pedro Alves <palves@redhat.com>
5811
5812 * gdb.base/call-signal-resume.exp: Allow output after "return".
5813
6a52fb62
PA
58142012-01-20 Pedro Alves <palves@redhat.com>
5815
5816 * gdb.python/py-finish-breakpoint.py: Fix typo.
5817
145b16a9
UW
58182012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
5819
5820 * gdb.base/info-proc.exp: Also run on remote targets. Main
5821 "info proc" command is now always present; whether target supports
5822 actual info proc operation is detected when attempting to issue
5823 the command.
5824
26f6125e
JK
58252012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5826
5827 * .gdbinit: Remove.
5828
eb5227ce
PA
58292012-01-19 Pedro Alves <palves@redhat.com>
5830
5831 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
5832 look at the funtions' returns.
5833 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
5834 (jprint.print(int, int)): Change return type to int. Adjust.
5835
1db33378
PP
58362012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5837
5838 PR gdb/9538
5839 * gdb.base/sepdebug.exp: New test.
5840
b9736cf8
PA
58412012-01-18 Pedro Alves <palves@redhat.com>
5842
5843 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
5844 Allow output before ^done.
5845
4aac40c8
TT
58462012-01-16 Tom Tromey <tromey@redhat.com>
5847
5848 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
5849 Add tests for relative directory.
5850
cafec441
TT
58512012-01-16 Tom Tromey <tromey@redhat.com>
5852
5853 * gdb.base/printcmds.c (enum flag_enum): New.
5854 (three): New global.
5855 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
5856 enum printing.
5857 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
5858 FlagEnumerationPrinter.
5859 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
5860 * gdb.python/py-pp-maint.c (enum flag_enum): New.
5861 (fval): New global.
5862
abcc4978
PA
58632012-01-16 Pedro Alves <palves@redhat.com>
5864
5865 * lib/gdb.exp (banned_procedures): New variable.
5866 (banned_variables_traced): Rename to ...
5867 (banned_traced): ... this.
5868 (gdb_init): Also trace banned procedures.
5869 (gdb_finish): Also untrace banned procedures.
5870
97ccebe8
PA
58712012-01-16 Pedro Alves <palves@redhat.com>
5872
5873 Remove all calls to strace.
5874
2af7517b
JK
58752012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5876
5877 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
5878 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
5879
9241a8bc
PP
58802012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5881
5882 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
5883 * gdb.base/pie-execl.exp: Likewise.
5884
3848a17f
KS
58852012-01-12 Keith Seitz <keiths@redhat.com>
5886
5887 PR mi/10586
5888 * gdb.mi/var-cmd.c (struct anonymous): New structure.
5889 (do_anonymous_type_tests): New function.
5890 (main): Call do_anonymous_type_tests.
5891 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
5892 (verify_everything): New procedure.
5893 * gdb.mi/mi-var-cp.cc (class A): New class.
5894 (anonymous_structs_and_unions): New function.
5895 (main): Call anonymous_structs_and_unions.
5896 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
5897 (verify_everything): New procedure.
5898
440e2fca
KS
58992012-01-12 Keith Seitz <keiths@redhat.com>
5900
5901 * lib/mi-support.exp: Expand comments about PATH_EXPR.
5902 (varobj_tree::get_path_expr): Assume that all varobjs are
5903 compound unless they are known simple types.
5904 Adjust path expressions based on parent type, path parent type,
5905 and tree language.
5906 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
5907 the root varobj.
5908 (mi_walk_varobj_tree): Add LANGUAGE parameter.
5909
675399c9
PA
59102012-01-11 Pedro Alves <palves@redhat.com>
5911
5912 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
5913 core files on this machine" anymore.
5914
97ddaa9b
PH
59152012-01-11 Paul Hilfinger <hilfingr@adacore.com>
5916
5917 * gdb.base/watchpoint.c (recurser): Initialize local_x.
5918 (main): Repeat recurser call.
5919 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
5920 equivalent to 'local_x'.
5921
ea733575 59222012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6fdff2c5 5923 Joel Brobecker <brobecker@adacore.com>
ea733575
PH
5924
5925 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
5926
2ca0b532
PA
59272012-01-05 Pedro Alves <alves.ped@gmail.com>
5928
5929 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
5930 * gdb.python/py-events.c (first): Add bits for new "step N" test.
5931 * gdb.python/py-events.exp: Test that "step N" tripping on a
5932 breakpoint emits a breakpoint event.
5933
6e681866
JB
59342012-01-03 Joel Brobecker <brobecker@adacore.com>
5935
5936 * gdb.base/auxv.exp: Reformat the copyright notice.
5937
3c2d6aff
YQ
59382012-01-03 Yao Qi <yao@codesourcery.com>
5939
5940 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
5941 (strace_trace_on_diff_addr): New.
5942 * gdb.trace/strace.c: (main): Add two local variables.
5943
0852fee3
UW
59442011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
5945
5946 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
5947 * gdb.cell/gcore.exp: Likewise.
5948 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
5949 to verify the correct instance of main is selected.
5950
12c3e59c
JB
59512012-01-02 Joel Brobecker <brobecker@adacore.com>
5952
5953 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
5954 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
5955 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
5956 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
5957 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
5958 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
5959 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
5960 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
5961 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
5962 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
5963 gdb.threads/thread_check.c: Reformat copyright header.
5964
c0f378ec
EBM
59652011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
5966
e4a7ca93 5967 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
5968 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
5969 is not enabled.
5970
3bc96cfb
JK
59712011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5972
5973 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
5974 parameter to self_exec, adjust the function.
5975 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
5976 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
5977 (set var do_exit = 0): Remove test.
5978 (newline at end of file): Add one.
5979
095bcf5e
JB
59802011-12-27 Joel Brobecker <brobecker@adacore.com>
5981
5982 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
5983 New files.
5984
18d19bd1
JK
59852011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5986
5987 Fix racy FAILs.
5988 * gdb.threads/fork-thread-pending.c (barrier): New variable.
5989 (thread_function, thread_forker): Call pthread_barrier_wait for it.
5990 (main): Call pthread_barrier_init for it.
5991
e809353a
JK
59922011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5993
5994 Fix double send_gdb leading to racy FAILs.
5995 * gdb.base/break.exp (set silent break bp_location1): Replace
5996 3x send_gdb and gdb_expect by gdb_test.
5997 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
5998 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
5999 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
6000 instead of send_gdb. Twice.
6001 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
6002 3x send_gdb and gdb_expect by gdb_test.
6003 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
6004
da8cb7ec
JK
60052011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6006
6007 * gdb.linespec/linespec.exp: Compile using {c++}.
6008
ae1a303e
JK
60092011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6010
6011 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
6012 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
6013 (verify GCC PR debug/51668): New test.
6014
cc72b2a2
KP
60152011-12-23 Kevin Pouget <kevin.pouget@st.com>
6016
6017 Introduce gdb.FinishBreakpoint in Python.
6018 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
6019 py-finish-breakpoint2
6020 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
6021 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
6022 instead of line number.
6023 * gdb.python/py-finish-breakpoint.c: New file.
6024 * gdb.python/py-finish-breakpoint.exp: New file.
6025 * gdb.python/py-finish-breakpoint.py: New file.
6026 * gdb.python/py-finish-breakpoint2.cc: New file.
6027 * gdb.python/py-finish-breakpoint2.exp: New file.
6028 * gdb.python/py-finish-breakpoint2.py: New file.
6029
3b7962f9
JK
60302011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6031
6032 Partial fix of compatibility with gcc-4.7.
6033 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
6034 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
6035 Add comment to add a PASS case in the future.
6036
6538471c
JK
6037 Fix compatibility with gcc-4.7.
6038 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
6039
7052e42c
UW
60402011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
6041
6042 PR tdep/12797
6043 * gdb.base/callfuncs.exp: Remove KFAIL.
6044
9ac7f98e
JB
60452011-12-21 Joel Brobecker <brobecker@adacore.com>
6046
6047 * gdb.ada/task_bp: New testcase.
6048
f6eeced0
JK
60492011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6050
6051 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
6052 -DNO_SECTIONS.
6053 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
6054
72225e17
JK
60552011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6056
6057 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
6058 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
6059 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6060 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
6061 conditional for gcc <= 4.5.
6062
13ac8d2c
JK
60632011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6064
6065 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
6066 by XFAIL.
6067 * gdb.cp/static-method.exp (info addr A::func())
6068 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6069 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6070 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6071 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
6072 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
6073 (test value of F in k3_m): Likewise.
6074 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6075 Likewise.
6076
049682ba
JK
60772011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6078
6079 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
6080 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
6081 Remove.
6082 * gdb.threads/attachstop-mt.c: Remove.
6083 * gdb.threads/attachstop-mt.exp: Remove.
6084
2c9d8796
MK
60852011-12-17 Mark Kettenis <kettenis@gnu.org>
6086
6087 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
6088
e0f9f062
DE
60892011-12-16 Doug Evans <dje@google.com>
6090
f4aa2101 6091 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
6092 * boards/native-gdbserver.exp: New file.
6093
e0f9f062
DE
6094 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
6095 gdbserver output.
6096 (gdbserver_default_get_remote_address): New function.
6097 (gdbserver_start): Call gdb,get_remote_address to compute argument
6098 to "target remote" command.
6099
80b6e756
PM
61002011-12-16 Phil Muldoon <pmuldoon@redhat.com>
6101
1c3ad6ab 6102 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
6103 python print-stack. Add set/show python print-stack
6104 off|full|message tests.
6105
1576bd00
YQ
61062011-12-15 Yao Qi <yao@codesourcery.com>
6107
6108 * gdb.trace/strace.c: New
6109 * gdb.trace/strace.exp: New.
6110
d6a0f6e0
TT
61112011-12-14 Tom Tromey <tromey@redhat.com>
6112
6113 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
6114
31015e1d
DE
61152011-12-14 Doug Evans <dje@google.com>
6116
6117 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
6118
7b50312a
PA
61192011-12-14 Pedro Alves <pedro@codesourcery.com>
6120
6121 PR threads/10729
6122
6123 * gdb.mi/watch-nonstop.c: New file.
6fdff2c5 6124 * gdb.mi/mi-watch-nonstop.exp: New file.
7b50312a 6125
924437bc
PA
61262011-12-13 Pedro Alves <pedro@codesourcery.com>
6127 Doug Evans <dje@google.com>
6128
6129 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
6130 (clean_restart): Remove references to the gdb_stub target board
6131 variable.
6132 (gdb_step_for_stub): Delete.
6133
6134 * gdb.base/annota1.exp: Remove all references to [target_info
6135 exists gdb_stub], gdb_step_for_stub and usestubs.
6136 * gdb.base/annota3.exp: Ditto.
6137 * gdb.base/async.exp: Ditto.
6138 * gdb.base/break.exp: Ditto.
6139 * gdb.base/code-expr.exp: Ditto.
6140 * gdb.base/commands.exp: Ditto.
6141 * gdb.base/completion.exp: Ditto.
6142 * gdb.base/condbreak.exp: Ditto.
6143 * gdb.base/consecutive.exp: Ditto.
6144 * gdb.base/cvexpr.exp: Ditto.
6145 * gdb.base/define.exp: Ditto.
6146 * gdb.base/display.exp: Ditto.
6147 * gdb.base/ena-dis-br.exp: Ditto.
6148 * gdb.base/environ.exp: Ditto.
6149 * gdb.base/gnu-ifunc.exp: Ditto.
6150 * gdb.base/maint.exp: Ditto.
6151 * gdb.base/pending.exp: Ditto.
6152 * gdb.base/sect-cmd.exp: Ditto.
6153 * gdb.base/sepdebug.exp: Ditto.
6154 * gdb.base/unload.exp: Ditto.
6155 * gdb.base/watchpoint-solib.exp: Ditto.
6156 * gdb.cp/annota2.exp: Ditto.
6157 * gdb.cp/annota3.exp: Ditto.
6158 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
6159 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
6160 * gdb.mi/mi-pending.exp: Ditto.
6161 * gdb.trace/circ.exp: Ditto.
6162 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
6163 * gdb.base/list.exp: Ditto.
6164
6165 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
6166 breakpoint function and all references to the usestubs macro.
6167 * gdb.base/exprs.c: Ditto.
6168 * gdb.base/freebpcmd.c: Ditto.
6169 * gdb.base/bitfields.c: Ditto.
6170 * gdb.base/bitfields2.c: Ditto.
6171 * gdb.base/break.c: Ditto.
6172 * gdb.base/call-sc.c: Ditto.
6173 * gdb.base/call-signals.c: Ditto.
6174 * gdb.base/callfuncs.c: Ditto.
6175 * gdb.base/charset.c: Ditto.
6176 * gdb.base/consecutive.c: Ditto.
6177 * gdb.base/constvars.c: Ditto.
6178 * gdb.base/funcargs.c: Ditto.
6179 * gdb.base/int-type.c: Ditto.
6180 * gdb.base/interrupt.c: Ditto.
6181 * gdb.base/langs0.c: Ditto.
6182 * gdb.base/list0.c: Ditto.
6183 * gdb.base/mips_pro.c: Ditto.
6184 * gdb.base/miscexprs.c: Ditto.
6185 * gdb.base/nodebug.c: Ditto.
6186 * gdb.base/opaque0.c: Ditto.
6187 * gdb.base/pointers.c: Ditto.
6188 * gdb.base/printcmds.c: Ditto.
6189 * gdb.base/ptype.c: Ditto.
6190 * gdb.base/recurse.c: Ditto.
6191 * gdb.base/reread1.c: Ditto.
6192 * gdb.base/reread2.c: Ditto.
6193 * gdb.base/restore.c: Ditto.
6194 * gdb.base/return.c: Ditto.
6195 * gdb.base/run.c: Ditto.
6196 * gdb.base/scope0.c: Ditto.
6197 * gdb.base/sepdebug.c: Ditto.
6198 * gdb.base/setshow.c: Ditto.
6199 * gdb.base/setvar.c: Ditto.
6200 * gdb.base/sigall.c: Ditto.
6201 * gdb.base/signals.c: Ditto.
6202 * gdb.base/structs.c: Ditto.
6203 * gdb.base/structs2.c: Ditto.
6204 * gdb.base/testenv.c: Ditto.
6205 * gdb.base/twice.c: Ditto.
6206 * gdb.base/unwindonsignal.c: Ditto.
6207 * gdb.base/watchpoint.c: Ditto.
6208 * gdb.base/watchpoints.c: Ditto.
6209 * gdb.base/whatis.c: Ditto.
6210 * gdb.cp/classes.cc: Ditto.
6211 * gdb.cp/cplusfuncs.cc: Ditto.
6212 * gdb.cp/derivation.cc: Ditto.
6213 * gdb.cp/formatted-ref.cc: Ditto.
6214 * gdb.cp/misc.cc: Ditto.
6215 * gdb.cp/overload.cc: Ditto.
6216 * gdb.cp/ovldbreak.cc: Ditto.
6217 * gdb.cp/ref-params.cc: Ditto.
6218 * gdb.cp/ref-types.cc: Ditto.
6219 * gdb.cp/templates.cc: Ditto.
6220 * gdb.cp/virtfunc.cc: Ditto.
6221 * gdb.hp/gdb.aCC/run.c: Ditto.
6222 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
6223 * gdb.hp/gdb.compat/xdb0.c: Ditto.
6224 * gdb.reverse/consecutive-reverse.c: Ditto.
6225 * gdb.reverse/sigall-reverse.c: Ditto.
6226 * gdb.reverse/until-reverse.c: Ditto.
6227 * gdb.reverse/watch-reverse.c: Ditto.
6228 * gdb.trace/actions.c: Ditto.
6229 * gdb.trace/circ.c: Ditto.
6230 * gdb.trace/collection.c: Ditto.
6231
fabde485
PA
62322011-12-13 Pedro Alves <pedro@codesourcery.com>
6233
6234 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
6235 (func6, func7): New.
6236 (main): Call func6 and func7.
6237 * gdb.base/watchpoint.exp (test_wide_location_1)
6238 (test_wide_location_2): New.
6239 (top level): Re-enable hardware watchpoints if necessary. Call
6240 test_wide_location_1 and test_wide_location_2.
6241
ff7d1690
YQ
62422011-12-11 Yao Qi <yao@codesourcery.com>
6243
6244 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
6245
a6af7abe
JB
62462011-12-11 Joel Brobecker <brobecker@adacore.com>
6247
6248 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
6249 expected output for unsupported case.
6250
61638e15
JK
62512011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6252
6253 PR testsuite/12649
6254 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
6255 Protect gdb_test_multiple by final $gdb_prompt match.
6256
0a00efc3
JK
62572011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6258
6259 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
6260 New variable, new test.
6261 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6262 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6263 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6264 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
6265 them if HAVE_GCC_45682_FIXED is not set.
6266
4511b1ba
YQ
62672011-12-10 Yao Qi <yao@codesourcery.com>
6268
6269 * gdb.trace/status-stop.exp: New.
6270 * gdb.trace/status-stop.c: New.
6271
27949e73
JK
62722011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6273
6274 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
6275 timeout.
6276
d8ea7931
TT
62772011-12-08 Tom Tromey <tromey@redhat.com>
6278
6279 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
6280 condition.
6281
1cc310d2
SS
62822011-12-07 Stan Shebs <stan@codesourcery.com>
6283
6284 * gdb.trace/tfind.exp: Update for output changes.
6285
d482a875
PA
62862011-12-07 Pedro Alves <pedro@codesourcery.com>
6287
6288 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
6289 throws "Cannot insert catchpoints in this configuration".
6290 * gdb.ada/mi_catch_ex.exp: Likewise.
6291
f0ba3972
PA
62922011-12-06 Pedro Alves <pedro@codesourcery.com>
6293
6294 * gdb.base/break-always.exp: Test changing memory at addresses
6295 with breakpoints inserted.
6296
f8eba3c6
TT
62972011-12-06 Joel Brobecker <brobecker@acacore.com>
6298
6fdff2c5
PA
6299 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
6300 involving a fully qualified function name.
f8eba3c6
TT
6301
63022011-12-06 Tom Tromey <tromey@redhat.com>
6303
6304 * gdb.ada/homonym.exp: Add three breakpoint tests.
6305
63062011-12-06 Tom Tromey <tromey@redhat.com>
6307
6308 * gdb.base/solib-weak.exp (do_test): Remove kfail.
6309 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
6310 * gdb.objc/objcdecode.exp: Update for output changes.
6311 * gdb.linespec/linespec.exp: New file.
6312 * gdb.linespec/lspec.cc: New file.
6313 * gdb.linespec/lspec.h: New file.
6314 * gdb.linespec/body.h: New file.
6315 * gdb.linespec/base/two/thefile.cc: New file.
6316 * gdb.linespec/base/one/thefile.cc: New file.
6317 * gdb.linespec/Makefile.in: New file.
6318 * gdb.cp/templates.exp (test_template_breakpoints): Update for
6319 output changes.
6320 * gdb.cp/re-set-overloaded.exp: Remove kfail.
6321 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
6322 makes one breakpoint.
6323 * gdb.cp/method2.exp (test_break): Update for output changes.
6324 * gdb.cp/mb-templates.exp: Update for output changes.
6325 * gdb.cp/mb-inline.exp: Update for output changes.
6326 * gdb.cp/mb-ctor.exp: Update for output changes.
6327 * gdb.cp/ovsrch.exp: Use fully-qualified names.
6328 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
6329 has multiple matches.
6330 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
6331 error message change.
6332 * gdb.base/list.exp (test_list_filename_and_number): Update for
6333 error message change.
6334 * gdb.base/break.exp: Disable pending breakpoints. Update for
6335 output changes.
6336 * configure.ac: Add gdb.linespec.
6337 * configure: Rebuild.
6338 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
6339
c642a434
UW
63402011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
6341
6342 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
6343 last_break register on s390*-*-* targets.
6344
b18003d1
JB
63452011-12-06 Joel Brobecker <brobecker@adacore.com>
6346
6347 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
6348 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
6349 of parameter X in procedure Foo.
6350
fe96589c
SS
63512011-12-05 Stan Shebs <stan@codesourcery.com>
6352
6353 * gdb.trace/tfind.exp: Update help string matches.
6354
1820ab47
JK
63552011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6356
6357 * gdb.server/ext-run.exp (get process list): Accept also systemd
6358 as PID 1.
6359
e11ac3a3
JK
63602011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6361 Pedro Alves <pedro@codesourcery.com>
6362
6363 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
6364 starting GDB.
6365 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
6366 $use_gdb_stub.
6367 * gdb.base/display.exp: Likewise.
6368 * gdb.base/ending-run.exp: Likewise.
6369 * gdb.base/list.exp (test_listsize): Likewise.
6370 * gdb.base/setshow.exp: Likewise.
6371 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
6372 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
6373 check by global $use_gdb_stub.
6374 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
6375 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
6376 (default_gdb_init): Unset global $use_gdb_stub.
6377 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
6378 by global $use_gdb_stub.
6379 * lib/gdbserver-support.exp: Extend comments for set_board_info
6380 gdb_protocol and gdb,socketport.
6381 (gdbserver_start_extended): Set global gdbserver_protocol and
6382 gdbserver_gdbport. Clear global use_gdb_stub.
6383 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
6384 from target use_gdb_stub.
6385 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
6386
1d41d75c
DE
63872011-12-03 Doug Evans <dje@google.com>
6388
6389 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
6390 (gdb_step_for_stub): Add comments.
6391
d6d7a51a
MR
63922011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
6393
6394 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
6395 to the caller.
6396 (gdb_test_multiple): Likewise.
6397
05acf274
JK
63982011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6399
6400 Fix gdb.mi/mi-solib.exp without system debug info installed.
6401 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
6402 expect attribute, return 0 for it. Update comments.
6403
2268b414
JK
64042011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6405
6406 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
6407 (corrupted list): Adjust the expectation.
6408
585861ea
JK
64092011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6410
6411 PR threads/13448
6412 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
6413 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
6414 * gdb.threads/tls-var-main.c: New file.
6415 * gdb.threads/tls-var.c: New file.
6416 * gdb.threads/tls-var.exp: New file.
6417
968643aa
JK
64182011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6419
6420 PR testsuite/12649
6421 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
6422 Protect gdb_test_multiple by final $gdb_prompt match.
6423 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
6424 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
6425 (test_tracepoints): Likewise.
6426
9750bca9
JK
64272011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6428
6429 PR breakpoints/13346
6430 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
6431 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
6432 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
6433
ac1349b7
JB
64342011-12-01 Joel Brobecker <brobecker@adacore.com>
6435
6436 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
6437 * gdb.ada/homonym/homonym.adb: For use of all types defined
6438 locally inside both Get_Value subprograms.
6439
26d44faf
JK
64402011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6441
6442 Fix racy FAILs.
6443 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
6444 of send_gdb.
6445
514f6425
UW
64462011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6447
6448 * gdb.base/testenv.exp: Skip on remote targets. Unset global
6449 environment variable after test completed.
6450
4255c8d2
UW
64512011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6452
6453 * gdb.base/solib-nodir.exp: Skip if remote target.
6454 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
6455 application. Call gdb_load_shlibs.
6456 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
6457
a35ad96a
JB
64582011-11-29 Joel Brobecker <brobecker@adacore.com>
6459
6460 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
6461
1a1d5513
JB
64622011-11-28 Joel Brobecker <brobecker@adacore.com>
6463
6464 * gdb.ada/fullname_bp: New testcase.
6465
50b4ddf8
JK
64662011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6467
6468 PR testsuite/12649
6469 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
6470 Wrap send_gdb into a new gdb_test.
6471
fb0aec57
JK
6472 Code cleanup.
6473 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
6474 Convert send_gdb and gdb_expect to gdb_test_multiple.
6475
2376d946
JK
64762011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6477
6478 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
6479
1eec78bd
KS
64802011-11-23 Keith Seitz <keiths@redhat.com>
6481
6482 * lib/mi-support.exp (varobj_tree): New namespace and procs.
6483 (mi_varobj_tree_test_children_callback): New proc.
6484 (mi_walk_varobj_tree): New proc.
6485
36dfb11c
TT
64862011-11-22 Tom Tromey <tromey@redhat.com>
6487
6488 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
6489 Add "use_mi_command" argument.
6490 (mi_run_cmd, mi_run_with_cli): New procs.
6491 * gdb.mi/solib-lib.c: New file.
6492 * gdb.mi/solib-main.c: New file.
6493 * gdb.mi/mi-solib.exp: New file.
6494
0e965dd0
DE
64952011-11-21 Doug Evans <dje@google.com>
6496
6497 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
6498 _Unwind_DebugHook is missing.
6499
f196051f
SS
65002011-11-20 Stan Shebs <stan@codesourcery.com>
6501
6502 * gdb.trace/tstatus.exp: New.
6503 * gdb.trace/actions.c: Include string.h.
6504
bfccc43c
YQ
65052011-11-18 Yao Qi <yao@codesourcery.com>
6506
6507 * gdb.trace/pending.exp: New.
6508 * gdb.trace/pending.c: New.
6509 * gdb.trace/pendshr1.c: New.
6510 * gdb.trace/pendshr2.c: New.
6511 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
6512 tracepoint location becomes pending.
6513 (tracepoint_change_loc_2): New.
6514
73cd8ab1
DM
65152011-11-16 David S. Miller <davem@davemloft.net>
6516
6517 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
6518 target is sparc*-*-linux*
6519
77426730
PK
65202011-11-15 Paul Koning <paul_koning@dell.com>
6521
6522 * gdb.python/py-type.exp: New testcases for exceptions on scalar
6523 types.
6524
ed59ded5
DE
65252011-11-14 Doug Evans <dje@google.com>
6526
6527 * gdb.base/shell.exp: New file.
6528
405f8e94
SS
65292011-11-14 Stan Shebs <stan@codesourcery.com>
6530
6531 * gdb.trace/ftrace.c: New.
6532 * gdb.trace/ftrace.exp: New.
6533
1e4d1764
YQ
65342011-11-14 Yao Qi <yao@codesourcery.com>
6535
6536 * gdb.trace/change-loc-1.c: New.
6537 * gdb.trace/change-loc-2.c: New.
6538 * gdb.trace/change-loc.c: New.
6539 * gdb.trace/change-loc.exp: New.
6540 * gdb.trace/change-loc.h: New.
6541 * gdb.trace/trace-break.c (marker): Define new symbol.
6542 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6fdff2c5 6543 New.
1e4d1764
YQ
6544 (break_trace_same_addr_6): New.
6545
71eba9c2 65462011-11-12 Matt Rice <ratmice@gmail.com>
6547
6548 * gdb.base/info-macros.exp: Make tests for info definitions
6549 test info macro. Add tests for info macro argument processing.
6550 Rename a few tests.
6551
1d93e29a
KS
65522011-11-11 Keith Seitz <keiths@redhat.com>
6553
6554 PR gdb/12843
6555 * gdb.base/linespecs.exp: New file.
6556
a4b5b48a
DE
65572011-11-11 Doug Evans <dje@google.com>
6558
6559 * gdb.threads/print-threads.exp: Extend timeout for slower
6560 tests.
6561
f6b47be4
DE
65622011-11-10 Doug Evans <dje@google.com>
6563
792a0230
DE
6564 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
6565 "record to end of main" test.
6566
f6b47be4
DE
6567 * gdb.python/py-type.c (TS): New typedef.
6568 (ts): New global.
6569 * gdb.python/py-type.exp: Test field list of typedef.
6570
22355c90
JB
65712011-11-10 Joel Brobecker <brobecker@adacore.com>
6572
6573 * gdb.ada/small_reg_param: New testcase.
6574
a7860e76
TT
65752011-11-09 Tom Tromey <tromey@redhat.com>
6576
6577 * gdb.cp/destrprint.exp: New file.
6578 * gdb.cp/destrprint.cc: New file.
6579
72a2e3dc
MI
65802011-11-08 Meador Inge <meadori@codesourcery.com>
6581
6582 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
6583 (switch_stack_to_other): New test function.
6584 * gdb.arch/thumb-prologue.exp: New test cases.
6585
c7195df2 65862011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
6587
6588 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
6589
d3895d7d
YQ
65902011-11-08 Yao Qi <yao@codesourcery.com>
6591
6592 * gdb.exp (supports_process_record): New.
6593 (supports_reverse): New.
6594 * gdb.reverse/break-precsave.exp: Call support_process_record
6595 to run test conditionally.
6596 * gdb.reverse/consecutive-precsave.exp: Likewise.
6597 * gdb.reverse/i386-precsave.exp: Likewise.
6598 * gdb.reverse/machinestate-precsave.exp: Likewise.
6599 * gdb.reverse/solib-precsave.exp: Likewise.
6600 * gdb.reverse/step-precsave.exp: Likewise.
6601 * gdb.reverse/until-precsave.exp: Likewise.
6602 * gdb.reverse/watch-precsave.exp: Likewise.
6603 * gdb.reverse/break-reverse.exp: Call support_reverse to run
6604 test conditionally.
6605 * gdb.reverse/consecutive-reverse.exp: Likewise.
6606 * gdb.reverse/finish-precsave.exp: Likewise.
6607 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6608 * gdb.reverse/finish-reverse.exp: Likewise.
6609 * gdb.reverse/i386-reverse.exp: Likewise.
6610 * gdb.reverse/i386-sse-reverse.exp: Likewise.
6611 * gdb.reverse/machinestate.exp: Likewise.
6612 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
6613 * gdb.reverse/sigall-precsave.exp: Likewise.
6614 * gdb.reverse/sigall-reverse.exp: Likewise.
6615 * gdb.reverse/solib-reverse.exp: Likewise.
6616 * gdb.reverse/step-reverse.exp: Likewise.
6617 * gdb.reverse/until-reverse.exp: Likewise.
6618 * gdb.reverse/watch-reverse.exp: Likewise.
6619
a59306a3
YQ
66202011-11-05 Yao Qi <yao@codesourcery.com>
6621
6622 * gdb.trace/trace-break.exp: Add test on setting two
6623 fast tracepoints at the same address.
6624
87769f59
JK
66252011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6626
6627 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
6628
3065dfb6
SS
66292011-11-02 Stan Shebs <stan@codesourcery.com>
6630
6631 * gdb.trace/collection.c: Add code using strings.
6632 * gdb.trace/collection.exp: Add tests of string collection.
6633
89e208db
JK
66342011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6635
6636 * gdb.base/skip-solib.exp (executable_main): New variable.
6637 (binfile_main): Base it on that.
6638 Use $executable_main in clean_restart calls. Drop gdb_exit and
6639 gdb_start calls.
6640
405e54e9
JK
66412011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6642
6643 Fix racy FAILs.
6644 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
6645 breakpoint_re globals import by async. Set string_regex to .* for
6646 async. Remove the optional thread_selected_re and breakpoint_re
6647 globals expectations.
6648
58e8570a
JM
66492011-11-01 Joseph Myers <joseph@codesourcery.com>
6650
6651 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
6652 well as Cygwin.
6653
7b35ec7f 66542011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
6655
6656 Add tests for skip command.
89e208db
JK
6657 * gdb.base/skip-solib-lib.c: New
6658 * gdb.base/skip-solib-main.c: New
6659 * gdb.base/skip-solib.exp: New
6660 * gdb.base/skip.c: New
6661 * gdb.base/skip.exp: New
6662 * gdb.base/skip1.c: New
6663 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 6664
b9fd1791
PA
66652011-10-31 Yao Qi <yao@codesourcery.com>
6666 Pedro Alves <pedro@codesourcery.com>
6667
6fdff2c5
PA
6668 * gdb.trace/trace-break.c: New.
6669 * gdb.trace/trace-break.exp: New.
b9fd1791 6670
4323fecc
JK
66712011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6672
6673 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
6674 break-here-2.
6675
0e5bf2a8
PA
66762011-10-28 Pedro Alves <pedro@codesourcery.com>
6677
6678 * gdb.threads/no-unwaited-for-left.c: New.
6679 * gdb.threads/no-unwaited-for-left.exp: New.
6680 * gdb.threads/non-ldr-exc-1.c: New.
6681 * gdb.threads/non-ldr-exc-1.exp: New.
6682 * gdb.threads/non-ldr-exc-2.c: New.
6683 * gdb.threads/non-ldr-exc-2.exp: New.
6684 * gdb.threads/non-ldr-exc-3.c: New.
6685 * gdb.threads/non-ldr-exc-3.exp: New.
6686 * gdb.threads/non-ldr-exc-4.c: New.
6687 * gdb.threads/non-ldr-exc-4.exp: New.
6688
3a3dad98
JK
66892011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6690
6691 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
6692 * gdb.base/attach-pie-misread.exp: Likewise.
6693 * gdb.base/break-interp.exp: Likewise.
6694 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
6695 testcases for use_gdb_stub.
6696 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
6697 (continue): New testcase.
6698 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
6699 * gdb.threads/attach-into-signal.exp: Likewise.
6700 * gdb.threads/attach-stopped.exp: Likewise.
6701 * gdb.threads/attachstop-mt.exp: Likewise.
6702
d6a5d40c
PK
67032011-10-28 Paul Koning <paul_koning@dell.com>
6704
6705 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
6706
ca539be8
JK
67072011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6708
6709 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
6710 (mi_gdb_test): Import globals thread_selected_re
6711 and breakpoint_re. Expect them optionally at the regex start.
6712
d234ef5c
DE
67132011-10-27 Doug Evans <dje@google.com>
6714
6715 * gdb.python/python.exp: Test source -s.
6716
ab964825
PK
67172011-10-26 Paul Koning <paul_koning@dell.com>
6718
6719 * gdb.python/lib-types.cc (struct A): New structure.
6720 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 6721
54d8a644
PK
67222011-10-25 Paul Koning <paul_koning@dell.com>
6723
6724 PR python/13327
d234ef5c 6725
54d8a644
PK
6726 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
6727 fetch_lazy method.
6728
b0221781
YQ
67292011-10-24 Yao Qi <yao@codesourcery.com>
6730
6731 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
6732 target is tic6x-*-*.
6733
6cda5a20
JB
67342011-10-21 Joel Brobecker <brobecker@adacore.com>
6735
6736 * gdb.ada/mi_task_info/task_switch.adb: New file.
6737 * gdb.ada/mi_task_info.exp: New file.
6738
5ed9db04
JK
67392011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6740
6741 * gdb.cp/expand-psymtabs-cxx.exp: New file.
6742 * gdb.cp/expand-psymtabs-cxx.cc: New file.
6743
9df2fbc4
PM
67442011-10-20 Phil Muldoon <pmuldoon@redhat.com>
6745
6746 PR python/12656
6747
6748 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
6749 global_block tests.
6750
736086ba
TT
67512011-10-18 Tom Tromey <tromey@redhat.com>
6752
6753 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
6754
4af31552
TT
67552011-10-18 Tom Tromey <tromey@redhat.com>
6756
6757 * gdb.base/source.exp: Don't include full file name in test name.
6758 * gdb.python/python.exp: Don't include full file name in test
6759 name.
6760
43136979
AR
67612011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6762
6763 * gdb.base/attach-pie-noexec.c: New files.
6764 * gdb.base/attach-pie-noexec.exp: New files.
6765
543a9323
JM
67662011-10-17 Joseph Myers <joseph@codesourcery.com>
6767
6768 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
6769 prompt for each extra line in command.
6770
21ae7a4d
JK
67712011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6772
6773 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
6774 Revert the part of:
6775 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6776 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
6777 Change the expected string.
6778
20ec36d9
JK
67792011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6780
6781 Fix results with system glibc debug info installed.
6782 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
6783 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
6784 Accept also __libc_ symbol prefix and no prefix.
6785
6501c2fc
KS
67862011-10-14 Keith Seitz <keiths@redhat.com>
6787
6788 PR c++/13225
6789 * gdb.cp/converts.cc (foo3_1): New function.
6790 (foo3_2): New functions.
6791 * gdb.cp/converts.exp: Add tests for int to pointer conversion
6792 and null pointer conversions of integer constant zero.
6793 Add test to check if all arguments are checked for incompatible
6794 conversion BADNESS.
6795
55b1fd0c
TT
67962011-10-14 Tom Tromey <tromey@redhat.com>
6797
6798 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
6799 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
6800 linespec.
6801
22c05d8a
JK
68022011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6803
6804 Fix internal error regression.
6805 * gdb.dwarf2/implptr-optimized-out.S: New file.
6806 * gdb.dwarf2/implptr-optimized-out.exp: New file.
6807
1d6edc3c
JK
68082011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6809
6810 Fix empty DWARF expressions DATA vs. SIZE conditionals.
6811 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
6812 (loclist): New.
6813 (4): New abbrev.
6814 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
6815 Use prepare_for_testing, remove clean_restart.
6816 (p arraynoloc, p arraycallnoloc): New tests.
6817
9ec72168
JK
68182011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6819
6820 * gdb.cp/namespace-enum.exp (executable): New variable.
6821 (binfile): Use ${objdir}/${subdir}/ prefix.
6822 Use ${executable} for clean_restart.
6823
9c6c53f7
SA
68242011-10-11 Sterling Augustine <saugustine@google.com>
6825
6826 * gdb.cp/Makefile.in: Add namespace-enum test.
6827 * gdb.cp/namespace-enum.exp: New file.
6828 * gdb.cp/namespace-enum.c: New file.
6829 * gdb.cp/namespace-enum-main.c: New file.
6830
fac7ceb3
UW
68312011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
6832
6833 * gdb.python/py-shared.exp: Relax filename check to handle remote:
6834 sysroot.
6835
941b2081
JK
68362011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6837
6838 Reimplement @entry in input expressions.
6839 * gdb.base/exprs.c (v_int_array_init): New variable.
6840 * gdb.base/exprs.exp (print v_int_array_init)
6841 (print *v_int_array_init@1, print *v_int_array_init@2)
6842 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
6843 (print v_int_array_init[1]@1): New tests.
6844
0344e878
JM
68452011-10-10 Joseph Myers <joseph@codesourcery.com>
6846
6847 * gdb.cp/gdb2495.exp: Do not include directories in filename in
6848 expected message.
6849
5a56e9c5
DE
68502011-10-09 Doug Evans <dje@google.com>
6851
6852 * gdb.base/alias.exp: Add tests for alias command.
6853
2bda9cc5
JK
68542011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6855
6856 * gdb.arch/amd64-entry-value.s: New file.
6857 * gdb.mi/mi2-amd64-entry-value.s: New file.
6858
a471c594
JK
68592011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6860
6861 Display @entry parameter values even for references.
6862 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
6863 functions.
6864 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
6865 reference and datap_input.
6866 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
6867 breakpoints.
6868 (continue to breakpoint: entry_reference: reference)
6869 (entry_reference: bt at entry)
6870 (continue to breakpoint: entry_reference: breakhere_reference)
6871 (entry_reference: bt, entry_reference: ptype regparam)
6872 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
6873 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
6874 (entry_reference: p regcopy, entry_reference: p nodataparam)
6875 (entry_reference: p nodataparam@entry): New tests.
6876
36b11add
JK
68772011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6878
6879 Support @entry in input expressions.
6880 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
6881 (entry_stack: p s1@entry, entry_stack: p s2@entry)
6882 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
6883 (tailcall: p j@entry): New tests.
6884 * gdb.cp/koenig.cc (A::entry): New function.
6885 (main): Call it.
6886 * gdb.cp/koenig.exp (p entry (c)): New test.
6887
e18b2753
JK
68882011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6889
6890 Display @entry parameter values (without references).
6891 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
6892 (different, validity, invalid): New functions.
6893 (main): Call them.
6894 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
6895 stacktest, breakhere_stacktest, different, breakhere_different,
6896 breakhere_validity and breakhere_invalid.
6897 (entry: bt): Update for @entry.
6898 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
6899 (entry_validity: *, entry_invalid: *): Many new tests.
6900 * gdb.base/break.exp
6901 (run until breakpoint set at small function, optimized file): Accept
6902 also the @entry suffix.
6903 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
6904 * gdb.mi/mi2-amd64-entry-value.c: New files.
6905 * gdb.mi/mi2-amd64-entry-value.exp: New files.
6906
2d6c5dc2
JK
69072011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6908
6909 Protect entry values against self tail calls.
6910 * gdb.arch/amd64-entry-value.cc (self2, self): New.
6911 (main): Call self.
6912 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
6913 (set debug entry-values 1, self: bt debug entry-values): New tests.
6914
111c6489
JK
69152011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6916
6917 Recognize virtual tail call frames.
6918 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
6919 (amb_b, amb_a): New.
6920 (main): Call a and b.
6921 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
6922 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
6923 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
6924 New tests.
6925
8e3b41a9
JK
69262011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6927
6928 Implement basic support for DW_TAG_GNU_call_site.
6929 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
6930 * gdb.arch/amd64-entry-value.cc: New file.
6931 * gdb.arch/amd64-entry-value.exp: New file.
6932
181cebd4
JK
69332011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6934
6935 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
6936 * gdb.dwarf2/implptr-64bit.S: New file.
6937 * gdb.dwarf2/implptr-64bit.exp: New file.
6938
741f5e3c
JK
69392011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6940
6941 Fix initial language detection with -readnow.
6942 * gdb.cp/readnow-language.cc: New file.
6943 * gdb.cp/readnow-language.exp: New file.
6944
a73d2258
JK
69452011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6946
6947 Fix printed anonymous struct name.
6948 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
6949
af369495
JM
69502011-10-09 Joseph Myers <joseph@codesourcery.com>
6951
6952 * gdb.base/solib-symbol.exp: Do not include directories in
6953 filenames in expected messages.
6954
1fa57852
DE
69552011-10-07 Doug Evans <dje@google.com>
6956
6957 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
6958
bd054e06
KP
69592011-10-07 Kevin Pouget <kevin.pouget@st.com>
6960
6961 Allow Python notification of new object-file loadings.
6962 * gdb.python/py-events.exp: Test newobjfile event.
6963 * gdb.python/py-events.py: Register newobjfile callback.
6964 * gdb.python/py-events.c: Add call to shared library
6965 * gdb.python/py-events-shlib.c: New file.
6966
8031b6f8
JM
69672011-10-06 Joseph Myers <joseph@codesourcery.com>
6968
6969 * gdb.base/fixsection.exp: Do not include directories in filename
6970 in expected message.
6971
7fea6923
PM
69722011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
6973
6974 Add tests for passing of environment variables to inferior.
6975 * gdb.base/testenv.c: New test source.
6976 * gdb.base/testenv.exp: New expect test.
6977
687f2a88
PK
69782011-10-04 Paul Koning <paul_koning@dell.com>
6979
6980 * gdb.python/py-value.c (main): Break before return.
6981
cb6be26b
KP
69822011-10-04 Kevin Pouget <kevin.pouget@st.com>
6983
6984 PR python/12691: Add the inferior to Python exited event
6985 * gdb.python/py-events.exp: Test the inferior attribute of exited
6986 event with a fork.
6987 * gdb.python/py-events.py: Print inferior number on exit.
6988 * gdb.python/py-events.c: Fork the inferior.
6989
fb213700
EBM
69902011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
6991
6992 * gdb.base/jit.exp: Add testcase name to log message
6993
aa2071bd
PK
69942011-10-03 Paul Koning <paul_koning@dell.com>
6995 Jan Kratochvil <jan.kratochvil@redhat.com>
6996
6997 * gdb.python/py-value.exp
6998 (python inval = gdb.parse_and_eval('*(int*)0'))
6999 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
7000 (set argc=2, python print argc_lazy): New tests.
7001
dd11a36c
JB
70022011-10-02 Joel Brobecker <brobecker@adacore.com>
7003
7004 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
7005
46f886f1
JK
70062011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7007 Pedro Alves <pedro@codesourcery.com>
7008
7009 * gdb.python/py-value.exp (test_value_in_inferior): New variable
7010 can_read_0, test for it.
7011 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
7012 (parse_and_eval with memory error): ... here, make it untested if
7013 can_read_0.
7014
c5cb204f
MP
70152011-09-30 Marek Polacek <mpolacek@redhat.com>
7016
7017 * gdb.python/python.exp (verify pagination beforehand)
7018 (verify pagination afterwards): Fix race by splitting the line.
7019
68fb0ec0
JM
70202011-09-29 Joseph Myers <joseph@codesourcery.com>
7021
7022 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
7023 for 64-bit multilibs from i?86-* targets.
7024
6aee0d90
MP
70252011-09-29 Marek Polacek <mpolacek@redhat.com>
7026
7027 * lib/gdb.exp: Fix a typo in one of the comments.
7028
e9101ff5
MP
70292011-09-29 Marek Polacek <mpolacek@redhat.com>
7030
7031 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
7032 matching pattern.
7033
7a81bdbf
PK
70342011-09-28 Paul Koning <paul_koning@dell.com>
7035
7036 * gdb.python/py-type.c (enum E): New.
7037 * gdb.python/py-type.exp (test_fields): Add tests for Python
7038 mapping access to fields.
7039 (test_enums): New test for field access on enums.
7040
6710bf39
SS
70412011-09-27 Stan Shebs <stan@codesourcery.com>
7042
7043 * gdb.trace/collection.exp: Test collection of $_ret.
7044
b2a6bdeb
AT
70452011-09-22 Andreas Tobler <andreast@fgznet.ch>
7046
7047 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
7048 list of compilation switches for <*-*-freebsd*>.
7049
3c9057f3
SS
70502011-09-19 Stan Shebs <stan@codesourcery.com>
7051
7052 * gdb.trace/tspeed.exp: New file.
7053 * gdb.trace/tspeed.c: New file.
7054
34518530
YQ
70552011-09-18 Yao Qi <yao@codesourcery.com>
7056
7057 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
7058 instructions.
7059 (test_adr_32bit, test_pop_pc): Likewise.
7060 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
7061 Thumb instructions.
7062 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
7063 in gdb_test_multiple.
7064 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
7065
ab254057
YQ
70662011-09-17 Yao Qi <yao@codesourcery.com>
7067
7068 * lib/gdb.exp (can_single_step_to_signal_handler): New.
7069 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
7070 support single step to signal handler.
7071
9c317b71
YQ
70722011-09-17 Yao Qi <yao@codesourcery.com>
7073
7074 * gdb.base/disp-step-fork.c: New.
7075 * gdb.base/disp-step-syscall.exp: New.
7076 * gdb.base/disp-step-vfork.c: New.
7077
a8123151
JB
70782011-09-16 Joel Brobecker <brobecker@adacore.com>
7079
7080 * gdb.ada/tasks.exp: Make the expected output for
7081 the `info tasks' tests more resilient to spacing
7082 changes.
7083
63a9aad8
JK
70842011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7085
7086 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
7087 (reached breakpoint 2, reached breakpoint 3): Update expected output.
7088
2aa48337
KP
70892011-09-15 Kevin Pouget <kevin.pouget@st.com>
7090
7091 PR Python/12692 Add gdb.selected_inferior() to Python interface.
7092 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
7093
6839b47f
KP
70942011-04-30 Kevin Pouget <kevin.pouget@st.com>
7095
7096 Handle multiple breakpoint hits in Python interface:
7097 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
7098 presence.
7099 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
7100 breakpoint hits.
7101
0935723e
JK
71022011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
7103 Jan Kratochvil <jan.kratochvil@redhat.com>
7104
7105 * gdb.python/py-events.exp: Remove pretty printing comment.
7106 * gdb.python/py-evsignal.exp: New file.
7107 * gdb.python/py-evthreads.c: Include signal.h.
7108 (thread3): Remove variable count3. Remove variable bad and use raise
7109 instead.
7110 (thread2): Remove variable count2. Move thread3 pthread_create here,
7111 merge pthread_join to a single line.
7112 (main): Remove variable count1. Merge pthread_join with pthread_create
7113 to a single line.
7114 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
7115 KFAIL python/12966 for gdbserver. Test return value of
7116 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
7117 gdb_expect by gdb_test and gdb_test_multiple.
7118 (thread 2, thread 3): New tests.
7119
4801a9a3
PA
71202011-09-12 Matt Rice <ratmice@gmail.com>
7121 Pedro Alves <pedro@codesourcery.com>
7122
7123 PR gdb/13175
7124
7125 * gdb.base/interp.exp: New tests.
7126 * gdb.base/interp.c: New file.
7127
24ece742
DE
71282011-09-12 Doug Evans <dje@google.com>
7129
7130 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
7131 * gdb.dwarf2/typeddwarf.exp: Ditto.
7132
7f062217
JK
71332011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7134
7135 Fix compatibility with x32 arch.
7136 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
7137 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
7138 is_x86_like_target.
7139 * testsuite/gdb.trace/collection.exp: Likewise.
7140 * testsuite/gdb.trace/report.exp: Likewise.
7141 * testsuite/gdb.trace/unavailable.exp: Likewise.
7142 * testsuite/gdb.trace/while-dyn.exp: Likewise.
7143 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
7144 (is_x86_like_target): Check also is_amd64_regs_target.
7145
08711b9a
JK
71462011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7147
7148 PR breakpoints/12435
7149 * gdb.arch/amd64-prologue-xmm.c: New file.
7150 * gdb.arch/amd64-prologue-xmm.exp: New file.
7151 * gdb.arch/amd64-prologue-xmm.s: New file.
7152
b99b5f66
JK
71532011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7154
7155 * gdb.dwarf2/dw2-param-error-main.c: New file.
7156 * gdb.dwarf2/dw2-param-error.S: New file.
7157 * gdb.dwarf2/dw2-param-error.exp: New file.
7158
a391a2f6
PA
71592011-09-08 Pedro Alves <pedro@codesourcery.com>
7160
7161 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
7162 inferior's pid and look for a core dump named core.$pid. Use
7163 `remote_file' commands on the host instead of hand coding shell
7164 commands on the build.
7165 * gdb.base/valgrind-db-attach.exp: Kill the program before
7166 finishing the test.
7167
7d8e6458 71682011-09-02 Matt Rice <ratmice@gmail.com>
7169
7170 * lib/prompt.exp: New file for testing the first prompt.
7171 * gdb.python/py-prompt.exp: Ditto.
7172 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
7173
68e77c9e
PA
71742011-09-02 Pedro Alves <pedro@codesourcery.com>
7175
7176 * gdb.threads/gcore-thread.exp: Set the global core_supported to
7177 0, before testing gcore.
7178
9655e943
JK
71792011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7180
df6dc84d
JK
7181 * dw2-ifort-parameter-debug.S: Update copyright year.
7182 * dw2-ifort-parameter.c: Update copyright year.
7183 * dw2-ifort-parameter.exp: Update copyright year.
7184
9655e943
JK
7185 * dw2-ifort-parameter-debug.S: New file.
7186 * dw2-ifort-parameter.c: New file.
7187 * dw2-ifort-parameter.exp: New file.
7188
353d1d73
JK
71892011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7190
7191 * gdb.base/commands.exp (error_clears_commands_left): New function.
7192 (): Call it.
7193
5c07461a
JK
71942011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7195
7196 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
7197 (C): Initialize `a'.
7198 * gdb.mi/mi-inheritance-syntax-error.exp
7199 (-data-evaluate-expression $path): Expect `a' as 5.
7200
0d932b2f
MK
72012011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
7202
7203 PR mi/11912
7204 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
7205 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
7206 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
7207 keyword in output of -var-info-path-expression.
7208
bdb54049
JK
72092011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7210
7211 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
7212 * gdb.trace/collection.exp: Likewise.
7213 * gdb.trace/report.exp: Likewise.
7214 * gdb.trace/unavailable.exp: Likewise.
7215 * gdb.trace/while-dyn.exp: Likewise.
7216
59cde39c
KS
72172011-08-18 Keith Seitz <keiths@redhat.com>
7218
7219 PR c++/12266
7220 * gdb.cp/meth-typedefs.cc: New file.
7221 * gdb.cp/meth-typedefs.exp: New file.
7222
fa3a4f15
PM
72232011-08-17 Phil Muldoon <pmuldoon@redhat.com>
7224
6fdff2c5 7225 * gdb.python/python.exp: Add extended-prompt tests.
fa3a4f15 7226
c1049fca
JK
72272011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7228
7229 * gdb.arch/i386-dr3-watch.exp
7230 (watchpoint on gap1 does not fit debug registers)
7231 (delete all watchpoints): Fix racy expect strings.
7232
d93f7b5c
YQ
72332011-08-14 Yao Qi <yao@codesourcery.com>
7234
7235 * gdb.base/maint.exp: set data_section to ".neardata".
7236 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
7237 * gdb.base/savedregs.exp: Handle SIGILL.
7238 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
7239 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
7240
457e09f0
DE
72412011-08-12 Doug Evans <dje@google.com>
7242
7243 * gdb.python/py-symbol.exp: Add test for symbol.type.
7244
5d0bb2fb
UW
72452011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
7246
7247 * gdb.threads/pthreads.exp: Enable on non-native configurations.
7248 * gdb.mi/mi-pthreads.exp: Likewise.
7249 * gdb.mi/mi2-pthreads.exp: Likewise.
7250 * gdb.mi/gdb669.exp.exp: Likewise.
7251
fcdfa280
PA
72522011-08-09 Pedro Alves <pedro@codesourcery.com>
7253
7254 * lib/mi-support.exp (detect_async): Rename to...
7255 (mi_detect_async): ... this.
7256 * gdb.mi/mi-nonstop-exit.exp: Adjust.
7257 * gdb.mi/mi-nonstop.exp: Adjust.
7258 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
7259 * gdb.mi/mi-nsintrall.exp: Adjust.
7260 * gdb.mi/mi-nsmoribund.exp: Adjust.
7261 * gdb.mi/mi-nsthrexec.exp: Adjust.
7262
9d8fa392
PA
72632011-08-09 Pedro Alves <pedro@codesourcery.com>
7264
7265 * gdb.base/display.c (do_loops): New `p_i' local.
7266 * gdb.base/display.exp: Test displaying a variable that is
7267 temporarily at a bad address.
7268
b6cede78
JK
72692011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7270
7271 * gdb.dwarf2/dw2-op-stack-value.S: New file.
7272 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
7273
67bedb8c
JK
72742011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7275
7276 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
7277 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
7278 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 7279
af6e93b2
PA
72802011-08-05 Pedro Alves <pedro@codesourcery.com>
7281
7282 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
7283 procedure.
7284 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
7285
1cf0e11f
YQ
72862011-08-05 Yao Qi <yao@codesourcery.com>
7287
7288 * gdb.base/callfuncs.exp: Set language after main.
7289 * gdb.cp/cplusfuncs.exp: Likewise.
7290 * gdb.cp/inherit.exp: Likewise.
7291
a1e28cb2
UW
72922011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7293
7294 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
7295 * gdb.base/watch-vfork.exp: Skip on remote targets.
7296
d4f5bbb9
UW
72972011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7298
7299 * gdb.threads/thread-find.exp: Support remote targets.
7300
724f4f80
UW
73012011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7302
7303 * gdb.base/jit.exp: Download solib_binfile to target.
7304 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
7305 and call dlopen without full path name.
7306 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
7307 dlopen without full path name.
7308
934709f0
PW
73092011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7310
7311 * gdb.base/break-always.exp: Complete the test
7312 with duplicated breakpoints and enabling/disabling them.
7313
c26106c4
TT
73142011-08-02 Tom Tromey <tromey@redhat.com>
7315
7316 PR gdb/11289:
7317 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
7318
9300444e 73192011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
7320
7321 PR gdb/13045
7322 * gdb.base/float.exp: Add new test case for PR gdb/13045
7323 * gdb.base/float.c: New file.
7324
00bd41d6
PM
73252011-07-28 Phil Muldoon <pmuldoon@redhat.com>
7326
7327 * gdb.python/py-mi.exp: Test printers returning string hint, and
7328 also not returning a value.
7329 * gdb.python/py-prettyprint.c: Add testcase for above.
7330 * gdb.python/py-prettyprint.py: Add test printer for above.
7331
d24f74ce
JK
73322011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7333
7334 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
7335 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
7336 (.Ldie30) Add as field "data4".
7337 (.Ldie32) Rename field "b" to "shl".
7338 (abbrev4) Change for the "data4" field.
7339 (abbrev5, abbrev6) Remove.
7340 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
7341 (p &s.shl): ... here. Add comment.
7342 (p &s.data4): New.
7343
bb7da2bf
JK
73442011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7345
7346 Fix crash on lval_computed values.
7347 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
7348
11081198
JK
73492011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7350
7351 * gdb.base/help.exp (help whatis): Update the expected string.
7352
3c6e0cb3
JK
73532011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7354
7355 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
7356 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
7357 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7358 Change the expected string.
7359
efa80663
PA
73602011-07-26 Pedro Alves <pedro@codesourcery.com>
7361
7362 * gdb.base/watchpoint.exp
7363 (test_disable_enable_software_watchpoint): New procedure.
7364 (top level): Run it.
7365
db8e4570
UW
73662011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
7367
7368 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
7369 executable file "${binfile}", C++ version "${binfile}-cxx".
7370 * gdb.python/py-prettyprint.exp: Likewise.
7371 * gdb.python/py-symbol.exp: Likewise.
7372 * gdb.python/py-type.exp: Likewise.
7373 * gdb.python/py-value.exp: Likewise.
7374 * gdb.python/py-template.exp (test_template_arg): Pass full executable
7375 file name instead of just suffix.
7376
543305c9
JK
73772011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7378
7379 Fix implicit pointer offsets.
7380 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
7381 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
7382 (continue to breakpoint: continue to baz breakpoint for implptr)
7383 (sanity check element 0, sanity check element 1)
7384 (enter the inlined function, check element 0 for the offset)
7385 (check element 1 for the offset)
7386 (continue to breakpoint: ignore the second baz breakpoint): New tests.
7387 (set foo breakpoint for implptr): Update the breakpoint number.
7388
b3215adc
UW
73892011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7390
7391 * gdb.python/py-mi.exp: Use different file names for different
7392 versions of the executable under test.
7393 * gdb.python/py-prettyprint.exp: Likewise.
7394 * gdb.python/py-symbol.exp: Likewise.
7395 * gdb.python/py-template.exp: Likewise.
7396 * gdb.python/py-type.exp: Likewise.
7397 * gdb.python/py-value.exp: Likewise.
7398
182b9acc
UW
73992011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7400
7401 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
7402 flag after restarting GDB if necessary.
7403
e6052b5d
UW
74042011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7405
7406 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
7407
1ced966e
PA
74082011-07-22 Pedro Alves <pedro@codesourcery.com>
7409
7410 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
7411 backend doesn't leave used debug registers behind.
7412
3543a589
TT
74132011-07-22 Tom Tromey <tromey@redhat.com>
7414
7415 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
7416 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
7417 argument.
7418 * gdb.dwarf2/typeddwarf-amd64.S: New file.
7419
14d15303 74202011-07-21 Matt Rice <ratmice@gmail.com>
7421
7422 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
7423 in mostlyclean rule. Add files ending in .core.
7424
9b158ba0 74252011-07-21 Matt Rice <ratmice@gmail.com>
7426
7427 PR macros/12999
7428 * gdb.base/info-macros.c: New test sources.
7429 * gdb.base/info-macros.exp: New tests.
7430
d17b6f81
PM
74312011-07-21 Phil Muldoon <pmuldoon@redhat.com>
7432
7433 * gdb.python/python.exp: Add prompt substitution tests.
7434
918dd910
JK
74352011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7436
7437 Fix crash if referenced CU is aged out.
7438 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
7439 New.
7440 * gdb.dwarf2/implptr.exp: Likewise.
7441
0e37a63c
JK
74422011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7443
7444 * gdb.dwarf2/implptr.S: Rebuilt.
7445 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
7446 (bar): Use them for j, k, l.
7447 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
7448 COMPILE.
7449 (print j in implptr:bar): Update for the intp typedef.
7450 (print p[0].x in implptr:foo): Use more exact regex.
7451
f65cf84c
TT
74522011-07-18 Tom Tromey <tromey@redhat.com>
7453
7454 * gdb.cp/static-method.exp: Add missing single quote.
7455
d5b4a7be
YQ
74562011-07-18 Yao Qi <yao@codesourcery.com>
7457
7458 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
7459 supported.
7460 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7461 * gdb.mi/mi-nonstop.exp: Likewise.
7462 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7463 * gdb.mi/mi-nsintrall.exp: Likewise.
7464 * gdb.mi/mi-nsmoribund.exp: Likewise.
7465 * gdb.mi/mi-nsthrexec.exp: Likewise.
7466 * gdb.python/py-evthreads.exp: Likewise.
7467
e9ea2662
JK
74682011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7469
7470 Code cleanup.
7471 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
7472 it. Substitute it instead of test_compiler_info everywhere.
7473
ce451573
UW
74742011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7475
7476 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
7477 remote targets as well.
7478
756d88a7
UW
74792011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7480
7481 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
7482 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
7483
31f83dc5
UW
74842011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7485
7486 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
7487 a remote machine, not the host.
7488 (gdb_compile_shlib): Set soname if target is remote.
7489
059241a0
PP
74902011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7491
7492 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
7493
28a0b48c 74942011-07-13 Matt Rice <ratmice@gmail.com>
7495
7496 * gdb.python/py-objfile-script-gdb.py: Renamed to
7497 py-objfile-script-gdb.py.in.
7498 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
7499 py-objfile-script-gdb.py.
7500 * gdb.python/py-objfile-script.exp: Update reference to
7501 py-objfile-script-gdb.py.
7502
9a771b67
JK
75032011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7504
7505 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
7506 reference undefined label.
7507
04ad99e6
JK
75082011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7509
7510 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
7511 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
7512 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
7513 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
7514
713389e0
PM
75152011-07-11 Phil Muldoon <pmuldoon@redhat.com>
7516
6fdff2c5 7517 PR python/12438
713389e0 7518 * gdb.python/python.exp: Add maint set/show python print-stack
6fdff2c5 7519 deprecated tests. Add set/show python print-backtrace tests.
713389e0 7520
97d146f8
JK
75212011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7522
7523 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
7524 debug info.
7525
facde0e5 75262011-07-06 Matt Rice <ratmice@gmail.com>
7527
7528 * gdb.python/python.exp: Update filename paths.
7529 * gdb.python/py-symtab.exp: Ditto.
7530
438640d1
MP
75312011-07-06 Marek Polacek <mpolacek@redhat.com>
7532
7533 * gdb.python/py-evthreads.exp: Add missing `$'.
7534
33a365df
MF
75352011-07-06 Jie Zhang <jie.zhang@analog.com>
7536
7537 * config/bfin.exp: New file.
7538 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
7539 * gdb.asm/bfin.inc: New file.
7540
8f7ae686
MP
75412011-07-06 Marek Polacek <mpolacek@redhat.com>
7542
df46027d 7543 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
7544 the whole output.
7545
eb2a6f42
TT
75462011-07-05 Tom Tromey <tromey@redhat.com>
7547
7548 * gdb.java/jprint.java (jprint.hi): New field.
7549 * gdb.java/jprint.exp: Print string.
7550
177b42fe
TJB
75512011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
7552
7553 * gdb.base/call-sc.c: Fix typos.
7554 * gdb.base/ifelse.exp: Likewise.
7555 * gdb.base/structs.c: Likewise.
7556
3b2a0cf2
JB
75572011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7558
7559 * gdb.base/jit-so.exp: New test.
7560 * gdb.base/jit-dlmain.c: New file.
7561 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
7562
46fc714c
JK
75632011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7564
7565 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
7566 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
7567 * gdb.cp/pr9167.exp (p b): Likewise.
7568 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
7569 (test value of P in inner_m, test type of Z in inner_m): Call
7570 setup_xfail for gcc <= 4.5.
46fc714c 7571
418c7cf7
JK
75722011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7573
7574 * gdb.cp/paren-type.cc: New files.
7575 * gdb.cp/paren-type.exp: New files.
7576
3d50dd94
JK
75772011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7578
7579 Stop on first linespec terminator instead of eating what we can.
7580 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
7581 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
7582 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
7583 (break C::f()): ... this one.
7584 (break C::operator()()): New test.
7585 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
7586 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
7587 test.
7588
dcf9f4ab
JK
75892011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7590
7591 Fall back linespec to minimal symbols.
7592 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
7593 error message.
7594 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
7595 * gdb.cp/minsym-fallback-main.cc: New file.
7596 * gdb.cp/minsym-fallback.cc: New file.
7597 * gdb.cp/minsym-fallback.exp: New file.
7598 * gdb.cp/minsym-fallback.h: New file.
7599
3f542ed1
JK
76002011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7601
7602 * gdb.cp/no-dmgl-verbose.cc: New file.
7603 * gdb.cp/no-dmgl-verbose.exp: New file.
7604
76052011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
7606
7607 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
7608 __GI_.
7609 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
7610 (f): New function.
7611 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
7612 (complete p 'func<short>(): ... here.
7613 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
7614 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
7615 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
7616 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
7617 Make them KFAIL gcc/49546.
7618
00eb2c4a
JB
76192011-07-01 Joel Brobecker <brobecker@adacore.com>
7620
7621 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
7622
85a20c42
JK
76232011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7624
7625 Test GCC PR debug/49546.
7626 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
7627 (test type of F in k3_m, test value of F in k3_m): New.
7628 * gdb.cp/temargs.cc (struct S3, struct K3): New.
7629 (main): New variable k3. Call k3.k3_m.
7630
d2d43431
JB
76312011-07-01 Jean-Charles Delay <delay@adacore.com>
7632
7633 * gdb.ada/packed_array.exp: Fix expected outout.
7634
54ae186f
JB
76352011-07-01 Jean-Charles Delay <delay@adacore.com>
7636
7637 * gdb.ada/packed_array.exp: fixed expected output.
7638
8f17729f
JB
76392011-07-01 Joel Brobecker <brobecker@adacore.com>
7640
7641 * gdb.ada/same_enum: New testcase.
7642
f5aa6869
JB
76432011-07-01 Joel Brobecker <brobecker@adacore.com>
7644
7645 * gdb.ada/ptr_typedef: New testcase.
7646
828292f2
JB
76472011-07-01 Joel Brobecker <brobecker@adacore.com>
7648
7649 * gdb.ada/arrayptr.exp: Add ptype test.
7650
18920c42
JB
76512011-07-01 Joel Brobecker <brobecker@adacore.com>
7652
7653 * gdb.ada/char_enum: New testcase.
7654
3536d9e3 76552011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
7656
7657 * gdb.base/dump.exp (capture_pointer_with_type): New.
7658 Get value from address instead of name.
7659 Start GDB once, and do `dump' and `restore'
7660 tests together.
7661
db863c42
MF
76622011-06-30 Jie Zhang <jie.zhang@analog.com>
7663 Mike Frysinger <vapier@gentoo.org>
7664
7665 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
7666 helper functions for getting/setting remotetimeout variable.
7667 * lib/gdb.exp (gdb_load): If the target is remote, set
7668 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
7669 with $loadtimeout. Set $load_ok to 0 before doing the load.
7670 Instead of returning, immediately, set $load_ok to 0. Call
7671 set_remotetimeout with $oldremotetimeout, and then return if
7672 $load_ok is 1.
7673
e9e642a8
AB
76742011-06-30 Andrew Burgess <aburgess@broadcom.com>
7675
7676 * gdb.python/py-template.exp: Don't run this test if the target
7677 does not support c++ tests.
7678
32019081
JK
76792011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7680
7681 Fix non-only rename list for Fortran modules import.
7682 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
7683 tests.
7684 * gdb.fortran/module.f90 (module moduse): New.
7685 (program module): use moduse, test var_x, var_y and var_z.
7686
0ecee54c
TT
76872011-06-29 Tom Tromey <tromey@redhat.com>
7688
7689 PR testsuite/12040:
7690 * gdb.fortran/array-element.exp: Use f90, not f77.
7691 * gdb.fortran/complex.exp: Use f90, not f77.
7692 * gdb.fortran/derived-type.exp: Use f90, not f77.
7693 * gdb.fortran/library-module.exp: Use f90, not f77.
7694 * gdb.fortran/logical.exp: Use f90, not f77.
7695 * gdb.fortran/module.exp: Use f90, not f77.
7696 * gdb.fortran/multi-dim.exp: Use f90, not f77.
7697 * gdb.fortran/subarray.exp: Use f90, not f77.
7698
3b2b8fea
TT
76992011-06-29 Tom Tromey <tromey@redhat.com>
7700
7701 * gdb.fortran/charset.exp: New file.
7702 * gdb.fortran/charset.f90: New file.
7703
42159ca5
TT
77042011-06-29 Tom Tromey <tromey@redhat.com>
7705
7706 PR testsuite/12040:
7707 * lib/future.exp: New file, mostly extracted from ada.exp.
7708 Rewrote compatibility code to use rename.
7709 (gdb_find_gfortran): New proc.
7710 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
7711 gfortran patch.
7712 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
7713 Move to future.exp.
7714 * lib/gdb.exp: Always load future.exp.
7715
af69a5ce
YQ
77162011-06-28 Yao Qi <yao@codesourcery.com>
7717
7718 * gdb.cp/exception.cc: Don't include iostream.
7719 (bar): Remove print statement.
7720 (catcher): New.
7721 (main): Remove print statements. Call function catcher.
7722 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
7723 Set breakpoint on catcher, and check the value of parameter.
7724
ab5c6a72
YQ
77252011-06-23 Yao Qi <yao@codesourcery.com>
7726
6fdff2c5
PA
7727 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
7728 breakpoint 1.2 is disabled. KFAIL for uclinux.
ab5c6a72 7729
9497469f
MP
77302011-06-23 Marek Polacek <mpolacek@redhat.com>
7731
7732 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
7733 mi_gdb_test.
7734
b9132588
MP
77352011-06-23 Marek Polacek <mpolacek@redhat.com>
7736
5d197ed0 7737 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 7738
e55595ca
MP
77392011-06-23 Marek Polacek <mpolacek@redhat.com>
7740
5d197ed0
MP
7741 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
7742
77432011-06-23 Marek Polacek <mpolacek@redhat.com>
7744
7745 * gdb.mi/mi2-basics.exp: Fix races. Honour the
7746 `test_exec_and_symbol_mi_operatons' return value.
7747 (test_mi_interpreter_selection): Use mi_gdb_test instead of
7748 gdb_test_multiple.
7749 (test_exec_and_symbol_mi_operatons): Likewise.
7750 (test_path_specification): Likewise.
e55595ca 7751
be777e08
YQ
77522011-06-23 Yao Qi <yao@codesourcery.com>
7753
7754 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
7755 supported.
7756 * lib/gdb.exp (support_displaced_stepping): New.
7757
615556d6
YQ
77582011-06-23 Yao Qi <yao@codesourcery.com>
7759
7760 * gdb.threads/execl.exp: Skip on remote target.
7761
833b0ca7
MP
77622011-06-21 Marek Polacek <mpolacek@redhat.com>
7763
5d197ed0 7764 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
7765 mi_gdb_test.
7766
1ee4023a
MP
77672011-06-20 Marek Polacek <mpolacek@redhat.com>
7768
5d197ed0 7769 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 7770
d0b1d624
MP
77712011-06-20 Marek Polacek <mpolacek@redhat.com>
7772
5d197ed0 7773 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
7774 mi_gdb_test.
7775
79aa92c1
MP
77762011-06-20 Marek Polacek <mpolacek@redhat.com>
7777
5d197ed0 7778 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 7779
5ce5db06
YQ
77802011-06-14 Yao Qi <yao@codesourcery.com>
7781
7782 gdb/testsuite/
7783 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
7784
533a737e
JK
77852011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7786
7787 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
7788
d0e53741
TT
77892011-06-10 Tom Tromey <tromey@redhat.com>
7790
7791 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
7792 Add tests for pointer-to-member-function.
7793 * gdb.cp/temargs.cc (S::somefunc): New function.
7794 (K2): New class.
7795 (main): Instantiate K2; call method.
7796
b5916bbd
JB
77972011-06-08 Joel Brobecker <brobecker@adacore.com>
7798
7799 * gdb.python/py-inferior.c (f2): Make str an array rather
7800 than a pointer.
7801 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
7802
5be4dfca
JK
78032011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7804
7805 * gdb.base/async-shell.c: New file.
7806 * gdb.base/async-shell.exp: New file.
7807
9f47e254
PA
78082011-06-06 Pedro Alves <pedro@codesourcery.com>
7809
7810 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
7811
64b9b334
JB
78122011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
7813
7814 From Stephen Kitt <steve@sk2.org>
7815 * gdb.base/help.exp: Adjust following some spelling corrections
7816 in GDB.
7817
dbc0f131
YQ
78182011-06-01 Yao Qi <yao@codesourcery.com>
7819
7820 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
7821
fd336a18
KS
78222010-05-31 Keith Seitz <keiths@redhat.com>
7823
7824 PR c++/12750
7825 * gdb.cp/static-method.cc: New file.
7826 * gdb.cp/static-method.exp: New file.
7827
fa8b9902
KS
78282010-05-31 Keith Seitz <keiths@redhat.com>
7829
7830 PR symtab/12704
7831 * gdb.cp/anon-ns.cc: New file.
7832 * gdb.cp/anon-ns.exp: New file.
7833
0a5b1e09
PA
78342011-05-31 Pedro Alves <pedro@codesourcery.com>
7835
7836 * gdb.arch/i386-dr3-watch.c: New file.
7837 * gdb.arch/i386-dr3-watch.exp: New file.
7838
0578b8d1
YQ
78392011-05-30 Yao Qi <yao@codesourcery.com>
7840
7841 * gdb.base/callfuncs.c (t_structs_fc): New.
7842 (t_structs_dc, t_structs_ldc): New.
7843 (t_double_many_args):
7844 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
7845 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
7846 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
7847 * gdb.base/callfuncs.exp: Call new functions.
7848
6680506e
YQ
78492011-05-30 Yao Qi <yao@codesourcery.com>
7850
ff4d2c60
YQ
7851 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
7852 Call rerun_and_prepare for each test to isolate effects.
7853
78542011-05-30 Yao Qi <yao@codesourcery.com>
7855
7856 * gdb.base/varargs.c (find_max_float_real): New.
7857 (find_max_double_real, find_max_long_double_real): New.
7858 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
7859 * lib/gdb.exp (setup_kfail_for_target): New.
7860
e43ec454
YQ
78612011-05-30 Yao Qi <yao@codesourcery.com>
7862
7863 * gdb.base/funcargs.c (callca, callcb, callcc): New.
7864 (callcd, callce, callcf, callc1a, callc1b): New.
7865 (callc2a, callc2b): New.
7866 * gdb.base/funcargs.exp (complex_args): New.
7867 (complex_integral_args, complex_float_integral_args): New.
7868 * lib/gdb.exp (support_complex_tests): New. Determine
7869 whether to run test cases on _Complex types.
7870
432b4d03
JK
78712011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7872
7873 * gdb.threads/leader-exit.c: New file.
7874 * gdb.threads/leader-exit.exp: New file.
7875
6caf069d
MP
78762011-05-27 Marek Polacek <mpolacek@redhat.com>
7877
9497469f 7878 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 7879
97fce28b
MP
78802011-05-27 Marek Polacek <mpolacek@redhat.com>
7881
7882 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
7883 remove the `supported' variable.
7884 * gdb.mi/mi-nonstop.exp: Likewise.
7885 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7886 * gdb.mi/mi-nsintrall.exp: Likewise.
7887 * gdb.mi/mi-nsmoribund.exp: Likewise.
7888 * gdb.mi/mi-nsthrexec.exp: Likewise.
7889
9da8c2a0
PA
78902011-05-26 Pedro Alves <pedro@codesourcery.com>
7891
7892 * gdb.reverse/finish-reverse-bkpt.exp: New test.
7893
2c03e5be
PA
78942011-05-26 Pedro Alves <pedro@codesourcery.com>
7895
7896 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
7897
2e21250d
KS
78982011-05-24 Keith Seitz <keiths@redhat.com>
7899
7900 PR breakpoint/12803
7901 * gdb.cp/cmpd-minsyms.cc (a): New method.
7902 (b): New method.
7903 (c): New method.
7904 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
7905
cdac0397
PA
79062011-05-24 Pedro Alves <pedro@codesourcery.com>
7907
7908 * gdb.base/commands.exp (watchpoint_command_test): Check that the
7909 watchpoint's command list didn't execute when the watchpoint went
7910 out of scope.
7911
ee5683ab
PM
79122011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
7913
7914 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
7915 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
7916 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
7917 * gdb.arch/i386-gnu-cfi.exp: Likewise.
7918 * gdb.arch/i386-permbkpt.exp: Likewise.
7919 * gdb.arch/i386-prologue.exp: Likewise.
7920 * gdb.arch/i386-size-overlap.exp: Likewise.
7921 * gdb.arch/i386-size.exp: Likewise.
7922 * gdb.arch/i386-unwind.exp: Likewise.
7923 * gdb.reverse/i386-precsave.exp: Likewise.
7924 * gdb.reverse/i386-reverse.exp: Likewise.
7925 * gdb.reverse/i386-sse-reverse.exp: Likewise.
7926 * gdb.reverse/i387-env-reverse.exp: Likewise.
7927 * gdb.reverse/i387-stack-reverse.exp: Likewise.
7928
c91c8c16
PA
79292011-05-24 Pedro Alves <pedro@codesourcery.com>
7930
7931 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
7932 file doesn't error, using MI.
7933
c50491a7
TT
79342011-05-23 Tom Tromey <tromey@redhat.com>
7935
7936 * gdb.base/charset.exp (string_display): Add tests to assign to
7937 arrays.
7938 * gdb.base/charset.c (short_array, int_array, long_array): New.
7939
4a07b7da
PA
79402011-05-20 Pedro Alves <pedro@codesourcery.com>
7941
7942 Cope with async mode.
7943
4a07b7da
PA
7944 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
7945 into gdb_test + mi_expect_stop.
7946
b275f2d2
PA
79472011-05-20 Pedro Alves <pedro@codesourcery.com>
7948
7949 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
7950 (callme): Remove printf call.
7951
eec52c44
PM
79522011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
7953
7954 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
7955 quote pattern to avoid problems with Cygwin/mingw expect versions.
7956 * gdb.base/default.exp (show convenience): Use double
7957 quote pattern for regular expressions.
7958
b3c8eb43
JK
79592011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7960
7961 Fix -readnow for -gdwarf-4 unused type units.
7962 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
7963 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
7964
ed731959
JK
79652011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7966
7967 * gdb.base/kill-after-signal.c: New file.
7968 * gdb.base/kill-after-signal.exp: New file.
7969
3b48433d
PA
79702011-05-16 Pedro Alves <pedro@codesourcery.com>
7971
7972 * gdb.ada/start.exp: Call untested with the correct test filename.
7973 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
7974 test filename. Make the test's binary unique.
7975 * gdb.arch/i386-signal.exp: Call untested with the correct test
7976 filename.
7977 * gdb.arch/i386-size-overlap.exp: Ditto.
7978 * gdb.arch/Makefile.in (EXECUTABLES): Update.
7979 * gdb.base/gcore-buffer-overflow.exp: Ditto.
7980 * gdb.cp/call-c.exp: Ditto.
7981 * gdb.mi/mi-reverse.exp: Call untested with the correct test
7982 filename. Make the test's binary unique.
7983 * gdb.mi/Makefile.in (EXECUTABLES): Update.
7984 * gdb.python/py-mi.exp: Ditto.
7985 * gdb.python/Makefile.in (EXECUTABLES): Update.
7986 * gdb.reverse/i386-precsave.exp: Ditto.
7987 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
7988 test filename.
7989 * gdb.reverse/i387-stack-reverse.exp: Ditto.
7990 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
7991 unique.
7992 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
7993 test filename.
7994 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
7995 * gdb.trace/tfile.exp: Ditto.
7996
ba4a8bdd
YQ
79972011-05-14 Yao Qi <yao@codesourcery.com>
7998
7999 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
8000 type.
8001
dbaefcf7
DE
80022011-05-13 Doug Evans <dje@google.com>
8003
8004 * gdb.python/py-objfile-script.exp: New file.
8005 * gdb.python/py-objfile-script.c: New file.
8006 * gdb.python/py-objfile-script-gdb.py: New file.
8007 * testsuite/gdb.python/py-section-script.exp: Test
8008 "info auto-load-scripts".
8009
9930639c
TT
80102011-05-13 Tom Tromey <tromey@redhat.com>
8011
8012 * gdb.dwarf2/clztest.exp: New file.
8013 * gdb.dwarf2/clztest.c: New file.
8014 * gdb.dwarf2/clztest.S: New file.
8015
05272e11
DE
80162011-05-13 Doug Evans <dje@google.com>
8017
cc63ef9b
DE
8018 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
8019 String16 tests.
05272e11 8020
6edba76f
TT
80212011-05-13 Tom Tromey <tromey@redhat.com>
8022
8023 * lib/gdb.exp (is_x86_like_target): New proc.
8024 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
8025 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
8026 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
8027 -nostdlib to compiler.
8028 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
8029 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
8030 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
8031 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
8032 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
8033
028d0ed5
TJB
80342011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8035
8036 * gdb.python/py-function.exp: Test setting a value from a function
8037 which executes a command.
8038
8a9b8146
TT
80392011-05-12 Tom Tromey <tromey@redhat.com>
8040
8041 * gdb.dwarf2/typeddwarf.S: New file.
8042 * gdb.dwarf2/typeddwarf.c: New file.
8043 * gdb.dwarf2/typeddwarf.exp: New file.
8044
10483e8e
MP
80452011-05-12 Marek Polacek <mpolacek@redhat.com>
8046
8047 * gdb.mi/mi-basics.exp: Fix races. Honour the
8048 `test_exec_and_symbol_mi_operatons' return value.
8049 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8050 gdb_test_multiple.
8051 (test_exec_and_symbol_mi_operatons): Likewise.
8052 (test_path_specification): Likewise.
8053
faf067f1
JK
80542011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8055
8056 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
8057 (gdb_touch_execfile): Remove catch wrappers. New variable time.
8058 Replace `file copy' and `file rename' by `file mtime'. Twice.
8059
7ff911a3
JK
80602011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8061
8062 * gdb.base/readline-ask.c: New file.
8063 * gdb.base/readline-ask.exp: New file.
8064 * gdb.base/readline-ask.inputrc: New file.
8065
a536c6d7
UW
80662011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
8067
8068 * gdb.cell/bt.exp: Delete breakpoints before running to signal
8069 to avoid race condition.
8070 * gdb.cell/coremaker.c: Use small stack size.
8071 * gdb.cell/ea-standalone.exp: Use file name without path as
8072 argument to c_to.
8073 * gdb.cell/fork.exp: Allow other output when continuing to end.
8074
d472a426
JK
80752011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8076
8077 * gdb.threads/corethreads.c: New file.
8078 * gdb.threads/corethreads.exp: New file.
8079
80802011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
8081
8082 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
8083 Try to compile the test using -Wl,-z,norelro first.
8084 (load_core): New variable libthread_db_seen, initialize it.
8085 (zeroed-threads cannot be listed): Protect it by XFAIL on
8086 !$libthread_db_seen.
8087
8be455d7
JK
80882011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8089
8090 PR 12573
8091 * gdb.dwarf2/dw2-skip-prologue.S: New file.
8092 * gdb.dwarf2/dw2-skip-prologue.c: New file.
8093 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
8094
1976171a
JK
80952011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8096
8097 * gdb.cp/psymtab-parameter.cc: New file.
8098 * gdb.cp/psymtab-parameter.exp: New file.
8099
7db6f30f
JK
81002011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8101
8102 Fix a race.
8103 * gdb.cp/static-print-quit.exp (print c): Split to ...
8104 (print c - <return>, print c - q <return>, print c - to quit):
8105 ... these. Make the testfile untested on gdb-7.1.
8106
85161e9e 81072011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
8108
8109 * lib/gdb.exp (exec_target_file, exec_symbol_file,
8110 gdb_rename_execfile, gdb_touch_execfile): New.
8111 * gdb.base/reread.exp: Use new procs to handle multiple
8112 exec files.
8113
0c51be18
YQ
81142011-05-05 Yao Qi <yao@codesourcery.com>
8115
8116 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
8117 (test_adr_32bit, test_pop_pc): New.
8118 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
8119 (test_adr_32bit, test_pop_pc): New.
8120
4d393d60
JM
81212011-05-04 Joseph Myers <joseph@codesourcery.com>
8122
8123 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
8124 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
8125 targets.
8126 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
8127 handle targets.
8128
8ffd0459
JK
81292011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8130
8131 * gdb.base/completion.exp (complete help info wat): Rename to ...
8132 (complete 'help info wat'): ... here.
8133 Remove all `-re ".*' and `-re "^.*' redundant regexes.
8134 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
8135
8e28d804
PA
81362011-05-04 Pedro Alves <pedro@codesourcery.com>
8137
8138 * gdb.base/completion.exp: Use gdb_test_multiple instead of
8139 gdb_test and explicit $gdb_prompt/timeout matches.
8140
3eb2ef34
YQ
81412011-05-04 Yao Qi <yao@codesourcery.com>
8142
8143 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
8144 and __thumb2__.
8145
aaaf81a3
MP
81462011-05-03 Marek Polacek <mpolacek@redhat.com>
8147
8148 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
8149 in place of `gdb_test "delete breakpoints"'. This eliminates two
8150 testcases.
8151
c4cbc0df
PA
81522011-05-02 Pedro Alves <pedro@codesourcery.com>
8153
8154 PR testsuite/12649
8155 Fix races.
8156
8157 * gdb.base/completion.exp: Remove all sleep calls. Remove
8158 unnecessary regexs. Don't explicitly expect anything after the
8159 prompt. Eat the prompt if necessary.
8160
b4cbb4a3
EBM
81612011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
8162
8163 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
8164 accept to show the caller line again as well as the line after.
8165
d65aec65
PM
81662011-04-29 Phil Muldoon <pmuldoon@redhat.com>
8167
8168 PR mi/12531
8169
8170 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
8171 compile target.
8172 * gdb.python/py-prettyprint.exp: Add C++ object for
8173 CPLUS_FAKE_CHILD test.
8174
30852783
UW
81752011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
8176
8177 * gdb.base/signest.exp: New file.
8178 * gdb.base/signest.c: Likewise.
8179
c7b1f0d9
JK
81802011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8181
8182 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
8183 thread and breakpoint notifications.
8184
559a7a62
JK
81852011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8186
8187 * gdb.base/fortran-sym-case.c: New file.
8188 * gdb.base/fortran-sym-case.exp: New file.
8189 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
8190 * gdb.dwarf2/dw2-case-insensitive.c: New file.
8191 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
8192
8344e389
JK
81932011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8194
8195 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
8196 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
8197 false #1', `if true else false #2' and `if true else false #3'.
8198
2484c66b
UW
81992011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
8200
8201 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
8202 while delivering signal.
8203
8d3788bd
VP
82042011-04-27 Vladimir Prus <vladimir@codesourcery.com>
8205
8206 MI breakpoint notifications.
8207
8208 * testsuite/gdb.mi/mi-cli.exp: Adust.
6fdff2c5
PA
8209 * testsuite/gdb.mi/mi2-cli.exp: Adust.
8210 * testsuite/gdb.mi/mi-watch.exp: Adust.
8211 * testsuite/gdb.mi/mi2-watch.exp: Adust.
8212 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
8213 notifications.
8d3788bd 8214
3e03848b
JK
82152011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8216
8217 * gdb.base/gdbindex-stabs-dwarf.c: New file.
8218 * gdb.base/gdbindex-stabs.c: New file.
8219 * gdb.base/gdbindex-stabs.exp: New file.
8220
918c9108
YQ
82212011-04-25 Yao Qi <yao@codesourcery.com>
8222
8223 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
8224 with /*...*/.
8225 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
8226
90556b8c
JK
82272011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8228
8229 * gdb.python/py-value.exp (test_objfiles): Name the first test
8230 `py-value in file.filename'.
8231
03f2bd59
JK
82322011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8233
8234 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
8235 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
8236 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
8237 !gdbserver_reconnect_p..
8238 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
8239
7b08b9eb
JK
82402011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8241
8242 * gdb.cp/cpcompletion.exp (complete class methods)
8243 (complete class methods beginning with F): Move them above runto. New
8244 comment about the runto delimiter.
8245
b78974c3
PA
82462011-04-20 Pedro Alves <pedro@codesourcery.com>
8247
8248 * gdb.base/maint.exp: Test that "maint print registers" works
8249 without a running program.
8250
20429c40 82512011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 8252
20429c40
MP
8253 * gdb.base/setshow.exp: Fix racy tests.
8254 ($old_gdb_prompt): New variable.
8255
7a9dd1b2
TT
82562011-04-19 Tom Tromey <tromey@redhat.com>
8257
8258 * gdb.mi/mi-nsmoribund.exp:
8259 * gdb.hp/gdb.objdbg/objdbg01.exp:
8260 * gdb.base/structs.exp (test_struct_returns):
8261 * gdb.base/call-sc.exp (test_scalar_returns):
8262 * gdb.base/bigcore.exp: Remove duplicate words.
8263
02835898
JK
82642011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8265
8266 * gdb.base/break-interp-lib.c (v, vptr): New variables.
8267 * gdb.base/break-interp.exp (test_attach): New comment.
8268
254f582e
JK
82692011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8270
8271 * gdb.threads/gcore-thread.exp ($core0file): New variable.
8272 (clear __stack_user.next, clear stack_used.next)
8273 (save a zeroed-threads corefile): New test.
8274 Call core_load for $core0file.
8275 (zeroed-threads cannot be listed): New test.
8276
4fe85f5c
JK
82772011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8278
8279 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
8280 filename.
8281 ($srcfile): Preserve the original value.
8282 ($testfile): Match it the .exp filename.
8283 ($corefile): New variable. Substitute it around.
8284 Use clean_restart.
8285 ($prev_timeout): Remove.
8286 (load_core): Move core loading into this proc.
8287 Fix restore of $timeout if load_core fails.
8288
63524580
JK
82892011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8290
8291 * gdb.base/eu-strip-infcall.c: New file.
8292 * gdb.base/eu-strip-infcall.exp: New file.
8293
90359a16
JK
82942011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8295
8296 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
8297 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
8298
626e7282
JK
82992011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8300
8301 Fix Python access to inlined frames.
8302 * gdb.python/py-frame-inline.c: New file.
8303 * gdb.python/py-frame-inline.exp: New file.
8304
3363d018
EBM
83052011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
8306
8307 * gdb.base/gdb1090.exp: Change breakpoint location to read the
8308 content of 's24' correctly (avoiding "optimized out").
8309 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
8310
28781456
JK
83112011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8312
8313 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
8314
4a4106ca
TJB
83152011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8316
8317 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
8318 expect a colon in watch -location output.
8319
d26ccb4f
JK
83202011-04-13 Marek Polacek <mpolacek@redhat.com>
8321
df46027d 8322 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
8323 New testcase `expect response to define backtrace'. Also remove
8324 redundant `default' block.
8325
e1ab1f9c
JK
83262011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8327
8328 * gdb.python/py-prettyprint.c (struct hint_error): New.
8329 (main): New variable hint_error.
8330 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
8331 "print hint_error".
8332 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
8333 (register_pretty_printers): Register it.
8334
0c2e6019
TT
83352011-04-04 Tom Tromey <tromey@redhat.com>
8336
8337 * gdb.cp/maint.exp (test_help): Update.
8338 (test_namespace): Likewise.
8339
af57139d
JB
83402011-04-01 Joel Brobecker <brobecker@adacore.com>
8341
8342 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
8343 * gdb.ada/arrayptr.exp: Add new tests.
8344
956a9fb9
JB
83452011-04-01 Joel Brobecker <brobecker@adacore.com>
8346
8347 * gdb.ada/mi_catch_ex: New testcase.
8348
d0c4d642
PA
83492011-04-01 Pedro Alves <pedro@codesourcery.com>
8350
8351 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
8352 base::overload(void) method without specifying "const".
8353
18819fa6
UW
83542011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
8355
8356 * gdb.arch/thumb-singlestep.S: New file.
8357 * gdb.arch/thumb-singlestep.exp: Likewise.
8358
a4c8e806
TT
83592011-03-31 Tom Tromey <tromey@redhat.com>
8360
8361 * gdb.python/py-prettyprint.py (exception_flag): New global.
8362 (NoStringContainerPrinter._iterator.next): Check it.
8363 * gdb.python/py-prettyprint.c (main): New variable nstype2.
8364 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
8365
53832f31
TT
83662011-03-29 Tom Tromey <tromey@redhat.com>
8367
8368 * gdb.cp/anon-struct.cc: New file.
8369 * gdb.cp/anon-struct.exp: New file.
8370
e4620230
JK
83712011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8372
8373 Test STT_GNU_IFUNC support.
8374 * gdb.base/gnu-ifunc-lib.c: New file.
8375 * gdb.base/gnu-ifunc.c: New file.
8376 * gdb.base/gnu-ifunc.exp: New file.
8377
d0fb5eae
JK
83782011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8379
8380 Support a ring of related breakpoints.
8381 * gdb.base/watchpoint-delete.c: New file.
8382 * gdb.base/watchpoint-delete.exp: New file.
8383
20106cfb
JK
83842011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8385
8386 * gdb.ada/arrayparam.exp (print first after function call): Use
8387 explicit package name. Add a comment
8388 (print lasta after function call): Rename ...
8389 (print last after function call): ... it and use explicit package
8390 name.
8391 (print length after function call): Use explicit package name.
8392 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
8393 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
8394 (multiple matches for symbol i): Rename ...
8395 (multiple matches for symbol integervar): ... it.
8396 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
8397 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
8398
e7ab5e63
AB
83992011-03-25 Andrew Burgess <aburgess@broadcom.com>
8400
8401 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
8402 environment variable to make grep output more predictable. Move
8403 all the environment setup into gdb_init so it's done once per test
8404 case rather than each time we start gdb.
8405
9ef07c8c
TT
84062011-03-24 Tom Tromey <tromey@redhat.com>
8407
8408 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
8409 test.
8410
dd90784c
JK
84112011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8412
8413 * gdb.dwarf2/dw2-entry-value-main.c: New file.
8414 * gdb.dwarf2/dw2-entry-value.S: New file.
8415 * gdb.dwarf2/dw2-entry-value.exp: New file.
8416
05775840
PM
84172011-03-22 Phil Muldoon <pmuldoon@redhat.com>
8418
6fdff2c5 8419 PR python/12183
05775840
PM
8420
8421 * gdb.python/py-function.exp: Add GdbError tests.
8422
8661b11b
PA
84232011-03-18 Pedro Alves <pedro@codesourcery.com>
8424
8425 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
8426 (reglocal_test_func, statlocal_test_func): New functions.
8427 (globals_test_func): Call new functions.
8428 * gdb.trace/unavailable.exp (gdb_collect_args_test)
8429 (gdb_collect_locals_test): New procedure.
8430 (gdb_trace_collection_test): Call new procedures.
8431
0fdb4f18
PA
84322011-03-18 Pedro Alves <pedro@codesourcery.com>
8433
8434 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
8435 (test_register, test_register_unavailable): New procedures.
8436 (gdb_unavailable_registers_test): New procedure.
8437 (gdb_trace_collection_test): Call it.
8438
99c3dc11
PM
84392011-03-18 Phil Muldoon <pmuldoon@redhat.com>
8440
6fdff2c5 8441 PR python/12149
99c3dc11
PM
8442
8443 * gdb.python/python.exp: Add gdb.write tests.
8444
29703da4
PM
84452010-03-17 Phil Muldoon <pmuldoon@redhat.com>
8446
8447 * gdb.python/Makefile.in: Add py-objfile.
8448 * gdb.python/py-objfile.exp: New file.
8449 * gdb.python/py-objfile.c: New file.
8450 * gdb.python/py-block.exp: Add is_valid tests.
8451 * gdb.python/py-inferior.exp: Ditto.
8452 * gdb.python/py-infthread.exp: Ditto.
8453 * gdb.python/py-symbol.exp: Ditto.
8454 * gdb.python/py-symtab.exp: Ditto.
8455
598997c8
KS
84562011-03-16 Keith Seitz <keiths@redhat.com>
8457
8458 PR c++/12273
8459 * gdb.cp/cmpd-minsyms.exp: New test.
8460 * gdb.cp/cmpd-minsyms.cc: New file.
8461
8462 PR c++/11734
8463 * gdb.cp/ovsrch.exp: New test.
8464 * gdb.cp/ovsrch.h: New file.
8465 * gdb.cp/ovsrch1.cc: New file.
8466 * gdb.cp/ovsrch2.cc: New file.
8467 * gdb.cp/ovsrch3.cc: New file.
8468 * gdb.cp/ovsrch4.cc: New file.
8469
c91513d8
PP
84702011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8471
8472 PR gdb/12528
8473 * gdb.base/Makefile.in: Adjust EXECUTABLES.
8474 * gdb.base/break-on-linker-gcd-function.exp: New test.
8475 * gdb.base/break-on-linker-gcd-function.cc: New file.
8476
7470fc63
AT
84772011-03-15 Andreas Tobler <andreast@fgznet.ch>
8478
8479 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
8480
959e7469
PM
84812011-03-15 Phil Muldoon <pmuldoon@redhat.com>
8482
8483 * lib/gdb.exp (gdb_unload): Add another termination case.
8484
9373cf26
JK
84852011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8486
8487 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
8488 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
8489 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
8490 Provide a stub byte there.
8491 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
8492 DW_AT_entry_pc.
8493 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
8494
24e9cda0
UW
84952011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
8496
8497 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
8498 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
8499 "generic ABI, auto".
8500 (altivec_abi_tests): Accept vectors returned by reference.
8501
7371cf6d
PM
85022010-03-14 Phil Muldoon <pmuldoon@redhat.com>
8503
8504 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
8505
ce77046a
UW
85062011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
8507
8508 * gdb.python/py-section-script.exp: Skip test if no Python support.
8509
176400c3
UW
85102011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
8511
8512 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
8513
ecec24e6
PM
85142011-03-10 Phil Muldoon <pmuldoon@redhat.com>
8515
8516 * gdb.python/py-parameter.exp: Update tests to the new Python
8517 parameter API. Add "no documentation" test. Add deprecated API
8518 backward compatibility test.
8519
5dbdd470
TT
85202011-03-09 Tom Tromey <tromey@redhat.com>
8521
8522 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
8523 gdb_continue_to_end.
8524
b66e66ee
MK
85252011-03-09 Mark Kettenis <kettenis@gnu.org>
8526
8527 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
8528 tabs.
8529
eceb0c5f
TT
85302011-03-09 Tom Tromey <tromey@redhat.com>
8531
8532 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
8533 parentheses.
8534 (gdb_continue_to_end): Add "allow_extra" parameter. Use
8535 $command.
8536 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
8537 argument to gdb_continue_to_end.
8538 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
8539 argument to gdb_continue_to_end.
8540 * gdb.cp/annota3.exp: Fix regex.
8541 * gdb.cp/annota2.exp: Fix regex.
8542 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
8543 gdb_continue_to_end.
8544 * gdb.base/call-signal-resume.exp: Revert earlier patch.
8545 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
8546 gdb_continue_to_end.
8547
63154eca
PA
85482011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8549
8550 * gdb.server/ext-run.exp
8551 (load new file without any gdbserver inferior): New test.
8552
967d1f9b
TT
85532011-03-07 Tom Tromey <tromey@redhat.com>
8554
8555 * Makefile.in (TAGS): Rewrite.
8556
d68dcbb9
JK
85572011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8558
8559 * gdb.trace/report.exp (12.1: trace report #1): New match for the
8560 initial commands echo. New match for `Found trace'. Anchor all the
8561 other matches. Anchor and match for `No trace frame found' the final
8562 match.
8563
6bf58e63
TT
85642011-03-07 Tom Tromey <tromey@redhat.com>
8565
8566 * Makefile.in (TAGS): New target.
8567
fda326dd
TT
85682011-03-07 Tom Tromey <tromey@redhat.com>
8569
8570 * lib/opencl.exp (skip_opencl_tests): Update for exit message
8571 change.
8572 * lib/mi-support.exp (mi_gdb_test): Update for exit message
8573 change.
8574 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
8575 exit message change.
8576 (skip_altivec_tests): Update for exit message change.
8577 (skip_vsx_tests): Likewise.
8578 (gdb_continue_to_end): Likewise. Add 'command' argument.
8579 * lib/cell.exp (skip_cell_tests): Update for exit message change.
8580 * gdb.threads/tls.exp: Update for exit message change.
8581 * gdb.threads/thread-unwindonsignal.exp: Use
8582 gdb_continue_to_end.
8583 * gdb.threads/step.exp (step_it): Update for exit message change.
8584 (continue_all): Likewise.
8585 * gdb.threads/print-threads.exp (test_all_threads): Update for
8586 exit message change.
8587 * gdb.threads/interrupted-hand-call.exp: Use
8588 gdb_continue_to_end.
8589 * gdb.threads/execl.exp: Use gdb_continue_to_end.
8590 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
8591 gdb_continue_to_end.
8592 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
8593 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
8594 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
8595 * gdb.cp/method.exp: Update for exit message change.
8596 * gdb.cp/mb-templates.exp: Update for exit message change.
8597 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
8598 * gdb.cp/annota3.exp: Update for exit message change.
8599 * gdb.cp/annota2.exp: Update for exit message change.
8600 * gdb.cell/fork.exp: Use gdb_continue_to_end.
8601 * gdb.base/term.exp: Update for exit message change.
8602 * gdb.base/step-test.exp (test_i): Update for exit message change.
8603 * gdb.base/sigstep.exp (advance): Update for exit message change.
8604 (advancei): Likewise.
8605 * gdb.base/siginfo.exp: Update for exit message change.
8606 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
8607 * gdb.base/reread.exp: Use gdb_continue_to_end.
8608 * gdb.base/langs.exp: Use gdb_continue_to_end.
8609 * gdb.base/interrupt.exp: Update for exit message change.
8610 * gdb.base/gdb1555.exp: Update for exit message change.
8611 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
8612 * gdb.base/ending-run.exp: Update for exit message change.
8613 * gdb.base/chng-syms.exp: Update for exit message change.
8614 * gdb.base/checkpoint.exp: Update for exit message change.
8615 * gdb.base/catch-syscall.exp (check_for_program_end): Use
8616 gdb_continue_to_end.
8617 (test_catch_syscall_with_wrong_args): Likewise.
8618 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
8619 * gdb.base/break-interp.exp (test_ld): Update for exit message
8620 change.
8621 * gdb.base/bang.exp: Update for exit message change.
8622 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
8623 (do_call_attach_tests): Likewise.
8624 * gdb.base/a2-run.exp: Update for exit message change.
8625 * gdb.arch/ppc-dfp.exp: Update for exit message change.
8626 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
8627 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
8628
dd19bd70
JK
86292011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8630
8631 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
8632
30e62689
TT
86332011-03-03 Tom Tromey <tromey@redhat.com>
8634
8635 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
8636 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
8637 * gdb.hp/gdb.aCC/configure.ac: Remove.
8638 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
8639 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
8640 * gdb.hp/gdb.base-hp/configure.ac: Remove.
8641 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
8642 * gdb.hp/gdb.compat/configure (Makefile): Remove.
8643 * gdb.hp/gdb.compat/configure.ac: Remove.
8644 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
8645 * gdb.hp/gdb.defects/configure (Makefile): Remove.
8646 * gdb.hp/gdb.defects/configure.ac: Remove.
8647 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
8648 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
8649 * gdb.hp/gdb.objdbg/configure.ac: Remove.
8650 * gdb.hp/configure.ac: Remove.
8651 * gdb.hp/configure: Remove.
8652 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
8653 substitution.
8654 (Makefile): Remove rule.
8655 * gdb.cell/configure.ac: Remove.
8656 * gdb.cell/configure: Remove.
8657 * gdb.stabs/Makefile.in (Makefile): Remove.
8658 (distclean): Don't remove config.status or config.log.
8659 * gdb.stabs/configure (Makefile): Remove.
8660 * gdb.stabs/configure.ac: Remove.
8661 * configure: Rebuild.
8662 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
8663 Remove stabs- and cell-specific logic. Test for existence of
8664 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
8665 subdirectories, gdb.cell, and and gdb.stabs.
8666 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
8667
c171f854
JB
86682011-03-03 Joel Brobecker <brobecker@adacore.com>
8669
8670 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
8671 end of buffer.
8672
9a5193cb
JB
86732011-03-02 Joel Brobecker <brobecker@adacore.com>
8674
8675 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
8676 gdb_test when running a test where we expected no output back.
8677
9bb4c1bb
MS
86782011-02-28 Michael Snyder <msnyder@vmware.com>
8679
8680 * gdb.cp/overload.cc: Change initializer value to integer.
8681
3bd0f5ef
MS
86822011-02-27 Michael Snyder <msnyder@vmware.com>
8683
8684 * gdb.multi/base.exp: Add test for remove-inferiors.
8685
2279eaad
JB
86862011-02-26 Joel Brobecker <brobecker@adacore.com>
8687
8688 * gdb.python/py-frame.exp: Simplify the initialization phase
8689 using prepare_for_testing.
8690
c82c0b55
MS
86912011-02-25 Michael Snyder <msnyder@vmware.com>
8692
8693 * gdb.multi/base.exp: Add tests for info inferiors with args.
8694
1d94651b
JK
86952011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8696
8697 * gdb.dwarf2/dw2-ranges.S: Rename to ...
8698 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
8699 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
8700 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
8701 asmfile3. Comment the STABS (#3) file compilation. Compile
8702 everything through assembler. Provide KFAIL for symtab/12497.
8703 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
8704 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
8705 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
8706 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
8707
3bd0f5ef
MS
87082011-02-24 Michael Snyder <msnyder@vmware.com>
8709
8710 * gdb.base/break.exp: Add tests for delete breakpoints using
8711 convenience variables and value history references.
8712
12c1418e
MS
87132011-02-24 Michael Snyder <msnyder@vmware.com>
8714
8715 * gdb.base/break.exp: Remove debugging 'printf' accidentally
8716 left behind in previous check-in.
8717
e5a67952
MS
87182011-02-23 Michael Snyder <msnyder@vmware.com>
8719
8720 * gdb.base/break.exp: Add tests for "info break" with arguments.
8721 * gdb.trace/infotrace.exp: Update patterns for error and help.
8722 * gdb.base/completion.exp: Update pattern.
8723 * gdb.base/ena-dis-br.exp: Update pattern.
8724 * gdb.base/help.exp: Update patterns.
8725
87262011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
8727
8728 * gdb.base/memattr.exp: New test.
8729 * gdb.base/memattr.c: Test load for memattr.exp.
8730
6e6fbe60
DE
87312011-02-22 Doug Evans <dje@google.com>
8732
8733 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
8734
1d41d745
MS
87352011-02-22 Michael Snyder <msnyder@vmware.com>
8736
8737 * Makefile.in: Make more clean.
8738 * gdb.ada/Makefile.in: Ditto.
8739 * gdb.arch/Makefile.in: Ditto.
8740 * gdb.asm/Makefile.in: Ditto.
8741 * gdb.base/Makefile.in: Ditto.
8742 * gdb.cp/Makefile.in: Ditto.
8743 * gdb.dwarf2/Makefile.in: Ditto.
8744 * gdb.java/Makefile.in: Ditto.
8745 * gdb.mi/Makefile.in: Ditto.
8746 * gdb.modula2/Makefile.in: Ditto.
8747 * gdb.python/Makefile.in: Ditto.
8748 * gdb.server/Makefile.in: Ditto.
8749 * gdb.stabs/Makefile.in: Ditto.
8750 * gdb.threads/Makefile.in: Ditto.
8751 * gdb.trace/Makefile.in: Ditto.
8752
79ba84ca
MS
87532011-02-22 Michael Snyder <msnyder@vmware.com>
8754
df46027d 8755 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
8756 info threads.
8757
b9b35694
JB
87582011-02-22 Joel Brobecker <brobecker@adacore.com>
8759
8760 * gdb.python/py-breakpoint.exp: Fix the expected output of
8761 one of the "maint info breakpoints" tests to accept the output
8762 generated on platforms that do not have hardware watchpoints.
8763
8bfb830f
JB
87642011-02-22 Joel Brobecker <brobecker@adacore.com>
8765
8766 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
8767 clean_restart. Be a little stricter in the expected output
8768 for one of the tests. Fix a typo in one of the comments.
8769
c45f3c54
JB
87702011-02-22 Joel Brobecker <brobecker@adacore.com>
8771
8772 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
8773 Delete variable binfile, no longer use. Add or modify test
8774 comments to make them unique.
8775
b97c863c
MS
87762011-02-21 Michael Snyder <msnyder@vmware.com>
8777
8778 * Makefile.in: Update for make clean.
8779 * gdb.ada/Makefile.in: Ditto.
8780 * gdb.arch/Makefile.in: Ditto.
8781 * gdb.asm/Makefile.in: Ditto.
8782 * gdb.base/Makefile.in: Ditto.
8783 * gdb.cp/Makefile.in: Ditto.
8784 * gdb.dwarf2/Makefile.in: Ditto.
8785 * gdb.java/Makefile.in: Ditto.
8786 * gdb.mi/Makefile.in: Ditto.
8787 * gdb.modula2/Makefile.in: Ditto.
8788 * gdb.python/Makefile.in: Ditto.
8789 * gdb.server/Makefile.in: Ditto.
8790 * gdb.stabs/Makefile.in: Ditto.
8791 * gdb.threads/Makefile.in: Ditto.
8792 * gdb.trace/Makefile.in: Ditto.
8793
aea5b279
MS
87942011-02-21 Michael Snyder <msnyder@vmware.com>
8795
8796 * gdb.threads/thread-find.exp: Update patterns for changes in
8797 output of "info threads" command.
8798
e3039479
UW
87992011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8800 Ulrich Weigand <uweigand@de.ibm.com>
8801
8802 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
8803 (skip_hw_watchpoint_tests): Likewise.
8804 (skip_hw_watchpoint_multi_tests): Likewise.
8805
b800ec70
UW
88062011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
8807
8808 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
8809 (skip_hw_watchpoint_tests): Likewise.
8810 (skip_hw_watchpoint_multi_tests): Likewise.
8811 (skip_hw_watchpoint_access_tests): Likewise.
8812
8813 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
8814 * gdb.base/pr11022.exp: Likewise.
8815 * gdb.base/watch-read.exp: Likewise.
8816 * gdb.base/watch_thread_num.exp: Likewise.
8817 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
8818 * gdb.base/watchpoint-hw.exp: Likewise.
8819 * gdb.base/watchpoint.exp: Likewise.
8820 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
8821 * gdb.threads/watchthreads-reorder.exp: Likewise.
8822 * gdb.threads/watchthreads.exp: Likewise.
8823 * gdb.threads/watchthreads2.exp: Likewise.
8824
91033e37
JB
88252011-02-21 Joel Brobecker <brobecker@adacore.com>
8826
8827 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
8828 the debugger is unable to find the array bounds.
8829
eeaafae2
JK
88302011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8831
8832 * gdb.cp/typedef-operator.exp: New file.
8833 * gdb.cp/typedef-operator.cc: New file.
8834
e338d953
MS
88352011-02-17 Michael Snyder <msnyder@vmware.com>
8836
8837 * gdb.threads/thread-find.exp: Fix regular expressions.
8838
e67ad678
JB
88392011-02-17 Joel Brobecker <brobecker@adacore.com>
8840
8841 * gdb.ada/packed_array: Expand testcase to test printing of
8842 unconstrained packed array.
8843
93084bca
JB
88442011-02-17 Joel Brobecker <brobecker@adacore.com>
8845
8846 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
8847
a0c78a73
PA
88482011-02-16 Pedro Alves <pedro@codesourcery.com>
8849
f65d5553 8850 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
8851 (main): Initialize it before collecting, and and clear it
8852 afterwards.
f65d5553
PA
8853 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
8854 collecting with '{type} addr', where the addr expression is not an
8855 rvalue.
a0c78a73 8856
3dfcbbd2
KW
88572011-02-16 Ken Werner <ken.werner@de.ibm.com>
8858
8859 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
8860 a bool variable. Expect correct OpenCL names for vector types. Use the
8861 uc3 variable name instead of referring to the uchar3 built-in type.
8862 Escape the asterisk at the half pointer test.
8863
08807d5a
PA
88642011-02-16 Pedro Alves <pedro@codesourcery.com>
8865
f65d5553 8866 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
8867 (main): Initialize it before collecting, and and clear it
8868 afterwards.
f65d5553
PA
8869 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
8870 collecting overlapping memory ranges.
08807d5a 8871
60f98dde
MS
88722011-02-15 Michael Snyder <msnyder@vmware.com>
8873
8874 * gdb.base/default.exp: Add tests for thread commands.
8875 * gdb.base/help.exp: Add tests for thread commands.
8876 * gdb.threads/thread-find.exp: New test for thread find command.
8877
648cd113
KW
88782011-02-15 Ken Werner <ken.werner@de.ibm.com>
8879
8880 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
8881
494e194e
YQ
88822011-02-15 Yao Qi <yao@codesourcery.com>
8883
8884 PR tdep/12352
8885 * gdb.arch/arm-disp-step.S : New test for str instruction.
8886 * gdb.arch/arm-disp-step.exp : Likewise.
8887
d9492458
TJB
88882011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
8889
8890 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
8891 "vector_register2_vr" test strings. Test the extended floating
8892 point registers (F32~F63).
8893 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
8894 IBM XL C compiler. Make the test program use a register provided
8895 by the compiler for the lxvd2x instruction.
8896
8af8e3bc
PA
88972011-02-14 Pedro Alves <pedro@codesourcery.com>
8898
8899 * gdb.trace/unavailable.cc (class Base, class Middle, class
8900 Derived): New types.
8901 (derived_unavail, derived_partial, derived_whole): New globals.
8902 (virtual_partial): New global.
8903 (virtualp): Point at virtual_partial.
8904 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
8905 related to unavailable vptr.
8906
1b28d0b3
PA
89072011-02-14 Pedro Alves <pedro@codesourcery.com>
8908
8909 * gdb.trace/unavailable.cc (a, b, c): New globals.
8910 (main): Set and clear them.
8911 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
8912 `a' and `c', and check that `b' isn't collected, although `a' and
8913 `c' are.
8914
ec0a52e1
PA
89152011-02-14 Pedro Alves <pedro@codesourcery.com>
8916
8917 * gdb.trace/unavailable.cc (struct Virtual): New.
8918 (virtualp): New global pointer.
8919 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
8920 printing a pointer to an object whose type has a vtable, with
8921 print object on.
8922
24e6bcee
PA
89232011-02-14 Pedro Alves <pedro@codesourcery.com>
8924
8925 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
8926 value repeat handles unavailableness.
8927
39d37385
PA
89282011-02-14 Pedro Alves <pedro@codesourcery.com>
8929
8930 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
8931 tests for building arrays from unavailable values, subscripting
8932 non-memory rvalue unvailable arrays, and accessing fields or
8933 baseclasses of non-lazy unavailable values,
8934 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
8935 struct types.
8936 (g_smallstruct, g_smallstruct_b): New globals.
8937
06d72e16
PA
89382011-02-14 Pedro Alves <pedro@codesourcery.com>
8939
8940 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
8941
bc9a5551
JK
89422011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8943
8944 Fix const/volatile qualifiers of C++ types, PR c++/12328.
8945 * gdb.cp/overload-const.exp: New file.
8946 * gdb.cp/overload-const.cc: New file.
8947
54fcddd0
UW
89482011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
8949
8950 * gdb.opencl/callfuncs.cl: New file.
8951 * gdb.opencl/callfuncs.exp: New test.
8952 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
8953
d6dafb7c
UW
89542011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
8955
8956 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
8957 when computing result.
8958 * gdb.arch/altivec-abi.exp: Update expected results.
8959
a449c2d8
TJB
89602011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
8961
8962 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
8963 * gdb.base/jit.exp: Likewise.
8964 * gdb.base/pie-execl.exp: Likewise.
8965 * gdb.base/solib-nodir.exp: Likewise.
8966 * gdb.base/solib-overlap.exp: Likewise.
8967
764880b7
PA
89682011-02-07 Pedro Alves <pedro@codesourcery.com>
8969
8970 * gdb.trace/collection.c (global_pieces): New.
8971 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
8972 New procedure.
8973 (gdb_trace_collection_test): Call it.
8974
505500db
SW
89752011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
8976
8977 * gdb.python/py-evthreads.c: New file.
8978 * gdb.python/py-evthreads.exp: New file.
8979 * gdb.python/py-events.py: New file.
8980 * gdb.python/py-events.exp: New file.
8981 * gdb.python/py-events.c: New file.
8982
385203ed
DD
89832011-02-04 David Daney <ddaney@caviumnetworks.com>
8984
8985 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
8986
9011945e
AB
89872011-02-03 Andrew Burgess <aburgess@broadcom.com>
8988
8989 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
8990 gdb.base/disasm-end-cu.exp: New test for disassembling over the
8991 boundary between two compilation units.
8992
580688f3
PA
89932011-02-02 Pedro Alves <pedro@codesourcery.com>
8994
8995 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
8996 (Virtual): New structs.
8997 (virtual_o, virtual_middle_b): New globals.
8998 * gdb.cp/virtbase.exp: New tests.
8999
d3f0f853
PP
90002011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9001
9002 * gdb.base/jit.exp: New file.
9003 * gdb.base/jit-main.c: New file.
9004 * gdb.base/jit-solib.c: New file.
9005
b2030fb5
UW
90062011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
9007
9008 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
9009 proceed to initial kernel entry point.
9010 * gdb.opencl/datatypes.exp: Likewise.
9011 * gdb.opencl/operators.exp: Likewise.
9012 * gdb.opencl/vec_comps.exp: Likewise.
9013
2db19d1e
SW
90142011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
9015
9016 * gdb.cp/nsnested.cc: New.
9017 * gdb.cp/nsnested.exp: New.
9018 * gdb.cp/nsnoimports.exp: New.
9019 * gdb.cp/nsnoimports.cc: New.
9020
6b0c4c1f
JB
90212011-01-31 Joel Brobecker <brobecker@adacore.com>
9022
9023 * gdb.base/interact.exp: Add extra tests that verify that
9024 the value of the interactive-mode setting does not change
9025 after the script is sourced.
9026
80b23b6a
JK
90272011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9028
9029 * gdb.cp/noparam.exp: New file.
9030 * gdb.cp/noparam.cc: New file.
9031
ffd5ec24
PA
90322011-01-28 Pedro Alves <pedro@codesourcery.com>
9033
9034 * gdb.trace/tfile.exp: Test that with no traceframe selected,
9035 there's no stack or registers.
9036
a81766d8
TT
90372011-01-26 Tom Tromey <tromey@redhat.com>
9038
9039 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
9040 space before string output. Add test for "set print pretty off"
9041 case.
9042
585fdaa1
PA
90432011-01-25 Pedro Alves <pedro@codesourcery.com>
9044
9045 * gdb.base/frame-args.exp: Adjust.
9046 * gdb.dwarf2/dw2-noloc.exp: Adjust.
9047 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
9048 * gdb.dwarf2/pieces.exp: Adjust.
9049 * gdb.opt/clobbered-registers-O2.exp: Adjust.
9050 * gdb.opt/inline-locals.exp: Adjust.
9051 * gdb.threads/fork-child-threads.exp: Adjust.
9052
d468832a
KW
90532011-01-25 Ken Werner <ken.werner@de.ibm.com>
9054
9055 * gdb.opencl/convs_casts.cl: Move program scope variables into the
9056 OpenCL kernel function. Add a comment as marker. Add address space
9057 qualifiers for the remaining program scope variables.
9058 * gdb.opencl/datatypes.cl: Likewise.
9059 * gdb.opencl/operators.cl: Likewise.
9060 * gdb.opencl/vec_comps.cl: Likewise.
9061 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
9062 Add breakpoint at the marker comment.
9063 * gdb.opencl/datatypes.exp: Likewise.
9064 * gdb.opencl/operators.exp: Likewise.
9065 * gdb.opencl/vec_comps.exp: Likewise.
9066
490f124f
PA
90672011-01-24 Pedro Alves <pedro@codesourcery.com>
9068
9069 * gdb.base/printcmds.c (some_struct): New struct and instance.
9070 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
9071 procedure.
9072 <global scope>: Call it.
9073
6da78614
KW
90742011-01-21 Ken Werner <ken.werner@de.ibm.com>
9075
9076 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
9077 argument to the gdb_compile_opencl_hostapp call.
9078
ec64c9aa
YQ
90792011-01-19 Yao Qi <yao@codesourcery.com>
9080
9081 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
9082 positve list.
9083
810cfdbb
YQ
90842011-01-19 Yao Qi <yao@codesourcery.com>
9085
9086 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
9087 canonical form.
9088 Remove "xscale-*-*"
9089 * gdb.xml/tdesc-regs.exp: Likewise.
9090 * gdb.python/py-section-script.exp: Replace ARM target triplet
9091 with canonical form.
9092 Match arm*-*-symbianelf*.
9093 * gdb.base/dup-sect.exp: Likewise.
9094 * lib/dwarf.exp: New.
9095 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
9096 dwarf2_support.
9097 * gdb.dwarf2/dup-psym.exp: Likewise.
9098 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
9099 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9100 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
9101 * gdb.dwarf2/dw2-basic.exp: Likewise.
9102 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9103 * gdb.dwarf2/dw2-const.exp: Likewise.
9104 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
9105 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
9106 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9107 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
9108 * gdb.dwarf2/dw2-filename.exp: Likewise.
9109 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9110 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
9111 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9112 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9113 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
9114 * gdb.dwarf2/dw2-noloc.exp: Likewise.
9115 * gdb.dwarf2/dw2-op-call.exp: Likewise.
9116 * gdb.dwarf2/dw2-producer.exp: Likewise.
9117 * gdb.dwarf2/dw2-ranges.exp: Likewise.
9118 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
9119 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
9120 * gdb.dwarf2/dw2-strp.exp: Likewise.
9121 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
9122 * gdb.dwarf2/implptr.exp: Likewise.
9123 * gdb.dwarf2/mac-fileno.exp: Likewise.
9124 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
9125 * gdb.dwarf2/pieces.exp: Likewise.
9126 * gdb.dwarf2/pr11465.exp: Likewise.
9127 * gdb.dwarf2/valop.exp: Likewise.
9128 * gdb.dwarf2/watch-notconst.exp: Likewise.
9129 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
9130
4694da01
TT
91312011-01-19 Tom Tromey <tromey@redhat.com>
9132
9133 * gdb.python/py-infthread.exp: Add thread tests.
9134
b075872c
JB
91352011-01-14 Joel Brobecker <brobecker@adacore.com>
9136
9137 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
9138
2c3e6e24
JB
91392011-01-14 Joel Brobecker <brobecker@adacore.com>
9140
9141 * gdb.ada/widewide: New testcase.
9142
de8fa76c
JB
91432011-01-13 Joel Brobecker <brobecker@adacore.com>
9144
9145 * gdb.base/interact.exp: New testcase.
9146
1b05df00
TT
91472011-01-12 Tom Tromey <tromey@redhat.com>
9148
9149 * gdb.mi/gdb2549.exp: Update for error message changes.
9150 * gdb.mi/mi-cli.exp: Likewise.
9151 * gdb.mi/mi-disassemble.exp: Likewise.
9152 * gdb.mi/mi-pthreads.exp: Likewise.
9153 * gdb.mi/mi-regs.exp: Likewise.
9154 * gdb.mi/mi-stack.exp: Likewise.
9155 * gdb.mi/mi-var-block.exp: Likewise.
9156 * gdb.mi/mi-var-cmd.exp: Likewise.
9157 * gdb.mi/mi2-cli.exp: Likewise.
9158 * gdb.mi/mi2-disassemble.exp: Likewise.
9159 * gdb.mi/mi2-pthreads.exp: Likewise.
9160 * gdb.mi/mi2-regs.exp: Likewise.
9161 * gdb.mi/mi2-stack.exp: Likewise.
9162 * gdb.mi/mi2-var-block.exp: Likewise.
9163 * gdb.mi/mi2-var-cmd.exp: Likewise.
9164
c2ff108b
JK
91652011-01-12 Andrew Burgess <aburgess@broadcom.com>
9166 Jan Kratochvil <jan.kratochvil@redhat.com>
9167
9168 PR fortran/11104 and DWARF unbound arrays detection.
9169 * gdb.fortran/multi-dim.exp: New file.
9170 * gdb.fortran/multi-dim.f90: New file.
9171
b716877b
AB
91722011-01-12 Andrew Burgess <aburgess@broadcom.com>
9173
9174 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
9175 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
9176 add new tests for opcode dumping.
9177
6c162d5e
TT
91782011-01-11 Tom Tromey <tromey@redhat.com>
9179
9180 * gdb.python/py-infthread.exp: Load gdb-python.exp.
9181
77b06cd7
TJB
91822010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
9183
9184 Convert hardware watchpoints to use breakpoint_ops.
9185 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
9186 type is not supported.
9187 * gdb.base/foll-fork.exp: Likewise.
9188 * gdb.base/foll-vfork.exp: Likewise.
9189
f39a75d0
PM
91902011-01-10 Phil Muldoon <pmuldoon@redhat.com>
9191
9192 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
9193 Use load_lib gdb-python.exp.
9194 * gdb.python/python.exp: Ditto.
9195 * gdb.python/py-function.exp: Ditto.
9196
fc529d80
AS
91972011-01-09 Andreas Schwab <schwab@linux-m68k.org>
9198
9199 * gdb.threads/tls.exp ("info address me"): Fix expected output.
9200
fb03cb59
JK
92012011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9202
9203 * configure: Regenerate.
9204
d8e22779
TT
92052011-01-06 Tom Tromey <tromey@redhat.com>
9206
9207 * gdb.python/py-frame.exp: Test gdb.newest_frame.
9208
09050809
JB
92092011-01-06 Joel Brobecker <brobecker@adacore.com>
9210
fc529d80
AS
9211 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
9212 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
9213 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9214 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
9215 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
9216 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9217 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
9218 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
9219 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
9220 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
9221 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
9222 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
9223 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
9224 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9225 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9226 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
9227 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
9228 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
9229 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9230 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
9231 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
9232 gdb.ada/uninitialized_vars.exp,
9233 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
9234 Simplify by using clean_restart.
09050809 9235
8ed5dd9e
JB
92362011-01-06 Joel Brobecker <brobecker@adacore.com>
9237
9238 Add marker to be used as anchor for inserting breakpoints.
9239 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
9240 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
9241 Likewise.
9242
9243 Remove uses of gdb_start_cmd.
9244 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
9245 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
9246
9247 Do not run testcase if testing with GDBserver.
9248 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
9249 if testing with GDBserver.
9250
368a124f
JB
92512011-01-06 Joel Brobecker <brobecker@adacore.com>
9252
9253 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
9254 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
9255 copyright header.
9256
44944448
JB
92572011-01-05 Joel Brobecker <brobecker@adacore.com>
9258
9259 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
9260 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
9261 testsuite/gdb.fortran/complex.f,
9262 testsuite/gdb.fortran/derived-type.f90,
9263 testsuite/gdb.fortran/library-module-lib.f90,
9264 testsuite/gdb.fortran/library-module-main.f90,
9265 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
9266 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
9267 Copyright year update.
9268
31886ea6
JB
92692011-01-05 Joel Brobecker <brobecker@adacore.com>
9270
9271 * gdb.base/langs1.f: Add copyright header.
9272
ebedcab5
JK
92732011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9274
9275 * gdb.base/morestack.exp: New file.
9276 * gdb.base/morestack.c: New file.
9277
de1eb2f9
JK
92782011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9279
9280 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
9281
9e87a409
JB
92822010-12-29 Joel Brobecker <brobecker@adacore.com>
9283
9284 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
9285 * gdb.ada/arrayptr.exp: Add test printing that new variable.
9286
720d1a40
JB
92872010-12-29 Joel Brobecker <brobecker@adacore.com>
9288
9289 * gdb.ada/lang_switch.exp: Correct expected parameter value.
9290
a283af87
AS
92912010-12-25 Andreas Schwab <schwab@linux-m68k.org>
9292
5d3d9cba
AS
9293 * gdb.threads/tls.exp: Fix typo.
9294
a283af87
AS
9295 * gdb.threads/thread-specific.exp (get_thread_list): Update.
9296 * gdb.threads/execl.exp: Update.
9297
2a20745c
YQ
92982010-12-23 Yao Qi <yao@codesourcery.com>
9299
9300 * gdb.arch/arm-disp-step.exp: New.
9301 * gdb.arch/arm-disp-step.S: New.
9302
a7658b96
TT
93032010-12-21 Tom Tromey <tromey@redhat.com>
9304
9305 * gdb.threads/execl.exp: Update.
9306 * gdb.threads/linux-dp.exp: Update.
9307 * gdb.threads/manythreads.exp: Update.
9308 * gdb.threads/tls.exp: Update.
9309
5b79abe7
TT
93102010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9311
9312 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
9313 (NextOverThrowDerivates) <resumebpt>: New.
9314 (resumebpt_test): New.
9315 (main): Call resumebpt_test.
9316 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
9317
0914bcdb
SS
93182010-12-12 Stan Shebs <stan@codesourcery.com>
9319
9320 * gdb.trace/tsv.exp: Test print command on trace state variables.
9321
305aeedc
TT
93222010-12-09 Tom Tromey <tromey@redhat.com>
9323
9324 * gdb.base/interp.exp: Add regression test.
9325
186c406b
TT
93262010-12-09 Tom Tromey <tromey@redhat.com>
9327
9328 * gdb.java/jnpe.java: New file.
9329 * gdb.java/jnpe.exp: New file.
9330 * gdb.cp/nextoverthrow.exp: New file.
9331 * gdb.cp/nextoverthrow.cc: New file.
9332
aae1c79a
DE
93332010-12-07 Doug Evans <dje@google.com>
9334
9335 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
9336 of data-directory.
9337 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
9338 updated.
9339 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
9340
60f98dde 93412010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
9342
9343 * gdb.base/callfuncs.exp: Test for skip_float_tests.
9344 * gdb.base/call-sc.exp: Ditto.
9345 * gdb.base/finish.exp: Ditto.
9346 * gdb.base/return.exp: Ditto.
9347 * gdb.base/return2.exp: Ditto.
9348
5fa290c1
DE
93492010-11-30 Doug Evans <dje@google.com>
9350
9351 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
9352 (gdb_expect_list): Fix spelling errors in comments.
9353 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
9354 send_gdb/gdb_expect_list where applicable.
9355 * gdb.base/call-ar-st.exp: Ditto.
9356 * gdb.base/funcargs.exp: Ditto.
9357 * gdb.base/gcore.exp: Ditto.
9358 * gdb.base/page.exp: Ditto.
9359 * gdb.base/sigaltstack.exp: Ditto.
9360 * gdb.base/siginfo.exp: Ditto.
9361 * gdb.base/sigstep.exp: Ditto.
9362 * gdb.base/trace-commands.exp: Ditto.
9363
4e04c971
DE
93642010-11-29 Doug Evans <dje@google.com>
9365
9366 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
9367 printer-name;subprinter-name.
9368
8cf6f0b1
TT
93692010-11-29 Tom Tromey <tromey@redhat.com>
9370
9371 * gdb.dwarf2/implptr.exp: New file.
9372 * gdb.dwarf2/implptr.c: New file.
9373 * gdb.dwarf2/implptr.S: New file.
9374
94b6973e
PM
93752010-11-29 Phil Muldoon <pmuldoon@redhat.com>
9376
fc529d80 9377 PR python/12199
94b6973e
PM
9378
9379 * gdb.python/py-breakpoint.exp: Test the delete method.
9380
8358c15c
JK
93812010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9382
9383 Fix step_resume_breakpoint unsaved during an infcall.
9384 * gdb.base/step-resume-infcall.exp: New file.
9385 * gdb.base/step-resume-infcall.c: New file.
9386
f6df29bc
TJB
93872010-11-24 Edjunior Machado <emachado@br.ibm.com>
9388
9389 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
9390
f2b5a5cf
TJB
93912010-11-24 Edjunior Machado <emachado@br.ibm.com>
9392
9393 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
9394 on ppc64's symbols; "finish" and "return" commands must accept to
9395 show the caller line again as well as the line after.
9396 * gdb.asm/powerpc64.inc: New file.
9397
6b0ecdc2
DE
93982010-11-23 Doug Evans <dje@google.com>
9399
9400 * lib/gdb.exp (gdb_test_sequence): New function.
9401 (gdb_expect_list): Add verbose -log call for each pattern.
9402 * gdb.base/signals.exp (test_handle_all_print): Call it.
9403 Reduce timeout increment from 6 minutes to 1 minute.
9404 * gdb.server/ext-run.exp: Call it.
9405
ea976c60
PM
94062010-11-23 Phil Muldoon <pmuldoon@redhat.com>
9407
f2b5a5cf 9408 PR python/12212
ea976c60
PM
9409
9410 * gdb.python/python.exp: Check that selected_thread raises an
9411 error when no inferior is loaded.
9412
c0efa795
JK
94132010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9414
9415 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
9416 * gdb.dwarf2/dw2-stack-boundary.S: New file.
9417
ec3aa567
JK
94182010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9419
9420 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
9421 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
9422
d8249011
DE
94232010-11-18 Doug Evans <dje@google.com>
9424
9425 * gdb.server/ext-run.exp: Fix intermittent failures.
9426
d4eba7d1
NF
94272010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9428
9429 * gdb.stabs/gdb11479.exp: Use runto_main.
9430
b04c2f88
NF
94312010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9432
9433 * gdb.base/break-entry.exp: Skip if using a stub.
9434
ae9d7ce4
NF
94352010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9436
9437 * gdb.python/py-inferior.exp: Pack values in target endianness.
9438
621c8364
TT
94392010-11-12 Tom Tromey <tromey@redhat.com>
9440
9441 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
9442 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
9443 MemoryError.
9444 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
9445 type.
9446 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
9447 MemoryError.
9448 (test_subscript_regression): Update exception type.
9449
84f4c1fe
PM
94502010-11-11 Phil Muldoon <pmuldoon@redhat.com>
9451
9452 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
9453 breakpoint tests.
9454
a1442452
PA
94552010-11-09 Pedro Alves <pedro@codesourcery.com>
9456
9457 * gdb.base/watchpoint.exp: Test "watch -location" with an
9458 innacessible location.
9459
efd11a33
JK
94602010-11-09 Edjunior Machado <emachado@br.ibm.com>
9461 Luis Machado <luisgpm@br.ibm.com>
9462
9463 * gdb.base/maint.exp: Expect "." prefix.
9464 * gdb.base/nodebug.exp: Expect "." Likewise.
9465 * gdb.base/sepsymtab.exp: Expect "." Likewise.
9466 * gdb.base/watchpoint-cond-gone.exp: Likewise.
9467 * gdb.base/watchpoint.exp: Expect a software watch to be created for
9468 POWER server processors.
9469
aa00efb5
JK
94702010-11-08 Edjunior Machado <emachado@br.ibm.com>
9471 Luis Machado <luisgpm@br.ibm.com>
9472
9473 * gdb.base/break-entry.exp: convert entry point for
9474 ppc64 and expect leading `.' on ppc64's symbols
9475
99e7ae30
DE
94762010-11-05 Doug Evans <dje@google.com>
9477
9478 * gdb.base/help.exp: Update expected output.
b521dba8
DE
9479 * gdb.python/py-param.exp: Delete, contents moved to ...
9480 * gdb.python/py-parameter.exp: ... here. New file.
9481 Add test for gdb.parameter ("directories").
99e7ae30 9482
f4b8a18d
KW
94832010-11-05 Ken Werner <ken.werner@de.ibm.com>
9484
9485 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
9486 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
9487 * configure: Regenerate.
9488 * gdb.opencl/Makefile.in: New File.
9489 * gdb.opencl/datatypes.exp: Likewise.
9490 * gdb.opencl/datatypes.cl: Likewise.
9491 * gdb.opencl/operators.exp: Likewise.
9492 * gdb.opencl/operators.cl: Likewise.
9493 * gdb.opencl/vec_comps.exp: Likewise.
9494 * gdb.opencl/vec_comps.cl: Likewise.
9495 * gdb.opencl/convs_casts.exp: Likewise.
9496 * gdb.opencl/convs_casts.cl: Likewise.
9497 * lib/opencl.exp: Likewise.
9498 * lib/opencl_hostapp.c: Likewise.
9499 * lib/opencl_kernel.cl: Likewise.
9500 * lib/cl_util.c: Likewise.
9501 * lib/cl_util.c: Likewise.
9502 * gdb.base/default.exp (set language): Add "opencl" to the list of
9503 languages.
9504
a9d5ef47
SW
95052010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
9506
9507 * gdb.cp/overload.exp: Added test for inheritance overload.
9508 * gdb.cp/overload.cc: Ditto.
9509 * gdb.cp/oranking.exp: Removed releveant kfails.
9510
03eb1c79
JK
95112010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9512 Joel Brobecker <brobecker@adacore.com>
9513
9514 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
9515 check test_compiler_info.
9516
dbc98a8b
KW
95172010-11-03 Ken Werner <ken.werner@de.ibm.com>
9518
9519 * gdb.base/gnu_vector.exp: Adjust expect messages.
9520
120bd360
KW
95212010-11-03 Ken Werner <ken.werner@de.ibm.com>
9522
9523 * gdb.base/gnu_vector.exp: Add unary operator tests.
9524
c37f7098
KW
95252010-11-03 Ken Werner <ken.werner@de.ibm.com>
9526
9527 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
9528
7b51bc51
DE
95292010-11-02 Doug Evans <dje@google.com>
9530
9531 * gdb.python/py-pp-maint.c: New file.
9532 * gdb.python/py-pp-maint.exp: New file.
9533 * gdb.python/py-pp-maint.py: New file.
9534
50c97f38
TT
95352010-11-02 Tom Tromey <tromey@redhat.com>
9536
9537 * gdb.base/default.exp: Remove "scheme" from language list.
9538
a289b8f6
JK
95392010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9540
9541 Revert:
9542 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9543 * gdb.threads/sigstep-threads.exp: New file.
9544 * gdb.threads/sigstep-threads.c: New file.
9545
cd017491
MS
95462010-10-20 Michael Snyder <msnyder@vmware.com>
9547
9548 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
9549
8e6a5956
UW
95502010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
9551
9552 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
9553 Skip test completely if gdb,no_hardware_watchpoints.
9554
2c04da0d
UW
95552010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
9556
9557 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
9558 strict, but do not check for any particular function name within libc.
9559
79afc5ef
SW
95602010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
9561
9562 * gdb.cp/smartp.exp: New test.
9563 * gdb.cp/smartp.cc : New test.
9564
026ffab7
SW
95652010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
9566
9567 * gdb.cp/converts.exp: Test pointer to bool conversion.
9568 Test pointer to long conversion.
9569 * gdb.cp/oranking.exp: Removed relevant kfail.
9570
3a772aa4
TT
95712010-10-18 Tom Tromey <tromey@redhat.com>
9572
9573 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
9574 argument to lazy_string.
9575 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
9576 (pp_ls.to_string): Use it.
9577 * gdb.python/py-prettyprint.c (main): Move declarations to top.
9578 Add "estring2" local.
9579
5fc3827b
JK
95802010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9581
9582 Fix s390x compatibility.
9583 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
9584 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
9585
8aeb23f3
JK
95862010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9587
9588 * gdb.threads/sigstep-threads.exp: New file.
9589 * gdb.threads/sigstep-threads.c: New file.
9590
c1e56572
JK
95912010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9592
9593 * gdb.base/pie-execl.exp: New file.
9594 * gdb.base/pie-execl.c: New file.
9595
92163a10
JK
95962010-10-13 Doug Evans <dje@google.com>
9597 Jan Kratochvil <jan.kratochvil@redhat.com>
9598
9599 PR exp/12117
9600 * gdb.cp/ptype-cv-cp.cc: New file.
9601 * gdb.cp/ptype-cv-cp.exp: New file.
9602
7062b0a0
SW
96032010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
9604
9605 * gdb.cp/converts.cc: New test program.
9606 * gdb.cp/converts.exp: New test.
9607 * gdb.cp/overload.exp: Added test for void* vs int*.
9608 * gdb.cp/overload.exp: Ditto.
9609 * gdb.cp/oranking.exp: Removed related kfail.
9610
0e3509db
DE
96112010-10-13 Doug Evans <dje@google.com>
9612
9613 * lib/gdb-python.exp (gdb_check_python_config): New function.
9614 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
9615 * gdb.python/lib-types.cc: New file.
9616 * gdb.python/lib-types.exp: New file.
9617
8dc78533
JK
96182010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9619
9620 * gdb.python/py-error.exp: New file.
9621 * gdb.python/py-error.py: New file.
9622
93c17e06
JK
96232010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9624
9625 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
9626 gdb_test_multiple.
9627
d8b34041
JK
96282010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9629
9630 * gdb.base/break-interp.exp: Use ldlags for linking flags.
9631 * gdb.base/prelink.exp: Likewise.
9632 * gdb.base/solib-nodir.exp: Likewise.
9633 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
9634 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
9635 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
9636
e0cc584e
UW
96372010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
9638
9639 * break-interp.exp (test_ld): Use two separate gdb_expect statements
9640 for the "info files" test to avoid timeouts on slow machines.
9641
cfc353b1
JK
96422010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9643
9644 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
9645 (main): Make openlib dummy call.
9646
d3d7896d
JK
96472010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9648
9649 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
9650 * break-interp.exp (reach): Move the core body ...
9651 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
9652 (test_ld): Provide always real argument, even to the linker. Replace
9653 dl_main by _dl_debug_state.
9654
5e533c94
JK
96552010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9656
9657 Fix results of prelinked PIEs on ppc*.
9658 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
9659 Accept also DISPLACEMENT "PRESENT".
9660 (main): Replace "ZERO" displacements by "PRESENT".
9661
33540610
SW
96622010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
9663
9664 * gdb.cp/oranking.exp: New test.
9665 * gdb.cp/oranking.cc: New test program.
9666
3bdf2bbd
KW
96672010-10-08 Ken Werner <ken.werner@de.ibm.com>
9668
9669 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
9670 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
9671
2f608a3a
KW
96722010-10-06 Ken Werner <ken.werner@de.ibm.com>
9673
9674 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
9675 lush, lynx) New constant.
9676 * gdb.base/constvars.exp: Test const array types.
9677 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
9678
aa2e2d8d
DE
96792010-10-06 Doug Evans <dje@google.com>
9680
9681 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
9682 of syscall staging area.
9683
2844d6b5
KW
96842010-10-06 Ken Werner <ken.werner@de.ibm.com>
9685
9686 * gdb.base/gnu_vector.c: Add variable c4.
9687 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
9688 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
9689
7d8ac8bb
MR
96902010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
9691
9692 * gdb.arch/altivec-abi.exp: Fix a typo.
9693
84a02e58
MR
96942010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
9695
9696 * lib/mi-support.exp (thread_selected_re): Correct pattern used
9697 to match a thread ID.
9698
b18e6318
JK
96992010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9700
9701 Fix s390x testcase compatibility.
9702 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
9703
a2c09bd0
DE
97042010-10-01 Doug Evans <dje@google.com>
9705
9706 * lib/gdb-python.exp: New file.
9707 * gdb.python/py-block.exp: Use it.
9708 * gdb.python/py-breakpoint.exp: Ditto.
9709 * gdb.python/py-frame.exp: Ditto.
9710 * gdb.python/py-inferior.exp: Ditto.
9711 * gdb.python/py-param.exp: Ditto.
9712 * gdb.python/py-prettyprint.exp: Ditto.
9713 * gdb.python/py-shared.exp: Ditto.
9714 * gdb.python/py-symbol.exp: Ditto.
9715 * gdb.python/py-symtab.exp: Ditto.
9716 * gdb.python/py-type.exp: Ditto.
9717 * gdb.python/py-value.exp: Ditto.
9718 * gdb.python/python.exp: Ditto.
9719
38f12cfc
TT
97202010-09-30 Tom Tromey <tromey@redhat.com>
9721
9722 * gdb.base/anon.exp: New file.
9723 * gdb.base/anon.c: New file.
9724
9ae8282d
TT
97252010-09-30 Tom Tromey <tromey@redhat.com>
9726
9727 * gdb.base/completion.exp: Test completion through anonymous
9728 union.
9729 * gdb.base/break1.c (struct some_struct): Add anonymous union.
9730
e9e07ba6
JK
97312010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9732
9733 Fix printing parameters of inlined functions.
9734 * gdb.dwarf2/dw2-inline-param.exp: New file.
9735 * gdb.dwarf2/dw2-inline-param-main.c: New file.
9736 * gdb.dwarf2/dw2-inline-param.S: New file.
9737
cd2effb2
JK
97382010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9739
9740 PR corefiles/12071.
9741 * gdb.base/corefile.exp (quit with a process, no question: load core)
9742 (quit with a core file): New tests.
9743
bceffbf3
JK
97442010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9745
9746 Fix GDB crash on inferior calls with self-referencing classes.
9747 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
9748 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
9749 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
9750
1736ad11
JK
97512010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9752
9753 Fix lost siginfo_t for inferior calls.
9754 * gdb.base/siginfo-infcall.exp: New file.
9755 * gdb.base/siginfo-infcall.c: New file.
9756
a176ad92
JB
97572010-09-22 Joel Brobecker <brobecker@adacore.com>
9758
9759 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
9760
c2b0a229
JK
97612010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9762
9763 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
9764 New test.
9765 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
9766
e8ae22d1
JB
97672010-09-22 Joel Brobecker <brobecker@adacore.com>
9768
9769 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
9770 type of our const type.
9771
ec322823
SW
97722010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
9773
9774 * gdb.cp/pr12028.cc: New.
9775 * gdb.cp/pr12028.exp: New.
9776
72929c62
JB
97772010-09-22 Joel Brobecker <brobecker@adacore.com>
9778
9779 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
9780
875b4ff5 97812010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 9782 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
9783
9784 PR mi/11407
9785 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
9786 * gdb.mi/dw2-ref-missing-frame-main.c New File.
9787 * gdb.mi/dw2-ref-missing-frame.S New File.
9788 * gdb.mi/dw2-ref-missing-frame.exp New File.
9789
7155d578
TT
97902010-09-14 Tom Tromey <tromey@redhat.com>
9791
9792 PR symtab/8399:
9793 * gdb.threads/tls.exp: Remove kfail. Update expected output.
9794
515ed532
TT
97952010-09-14 Tom Tromey <tromey@redhat.com>
9796
9797 PR exp/11803:
9798 * gdb.threads/tls.exp: Use C++.
9799 (check_thread_local): Use K::another_thread_local.
9800 * gdb.threads/tls.c (class K): New.
9801 (another_thread_local): Now a member of K.
9802 (spin): Update. No longer K&R C.
9803
450ca57c
SW
98042010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
9805
9806 * gdb.cp/koenig.cc: created class for testing member lookup.
9807 * gdb.cp/koenig.exp: Added test for member lookup.
9808
dbd492a3
JK
98092010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9810
9811 Fix false FAILs on sourcetree topdir directory containing "kill".
9812 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
9813 source line matching regexp.
9814
8d4d924b
JK
98152010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9816
9817 * gdb.python/python.exp (set height 0, collect help from uiout)
9818 (verify help to uiout): New tests.
9819
8e64f2a0
JK
98202010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9821
9822 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
9823 is_lp64_target to check 64bit target.
9824
4569eed2
JK
98252010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9826
9827 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
9828 (test_ld) <powerpc64-*>: New.
9829
5e1617b1
DJ
98302010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9831
9832 * gdb.cp/templates.exp (test_template_args): Allow "struct".
9833
c767944b
DJ
98342010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9835
9836 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
9837 (FunctionArg::method): New function.
9838 (empty, arg): New variables.
9839 (main): Call arg.method.
9840 * gdb.cp/templates.exp (test_template_args): New function.
9841 (do_tests): Call it.
9842
27d3a3fc
UW
98432010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
9844
9845 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
9846 of "next" to proceed over pthread_exit call.
9847
55b7ce7f
UW
98482010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
9849
9850 * gdb.base/maint.exp: Avoid wildcards against potentially very long
9851 "maint print statistics" output to prevent expect timeouts.
9852
809df446
JK
98532010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9854
9855 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
9856 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9857 (test_float_rejected): ... here.
9858 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
9859 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9860 (test_float_rejected): ... here.
9861 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
9862 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9863 (test_float_rejected): ... here.
9864 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
9865 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9866 (test_float_rejected): ... here.
9867
8464be76
DJ
98682010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9869
9870 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
9871 before disabling hardware watchpoints.
9872 (test_inaccessible_watchpoint): Check that hardware watchpoints
9873 are used. Test for watchpoints on a constant address.
9874
14dba4b4
JK
98752010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9876
9877 * gdb.base/ui-redirect.exp: New file.
9878
3f3540e1 98792010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 9880 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
9881
9882 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
9883
0f254bb7
DE
98842010-08-31 Doug Evans <dje@google.com>
9885
9886 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
9887
03f17ccf
TT
98882010-08-30 Tom Tromey <tromey@redhat.com>
9889
9890 PR python/11792:
9891 * gdb.python/py-value.exp (test_subscript_regression): Add
9892 dynamic_type test.
9893
640617ad
DJ
98942010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
9895
9896 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
9897 instead of running to main. Do not test the main function.
9898 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
9899 Add new main.
9900
2ed91d1b
PA
99012010-08-26 Pedro Alves <pedro@codesourcery.com>
9902
9903 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
9904 one test.
9905
673bfd45
DE
99062010-08-24 Doug Evans <dje@google.com>
9907
9908 PR symtab/11942
9909 * gdb.dwarf2/dw4-sig-types.cc: New file.
9910 * gdb.dwarf2/dw4-sig-types.h: New file.
9911 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
9912 * gdb.dwarf2/dw4-sig-types.exp: New file.
9913
f9ffd4bb
TT
99142010-08-23 Tom Tromey <tromey@redhat.com>
9915
9916 PR python/11145:
9917 * gdb.python/py-value.c (Base, Derived): New types.
9918 (base): New global.
9919 * gdb.python/py-value.exp (test_subscript_regression): Add
9920 dynamic_cast test.
9921
d839c8a4
TT
99222010-08-23 Tom Tromey <tromey@redhat.com>
9923
9924 PR python/10676:
9925 * gdb.python/py-type.exp (test_fields): Add tests for type
9926 equality.
9927
702c2711
TT
99282010-08-23 Tom Tromey <tromey@redhat.com>
9929
9930 PR python/11915:
9931 * gdb.python/py-type.exp (test_fields): Add tests for array.
9932
832bafd3
KS
99332010-08-23 Keith Seitz <keiths@redhat.com>
9934
9935 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
9936 have any children. Create a new abbrev for it.
9937 Add missing terminal sequence to .debug_abbrev.
9938
c37bf528
KS
99392010-08-20 Keith Seitz <keiths@redhat.com>
9940
9941 PR symtab/11465:
9942 * gdb.dwarf2/pr11465.exp: New test.
9943 * gdb.dwarf2/pr11465.S: New file.
9944 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
9945 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
9946
4572cbac
TJB
99472010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
9948
9949 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
9950 registers. Update data sets with the new v2_double element in the
9951 VSX register union. Add vector_register3_vr data set for the AltiVec
9952 registers. Use gdb_test_no_output instead of send_gdb.
9953
e7fbb131
PA
99542010-08-19 Pedro Alves <pedro@codesourcery.com>
9955
9956 * gdb.python/py-shared.exp: New file, factored out from
9957 python.exp.
9958 * gdb.python/py-shared.c: New file.
9959 * gdb.python/py-shared-sl.c: New file.
9960 * gdb.python/python-1.c: New file.
9961 * gdb.python/python-sl.c: Delete.
9962 * gdb.python/python.c: Mention python-1.c.
9963 * gdb.python/python.exp: Move shared library tests to
9964 py-shared.exp.
9965 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
9966 (MISCELLANEOUS): New.
9967 (clean mostlyclean): Also remove $MISCELLANEOUS.
9968
d30f5e1f
DE
99692010-08-19 Doug Evans <dje@google.com>
9970
9971 PR exp/11926
9972 * gdb.base/printcmds.exp (test_float_accepted): New function.
9973 Move existing float tests there. Add tests for floats with suffixes.
9974 (test_float_rejected): New function.
9975 * gdb.java/jv-print.exp (test_float_accepted): New function.
9976 (test_float_rejected): New function.
9977 * gdb.objc/print.exp: New file.
9978 * gdb.pascal/print.exp: New file.
9979 * lib/objc.exp: New file.
9980
7b3fd859
PM
99812010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
9982
9983 * gdb.base/default.exp (info set): Avoid full buffer error and force
9984 reading up to final gdb prompt.
9985 (show): Likewise.
9986
c92817ce
TT
99872010-08-18 Tom Tromey <tromey@redhat.com>
9988
9989 PR symtab/11919:
9990 * gdb.base/completion.exp: Add test.
9991
f1208f9e
DE
99922010-08-18 Doug Evans <dje@google.com>
9993
9994 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
9995 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
9996 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
9997 Simplify, early exit if runto_main fails.
9998 * gdb.fortran/exprs.exp: load_lib fortran.exp.
9999 (set_lang_fortran): Moved to lib/fortran.exp.
10000 * gdb.fortran/types.exp: load_lib fortran.exp.
10001 (set_lang_fortran): Moved to lib/fortran.exp.
10002 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
10003 * gdb.java/jprint.exp (set_lang_java): Ditto.
10004 * gdb.java/jv-exp.exp: load_lib java.exp.
10005 If set_lang_java fails, issue a warning instead of failure to be
10006 consistent with other set_lang_foo uses.
10007 (set_lang_java): Moved to lib/java.exp.
10008 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
10009 If set_lang_java fails, issue a warning instead of failure to be
10010 consistent with other set_lang_foo uses.
10011 * gdb.pascal/types.exp: load_lib pascal.exp.
10012 (set_lang_pascal): Moved to lib/pascal.exp.
10013 * lib/fortran.exp: New file.
10014 * lib/java.exp (set_lang_java): New function.
10015 * lib/pascal.exp (set_lang_pascal): New function.
10016
2f06b485
YQ
100172010-08-18 Yao Qi <yao@codesourcery.com
10018
10019 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
10020 func_nofb_start and func_loopfb_start, so that address of functions
10021 is equal to these labels on Thumb.
10022
96e25403
YQ
100232010-08-18 Yao Qi <yao@codesourcery.com>
10024
10025 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
10026 to reflect latest c source file.
10027
36e6adc4
JK
100282010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10029
10030 * gdb.cp/infcall-dlopen.exp: New file.
10031 * gdb.cp/infcall-dlopen.cc: New file.
10032 * gdb.cp/infcall-dlopen-lib.cc: New file.
10033
f431efe5
PA
100342010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10035 Pedro Alves <pedro@codesourcery.com>
10036
10037 PR breakpoints/11371
10038
10039 * gdb.base/watch-cond-infcall.exp: New file.
10040 * gdb.base/watch-cond-infcall.c: New file.
10041
06a64a0b
TT
100422010-08-16 Tom Tromey <tromey@redhat.com>
10043
10044 * gdb.base/help.exp: Update.
10045 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
10046 watchpoint.
10047 (test_watch_location): New proc.
10048 (test_watchpoint_in_big_blob): Delete watchpoint.
10049 * gdb.base/watchpoint.c (func5): New function.
10050 (main): Call it.
10051
70ebf4ed
DE
100522010-08-16 Doug Evans <dje@google.com>
10053
10054 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
10055
ca5c20b6
PM
100562010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10057
10058 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
10059 tests.
10060
7346b668
KW
100612010-08-11 Ken Werner <ken.werner@de.ibm.com>
10062
10063 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
10064 * gdb.base/gnu_vector.c: New File.
10065 * gdb.base/gnu_vector.exp: Likewise.
10066
cb2e07a6
PM
100672010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10068
10069 * gdb.python/python.c: New File.
10070 * gdb.python/python-sl.c: New File.
10071 * gdb.python/python.exp: Test solib_address and decode_line
10072 * functions.
10073
5da1313b
JK
100742010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10075
10076 * gdb.python/python.exp (show height, set height 10)
10077 (verify pagination beforehand, verify pagination beforehand: q)
10078 (gdb.execute does not page, verify pagination afterwards)
10079 (verify pagination afterwards: q): New.
10080
49c3ccf7
DE
100812010-08-02 Doug Evans <dje@google.com>
10082
10083 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
10084 because of an older gcc, change test2
10085 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
10086 to unsupported.
10087
42c0c4f1
KH
100882010-07-30 Kazu Hirata <kazu@codesourcery.com>
10089
10090 * gdb.base/break-always.exp: Do not expect full paths to file
10091 names.
10092 * gdb.base/commands.exp: Likewise.
10093
d3765805
DE
100942010-07-30 Doug Evans <dje@google.com>
10095
c98ee71b
DE
10096 * gdb.cp/temargs.exp: For new tests that require newer gccs,
10097 xfail them when run with older gccs.
10098
fd961404
DE
10099 * lib/gdb.exp (build_executable): Forward "c++" option to
10100 get_compiler_info.
10101
999adef4
DE
10102 * gdb.python/py-type.exp (test_template): Mark as xfail tests
10103 "python print ttype.template_argument(1)" and
10104 "python print isinstance(ttype.template_argument(1), gdb.Value)"
10105 if using gcc 4.4 or earlier.
10106
d3765805
DE
10107 * gdb.base/valgrind-db-attach.exp: Use unique test name for
10108 attach-to-debugger handling.
10109
1276c759
JK
101102010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10111
10112 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
10113 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
10114 (main): Use copyreloc.
10115 * gdb.base/prelink.exp (split debug of executable)
10116 (.dynbss vs. .bss address shift): New tests.
10117
88caa9b9
PA
101182010-07-29 Pedro Alves <pedro@codesourcery.com>
10119
10120 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
10121 in gdb_test_multiple.
10122
c6f2ac43
PA
101232010-07-29 Pedro Alves <pedro@codesourcery.com>
10124
10125 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
10126 environment.
10127
326fd672
TT
101282010-07-28 Tom Tromey <tromey@redhat.com>
10129
10130 PR python/11060:
10131 * gdb.python/py-type.c (Temargs): New template.
10132 (temvar): New variable.
10133 * gdb.python/py-type.exp (test_template): New proc.
10134
3ce3b1ba
PA
101352010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
10136
10137 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
10138 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
10139
34eaf542
TT
101402010-07-28 Tom Tromey <tromey@redhat.com>
10141
10142 PR c++/9946:
10143 * gdb.cp/temargs.exp: New file.
10144 * gdb.cp/temargs.cc: New file.
10145
d41b819e
JK
101462010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10147
10148 * gdb.base/help.exp (help disassemble): Update the content.
10149
26ab7092
JK
101502010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10151
10152 * gdb.threads/ia64-sigill.exp: New file.
10153 * gdb.threads/ia64-sigill.c: New file.
10154
5283e9e1
TT
101552010-07-27 Tom Tromey <tromey@redhat.com>
10156
10157 * gdb.opt/inline-cmds.c (ATTR): New define.
10158 (func1): Use it.
10159 (func2): Likewise.
10160 (func3): Likewise.
10161 (outer_inline1): Likewise.
10162 (outer_inline2): Likewise.
10163 * gdb.opt/inline-bt.c (ATTR): New define.
10164 (func1): Use it.
10165 (func2): Likewise.
10166 * gdb.opt/inline-locals.c (ATTR): New define.
10167 (func1): Use it.
10168 (func2): Likewise.
10169
e992ef73
TT
101702010-07-27 Tom Tromey <tromey@redhat.com>
10171
10172 * gdb.stabs/gdb11479.c (hack): New function.
10173 (test): Use it.
10174 (test2): Use it.
10175 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
10176 (int32_search_buf, int64_search_buf): No longer static.
10177 (x): Remove.
10178 * gdb.base/relocate.c (hack): New function.
10179
5374244e
PM
101802010-07-27 Phil Muldoon <pmuldoon@redhat.com>
10181
10182 * gdb.python/py-value.exp (test_inferior_function_call): New function.
10183 * gdb.python/py-value.c (func1): New function.
10184 (func2): Likewise.
10185
a99aee83
CV
101862010-07-26 Corinna Vinschen <vinschen@redhat.com>
10187
10188 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
10189 as not to clash with .data section.
10190
a04ba985
JG
101912010-07-26 Jerome Guitton <guitton@adacore.com>
10192
10193 * gdb.base/code_elim.exp: New file.
10194 * gdb.base/code_elim1.c: New file.
10195 * gdb.base/code_elim2.c: New file.
10196
23bd0f7c
PA
101972010-07-21 Pedro Alves <pedro@codesourcery.com>
10198
10199 PR symtab/11827
10200
10201 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
10202 (some_volatile_enum): New variable.
10203 * gdb.base/printcmds.exp (test_print_enums): New.
10204 <top level>: Call it.
10205
883df6dd
SW
102062010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
10207
10208 * gdb.cp/fpointer.cc: New test.
10209 * gdb.cp/fpointer.exp: New test.
10210
569b05a5
JK
102112010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10212
10213 * gdb.base/solib-nodir.exp: New file.
10214 * lib/gdb.exp (runto): New case for a GDB internal error.
10215
51d7d803
JK
102162010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10217 Ulrich Weigand <uweigand@de.ibm.com>
10218 Tom Tromey <tromey@redhat.com>
10219
10220 * gdb.base/charset-malloc.c: New file.
10221 * gdb.base/charset.c (malloc_stub): New prototype.
10222 (main): Call it instead of malloc itself.
10223 * gdb.base/charset.exp: Use only prepare_for_testing.
10224 (binfile): Remove the variable.
10225
c0edd9ed
JK
102262010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10227
10228 Make core files the process_stratum.
10229 * gdb.base/corefile.exp (run: load core again)
10230 (run: sanity check we see the core file, run: with core)
10231 (run: core file is cleared, attach: load core again)
10232 (attach: sanity check we see the core file, attach: with core)
10233 (attach: core file is cleared): New tests.
10234 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
10235
3cbaedff
KW
102362010-07-14 Ken Werner <ken.werner@de.ibm.com>
10237
10238 * gdb.arch/altivec-abi.exp: New tests.
10239
91158a56
TT
102402010-07-13 Tom Tromey <tromey@redhat.com>
10241
10242 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
10243 (main): Use it.
10244 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
10245
0f5238ed
TT
102462010-07-13 Tom Tromey <tromey@redhat.com>
10247
10248 * gdb.base/label.exp: New file.
10249 * gdb.base/label.c: New file.
10250
add265ae
L
102512010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
10252 H.J. Lu <hongjiu.lu@intel.com>
10253
10254 * lib/gdb.exp (is_ilp32_target): New.
10255 (is_lp64_target): Likewise.
10256
10257 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
10258 target.
10259 * gdb.arch/amd64-disp-step.exp: Likewise.
10260 * gdb.arch/amd64-dword.exp: Likewise.
10261 * gdb.arch/amd64-i386-address.exp: Likewise.
10262 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 10263
add265ae
L
10264 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
10265 target.
10266 * gdb.arch/i386-bp_permanent.exp: Likewise.
10267 * gdb.arch/i386-byte.exp: Likewise.
10268 * gdb.arch/i386-disp-step.exp: Likewise.
10269 * gdb.arch/i386-gnu-cfi.exp: Likewise.
10270 * gdb.arch/i386-prologue.exp: Likewise.
10271 * gdb.arch/i386-size-overlap.exp: Likewise.
10272 * gdb.arch/i386-size.exp: Likewise.
10273 * gdb.arch/i386-sse.exp: Likewise.
10274 * gdb.arch/i386-unwind.exp: Likewise.
10275 * gdb.arch/i386-word.exp: Likewise.
10276
10277 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
10278 test only when building 64-bit executables. Do not hard-code
10279 -m64 option.
10280
2dfb8c17
DE
102812010-07-07 Doug Evans <dje@google.com>
10282
10283 * lib/gdb.exp (gdb_test_list_exact): New function.
10284 * gdb.base/default.exp (show convenience): Call it, add tests for
10285 $_sdata = void, $_thread = 0.
10286
4e5799b6
JK
102872010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10288 Joel Brobecker <brobecker@adacore.com>
10289
10290 Fix re-run of PIE executable, PR shlibs/11776.
10291 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
10292 Remove $displacement_main to match the solib-svr4.c change. New "kill"
10293 and re-"run" of the inferior.
10294
1a219cc7
JK
102952010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10296 Joel Brobecker <brobecker@adacore.com>
10297
10298 Cope with missing /usr/sbin/prelink.
10299 * lib/prelink-support.exp (prelink_no):
10300 <result == 1 && $output is "no such file or directory">: New.
10301 (prelink_yes): Likewise. Return on failed prelink_no.
10302
5e3b36f8
JK
103032010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10304 Joel Brobecker <brobecker@adacore.com>
10305
10306 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
10307 build_executable by build_executable_own_libs. Replace "prelink -R"
10308 execution by a call of prelink_yes. Comment why "prelink -r" needs no
10309 change.
10310 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
10311 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
10312 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
10313 Replace build_executable by build_executable_own_libs's function
10314 build_executable_own_libs.
10315 (prelinkNO): Create new stub to call prelink_no.
10316 (prelinkYES): Create new stub to call prelink_yes.
10317 (test_attach): Rename calls of copy to file_copy.
10318 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
10319 (copy): Move to ...
10320 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
10321 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
10322 * gdb.base/prelink.exp: Disable testcase also for is_remote and
10323 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
10324 special flags by gdb_compile_shlib. Replace second gdb_compile by
10325 build_executable_own_libs. Replace "prelink -R" execution by a call of
10326 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
10327 a second call of prelink_yes. Replace restart commands by
10328 clean_restart.
10329 (prelink): Rename to ...
10330 (seen displacement message): ... this test. Extend its expectation
10331 strictness.
10332
86e4bafc
JK
103332010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10334
10335 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
10336 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
10337 displacement message exactly once.
10338
3cd07d20
JK
103392010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10340 Joel Brobecker <brobecker@adacore.com>
10341
10342 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
10343 its restore after the <$relink_args != ""> loop. new comment.
10344
0a1e94c7
JK
103452010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10346 Joel Brobecker <brobecker@adacore.com>
10347
10348 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
10349 code for it. New variable relink_args.
10350 (prelinkYES): Call prelinkNO.
10351 (test_attach): Accept new parameter relink_args. Re-prelink the binary
10352 in such case. Move the core code to ...
10353 (test_attach_gdb): ... a new function. Send GDB command "file".
10354 Extend expected "Attaching to " string.
10355
2f70bcfb
TT
103562010-07-02 Tom Tromey <tromey@redhat.com>
10357
10358 * gdb.base/bitops.exp: Remove extraneous "pass".
10359
a17ac5b0
TT
103602010-07-02 Ken Werner <ken.werner@de.ibm.com>
10361
10362 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
10363
dc10affe
PA
103642010-07-01 Pedro Alves <pedro@codesourcery.com>
10365
d41c0fc8
PA
10366 * gdb.base/help.exp: Adjust expected output.
10367
103682010-07-01 Pedro Alves <pedro@codesourcery.com>
10369
10370 * gdb.base/help.exp: Adjust expected output.
dc10affe 10371
0a600c36
JK
103722010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10373
10374 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
10375 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
10376 c++/11702.
10377
37cc8bfe
JK
103782010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10379 Doug Evans <dje@google.com>
10380
10381 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
10382 add .dynamic entry'.
10383
254e6b9e
DE
103842010-06-29 Doug Evans <dje@google.com>
10385
10386 Test PR c++/11702.
10387 * gdb.cp/m-static.exp: Add testcase.
10388 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
10389
595939de 103902010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
10391 Tom Tromey <tromey@redhat.com>
10392 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
10393
10394 * gdb.python/py-inferior.c: New File.
10395 * gdb.python/py-infthread.c: New File.
10396 * gdb.python/py-inferior.exp: New File.
10397 * gdb.python/py-infthread.exp: New File.
10398
98751a41
JK
103992010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10400
10401 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
10402 (ptype ::C::OtherFileClass typedefs): New.
10403 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
10404 (C::OtherFileClass::cOtherFileClassVar2): New.
10405 (C::OtherFileClass::cOtherFileClassVar_use): Use also
10406 cOtherFileClassVar2.
10407 (C::cOtherFileType2, C::cOtherFileVar2): New.
10408 (C::cOtherFileVar_use): use also cOtherFileVar2.
10409 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
10410
41f62f39
JK
104112010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10412
10413 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
10414 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
10415 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
10416 (print ::C::cOtherFileVar)
10417 (whatis C::OtherFileClass::cOtherFileClassType)
10418 (whatis ::C::OtherFileClass::cOtherFileClassType)
10419 (print C::OtherFileClass::cOtherFileClassVar)
10420 (print ::cOtherFileClassVar)
10421 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
10422 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
10423 trailing content.
10424 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
10425 (C::OtherFileClass::cOtherFileClassVar)
10426 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
10427 (C::cOtherFileVar, C::cOtherFileVar_use): New.
10428
af53d231
JK
104292010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10430
10431 Test PR c++/11703 and PR gdb/1448.
10432 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
10433 gdb/1448.
10434
9655fd1a
JK
104352010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10436
10437 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
10438 (main) <rtti_data>: New.
10439 * gdb.cp/virtbase.exp (print rtti_data): New.
10440
824cc8dd
JK
104412010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10442 Joel Brobecker <brobecker@adacore.com>
10443
10444 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
10445
6036c742
JK
104462010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10447
10448 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
10449
de6a0421
DE
104502010-06-28 Doug Evans <dje@google.com>
10451
10452 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
10453
b2dae948
DE
104542010-06-27 Doug Evans <dje@google.com>
10455
10456 * gdb.cp/m-static.exp: Update expected test output.
10457
0f3bb72e
PH
104582010-06-25 Paul Hilfinger <hilfinger@adacore.com>
10459
889bf7c5
PA
10460 * gdb.gdb/selftest.exp: Adjust expected message for
10461 capturing start-up runtime.
0f3bb72e 10462
bc9f0842
TT
104632010-06-25 Tom Tromey <tromey@redhat.com>
10464
10465 PR python/10808:
10466 * gdb.python/python.exp: Add new tests.
10467
099ef718
SW
104682010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
10469
10470 * gdb.cp/operator.cc: Created an import loop.
10471 * gdb.cp/operator.exp: Added testcase for import loop.
10472
5868a632
JK
104732010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10474
10475 Test PR python/11407.
10476 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
10477 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
10478 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
10479 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
10480 executable_nofb and executable_fb. New variables srcsfile, objsfile,
10481 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
10482 binfile. Call gdb_compile with clean_restart twice.
10483 (func_nofb print, func_nofb backtrace, func_loopfb print)
10484 (func_loopfb backtrace): New.
10485
af76db58
JK
104862010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10487
10488 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
10489 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
10490 by a hand made one.
10491 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
10492 i?86 requirement. Remove variables srcfile and binfile. New variable
10493 sources, executable_nofb and executable_fb. Call prepare_for_testing.
10494
f2c7657e
UW
104952010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10496
10497 * gdb.cell/dwarfaddr.exp: New file.
10498 * gdb.cell/dwarfaddr.S: New file.
10499
628fe4e4
JK
105002010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10501
10502 Test PR 9436.
10503 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
10504
f1421989
HZ
105052010-06-24 Hui Zhu <teawater@gmail.com>
10506
10507 * gdb.base/eval.exp: New file.
10508
d03285ec
UW
105092010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10510
10511 * gdb.cell/fork.exp: New file.
10512 * gdb.cell/fork.c: Likewise.
10513 * gdb.cell/fork-spu.c: Likewise.
10514
41b2c92d
PM
105152010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
10516
10517 * lib/gdb.exp (banned_variables_traced): New global variable.
10518 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
10519 (gdb_init): Use `trace add variable' instead of obsolete
10520 `trace variable'.
10521
d5bc977f
DE
105222010-06-21 Doug Evans <dje@google.com>
10523
10524 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
10525
d2ed6730
UW
105262010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10527
10528 * gdb.arch/spu-ls.exp: New file.
10529 * gdb.arch/spu-ls.c: Likewise.
10530
6aed2dbc
SS
105312010-06-18 Stan Shebs <stan@codesourcery.com>
10532
10533 * gdb.threads/thread-specific.exp: Add tests of $_thread.
10534
e0756905
UW
105352010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10536
10537 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
10538 * gdb.base/watch-cond.exp: Likewise.
10539 * gdb.python/py-breakpoint.exp: Likewise.
10540
d8053d4d
PA
105412010-06-18 Pedro Alves <pedro@codesourcery.com>
10542
10543 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
10544 clean_restart, make sure every test has a distinct message, and
10545 that messages don't include the executable' full path.
10546
81ce510c
DE
105472010-06-17 Doug Evans <dje@google.com>
10548
10549 * gdb.arch/i386-size.exp: Updated expected output for
10550 DISASSEMBLY_OMIT_FNAME.
10551
65d79d4b
SDJ
105522010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10553 Sergio Durigan Junior <sergiodj@redhat.com>
10554
10555 * gdb.base/watch-notconst.c: New file.
10556 * gdb.base/watch-notconst.S: New file.
10557 * gdb.base/watch-notconst2.c: New file.
10558 * gdb.base/watch-notconst2.S: New file.
10559 * gdb.base/watch-notconst.exp: New file.
10560 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
10561 (func4): Add operations on `global_ptr_ptr'.
10562 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
10563 routine to test watchpoints created with a constant expression.
10564 (test_inaccessible_watchpoint): Include tests for watchpoints
10565 created with a constant expression.
10566
df0f4836
KB
105672010-06-14 Kevin Buettner <kevinb@redhat.com>
10568
10569 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
10570 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
10571 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
10572 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
10573 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
10574 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
10575 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
10576 of `_start'.
10577
b769def5
UW
105782010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10579
10580 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
10581 not supported on the target.
10582 * gdb.mi/mi-nonstop-exit.exp: Likewise.
10583 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10584 * gdb.mi/mi-nsintrall.exp: Likewise.
10585 * gdb.mi/mi-nsmoribund.exp: Likewise.
10586 * gdb.mi/mi-nsthrexec.exp: Likewise.
10587
d914c394
SS
105882010-06-11 Stan Shebs <stan@codesourcery.com>
10589
10590 * gdb.base/permissions.exp: New file.
10591
105922010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
10593
10594 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
10595 does not support ELF executable class.
10596
f3ce5b9c
UW
105972010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10598
10599 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
10600
8e46892c
JK
106012010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10602
10603 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
10604 (runto): Catch "The target does not support running in non-stop mode.".
10605
6cc55c64
MS
106062010-06-11 Michael Snyder <msnyder@vmware.com>
10607
10608 * gdb.base/setshow.exp (set language asm): Don't use
10609 gdb_test_no_output, fails on some targets.
10610
caddefa4
UW
106112010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10612
10613 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
10614 * gdb.cp/pr9167.exp: Likewise.
10615
468b1aa7
UW
106162010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10617
10618 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
10619
5c3552dc
UW
106202010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10621
10622 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
10623
02e6fe6a
UW
106242010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10625
10626 * gdb.base/charset.c (main): Make sure malloc gets linked in.
10627
0e03807e
TT
106282010-06-11 Tom Tromey <tromey@redhat.com>
10629
10630 PR gdb/9977, PR exp/11636::
10631 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
10632 (pieces_test_f6): Update expected output.
10633
2bdf28a0
JK
106342010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10635
10636 * gdb.base/moribund-step.exp: New.
10637
f6978de9
MS
106382010-06-08 Michael Snyder <msnyder@vmware.com>
10639
10640 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 10641 * gdb.ada/boolean_expr.exp:
f6978de9
MS
10642 * gdb.ada/frame_args.exp: Ditto.
10643 * gdb.ada/lang_switch.exp: Ditto.
10644 * gdb.ada/ptype_arith_binop.exp: Ditto.
10645 * gdb.ada/ref_param.exp: Ditto.
10646 * gdb.ada/type_coercion.exp:Ditto.
10647
10648 * gdb.asm/asm-source.exp: Ditto.
10649
10650 * gdb.base/attach.exp: Ditto.
10651 * gdb.base/bitfields2.exp: Ditto.
10652 * gdb.base/call-signal-resume.exp: Ditto.
10653 * gdb.base/callfuncs.exp: Ditto.
10654 * gdb.base/commands.exp: Ditto.
10655 * gdb.base/dbx.exp: Ditto.
10656 * gdb.base/default.exp: Ditto.
10657 * gdb.base/dump.exp: Ditto.
10658 * gdb.base/exprs.exp: Ditto.
10659 * gdb.base/freebpcmd.exp: Ditto.
10660 * gdb.base/interrupt.exp: Ditto.
10661 * gdb.base/list.exp: Ditto.
10662 * gdb.base/long_long.exp: Ditto.
10663 * gdb.base/maint.exp: Ditto.
10664 * gdb.base/ptype.exp: Ditto.
10665 * gdb.base/return.exp: Ditto.
10666 * gdb.base/setshow.exp: Ditto.
10667 * gdb.base/sigbpt.exp: Ditto.
10668 * gdb.base/sigrepeat.exp: Ditto.
10669
10670 * gdb.cp/classes.exp: Ditto.
10671
10672 * gdb.dwarf2/dw2-restore.exp: Ditto.
10673
10674 * gdb.gdb/selftest.exp: Ditto.
10675
10676 * gdb.multi/base.exp: Ditto.
10677 * gdb.multi/bkpt-multi-exec.exp: Ditto.
10678
10679 * gdb.python/py-block.exp: Ditto.
10680 * gdb.python/py-prettyprint.exp: Ditto.
10681 * gdb.python/py-template.exp: Ditto.
10682
10683 * gdb.server/ext-attach.exp: Ditto.
10684 * gdb.server/ext-run.exp: Ditto.
10685 * gdb.server/server-mon.exp: Ditto.
10686
10687 * gdb.threads/fork-thread-pending.exp: Ditto.
10688 * gdb.threads/hand-call-in-threads.exp: Ditto.
10689 * gdb.threads/interrupted-hand-call.exp: Ditto.
10690 * gdb.threads/linux-dp.exp: Ditto.
10691 * gdb.threads/manythreads.exp: Ditto.
10692 * gdb.threads/print-threads.exp: Ditto.
10693 * gdb.threads/pthreads.exp: Ditto.
10694 * gdb.threads/schedlock.exp: Ditto.
10695 * gdb.threads/thread-unwindonsignal.exp: Ditto.
10696 * gdb.threads/threadapply.exp: Ditto.
10697
de7ff789
MS
106982010-06-08 Michael Snyder <msnyder@vmware.com>
10699
889bf7c5 10700 * gdb.ada/exec_changed.exp:
de7ff789
MS
10701 Use ".*" instead of "" as wildcard regexp.
10702
10703 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
10704 * gdb.base/call-ar-st.exp: Ditto.
10705 * gdb.base/checkpoint.exp: Ditto.
10706 * gdb.base/default.exp: Ditto.
10707 * gdb.base/dump.exp: Ditto.
10708 * gdb.base/ending-run.exp: Ditto.
10709 * gdb.base/fileio.exp: Ditto.
10710 * gdb.base/miscexprs.exp: Ditto.
10711 * gdb.base/pointers.exp: Ditto.
10712 * gdb.base/readline.exp: Ditto.
10713 * gdb.base/reread.exp: Ditto.
10714 * gdb.base/restore.exp: Ditto.
10715 * gdb.base/shlib-call.exp: Ditto.
10716 * gdb.base/valgrind-db-attach.exp: Ditto.
10717 * gdb.base/volatile.exp: Ditto.
10718 * gdb.base/watchpoints.exp: Ditto.
10719
10720 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
10721
10722 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
10723 * gdb.python/py-value.exp: Ditto.
10724
10725 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
10726 * gdb.trace/circ.exp: Ditto.
10727 * gdb.trace/collection.exp: Ditto.
10728 * gdb.trace/packetlen.exp: Ditto.
10729 * gdb.trace/passc-dyn.exp: Ditto.
10730 * gdb.trace/report.exp: Ditto.
10731 * gdb.trace/tfile.exp: Ditto.
10732 * gdb.trace/tfind.exp: Ditto.
10733 * gdb.trace/while-dyn.exp: Ditto.
10734
3bebe2f2
JK
107352010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10736
10737 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
10738
5c631832
JK
107392010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10740
10741 Test PR 10640.
10742 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
10743
4c3376c8
SW
107442010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
10745
10746 * gdb.cp/koenig.exp: Test for ADL operators.
10747 * gdb.cp/koenig.cc: Added ADL operators.
10748 * gdb.cp/operator.exp: New test.
10749 * gdb.cp/operator.cc: New test.
10750
dc226d5a
MS
107512010-06-04 Michael Snyder <msnyder@vmware.com>
10752
dfb88a23
MS
10753 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
10754 * gdb.base/pending.exp: Ditto.
f7ae76b3 10755
dc226d5a
MS
10756 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
10757
967cf477
DE
107582010-06-04 Doug Evans <dje@google.com>
10759
10760 * gdb.python/py-prettyprint.exp: Add new test for enabled and
10761 disabled printers.
10762 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
10763 (enable_lookup_function): New function.
10764
eb801841
TT
107652010-06-04 Tom Tromey <tromey@redhat.com>
10766
10767 * gdb.python/py-value.exp (test_value_hash): Don't test equality
10768 of hash and id.
10769
38979823
JK
107702010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10771
10772 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
10773 newline.
10774 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
10775 (empty verbose non-noisy clear, empty verbose noisy clear)
10776 (empty non-verbose noisy clear): Likewise.
10777
35ec993f
MS
107782010-06-03 Michael Snyder <msnyder@vmware.com>
10779
10780 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
10781 * gdb.base/display.exp: Ditto.
10782 * gdb.base/find.exp: Ditto.
10783 * gdb.base/ifelse.exp: Ditto.
10784 * gdb.base/multi-forks.exp: Ditto.
10785 * gdb.base/recurse.exp: Ditto.
10786 * gdb.base/setshow.exp: Ditto.
10787 * gdb.base/value-double-free.exp: Ditto.
10788 * gdb.base/watch-vfork.exp: Ditto.
10789 * gdb.base/watch_thread_num.exp: Ditto.
10790 * gdb.base/watchpoint-solib.exp: Ditto.
10791 * gdb.base/watchpoint.exp: Ditto.
10792 * gdb.base/watchpoints.exp: Ditto.
10793
10794 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
10795 * gdb.cp/overload.exp: Ditto.
10796 * gdb.cp/virtfunc.exp: Ditto.
10797
10798 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
10799
889bf7c5 10800 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
10801 Replace gdb_test with gdb_test_no_output.
10802
889bf7c5 10803 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
10804 Replace gdb_test with gdb_test_no_output.
10805 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
10806 * gdb.threads/watchthreads.exp: Ditto.
10807 * gdb.threads/watchthreads2.exp: Ditto.
10808
10809 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
10810 * gdb.trace/tfind.exp: Ditto.
10811
c22decce
JB
108122010-06-03 Joel Brobecker <brobecker@adacore.com>
10813
10814 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
10815 successful test if message is the empty string.
10816
fd5700c7
JK
108172010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10818
10819 * gdb.fortran/module.exp (stopped language detection): New test.
10820
f55ee35c
JK
108212010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10822
10823 Support DW_TAG_module as separate namespaces.
10824 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
10825 gdb.fortran/library-module-lib.f90: New.
10826 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
10827 (print i): Remove.
10828 (continue to breakpoint: i-is-1, print var_i value 1)
10829 (continue to breakpoint: i-is-2, print var_i value 2)
10830 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
10831 (print var_d, print var_i value 14, ptype modmany, complete `modm)
10832 (complete `modmany, complete `modmany`, complete `modmany`var)
10833 (show language, setting breakpoint at module): New tests.
10834 * gdb.fortran/module.f90 (module mod): Remove.
10835 (module mod1, module mod2, module modmany, subroutine sub1)
10836 (subroutine sub2, program module): New.
10837
b8e8282f
JK
108382010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10839
10840 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
10841 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
10842 * gdb.cp/anon-union.exp (pass): Rename to ...
10843 (print z 2): ... here.
b8e8282f 10844
019ebafc
MS
108452010-06-02 Michael Snyder <msnyder@vmware.com>
10846
e68d8fd4
MS
10847 * gdb.trace/actions.exp: Use gdb_test_no_output.
10848 * gdb.trace/circ.exp: Ditto.
10849 * gdb.trace/packetlen.exp: Ditto.
10850 * gdb.trace/save-trace.exp: Ditto.
10851 * gdb.trace/tracecmd.exp: Ditto.
10852 * gdb.trace/tsv.exp: Ditto.
10853
12b5d08a
MS
10854 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
10855 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
10856 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
10857 * gdb.threads/manythreads.exp: Ditto.
10858 * gdb.threads/print-threads.exp: Ditto.
10859 * gdb.threads/pthreads.exp: Ditto.
10860 * gdb.threads/schedlock.exp: Ditto.
10861 * gdb.threads/staticthreads.exp: Ditto.
10862 * gdb.threads/thread-specific.exp: Ditto.
10863 * gdb.threads/thread-unwindonsignal.exp: Ditto.
10864 * gdb.threads/threadapply.exp: Ditto.
10865 * gdb.threads/watchthreads.exp: Ditto.
10866 * gdb.threads/watchthreads2.exp: Ditto.
10867
89493308
MS
10868 * gdb.python/py-block.exp: Use gdb_test_no_output.
10869 * gdb.python/py-prettyprint.exp: Ditto.
10870 * gdb.python/py-template.exp: Ditto.
10871 * gdb.python/py-value.exp: Ditto.
10872
10873 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
10874 * gdb.reverse/watch-reverse.exp: Ditto.
10875
10876 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
10877 * gdb.server/ext-run.exp: Ditto.
10878
019ebafc
MS
10879 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
10880 * gdb.dwarf2/dw2-compressed.exp: Ditto.
10881 * gdb.dwarf2/dw2-intercu.exp: Ditto.
10882 * gdb.dwarf2/dw2-intermix.exp: Ditto.
10883 * gdb.dwarf2/dw2-producer.exp: Ditto.
10884 * gdb.dwarf2/mac-fileno.exp: Ditto.
10885
10886 * gdb.gdb/observer.exp: Use gdb_test_no_output.
10887 * gdb.gdb/selftest.exp: Ditto.
10888
10889 * gdb.multi/base.exp: Use gdb_test_no_output.
10890
10891 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
10892
3e0ca3a5
JK
108932010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10894
10895 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
10896
9db70545
MS
108972010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
10898
a8d52276
MS
10899 * gdb.cp/class2.exp: Use gdb_test_no_output.
10900 * gdb.cp/classes.exp: Ditto.
10901 * gdb.cp/extern-c.exp: Ditto.
10902 * gdb.cp/inherit.exp: Ditto.
10903 * gdb.cp/maint.exp: Ditto.
10904 * gdb.cp/mb-inline.exp: Ditto.
10905 * gdb.cp/mb-templates.exp: Ditto.
10906 * gdb.cp/method2.exp: Ditto.
10907 * gdb.cp/misc.exp: Ditto.
10908 * gdb.cp/ovldbreak.exp: Ditto.
10909 * gdb.cp/punctuator.exp: Ditto.
10910 * gdb.cp/templates.exp: Ditto.
10911 * gdb.cp/virtbase.exp: Ditto.
10912
889bf7c5 10913 * gdb.threads/attach-stopped.exp:
9db70545 10914 Replace uses of send_gdb / gdb_expect.
889bf7c5 10915 * gdb.threads/attachstop-mt.exp:
9db70545 10916 Replace uses of send_gdb / gdb_expect.
889bf7c5 10917 * gdb.threads/gcore-thread.exp:
9db70545 10918 Replace uses of send_gdb / gdb_expect.
889bf7c5 10919 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
10920 Replace uses of send_gdb / gdb_expect.
10921 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 10922 * gdb.threads/print-threads.exp:
9db70545
MS
10923 Replace uses of send_gdb / gdb_expect.
10924 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
10925 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
10926 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
10927
10928 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
10929 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
10930 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
10931 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
10932 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
10933 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
10934 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
10935 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
10936 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
10937 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
10938 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
10939
359cc68c
JK
109402010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10941
10942 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
10943
7d3fe98e
SW
109442010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
10945
10946 * gdb.cp/koenig.exp: Added new test case.
10947 * gdb.cp/koenig.cc: Ditto.
10948
27d3a1a2
MS
109492010-06-01 Michael Snyder <msnyder@vmware.com>
10950
10951 * gdb.base/arithmet.exp: Use gdb_test_no_output.
10952 * gdb.base/arrayidx.exp: Ditto.
10953 * gdb.base/attach.exp: Ditto.
10954 * gdb.base/auxv.exp: Ditto.
10955 * gdb.base/bigcre.exp: Ditto.
10956 * gdb.base/break-always.exp: Ditto.
10957 * gdb.base/break-interp.exp: Ditto.
10958 * gdb.base/break.exp: Ditto.
10959 * gdb.base/breakpoint-shadow.exp: Ditto.
10960 * gdb.base/call-ar-st.exp: Ditto.
10961 * gdb.base/call-sc.exp: Ditto.
10962 * gdb.base/call-signal-resume.exp: Ditto.
10963 * gdb.base/callfuncs.exp: Ditto.
10964 * gdb.base/catch-syscall.exp: Ditto.
10965 * gdb.base/charset.exp: Ditto.
10966 * gdb.base/code-expr.exp: Ditto.
10967 * gdb.base/commands.exp: Ditto.
10968 * gdb.base/cond-expr.exp: Ditto.
10969 * gdb.base/condbreak.exp: Ditto.
10970 * gdb.base/cursal.exp: Ditto.
10971 * gdb.base/cvexpr.exp: Ditto.
10972 * gdb.base/default.exp: Ditto.
10973 * gdb.base/del.exp: Ditto.
10974 * gdb.base/detach.exp: Ditto.
10975 * gdb.base/display.exp: Ditto.
10976 * gdb.base/ena-dis-br.exp: Ditto.
10977 * gdb.base/eval-skip.exp: Ditto.
10978 * gdb.base/foll-fork.exp: Ditto.
10979 * gdb.base/foll-vfork.exp: Ditto.
10980 * gdb.base/frame-args.exp: Ditto.
10981 * gdb.base/funcargs.exp: Ditto.
10982 * gdb.base/gcore-buffer-overflow.exp: Ditto.
10983 * gdb.base/gdbvars.exp: Ditto.
10984 * gdb.base/help.exp: Ditto.
10985 * gdb.base/ifelse.exp: Ditto.
10986 * gdb.base/included.exp: Ditto.
10987 * gdb.base/list.exp: Ditto.
10988 * gdb.base/macscp.exp: Ditto.
10989 * gdb.base/maint.exp: Ditto.
10990 * gdb.base/multi-fork.exp: Ditto.
10991 * gdb.base/overlays.exp: Ditto.
10992 * gdb.base/page.exp: Ditto.
10993 * gdb.base/pending.exp: Ditto.
10994 * gdb.base/pointers.exp: Ditto.
10995 * gdb.base/pr11022.exp: Ditto.
10996 * gdb.base/prelink.exp: Ditto.
10997 * gdb.base/printcmds.exp: Ditto.
10998 * gdb.base/psymtab.exp: Ditto.
10999 * gdb.base/randomize.exp: Ditto.
11000 * gdb.base/relational.exp: Ditto.
11001 * gdb.base/relocate.exp: Ditto.
11002 * gdb.base/remote.exp: Ditto.
11003 * gdb.base/sepdebug.exp: Ditto.
11004 * gdb.base/set-lang-auto.exp: Ditto.
11005 * gdb.base/setshow.exp: Ditto.
11006 * gdb.base/setvar.exp: Ditto.
11007 * gdb.base/signals.exp: Ditto.
11008 * gdb.base/signull.exp: Ditto.
11009 * gdb.base/sigstep.exp: Ditto.
11010 * gdb.base/sizeof.exp: Ditto.
11011 * gdb.base/solib-disc.exp: Ditto.
11012 * gdb.base/store.exp: Ditto.
11013 * gdb.base/structs.exp: Ditto.
11014 * gdb.base/structs2.exp: Ditto.
11015 * gdb.base/subst.exp: Ditto.
11016 * gdb.base/term.exp: Ditto.
11017 * gdb.base/trace-commands.exp: Ditto.
11018 * gdb.base/unwindonsignal.exp: Ditto.
11019 * gdb.base/valgrind-db-attach.exp: Ditto.
11020 * gdb.base/varargs.exp: Ditto.
11021 * gdb.base/watch-cond.exp: Ditto.
11022 * gdb.base/watch_thread_num.exp: Ditto.
11023 * gdb.base/watchpoint-cond-gone.exp: Ditto.
11024 * gdb.base/watchpoint.exp: Ditto.
11025 * gdb.base/whatis-exp.exp: Ditto.
11026
f8d3bf8f
MS
110272010-06-01 Michael Snyder <msnyder@vmware.com>
11028
11029 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
11030 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
11031 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
11032 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
11033 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
11034 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
11035 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
11036 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
11037 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
11038 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
11039 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
11040 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
11041 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
11042 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
11043 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
11044
3f9e0d32
JK
110452010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11046
11047 * gdb.base/commands.exp (begin commands on watch): Remove excessive
11048 trailing newline.
11049 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
11050 * gdb.java/jmisc.exp (p *args\n): Rename to ...
11051 (p *args): ... here and remove excessive trailing newline.
11052
f629457d
JB
110532010-05-31 Joel Brobecker <brobecker@adacore.com>
11054
11055 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
11056
09eef106
JK
110572010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11058
11059 Accept the new Linux kernel "t (tracing stop)" string.
11060 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
11061 Update comment.
11062 (state_wait) <T (tracing stop)>: New.
11063 (main): Update the state_wait expect string.
11064
94f31136
PA
110652010-05-28 Pedro Alves <pedro@codesourcery.com>
11066
11067 * limits.c, limits.exp: Delete files.
11068 * Makefile.in (clean mostlyclean): Adjust.
11069 * tracecmd.exp: Adjust.
11070
096554ab
JK
110712010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11072
11073 * gdb.base/tui-layout.exp: New.
11074
27d3a1a2 110752010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 11076
889bf7c5 11077 * gdb.reverse/break-precsave.exp:
bcd2dc50 11078 Replace uses of send_gdb / gdb_expect.
889bf7c5 11079 * gdb.reverse/break-reverse.exp:
bcd2dc50 11080 Replace uses of send_gdb / gdb_expect.
889bf7c5 11081 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 11082 Replace uses of send_gdb / gdb_expect.
889bf7c5 11083 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 11084 Replace uses of send_gdb / gdb_expect.
889bf7c5 11085 * gdb.reverse/finish-precsave.exp:
bcd2dc50 11086 Replace uses of send_gdb / gdb_expect.
889bf7c5 11087 * gdb.reverse/finish-reverse.exp:
bcd2dc50 11088 Replace uses of send_gdb / gdb_expect.
889bf7c5 11089 * gdb.reverse/i386-precsave.exp:
bcd2dc50 11090 Replace uses of send_gdb / gdb_expect.
889bf7c5 11091 * gdb.reverse/i386-reverse.exp:
bcd2dc50 11092 Replace uses of send_gdb / gdb_expect.
889bf7c5 11093 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 11094 Replace uses of send_gdb / gdb_expect.
889bf7c5 11095 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 11096 Replace uses of send_gdb / gdb_expect.
889bf7c5 11097 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 11098 Replace uses of send_gdb / gdb_expect.
889bf7c5 11099 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 11100 Replace uses of send_gdb / gdb_expect.
889bf7c5 11101 * gdb.reverse/machinestate.exp:
bcd2dc50 11102 Replace uses of send_gdb / gdb_expect.
889bf7c5 11103 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 11104 Replace uses of send_gdb / gdb_expect.
889bf7c5 11105 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 11106 Replace uses of send_gdb / gdb_expect.
889bf7c5 11107 * gdb.reverse/solib-precsave.exp:
bcd2dc50 11108 Replace uses of send_gdb / gdb_expect.
889bf7c5 11109 * gdb.reverse/solib-reverse.exp:
bcd2dc50 11110 Replace uses of send_gdb / gdb_expect.
889bf7c5 11111 * gdb.reverse/step-precsave.exp:
bcd2dc50 11112 Replace uses of send_gdb / gdb_expect.
889bf7c5 11113 * gdb.reverse/step-reverse.exp:
bcd2dc50 11114 Replace uses of send_gdb / gdb_expect.
889bf7c5 11115 * gdb.reverse/until-precsave.exp:
bcd2dc50 11116 Replace uses of send_gdb / gdb_expect.
889bf7c5 11117 * gdb.reverse/until-reverse.exp:
bcd2dc50 11118 Replace uses of send_gdb / gdb_expect.
889bf7c5 11119 * gdb.reverse/watch-precsave.exp:
bcd2dc50 11120 Replace uses of send_gdb / gdb_expect.
889bf7c5 11121 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
11122 Replace uses of send_gdb / gdb_expect.
11123
3def43e0
JK
111242010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11125
11126 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
11127 excessive newline.
11128
27d3a1a2 111292010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
11130
11131 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
11132 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
11133 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
11134 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
11135 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
11136 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
11137 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
11138 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
11139 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
11140 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
11141 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
11142 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
11143 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
11144 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
11145 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
11146 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
11147 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
11148 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
11149 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 11150
27d3a1a2 111512010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 11152
22454424
MS
11153 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
11154 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
11155
11156 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
11157 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
11158 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
11159
889bf7c5 11160 * gdb.reverse/consecutive-reverse.exp:
22454424 11161 Replace uses of send_gdb / gdb_expect.
889bf7c5 11162 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
11163 Replace uses of send_gdb / gdb_expect.
11164
11165 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
11166 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
11167 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 11168 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
11169 Replace uses of send_gdb / gdb_expect.
11170 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
11171 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
11172 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
11173 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
11174 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
11175 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
11176 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
11177 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
11178 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
11179
111802010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 11181
22454424 11182 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 11183
22454424 11184 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 11185
22454424
MS
11186 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
11187 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
11188 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
11189 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
11190 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
11191 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
11192 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
11193 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
11194 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 11195
6e5f2c59
TT
111962010-05-25 Tom Tromey <tromey@redhat.com>
11197
11198 * gdb.base/macscp.exp: Add missing space after setup_kfail.
11199
bbc8b958
TT
112002010-05-25 Tom Tromey <tromey@redhat.com>
11201
11202 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
11203 argument order.
11204 * gdb.base/macscp.exp: Fix setup_kfail argument order.
11205 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
11206 order.
11207 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
11208 order.
11209 * gdb.base/call-sc.exp (setup_kfails): Remove.
11210 (setup_compiler_kfails): Remove.
11211 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
11212 argument order.
11213 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
11214 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
11215 (advancei): Fix setup_kfail argument order.
11216 * gdb.base/radix.exp: Fix setup_kfail argument order.
11217 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
11218 order.
11219 * gdb.base/structs.exp (setup_kfails): Remove.
11220 (setup_compiler_kfails): Fix setup_kfail argument order.
11221 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
11222 order.
11223 * gdb.java/jmain.exp: Fix setup_kfail argument order.
11224 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
11225 setup_kfail argument order.
11226 * gdb.cp/overload.exp: Fix setup_kfail argument order.
11227
83d1babf
TT
112282010-05-25 Tom Tromey <tromey@redhat.com>
11229
11230 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
11231
6acb16a2
MS
112322010-05-25 Michael Snyder <msnyder@vmware.com>
11233
11234 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
11235 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
11236 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
11237 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
11238 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
11239 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
11240 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
11241 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
11242 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
11243 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
11244 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
11245 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
11246 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
11247 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
11248 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
11249 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
11250 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
11251 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
11252 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
11253 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
11254 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
11255 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
11256 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
11257 * gdb.base/default.exp: Replace send_gdb with gdb_test.
11258 * gdb.base/define.exp: Replace send_gdb with gdb_test.
11259 * gdb.base/display.exp: Replace send_gdb with gdb_test.
11260 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
11261 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
11262 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
11263 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
11264 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
11265 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
11266 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
11267 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
11268 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
11269 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
11270 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
11271 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
11272 * gdb.base/help.exp: Replace send_gdb with gdb_test.
11273 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
11274 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
11275 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
11276 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
11277 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
11278 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
11279 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
11280 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 11281 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
11282
112832010-05-25 Doug Evans <dje@google.com>
11284
11285 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
11286 gdb.string_to_argv.
ad3986f0 11287
d3b1e874
TT
112882010-05-21 Tom Tromey <tromey@redhat.com>
11289
11290 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
11291 Call it.
11292 * gdb.dwarf2/pieces.S: Update.
11293 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
11294
cb826367
TT
112952010-05-21 Tom Tromey <tromey@redhat.com>
11296
11297 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
11298 Call it.
11299 * gdb.dwarf2/pieces.c (struct C): New.
11300 (f6): New function.
11301 * gdb.dwarf2/pieces.S: Replace.
11302
74de6778
TT
113032010-05-21 Tom Tromey <tromey@redhat.com>
11304
11305 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
11306 Call it.
11307
afd74c5f
TT
113082010-05-21 Tom Tromey <tromey@redhat.com>
11309
11310 * gdb.dwarf2.pieces.exp: New file.
11311 * gdb.dwarf2.pieces.S: New file.
11312 * gdb.dwarf2.pieces.c: New file.
11313
a7b75dfd 113142010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 11315 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
11316
11317 * lib/gdb.exp (gdb_test_no_output): New function.
11318 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
11319 when testing commands that should produce no output.
11320
c81c812a
JB
113212010-05-17 Joel Brobecker <brobecker@adacore.com>
11322
11323 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
11324 parameter that we want to watch being a constant.
11325
0cce5bd9
JB
113262010-05-17 Joel Brobecker <brobecker@adacore.com>
11327
11328 * gdb.ada/cond_lang: New testcase.
11329
47050449
JB
113302010-05-17 Joel Brobecker <brobecker@adacore.com>
11331
11332 * lib/gdb.exp (banned_variables): New variable/constant.
11333 (gdb_init): Add write trace on variables listed in banned_variables.
11334 (gdb_finish): Remove write traces on variables listed in
11335 banned_variables.
11336
77c01586
JB
113372010-05-17 Joel Brobecker <brobecker@adacore.com>
11338
11339 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
11340 * gdb.cp/koenig.exp: Likewise.
11341
88d4aea7
PM
113422010-05-14 Phil Muldoon <pmuldoon@redhat.com>
11343
889bf7c5 11344 PR python/11482
88d4aea7
PM
11345
11346 * gdb.python/py-value.exp (test_value_hash): New function.
11347
f5a010c0
PM
113482010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
11349
11350 PR exp/11530.
11351 * gdb.base/gdb11530.c: New file.
11352 * gdb.base/gdb11530.exp: New file.
11353
8ef4892f
JK
113542010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11355
11356 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
11357 * gdb.dwarf2/dw2-modula2-self-type.S: New.
11358
7322dca9
SW
113592010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
11360
11361 * gdb.cp/koenig.exp: New test.
11362 * gdb.cp/koenig.cc: New test program.
11363
02e7ea18
JB
113642010-05-05 Joel Brobecker <brobecker@adacore.com>
11365
11366 Remove the use of prms_id and bug_id throughout the testsuite.
11367
e1c34c5d
PM
113682010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
11369
11370 PR exp/11349.
11371 * testsuite/gdb.cp/ref-types.exp: Add test to examine
11372 use a reference local variable.
11373
8e1d0c49
JK
113742010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11375
11376 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
11377 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
11378 variable different_dir. Move debugfile into a full directory pathname
11379 under DIFFERENT_DIR.
11380 * lib/gdb.exp (separate_debug_filename): Remove.
11381 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
11382 variable debug_dir and mkdir of it. Update function comments.
11383
e66408ed
PA
113842010-04-29 Pedro Alves <pedro@codesourcery.com>
11385
11386 PR gdb/11557
11387
11388 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
11389 files.
11390
d7b32ed3
PM
113912010-04-29 Phil Muldoon <pmuldoon@redhat.com>
11392
889bf7c5 11393 * gdb.python/py-param.exp: New File.
d7b32ed3 11394
6aecb9c2
JB
113952010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
11396
11397 * gdb.base/default.exp: Fix "set language" test.
11398
bdf92a1c
PM
113992010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
11400
11401 PR breakpoints/11531.
11402 * gdb.base/gdb11531.c: New file.
11403 * gdb.base/gdb11531.exp: New file.
11404
3f172e24
TT
114052010-04-26 Tom Tromey <tromey@redhat.com>
11406
11407 * gdb.base/completion.exp: Add tests for completion and deprecated
11408 commands.
11409
64af4c92
JK
114102010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11411
11412 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
11413 (print /x char_array): Escape curly brackets.
11414
492928e4
JK
114152010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11416
11417 Fix deadlock on looped list of loaded shared objects.
11418 * gdb.base/solib-corrupted.exp: New.
11419
66d09542
DE
114202010-04-23 Doug Evans <dje@google.com>
11421
11422 * gdb.python/py-section-script.c: New file.
11423 * gdb.python/py-section-script.exp: New file.
11424 * gdb.python/py-section-script.py: New file.
11425
8bd10a10
CM
114262010-04-20 Chris Moller <cmoller@redhat.com>
11427
11428 PR 10179
11429
11430 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
11431 * gdb.base/pr10179-a.c:
11432 * gdb.base/pr10179-b.c:
11433 * gdb.base/pr10179.exp: New files.
11434
c0201579
JK
114352010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11436
11437 Fix crashes on dangling display expressions.
11438 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
11439 is SEP.
11440 (lib_flags): Remove the "debug" keyword.
11441 (libsepdebug): New variable for iterating new loop.
11442 (save_pf_prefix): New variable wrapping the loop.
11443 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
11444 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
11445
793b0ff8
PM
114462010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11447
11448 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
11449
097f51f7
PM
114502010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11451
11452 PR stabs/11479.
11453 * gdb.stabs/gdb11479.exp: New file.
11454 * gdb.stabs/gdb11479.c: New file.
11455
9a22f0d0
PM
114562010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11457
11458 * gdb.base/charset.c (Strin16, String32): New variables.
11459 * gdb.base/charset.exp (gdb_test): Test correct display
11460 of 16 or 32 bit strings.
11461
114622010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
11463
11464 PR 9167
11465 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
11466 * gdb.cp/pr9167.cc: New file.
11467 * gdb.cp/pr9167.exp: New file.
11468
11469
6e354e5e
PM
114702010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
11471
11472 PR pascal/11492.
11473 * gdb.pascal/gdb11492.pas: New file.
11474 * gdb.pascal/gdb11492.exp: New file.
11475
be942545
JB
114762010-04-20 Joel Brobecker <brobecker@adacore.com>
11477
1667e6e3 11478 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 11479
0c3acc09
JB
114802010-04-20 Joel Brobecker <brobecker@adacore.com>
11481
11482 * gdb.ada/dyn_loc: New testcase.
11483
ec31cde5
CM
114842010-04-20 Chris Moller <cmoller@redhat.com>
11485
11486 PR 10867
889bf7c5 11487
ec31cde5
CM
11488 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
11489 * gdb.cp/pr10687.cc: New file.
11490 * gdb.cp/pr10687.exp: New file.
11491
11492
ce4b0682
SDJ
114932010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11494 Sergio Durigan Junior <sergiodj@redhat.com>
11495
11496 * gdb.fortran/logical.exp: New testcase.
11497 * gdb.fortran/logical.f90: New file.
11498
3436961f
DE
114992010-04-19 Doug Evans <dje@google.com>
11500
11501 * gdb.base/help.exp (help source): Update expected output.
11502
4d836c09
JK
115032010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11504
11505 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
11506 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
11507 gdb_exit and return.
11508 (executable): New variable.
11509 (binfile): Use it.
11510
6149aea9
PA
115112010-04-19 Pedro Alves <pedro@codesourcery.com>
11512
11513 PR breakpoints/8554.
11514
11515 * gdb.trace/save-trace.exp: Adjust.
11516
ed41462c
L
115172010-04-17 H.J. Lu <hongjiu.lu@intel.com>
11518
11519 PR corefiles/11511
11520 * gdb.arch/system-gcore.exp: New.
11521 * gdb.arch/gcore.c: Likewise.
11522
3f7b2faa
DE
115232010-04-15 Doug Evans <dje@google.com>
11524
fa33c3cd
DE
11525 * gdb.python/py-progspace.c: New file.
11526 * gdb.python/py-progspace.exp: New file.
11527
3f7b2faa
DE
11528 * gdb.base/source.exp: Add tests for "source -s".
11529
79f283fe
PM
115302010-04-14 Phil Muldoon <pmuldoon@redhat.com>
11531
11532 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
11533 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
11534 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
11535 * gdb.python/py-mi.exp: New test for to_string returning None.
11536
fc8eb08a
PM
115372010-04-12 Phil Muldoon <pmuldoon@redhat.com>
11538
11539 * gdb.python/py-breakpoint.c: Make result global.
11540
26e197f6
JK
115412010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11542
11543 Fix non-GNU make compatibility.
11544 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
11545
adc36818
PM
115462010-04-09 Phil Muldoon <pmuldoon@redhat.com>
11547
11548 * gdb.python/py-breakpoint.exp: New File.
11549 * gdb.python/py-breakpoint.C: Ditto.
11550
64e17368
SS
115512010-04-08 Stan Shebs <stan@codesourcery.com>
11552
11553 * gdb.trace/actions.exp: Clear default-collect.
11554 * gdb.trace/save-trace.exp: Clear default-collect.
11555
fff5cc64
PM
115562010-04-08 Phil Muldoon <pmuldoon@redhat.com>
11557
11558 * gdb.python/py-value: Add null string variable.
11559 (test_lazy_string): Test zero length, NULL address lazy
11560 strings.
11561
a055a187
L
115622010-04-07 H.J. Lu <hongjiu.lu@intel.com>
11563
11564 * gdb.arch/i386-avx.c: New.
11565 * gdb.arch/i386-avx.exp: Likewise.
11566
11567 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
11568
96e39866
DE
115692010-04-06 Doug Evans <dje@google.com>
11570
11571 * gdb.base/source-test.gdb: New file.
11572 * gdb.base/source.exp: Test source -v.
11573
5984a431
UW
115742010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11575
11576 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
11577
ec8a089a
PM
115782010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
11579
11580 * gdb.stabs/aout.sed: Convert all backslash to double backslash
11581 within one line, unless it is followed by a double quote.
11582 * gdb.stabs/hppa.sed: Idem.
11583 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
11584 * gdb.stabs/weird.exp: Check for correct parsing of
11585 char and string constants.
ec8a089a
PM
11586 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
11587 in .stabs to .stabx substitution.
11588
fce3c1f0
SS
115892010-04-05 Stan Shebs <stan@codesourcery.com>
11590
11591 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
11592 constant global.
11593 * gdb.trace/tfile.exp: Try to print them.
11594
d77f58be
SS
115952010-04-04 Stan Shebs <stan@codesourcery.com>
11596
11597 * gdb.base/completion.exp: Update for new "info watchpoints".
11598 * gdb.base/default.exp: Ditto.
11599 * gdb.base/help.exp: Ditto.
11600 * gdb.base/watchpoint.exp: Ditto.
11601 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 11602
af54718e
SS
116032010-04-04 Stan Shebs <stan@codesourcery.com>
11604
11605 * gdb.trace/tfile.exp: Sharpen tfind test.
11606
74d1f91e
JK
116072010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11608
11609 * gdb.base/break-entry.exp: New.
11610
eb8e76db 116112010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 11612 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
11613
11614 * gdb.reverse/i386-sse-reverse.exp: New file.
11615 * gdb.reverse/i386-sse-reverse.c: New file.
11616
bf65cad8
PA
116172010-04-02 Pedro Alves <pedro@codesourcery.com>
11618
11619 * gdb.trace/tfind.exp: Adjust expected disassembly output.
11620
fff87407
SS
116212010-04-01 Stan Shebs <stan@codesourcery.com>
11622
11623 * gdb.trace/actions.exp: Tweak expected output.
11624 * gdb.trace/while-stepping.exp: Tweak expected output.
11625
fe01d668
L
116262010-04-01 H.J. Lu <hongjiu.lu@intel.com>
11627
11628 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
11629
86b17b60
PA
116302010-04-01 Pedro Alves <pedro@codesourcery.com>
11631
11632 * gdb.base/commands.exp: Adjust.
11633 * gdb.cp/extern-c.exp: Adjust.
11634
2c58c0a9
PA
116352010-04-01 Pedro Alves <pedro@codesourcery.com>
11636
11637 * gdb.trace/collection.c (local_test_func): Define a local struct,
11638 and instanciate it.
11639
0db9b91c
PA
116402010-04-01 Pedro Alves <pedro@codesourcery.com>
11641
11642 * gdb.trace/collection.exp (gdb_collect_args_test)
11643 (gdb_collect_argarray_test): XFAIL the tests that assume the
11644 argarray argument's elements are collected.
11645
8072405b
JK
116462010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11647
11648 * gdb.dwarf2/dw2-bad-parameter-type.exp,
11649 gdb.dwarf2/dw2-bad-parameter-type.S: New.
11650
8bf6485c
SS
116512010-03-31 Stan Shebs <stan@codesourcery.com>
11652
11653 * gdb.trace/save-trace.exp: Test save/restore of default-collect
11654 and tracepoint conditionals.
11655 (gdb_verify_tracepoints): Delete unused return.
11656
fd7f724a
KS
116572010-03-26 Keith Seitz <keiths@redhat.com>
11658
11659 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
11660 appear in the output before main.
11661 Remove KFAIL for gdb/2215 aka bz 9320.
11662
8d9e7719
DE
116632010-03-30 Doug Evans <dje@google.com>
11664
0906dd0b
DE
11665 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
11666 by dejagnu.
11667 * gdb.arch/amd64-dword.exp: Ditto.
11668
8d9e7719
DE
11669 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
11670 match.
11671 (break printf): Ditto.
11672
1da644f0
SW
116732010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
11674
11675 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
11676 gcc < 4.4.
11677 * gdb.cp/shadow.exp: Ditto.
11678
a8121990
PA
116792010-03-29 Pedro Alves <pedro@codesourcery.com>
11680
11681 * gdb.trace/collection.exp (run_trace_experiment): Make sure
11682 "tstart" is silent.
11683
6e79d367
PA
116842010-03-29 Pedro Alves <pedro@codesourcery.com>
11685
11686 * gdb.trace/collection.exp (executable): New.
11687 (binfile): Use it.
11688 (fpreg, spreg, pcreg): New.
11689 (test_register): Use gdb_test_multiple. Pass /x to print.
11690 (prepare_for_trace_test): New.
11691 (run_trace_experiment): Use "continue", not gdb_run_cmd.
11692 (gdb_collect_args_test, gdb_collect_argstruct_test)
11693 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
11694 prepare_for_trace_test.
11695 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
11696 fpreg, spreg and pcreg.
11697 (gdb_collect_expression_test, gdb_collect_globals_test): Use
11698 prepare_for_trace_test.
11699 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
11700 try to detect tracing support here. Don't set breakpoints at
11701 `begin' or `end' here.
11702 <global scope>: Use clean_restart. Run to main before checking
11703 for tracing support. Check for for tracing support here.
11704
09248348
JK
117052010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11706
11707 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
11708 " as $displacement" to "seen displacement message".
11709
d350db38
PA
117102010-03-28 Pedro Alves <pedro@codesourcery.com>
11711
11712 * gdb.trace/while-dyn.exp (executable): New variable.
11713 (binfile): Use it.
11714 (test_while_stepping): New function. Move most tests here. Call
11715 it once for each of the while-stepping, stepping and ws aliases.
11716
907af001
UW
117172010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11718
11719 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
11720 that do not provide the tagless_struct type name at all.
11721 (test_print_anon_union): Do not check value of uninitialized
11722 union member. Do not use cp_test_ptype_class, so we can accept
11723 "long" as well as "long int".
11724
610197fd
PA
117252010-03-26 Pedro Alves <pedro@codesourcery.com>
11726
11727 * gdb.trace/tfile.c (tohex, bin2hex): New.
11728 (write_error_trace_file): Hexify error description.
11729
6c28cbf2
SS
117302010-03-25 Stan Shebs <stan@codesourcery.com>
11731
11732 * gdb.trace/tfile.c: Generate an additional trace file, improve
11733 portability.
11734 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
11735 files in a better way.
11736
e62b8c7e
KS
117372010-03-25 Keith Seitz <keiths@redhat.com>
11738
11739 * gdb.java/jprint.exp: XFAIL printing of static class members
11740 because of GCC debuginfo problem.
11741
82ccf5a5
JK
117422010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11743
11744 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
11745
293e2f9e
DJ
117462010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11747
11748 * gdb.base/completion.exp: Allow long instead of long int.
11749 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
11750 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
11751 variable p.
11752 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
11753 * gdb.base/pointers.exp: Allow long instead of long int.
11754 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
11755 * gdb.base/step-line.exp: Allow a directory before the source file name.
11756
95a42b64
TT
117572010-03-24 Tom Tromey <tromey@redhat.com>
11758
11759 PR breakpoints/9352:
11760 * gdb.base/default.exp: Update.
11761 * gdb.base/commands.exp: Update.
11762 * gdb.cp/extern-c.exp: Test setting commands on multiple
11763 breakpoints at once.
11764
2390201f
DJ
117652010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11766
11767 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
11768 if gdb,nosignals.
11769 * gdb.base/watchpoints.c: Do not include unnecessary headers.
11770 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
11771 exited".
11772
8c9a6790
SS
117732010-03-24 Stan Shebs <stan@codesourcery.com>
11774
11775 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
11776
a6c727b2
DJ
117772010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11778
11779 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
11780 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
11781 argument. Handle "short" and "long".
11782 (Top level): Pass overprototyped output for old_fptr and xptr.
11783
4dfd5423
PA
117842010-03-23 Pedro Alves <pedro@codesourcery.com>
11785
11786 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
11787 format strings and add casts to avoid compiler warnings.
11788
117892010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
11790
11791 * lib/trace-support.exp (gdb_trace_setactions):
11792 Don't expect whitespace after ">" prompt.
11793 * gdb.trace/actions.exp: Adjust for output changes.
11794 * gdb.trace/while-stepping.exp: Likewise.
11795
c847d045
JK
117962010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11797
11798 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
11799 and r157645).
11800
5f717f1d
JK
118012010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11802
11803 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
11804 New.
11805
7d6d51d5
DJ
118062010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
11807
11808 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
11809 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
11810
3b11a015
SS
118112010-03-19 Stan Shebs <stan@codesourcery.com>
11812
11813 * gdb.trace/ax.exp: New file.
11814
d7d158ed
DE
118152010-03-19 Doug Evans <dje@google.com>
11816
6bb85cd1
DE
11817 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
11818 output from gcc.
11819
d7d158ed
DE
11820 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
11821 named /usr/sbin/prelink<foo>.
11822
4daf5ac0
SS
118232010-03-18 Stan Shebs <stan@codesourcery.com>
11824
11825 * gdb.trace/circ.exp: Test circular-trace-buffer.
11826 * gdb.trace/tfile.exp: Update tstatus test.
11827
e8d05480
JB
118282010-03-18 Joel Brobecker <brobecker@adacore.com>
11829
11830 * gdb.dwarf2/dw2-anonymous-func.S: New file.
11831 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
11832
441b986a
UW
118332010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11834
11835 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
11836
4247603b
PA
118372010-03-18 Pedro Alves <pedro@codesourcery.com>
11838
11839 * gdb.base/default.exp: Adjust the expected output of the finish
11840 and until commands when the inferior is not being run.
11841
13387711
SW
118422010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
11843
11844 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
11845 * gdb.cp/nsusing.exp: Ditto.
11846
6e31430b
TT
118472010-03-15 Tom Tromey <tromey@redhat.com>
11848
11849 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
11850 * gdb.cp/userdef.cc (operator==): New function.
11851 (main): New locals mem1, mem2.
11852
e2d69cb5
JZ
118532010-03-15 Jie Zhang <jie@codesourcery.com>
11854
11855 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
11856 Declare and use new loadtimeout variable.
11857
f572f0a9
DJ
118582010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
11859
11860 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
11861 Use gdb_load later.
11862
51f4c0b0
PA
118632010-03-14 Pedro Alves <pedro@codesourcery.com>
11864
11865 * gdb.base/solib-disc.c (main): Make format of fprintf a string
11866 literal. Add missing endlines to prints to stderr.
11867
1c809c68
TT
118682010-03-12 Tom Tromey <tromey@redhat.com>
11869
11870 PR c++/9708:
11871 * gdb.cp/m-static.exp: Add regression test.
11872 * gdb.cp/m-static.cc (method): New method.
11873 (main): Call it.
11874
00ae8fef
SW
118752010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
11876
11877 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
11878 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
11879
759f0f0b
PA
118802010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
11881
21e24d21
PA
11882 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
11883
118842010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
11885
759f0f0b
PA
11886 * lib/gdb.exp (skip_stl_tests): New.
11887 (gdb_compile): Symbian needs -ldl.
11888 (shlib_target_file): New.
11889 (shlib_symbol_file): New.
11890 (gdb_load_shlibs): Use shlib_target_file.
11891 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
11892 * gdb.cp/exception.exp: Use skip_stl_tests.
11893 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
11894 * gdb.cp/try_catch.exp: Use skip_stl_tests.
11895 * gdb.cp/mb-templates.exp: Ditto.
11896 * gdb.base/commands.exp: Relax regexes.
11897 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
11898 shlib_target_file and shlib_symbol_file.
11899 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
11900 sections.
11901 * gdb.base/ending-run.exp: Accept E32Main for symbian.
11902 * gdb.base/solib-disc.exp: Use
11903 shlib_target_file and shlib_symbol_file.
11904 * gdb.base/unload.exp: Don't skip on symbian. Use
11905 shlib_target_file and shlib_symbol_file.
11906 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
11907
6a8f2671 119082010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 11909
6a8f2671
PA
11910 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
11911 * gdb.trace/report.exp: Adjust for x86 and x86_64.
11912 Issue a tfind end before looking for a tracepoint frame.
11913 * gdb.trace/tfind.exp: Adjust tstatus output.
11914 Adjust disassembly output.
11915 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
11916
ccf26247
JK
119172010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11918
11919 * gdb.base/break-interp.exp: Create new displacement parameter value
11920 for the test_ld calls.
11921 (reach): New parameter displacement, verify its content. New push of
11922 pf_prefix "reach-$func:". Import global expect_out.
11923 (test_core): New parameter displacement, verify its content. New push
11924 of pf_prefix "core:". New command "set verbose on". Import global
11925 expect_out.
11926 (test_attach): New parameter displacement, verify its content. New
11927 push of pf_prefix "attach:". New command "set verbose on". Import
11928 global expect_out.
11929 (test_ld): New parameter displacement, pass it to the reach, test_core
11930 and test_attach calls and verify its content in the "ld.so exit" test.
11931 * gdb.base/prelink.exp: Remove gdb_exit and final return.
11932 (prelink): Update expected text, use gdb_test.
11933
e469c7fb
DE
119342010-03-10 Doug Evans <dje@google.com>
11935
11936 * gdb.base/checkpoint.exp: Fix comment.
11937 Lengthen timeout while doing >600 checkpoints test.
11938 Rename duplicate "kill all one" test to keep test names unique.
11939
60e1c644
PA
119402010-03-10 Pedro Alves <pedro@codesourcery.com>
11941
11942 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
11943
cec808ec
KS
119442010-03-08 Keith Seitz <keiths@redhat.com>
11945
889bf7c5
PA
11946 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
11947 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
11948 (dm_type_long): New function.
11949 (dm_type_unsigned_short): New function.
11950 (dm_type_unsigned_long): New function.
11951 (myint): New typedef.
11952 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
11953 long, unsigned shor and long, operator char*, and typedef.
11954 (test_lookup_operator_functions): Add operator char* test.
11955 (test_paddr_operator_functions): Likewise.
11956 (test_paddr_overloaded_functions): Use probe values for
11957 short, long, and unsigned short and long.
11958 (test_paddr_hairy_functions): If the demangler probe detected
11959 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
11960 demangler.
11961 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
11962 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
11963 and "print null_pmf".
11964 Add test "ptype a.*pmf".
11965 * gdb.cp/overload.exp: Allow optional "int" to appear with
11966 "short" and "long".
11967 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
11968 long expect value for men_overload1arg.
11969 Allow "int" to appear with "short" and "long".
11970 When testing "info break", add argument for main (void).
11971 Also allow "int" to appear with "short" and "long".
11972 Ditto with "unsigned" and "long long".
cec808ec
KS
11973 * gdb.java/jmain.exp: Do not enclose methods names in single
11974 quotes.
11975 * gdb.java/jmisc.exp: Likewise.
11976 * gdb.java/jprint.exp: Likewise.
11977 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
11978
11979 From Jan Kratochvil <jan.kratochvil@redhat.com>:
11980 * gdb.cp/exception.exp (backtrace after first throw)
11981 (backtrace after second throw): Allow a namespace before __cxa_throw.
11982 (backtrace after first catch, backtrace after second catch): Allow
11983 a namespace before __cxa_begin_catch.
11984
11985 * gdb.cp/cpexprs.exp: New file.
11986 * gdb.cp/cpexprs.cc: New file.
11987
11988 From Daniel Jacobowitz <dan@codesourcery.com>
11989 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
11990 to use string_to_regexp.
11991 (ctor, dtor): New functions. Use them to match constructor
11992 and destructor function types.
11993 (Top level): Use runto_main.
11994
f870a310
TT
119952010-03-05 Tom Tromey <tromey@redhat.com>
11996
11997 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
11998 gdb.target_charset.
11999 (pp_ns.to_string): Likewise.
12000
0c199f28
KS
120012010-03-04 Keith Seitz <keiths@redhat.com>
12002
12003 * gdb.cp/overload.exp: Test that the filename portion of a linespec
12004 can be quoted. Test that both the filename and function/line
12005 portions can be quoted at the same time.
12006
c7437ca6
PA
120072010-03-04 Pedro Alves <pedro@codesourcery.com>
12008
12009 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
12010
b111b805
DE
120112010-03-03 Doug Evans <dje@google.com>
12012
24486cb7
DE
12013 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
12014 libc contains libpthread.
12015
b111b805
DE
12016 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
12017 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
12018 of gdb_compile. Add another pattern to match android backtrace.
12019
a0e0ef55
TT
120202010-03-03 Tom Tromey <tromey@redhat.com>
12021
12022 PR gdb/11345:
12023 * gdb.base/printcmds.exp (test_printf): Add test.
12024
1ba53b71
L
120252010-03-02 H.J. Lu <hongjiu.lu@intel.com>
12026
12027 * gdb.arch/amd64-byte.exp: New.
12028 * gdb.arch/amd64-dword.exp: Likewise.
12029 * gdb.arch/amd64-pseudo.c: Likewise.
12030 * gdb.arch/amd64-word.exp: Likewise.
12031 * gdb.arch/i386-byte.exp: Likewise.
12032 * gdb.arch/i386-pseudo.c: Likewise.
12033 * gdb.arch/i386-word.exp: Likewise.
12034
f5dff777
DJ
120352010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
12036
12037 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
12038 types. Add structreg, bitfields, and flags registers.
12039 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
12040 registers.
12041
90884b2b
L
120422010-03-01 H.J. Lu <hongjiu.lu@intel.com>
12043
12044 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
12045 (load_description): Set architecture if defined.
12046
dc00d89f
PM
120472010-02-28 Phil Muldoon <pmuldoon@redhat.com>
12048
12049 * gdb.python/py-frame.exp: Add read_var block tests.
12050 * gdb.python/py-frame.c (block): New function.
12051
0e095b7e
JK
120522010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12053 Daniel Jacobowitz <dan@codesourcery.com>
12054
12055 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
12056
624f1a65
DM
120572010-02-25 David S. Miller <davem@davemloft.net>
12058
12059 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
12060 fix logic for setting all_syscalls_numbers.
12061
f3e9a817
PM
120622010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12063
12064 * Makefile.in: Add py-block and py-symbol.
12065 * gdb.python/py-symbol.exp: New File.
12066 * gdb.python/py-symtab.exp: New File.
12067 * gdb.python/py-block.exp: New File.
12068 * gdb.python/py-symbol.c: New File.
12069 * gdb.python/py-block.c: New File.
12070
f6bbabf0
PM
120712010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12072
12073 PR python/11314
12074 * lib/gdb.exp (skip_python_tests): New function.
12075 * gdb.python/py-cmd.exp: Use skip_python_tests.
12076 * gdb.python/py-frame.exp: Likewise.
12077 * gdb.python/py-function.exp: Likewise.
12078 * gdb.python/py-prettyprint.exp: Likewise.
12079 * gdb.python/py-template.exp: Likewise.
12080 * gdb.python/py-type.exp: Likewise.
12081 * gdb.python/py-value.exp: Likewise.
12082
85d721b8
PA
120832010-02-22 Pedro Alves <pedro@codesourcery.com>
12084
12085 PR9605
12086
12087 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
12088
48e32051
TT
120892010-02-19 Tom Tromey <tromey@redhat.com>
12090
12091 PR c++/8693, PR c++/9496:
12092 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
12093 regression tests.
12094
ac9c0048
JK
120952010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12096
12097 Fix compatibility with m68k as.
12098 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
12099 Use only /* comments */.
12100
57bb97a4
UW
121012010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12102
12103 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
12104 * configure: Regenerate.
12105
7d1bf85c
DJ
121062010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
12107
12108 * gdb.python/py-type.exp: Check for Python support.
12109
061b5285
PA
121102010-02-17 Pedro Alves <pedro@codesourcery.com>
12111
12112 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
12113 `regsub' syntax available.
12114
f8a8bc2c
PA
121152010-02-17 Pedro Alves <pedro@codesourcery.com>
12116
12117 * gdb.base/shmain.c (main): Remove printf call.
12118 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
12119 * gdb.base/unload.c (main): Make format of fprintf a string
12120 literal. Add missing endlines to prints to stderr.
12121 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
12122
6f451e5e
TT
121232010-02-17 Tom Tromey <tromey@redhat.com>
12124
12125 * gdb.java/jprint.java (jprint.props): New field.
12126 * gdb.java/jprint.exp (set_lang_java): Add regression test.
12127
12d79008
PA
121282010-02-17 Pedro Alves <pedro@codesourcery.com>
12129
ef801a0e 12130 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
12131 available.
12132
d252f7e5
DJ
121332010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12134
12135 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
12136 creation to support remote host testing.
12137
67bdab6c
DJ
121382010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12139
12140 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
12141 Recognize "command not found".
12142
bb391223
DJ
121432010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12144
12145 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
12146 single-stepping.
12147
70362913
DJ
121482010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12149
12150 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
12151 if arguments are not supported.
12152
493f3c00
DJ
121532010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12154
12155 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
12156 be const or non-const.
12157
8034c749
DJ
121582010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12159
12160 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
12161 mi_send_resuming_command to send -exec-continue.
12162
791dfb64
DJ
121632010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12164
12165 * gdb.base/list.exp (test_list_filename_and_function): Add test
12166 with single quotes.
12167 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
12168 matching.
12169 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
12170 Add KFAIL'd tests for PR gdb/11289.
12171
7c5fe868
DJ
121722010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12173
12174 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
12175
fdc498b8
DJ
121762010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12177
12178 * gdb.base/comp-dir/subdir/dummy.txt: New file.
12179 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
12180 a temporary directory.
12181
b519e2a6
DJ
121822010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12183
12184 * gdb.base/charset.exp: Use a single regular expression to match
12185 show host-charset and show target-charset output.
12186
74164c56
JK
121872010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12188
12189 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
12190 "Illegal process-id" expect string more exact.
12191 (attach to digits-starting nonsense is prohibited): New.
12192
701ed6dc
JK
121932010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12194
12195 * gdb.base/prelink.exp (set verbose on): New.
12196
889bf7c5 121972010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
12198
12199 * mi-reverse.exp: New file. Test for reverse option to the
12200 following MI commands: exec-continue, exec-finish, exec-next,
12201 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 12202
dadf0e9c
JB
122032010-02-09 Joel Brobecker <brobecker@adacore.com>
12204
12205 * gdb.ada/ptype_tagged_param: New testcase.
12206
714f19d5
TT
122072010-02-08 Tom Tromey <tromey@redhat.com>
12208
12209 PR c++/8017:
12210 * gdb.cp/overload.exp: Add tests.
12211 * gdb.cp/overload.cc (struct K): New.
12212 (namespace N): New.
12213 (main): Call new functions.
12214 (K::staticoverload): Define.
12215
889bf7c5 122162010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
12217
12218 PR gdb/10728
12219 * gdb.cp/pr10728-x.h: New file.
12220 * gdb.cp/pr10728-x.cc: New file.
12221 * gdb.cp/pr10728-y.cc: New file.
12222 * gdb.cp/pr10728.exp: New file.
12223 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
12224
889bf7c5 122252010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
12226
12227 PR gdb/9067
12228 * gdb.cp/pr9067.exp: New
12229 * gdb.cp/pr9067.cc: New
12230 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
12231
7b356089
JB
122322010-02-08 Joel Brobecker <brobecker@adacore.com>
12233
12234 * lib/gdb.exp (gdb_test_timeout): New global variable.
12235 Set it to timeout if not already set.
12236 (gdb_init): Reset the value of timeout to gdb_test_timeout.
12237
1be00882
DE
122382010-02-05 Doug Evans <dje@google.com>
12239
12240 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
12241 user.
12242
82856980
SW
122432010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
12244
12245 PR c++/7935:
12246 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
12247
1a334831
TT
122482010-02-04 Tom Tromey <tromey@redhat.com>
12249
12250 * gdb.cp/virtbase.exp: Make test case names unique.
12251
9c3c02fd
TT
122522010-02-02 Tom Tromey <tromey@redhat.com>
12253
12254 * gdb.cp/virtbase.exp: Add regression tests.
12255 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
12256 (main): Instantiate RHC.
12257
0cc2414c
TT
122582010-02-02 Tom Tromey <tromey@redhat.com>
12259
12260 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
12261 type-printing change.
12262
edf3d5f3
TT
122632010-02-02 Tom Tromey <tromey@redhat.com>
12264
12265 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
12266 * gdb.cp/virtbase.cc: New file.
12267 * gdb.cp/virtbase.exp: New file.
12268 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
12269
e4b7f41c
JK
122702010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12271
12272 PR libc/11214:
12273 * gdb.threads/current-lwp-dead.c: Include features.h.
12274 (HAS_NOMMU): New.
12275 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
12276
b381ea14
JK
122772010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12278
12279 * gdb.base/symbol-without-target_section.exp,
12280 gdb.base/symbol-without-target_section.c: New.
12281
c593ac0e
DJ
122822010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12283
12284 * gdb.base/bigcore.exp: Reset increased timeout.
12285 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
12286
db25f29d
DJ
122872010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12288
12289 * gdb.base/gcore.exp (capture_command_output): Use
12290 gdb_test_multiple.
12291
f9d67f43
DJ
122922010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12293
12294 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
12295 * gdb.arch/thumb2-it.exp (test_it_break): New function.
12296 (Top level): Call it.
12297
177321bd
DJ
122982010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12299
12300 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
12301
97f2ed50
DJ
123022010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12303
12304 * gdb.base/call-strs.exp, gdb.base/default.exp,
12305 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
12306 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
12307 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
12308 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
12309 gdb.base/watchpoint-solib.exp: Save and restore timeout.
12310 * gdb.base/ending-run.exp: Correct restore of timeout.
12311 * gdb.base/page.exp: Remove unnecessary timeout setting.
12312
e4e2711a
JB
123132010-01-29 Joel Brobecker <brobecker@adacore.com>
12314
12315 * gdb.ada/rec_return: New testcase.
12316
ba581dc1
JB
123172010-01-29 Joel Brobecker <brobecker@adacore.com>
12318
12319 * gdb.ada/call_pn: New testcase.
12320
4ea95be9
DJ
123212010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12322
12323 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
12324 (Top level): Use it to resume.
12325 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
12326 the Thumb mode displaced stepping error as unsupported.
12327
df83a9bf
SW
123282010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
12329
889bf7c5
PA
12330 * gdb.cp/nsusing.exp: Added more tests.
12331 * gdb.cp/nsrecurs.exp: Ditto.
12332 * gdb.cp/nsusing.cc: Added test functions.
12333 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 12334
40b27cdc
JK
123352010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12336
12337 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
12338 absolute directory pathnames in gdb.sum file.
12339
de958931
SW
123402010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
12341
12342 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
12343 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
12344
708ead4e
TT
123452010-01-26 Tom Tromey <tromey@redhat.com>
12346
12347 PR exp/7643:
12348 * gdb.base/printcmds.exp (test_print_string_constants): Remove
12349 setup_kfail.
12350
b14e635e
SW
123512010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
12352
12353 * gdb.cp/nsrecurs.exp: New test.
12354 * gdb.cp/nsrecurs.cc: New test program.
12355 * gdb.cp/nsstress.exp: New test.
12356 * gdb.cp/nsstress.cc: New test program.
12357 * gdb.cp/nsdecl.exp: New test.
12358 * gdb.cp/nsdecl.cc: New test program.
12359
8540c487
SW
123602010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
12361
12362 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
12363 imported into file scope.
12364 Marked test as xfail.
12365 * gdb.cp/namespace-using.cc (marker5): New function.
12366 * gdb.cp/shadow.exp: New test.
12367 * gdb.cp/shadow.cc: New test program.
12368 * gdb.cp/nsimport.exp: New test.
12369 * gdb.cp/nsimport.cc: New test program.
12370
421d5d99
TT
123712010-01-25 Tom Tromey <tromey@redhat.com>
12372
12373 PR gdb/11049:
12374 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
12375 with "set print null-stop on".
12376
691f8dc1
JK
123772010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12378
12379 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
12380 Adjust it for DISASSEMBLY_OMIT_FNAME.
12381
0b92b5bb
TT
123822010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12383
12384 PR symtab/11199:
12385 * gdb.dwarf2/member-ptr-forwardref.exp,
12386 gdb.dwarf2/member-ptr-forwardref.S: New.
12387
23787403
JK
123882010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12389
12390 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
12391 (thread1_func): Protect thread1_tid with thread1_tid_cond by
12392 thread1_tid_mutex. Remove gdbstop_mutex handling.
12393 (thread2_func): Protect thread2_tid with thread2_tid_cond by
12394 thread2_tid_mutex. Remove gdbstop_mutex handling.
12395 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
12396 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
12397 pthread_cond_wait conditionalizations by while loops.
12398
b966cb8a
TT
123992010-01-20 Tom Tromey <tromey@redhat.com>
12400
12401 PR backtrace/10770:
12402 * gdb.dwarf2/pr10770.exp: New file.
12403 * gdb.dwarf2/pr10770.c: New file.
12404 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
12405
fcae584b
VP
124062010-01-20 Vladimir Prus <vladimir@codesourcery.com>
12407
12408 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
12409 that target was removed, and the test always runs native anyway.
12410
a0f49112
JK
124112010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12412
12413 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
12414 gdb.base/watchpoint-cond-gone-stripped.c: New.
12415
ceeb3d5a
TT
124162010-01-19 Tom Tromey <tromey@redhat.com>
12417
12418 PR c++/8000:
12419 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
12420 existing tests.
12421 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
12422 (main): Use AAA::SomeEnum.
12423
dd322c54
JK
124242010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12425
12426 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
12427 (test_ignore_count): Declare line_callme_body global.
12428 (run to breakpoint with ignore count): Use line_callme_body.
12429 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
12430 (set line_main_hello, set line_main_return): Reindent.
12431 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
12432 New.
12433 (continue to callee4): Use line_callee4_body.
12434 (check *stopped from CLI command): Use line_callee4_next.
12435 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
12436 (set line_main_hello, set line_main_return): Reindent.
12437 (set line_callee4_head, set line_callee4_body): New.
12438 (continue to callee4): Use line_callee4_body.
12439
4e8f195d
TT
124402010-01-18 Tom Tromey <tromey@redhat.com>
12441
12442 PR c++/9680:
12443 * gdb.cp/casts.cc: Add new classes and variables.
12444 * gdb.cp/casts.exp: Test new operators.
12445
9e14a9ba
JB
124462010-01-18 Tom Tromey <tromey@redhat.com>
12447 Thiago Jung Bauermann <bauerman@br.ibm.com>
12448
12449 * gdb.python/source2.py: New file.
12450 * gdb.python/source1: New file.
12451 * gdb.python/python.exp: Test "source" command.
12452
00bf0b85
SS
124532010-01-15 Stan Shebs <stan@codesourcery.com>
12454
12455 * gdb.trace/tfile.c: New file.
12456 * gdb.trace/tfile.exp: New file.
889bf7c5 12457
55235ad7
JK
124582010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12459
12460 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
12461
9f2982ff
JK
124622010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12463
12464 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
12465
bbfba9ed
JK
124662010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12467
12468 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
12469 (libfunc): New parameter action. Implement also selectable "sleep".
12470 * gdb.base/break-interp-main.c: Include assert.h.
12471 (libfunc): New parameter action.
12472 (main): New parameters argc and argv. Assert argc. Pass argv.
12473 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
12474 (test_attach): New proc.
12475 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
12476 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
12477
61f0d762
JK
124782010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12479
12480 * gdb.base/break-interp.exp (test_core): New proc.
12481 (test_ld): Call it.
12482
06a6f270
JK
124832010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12484
12485 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
12486 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
12487 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
12488 and gdb_compile_shlib. Use new -Wl compiler options.
12489 (dl bt, main bt): New tests.
12490
51bee8e9
JK
124912010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12492
12493 Support PIEs with no symfile_objfile.
12494 * gdb.base/break-interp.exp: New argument at the test_ld calls.
12495 (test_ld): New parameter trynosym.
12496 (test_ld <$trynosym>): New block.
12497
b8040f19
JK
124982010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12499
12500 * gdb.base/break-interp.exp: New file.
12501
be759fcf
PM
125022010-01-13 Phil Muldoon <pmuldoon@redhat.com>
12503
12504 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
12505 * gdb.python/py-prettyprint.py (pp_ls): New printer.
12506 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
12507 test.
12508 * gdb.python/py-prettyprint.c: Define lazystring test structure.
12509 * gdb.python/py-mi.exp: Add lazy string test.
12510
dc146f7c
VP
125112010-01-13 Vladimir Prus <vladimir@codesourcery.com>
12512
12513 * lib/mi-support.exp (mi_check_thread_states): Handle
12514 core number in thread listing.
12515
b4ba55a1
JB
125162010-01-12 Joel Brobecker <brobecker@adacore.com>
12517
12518 * gdb.base/maint.exp: Adjust the expected output for the
12519 "maint print type" test. Use gdb_test_multiple instead of
12520 gdb_sent/gdb_expect.
12521
08e24bd4
DE
125222010-01-11 Doug Evans <dje@google.com>
12523
6496a609
DE
12524 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
12525 from gdbserver_download. All callers updated.
12526
08e24bd4
DE
12527 * gdb.server/ext-run.exp: "info os processes" requires xml support.
12528
b5cfddf5
JK
125292010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12530
12531 Implement binary numbers parsing.
12532 * gdb.base/printcmds.exp (test_integer_literals_accepted)
12533 (test_integer_literals_rejected): New binary tests.
12534
3725885a
RW
125352010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12536
12537 * gdb.cell/configure: Regenerate.
12538
37aeb5df
JK
125392010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12540
12541 * gdb.base/corefile.exp: Move the core finding block out and call it as
12542 core_find, new variable $corefile, replace corefile by $corefile and
12543 [file tail $corefile] for usage vs. test names resp.
12544 * lib/gdb.exp (core_find): Move it as a new function here. New
12545 parameter binfile and deletefiles. New variable $destcore. Pre-delete
12546 $destcore. Return "" on error.
12547
d521f563
JK
125482010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12549
12550 Workaround PR binutils/10802.
12551 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
12552 (twice).
12553
28f24826
DJ
125542010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
12555
12556 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
12557
2de75e71
JB
125582010-01-08 Joel Brobecker <brobecker@adacore.com>
12559
12560 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
12561 call, to avoid interruption.
12562
fe00719b 125632010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
12564
12565 * gdb.stabs/weird.def (args93): New.
12566
d0ef5df8
DE
125672010-01-07 Doug Evans <dje@google.com>
12568
12569 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
12570
3a08d52f
TT
125712010-01-07 Tom Tromey <tromey@redhat.com>
12572
12573 * gdb.base/source.exp: Use correct line number.
12574
7a697b8d
SS
125752010-01-05 Stan Shebs <stan@codesourcery.com>
12576
12577 * gdb.trace/tracecmd.exp: Test ftrace.
12578
7803799a
UW
125792010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12580
12581 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
12582
c54eabfa
JK
125832010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12584
12585 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
12586 "uint_for_mi_testing".
12587
02e7ef19
JB
125882010-01-01 Joel Brobecker <brobecker@adacore.com>
12589
12590 Test indented comment in file being sourced.
12591 * gdb.base/commands.exp: Test indented comment in file being sourced.
12592
abd775ce
JB
125932010-01-01 Joel Brobecker <brobecker@adacore.com>
12594
12595 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
12596 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
12597 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
12598 notice.
12599
79b55b82
JB
126002010-01-01 Joel Brobecker <brobecker@adacore.com>
12601
12602 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
12603 notice.
12604
8997583e
JK
126052010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12606
12607 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
12608 missing $after_stopped and comma (,) expectation.
12609
6da95a67
SS
126102009-12-31 Stan Shebs <stan@codesourcery.com>
12611
12612 * gdb.trace/actions.exp: Test teval action.
889bf7c5 12613
218d2fc6
TJB
126142009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
12615
12616 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
12617 (top level): Call test_watchpoint_in_big_blob.
12618 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
12619 watchpoints.
12620 (func3): Write to buf.
12621
236f1d4d
SS
126222009-12-29 Stan Shebs <stan@codesourcery.com>
12623
12624 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 12625
f61e138d
SS
126262009-12-28 Stan Shebs <stan@codesourcery.com>
12627
12628 * gdb.trace/tsv.exp: New file.
12629 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 12630
0219b378
DJ
126312009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
12632
12633 * gdb.base/find.c (main): Reference search buffers.
12634 * gdb.base/included.c (main): Reference integer.
12635 * gdb.base/ptype.c (charfoo): Declare.
12636 (intfoo): Call charfoo.
12637 * gdb.base/scope0.c (useitp): New function.
12638 (usestatics): Use useitp.
12639 (useit): Add a type for val.
12640 * gdb.base/scope1.c (useit1): Take a pointer argument.
12641 (usestatics1): Update calls to useit1.
12642 * gdb.cp/call-c.cc: Declare foo.
12643 (main): Call foo.
12644 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
12645 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
12646 (main): Call C::ensureRefs and ensureOtherRefs.
12647 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
12648 variables.
12649 (ensureOtherRefs): New function.
12650 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
12651 * gdb.cp/templates.cc (main): Call t5i.value.
12652
3f78692f
JK
126532009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12654
12655 Fix compatibility with G++-4.5.
12656 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
12657 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
12658 (uncaught return): Remove.
12659
429374b8
JK
126602009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12661 Phil Muldoon <pmuldoon@redhat.com>
12662
12663 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
12664 (bp_location13, bp_location14, bp_location17, bp_location18)
12665 (marker3_proto, marker4_proto): New variables.
12666 (breakpoint info): Update output.
12667 (run until breakpoint at marker3, run until breakpoint at marker4): New
12668 tests.
12669
859825b8
JK
126702009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12671
12672 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
12673 Replace the printf call of Y by provided "y-set-1" label. New block
12674 for the second shared library.
12675 * gdb.base/unload.exp: Compile also the second library, call
12676 gdb_load_shlibs also for it. Use now gdb_breakpoint.
12677 (single pending breakpoint info): Rename to ...
12678 (pending breakpoint info before run): ... this extended test.
12679 (libfile2, libname2, libsrcfile2, libsrc2)
12680 (lib_sl2): New variables.
12681 (exec_opts): Set also SHLIB_NAME2.
12682 (pending breakpoint info on first run at shrfunc1)
12683 (pending breakpoint info on second run at shrfunc1)
12684 (pending breakpoint info on second run at shrfunc2)
12685 (print y from libfile, print y from libfile2): New tests.
12686 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
12687 * gdb.base/unloadshr2.c: New.
12688
e6a386cd
HZ
126892009-12-22 Hui Zhu <teawater@gmail.com>
12690
12691 * gdb.reverse/sigall-reverse.exp: Adjust.
12692
9e19b45e
VP
126932009-12-21 Vladimir Prus <vladimir@codesourcery.com>
12694
12695 PR gdb/10884
12696
12697 * gdb.mi/var-cmd.c (do_bitfield_tests): New
12698 (main): Call do_bitfield_tests.
aacf5b1e 12699 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 12700
d53a7b30
JB
127012009-12-20 Joel Brobecker <brobecker@adacore.com>
12702
12703 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
12704 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
12705 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
12706 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
12707 gdb.modula2/unbounded1.c: Update copyright header.
12708
191ca0a1
CM
127092009-12-10 Chris Moller <moller@mollerware.com>
12710
12711 PR gdb/9399
12712 * gdb.cp/virtfunc2.exp: New tests
12713 * gdb.cp/virtfunc2.cc: New tests
12714 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
12715
0fa6cf1b
MS
127162009-12-10 Oza Pawandeep (paawan1982@yahoo.com
12717
12718 * gdb.reverse/i387-env-reverse.c: New file.
12719 * gdb.reverse/i387-env-reverse.exp: New file.
12720 * gdb.reverse/i387-stack-reverse.c: New file.
12721 * gdb.reverse/i387-stack-reverse.exp: New file.
12722
361ae042
PM
127232009-12-08 Phil Muldoon <pmuldoon@redhat.com>
12724
12725 * gdb.python/py-type.exp (test_range): New test.
12726
bfd31e71
PM
127272009-12-03 Phil Muldoon <pmuldoon@redhat.com>
12728
12729 PR python/10805
12730
12731 * gdb.python/py-type.exp: New file.
12732 * gdb.python/py-type.c: New file.
12733 * Makefile.in: Add py-type.
12734
57a1d736
TT
127352009-12-03 Tom Tromey <tromey@redhat.com>
12736
12737 * gdb.python/py-value.exp (test_parse_and_eval): New
12738 function.
12739
1f3b5d1b
PP
127402009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
12741
12742 PR gdb/11022
12743
12744 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
12745 * gdb.base/pr11022.c: New test.
12746
8b7dbdc9
JK
127472009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12748
12749 Fix spurious false FAILs.
12750 * gdb.base/structs.c (chartest): New.
12751 (main): Fill-in chartest.
12752 * gdb.base/structs.exp (anychar_re, first): New.
12753 (start_structs_test): Import global anychar_re and first.
12754 New gdb_test call "set print elements 300; ${testfile}"
12755 (start_structs_test <$first>): New block.
12756 (any): Import global anychar_re. New variable ac. Use ${ac}.
12757
6a53b2ec
JK
127582009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12759
12760 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
12761
d7167b4c
JK
127622009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12763
12764 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
12765 Force $srcfile file.
12766 * gdb.base/foll-fork.c (callee): Comment out the printf call.
12767
b1798462
UW
127682009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12769
12770 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
12771 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
12772 * gdb.threads/watchthreads-reorder.exp: Likewise.
12773
b6199126
DJ
127742009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
12775
12776 PR gdb/8704
12777
12778 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
12779 "if", and "thread". Correct matching in the previous test.
12780
b22a0510
DJ
127812009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
12782
12783 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
12784
930636d2
MS
127852009-11-23 Michael Snyder <msnyder@vmware.com>
12786
12787 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
12788 * gdb.reverse-watch-precsave.exp: Ditto.
12789
21a0512e
PP
127902009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
12791
12792 * gdb.asm/asm-source.exp: Adjust.
12793 * gdb.base/help.exp: Adjust.
889bf7c5 12794
fc30d5e0
PA
127952009-11-22 Pedro Alves <pedro@codesourcery.com>
12796
12797 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
12798 (do_syscall_tests_without_xml): Set data-directory to
12799 /the/path/to/nowhere.
12800
f6bc2008
PA
128012009-11-21 Pedro Alves <pedro@codesourcery.com>
12802
12803 * gdb.threads/local-watch-wrong-thread.c,
12804 gdb.threads/local-watch-wrong-thread.exp: New files.
12805
8c2fb5de
PA
128062009-11-21 Pedro Alves <pedro@codesourcery.com>
12807
12808 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
12809 assume new `regsub' syntax available.
12810
ebec9a0f
PA
128112009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12812
a79d3c27
JK
12813 * gdb.base/watchpoint-hw-hit-once.exp,
12814 gdb.base/watchpoint-hw-hit-once.c: New.
12815
128162009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12817
12818 * gdb.threads/watchthreads-reorder.exp,
12819 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 12820
276a961b
MK
128212009-11-17 Nathan Sidwell <nathan@codesourcery.com>
12822
12823 * gdb.xml/tdesc-regs.exp: Use for m68k.
12824
4867c1fb
PA
128252009-11-15 Pedro Alves <pedro@codesourcery.com>
12826
12827 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
12828
f6838f81
DJ
128292009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12830
12831 * lib/gdb.exp (current_target_name): New procedure.
12832 (gdb_wrapper_target): New variable.
12833 (gdb_wrapper_init): Set gdb_wrapper_target.
12834 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
12835 wrapper.
12836
4ac4dd3f
DJ
128372009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12838
12839 * gdb.base/remote.exp: Delete the slowest load test.
12840 Do not load with fixed packet sizes.
12841
a7881759
DJ
128422009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12843
12844 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
12845
97a5b505
DJ
128462009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12847
12848 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
12849 srcfile when setting a breakpoint.
12850
d3e1fc54
DJ
128512009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
12852
12853 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
12854 macros.
12855
7cbcbded
DJ
128562009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12857
12858 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
12859 to be in memory.
12860 * gdb.base/display.c (force_mem): New.
12861 (do_loops): Use it. Add breakpoint comments.
12862 (do_vars): Add a breakpoint comment.
12863 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
12864 line numbers.
12865
bdea3a92
NF
128662009-11-13 Nathan Froyd <froydnj@codesourcery.com>
12867
12868 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
12869 instead of a bare "run".
12870
269f82e5
PP
128712009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12872
12873 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 12874
a69b7d9d
DJ
128752009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12876
12877 * lib/cell.exp (skip_cell_tests): Clean up test files before
12878 returning.
12879
b598bfda
DJ
128802009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12881
12882 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
12883 and the breakpoint menu. Do not call perror if a prompt is seen.
12884 Consume the following GDB prompt.
12885 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
12886 * gdb.cp/namespace.exp: Use gdb_test.
12887 * gdb.cp/templates.exp: Use gdb_test.
12888 (test_template_breakpoints): Use gdb_test_multiple.
12889
87728fa0
DJ
128902009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12891
12892 * gdb.base/break1.c (struct some_struct, values): Move earlier.
12893 (marker4): Reference values.
12894
b67c692f
DJ
128952009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12896
12897 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
12898 is missing.
12899
f0df251a
DJ
129002009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12901
12902 * gdb.base/break.c (need_malloc): New.
12903 * gdb.base/constvars.c (main): Reference crass and crisp.
12904 * gdb.base/gdb1821.c (main): Reference bar.
12905 * gdb.cp/gdb1355.cc (main): Reference s1.
12906 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
12907 (main): Call them.
12908 * gdb.cp/hang2.cc (dummy2): Define.
12909 * gdb.cp/hang3.cc (dummy3): Define.
12910 * gdb.cp/m-data.cc (main): Reference shadow.
12911
bdf7534a
NF
129122009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12913 Nathan Froyd <froydnj@codesourcery.com>
12914
12915 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
12916 remote host.
12917
f24fce77
NF
129182009-11-12 Nathan Froyd <froydnj@codesourcery.com>
12919
12920 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
12921 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
12922 * gdb.dwarf2/dw2-compressed.exp: Likewise.
12923 * gdb.dwarf2/dw2-intercu.exp: Likewise.
12924 * gdb.dwarf2/dw2-intermix.exp: Likewise.
12925 * gdb.dwarf2/dw2-producer.exp: Likewise.
12926 * gdb.dwarf2/mac-fileno.exp: Likewise.
12927 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
12928 py-prettyprint.py to the remote host.
12929 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
12930
40f0318e
KS
129312009-11-11 Keith Seitz <keiths@redhat.com>
12932
12933 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
12934 use it instead of "Foo".
12935 * gdb.cp/classes.exp (do_tests): Add a test to access
12936 a method through a typedef'd class name.
12937
f3d9f7fb
NF
129382009-11-11 Nathan Froyd <froydnj@codesourcery.com>
12939
12940 * gdb.base/long_long.exp: Permit leading zeros on floating-point
12941 exponents.
12942 * gdb.base/pointers.exp: Likewise.
12943 * gdb.cp/ref-types.exp: Likewise.
12944
a4216f37
KS
129452009-11-11 Keith Seitz <keiths@redhat.com>
12946
12947 * gdb.cp/cplusfuncs.cc (class foo): Add operators
12948 new[] and delete[].
12949 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
12950 "void".
12951 (probe_demangler): Remove all single-quoting of
12952 method and variable names.
12953 (info_func_regexp): Remove the word "void" from any
12954 occurrence of "(void)".
12955 (print_addr_2): Remove all single-quoting of
12956 method names.
12957 (print_addr_2_kfail): Likewise.
12958 (print_addr): Single-quote C function names before
12959 passing to print_addr_2.
12960 (test_paddr_operator_functions): Remove single-quoting
12961 for method names.
12962 Add tests for operator new[] and operator delete[].
12963
9b14d7aa
JK
129642009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12965
12966 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
12967
85feb311
KS
129682009-11-09 Keith Seitz <keiths@redhat.com>
12969
12970 * gdb.cp/overload.exp: Add tests for resolving overloaded
12971 methods in expression parsing/evaluation.
12972
fa335448
DJ
129732009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
12974
12975 * lib/gdb.exp (default_gdb_version): Use --version instead of
12976 --command.
12977
ec3c07fc
NS
129782009-11-10 Nathan Sidwell <nathan@codesourcery.com>
12979
12980 * lib/gdb.exp (gdb_compile_test): New.
12981 (skip_ada_tests, skip_java_tests): New.
12982 (gdb_compile): Use gdb_compile_test for f77.
12983 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
12984 * lib/java.exp (compile_java_from_source): Remove runtests check,
12985 use gdb_compile_test to record result.
12986 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
12987 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
12988 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
12989 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
12990 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
12991 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
12992 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
12993 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
12994 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
12995 adjust gdb_compile invocations.
12996
b8b4e42b
JK
129972009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12998
12999 * Makefile.in (abs_builddir): New.
13000 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
13001 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
13002 `$(abs_builddir)/site.exp'.
13003
f8b7eaf3
DJ
130042009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
13005
13006 * config/m68k-emc.exp, lib/emc-support.exp,
13007 gdb.trace/gdb_c_test.c: Delete.
13008 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
13009 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13010 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13011 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13012 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13013 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
13014 casing for m68k-*-elf.
13015
c4187697
NS
130162009-11-03 Pedro Alves <pedro@codesourcery.com>
13017
13018 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
13019 * gdb.arch/i386-prologue.exp: Likewise.
13020 * gdb.arch/i386-unwind.exp: Likewise.
13021
db16b772
DJ
130222009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13023
13024 * lib/gdb.exp (gdb_expect): Fix timeout typo.
13025
bcf71277
DJ
130262009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13027
13028 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
13029
0105cee2
DJ
130302009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13031
13032 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
13033
24ddea62
JK
130342009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13035
13036 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
13037
287ccc17
JK
130382009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13039
13040 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
13041 * gdb.base/sepdebug2.c: New file.
13042
08bca259 130432009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
13044
13045 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
13046 the modified warnings for catch syscall. Verify if GDB was compiled
13047 with support for lib expat, and choose which tests to run depending
13048 on this.
13049
5d4e2b76
VP
130502009-10-30 Vladimir Prus <vladimir@codesourcery.com>
13051
13052 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
13053 that composite commands are parsed OK. And also test
13054 that breakpoint commands do work.
13055
240e538a
MS
130562009-10-23 Michael Snyder <msnyder@vmware.com>
13057
13058 gdb.reverse/consecutive-precsave.exp: Change expect pattern
13059 to allow for new disassembly style.
13060
9c419145
PP
130612009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13062
13063 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 13064
02506ff1
MS
130652009-10-22 Michael Snyder <msnyder@vmware.com>
13066
13067 * gdb.reverse/break-precsave.exp: New test.
13068 * gdb.reverse/consecutive-precsave.exp: Ditto.
13069 * gdb.reverse/finish-precsave.exp: Ditto.
13070 * gdb.reverse/i386-precsave.exp: Ditto.
13071 * gdb.reverse/machinestate-precsave.exp: Ditto.
13072 * gdb.reverse/sigall-precsave.exp: Ditto.
13073 * gdb.reverse/solilb-precsave.exp: Ditto.
13074 * gdb.reverse/step-precsave.exp: Ditto.
13075 * gdb.reverse/until-precsave.exp: Ditto.
13076 * gdb.reverse/watch-precsave.exp: Ditto.
13077
4cf866a3
MS
130782009-10-22 Michael Snyder <msnyder@vmware.com>
13079
13080 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
13081 for gdb_expect. Adjust one test's expect strings for the new
13082 format of disassemble.
13083 * gdb.reverse/finish-reverse.exp: Delete 'return'.
13084 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
13085 gdb_test_multiple.
13086 * gdb.reverse/step-reverse.exp: Delete 'return'.
13087 * gdb.reverse/until-reverse.exp: Delete blank lines.
13088 * gdb.reverse/watch-reverse.exp: Delete blank lines.
13089
2b28d209
PP
130902009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
13091
13092 * gdb.base/consecutive.exp: Adjust.
13093 * gdb.base/display.exp: Likewise.
13094 * gdb.base/pc-fp.exp: Likewise.
13095 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 13096
33b9c32b
MS
130972009-10-19 Michael Snyder <msnyder@vmware.com>
13098
13099 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
13100 * gdb.reverse/finish-reverse.c: Ditto.
13101 * gdb.reverse/sigall-reverse.c: Ditto.
13102 * gdb.reverse/solib-reverse.c: Ditto.
13103 * gdb.reverse/step-reverse.c: Ditto.
13104 * gdb.reverse/watch-reverse.c: Ditto.
13105
6c95b8df
PA
131062009-10-19 Pedro Alves <pedro@codesourcery.com>
13107 Stan Shebs <stan@codesourcery.com>
13108
13109 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
13110 * gdb.base/foll-exec.exp: Adjust to expect a process id before
13111 "Executing new program".
13112 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
13113 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
13114 left listed after having been killed.
13115 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
13116 * gdb.base/maint.exp: Adjust test.
13117
13118 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
13119 * gdb.multi/Makefile.in: New.
13120 * gdb.multi/base.exp: New.
13121 * gdb.multi/goodbye.c: New.
13122 * gdb.multi/hangout.c: New.
13123 * gdb.multi/hello.c: New.
13124 * gdb.multi/bkpt-multi-exec.c: New.
13125 * gdb.multi/bkpt-multi-exec.exp: New.
13126 * gdb.multi/crashme.c: New.
13127
279017b7
TG
131282009-10-13 Tristan Gingold <gingold@adacore.com>
13129
13130 * gdb.base/sepdebug.exp: Check debug info are found.
13131
0413d738
PA
131322009-10-08 Pedro Alves <pedro@codesourcery.com>
13133
13134 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
13135 bits.
13136
c628eecc
JK
131372009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13138
13139 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
13140
38af1bfe
JB
131412009-10-07 Joel Brobecker <brobecker@adacore.com>
13142
13143 * gdb.base/watchpoints.c: Add copyright header. Reformat one
13144 of the comments.
13145
2b0adecd
PM
131462009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
13147
13148 * gdb.base/annota1.exp: Remove obsolete match_max increase.
13149 * gdb.base/annota3.exp: Idem.
13150 * gdb.base/maint.exp: Idem.
13151
8d417781
PM
131522009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
13153
889bf7c5 13154 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
13155 to default.
13156
bb61102d
PM
131572009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13158
889bf7c5 13159 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
13160 mingw and cygwin targets.
13161
ace5c364
PM
131622009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13163 Pedro Alves <pedro@codesourcery.com>
13164
889bf7c5 13165 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
13166 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
13167
c2d494a0
PM
131682009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13169
e1b52ce2
PM
13170 * gdb.base/shr1.c: Use %p in format string.
13171 * gdb.base/unload.c: Avoid warning in fprintf.
13172 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 13173
209f53f5
PM
131742009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13175
13176 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
13177 long type.
13178 (test_unlink): Correct printf string.
13179 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
13180 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
13181
8172766a
JK
131822009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13183
13184 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
13185 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
13186 * gdb.arch/ia64-breakpoint-shadow.S: New file.
13187
0f73703c
UW
131882009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13189
13190 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
13191 * gdb.objc/nondebug.exp: Likewise.
13192
b32306ca
UW
131932009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13194
13195 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
13196 target_info setting.
13197
13198 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
13199 that detect new threads during "info threads".
13200
0057022f
UW
132012009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13202
13203 * gdb.threads/manythreads.c (main): Increase thread stack size
13204 to 2*PTHREAD_STACK_MIN.
13205 * gdb.threads/multi-create.c (main): Likewise.
13206 (create_function): Likewise.
13207
f29c0325
UW
132082009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13209
13210 * gdb.base/dump.exp: Pass difference of pointer types instead
13211 of integer types as offset to restore in intarr3.srec case.
13212
fcb34849
UW
132132009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13214
13215 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
13216
d5142e3b
UW
132172009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13218
13219 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
13220
087b74b2 132212009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 13222
087b74b2
PM
13223 New test for two watchpoints, with disabling of
13224 the first inserted.
13225 * testsuite/gdb.base/watchpoints.c: New file.
13226 * testsuite/gdb.base/watchpoints.exp: New file.
13227
96c07c5b
TT
132282009-09-25 Tom Tromey <tromey@redhat.com>
13229
13230 * gdb.base/charset.exp: Test utf-16 strings with Python.
13231
b8899f2b
TT
132322009-09-25 Tom Tromey <tromey@redhat.com>
13233
13234 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
13235 UCS-4.
13236 * gdb.base/charset.c (utf_32_string): Rename.
13237 (init_utf32): Rename.
13238 (main): Update.
13239
329719ec
TT
132402009-09-22 Tom Tromey <tromey@redhat.com>
13241
13242 * gdb.python/py-function.exp: Add regression tests.
13243
11ef0d76
KS
132442009-09-21 Keith Seitz <keiths@redhat.com>
13245
13246 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
13247 with invalid operator.
13248
3fe8f3b3
KS
132492009-09-21 Keith Seitz <keiths@redhat.com>
13250
13251 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
13252 and destructor using typedef name of class.
13253 * gdb.cp/classes.cc (class Base1): Add a destructor.
13254 (base1): New typedef.
13255 (use_methods): Instanitate an object of type base1.
13256 * gdb.cp/templates.exp (test_template_typedef): New procedure.
13257 (do_tests): Call test_template_typedef.
13258 * gdb.cp/templates.cc (Baz::~Baz): New method.
13259 (intBazOne): New typedef.
13260 (main): Instantiate intBazOne.
13261
7a9fe101
PM
132622009-09-21 Phil Muldoon <pmuldoon@redhat.com>
13263
13264 PR python/10633
13265
13266 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
13267 Function.
13268 (run_lang_tests): Add print elements test.
13269
2e4d963f
PM
132702009-09-21 Phil Muldoon <pmuldoon@redhat.com>
13271
13272 * gdb.python/py-value.exp (test_subscript_regression): New
13273 function. Test for invalid subscripts.
13274 * gdb.python/py-value.c (main): Add test array, and pointer to it.
13275 (ptr_ref): New function.
13276
ec7e75e7
PP
132772009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13278
13279 * gdb.base/default.exp: Fix "show convenience".
13280
0cc7d26f
TT
132812009-09-15 Tom Tromey <tromey@redhat.com>
13282
13283 * lib/mi-support.exp (mi_create_varobj): Update.
13284 (mi_create_floating_varobj): Likewise.
13285 (mi_create_dynamic_varobj): New proc.
13286 (mi_varobj_update): Update.
13287 (mi_varobj_update_with_type_change): Likewise.
13288 (mi_varobj_update_kv_helper): New proc.
13289 (mi_varobj_update_dynamic_helper): Rewrite.
13290 (mi_varobj_update_dynamic): New proc.
13291 (mi_list_varobj_children): Update.
13292 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
13293 * gdb.python/python-prettyprint.py (pp_outer): New class.
13294 (pp_nullstr): Likewise.
13295 (lookup_function): Register new printers.
13296 * gdb.python/python-prettyprint.c (struct substruct): New type.
13297 (struct outerstruct): Likewise.
13298 (substruct_test): New function.
13299 (struct nullstr): New type.
13300 (string_1, string_2): New globals.
13301 (main): Add new tests.
13302 * gdb.python/python-mi.exp: Added regression tests.
13303 * gdb.mi/mi2-var-display.exp: Update.
13304 * gdb.mi/mi2-var-cmd.exp: Update.
13305 * gdb.mi/mi2-var-child.exp: Update.
13306 * gdb.mi/mi2-var-block.exp: Update.
13307 * gdb.mi/mi-var-invalidate.exp: Update.
13308 * gdb.mi/mi-var-display.exp: Update.
13309 * gdb.mi/mi-var-cmd.exp: Update.
13310 * gdb.mi/mi-var-child.exp: Update.
13311 * gdb.mi/mi-var-block.exp: Update.
13312 * gdb.mi/mi-break.exp: Update.
13313 * gdb.mi/gdb701.exp: Update.
13314
a96d9b2e
SDJ
133152009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13316
13317 * Makefile.in: Inclusion of catch-syscall object.
13318 * gdb.base/catch-syscall.c: New file.
13319 * gdb.base/catch-syscall.exp: New file.
13320
b43b923a
MS
133212009-09-12 Michael Snyder <msnyder@vmware.com>
13322
13323 * gdb.reverse/step-reverse.exp: Explicitly check for targets
13324 that can support reverse debuggnig.
13325
cec03d70
TT
133262009-09-11 Tom Tromey <tromey@redhat.com>
13327
13328 * gdb.dwarf2/valop.S: New file.
13329 * gdb.dwarf2/valop.exp: New file.
13330
e23bb3fc
MK
133312009-09-11 Mark Kettenis <kettenis@gnu.org>
13332
13333 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
13334
37c3696d
DE
133352009-09-10 Doug Evans <dje@google.com>
13336
13337 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
13338 Add $gdb_prompt to second breakpoint regexp.
13339
5172aecb
JB
133402009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
13341
13342 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
13343 names, add missing ones.
13344 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
13345 * gdb.python/py-frame.c: Rename from python-frame.c.
13346 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
13347 testfile name.
13348 * gdb.python/py-function.exp: Rename from python-function.exp.
13349 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
13350 testfile name.
13351 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
13352 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
13353 Adjust testfile name.
13354 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
13355 * gdb.python/py-template.cc: Rename from python-template.cc.
13356 * gdb.python/py-template.exp: Rename from python-template.exp.
13357 Adjust testfile name.
13358 * gdb.python/py-value.c: Rename from python-value.c.
13359 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
13360 testfile name.
13361
b554e4bd
JK
133622009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13363
13364 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
13365 $bpt2address.
13366 (Second breakpoint address is valid on ia64)
13367 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
13368
9a68ae16
JM
133692009-09-03 Joseph Myers <joseph@codesourcery.com>
13370
13371 * gdb.base/ending-run.exp: Restrict regular expression matching
13372 line number to require closing brace following.
13373
146b9145
DE
133742009-09-03 Doug Evans <dje@google.com>
13375
13376 * gdb.base/store.exp (check_set): Fix typo in expected value message.
13377
787d21e1
TT
133782009-09-02 Tom Tromey <tromey@redhat.com>
13379
13380 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
13381
e7802207
TT
133822009-09-02 Tom Tromey <tromey@redhat.com>
13383
13384 * gdb.dwarf2/callframecfa.exp: New file.
13385 * gdb.dwarf2/callframecfa.S: New file.
13386
817aadd2
JK
133872009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13388
13389 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
13390 gdb.base/solib-overlap-main.c: New.
13391
4a76eae5
DJ
133922009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
13393
13394 PR gdb/10565
13395
13396 * gdb.base/bitfields.c (struct container, container): New.
13397 (main): Initialize it and call break5.
13398 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
13399
d4b96c9a
JK
134002009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13401
13402 Support constant DW_AT_data_member_location by GCC PR debug/40659.
13403 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
13404
4e22772d
JK
134052009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13406
13407 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
13408
2efab443
MS
134092009-08-26 Michael Snyder <msnyder@vmware.com>
13410
13411 * gdb.base/i386-reverse.c: New file.
13412 * gdb.base/i386-reverse.exp: New file.
13413 * gdb.base/Makefile.in: Add new files to be removed.
13414
07ab73a0
JM
134152009-08-26 Joseph Myers <joseph@codesourcery.com>
13416
13417 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
13418 environment-pwd for remote host.
13419 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
13420
676accff
KS
134212009-08-24 Keith Seitz <keiths@redhat.com>
13422
13423 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
13424 Add two new C++ completer tests which limit the output to a
889bf7c5 13425 given class.
676accff 13426
f9f7ad22
MS
134272009-08-24 Michael Snyder <msnyder@vmware.com>
13428
13429 * gdb.base/del.exp: Fix typo in comment.
13430 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
13431
81ecdfbb
RW
134322009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13433
13434 * configure: Regenerate.
13435 * gdb.hp/configure: Likewise.
13436 * gdb.hp/gdb.aCC/configure: Likewise.
13437 * gdb.hp/gdb.base-hp/configure: Likewise.
13438 * gdb.hp/gdb.compat/configure: Likewise.
13439 * gdb.hp/gdb.defects/configure: Likewise.
13440 * gdb.hp/gdb.objdbg/configure: Likewise.
13441 * gdb.stabs/configure: Likewise.
13442
cab0c772
UW
134432009-08-19 Doug Evans <dje@google.com>
13444
13445 * gdb.base/gdbvars.c: New file.
13446 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
13447
b8fa0bfa
PA
134482009-08-14 Pedro Alves <pedro@codesourcery.com>
13449
13450 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
13451 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
13452
b84aa90a
PA
134532009-08-13 Pedro Alves <pedro@codesourcery.com>
13454
13455 * gdb.base/default.exp: Adjust "set language test": it's now an
13456 enum command. Larger help string moved to "help set language".
13457 * gdb.base/help.exp: Adjust "help set language" expected output,
13458 now lists all known languages.
13459
0d8f9b2c
NF
134602009-08-11 Nathan Froyd <froydnj@codesourcery.com>
13461
13462 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
13463 all frame arguments.
13464 * gdb.arch/altivec-regs.exp: Likewise.
13465
bda180e0
TT
134662009-08-07 Tom Tromey <tromey@redhat.com>
13467
13468 * gdb.base/setshow.exp: Add tests for changes to set language, set
13469 check range, and set check type.
13470
48cb2d85
VP
134712009-08-03 Vladimir Prus <vladimir@codesourcery.com>
13472
13473 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
13474 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 13475 Call it.
48cb2d85 13476
1ea34204
UW
134772009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13478
13479 * configure.ac: Run gdb.cell tests when appropriate.
13480 * configure: Regenerate.
13481 * lib/cell.exp: New file.
13482 * gdb.cell: New directory.
13483 * gdb.cell/configure.ac: New file.
13484 * gdb.cell/configure: New file.
13485 * gdb.cell/Makefile.in: New file.
13486 * gdb.cell/arch.exp: New file.
13487 * gdb.cell/break.c: New file.
13488 * gdb.cell/break.exp: New file.
13489 * gdb.cell/break-spu.c: New file.
13490 * gdb.cell/bt.c: New file.
13491 * gdb.cell/bt2-spu.c: New file.
13492 * gdb.cell/bt-spu.c: New file.
13493 * gdb.cell/bt.exp: New file.
13494 * gdb.cell/coremaker.c: New file.
13495 * gdb.cell/coremaker-spu.c: New file.
13496 * gdb.cell/core.exp: New file.
13497 * gdb.cell/gcore.exp: New file.
13498 * gdb.cell/data.c: New file.
13499 * gdb.cell/data.exp: New file.
13500 * gdb.cell/data-spu.c: New file.
13501 * gdb.cell/ea-cache.exp: New file.
13502 * gdb.cell/ea-cache.c: New file.
13503 * gdb.cell/ea-cache-spu.c: New file.
13504 * gdb.cell/ea-standalone.c: New file.
13505 * gdb.cell/ea-standalone.exp: New file.
13506 * gdb.cell/ea-test.c: New file.
13507 * gdb.cell/ea-test.exp: New file.
13508 * gdb.cell/f-regs.exp: New file.
13509 * gdb.cell/mem-access.c: New file.
13510 * gdb.cell/mem-access.exp: New file.
13511 * gdb.cell/mem-access-spu.c: New file.
13512 * gdb.cell/ptype.exp: New file.
13513 * gdb.cell/registers.exp: New file.
13514 * gdb.cell/size.c: New file.
13515 * gdb.cell/sizeof.exp: New file.
13516 * gdb.cell/size-spu.c: New file.
13517 * gdb.cell/solib.exp: New file.
13518 * gdb.cell/solib-symbol.exp: New file.
13519
85e747d2
UW
135202009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13521
13522 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
13523
58d6951d
DJ
135242009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
13525
13526 * gdb.base/float.exp: Handle VFP registers.
13527
6e0a4f15
MS
135282009-07-14 Michael Snyder <msnyder@vmware.com>
13529
dcd5da87
MS
13530 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
13531 to bring gdb to the beginning of the calling line.
13532
6e0a4f15
MS
13533 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
13534 confusing the i386 epilogue unwinder.
13535
782b2b07
SS
135362009-07-14 Stan Shebs <stan@codesourcery.com>
13537
13538 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
13539
f662c3bc
MS
135402009-07-14 Michael Snyder <msnyder@vmware.com>
13541
13542 * gdb.reverse/step-reverse.exp (stepi into function call):
13543 Call instruction may not be first instruction in the line.
13544 (reverse stepi from a function call): Used wrong line number.
13545
8f313923
JK
135462009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13547
13548 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
13549
4662c76e
JK
135502009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13551
13552 Fix gdb.base/macscp.exp when using custom inputrc.
13553 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
13554 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
13555 env(TERM) set.
13556 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
13557 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
13558
aa81e255
JK
135592009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13560
13561 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
13562 * gdb.base/annota1.exp (thread_test): Import global $testfile.
13563 Change the compilation target to match the testcase name.
13564 * gdb.base/sect-cmd.exp: Change the compilation target to match the
13565 testcase name.
13566 * a2-run.exp: Use for setup prepare_for_testing. Change the
13567 compilation target to match the testcase name.
13568 * gdb.base/commands.exp: Likewise.
13569 * gdb.base/finish.exp: Likewise.
13570 * gdb.base/float.exp: Likewise.
13571 * gdb.base/info-target.exp: Likewise.
13572 * gdb.base/relational.exp: Likewise.
13573 * gdb.base/term.exp: Likewise.
13574 * gdb.base/until.exp: Likewise.
13575 * gdb.base/volatile.exp: Likewise.
13576 * gdb.base/whatis-exp.exp: Likewise.
13577
4c93b1d7
HZ
135782009-07-11 Hui Zhu <teawater@gmail.com>
13579
13580 * gdb.base/help.exp (disassemble): Update expected help text.
13581
812f7342
TT
135822009-07-09 Tom Tromey <tromey@redhat.com>
13583
13584 * lib/gdb.exp: Handle TRANSCRIPT.
13585 (remote_spawn, remote_close, send_gdb): New procs.
13586
fbb8f299
PM
135872009-07-10 Phil Muldoon <pmuldoon@redhat.com>
13588
13589 * gdb.python/python-prettyprint.c: Add counted null string
13590 structure.
13591 * gdb.python/python-prettyprint.exp: Print null string. Test for
13592 embedded nulls.
13593 * gdb.python/python-prettyprint.py (pp_ns): New Function.
13594 * gdb.python/python-value.exp (test_value_in_inferior): Add
13595 variable length string fetch tests.
13596 * gdb.python/python-value.c (main): Add strings for string fetch tests.
13597
c0ac0ec7
JK
135982009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13599
13600 * gdb.base/dump.exp (inaccessible memory is reported): New test.
13601
30b66ecc
TT
136022009-07-07 Tom Tromey <tromey@redhat.com>
13603
13604 * gdb.base/call-rt-st.exp: Update for change to escape output.
13605 * gdb.base/callfuncs.exp: Likewise.
13606 * gdb.base/charset.exp: Likewise.
13607 * gdb.base/constvars.exp: Likewise.
13608 * gdb.base/long_long.exp: Likewise.
13609 * gdb.base/pointers.exp: Likewise.
13610 * gdb.base/printcmds.exp: Likewise.
13611 * gdb.base/setvar.exp: Likewise.
13612 * gdb.base/store.exp: Likewise.
13613 * gdb.cp/ref-types.exp: Likewise.
13614 * gdb.mi/mi-var-child.exp: Likewise.
13615 * gdb.mi/mi-var-display.exp: Likewise.
13616 * gdb.mi/mi2-var-display.exp: Likewise.
13617 * gdb.base/charset.exp: Test octal escape sequence length.
13618 Update for change to escape output.
13619
187c4a2b
JK
136202009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13621
13622 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
13623
d80a43f9
DJ
136242009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
13625
13626 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
13627
047427a8
JK
136282009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13629
13630 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
13631 gdbserver increasing $portnum if "Can't bind address" has been seen.
13632
8b5a0f4f
PA
136332009-07-05 Pedro Alves <pedro@codesourcery.com>
13634
13635 * gdb.base/ending-run.exp: Add "step out of main" pattern for
13636 mingw32ce.
13637
7d93ba58
PA
136382009-07-05 Pedro Alves <pedro@codesourcery.com>
13639
13640 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
13641 VFP format.
13642
2277426b
PA
136432009-07-02 Pedro Alves <pedro@codesourcery.com>
13644
13645 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
13646 linux. Adjust to use "inferior", "info inferiors", "detach
13647 inferior" and "kill inferior" instead of "restart", "info fork",
13648 "detach fork" and "delete fork".
13649 * gdb.base/ending-run.exp: Spell out "info".
13650 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
13651 the "kill" command.
13652
5af949e3
UW
136532009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13654
13655 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
13656 change to prefix TLS offset in hex with 0x.
13657
5d3729b5
UW
136582009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13659
13660 * gdb.base/default.exp: Update test case for "x" changes.
13661
af589bd0
TG
136622009-07-01 Tristan Gingold <gingold@adacore.com>
13663
13664 * gdb.base/bigcore.exp: Make darwin untested.
13665
40974f91
JK
136662009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13667
13668 * gdb.base/completion.exp (directory completion): Create the directory.
13669 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
13670 escapeuniquesub.
13671 (directory completion 2): Expect now ${escapeuniquesub}.
13672 (Glob remaining of directory test): Remove one excessive newline.
13673 Expect the real output.
13674
59dd3af6
JK
136752009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13676
13677 Fix `make check//%' target after `make check' has been ran.
13678 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
13679 a mkdir call.
13680 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
13681 (%/.dir): Remove.
13682
f4e164aa
JK
136832009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13684
13685 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
13686 the expected result record.
13687
69af2122
JK
136882009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13689
13690 Remove racy FAILs relying just on the timeouts.
13691 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
13692 (annotation_level 2): Remove racy FAILs.
13693
2fd481e1
PP
136942009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13695
13696 gdb/10275
889bf7c5
PA
13697 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
13698
c38f313d
DJ
136992009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
13700
13701 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
13702
8b777f02
VP
137032009-06-30 Vladimir Prus <vladimir@codesourcery.com>
13704
13705 * gdb.mi/mi-stack.exp: Testing symbolic options
13706 to -stack-list-locals and -stack-list-arguments.
13707
00c7eacf
JK
137082009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13709
13710 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
13711
6bc80edc
TT
137122009-06-29 Tom Tromey <tromey@redhat.com>
13713
13714 * dg-extract-results.sh: New file.
13715 * Makefile.in (FORCE_PARALLEL): New variable.
13716 (CHECK_TARGET): New conditional variable.
13717 (check): Use CHECK_TARGET.
13718 (DO_RUNTEST): New variable.
13719 (check-single): New target.
13720 (TEST_DIRS): New variable.
13721 (TEST_TARGETS): Likewise.
13722 (check-parallel): New target.
13723 (check-gdb.%): New pattern.
13724 (BASE1_FILES): New variable.
13725 (BASE2_FILES): Likewise.
13726 (check-gdb.base%): New pattern.
13727 (%/.dir): New pattern.
13728 * configure: Rebuild.
13729 * aclocal.m4 (AM_CONDITIONAL): New defun.
13730 * configure.ac: Check whether user is using GNU make.
13731 (GMAKE): New conditional.
13732
794684b6
SW
137332009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
13734
13735 * gdb.cp/namespace-nested-import.cc: New test.
13736 * gdb.cp/namespace-nested-import.exp: New test.
13737
edb3359d
DJ
137382009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
13739
13740 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
13741 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
13742 * gdb.opt/Makefile.in (EXECUTABLES): Update.
13743 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
13744 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
13745 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
13746 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
13747 gdb.opt/inline-markers.c: New files.
13748 * lib/gdb.exp (skip_inline_frame_tests): New function.
13749 (skip_inline_var_tests): New function.
13750
cf657a0c
AS
137512009-06-27 Andreas Schwab <schwab@linux-m68k.org>
13752
13753 * gdb.cp/exception.exp: Don't require $hex before inner frame in
13754 backtrace.
13755
28d41a99
MS
137562009-06-27 Michael Snyder <msnyder@vmware.com>
13757
13758 * gdb.reverse: New directory.
13759 * gdb.reverse/break-reverse.c: New test.
13760 * gdb.reverse/break-reverse.exp: New test.
13761 * gdb.reverse/consecutive-reverse.c: New test.
13762 * gdb.reverse/consecutive-reverse.exp: New test.
13763 * gdb.reverse/finish-reverse.c: New test.
13764 * gdb.reverse/finish-reverse.exp: New test.
13765 * gdb.reverse/machinestate.c: New test.
13766 * gdb.reverse/ms1.c: New test.
13767 * gdb.reverse/machinestate.exp: New test.
13768 * gdb.reverse/Makefile.in: New file.
13769 * gdb.reverse/shr2.c: New test.
13770 * gdb.reverse/solib-reverse.c: New test.
13771 * gdb.reverse/solib-reverse.exp: New test.
13772 * gdb.reverse/step-reverse.c: New test.
13773 * gdb.reverse/step-reverse.exp: New test.
13774 * gdb.reverse/until-reverse.c: New test.
13775 * gdb.reverse/ur1.c: New test.
13776 * gdb.reverse/until-reverse.exp: New test.
13777 * gdb.reverse/watch-reverse.c: New test.
13778 * gdb.reverse/watch-reverse.exp: New test.
13779 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
13780 * configure: Regenerate.
13781
fe3c8b0d
DE
137822009-06-26 Doug Evans <dje@google.com>
13783
13784 * gdb.base/psymtab.exp: Turn off pending breakpoints.
13785
3a72a602
PM
137862009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
13787
13788 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
13789 windows problem for 'file delete $binfile'.
13790
27aa8d6a
SW
137912009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
13792
13793 * gdb.cp/namespace-using.exp: New test.
13794 * gdb.cp/namespace-using.cc: New test.
13795
8ac055f8
JB
137962009-05-20 Joel Brobecker <brobecker@adacore.com>
13797
13798 * gdb.ada/variant_record_packed_array: New testcase.
13799
85e306ed
TT
138002009-06-23 Tom Tromey <tromey@redhat.com>
13801
13802 * gdb.base/charset.exp (test_combination): Regression test.
13803 * gdb.base/charset.c (my_wchar_t): New typedef.
13804 (myvar): New global.
13805 (main): Set myvar.
13806
56643c5e
PM
138072009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
13808
13809 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
13810 target.
13811
1fac167a
UW
138122009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13813
13814 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
13815
7ccb0be9
UW
138162009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13817
13818 * gdb.mi/gdb680.exp: Update test for error message.
13819
568d6575
UW
138202009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13821
13822 * gdb.base/annota1.exp: Allow multiple occurrences of the
13823 frames-invalid annotation.
13824 * gdb.cp/annota2.exp: Likewise.
13825
7cd1089b
PM
138262009-06-15 Phil Muldoon <pmuldoon@redhat.com>
13827
13828 * gdb.cp/gdb2495.cc: New file.
13829 * gdb.cp/gdb2495.exp: New file.
13830
72c63395
JK
138312009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13832
13833 Report error on GDB crash during runto.
13834 * lib/gdb.exp (runto <eof>): New.
13835
3788363d
DJ
138362009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
13837
13838 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
13839 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
13840 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
13841 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
13842 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
13843 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
13844 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
13845 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
13846 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
13847 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
13848 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
13849 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
13850 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
13851 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
13852 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
13853 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
13854 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
13855 gdb.server/server-mon.exp, gdb.server/server-run.exp,
13856 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
13857 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
13858 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
13859 gdb.trace/passcount.exp, gdb.trace/report.exp,
13860 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
13861 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
13862 gdb.trace/while-stepping.exp: Use a unique name for the compiled
13863 executable.
13864
17592de3
PA
138652009-06-07 Pedro Alves <pedro@codesourcery.com>
13866
13867 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
13868 defined before referencing it.
13869
701e355d
DE
138702009-06-03 Doug Evans <dje@google.com>
13871
13872 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
13873 * gdb.arch/i386-see.c: Ditto.
13874
f2292c65
PM
138752009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
13876
13877 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
13878 (check_macro): Return 1 if undefined.
13879 If first test fails, check if macro debug information is available,
13880 and report unsupported test if no macro information is found.
13881
5a437975
DE
138822009-05-29 Doug Evans <dje@google.com>
13883
13884 * gdb.threads/hand-call-in-threads.exp: New.
13885 * gdb.threads/hand-call-in-threads.c: New.
13886
c141c696
MS
138872009-05-29 Michael Snyder <msnyder@vmware.com>
13888
13889 * gdb.base/break-always.exp: Change "1" to "on".
13890 Add confirmation check.
13891
b3444185
PA
138922009-05-28 Pedro Alves <pedro@codesourcery.com>
13893
13894 * gdb.threads/threxit-hop-specific.c: New.
13895 * gdb.threads/threxit-hop-specific.exp: New.
13896 * gdb.threads/thread-execl.c: New.
13897 * gdb.threads/thread-execl.exp: New.
13898
b6313243
TT
138992009-05-27 Tom Tromey <tromey@redhat.com>
13900 Thiago Jung Bauermann <bauerman@br.ibm.com>
13901
13902 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
13903 (mi_child_regexp): Likewise.
13904 (mi_list_varobj_children_range): Likewise.
13905 (mi_get_features): Likewise.
13906 (mi_list_varobj_children): Rewrite.
13907 * gdb.python/python-mi.exp: New file.
13908
a6bac58e
TT
139092009-05-27 Tom Tromey <tromey@redhat.com>
13910 Thiago Jung Bauermann <bauerman@br.ibm.com>
13911 Phil Muldoon <pmuldoon@redhat.com>
13912 Paul Pluzhnikov <ppluzhnikov@google.com>
13913
13914 * gdb.python/python-prettyprint.exp: New file.
13915 * gdb.python/python-prettyprint.c: New file.
13916 * gdb.python/python-prettyprint.py: New file.
13917 * gdb.base/display.exp: print/r is now valid.
13918
2c74e833
TT
139192009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
13920 Tom Tromey <tromey@redhat.com>
13921 Pedro Alves <pedro@codesourcery.com>
13922 Paul Pluzhnikov <ppluzhnikov@google.com>
13923
13924 * gdb.python/python-template.exp: New file.
13925 * gdb.python/python-template.cc: New file.
13926 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
13927 tests.
13928 * gdb.python/python-value.exp (py_objfile_tests): New proc.
13929 Call it.
13930 (test_value_after_death): New proc.
13931 * gdb.python/python-value.c (PTR): New typedef.
13932 (main): New variable 'x'.
13933
89c73ade
TT
139342009-05-27 Tom Tromey <tromey@redhat.com>
13935
13936 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
13937 tests.
13938 * gdb.python/python-value.exp (py_objfile_tests): New proc.
13939 Call it.
13940
a75724bc
PA
139412009-05-27 Pedro Alves <pedro@codesourcery.com>
13942
13943 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
13944
e58b0e63
PA
139452009-05-24 Pedro Alves <pedro@codesourcery.com>
13946
13947 * gdb.threads/fork-thread-pending.c: New.
13948 * gdb.threads/fork-thread-pending.exp: New.
13949
4ac36638
JK
139502009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13951
13952 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
13953 * gdb.dwarf2/dw2-strp.S (a_string2): New.
13954
889bf7c5 139552009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 13956
889bf7c5 13957 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 13958
b242c3c2
PA
139592009-05-17 Pedro Alves <pedro@codesourcery.com>
13960
13961 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
13962 `gdb_get_line_number'. Call `callee' in both parent and child.
13963 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
13964 `gdb_get_line_number' instead of hardcoding line numbers.
13965 (catch_fork_unpatch_child): New procedure to test detaching
13966 breakpoints from child fork.
13967 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
13968 hardcoding line numbers.
13969 (do_fork_tests): Run `catch_fork_unpatch_child'.
13970
ee342b23
VP
139712009-05-17 Vladimir Prus <vladimir@codesourcery.com>
13972
13973 * gdb.mi/mi-cmd-var.exp: Check that when varobj
13974 of structure type enters or leaves the scope, it
13975 is reported by -var-update.
13976
e2009e98
DE
139772009-05-11 Doug Evans <dje@sebabeach.org>
13978
13979 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 13980 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
13981 * gdb.threads/schedlock.c (main): Fix off-by-one error.
13982
00903456
JK
139832009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13984
13985 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
13986
dc621c35
DE
139872009-04-30 Doug Evans <dje@google.com>
13988
13989 * gdb.threads/watchthreads2.exp: New testcase.
13990 * gdb.threads/watchthreads2.c: New testcase.
13991
9ab4e744
DE
139922009-04-29 Doug Evans <dje@google.com>
13993
13994 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
13995 * gdb.cp/mb-ctor.cc: Ditto.
13996 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
13997 * gdb.cp/mb-inline.h (multi_line_foo): New function.
13998 * gdb.cp/mb-inline1.cc: Call it.
13999 * gdb.cp/mb-inline2.cc: Ditto.
14000 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
14001 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
14002
484086b7
JK
140032009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14004
14005 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
14006 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
14007 Replace all uses of `decimal' by `nonzero'.
14008 (info macro FROM_COMMANDLINE): New test.
14009
379a77b5
TT
140102009-04-27 Tom Tromey <tromey@redhat.com>
14011
14012 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
14013
b92b73c2
DE
140142009-04-27 Doug Evans <dje@google.com>
14015
14016 * gdb.threads/watchthreads.c (main): Initialize args before starting
14017 the threads. Plus formatting cleanup.
14018 * gdb.threads/watchthreads.exp: Avoid errant failures due to
14019 biased scheduling of one thread.
14020
945a118d
JG
140212009-04-27 Jerome Guitton <guitton@adacore.com>
14022
14023 * gdb.cp/templates.cc (GetMax): New template.
14024 (main): Declare two instances of GetMax.
14025 * gdb.cp/templates.exp: Add new test.
14026
d389af10
JK
140272009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14028
14029 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
14030
e7f86de9
JM
140312009-04-22 Joseph Myers <joseph@codesourcery.com>
14032
14033 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
14034
334cc82d
TT
140352009-04-15 Tom Tromey <tromey@redhat.com>
14036
14037 * gdb.base/charset.exp: Add regression test.
14038
d12672cc
JB
140392009-04-14 Joel Brobecker <brobecker@adacore.com>
14040
14041 * gdb.base/exe-lock.exp: New testcase.
14042
18e8c3bc
TT
140432009-04-13 Tom Tromey <tromey@redhat.com>
14044
14045 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
14046 operator on Frame.
14047
5ecd5cbe
UW
140482009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14049
14050 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
14051 * gdb.server/ext-attach.exp: Likewise.
14052
7309f756
VP
140532009-04-03 Vladimir Prus <vladimir@codesourcery.com>
14054
14055 Eliminate some sleep usage.
14056
889bf7c5
PA
14057 * gdb.mi/basics.c (do_nothing): New.
14058 (main): Use do_nothing instead of printf, so that
14059 not to introduce race condition between output of
14060 inferiour and output of gdb. Do not use sleep as it
14061 is not generally available on embedded targets.
7309f756 14062
f4b95f6f
PA
140632009-04-02 Pedro Alves <pedro@codesourcery.com>
14064
14065 * gdb.server/ext-attach.exp: Expect an optional process id after
14066 "Detached from remote process".
14067
de40b933
JK
140682009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14069
14070 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
14071 gdb.dwarf2/dw2-unresolved.exp: New.
14072
2ae101a4
PA
140732009-04-02 Pedro Alves <pedro@codesourcery.com>
14074
14075 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
14076 mi_run_to_main.
14077
56a8e183
PA
140782009-04-02 Pedro Alves <pedro@codesourcery.com>
14079
14080 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
14081 mi_run_to_main. Skip thread exit test on remote targets.
14082 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
14083 mi_run_to_main.
14084 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
14085 mi_run_to_main.
14086 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
14087 when expecting ^connected. Detect when the target doesn't support
14088 non-stop mode.
14089 (mi_run_cmd): Detect if non-stop mode was requested by isn't
14090 supported. Return -1 on error, 0 on success.
14091 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
14092 (mi_runto): Return mi_runto_helper's result explicitly.
14093
c35fafde
PA
140942009-04-01 Pedro Alves <pedro@codesourcery.com>
14095
14096 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
14097
f8a8dce6
JB
140982009-04-01 Tom Tromey <tromey@redhat.com>
14099
14100 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
14101 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
14102 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
14103 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
14104
71c25dea
TT
141052009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
14106 Jan Kratochvil <jan.kratochvil@redhat.com>
14107
14108 PR gdb/931
14109 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
14110 output.
14111 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
14112 for gdb/931.
14113 * dw2-strp.S (DW_AT_language): Change to C++.
14114 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
14115
02d9a9ce
JB
141162009-03-31 Joel Brobecker <brobecker@adacore.com>
14117
14118 * gdb.ada/tasks: New testcase.
14119
1042e4c0
SS
141202009-03-30 Stan Shebs <stan@codesourcery.com>
14121
14122 * gdb.trace/actions.exp: Update to match new info trace format.
14123 * gdb.trace/deltrace.exp: Ditto.
14124 * gdb.trace/infotrace.exp: Ditto.
14125 * gdb.trace/passcount.exp: Ditto.
14126 * gdb.trace/save-trace.exp: Ditto.
14127 * gdb.trace/while-stepping.exp: Ditto.
14128 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
14129
f8f6f20b
TJB
141302009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14131
14132 * gdb.python/python-frame.c: New file.
14133 * gdb.python/python-frame.exp: New file.
14134
c0c6f777
TJB
141352009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
14136
14137 * gdb.python/python-value.exp: Add tests for the address
14138 attribute.
14139
3cb51905
AS
141402009-03-29 Andreas Schwab <schwab@linux-m68k.org>
14141
14142 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
14143
88fc996f
DE
141442009-03-26 Doug Evans <dje@google.com>
14145
14146 * gdb.mi/mi-nonstop-exit.exp: New file.
14147 * gdb.mi/non-stop-exit.c: New file.
14148
56ef84b1
TT
141492009-03-26 Tom Tromey <tromey@redhat.com>
14150
14151 Update for change to prologue skipping:
14152 * gdb.mi/mi2-simplerun.exp: Update.
14153 * gdb.mi/mi2-break.exp: Update.
14154 * gdb.mi/mi-simplerun.exp: Update.
14155 * gdb.mi/mi-break.exp: Update.
14156 * gdb.base/ending-run.exp: Update.
14157
def2b000
TJB
141582009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
14159
14160 * gdb.python/python-value.exp (test_value_in_inferior): Test
14161 gdb.Value.is_optimized_out attribute.
14162
442ddf59
JK
141632009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14164
14165 * gdb.dwarf2/dw2-noloc-main.c: New file.
14166 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
14167 (.text): Remove.
14168 (.data): New.
14169 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
14170 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
14171 (DW_TAG_subprogram func_cu1, noloc): Remove.
14172 (main): New.
14173 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
14174 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
14175 (file_symbols): New procedure.
14176
a8df5de4
TT
141772009-03-25 Tom Tromey <tromey@redhat.com>
14178
14179 * gdb.base/charset.exp (valid_target_charset): New proc.
14180 Use it to skip tests on invalid charsets.
14181
cc1d7add
PM
141822009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
14183
14184 * gdb.base/completion.exp: Add a test for directory completion.
14185
bcd5727b
JK
141862009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14187
14188 Fix a racy FAIL.
14189 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
14190 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
14191
cc924cad
TJB
141922009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
14193
14194 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
14195 * gdb.python/python-function.exp: Add test for function returning
14196 a GDB value.
14197
bc3b79fd
TJB
141982009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
14199
14200 * gdb.python/python-function.exp: New file.
14201
6c7a06a3
TT
142022009-03-20 Tom Tromey <tromey@redhat.com>
14203
14204 * gdb.base/store.exp: Update for change to escape output.
14205 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
14206 to escape output.
14207 * gdb.base/pointers.exp: Update for change to escape output.
14208 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
14209 to escape output.
14210 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
14211 escape output.
14212 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
14213 to escape output.
14214 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
14215 escape output.
14216 * gdb.base/setvar.exp: Update for change to escape output.
14217 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
14218 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
14219 to escape output.
14220 (test_print_string_constants): Likewise.
14221 * gdb.base/charset.exp (valid_host_charset): Check size of
14222 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
14223 cases. Handle "auto"-related output.
14224 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
14225 (uvar, Uvar): New globals.
14226
c31af87b
JG
142272009-03-19 Jerome Guitton <guitton@adacore.com>
14228
14229 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
14230 deltas.
14231 * gdb.ada/fixed_points.exp: Ditto.
14232
51272cf2
PA
142332009-03-18 Pedro Alves <pedro@codesourcery.com>
14234
14235 * return-nodebug.c: Don't include stdio.h.
14236 (init): Delete.
14237 (func): Delete definition and provide extern declaration.
14238 (t): New.
14239 (main): Don't call printf. Call func and store its result in t.
14240 * return-nodebug1.c: New.
14241 * return-nodebug.exp: Don't expect stdio output. Instead, print
14242 the global variable t. Drop printf formatters and cast types from
14243 foreach loop. Don't use prepare_for_testing. Compile
14244 return-nodebug.c and return-nodebug1.c in separate steps. Don't
14245 define FORMAT or CAST.
14246
d24948ac
PP
142472009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14248
14249 * gdb.base/solib-display.exp: Disable test for remote targers.
14250
61ff14c6
JK
142512009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14252
14253 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
14254
cb4dce93
JK
142552009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14256
14257 Fix a racy FAIL.
14258 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
14259 code from `follow parent, print pids'.
14260 (`follow child, print pids', `follow parent, print pids'): Call it.
14261 Replace `gdb_test "break..."' by gdb_breakpoint.
14262
f7c60c5e
VP
142632009-03-13 Vladimir Prus <vladimir@codesourcery.com>
14264
14265 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 14266 sync and async modes.
f7c60c5e 14267
383ace49
JB
142682009-03-12 Joel Brobecker <brobecker@adacore.com>
14269
14270 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
14271 that was checked in by mistake. Remove loading of ada.exp, since
14272 this is not necessary in this case.
14273
4ce102af
JB
142742009-03-12 Joel Brobecker <brobecker@adacore.com>
14275
14276 * gdb.ada/ptype_arith_binop.exp: New testcase.
14277
529a2aef
JB
142782009-03-12 Joel Brobecker <brobecker@adacore.com>
14279
14280 * gdb.ada/mod_from_name: New testcase.
14281
8a38181c
JB
142822009-03-12 Joel Brobecker <brobecker@adacore.com>
14283
14284 * gdb.ada/tick_last_segv: New testcase.
14285
11436dee
VP
142862009-03-12 Vladimir Prus <vladimir@codesourcery.com>
14287
61ff14c6 14288 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 14289
1f31650a
VP
142902009-03-12 Vladimir Prus <vladimir@codesourcery.com>
14291
61ff14c6
JK
14292 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
14293 include the token in ^running and frame info in *stopped.
1f31650a 14294
a3247a22
PP
142952009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14296
14297 * solib-display.exp: New file.
14298 * solib-display-main.c: New file.
14299 * solib-display-lib.c: New file.
61ff14c6 14300
aae64587
PA
143012009-03-05 Pedro Alves <pedro@codesourcery.com>
14302
14303 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
14304
44aabfbc
JK
143052009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
14306
14307 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
14308 (list_and_check_macro): Use more specific test name.
14309 (next to definition): Make the test names unique.
14310
c087fcd3
PM
143112009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
14312
14313 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 14314
c86cf029
VP
143152009-02-17 Vladimir Prus <vladimir@codesourcery.com>
14316
14317 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
14318 notifications.
14319 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
14320 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
14321 * lib/mi-support.exp (library_loaded_re): New.
14322 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
14323
3ea85240
VP
143242009-02-17 Vladimir Prus <vladimir@codesourcery.com>
14325
14326 * gdb.gdb/observer.exp: Use test_notification observer, not
14327 normal_stop, everywhere.
14328 (test_normal_stop_notifications): Rename to...
14329 (test_notifications): ...this.
14330 (test_observer_normal_stop): Rename to...
14331 (test_observer): ...this.
14332
1903f0e6
DE
143332009-02-16 Doug Evans <dje@google.com>
14334
14335 * gdb.arch/amd64-disp-step.S (test_int3): New test.
14336 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
14337 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
14338 (test_prefixed_syscall,test_int3): New tests.
14339 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
14340 (test_prefixed_syscall,test_int3): New tests.
14341
1d33d6ba
VP
143422009-02-14 Vladimir Prus <vladimir@codesourcery.com>
14343
3cb51905
AS
14344 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
14345 (mi_expect_interrupt): Likewise.
14346 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
14347 response.
1d33d6ba 14348
faafb047
PM
143492009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
14350
14351 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
14352 * gdb.base/pc-fp.exp (get_valueofx): Remove.
14353 Replace calls to get_valueofx by get_hexadecimal_valueof.
14354
417e16e2
PM
143552009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
14356
14357 * lib/gdb.exp (get_valueof): Accept anything as a return value.
14358 (get_integer_valueof): New procedure.
14359 (get_sizeof): Use new get_integer_value_of.
14360 * gdb.base/sizeof.exp: Replace all uses of get_valueof
14361 by get_integer_valueof.
14362
7065b901
TT
143632009-02-13 Tom Tromey <tromey@redhat.com>
14364
14365 * gdb.base/remote.exp (get_sizeof): Remove.
14366 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
14367 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
14368 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
14369 * lib/gdb.exp (get_valueof): Move from long_long.exp.
14370 (get_sizeof): Likewise.
14371
5d7cb8df
JK
143722009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14373
14374 PR fortran/9806
14375 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
14376
b2febfff
PP
143772009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14378
14379 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
14380
4aa995e1
PA
143812009-02-06 Pedro Alves <pedro@codesourcery.com>
14382
14383 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
14384
d8906c6f
TJB
143852009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
14386
14387 * gdb.python/python-cmd.exp: New file.
14388
ff4ab08d
TG
143892009-02-06 Tristan Gingold <gingold@adacore.com>
14390
14391 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
14392
aacd552b
TG
143932009-02-05 Tristan Gingold <gingold@adacore.com>
14394
14395 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
14396 pointer is dereferenced and use this signal name in regexp.
14397 * gdb.base/signull.exp: Ditto.
14398 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
14399 * gdb.base/signull.c (main): Ditto.
14400
08c637de
TJB
144012009-02-04 Tom Tromey <tromey@redhat.com>
14402 Thiago Jung Bauermann <bauerman@br.ibm.com>
14403
14404 * gdb.python/python-value.exp: Use `gdb.history' instead of
14405 `gdb.value_from_history'.
14406 (test_value_numeric_ops): Add test for conversion of enum constant.
14407 * gdb.python/python-value.c (enum e): New type.
14408 (evalue): New global.
14409 (main): Use argv.
14410
20261af8
JG
144112009-02-04 Jerome Guitton <guitton@adacore.com>
14412
14413 * gdb.ada/uninitialized_vars: New test program.
14414 * gdb.ada/uninitialized_vars.exp: New testcase.
14415
52e44b43
TT
144162009-02-02 Tom Tromey <tromey@redhat.com>
14417
14418 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
14419 * gdb.cp/pr2489.cc: Rename...
14420 * gdb.cp/pr9594.cc: ... to this.
14421
1c71341a
TT
144222009-02-02 Tom Tromey <tromey@redhat.com>
14423
14424 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
14425 * gdb.cp/pr2489.cc: New file.
14426 * gdb.cp/cpcompletion.exp: New file.
14427
a4295225
TT
144282009-02-02 Tom Tromey <tromey@redhat.com>
14429
14430 PR exp/9059:
14431 * gdb.cp/call-c.exp: Add regression test.
14432 * gdb.cp/call-c.cc (FooHandle): New typedef.
14433 (main): New variable 'handle'.
14434
592375cd
VP
144352009-01-30 Vladimir Prus <vladimir@codesourcery.com>
14436
14437 * lib/mi-support.exp (et_mi_thread_list)
14438 (check_mi_and_console_threads): Adjust for current thread in
14439 -thread-list-ids output.
14440
41447f92
VP
144412009-01-30 Vladimir Prus <vladimir@codesourcery.com>
14442
889bf7c5
PA
14443 * gdb.mi/mi-break.exp (test_disabled_creation): New.
14444 Call it.
41447f92 14445
35669430
DE
144462009-01-28 Doug Evans <dje@google.com>
14447
14448 * gdb.arch/amd64-disp-step.S: New file.
14449 * gdb.arch/amd64-disp-step.exp: New file.
14450 * gdb.arch/i386-disp-step.S: New file.
14451 * gdb.arch/i386-disp-step.exp: New file.
14452
09f00d9a
PM
144532009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
14454
14455 * gdb.base/find.exp: Set newline variable
14456 using quotes instead of braces to fix cygwin failures.
14457
1e8fb976
PA
144582009-01-23 Pedro Alves <pedro@codesourcery.com>
14459
14460 * gdb.base/radix.exp: Add tests to ensure that that set
14461 input-radix 0 and set output-radix 0 are really rejected.
14462
da061712
PA
144632009-01-23 Pedro Alves <pedro@codesourcery.com>
14464
14465 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
14466 copyright years.
14467
dd7e2d2b
PA
144682009-01-23 Pedro Alves <pedro@codesourcery.com>
14469
14470 PR gdb/9664:
14471 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
14472
392452f6
PA
144732009-01-22 Pedro Alves <pedro@codesourcery.com>
14474
14475 PR c++/9631:
14476 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
14477
8653e71c
PM
144782009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
14479
14480 * gdb.server/file-transfer.exp: Use EXEEXT variable for
14481 binfile definition to fix Windows OS failure.
14482
a12cc160
DJ
144832009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
14484
14485 PR gdb/9346
14486 * gdb.base/interrupt.c (sigint_handler): New.
14487 (main): Install a SIGINT handler if SIGNALS is defined. Exit
14488 on error.
14489 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
14490 Test "signal SIGINT".
14491
b89667eb
DE
144922009-01-19 Doug Evans <dje@google.com>
14493
14494 * gdb.base/break.exp: Update expected gdb output.
14495 * gdb.base/sepdebug.exp: Ditto.
14496 * gdb.mi/mi-syn-frame.exp: Ditto.
14497 * gdb.mi/mi2-syn-frame.exp: Ditto.
14498 * gdb.base/call-signal-resume.exp: New file.
14499 * gdb.base/call-signals.c: New file.
14500 * gdb.base/unwindonsignal.exp: New file.
14501 * gdb.base/unwindonsignal.c: New file.
14502 * gdb.threads/interrupted-hand-call.exp: New file.
14503 * gdb.threads/interrupted-hand-call.c: New file.
14504 * gdb.threads/thread-unwindonsignal.exp: New file.
14505
adb483fe
DJ
145062009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
14507
14508 * gdb.base/define.exp: Test defining and hooking prefix commands.
14509 * gdb.python/python.exp: Update test for "show user" output.
14510
60023297
JK
145112009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14512
14513 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
14514 now the output exactly, using less wildcards. Expect also the output
14515 of gfortran-4.3. Update for the f-valprint.c modification from
14516 2008-04-22.
14517 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
14518 Remove gdb_test test names where matching the command.
14519
ccc57cf9
PA
145202009-01-01 Pedro Alves <pedro@codesourcery.com>
14521
14522 PR breakpoints/9681:
14523 * gdb.base/watchpoint.exp: Add regression test.
14524
c7a6ca08
PA
145252008-12-31 Pedro Alves <pedro@codesourcery.com>
14526
14527 * gdb.threads/attach-into-signal.exp: Don't use
14528 gdb_suppress_entire_file.
14529 * gdb.threads/attach-stopped.exp: Ditto.
14530 * gdb.threads/attachstop-mt.exp: Ditto.
14531
3a031f65
PA
145322008-12-31 Pedro Alves <pedro@codesourcery.com>
14533
14534 PR gdb/8812:
14535 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
14536
09e6485f
PA
145372008-12-29 Pedro Alves <pedro@codesourcery.com>
14538
14539 PR gdb/7536:
14540 * gdb.base/radix.exp: Add tests to ensure invalid input radices
14541 and unsupported output radices are really rejected.
14542
0cd53049
JK
145432008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14544
14545 * gdb.cp/punctuator.exp: Backslash the '$' signs.
14546
ba163c7e
TT
145472008-12-22 Tom Tromey <tromey@redhat.com>
14548
14549 * gdb.cp/punctuator.exp: New file.
14550
6f4de6c9
JK
145512008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14552
14553 * gdb.base/completion.exp (Completing non-existing component): New test.
14554
0f34d0b4
JK
145552008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14556
14557 Fix for PR gdb/8648.
14558 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
14559 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
14560 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
14561 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
14562
db2ad4c3
JK
145632008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14564
14565 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
14566
bb5ef15e
DP
145672008-12-16 Christophe Lyon <christophe.lyon@st.com>
14568
14569 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
14570 compiler actually generate code at the expected line number.
14571
90142adc
JZ
145722008-12-15 Jie Zhang <jie.zhang@analog.com>
14573
14574 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
14575
fad6eecd
TT
145762008-12-12 Tom Tromey <tromey@redhat.com>
14577
14578 * gdb.base/commands.exp (redefine_hook_test): New proc.
14579 Call it.
14580
17c8aaf5
TT
145812008-12-11 Tom Tromey <tromey@redhat.com>
14582
14583 * gdb.base/macscp.exp: New regression test.
14584
7c8adf68
TT
145852008-12-11 Tom Tromey <tromey@redhat.com>
14586
14587 * gdb.base/macscp.exp: Print "address.addr".
14588 * gdb.base/macscp1.c (struct outer): New struct.
14589 (address): New global.
14590
b05dcbb7
TT
145912008-12-09 Tom Tromey <tromey@redhat.com>
14592
14593 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
14594 Call it.
14595
2d476de1
DE
145962008-12-04 Doug Evans <dje@google.com>
14597
14598 * gdb.server/ext-run.exp: Relax regexp for init program.
14599
87bdc959
TG
146002008-12-03 Tristan Gingold <gingold@adacore.com>
14601
14602 * gdb.base/macscp.exp: Generate an object file during compilation
14603 to work around Darwin dsymutil limitations.
14604
e0740f77
JK
146052008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14606
14607 Test resolving external references to TLS variables.
14608 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
14609 FILE2_THREAD_LOCAL.
14610 (testfile2, srcfile2): New variables.
14611 * gdb.threads/tls.c (file2_thread_local)
14612 (function_referencing_file2_thread_local): New.
14613 * gdb.threads/tls2.c: New file.
14614
67f0aac5
JB
146152008-11-28 Joel Brobecker <brobecker@adacore.com>
14616
14617 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
14618 rather than integer, as integer might not be big enough when
14619 on 64bit targets.
67f0aac5 14620
c332165e
JG
146212008-11-27 Jerome Guitton <guitton@adacore.com>
14622
14623 * gdb.cp/formatted-ref.exp: Add equality test.
14624 * gdb.ada/formatted_ref.exp: Ditto.
14625
fc9b693c
JK
146262008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14627
14628 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
14629 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
14630
a9c64011
AS
146312008-11-20 Andreas Schwab <schwab@suse.de>
14632
14633 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
14634 matching syscall entry point.
14635 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14636 (tcatch_vfork_then_child_follow): Likewise. Finish through
14637 vfork even if we stopped at the syscall trampoline.
14638
e2fd701e
DE
146392008-11-20 Doug Evans <dje@google.com>
14640
14641 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
14642
69abc51c
TJB
146432008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
14644
14645 * gdb.arch/ppc-dfp.exp: New file.
14646 * gdb.arch/ppc-dfp.c: New file.
14647
c14c28ba
PP
146482008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14649
14650 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 14651
2e74121d
DE
146522008-11-17 Doug Evans <dje@google.com>
14653
14654 * gdb.mi/mi-syn-frame.exp: Update expected output.
14655 * gdb.mi/mi2-syn-frame.exp: Update expected output.
14656
66bb093b
VP
146572008-11-17 Vladimir Prus <vladimir@codesourcery.com>
14658
14659 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
14660 "thread N" results in =thread-selected.
14661 * lib/mi-support (mi_run_cmd, mi_expect_stop)
14662 (mi_send_resuming_command_raw): Be prepared for
14663 =thread-selected.
14664
3d043ef6
VP
146652008-11-17 Vladimir Prus <vladimir@codesourcery.com>
14666
a9c64011
AS
14667 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
14668 * lib/mi-support.exp: Likewise.
3d043ef6 14669
808104c8
JB
146702008-11-16 Joel Brobecker <brobecker@adacore.com>
14671
14672 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
14673 commands from the expected output for "help catch".
14674
00b22944
JB
146752008-11-15 Joel Brobecker <brobecker@adacore.com>
14676
14677 * gdb.ada/int_deref.exp: New testcase.
14678
59669435
TT
146792008-11-14 Nick Roberts <nickrob@snap.net.nz>
14680
14681 * gdb.mi/gdb2549.exp: New file.
14682
de04a248
DE
146832008-11-11 Doug Evans <dje@google.com>
14684
14685 * gdb.base/callexit.exp: New file.
14686 * gdb.base/callexit.c: New file.
14687
6b8ce727
DE
146882008-11-10 Doug Evans <dje@google.com>
14689
14690 * lib/gdb.exp (GDBFLAGS): Move -nx ...
14691 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
14692 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
14693 (default_gdb_start,default_gdb_exit): Ditto.
14694 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
14695 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
14696 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
14697 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
14698 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
14699 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
14700
1b14b8aa
AS
147012008-11-03 Andreas Schwab <schwab@suse.de>
14702
14703 * gdb.base/hashline2.exp: Fix typo.
14704 * gdb.base/hashline3.exp: Likewise.
14705
f3134b88
TT
147062008-10-30 Tom Tromey <tromey@redhat.com>
14707
14708 * gdb.base/pointers.exp: Add test.
14709 * gdb.base/pointers.c (k, S): New typedefs.
14710 (instance): New global.
14711
c2226152
AS
147122008-10-30 Andreas Schwab <schwab@suse.de>
14713
14714 * gdb.base/args.exp: Add tests for newlines.
14715
462f405c
JB
147162008-10-30 Joel Brobecker <brobecker@adacore.com>
14717
14718 gdb.base/foll-exec.exp: Update the expected output of a couple
14719 of "info breakpoints" tests.
14720
79a45b7d
TT
147212008-10-28 Tom Tromey <tromey@redhat.com>
14722
14723 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
14724
adc13a14
PA
147252008-10-24 Pedro Alves <pedro@codesourcery.com>
14726
14727 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
14728 gdb_start_cmd.
14729 Use runto_main before any test that requires execution.
14730
252fbfc8
PA
147312008-10-23 Pedro Alves <pedro@codesourcery.com>
14732
14733 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
14734 instead of SIGINT.
14735
28148e3d
JB
147362008-10-22 Joel Brobecker <brobecker@adacore.com>
14737
14738 * gdb.base/completion.exp: Update expected output following
14739 the addition of the "info tasks" command.
14740
c209f847
TT
147412008-10-22 Tom Tromey <tromey@redhat.com>
14742
14743 * gdb.base/exprs.exp (test_expr): Add test for string
14744 concatenation.
14745
f177e350
PA
147462008-10-19 Pedro Alves <pedro@codesourcery.com>
14747
14748 * configure.ac: Output gdb.python/Makefile.
14749 * configure: Regenerate.
14750 * gdb.python/Makefile.in: New.
14751
cce89356
JB
147522008-10-16 Joel Brobecker <brobecker@adacore.com>
14753
14754 * gdb.base/foll-fork.exp: Adjust the expected output to match
14755 the new description for fork/vfork catchpoints in the "info
14756 breakpoints" output.
14757
176d289d
TJB
147582008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14759
14760 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
14761
a08702d6
TJB
147622008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
14763
14764 * gdb.python/python-value.c: New file.
14765 * gdb.python/python-value.exp: New file.
14766
1c5cfe86
PA
147672008-10-15 Pedro Alves <pedro@codesourcery.com>
14768
14769 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
14770
5a98ad69
DP
147712008-10-15 Denis Pilat <denis.pilat@st.com>
14772
41702f1b 14773 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 14774
dcb1a1e2
TT
147752008-10-09 Tom Tromey <tromey@redhat.com>
14776
14777 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
14778 'fprintf' and 'stderr'.
14779
9124fe48
JB
147802008-10-07 Joel Brobecker <brobecker@adacore.com>
14781
14782 * gdb.ada/ref_tick_size.exp: New testcase.
14783
45452591
DE
147842008-10-06 Doug Evans <dje@google.com>
14785
14786 * gdb.dwarf2/dw2-cu-size.exp: New file.
14787 * gdb.dwarf2/dw2-cu-size.S: New file.
14788
14789 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
14790 .Ltype_int for clarity.
14791
4fc5b208
PP
147922008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
14793
14794 PR gdb/2384:
14795 * gdb.cp/gdb2384.exp: Extended to test more cases.
14796 * gdb.cp/gdb2384.cc: Likewise.
14797 * gdb.cp/gdb2384-base.h: Likewise.
14798 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 14799
d78df370
JK
148002008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14801
14802 * gdb.base/maint.exp (maint print type): Remove printing
14803 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
14804
9a044a89
TT
148052008-09-30 Tom Tromey <tromey@redhat.com>
14806
14807 * gdb.base/macscp.exp: Add completion tests.
14808 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
14809 (TWENTY_THREE): Likewise.
14810 (FORTY_EIGHT): Likewise.
14811
506800a9
TT
148122008-09-30 Tom Tromey <tromey@redhat.com>
14813
14814 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
14815 everywhere.
14816 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
14817
1a6f01b5
JK
148182008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
14819
14820 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
14821 testcase is derived from. Fix racy dependency on an expected PID
14822 number. No longer support the testcase on Linux kernel 2.4.x.
14823
2fae03e8
TT
148242008-09-27 Tom Tromey <tromey@redhat.com>
14825
14826 * gdb.base/macscp.exp: Add tests for stringification, splicing,
14827 and varargs.
14828
1ad15515
PA
148292008-09-22 Pedro Alves <pedro@codesourcery.com>
14830
14831 * lib/mi-support.exp (mi_expect_interrupt): New.
14832 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
14833 from gdb.mi/mi-nonstop.exp.
14834 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
14835 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
14836 lib/mi-support.exp.
14837 Use mi_check_thread_states throughout. Avoid ".*" and do not
14838 require an anchor after -exec-run.
14839
d0b76dc6
DJ
148402008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
14841
14842 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
14843 stop is pending. Avoid ".*" when two stops are pending.
14844 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
14845 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
14846 newlines in fullnames.
14847 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
14848 (mi_expect_stop): Update comments. Only anchor in sync mode.
14849 Do not match newlines.
14850 (mi_send_resuming_command_raw): Always return status.
14851 (mi_get_stop_line): Do not match more than one line by accident.
14852 Only anchor in sync mode.
14853 (mi_run_inline_test): If -exec-next fails, give up.
14854
9990c830
UW
148552008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14856
14857 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
14858 on SPU.
14859
ebcf6f00
JB
148602008-09-10 Joel Brobecker <brobecker@adacore.com>
14861
14862 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
14863
b6db24e5
JB
148642008-09-10 Joel Brobecker <brobecker@adacore.com>
14865
14866 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
14867 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
14868 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
14869 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
14870 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
14871 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
14872 gdb.ada/interface.exp, gdb.ada/null_array.exp,
14873 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
14874 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
14875 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
14876 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
14877 Include the "= " sequence in the expected output of print tests.
14878
2bf448e0
JB
148792008-09-10 Joel Brobecker <brobecker@adacore.com>
14880
14881 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
14882 description for boolean types.
14883
d51fd4c8
PA
148842008-09-09 Pedro Alves <pedro@codesourcery.com>
14885
14886 * gdb.base/hook-stop-continue.c: New.
14887 * gdb.base/hook-stop-continue.exp: New.
14888
694182d2
DJ
148892008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
14890
14891 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
14892
3b8a7fc0
JG
148932008-09-08 Jerome Guitton <guitton@adacore.com>
14894
14895 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
14896 (stack_check_probe_2, stack_check_probe_loop_1)
14897 (stack_check_probe_loop_2): New functions.
14898 (main): Add call to these new functions.
14899 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
14900 functions, check that the breakpoint is inserted at the appropriate
14901 location.
14902 (insert_breakpoint): Slightly refine this procedure so that it can
14903 be called several times in the test.
14904
96cc0ae8
JG
149052008-09-08 Jerome Guitton <guitton@adacore.com>
14906
14907 * gdb.base/stack-checking.c: New file.
14908 * gdb.base/stack-checking.exp: New file.
14909
1f08b409
TJB
149102008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
14911
14912 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
14913 * gdb.arch/altivec-regs.exp: Likewise.
14914 * gdb.arch/vsx-regs.exp: Likewise.
14915
3099e1c4
TJB
149162008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
14917
14918 * gdb.arch/ppc-fp.exp: New file.
14919 * gdb.arch/ppc-fp.c: New file.
14920
cc69bfc1
PP
149212008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14922
14923 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
14924 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 14925
b02a33db
MS
149262008-09-04 Michael Snyder <msnyder@vmware.com>
14927
14928 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
14929 as "at" (for non-debug functions such as _start).
14930
2992cbe0
UW
149312008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14932
14933 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
14934 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
14935 software watchpoints.
14936 * gdb.base/watch_thread_num.exp: Likewise.
14937
514f746b
AR
149382008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
14939
14940 * gdb.arch/i386-bp_permanent.exp: New test.
14941
876cecd0
TT
149422008-08-24 Tom Tromey <tromey@redhat.com>
14943
14944 * gdb.base/maint.exp: Update "maint print type".
14945
80f73d71
VP
149462008-08-21 Vladimir Prus <vladimir@codesourcery.com>
14947
14948 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
14949 support. Adjust the order of "*running" notifications.
14950 * gdb.mi/non-stop.c: Don't cast from int to void* and
14951 back.
14952
d9c78d7d
MK
149532008-08-20 Mark Kettenis <kettenis@gnu.org>
14954
14955 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
14956 expect to find it in the "info frame" output.
14957
97a2d1d3
DJ
149582008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
14959
14960 * gdb.base/interp.exp: Always consume both prompts.
14961
b96e2927
PA
149622008-08-20 Pedro Alves <pedro@codesourcery.com>
14963
14964 * gdb.base/pending.exp: Test pending breakpoints without symbols
14965 loaded.
14966
8cf6e61a
VP
149672008-08-19 Vladimir Prus <vladimir@codesourcery.com>
14968
14969 * lib/mi-support.exp (mi_expect_stop): Produce
14970 more details on failures.
14971 * gdb.mi/mi-nonstop.exp: New.
14972 * gdb.mi/non-stop.c: New.
14973
c6ebd6cf
VP
149742008-08-19 Vladimir Prus <vladimir@codesourcery.com>
14975
a9c64011
AS
14976 * gdb.mi/mi-async.exp: Use 'set target-async'.
14977 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 14978
46a9b8ed
DJ
149792008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
14980
14981 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
14982
44feb3ce
TT
149832008-08-17 Tom Tromey <tromey@redhat.com>
14984
14985 * gdb.base/help.exp (help catch): Rewrite.
14986
311a4e6b
TJB
149872008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
14988
14989 * gdb.base/define.exp: Test indented command documentation.
14990 * gdb.python/python.exp: Test indented multi-line command.
14991
604c2f83
LM
149922008-08-15 Luis Machado <luisgpm@br.ibm.com>
14993
14994 * testsuite/gdb.arch/vsx-regs.c: New source file.
14995 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
14996 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
14997
886a217c
TT
149982008-08-14 Tom Tromey <tromey@redhat.com>
14999
15000 * gdb.base/macscp.exp: Add regression test for "macro define" or
15001 "macro undef" with no arguments.
15002
c814a4f3
PP
150032008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15004
15005 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 15006
12ab8a60
UW
150072008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15008
15009 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
15010
d57a3c85
TJB
150112008-08-06 Tom Tromey <tromey@redhat.com>
15012
15013 * gdb.python/python.exp: New file.
15014
c7b778ff
JK
150152008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15016
15017 Fix for PR gdb/1543.
15018 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
15019 $LOCATION.
15020 (location): New variable.
15021 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
15022 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
15023 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
15024 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
15025 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
15026 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
15027 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
15028 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
15029 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
15030 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
15031 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
15032 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
15033 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
15034 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
15035 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
15036 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
15037 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
15038 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
15039 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
15040 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15041 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
15042 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
15043 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
15044 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
15045 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
15046 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
15047 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
15048 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
15049 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
15050 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
15051 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
15052 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
15053 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
15054 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
15055 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
15056 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
15057 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
15058 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
15059 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
15060 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
15061 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
15062 gdb.base/type-opaque.exp, gdb.base/until.exp,
15063 gdb.base/value-double-free.c, gdb.base/varargs.exp,
15064 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
15065 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
15066 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
15067 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
15068 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
15069 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
15070 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
15071 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
15072 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
15073 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
15074 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
15075 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
15076 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
15077 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
15078 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
15079 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
15080 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
15081 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
15082 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
15083 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
15084 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
15085 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
15086 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
15087 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
15088 gdb.pascal/types.exp, gdb.stabs/weird.exp,
15089 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
15090 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
15091 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
15092 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
15093 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
15094 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
15095 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15096 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
15097 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15098 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
15099 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15100 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
15101 lib/mi-support.exp, lib/trace-support.exp: Remove reference
15102 to bug-gdb@prep.ai.mit.edu .
15103
5e06a3d1
VP
151042008-07-31 Vladimir Prus <vladimir@codesourcery.com>
15105
15106 * lib/mi-support.exp (mi_load_shlibs): New.
15107 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
15108
9d81d21b
VP
151092008-07-30 Vladimir Prus <vladimir@codesourcery.com>
15110
15111 * lib/mi-support.exp (get_mi_thread_list)
15112 (check_mi_and_console_threads): New, moved from ...
15113 * gdb.mi/mi-pthread.exp: ...here.
15114 * gdb.mi/gdb669.exp (get_mi_thread_list)
15115 (check_mi_and_console_threads): Delete.
15116 * gdb.mi/mi2-pthread.exp: Likewise.
15117
bae98fe0
TT
151182008-07-28 Tom Tromey <tromey@redhat.com>
15119
15120 * Makefile.in (just-check): Remove. Move body to...
15121 (check): ... here.
15122
57380f4e
DJ
151232008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15124
15125 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
15126 Add a test for duplicated SIGINTs.
15127
e09490f1
DJ
151282008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15129
15130 * gdb.threads/schedlock.exp (get_args): Update to work for any
15131 value of NUM.
15132 (Top level): Report the number of threads that did not resume.
15133
6387b45f
DJ
151342008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15135
15136 * gdb.dwarf2/dw2-compressed.S: Also define __start.
15137
62f64ff2
DJ
151382008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15139
15140 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
15141 non-MI prompt.
15142
fa8de41e
TT
151432008-07-26 Tom Tromey <tromey@redhat.com>
15144
15145 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
15146 (function_struct, function_struct_ptr): New globals.
15147 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
15148 function pointer in a struct.
15149
ccb3ac8a
TT
151502008-07-26 Tom Tromey <tromey@redhat.com>
15151
15152 * gdb.base/macscp.exp: Add test for macro lexing bug.
15153
d7d9f01e
TT
151542008-07-18 Tom Tromey <tromey@redhat.com>
15155
15156 * gdb.base/macscp.exp: Add macro tests.
15157
9bf07184
PP
151582008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15159
15160 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
15161
becf6477
PP
151622008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15163
15164 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
15165
0709f7d3
PP
151662008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
15167
15168 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 15169
7093c834
PP
151702008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15171
15172 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 15173
b432ffe3
JK
151742008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15175
15176 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
15177
b1a268e5
VP
151782008-07-12 Vladimir Prus <vladimir@codesourcery.com>
15179
15180 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
15181
e2995f8e
KB
151822008-07-11 Kevin Buettner <kevinb@redhat.com>
15183
15184 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
15185 of regexp to account for changes made to GDB in the printing of
15186 byte vectors.
15187
14032a66
TT
151882008-07-11 Tom Tromey <tromey@redhat.com>
15189
15190 * gdb.base/completion.exp: Add 'help' completion test.
15191
981505ef
JK
151922008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15193
15194 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
15195
10568435
JK
151962008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15197
15198 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
15199
4487aabf
PA
152002008-07-09 Pedro Alves <pedro@codesourcery.com>
15201
15202 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
15203
a4a9b1c4
PA
152042008-07-09 Pedro Alves <pedro@codesourcery.com>
15205
15206 * gdb.base/fullname.exp: Restore pwd if compiling failed.
15207
3c3185ac
JK
152082008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15209
15210 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
15211
7ebd49dc
VP
152122008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15213
15214 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
15215 previous commit. Add a comment.
15216
84e46146
PA
152172008-06-28 Pedro Alves <pedro@codesourcery.com>
15218
15219 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
15220
0f8d4a2f
VP
152212008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15222
15223 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
15224
f747e0ce
PA
152252008-06-27 Pedro Alves <pedro@codesourcery.com>
15226
15227 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
15228 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
15229 compiling an executable, link in an object that forces unbuffered
15230 output.
15231 * lib/set_unbuffered_mode.c: New file.
15232
734a5c36
JK
152332008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15234
15235 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
15236
a2840c35
VP
152372008-06-25 Vladimir Prus <vladimir@codesourcery.com>
15238
a9c64011
AS
15239 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
15240 mi_expect_stop.
15241 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
15242 Demand that *running is output.
15243 (detect_async): Perform checking every time.
15244 (mi_send_resuming_command): Extract everything into...
15245 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
15246 (mi_expect_stop): Don't accept any output before *stopped.
15247
6ae37fef
VP
152482008-06-13 Vladimir Prus <vladimir@codesourcery.com>
15249
15250 Robustify mi-simplerun.
a9c64011
AS
15251 * gdb.mi/basics.c (main): Add a call to sleep.
15252 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
15253 * gdb.mi/mi2-cli.exp: Likewise.
15254 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 15255
b4aa76f0 152562008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
15257
15258 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
15259
e1ac3328
VP
152602008-06-10 Vladimir Prus <vladimir@codesourcery.com>
15261
a9c64011
AS
15262 * gdb.mi/mi-console.exp: Adjust.
15263 * gdb.mi/mi-syn-frame.exp: Adjust.
15264 * gdb.mi/mi2-console.exp: Adjust.
15265 * gdb.mi/mi2-syn-frame.exp: Adjust.
15266 * lib/mi-support.exp (mi_run_cmd): Adjust.
15267 (mi_send_resuming_command): Adjust.
e1ac3328 15268
f7f9a841
VP
152692008-06-10 Vladimir Prus <vladimir@codesourcery.com>
15270
15271 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
15272 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
15273 testing of stopped.
15274 * gdb.mi/mi2-syn-frame.exp: Likewise.
15275 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
15276 (async, detect_async): New.
15277 (mi_expect_stop, mi_continue_to_line): Adjust expectation
15278 depending on if we're running in sync or async mode.
f7f9a841 15279
37cd5d19
TT
152802008-06-09 Tom Tromey <tromey@redhat.com>
15281
15282 * gdb.base/completion.exp: New tests for field name completion
15283 with spaces, and field name completion with '->'.
15284
65d12d83
TT
152852008-06-06 Tom Tromey <tromey@redhat.com>
15286
15287 * gdb.base/break1.c (struct some_struct): New struct.
15288 (values): New global.
15289 * gdb.base/completion.exp: Add field name completion test.
15290
ebfe2e3f
PP
152912008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15292
15293 * gdb.cp/call-c.exp: Test for incorrect handling of reference
15294 to pointer.
15295 * gdb.cp/call-c.cc: Likewise.
15296
bcf6fc3a
NR
152972008-06-06 Nick Roberts <nickrob@snap.net.nz>
15298
15299 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
15300 annotation.
15301
49fd4a42 153022008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 15303 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
15304
15305 * gdb.threads/execl.c, gdb.threads/execl1.c,
15306 gdb.threads/execl.exp: New tests.
a9c64011 15307
8a34ac3f
AR
153082008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
15309 Daniel Jacobowitz <dan@codesourcery.com>
15310
15311 * gdb.cp/exception.exp: Activate test, make it work with pending
15312 catchpoints.
15313
86ae69ef
JK
153142008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
15315
15316 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
15317
f7f9ae2c
VP
153182008-05-28 Vladimir Prus <vladimir@codesourcery.com>
15319
a9c64011
AS
15320 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
15321 now printed.
15322 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 15323
2a2d4dc3
AS
153242008-05-27 Andreas Schwab <schwab@suse.de>
15325
15326 * gdb.base/frame-args.exp: Handle arguments that are optimized
15327 out.
15328
5099e4d9
LM
153292008-05-26 Luis Machado <luisgpm@br.ibm.com>
15330
15331 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
15332 quiet for ppc32 and group options into a single variable.
15333
d9c36a91
JB
153342008-05-23 Joel Brobecker <brobecker@adacore.com>
15335
15336 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
15337 of zero-size elements.
15338 * gdb.ada/null_array.exp: Test printing this new array.
15339
103a8671
JK
153402008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15341
15342 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
15343
07a4cc1a 153442008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
15345
15346 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
15347 of the "finish" command.
15348
55f996a7
NR
153492008-05-21 Nick Roberts <nickrob@snap.net.nz>
15350
15351 * gdb.base/annota1.exp: Test for new annotation.
15352
907fc202
UW
153532008-05-16 Pedro Alves <pedro@codesourcery.com>
15354
15355 * gdb.base/fixsection.exp: New file.
15356 * gdb.base/fixsection0.c: New file.
15357 * gdb.base/fixsection1.c: New file.
15358
e8f97270
UW
153592008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15360
15361 * gdb.base/annota1.exp: Accept printf@... in place of printf.
15362 * gdb.base/annota3.exp: Likewise.
15363
ac0bb574
NF
153642008-05-13 Nathan Froyd <froydnj@codesourcery.com>
15365
15366 * gdb.base/watch_thread_num.exp: Don't run tests that require
15367 watchpoints if the target doesn't support them.
15368
6fadd07a
DE
153692008-05-12 Doug Evans <dje@google.com>
15370
15371 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
15372
6e9a4a30
JB
153732008-05-09 Joel Brobecker <brobecker@adacore.com>
15374
15375 * gdb.ada/assign_1.exp: New testcase.
15376
08388c79
DE
153772008-05-09 Doug Evans <dje@google.com>
15378
a3c83fae
DE
15379 * gdb.base/find.exp: New file.
15380 * gdb.base/find.c: New file.
08388c79 15381
bd5ddfe8
DJ
153822008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
15383
15384 * gdb.base/commands.exp (watchpoint_command_test): Handle
15385 gdb,no_hardware_watchpoints.
15386 * gdb.base/float.exp: Allow ARM targets without floating point.
15387 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
15388
b5dd68e2 153892008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 15390 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
15391
15392 * gdb.ada/lang_switch: New test program.
15393 * gdb.ada/lang_switch.exp: New testcase.
15394
382d13d1
DE
153952008-05-05 Doug Evans <dje@google.com>
15396
15397 * gdb.base/help.exp (disassemble): Update expected help text.
15398
9dd789d0
PA
153992008-05-04 Pedro Alves <pedro@codesourcery.com>
15400
15401 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
15402
611c83ae
PA
154032008-05-04 Pedro Alves <pedro@codesourcery.com>
15404
15405 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
15406 different times.
15407
ff013f42
JK
154082008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
15409
15410 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
15411 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
15412 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
15413 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
15414
96dff6a2
VP
154152008-05-04 Vladimir Prus <vladimir@codesourcery.com>
15416
15417 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
15418 notification to appear.
15419
55cd6f92
DJ
154202008-05-04 Daniel Jacobowitz <dan@debian.org>
15421
15422 * gdb.base/fullname.c: New file.
15423 * gdb.base/fullname.exp: New file.
15424 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
15425
d705c43c
PA
154262008-05-03 Pedro Alves <pedro@codesourcery.com>
15427
15428 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
15429 expressions with macros.
15430
333222e1
JK
154312008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15432
15433 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
15434
5ac01682
DJ
154352008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
15436
15437 * gdb.base/completion.exp: Handle lack of other symbols beginning
15438 with "a".
15439
15440 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
15441
237fc4c9
PA
154422008-05-02 Jim Blandy <jimb@codesourcery.com>
15443
15444 * gdb.asm/asmsrc1.s: Add scratch space.
15445
ed5e9466
DJ
154462008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15447 Daniel Jacobowitz <dan@codesourcery.com>
15448
15449 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
15450 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
15451 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
15452
b39cc962
DJ
154532007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
15454
15455 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
15456
36d520f5
JB
154572008-05-01 Joel Brobecker <brobecker@adacore.com>
15458
15459 * gdb.base/info-target.exp: New testcase.
15460
8d4e3071
DJ
154612008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
15462
15463 * gdb.cp/hang.exp: Use .cc instead of .C.
15464 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
15465 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
15466
6f3f3097
DJ
154672008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
15468
15469 * gdb.base/gdb1250.exp: Remove perror.
15470 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
15471
5550a914
PA
154722008-04-30 Pedro Alves <pedro@codesourcery.com>
15473
15474 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
15475 .2byte.
15476
d848e687
DJ
154772008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
15478
15479 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
15480 (maybe_kfail): New.
15481
93b5768b
PA
154822008-04-25 Pedro Alves <pedro@codesourcery.com>
15483
15484 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
15485
721c02de
VP
154862008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15487
a9c64011
AS
15488 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
15489 * gdb.mi/mi2-syn-frame.exp: Likewise.
15490 * lib/mi-support.exp: Likewise.
721c02de 15491
74960c60
VP
154922008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15493
15494 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
15495 to specify regexp for the location to stop at.
15496 * gdb.base/break-always.c: New.
15497 * gdb.base/break-always.exp: New.
15498
d24317b4
VP
154992008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15500
15501 * lib/mi-support.exp (mi_runto_helper): Adjust
15502 for the original-location field.
15503 (mi_create_breakpoint, mi_list_breakpoints): New.
15504 * gdb.mi/mi-break.exp: Adjust.
15505 * gdb.mi/mi2-break.exp: Adjust.
15506 * gdb.mi/mi-pending.exp: Adjust.
15507 * gdb.mi/mi-simplerun.exp: Adjust.
15508 * gdb.mi/mi2-simplerun.exp: Adjust.
15509 * gdb.mi/mi-syn-frame.exp: Adjust.
15510 * gdb.mi/mi2-syn-frame.exp: Adjust.
15511 * gdb.mi/mi-until.exp: Adjust.
15512 * gdb.mi/mi2-until.exp: Adjust.
15513 * gdb.mi/mi-var-display.exp: Adjust.
15514 * gdb.mi/mi2-var-display.exp: Adjust.
15515 * gdb.mi/mi-watch.exp: Adjust.
15516 * gdb.mi/mi2-watch.exp: Adjust.
15517
fdc59709 155182008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 15519
a9c64011
AS
15520 * aclocal.m4: Add override.m4.
15521 * configure: Regenerate.
fdc59709 15522
8e91f023
VP
155232008-04-19 Vladimir Prus <vladimir@codesourcery.com>
15524
15525 * gdb.mi/var-cmd.c (do_at_tests): Verify that
15526 '-var-update --all-values' reports new value even the type
15527 of a variable object has changed.
15528
233a11ab
CS
155292008-04-18 Craig Silverstein <csilvers@google.com>
15530
15531 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
15532 files.
d24317b4 15533
9c1137ad
JB
155342008-04-18 Joel Brobecker <brobecker@adacore.com>
15535
15536 * gdb.ada/atomic_enum: New test program.
15537 * gdb.ada/atomic_enum.exp: New testcase.
15538
66d0bbc7
DE
155392008-04-17 Doug Evans <dje@google.com>
15540
15541 * gdb.opt/Makefile.in: Fix whitespace.
15542
100906b0
UW
155432008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
15544
15545 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
15546
4584e32e
DE
155472008-04-17 Doug Evans <dje@google.com>
15548
15549 * gdb.base/hashline1.exp: New testcase.
15550 * gdb.base/hashline2.exp: New testcase.
15551 * gdb.base/hashline2.exp: New testcase.
15552
0a320680
PA
155532008-04-17 Pedro Alves <pedro@codesourcery.com>
15554
15555 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
15556
18ac113b
AR
155572008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
15558
15559 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
15560 temporary breakpoint to match "Temporary breakpoint".
15561 * gdb.base/break.exp (delete_breakpoints): Likewise.
15562 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
15563 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
15564 * gdb.base/display.exp: Likewise.
15565 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
15566 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
15567 * gdb.base/restore.exp (restore_tests): Likewise.
15568 * gdb.base/sepdebug.exp: Likewise.
15569 * gdb.base/watchpoint.exp: Likewise.
15570 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
15571 * gdb.mi/mi-pending.exp: Likewise.
15572 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
15573 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
15574 * gdb.mi/mi-var-cmd.exp: Likewise.
15575 * gdb.mi/mi-var-display.exp: Likewise.
15576 * gdb.mi/mi2-cli.exp: Likewise.
15577 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
15578 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
15579 * gdb.mi/mi2-var-display.exp: Likewise.
15580 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
15581 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
15582 new "disp" field.
a9c64011 15583 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
15584 reason. This is to support fix for PR2424.
15585
add38693
JK
155862008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15587
15588 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
15589
fcacd99f
VP
155902008-04-13 Vladimir Prus <vladimir@codesourcery.com>
15591
15592 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 15593 field. Add more floating varobj tests.
fcacd99f 15594 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
15595 field.
15596 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
15597 (main): Call do_at_tests.
15598 * lib/mi-support.exp (mi_create_floating_varobj)
15599 (mi_varobj_update_with_type_change): New.
fcacd99f 15600
de051565
MK
156012008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
15602
15603 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
15604 option of -var-evaluate-expression.
15605 * gdb.mi/mi2-var-display.exp: Likewise.
15606
dbc52822
VP
156072008-04-07 Vladimir Prus <vladimir@codesourcery.com>
15608
15609 Introduce test setup helpers.
a9c64011
AS
15610 * lib/gdb.exp (build_executable, clean_restart)
15611 (prepare_for_testing): New.
15612 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
15613 * gdb.base/return.exp: Likewise.
15614 * gdb.base/ending-run.exp: Likewise.
dbc52822 15615
473591da
NR
156162008-04-07 Nick Roberts <nickrob@snap.net.nz>
15617
15618 * gdb.mi/mi-async.exp: New test for asynchronous Machine
15619 Interface (MI) responses.
15620
2b2d9e11
VP
156212008-04-06 Vladimir Prus <vladimir@codesourcery.com>
15622
a9c64011
AS
15623 * gdb.cp/breakpoint.cc: New code to test conditions involving
15624 member variables.
15625 * gdb.cp/breakpoint.exp: Test condition involving member
15626 variables.
2b2d9e11 15627
bb378428
VP
156282008-04-05 Vladimir Prus <vladimir@codesourcery.com>
15629
15630 * lib/mi-support.exp (mi_expect_stop): New.
15631 (mi_run_cmd): Change the
15632 token. Use mi_send_resuming_command, use
15633 mi_expect_stop.
15634 (mi_execute_to_helper): Rename to mi_execute_to.
15635 (mi_send_resuming_command): Add more error patterns.
15636 (mi_wait_for_stop): Renamed to...
15637 (mi_get_stop_line): ...this.
15638 (mi_run_inline_test): Adjust.
15639
15640 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
15641 * gdb.mi/mi-console.exp: Likewise.
15642 * gdb.mi/mi-pending.exp: Likewise.
15643 * gdb.mi/mi-simplerun.exp: Likewise.
15644 * gdb.mi/mi-stack.exp: Likewise.
15645 * gdb.mi/mi-stepi.exp: Likewise.
15646 * gdb.mi/mi-syn-frame.exp: Add comment.
15647 * gdb.mi/mi-until.exp: Likewise.
15648 * gdb.mi/mi-var-display.exp: Likewise.
15649 * gdb.mi/mi-watch.exp: Likewise.
15650 * gdb.mi/mi2-cli.exp: Likewise.
15651 * gdb.mi/mi2-console.exp: Likewise.
15652 * gdb.mi/mi2-simplerun.exp: Likewise.
15653 * gdb.mi/mi2-stack.exp: Likewise.
15654 * gdb.mi/mi2-stepi.exp: Likewise.
15655 * gdb.mi/mi2-until.exp: Likewise.
15656 * gdb.mi/mi2-var-display.exp: Likewise.
15657 * gdb.mi/mi2-watch.exp: Likewise.
15658
62172bb9
UW
156592008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15660
15661 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
15662
15663 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
15664
a13e061a
PA
156652008-04-04 Pedro Alves <pedro@codesourcery.com>
15666
15667 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
15668 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
15669 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
15670 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
15671 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
15672 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
15673 expect an mi error duplicated in stderr.
15674
eae06beb
JB
156752008-04-03 Joel Brobecker <brobecker@adacore.com>
15676
15677 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
15678 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
15679 Add a couple of tests that verify the behavior when the new setting
15680 is set to "cancel" and "all".
15681 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
15682 "ask" before we start the testing.
15683
79c6ced6
AR
156842008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
15685
15686 * gdb.cp/casts.cc: Add class reference variables.
15687 * gdb.cp/casts.exp: New test cases for up/down casting references.
15688
6c2d1a6b
MK
156892008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
15690
15691 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
15692 instead of beginning to make an extra test pass.
15693 * gdb.mi/mi2-var-display.exp: Likewise.
15694
55b411d9
MR
156952008-03-31 Maciej W. Rozycki <macro@mips.com>
15696
15697 * gdb.base/break.exp: Mark failures as such. Fix formatting.
15698
c6140da2
MD
156992008-03-31 Markus Deuling <deuling@de.ibm.com>
15700 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15701
15702 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
15703 value. Add xfail for older kernels.
15704
79732189
AR
157052008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
15706
15707 Bring mi-support in line with gdb.exp.
15708 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
15709 (mi_gdb_start): New function.
15710
33c3676e
MR
157112008-03-28 Maciej W. Rozycki <macro@mips.com>
15712
15713 * gdb.mi/mi-var-cmd.exp: Fix a typo.
15714
92e28119
VP
157152008-03-26 Vladimir Prus <vladimir@codesourcery.com>
15716
15717 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
15718 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 15719
9e8e3afe
VP
157202008-03-26 Vladimir Prus <vladimir@codesourcery.com>
15721
15722 * lib/mi-support.exp (mi_create_varobj_checked): New.
15723 (mi_list_varobj_children): Allow to check for a
15724 value.
15725 (mi_list_array_varobj_children): New.
15726
15727 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
15728 and mi_list_varobj_children, as opposed to hardcoding
15729 expected strings.
15730 * gdb.mi/gdb701.exp: Likewise.
15731 * gdb.mi/gdb792.exp: Likewise.
15732 * gdb.mi/mi-var-block.exp: Likewise.
15733 * gdb.mi/mi-var-cmd.exp: Likewise.
15734 * gdb.mi/mi-var-invalidate.exp: Likewise.
15735 * gdb.mi/mi2-var-block.exp: Likewise.
15736 * gdb.mi/mi2-var-child.exp: Likewise.
15737 * gdb.mi/mi2-var-cmd.exp: Likewise.
15738 * gdb.mi/mi2-var-display.exp: Likewise.
15739
9df50351
JK
157402008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15741
15742 Fix random false FAILs on i386.
15743 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
15744
31e5d73a
DJ
157452008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
15746
15747 PR gdb/544
15748 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
15749
12f4afab
DJ
157502008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
15751
15752 PR gdb/544
15753 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
15754
b562a0cb
DJ
157552008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15756
15757 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
15758 fixed PR gdb/544.
15759
17faa917
DJ
157602008-03-21 Pedro Alves <pedro@codesourcery.com>
15761
15762 * gdb.threads/fork-child-threads.exp: Test next over fork.
15763
6214f497
DJ
157642008-03-21 Chris Demetriou <cgd@google.com>
15765
15766 * gdb.base/break.exp (rbreak junk): New test for rbreak
15767 "Junk at end of arguments" issue.
15768
63092375
DJ
157692008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15770
15771 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
15772 *& to work on created array elements.
15773 (Top level): Test print $pc with a file. Test string operations
15774 without a target.
15775 * gdb.base/ptype.exp: Do not expect *& to work on created array
15776 elements.
15777
b21991b0
DJ
157782008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15779
15780 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
15781 gdb.threads/staticthreads.exp: Update exit query.
15782
c4b347c7
SL
157832008-03-07 Sandra Loosemore <sandra@codesourcery.com>
15784
15785 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
15786
fa4727a6
DJ
157872008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
15788
15789 * gdb.base/watchpoint.c (global_ptr, func4): New.
15790 (main): Call func4.
15791 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
15792 (test_inaccessible_watchpoint): New.
15793
2f34202f
MR
157942008-02-29 Maciej W. Rozycki <macro@mips.com>
15795
15796 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
15797 select the largest.
15798
0d6ba1b1
DJ
157992008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
15800
15801 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
15802 frames-invalid annotations.
15803
e691325a
PM
158042008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
15805
a9c64011 15806 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 15807
f85b5ecc
DE
158082008-02-27 Doug Evans <dje@google.com>
15809
15810 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
15811 for bug 1738.
15812 (breakpoint_to_handler_entry): Ditto.
15813
b40e7bf3
JB
158142008-02-27 Joel Brobecker <brobecker@adacore.com>
15815
15816 * gdb.base/ending-run.exp: Use the first line of code inside
15817 function body to test breakpoints.
15818 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
15819 location where the breakpoint is inserted when using the line
15820 where a function is declared. Fix typo in the description of
15821 one of the tests.
15822 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
15823
2faca73a
PM
158242008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
15825
15826 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 15827 tests.
2faca73a 15828
6f439c36
PM
158292008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
15830
15831 * gdb.base/args.exp: avoid same output for tests
15832 with single quotes.
15833
54e52265
VP
158342008-02-26 Vladimir Prus <vladimir@codesourcery.com>
15835
a9c64011
AS
15836 * gdb.base/annota1.exp: Adjust for 'info break'
15837 format changes.
15838 * gdb.base/annota3.exp: Likewise.
15839 * gdb.base/break.exp: Likewise.
15840 * gdb.base/condbreak.exp: Likewise.
15841 * gdb.base/pending.exp: Likewise.
15842 * gdb.base/sepdebug.exp: Likewise.
15843 * gdb.base/unload.exp: Likewise.
15844 * gdb.cp/ovldbreak.exp: Likewise.
15845 * gdb.mi/mi-pending.exp: Likewise.
54e52265 15846
897b09ca
DE
158472008-02-07 Doug Evans <dje@google.com>
15848
15849 * gdb.cp/mb-inline.exp: New.
15850 * gdb.cp/mb-inline.h: New.
15851 * gdb.cp/mb-inline1.cc: New.
15852 * gdb.cp/mb-inline2.cc: New.
15853
b1c32d35
PM
158542008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
15855
15856 * gdb.pascal/floats.pas: New test program.
15857 * gdb.pascal/floats.exp: New testcase.
15858
1a4ca44a
TJB
158592008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
15860
15861 * gdb.base/callfuncs.c (t_float_many_args): New function.
15862 (t_double_many_args): New function.
15863 * gdb.base/callfuncs.exp: Add tests for exceeding float
15864 and double parameters passed through the stack.
15865
439048e8
JB
158662008-02-05 Joel Brobecker <brobecker@adacore.com>
15867
15868 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
15869 gdb.ada/complete/foo.adb: New files.
15870 * gdb.ada/complete.exp: New testcase.
15871
81fe8080
DE
158722008-02-03 Doug Evans <dje@google.com>
15873
301f0ecf
DE
15874 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
15875
81fe8080
DE
15876 * gdb.cp/gdb2384.exp: New file.
15877 * gdb.cp/gdb2384.cc: New file.
15878 * gdb.cp/gdb2384-base.h: New file.
15879 * gdb.cp/gdb2384-base.cc: New file.
15880
4b071aec
DE
158812008-02-02 Doug Evans <dje@google.com>
15882
15883 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
15884
61137ba6
JB
158852007-02-01 Joel Brobecker <brobecker@adacore.com>
15886
15887 * gdb.ada/sym_print_name: New test program.
15888 * gdb.ada/sym_print_name.exp: New testcase.
15889
158902007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
15891
15892 * gdb.ada/nested/hello.adb: New file.
15893 * gdb.ada/nested.exp: New testcase.
15894 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
15895
98deb0da
VP
158962008-02-01 Vladimir Prus <vladimir@codesourcery.com>
15897
15898 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
15899 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
15900 don't cause future evaluations of function to report
15901 creation of internal breakpoints.
98deb0da 15902
723a2275
VP
159032008-02-01 Vladimir Prus <vladimir@codesourcery.com>
15904
15905 * gdb.mi/mi-break.exp (test_error): New.
15906 Call it.
15907
fb546a2f
LM
159082008-01-31 Luis Machado <luisgpm@br.ibm.com>
15909
15910 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
15911 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
15912
2d8fd90a
PM
159132008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
15914
15915 * gdb.pascal/integers.pas: New test program.
15916 * gdb.pascal/integers.exp: New testcase.
15917
a7fa0ded
PM
159182008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
15919
15920 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
15921
5e1a1926
TJB
159222008-01-30 Luis Machado <luisgpm@br.ibm.com>
15923
15924 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
15925 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
15926
8d04f9f0
JB
159272008-01-30 Paul Hilfinger <hilfinger@adacore.com>
15928
15929 * gdb.ada/formatted_ref: New test program.
15930 * gdb.ada/formatted_ref.exp: New testcase.
15931
15932 * gdb.cp/formatted-ref.cc: New file.
15933 * gdb.cp/formatted-ref.exp: New testcase.
15934
ce75a98f
JB
159352008-01-30 Joel Brobecker <brobecker@adacore.com>
15936
15937 * gdb.base/ptype.exp: Add testing of "ptype $pc".
15938
e835f6bf
NR
159392008-01-30 Nick Roberts <nickrob@snap.net.nz>
15940
15941 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
15942 (test_file_list_exec_source_file): Update to new macro-info field.
15943
d118ef87
PH
159442008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
15945
15946 * gdb.ada/exprs: New test program.
15947 * gdb.ada/exprs.exp: New testcase.
15948
7d35ab09
TJB
159492008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
15950
15951 * dfp-test.c (DELTA, DELTA_B): New definitions.
15952 (double_val1, double_val2, double_val3, double_val4, double_val5,
15953 double_val6, double_val7, double_val8, double_val9, double_val10,
15954 double_val11, double_val12, double_val13, double_val14, dec32_val1,
15955 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
15956 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
15957 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
15958 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
15959 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
15960 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
15961 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
15962 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
15963 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
15964 dec128_val16): New global variables.
15965 (decimal_dec128_align): New function.
15966 (decimal_mixed): Likewise.
15967 (decimal_many_args_dec32): Likewise.
15968 (decimal_many_args_dec64): Likewise.
15969 (decimal_many_args_dec128): Likewise.
15970 (decimal_many_args_mixed): Likewise.
15971 * dfp-test.exp: Add tests calling new inferior functions.
15972
2d717e4f
DJ
159732008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
15974
15975 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
15976 gdb.server/ext-run.exp: New files.
15977 * lib/gdbserver-support.exp (gdbserver_download): New.
15978 (gdbserver_start): New. Update gdbserver expected
15979 output.
15980 (gdbserver_spawn): Use them.
15981 (gdbserver_start_extended): New.
15982
e85a822c
DJ
159832008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
15984
15985 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
15986 Run on GNU/Linux.
15987 (do_exec_tests): Check for systems which do not support catchpoints.
15988 Do not match START.
15989 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
15990 Run on GNU/Linux. Enable verbose output.
15991 (check_fork_catchpoints): New.
15992 (explicit_fork_child_follow, catch_fork_child_follow)
15993 (tcatch_fork_parent_follow): Update expected messages.
15994 (do_fork_tests): Use check_fork_catchpoints.
15995 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
15996 Run on GNU/Linux. Enable verbose output.
15997 (check_vfork_catchpoints): New.
15998 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
15999 expected messages.
16000 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
16001
401ea829
JB
160022008-01-29 Jim Blandy <jimb@red-bean.com>
16003
16004 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
16005 host' errors.
16006 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
16007
aceaf3ad
JB
160082008-01-29 Jim Blandy <jimb@red-bean.com>
16009
16010 * gdb.threads/sigthread.c: Use barriers to ensure that
16011 child_thread and child_thread_two are always initialized before we
16012 start to use them.
16013
a5606eee
VP
160142008-01-29 Vladimir Prus <vladimir@codesourcery.com>
16015
16016 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
16017 * gdb.base/watchpoint-solib.c: New.
16018 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 16019
c55a82bb
PM
160202008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
16021
16022 * gdb.base/gdb1056.exp: Add unsigned integer test.
16023
0993fe05
DE
160242008-01-28 Doug Evans <dje@google.com>
16025
16026 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
16027
4fe42e7f
JB
160282008-01-27 Jim Blandy <jimb@codesourcery.com>
16029
c7a69933
JB
16030 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
16031
4fe42e7f
JB
16032 * gdb.base/expand-psymtabs.exp: Doc fix.
16033
5def8285
MK
160342008-01-26 Mark Kettenis <kettenis@gnu.org>
16035
16036 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16037
5313c911
NR
160382008-01-24 Nick Roberts <nickrob@snap.net.nz>
16039
a9c64011 16040 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
16041 -var-set-format.
16042
93815fbf
VP
160432008-01-23 Chris Demetriou <cgd@google.com>
16044
16045 * gdb.threads/thread_events.c: New testcase source file.
16046 * gdb.threads/thread_events.exp: New testcase expect file.
16047
467a88ee
NR
160482008-01-23 Nick Roberts <nickrob@snap.net.nz>
16049
16050 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
16051
16052 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
16053 -var-set-format.
16054
d8f82aba
DJ
160552008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
16056 Vladimir Prus <vladimir@codesourcery.com>
16057
16058 * gdb.base/float.exp: Allow missing floating point for m68k and
16059 PowerPC.
16060
60c46647
VP
160612008-01-22 Vladimir Prus <vladimir@codesourcery.com>
16062
16063 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
16064 ignore count.
16065 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
16066 * gdb.mi/mi-cli.exp: Adjust.
16067 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 16068
c7dd36a1
PA
160692008-01-17 Pedro Alves <pedro@codesourcery.com>
16070
16071 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
16072 and 'dummy_ptr' integer pointer. Initialize struct_declarations
16073 with dummy_ptr's address.
16074 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
16075 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
16076 all targets.
16077 * gdb.mi/mi2-var-child.exp: Likewise.
16078
39d5313e
JB
160792008-01-09 Joel Brobecker <brobecker@adacore.com>
16080
16081 * gdb.ada/null_array: New test program.
16082 * gdb.ada/null_array.exp: New testcase.
16083
0aea4bf3
LM
160842008-01-09 Luis Machado <luisgpm@br.ibm.com>
16085
16086 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
16087 with required float modifiers.
16088
0b354900
JB
160892008-01-08 Joel Brobecker <brobecker@adacore.com>
16090
16091 * gdb.ada/funcall_param: New test program.
16092 * gdb.ada/funcall_param.exp: New testcase.
16093
cdb7f5d4
JB
160942008-01-08 Joel Brobecker <brobecker@adacore.com>
16095
16096 * gdb.ada/arrayparam: New test program.
16097 * gdb.ada/arrayparam.exp: New testcase.
16098
88e2547f
JB
160992008-01-08 Joel Brobecker <brobecker@adacore.com>
16100
16101 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
16102 landed. Should also fix random failures in the test following it.
16103
f6867ce0
TJB
161042008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
16105
16106 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
16107 for expressions with decimal float values.
16108 (test_dfp_conversions): New function to test casts to and from
16109 decimal float types.
16110 Call test_dfp_conversions.
16111 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
16112 elements.
16113 (main): Initialize ds.float4 and ds.double8 elements.
16114 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
16115 string to new error message.
16116 (d64_set_tests): Likewise.
16117 (d128_set_tests): Likewise.
16118 Add tests for expressions with decimal float variables. Add tests for
16119 conversions to and from decimal float types.
16120
f9c11282
JB
161212008-01-05 Joel Brobecker <brobecker@adacore.com>
16122
16123 * gdb.ada/packed_tagged/comp_bug.adb: New file.
16124 * gdb.ada/packed_tagged.exp: New testcase.
16125
0ecbca72
JB
161262008-01-04 Joel Brobecker <brobecker@adacore.com>
16127
16128 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
16129 gdb.ada/homonym/homonym_main.adb: New files.
16130 * gdb.ada/homonym.exp: New testcase.
16131
c18d3d89
JB
161322008-01-04 Joel Brobecker <brobecker@adacore.com>
16133
16134 * gdb.ada/packed_array.exp: Add testing of references to
16135 a packed array.
16136
ecc7085b
JB
161372008-01-04 Joel Brobecker <brobecker@adacore.com>
16138
16139 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
16140 New files.
16141 * gdb.ada/type_coercion.exp: New testcase.
16142
c474c922
JB
161432008-01-04 Joel Brobecker <brobecker@adacore.com>
16144
16145 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
16146 gdb.ada/tagged/foo.adb: New file.
16147 * gdb.ada/tagged.exp: New testcase.
16148
9005b927
JB
161492008-01-04 Joel Brobecker <brobecker@adacore.com>
16150
16151 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
16152 gdb.ada/ptype_field/foo.adb: New files.
16153 * gdb.ada/ptype_field.exp: New testcase.
16154
1a6aaad8
JB
161552008-01-03 Joel Brobecker <brobecker@adacore.com>
16156
16157 * gdb.ada/print_pc.exp: New testcase.
16158
0ef22f53
JB
161592008-01-03 Joel Brobecker <brobecker@adacore.com>
16160
16161 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
16162 gdb.ada/taft_type/p.adb: New files.
16163 * gdb.ada/taft_type.exp: New testcase.
16164
1689ecf8
JB
161652008-01-03 Joel Brobecker <brobecker@adacore.com>
16166
16167 * gdb.ada/array_bounds/bar.adb: New file.
16168 * gdb.ada/array_bounds.exp: New testcase.
16169
a4d0b9c3
JB
161702008-01-03 Joel Brobecker <brobecker@adacore.com>
16171
16172 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
16173 gdb.ada/arrayptr/foo.adb: New files.
16174 * gdb.ada/arrayptr.exp: New testcase.
16175
a31ace00
JB
161762008-01-03 Joel Brobecker <brobecker@adacore.com>
16177
16178 * gdb.base/set-lang-auto.exp: New testcase.
16179
a97fced3
JB
161802008-01-03 Joel Brobecker <brobecker@adacore.com>
16181
16182 * gdb.ada/fun_addr/foo.adb: New file.
16183 * gdb.ada/fun_addr.exp: New testcase.
16184
ef29ce1a
JK
161852008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16186
16187 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
16188 New files
16189
0fafefe3
JB
161902008-01-02 Joel Brobecker <brobecker@adacore.com>
16191
16192 * array_subscript_addr/p.adb: New file.
a9c64011 16193 * array_subscript_addr.exp: New testcase.
0fafefe3 16194
c4359f8d
JB
161952008-01-02 Joel Brobecker <brobecker@adacore.com>
16196
a9c64011 16197 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
16198 New files.
16199 * gdb.ada/str_cmp_ref.exp: New testcase.
16200
1aa1b15b
JB
162012008-01-01 Joel Brobecker <brobecker@adacore.com>
16202
16203 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
16204 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 16205 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 16206
81c9b2cf
JB
162072008-01-01 Joel Brobecker <brobecker@adacore.com>
16208
16209 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
16210 gdb.ada/ref_param/pck.ads: New files.
16211 * gdb.ada/ref_param.exp: New testcase.
16212
319e4674
JB
162132008-01-01 Joel Brobecker <brobecker@adacore.com>
16214
16215 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
16216 gdb.ada/interface/foo.adb: New files.
16217 * gdb.ada/interface.exp: New testcase.
16218
ef682c56
JB
162192007-12-31 Jim Blandy <jimb@codesourcery.com>
16220
16221 * gdb.base/multi-forks.exp: Consume all output from child
16222 processes before proceeding to next test.
16223
f6f3eb6c
JB
162242007-12-29 Jim Blandy <jimb@codesourcery.com>
16225
16226 * configure: Regenerated.
16227
f652e42f
JB
162282007-12-27 Joel Brobecker <brobecker@adacore.com>
16229
16230 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
16231 gdb.ada/fixed_cmp/fixed.adb: New files.
16232 * gdb.ada/fixed_cmp.exp: New testcase.
16233
6943e596
JB
162342007-12-27 Joel Brobecker <brobecker@adacore.com>
16235
16236 * gdb.ada/boolean_expr.exp: New testcase.
16237
aad9a193
JB
162382007-12-26 Jim Blandy <jimb@codesourcery.com>
16239
16240 * gdb.base/multi-forks.exp: Doc fix.
16241
fb5f3683
JB
162422007-12-26 Joel Brobecker <brobecker@adacore.com>
16243
16244 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16245 * gdb.ada/char_param.exp: Do not compile our test program with
16246 -gnata, this is unnecessary.
16247 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
16248
384e4a9c
JB
162492007-12-24 Joel Brobecker <brobecker@adacore.com>
16250
16251 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
16252 gdb.ada/print_chars/foo.adb: New files.
16253 * gdb.ada/print_chars.exp: New testcase.
16254
01e044f7
JB
162552007-12-24 Joel Brobecker <brobecker@adacore.com>
16256
16257 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
16258 gdb.ada/char_param/foo.adb: New files.
16259 * gdb.ada/char_param.exp: New testcase.
16260
0ce17860
JB
162612007-12-22 Jim Blandy <jimb@codesourcery.com>
16262
16263 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
16264 hard-coding source line numbers into the test.
16265 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
16266 gdb_get_line_number to find.
16267
919809b9
JB
162682007-12-22 Joel Brobecker <brobecker@adacore.com>
16269
16270 * gdb.base/ptype.c (highest): New struct type.
16271 (the_highest): New variable of that type.
16272 (main): Add dummy assignment to a field of variable the_highest.
16273 * gdb.base/ptype.exp: Test type printing of our new variable.
16274
abc8a88d
PM
162752007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
16276
16277 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 16278 and record first explicitly generated thread number.
abc8a88d
PM
16279 Use that thread number for thread specific watchpoint test.
16280 Add iteration number to repetitive tests.
16281
5158f3e3
CES
162822007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16283 Jim Blandy <jimb@codesourcery.com>
16284
16285 * gdb.base/expand-psymtabs.c: New testcase
16286 source file.
16287 * gdb.base/expand-psymtabs.exp: New testcase
16288 expect file.
16289
37e4754d
LM
162902007-12-17 Luis Machado <luisgpm@br.ibm.com>
16291
16292 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
16293 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
16294
551e5d04
JB
162952007-12-17 Joel Brobecker <brobecker@adacore.com>
16296
16297 * gdb.ada/frame_args/foo.adb: New file.
16298 * gdb.ada/frame_args/pck.ads: New file.
16299 * gdb.ada/frame_args/pck.adb: New file.
16300 * gdb.ada/frame_args.exp: New testcase.
16301
a05ee097
JB
163022007-12-17 Joel Brobecker <brobecker@adacore.com>
16303
16304 * gdb.base/frame-args.c: New file.
16305 * gdb.base/frame-args.exp: New testcase.
16306
c162e8c9 163072007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 16308 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
16309
16310 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
16311
afe8ab22 163122007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 16313
afe8ab22
VP
16314 * gdb.mi/mi-pending.exp: New.
16315 * gdb.mi/mi-pending.c: New.
16316 * gdb.mi/mi-pendshr.c: New.
16317
dfdfb3ca
JB
163182007-12-06 Jim Blandy <jimb@codesourcery.com>
16319
16320 * gdb.base/default.exp: Update expected output for 'info catch'.
16321
b7fca990
JK
163222007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16323
16324 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
16325 must be set to binary.
16326
6a1afc1e
PA
163272007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
16328
16329 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
16330
a6b151f1
DJ
163312007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
16332
16333 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
16334 gdb.mi/mi-file-transfer.exp: New.
16335
43039443
JK
163362007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16337
16338 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
16339
0ef2251b
MR
163402007-11-22 Maciej W. Rozycki <macro@mips.com>
16341
16342 * gdb.trace/backtrace.exp: Fix a typo.
16343 * gdb.trace/circ.exp: Likewise.
16344 * gdb.trace/collection.exp: Likewise.
16345 * gdb.trace/limits.exp: Likewise.
16346 * gdb.trace/report.exp: Likewise.
16347 * gdb.trace/tfind.exp: Likewise.
16348 * gdb.trace/while-dyn.exp: Likewise.
16349
5443631e
NR
163502007-11-21 Nick Roberts <nickrob@snap.net.nz>
16351
16352 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
16353 objects of pointers that can't be dereferenced are now
16354 "noneditable".
16355
a4ce5b0d
UW
163562007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16357
16358 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
16359 (target_cpu): Remove.
16360
d6e956e5
VP
163612007-10-15 Vladimir Prus <vladimir@codesourcery.com>
16362
16363 * gdb.base/ending-run.exp: Expect the list of cleared
16364 breakpoint to come in natural order, not the reversed one.
a9c64011 16365
214270ab
VP
163662007-11-07 Vladimir Prus <vladimir@codesourcery.com>
16367
16368 * gdb.mi/mi-var-child.c (do_child_deletion): New.
16369 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 16370
1a619819
LM
163712007-11-05 Luis Machado <luisgpm@br.ibm.com>
16372
16373 * gdb.base/printcmds.exp: New function
16374 test_printf_with_dfp.
16375
5b01a6fa
DE
163762007-11-02 Doug Evans <dje@google.com>
16377
16378 * gdb.disasm/t01_mov.s: Remove carriage returns.
16379 * gdb.disasm/t02_mova.s: Ditto.
16380 * gdb.disasm/t03_add.s: Ditto.
16381 * gdb.disasm/t04_sub.s: Ditto.
16382 * gdb.disasm/t05_cmp.s: Ditto.
16383 * gdb.disasm/t06_ari2.s: Ditto.
16384 * gdb.disasm/t07_ari3.s: Ditto.
16385 * gdb.disasm/t08_or.s: Ditto.
16386 * gdb.disasm/t09_xor.s: Ditto.
16387 * gdb.disasm/t10_and.s: Ditto.
16388 * gdb.disasm/t11_logs.s: Ditto.
16389 * gdb.disasm/t12_bit.s: Ditto.
16390 * gdb.disasm/t13_otr.s: Ditto.
16391
ec33ab7f
JK
163922007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16393
16394 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
16395
ae0d01ff
UW
163962007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16397
16398 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
16399 provide DFP support.
16400
55eddb0f
DJ
164012007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
16402
16403 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
16404 Test "set powerpc vector-abi". Skip auto-detection tests for old
16405 toolchains.
16406
7020f05c
PA
164072007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
16408
16409 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
16410 with [string compare].
16411
84bc3db9
PA
164122007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
16413
16414 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
16415 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
16416
5876dc88
LM
164172007-10-25 Luis Machado <luisgpm@br.ibm.com>
16418
16419 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
16420 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
16421 * gdb.opt/Makefile.in: New makefile.
16422 * Makefile.in: Create new directory "gdb.opt".
16423 * configure.ac: Add "gdb.opt" directory.
16424 * configure: Regenerated.
a9c64011 16425
c3ea9a14
DE
164262007-10-25 Doug Evans <dje@google.com>
16427
16428 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
16429 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
16430
a9c64011 164312007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
16432 Thiago Jung Bauermann <bauerman@br.ibm.com>
16433
16434 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
16435 Floating Point expressions.
16436 * gdb.base/dfp-test.exp: new file adding tests for Decimal
16437 Floating Point variables.
16438 * gdb.base/dfp-test.c: new file containing program with Decimal
16439 Floating variables, used by gdb.base/dfp-test.exp.
16440
62a24a2b
DJ
164412007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
16442
16443 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
16444
e7b1eae6
UW
164452007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16446
16447 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
16448 compiling test case with GCC.
16449 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
16450
c641edcc
UW
164512007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16452
16453 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
16454 format changes.
16455
5e5ebfe6
MS
164562007-10-18 Michael Snyder <msnyder@specifix.com>
16457
16458 * gdb.base/dbx.exp: Add missing "-re " operator.
16459
e831e7b6
GM
164602007-10-16 Gaius Mulley <gaius@glam.ac.uk>
16461
16462 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
16463 * configure.ac: Removed trailing spaces after backslash.
16464 * gdb.modula2: New directory.
16465 * gdb.modula2/Makefile.in: New file.
16466 * gdb.modula2/unbounded-array.exp: New file.
16467 * gdb.modula2/unbounded1.c: New file.
16468
7cc46491
DJ
164692007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
16470
16471 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
16472
164732007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
16474
16475 * gdb.base/sigstep.c (main): Add checks for
16476 return values for setitimer call.
16477 Call setitimer again with itimer = ITIMER_REAL
16478 if first call to setitimer fails.
16479
e91528f0
KH
164802007-10-11 Kazu Hirata <kazu@codesourcery.com>
16481
16482 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
16483 of $timeout.
16484
2ec9a4f8
DJ
164852007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
16486
16487 * gdb.server/server-run.exp: Test for dynamic linker symbols.
16488
164892007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
16490
16491 * lib/gdb.exp (gdb_run_cmd): Move comment outside
16492 of gdb_expect call, to avoid interruption.
16493
64b2fa04
PA
164942007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
16495
16496 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
16497 (v_unsigned_long_long, v_long_long_array)
16498 (v_signed_long_long_array, v_unsigned_long_long_array)
16499 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
16500 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
16501 [!NO_LONG_LONG]: New.
16502 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
16503 v_long_long_member.
16504
16505 (v_long_long_func, v_signed_long_long_func)
16506 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
16507 (main) [!NO_LONG_LONG]: Initialize long long variants.
16508
16509 * gdb.base/whatis.exp: If board file requests no_long_long, build
16510 test with NO_LONG_LONG defined. Test long long, signed long long,
16511 and unsigned long long variants but only if board file doesn't
16512 disable it.
16513
a912286e 165142007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 16515 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
16516
16517 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
16518 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
16519 * configure: Regenerated.
16520 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
16521 gdb.pascal/types.exp, lib/pascal.exp: New files.
16522
471ba8c9
DJ
165232007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
16524
16525 * gdb.cp/classes.exp (do_tests): Always step to the line after the
16526 call.
16527 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
16528 to return to the call.
16529 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
16530 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
16531 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
16532 * gdb.mi/mi-until.exp (test_until): Likewise.
16533 * gdb.mi/mi2-until.exp (test_until): Likewise.
16534
fef8a650
DJ
165352007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
16536
16537 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
16538 two-char array.
16539 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
16540
d983da9c
DJ
165412007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
16542
16543 * gdb.threads/watchthreads.c (thread_function): Sleep between
16544 iterations.
16545 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
16546 at once for S/390. Generate matching fails and passes.
16547
17f62551
VP
165482007-09-27 Vladimir Prus <vladimir@codesourcery.com>
16549
16550 * gdb.mi/var-cmd.c (do_children_tests): Initialize
16551 the 'struct_declarations' variable to zeros.
a9c64011 16552
ed0616c6
VP
165532007-09-24 Vladimir Prus <vladimir@codesourcery.com>
16554
16555 * gdb.cp/mb-ctor.cc: New.
16556 * gdb.cp/mb-ctor.exp: New.
16557 * gdb.cp/mb-templates.cc: New.
16558 * gdb.cp/mb-templates.exp: New.
16559
41f1b697
DJ
165602007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
16561
16562 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
16563
3f213f78
PA
165642007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
16565
16566 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
16567 targets.
16568 * configure: Regenerate.
16569
0d381245 165702007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 16571
0d381245
VP
16572 * gdb.base/annota1.exp: Adjust for 'info break'
16573 format changes.
16574 * gdb.base/annota3.exp: Likewise.
16575 * gdb.base/break.exp: Likewise.
16576 * gdb.base/condbreak.exp: Likewise.
16577 * gdb.base/pending.exp: Likewise.
16578 * gdb.base/sepdebug.exp: Likewise.
16579 * gdb.base/unload.exp: Likewise.
16580 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 16581
fe3f5fa8
VP
165822007-09-22 Vladimir Prus <vladimir@codesourcery.com>
16583
16584 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
16585 messages.
16586 * gdb.base/chng-syms.exp: Likewise.
16587 * gdb.base/unload.exp: Likewise.
a9c64011 16588
a75cf6c0
DJ
165892007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
16590
16591 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
16592
18ecae38
DJ
165932007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
16594
16595 * schedlock.c (NUM): Change to 1.
16596 (main): Use args[0] for the main thread.
16597 * schedlock.exp: Only expect two threads. Only issue one pass or fail
16598 regardless of the number of threads.
16599
5509918f
MR
166002007-09-14 Maciej W. Rozycki <macro@mips.com>
16601
4a543daf
MR
16602 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
16603 type down.
16604 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16605 test.
16606 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
16607 watchpoint type down.
16608 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16609 test.
16610
166112007-09-14 Maciej W. Rozycki <macro@mips.com>
16612
5509918f
MR
16613 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
16614 Move all the tests here and run them twice, once using software
16615 watchpoints and once using hardware watchpoints.
16616 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
16617
40b53987
DJ
166182007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
16619
16620 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
16621 test.
16622
695e2681
MK
166232007-09-10 Mark Kettenis <kettenis@gnu.org>
16624
8b3fc8d8
MK
16625 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
16626 build-id.
16627
695e2681
MK
16628 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
16629 know about $ORIGIN. Calculate output dir from $dest instead of
16630 using ${objdir}/{$subdir}.
16631
58d69f29
MK
166322007-09-09 Mark Kettenis <kettenis@gnu.org>
16633
16634 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
16635 gcore, before continuing with the test.
16636
3e347599
DJ
166372007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
16638
16639 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
16640 * gdb.mi/mi-watch.exp: Likewise.
16641
ea37ba09
DJ
166422007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
16643 Jim Blandy <jimb@codesourcery.com>
16644
16645 * gdb.arch/i386-sse.exp: Do not expect character constants.
16646 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
16647 * gdb.base/display.exp: Allow print/s.
16648 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
16649 and unsigned char array changes.
16650
2025a643
DJ
166512007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
16652
16653 * gdb.base/display.exp: Add tests for printf %p.
16654
26669a27
PA
166552007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
16656
16657 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
16658 the dll name to unicode.
16659
c8f021f8
JK
166602007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16661
16662 * gdb.base/default.exp (show version): Update the version text.
16663 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
16664
4cf31eea
JK
166652007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16666
16667 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
16668 New files.
16669
4935890f
JK
166702007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16671
16672 * lib/gdb.exp (build_id_debug_filename_get): New function.
16673 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
16674 Remove the generate DEBUG file for the future testcase runs.
16675 New testcase for the NT_GNU_BUILD_ID retrieval.
16676 Move the final testing step to ...
16677 (test_different_dir): ... a new function.
16678 New parameter XFAIL to XFAIL all the tests performed.
16679 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
16680 New parameter TYPE to PF_PREFIX all the tests performed.
16681
02142340
VP
166822007-08-31 Vladimir Prus <vladimir@codesourcery.com>
16683
16684 * gdb.mi/mi-var-cp.cc (path_expression): New
16685 function.
16686 * gdb.mi/mi-var-cp.exp: Run path exression tests.
16687
36acd84e
UW
166882007-08-27 Markus Deuling <deuling@de.ibm.com>
16689
16690 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
16691 to fit into SPU Local Store memory.
16692
a896d121
JB
166932007-08-23 Joel Brobecker <brobecker@adacore.com>
16694
16695 * gdb.base/default.exp: Adjust the expected output of "info
16696 warranty" after the switch to GPLv3.
16697
7b433602
JB
166982007-08-23 Joel Brobecker <brobecker@adacore.com>
16699
16700 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
16701 to 30000 (from 20000).
16702
e22f8b7c
JB
167032007-08-23 Joel Brobecker <brobecker@adacore.com>
16704
16705 Switch the license of all .exp files to GPLv3.
16706 Switch the license of all .f and .f90 files to GPLv3.
16707 Switch the license of all .s and .S files to GPLv3.
16708
5a0e3bd0
JB
167092007-08-23 Joel Brobecker <brobecker@adacore.com>
16710
16711 * configure.ac: Switch license to GPLv3.
16712
cc00619d
JB
167132007-08-23 Joel Brobecker <brobecker@adacore.com>
16714
16715 Switch the licensing to GPLv3 for all .ads and .adb files.
16716
8d26208a
DJ
167172007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
16718
16719 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
16720 and t_int_double.
16721 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
16722
4fcb9948
JB
167232007-08-17 Joel Brobecker <brobecker@adacore.com>
16724
16725 * gdb.base/step-line.c: Switch license to GPL version 3, and
16726 update copyright year.
16727 * gdb.base/step-line.inp: Likewise.
16728
b9c34f67
JB
167292007-08-17 Joel Brobecker <brobecker@adacore.com>
16730
16731 * gdb.base/gdb1555.exp: Make expected output immune to formatting
16732 changes inside gdb1555.c.
16733 * gdb.base/pending.exp: Likewise.
16734
2cc17678
DJ
167352007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
16736
16737 * config/default.exp: New file.
16738
e48883f7
DJ
167392007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
16740
16741 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
16742 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
16743
1ab80e5b
MR
167442007-07-30 Maciej W. Rozycki <macro@mips.com>
16745
16746 * gdb.base/dump.exp: Force the correct endianness for binary
16747 formats not carrying this information.
16748
aba471f5
DJ
167492007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16750
16751 * gdb.threads/staticthreads.exp: Match .*sem_post.
16752
d4e07204
DJ
167532007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16754
16755 * gdb.base/readline.exp (operate_and_get_next): Match the final
16756 prompt.
16757
2b97317d
KB
167582007-07-23 Kevin Buettner <kevinb@redhat.com>
16759
16760 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
16761 to restarting SID.
16762
44efa07a
KB
167632007-07-18 Kevin Buettner <kevinb@redhat.com>
16764
16765 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
16766 prior to `gdb_start'.
16767
7b5ebade
KB
167682007-07-18 Kevin Buettner <kevinb@redhat.com>
16769
16770 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
16771 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
16772 Remove call to gdb_unload.
16773
255e7678
DJ
167742007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
16775 Daniel Jacobowitz <dan@codesourcery.com>
16776
16777 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
16778 for __WIN32__.
16779 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
16780 * gdb.base/unload.exp: Use shared library test routines.
16781
3a40aaa0
UW
167822007-07-03 Markus Deuling <deuling@de.ibm.com>
16783
16784 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
16785 * gdb.base/solib-symbol-lib.c: Likewise.
16786 * gdb.base/solib-symbol-main.c: Likewise.
16787
b0f4b84b
DJ
167882007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
16789
16790 * config/gdbserver.exp (gdb_reconnect): New.
16791 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
16792 gdb.base/solib-disc.exp: New files.
16793 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
16794 remote debugging".
16795 (gdb_compile): Add shlib_load flag.
16796 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
16797 port.
16798 (gdbserver_reconnect): New.
16799
1b05479a
DJ
168002007-07-01 Nick Roberts <nickrob@snap.net.nz>
16801 Daniel Jacobowitz <dan@codesourcery.com>
16802
16803 * gdb.base/annota3.exp: Test for if construct.
16804
86f78eb2
DJ
168052007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
16806
16807 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
16808
6a2eb474 168092007-06-21 Chris Dearman <chris@mips.com>
a9c64011 16810 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
16811
16812 * gdb.base/display.exp: Allow a newline after display/i.
16813 * gdb.base/pc-fp.exp: Likewise.
16814 * gdb.base/sigbpt.exp: Likewise.
16815
f8b73d13
DJ
168162007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
16817
16818 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
16819 required features to be included.
16820
4339e69e
DJ
168212007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
16822
16823 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
16824 in info threads output.
16825
23d964e7
UW
168262007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16827 Markus Deuling <deuling@de.ibm.com>
16828
16829 * gdb.arch/spu-info.exp: New testcase.
16830 * gdb.arch/spu-info.c: New file.
16831
fd20f75b
DJ
168322007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
16833
16834 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
16835 tpcs_offset. Restore lr after the call.
16836 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
16837
2226f861
DJ
168382007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
16839
16840 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
16841 (gdbserver_run): Kill any running gdbserver.
16842 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
16843
d12371a9
MR
168442007-05-17 Maciej W. Rozycki <macro@mips.com>
16845
16846 * gdb.base/sigbpt.exp: Preset segv_addr.
16847
93f02886
DJ
168482007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
16849
16850 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
16851 (gdb_compile_shlib): Likewise.
16852 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
16853 (default_gdb_init): Clear cleanfiles.
16854 (gdb_finish): Delete recorded cleanfiles.
16855 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
16856
16857 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
16858 Do not use isnative.
16859 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
16860 gdb.base/so-impl-ld.exp: Likewise.
16861 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
16862 * gdb.base/unload.exp: Likewise. Do not pass empty option to
16863 gdb_compile.
16864
b04e06d7
VP
168652007-05-15 Vladimir Prus <vladimir@codesourcery.com>
16866
16867 * config/unknown.exp: Remove.
16868
069ed931
UW
168692007-05-15 Markus Deuling <deuling@de.ibm.com>
16870
16871 * gdb.base/info-proc.exp: Check is_remote.
16872
09db0d03
UW
168732007-05-14 Markus Deuling <deuling@de.ibm.com>
16874
16875 * gdb.base/gcore.exp: Initialize variable core_supported.
16876
af2cbe8c
DJ
168772007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
16878
16879 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
16880
027c0295
DJ
168812007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
16882
16883 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
16884 * gdb.threads/print-threads.exp (test_all_threads): Allow
16885 negative and hexadecimal thread IDs.
16886
dc5000e7
DJ
168872007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
16888
16889 * gdb.java/jprint.java (public): Avoid invalid call to static
16890 method.
16891
2e74ed18
DP
168922007-05-14 Denis Pilat <denis.pilat@st.com>
16893
16894 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
16895 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
16896 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
16897 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
16898 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
16899
83547f02
UW
169002007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16901
16902 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 16903 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
16904 this mode.
16905 * gdb.base/ovlymgr.c: Provide stubs for spu target.
16906 * gdb.base/spu.ld: New file.
16907
b18be20d
DJ
169082007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
16909
16910 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
16911
be444858
DJ
169122007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
16913
16914 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
16915
b1d53152
DJ
169162007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
16917
16918 * gdb.java/jmain.exp: Handle demangled names with and without method
16919 signatures.
16920
d084b331
DJ
169212007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
16922
16923 * gdb.mi/mi-syn-frame.c (main, foo, bar)
16924 (have_a_very_merry_interrupt): Remove calls to puts.
16925 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
16926 inferior output.
16927 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
16928 test names.
16929
db9d7fc5
DJ
169302007-04-29 Markus Deuling <deuling@de.ibm.com>
16931 Daniel Jacobowitz <dan@codesourcery.com>
16932
16933 * gdb.base/auxv.exp (core_works): Also check is_remote.
16934 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
16935
ef783a7d 169362007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 16937
ef783a7d
VP
16938 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
16939 message, not the undefined 'module' variable.
16940 * gdb.base/siginfo.exp: Likewise.
16941 * gdb.base/sigstep.exp: Likewise.
16942 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
16943 serialport.
16944 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
16945
b7b73cae
CV
169462007-04-25 Corinna Vinschen <vinschen@redhat.com>
16947
16948 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
16949 target sim fails. Return 0 otherwise.
16950 (gdb_load): Return prematurely if gdb_target_sim fails.
16951
7d90fdfa
DP
169522007-04-16 Denis Pilat <denis.pilat@st.com>
16953
16954 * gdb.base/setshow.exp: Reset height after having set it to 100.
16955
5d3e9c85
DP
169562007-04-16 Denis Pilat <denis.pilat@st.com>
16957
16958 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
16959
18e75969
DP
169602007-04-16 Denis Pilat <denis.pilat@st.com>
16961
16962 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
16963
25d5ea92
VP
169642007-04-14 Vladimir Prus <vladimir@codesourcery.com>
16965
16966 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
16967 tests. Run the frozen varobjs test.
16968 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 16969 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 16970
0b49cb80
JK
169712007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16972
16973 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
16974 gdb.base/type-opaque.exp: New files.
16975
a73bafbc 169762007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
16977
16978 * gdb.mi/mi-var-child.c
a73bafbc
VP
16979 (do_children_tests): User char[2] instead of
16980 char so that automatic printing of pointers to char
16981 don't give unpredicable result.
16982 * gdb.mi/var-cmd.c (do_locals_test): Initialize
16983 local variables.
16984 * gdb.mi/mi-var-child.exp: Step to right line
16985 of do_children_tests.
16986 * gdb.mi/mi2-var-child.exp: Likewise.
16987 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 16988 do_locals_tests.
a73bafbc
VP
16989 (do_children_tests): User char[2] instead of
16990 char so that automatic printing of pointers to char
a9c64011 16991 don't give unpredicable result.
a73bafbc 16992 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 16993 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
16994 Pass test name to mi_wait_for_stop.
16995
7ce59000
DJ
169962007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
16997
16998 * gdb.asm/asm-source.exp: Remove d10v case.
16999 * lib/gdb.exp (skip_cplus_tests): Likewise.
17000 * gdb.asm/d10v.inc: Deleted.
17001
20389057
DJ
170022007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17003
17004 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
17005
8807d78b
DJ
170062007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17007
17008 * config/netware.exp: Delete file.
17009
aa3edb8e
JB
170102007-03-29 Joel Brobecker <brobecker@adacore.com>
17011
17012 * gdb.dwarf2/dw2-noloc.S: New file.
17013 * gdb.dwarf2/dw2-noloc.exp: New file.
17014
297561ac
PA
170152007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
17016
17017 * gdb.cp/method2.cc: New test.
17018 * gdb.cp/method2.exp: New test.
17019 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
17020
1f81bd39
DJ
170212007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17022
17023 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
17024
9453113a
DJ
170252007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
17026
17027 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
17028
b741e217
DJ
170292007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17030
17031 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
17032 (gdb_load): Delete, replace with...
17033 (gdb_reload): ...this.
17034 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
17035 * gdb.server/server-mon.exp: Likewise.
17036 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
17037 (gdb_start_cmd): New.
17038 (gdb_file_cmd): Save the last loaded file.
17039 (gdb_reload): New.
17040 (gdb_gnu_strip_debug): Use transform.
17041 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
17042 support here. Use new $last_loaded_file. Check mtime.
17043 (gdb_target_cmd): Handle ObjC failure case.
17044 (infer_host_exec): Delete.
17045 (gdbserver_load): Rename to...
17046 (gdbserver_run): ...this. Simplify.
17047 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
17048 (mi_gdb_load): Move most contents to a new function...
17049 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
17050 (mi_run_cmd): Use mi_gdb_target_load.
17051 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
17052 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
17053 Use gdb_run_cmd.
17054 * gdb.base/charsign.exp: Remove incorrect comment.
17055 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
17056 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
17057 gdb.base/start.exp: Use gdb_start_cmd.
17058
446ab585 170592007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 17060 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
17061
17062 * gdb.base/sigbpt.exp: Fix the message when skipping test.
17063 * gdb.base/signull.exp: Similarly.
17064
bbb88ebf
UW
170652007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17066
17067 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
17068 messages available to test cases (like chng-sym.exp).
17069
cb8c4a99
AS
170702007-03-14 Andreas Schwab <schwab@suse.de>
17071
17072 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17073 format changes.
17074
4e463ff5
DJ
170752007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
17076
17077 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
17078 (optimized_1): New.
17079 (main): Call optimized_1.
17080 (gdb2029): Correct typos. Call gdb2029_marker.
17081 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
17082 for gdb2029.
17083
b6db2c47
MK
170842007-03-12 Mark Kettenis <kettenis@gnu.org>
17085
17086 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
17087 as tabs. Remove redundant test pattern.
17088
70ed3737
UW
170892007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17090
17091 * gdb.base/long_long.exp: Accept optional symbol name in <...>
17092 for /a format output.
17093
47b67b60
DJ
170942007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
17095
17096 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
17097 collect output incrementally.
17098
b8953b0e
UW
170992007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17100
17101 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
17102 for -var-create lpcharacter test.
17103 * gdb.mi/mi2-var-cmd.exp: Likewise.
17104
7acd5c40
UW
171052007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17106
17107 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
17108 pass on targets where address zero is readable.
17109
9c6759c1
UW
171102007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17111
17112 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
17113 just a single architecture.
17114
a2f1aeb4
UW
171152007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17116
17117 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
17118 (fetch_all_registers): New function, uses gdb_test_multiple and
17119 exp_continue to fetch inferior output line-by-line.
17120 Replace all uses of do_get_all_registers by fetch_all_registers.
17121
46579ac2
UW
171222007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17123
17124 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
17125 in target_info.
17126
fc133f24
MS
171272007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17128
a9c64011 17129 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
17130 consistancy; add a default (timeout) case.
17131
7646a51d
MS
171322007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17133
17134 * gdb.base/watchpoint.exp: Fix truncated comment.
17135
dcfff61f
MS
171362007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17137
17138 * Makefile.in: Remove spurious single-quotes from sed command.
17139
664e3ee9
DJ
171402007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
17141
17142 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
17143 func.
17144 * gdb.mi/mi2-var-cmd.exp: Likewise.
17145
d7cc6f2f
JB
171462007-02-27 Joel Brobecker <brobecker@adacore.com>
17147
a9c64011
AS
17148 * gdb.dwarf2/dw2-producer.S: New file.
17149 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
17150
171512007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
17152
17153 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17154 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17155 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17156 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17157 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17158 Revert tests to use mi_gdb_test and include value field in output
17159 of -var-create.
17160
93d42b30
DJ
171612007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17162
17163 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
17164
c499ed39
DJ
171652007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17166
17167 * gdb.base/maint.exp: Remove full paths from test names.
17168 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
17169 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
17170
9836f81b
JB
171712007-02-27 Joel Brobecker <brobecker@adacore.com>
17172
17173 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
17174
c74d0ad8
DJ
171752007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17176
17177 * gdb.server/server-mon.exp: New test.
17178
2711e456
DJ
171792007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17180
17181 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
17182
ff6f572f
DJ
171832007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17184
17185 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
17186 register capitalization.
17187
fada3feb
DP
171882007-02-13 Denis Pilat <denis.pilat@st.com>
17189
17190 * gdb.mi/mi-var-invalidate.exp: New file.
17191
fb1e4ffc
DJ
171922007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17193
17194 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
17195
3da939d7
DJ
171962007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17197
17198 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
17199
123dc839
DJ
172002007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17201
17202 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
17203 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
17204
877e3645 172052007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
17206
17207 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17208 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17209 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17210 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17211 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 17212 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 17213 Update tests to include value field in output of -var-create.
a9c64011 17214
3c0a2960
AS
172152007-02-08 Andreas Schwab <schwab@suse.de>
17216
17217 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
17218
108546a0
DJ
172192007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
17220
17221 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
17222 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
17223
d701dcab
DP
172242007-02-02 Denis Pilat <denis.pilat@st.com>
17225
17226 * gdb.threads/threadapply.exp: check that frame is not changed by
17227 the thread apply all command.
17228
783e3e2f
AS
172292007-01-31 Andreas Schwab <schwab@suse.de>
17230
6d9c3a87
AS
17231 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
17232
3c50d7b9
AS
17233 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
17234 in the dwarf sections.
17235 * gdb.dwarf2/mac-fileno.S: Likewise.
17236
783e3e2f
AS
17237 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
17238 bspstore register on ia64.
17239
78ff580e
AS
172402007-01-29 Andreas Schwab <schwab@suse.de>
17241
cc8e9b12
AS
17242 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
17243 "frame-begin" annotation.
17244
78ff580e
AS
17245 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
17246 number of "frames-invalid" annotations.
17247
704a4f78
DJ
172482007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
17249
17250 * gdb.base/commands.exp: Call if_commands_test.
17251 (gdb_test_no_prompt, if_commands_test): New.
17252
e741bf94
MK
172532007-01-28 Mark Kettenis <kettenis@gnu.org>
17254
17255 * gdb.threads/sigthread.c (NSIGS): Make bigger.
17256
474d0ad3
AS
172572007-01-27 Andreas Schwab <schwab@suse.de>
17258
17259 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
17260 .short/.int/.quad in the dwarf sections.
17261 * gdb.dwarf2/dw2-intercu.S: Likewise.
17262 * gdb.dwarf2/dw2-intermix.S: Likewise.
17263
e784b426
JK
172642007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17265
17266 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
17267 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
17268 array.
e784b426
JK
17269 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
17270 * gdb.base/setvar.exp: Likewise.
17271
37f08e04
AS
172722007-01-26 Andreas Schwab <schwab@suse.de>
17273
9a01813a
AS
17274 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
17275 test.
17276
37f08e04
AS
17277 * gdb.base/multi-forks.exp ("restart $i"): Also match
17278 __kernel_syscall_via_break.
17279
6e2a9270
VP
172802007-01-24 Vladimir Prus <vladimir@codesourcery.com>
17281
17282 * lib/mi-support.exp (mi_delete_varobj): New.
17283 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
17284 testcase.
17285 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
17286 (main): Call the above.
17287 (reference_update_test, base_in_reference_test)
17288 (reference_to_pointer): Delete the created varobjs.
a9c64011 17289
e515b470
DJ
172902007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
17291
17292 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
17293 * configure: Regenerated.
17294 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
17295 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
17296 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
17297 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
17298 * lib/gdb.exp (gdb_skip_xml_test): New function.
17299
08d8bcd7
DJ
173002007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
17301
17302 * gdb.base/sigrepeat.exp: Correct error message.
17303
173042007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
17305 Daniel Jacobowitz <dan@codesourcery.com>
17306
17307 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
17308 gdb.arch/i386-gnu-cfi-asm.S: New files.
17309
97c3f1f3
JK
173102007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17311
17312 * lib/gdb.exp: Abort on missing `site.exp'.
17313
cb1df416
DJ
173142007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17315 Daniel Jacobowitz <dan@codesourcery.com>
17316
17317 * gdb.base/included.c, gdb.base/included.exp,
17318 gdb.base/included.h: New files.
17319
35990120
DJ
173202007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
17321
17322 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
17323 (maximize_rlimit): Reduce limits on 64-bit systems.
17324
6e81a116 173252007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
17326
17327 From Marcus Deuling <deuling@de.ibm.com>:
17328 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
17329 every case.
17330
6c3c41f3
NR
173312007-01-13 Nick Roberts <nickrob@snap.net.nz>
17332
17333 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
17334 (test_path_specification): Use objdir instead of srcdir to always
17335 get an absolute filename.
17336
2f12c312
DJ
173372007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
17338
17339 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
17340
81121995
VP
173412007-01-11 Vladimir Prus <vladimir@codesourcery.com>
17342
17343 * gdb.mi/mi-var-cp.cc (reference_update_tests):
17344 Make sure the variable we're using is in scope.
17345 (reference_to_pointer): Likewise.
17346
4741b737
DJ
173472007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
17348
17349 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
17350 has no debug information.
17351
054410c3
DJ
173522007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
17353
17354 * gdb.base/annota1.exp: Remove extra send_gdb.
17355
818f79f6
DJ
173562007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17357
17358 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
17359
f7a6bb70
DJ
173602007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17361
17362 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
17363
57e66780
DJ
173642007-01-08 Nick Roberts <nickrob@snap.net.nz>
17365 Daniel Jacobowitz <dan@codesourcery.com>
17366
17367 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
17368 lcharacter or linteger change. Correct duplicated test name.
17369 * gdb.mi/mi2-var-cmd.exp: Likewise.
17370
3d799a95
DJ
173712007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
17372
17373 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
17374
173752007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 17376
a9c64011
AS
17377 * gdb.base/nofield.c: New file.
17378 * gdb.base/nofield.exp: New testcase.
51679ba9 17379
eafb94e8
NR
173802007-01-05 Nick Roberts <nickrob@snap.net.nz>
17381
17382 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
17383
17384 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
17385 test.
17386
5e572bb4
DJ
173872007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
17388
17389 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
17390
74a44383
DJ
173912007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
17392
17393 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
17394 when continuing.
17395
1b572db9
DJ
173962007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17397
17398 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
17399 Expect ".exe" extension.
17400
381bc39b
DJ
174012007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17402
17403 * gdb.base/charset.exp: Add explicit filename to break.
17404 * gdb.base/dbx.exp: Add explicit filename to breaks.
17405
2b70e4c6
DJ
174062007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17407
17408 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
17409 * gdb.mi/mi2-file.exp: Likewise.
17410
303b6f5d
DJ
174112007-01-04 Vladimir Prus <vladimir@codesourcery.com>
17412
17413 Implement specification of MI tests as comments
17414 in C and C++ sources.
17415 * lib/mi-support.exp (mi_autotest_data): New variable.
17416 (mi_autotest_source): New variable.
17417 (count_newlines, mi_prepare_inline_tests)
17418 (mi_get_inline_test, mi_continue_to_line)
17419 (mi_run_inline_test, mi_tbreak)
17420 (mi_send_resuming_command, mi_wait_for_stop): New functions.
17421 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
17422 Run inline tests.
17423 * gdb.mi/mi-var-cp.cc: Define tests here.
17424
23da0d94
VP
174252007-01-04 Vladimir Prus <vladimir@codesourcery.com>
17426
17427 Simplify usage of mi_continue_to.
17428 * lib/mi-support.exp (mi_runto_helper): Renamed
17429 from mi_runto, added new parameter 'run_or_continue'.
17430 (mi_runto): Use mi_runto_helper.
17431 (mi_continue_to): Accept just function name as parameter.
17432 Use mi_runto_helper.
17433 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
17434 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 17435
f9e18282
JB
174362006-01-04 Joel Brobecker <brobecker@adacore.com>
17437
17438 Make this testcase a bit more realistic. The current code
17439 is too simplistic, and allows the compiler to optimize out
17440 some of the entities we need for this testcase.
17441 * gdb.ada/null_record/bar.ads (Void_Star): New type.
17442 (Do_Nothing): Add extra parameter.
17443 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
17444 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
17445 by using a variable of type Void_Star.
17446
fd678c65
JB
174472006-01-04 Joel Brobecker <brobecker@adacore.com>
17448
17449 * gdb.ada/catch_ex/foo.adb: New file.
17450 * gdb.ada/catch_ex.exp: New testcase.
17451
05cfdb42
DJ
174522007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
17453
17454 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
17455 pass --image-base to linker.
17456
2e03ee74
DJ
174572007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17458 Daniel Jacobowitz <dan@codesourcery.com>
17459
17460 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
17461 secondary prompts.
17462
0d5de010
DJ
174632007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
17464
17465 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
17466 output. Test the types of members and member pointers.
17467 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
17468 gdb/2092.
17469 * gdb.cp/member-ptr.exp: Search for a comment instead of a
17470 statement. Enable for GCC. Update expected output for some tests
17471 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
17472 layout.
17473 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
17474 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
17475 (Diamond::vget_base): New.
17476 (main): Add new tests.
17477 * gdb.cp/printmethod.exp: Update expected output for member functions.
17478 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
17479 print pEe->D::vg().
17480
61a771aa
DJ
174812007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
17482
17483 * gdb.threads/tls.exp: Allow stops in sem_post.
17484
2fa63963
DJ
174852006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
17486
17487 * gdb.base/annota1.exp: Allow .*printf in backtraces.
17488 * gdb.base/annota3.exp: Likewise.
17489 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
17490 again (instead of timing out).
17491 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
17492 GCC bug 26475.
17493 * gdb.java/jmisc.exp: Adjust to work with method signatures including
17494 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
17495 test from jmisc1.exp.
17496 * gdb.java/jmisc1.exp: Delete.
17497 * gdb.java/jprint.exp: Adjust to work with method signatures including
17498 return types.
17499 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
17500 * gdb.threads/linux-dp.exp: Don't be confused by program output.
17501 * lib/java.exp (compile_java_from_source): Pass the correct type
17502 to target_compile.
17503
5eefc2b7
JB
175042006-12-31 Joel Brobecker <brobecker@adacore.com>
17505
17506 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
17507 (stack_align_edx): New function.
17508 (stack_align_eax): New function.
17509 (main): Add calls to stack_align_edx and stack_align_eax.
17510 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
17511 Add testing for the cases where the register used during a stack
17512 realignment is edx. Same for eax.
17513
227c54da
DJ
175142006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
17515
17516 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
17517 and generic PE targets.
17518
cab8ac94
JB
175192006-12-29 Joel Brobecker <brobecker@adacore.com>
17520
17521 * gdb.ada/array_return.exp: Update copyright date list.
17522
ba54f318
JB
175232006-12-27 Joel Brobecker <brobecker@adacore.com>
17524
17525 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
17526 (Create_Small_Float_Vector): New function.
17527 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
17528 function body.
17529 * gdb.ada/array_return/p.adb: Use new type and function from
17530 package Pck.
17531 * gdb.ada/array_return.exp: Add a test verifying that GDB is
17532 able to print the value returned by a function returning an
17533 array of float.
17534
6b7a35dd
JB
175352006-12-20 Joel Brobecker <brobecker@adacore.com>
17536
17537 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
17538 The associated tests should be PASSing.
17539
038224f6
VP
175402006-12-08 Vladimir Prus <vladimir@codesourcery.com>
17541
17542 Test for base in references.
17543 * gdb.mi/mi-var-cp.cc: Add test code.
17544 * gdb.mi/mi-var-cp.exp: Test for bases in references.
17545 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
17546 * gdb.mi/mi2-watch.exp: Likewise.
17547 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
17548 (mi_list_varobj_children): New function.
17549
b26ed50d
VP
175502006-12-08 Vladimir Prus <vladimir@codesourcery.com>
17551
17552 * lib/mi-support.exp
17553 (mi_runto): Accept "()" after function name.
17554 (mi_create_varobj): New function.
17555 (mi_varobj_update): New function.
17556 (mi_Check_varobj_value): New function.
17557 * gdb.mi/mi-var-cp.exp: New file.
17558 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 17559
08232497
DJ
175602006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
17561
17562 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
17563 gdb.base/weaklib2.c: New files.
17564
d394c993 175652006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 17566
ac6c2fba
NS
17567 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
17568 info. Adjust test names.
17569
8ec659a0 17570 * gdb.base/break.c (main): Move position of malloc.
d394c993 17571 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 17572
acd65feb
VP
175732006-11-28 Vladimir Prus <vladimir@codesourcery.com>
17574
17575 * gdb.mi/mi-var-cmd.exp: Check -var-update after
17576 assignement of arrays and function pointers.
17577 * gdb.mi/var-cmd.c: Add declaration necessary for above
17578 tests.
17579
f556d5e5
NS
175802006-11-27 Nathan Sidwell <nathan@codesourcery.com>
17581
17582 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
17583
17584 * gdb.threads/linux-dp.exp: Read thread table before and after
17585 creating each philosopher and verify it.
17586
697bc68d
NS
175872006-11-27 Nathan Sidwell <nathan@codesourcery.com>
17588 Paul Brook <paul@codesourcery.com>
17589 Daniel Jacobowitz <dan@codesourcery.com>
17590
17591 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 17592 main to remove duplication. Add start function of the form
697bc68d
NS
17593 '_*start[1-9]*'. Add RVDS start function.
17594
29d73ae4
DJ
175952006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
17596
17597 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
17598
c1d88655
UW
175992006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17600
17601 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
17602 * gdb.asm/spu.inc: New file.
17603 * gdb.base/term.exp: Disable if [target_info exists noargs].
17604 * gdb.gdb/complaints.exp: Disable if ![isnative].
17605 * gdb.gdb/selftest.exp: Likewise.
17606 * gdb.gdb/observer.exp: Likewise.
17607 * gdb.gdb/xfullpath.exp: Likewise.
17608 * gdb.base/attach.exp: Disable on SPU target.
17609 * gdb.cp/bs145503.exp: Likewise.
17610 * gdb.cp/exception.exp: Likewise.
17611 * gdb.cp/userdef.exp: Likewise.
17612
32a13b1a
DJ
176132006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
17614
17615 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
17616
d8295fe9
VP
176172006-11-10 Vladimir Prus <vladimir@codesourcery.com>
17618
17619 * gdb.base/completion.exp: Fix completion tests for
17620 'info' and 'info '.
17621 * gdb.base/help.exp (help_test_raw, test_class_help)
17622 (test_prefix_command_help): Move...
17623 * lib/gdb.exp: Here.
17624 * gdb.base/main.exp: Adjust.
17625 * gdb.cp/maint.exp: Adjust.
17626 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 17627
8c394015
VP
176282006-11-09 Vladimir Prus <vladimir@codesourcery.com>
17629
17630 * gdb.stabs/weird.exp (print_weird_var): Use
17631 gdb_test_multiple instead of gdb_expect.
17632
027fc1bc
VP
176332006-11-09 Vladimir Prus <vladimir@codesourcery.com>
17634
17635 * gdb.base/help.exp (help_test_raw): New.
17636 (test_class_help): New.
17637 (test_prefix_command_help): New.
17638 Adjust testcases.
17639
67609209
FR
176402006-11-09 Christophe Lyon <christophe.lyon@st.com>
17641
17642 * gdb.base/constvars.c (main): Write to crass and crips, so that
17643 they are allocated by the compiler.
17644
f73adfeb
AS
176452006-10-27 Andreas Schwab <schwab@suse.de>
17646
17647 * gdb.base/multi-forks.exp: Use "detach fork" instead of
17648 "detach-fork".
17649
2f83a18e
DJ
176502006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
17651
17652 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
17653 of patterns.
17654
94277a38
DJ
176552006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
17656
17657 * gdb.base/sepdebug.exp: Remove debug format test.
17658 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
17659 Handle no-symtab.
17660 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
17661
5bd2f6e2
DJ
176622006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
17663
17664 * gdb.threads/manythreads.c (thread_function, main): Don't cast
17665 int to pointer or pointer to int.
17666 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
17667
8c008720
DJ
176682006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
17669
17670 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
17671
9e35dae4
DJ
176722006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17673
17674 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
17675
d9639e13
DJ
176762006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
17677
17678 PR c++/2116
17679 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
17680
390a1bd0
JB
176812006-10-06 Joel Brobecker <brobecker@adacore.com>
17682
17683 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
17684 the corresponding bug has been fixed in GDB (PR/2018).
17685
dd920c33
JB
176862006-10-06 Joel Brobecker <brobecker@adacore.com>
17687
17688 * gdb.base/subst.exp: New testcase.
17689
53bbefe9
JB
176902006-10-06 Joel Brobecker <brobecker@adacore.com>
17691
17692 * gdb.ada/array_return/pck.ads: Add copyright notice.
17693 * gdb.ada/array_return/pck.adb: Likewise.
17694 * gdb.ada/array_return/p.adb: Likewise.
17695 * gdb.ada/exec_changed/first.adb: Likewise.
17696 * gdb.ada/exec_changed/second.adb: Likewise.
17697
09851417
JB
176982006-10-06 Joel Brobecker <brobecker@adacore.com>
17699
17700 * gdb.ada/watch_arg/watch.adb: New file.
17701 * gdb.ada/watch_arg.exp: New testcase.
17702
041bf30d
VP
177032006-10-02 Vladimir Prus <vladimir@codesourcery.com>
17704
17705 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 17706 via string_to_regexp.
041bf30d 17707 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 17708
f286fbdd 177092006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
17710
17711 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
17712 Remove unused / obsolete files.
17713
7c07f349
NR
177142006-09-19 Nick Roberts <nickrob@snap.net.nz>
17715
17716 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
17717
cd5ff84a
VP
177182006-09-17 Vladimir Prus <vladimir@codesourcery.com>
17719
17720 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
17721 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 17722 the number of frames.
cd5ff84a 17723
ae018d1a
DJ
177242006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
17725
17726 * gdb.base/args.c (main): Add breakpoint marker.
17727 * gdb.base/args.exp: Use args_test for tests. Add new tests which
17728 really test empty arguments.
17729 (args_load): Delete.
17730 (args_test): New.
17731
b399c549
NR
177322006-09-13 Nick Roberts <nickrob@snap.net.nz>
17733
17734 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 17735 check for one file.
b399c549 17736
2ab1eb7a
VP
177372006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
17738
17739 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
17740 HIGH_FRAME argument to -stack-list-locals can be larger than
17741 the number of frames.
a9c64011 17742
476308bf
FF
177432006-08-18 Fred Fish <fnf@specifix.com>
17744
17745 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
17746 '$' in front of skip_vmx_tests_saved when setting that.
17747
8625200f
AS
177482006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
17749
17750 * gdb.base/trace-commands.exp: New file.
17751
089ec8f1
DJ
177522006-08-10 Joel Brobecker <brobecker@adacore.com>
17753 Daniel Jacobowitz <dan@codesourcery.com>
17754
17755 * gdb.base/step-bt.exp: Make hexadecimal address optional in
17756 expected output of the backtrace commands.
17757
b60f0898
JB
177582006-08-09 Joel Brobecker <brobecker@adacore.com>
17759
17760 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
17761 untested followed by return combination.
17762 * gdb.arch/altivec-regs.exp: Likewise.
17763 * gdb.arch/e500-abi.exp: Likewise.
17764 * gdb.arch/e500-regs.exp: Likewise.
17765 * gdb.arch/gdb1291.exp: Likewise.
17766 * gdb.arch/gdb1431.exp: Likewise.
17767 * gdb.arch/gdb1558.exp: Likewise.
17768 * gdb.arch/i386-prologue.exp: Likewise.
17769 * gdb.arch/i386-unwind.exp: Likewise.
17770 * gdb.asm/asm-source.exp: Likewise.
17771 * gdb.base/a2-run.exp: Likewise.
17772 * gdb.base/advance.exp: Likewise.
17773 * gdb.base/all-bin.exp: Likewise.
17774 * gdb.base/annota1.exp: Likewise.
17775 * gdb.base/annota3.exp: Likewise.
17776 * gdb.base/args.exp: Likewise.
17777 * gdb.base/arithmet.exp: Likewise.
17778 * gdb.base/assign.exp: Likewise.
17779 * gdb.base/async.exp: Likewise.
17780 * gdb.base/attach.exp: Likewise.
17781 * gdb.base/bang.exp: Likewise.
17782 * gdb.base/bigcore.exp: Likewise.
17783 * gdb.base/bitfields.exp: Likewise.
17784 * gdb.base/bitfields2.exp: Likewise.
17785 * gdb.base/break.exp: Likewise.
17786 * gdb.base/call-sc.exp: Likewise.
17787 * gdb.base/call-strs.exp: Likewise.
17788 * gdb.base/callfuncs.exp: Likewise.
17789 * gdb.base/checkpoint.exp: Likewise.
17790 * gdb.base/chng-syms.exp: Likewise.
17791 * gdb.base/code-expr.exp: Likewise.
17792 * gdb.base/commands.exp: Likewise.
17793 * gdb.base/completion.exp: Likewise.
17794 * gdb.base/cond-expr.exp: Likewise.
17795 * gdb.base/condbreak.exp: Likewise.
17796 * gdb.base/consecutive.exp: Likewise.
17797 * gdb.base/constvars.exp: Likewise.
17798 * gdb.base/corefile.exp: Likewise.
17799 * gdb.base/cvexpr.exp: Likewise.
17800 * gdb.base/dbx.exp: Likewise.
17801 * gdb.base/define.exp: Likewise.
17802 * gdb.base/detach.exp: Likewise.
17803 * gdb.base/display.exp: Likewise.
17804 * gdb.base/dump.exp: Likewise.
17805 * gdb.base/ena-dis-br.exp: Likewise.
17806 * gdb.base/ending-run.exp: Likewise.
17807 * gdb.base/environ.exp: Likewise.
17808 * gdb.base/eval-skip.exp: Likewise.
17809 * gdb.base/exprs.exp: Likewise.
17810 * gdb.base/fileio.exp: Likewise.
17811 * gdb.base/finish.exp: Likewise.
17812 * gdb.base/float.exp: Likewise.
17813 * gdb.base/foll-exec.exp: Likewise.
17814 * gdb.base/foll-fork.exp: Likewise.
17815 * gdb.base/foll-vfork.exp: Likewise.
17816 * gdb.base/freebpcmd.exp: Likewise.
17817 * gdb.base/funcargs.exp: Likewise.
17818 * gdb.base/gcore.exp: Likewise.
17819 * gdb.base/gdb1090.exp: Likewise.
17820 * gdb.base/gdb1250.exp: Likewise.
17821 * gdb.base/huge.exp: Likewise.
17822 * gdb.base/info-proc.exp: Likewise.
17823 * gdb.base/interrupt.exp: Likewise.
17824 * gdb.base/jump.exp: Likewise.
17825 * gdb.base/langs.exp: Likewise.
17826 * gdb.base/lineinc.exp: Likewise.
17827 * gdb.base/list.exp: Likewise.
17828 * gdb.base/logical.exp: Likewise.
17829 * gdb.base/long_long.exp: Likewise.
17830 * gdb.base/macscp.exp: Likewise.
17831 * gdb.base/maint.exp: Likewise.
17832 * gdb.base/mips_pro.exp: Likewise.
17833 * gdb.base/miscexprs.exp: Likewise.
17834 * gdb.base/multi-forks.exp: Likewise.
17835 * gdb.base/opaque.exp: Likewise.
17836 * gdb.base/overlays.exp: Likewise.
17837 * gdb.base/pc-fp.exp: Likewise.
17838 * gdb.base/pointers.exp: Likewise.
17839 * gdb.base/printcmds.exp: Likewise.
17840 * gdb.base/psymtab.exp: Likewise.
17841 * gdb.base/ptype.exp: Likewise.
17842 * gdb.base/recurse.exp: Likewise.
17843 * gdb.base/relational.exp: Likewise.
17844 * gdb.base/relocate.exp: Likewise.
17845 * gdb.base/remote.exp: Likewise.
17846 * gdb.base/reread.exp: Likewise.
17847 * gdb.base/restore.exp: Likewise.
17848 * gdb.base/return.exp: Likewise.
17849 * gdb.base/return2.exp: Likewise.
17850 * gdb.base/scope.exp: Likewise.
17851 * gdb.base/sect-cmd.exp: Likewise.
17852 * gdb.base/sep.exp: Likewise.
17853 * gdb.base/sepdebug.exp: Likewise.
17854 * gdb.base/setshow.exp: Likewise.
17855 * gdb.base/setvar.exp: Likewise.
17856 * gdb.base/sigall.exp: Likewise.
17857 * gdb.base/sigbpt.exp: Likewise.
17858 * gdb.base/signals.exp: Likewise.
17859 * gdb.base/signull.exp: Likewise.
17860 * gdb.base/sizeof.exp: Likewise.
17861 * gdb.base/solib.exp: Likewise.
17862 * gdb.base/step-line.exp: Likewise.
17863 * gdb.base/step-test.exp: Likewise.
17864 * gdb.base/structs.exp: Likewise.
17865 * gdb.base/structs2.exp: Likewise.
17866 * gdb.base/term.exp: Likewise.
17867 * gdb.base/twice.exp: Likewise.
17868 * gdb.base/until.exp: Likewise.
17869 * gdb.base/varargs.exp: Likewise.
17870 * gdb.base/volatile.exp: Likewise.
17871 * gdb.base/watchpoint.exp: Likewise.
17872 * gdb.base/whatis-exp.exp: Likewise.
17873 * gdb.base/whatis.exp: Likewise.
17874 * gdb.cp/ambiguous.exp: Likewise.
17875 * gdb.cp/annota2.exp: Likewise.
17876 * gdb.cp/annota3.exp: Likewise.
17877 * gdb.cp/bool.exp: Likewise.
17878 * gdb.cp/breakpoint.exp: Likewise.
17879 * gdb.cp/casts.exp: Likewise.
17880 * gdb.cp/class2.exp: Likewise.
17881 * gdb.cp/classes.exp: Likewise.
17882 * gdb.cp/cplusfuncs.exp: Likewise.
17883 * gdb.cp/ctti.exp: Likewise.
17884 * gdb.cp/derivation.exp: Likewise.
17885 * gdb.cp/exception.exp: Likewise.
17886 * gdb.cp/gdb1355.exp: Likewise.
17887 * gdb.cp/hang.exp: Likewise.
17888 * gdb.cp/inherit.exp: Likewise.
17889 * gdb.cp/local.exp: Likewise.
17890 * gdb.cp/m-data.exp: Likewise.
17891 * gdb.cp/m-static.exp: Likewise.
17892 * gdb.cp/member-ptr.exp: Likewise.
17893 * gdb.cp/method.exp: Likewise.
17894 * gdb.cp/misc.exp: Likewise.
17895 * gdb.cp/namespace.exp: Likewise.
17896 * gdb.cp/overload.exp: Likewise.
17897 * gdb.cp/ovldbreak.exp: Likewise.
17898 * gdb.cp/pr-1023.exp: Likewise.
17899 * gdb.cp/pr-1210.exp: Likewise.
17900 * gdb.cp/pr-574.exp: Likewise.
17901 * gdb.cp/printmethod.exp: Likewise.
17902 * gdb.cp/psmang.exp: Likewise.
17903 * gdb.cp/ref-params.exp: Likewise.
17904 * gdb.cp/ref-types.exp: Likewise.
17905 * gdb.cp/rtti.exp: Likewise.
17906 * gdb.cp/templates.exp: Likewise.
17907 * gdb.cp/try_catch.exp: Likewise.
17908 * gdb.cp/userdef.exp: Likewise.
17909 * gdb.cp/virtfunc.exp: Likewise.
17910 * gdb.disasm/am33.exp: Likewise.
17911 * gdb.disasm/h8300s.exp: Likewise.
17912 * gdb.disasm/mn10300.exp: Likewise.
17913 * gdb.disasm/sh3.exp: Likewise.
17914 * gdb.disasm/t01_mov.exp: Likewise.
17915 * gdb.disasm/t02_mova.exp: Likewise.
17916 * gdb.disasm/t03_add.exp: Likewise.
17917 * gdb.disasm/t04_sub.exp: Likewise.
17918 * gdb.disasm/t05_cmp.exp: Likewise.
17919 * gdb.disasm/t06_ari2.exp: Likewise.
17920 * gdb.disasm/t07_ari3.exp: Likewise.
17921 * gdb.disasm/t08_or.exp: Likewise.
17922 * gdb.disasm/t09_xor.exp: Likewise.
17923 * gdb.disasm/t10_and.exp: Likewise.
17924 * gdb.disasm/t11_logs.exp: Likewise.
17925 * gdb.disasm/t12_bit.exp: Likewise.
17926 * gdb.disasm/t13_otr.exp: Likewise.
17927 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
17928 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
17929 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
17930 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
17931 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
17932 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
17933 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
17934 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
17935 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
17936 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
17937 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
17938 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
17939 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
17940 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
17941 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
17942 * gdb.mi/gdb701.exp: Likewise.
17943 * gdb.mi/gdb792.exp: Likewise.
17944 * gdb.mi/mi-basics.exp: Likewise.
17945 * gdb.mi/mi-break.exp: Likewise.
17946 * gdb.mi/mi-cli.exp: Likewise.
17947 * gdb.mi/mi-console.exp: Likewise.
17948 * gdb.mi/mi-disassemble.exp: Likewise.
17949 * gdb.mi/mi-eval.exp: Likewise.
17950 * gdb.mi/mi-file.exp: Likewise.
17951 * gdb.mi/mi-read-memory.exp: Likewise.
17952 * gdb.mi/mi-regs.exp: Likewise.
17953 * gdb.mi/mi-return.exp: Likewise.
17954 * gdb.mi/mi-simplerun.exp: Likewise.
17955 * gdb.mi/mi-stack.exp: Likewise.
17956 * gdb.mi/mi-stepi.exp: Likewise.
17957 * gdb.mi/mi-syn-frame.exp: Likewise.
17958 * gdb.mi/mi-until.exp: Likewise.
17959 * gdb.mi/mi-var-block.exp: Likewise.
17960 * gdb.mi/mi-var-child.exp: Likewise.
17961 * gdb.mi/mi-var-cmd.exp: Likewise.
17962 * gdb.mi/mi-var-display.exp: Likewise.
17963 * gdb.mi/mi-watch.exp: Likewise.
17964 * gdb.mi/mi2-basics.exp: Likewise.
17965 * gdb.mi/mi2-break.exp: Likewise.
17966 * gdb.mi/mi2-cli.exp: Likewise.
17967 * gdb.mi/mi2-console.exp: Likewise.
17968 * gdb.mi/mi2-disassemble.exp: Likewise.
17969 * gdb.mi/mi2-eval.exp: Likewise.
17970 * gdb.mi/mi2-file.exp: Likewise.
17971 * gdb.mi/mi2-read-memory.exp: Likewise.
17972 * gdb.mi/mi2-regs.exp: Likewise.
17973 * gdb.mi/mi2-return.exp: Likewise.
17974 * gdb.mi/mi2-simplerun.exp: Likewise.
17975 * gdb.mi/mi2-stack.exp: Likewise.
17976 * gdb.mi/mi2-stepi.exp: Likewise.
17977 * gdb.mi/mi2-syn-frame.exp: Likewise.
17978 * gdb.mi/mi2-until.exp: Likewise.
17979 * gdb.mi/mi2-var-block.exp: Likewise.
17980 * gdb.mi/mi2-var-child.exp: Likewise.
17981 * gdb.mi/mi2-var-cmd.exp: Likewise.
17982 * gdb.mi/mi2-var-display.exp: Likewise.
17983 * gdb.mi/mi2-watch.exp: Likewise.
17984 * gdb.stabs/exclfwd.exp: Likewise.
17985 * gdb.stabs/weird.exp: Likewise.
17986 * gdb.threads/gcore-thread.exp: Likewise.
17987 * gdb.trace/actions.exp: Likewise.
17988 * gdb.trace/backtrace.exp: Likewise.
17989 * gdb.trace/circ.exp: Likewise.
17990 * gdb.trace/collection.exp: Likewise.
17991 * gdb.trace/deltrace.exp: Likewise.
17992 * gdb.trace/infotrace.exp: Likewise.
17993 * gdb.trace/limits.exp: Likewise.
17994 * gdb.trace/packetlen.exp: Likewise.
17995 * gdb.trace/passc-dyn.exp: Likewise.
17996 * gdb.trace/passcount.exp: Likewise.
17997 * gdb.trace/report.exp: Likewise.
17998 * gdb.trace/save-trace.exp: Likewise.
17999 * gdb.trace/tfind.exp: Likewise.
18000 * gdb.trace/tracecmd.exp: Likewise.
18001 * gdb.trace/while-dyn.exp: Likewise.
18002 * gdb.trace/while-stepping.exp: Likewise.
18003
f4b618d1
JB
180042006-08-08 Joel Brobecker <brobecker@adacore.com>
18005
18006 * gdb.base/step-bt.c: New file.
18007 * gdb.base/step-bt.exp: New testcase.
18008
3d00d119
DJ
180092006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
18010
18011 * config/monitor.exp (gdb_load): Remove support for obsolete
18012 download-write-size.
18013 * gdb.base/remote.exp: Likewise. Update all callers of
18014 gdb_timed_load.
18015
017b5bd4
DJ
180162006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
18017
18018 * cursal.exp: Pass binfile to gdb_load.
18019
837c599d
DJ
180202006-08-01 Nathan Sidwell <nathan@codesourcery.com>
18021
18022 * gdb.base/cursal.exp: Add "" to gdb_load call.
18023
8dd4540b
MK
180242006-07-29 Mark Kettenis <kettenis@gnu.org>
18025
18026 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
18027 NetBSD/ELF targets.
18028
ab5c9f60
DJ
180292006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
18030
18031 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
18032 operator*.
18033
4c42eaff
DJ
180342006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
18035
18036 * gdb.base/completion.exp: Update for change in "file" behavior.
18037 * gdb.stabs/weird.exp: Likewise.
18038 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
18039 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
18040
0155cc76
NS
180412006-07-24 Nathan Sidwell <nathan@codesourcery.com>
18042
18043 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
18044 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
18045
16026cd7
AS
180462006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
18047
18048 * gdb.base/default.exp: Update source command error message.
18049 * gdb.base/help.exp: Update 'help source' message.
18050
16963cb6
DJ
180512006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
18052
18053 * gdb.cp/bs15503.exp: Update comment for no longer crashing
18054 test.
18055
6d7fd486
AS
180562006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
18057
18058 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
18059
29e8a844
DJ
180602006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18061
18062 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
18063
6afcfa39
DJ
180642006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18065
18066 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
18067
267a692b
MK
180682006-07-17 Mark Kettenis <kettenis@gnu.org>
18069
18070 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
18071 *-*-openbsd* from targets for wich we expect ARM FPA floating
18072 point format.
18073
85d2fec4
NR
180742006-07-17 Nick Roberts <nickrob@snap.net.nz>
18075
18076 * gdb.cp/annota3.exp: Expect frame-begin annotation.
18077
180782006-07-17 Mark Kettenis <kettenis@gnu.org>
18079
18080 * gdb.base/annota3.exp: Expect frame-begin annotation.
18081
85b4c6e8
JB
180822006-07-14 Joel Brobecker <brobecker@adacore.com>
18083
18084 * gdb.base/help.exp: Adjust "help unset" test to accept
18085 any list of unset commands.
18086
fb933624
DJ
180872006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
18088 Daniel Jacobowitz <dan@codesourcery.com>
18089
18090 * gdb.cp/ref-params.exp: New test.
18091 * gdb.cp/ref-params.cc: New source file.
18092 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
18093
1dff4b64
MK
180942006-07-08 Mark Kettenis <kettenis@gnu.org>
18095
18096 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
18097 spaces/tabs in regular expressions since they might not be there.
18098
40d2e0e3
AS
180992006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
18100
18101 * gdb.base/ifelse.exp: New file.
18102
f6c957d2
NS
181032006-07-04 Nathan Sidwell <nathan@codesourcery.com>
18104
18105 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
18106 line.
18107 * gdb.base/huge.exp: Loop over compilation to find a size that
18108 is acceptable.
18109 * gdb.base/remote.exp: Correct expected strings.
18110 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
18111
b9c5a23d
DJ
181122006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18113
18114 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
18115
9af2e58d
DJ
181162006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18117
18118 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
18119 native.
18120
30930ca5
DJ
181212006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18122
18123 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
18124 enable stabs testing.
18125
aa32fa1d
DJ
181262006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18127
bd4a4c80 18128 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
18129 gdb_test_multiple does.
18130
321fef15
DJ
181312006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18132
18133 * Makefile.in (host_alias): Remove.
18134 (target_alias): Use @target_noncanonical@.
18135 (site.exp): Don't set host_alias.
18136 * aclocal.m4: Remove contents. Include acx.m4.
18137 * configure: Regenerated.
18138 * configure.ac: Use ACX_NONCANONICAL_TARGET.
18139
e1c2defa
NS
181402006-06-13 Nathan Sidwell <nathan@codesourcery.com>
18141
e63b55d1
NS
18142 * lib/gdb.exp (gdb_load_cmd): New.
18143
5600ea19
NS
18144 * gdb.base/fileio.c: Add system(NULL) test.
18145 * gdb.base/fileio.exp: Check it.
18146
e1c2defa
NS
18147 * gdb.base/break.c: Add 10a breakpoint at }
18148 * gdb.base/break.exp: Add test for breakpoint at }
18149 * gdb.cp/anon-union.cc: Add code at end of function.
18150 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
18151 * gdb.mi/var-cmd.c: Add code at end of function.
18152 * gdb.mi/mi-var-display.exp: Adjust end of next.
18153 * gdb.mi/mi2-var-display.exp: Likewise.
18154 * gdb.base/fileio.c: Add stop function and insert calls at
18155 stopping places.
18156 * gdb.base/fileio.exp: Breakpoint stop function and remove
18157 explicit line number references.
18158
6c0112ec
JB
181592006-05-19 Joel Brobecker <brobecker@adacore.com>
18160
a9c64011
AS
18161 * gdb.base/del.exp (test_delete_alias): New function.
18162 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 18163
154189a4
FF
181642006-05-18 Fred Fish <fnf@specifix.com>
18165
18166 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
18167 required. Check for spurious output after program exits normally.
18168
582e64c2
FF
181692006-05-17 Fred Fish <fnf@specifix.com>
18170
18171 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
18172 gdb_load, so it works in the simulator.
18173
8ef6493a
FF
181742006-05-11 Fred Fish <fnf@specifix.com>
18175
18176 * gdb.base/bang.exp: Ignore unexpected output between the
18177 "program exited normally" and the gdb prompt, as many other
18178 tests do.
18179
692b141c
MK
181802006-05-07 Mark Kettenis <kettenis@gnu.org>
18181
18182 * gdb.base/help.exp: Make "delete checkpoint" part option for
18183 "help d" and "help delete" tests.
18184
540b8a30
UW
181852006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18186
a9c64011 18187 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
18188 expected output in some mi_gdb_test statements.
18189 * gdb.mi/mi2-basics.exp: Likewise.
18190
9b6462d9
JB
181912006-05-05 Joel Brobecker <brobecker@adacore.com>
18192
18193 * gdb.base/del.c: New file.
18194 * gdb.base/del.exp: New testcase.
18195
954de43b
DM
181962006-05-05 David S. Miller <davem@sunset.davemloft.net>
18197
18198 * gdb.base/break.exp: Do not assume a breakpoint on
18199 main will actually be in $srcfile when optimizing.
1303f75e
DM
18200 * gdb.base/savedregs.exp: Do not require that the dummy
18201 frame location match up to a symbol and source file location.
c3242428
DM
18202 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
18203 will get printed without a mi_cmd_data_list_register_values prefix.
18204 (*-data-list-register-*): Correct regular expressions to expect the new
18205 pseudo d? floating point registers.
18206 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 18207
c7e64c9a
DJ
182082006-05-05 Christophe Lyon <christophe.lyon@st.com>
18209
18210 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
18211 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
18212 is allocated by the compiler.
18213 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
18214 anons, e, anone to force their allocation by the compiler.
18215
182162006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
18217
18218 * gdb.base/help.exp: Update expected text for help d and
18219 help delete.
18220
27ce9a6d
MK
182212006-05-02 Mark Kettenis <kettenis@gnu.org>
18222
18223 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
18224 NetBSD/ELF targets.
18225
8608915f
MK
182262006-04-30 Mark Kettenis <kettenis@gnu.org>
18227
18228 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
18229 single-step breakpoint fails; make this a KFAIL on
18230 sparc*-*-openbsd*.
18231 * gdb.base/siginfo.exp: Likewise.
18232 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18233
b8db102d
MS
182342006-04-26 Michael Snyder <msnyder@redhat.com>
18235
18236 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
18237 which may have to consume output from other forks.
18238 Add tests to make sure that "delete fork" succeeded.
18239
c702009a
MS
182402006-04-20 Michael Snyder <msnyder@redhat.com>
18241
18242 * 2006-03-22 Jim Blandy <jimb@redhat.com>
18243 Add support for the Renesas M32C and M16C.
18244
18245 * gdb.asm/asm-source.exp: Add m32c target.
18246 * gdb.asm/m32c.inc: Support for m32c target.
18247
e28493f2
AS
182482006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
18249
18250 * gdb.base/commands.exp (recursive_source_test): New test.
18251
880da185
DM
182522006-04-04 David S. Miller <davem@sunset.davemloft.net>
18253
18254 * gdb.base/float.exp: Add pattern for sparc targets.
18255
61d9b92f
DJ
182562006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18257
18258 * gdb.base/commands.exp (stray_arg0_test): New test.
18259
bd717df8
PB
182602006-03-30 Paul Brook <paul@codesourcery.com>
18261
18262 * gdb.mi/mi-until.exp: kfail broken until command.
18263 * gdb.mi/mi2-until.exp: Ditto.
18264
ec793d3c
NR
182652006-03-27 Nick Roberts <nickrob@snap.net.nz>
18266
18267 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
18268
831004b7
AO
182692006-03-08 Alexandre Oliva <aoliva@redhat.com>
18270
18271 * gdb.base/prelink.exp: Anchor tested-for regular expression
18272 on gdb prompt.
18273
effe49a0
PB
182742006-03-07 Paul Brook <paul@codesourcery.com>
18275
18276 * gdb.base/assign.exp: Correct fail message.
18277
e5461016
PB
182782006-03-07 Paul Brook <paul@codesourcery.com>
18279
18280 * lib/compiler.c: Extract armcc version number.
18281 * lib/compiler.cc: Ditto.
18282
fc91c6c2
PB
182832006-03-07 Paul Brook <paul@codesourcery.com>
18284
18285 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
18286 additional_flags=-w.
18287 * gdb.arch/altivec-regs.exp: Ditto.
18288 * gdb.arch/e500-abi.exp: Ditto.
18289 * gdb.arch/e500-regs.exp: Ditto.
18290 * gdb.base/all-bin.exp: Ditto.
18291 * gdb.base/annota1.exp: Ditto.
18292 * gdb.base/annota3.exp: Ditto.
18293 * gdb.base/args.exp: Ditto.
18294 * gdb.base/arithmet.exp: Ditto.
18295 * gdb.base/assign.exp: Ditto.
18296 * gdb.base/async.exp: Ditto.
18297 * gdb.base/bang.exp: Ditto.
18298 * gdb.base/break.exp: Ditto.
18299 * gdb.base/call-rt-st.exp: Ditto.
18300 * gdb.base/completion.exp: Ditto.
18301 * gdb.base/cond-expr.exp: Ditto.
18302 * gdb.base/condbreak.exp: Ditto.
18303 * gdb.base/consecutive.exp: Ditto.
18304 * gdb.base/define.exp: Ditto.
18305 * gdb.base/display.exp: Ditto.
18306 * gdb.base/ena-dis-br.exp: Ditto.
18307 * gdb.base/environ.exp: Ditto.
18308 * gdb.base/eval-skip.exp: Ditto.
18309 * gdb.base/info-proc.exp: Ditto.
18310 * gdb.base/jump.exp: Ditto.
18311 * gdb.base/logical.exp: Ditto.
18312 * gdb.base/long_long.exp: Ditto.
18313 * gdb.base/maint.exp: Ditto.
18314 * gdb.base/miscexprs.exp: Ditto.
18315 * gdb.base/pc-fp.exp: Ditto.
18316 * gdb.base/pointers.exp: Ditto.
18317 * gdb.base/relational.exp: Ditto.
18318 * gdb.base/reread.exp: Ditto.
18319 * gdb.base/sect-cmd.exp: Ditto.
18320 * gdb.base/sep.exp: Ditto.
18321 * gdb.base/sepdebug.exp: Ditto.
18322 * gdb.base/until.exp: Ditto.
18323 * gdb.base/whatis-exp.exp: Ditto.
18324 * gdb.cp/annota2.exp: Ditto.
18325 * gdb.cp/annota3.exp: Ditto.
18326 * gdb.trace/actions.exp: Ditto.
18327 * gdb.trace/backtrace.exp: Ditto.
18328 * gdb.trace/circ.exp: Ditto.
18329 * gdb.trace/collection.exp: Ditto.
18330 * gdb.trace/deltrace.exp: Ditto.
18331 * gdb.trace/infotrace.exp: Ditto.
18332 * gdb.trace/limits.exp: Ditto.
18333 * gdb.trace/packetlen.exp: Ditto.
18334 * gdb.trace/passc-dyn.exp: Ditto.
18335 * gdb.trace/passcount.exp: Ditto.
18336 * gdb.trace/report.exp: Ditto.
18337 * gdb.trace/save-trace.exp: Ditto.
18338 * gdb.trace/tfind.exp: Ditto.
18339 * gdb.trace/tracecmd.exp: Ditto.
18340 * gdb.trace/while-dyn.exp: Ditto.
18341 * gdb.trace/while-stepping.exp: Ditto.
18342 * lib/gdb.exp: Ditto.
18343 (gdb_compile): Handle nowarning option.
18344
5f4a23d9
AO
183452006-03-07 Alexandre Oliva <aoliva@redhat.com>
18346
18347 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
18348 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
18349 Rename executable to prelinkt. Don't re-prelink if we didn't
18350 get a core file. Test prelink -u exit status to tell whether
18351 prelinking failed. Use gdb_test_multiple.
18352
9733fc94
DJ
183532006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
18354
18355 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
18356 (do_tests): Call it.
18357
cc10cae3
AO
183582006-02-28 Alexandre Oliva <aoliva@redhat.com>
18359
18360 * gdb.base/prelink.exp: New test.
18361 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
18362
15c46491
WZ
183632006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
18364
18365 * gdb.fortran/derived-type.f90: New file.
18366 * gdb.fortran/derived-type.exp: New testcase.
18367
5c9f7ded
DJ
183682006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
18369
18370 * gdb.base/default.exp: Allow ';' as a directory separator.
18371
5b96932b
AS
183722006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
18373
18374 * gdb.base/help.exp (help add-symbol-file): Update.
18375
1986bccd
AS
183762006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
18377
18378 * gdb.base/help.exp (help load): Update expected results.
18379
a8b7528f
FF
183802006-02-19 Fred Fish <fnf@specifix.com>
18381
18382 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
18383 specifix hex value as part of results.
18384 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 18385
f8261448
FF
183862006-02-16 Fred Fish <fnf@specifix.com>
18387
18388 * gdb.base/whatis.c: Define variables using typedefs char_addr,
18389 ushort_addr, and slong_addr, so the typedefs are not optimized
18390 away.
18391 * gdb.base/whatis.exp: Add tests using type name for struct type,
18392 union type, enum type, and typedef.
a9c64011 18393
31d8bdd2
MK
183942006-02-13 Mark Kettenis <kettenis@gnu.org>
18395
18396 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
18397
34e41e63
JB
183982006-02-13 Jim Blandy <jimb@redhat.com>
18399
18400 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
18401 case where it takes two "next" commands to skip past the init
18402 call.
18403
ac6e4f31
FF
184042006-02-12 Fred Fish <fnf@specifix.com>
18405
18406 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
18407 to handle cases where it takes two "next" commands to skip
18408 past the init call.
18409
2db2d571
JB
184102006-02-07 Joel Brobecker <brobecker@adacore.com>
18411
18412 * gdb.ada/array_return.exp: Mark the last test as expected to fail
18413 on hppa32 targets.
18414
38fcd64c
DJ
184152006-02-06 Vladimir Prus <ghost@cs.msu.su>
18416
18417 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
18418 field.
18419
1315ad46
MK
184202006-01-29 Mark Kettenis <kettenis@gnu.org>
18421
18422 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
18423
5625b943
DJ
184242006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
18425
18426 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
18427 files.
18428
80df1bbe
DJ
184292006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
18430
18431 * gdb.cp/maint.exp: Set complaints to a positive value.
18432
9078e690
DJ
184332006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
18434
18435 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
18436 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
18437 function name.
18438
9c903399
DJ
184392006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
18440
18441 * gdb.base/checkpoint.c: Update copyright notice. Include
18442 <stdlib.h>.
18443
761ae4d6
JB
184442006-01-04 Jim Blandy <jimb@redhat.com>
18445
18446 * gdb.asm/asm-source.exp: Independently provide default values for
18447 asm-flags and debug-flags. Use 'string equal' to do the
18448 comparison, not the implicit expr's '==' operator. Remove
18449 now-unneeded assignments to asm-flags. In h8300 case, place
18450 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
18451
099ac3dd
MS
184522006-01-04 Michael Snyder <msnyder@redhat.com>
18453
18454 * gdb.base/checkpoint.c: New file.
18455 * gdb.base/checkpoint.exp: New file.
18456 * gdb.base/multi-fork.c: New file.
18457 * gdb.base/multi-fork.exp: New file.
18458 * gdb.base/pi.txt: New file (data for checkpoint.c test).
18459
f4d85314
FF
184602006-01-04 Fred Fish <fnf@specifix.com>
18461
18462 * gdb.base/ptype.c (foo): Add typedef.
18463 (intfoo): Add function.
18464 * gdb.base/ptype1.c: New file.
18465 * gdb.base/ptype.exp: Handle compilation and linking with two
18466 source files. Test that proper type for "foo" is found based
18467 on source context rather than first match found in symtabs.
18468
a1b06f35
MK
184692005-12-28 Mark Kettenis <kettenis@gnu.org>
18470
18471 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
18472 * gdb.asm/openbsd.inc: Indent commands.
18473
d082a1e2
MK
184742005-12-26 Mark Kettenis <kettenis@gnu.org>
18475
c65016bd
MK
18476 * gdb.base/freebpcmd.exp: Increase timeout.
18477
d082a1e2
MK
18478 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
18479
d3c32a0e
DJ
184802005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
18481
18482 * gdb.base/default.exp: Update check for "show version".
18483
9fdb1f50
RC
184842005-12-09 Randolph Chung <tausq@debian.org>
18485
18486 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
18487 * gdb.asm/pa64.inc: New file.
18488
5f2c56f7
RC
184892005-12-09 Randolph Chung <tausq@debian.org>
18490
18491 * gdb.asm/common.inc: Indent commands.
18492 * gdb.asm/asmsrc1.s: Likewise.
18493 * gdb.asm/asmsrc2.s: Likewise.
18494
8117349c
RC
184952005-12-09 Randolph Chung <tausq@debian.org>
18496
18497 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
18498 (get_addr_of_sym): Remove duplicate print.
18499 (gen_core): xfail hppa*-*-hpux*, update expected output.
18500 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
18501 * gdb.arch/pa64-nullify.s: New file.
18502
8f07f25a
RC
185032005-12-09 Randolph Chung <tausq@debian.org>
18504
18505 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
18506
55b39184
DJ
185072005-12-07 Christophe Lyon <christophe.lyon@st.com>
18508
18509 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
18510 code generation for these functions.
18511 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
18512 error message.
18513
31e2b00f
AS
185142005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
18515
18516 * gdb.base/help.exp (help b, help br, help bre, help brea)
18517 (help break): Update the expected message.
18518
c3d0b56e
SC
185192005-11-11 Stephane Carrez <stcarrez@nerim.fr>
18520
18521 * gdb.asm/m68hc11.inc: Setup the data section.
18522 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
18523 script for this test.
18524 (m6812-*-*): Likewise.
18525
36ae0ea9
RC
185262005-11-09 Randolph Chung <tausq@debian.org>
18527
18528 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
18529
9d6f42e9
WZ
185302005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
18531
18532 * gdb.base/break.exp: Fix a comment typo.
18533
e2126a14
EZ
185342005-11-03 Jim Blandy <jimb@redhat.com>
18535
a9c64011
AS
18536 Checked in by Elena Zannoni <ezannoni@redhat.com>
18537
889bf7c5 18538 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 18539
e0ac7199
CV
185402005-11-02 Corinna Vinschen <vinschen@redhat.com>
18541
18542 * gdb.arch/gdb1558.c: Include stdio.h.
18543
31d3fb18
MK
185442005-10-31 Mark Kettenis <kettenis@gnu.org>
18545
18546 * gdb.asm/asm-source.exp: Use -e instead of --entry.
18547
e52b687c
MK
185482005-10-31 Mark Kettenis <kettenis@gnu.org>
18549
18550 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
18551
f4711d79
PG
185522005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
18553
a9c64011
AS
18554 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18555 vscr" tests to better match output.
f4711d79 18556
987a9106
JB
185572005-10-12 Jim Blandy <jimb@redhat.com>
18558
18559 * gdb.base/structs.exp (any): New function.
18560 (test_struct_returns): Don't make any assumptions at all about
18561 what value the function returns when GDB can't set the return
18562 value.
18563
2336bb58
JB
185642005-10-09 Joel Brobecker <brobecker@adacore.com>
18565
18566 * gdb.ada/arrayidx/p.adb: New file.
18567 * gdb.ada/arrayidx.exp: New testcase
18568
185692005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
18570
18571 * gdb.ada/array_return/pck.ads: New file.
18572 * gdb.ada/array_return/pck.adb: New file.
18573 * gdb.ada/array_return/p.adb: New file.
18574 * gdb.ada/array_return.exp: New testcase.
18575
705335ea
JB
185762005-10-03 Joel Brobecker <brobecker@adacore.com>
18577
a9c64011
AS
18578 * gdb.base/arrayidx.c: New file.
18579 * gdb.base/arrayidx.exp: New testcase.
705335ea 18580
11ee9940
NR
185812005-09-29 Nick Roberts <nickrob@snap.net.nz>
18582
18583 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
18584 frames-invalid and breakpoints-invalid are no longer generated
18585 with level 3 so don't expect them in the output.
18586
39fb8e9e
BR
185872005-09-27 Bob Rossi <bob@brasko.net>
18588
a9c64011 18589 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
18590 from test. Escape the | in mi_gdb_test call.
18591 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
18592 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
18593 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
18594 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
18595 expected regex's in mi_gdb_test calls.
18596 * lib/mi-support.exp: Remove arbitrary .* from tests.
18597 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
18598 Fully anchor GDB/MI expected results in mi_gdb_test.
18599 * lib/gdb.exp (string_to_regexp): Escape the ] character.
18600 * gdb.base/sizeof.exp: Remove escape character. Correct test.
18601
2af48f68
PB
186022005-09-26 Paul Brook <paul@codesourcery.com>
18603
18604 * long_long.exp: Exclude eabi targets from arm FPA float format test.
18605
f34502bc
WZ
186062005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
18607
18608 * bfp-test.c: New file.
18609 * bfp-test.exp: New testcase.
18610
ca929517
WZ
186112005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
18612
18613 * gdb.fortran/subarray.exp: New testcase to test the evaluation
18614 of subarray and substring variable.
18615 * gdb.fortran/subarray.f: New source file for the test of subarray
18616 and substring variable evaluation.
18617 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
18618 of string constant.
18619
c761af65
DJ
186202005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
18621
18622 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
18623 copyright dates.
18624
561d7a1d
PG
186252005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
18626
18627 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
18628 powerpc altivec' test with an almost identical 'info vector' test.
18629
b2b64cc9
PG
186302005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
18631
a9c64011
AS
18632 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18633 vscr" tests to match output.
b2b64cc9 18634
6ac4d15a
PG
186352005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
18636
a9c64011
AS
18637 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
18638 output.
6ac4d15a 18639
40e55bef
BR
186402005-09-11 Bob Rossi <bob@brasko.net>
18641
889bf7c5
PA
18642 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
18643 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
18644 commands that return an MI output command and an asyncronous MI output
18645 command.
40e55bef
BR
18646 * gdb.mi/mi-console.exp: Ditto.
18647
3c7385ec
BR
186482005-09-11 Bob Rossi <bob@brasko.net>
18649
18650 * gdb.mi/mi-var-child.c: Include <string.h>.
18651
a6cd0eb3
DJ
186522005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
18653
18654 * killed.exp: Correct gdb_expect syntax.
18655
2f168eed
CV
186562005-08-09 Corinna Vinschen <vinschen@redhat.com>
18657
18658 * lib/mi-support.exp (mi_gdb_load): Fix typo.
18659
ecd3fd0f
BR
186602005-08-02 Bob Rossi <bob@brasko.net>
18661
18662 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
18663 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
18664 Change tests to inferior-tty-set/show.
18665 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
18666 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
18667 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
18668 inferior. Use mi_gdb_test to get GDB and Inferior output.
18669 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
18670 descriptor.
18671 (mi_inferior_tty_name): Add inferior PTY file name.
18672 (mi_gdb_start): Add INFERIOR_PTY parameter.
18673 (mi_gdb_test): Add IPATTERN parameter.
18674
f1ea48cb 186752005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 18676
f1ea48cb
BR
18677 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
18678 parameter to mi_gdb_test.
18679 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
18680
6e650a67
DJ
186812005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18682
18683 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
18684 struct_declarations.
18685 * gdb.mi/mi-var-child.exp: Step over the initialization of
18686 struct_declarations.
18687
8be260b6
DJ
186882005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18689
18690 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
18691 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
18692 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
18693 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
18694 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
18695 file.
18696
4e660f07
NR
186972005-07-27 Nick Roberts <nickrob@snap.net.nz>
18698
18699 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
18700 (do_children_tests): Assign values to the extra elements.
18701
18702 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
18703 them for tests for "-var-update --no-values" and
a9c64011 18704 "-var-update --all-values".
4e660f07
NR
18705 Add test for "-var-list-children --simple-values".
18706
18707 * gdb.mi/basics.c (callee4): Add integer array D[3]...
18708
18709 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
18710 "-stack-list-locals --simple-values" Improve doc strings and
18711 comments.
18712
6bdae935
MK
187132005-07-18 Mark Kettenis <kettenis@gnu.org>
18714
598b7a6f
MK
18715 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
18716 *-*-openbsd*.
18717 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
18718
6bdae935
MK
18719 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
18720 sigaltsatck'.
18721
1323e929 187222005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 18723
1323e929
BR
18724 * gdb.base/default.exp (tty): Changed output of command.
18725 * gdb.base/help.exp (help tty): Ditto.
18726
b1a9c082
MK
187272005-07-12 Mark Kettenis <kettenis@gnu.org>
18728
18729 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
18730
10a844a2
MK
187312005-07-10 Mark Kettenis <kettenis@gnu.org>
18732
18733 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
18734 -stack-select-frame without arguments.
18735 (test_stack_frame_listing): Add test for newly implemented command
18736 -stack-info-frame.
18737
3cb3b8df
BR
187382005-07-06 Bob Rossi <bob@brasko.net>
18739
18740 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
18741 command.
18742 (Copyright): Update copyright.
18743
a0c5fbcf
WZ
187442005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
18745
18746 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
18747 tests to evaluate exponentiation expression.
18748
984971d0
AS
187492005-06-29 Andreas Schwab <schwab@suse.de>
18750
18751 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
18752 main to avoid warnings.
18753
18754 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
18755
fe03833f
NR
187562005-06-20 Nick Roberts <nickrob@snap.net.nz>
18757
18758 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
18759 -stack-select-frame without arguments.
18760 (test_stack_frame_listing): Add test for newly implemented command
18761 -stack-info-frame.
a9c64011 18762
7a55f279
WZ
187632005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
18764
0ffa0ea5
DJ
18765 * gdb.fortran/array-element.f: New file.
18766 * gdb.fortran/array-element.exp: New testcase.
7a55f279 18767
26585198
DJ
187682005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
18769
18770 * gdb.base/bigcore.exp: Correct checks for systems which can
18771 not dump a large core file.
18772
c1bd25fd
DJ
187732005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
18774
18775 * gdb.base/relocate.c: Add a copyright notice.
18776 (dummy): Remove.
18777 * gdb.base/relocate.exp: Test printing the values of variables
18778 from a relocatable file.
18779
589e074d
DJ
187802005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
18781
18782 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
18783 excess MI output after an error.
18784
0915f927
JB
187852005-05-29 Joel Brobecker <brobecker@adacore.com>
18786
18787 * gdb.arch/alpha-step.c: New file.
18788 * gdb.arch/alpha-step.exp: New testcase.
18789
76ff342d
DJ
187902005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
18791 Dennis Brueni <dennis@slickedit.com>
18792
18793 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
18794 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
18795 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
18796 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
18797 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
18798 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
18799 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
18800
96b0c7ac
DJ
188012005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
18802 Wu Zhou <woodzltc@cn.ibm.com>
18803
18804 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
18805 IBM's xlc compiler.
18806 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
18807 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
18808
f21565d2
JB
188092005-05-13 Jim Blandy <jimb@redhat.com>
18810
18811 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
18812 calling gdb_suppress_entire_file.
18813 * gdb.base/charset.exp: Same.
18814 * gdb.base/call-rt-st.exp: Same.
18815
6006a3a1
BR
188162005-05-05 Bob Rossi <bob_rossi@cox.net>
18817
18818 * lib/gdb.exp (fullname_syntax): Added global regex.
18819 (fullname_syntax_POSIX): Ditto.
18820 (fullname_syntax_UNC): Ditto.
18821 (fullname_syntax_DOS_CASE): Ditto.
18822 (fullname_syntax_DOS): Ditto.
18823 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
18824 fullname_syntax variable to scope and use it.
18825 (test_file_list_exec_source_files): Ditto.
18826 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
18827
c3b69c04
DJ
188282005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
18829
18830 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
18831
3c95e6af
PG
188322004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
18833
a9c64011
AS
18834 * lib/gdb.exp (skip_altivec_tests): New function, based on
18835 check_vmx_hw_available from the GCC testsuite.
18836 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
18837 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 18838
78df6c56
JB
188392005-05-02 Jim Blandy <jimb@redhat.com>
18840
18841 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
18842 calling gdb_suppress_entire_file.
18843
1690f9cf
DJ
188442005-04-30 Randolph Chung <tausq@debian.org>
18845
18846 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
18847 Slightly relax "sem_post" name checking.
18848
5ea106f7
PG
188492005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
18850
18851 * gdb.base/unload.exp: Use new shared library infrastructure.
18852
bf7234cf
PG
188532005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
18854
18855 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 18856 infrastructure.
bf7234cf 18857
547b869a
CV
188582005-04-29 Corinna Vinschen <vinschen@redhat.com>
18859
18860 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
18861 * gdb.asm/h8300.inc: New file.
18862
f07e55f0
PG
188632005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
18864
18865 * gdb.base/shlib-call.exp: Change to use new shared library
18866 infrastructure.
18867
3cbba3d1
PG
188682005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
18869
a9c64011
AS
18870 * gdb.base/pending.exp: Change to use new shared library
18871 infrastructure.
3cbba3d1 18872
ed6df200
PG
188732005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
18874
a9c64011
AS
18875 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
18876 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 18877
8c8f4ebe
PG
188782005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
18879
a9c64011
AS
18880 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
18881 shared objects being adjusted and update copyright years.
8c8f4ebe 18882
607fbc54
DJ
188832005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
18884
18885 * ChangeLog: Correct some 2003-01-13 dates.
18886 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
18887 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
18888 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
18889 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
18890 gdb.trace/tfind.exp: Update copyright years.
18891
57bf0e56
DJ
188922005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
18893 Daniel Jacobowitz <dan@codesourcery.com>
18894
18895 * lib/gdb.exp (gdb_compile): Handle shlib=.
18896 (gdb_compile_shlib): New function.
18897
9b593790
PG
188982005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
18899
a9c64011 18900 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 18901
9494c6a5
DJ
189022005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
18903
18904 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
18905 gdb.server.
18906 * configure.ac: Likewise.
18907 * configure: Regenerated.
18908 * gdb.gdbserver/Makefile.in: Moved to...
18909 * gdb.server/Makefile.in: ... here.
18910 * gdb.gdbserver/server.c: Moved to...
18911 * gdb.server/server.c: ... here.
18912 * gdb.gdbserver/server-run.exp: Moved to...
18913 * gdb.server/server-run.exp: ... here.
18914
6f8eac0e
DJ
189152005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
18916
18917 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
18918 * configure.ac: Create gdb.gdbserver/Makefile.
18919 * configure: Regenerated.
18920 * lib/gdbserver-support.exp: New file, derived from
18921 config/gdbserver.exp.
18922 * config/gdbserver.exp: Use gdbserver-support.exp.
18923 * gdb.gdbserver/Makefile.in: New file.
18924 * gdb.gdbserver/server.c: New file.
18925 * gdb.gdbserver/server-run.exp: New file.
18926
6e87504d
PG
189272005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
18928
a9c64011
AS
18929 * lib/gdb.exp (test_compiler_info): Return compiler_info
18930 if no arguments are given.
6e87504d 18931
d1779be4
PG
189322005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
18933
18934 * gdb.arch/altivec-abi.exp: Check for compiler and set
18935 use altivec' flag accordingly.
18936 * gdb.arch/altivec-regs.exp: Likewise.
18937
88750304
DJ
189382005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
18939
18940 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
18941
f3fb768d
AS
189422005-03-27 Andreas Schwab <schwab@suse.de>
18943
18944 * gdb.base/bigcore.c (main): Add missing mode argument in open
18945 call.
18946
7e813ac5
DJ
189472005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
18948
18949 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
18950 downloads.
18951 * config/gdbserver.exp (gdb_load): Likewise.
18952
8e3049aa
PB
189532005-03-14 Paul Brook <paul@codesourcery.com>
18954
18955 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
18956 targets.
18957
a9df7c44
JB
189582005-03-09 Joel Brobecker <brobecker@adacore.com>
18959
18960 * gdb.dwarf2/dup-psym.S: New file.
18961 * gdb.dwarf2/dup-psym.exp: New testcase.
18962
9f0d94e8
JB
189632005-03-09 Joel Brobecker <brobecker@adacore.com>
18964
18965 * gdb.ada/exec_changed/first.adb: New file.
18966 * gdb.ada/exec_changed/second.adb: New file.
18967 * gdb.ada/exec_changed.exp: New testcase.
18968
5f579bc5
NS
189692005-03-08 Nathan Sidwell <nathan@codesourcery.com>
18970
36e9969c
NS
18971 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
18972 (A2): New class.
18973 (main): Test operator+.
18974 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
18975 breakpoint test.
18976
5f579bc5
NS
18977 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
18978 * gdb.base/signull.exp: Disable if gdb,nosignals.
18979 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
18980 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
18981 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
18982 * gdb.mi/mi2-console.exp: Likewise.
18983 * gdb.trace/collection.exp (run_trace_experiment): Consume the
18984 continue output at start.
18985 (gdb_collect_locals_test): Robustify regexp.
18986 * gdb.trace/passc-dyn.exp: Fix comment typo.
18987 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
18988
be46087e
CV
189892005-03-08 Corinna Vinschen <vinschen@redhat.com>
18990
18991 * gdb.asm/asm-source.exp: Add iq2000 case.
18992 * gdb.asm/iq2000.inc: New file.
18993
384e1a61 189942005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 18995
384e1a61
MI
18996 * gdb.base/command.exp: Change hardcoded value to regular expression.
18997 * gdb.base/float.exp: Add powerpc to the list of targets checked.
18998
584b6e9e
DJ
189992005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
19000
19001 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
19002 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
19003 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
19004 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
19005 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
19006
ab5b5d61
MK
190072005-03-05 Mark Kettenis <kettenis@gnu.org>
19008
19009 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
19010 changes.
19011
ae051c1b
PG
190122004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
19013
a9c64011
AS
19014 * lib/compiler.c: Add test for IBM's xlc compiler.
19015 * lib/compiler.cc: Likewise.
ae051c1b 19016
3f0f6ed2
JB
190172004-02-24 Joel Brobecker <brobecker@adacore.com>
19018
19019 * gdb.ada/fixed_points.exp: Create compilation object directory
19020 before running the test.
19021 * gdb.ada/null_record.exp: Likewise.
19022 * gdb.ada/packed_array.exp: Likewise.
19023 * gdb.ada/start.exp: Likewise.
19024
724f452b
JB
190252005-02-15 Joel Brobecker <brobecker@adacore.com>
19026
19027 * gdb.ada/packed_array/pa.adb: New file.
19028 * gdb.ada/packed_array.exp: New testcase.
19029
57f5cdfb 190302005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 19031
1f393151
MK
19032 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
19033 files.
19034
ebdda337
MK
19035 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
19036 on *-*-openbsd*. Correctly match whitespace in regukar
19037 expressions.
19038
cf309262
DJ
190392005-02-10 Daniel Jacobowitz <dan@debian.org>
19040
19041 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
19042 PR exp/1821
19043 * gdb.base/gdb1821.c: New test file.
19044 * gdb.base/gdb1821.exp: New test file.
19045
3be49e7a
JB
190462005-02-09 Joel Brobecker <brobecker@adacore.com>
19047
19048 * gdb.base/start.c: New file.
19049 * gdb.base/start.exp: New testcase.
19050
e292e67d
JB
190512005-02-09 Joel Brobecker <brobecker@adacore.com>
19052
19053 * gdb.ada/start/dummy.adb: New file.
19054 * gdb.ada/start.exp: New testcase.
19055
dbdfa66c
CV
190562005-02-09 Corinna Vinschen <vinschen@redhat.com>
19057
19058 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
19059 for printing symbols and statistics.
19060 Add test for using relative pathnames in "maint print msymbols" test.
19061 Mark "maint info sections DATA" XFAIL on Cygwin.
19062 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
19063 tests.
19064
d7941671
AC
190652005-02-09 Andreas Schwab <schwab@suse.de>
19066
19067 Committed by Andrew Cagney <cagney@gnu.org>
19068 * gdb.base/remotetimeout.exp: New file.
19069
74e5ef44
MK
190702005-02-07 Mark Kettenis <kettenis@gnu.org>
19071
19072 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
19073
464dd14d
JB
190742005-02-03 Joel Brobecker <brobecker@adacore.com>
19075
19076 * gdb.ada/gnat_ada.gpr: New file.
19077 * gdb.ada/gnat_ada.gin: Delete, no longer used.
19078 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
19079 * configure.ac: No longer generate gnat_ada.gpr.
19080 * configure: Regenerate.
19081 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
19082 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
19083 * gdb.ada/null_record/bar.ads: Likewise.
19084 * gdb.ada/null_record/bar.adb: Likewise.
19085 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
19086 * gdb.ada/null_record.exp (testdir): New variable.
19087 (testfile): executable is now in testdir subdirectory.
19088 (srcfile): Use full path to the main compilation unit.
19089 * gdb.ada/fixed_points.exp: Same changes as above.
19090
30d756ae
NR
190912005-02-03 Nick Roberts <nickrob@snap.net.nz>
19092
19093 * gdb.base/interp.exp: New test.
19094
9d799f85
AC
190952005-01-24 Andrew Cagney <cagney@gnu.org>
19096
19097 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
19098
15656118
AC
190992005-01-19 Andrew Cagney <cagney@gnu.org>
19100
a892c31b
AC
19101 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
19102 configure.ac not configure.in.
19103
15656118
AC
19104 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
19105 of powerpc*-*-*.
19106 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 19107 * gdb.base/list.exp (test_list_function)
15656118
AC
19108 (test_list_filename_and_function): Ditto.
19109 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
19110
a7b01baf
AC
191112005-01-16 Andrew Cagney <cagney@gnu.org>
19112
17d92a02
AC
19113 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
19114
a7b01baf
AC
19115 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
19116
bc8332bb
AC
191172005-01-14 Andrew Cagney <cagney@gnu.org>
19118
19119 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
19120 * gdb.mi/mi2-var-cmd.exp: Ditto.
19121
4d074752
CV
191222005-01-10 Corinna Vinschen <vinschen@redhat.com>
19123
19124 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
19125
bec39cab
AC
191262005-01-07 Andrew Cagney <cagney@gnu.org>
19127
19128 * configure.ac: Rename configure.in, require autoconf 2.59.
19129 * configure: Re-generate.
19130 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
19131 * gdb.stabs/configure: Re-generate.
19132 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
19133 * gdb.hp/configure: Re-generate.
19134 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
19135 autoconf 2.59.
19136 * gdb.hp/gdb.objdbg/configure: Re-generate.
19137 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
19138 autoconf 2.59.
19139 * gdb.hp/gdb.defects/configure: Re-generate.
19140 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
19141 autoconf 2.59.
19142 * gdb.hp/gdb.compat/configure: Re-generate.
19143 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
19144 autoconf 2.59.
19145 * gdb.hp/gdb.base-hp/configure: Re-generate.
19146 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
19147 autoconf 2.59.
19148 * gdb.hp/gdb.aCC/configure: Re-generate.
19149
f10b16d4
JB
191502004-12-15 Jim Blandy <jimb@redhat.com>
19151
19152 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
19153 under NPTL when there is debugging info available for libpthread.
19154
fb6e1814
JG
191552004-12-13 Jerome Guitton <guitton@gnat.com>
19156
19157 * gdb.ada/fixed_points.c: New file.
19158 * gdb.ada/fixed_points.exp: New file.
19159
fe46cd3a
RC
191602004-12-03 Randolph Chung <tausq@debian.org>
19161
19162 * gdb.arch/pa-nullify.exp: New file.
19163 * gdb.arch/pa-nullify.s: New file.
19164
8de0841b
RC
191652004-11-30 Randolph Chung <tausq@debian.org>
19166
19167 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
19168 instead of "tbug". Fix regexp to work properly with gdb_test.
19169
c8170782
PH
191702004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
19171
19172 * gdb.base/bitfields2.exp: New test.
19173 * gdb.base/bitfields2.c: New file.
19174
954269c2
RE
191752004-11-28 Richard Earnshaw <rearnsha@arm.com>
19176
19177 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
19178
0107feed
RC
191792004-11-16 Randolph Chung <tausq@debian.org>
19180
19181 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
19182
f073ae8c
DJ
191832004-11-14 Daniel Jacobowitz <dan@debian.org>
19184
19185 * gdb.threads/threadapply.exp: Correct "macro details" test.
19186
19ad59e7
JJ
191872004-11-11 Jeff Johnston <jjohnstn@redhat.com>
19188
19189 * gdb.threads/threadapply.exp: New test.
19190 * gdb.threads/threadapply.c: New file.
19191
9cf0961b
MK
191922004-11-07 Mark Kettenis <kettenis@gnu.org>
19193
19194 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
19195 frames.
19196
c789492a
FL
191972004-11-05 Felix Lee <felix+log1@specifixinc.com>
19198
19199 * gdb.base/cursal.exp: New file.
19200 * gdb.base/cursal.c: New file.
19201
a1e167bb
AC
192022004-11-03 Andrew Cagney <cagney@gnu.org>
19203
19204 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
19205
b7cbf173
MK
192062004-10-30 Mark Kettenis <kettenis@gnu.org>
19207
19208 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
19209 NetBSD/ELF targets.
19210
88f9d34f
JB
192112004-10-29 Joel Brobecker <brobecker@gnat.com>
19212
19213 * gdb.threads/bp_in_thread.c: New file, copied from
19214 pthread_cond_wait.c.
19215 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
19216 file, rather than reusing the .c file from another testcase.
19217
ca7d6a0c
JB
192182004-10-20 Joel Brobecker <brobecker@gnat.com>
19219
19220 * gdb.ada/null_record.exp: Check where we stopped after
19221 sending the start command, instead of where the associated
19222 temporary breakpoint was inserted.
19223
0d863d03
AC
192242004-10-14 Andrew Cagney <cagney@gnu.org>
19225
19226 * gdb.mi/gdb701.c (main): Return 0.
19227
d11e72cb
DJ
192282004-10-13 Daniel Jacobowitz <dan@debian.org>
19229
d40539a4 19230 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 19231
e1923096
JJ
192322004-10-12 Jeff Johnston <jjohnstn@redhat.com>
19233
19234 * gdb.threads/schedlock.c: Add comment markers to use to find
19235 line numbers.
19236 * gdb.threads/schedlock.exp: Adjust regex to handle the new
19237 comments.
19238 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
19239 breakpoint lines.
19240
ec8ba2c9
DJ
192412004-10-12 Daniel Jacobowitz <dan@debian.org>
19242
19243 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
19244
0eb3658b
DJ
192452004-10-12 Daniel Jacobowitz <dan@debian.org>
19246
19247 * configure.in: Add gdb.dwarf2.
19248 * configure: Regenerated.
19249 * Makefile.in: Add gdb.dwarf2.
19250 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
19251 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
19252 gdb.dwarf2/file1.txt: New files.
19253
a271cc33
OF
192542004-10-11 Orjan Friberg <orjanf@axis.com>
19255
a9c64011 19256 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
19257 of "run", since the latter doesn't work with remote targets. Adjust
19258 the breakpoint numbering accordingly.
19259 * gdb.threads/pthread_cond_wait.exp: Ditto.
19260
895ce074
MC
192612004-10-08 Michael Chastain <mec.gnu@mindspring.com>
19262
19263 * gdb.base/overlays.exp: Update copyright years.
19264
6be3092d
KI
192652004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
19266
19267 * gdb.base/overlays.exp: Disable if target is Linux.
19268
e05389b8
FL
192692004-10-06 Felix Lee <felix+log1@specifixinc.com>
19270
19271 * config/gdbserver.exp (gdb_load): Use right filename on remote.
19272
73cb587d
KI
192732004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
19274
19275 * gdb.asm/asm-source.exp: Add m32r-linux target.
19276 * gdb.asm/m32r-linux.inc: New file.
19277
3c0edcdc
AC
192782004-09-24 Andrew Cagney <cagney@redhat.com>
19279 David Anderson <anderson@redhat.com>
19280
19281 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
19282 command fails, assume things will work.
19283 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
19284 (_GNU_SOURCE): Define.
19285 (print_unsigned, print_hex): Change parameter to "long long".
19286 (print_byte_count): New function, use to print byte counts.
19287 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
19288 O_LARGEFILE.
19289 (main): Compute an upper bound on a corefile in max_core_size.
19290 Limit memory chunk size to max_core_size. Limit total memory
19291 allocated to max_core_size.
19292
4bb3667f
AC
192932004-09-23 Andrew Cagney <cagney@gnu.org>
19294
19295 * gdb.base/bigcore.exp: Replace the code that creates a corefile
19296 from a separate process with code that creates a corefile by
19297 making the inferior dump core.
19298
60fe1a51
MK
192992004-09-23 Mark Kettenis <kettenis@gnu.org>
19300
19301 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
19302 block.
19303
8e937346
MC
193042004-09-23 Michael Chastain <mec.gnu@mindspring.com>
19305
19306 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
19307 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
19308 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
19309 Likewise.
19310
7213f6d6
JJ
193112004-09-20 Jeff Johnston <jjohnstn@redhat.com>
19312
19313 * gdb.java/jprint.exp: New test case for java inferior call.
19314 * gdb.java/jprint.java: Ditto.
19315
eac69dca
JB
193162004-09-15 Joel Brobecker <brobecker@gnat.com>
19317
19318 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
19319
22227696
MC
193202004-09-14 Michael Chastain <mec.gnu@mindspring.com>
19321
19322 * gdb.threads/killed.c: Include <stdlib.h>.
19323 * gdb.threads/pthreads.c: Likewise.
19324
7dd403a4
MC
193252004-09-14 Michael Chastain <mec.gnu@mindspring.com>
19326
19327 * gdb.threads/killed.c: Add copyright notice.
19328
33f2d567
JM
193292004-09-10 Jason Molenda (jmolenda@apple.com)
19330
a9c64011
AS
19331 * gdb.base/define.exp: Two new tests to verify zero space chars
19332 after 'if' and 'while' commands in a user-defined command is correctly
19333 parsed.
33f2d567 19334
e05b62ac
AC
193352004-09-08 Andrew Cagney <cagney@gnu.org>
19336
19337 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
19338 delivery test with duplicate at end of file.
19339
9cbe82da
MK
193402004-09-06 Mark Kettenis <kettenis@jive.nl>
19341
19342 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
19343
564803d9
MC
193442004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19345
19346 * config/hppro.exp: Removed.
19347
7c6807ce
MC
193482004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19349
19350 * config/sparclet.exp: Removed.
19351
bf7e26dd
MC
193522004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19353
19354 * config/udi.exp: Removed.
19355
714e341b
MC
193562004-09-02 Michael Chastain <mec.gnu@mindspring.com>
19357
19358 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
19359 of "exp_continue".
19360 (advancei): Likewise.
19361
1236e623
JJ
193622004-09-01 Jeff Johnston <jjohnstn@redhat.com>
19363
19364 * gdb.base/unload.exp: Fix so messages aren't duplicated.
19365
3bdcad15
MI
193662004-09-01 Manoj Iyer <manjo@austin.ibm.com>
19367
228af206 19368 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
19369 to check for nodebug in executable.
19370 * gdb.gdb/observer.exp (setup_test): Likewise.
19371 * gdb.gdb/selftest.exp (test_with_self): Likewise.
19372 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
19373
c72b934c
AC
193742004-09-01 Andrew Cagney <cagney@gnu.org>
19375
19376 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19377 files.
19378
edd9b715
JJ
193792004-09-01 Jeff Johnston <jjohnstn@redhat.com>
19380
19381 * gdb.base/unload.exp: Fix expected warning message to match
19382 latest format.
19383
fb4ce06b
CV
193842004-09-01 Corinna Vinschen <vinschen@redhat.com>
19385
19386 * gdb.base/call-rt-st.exp: Fix typos.
19387
ce78e7c3
MI
193882004-08-31 Manoj Iyer <manjo@austin.ibm.com>
19389
19390 * gdb.threads/thread_check.exp: New testcase.
19391 * gdb.threads/thread_check.c: New testcase.
19392
2dedb159
AC
193932004-08-31 Andrew Cagney <cagney@gnu.org>
19394
19395 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
19396 (skip_to_handler_entry): New procedures. Test stepping into a
19397 handler when the breakpoint is at the handler's entry point.
19398
68f53502
AC
193992004-08-30 Andrew Cagney <cagney@gnu.org>
19400
19401 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
19402 gdb/1757.
19403
3e3ffd2b
MC
194042004-08-27 Michael Chastain <mec.gnu@mindspring.com>
19405
19406 With code from Manoj Iyer <manjo@austin.ibm.com>:
19407 * lib/gdb.exp (gdb_file_cmd): Return more information in the
19408 return value. Add an arm for "no debugging symbols found".
19409 Change a stray "error" to "perror".
19410 (gdb_run_cmd): Adapt to new return value.
19411 * gdb.base/remote.exp: Adapt to new return value.
19412 * gdb.gdb/complaints.exp: Likewise.
19413 * gdb.gdb/observer.exp: Likewise.
19414 * gdb.gdb/selftest.exp: Likewise.
19415 * gdb.gdb/xfullpath.exp: Likewise.
19416
4b6f5fd2
JB
194172004-08-27 Joel Brobecker <brobecker@gnat.com>
19418
19419 * gdb.threads/bp_in_thread.exp: New testcase.
19420
e5b25496
MC
194212004-08-27 Michael Chastain <mec.gnu@mindspring.com>
19422
19423 Fix PR testsuite/1735.
19424 * gdb.threads/schedlock.c (thread_function): Add a cast
19425 to suppress a gcc warning.
19426 * gdb.threads/thread-specific.c (thread_function): Likewise.
19427
934353d6
MC
194282004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19429
19430 * gdb.base/unload.c: Include <stdlib.h>.
19431
f98a0aef 194322004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 19433
f98a0aef 19434 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
19435 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
19436 synchronized after the "return".
19437
5a2e8882
MC
194382004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19439
19440 * gdb.mi/basics.c: Include <stdio.h>.
19441 * gdb.mi/pthreads.c: Include <stdlib.h>.
19442 * gdb.mi/var-cmd.c: Include <stdlib.h>.
19443
a9640423
MC
194442004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19445
19446 * gdb.threads/schedlock.c: Add copyright notice.
19447
b04e311d
AC
194482004-08-25 Andrew Cagney <cagney@gnu.org>
19449
19450 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
19451 (skip_over_handler, breakpoint_over_hander): New test procedures.
19452 (advance, advancei): Add a proper prefix, do not use
19453 rerun_to_main.
19454 * gdb.base/sigstep.c (main): Change to use an infinite loop.
19455
7c27f15b
MC
194562004-08-24 Michael Chastain <mec.gnu@mindspring.com>
19457
19458 * gdb.mi/basics.c: Add copyright notice.
19459 * gdb.mi/var-cmd.c: Add copyright notice.
19460
fffc87ae
MC
194612004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19462
19463 * lib/gdb.exp: Remove signed_keyword_not_used.
19464 * lib/compiler.c: Likewise.
19465 * lib/compiler.cc: Likewise.
19466
d782e0bf
MC
194672004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19468
19469 * gdb.base/whatis.c: Remove conditional disabling of "signed".
19470 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
19471
96033e83
MC
194722004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19473
19474 * gdb.base/whatis.c: Add copyright notice.
19475
cf38c229
MK
194762004-08-20 Mark Kettenis <kettenis@gnu.org>
19477
19478 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
19479 it to skip the breakpoints encoded in the inline assembly.
19480
f4b49756
MC
194812004-08-20 Michael Chastain <mec.gnu@mindspring.com>
19482
19483 * Makefile.in: Add gdb.fortran.
19484
2f193b69
MC
194852004-08-20 Michael Chastain <mec.gnu@mindspring.com>
19486
19487 * gdb.base/call-sc.exp (test_scalar_returns):
19488 Fix cut-and-paste glitch in "Make fun return now".
19489
89a237cb
MC
194902004-08-17 Michael Chastain <mec.gnu@mindspring.com>
19491
19492 * configure.in: Add gdb.fortran.
19493 * configure: Regenerate.
19494 * gdb.fortran/Makefile.in: New file.
19495 * lib/gdb.exp (skip_fortran_tests): New procedure.
19496
469aff8e
MC
194972004-08-17 Michael Chastain <mec.gnu@mindspring.com>
19498
19499 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
19500 reference to bug-gnu@prep.ai.mit.edu.
19501 * gdb.mi/mi-var-child.exp: Likewise.
19502 * gdb.mi/mi-var-cmd.exp: Likewise.
19503 * gdb.mi/mi-var-display.exp: Likewise.
19504 * gdb.mi/mi2-var-block.exp: Likewise.
19505 * gdb.mi/mi2-var-child.exp: Likewise.
19506 * gdb.mi/mi2-var-cmd.exp: Likewise.
19507 * gdb.mi/mi2-var-display.exp: Likewise.
19508
00b51b9f
MK
195092004-08-15 Mark Kettenis <kettenis@gnu.org>
19510
19511 * gdb.base/unload.c (main): Make local variable msg const.
19512
45f07fef
MC
195132004-08-15 Michael Chastain <mec.gnu@mindspring.com>
19514
19515 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
19516 to bug-gnu@prep.ai.mit.edu.
19517 * gdb.mi/mi-disassemble.exp: Likewise.
19518 * gdb.mi/mi-eval.exp: Likewise.
19519 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
19520 default line number.
19521 * gdb.mi/mi-return.exp: Likewise.
19522 * gdb.mi/mi-simplerun.exp: Likewise.
19523 * gdb.mi/mi-stack.exp: Likewise.
19524 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
19525 number with explicit range test.
19526 * gdb.mi/mi-watch.exp: Likewise.
19527 * gdb.mi/mi2-break.exp: Likewise.
19528 * gdb.mi/mi2-cli.exp: Likewise.
19529 * gdb.mi/mi2-disassemble.exp: Likewise.
19530 * gdb.mi/mi2-eval.exp: Likewise.
19531 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
19532 default line number.
19533 * gdb.mi/mi2-return.exp: Likewise.
19534 * gdb.mi/mi2-simplerun.exp: Likewise.
19535 * gdb.mi/mi2-stack.exp: Likewise.
19536 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
19537 number with explicit range test.
19538 * gdb.mi/mi2-watch.exp: Likewise.
19539
dd8c8ee7
MC
195402004-08-15 Michael Chastain <mec.gnu@mindspring.com>
19541
19542 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
19543 * gdb.cp/m-static.exp: Likewise.
19544 * gdb.cp/rtti.exp: Likewise.
19545
4e838464
MK
195462004-08-14 Mark Kettenis <kettenis@gnu.org>
19547
19548 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
19549
8d8cb839
EZ
195502004-08-14 Eli Zaretskii <eliz@gnu.org>
19551
19552 * ChangeLog: Prefix Local Variables with semi-colons and indent
19553 the reference to older ChangeLog files, to fix fontification in
19554 Emacs.
19555
deea8bb0
MC
195562004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19557
19558 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
19559 * gdb.mi/mi2-break.exp: Likewise.
19560
c3297504
MC
195612004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19562
19563 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
19564
25808999
MC
195652004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19566
19567 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
19568
226a8d71
MC
195692004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19570
19571 * gdb.cp/classes.exp: Remove unused declarations. Just let
19572 test names default instead of providing special names. Remove
19573 extraneous demangler test.
19574
37fdf854
JJ
195752004-08-12 Jeff Johnston <jjohnstn@redhat.com>
19576
19577 * gdb.base/unload.exp: New test for breakpoints in dynamically
19578 loaded libraries.
19579 * gdb.base/unload.c: Ditto.
19580 * gdb.base/unloadshr.c: Ditto.
19581
2d3a7986
MC
195822004-08-12 Michael Chastain <mec.gnu@mindspring.com>
19583
19584 * gdb.cp/classes.exp (test_ptype_class_objects): Call
19585 cp_test_ptype_class.
19586 (test_enums): Likewise.
19587
c72b934c
AC
195882004-08-10 Andrew Cagney <cagney@gnu.org>
19589
19590 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19591 files.
19592
cc503c8a
AC
195932004-08-10 Andrew Cagney <cagney@gnu.org>
19594
19595 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
19596 init_malloc call.
19597
902f2ccb
MC
195982004-08-10 Michael Chastain <mec.gnu@mindspring.com>
19599
19600 * ChangeLog: Add copyright notice. The notice is copied
19601 from emacs 21.3 top level ChangeLog.
19602
78c90502
MC
196032004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19604
19605 * lib/cp-support.exp: New file.
19606 * lib/cp-support.exp (cp_test_type_class): New function.
19607 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
19608 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
19609 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
19610 cp_test_ptype_class.
19611
88e5ea78
MC
196122004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19613
19614 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
19615 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
19616 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
19617 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
19618 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
19619 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
19620 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
19621 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
19622 gdb.mi/mi2-watch.exp: Update copyright years.
19623
6a89fc9c
MK
196242004-08-09 Mark Kettenis <kettenis@gnu.org>
19625
19626 * gdb.base/sigaltstack.exp: Provide proper anchoring.
19627
1482e0de
MC
196282004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19629
19630 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
19631 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
19632 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
19633 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
19634 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
19635 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
19636 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
19637 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
19638 gdb.mi/mi-watch.exp: Update copyright years.
19639
1a5ce3f3
DJ
196402004-08-08 Daniel Jacobowitz <dan@debian.org>
19641
19642 PR gdb/1738
19643 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
19644 from a breakpoint with a pending signal.
19645
04f6ecf2
DJ
196462004-08-08 Daniel Jacobowitz <dan@debian.org>
19647
19648 PR gdb/1736
19649 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
19650 * gdb.base/sigaltstack.exp (finish_test): Consume output until
19651 the prompt.
19652 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
19653
54d90d35
DJ
196542004-08-08 Daniel Jacobowitz <dan@debian.org>
19655
19656 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
19657
d2f6abb0
DJ
196582004-08-08 Daniel Jacobowitz <dan@debian.org>
19659
19660 PR gdb/1736
19661 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
19662 for i?86-*-linux*.
19663
5598c03d
DJ
196642004-08-08 Daniel Jacobowitz <dan@debian.org>
19665
19666 * gdb.arch/i386-prologue.exp: Compile without debug information.
19667
c6fee705
MC
196682004-08-08 Michael Chastain <mec.gnu@mindspring.com>
19669
19670 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
19671 rather than asking gdb to search.
19672
dd90efdb
MC
196732004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19674
19675 * gdb.base/gcore.c: Include <string.h>.
19676
1e84bec1
MC
196772004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19678
19679 * gdb.base/gcore.c: Add copyright notice.
19680
e425eb2b
MC
196812004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19682
19683 * gdb.base/freebpcmd.c: Include <stdio.h>.
19684 * gdb.base/long_long.c: Include <string.h>.
19685 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
19686 * gdb.base/siginfo.c: Include <string.h>.
19687 * gdb.base/sigstep.c: Include <string.h>.
19688
cb9aaed5
MC
196892004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19690
19691 * gdb.base/complex.c: Include <stdlib.h>.
19692
55944f3d
MC
196932004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19694
19695 * gdb.base/complex.c: Add copyright notice.
19696
7b2953d9
MC
196972004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19698
19699 * gdb.base/charset.c: Include <stdlib.h>.
19700
c9133d23
MC
197012004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19702
19703 * gdb.base/auxv.c: Include <stdlib.h>.
19704
0a8490ad
MC
197052004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19706
19707 * gdb.base/auxv.c: Add copyright notice.
19708
3426d5ec
MC
197092004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19710
19711 * gdb.base/coremaker.c: Add copyright notice.
19712 * gdb.base/coremaker2.c: Add copyright notice.
19713
8da195dd
AC
197142004-08-04 Andrew Cagney <cagney@gnu.org>
19715
19716 * gdb.base/store.exp: Update copyright.
19717 (check_set, up_set, check_struct, up_struct): Add a prefix to test
19718 names, do not import gdb_prompt.
19719
8d394f98
AC
197202004-08-01 Andrew Cagney <cagney@gnu.org>
19721
19722 Fix PR testsuite/1729.
19723 * gdb.base/dump.exp: Add test name to callers of capture_value, do
19724 not use capture_value with value 4.
19725 (capture_value): Add optional test name parameter.
19726 (test_reload_saved_value, test_restore_saved_value): Use $msg as
19727 the prefix, pass to capture_value.
19728
b6702b23
MK
197292004-08-01 Mark Kettenis <kettenis@gnu.org>
19730
19731 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
19732 * gdb.arch/i386-prologue.c (standard): New prototype and function.
19733 (main): Call new function.
19734
c203e0ca
MC
197352004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19736
19737 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
19738
a7995a30
MC
197392004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19740
19741 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
19742
9366563b
MC
197432004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19744
b6eeaf26 19745 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
19746 Accept more values of vtbl pointer. Remove some messages
19747 about "obsolete gcc or gdb".
19748
2fc1f950
MC
197492004-07-30 Michael Chastain <mec.gnu@mindspring.com>
19750
19751 * gdb.cp/classes.exp: Accept more varieties of ptype output.
19752
c724d49b
MC
197532004-07-30 Michael Chastain <mec.gnu@mindspring.com>
19754
19755 * gdb.base/asm-source.exp: Properly convert target board
19756 debug flags from gcc format to binutils format.
19757
736b0fce
MK
197582004-07-28 Mark Kettenis <kettenis@gnu.org>
19759
19760 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
19761 gdb1718". PR backtrace/1718 partially fixed.
19762
5633ea5c
JJ
197632004-07-27 Jeff Johnston <jjohnstn@redhat.com>
19764
19765 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
19766
575eebb1
NC
197672004-07-26 Nick Clifton <nickc@redhat.com>
19768
19769 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
19770 good default value for a specific architecture is available then
19771 set it to that value. Otherwise default to the -gstabs switch.
19772 Remove the -g... switches from the asm-flags variable. Allow the
19773 target board info to override the value if it wants to. Pass the
19774 switch on the assembler command line.
19775
62104619
MK
197762004-07-23 Mark Kettenis <kettenis@gnu.org>
19777
19778 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
19779 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
19780 (main): Call new function.
19781
4a1135b8
MC
197822004-07-22 Michael Chastain <mec.gnu@mindspring.com>
19783
19784 Test for PR exp/1715.
19785 * gdb.base/radix.exp: Refactor common procedures. Make all
19786 test names unique. Change XFAIL to KFAIL.
19787
8a12c1f0
MC
197882004-07-20 Michael Chastain <mec.gnu@mindspring.com>
19789
19790 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
19791 * gdb.ada/gnat_ada.gin: ... to here.
19792 * configure.in: Use gnat_ada.gin.
19793 * configure: Regenerate.
19794
23b451cf
AC
197952004-07-20 Andrew Cagney <cagney@gnu.org>
19796
19797 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
19798 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
19799 XFAILs. Clean up test messages and comments. Check backtraces.
19800 Delete re-sync code.
19801
ab618a02
MC
198022004-07-19 Michael Chastain <mec.gnu@mindspring.com>
19803
19804 Fix PR cli/740.
19805 * gdb.base/annota1.exp: Honor gdb,nosignals.
19806 * gdb.base/annota3.exp: Likewise.
19807
46dad340
MC
198082004-07-19 Michael Chastain <mec.gnu@mindspring.com>
19809
19810 * lib/java.exp: Update copyright notice.
19811
756d8c70
AC
198122004-07-19 Andrew Cagney <cagney@gnu.org>
19813
19814 * gdb.base/selftest.exp: Copy file from here ...
19815 * gdb.gdb/selftest.exp: ... to here.
19816
586027e6
AC
198172004-07-16 Andrew Cagney <cagney@redhat.com>
19818
19819 * lib/insight-support.exp: Delete file.
19820 * lib/java.exp (java_init): Fix copyright.
19821
029d2200
AC
198222004-07-16 Andrew Cagney <cagney@gnu.org>
19823
19824 * gdb.base/restore.c: Append "prologue" to comments marking the a
19825 function's prologue.
19826 * gdb.base/restore.exp: Update copyright, re-indent.
19827 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
19828 callerN" prefix where needed. Update patterns that match a
19829 function's prologue.
19830
653b62c5
MC
198312004-07-16 Michael Chastain <mec.gnu@mindspring.com>
19832
19833 * gdb.base/restore.c: Add copyright notice.
19834
f7d690e5
AC
198352004-07-16 Andrew Cagney <cagney@gnu.org>
19836
19837 * gdb.base/logical.exp: Update copyright.
19838 (evaluate): New procedure. Use to re-implement tests using
19839 several tables.
19840
d629a7cb
MH
198412004-07-14 Martin Hunt <hunt@redhat.com>
19842
19843 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
19844 which fixes some problems where init.tcl was not found.
19845
9c7bb332
AC
198462004-07-13 Andrew Cagney <cagney@gnu.org>
19847
6bf46641
AC
19848 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
19849 (check_sizeof, check_valueof): Do not include the output in the
19850 test name. Use gdb_test.
19851 (get_valueof): Use gdb_test_multiple.
19852
c4ffd4c0
AC
19853 * gdb.base/step-test.exp: Update copyright. Use
19854 gdb_test_multiple. Ensure that test names do not include
19855 architecture dependent output.
19856
ab89363a
AC
19857 * gdb.gdb/observer.exp: Update copyright.
19858 (setup_test): Use gdb_test_multiple.
19859 (attach_first_observer, attach_second_observer)
19860 (attach_third_observer, detach_first_observer)
19861 (detach_second_observer, detach_third_observer)
19862 (reset_counters, check_counters): Make $message a prefix.
19863 (test_normal_stop_notifications): Add "args" parameter - a list of
19864 init functions to be called. Make $message a prefix,
19865 (test_observer_normal_stop): Change the message prefixes so that
19866 they are unique, pass the attach / detach procedures to
19867 test_normal_stop_notifications.
19868
ec58997a
AC
19869 * gdb.base/signull.exp (test_segv): Prefix all tests with
19870 "${name}". Clean up test messages.
19871
b475183b
AC
19872 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
19873
9c7bb332
AC
19874 * gdb.base/ena-dis-br.exp: Update copyright.
19875 (break_at): New function. Replace send_gdb with gdb_test,
19876 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
19877 ignore count, not stopped at bpt", with KFAIL.
19878
2dd95497
CV
198792004-07-13 Corinna Vinschen <vinschen@redhat.com>
19880
19881 * gdb.base/attach.exp: Remove cleanupfile handling.
19882
419e626b
AC
198832004-07-12 Andrew Cagney <cagney@gnu.org>
19884
19885 * gdb.base/annota1.exp: Cleanup corefile test name.
19886 * gdb.base/annota3.exp: Ditto.
19887
8b1b3228
AC
198882004-07-12 Andrew Cagney <cagney@gnu.org>
19889
78650829
AC
19890 * gdb.base/signals.exp: Clean up copyright, re-indent.
19891
8b1b3228
AC
19892 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
19893 gdb_test and gdb_test_multiple.
19894
935c2760
JJ
198952004-07-08 Jeff Johnston <jjohnstn@redhat.com>
19896
19897 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 19898 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
19899 provide line number info for first statement in main.
19900
1544280f
AC
199012004-07-08 Andrew Cagney <cagney@gnu.org>
19902
1279f4ff
AC
19903 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
19904
1544280f
AC
19905 * gdb.base/sigbpt.exp: Make the common part of each test name a
19906 prefix instead of suffix.
19907
bcc82369
BR
199082004-07-07 Bob Rossi <bob_rossi@cox.net>
19909
19910 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
19911 test from test_tbreak_creation_and_listing to
19912 test_file_list_exec_source_file
19913 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
19914 Changed name of test from test_tbreak_creation_and_listing to
19915 test_file_list_exec_source_file
19916
23f4b0aa
JJ
199172004-07-07 Jeff Johnston <jjohnstn@redhat.com>
19918
19919 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
19920 the jmisc() constructor instead of <init>.
19921 * gdb.java/jmisc1.exp: Ditto.
19922
56401cd5
AC
199232004-07-07 Andrew Cagney <cagney@gnu.org>
19924
19925 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
19926 corrupting the PC.
19927
44ae2f6a
MC
199282004-07-06 Michael Chastain <mec.gnu@mindspring.com>
19929
19930 * gdb.cp/templates.exp: Accept whitespace change in demangler
19931 output.
19932
45a83408
AC
199332004-07-06 Andrew Cagney <cagney@gnu.org>
19934
19935 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
19936
d205ad70
MC
199372004-07-02 Michael Chastain <mec.gnu@mindspring.com>
19938
19939 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
19940 * lib/compiler.cc: Likewise.
19941
06ea1a61
MC
199422004-06-30 Michael Chastain <mec.gnu@mindspring.com>
19943
19944 * lib/compiler.cc: Work around string preprocessing problem
19945 with old hp c++ compiler.
19946 * lib/compiler.c: Likewise.
19947
daab1251
CV
199482004-06-29 Corinna Vinschen <vinschen@redhat.com>
19949
19950 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
19951 directives to conditionalize symbol prefixing.
19952 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
19953 additional_flags handling. Add underscore prefix for Cygwin.
19954 * gdb.arch/i386-unwind.c: Use preprocessor directives to
19955 conditionalize symbol prefixing.
19956 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
19957 additional_flags handling. Add underscore prefix for Cygwin.
19958
cc984116
CV
199592004-06-29 Corinna Vinschen <vinschen@redhat.com>
19960
19961 * gdb.base/bigcore.exp: Skip test on Cygwin.
19962
c279b077
MC
199632004-06-28 Michael Chastain <mec.gnu@mindspring.com>
19964
19965 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
19966 formats for "info register". Use gdb_test_multiple. Fix
19967 the "invalid register" test.
19968
0e915747
CV
199692004-06-28 Corinna Vinschen <vinschen@redhat.com>
19970
19971 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
19972 PID for Cygwin. Add Cygwin specific strings to check for in some
19973 tests.
19974 (do_attach_tests): Add a test for user interaction when attaching
19975 to a process with no matching symbol table already loaded.
19976
11422c86
AC
199772004-06-26 Andrew Cagney <cagney@gnu.org>
19978
19979 Test PR java/1567 and PR java/1565.
19980 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
19981 * gdb.java/jmisc2.exp: Delete file.
19982
cefbce26
MC
199832004-06-26 Michael Chastain <mec.gnu@mindspring.com>
19984
19985 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
19986
e19f872c
CV
199872004-06-25 Corinna Vinschen <vinschen@redhat.com>
19988
19989 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
19990 attach process.
19991
d931ba3b
MC
199922004-06-23 Michael Chastain <mec.gnu@mindspring.com>
19993
19994 * gdb.cp/pr-1553.exp: Remove.
19995
aef68c48
MC
199962004-06-22 Michael Chastain <mec.gnu@mindspring.com>
19997
19998 * gdb.cp/pr-1553.cc: Remove.
19999 * gdb.cp/pr-1553.exp: Disable this test.
20000
8d5df71a
JB
200012004-06-20 Jim Blandy <jimb@redhat.com>
20002
a9c64011 20003 Fix PR testsuite/1680.
8d5df71a
JB
20004 * gdb.arch/i386-sse.exp: Properly quote curly braces in
20005 regular expressions.
20006
4ac6f39d
MC
200072004-06-19 Michael Chastain <mec.gnu@mindspring.com>
20008
20009 Fix PR testsuite/1679.
20010 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
20011 Issue an UNSUPPORTED result instead.
20012
1b413552
JB
200132004-06-18 Jim Blandy <jimb@redhat.com>
20014
20015 * gdb.base/charset.exp: Only send a control-C if we see a new
20016 prompt and incomplete command.
20017
6daa6ebd
MC
200182004-06-18 Michael Chastain <mec.gnu@mindspring.com>
20019
20020 * gdb.cp/pr-574.cc: Add copyright notice.
20021
51fa4ae0
JB
200222004-06-17 Jim Blandy <jimb@redhat.com>
20023
20024 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
20025 cases where the regexp has no groups; this grabs random text from
20026 the previous test suite, whatever that was.
20027
8fea26c5
MC
200282004-06-17 Michael Chastain <mec.gnu@mindspring.com>
20029
20030 * gdb.cp/printmethod.cc: Add copyright notice.
20031
1e3aeb41
MC
200322004-06-16 Michael Chastain <mec.gnu@mindspring.com>
20033
20034 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
20035
9d9030bc
AC
200362004-06-16 Andrew Cagney <cagney@gnu.org>
20037
20038 * gdb.base/signull.c: Update copyright. Include <string.h>.
20039 (bowler): Replace data_pointer with data_read
20040 and data_write cases. Add code_descriptor case.
20041 (zero, desc): New array and pointer.
20042 (data, code): Change to simple pointers.
20043 * gdb.base/signull.exp: Fix probe pattern matching a function
20044 descriptor SIGSEGV. Replace data_pointer with data_read and
20045 data_write tests.
20046
acd4ad44
AC
200472004-06-16 Andrew Cagney <cagney@gnu.org>
20048
20049 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
20050
08fd625c
MC
200512004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20052
20053 * gdb.base/long_long.c: Add copyright notice.
20054
1903502c
MC
200552004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20056
20057 * gdb.base/long_long.exp: Remove reference to
20058 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
20059 to gdb_breakpoint and gdb_continue_to_breakpoint.
20060
83313cb1
JB
200612004-06-14 Jim Blandy <jimb@redhat.com>
20062
20063 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
20064 endian case.
20065
1bf404ef
AC
200662004-06-14 Andrew Cagney <cagney@gnu.org>
20067
20068 * gdb.base/gcore.exp (capture_command_output): Delete the always
20069 passing tests containing inferior values.
20070 * gdb.base/ending-run.exp: Do not include the breakpoint address
20071 in the test message. Update copyright.
20072 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
20073 size in the test name, use gdb_test_multiple. Update copyright.
20074
ef220b33
MC
200752004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20076
20077 * gdb.cp/ref-types.cc: Add copyright notice.
20078
4f70a4c9
MC
200792004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20080
20081 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
20082 hp_aCC_compiler.
20083 * lib/compiler.cc: Likewise.
20084 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
20085 'set' commands. Log diagnostics for other lines. Set
20086 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
20087
335928ac
MC
200882004-06-13 Michael Chastain <mec.gnu@mindspring.com>
20089
20090 * gdb.cp/try_catch.cc: Add copyright notice.
20091
2efb12e8
MC
200922004-06-12 Michael Chastain <mec.gnu@mindspring.com>
20093
20094 * gdb.cp/userdef.cc: Add copyright notice.
20095
0bbed51a
MC
200962004-06-11 Michael Chastain <mec.gnu@mindspring.com>
20097
20098 * gdb.cp/virtfunc.cc: Add copyright notice.
20099
e12a46c9
RC
201002004-06-11 Randolph Chung <tausq@debian.org>
20101
20102 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
20103 problem.
20104
338e05af
AC
201052004-06-10 Andrew Cagney <cagney@gnu.org>
20106
20107 * lib/compiler.cc, lib/compiler.c: Append either
20108 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
20109 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
20110 instead of gcc-3-3.
20111
dc3f10cb
AC
201122004-06-09 Andrew Cagney <cagney@gnu.org>
20113
b4d946af
AC
20114 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
20115 gdb/1455, bug is specific to "long long" and "double".
a9c64011 20116
dc3f10cb
AC
20117 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
20118 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
20119 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
20120 fixed.
20121
b5c0bfa2
AC
201222004-06-09 Andrew Cagney <cagney@gnu.org>
20123
20124 * gdb.base/structs.exp (test_struct_returns): Replace
20125 "return_value_unknown" and "finish_value_unknown" by
20126 "return_value_known" and "finish_value_known". Instead of
20127 "return_value_unknown" iff "finish_value_unknown", check
20128 "return_value_known" implies "finish_value_known".
20129
caeb605f
MH
201302004-06-08 Martin Hunt <hunt@redhat.com>
20131
20132 * gdb.base/float.exp: Add pattern for mips targets.
20133
c892bb64
RC
201342004-06-08 Randolph Chung <tausq@debian.org>
20135
20136 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
20137 message for unknown architectures more clear.
20138
48306d3e
JB
201392004-06-08 Joel Brobecker <brobecker@gnat.com>
20140
20141 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
20142 start the execution of the program.
20143
83ecb59f
JB
201442004-06-07 Jim Blandy <jimb@redhat.com>
20145
20146 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
20147 * gdb.arch/i386-cpuid.h: New helper file.
20148
55264cb4
RC
201492004-06-07 Randolph Chung <tausq@debian.org>
20150
20151 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
20152 has started.
20153
23cadb28
RM
201542004-06-04 Roland McGrath <roland@redhat.com>
20155
20156 Fix PR gdb/1647.
20157 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
20158 differently to be robust to output buffering differences.
20159
51d01eda
MC
201602004-06-04 Michael Chastain <mec.gnu@mindspring.com>
20161
20162 * gdb.threads/pthreads.exp: Update copyright years.
20163 (check_control_c): Change asynchronous 'after' to synchronous.
20164
f4fc3b93
RM
201652004-06-04 Roland McGrath <roland@redhat.com>
20166
20167 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
20168 next gdb prompt.
20169
4013522b
MC
201702004-06-02 Michael Chastain <mec.gnu@mindspring.com>
20171
20172 Fix PR gdb/1636.
20173 * gdb.threads/manythreads.exp: Change asynchronous 'after'
20174 calls to synchronous.
20175
7a8f1e6b
JB
201762004-05-26 Jim Blandy <jimb@redhat.com>
20177
20178 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
20179
81bb3443
RC
201802004-05-24 Randolph Chung <tausq@debian.org>
20181
20182 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
20183 * gdb.asm/pa.inc: New file.
20184
8f5a3103
MK
201852004-05-22 Mark Kettenis <kettenis@gnu.org>
20186
20187 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
20188
734b8fe8 201892004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 20190 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
20191
20192 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
20193 GDB prompt.
20194
725603e1
UW
201952004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20196
f4fc3b93 20197 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
20198 setjmp/longjmp. Use sigaction instead of signal.
20199
8b923272 202002004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 20201 Michael Snyder <msnyder@redhat.com>
8b923272
JB
20202
20203 * gdb.threads/pthread_cond_wait.c: New file.
20204 * gdb.threads/pthread_cond_wait.exp: New testcase.
20205
8bfabb04
AC
202062004-05-13 Andrew Cagney <cagney@redhat.com>
20207
20208 * gdb.base/signull.exp, gdb.base/signull.c: New files.
20209 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
20210
42edda50
AC
202112004-05-11 Andrew Cagney <cagney@redhat.com>
20212
20213 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
20214 fixed but revealed gdb/1639.
20215
d303a6c7
AC
202162004-05-10 Andrew Cagney <cagney@redhat.com>
20217
20218 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
20219 func1" and "next to 2nd alarm", kernel bug avoided.
20220
bf08c2a1
DJ
202212004-05-10 Daniel Jacobowitz <dan@debian.org>
20222
20223 PR external/1568
20224 * gdb.base/bigcore.exp: Check the size of the dumped core file.
20225 XFAIL if it is smaller than bytes_allocated.
20226 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
20227 (main): Make chunks_allocated unsigned. Correct comment.
20228
c0586a34
JB
202292004-05-07 Joel Brobecker <brobecker@gnat.com>
20230
20231 * gdb.arch/powerpc-aix-prologue.c: New file.
20232 * gdb.arch/powerpc-aix-prologue.exp: New file.
20233
f2785d12
JB
202342004-05-07 Jim Blandy <jimb@redhat.com>
20235
20236 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
20237 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
20238
bd7f6e30
JB
202392004-05-06 Joel Brobecker <brobecker@gnat.com>
20240
20241 * gdb.base/sep.exp: No longer setup_kfail when the program was
20242 built with dwarf2.
20243
0a5e7efe
JI
202442004-05-05 Jim Ingham <jingham@apple.com>
20245
20246 * gdb.base/pending.exp: Make sure pending breakpoints
20247 preserve the ignore count.
f4fc3b93 20248
a8958849
MK
202492004-04-27 Jerome Guitton <guitton@gnat.com>
20250
20251 * i386-prologue.exp: Add testcase for jump instruction as first
20252 instruction of the real code.
20253 * i386-prologue.c (jump_at_beginning): New function.
20254
7e103f5b
MK
202552004-04-28 Mark Kettenis <kettenis@gnu.org>
20256
20257 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
20258 x86_64-*-*.
20259
5d38b224
MK
202602004-04-28 Mark Kettenis <kettenis@gnu.org>
20261
20262 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
20263 i*86-*-*.
20264
0ef32fd9
MK
202652004-04-25 Mark Kettenis <kettenis@gnu.org>
20266
20267 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
20268 expression that checks the return type.
20269
71d7dd7c
AC
202702004-04-23 Andrew Cagney <cagney@redhat.com>
20271
20272 * gdb.base/call-sc.exp: New test of scalar call/return values.
20273 * gdb.base/call-sc.c: Ditto.
20274
1e9f977e
JJ
202752004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20276
20277 * gdb.threads/manythreads.c: Reduce thread stack size.
20278
899d9e3a
JJ
202792004-04-23 Jeff Johnston <jjohnstn@redhat.com>
20280
20281 * gdb.threads/manythreads.c: Add copyright notice.
20282
61bcae62
AC
202832004-04-23 Andrew Cagney <cagney@redhat.com>
20284
20285 * gdb.base/siginfo.exp: Better handle step out of signal.
20286 * gdb.base/sigstep.exp: Ditto.
20287
7339a42e 202882004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 20289 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
20290
20291 * gdb.threads/manythreads.c: New testcase.
20292 * gdb.threads/manythreads.exp: Ditto.
20293
5c98409b
JB
202942004-04-22 Jim Blandy <jimb@redhat.com>
20295
20296 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
20297 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
20298
3b611f1a
MC
202992004-04-21 Michael Chastain <mec.gnu@mindspring.com>
20300
20301 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
20302
f0fd9238
AC
203032004-04-21 Andrew Cagney <cagney@redhat.com>
20304
20305 * gdb.base/sigstep.c: New file.
20306 * gdb.base/sigstep.exp: New file.
20307
90990674
JB
203082004-04-16 Joel Brobecker <brobecker@gnat.com>
20309
20310 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
20311 call to observer_notify_normal_stop.
20312
78cef34b
AC
203132004-04-15 Andrew Cagney <cagney@redhat.com>
20314
20315 * gdb.base/siginfo.c: New file.
20316 * gdb.base/siginfo.exp: New file.
20317
d2343407
JB
203182004-04-12 J. Brobecker <brobecker@gnat.com>
20319
20320 * gdb.base/sep.exp: Fix typo in comment.
20321
a2dba3c8
JB
203222004-04-12 J. Brobecker <brobecker@gnat.com>
20323
20324 * gdb.base/sep.c: New file.
20325 * gdb.base/sep-proc.c: New file.
20326 * gdb.base/sep.exp: New testcase.
20327
15f7b60e
MK
203282004-04-09 Mark Kettenis <kettenis@gnu.org>
20329
20330 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
20331 support.
20332
44f4de1a
AC
203332004-04-05 Andrew Cagney <cagney@redhat.com>
20334
20335 * gdb.base/sigaltstack.c: New file.
20336 * gdb.base/sigaltstack.exp: New file.
20337
ef04f396
JB
203382004-04-04 Joel Brobecker <brobecker@gnat.com>
20339
20340 * gdb.base/foll-fork.exp: Update the expected output for
20341 "help set follow-fork-mode", to match a change that was made
20342 to the help of this variable on 2004-01-13.
20343
d40d2c92
JB
203442004-04-01 Joel Brobecker <brobecker@gnat.com>
20345
20346 * lib/ada.exp: Add copyright notice.
20347 * bar.ads: Likewise.
20348 * bar.adb: Likewise.
20349 * null_record.adb: Likewise.
20350 * null_record.exp: Likewise.
20351 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
20352
f86ef5a3
JB
203532004-04-01 Joel Brobecker <brobecker@gnat.com>
20354
20355 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
20356 * configure: Regenerate.
20357
414e70e3
JB
203582004-04-01 Joel Brobecker <brobecker@gnat.com>
20359
20360 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
20361 to build the application. Remove the message printed when in
20362 verbose mode, redundant with the UNSUPPORTED message above.
20363
f0aaee49
JB
203642004-03-31 Joel Brobecker <brobecker@gnat.com>
20365
20366 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
20367 * gdb.ada (null_record.exp): New testcase.
20368
ac81cb54
JB
203692004-03-31 Joel Brobecker <brobecker@gnat.com>
20370
20371 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
20372
854af2f7
JB
203732004-03-31 Joel Brobecker <brobecker@gnat.com>
20374
20375 * gdb.ada: New subdirectory.
20376 * gdb.ada/Makefile.in: New file.
20377 * gdb.ada/gnat_ada.gpr.in: New file.
20378
034cb681
JB
203792004-03-31 Joel Brobecker <brobecker@gnat.com>
20380
20381 * lib/ada.exp: New file.
20382
78a1a894
DJ
203832004-03-24 Daniel Jacobowitz <drow@mvista.com>
20384
20385 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
20386 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
20387
4b2b3b3e
AC
203882004-03-22 Andrew Cagney <cagney@redhat.com>
20389
20390 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
20391 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
20392 Problem identified by Ulrich Weigand.
20393
23c73aa3
DC
203942004-03-17 David Carlton <carlton@kealia.com>
20395
20396 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
20397 PR c++/826.
20398
d63a86f8
RM
203992004-03-16 Roland McGrath <roland@redhat.com>
20400
20401 * gdb.base/auxv.exp: New file.
20402 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
20403
0e02aa50
DC
204042004-03-12 David Carlton <carlton@kealia.com>
20405
20406 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
20407 * gdb.cp/pr-1553.cc: Ditto.
20408 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
20409 pass branch.
20410
c20b71be
MC
204112004-03-12 Michael Chastain <mec.gnu@mindspring.com>
20412
20413 * gdb.cp/templates.exp: Accept more template types.
20414
c7414a01
MC
204152004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20416
20417 From Corinna Vinschen with modifications.
20418 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
20419 local variable obj_with_enum.
20420 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
20421 results with obj_with_enum.
20422
ed69573c
MC
204232004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20424
20425 * gdb.cp/classes.cc: New file, copied from misc.cc.
20426 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
20427
28301461
MC
204282004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20429
20430 * gdb.cp/misc.cc: Add copyright notice.
20431
1198ecbe
DC
204322004-03-05 David Carlton <carlton@kealia.com>
20433
20434 * gdb.cp/rtti.exp: Add 'print *obj3' test.
20435 * gdb.cp/rtti.h: Update copyright.
20436 (namespace n2::n3): New.
20437 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
20438 (n2::n3::func3): New.
20439 (main): Call n2::n3::func3.
20440 * gdb.cp/rtti2.cc: Update copyright.
20441 (n2::create3): New.
20442
9e08c470
MK
204432004-03-04 Mark Kettenis <kettenis@gnu.org>
20444
20445 * gdb.asm/openbsd.inc: Fix typo.
20446
4bebc3aa
FF
204472004-03-03 Fred Fish <fnf@redhat.com>
20448
20449 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
20450 "val" instead of unused "size". Update copyright year.
20451
6ea9fb37
DJ
204522004-02-29 Daniel Jacobowitz <drow@mvista.com>
20453
20454 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
20455 to use unsigned char.
20456 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
20457 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
20458
23b23974
DJ
204592004-02-29 Daniel Jacobowitz <drow@mvista.com>
20460
20461 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
20462 line of output.
20463
7574fd53
DJ
204642004-02-28 Daniel Jacobowitz <drow@mvista.com>
20465
20466 * gdb.base/relocate.c (dummy): Initialize.
20467
a195357f
DJ
204682004-02-28 Daniel Jacobowitz <drow@mvista.com>
20469
20470 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
20471 a breakpoint at exit.
20472
72fd54a9
FF
204732004-02-27 Fred Fish <fnf@redhat.com>
20474
20475 * gdb.base/chng-syms.exp: Add expect condition to match failing
20476 case that isn't a timeout.
20477
b9d23137
AC
204782004-02-27 Andrew Cagney <cagney@redhat.com>
20479
20480 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
20481 support.
20482
15d208f6 204832004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 20484
15d208f6
FF
20485 * gdb.arch/gdb1431.c: Remove.
20486 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
20487 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
20488 of "until" incorrectly.
20489
98f9cd2d
JB
204902004-02-26 J. Brobecker <brobecker@gnat.com>
20491
20492 * gdb.cp/class2.cc (empty): New class.
20493 (refer): New function.
20494 (main): Declare an object of type empty and use it.
20495 * gdb.cp/class2.exp: Print the value of an object of type empty.
20496
9b50c11b
JJ
204972004-02-26 Jeff Johnston <jjohnstn@redhat.com>
20498
20499 * gdb.base/langs.exp: Update query string to match the
20500 new nquery format used for pending breakpoints.
20501
0dcd613f
AC
205022004-02-26 Andrew Cagney <cagney@redhat.com>
20503
20504 Fix PR i18n/1570.
20505 * gdb.base/charset.c: Update copyright notice.
20506 (main, init_string): Remove the escape character '\e' tests.
20507 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
20508 * gdb.base/charset.exp (valid_host_charset): Ditto.
20509 * gdb.base/setvar.exp: Ditto.
20510
b8a56647
AC
205112004-02-24 Andrew Cagney <cagney@redhat.com>
20512
90d59e34
AC
20513 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
20514 mmapped data in core file" PASS and FAIL messages consistent.
20515
b8a56647
AC
20516 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
20517 setting a breakpoint. Work around PR java/1565.
20518
9f27c604
JJ
205192004-02-23 Jeff Johnston <jjohnstn@redhat.com>
20520
20521 * lib/gdb.exp (gdb_breakpoint): Update query string to match
20522 new nquery format.
20523 * gdb.base/pending.exp: Ditto.
20524
3224a706
MK
205252004-02-22 Mark Kettenis <kettenis@gnu.org>
20526
20527 * configure.in: Run stabs tests on *BSD.
20528 * configure: Regenerated.
20529
41e0a9ca
MK
205302004-02-21 Mark Kettenis <kettenis@gnu.org>
20531
20532 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
20533
1e1b3428
FF
205342004-02-20 Fred Fish <fnf@redhat.com>
20535
20536 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
20537 blank in test for "returns short", for consistency with other
20538 "returns xxx" tests. Update copyright year.
20539
f9a7572a
FF
205402004-02-19 Fred Fish <fnf@redhat.com>
20541
20542 New testcase for PR breakpoint/1558.
20543 * gdb.arch/gdb1558.exp: New file.
20544 * gdb.arch/gdb1558.c: New file.
20545
b2ce2854
EZ
205462004-02-19 Elena Zannoni <ezannoni@redhat.com>
20547
20548 * gdb.base/nodebug.exp: Fix typo.
20549
e7c9ff01
JB
205502004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20551
20552 Committed by Jim Blandy <jimb@redhat.com>.
20553
62f4b920
JB
20554 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
20555
2db536a1
JB
20556 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
20557
e7c9ff01
JB
20558 * gdb.base/float.exp: Support s390*-*-* targets.
20559
f3205b34
AF
205602004-02-17 Adam Fedor <fedor@gnu.org>
20561
20562 * gdb.base/gdb1555.exp: New file.
20563 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
20564
9d62932d
EZ
205652004-02-17 Elena Zannoni <ezannoni@redhat.com>
20566
20567 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
20568
344c9711
FF
205692004-02-16 Fred Fish <fnf@redhat.com>
20570
20571 * gdb.arch/gdb1291.c: Remove
20572 * gdb.arch/gdb1291.s: New test input file.
20573 * gdb.arch/gdb1291.exp: Expand test to check case that should not
20574 fail. Test for correct result, known incorrect result, other
20575 failures and timeouts.
20576
2d822687
AC
205772004-02-16 Andrew Cagney <cagney@redhat.com>
20578
20579 * gdb.base/bigcore.exp: New file.
20580 * gdb.base/bigcore.c: New file.
20581
dac15b66
AC
205822004-02-13 Andrew Cagney <cagney@redhat.com>
20583
20584 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
20585 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
20586 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
20587 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
20588 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
20589 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
20590 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
20591 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
20592 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
20593 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
20594
6bdfc2c4
JJ
205952004-02-11 Jeff Johnston <jjohnstn@redhat.com>
20596
20597 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
20598 executed is an alloc instruction.
20599
87b3ede8
DC
206002004-02-11 David Carlton <carlton@kealia.com>
20601
20602 * gdb.cp/breakpoint.exp: New.
20603 * gdb.cp/breakpoint.cc: New.
20604
6e19e2bf
MC
206052004-02-11 Michael Chastain <mec.gnu@mindspring.com>
20606
20607 Partial fix for PR gdb/1543.
20608 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
20609 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
20610 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
20611 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
20612 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
20613 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
20614 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
20615 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
20616 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
20617 to bug-gdb@prep.ai.mit.edu .
20618 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
20619 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
20620 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
20621 Likewise.
20622
5c5455dc
AC
206232004-02-10 Andrew Cagney <cagney@redhat.com>
20624
20625 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
20626 using gdb_internal_error_resync.
20627
9cf689d7
DJ
206282004-02-09 Daniel Jacobowitz <drow@mvista.com>
20629
20630 * gdb.threads/thread-specific.exp: Stop early if no threads are
20631 found.
20632
d2dc51db
MC
206332004-02-09 Michael Chastain <mec.gnu@mindspring.com>
20634
20635 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
20636
14b1a056
DJ
206372004-02-08 Daniel Jacobowitz <drow@mvista.com>
20638
20639 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
20640 breakpoints.
20641
83f66e8f
DJ
206422004-02-07 Daniel Jacobowitz <drow@mvista.com>
20643
20644 * config/sim.exp (gdb_load): Handle $arg == "".
20645 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
20646 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
20647
30fc0091
EZ
206482004-02-07 Elena Zannoni <ezannoni@redhat.com>
20649
a9c64011
AS
20650 * gdb.base/maint.exp: Update test to reflect
20651 obstack changes.
30fc0091 20652
4d806929
JJ
206532004-02-04 Jeff Johnston <jjohnstn@redhat.com>
20654
20655 * gdb.base/pendshr.c (pendfunc): New function that calls
20656 pendfunc1.
20657 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
20658
7bfdd688
FF
206592004-02-04 Fred Fish <fnf@redhat.com>
20660
20661 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
20662 function symbols and update copyright years.
20663 * gdb.arch/gdb1291.c: Ditto.
20664
aaa08ee4
MC
206652004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20666
20667 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
20668
dbad7755
MC
206692004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20670
20671 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
20672
ec4646ef
MC
206732004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20674
20675 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
20676
1b802196
FF
206772004-02-02 Fred Fish <fnf@redhat.com>
20678
20679 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
20680 remote targets. Update copyright years.
20681
18fe2033
JJ
206822004-02-02 Jeff Johnston <jjohnstn@redhat.com>
20683
20684 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
20685 support.
20686 * gdb.base/langs.exp: Fix test which attempts to create
20687 breakpoint on non-existent function to handle new pending
20688 support.
20689 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
20690 a breakpoint.
20691 * gdb.base/pending.exp: New test.
20692 * gdb.base/pending.c: New file.
20693 * gdb.base/pendshr.c: Ditto.
20694
8d577d32
DC
206952004-02-02 David Carlton <carlton@kealia.com>
20696
20697 * gdb.cp/overload.exp: Add overloadNamespace tests.
20698 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
20699 (overloadNamespace, XXX): New.
20700 (main): Call XXX::marker2.
20701
3ad13771
FF
207022004-02-01 Fred Fish <fnf@redhat.com>
20703
20704 * gdb.base/dump.exp: Use runto_main instead of "runto main".
20705 * gdb.base/finish.exp: Ditto.
20706 * gdb.base/gcore.exp: Ditto.
20707 * gdb.base/huge.exp: Ditto.
20708 * gdb.base/info-proc.exp: Ditto.
20709 * gdb.base/return2.exp: Ditto.
20710 * gdb.threads/gcore-thread.exp: Ditto.
20711
44c75849
DJ
207122004-02-01 Daniel Jacobowitz <drow@mvista.com>
20713
20714 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
20715
005bc093
MK
207162004-02-01 Mark Kettenis <kettenis@gnu.org>
20717
20718 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
20719 that opening the file succeeds on OpenBSD.
20720
c47cebdb
DJ
207212004-02-01 Daniel Jacobowitz <drow@mvista.com>
20722
20723 * gdb.threads/thread-specific.c: New file.
20724 * gdb.threads/threads-specific.exp: New test script.
20725 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
20726 to expect_out.
20727
5a01311c
MK
207282004-02-01 Mark Kettenis <kettenis@gnu.org>
20729
20730 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
20731 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
20732 only on the "print_small_structs from print_long_arg_list" test.
20733
ce22a4f1
DJ
207342004-02-01 Daniel Jacobowitz <drow@mvista.com>
20735
20736 * gdb.base/completion.exp: Kill a stray backslash.
20737
20738 From Jim Ingham <jingham@apple.com>:
20739 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
20740 agrees with the result from sending a tab.
20741
abbab9d3
DJ
207422004-01-31 Daniel Jacobowitz <drow@mvista.com>
20743
20744 * gdb.base/chng-syms.exp: Remove stray newline.
20745
53904d1e
MK
207462004-01-31 Mark Kettenis <kettenis@gnu.org>
20747
20748 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
20749 *-*-openbsd*.
20750 * gdb.asm/openbsd.inc: New file.
20751
3a4b3aac
MK
207522004-01-30 Mark Kettenis <kettenis@gnu.org>
20753
20754 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
20755 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
20756 *-*solaris2*. Remove commented out default settings for
20757 asm-flags. Replace gdb_compile with target_link.
20758
ebac27b4
MC
207592004-01-29 Michael Chastain <mec.gnu@mindspring.com>
20760
20761 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
20762 for all tests. Remove old hp-ux and cygnus xfail cases.
20763
d8679d84
PH
207642004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
20765
20766 * gdb.base/chng-syms.exp: New file.
20767 * gdb.base/chng-syms.c: New file.
20768
0a55bc22
MC
207692004-01-24 Michael Chastain <mec.gnu@mindspring.com>
20770
20771 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
20772 Provide arms for current output in all my configurations.
20773
94b8e876
MC
207742004-01-24 Michael Chastain <mec.gnu@mindspring.com>
20775
20776 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
20777 * lib/compiler.cc: Likewise.
20778 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
20779 get the right preprocessor. Eval the output directly. Remove
20780 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
20781 hp_f77_compiler and hp_f90_compiler completely.
20782 (gdb_preprocess): Delete.
20783 (get_compiler): Delete.
20784
7cf03d44
MK
207852004-01-24 Mark Kettenis <kettenis@gnu.org>
20786
20787 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
20788 <string.h>.
20789
68b6dce9
NR
207902004-01-24 Nick Roberts <nick@nick.uklinux.net>
20791
20792 * gdb.mi/mi-stack.exp: Update copyright.
20793
b368761e
DC
207942004-01-23 David Carlton <carlton@kealia.com>
20795
20796 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
20797 test for cp_lookup_transparent_type.
20798 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
20799 call them.
20800
f2061b53
DJ
208012004-01-23 Daniel Jacobowitz <drow@mvista.com>
20802
20803 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
20804 after -var-update.
20805
37fc574a
DC
208062004-01-23 David Carlton <carlton@kealia.com>
20807
20808 * gdb.cp/namespace.cc (C::ensureRefs): New.
20809 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
20810
8e94b928
NR
208112004-01-20 Nick Roberts <nick@nick.uklinux.net>
20812
20813 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
20814 case "-stack-list-locals 2".
20815 * gdb.mi/mi-var-child.exp: Test for case
20816 "-var-list-children --all-values NAME".
20817
997b0952
MC
208182004-01-18 Michael Chastain <mec.gnu@mindspring.com>
20819
20820 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
20821
52470da3
MK
208222004-01-18 Mark Kettenis <kettenis@gnu.org>
20823
7049b4b8
MK
20824 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
20825 used with gdb_test_multiple.
20826
52470da3
MK
20827 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
20828 read at address 0. This fixes PR testsuite/1504.
20829
da6012e5
DJ
208302004-01-18 Daniel Jacobowitz <drow@mvista.com>
20831
20832 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
20833 Remove downloading, guessing the host executable, the calls to
20834 gdb_file_cmd and gdb_target_cmd, and "load" support.
20835 (infer_host_exec): New function broken out from gdb_load.
20836 (gdb_load): New wrapper for gdbserver_gdb_load.
20837 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
20838 gdb_target_cmd. Use -target-select.
20839 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
20840 Download binaries to the host. Clear last_mi_remote_file when
20841 we load a new binary.
20842 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
20843 call gdbserver_gdb_load and mi_gdb_target_cmd.
20844
32c70722
MC
208452004-01-17 Michael Chastain <mec.gnu@mindspring.com>
20846
20847 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
20848 type patterns.
20849
b0cecf36
MC
208502004-01-17 Michael Chastain <mec.gnu@mindspring.com>
20851
20852 * gdb.cp/templates.exp: Fix typo in test name of
20853 "print Foo<volatile char*>::foo".
20854
4120d7e6
MC
208552004-01-15 Michael Chastain <mec.gnu@mindspring.com>
20856
20857 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
20858
f679e530
BE
208592004-01-16 Ben Elliston <bje@wasabisystems.com>
20860
20861 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
20862 (clean mostlyclean): Remove empty rm.
20863
091c48f6
MC
208642004-01-15 Michael Chastain <mec.gnu@mindspring.com>
20865
20866 * gdb.base/setvar.exp: Add copyright years.
20867
3e5fc8d2
DC
208682004-01-14 David Carlton <carlton@bactrian.org>
20869
20870 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
20871 PR c++/1511 and update coment.
20872 * gdb.cp/templates.exp: Update patterns to match current output.
20873 If changes involve something other than whitespace, KFAIL
20874 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
20875
63d06c5c
DC
208762004-01-14 David Carlton <carlton@kealia.com>
20877
20878 * gdb.cp/namespace.exp: Add tests involving classes defined within
20879 namespaces.
20880 * gdb.cp/namespace.cc (C::CClass): New.
20881 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
20882
a51dab88
EZ
208832004-01-14 Elena Zannoni <ezannoni@redhat.com>
20884
20885 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
20886 what debug info we have. Print a better message if something goes
20887 wrong while producing the separate debug info file.
20888
a476ccc9
MC
208892004-01-14 Michael Chastain <mec.gnu@mindspring.com>
20890
20891 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
20892
f453692c
MC
208932004-01-14 Michael Chastain <mec.gnu@mindspring.com>
20894
20895 * gdb.base/callfuncs.c: Add copyright notice.
20896
f40063a5
MC
208972004-01-13 Michael Chastain <mec.gnu@mindspring.com>
20898
20899 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
20900 inheritance. PR gdb/1498, PR gcc/13539.
20901
19ac3974
EZ
209022004-01-13 Elena Zannoni <ezannoni@redhat.com>
20903
a9c64011
AS
20904 * gdb.threads/gcore-thread.exp: Prefix name of binary with
20905 test specific name.
20906 * gdb.mi/gdb669.exp: Ditto.
20907 * gdb.mi/mi-pthreads.exp: Ditto.
20908 * gdb.mi/mi1-pthreads.exp: Ditto.
20909 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 20910
56c97c6e
MC
209112004-01-12 Michael Chastain <mec.gnu@mindspring.com>
20912
20913 * gdb.cp/member-ptr.cc: Add copyright notice.
20914
a0644324
MC
209152004-01-12 Michael Chastain <mec.gnu@mindspring.com>
20916
20917 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
20918 some patterns for recent versions of gcc and hpacc. Delete
20919 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
20920 Delete tests that access a NULL pointer-to-member-data. This
20921 script is still disabled for gcc.
20922
32fabe09
EZ
209232004-01-12 Elena Zannoni <ezannoni@redhat.com>
20924
20925 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 20926 escaped correctly.
32fabe09 20927
1f8a6abb
EZ
209282004-01-12 Elena Zannoni <ezannoni@redhat.com>
20929
20930 * gdb.base/sepdebug.exp: New file.
20931 * gdb.base/sepdebug.c: New file.
20932 * lib/gdb.exp (separate_debug_filename): New procedure.
20933 (gdb_gnu_strip_debug): New procedure.
20934
48efe704
AC
209352004-01-12 Andrew Cagney <cagney@redhat.com>
20936
20937 * gdb.mi/ChangeLog: Delete file. Renamed to ...
20938 * gdb.mi/ChangeLog-1999-2003: New file.
20939
a9415475
AC
209402004-01-12 Andrew Cagney <cagney@redhat.com>
20941
20942 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
20943 "Renaming a directory to a non-empty directory returns ENOTEMPTY
20944 or EEXIST", treat EBUSY as an XFAIL.
20945
83b8cf9d
MC
209462004-01-11 Michael Chastain <mec.gnu@mindspring.com>
20947
20948 * gdb.base/scope.exp: Remove obsolete setup_xfail for
20949 hp_cc_compiler.
20950
9939d2a8
MC
209512004-01-10 Michael Chastain <mec.gnu@mindspring.com>
20952
20953 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
20954 decorations.
20955
1ff8cadf
MC
209562004-01-10 Michael Chastain <mec.gnu@mindspring.com>
20957
20958 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
20959 and "(aCC)" decorations. Remove obsolete doco about old
20960 test results.
20961
6fa9022e
MC
209622004-01-09 Michael Chastain <mec.gnu@mindspring.com>
20963
20964 * gdb.cp/exception.exp: Fix typo in doco.
20965
209721fe
MK
209662004-01-09 Mark Kettenis <kettenis@gnu.org>
20967
20968 * gdb.base/gdb1476.exp: Fix typo.
20969
ef11303e
MC
209702004-01-09 Michael Chastain <mec.gnu@mindspring.com>
20971
20972 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
20973 file.
20974
041ab88c
MC
209752004-01-09 Michael Chastain <mec.gnu@mindspring.com>
20976
20977 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
20978 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
20979 Use gdb_compile. Remove restriction on gcc. Add some patterns
20980 for recent version of gdb. Delete second half, which was a copy
20981 of the first half with different build flags. This test is
20982 still disabled because it is still not ready for production.
20983
e36d075a
MC
209842004-01-08 Michael Chastain <mec.gnu@mindspring.com>
20985
20986 * gdb.cp/exception.cc: Add copyright notice.
20987 * gdb.cp/exception.exp: Add a notice that this file is broken
20988 because of line number changes caused by addition of copyright
20989 notice.
20990
42b190ad
MC
209912004-01-08 Michael Chastain <mec.gnu@mindspring.com>
20992
20993 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
20994 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
20995
8f25f06b
MC
209962004-01-08 Michael Chastain <mec.gnu@mindspring.com>
20997
20998 * gdb.cp/classes.exp: Accept gnu abi 2.
20999 * gdb.cp/derivation.exp: Likewise.
21000 * gdb.cp/overload.exp: Likewise.
21001 * gdb.cp/virtfunc.exp: Likewise.
21002
06ded8b8
MC
210032004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21004
21005 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
21006 semicolon after end of function.
21007
77c26ae3
MC
210082004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21009
21010 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
21011 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
21012 boilerplate code for compiling and running the program under
21013 test. Add some string method tests.
21014
20757486
MC
210152004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21016
21017 * gdb.cp/bs15503.cc: Add copyright notice.
21018 * gdb.cp/bs15503.exp: Adjust line number.
21019
0fd3b503
MC
210202004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21021
21022 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
21023 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
21024
10d1bea8
MC
210252004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21026
21027 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
21028 hp_cc_compiler.
21029
2789202a
MC
210302004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21031
21032 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
21033 * gdb.cp/ctti.exp: Use the marker instead of "next".
21034 With gcc, run further before bailing.
21035
b862f14c
MC
210362004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21037
21038 * gdb.cp/cttiadd.cc: Add copyright notice.
21039 * gdb.cp/cttiadd1.cc: Likewise.
21040 * gdb.cp/cttiadd2.cc: Likewise.
21041 * gdb.cp/cttiadd3.cc: Likewise.
21042
96da2469
MC
210432004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21044
21045 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
21046 Use gdb_test, gdb_test_multiple. Use floating-point values that
21047 have exact representations in IEEE-ish formats.
21048
053248ff
MC
210492004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21050
21051 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
21052 compilers. Delete duplicate call to get_compiler_info.
21053 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
21054 * gdb.base/volatile.exp: Likewise.
21055
84acecdd
MK
210562004-01-07 Mark Kettenis <kettenis@gnu.org>
21057
21058 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
21059 memory at address 0.
21060
fe11a27f
MC
210612004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21062
21063 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
21064 to test for hp-ux assembler. Fix copyright years.
21065
60ad077b
AC
210662004-01-07 Andrew Cagney <cagney@redhat.com>
21067
21068 * gdb.base/fileio.c (strerrno): Add "EBUSY".
21069
1c9b8f33
AC
210702004-01-07 Andrew Cagney <cagney@redhat.com>
21071
21072 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
21073 when creating the read-only file. From analysis by Roland McGrath
21074 and Elena Zannoni.
21075
753ccc7a
MC
210762004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21077
21078 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
21079
eca3e36b
MC
210802004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21081
21082 * gdb.base/cvexpr.c: Be type-safe with function pointers and
21083 data pointers.
21084
f8d4bac4
MC
210852004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21086
21087 * gdb.cp/m-static.exp: Compile one source file at a time.
21088 Delete unused call to get_compiler_info.
21089
9b4e0f94
MC
210902004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21091
21092 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
21093 * gdb.base/call-rt-st.exp: Likewise.
21094 * gdb.base/nodebug.exp: Likewise.
21095 * gdb.base/volatile.exp: Likewise.
21096 * gdb.cp/ref-types.exp: Likewise.
21097 * gdb.cp/templates.exp: Likewise.
21098
023c1024
MK
210992004-01-05 Mark Kettenis <kettenis@gnu.org>
21100
21101 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
21102
19703c4a
MC
211032004-01-05 Michael Chastain <mec.gnu@mindspring.com>
21104
21105 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
21106 hppa*-hp-hpux*.
21107
18b67037
MK
211082004-01-04 Mark Kettenis <kettenis@gnu.org>
21109
ba6219c8
MK
21110 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21111 x86_64-*-*.
21112
18b67037
MK
21113 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21114 sparc64-*-* and sparc*-solaris2*.
21115
1bfbbb9d
MK
211162004-01-04 Mark Kettenis <kettenis@gnu.org>
21117
21118 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
21119 return ${tests}" test. The ${tests} already mentions the
21120 filename.
21121
06846494
MC
211222004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21123
21124 * gdb.cp/local.exp: Accept gcc abi 2.
21125
3b0cb202
MC
211262004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21127
21128 * gdb.cp/templates.exp: Accept gcc abi 2.
21129
0643ec3f
MC
211302004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21131
21132 * lib/compiler.cc: Remove supports_template_debugging.
21133 * gdb.cp/templates.exp: Do not test supports_template_debugging.
21134
d231d0b1
MC
211352004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21136
21137 * gdb.cp/namespace.exp: Accept gcc abi 2.
21138
44ffb27c
MC
211392004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21140
21141 * gdb.cp/method.exp: Accept gcc abi 2.
21142
184ad485
MC
211432004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21144
21145 * gdb.cp/classes.exp: Generate identical results as old version.
21146 * gdb.cp/derivation.exp: Likewise.
21147 * gdb.cp/overload.exp: Likewise.
21148 * gdb.cp/virtfunc.exp: Likewise.
21149
116f09e7
MC
211502004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21151
21152 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
21153 mysterious bug with sourceware version of expect.
21154
b1379776
MC
211552004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21156
21157 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
21158 current versions of gcc, including gcc abi 2. Remove gratuitous
21159 restart of test program. Use gdb_test_multiple and gdb_test for
21160 all tests. Add patterns to xfail missing "const" in "const char *"
21161 and kfail PR gdb/1155.
21162
6b7a4c0e
MC
211632004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21164
21165 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
21166 current versions of gcc, including gcc abi 2. Remove gratuitous
21167 restart of test program. Use gdb_test_multiple and gdb_test for
21168 all tests. Add patterns to kfail PR gdb/1498.
21169
51615d72
MC
211702003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21171
21172 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
21173 current versions of gcc, including gcc abi 2. Use "breakpoint"
21174 and "continue" instead of restarting the target program. Use
21175 gdb_test_multiple and gdb_test for all tests.
21176
7b79a9d7
MK
211772004-01-01 Mark Kettenis <kettenis@gnu.org>
21178
21179 * gdb.asm/asm-source.exp: Update copyright year. Link statically
21180 for *-*-solaris2*.
21181
1cd3489f
MC
211822003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21183
21184 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
21185 current versions of gcc, including gcc abi 2. Use "breakpoint"
21186 and "continue" instead of restarting the target program several
21187 times. Use gdb_test_multiple and gdb_test for all tests.
21188
850742db
MC
211892003-12-18 Michael Chastain <mec.gnu@mindspring.com>
21190
21191 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
21192 source files.
21193
eb4bbda8
MC
211942003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21195
21196 * gdb.base/environ.exp: Handle compiling test case from multiple
21197 source files.
21198
e42c7771
MC
211992003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21200
21201 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
21202
80e4b428
JB
212032003-12-17 Jim Blandy <jimb@redhat.com>
21204
5f06973a
JB
21205 * gdb.base/freebpcmd.c: Add copyright notice.
21206
80e4b428
JB
21207 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
21208
0ab84fb7
MC
212092003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21210
21211 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
21212
1b3bb3d0
JB
212132003-12-13 Jim Blandy <jimb@redhat.com>
21214
21215 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
21216
3a4c9371
KB
212172003-12-12 Kevin Buettner <kevinb@redhat.com>
21218
21219 * gdb.asm/frv.inc: New file.
21220 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
21221
a1dea79a
FF
212222003-12-09 Fred Fish <fnf@redhat.com>
21223
21224 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
21225 functions to break1.c and leave prototypes behind. Add more
21226 "set breakpoint NN here" comments.
21227 * gdb.base/break1.c: New file.
21228
21229 * gdb.base/break.exp: Handle compiling test case from multiple
21230 source files and change source file references as needed.
21231 * gdb.base/completion.exp: Ditto.
21232 * gdb.base/condbreak.exp: Ditto.
21233 * gdb.base/define.exp: Ditto.
21234 * gdb.base/ena-dis-br.exp: Ditto.
21235 * gdb.base/info-proc.exp: Ditto.
21236 * gdb.base/maint.exp: Ditto.
21237 * gdb.base/until.exp: Ditto.
21238
21239 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
21240 hardcoded line numbers.
21241 * gdb.base/define.exp: Ditto.
21242 * gdb.base/ena-dis-br.exp: Ditto.
21243 * gdb.base/maint.exp: Ditto.
21244 * gdb.base/until.exp: Ditto.
21245
21246 * gdb.base/completion.exp: Use "break1" for completion tests since
21247 "break" is no longer a unique prefix.
21248
5266b69c
AC
212492003-12-06 Andrew Cagney <cagney@redhat.com>
21250
21251 * gdb.base/structs.exp (test_struct_returns): When applicable, set
21252 "return_value_unimplemented". When an unimplemented struct return
21253 architecture, report incorrect values as a KFAIL
21254
374451f0
MC
212552003-12-05 Michael Chastain <mec.gnu@mindspring.com>
21256
21257 * gdb.cp/rtti.exp: Accept new wording of warning from
21258 cp_lookup_rtti_type.
21259
ba9b20a7
MC
212602003-12-05 Michael Chastain <mec.gnu@mindspring.com>
21261
21262 Partial fix for PR testsuite/1456.
21263 * gdb.base/scope.exp (test_at_main): Replace references to
21264 gcc_compiled with calls to test_compiler_info.
21265 (test_at_foo): Likewise.
21266 (test_at_bar): Likewise.
21267
b74b6d0b
MC
212682003-12-04 Michael Chastain <mec.gnu@mindspring.com>
21269
21270 Partial fix for PR testsuite/1456.
21271 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
21272 to test_compiler_info.
21273
ccfa3402
MC
212742003-12-03 Michael Chastain <mec.gnu@mindspring.com>
21275
21276 * gdb.base/so-impl-ld.exp: Update copyright notice.
21277
f6246aba
MC
212782003-12-02 Michael Chastain <mec.gnu@mindspring.com>
21279
21280 Partial fix for PR testsuite/1456.
21281 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
21282 to test_compiler_info.
21283
13ae734a
MC
212842003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21285
21286 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
21287 from current versions of gdb. Clean up regular expressions.
21288 Delete redundant timeout case.
21289
d8e1cdee
MC
212902003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21291
21292 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
21293 from current versions of gdb. Clean up regular expressions.
21294 Delete redundant timeout case.
21295
96457b64
MC
212962003-12-01 Michael Chastain <mec.gnu@mindspring.com>
21297
21298 Partial fix for PR testsuite/1456.
21299 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
21300 gcc_compiled with call to test_compiler_info.
21301
f35309fc
MC
213022003-11-30 Michael Chastain <mec.gnu@mindspring.com>
21303
21304 Partial fix for PR testsuite/1456.
21305 * gdb.base/list.exp (test_list_function): Delete unused declaration
21306 of gcc_compiled.
21307
d7afdf9b
MC
213082003-11-29 Michael Chastain <mec.gnu@mindspring.com>
21309
21310 Partial fix for PR testsuite/1456.
21311 * gdb.base/complex.exp: Replace reference to gcc_compiled with
21312 call to test_compiler_info.
21313
71507b56
MK
213142003-11-29 Mark Kettenis <kettenis@gnu.org>
21315
21316 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
21317 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
21318 it to create the appropriate note.inc.
21319 * gdb.asm/asmsrc1.s: Include "note.inc".
21320 * gdb.asm/netbsd.inc: New file.
21321 * gdb.asm/empty.inc: New file.
21322
f81f93f7
MC
213232003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21324
21325 Partial fix for PR testsuite/1456.
21326 * gdb.base/constvars.exp: Replace references to gcc_compiled with
21327 calls to test_compiler_info.
21328
9a77938e
MC
213292003-11-27 Michael Chastain <mec.gnu@mindspring.com>
21330
21331 Partial fix for PR testsuite/1456.
21332 * gdb.base/volatile.exp: Replace references to gcc_compiled with
21333 calls to test_compiler_info.
21334
e8367dc7
MK
213352003-11-27 Mark Kettenis <kettenis@gnu.org>
21336
21337 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
21338 pattern for the KFAILs.
21339
526c61ee
AF
213402003-11-25 Adam Fedor <fedor@gnu.org>
21341
21342 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
21343 * gdb.objc/objcdecode.m: New file.
21344
28f2d600
AF
213452003-11-25 Adam Fedor <fedor@gnu.org>
21346
21347 * gdb.objc/nondebug.exp: Test for PR objc/1236.
21348 * gdb.objc/nondebug.m: New file.
21349
a3895cee
BE
213502003-11-26 Ben Elliston <bje@wasabisystems.com>
21351
21352 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
21353 NetBSD as it does on FreeBSD. Modelled on a similar change by
21354 Mark Kettenis on 2003-05-30.
21355 (link-flags): Set to "--entry _start" regardless of target.
21356 Special linker flags are to be appended to $link-flags.
21357 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
21358
c9f2c8a3
MC
213592003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21360
21361 * gdb.cp/method.exp: Accept output of new demangler.
21362
15a0587a 213632003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
21364
21365 * gdb/class2.exp: New file.
21366 * gdb/class2.cc: New file.
21367
3c00b570
MC
213682003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21369
21370 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
21371 of new demangler.
21372
7027acc7
MK
213732003-11-23 Mark Kettenis <kettenis@gnu.org>
21374
21375 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
21376 of gdb_test "run".
21377
b0e1598a
MK
213782003-11-23 Mark Kettenis <kettenis@gnu.org>
21379
21380 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
21381 "continue" into "run".
21382
4d9eda44
MC
213832003-11-23 Michael Chastain <mec.gnu@mindspring.com>
21384
21385 Partial fix for PR testsuite/1456.
21386 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
21387 call to test_compiler_info.
21388 * gdb.cp/ctti.exp: Likewise.
21389 * gdb.cp/derivation.exp: Likewise.
21390 * gdb.cp/member-ptr.exp: Likewise.
21391 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
21392 reference to gcc_compiled.
21393
213942003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
21395
21396 Fix PR testsuite/1463.
21397 * gdb.base/structs.exp (start_structs_test): Call
21398 get_debug_format before using the debug format.
21399
d422fe19
AC
214002003-11-22 Andrew Cagney <cagney@redhat.com>
21401
21402 * lib/gdb.exp (gdb_test_multiple): Add simple example.
21403 * gdb.base/structs.exp: Use gdb_test_multiple.
21404
039cf96d
AC
214052003-11-20 Andrew Cagney <cagney@redhat.com>
21406
6882279b
AC
21407 * gdb.base/structs.exp: Handle and recover from internal errors.
21408 Replace "foo${n}" with "foo<n>" in test messages.
21409
e53890ae
AC
21410 * gdb.base/structs.exp: Update copyright. Rewrite.
21411 * gdb.base/structs.c: Update copyright. Rewrite.
21412
2b211c59
AC
21413 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
21414 resync count exceeded.
d63a86f8 21415
039cf96d
AC
21416 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
21417 from the internal error.
21418 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
21419 Original from Jim Blandy.
21420 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 21421
eac98b22
AC
214222003-11-19 Andrew Cagney <cagney@redhat.com>
21423
21424 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
21425 KFAIL.
21426
67455b2a
MK
214272003-11-17 Mark Kettenis <kettenis@gnu.org>
21428
21429 New testcase for PR backtrace/1435.
21430 * gdb.arch/i386-unwind.exp: New file.
21431 * gdb.arch/i386-unwind.c: New file.
21432
853d6e5b
AC
214332003-11-17 Andrew Cagney <cagney@redhat.com>
21434
21435 * lib/gdb.exp (compiler_info): New global.
21436 (test_compiler_info): New function.
21437 (get_compiler_info): Set compiler_info.
21438 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
21439 "compiler_info" to gcc-<major>-<minor>.
21440
38cf6e11
MC
214412003-11-15 Michael Chastain <mec.gnu@mindspring.com>
21442
21443 * gdb.trace/configure: Remove.
21444
a50d3602
EZ
214452003-11-13 Elena Zannoni <ezannoni@redhat.com>
21446
21447 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 21448 breakpoints.
a50d3602
EZ
21449 * gdb.base/break.exp: Remove all references to explicit line
21450 numbers.
21451
d9407aaa
NC
214522003-11-11 Nick Clifton <nickc@redhat.com>
21453
21454 * gdb.base/shreloc.exp: Do not run for targets which do not
21455 support shared objects.
21456
db488fc1
CV
214572003-11-10 Corinna Vinschen <vinschen@redhat.com>
21458
21459 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
21460 Don't run tests if nofileio flag is given.
21461
6a90a18e
EZ
214622003-11-07 Elena Zannoni <ezannoni@redhat.com>
21463
21464 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 21465 as well as 'Watchpoint'.
6a90a18e 21466
0b915e9c
EZ
214672003-11-06 Elena Zannoni <ezannoni@redhat.com>
21468
21469 Reported by Jim Ingham <jingham@apple.com>:
21470 * gdb.base/annota1.exp: Match at least one occurrence of the
21471 signal handler annotation.
21472
d7e4b55f
EZ
214732003-11-06 Elena Zannoni <ezannoni@redhat.com>
21474
a9c64011
AS
21475 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
21476 as well as 'Watchpoint'.
d7e4b55f 21477
2fe4e8d0
MC
214782003-11-05 Michael Chastain <mec@shout.net>
21479
21480 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
21481
6ef88553
KW
214822003-11-03 Kris Warkentin <kewarken@qnx.com>
21483
21484 * gdb.arch/gdb1291.c: New test file.
21485 * gdb.arch/gdb1291.exp: New test script.
21486 * gdb.arch/gdb1431.c: New test file.
21487 * gdb.arch/gdb1431.exp: New test script.
21488
ae7dc4d8
MC
214892003-10-22 Michael Chastain <mec@shout.net>
21490
21491 * gdb.mi/pthreads.c: Add copyright notice.
21492
c39d7427
MC
214932003-10-22 Michael Chastain <mec@shout.net>
21494
21495 * gdb.threads/pthreads.c: Add copyright notice.
21496
8b7d96c1
MC
214972003-10-20 Michael Chastain <mec@shout.net>
21498
21499 * gdb.base/gdb1056.exp: New test script.
21500
d1d69fdd
DJ
215012003-10-13 Daniel Jacobowitz <drow@mvista.com>
21502
21503 * gdb.threads/killed.exp: Use gdb_run_cmd.
21504
7d605576
DJ
215052003-10-13 Daniel Jacobowitz <drow@mvista.com>
21506
21507 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
21508 create a core file.
21509 * gdb.threads/gcore-thread.exp: Likewise.
21510
618ec112
CV
215112003-10-13 Corinna Vinschen <vinschen@redhat.com>
21512
21513 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
21514 type, based on char type.
21515 (struct bit_flags_short_t): New bitfield type, based on short type.
21516 (init_bit_flags_char): New fuction.
21517 (init_bit_flags_short): Ditto.
21518 (print_bit_flags_char): Ditto.
21519 (print_bit_flags_short): Ditto.
21520 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
21521
9367a73c
MC
215222003-10-11 Michael Chastain <mec@shout.net>
21523
21524 * gdb.base/call-rt-st.exp: Update copyright year.
21525
1decf120
KI
215262003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
21527
21528 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
21529 * gdb.disasm/sh3.s: Ditto.
21530
5445b2ae
DJ
215312003-10-07 Daniel Jacobowitz <drow@mvista.com>
21532
21533 * gdb.threads/switch-threads.exp: New test.
21534 * gdb.threads/switch-threads.c: New source file.
21535
aec24853
CV
215362003-10-07 Corinna Vinschen <vinschen@redhat.com>
21537
21538 * gdb.base/ending-run.exp: Add sh specific case.
21539
adc7428d
AC
215402003-10-06 Andrew Cagney <cagney@redhat.com>
21541
21542 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
21543 * gdb.disasm/mn10200.exp: Delete obsolete file.
21544
c9d37158
DJ
215452003-09-29 Daniel Jacobowitz <drow@mvista.com>
21546
21547 * ChangeLog: Correct an entry command.exp -> commands.exp.
21548 * gdb.base/commands.exp (bp_deleted_in_command_test)
21549 (temporary_breakpoint_commands): Check noargs.
21550
79c2c32d
DC
215512003-09-25 David Carlton <carlton@kealia.com>
21552
21553 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
21554 of some print tests, where appropriate. Add tests for C::D::cd,
21555 E::ce, F::cXfX, G::XgX.
21556 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
21557
594e6d67
RE
215582003-09-25 Richard Earnshaw <rearnsha@arm.com>
21559
21560 * lib/java.exp (java_init): Import target_alias before using it.
21561
10f0d451
DC
215622003-09-25 David Carlton <carlton@kealia.com>
21563
21564 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
21565
274bcba0
EZ
215662003-09-23 Elena Zannoni <ezannoni@redhat.com>
21567
d63a86f8 21568 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 21569 weirdness.
274bcba0 21570
cdbf20f7
MC
215712003-09-17 Michael Chastain <mec@shout.net>
21572
21573 * gdb.cp/gdb1355.exp: New file.
21574 * gdb.cp/gdb1355.c: New file.
21575
71e06f80
CV
215762003-09-15 Corinna Vinschen <vinschen@redhat.com>
21577
21578 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
21579 * gdb.asm/sh.inc: New file.
21580
5c4e30ca
DC
215812003-09-11 David Carlton <carlton@kealia.com>
21582
bd45b7af
DC
21583 * gdb.cp/namespace.exp: Add tests for namespace types.
21584 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
21585 (test_namespace): New.
21586
1c199746
EZ
215872003-09-11 Elena Zannoni <ezannoni@redhat.com>
21588
a9c64011 21589 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 21590 * gdb.stabs/weird.exp: Ditto.
1c199746 21591
04ed252f
MC
215922003-09-08 Michael Chastain <mec@shout.net>
21593
21594 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
21595
d8a2d9e7
MC
215962003-09-07 Michael Chastain <mec@shout.net>
21597
21598 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
21599 'parse error'.
21600
161afb24
MK
216012003-09-07 Mark Kettenis <m.kettenis@osp.nl>
21602
21603 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
21604
49f2741a
MC
216052003-08-30 Michael Chastain <mec@shout.net>
21606
21607 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
21608 * gdb.gdb/observer.exp: Ditto.
21609 * gdb.gdb/xfullpath.exp: Ditto.
21610
8afa723e
MK
216112003-08-29 Mark Kettenis <kettenis@gnu.org>
21612
21613 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
21614 *-*-*bsd*.
21615
f31dfe3b
JJ
216162003-08-28 Jeff Johnston <jjohnstn@redhat.com>
21617
21618 * gdb.base/dump.exp: Skip for ia64.
21619
4630e498
JJ
216202003-08-25 Jeff Johnston <jjohnstn@redhat.com>
21621
21622 * gdb.asm/asm-source.exp: Add ia64 support.
21623 * gdb.asm/ia64.inc: New file.
21624
1105b7ef
MC
216252003-08-22 Michael Chastain <mec@shout.net>
21626
21627 * gdb.cp: New directory.
21628 * gdb.cp/*: Copy from gdb.c++/*.
21629 * gdb.c++/*: Remove.
21630 * Makefile.in: Change gdb.c++ to gdb.cp.
21631 * configure.in: Ditto.
21632 * configure: Regnerate.
21633
c945b932
MK
216342003-08-18 Mark Kettenis <kettenis@gnu.org>
21635
21636 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
21637 * gdb.arch/i386-prologue.c (gdb1338): Add function.
21638
2b66634b
DJ
216392003-08-17 Daniel Jacobowitz <drow@mvista.com>
21640
21641 * mi-var-display.exp (-var-list-children weird): Accept function
21642 pointers with argument types.
21643 * mi1-var-display.exp (-var-list-children weird): Likewise.
21644 * mi2-var-display.exp (-var-list-children weird): Likewise.
21645
a356f73b
DJ
216462003-08-17 Daniel Jacobowitz <drow@mvista.com>
21647
21648 * gdb.base/annota3.exp: Add missing newline.
21649
483417b8
MC
216502003-08-06 Michael Chastain <mec@shout.net>
21651
21652 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
21653
c99c59c3
MS
216542003-08-12 Michael Snyder <msnyder@redhat.com>
21655
21656 * gdb.base/float.exp: Add test for SH.
21657
55ed7501
MK
216582003-08-10 Mark Kettenis <kettenis@gnu.org>
21659
21660 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
21661
1a371f2e
EZ
216622003-08-07 Elena Zannoni <ezannoni@redhat.com>
21663
21664 * gdb.base/completion.exp: Remove reduntant completion test
21665 on filename.
21666
e0f353ce
EZ
216672003-08-07 Elena Zannoni <ezannoni@redhat.com>
21668
a9c64011
AS
21669 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
21670 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
21671 gdb.trace/save-trace.exp: Make sure that full pathnames are
21672 escaped correctly.
e0f353ce 21673
5710a1af 216742003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 21675
a9c64011
AS
21676 * configure.in: Don't generate config.h from config.hin.
21677 * configure: Regenerate.
21678 * config.hin: Remove file.
21679 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
21680 * gdb.threads/pthreads.c: Ditto.
5710a1af 21681
dcd81ce9
DJ
216822003-08-07 Daniel Jacobowitz <drow@mvista.com>
21683
21684 From Kei Sakamoto <sakamoto.kei@renesas.com>:
21685 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
21686 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
21687 Replace ld24 with seth/add3.
21688
6009d884
AC
216892003-08-02 Andrew Cagney <cagney@redhat.com>
21690
21691 * gdb.base/annota3.exp: New file.
21692 * gdb.base/annota3.c: New file.
21693 * gdb.c++/annota3.exp: New file.
21694 * gdb.c++/annota3.cc: New file.
21695
51514e06
MC
216962003-07-29 Michael Chastain <mec@shout.net>
21697
21698 * gdb.threads/tls.c (spin): Check errno only if sem_wait
21699 actually failed.
21700 (do_pass): Likewise.
21701 * gdb.threads/tls.exp: Always initialize no_of_threads.
21702
4ee6625b
DJ
217032003-07-27 Daniel Jacobowitz <drow@mvista.com>
21704
21705 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
21706 pattern.
21707 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
21708 * gdb.threads/tls.exp: Recognize one case of the host library not
21709 supporting TLS.
21710
225f2bf6
AC
217112003-07-27 Andrew Cagney <cagney@redhat.com>
21712
21713 * gdb.base/fileio.exp: Use SH when running commands using
21714 remote_exec.
21715
bcb27c9f
DJ
217162003-07-24 Daniel Jacobowitz <drow@mvista.com>
21717
21718 From Kei Sakamoto <sakamoto.kei@renesas.com>:
21719 * gdb.base/relocate.c (dummy): New padding array.
21720
3d67be83
MS
217212003-07-22 Michael Snyder <msnyder@redhat.com>
21722
d63a86f8 21723 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
21724
21725 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
21726 patterns to be more general, accepting old and new output.
21727 Some output chars (such as '+') also must be quoted.
d63a86f8 21728 Some addresses are displayed numerically instead of
3d67be83
MS
21729 symbolically.
21730
57ba3b85
MS
217312003-07-23 Michael Snyder <msnyder@redhat.com>
21732
686d097c
MS
21733 * gdb.base/return2.exp: Don't test long-long return.
21734
57ba3b85
MS
21735 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
21736 * gdb.disasm/t01_mov.exp: Ditto.
21737 * gdb.disasm/t02_mova.s: Ditto.
21738 * gdb.disasm/t02_mova.exp: Ditto.
21739 * gdb.disasm/t03_add.s: Ditto.
21740 * gdb.disasm/t03_add.exp: Ditto.
21741 * gdb.disasm/t04_sub.s: Ditto.
21742 * gdb.disasm/t04_sub.exp: Ditto.
21743 * gdb.disasm/t05_cmp.s: Ditto.
21744 * gdb.disasm/t05_cmp.exp: Ditto.
21745 * gdb.disasm/t06_ari2.s: Ditto.
21746 * gdb.disasm/t06_ari2.exp: Ditto.
21747 * gdb.disasm/t07_ari3.s: Ditto.
21748 * gdb.disasm/t07_ari3.exp: Ditto.
21749 * gdb.disasm/t08_or.s: Ditto.
21750 * gdb.disasm/t08_or.exp: Ditto.
21751 * gdb.disasm/t09_xor.s: Ditto.
21752 * gdb.disasm/t09_xor.exp: Ditto.
21753 * gdb.disasm/t10_and.s: Ditto.
21754 * gdb.disasm/t10_and.exp: Ditto.
21755 * gdb.disasm/t11_logs.s: Ditto.
21756 * gdb.disasm/t11_logs.exp: Ditto.
21757 * gdb.disasm/t12_bit.s: Ditto.
21758 * gdb.disasm/t12_bit.exp: Ditto.
21759 * gdb.disasm/t13_otr.s: Ditto.
21760 * gdb.disasm/t13_otr.exp: Ditto.
21761
e00759ef
EZ
217622003-07-22 Elena Zannoni <ezannoni@redhat.com>
21763
21764 * gdb.threads/tls.exp :Add kfail for 'info address' case.
21765
8bc2021f
EZ
217662003-07-22 Elena Zannoni <ezannoni@redhat.com>
21767
a9c64011
AS
21768 * gdb.threads/tls.c : New file.
21769 * gdb.threads/tls.exp : New file.
21770 * gdb.threads/tls-main.c : New file.
21771 * gdb.threads/tls-shared.c : New file.
21772 * gdb.threads/tls-shared.exp : New file.
8bc2021f 21773
89320c4c
AS
217742003-07-22 Andreas Schwab <schwab@suse.de>
21775
21776 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
21777
180dea7c
AS
217782003-07-20 Andreas Schwab <schwab@suse.de>
21779
21780 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
21781 due to insn reordering.
21782
0714963c
AC
217832003-07-15 Andrew Cagney <cagney@redhat.com>
21784
21785 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
21786
98a23b3f
MC
217872003-07-15 Michael Chastain <mec@shout.net>
21788
21789 * gdb.base/gdb1250.exp: New file.
21790 * gdb.base/gdb1250.c: New file.
21791
27e417a2
ML
217922003-07-09 Michal Ludvig <mludvig@suse.cz>
21793
21794 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
21795 expansion of size_t to 'unsigned long', not only to 'unsigned'.
21796
8bc2021f
EZ
217972003-07-09 Elena Zannoni <ezannoni@redhat.com>
21798
a9c64011
AS
21799 * gdb.threads/tls.c: New file.
21800 * gdb.threads/tls.exp: New file.
21801 * gdb.threads/tls-main.c: New file.
21802 * gdb.threads/tls-shared.c: New file.
21803 * gdb.threads/tls-shared.exp: New file.
8bc2021f 21804
d99968dc
EZ
218052003-07-09 Elena Zannoni <ezannoni@redhat.com>
21806
21807 * gdb.base/annota1.exp: Make sure that we properly escape the
21808 full path of the source file. Xfail more permissive patterns,
d63a86f8 21809 due to a compiler debug info problem.
d99968dc 21810
83876b3b
AS
218112003-07-07 Andreas Schwab <schwab@suse.de>
21812
2705e972
AS
21813 * gdb.asm/m68k.inc: New file.
21814 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
21815
83876b3b
AS
21816 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
21817 arguments"): Also match negative number.
21818
21819 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
21820
3a871b37
DJ
218212003-07-03 Daniel Jacobowitz <drow@mvista.com>
21822
21823 * gdb.base/store.c (charest): New typedef.
21824 (add_char): Rename to add_charest, update.
21825 (wack_char): Rename to wack_charest, update types. Return l + r
21826 to keep r live across the call.
21827 (wack_short, wack_int, wack_long, wack_longest, wack_float)
21828 (wack_double, wack_doublest): Return l + r to keep r live across
21829 the call.
21830 * gdb.base/store.exp: Accomodate store.c changes.
21831
b2a7f303
DC
218322003-06-30 David Carlton <carlton@kealia.com>
21833
21834 * gdb.c++/maint.exp (test_invalid_name): New.
21835 (test_first_component): Add tests for invalid names.
21836
3c6cb4a1
MC
218372003-06-29 Michael Chastain <mec@shout.net>
21838
21839 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
21840 output of '<VTT for class>' for virtual base classes.
21841
f1c2644b
DJ
218422003-06-29 Daniel Jacobowitz <drow@mvista.com>
21843
21844 * gdb.base/completion.exp: Tab-complete "complet" instead of
21845 "compl".
21846 * gdb.base/complex.exp, gdb.base/complex.c: New files.
21847
18080350
DJ
218482003-06-29 Daniel Jacobowitz <drow@mvista.com>
21849
21850 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
21851 * gdb.base/volatile.exp: Likewise.
21852
f56973f8
DJ
218532003-06-29 Daniel Jacobowitz <drow@mvista.com>
21854
21855 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
21856 gdb/1265.
21857
218582003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
21859 Daniel Jacobowitz <drow@mvista.com>
21860
21861 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
21862 initial line count of 'captured_main' from 26 to 32.
21863 (test_with_self): Allow xmalloc call to be interleaved with the
21864 preceding two lines.
21865
e766d4d6
JB
218662003-06-24 Joel Brobecker <brobecker@gnat.com>
21867
21868 * gdb.base/bang.exp: New testcase.
21869
f125c9a4
JB
218702003-06-23 Joel Brobecker <brobecker@gnat.com>
21871
21872 * gdb.base/langs.exp: Add some tests for the "minimal" language
21873 support.
21874
6e25beaf
EZ
218752003-06-23 Elena Zannoni <ezannoni@redhat.com>
21876
21877 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
21878 the testcase.
21879
2f816dda
DJ
218802003-06-22 Daniel Jacobowitz <drow@mvista.com>
21881
21882 * gdb.base/relocate.exp: Test add-symbol-file with a variable
21883 offset.
21884
db5a5748
DJ
218852003-06-22 Daniel Jacobowitz <drow@mvista.com>
21886
21887 * gdb.c++/pr-1210.cc: New file.
21888 * gdb.c++/pr-1210.exp: New file.
21889
1df0c130
DJ
218902003-06-21 Daniel Jacobowitz <drow@mvista.com>
21891
21892 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
21893 000-exec-continue.
21894
a92feac0
MK
218952003-06-15 Mark Kettenis <kettenis@gnu.org>
21896
21897 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
21898 on *-*-*bsd* instead of *-*-freebsd*.
21899
81a58f5b
AC
219002003-06-14 Andrew Cagney <cagney@redhat.com>
21901
21902 * gdb.base/store.exp: Test longest and doublest. Test all
21903 parameters. Weaken return statement match.
21904 * gdb.base/store.c: Add longest and doublest - aka long long and
21905 long double functions. Put all parameters into local register
21906 variables. Use negative values.
21907
b257a0d3
AC
219082003-06-14 Andrew Cagney <cagney@redhat.com>
21909
21910 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
21911 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
21912 exit status.
21913 * gdb.base/fileio.exp: Disable target when nointerrupts and
21914 noinferiorio, instead of limiting it to remote. Use remote_exec
21915 instead of system.
d63a86f8 21916
21c38304
JJ
219172003-06-12 Jeff Johnston <jjohnstn@redhat.com>
21918
21919 * gdb.base/float.exp: Add ia64 support.
21920
1bcdb424
CV
219212003-06-12 Corinna Vinschen <vinschen@redhat.com>
21922
21923 * gdb.base/fileio.exp: Run only on remote targets.
21924
6aeb981f
CV
219252003-06-10 Corinna Vinschen <vinschen@redhat.com>
21926
21927 * gdb.base/fileio.c: New file, testing File-I/O.
21928 * gdb.base/fileio.exp: Ditto.
21929
53df362e
RG
219302003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
21931
21932 * gdb.base/shreloc.exp: New file, check symbol values obtained from
21933 shared objects after relocation at load time (gdb PR/1132).
21934 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 21935 as above, part of the shared object relocation test.
53df362e 21936
ffee1b46
MK
219372003-06-08 Mark Kettenis <kettenis@gnu.org>
21938
b5ca3722
MK
21939 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
21940 fully filled history list.
21941 * gdb.base/gdb_history: New file.
21942
03ed860d
MK
21943 * gdb.base/signals.exp: XFAIL "continue to func1" on
21944 i*86-*-freebsd*.
21945
ffee1b46
MK
21946 * gdb.base/attach.exp: When trying to attach to a nonexistent
21947 process, make it possible to specify the PID based on the target,
21948 and do so for *-*-freebsd*.
21949
d80dbb52
RH
219502003-06-02 Richard Henderson <rth@redhat.com>
21951
21952 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
21953
6dd77b81
RH
219542003-06-02 Richard Henderson <rth@redhat.com>
21955
21956 * gdb.base/selftest.exp: Next over lim_at_start initialization.
21957
f6347e16
RH
219582003-06-02 Richard Henderson <rth@redhat.com>
21959
21960 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
21961
2c161407
DJ
219622003-06-01 Daniel Jacobowitz <drow@mvista.com>
21963
21964 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
21965 of globalvar.
21966
572eb746
MK
219672003-06-01 Mark Kettenis <kettenis@gnu.org>
21968
21969 * gdb.asm/asm-source.exp: Check for memory read errors in
21970 disassembler test on *BSD too.
21971
9e9617a5
RH
219722003-06-01 Richard Henderson <rth@redhat.com>
21973
21974 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
21975 for .frame.
21976 (gdbasm_call): Lose ldgp.
21977 (gdbasm_startup): Add frame information.
21978 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
21979
7b34ad4e
MK
219802003-05-31 Mark Kettenis <kettenis@gnu.org>
21981
21982 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
21983 i?86-*-*.
21984
10059fdf
MK
219852003-05-30 Mark Kettenis <kettenis@gnu.org>
21986
21987 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
21988 FreeBSD.
21989
acf4b816
RH
219902003-05-29 Richard Henderson <rth@redhat.com>
21991
21992 * gdb.asm/alpha.inc: New file.
21993 * gdb.asm/asm-source.exp: Use it.
21994
e9ecd949
JB
219952003-05-29 Jim Blandy <jimb@redhat.com>
21996
21997 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
21998 'core.PID'.
21999
e3e5a4f3
JB
220002003-05-22 Jim Blandy <jimb@redhat.com>
22001
22002 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
22003 backtrace.
d63a86f8 22004
72fe3d25
DC
220052003-05-20 David Carlton <carlton@math.stanford.edu>
22006
22007 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
22008 this time.
22009
58da2eb2
DC
220102003-05-19 David Carlton <carlton@bactrian.org>
22011
22012 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
22013 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
22014
1fcb5155
DC
220152003-05-19 David Carlton <carlton@bactrian.org>
22016
22017 * gdb.c++/namespace.exp: Add namespace scope and anonymous
22018 namespace tests.
22019 Bump copyright date.
22020 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
22021 (main): Call C::D::marker2.
22022 * gdb.c++/namespace1.cc: New file.
22023
85e85163
JJ
220242003-05-14 Jeff Johnston <jjohnstn@redhat.com>
22025
22026 Roland McGrath <roland@redhat.com>
d63a86f8 22027 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
22028 there is no manager thread.
22029
a25fbfec
JJ
220302003-05-08 Jeff Johnston <jjohnstn@redhat.com>
22031
d63a86f8
RM
22032 * gdb.threads/schedlock.exp: Remove assumption that all threads
22033 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
22034 in one of the child threads rather than the main thread.
22035
be375bae
JB
220362003-05-07 Jim Blandy <jimb@redhat.com>
22037
09bf6082
JB
22038 Add support for assembly source testing on the s390x.
22039 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
22040 architecture.
22041 * gdb.asm/s390x.inc: New file.
22042
be375bae
JB
22043 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
22044 succession of 'if' statements.
22045
00905d52
AC
220462003-05-05 Andrew Cagney <cagney@redhat.com>
22047
22048 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
22049
b1e29e33
AC
220502003-05-05 Andrew Cagney <cagney@redhat.com>
22051
22052 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
22053 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
22054
e33d66ec
EZ
220552003-05-02 Elena Zannoni <ezannoni@redhat.com>
22056
22057 * gdb.base/charset.exp: Update based on new behavior of set/show
22058 charset commands.
22059
2b6fd0d8
AC
220602003-05-01 Andrew Cagney <cagney@redhat.com>
22061
22062 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
22063 variable do not give memory errors.
22064
130cacce
AF
220652003-04-30 Adam Fedor <fedor@gnu.org>
22066
22067 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
22068 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
22069 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
22070 gdb.objc/basicclass.m: : New files
22071
22072 * lib/gdb.exp (gdb_compile_objc): New procedure.
22073
bea71854
DJ
220742003-04-27 Daniel Jacobowitz <drow@mvista.com>
22075
22076 * gdb.base/signals.exp: Make backtrace tests more specific.
22077
0f20eeea
DC
220782003-04-23 David Carlton <carlton@bactrian.org>
22079
22080 * gdb.c++/maint.exp (test_first_component): Add tests for
22081 'operator' in more locations.
22082
c8c4d8dc
KB
220832003-04-16 Kevin Buettner <kevinb@redhat.com>
22084
22085 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
22086
3fe60e3c
EZ
220872003-04-16 Elena Zannoni <ezannoni@redhat.com>
22088
22089 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 22090 func marke' instead. Update test name.
3fe60e3c 22091
9219021c
DC
220922003-04-15 David Carlton <carlton@math.stanford.edu>
22093
22094 * gdb.c++/maint.exp: New file.
22095
5dd55bdd
EZ
220962003-04-14 Elena Zannoni <ezannoni@redhat.com>
22097
22098 * gdb.threads/schedlock.c: Change type of thread function argument
22099 to long, to avoid warnings on 64-bit platforms.
22100
00890572
EZ
221012003-04-14 Elena Zannoni <ezannoni@redhat.com>
22102
a9c64011
AS
22103 * gdb.base/attach.exp: Add new message from ptrace in case of
22104 attaching to nonexistent process.
d63a86f8 22105
93201743
JB
221062003-04-11 Jim Blandy <jimb@redhat.com>
22107
22108 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22109 gdb.c++/userdef.cc: Place comments on the lines to which the
22110 marker function might return.
22111 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22112 gdb.c++/userdef.exp: Look for those comments to check that we've
22113 returned to the right place, instead of checking line numbers.
22114
2a11c64d
EZ
221152003-04-11 Elena Zannoni <ezannoni@redhat.com>
22116
a9c64011
AS
22117 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
22118 match on sourcefile name, instead of directory name.
2a11c64d 22119
68ab8fc5
EZ
221202003-04-10 Elena Zannoni <ezannoni@redhat.com>
22121
d63a86f8 22122 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
22123 working directory name.
22124
5624293a
JB
221252003-04-09 Jim Blandy <jimb@redhat.com>
22126
22127 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22128 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
22129 after an inferior function call, report the failure, but allow the
22130 test to continue.
22131
f1f02ee4
SC
221322003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22133
22134 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22135 with -DPROTOTYPES.
22136
6eb79af0
SC
221372003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22138
22139 * gdb.base/break.exp: Revert last patch.
22140
8dfb4cf0
SC
221412003-04-04 Stephane Carrez <stcarrez@nerim.fr>
22142
22143 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22144 with -DPROTOTYPES.
22145
ed4c619a
AC
221462003-04-02 Andrew Cagney <cagney@redhat.com>
22147
22148 * gdb.base/callfuncs.exp: Make "print add" messages unique.
22149 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
22150 matching directories by the name breakpoint.
22151 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
22152 Make "continue to marker1" consistent.
22153 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
22154 message consistent.
22155 * lib/gdb.exp: Put "the program is no longer running", and "the
22156 program exited" in parenthesis.
22157 * lib/mi-support.exp: Ditto.
d63a86f8 22158
4e35d5f0 221592003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 22160
4e35d5f0
BR
22161 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
22162
71900fe8
AC
221632003-03-29 Andrew Cagney <cagney@redhat.com>
22164
22165 * gdb.base/sizeof.c (main): Print the value of '\377'.
22166 * gdb.base/sizeof.exp: Check the sign of '\377'.
22167
c0655a16
MC
221682003-03-27 Michael Chastain <mec@shout.net>
22169
22170 * gdb.base/gdb1090.exp: New file.
22171 * gdb.base/gdb1090.cc: New file.
22172
5b2a3989
JB
221732003-03-27 J. Brobecker <brobecker@gnat.com>
22174
22175 * gdb.gdb/observer.exp: New regression test.
22176
79876890
MC
221772003-03-27 Michael Chastain <mec@shout.net>
22178
22179 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
22180 * gdb.base/ptype.exp: Likewise.
22181
6eac95e3
CV
221822003-03-27 Corinna Vinschen <vinschen@redhat.com>
22183
22184 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
22185
e8c71839
MC
221862003-03-26 Michael Chastain <mec@shout.net>
22187
22188 * gdb.base/ptype.exp: Actually use some typedef'd types.
22189
71b10041
SC
221902003-03-21 Stephane Carrez <stcarrez@nerim.fr>
22191
22192 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
22193 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
22194
2512cf80
CV
221952003-03-20 Corinna Vinschen <vinschen@redhat.com>
22196
22197 * gdb.base/default.exp: Fix regular expression.
22198
0d195a4f
CV
221992003-03-20 Corinna Vinschen <vinschen@redhat.com>
22200
22201 * gdb.base/args.exp: Fix regular expression.
22202
8a2dbca8
CV
222032003-03-20 Corinna Vinschen <vinschen@redhat.com>
22204
22205 * gdb.base/help.exp: Allow Win32 child process.
22206
bf028682
CV
222072003-03-20 Corinna Vinschen <vinschen@redhat.com>
22208
22209 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
22210 when stepping out of main().
22211
182dbe85
CV
222122003-03-20 Corinna Vinschen <vinschen@redhat.com>
22213
22214 * gdb.base/default.exp: Check for win32 specific message when calling
22215 "run" without executable.
22216
d67a6ba5
CV
222172003-03-20 Corinna Vinschen <vinschen@redhat.com>
22218
22219 * gdb.base/args.exp: Expect .exe in output.
22220
a955b5bb
CV
222212003-03-20 Corinna Vinschen <vinschen@redhat.com>
22222
22223 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
22224 Cygwin native.
22225
bf6bad4b
AC
222262003-03-17 Andrew Cagney <cagney@redhat.com>
22227
22228 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
22229 vector registes.
22230 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
22231 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
22232
293e9a31
DC
222332003-03-17 David Carlton <carlton@math.stanford.edu>
22234
22235 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
22236 test, for PR breakpoints/38.
22237 Call test_watchpoint_and_breakpoint.
22238 * gdb.base/watchpoint.c (func3): New function.
22239 (main): Call func3.
22240
5330f2db
DC
222412003-03-04 David Carlton <carlton@math.stanford.edu>
22242
22243 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
22244 Garply<Garply<char> >:: garply".
22245 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
22246 with respect to PR c++/1111; note also PR c++/1113.
22247 (test_template_breakpoints): KFAIL "constructor breakpoint" with
22248 respect to PR c++/1062.
22249 KFAIL "destructor breakpoint" with respect to PR c++/1112.
22250
6ece72da
DC
222512003-03-03 David Carlton <carlton@math.stanford.edu>
22252
22253 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
22254 with respect to PR c++/57.
22255 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
22256 c++/826.
22257 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
22258 respect to PR c++/57.
22259
85ca1584
DC
222602003-03-03 David Carlton <carlton@math.stanford.edu>
22261
22262 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
22263 respect to PR c++/33 into FAILs.
22264
98e9c5b8
MC
222652003-03-03 Michael Chastain <mec@shout.net>
22266
7bedbf27
MC
22267 * configure.in: Update copyright years.
22268
222692003-03-03 Michael Chastain <mec@shout.net>
22270
22271 * Makefile.in: Update copyright years.
98e9c5b8 22272
f683e100
DC
222732003-02-28 David Carlton <carlton@math.stanford.edu>
22274
22275 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
22276 print class instead of struct and/or superfluous protection
22277 specifiers, as long as the resulting output is equivalent to the
22278 source code.
22279 Delete FIXME from end of messages on tests that don't need
22280 fixing.
22281
a9e0cf2c
DC
222822003-02-28 David Carlton <carlton@math.stanford.edu>
22283
22284 * gdb.c++/templates.exp (do_tests): Allow const in the two
22285 Foo<volatile char *>::foo tests.
22286
e8d359df
MS
222872003-02-27 Michael Snyder <msnyder@redhat.com>
22288
d63a86f8 22289 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
22290 will be consistant.
22291
0b71dc91
DC
222922003-02-26 David Carlton <carlton@math.stanford.edu>
22293
22294 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
22295 char *>::foo" test with respect to PR c++/33. Create a new test
22296 which is identical to that one except that it doesn't put the
22297 space between the "char" and the "*"; KFAIL it, too.
22298
dd14ab43
DC
222992003-02-26 David Carlton <carlton@math.stanford.edu>
22300
22301 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
22302 template types into either PASSes or KFAILs (corresponding to PR
22303 c++/57). Tweak indentation. Update copyright.
22304
1146c7f1
SC
223052003-02-23 Stephane Carrez <stcarrez@nerim.fr>
22306
22307 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
22308
74641dfb
MC
223092003-02-13 Michael Chastain <mec@shout.net>
22310
22311 * gdb.base/exprs.exp: Remove i960 remnants.
22312 * gdb.base/funcargs.exp: Likewise.
22313 * gdb.base/list.exp: Likewise.
22314 * gdb.base/ptype.exp: Likewise.
22315
559cd2d0
DC
223162003-02-14 David Carlton <carlton@math.stanford.edu>
22317
22318 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
22319 pEe->D::vg()" from XFAIL to KFAIL.
22320
c4f90d87
JM
223212003-02-13 Jason Molenda (jmolenda@apple.com)
22322
22323 * gdb.base/maint.exp: Update maint print statistics regexp to include
22324 new entries.
22325
cbc4d97c
MC
223262003-02-13 Michael Chastain <mec@shout.net>
22327
22328 * gdb.c++/inherit.exp: Remove call to get_debug_format.
22329
40f235b7
MC
223302003-02-12 Michael Chastain <mec@shout.net>
22331
22332 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
22333 * gdb.c++/inherit.exp: Likewise.
22334 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
22335 * gdb.c++/templates.exp: Likewise.
22336 * gdb.c++/virtfunc.exp: Likewise.
22337
c56716b0
JM
223382003-02-06 Jason Molenda (jason-cl@molenda.com)
22339
22340 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
22341 why the code is written that way.
22342
070afcf8
MC
223432003-02-05 Michael Chastain <mec@shout.net>
22344
22345 * gdb.base/dump.exp: Add missing copyright line.
22346
5d0331e5
JM
223472003-02-05 Jason Molenda (jason-cl@molenda.com)
22348
f7ae6d3e 22349 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
22350 at the beginning so the breakpoint doesn't get set on the loop.
22351
92851186
MC
223522003-02-05 Michael Chastain <mec@shout.net>
22353
22354 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
22355 output for configurations with gcc 2.95.3.
22356
cbf1e085
AC
223572003-02-05 Keith Seitz <keiths@redhat.com>
22358 Andrew Cagney <ac131313@redhat.com>
22359
22360 * gdb.mi/mi-cli.exp: New file.
d63a86f8 22361
29518e1e
MC
223622003-02-04 Michael Chastain <mec@shout.net>
22363
22364 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
22365 Call perror and then continue.
22366
5af1d5f3
MC
223672003-02-03 Michael Chastain <mec@shout.net>
22368
22369 * gdb.c++/pr-1023.cc: New file.
22370 * gdb.c++/pr-1023.exp: New file.
22371
6b549786
JB
223722003-02-05 Jim Blandy <jimb@redhat.com>
22373
22374 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
22375 it's local to foobar. Check for it there, and check that it's not
22376 present in main.
22377 * gdb.c++/local.cc (marker2): New function.
22378 (foobar): Call marker1.
22379 (main): Call marker2 instead of marker1.
22380
67f16606
AC
223812003-02-04 Andrew Cagney <ac131313@redhat.com>
22382
22383 * gdb.disasm/mn10200.exp: Obsolete file.
22384 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
22385 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
22386 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
22387
1c5cb38e
DC
223882003-02-04 David Carlton <carlton@math.stanford.edu>
22389
22390 * gdb.c++/overload.exp: Test intToChar(1).
22391 * gdb.c++/overload.cc (intToChar): New.
22392 (main): Call intToChar.
22393
d1fe6965
DC
223942003-02-03 David Carlton <carlton@math.stanford.edu>
22395
22396 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
22397 'might_kfail' arg.
22398 KFAIL some of the continue_to_bp_overloaded calls, according to
22399 PR c++/1025.
22400
9ba61c5d
MC
224012003-02-01 Michael Chastain <mec@shout.net>
22402
22403 * gdb.base/advance.c (marker1): New marker function.
22404 * gdb.base/advance.exp: When the 'advance' command lands on the
22405 return breakpoint, it can legitimately stop on either the
22406 current line or the next line. Accommodate both outcomes.
22407 * gdb.base/until.exp: Likewise.
22408
e7494ffb
AC
224092003-02-02 Andrew Cagney <ac131313@redhat.com>
22410
22411 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
22412 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
22413 now a list, not a tuple.
22414 * gdb.mi/mi-var-display.exp: Ditto.
22415 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 22416
075559bc
AC
224172003-02-01 Andrew Cagney <ac131313@redhat.com>
22418
22419 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
22420 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
22421 stack backtraces.
22422 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 22423
2bd4c7b1
MK
224242003-02-01 Mark Kettenis <kettenis@gnu.org>
22425
22426 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22427 gdb.mi/mi1-pthreads.exp: Return instead of calling
22428 gdb_suppress_entire_file.
22429
eabd8992
MS
224302003-02-01 Mark Salter <msalter@redhat.com>
22431
22432 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
22433
71469e2f
MS
224342003-01-31 Mark Salter <msalter@redhat.com>
22435
22436 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
22437 Support empty arg.
22438
38a94d44
MC
224392003-01-30 Michael Chastain <mec@shout.net>
22440
22441 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
22442 This was a workaround for a UTF-8 bug in readline 4.3. The bug
22443 has been fixed in gdb/readline on 2003-01-09.
22444
19ea9e73
MS
224452003-01-29 Michael Snyder <msnyder@redhat.com>
22446
e8d359df
MS
22447 * gdb.base/maint.exp: Allow for leading underscore in symbol.
22448 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
22449 * gdb.base/args.exp: Skip if target does not support args passing.
22450
2307bd6a
DJ
224512003-01-22 Daniel Jacobowitz <drow@mvista.com>
22452
19ea9e73 22453 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
22454 gdb_test. Accept a list of expect arguments as the third
22455 parameter.
22456 (gdb_test): Use it.
22457
f2dd3617
EZ
224582003-01-20 Elena Zannoni <ezannoni@redhat.com>
22459
22460 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
22461 allow for different test tree configurations. Update some
22462 tescases accordingly.
22463 * gdb.arch/altivec-regs.exp: Ditto.
22464 * gdb.asm/asm-source.exp: Ditto.
22465 * gdb.base/advance.exp: Ditto.
22466 * gdb.base/display.exp: Ditto.
d63a86f8 22467 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
22468 * gdb.base/mips_pro.exp: Ditto.
22469 * gdb.base/overlays.exp: Ditto.
22470 * gdb.base/relocate.exp: Ditto.
22471 * gdb.base/setshow.exp: Ditto.
22472 * gdb.base/step-line.exp: Ditto.
22473 * gdb.base/step-test.exp: Ditto.
22474 * gdb.base/until.exp: Ditto.
22475 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
22476
c71cdefd
DC
224772003-01-17 David Carlton <carlton@math.stanford.edu>
22478
22479 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
22480 corresponding to PR c++/945.
22481 Update copyright.
22482
fdba05d7
DC
224832003-01-17 David Carlton <carlton@math.stanford.edu>
22484
22485 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
22486 corresponding to PR c++/68.
22487
224882003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
22489
22490 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
22491 (test_paddr_hairy_functions): Call print_addr_2_kfail for
22492 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
22493
c362c33a
EZ
224942003-01-15 Elena Zannoni <ezannoni@redhat.com>
22495
0fbc361c
EZ
22496 * gdb.base/break.exp: Fix change of default location, because of
22497 removal of until tests.
22498 * gdb.base/help.exp: Update test for new 'until' help message.
22499 Add test for help on 'advance'.
a9c64011 22500 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 22501
dabf8a35
MK
225022003-01-15 Mark Kettenis <kettenis@gnu.org>
22503
22504 * gdb.base/default.exp: Adapt "info float" test for recent changes
22505 to that command. Add test for "info vector".
22506 * gdb.base/float.exp: New file. Add test for "info float" that
22507 resembles the old test in gdb.base/default.exp.
22508
a1769aca
DC
225092003-01-15 David Carlton <carlton@math.stanford.edu>
22510
22511 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
22512
82025e13
EZ
225132003-01-15 Elena Zannoni <ezannoni@redhat.com>
22514
22515 * gdb.base/break.exp: Move the tests of until command from here...
22516 * gdb.base/until.exp: ... to here. New file. Add other tests.
22517 * gdb.base/advance.c: New file.
22518 * gdb.base/advance.exp: New file.
22519
8f9ab801
EZ
225202003-01-14 Elena Zannoni <ezannoni@redhat.com>
22521
a9c64011
AS
22522 * gdb.base/args.c: New file.
22523 * gdb.base/args.exp: New file.
8f9ab801 22524
9ae66589
DJ
225252003-01-14 Daniel Jacobowitz <drow@mvista.com>
22526
22527 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
22528
8d77e5c3
DJ
225292003-01-14 Daniel Jacobowitz <drow@mvista.com>
22530
22531 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
22532
12d2f0a1
DJ
225332003-01-14 Daniel Jacobowitz <drow@mvista.com>
22534
22535 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
22536 dates.
22537
6ca37014
DJ
225382003-01-13 Daniel Jacobowitz <drow@mvista.com>
22539
22540 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
22541
b0023472
DJ
225422003-01-13 Daniel Jacobowitz <drow@mvista.com>
22543
22544 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
22545 (ptype &*"foo").
22546 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
22547
607fbc54 225482003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
22549
22550 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
22551 * gdb.mi/mi1-console.exp: Likewise.
22552
607fbc54 225532003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
22554
22555 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
22556 * gdb.mi/mi1-console.exp: Likewise.
22557
a1fb14a2
DJ
225582003-01-13 Daniel Jacobowitz <drow@mvista.com>
22559
22560 * gdb.c++/overload.exp: Remove some fixed XFAILs.
22561
c4cf40b7
DJ
225622003-01-09 Daniel Jacobowitz <drow@mvista.com>
22563
22564 * gdb.base/detach.exp: New test.
22565
696d5a5b
DJ
225662003-01-09 Daniel Jacobowitz <drow@mvista.com>
22567
22568 * Makefile.in (ALL_SUBDIRS): New variable.
22569 (subdirs, clean, distclean): Use it.
22570 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
22571 regenerating Makefile, since it is generated from the top level.
22572 * gdb.asm/Makefile.in: Likewise.
22573 * gdb.base/Makefile.in: Likewise.
22574 * gdb.c++/Makefile.in: Likewise.
22575 * gdb.disasm/Makefile.in: Likewise.
22576 * gdb.java/Makefile.in: Likewise.
22577 * gdb.mi/Makefile.in: Likewise.
22578 * gdb.threads/Makefile.in: Likewise.
22579 * gdb.trace/Makefile.in: Likewise.
22580
754533e4
DC
225812003-01-09 David Carlton <carlton@math.stanford.edu>
22582
22583 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
22584 Add copyright year 2003.
22585
d8b3e9ee
MC
225862003-01-06 Michael Chastain <mec@shout.net>
22587
22588 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
22589 When selecting a thread, 'line' and 'file' are optional.
22590 * gdb.mi/mi1-pthreads.exp: Likewise.
22591
8e9e0fe6
AS
225922003-01-06 Andreas Schwab <schwab@suse.de>
22593
22594 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
22595 failures.
22596
b5ab8ff3
DJ
225972003-01-04 Daniel Jacobowitz <drow@mvista.com>
22598
22599 Fix PR gdb/844
22600 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
22601 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
22602
22603 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
22604 instead of calling gdb_suppress_entire_file.
22605 * gdb.threads/print-threads.exp: Likewise.
22606 * gdb.threads/schedlock.exp: Likewise.
22607
22608 * gdb.threads/killed.exp: Return instead of calling
22609 gdb_suppress_entire_file.
22610 * gdb.threads/linux-dp.exp: Likewise.
22611 * gdb.threads/pthreads.exp: Likewise.
22612
1e698235
DJ
226132003-01-04 Daniel Jacobowitz <drow@mvista.com>
22614
22615 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
22616 stabs.
22617 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
22618 * gdb.base/whatis.exp: Always allow (void) after function names.
22619
147ff08c
DJ
226202003-01-04 Daniel Jacobowitz <drow@mvista.com>
22621
22622 * gdb.c++/casts.exp: Correct regexp.
22623
dc62bfc2
MK
226242003-01-04 Mark Kettenis <kettenis@gnu.org>
22625
22626 * configure.in: Call AC_CONFIG_HEADER. Don't call
22627 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
22628 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
22629 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
22630 aforementioned directories in the AC_OUPUT call.
22631 * config.hin: New file.
22632 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22633 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
22634 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
22635 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
22636 pass -I$objdir instead of -I$objdir/$subdir in compilation.
22637 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
22638 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
22639 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
22640 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
22641 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
22642 gdb.threads/configure.in, gdb.threads/configure,
22643 gdb.threads/config.in, gdb.trace/configure.in,
22644 gdb.trace/configure: Removed.
22645
77afa639
MC
226462003-01-03 Michael Chastain <mec@shout.net>
22647
22648 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
22649 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
22650
7634bb6e
DJ
226512003-01-03 Daniel Jacobowitz <drow@mvista.com>
22652
22653 * gdb.base/store.exp: Fix regular expressions.
22654
b39c905e
MK
226552002-12-28 Mark Kettenis <kettenis@gnu.org>
22656
22657 * configure.in: Rewrite.
22658 * configure: Regenerated.
22659
0a8551dd
DC
226602003-01-03 David Carlton <carlton@math.stanford.edu>
22661
22662 * gdb.base/psymtab.exp: New file.
22663 * gdb.base/psymtab1.c: Ditto.
22664 * gdb.base/psymtab2.c: Ditto.
22665
c60b7188
AF
226662002-12-23 Adam Fedor <fedor@gnu.org>
22667
22668 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
22669
ee73db83
DC
226702002-12-23 David Carlton <carlton@math.stanford.edu>
22671
22672 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
22673 and current_directory initialization.
22674
d6c1774e
JB
226752002-12-22 Jim Blandy <jimb@redhat.com>
22676
f0a847b8
JB
22677 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
22678 rather than as part of the output file name.
22679
d6c1774e
JB
22680 * gdb.base/attach.exp: There's no need to copy the test program to
22681 /tmp; that was only ever necessary on HP/UX, and this test is
22682 entirely disabled there anyway.
22683
f0708dbb
JB
226842002-12-21 Jim Blandy <jimb@redhat.com>
22685
4c2acfea
JB
22686 * gdb.c++/psmang.exp: Doc fix.
22687
f0708dbb
JB
22688 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
22689 test.
22690
9579e000
DC
226912002-12-20 David Carlton <carlton@math.stanford.edu>
22692
22693 * gdb.c++/annota2.exp: KFAIL annotate-quit.
22694
d1810171
MC
226952002-12-18 Michael Chastain <mec@shout.net>
22696
22697 * gdb.c++/annota2.exp: Add copyright year 2002.
22698
76565097
DC
226992002-12-17 David Carlton <carlton@math.stanford.edu>
22700
22701 * gdb.c++/try_catch.cc: Add marker comments.
22702 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
22703 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
22704 * gdb.c++/m-static.cc: Ditto.
22705 * gdb.c++/m-static1.cc: Ditto.
22706 * gdb.c++/try_catch.cc: Ditto.
22707
da81390b
JJ
227082002-12-16 Jeff Johnston <jjohnstn@redhat.com>
22709
22710 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
22711 to see whether we are using the new -environment-directory
22712 command which resets via -r or the old version of the command
22713 which may prompt the user. Part of fix for gdb/741.
22714
b304d130
AC
227152002-12-13 Andrew Cagney <ac131313@redhat.com>
22716
22717 * gdb.fortran/types.exp: Update obsolete comment.
22718 * gdb.fortran/exprs.exp: Ditto.
22719 * lib/gdb.exp: Delete obsolete code.
22720 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
22721 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
22722 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
22723 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
22724 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
22725 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
22726 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
22727 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
22728 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
22729 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
22730 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
22731 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
22732 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
22733 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
22734 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
22735 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
22736 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
22737 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
22738 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
22739 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
22740 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
22741 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
22742 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
22743 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
22744 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
22745 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
22746 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
22747 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
22748 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
22749 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
22750 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
22751 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
22752 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
22753 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
22754 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
22755 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
22756 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
22757
a23b6e6a
DC
227582002-12-11 David Carlton <carlton@math.stanford.edu>
22759
22760 * gdb.c++/m-data.exp: Add test for members that shadow global
22761 variables: see PR gdb/804.
22762 * gdb.c++/m-data.cc: Ditto.
22763
6604731b
DJ
227642002-12-10 Daniel Jacobowitz <drow@mvista.com>
22765
22766 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
22767
de46ecd7
DC
227682002-12-06 David Carlton <carlton@math.stanford.edu>
22769
22770 * gdb.base/store.c: Don't declare functions static.
22771
27e829d0
AC
227722002-12-04 Andrew Cagney <ac131313@redhat.com>
22773
22774 * gdb.base/store.exp, gdb.base/store.c: New files.
22775
92806416
DJ
227762002-12-03 Daniel Jacobowitz <drow@mvista.com>
22777
22778 * gdb.base/selftest.exp: Update for current gdb.
22779
3bcbaac5
DJ
227802002-12-03 Daniel Jacobowitz <drow@mvista.com>
22781
22782 * gdb.base/maint.exp: Only dump symbols from one source file
22783 or objfile.
22784
f4f00b1f
DJ
227852002-12-03 Daniel Jacobowitz <drow@mvista.com>
22786
22787 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
22788 function call.
22789
f1c8a949
JB
227902002-11-25 Jim Blandy <jimb@redhat.com>
22791
22792 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
22793 function appearing in error message.
22794
9e297a97
DJ
227952002-11-21 Daniel Jacobowitz <drow@mvista.com>
22796
22797 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
22798
1f312e79
JJ
227992002-11-08 Jeff Johnston <jjohnstn@redhat.com>
22800
d63a86f8
RM
22801 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
22802 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
22803 should be in mi console format. This is part of fix for PR gdb/604.
22804
83c31e7d
FN
228052002-09-18 Fernando Nasser <fnasser@redhat.com>
22806
22807 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
22808 which explicitly prints the zero offset as "+0".
22809
322b3f65
DJ
228102002-10-22 Daniel Jacobowitz <drow@mvista.com>
22811
22812 * gdb.threads/schedlock.c (args): Make unsigned.
22813
228142002-10-21 Daniel Jacobowitz <drow@mvista.com>
22815
22816 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
22817 numbers. Allow "foo2|selected stack frame".
22818 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
22819 * gdb.asm/asmsrc2.s: Likewise.
22820 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
22821 comments.
22822 * gdb.asm/mips.inc: New file.
22823
5e2fe5b8
AF
228242002-10-18 Adam Fedor <fedor@gnu.org>
22825
22826 * gdb.base/default.exp: Update expected output to include 'ObjC'.
22827 * gdb.base/help.exp: Likewise.
22828
abe1a5d0
KB
228292002-10-17 Kevin Buettner <kevinb@redhat.com>
22830
22831 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
22832 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
22833
10abb1d4
JB
228342002-10-02 Jim Blandy <jimb@redhat.com>
22835
22836 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
22837
1f609b42
AC
228382002-10-01 Andrew Cagney <ac131313@redhat.com>
22839
22840 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
22841 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
22842 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
22843 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
22844 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
22845 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
22846 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
22847
0aee02e4
AC
228482002-09-29 Andrew Cagney <ac131313@redhat.com>
22849
22850 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
22851 * mi0-disassemble.exp, mi0-eval.exp: Delete.
22852 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
22853 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
22854 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
22855 * mi0-var-block.exp, mi0-var-child.exp: Delete.
22856 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 22857
6fde09ad
KB
228582002-09-27 Kevin Buettner <kevinb@redhat.com>
22859
22860 * gdb.base/annota1.exp (info break): Make directory components of
22861 path optional since not all compilers emit this debug information.
22862
889bf7c5
PA
22863 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
22864 step ends up stepping out of the function instead of stopping on
22865 the epilogue.
6fde09ad 22866
9e8aab75
KS
228672002-09-26 Keith Seitz <keiths@redhat.com>
22868
22869 * lib/insight-support.exp (gdbtk_start): Figure out where
22870 the insight executable is based on where gdb is. Use this
22871 executable to start insight instead of gdb.
22872
e36180d7
AC
228732002-09-25 Andrew Cagney <cagney@redhat.com>
22874
22875 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
22876
9dd34b2b
AC
228772002-09-24 Andrew Cagney <ac131313@redhat.com>
22878
22879 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
22880 test_isolated_complaints.
22881 (test_empty_complaint): New function.
22882 (test_empty_complaints): New function. Check no output when no
22883 complaints.
d63a86f8 22884
dea97812
KB
228852002-09-19 Jim Blandy <jimb@redhat.com>
22886
a9c64011 22887 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 22888
54951bd7
AC
228892002-09-19 Andrew Cagney <ac131313@redhat.com>
22890
22891 * gdb.gdb/complaints.exp: New file.
22892
dec43320
AC
228932002-09-18 Andrew Cagney <ac131313@redhat.com>
22894
22895 * gdb.base/maint.exp: Check `help maint internal-warning'.
22896
e70d6e3f
DC
228972002-09-18 David Carlton <carlton@math.stanford.edu>
22898
22899 * gdb.c++/m-static.exp: Remove breakpoints depending on line
22900 numbers, and replace them by a single breakpoint after the
22901 constructors are all finished.
22902 Add test 4.
22903 * gdb.c++/m-static.cc: Add test 4.
22904 * gdb.c++/m-static.h: New file.
22905 * gdb.c++/m-static1.cc: New file.
22906
22907 * gdb.c++/printmethod.exp: New file.
22908 * gdb.c++/printmethod.cc: New file.
22909
22910 * gdb.c++/pr-574.exp: New file.
22911 * gdb.c++/pr-574.cc: New file.
22912
afb5c968
CV
229132002-09-18 Corinna Vinschen <vinschen@redhat.com>
22914
22915 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
22916 embedded targets which never actually exit.
22917
31e45dee
FN
229182002-09-18 Fernando Nasser <fnasser@redhat.com>
22919
22920 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
22921 "don't step after run" as unresolved or unsupported, instead of xfail.
22922
a283c5a1
CV
229232002-09-18 Corinna Vinschen <vinschen@redhat.com>
22924
22925 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
22926 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
22927 Add newline to expected string in "step out of main (status wrapper)"
22928 case.
22929
11350d2a
CV
229302002-09-18 Corinna Vinschen <vinschen@redhat.com>
22931
22932 * lib/gdb.exp (rerun_to_main): Allow restarting application.
22933 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
22934
0deec7d6
TT
229352002-09-17 Tom Tromey <tromey@redhat.com>
22936
22937 * gdb.base/printcmds.exp (test_print_string_constants): Expect
22938 \000, not \0, in double-quoted string.
22939
b2b4a1b5
CV
229402002-09-14 Corinna Vinschen <vinschen@redhat.com>
22941
c9d37158 22942 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
22943 string after running the commands execution on breakpoint tests.
22944
1c56143a
CV
229452002-09-13 Corinna Vinschen <vinschen@redhat.com>
22946
22947 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
22948
37f8da45
JB
229492002-09-12 Joel Brobecker <brobecker@gnat.com>
22950
22951 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
22952
08b468e0
KS
229532002-09-10 Keith Seitz <keiths@redhat.com>
22954
22955 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
22956 runto proc.
22957 (mi_run_to_main): Use mi_runto.
22958 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
22959
dc360f58
KS
229602002-09-10 Keith Seitz <keiths@redhat.com>
22961
22962 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
22963 regexp for stopping at main. Could have multiple event notifications.
22964 Don't assume that main was declared with no parameters.
22965 (mi_next): Use mi_step_to.
22966 (mi_step): Use mi_next_to.
22967
ce3abcfb
CV
229682002-09-09 Corinna Vinschen <vinschen@redhat.com>
22969
22970 * gdb.base/default.exp: Fix expected string in `info float' test.
22971
d1f5b980
BE
229722002-09-09 Ben Elliston <bje@redhat.com>
22973
22974 * config/mips.exp: Update comments.
22975 * config/mips-idt.exp: Likewise.
22976 * config/nind.exp: Likewise.
22977 * config/slite.exp: Likewise.
22978 * config/sparclet.exp: Likewise.
22979 * config/udi.exp: Likewise.
22980 * config/vx.exp: Likewise.
22981 * config/vxworks29k.exp: Likewise.
22982
2f71430b
JB
229832002-09-05 Jim Blandy <jimb@redhat.com>
22984
22985 * gdb.threads/killed.exp: Fix test failure message.
22986
7ddebc7e
KS
229872002-09-04 Keith Seitz <keiths@redhat.com>
22988
22989 * lib/mi-support.exp: Update copyright.
22990 (mi_gdb_test): Increase the priority of the expected pattern
22991 so that it matches gdb_test.
22992
0ae67eb3
KS
229932002-09-03 Keith Seitz <keiths@redhat.com>
22994
22995 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
22996 Use integer comparison instead of string comparison for testing
22997 whether binary was built.
22998
38fc42c8
JB
229992002-09-03 Jim Blandy <jimb@redhat.com>
23000
23001 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
23002
b6ff0e81
JB
230032002-08-29 Jim Blandy <jimb@redhat.com>
23004
23005 * gdb.threads/pthreads.exp: Move the portable thread compilation
23006 code into a function in lib/gdb.exp, and call that from here.
23007 * lib/gdb.exp (gdb_compile_pthreads): New function.
23008
07c98896
KS
230092002-08-29 Keith Seitz <keiths@redhat.com>
23010
23011 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
23012 expect_out so that callers can get at it.
23013
0312286c
DJ
230142002-08-23 Daniel Jacobowitz <drow@mvista.com>
23015
23016 * gdb.threads/print-threads.c: New file.
23017 * gdb.threads/print-threads.exp: New file.
23018 * gdb.threads/schedlock.c: New file.
23019 * gdb.threads/schedlock.exp: New file.
23020
dd039bc4
EZ
230212002-08-22 Elena Zannoni <ezannoni@redhat.com>
23022
a9c64011
AS
23023 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
23024 not altivec.c.
dd039bc4 23025
1f36144c
MK
230262002-08-17 Mark Kettenis <kettenis@gnu.org>
23027
23028 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
23029 targets. The problem should be fixed now.
23030
16057ec7 230312002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
23032
23033 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
23034 2002-07-24 change that removes final dots from error messages.
23035
3c1499ad
TT
230362002-08-13 Tom Tromey <tromey@redhat.com>
23037
23038 * gdb.base/readline.exp: New file.
23039
a20ce2c3
AC
230402002-08-01 Andrew Cagney <ac131313@redhat.com>
23041
23042 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
23043 supress message.
23044
db034ac5
AC
230452002-08-01 Andrew Cagney <cagney@redhat.com>
23046
23047 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
23048 CHILL_FOR_TARGET and CHILL_LIB.
23049 * configure.in (configdirs): Remove gdb.chill.
23050 * configure: Regenerate.
23051 * lib/gdb.exp: Obsolete references to chill.
23052 * gdb.fortran/types.exp: Ditto.
23053 * gdb.fortran/exprs.exp: Ditto.
23054
3e000b18
KB
230552002-07-30 Kevin Buettner <kevinb@redhat.com>
23056
23057 * gdb.base/shlib-call.exp (additional_flags): Conditionally
23058 set Irix-specific compile and link flags.
23059
28f4966b
KB
230602002-07-29 Kevin Buettner <kevinb@redhat.com>
23061
23062 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
23063 source files. The ``-o'' option doesn't work with the ``-E'' option
23064 when using the Irix compiler.
23065
46c0d5a6
DJ
230662002-07-19 Daniel Jacobowitz <drow@mvista.com>
23067
23068 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
23069 Improve support for reusing an exec file. Copy exec file
23070 to target, and run gdbserver on the target instead of on the host.
23071
eecf4bed
JB
230722002-07-18 Jim Blandy <jimb@redhat.com>
23073
0f815cdf
JB
23074 * gdb.base/ending-run.exp: Don't expect to see the program end in
23075 some orderly fashion when we're running on a real stand-alone
23076 board.
23077
eecf4bed
JB
23078 * gdb.base/interrupt.exp: Correct logic for skipping tests on
23079 targets that don't support interrupts.
23080
52d309e4
JB
230812002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
23082
23083 * gdb.base/attach.exp: Add patterns to match output from /proc-based
23084 systems.
23085 Move comments in expect statements to inside the actions, so that they
23086 don't get matched against.
23087
ff683d9e
MK
230882002-07-10 Mark Kettenis <kettenis@gnu.org>
23089
23090 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
23091 function when asleep" test.
23092
b5356753
AC
230932002-07-10 Andrew Cagney <ac131313@redhat.com>
23094
23095 * gdb.base/page.exp: Rewrite to handle problems with very long
23096 `info set' output. Update copyright.
23097
6aa4d13a
AC
230982002-06-26 Andrew Cagney <ac131313@redhat.com>
23099
23100 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
23101 gdb.threads-hp.
23102 * gdb.hp/configure: Regenerate.
23103 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
23104 * gdb.hp/gdb.threads-hp/configure: Delete file.
23105 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
23106
8cf8c2b8
AC
231072002-06-22 Andrew Cagney <ac131313@redhat.com>
23108
23109 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
23110 setlocale, bindtextdomain and textdomain.
23111
6827a8f8
JB
231122002-06-11 Jim Blandy <jimb@redhat.com>
23113
919d772c
JB
23114 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
23115 preprocessor macro information is present.
23116
6827a8f8
JB
23117 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
23118 tests.
23119
c15b0d21
MS
231202002-06-06 Michael Snyder <msnyder@redhat.com>
23121
c5984d70
MS
23122 * gdb.base/overlays.exp: Record addresses of overlay
23123 functions in TCL variables rather than in GDB variables,
23124 to avoid having GDB convert them to pointers (with loss
23125 of information).
23126
d63a86f8 23127 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 23128 default linker script changes.
c15b0d21
MS
23129 * gdb.base/long_long.exp: Add check for sizeof (long double).
23130
be26fe0d
ML
231312002-06-06 Michal Ludvig <mludvig@suse.cz>
23132
23133 * gdb.asm/asm-source.exp: Add x86-64 target.
23134 * gdb.asm/x86_64.inc: New.
d63a86f8 23135
258093ca 231362002-05-30 Michael Chastain <mec@shout.net>
258093ca 23137
4b3153f1 23138 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
23139 * gdb.c++/m-static.cc: New file.
23140 * gdb.c++/m-static.exp: New file.
23141
241264c6
MS
231422002-05-28 Michael Snyder <msnyder@redhat.com>
23143
23144 * gdb.base/call-ar-st.exp: Allow for reduced floating point
23145 precision.
23146
9bba8c8f 231472002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 23148
4b3153f1 23149 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
23150 * gdb.c++/m-data.cc: New file.
23151 * gdb.c++/m-data.exp: New file.
23152
231532002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 23154
4b3153f1 23155 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 23156 * gdb.c++/try_catch.cc: New file.
d63a86f8 23157 * gdb.c++/try_catch.exp: New file.
9bba8c8f 23158
def1b996
MC
231592002-05-27 Michael Chastain <mec@shout.net>
23160
23161 * gdb.c++/local.exp: Accept more nested types in output.
23162
522ba268
MC
231632002-05-26 Michael Chastain <mec@shout.net>
23164
23165 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
23166
277254ba
MS
231672002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
23168
23169 * lib/gdb.exp (gdb_wrapper_init): Just because
23170 gdb_wrapper_file exists, this does not mean that the file
23171 should not be rebuilt. That is what gdb_wrapper_initialized
23172 is for.
23173 (default_gdb_init): Reset gdb_wrapper_initialized.
23174
b61a8733
MS
231752002-05-23 Michael Snyder <msnyder@redhat.com>
23176
d63a86f8 23177 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
23178 the precision of the floating point test results.
23179 * gdb.base/call-rt-st.exp: Ditto.
23180
b61a8733
MS
23181 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
23182 * gdb.base/call-rt-st.exp: Ditto.
23183
56f6e910
MC
231842002-05-19 Michael Chastain <mec@shout.net>
23185
23186 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
23187
ad0b0016
EZ
231882002-05-19 Elena Zannoni <ezannoni@redhat.com>
23189
a9c64011
AS
23190 * configure.in (configdirs): Add gdb.arch.
23191 * configure: Regenerate.
ad0b0016 23192
f617d2b6
JB
231932002-05-17 Jim Blandy <jimb@redhat.com>
23194
23195 * gdb.base/completion.exp: Recognize the more detailed error
23196 messages produced by the macro expander's lexical analyzer.
23197
eac2a696
EZ
231982002-05-14 Elena Zannoni <ezannoni@redhat.com>
23199
a9c64011
AS
23200 * gdb.arch/altivec-abi.c: New file.
23201 * gdb.arch/altivec-abi.exp: New file.
23202 * gdb.arch/altivec-regs.c: New file.
23203 * gdb.arch/altivec-regs.exp: New file.
eac2a696 23204
2fdde8f8
DJ
232052002-05-14 Daniel Jacobowitz <drow@mvista.com>
23206
23207 * gdb.base/maint.exp (maint print type): Update for new type
23208 structure.
d63a86f8 23209
e31f1a7c
EZ
232102002-05-14 Elena Zannoni <ezannoni@redhat.com>
23211
23212 * gdb.arch: New directory.
23213 * gdb.arch/configure.in: New file.
23214 * gdb.arch/configure: New file.
23215 * gdb.arch/Makefile.in: New file.
23216
db589741
CV
232172002-05-13 Corinna Vinschen <vinschen@redhat.com>
23218
23219 * gdb.asm/asm-source.exp: Add v850 as supported target.
23220 * gdb.asm/v850.inc: New file.
23221
8ce2a7dc
DJ
232222002-05-13 Daniel Jacobowitz <drow@mvista.com>
23223
23224 * gdb.c++/annota2.exp (annotate-quit): Add comment.
23225
df763c7f
DJ
232262002-05-12 Daniel Jacobowitz <drow@mvista.com>
23227
23228 * gdb.base/break.exp: Check 'break "marker2"'.
23229
377daeed
MS
232302002-05-10 Michael Snyder <msnyder@redhat.com>
23231
23232 * gdb.base/long_long.exp: Fix typo.
23233
c4b7bc2b
JB
232342002-05-10 Jim Blandy <jimb@redhat.com>
23235
ecac9a4e
JB
23236 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
23237 a bug.
23238
c4b7bc2b
JB
23239 * gdb.base/printcmds.exp (test_integer_literals_rejected):
23240 Recognize more detailed error message produced by the macro
23241 expander's lexical analyzer.
23242 * lib/gdb.exp (test_print_reject): Same.
23243
e71019a1
MK
232442002-05-09 Mark Kettenis <kettenis@gnu.org>
23245
23246 * gdb.c++/method.exp: Fix typo.
23247
fedfc8e6
MS
232482002-05-08 Michael Snyder <msnyder@redhat.com>
23249
166a1957
MS
23250 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
23251 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 23252 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
23253 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
23254 Add iftarget clause for strongarm.
d63a86f8 23255
f1c47eb2
MS
232562002-05-06 Michael Snyder <msnyder@redhat.com>
23257
cb9a9d3e
MS
23258 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
23259 (gdb_continue_to_end): Accept output from status wrapper.
23260 * gdb.base/ending-run.exp: Add case for output from status wrapper.
23261 Clean up fail messages to match pass messages.
23262
f1c47eb2
MS
23263 Enable the "needs_status_wrapper" testsuite feature.
23264 * lib/gdb.exp (gdb_wrapper_init): New procedure.
23265 (gdb_compile): Conditionally call gdb_wrapper_init.
23266 * gdb.base/a2-run.exp: Recognize output from status wrapper.
23267 * gdb.c++/method.exp: Recognize output from status wrapper.
23268
6079c749
BE
232692002-05-06 Ben Elliston <bje@redhat.com>
23270From Graydon Hoare <graydon@redhat.com>
23271
23272 * config/sid.exp: Include support for "rawsid" protocol.
23273
188baff3
JB
232742002-05-03 Jim Blandy <jimb@redhat.com>
23275
23276 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
23277 * gdb.c++/hang3.C: New file.
23278
b9c07f0f
AC
232792002-05-04 Andrew Cagney <ac131313@redhat.com>
23280
23281 * gdb.base/default.exp: Remove obsolete code.
23282 * gdb.c++/misc.exp: Ditto. Update copyright.
23283 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
23284 * gdb.base/whatis.exp: Ditto. Update copyright.
23285 * gdb.base/scope.exp: Ditto. Update copyright.
23286 * gdb.base/ptype.exp: Ditto. Update copyright.
23287 * gdb.base/printcmds.exp: Ditto. Update copyright.
23288 * gdb.base/opaque.exp: Ditto. Update copyright.
23289 * gdb.base/list.exp: Ditto.
23290 * gdb.base/funcargs.exp: Ditto. Update copyright.
23291 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
23292 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
23293 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
23294 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
23295 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
23296 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
23297
5c7a0397
MS
232982002-05-02 Michael Snyder <msnyder@redhat.com>
23299
d6dcc264 23300 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
23301 * gdb.base/long_long.exp: Add xscale target.
23302 * gdb.base/default.exp: Add xscale target.
23303
eb7f1c48
JB
233042002-05-01 Jim Blandy <jimb@redhat.com>
23305
23306 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
23307 gdb.c++/hang.exp: New test.
23308
a6befae8
FF
233092002-05-01 Fred Fish <fnf@redhat.com>
23310
23311 * gdb.base/completion.exp: Handle completions of "./Make" for
23312 more than one completion possibility, as is the case when we
23313 build and test in the source tree.
23314
0a310277
AG
233152002-04-29 Anthony Green <green@redhat.com>
23316
23317 * gdb.java/jmisc1.exp: New file.
23318 * gdb.java/jmisc2.exp: New file.
23319
6ff9af88
DJ
233202002-04-24 Daniel Jacobowitz <drow@mvista.com>
23321
23322 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
23323
96b3d632
EZ
233242002-04-23 Elena Zannoni <ezannoni@redhat.com>
23325
23326 * gdb.base/help.exp: Change 'help status' to allow for target
23327 dependent output differences.
23328
5019bb54
MC
233292002-04-22 Michael Chastain <mec@shout.net>
23330
23331 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
23332
a805a116
MC
233332002-04-22 Michael Chastain <mec@shout.net>
23334
23335 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
23336
a1706bfd
DM
233372002-04-17 David S. Miller <davem@redhat.com>
23338
23339 * gdb.asm/sparc64.inc: New file.
23340 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
23341
a73a20a2
EZ
233422002-04-19 Elena Zannoni <ezannoni@redhat.com>
23343
23344 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
23345 instruction file directly into the build tree. Clean up at end of
23346 test.
23347
ba678339
DM
233482002-04-18 David S. Miller <davem@redhat.com>
23349
23350 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
23351 handle 64-bit platforms correctly.
23352 * gdb.base/maint.exp: Likewise.
23353
b03399da
KB
233542002-04-18 Kevin Buettner <kevinb@redhat.com>
23355
23356 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
23357 ``-fpic'' when compiling files comprising a shared library, but
23358 it does need additional linker flags in order to find shared
23359 libraries at run time.
23360
e2004992
KB
233612002-04-18 Kevin Buettner <kevinb@redhat.com>
23362
23363 * gdb.base/cvexpr.c (use): New function.
23364 (main): Invoke use() on all global variables to prevent
23365 some linkers from deleting these otherwise unused symbols.
23366
d8937120
MC
233672002-04-17 Michael Chastain <mec@shout.net>
23368From David S. Miller <davem@redhat.com>
23369
23370 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
23371 handle 64-bit platforms correctly.
23372
ffd61a58
MS
233732002-04-12 Michael Snyder <msnyder@redhat.com>
23374From Jim Blandy <jimb@redhat.com>
a9c64011 23375 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
23376 script can handle this instead.
23377 * gdb.base/bar.c (barx): Same.
23378 * gdb.base/baz.c (bazx): Same.
23379 * gdb.base/grbx.c (grbxx): Same.
23380
23381 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
23382 manager doesn't automatically unmap overlays unnecessarily.
23383
6b8426a6
MH
233842002-04-10 Martin M. Hunt <hunt@redhat.com>
23385
23386 * gdb.base/ending-run.exp: Fix pattern for Mips targets
23387 stepping out of main.
23388
34af4875
MC
233892002-04-09 Michael Chastain <mec@shout.net>
23390
23391 * gdb.c++/local.cc (main): Move call to marker1() inside nested
23392 scope so that the nested scope tests will make sense.
23393 * gdb.c++/local.exp: Write patterns that actually work with gcc
23394 (the HP patterns "were never known to work with gcc").
23395 Keep the old aCC patterns too.
23396
2d1676a0
DJ
233972002-04-09 Daniel Jacobowitz <drow@mvista.com>
23398
23399 * gdb.base/attach.exp: Correct target board test.
23400
3a63e3f9
MC
234012002-04-08 Michael Chastain <mec@shout.net>
23402
23403 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
23404 in a const method. Add some xfail and fail cases for configurations
23405 that do not emit the "const ...".
23406
f18dabd2
MC
234072002-04-07 Michael Chastain <mec@shout.net>
23408
23409 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
23410 Accept "A * const" and "const A * const" as type of "this".
23411 Fix spelling of getFunky throughout. Make messages uniform.
23412
0fcddd82
EZ
234132002-04-07 Elena Zannoni <ezannoni@redhat.com>
23414
a9c64011 23415 Work around for PR gdb/285:
0fcddd82
EZ
23416 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
23417
16a8534a
EZ
234182002-04-07 Elena Zannoni <ezannoni@redhat.com>
23419
23420 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
23421 instructions file at run time instead of configure time.
23422 Sometimes we run the test in a directory that is not the one we
23423 configured in.
23424 * gdb.asm/configure.in: Delete creation of symlink.
23425 * gdb.asm/configure: Regenerate.
23426
24181d81
JB
234272002-04-05 J. Brobecker <brobecker@gnat.com>
23428
23429 * gdb.gdb/xfullpath.exp: New test, to exercise the new
23430 xfullpath () function.
23431
7cdb7107
DJ
234322002-04-04 Daniel Jacobowitz <drow@mvista.com>
23433
23434 * gdb.asm/Makefile.in: Correct dependencies.
23435
23436 * gdb.asm/powerpc.inc: New file.
23437 * gdb.asm/asm-source.exp: Add PowerPC.
23438 * gdb.asm/configure.in: Likewise.
23439 * gdb.asm/configure: Regenerated.
23440
a7d17088
DJ
234412002-04-04 Daniel Jacobowitz <drow@mvista.com>
23442
23443 * gdb.base/relocate.exp: New file.
23444 * gdb.base/relocate.c: New file.
23445
cd721503
FF
234462002-04-04 Fred Fish <fnf@redhat.com>
23447
23448 * gdb.base/step-test.exp: Update comment regarding stopping in
23449 memcpy/bcopy calls inserted as part of the compiler runtime.
23450
b22ad7a7
MS
234512002-04-04 Michael Snyder <msnyder@redhat.com>
23452
23453 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
23454
5f279fa6
DJ
234552002-04-03 Daniel Jacobowitz <drow@mvista.com>
23456
23457 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
23458 (gdb_expect): Remove $notransfer hack.
23459
dd0fd3ce
DJ
234602002-04-02 Daniel Jacobowitz <drow@mvista.com>
23461
23462 * gdb.c++/classes.exp ("calling method for small class"): Match
23463 updated register output.
23464
1e50cda1
DJ
234652002-03-30 Daniel Jacobowitz <drow@mvista.com>
23466
23467 Fix PR gdb/452
23468 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
23469 when finished. Make gdb_file_cmd send "exec-file" when
23470 appropriate.
23471
24015922
DJ
234722002-03-30 Daniel Jacobowitz <drow@mvista.com>
23473
23474 * gdb.base/attach.exp: Remove extra setup_xfail.
23475
dd7dfd64
MS
234762002-03-26 Michael Snyder <msnyder@redhat.com>
23477
23478 * gdb.base/default.exp: Add tests for dump, append, and restore.
23479 * gdb.base/help.exp: Add tests for dump, append, and restore.
23480 * gdb.base/dump.exp: New file, test dump, append and restore.
23481 * gdb.base/dump.c: New file.
23482
48b2f8d7
MS
234832002-03-27 Michael Snyder <msnyder@redhat.com>
23484
d63a86f8 23485 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
23486 clean-ups in help messages.
23487
05b4d525
FF
234882002-03-26 Fred Fish <fnf@redhat.com>
23489
23490 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
23491 have debugging info for those functions and the compiler uses them
23492 internally to copy structs around.
23493
d7679631
FF
234942002-03-26 Fred Fish <fnf@redhat.com>
23495
23496 * gdb.base/list.exp: Revert the change made yesterday and add note
23497 about why we don't list the default lines for remote targets.
23498
523ac3f9
MS
234992002-03-25 Michael Snyder <msnyder@redhat.com>
23500
23501 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
23502
754b2b8d
FF
235032002-03-25 Fred Fish <fnf@redhat.com>
23504
23505 * gdb.base/list.exp: This test works on remote targets so remove
23506 the short circuit for remote targets. Update copyright.
23507
33c3e192
FF
235082002-03-25 Fred Fish <fnf@redhat.com>
23509
23510 * gdb.base/attach.exp: Fix logic error that was suppressing this
23511 test for all non hppa*-*-hpux* targets, instead of the hp target.
23512 Move comments closer to the suppression point. Also now need to
23513 check that we are running natively.
23514
d43e73ee
MS
235152002-03-22 Michael Snyder <msnyder@redhat.com>
23516
882c8f02
MS
23517 * gdb.base/default.exp: Add test for gcore. Update copyright.
23518 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 23519
04c12f60
FF
235202002-03-06 Fred Fish <fnf@redhat.com>
23521
23522 * gdb.base/funcargs.c: Remove extraneous ';' character.
23523 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
23524
b43df995
MC
235252002-03-04 Michael Chastain <mec@shout.net>
23526
23527 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
23528 accommodate gcc v3 function signature.
23529 * gdb.mi/mi0-var-cmd-exp: Ditto.
23530
92362027
AC
235312002-02-24 Andrew Cagney <ac131313@redhat.com>
23532
23533 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
23534 ``GNU/Linux'' or ``Linux kernel''
23535 * testsuite/gdb.threads/pthreads.c: Ditto.
23536
258ad32d
MC
235372002-02-24 Michael Chastain <mec@shout.net>
23538
23539 * gdb.threads/pthreads.c (thread1): Add a return statement.
23540 (thread2): Likewise.
23541 (foo): Likewise.
23542
04c3b3d4
MC
235432002-02-23 Michael Chastain <mec@shout.net>
23544
23545 * gdb.threads/linux-dp.c (philosopher): Add a return statement
23546 to placate gcc.
23547
5a2a0a20
MC
235482002-02-23 Michael Chastain <mec@shout.net>
23549
23550 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
23551 test "ptype bint". The test passes on all my stabs configurations.
23552
a640f7fc
JB
235532002-02-21 Jim Blandy <jimb@redhat.com>
23554
27924826
JB
23555 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
23556 filename at a time, and watch for the ones we want to see.
23557
a640f7fc
JB
23558 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
23559 types of pointers to prototyped functions.
23560
edcc8c75
AC
235612002-02-20 Andrew Cagney <ac131313@redhat.com>
23562
23563 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
23564 signed, unsigned and straight char.
23565 (padding_char, padding_short, padding_int, padding_long,
23566 padding_long_long, padding_float, padding_double,
23567 padding_long_double): New global variables.
23568 (fill, fill_structs): New functions.
23569
23570 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
23571 for correctly sized writes. Update copyright.
23572 (get_valueof): New procedure.
23573 (get_sizeof): Call get_valueof.
23574 (check_valueof): New procedure.
23575 (check_padding): New procedure.
23576
ac57ea44
MC
235772002-02-20 Michael Chastain <mec@shout.net>
23578
23579 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
23580 to setup_xfail. Document some of the remaining calls.
23581
7a10c941
MC
235822002-02-18 Michael Chastain <mec@shout.net>
23583
23584 * gdb.c++/userdef.exp: Update copyright year.
23585
fb8acdcc
DJ
235862002-02-18 Daniel Jacobowitz <drow@mvista.com>
23587
23588 * gdb.c++/userdef.exp: Test overloaded operators properly.
23589 Remove xfails.
23590
fda6ae12
MS
235912002-02-14 Michael Snyder <msnyder@redhat.com>
23592
23593 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
23594
676a0442
DJ
235952002-02-14 Daniel Jacobowitz <drow@mvista.com>
23596
23597 * gdb.base/a2-run.exp: Check for a remote target properly.
23598 * gdb.base/annota1.exp: Likewise.
23599 * gdb.base/list.exp: Likewise.
23600 * gdb.base/reread.exp: Likewise.
23601 * gdb.base/scope.exp: Likewise.
23602 * gdb.base/shlib-call.exp: Likewise.
23603 * gdb.base/term.exp: Likewise.
23604 * gdb.c++/annota2.exp: Likewise.
23605
78b4f468
RE
236062002-02-13 Richard Earnshaw <rearnsha@arm.com>
23607
23608 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
23609
9a81ba51
MC
236102002-02-10 Michael Chastain <mec@shout.net>
23611
23612 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
23613 (call_after_alloca): Ditto.
23614
004af6c7
DJ
236152002-02-10 Daniel Jacobowitz <drow@mvista.com>
23616
23617 * gdb.base/ending-run.exp: Guard "cont" test with
23618 gdb_skip_stdio_test.
23619
37225f62
JB
236202002-02-06 Jim Blandy <jimb@redhat.com>
23621
23622 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
23623 from here...
23624 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
23625 To here. Disable this test on non-HP platforms. Add big comment.
23626
fe6fdd96
MS
236272002-02-04 Michael Snyder <msnyder@redhat.com>
23628
23629 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
23630 other than d10v and m32r.
23631
036fad3f
RE
236322002-02-02 Richard Earnshaw <rearnsha@arm.com>
23633
23634 * gdb.base/default.exp: Rewrite test patterns to reduce time
23635 taken to match them.
23636
7148ab62
DJ
236372002-01-30 Daniel Jacobowitz <drow@mvista.com>
23638
23639 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
23640 Allow a start function above main.
23641 * gdb.threads/linux-dp.exp: Fix copyright date.
23642
396cc255
DJ
236432002-01-30 Daniel Jacobowitz <drow@mvista.com>
23644
a9c64011
AS
23645 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
23646 (check_philosopher_stack): Check for manager thread before checking
23647 for a just-starting thread.
396cc255 23648
f038d31b
DJ
236492002-01-30 Daniel Jacobowitz <drow@mvista.com>
23650
23651 From Neil Booth <neil@daikokuya.demon.co.uk>:
23652 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
23653 warnings.
23654
b3ff9d9a
FF
236552002-01-21 Fred Fish <fnf@redhat.com>
23656
23657 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
23658 not caller.
23659
39ad761d
JB
236602002-01-21 Jim Blandy <jimb@redhat.com>
23661
23662 * gdb.base/reread.exp: Check that GDB properly re-reads the
23663 executable file when it changes while no inferior is running.
23664
aaf320fa
FF
236652002-01-21 Fred Fish <fnf@redhat.com>
23666
a9c64011
AS
23667 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
23668 optionally accept the "shlib events" variation.
aaf320fa 23669
808a31f5
JB
236702002-01-21 Jim Blandy <jimb@redhat.com>
23671
23672 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
23673 call `fflush' after every `printf', so that the output is produced
23674 at predictable points, regardless of whatever buffering does (or
23675 doesn't) take place.
23676 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
23677 at different points.
23678
4420d5e2
DJ
236792002-01-20 Daniel Jacobowitz <drow@mvista.com>
23680
23681 * gdb.c++/inherit.exp: Update copyright years.
23682 * gdb.c++/method.exp: Likewise.
23683
3e36a0f4
DJ
236842002-01-20 Daniel Jacobowitz <drow@mvista.com>
23685
23686 * gdb.c++/classes.exp: Update for improved v3 support and skipping
23687 artificial methods/arguments.
23688 * gdb.c++/derivation.exp: Likewise.
23689 * gdb.c++/inherit.exp: Likewise.
23690 * gdb.c++/method.exp: Likewise.
23691 * gdb.c++/virtfunc.exp: Likewise.
23692
b4ceaee6
AC
236932002-01-18 Andrew Cagney <ac131313@redhat.com>
23694
23695 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
23696 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
23697 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
23698 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
23699 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
23700 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
23701
ecace851
JB
237022002-01-17 Jim Blandy <jimb@redhat.com>
23703
23704 * gdb.asm/asm-source.exp (info symbol): Take another shot at
23705 anchoring the pattern matching the entry point symbol's name.
23706
375fc983
AC
237072002-01-17 Andrew Cagney <ac131313@redhat.com>
23708
23709 * gdb.base/maint.exp: Update ``maint internal-error'' to match
23710 continue/quit query. Update copyright.
23711
fe6fdd96
MS
237122002-01-14 Michael Snyder <msnyder@redhat.com>
23713
23714 * gdb.base/gcore.exp: Remove extra debugging output.
23715
e017c81f
DJ
237162002-01-13 Daniel Jacobowitz <drow@mvista.com>
23717
23718 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
23719 for slightly dubious v2 mangled string.
23720
37ab3bf8
DJ
237212002-01-13 Daniel Jacobowitz <drow@mvista.com>
23722
23723 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
23724
1bc05c3a 237252002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 23726
1bc05c3a 23727 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 23728
1bc05c3a
JM
23729 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
23730 constructors.
23731 * gdb.c++/derivation.exp: Likewise.
23732 * gdb.c++/templates.exp: Likewise.
23733 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 23734
1bc05c3a
JM
237352002-01-10 Michael Snyder <msnyder@redhat.com>
23736
23737 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 23738
a911c360
MS
237392002-01-08 Michael Snyder <msnyder@redhat.com>
23740
23741 * gdb.base/gcore.exp: New test for generate-core-file command.
23742 * gdb.base/gcore.c: Testcase for above.
23743 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
23744
ea2119ec
JM
237452002-01-08 Jason Merrill <jason@redhat.com>
23746
23747 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
23748
68203136
FF
237492002-01-07 Fred Fish <fnf@redhat.com>
23750
23751 * gdb.c++/overload.exp: Remove unconditional xfails for:
23752 print foo_instance1.overloadargs(1)
23753 print foo_instance1.overloadargs(1, 2)
23754 print foo_instance1.overloadargs(1, 2, 3)
23755 print foo_instance1.overloadargs(1, 2, 3, 4)
23756 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
23757 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
23758 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
23759 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
23760 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
23761 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
23762 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
23763 print foo_instance1.overload1arg()
23764 print foo_instance1.overload1arg((char)arg2)
23765 print foo_instance1.overload1arg((signed char)arg3)
23766 print foo_instance1.overload1arg((unsigned char)arg4)
23767 print foo_instance1.overload1arg((int)arg7)
23768 print foo_instance1.overload1arg((unsigned int)arg8)
23769 print foo_instance1.overload1arg((float)arg11)
23770 print foo_instance1.overload1arg((double)arg12)
d63a86f8 23771
21b9b5b1
MS
237722002-01-07 Michael Snyder <msnyder@redhat.com>
23773
23774 * gdb.base/huge.exp: New test. Print a very large target data object.
23775 (skip_huge_test): New test variable. Define if you want to skip this
23776 test. The test reads an 8 megabyte data object from the target, so it
23777 might be very time consuming on remote targets with a slow connection.
23778 * gdb.base/huge.c: New file. Test case for above.
23779
725f922e
FF
237802002-01-07 Fred Fish <fnf@redhat.com>
23781
23782 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
23783 g_instance.bfoo, and g_instance.cfoo.
23784
889bf7c5 237852002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 23786
889bf7c5
PA
23787 * gdb.base/break.c (multi_line_if_conditional): New function.
23788 (multi_ilne_while_conditional): Likewise.
23789 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
23790 IF or WHILE condition puts the breakpoint at the start of
23791 the condition.
f286b2c3 23792
634d57ec
JL
23793 * gdb.base/selftest.exp (backtrace through signal handler): Remove
23794 hppa*-*-hpux* expected failure.
23795 * gdb.base/structs.exp (do_function_calls): Similarly.
23796
23797 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
23798 watchpoints.
23799
9fbfe2dc
AC
238002002-01-06 Andrew Cagney <ac131313@redhat.com>
23801
23802 Fix PR gdb/66.
23803 * gdb.base/structs.exp: Replace skip for a29k with skip for
23804 gdb,cannot_call_functions.
23805 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
23806 * gdb.base/callfuncs.exp: Ditto.
23807 * gdb.base/call-rt-st.exp: Ditto.
23808 * gdb.base/call-strs.exp: Ditto.
23809 * gdb.base/callfwmall.exp: Ditto.
23810 * gdb.base/scope.exp: Obsolete xfail a29k.
23811 * gdb.c++/misc.exp: Ditto.
23812 * gdb.c++/cplusfuncs.exp: Ditto.
23813 * gdb.base/ptype.exp: Ditto.
23814 * gdb.base/printcmds.exp: Ditto.
23815 * gdb.base/opaque.exp: Ditto.
23816 * gdb.base/list.exp: Ditto.
23817 * gdb.base/funcargs.exp: Ditto.
23818 * gdb.base/default.exp: Ditto.
23819
8ddad156
MS
238202002-01-04 Michael Snyder <msnyder@redhat.com>
23821
ca4976a6 23822 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
23823 * gdb.base/maint.exp: Add tests for maint info sections options.
23824
1b074332
JL
23825Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
23826
23827 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
23828
7d159115
CV
238292001-12-20 Corinna Vinschen <vinschen@redhat.com>
23830
23831 * gdb.asm/arm.inc: New file.
23832 * gdb.asm/asm-source.exp: Add arm targets.
23833 * gdb.asm/configure.in: Ditto.
23834 * gdb.asm/configure: Recreated from configure.in.
23835
8fb87725
JL
23836Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
23837
afabe08c
JL
23838 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
23839 with HP's compiler.
23840 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
23841 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
23842 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
23843 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
23844
23845 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
23846 either HP's compilers or GCC.
23847
db521deb
JL
23848 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
23849 a SIGBUS or SIGSEGV.
23850
23851 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
23852
23853 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
23854 can be compiled with either HP's compiler or GCC.
23855
cfa88ab7
JL
23856 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
23857 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
23858 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
23859
ca344dff
JL
23860 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
23861 to match current gdb output. Update due to using auto-solib-limit
23862 for limiting instead of overloading auto-solib-add.
23863 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
23864 test program.
23865
3f3c6e55 23866 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
23867 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
23868 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
23869 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
23870 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
23871 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
23872 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
23873 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
23874 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
23875 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
23876 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
23877 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
23878 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 23879
8fb87725
JL
23880 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
23881 a SIGTRAP to the inferior.
23882
cf599fa7
CV
238832001-12-19 Corinna Vinschen <vinschen@redhat.com>
23884
23885 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
23886 Substitute call to target_link by call to gdb_compile.
23887
2cd045cd
JL
23888Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
23889
a9c64011
AS
23890 * gdb.base/break.exp: Fix HP specific search string when testing
23891 backtracing in a called function.
2cd045cd 23892
a9c64011
AS
23893 * gdb.base/constvars.exp: Only set lang to C++ if we're
23894 compiling the test with HP's compilers.
23895 * gdb.base/volatile.exp: Similarly.
2cd045cd 23896
99ebe9ac
JB
238972001-12-19 Jim Blandy <jimb@redhat.com>
23898
23899 * gdb.base/printcmds.exp: Expect the null character to be printed
23900 as '\0', and the '\013' to be printed as '\v'.
23901 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
23902 * gdb.base/setvar.exp: Same.
23903
b9891b29
JB
239042001-12-17 Jim Blandy <jimb@redhat.com>
23905
0eba65ab
JB
23906 * gdb.base/completion.exp: Rather than completing very long
23907 filenames, which can make the readline library produce output we
23908 don't recognize, cd to the directory first, and then complete
23909 using nice, short relative paths.
23910
6970b5b1
JB
23911 * gdb.base/completion.exp: On some systems, there is, in fact, a
23912 variable named `b' in scope, since GDB treats all static
a9c64011
AS
23913 variables as being in scope. So use `no_var_named_this'
23914 instead of `b'.
6970b5b1 23915
b9891b29 23916 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 23917 can't find the core file's registers as a failure.
b9891b29 23918
e6ccd35f
JSC
239192001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
23920
a9c64011
AS
23921 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
23922 test expect string more specific.
e6ccd35f 23923
105ba819
CV
239242001-12-13 Corinna Vinschen <vinschen@redhat.com>
23925
23926 * gdb.asm/asm-source.exp: Add support for xstormy16.
23927 * gdb.asm/configure.in: Ditto.
23928 * gdb.asm/configure: Rebuild.
23929 * gdb.asm/xstormy16.inc: New file.
23930
e9e79dd9
FF
239312001-12-10 Fred Fish <fnf@redhat.com>
23932
23933 * gdb.base/maint.exp: Update to match changes in type dumping code.
23934
347dc97d
JB
239352001-12-10 Jim Blandy <jimb@redhat.com>
23936
23937 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
23938 matching the entry point symbol's name at the beginning of the
23939 line.
347dc97d 23940
5178b9d6
DJ
239412001-12-07 Daniel Jacobowitz <drow@mvista.com>
23942
23943 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
23944 gdb.c++/inherit.exp, gdb.c++/method.exp,
23945 gdb.c++/namespace.exp, gdb.c++/templates.exp,
23946 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
23947 and class layout support.
23948
af890c52
DJ
239492001-12-07 Daniel Jacobowitz <drow@mvista.com>
23950
23951 * gdb.c++/classes.exp: Add test for static member function.
23952 * gdb.c++/misc.cc: Add class with static member function.
23953
7a345fb3
JB
239542001-12-07 Jim Blandy <jimb@redhat.com>
23955
f2e54a80 23956 If GDB says it can't find the struct the function returned, report
8032bf31
JB
23957 those tests as `unsupported'.
23958 * gdb.base/call-rt-st.exp (print_struct_call): New function.
23959 Rewrite subsequent tests to use it.
23960
23961 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
23962 those tests as `unsupported'.
23963 * gdb.base/structs.exp (call_struct_func): New function.
23964 (do_function_calls): Use call_struct_func to call the functions
23965 returning structs.
23966
0bc69509
JB
23967 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
23968 whether functions are prototyped or not, so we can't possibly pass
23969 arguments to t_float_values2 properly.
23970
7a345fb3
JB
23971 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
23972 value of `timeout' for targets other than the mips*tx39-*.
23973
edb6ede1
MS
239742001-12-06 Michael Snyder <msnyder@redhat.com>
23975
d63a86f8 23976 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
23977 and detect whether the start symbol has a leading underscore.
23978
2d842f13
JB
239792001-12-04 Jim Blandy <jimb@redhat.com>
23980
23981 * gdb.base/completion.exp: Clarify indentation.
23982
68550daf
JB
239832001-12-03 Jim Blandy <jimb@redhat.com>
23984
23985 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
23986 variables on the S/390, not `.word'.
23987
cd5195a8
JB
239882001-11-30 Jim Blandy <jimb@redhat.com>
23989
23990 Add assembly-source tests for s390-ibm-linux.
23991 * gdb.asm/s390.inc: New file.
23992 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
23993 the S/390 architecture.
a9c64011 23994 * gdb.asm/configure: Regenerated.
cd5195a8 23995
ca9efc90
MS
239962001-11-30 Michael Snyder <msnyder@redhat.com>
23997
23998 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
23999 next, info source, info sources, info line, global and static
24000 variables, and static functions.
24001 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
24002 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
24003 * gdb.asm/asmsrc1.s: Add a static function and some variables.
24004 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
24005 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
24006 (gdbasm_leave): Restore frame pointer.
24007 (gdbasm_startup): Copy stack set-up from crt0.S.
24008
d0e66976
FN
240092001-11-26 Fernando Nasser <fnasser@redhat.com>
24010
24011 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
24012 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
24013 to a local (non-static) variable. Copy tstruct.a to a static buffer
24014 and return a pointer to that buffer.
24015 * gdb.base/callfwmall.c (t_structs_a): Ditto.
24016
e2334072
MK
240172001-11-24 Mark Kettenis <kettenis@gnu.org>
24018
24019 * gdb.asm/configure.in: Fix recognition of ix86 target.
24020 * gdb.asm/configure: Regenerate.
24021
756caa3d
MS
240222001-11-21 Michael Snyder <msnyder@redhat.com>
24023
24024 * gdb.asm/sparc.inc: New file.
24025 * gdb.asm/asm-source.exp: Recognize sparc target.
24026 * gdb.asm/configure.in: Recognize sparc target.
24027 * gdb.asm/configure: Regenerate.
d63a86f8 24028
9a4d72d5
MS
240292001-11-21 Michael Snyder <msnyder@redhat.com>
24030
24031 * gdb.asm/m32r.inc: New file.
24032 * gdb.asm/asm-source.exp: Recognize m32r target.
24033 * gdb.asm/configure.in: Recognize m32r target.
24034 * gdb.asm/configure: Regenerate.
24035
a773d1cd
MS
240362001-11-20 Michael Snyder <msnyder@redhat.com>
24037
017ac23d
MS
24038 * gdb.asm/i386.inc: New file.
24039 * gdb.asm/asm-source.exp: Recognize ix86 target.
24040 * gdb.asm/configure.in: Recognize ix86 target.
24041 * gdb.asm/configure: Regenerate.
24042
a773d1cd
MS
24043 * gdb.c++/namespace.exp: Fix quotes in output messages.
24044
bb632afb
MS
240452001-11-14 Michael Snyder <msnyder@redhat.com>
24046
25d559ca 24047 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
24048 qualifier in a type cast expression, to designate an address
24049 in the instruction space (Harvard architecture).
24050
4749e309
MS
240512001-11-13 Michael Snyder <msnyder@redhat.com>
24052
24053 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
24054 Tests for expressions using 'const' and 'volatile'.
24055
25050984
CV
240562001-11-13 Corinna Vinschen <vinschen@redhat.com>
24057
24058 * gdb.asm/asm-sources.exp: Allow defining linker flags.
24059
1902c51f
DJ
240602001-11-12 Daniel Jacobowitz <drow@mvista.com>
24061
24062 * lib/mi-support.exp (mi_run_to_helper): Move comments
24063 outside of gdb_expect.
24064
dcf95b47
DJ
240652001-11-11 Daniel Jacobowitz <drow@mvista.com>
24066
24067 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
24068 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
24069 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
24070 mi0_run_to): New functions.
24071 * gdb.mi/mi-simplerun.exp: Use them.
24072 * gdb.mi/mi0-simplerun.exp: Likewise.
24073 * gdb.mi/mi-var-cmd.exp: Likewise.
24074 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 24075
45b074e1
AC
240762001-11-10 Andrew Cagney <ac131313@redhat.com>
24077
24078 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
24079 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
24080
bf50d346
AC
240812001-11-09 Andrew Cagney <ac131313@redhat.com>
24082
24083 * gdb.base/restore.exp: Include $expected value in restored test
24084 message.
24085
9383332c
AC
240862001-11-09 Andrew Cagney <ac131313@redhat.com>
24087
24088 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
24089 implemented.
24090
db62520a
MS
240912001-11-08 Michael Snyder <msnyder@redhat.com>
24092
24093 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
24094 Add pass/fail message for stop at breakpoint in call dummy function.
24095
b5703437
MS
240962001-11-07 Michael Snyder <msnyder@redhat.com>
24097
d63a86f8
RM
24098 * gdb.c++/templates.exp (test_template_breakpoints):
24099 If we get an overload menu, but it does not match what
760f6330 24100 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
24101 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
24102 making the whitespace optional. Argument for "new" may be
24103 "unsigned" as well as "unsigned int/long".
d63a86f8 24104 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
24105 making the whitespace optional. Also replace "(void) with
24106 "((void|)), making the keyword "void" optional.
d63a86f8 24107 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
24108 making the whitespace optional. Also replace "(void) with
24109 "((void|)), making the keyword "void" optional.
3bf40917
MS
24110 * gdb.base/callfuncs.c (t_float_values): This function must
24111 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 24112 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
24113 can be tested against both cases. Usually one case involves
24114 promotion of float to double, while the other does not.
24115 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
24116 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
24117 includes a stack frame for "start".
24118
c8ab4e6d
JB
241192001-11-05 Jim Blandy <jimb@redhat.com>
24120
24121 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
24122 pointers are 32 bits long, and that offsets of relocs are always
24123 stored in the data (REL-style), and not in the reloc entry itself
24124 (RELA-style).
24125 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
24126 stabs.
24127
3f08ced9
MS
241282001-11-01 Michael Snyder <msnyder@redhat.com>
24129
24130 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
24131 and regular expression operators by using quoting.
24132
cbfa24cd
MS
241332001-10-31 Michael Snyder <msnyder@redhat.com>
24134
24135 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
24136 depending on what the symbol table contains.
24137 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
24138 the output of the ptype command. Similarly, accept both "const &"
24139 and "const&".
24140
aaa68313
CV
241412001-10-31 Corinna Vinschen <vinschen@redhat.com>
24142
24143 * gdb.base/miscexprs.c (main): Add usage of preprocessor
24144 symbol `STORAGE' to allow to choose the storage class of
24145 the local datastructures.
24146 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
24147 compiler directive.
24148
91740388
MS
241492001-10-30 Michael Snyder <msnyder@redhat.com>
24150
24151 * gdb.base/jump.exp: Allow it to run for all targets.
24152
1b7c05e7
CV
241532001-10-29 Corinna Vinschen <vinschen@redhat.com>
24154
24155 * gdb.base/call-ar-st.c (print_double_array): Match for loop
24156 with new double_array size.
24157 (main): Change storage class of all local variables to static.
24158 Reduce size of double_array to 9.
24159 * gdb.base/call-ar-st.exp: Increase timeout value.
24160 Change expected output for double array to match new size in
24161 call-ar-st.c.
24162
36a22261
CV
241632001-10-29 Corinna Vinschen <vinschen@redhat.com>
24164
24165 * gdb.base/ending-run.exp: Create identical output when passing
24166 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 24167 Stormy16 target.
36a22261 24168
92b8ae91
MK
241692001-10-28 Mark Kettenis <kettenis@gnu.org>
24170
24171 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
24172 that we catch the expected failure under Linux/x86.
24173
cb135b83
OF
241742001-10-29 Orjan Friberg <orjanf@axis.com>
24175
24176 * gdb.base/setvar.exp: Escape curly braces.
24177 * gdb.stabs/weird.exp: Ditto.
24178
6884aa54
DJ
241792001-10-27 Daniel Jacobowitz <drow@mvista.com>
24180
24181 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
24182 * gdm.mi/mi0-hack-cli.exp: Likewise.
24183
0398c9aa
AC
241842001-10-25 Andrew Cagney <ac131313@redhat.com>
24185
24186 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
24187 messages.
24188
d20bf2e8
AC
241892001-10-21 Andrew Cagney <ac131313@redhat.com>
24190
24191 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
24192 checking MI enabled.
24193
03dd63aa
CV
241942001-10-09 Corinna Vinschen <vinschen@redhat.com>
24195
24196 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
24197
1d9d99f3
FCE
241982001-10-04 Frank Ch. Eigler <fche@redhat.com>
24199
24200 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
24201 if gdb child process crashes, just signal an error.
24202
838ae6c4
JB
242032001-10-02 Jim Blandy <jimb@redhat.com>
24204
24205 * lib/gdb.exp (test_xfail_format): Simplify.
24206
24207 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
24208 front of the variable name `format'. Simplify `if'.
24209
8f0cbc1c
DJ
242102001-10-01 Daniel Jacobowitz <drow@mvista.com>
24211
24212 * gdb.threads/pthreads.exp: Wait for output and delay
24213 before sending ^C.
24214
1f08dafd
DJ
242152001-10-01 Daniel Jacobowitz <drow@mvista.com>
24216
24217 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
24218 some incorrect output instead of timing out.
24219 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
24220
674f90ff
CV
242212001-09-28 Corinna Vinschen <vinschen@redhat.com>
24222
24223 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
24224 check to allow additional `int'.
24225
9b284272
DJ
242262001-09-27 Daniel Jacobowitz <drow@mvista.com>
24227
24228 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
24229 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
24230
b55a4771
MS
242312001-09-27 Michael Snyder <msnyder@redhat.com>
24232
24233 * lib/gdb.exp (test_debug_format): New proc.
24234 (setup_xfail_format): Use new proc test_debug_format.
24235 * gdb.base/constvars.exp (local_compiler_xfail_check): New
24236 proc; use new service proc test_debug_format.
24237 Replace all other "gcc_compiled" tests with this test.
24238 * gdb.base/volatile.exp (local_compiler_xfail_check): New
24239 proc; use new service proc test_debug_format.
24240 Replace all other "gcc_compiled" tests with this test.
24241
242422001-09-27 Michael Snyder <msnyder@redhat.com>
24243
24244 * gdb.base/cvexpr.exp: New file.
24245 * gdb.base/cvexpr.c: New file
24246 Test for expressions using const and volatile keywords.
24247
4e6667ac
CV
242482001-09-26 Corinna Vinschen <vinschen@redhat.com>
24249
24250 * gdb.base/constvars.exp: Check for different orders of keywords
24251 and additional "int" strings in output.
24252
4f337972
AC
242532001-09-22 Andrew Cagney <ac131313@redhat.com>
24254
24255 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
24256 responses from "help maint".
24257
2015650d
FCE
242582001-09-19 Frank Ch. Eigler <fche@redhat.com>
24259
24260 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
24261 to localhost:NNN instead of :NNN, in case Xvfb is listening
24262 only on TCP.
24263
f3bcedc1
CV
242642001-09-19 Corinna Vinschen <vinschen@redhat.com>
24265
24266 * gdb.base/recurse.exp: When checking leaving the watchpoint
24267 scope, recognize when gdb is in function's epilogue and pass.
24268
6b819c92
KS
242692001-09-18 Keith Seitz <keiths@redhat.com>
24270
24271 * lib/insight-support.exp (_gdbtk_export_target_info): Add
24272 support for running tests against sid targets.
24273 (gdbtk_done): Ditto.
24274
a10c9419
CV
242752001-09-18 Corinna Vinschen <vinschen@redhat.com>
24276
24277 * gdb.base/ending-run.c (main): Set stdout buffersize
24278 to the same reasonable value for any target.
24279 * gdb.base/ending-run.exp: Add a regular expression
24280 to make testsuite happy on Sanyo Stormy16 target.
24281
739d0d99
CV
242822001-09-17 Corinna Vinschen <vinschen@redhat.com>
24283
24284 * gdb.base/display.c (do_loops): Add float variable `f'.
24285 Increment f in loop.
24286 * gdb.base/display.exp: Increment timeout by 60 seconds.
24287 Change float display test to use variable `f'.
24288
1b8947f0
JB
242892001-09-17 Jim Blandy <jimb@redhat.com>
24290
24291 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
24292 overflowing the limited breakpoint tables on some ROM monitors
24293 (like the ROM68K).
24294
9890ac81
FCE
242952001-09-15 Frank Ch. Eigler <fche@redhat.com>
24296
24297 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
24298 the "-ac" (disable access control) flag.
24299
6db765ea
JH
243002001-08-30 Jeff Holcomb <jeffh@redhat.com>
24301
24302 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
24303 ints.
24304
4c32cc04
KS
243052001-08-30 Keith Seitz <keiths@redhat.com>
24306
24307 * lib/gdb.exp: Move all insight-related functionality into
24308 separate file.
24309 * lib/insight-support.exp: New file.
24310
8d6e6f81
FCE
243112001-08-29 Frank Ch. Eigler <fche@redhat.com>
24312
24313 * config/sid.exp (sid_start): Never set sid verbosity; disable
24314 expect_background {} that consumed its stdout; tolerate </dev/null.
24315 Attempt to set endianness override in "sid" protocol mode. Cleanup.
24316
6a90e1d0
AC
243172001-08-18 Andrew Cagney <ac131313@redhat.com>
24318
24319 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
24320 CLI jump command to start it.
24321 (mi_run_to_main): Fail immediatly when unexpected output.
24322
1759b3c3
AC
243232001-08-18 Andrew Cagney <ac131313@redhat.com>
24324
24325 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
24326 beginning of function. Fix PR gdb/191.
24327
61d11d80
FCE
243282001-08-16 Frank Ch. Eigler <fche@redhat.com>
24329
24330 * config/sid.exp (sid_start): Don't warn if we cannot figure out
24331 what to force sid endianness to.
24332
942a4df2
KS
243332001-08-15 Keith Seitz <keiths@redhat.com>
24334
24335 * lib/gdb.exp (gdbtk_start): Don't set environment
24336 variables for TCL_LIBRARY and friends. Insight will
24337 now figure these out for itself.
24338
0521c418
MS
243392001-08-02 Michael Snyder <msnyder@redhat.com>
24340
24341 * gdb.base/completion.exp: Remove the symbol "a64l" from
24342 the expect string; this is target-specific, and not related
24343 to what is being tested.
24344
74a9a58a
DB
243452001-08-02 Dave Brolley <brolley@redhat.com>
24346
24347 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
24348
c70819fa
MS
243492001-07-25 Michael Snyder <msnyder@redhat.com>
24350
c2b8fa57
MS
24351 * gdb.base/consecutive.exp: New file. Test stepping over
24352 breakpoints on consecutive instructions.
24353 * gdb.base/consecutive.c: New file.
24354
c70819fa
MS
24355 * gdb.base/call-rt-st.exp: Use double-backslash to quote
24356 curly braces in regular expressions.
24357
2b1a1355
MS
243582001-07-25 Michael Snyder <msnyder@redhat.com>
24359
24360 * gdb.base/ending-run.exp: Accept "Program exited normally" as
24361 legitimate output from stepping out of main.
24362
413eca6f
KS
243632001-07-22 Keith Seitz <keiths@redhat.com>
24364
24365 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
24366 the empty string, do not run the tests.
24367
7e5a9322
SC
243682001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24369
24370 * gdb.base/long_long.exp: Detect size of pointer. Take into
24371 account 2-byte pointers when testing for p/a results.
24372
de58f10f
SC
243732001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24374
d63a86f8 24375 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
24376 and defined to 1K for m68hc11.
24377 (random_data): Reduce table to 1K for embedded platforms (68hc11).
24378 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
24379 (sizeof_random_data): New variable to tell the size of the data table;
24380 don't test past this size; always run to main.
24381
d6f5fea1
SC
243822001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24383
24384 * gdb.base/return2.exp: return of long long and double fails for
24385 68HC11; don't execute these tests on that platform.
24386 * gdb.base/return.exp: Return of a double fails for 68hc11.
24387
c477543d
SC
243882001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24389
24390 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
24391 tests that print a float.
24392 * call-rt-st.exp: Likewise.
24393
63cf1c79
MK
243942001-07-12 Mark Kettenis <kettenis@gnu.org>
24395
24396 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
24397 running this test on Linux.
24398
112f9ab5
MC
243992001-06-24 Michael Chastain <chastain@redhat.com>
24400
24401 * gdb.base/arithmet.exp: Remove some tests to make all test names
24402 unique.
24403
4970cb0f
MS
244042001-07-03 Michael Snyder <msnyder@redhat.com>
24405
24406 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
24407 the output of the ptype command.
24408
d85da69f
MS
244092001-07-02 Michael Snyder <msnyder@redhat.com>
24410
4c8a82de
MS
24411 * gdb.base/completion.exp: Don't assume that break.c is the only
24412 source file that may contain functions named "marker".
d85da69f
MS
24413 * gdb.base/corefile.exp: Quote the curly braces in regexp.
24414
8afc772b
AC
244152001-06-28 Andrew Cagney <ac131313@redhat.com>
24416
24417 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
24418 of files to delete.
24419
24420 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
24421 * gdb.disasm/h8300s.exp: New file.
24422 gdb.disasm/h8300s.s: Likewise.
24423
cff22675
AC
244242001-06-27 Andrew Cagney <ac131313@redhat.com>
24425
24426 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
24427 empty breakpoint tables.
24428
68c81b54
AC
244292001-06-25 Andrew Cagney <ac131313@redhat.com>
24430
24431 * lib/mi-support.exp: Update args=... part of stop-reason
24432 patterns. Accept either a list or a tuple.
24433
2dd62704
AC
244342001-06-23 Andrew Cagney <ac131313@redhat.com>
24435
24436 * lib/mi-support.exp: Remove local emacs variable defining
24437 change-log-default-name.
24438
b4127474
MC
244392001-06-22 Michael Chastain <chastain@redhat.com>
24440
24441 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
24442 This is operationally compatible with the previous version.
24443
8dbfb380
JB
244442001-06-13 Jim Blandy <jimb@redhat.com>
24445
24446 * lib/gdb.exp (gdb_test): Doc fix.
24447
f2d8c86d
MC
244482001-06-10 Michael Chastain <chastain@redhat.com>
24449
24450 * gdb.base/exprs.exp: Remove a duplicate test.
24451
81564d34
JB
244522001-06-06 Jim Blandy <jimb@redhat.com>
24453
24454 * gdb.base/return2.exp (main): Use values to test float and double
24455 returns that are not NaN's, to avoid being confused by IEEE
24456 comparison rules.
24457
da55addb
MS
244582001-06-04 Michael Snyder <msnyder@redhat.com>
24459
24460 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 24461 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
24462 rather than wait for 12 more tests to time out.
24463
42c65987
JB
244642001-06-06 Jim Blandy <jimb@redhat.com>
24465
b18bced9 24466 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 24467 Don't forget to match the GDB prompt.
b18bced9 24468
42c65987
JB
24469 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
24470
5b41e5f0
JB
244712001-06-04 Jim Blandy <jimb@redhat.com>
24472
24473 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
24474 command.
24475
015e046f
KB
244762001-05-31 Kevin Buettner <kevinb@redhat.com>
24477
24478 * gdb.base/annota1.exp (info break): Match four or more spaces
24479 after "Address".
24480
fb1ffbbe
MC
244812001-05-31 Michael Chastain <chastain@redhat.com>
24482
24483 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
24484 (dm_type_int_star): Likewise.
24485 (dm_type_long_star): Likewise.
24486 (dm_type_void_star): Likewise.
24487
5ea2a32c
KB
244882001-05-29 Kevin Buettner <kevinb@redhat.com>
24489
24490 * gdb.base/completion.exp (INPUTRC): Set this environment variable
24491 to a known value in order to get consistent results regardless
24492 of the setting of INPUTRC or the presence or contents of .inputrc.
24493
ae23c492
MS
244942001-05-24 Michael Snyder <msnyder@redhat.com>
24495
ac55707e
MS
24496 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
24497 Don't require that the main thread and the manager thread are the
24498 first in the list.
24499
ae23c492
MS
24500 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
24501 debugging. If test fails, issue an "unsupported" not a "fail".
24502
400071f1
JB
245032001-05-24 Jim Blandy <jimb@redhat.com>
24504
24505 Don't assume that short is shorter than int.
24506 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
24507 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 24508 this isn't true.
400071f1
JB
24509 ("print unsigned char == (~0)"): Add test that verifies that ~0,
24510 an int, is not equal to ~0 stored in an unsigned char. This tests
24511 the same thing that the previous test meant to, but works on
24512 16-bit machines, too.
24513 ("print unsigned char != (~0)"): Same test, complemented.
24514
0816a3e5
MS
245152001-05-24 Michael Snyder <msnyder@redhat.com>
24516
24517 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 24518 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
24519 and prevents dejagnu getting out of step.
24520
f6dc23a9
KB
245212001-05-23 Kevin Buettner <kevinb@redhat.com>
24522
24523 * gdb.base/finish.exp (finish_void): Revise pattern for
24524 stopping on the call statement to not permit stopping at
24525 the start of the instructions comprising the call sequence.
24526
7dbd117d
MC
245272001-05-19 Michael Chastain <chastain@redhat.com>
24528
24529 * gdb.base/callfuncs.exp: Make all test names unique.
24530 * gdb.base/commands.exp: Make all test names unique.
24531 * gdb.base/condbreak.exp: Make all test names unique.
24532 * gdb.base/dbx.exp: Make all test names unique.
24533 * gdb.base/default.exp: Make all test names unique.
24534 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
24535 and TIMEOUT messages to their corresponding PASS message.
24536 * gdb.base/ending-run.exp: Make all test names unique.
24537 * gdb.base/long_long.exp: Remove duplicate test.
24538
6b0b0a9e
KB
245392001-05-21 Kevin Buettner <kevinb@redhat.com>
24540
24541 * gdb.base/finish.exp (finish_void): Allow "finish" command to
24542 stop on the call statement as well as the statement after the
24543 call.
24544
2caa35cb
MS
245452001-05-21 Michael Snyder <msnyder@redhat.com>
24546
24547 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
24548
40713331
EZ
245492001-05-10 Elena Zannoni <ezannoni@redhat.com>
24550
a9c64011
AS
24551 * gdb.base/completion.exp: Revamp test. Make it execute on all
24552 platforms.
40713331 24553
c2c1be8d
EZ
245542001-05-10 Elena Zannoni <ezannoni@redhat.com>
24555
a9c64011
AS
24556 * config/gdbserver.exp (gdb_load): Handle the case
24557 in which the arguments to gdbserver are given in the
24558 baseboard configuration file.
24559 Also handle the case in which the server needs to do a
24560 load.
2c9cd303 24561
9671de48
KS
245622001-05-07 Keith Seitz <keiths@cygnus.com>
24563
a9c64011
AS
24564 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
24565 set up the display for testing.
24566 (gdbtk_start): Convert all paths to paths that tcl will like.
24567 Export target information to environment.
24568 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
24569 necessary.
24570 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
24571 (to_tcl_path): New proc to convert a given pathname into
24572 a path acceptible as an argument to a tcl command.
24573 (_gdbtk_export_target_info): New proc to export target info
24574 into the environment for gdbtk testing.
24575 (gdbtk_done): New proc to signal end-of-test.
9671de48 24576
5a360f47
JB
245772001-05-06 Jim Blandy <jimb@redhat.com>
24578
24579 * restore.c: Make the code of caller0 correspond to its comment.
24580
66c756c6
MS
245812001-05-03 Michael Snyder <msnyder@redhat.com>
24582
24583 * config/sid.exp (gdb_target_sid): Check for error messages.
24584 On error or timeout, don't make expect exit (which will terminate
24585 all subsequent tests); instead just make gdb exit.
d63a86f8 24586 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
24587 return a negative value.
24588
a966fde5
JB
245892001-04-24 Jim Blandy <jimb@redhat.com>
24590
851c18e0
JB
24591 * gdb.c++/templates.exp: If we see the prompt for the overload
24592 list, but we haven't recognized any of the longer patterns,
24593 arrange for this test to fail, not hang.
24594
a966fde5
JB
24595 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
24596 variations.
24597
db144853
MC
245982001-04-22 Michael Chastain <chastain@redhat.com>
24599
24600 * gdb.c++/local.exp: Use the 'runto' library function.
24601 * gdb.c++/namespace.exp: Likewise.
24602 * gdb.c++/overload.exp: Likewise.
24603
3207ec21
KB
246042001-03-26 Kevin Buettner <kevinb@redhat.com>
24605
24606 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
24607 * gdb.base/step-line.exp: New file. Test step/next in presence of
24608 #line directives.
24609 * gdb.base/step-line.c: New file. Test program for the above.
24610 * gdb.base/step-line.inp: New file. We pretend that this file has
24611 been transformed by some other tool into step-line.c.
24612
13b57657
JB
246132001-03-21 Jim Blandy <jimb@redhat.com>
24614
24615 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
24616 unmangled operator names.
24617
754cbe1c
JB
246182001-03-20 Jim Blandy <jimb@redhat.com>
24619
24620 * gdb.threads/linux-dp.exp: Recognize an additional message
24621 generated by GDB when it doesn't understand how to debug threads
24622 on the target system.
24623
177495c9
AC
246242001-03-19 Andrew Cagney <ac131313@redhat.com>
24625
24626 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
24627
f266096b
MC
246282001-03-12 Michael Chastain <chastain@redhat.com>
24629
24630 * gdb.c++/derivation.exp: Use the 'runto' library function.
24631
cac3c2ff
MC
246322001-03-12 Michael Chastain <chastain@redhat.com>
24633
24634 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
24635
b6c11a24
MC
246362001-02-24 Michael Chastain <chastain@redhat.com>
24637
24638 * gdb.c++/ref-types.exp: Change handwritten code to library
24639 function 'runto'.
24640
6bae5bce
OF
246412001-03-16 Orjan Friberg <orjanf@axis.com>
24642
24643 * gdb.base/signals.exp: Set count to 0 explicitly.
24644
0015fd9a
MS
246452001-03-15 Mark Salter <msalter@redhat.com>
24646
24647 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
24648 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
24649 (gdb_load): Add support for additional target_info: gdb_download_size
24650 and gdb_load_timeout.
0015fd9a 24651
fc33412a
DT
24652Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
24653
24654 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
24655 file -- to prevent failing when the compile fails but we have no
24656 intention of running the tests anyway.
fc33412a
DT
24657
24658 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
24659 tests if set.
24660
24661 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 24662 integers.
fc33412a
DT
24663
24664 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
24665 * gdb.c++/namespace.exp: Ditto.
24666
115f06de
OF
246672001-03-07 Orjan Friberg <orjanf@axis.com>
24668
24669 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
24670 * gdb.base/pointers.exp: Relax pattern match of decimals.
24671
b6ba6518
KB
246722001-03-06 Kevin Buettner <kevinb@redhat.com>
24673
24674 * Makefile.in, config/abug.exp, config/cfdbug.exp,
24675 config/cpu32bug.exp, config/dve.exp, config/est.exp,
24676 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
24677 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
24678 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
24679 config/sh.exp, config/sid.exp, config/slite.exp,
24680 config/sparclet.exp, config/udi.exp, config/unknown.exp,
24681 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
24682 config/vxworks.exp, config/vxworks29k.exp,
24683 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
24684 gdb.base/all-bin.exp, gdb.base/annota1.exp,
24685 gdb.base/arithmet.exp, gdb.base/assign.exp,
24686 gdb.base/async.exp, gdb.base/attach.exp,
24687 gdb.base/bitfields.exp, gdb.base/bitops.exp,
24688 gdb.base/break.exp, gdb.base/call-ar-st.exp,
24689 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
24690 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
24691 gdb.base/commands.exp, gdb.base/completion.exp,
24692 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
24693 gdb.base/constvars.exp, gdb.base/corefile.exp,
24694 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
24695 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
24696 gdb.base/ending-run.exp, gdb.base/environ.exp,
24697 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
24698 gdb.base/finish.exp, gdb.base/foll-exec.exp,
24699 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
24700 gdb.base/funcargs.exp, gdb.base/help.exp,
24701 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
24702 gdb.base/logical.exp, gdb.base/long_long.exp,
24703 gdb.base/maint.exp, gdb.base/mips_pro.exp,
24704 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
24705 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
24706 gdb.base/pointers.exp, gdb.base/printcmds.exp,
24707 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
24708 gdb.base/regs.exp, gdb.base/relational.exp,
24709 gdb.base/remote.exp, gdb.base/reread.exp,
24710 gdb.base/restore.exp, gdb.base/return2.exp,
24711 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
24712 gdb.base/selftest.exp, gdb.base/setshow.exp,
24713 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
24714 gdb.base/sigall.exp, gdb.base/signals.exp,
24715 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
24716 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
24717 gdb.base/step-test.exp, gdb.base/structs.c,
24718 gdb.base/structs.exp, gdb.base/structs2.exp,
24719 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
24720 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
24721 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
24722 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
24723 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
24724 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
24725 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
24726 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
24727 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
24728 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
24729 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
24730 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
24731 gdb.fortran/types.exp, gdb.java/jmisc.exp,
24732 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
24733 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
24734 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
24735 gdb.trace/circ.exp, gdb.trace/collection.exp,
24736 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
24737 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
24738 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
24739 gdb.trace/report.exp, gdb.trace/save-trace.exp,
24740 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
24741 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
24742 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
24743 notices.
24744
dc96c6c7 247452001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
24746
24747 * gdb.base/varargs.c (find_max_double): Fix printf format string:
24748 first arg is int not float.
24749
dc96c6c7 247502001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
24751
24752 * gdb.base/reread.exp: Unsupported for non-native targets;
24753 doesn't work for remote debugging.
24754
9b0c4aeb
FN
247552001-02-19 Fernando Nasser <fnasser@redhat.com>
24756
24757 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
24758 * gdb.base/ending-run.exp: Properly handle the BSP state when
24759 stepping past the end of main.
9b0c4aeb 24760
02aa71d5
MC
247612001-02-19 John Moore <jmoore@redhat.com>
24762
24763 * gdb.base/commands.exp (infrun_breakpoint_command_test):
24764 Converted HPUX fix for non-expected items following multiple
24765 step commands into general solution for all platforms.
24766
1fa449a4
MC
247672001-02-18 Michael Chastain <chastain@redhat.com>
24768
24769 * gdb.c++/classes.exp (do_tests): Change runto statements
24770 from "runto 'foo(void)'" to "runto 'foo'". This makes the
24771 statements demangler agnostic.
24772 * gdb.c++/virtfunc.exp (do_tests): Likewise.
24773 (gdb_virtfunc_restart): Likewise.
24774
b2f9ec70
MC
247752001-02-14 Michael Chastain <chastain@redhat.com>
24776
24777 * gdb.c++/inherit.exp (do_tests): Change runto statements
24778 from "runto 'foo(void)'" to "runto 'foo'". This makes the
24779 statements demangler agnostic.
24780
cf74b8ca
AC
24781Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
24782
24783 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
24784 ``continue to bkpt at common_routine in thread 2'' and ``stopped
24785 before calling common_routine 15 times'' tests.
cf74b8ca 24786
99f78f56
MC
247872001-02-11 Michael Chastain <chastain@redhat.com>
24788
24789 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
24790 Helps the test script figure out which demangler is in use.
24791 (dm_type_foo_ref): Ditto.
24792 (dm_type_int_star): Ditto.
24793 (dm_type_long_star): Ditto.
24794 (dm_type_unsigned_int): Ditto.
24795 (dm_type_void): Ditto.
24796 (dm_type_void_star): Ditto.
99707966 24797 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
24798 Probe the gdb demangler and set variables to accommodate
24799 formatting differences.
24800 (info_func_regexp): New function. Same as info_func, but
24801 matches against a regexp.
24802 (info_func): Match against a literal string.
24803 (print_addr_2): New function. Match against a literal string,
24804 which can be different from the input to gdb.
24805 (print_addr): Simply call print_addr_2 with the same argument twice.
24806 (test_lookup_operator_functions): Use demangler formatting variables.
24807 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
24808 the tests in the same order as the C++ class declaration.
24809 (test_paddr_operator_functions): Ditto.
24810 (test_paddr_overloaded_functions): Ditto.
24811 (test_paddr_hairy_functions): Use demangler formatting variables.
24812 Add reference to gdb/19 for related tests.
24813 (do_tests): Call probe_demangler.
24814
1de8f023
KB
248152001-01-30 Kevin Buettner <kevinb@redhat.com>
24816
24817 * gdb.c++/templates.cc (printf): Remove unused function definition.
24818
ca3f91ed
MS
248192001-01-26 Felix Lee <flee@redhat.com>
24820
24821 * sid.exp (sid_exit): Pass host, not target, to remote_close.
24822
248232001-01-25 matthew green <mrg@redhat.com>
24824
24825 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
24826 up sid.
24827 (sid_exit): Call `remote_pop_conn' after GDB is gone.
24828
248292001-01-25 matthew green <mrg@redhat.com>
24830
24831 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 24832 Deprecate $sid_spawn_id.
ca3f91ed
MS
24833 (sid_exit): Remove code necessary only for `spawn.'
24834
248352001-01-25 matthew green <mrg@redhat.com>
24836
24837 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
24838
fb18ec4a
MC
248392001-01-28 Michael Chastain <chastain@redhat.com>
24840
24841 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
24842 to call when tests fail. It takes gdb out of the overloaded
24843 function choice menu back to the main prompt, so that the test
24844 program stays synchronized.
24845 (set_bp_overloaded): New proc to collect all the common
24846 code for setting a breakpoint on an overloaded name. Calls
24847 take_gdb_out_of_choice_menu when needed.
24848 (menu_overload1arg): New variable to collect the repeated
24849 instances of the expected menu for an overloaded name. Change
24850 the regular expression to handle changes in g++ type encoding:
24851 "void" can be either "void" or "", and "unsigned int" can be
24852 either "unsigned int" or "unsigned".
24853 (continue_to_bp_overloaded): Change regular expressions to handle
24854 changes in g++ type encoding.
24855 (no proc): Call take_gdb_out_of_choice_menu when needed.
24856 Remove redundant calls to "info break". Accept either "canceled"
24857 or "cancelled". Change regular expressions in "info break"
24858 calls to handle changes in g++ type encoding. Give all tests
24859 unique strings.
24860
9c646a6e
BE
248612001-01-17 Ben Elliston <bje@redhat.com>
24862
24863 * config/sid.exp: New file.
24864
9549d9c1
AC
24865Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
24866
24867 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
24868
dc96c6c7 248692000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
24870
24871 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
24872 Add a RE to accept a non-ascii char if one is ever presented.
24873
b4df4f68
FN
248742000-12-20 Fernando Nasser <fnasser@redhat.com>
24875
297dd0fd 24876 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 24877
dc96c6c7 248782000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 24879
d63a86f8 24880 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
24881 in regexp. One '\' does not suffice on Linux.
24882
4a7bddb6
MC
248832000-12-09 Michael Chastain <chastain@redhat.com>
24884
24885 * gdb.base/break.exp (test_clear_command): Use a marker function
24886 rather than 'main' for the test function. Also move this
24887 test to an execution point where the marker function names are
24888 guaranteed to be bound to functions. (Executing tests after a
24889 'finish' from main runs into name conflicts with local names
24890 in __libc_start_main).
24891
dc96c6c7 248922000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
24893
24894 * gdb.base/finish.exp: New test for gdb's "finish" command.
24895 * gdb.base/return2.exp: New test for gdb's "return" command.
24896 * gdb.base/return2.c: New source file for above.
24897
dc96c6c7 248982000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
24899
24900 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
24901 * gdb.base/miscexprs.exp: Ditto.
24902 * gdb.base/pointers.exp: Ditto.
24903 * gdb.c++/derivation.exp: Ditto.
24904 * gdb.c++/local.exp: Ditto.
24905 * gdb.c++/namespace.exp: Ditto.
24906 * gdb.c++/overload.exp: Ditto.
24907 * gdb.c++/ref-types.exp: Ditto.
24908
dc96c6c7 249092000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
24910
24911 * gdb.base/constvars.exp: Test result of "up" command.
24912 * gdb.base/miscexprs.exp: Ditto.
24913 * gdb.base/pointers.exp: Ditto.
24914 * gdb.base/scope.exp: Ditto.
24915 * gdb.c++/derivation.exp: Ditto.
24916 * gdb.c++/local.exp: Ditto.
24917 * gdb.c++/namespace.exp: Ditto.
24918 * gdb.c++/overload.exp: Ditto.
24919 * gdb.c++/ref-types.exp: Ditto.
24920
44097287
FN
249212000-11-22 Michael Chastain <chastain@redhat.com>
24922
24923 * mips_pro.exp: Accept either "middle -> top -> main" or
24924 "middle -> main" in the backtrace, because gcc can optimize
24925 tail calls to jumps. Remove setup_xfail for the hppa case.
24926 Add a comment with the original warning messages from PR 3016,
24927 which was filed in 1993, to preserve them for posterity.
24928
9d2e1bab
ND
249292000-11-17 Nick Duffek <nsd@redhat.com>
24930
24931 * lib/gdb.exp (gdb_test): Override timeout with board info.
24932
1aca8eb7
ND
249332000-11-17 Nick Duffek <nsd@redhat.com>
24934
24935 * gdb.base/display.exp: Don't kill running stub. Add "again" to
24936 the second kill and detach messages.
24937
93076499
ND
249382000-11-17 Nick Duffek <nsd@redhat.com>
24939
24940 * configure.in: Add AC_EXEEXT.
24941 * configure: Regenerate.
24942 * Makefile.in (just-check): Export EXEEXT.
24943 * lib/gdb.exp ($EXEEXT): Import from environment.
24944 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
24945 expect "maint dump-me" on Cygwin.
24946 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
24947 $EXEEXT.
24948
30e87cd3
ND
249492000-11-17 Nick Duffek <nsd@redhat.com>
24950
24951 * gdb.base/break.exp: Test backtrace and finish from called
24952 function on all platforms, not just HP-UX.
24953
dc96c6c7 249542000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
24955
24956 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
24957 code from gdb_target_monitor, so it can be used independantly
24958 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 24959
dc96c6c7 249602000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
24961
24962 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
24963 * gdb.base/corefile.exp: Expect the message "Program is being
24964 debugged already" when we send the "corefile" command, since
24965 the preceeding gdb_load may have connected gdb to a remote target.
24966 * gdb.base/display.exp: Disable hardware watchpoints if new
24967 board info variable "no_hardware_watchpoints" is true.
24968 Replace single-letter commands with more readable ones.
24969 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
24970 if new board info variable "no_hardware_watchpoints" is true.
24971 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
24972 to see if stdio (printf) testing is possible.
24973 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
24974 board info variable "no_hardware_watchpoints" is true. Use new
24975 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
24976
39124dea
FN
249772000-11-13 Fernando Nasser <fnasser@redhat.com>
24978
24979 From Orjan Friberg <orjanf@axis.com>:
24980 * gdb.base/printcmds.exp: Escape curly braces followed by a number
24981 in array print pattern match.
24982
a9e2e984
FN
249832000-11-09 Fernando Nasser <fnasser@redhat.com>
24984
24985 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
24986 spelling "cancelled" to U.S. spelling "canceled" to match changes
24987 made to gdb.
24988 * gdb.c++/ovldbreak.exp: Ditto.
24989
c7db355b
PS
249902000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
24991
24992 * gdb.base/callfuncs.c (main): Moved to end of file, call
24993 t_double_values to initialize the FPU before inferior calls are made.
24994 * gdb.base/callfuncs.exp: Test for register preservation after calling
24995 inferior functions. Add tests for continuining, finishing and
24996 returning from a stop in a call dummy.
24997
dc96c6c7 249982000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
24999
25000 * gdb.base/commands.exp: Break up long lines, and re-indent.
25001
dc96c6c7 250022000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
25003
25004 * config/gdbserver.exp: Rewritten from the ground up, to make it
25005 compatible with the current dejagnu tree, and to make it work with
25006 the new "gdbserver" in libremote.
25007
dc96c6c7 250082000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
25009
25010 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
25011 * gdb.base/varargs.exp: Skip entire test if no printf support.
25012 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
25013 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
25014
dc96c6c7 250152000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
25016
25017 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
25018 no floating point support.
25019 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
25020 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
25021 * gdb.base/call-rt-st.exp: Ditto.
25022 * gdb.base/call-strs.exp: Ditto.
25023
bac5fc66
JG
250242000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
25025
25026 * gdb.base/sizeof.c: include <stdio.h>.
25027
25028 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
25029 'finish', otherwise uncaptured gdb_prompt would potentially
25030 throw remaining test points out of sync.
bac5fc66 25031
b22a6027
SB
250322000-07-26 Scott Bambrough <scottb@netwinder.org>
25033
25034 * gdb.base/recurse.exp: Run tests for all targets.
25035 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
25036 gnu-oldld case on ARM.
25037 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
25038 for ARM targets.
d63a86f8 25039
d8231941
AG
25040Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
25041
25042 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
25043 * gdb.java/configure: Rebuild.
25044
8caabe69
AG
25045Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
25046
25047 * gdb.java/jv-exp.exp: New file.
25048
9d273ca3
AG
25049Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
25050
25051 * configure: Rebuilt.
25052 * configure.in (configdirs): Add gdb.java.
25053 * gdb.java/jmisc.java: New file.
25054 * gdb.java/jmisc.exp: New file.
25055 * gdb.java/Makefile.in: New file.
25056 * gdb.java/configure: Rebuilt.
25057 * gdb.java/configure.in: New file.
25058 * lib/java.exp: New file.
25059
4f823a66
AC
25060Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
25061
25062 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 25063 underflow.
4f823a66 25064
2391e11d
AC
25065Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
25066
25067 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 25068 and the compilers sizes.
2391e11d 25069
54602222
ND
250702000-07-09 Nick Duffek <nsd@redhat.com>
25071
25072 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
25073 (use_methods): New function.
25074 (main): Call use_methods().
25075 * gdb.c++/classes.exp (test_method_param_class): New procedure.
25076 (do_tests): Call test_method_param_class.
25077
2bec0572
ND
250782000-07-09 Nick Duffek <nsd@redhat.com>
25079
25080 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
25081 spelling.
25082 (test_enums): New procedure. Move enum tests from end of script
25083 to here. Set breakpoint on function name instead of line number.
25084 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
25085 (enums2): New marker function.
25086 (enums1): New function.
25087 (main): Call enums1(). Move enum tests to enums1().
25088
78492fde
AC
25089Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
25090
25091 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 25092 compile/link program. Update line numbers.
78492fde
AC
25093 * gdb.asm/d10v.inc: Define ``startup''.
25094 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 25095
49a2cef8
AC
25096Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
25097
25098 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
25099
3e6c8688
EZ
251002000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25101
25102 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 25103 of 'help maint print' command.
3e6c8688 25104
9ff5cbe9
AC
25105Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
25106
25107 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 25108 they use gdb_expect_list.
9ff5cbe9 25109
17c579bd
AC
25110Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
25111
25112 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
25113 memory-read-packet-size'' instead of ``set endian big'' to test
25114 long commands.
17c579bd 25115
e6d71bf3
DB
251162000-06-03 Daniel Berlin <dan@cgsoftware.com>
25117
25118 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 25119 g++, and stop skipping them.
e6d71bf3
DB
25120
25121 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
25122 work under g++.
25123
d63a86f8 25124 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
25125 initialization.
25126
dc96c6c7 251272000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
25128
25129 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
25130 the regular expression: accept an (almost) arbitrary sequence of
25131 "frames-invalid" and "breakpoints-invalid" messages both before
25132 and after the "starting" message.
25133
dc96c6c7 251342000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
25135
25136 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 25137
dc96c6c7 251382000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
25139
25140 * gdb.base/annota1.exp (annotate-signal-handler-caller):
25141 Relax the regular expression a little, make it pass on Solaris 8.
25142
8216cda9
KB
251432000-05-12 Kevin Buettner <kevinb@redhat.com>
25144
25145 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 25146 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
25147 Instead, it is permissible for gdb to stop on the line of the
25148 call itself.
25149
1a570b2f
MS
251502000-05-12 Michael Snyder <msnyder@.cygnus.com>
25151
25152 * gdb.base/break.exp (bp on small function, optimized file):
25153 Add a second pass pattern. The behavior differs here between stabs
25154 and dwarf for one-line functions. Stabs preserves two line symbols
25155 (one before the prologue and one after) with the same line number,
25156 but dwarf regards these as duplicates and discards one of them.
25157 Therefore the address after the prologue (where the breakpoint is)
25158 has no exactly matching line symbol, and GDB reports the breakpoint
25159 as if it were in the middle of a line rather than at the beginning.
25160
dc96c6c7 251612000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 25162
d63a86f8 25163 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
25164 rather than "send_gdb" (for consistancy).
25165
7d418785
AC
25166Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
25167
25168 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
25169 * gdb.c++/templates.cc: Properly check for GCC version number.
25170 * lib/compiler.cc: Likewise
25171
dc96c6c7 251722000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 25173
d63a86f8 25174 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
25175 gdb may not stop at the first line of main, due to code motion.
25176
dc96c6c7 251772000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
25178
25179 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
25180 This test depends on parsing the printf output from the target.
25181 Since the sparclet stub doesn't do stdio, this will never work.
25182 * gdb.base/call-rt-st.exp: ditto.
25183 * gdb.base/call-strs: ditto.
25184
dc96c6c7 251852000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
25186
25187 * gdb.base/miscexprs.exp: make sizeof long array test portable.
25188
25189 * gdb.base/ending-run.exp: After connecting to a remote target,
25190 but before running, the target will appear to be in a random
25191 location. Specify both a file and a line for breakpoints.
25192 Also, the function that calls main may be called 'init'
25193 rather than 'start'.
25194
a5a51225
EZ
251952000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25196
25197 * gdb.base/help.exp: Update output for add-symbol-file command.
25198
7930cc7c
FN
251992000-04-10 Fernando Nasser <fnasser@cygnus.com>
25200
25201 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
25202 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
25203
23e37ab1
C
252042000-04-07 J.T. Conklin <jtc@redback.com>
25205
e93c542c
C
25206 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
25207
23e37ab1
C
25208 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
25209
591b8fa3
PDM
25210Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
25211
25212 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 25213 values that can be represented exactly.
591b8fa3
PDM
25214 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
25215 above change, and to not check against the directory part of the source
25216 file name.
25217 (step into print_long_arg_list): Likewise.
25218 (print print_small_structs from print_long_arg_list): Likewise.
25219 (print print_long_arg_list): Likewise.
25220
7a495180
EZ
252212000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25222
30b53638 25223 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 25224
beb998c6
AC
25225Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
25226
25227 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
25228
1c689132
DB
252292000-03-25 Daniel Berlin <dan@cgsoftware.com>
25230
25231 * gdb.base/commands.exp (deprecated_command_test): Add test for
25232 deprecate with no arguments.
25233
c1790a9d
JL
252342000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
25235
25236 * gdb.base/break.exp: Add new test for setting breakpoints on
25237 optimized code so we can test breakpoints work even when function
25238 prologues may be optimized away
25239
003ba290
FN
252402000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
25241
25242 From David Whedon <dwhedon@gordian.com>
a9c64011 25243 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 25244
6837a0a2
DB
252452000-03-22 Daniel Berlin <dan@cgsoftware.com>
25246
25247 * gdb.base/help.exp: Added test for new apropos command.
25248
b9593231
KB
252492000-03-21 Kevin Buettner <kevinb@redhat.com>
25250
25251 * gdb.base/pointers.c (usevar): New function.
25252 (main): Make sure that global variables v_int_pointer2, rptr,
25253 and y are all referenced someplace in the program by calling
25254 usevar() on them. [Some linkers delete symbols which are
25255 never referenced. The space remains, but there's no way to
25256 get a (symbolic) handle on the variable from the debugger.]
25257
751a959b
EZ
252582000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25259
25260 * gdb.base/printcmds.c: Add typedeffed arrays.
25261
25262 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 25263 procedure to test arrays that are typedef'd.
751a959b 25264
73a93a32
JI
252652000-03-13 James Ingham <jingham@leda.cygnus.com>
25266
25267 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 25268 the library directories.
73a93a32 25269
fb40c209
AC
25270Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
25271
25272 * configure.in (configdirs): Add sub directory gdb.mi.
25273 * configure: Re-generate.
25274
25275 * gdb.mi: New directory.
d63a86f8 25276
ee4dd2c9
AC
252772000-02-25 Scott Bambrough <scottb@netwinder.org>
25278
25279 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 25280 a long long value as a double on ARM platforms.
ee4dd2c9 25281
70f0cc22
JB
252822000-02-16 Jim Blandy <jimb@redhat.com>
25283
25284 * gdb.base/break.exp ("breakpoint line number"): Make sure the
25285 default source file is set properly before running this test.
25286
853819b8
EZ
252872000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25288
25289 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 25290 gdbtk/library directory, not in gdbtcl2.
853819b8 25291
dfcd3bfb
JM
252922000-02-04 Jim Blandy <jimb@redhat.com>
25293
25294 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
25295 backslash from regexp pattern.
25296
25297 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
25298 procedure. Use it to run all the "continue to bp overloaded"
25299 tests. Note that this changes the names of the tests slightly.
25300 If the breakpoint hit message includes a hex PC value, because
25301 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
25302 from the real source code, still consider that a pass.
25303
25304 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
25305 XFAIL here if the breakpoint message contains a hex address. Note
25306 similar change on 1999-11-02.
25307
25308 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
25309
25310 * gdb.base/ptype.exp: Establish a default source file before
25311 calling get_debug_format.
25312
253132000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
25314
25315 * gdb.base/watchpoint.exp: Remove duplication of test messages.
25316
8b93c638
JM
253172000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
25318
25319 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
25320 of successive stepi commands -- while in the prologue we should see
25321 the function entry bracket.
25322
253232000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
25324
25325 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
25326 reach __change_mode() when stepping through the end of main().
25327
c5394b80
JM
253282000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
25329
25330 * gdb.base/default.exp: Fix expected pattern.
25331 * gdb.base/help.exp: Same.
25332
0d06e24b
JM
253332000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25334
25335 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 25336 Don't use xfail's because that affects only the following test.
d63a86f8 25337
0d06e24b 25338 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 25339 solaris or linux.
0d06e24b
JM
25340
25341 * gdb.base/selftest.exp: Update to reflect changes to main.c.
25342
dc96c6c7 253432000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 25344
d63a86f8 25345 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
25346 "A syntax error" rather than "A parse error". Accept both.
25347
253482000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
25349
25350 * gdb.base/default.exp: Remove OS dependent string from "target
25351 remote" test.
25352 * gdb.base/help.exp: Same for "help target remote" test.
25353
c3f6f71d
JM
253542000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25355
25356 From Jim Kingdon <kingdon@redhat.com>:
25357
25358 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
25359 prompt (cleanup rather than necessity, but still might keep output
25360 from spilling to next test).
c3f6f71d
JM
25361
253622000-01-02 Fred Fish <fnf@cygnus.com>
25363
25364 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
25365 AIX, which defines them in <sys/types.h>.
25366
ed9a39eb 253671999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 25368
ed9a39eb 25369 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 25370 float" test.
ed9a39eb
JM
25371
253721999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 25373
ed9a39eb 25374 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
25375
25376 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
25377 outermost frame disallowed".
25378
253791999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
25380
25381 * gdb.base/setvar.exp: New tests for setting the value of a struct
25382 with a constant list.
25383
253841999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
25385
25386 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
25387 require the user to type a cast before setting the value of a struct.
25388
de57eccd
JM
253891999-12-06 Jim Blandy <jimb@cygnus.com>
25390
25391 * gdb.base/default.exp: Expect the new 'info float' command on
25392 all i386 platforms.
25393
25394 * gdb.threads/linux-dp.exp: Expand our ability to recognize
25395 LinuxThreads libraries that don't support debugging.
25396
c2d11a7d
JM
25397Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
25398
25399 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
25400 Change the buffer type to ``unsigned char'' to simplify size
25401 arithmetic.
c2d11a7d
JM
25402
25403 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
25404 stub only handles 400-1 byte packets. Verify that the download
25405 worked.
c2d11a7d
JM
25406
254071999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
25408
25409 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
25410 tests, using UNRESOLVED for the untested cases. Also, does not wait
25411 for a timeout if the prompt was received before a recognizable pattern.
25412
254131999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
25414
25415 * lib/gdb.exp (gdb_expect_list): Fix spelling.
25416
254171999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25418
25419 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 25420 watchpoints.
c2d11a7d
JM
25421
254221999-11-24 Jason Merrill <jason@casey.cygnus.com>
25423
25424 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
25425
25426 * gdb.c++/local.exp: Be more flexible in recognizing local class
25427 name mangling. Don't allow horribly truncated method names.
25428 * gdb.c++/derivation.exp: Expect protected inheritance.
25429 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
25430 * gdb.c++/virtfunc.exp: Likewise.
25431 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
25432 when printing a nested enum.
25433
254341999-11-22 Jim Blandy <jimb@cygnus.com>
25435
25436 * gdb.base/step-test.exp: Properly await GDB's response to setting
25437 a breakpoint on the call to large_struct_by_value.
25438
25439 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
25440 just because we have debug info for the `start' function.
25441
254421999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
25443
25444 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
25445 "Unknown signal" messages, which indicate (on LinuxThreads) that
25446 GDB doesn't know how to debug threads on this system. This is
25447 better than hanging while philosopher 0 dumps chatter into gdb.log.
25448
254491999-11-18 Tom Tromey <tromey@cygnus.com>
25450
25451 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
25452
254531999-11-18 Fred Fish <fnf@cygnus.com>
25454
25455 * gdb.base/coremaker2.c: Add sample program for generating
25456 cores that is more self contained than coremaker.c. Eventually
25457 I'll add more code to this and tie it into the testsuite.
25458
4ce44c66
JM
254591999-11-12 Stan Shebs <shebs@andros.cygnus.com>
25460
25461 * gdb.base/dollar.exp: Remove, now in gdb.hp.
25462
254631999-11-10 Jimmy Guo <guo@cup.hp.com>
25464
25465 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 25466 from $srcdir/lib/.
4ce44c66 25467 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 25468 and gdb.c++/.
4ce44c66
JM
25469
25470 * gdb.c++/derivation.exp: remove redundant get compiler info code.
25471
d63a86f8 25472 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
25473 'continue with watch' test point.
25474
254751999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
25476
25477 Merged from p2linux-990323-branch:
d63a86f8 25478
4ce44c66
JM
25479 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
25480
11cf8741
JM
25481Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
25482
25483 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 25484 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
25485
25486Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
25487
25488 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 25489 gdb_expect_list.
11cf8741
JM
25490
25491Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
25492
25493 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
25494
254951999-11-03 Mark Salter <msalter@cygnus.com>
25496
25497 * gdb.base/break.exp: Fix "stub continue" pattern.
25498
254991999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
25500
25501 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
25502
255031999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
25504
25505 * gdb.base/display.exp ("finish"): Add timeout clause.
25506
25507 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
25508 plain prompt clause, so this doesn't have to time out in order to
25509 fail.
25510
25511 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 25512 breakpoint hit messages include an address.
11cf8741
JM
25513
25514 * gdb.base/display.exp: Don't forget to escape parens in regular
25515 expressions. Unix regexp notatation sucks.
25516
255171999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25518
25519 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 25520 order for 'signalled' message.
11cf8741 25521
5c44784c
JM
255221999-11-01 Stan Shebs <shebs@andros.cygnus.com>
25523
25524 From Jimmy Guo <guo@cup.hp.com>:
25525 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
25526 * gdb.base/annota1.c: Add code for tests to work with.
25527
255281999-10-26 Frank Ch. Eigler <fche@cygnus.com>
25529
25530 * gdb.base/remote.exp: New test for remote downloading settings.
25531 * gdb.base/remote.c: New file with large .data.
25532
917317f4
JM
255331999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
25534
25535 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
25536 for LinuxThreads support, merged from the Code Fusion branch.
25537
25538Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
25539
25540 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
25541 containing exp_continue into a while within an expect. Don't
25542 attempt a start more than three times. Check return value from
25543 gdb_load.
d63a86f8 25544
2df3850c
JM
25545Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
25546
25547 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 25548 a pass case.
2df3850c 25549
2acceee2
JM
255501999-10-01 Kevin Buettner <kevinb@cygnus.com>
25551
25552 * gdb.base/break.c (main): Added a statement that we can step
25553 off of.
25554 * gdb.base/break.exp: Added tests for setting a breakpoint
25555 at an offset and stepping onto a breakpoint.
25556
255571999-10-01 Fred Fish <fnf@cygnus.com>
25558
d63a86f8 25559 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
25560 gdb output.
25561
c2c6d25f
JM
255621999-09-18 Jim Blandy <jimb@cris.red-bean.com>
25563
25564 * gdb.base/break.exp: Code locations are in hex, don't forget!
25565 (For HP-UX.)
25566
255671999-09-17 Stan Shebs <shebs@andros.cygnus.com>
25568
25569 * condbreak.exp: Use break.c as test program.
25570 * condbreak.c: Remove, redundant with break.c.
25571
255721999-09-15 Stan Shebs <shebs@andros.cygnus.com>
25573
25574 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 25575 Z-packets if the target needs it.
c2c6d25f
JM
25576
255771999-09-13 James Ingham <jingham@leda.cygnus.com>
25578
25579 * gdb.c++/overload.exp: Added tests for listing overloaded
25580 functions with function pointers in the arg, explicitly calling
25581 out the version you want.
25582
cff3e48b
JM
255831999-09-09 Stan Shebs <shebs@andros.cygnus.com>
25584
25585 * long_long.exp: Add variations of test cases that work for
25586 targets with 16-bit ints and 32-bit doubles.
25587
d4f3574e
SS
255881999-09-08 Stan Shebs <shebs@andros.cygnus.com>
25589
25590 * break.c (main): Compare a possibly-uninitialized argc with an
25591 unlikely value that fits in 16 bits.
25592
255931999-09-07 Stan Shebs <shebs@andros.cygnus.com>
25594
25595 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
25596 0xfeeb, don't want negative numbers if ints are 16 bits.
25597
25598 * lib/gdb.exp (skip_cplus_tests): New proc.
25599 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
25600 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
25601 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
25602 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
25603 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
25604 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
25605 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
25606 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
25607
25608 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
25609
25610Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
25611
25612 * gdb.base/corefile.exp (up): Allow a parameter to appear
25613 in the frame that we're going up to.
25614
25615 From Jim Blandy <jimb@cygnus.com>:
25616
25617 * gdb.base/default.exp (info float): Expect some output now.
25618
25619 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
25620 returning floating-point values to fail on the x86.
25621 * gdb.base/callfwmall.exp (do_function_calls): Same.
25622
25623 * gdb.base/list.exp (test_listsize): Correct expectations for
25624 listing line 1 with listsize 2. Also, listing a single line
25625 works now, as does listing three lines. [Kevin's note: There
25626 were a number of other cases fixed too where the expectations
25627 differed...]
25628
256291999-09-02 Stan Shebs <shebs@andros.cygnus.com>
25630
25631 * gdb.base/selftest.exp: Add case for when version prints as
25632 constant string instead of char pointer.
25633
104c1213
JM
256341999-08-25 Stan Shebs <shebs@andros.cygnus.com>
25635
25636 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 25637 stepping out of main.
104c1213
JM
25638
25639 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
25640 G++ used.
25641
25642 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 25643 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
25644
25645 * gdb.c++/ovldbreak.exp: Update match string in test that
25646 includes a warning of multiple breakpoints.
25647
256481999-08-24 Stan Shebs <shebs@andros.cygnus.com>
25649
25650 * gdb.base/display.exp: Improve precision of step-after-finish
25651 added yesterday.
25652
25653 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 25654 test.
104c1213
JM
25655
25656 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
25657 configs when using G++, not just hppa*.
25658
256591999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25660
25661 * gdb.base/async.c: New file.
25662 * gdb.base/async.exp: New file.
25663
25664Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
25665
25666 * gdb.base/break.exp: Tweak PA specific tests to properly handle
25667 PA64.
25668
53a5351d
JM
25669Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
25670
104c1213
JM
25671 * gdb.base/display.exp: "finish" can leave us mid-line on many
25672 targets, deal with it. Add a small constant to main, instead of
25673 1000 since main+1000 may not be a valid address in the target.
25674
53a5351d
JM
25675 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
25676 on hpux11.
25677
25678 * gdb.base/attach.exp: Handle another hpux11 error message variant
25679 when attaching to a process that does not exist.
25680
256811999-08-19 J.T. Conklin <jtc@redback.com>
25682
25683 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 25684 characters in 'continue to 1241' test.
53a5351d
JM
25685
256861999-08-17 Stan Shebs <shebs@andros.cygnus.com>
25687
25688 * gdb.base/call-ar-st.exp: Add a shorter match case for the
25689 stop in print_long_arg_list, define and use a whitespace
25690 variable in print_small_structs test, add an XFAIL for Solaris.
25691 * gdb.base/dbx.exp: XFAIL func commands until somebody is
25692 interested enough to fix.
25693
7be570e7
JM
256941999-08-13 Keith Seitz <keiths@cygnus.com>
25695
25696 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
25697 (dbx_gdb_load): Remove. Use gdb_load instead, since that
25698 proc knows about targets other than the natives.
25699 (test_assign): Use "gdb_run_cmd" to "run" the target.
25700 Check that we've actually hit the breakpoint at main.
25701 When we attempt to assign a value to a local variable, check
25702 that the variable is in the current scope, i.e., don't use
25703 a test with an empty result.
25704
25705Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
25706
25707 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 25708 command.
7be570e7
JM
25709
257101999-08-09 Stan Shebs <shebs@andros.cygnus.com>
25711
25712 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25713 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
25714 gdb.compat, gdb.threads-hp.
25715 gdb.hp/configure, gdb.hp/configure.in: New files.
25716 gdb.hp/Makefile.in: Recurse into new subdirs.
25717 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
25718 gdb.hp/gdb.objdbg: New directory, tests for debugging info
25719 in object files.
25720 gdb.hp/tools: New directory, aux tools for HP-specific tests.
25721
96baa820
JM
257221999-08-05 Stan Shebs <shebs@andros.cygnus.com>
25723
25724 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 25725 funky printf, remove a bogus p/a test.
96baa820
JM
25726
257271999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25728
25729 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
25730 connected to the target. This is necessary when running not
25731 natively.
96baa820
JM
25732
257331999-08-03 Stan Shebs <shebs@andros.cygnus.com>
25734
25735 * gdb.base/step-test.exp: Removed some extraneous messages.
25736
25737 * gdb.base/long_long.exp: Don't run memory examination tests
25738 on little-endian targets (they will need a different set of
25739 results to match).
25740
257411999-08-02 Stan Shebs <shebs@andros.cygnus.com>
25742
25743 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
25744 until somebody decides to fix GDB.
25745
25746 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 25747 constant as "ULL".
96baa820
JM
25748 * gdb.base/long_long.exp: Loosen x/c test, add partial result
25749 matches for a couple x/2 commands.
25750
a0b3c4fd
JM
257511999-07-30 Stan Shebs <shebs@andros.cygnus.com>
25752
25753 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
25754 by merging in ref-types2 tests.
25755 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
25756
25757 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25758 * gdb.c++/Makefile.in: Add standard actions.
25759 (EXECUTABLES): Rename from PROGS, update list.
25760 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
25761 from gdb.hp.
25762 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
25763 foo and bar locals.
25764 * gdb.c++/anon-union.exp: Fix tests to match.
25765 * gdb.c++/classes.exp: Run if HP compiler used, add extra
25766 expect matches to handle output variations.
25767 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
25768 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 25769 output, add HP alternatives for new and delete prints.
a0b3c4fd 25770 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 25771 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
25772 * gdb.c++/demangle.exp: Use $style when reporting failure.
25773 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
25774 * gdb.c++/inherit.exp: Run if HP compiler used, add some
25775 match alternatives.
25776 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 25777 compilers.
a0b3c4fd
JM
25778 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
25779 * gdb.c++/method.exp: Add match alternatives.
25780 * gdb.c++/misc.cc: Add bool types.
25781 * gdb.c++/misc.exp: Add tests for bool types.
25782 * gdb.c++/overload.exp: Add xfails.
25783 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
25784 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
25785 add some more template parameter tests (only for HP currently).
25786 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
25787 * gdb.c++/virtfunc.cc: Add return type and value for main.
25788 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
25789 match alternatives.
d63a86f8 25790
a0b3c4fd
JM
257911999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25792
25793 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
25794
257951999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
25796
25797 * gdb.base/signals.exp: Don't expect getting a backtrace from
25798 within a signal handler to fail on Linux.
25799
258001999-07-29 Stan Shebs <shebs@andros.cygnus.com>
25801
25802 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25803 * lib/gdb.exp: Remove some gratuitious semicolons.
25804 (delete_breakpoints): Increase timeout.
25805 (gdb_expect): Add -notransfer option.
25806 (gdb_test): Use -notransfer option.
25807 (get_compiler_info): Add f77 case.
25808 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 25809 case.
a0b3c4fd
JM
25810 (gdb_preprocess): Call get_compiler.
25811
25812 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
25813 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
25814 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
25815 gdb.base/long_long.exp, gdb.base/printcmds.exp,
25816 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
25817 third arg to gdb_test.
a0b3c4fd
JM
25818 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
25819 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 25820 HP-UX xfails, add others.
a0b3c4fd
JM
25821 * gdb.base/completion.exp: Reflect name change of self-test.
25822 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
25823 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
25824 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
25825 HP failure number.
a0b3c4fd
JM
25826 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
25827 useless HP-UX 10.30 references.
25828 * gdb.base/maint.exp: Loosen matches.
25829 * gdb.base/pointers.c (main): Declare more_code.
25830 * gdb.base/pointers.exp: Match on output of a `next'.
25831 * gdb.base/structs.c: Add prototypes.
25832 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
25833 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
25834
258351999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25836
25837 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 25838 command.
a0b3c4fd
JM
25839
258401999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25841
25842 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
25843 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
25844
25845 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
25846 debug info. Deal with lack of signal hanlder info in stack.
25847
a9c64011 25848 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
25849 * gdb.base/annota1.exp: If printf has debug info, deal with it.
25850
5a2468f5
JM
258511999-07-19 Stan Shebs <shebs@andros.cygnus.com>
25852
25853 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 25854 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 25855
adf40b2e
JM
25856Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
25857
25858 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 25859 a1-selftest.exp.
adf40b2e
JM
25860 * gdb.base/configure: Re-generate.
25861
258621999-07-12 Stan Shebs <shebs@andros.cygnus.com>
25863
25864 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
25865 in trying to run first and name is too long.
25866
25867 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
25868 pointers2.c and pointers2.exp, respectively.
25869 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
25870 doschk happier.
25871
43e526b9
JM
258721999-07-08 Stan Shebs <shebs@andros.cygnus.com>
25873
25874 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
25875 callfuncs2.c and callfuncs2.exp.
25876
25877 * gdb.base/list.exp: Remove mistaken xfails.
25878 * gdb.base/list0.h: Add optional prototypes.
25879
9846de1b
JM
25880Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
25881
a9c64011 25882 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 25883 calling malloc.
a9c64011
AS
25884 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
25885 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 25886 use.
9846de1b
JM
25887
258881999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25889
25890 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
25891 * gdb.base/annota2.cc, annota2.exp: Move from here.
25892 * gdb.c++/annota2.cc, annota2.exp: To here.
25893 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
25894
43ff13b4
JM
25895Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
25896
25897 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 25898 a consistent format.
43ff13b4 25899
085dd6e6
JM
259001999-06-25 Stan Shebs <shebs@andros.cygnus.com>
25901
25902 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25903 * lib/gdb.exp (get_compiler_info): Add detection for assorted
25904 HP compilers, also set the globals $true and $false.
25905
25906 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
25907 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
25908 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
25909 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
25910 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
25911 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
25912 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
25913 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
25914 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
25915 whatis.c} Add C++ compatible function definitions and return
25916 types, add includes for library functions.
085dd6e6
JM
25917 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
25918 * gdb.base/step-test.c (myglob): Rename from glob.
25919 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
25920 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
25921 files, move here from gdb.hp.
085dd6e6 25922 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
25923 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
25924 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
25925 Adjust line numbers in regexps.
085dd6e6
JM
25926
25927 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
25928 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
25929 instead of 0/1.
25930
25931 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
25932 foll-vfork.exp: New files, move here from gdb.hp.
25933 * gdb.base/page.exp: New file, test of pagination command.
25934
25935 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
25936 recursion test.
25937 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
25938
25939 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 25940 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
25941
25942 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 25943 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 25944 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 25945 watchpoint test.
085dd6e6
JM
25946 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
25947 them work.
25948 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
25949 expressions properly.
25950 * gdb.base/corefile.exp: Loosen the match slightly.
25951 * gdb.base/default.exp: Allow "Error accessing memory" message
25952 also.
25953 * gdb.base/display.exp: Skip over x/0 j if PA64.
25954 * gdb.base/funcargs.exp: Add xfails for HP-UX.
25955 * gdb.base/interrupt.exp: Ditto.
25956 * gdb.base/langs.exp: Add symbolic matches governed by compiler
25957 in use.
25958 * gdb.base/list.exp: Add xfails for HP-UX.
25959 * gdb.base/long_long.exp: Refine some of the numeric matches.
25960 * gdb.base/mips_pro.exp: Xfail on HP-UX.
25961 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
25962 * gdb.base/nodebug.exp: Succeed on more varieties of output.
25963 * gdb.base/opaque.exp: Remove some HP-UX xfails.
25964 * gdb.base/ptype.exp: Succeed on more varieties of output.
25965 * gdb.base/scope.exp: Add xfails for HP-UX.
25966 * gdb.base/sect-cmd.exp: Add more cases.
25967 * gdb.base/setvar.exp: Add xfails for HP-UX.
25968 * gdb.base/shlib-call.exp: Loosen some matches slightly.
25969 * gdb.base/signals.exp: Match on void symbolically.
25970 * gdb.base/step-test.exp: Add case for PA64.
25971 * gdb.base/term.exp: Add exit and restart.
25972 * gdb.base/twice.exp: Clean up after self.
25973 * gdb.base/varargs.exp: Disable overload resolution explicitly.
25974 * gdb.base/whatis.exp: Allow more ways to pass tests.
25975
25976 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 25977 no longer useful.
085dd6e6
JM
25978
25979Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
25980
25981 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 25982 list of patterns.
085dd6e6 25983 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
25984 print_double_array(double_array)", "continuing to breakpoint
25985 1018", "print print_double_array(array_d)" and "continuing to
25986 1034" tests.
d63a86f8 25987
085dd6e6
JM
259881999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
25989
a9c64011 25990 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
25991
259921999-06-24 Stan Shebs <shebs@andros.cygnus.com>
25993
25994 * config/mt-*: Remove, these haven't been used since 1996.
25995
259961999-06-22 Stan Shebs <shebs@andros.cygnus.com>
25997
25998 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 25999 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
26000 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
26001
9e0b60a8
JM
260021999-06-18 Stan Shebs <shebs@andros.cygnus.com>
26003
26004 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
26005 simpler match case for the ptype of the big class.
26006
260071999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26008
26009 * gdb.exp: Fix test for gdb_prompt existence.
26010
260111999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26012
26013 * gdb.exp (gdb_test): Add fail after calls to perror.
26014
260151999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26016
26017 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
26018
260191999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26020
26021 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
26022
0f71a2f6
JM
26023Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
26024
26025 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 26026 malloc() is linked in.
0f71a2f6
JM
26027
260281999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26029
26030 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
26031 step at end.
26032
26033 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
26034
260351999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
26036
26037 * gdb.java/jv-print.exp: New file. (Our first Java test!)
26038
cce74817
JM
26039Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
26040
26041 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
26042 * gdb.base/mips_pro.exp: Likewise.
26043
260441999-06-02 Keith Seitz <keiths@cygnus.com>
26045
26046 * gdb.c++/templates.cc: Change all "new" operators to throw
26047 an exception.
26048 * gdb.c++/cplusfuncs.cc: Likewise.
26049
26050 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
26051
26052Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
26053
26054 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
26055 * gdb.base/ending-run.exp: When stepping out of main, accept a
26056 step into an arbitrary assembler file.
cce74817 26057
392a587b
JM
260581999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26059
d63a86f8 26060 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 26061 "breakpoint-invalid" to be printed.
6fdff2c5
PA
26062 * gdb.base/annota2.exp: Revise line number for main
26063 breakpoint. Allow any number of "frames-invalid" and
26064 "breakpoint-invalid" to be printed.
392a587b
JM
26065 * gdb.base/annota2.cc: Initialize a.x to 0.
26066
9e086581
JM
260671999-05-17 Keith Seitz <keiths@cygnus.com>
26068
6fdff2c5
PA
26069 * gdb.base/call-ar-st.exp: Skip
26070 "print print_double_array (double_array)" when "skip_float_tests" set.
26071 Ditto for "print print_double_array(array_d)",
26072 "print print_small_structs", "print print_ten_doubles", and
26073 "step into print_long_arg_list".
26074 Don't assume we can step into "print_long_arg_list": we could step
26075 into memcpy.
26076 * gdb.base/call-rt-st.exp: Don't run float-related tests when
26077 "skip_float_tests" is set: "print print_one_double(*d1)"
26078 and "print print_two_floats(*f3)".
9e086581
JM
26079 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
26080 "skip_float_tests" is set.
6fdff2c5
PA
26081 * gdb.base/varargs.exp: Skip
26082 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
26083 "skip_float_tests" set.
d63a86f8 26084
cd0fc7c3
SS
260851999-05-06 Keith Seitz <keiths@cygnus.com>
26086
26087 * gdb.base/annota2.cc: Include stdio.h.
26088
26089Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
26090
26091 * gdb.base/crossload.exp: Remove, this has been disabled ever
26092 since BFD stopped including all targets, and cross-GDB gets
26093 plenty of testing anyway.
26094 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
26095 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
26096 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
26097 * gdb.base/README: Remove, was doc for this.
26098 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 26099 needed.
cd0fc7c3 26100
b83266a0
SS
261011999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26102
26103 * gdb.base/call-ar-st.exp: Fix one regular expression in test
26104 output.
26105
26106 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
26107 * gdb.base/annota2.exp: New file. More annotation tests.
26108 * gdb.base/annota1.c: New file. Source file for annota1.exp.
26109 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
26110
261111999-04-23 Angela Marie Thomas <angela@cygnus.com>
26112
26113 * config/cfdbug.exp: New file.
26114
7a292a7a
SS
261151999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
26116
26117 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
26118 Marcus Daniel's and Dale Hawkins's demangler crashes.
26119
26120 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
26121 test_lucid_style_demangling, test_arm_style_demangling,
26122 test_hp_style_demangling): Try Tom Tromey's core-dumping
26123 identifier under each demangling style.
7a292a7a
SS
26124
261251999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
26126
26127 * gdb.c++/demangle.exp: Include the current demangling style
26128 in all test names.
26129 (current_demangling_style): New global variable.
26130 (set_demangling_style, test_demangling_core, test_demangling,
26131 test_demangling_exact): New functions.
26132 (test_gnu_style_demangling, test_lucid_style_demangling,
26133 test_arm_style_demangling, test_hp_style_demangling): Use those,
26134 instead of calling gdb_test and gdb_test_exact directly.
26135 (catch_demangling_errors): New function, which reports errors
26136 signalled by the demangling test functions in an orderly way.
26137 (do_tests): Use catch_demangling_errors.
26138
261391999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
26140
26141 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 26142 grouping in expressions, not {}.
7a292a7a
SS
26143
26144 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 26145 initialized yet.
7a292a7a
SS
26146
261471999-04-01 Stan Shebs <shebs@andros.cygnus.com>
26148
26149 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
26150 are listed.
26151
261521999-03-26 Stan Shebs <shebs@andros.cygnus.com>
26153
26154 * gdb.stabs/weird.exp: Test for CC being defined before
26155 looking at its value.
26156
261571999-03-25 Stan Shebs <shebs@andros.cygnus.com>
26158
26159 * gdb.base/call-ar-st.exp: Remove stray '#'.
26160 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
26161 "short int" and "long int".
26162 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 26163 change, to mollify finicky HP compiler.
7a292a7a
SS
26164 * gdb.hp/reg-test.exp (testfile): Fix file name.
26165 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 26166
7a292a7a
SS
26167 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
26168 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
26169 alternate form of enum ptype.
26170
c906108c
SS
261711999-03-23 Stan Shebs <shebs@andros.cygnus.com>
26172
7a292a7a
SS
26173 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
26174 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
26175 passing skip_hp_tests, so as not to waste time on guaranteed
26176 failure.
7a292a7a 26177
c906108c
SS
26178 * gdb.c++/overload.cc: Pass string instead of char addr, always
26179 init ccpfoo.
26180 * gdb.c++/templates.cc: Fix syntax error.
26181
7a292a7a
SS
26182Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26183
26184 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 26185 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
26186 command.
26187
261881999-03-18 James Ingham <jingham@cygnus.com>
26189
26190 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
26191
26192 * gdb.c++/method.exp: It was testing an uninitialized int on the
26193 stack and assuming it was positive.
26194
26195 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
26196
26197 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 26198 keep it from killing the rest of the tests.
7a292a7a
SS
26199 Use gdb_continue_to_end.
26200
26201 * gdb.base/sigall.exp: use gdb_continue_to_end.
26202
26203 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
26204
26205 * gdb.base/display.exp: use runto_main, not run.
26206
d63a86f8
RM
26207 * gdb.base/default.exp: Check for the current error message in the
26208 r abbreviation test.
7a292a7a
SS
26209 Add strongarm to the targets that know info float.
26210
d63a86f8 26211 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
26212 run which doesn't work with monitors.
26213
6fdff2c5
PA
26214 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
26215 1034 test.
7a292a7a
SS
26216
26217 * gdb.base/break.exp: use the gdb_continue_to_end proc.
26218
6fdff2c5
PA
26219 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
26220 end of a program. Traps the case (in Cygmon) when the program
26221 never really exits. Same as Mark's continue_to_exit, but I had
26222 put it in a lot more places, so I used my name. Sorry Mark...
7a292a7a
SS
26223
26224 * config/monitor.exp (gdb_target_monitor): added another
26225 target_info parameter: remotebinarydownload. This will set the
26226 remotebinarydownload flag if this is causing some boards trouble.
26227
262281999-03-18 Mark Salter <msalter@cygnus.com>
26229
26230 * lib/gdb.exp (continue_to_exit): New function.
26231
26232 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
26233 * gdb.base/ending-run.exp: Ditto.
26234 * gdb.base/step-test.exp: Ditto.
26235
262361999-03-16 Stan Shebs <shebs@andros.cygnus.com>
26237
26238 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
26239 (suggested by Art Haas <ahaas@neosoft.com>).
26240
262411999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
26242
889bf7c5 26243 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
26244
26245Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
26246
26247 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 26248 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
26249
262501999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
26251
26252 * gdb.base/call-strs.exp: Don't assume that `step' will step over
26253 a call to strlen; sometimes we do have sources.
26254
262551999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
26256
26257 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 26258 character, so GDB won't print garbage after its end.
d63a86f8 26259
c906108c
SS
26260 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
26261 breakpoint there instead. Sometimes GCC emits memcpy to handle
26262 the large structures being passed by value, so we step into that
26263 instead of sum_array_print, which obscures what we're really testing.
26264 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
26265 the bizarre steps into memcpy, so do that here. Add check for
26266 stepping into function calls that pass large structures by value.
26267 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
26268 Remove all references to specific line numbers.
26269 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
26270 New type and function.
26271 (main): Call large_struct_by_value, passing it a large struct by value.
26272 * lib/gdb.exp (gdb_get_line_number): New function.
26273
26274 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
26275 more portable.
26276
7a292a7a
SS
262771999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
26278
c906108c
SS
26279 * lib/gdb.exp: Doc fixes.
26280
7a292a7a
SS
262811999-03-05 Nick Clifton <nickc@cygnus.com>
26282
d63a86f8 26283 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
26284
262851999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
26286
c906108c 26287 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
26288 commands. They're not germane to this test, and they don't work
26289 that way on remote targets.
c906108c 26290
3fc11d3e
JM
262911999-03-01 James Ingham <jingham@cygnus.com>
26292
26293 * Changelog entries merged over from gdb development branch.
26294
3fc11d3e
JM
26295 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
26296
26297 * lib/gdb.exp (gdbtk_analyze_results): Generic function
26298 for outputting results of test run.
26299
2d4a1622 26300 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
26301
26302 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 26303
7a292a7a
SS
263041999-02-25 Felix Lee <flee@cygnus.com>
26305
26306 * lib/gdb.exp (debug_format): initialize
26307
c906108c
SS
263081999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
26309
26310 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
26311 * gdb.base/call-rt-st.c: Ditto.
26312
c906108c
SS
263131999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
26314
26315 * gdb.threads/pthreads.exp (horiz): New variable.
26316 (test_startup): Fix regexps that capture thread numbers.
26317
263181999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
26319
26320 * gdb.base/smoke.exp: Disambiguate two test case names (both
26321 called ``print'').
26322
26323Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
26324
26325 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 26326 compilation.
c906108c
SS
26327
263281999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26329
26330 * gdb.base/miscexprs.exp: Change patterns to match GDB's
26331 actual output formatting.
26332 * gdb.base/smoke.exp: GDB removes leading 0's.
26333 * gdb.base/volatile.exp: Don't check type of remuneration;
26334 that variable is no longer defined in constvars.c.
26335 * gdb.base/step-test.c (main): Exit with explicit exit code.
26336 * gdb.base/step-test.exp: Remove two nexti checks--they are
26337 not portable.
26338
263391999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26340
26341 * gdb.base/help.exp ("help delete display"): Fix test to match
26342 gdb's output.
26343
26344 * gdb.base/long_long.c (known_types): Initialize values to zero.
26345 * gdb.base/long_long.exp: Step one more line
26346 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
26347 leading zeros. Explicitly ask for hex formatting. Use
26348 unique test case names.
c906108c
SS
26349
26350Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26351
d63a86f8 26352 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
26353
26354 * gdb.c++/method.exp: Add missing close brace.
26355
263561999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
26357
26358 * gdb.base/maint.exp: Use 'set height 0' to disable page
26359 prompting, not 'set height 400'.
26360
26361 Fix a bunch of timeouts.
26362 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
26363 four separate tests, so expect doesn't take forever to match a ton
26364 of text against a regexp with lots of .* forms.
26365 ("maint print psymbols", "maint print symbols"): Make some of
26366 these greps more selective, so that expect doesn't try to wade
26367 through huge piles of output and time out.
26368
26369 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
26370
26371 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
26372 tests: one which doesn't expect shlib events to be reported, and
26373 another which does, but is XFAIL for all platforms other than
26374 HP/UX.
c906108c
SS
26375
26376 * gdb.base/break.exp: Teach the test suite that the `catch
26377 fork', `catch vfork', and `catch exec' commands produce error
26378 messages on platforms that don't provide these features.
26379
26380Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
26381
26382 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
26383 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
26384 (shortening names from solib_threshold.exp etc), won't run on
26385 anything but HP-UX for the foreseeable future.
c906108c 26386 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 26387 reflect move.
c906108c
SS
26388
26389Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
26390
26391 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 26392 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
26393
26394Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
26395
26396 * gdb.base/shlib-call.exp: add test cases to verify that gdb
26397 successfully re-sets breakpoints in shared libraries.
26398 * gdb.base/shmain.c (main): return 0, don't fall off the end.
26399
26400Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26401
d63a86f8
RM
26402 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
26403 and compiled w/o GCC.
c906108c
SS
26404
26405 * gdb.hp/watch-cmd.exp: ditto.
26406
26407 * gdb.hp/watch-hp.exp: ditto.
26408
26409 * gdb.hp/xdb1.exp: ditto.
26410
26411 * gdb.hp/xdb2.exp: ditto.
26412
26413 * gdb.hp/dbx.exp: ditto.
26414
26415Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
26416
26417 * constvars.c: Remove C++-isms.
26418 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 26419 with GCC.
c906108c
SS
26420
26421Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
26422
26423 The following changes are part of the HP merge.
26424
26425 * gdb.base/break.exp: new tests to verify that catchpoints for
26426 fork, vfork, and exec don't trigger inappropriately.
26427
26428 * gdb.base/opaque.exp: compile one file at a time, then link.
26429
26430 * gdb.base/signals.exp: be more restrictive about which hppa
26431 systems receive a setup_xfail. new tests.
26432
26433 * gdb.base/solib_threshold.build: new file.
26434 * gdb.base/solib_threshold.exp: new file.
26435 * gdb.base/solib_threshold.link_opts: new file.
26436 * gdb.base/solib_threshold.mk: new file.
26437 * gdb.base/gen_solib_threshold.c: new file.
26438
26439 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
26440 tests. New tests for enums inside classes.
26441
26442 * gdb.c++/compiler.cc: indicate support of template debugging.
26443
26444 * gdb.c++/demangle.exp: run hp style demangling tests.
26445
26446 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
26447 tests.
26448
26449 * gdb.c++/misc.cc: changes to support new tests.
26450
26451 * gdb.c++/templates.cc: changes to support HP's compiler; changes
26452 to support new tests.
26453
26454 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
26455 gcc, then skip these tests.
26456
26457Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
26458
26459 The following files are part of the HP merge; some had longer
26460 names at HP, but have been renamed to be no more than 14
26461 characters in length.
26462
26463 * gdb.hp/ambiguous.cc: new file.
26464 * gdb.hp/ambiguous.exp: new file.
26465 * gdb.hp/attach.exp: new file.
26466 * gdb.hp/attach2.exp: new file.
26467 * gdb.hp/classes-hp.exp: new file.
26468 * gdb.hp/ctti.exp: new file.
26469 * gdb.hp/ctti-add.cc: new file.
26470 * gdb.hp/ctti-add1.cc: new file.
26471 * gdb.hp/ctti-add2.cc: new file.
26472 * gdb.hp/ctti-add3.cc: new file.
26473 * gdb.hp/dbx.exp: new file.
26474 * gdb.hp/exception.cc: new file.
26475 * gdb.hp/exception.exp: new file.
26476 * gdb.hp/foll-exec.c: new file.
26477 * gdb.hp/foll-exec.exp: new file.
26478 * gdb.hp/foll-fork.c: new file.
26479 * gdb.hp/foll-fork.exp: new file.
26480 * gdb.hp/foll-vfork.c: new file.
26481 * gdb.hp/foll-vfork.exp: new file.
26482 * gdb.hp/inherit-hp.exp: new file.
26483 * gdb.hp/more-steps.exp: new file.
26484 * gdb.hp/namespace.cc: new file.
26485 * gdb.hp/namespace.exp: new file.
26486 * gdb.hp/optimize.exp: new file.
26487 * gdb.hp/pxdb.c: new file.
26488 * gdb.hp/pxdb.exp: new file.
26489 * gdb.hp/quicksort.exp: new file.
26490 * gdb.hp/reg-test.exp: new file.
26491 * gdb.hp/reg-test.s: new file.
26492 * gdb.hp/sized-enum.c: new file.
26493 * gdb.hp/sized-enum.exp: new file.
26494 * gdb.hp/start-stop.exp: new file.
26495 * gdb.hp/templ-hp.cc: new file.
26496 * gdb.hp/templ-hp.exp: new file.
26497 * gdb.hp/thr-lib.c: new file.
26498 * gdb.hp/thr-lib.exp: new file.
26499 * gdb.hp/thr-lib.h: new file.
26500 * gdb.hp/thr-liblib.c: new file.
26501 * gdb.hp/virtfun-hp.c: new file.
26502 * gdb.hp/virtfun-hp.exp: new file.
26503 * gdb.hp/watch-cmd.exp: new file.
26504 * gdb.hp/watch-hp.exp: new file.
26505 * gdb.hp/xdb1.exp: new file.
26506 * gdb.hp/xdb2.exp: new file.
26507 * gdb.hp/xdb3.exp: new file.
26508
26509Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
26510
26511 The following files are part of the HP merge; some had longer
26512 names at HP, but have been renamed to be no more than 14
26513 characters in length.
26514
26515 * gdb.base/ss.h: new file.
26516 * gdb.base/call-ar-st.c: new file.
26517 * gdb.base/call-ar-st.exp: new file.
26518 * gdb.base/call-rt-st.c: new file.
26519 * gdb.base/call-rt-st-exp: new file.
26520 * gdb.base/call-strs.exp: new file.
26521 * gdb.base/ena-dis-br.exp: new file.
26522 * gdb.base/environ.exp: new file.
26523 * gdb.base/long_long.exp: new file.
26524 * gdb.base/sect-cmd.exp: new file.
26525 * gdb.base/shlib-cl2.exp: new file.
26526 * gdb.base/smoke.exp: new file.
26527 * gdb.base/so-impl-ld.c: new file.
26528 * gdb.base/so-impl-ld.exp: new file.
26529 * gdb.base/so-indr-cl.c: new file.
26530 * gdb.base/so-indr-cl.exp: new file.
26531 * gdb.base/varargs.exp: new file.
26532 * gdb.base/volatile.exp: new file.
26533 * gdb.base/whatis-exp.exp: new file.
7a292a7a 26534 * gdb.base/display.exp: new file.
c906108c
SS
26535 * gdb.c++/derivation.exp: new file.
26536 * gdb.c++/local.exp: new file.
26537 * gdb.c++/member-ptr.exp: new file.
26538 * gdb.c++/overload.exp: new file.
26539 * gdb.c++/ovldbreak.exp: new file.
26540 * gdb.c++/ref-types.exp: new file.
26541 * gdb.c++/ref-types2.exp: new file.
26542 * gdb.c++/userdef.exp: new file.
d63a86f8 26543
c906108c
SS
26544Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
26545
26546 * gdb.base/default.exp: Reflect wording change in remote.c.
26547
dc96c6c7 26548Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26549
26550 * gdb.base/help.exp: Update to reflect current text.
26551
26552Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
26553
26554 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
26555 they're stack variables and contain garbage.
26556 * gdb.c++/anon-union.exp: new file.
26557
26558 The following changes were made by David Taylor
889bf7c5
PA
26559 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
26560 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
26561 in changes by HP.
c906108c
SS
26562
26563 * gdb.base/bitops.exp: new file.
26564 * gdb.base/default.exp: change expected messages for catch and
26565 info catch tests to reflect HP merge changes.
26566 * gdb.base/enable-disable-break.exp
26567 * gdb.base/ending-run.c: new file.
26568 * gdb.base/long_long.c: new file.
26569 * gdb.base/maint.exp: new file.
26570 * gdb.base/pointers2.exp: new file.
26571 * gdb.base/shlib-call2.exp: new file.
26572 * gdb.base/solib.exp: new file.
26573 * gdb.base/step-test.c: new file.
26574 * gdb.c++/anon-union.cc: new file.
26575 * gdb.c++/local.cc: new file.
26576 * gdb.c++/member-pointer.cc: new file.
26577 * gdb.c++/method.cc: new file.
26578 * gdb.c++/ref-types.cc: new file.
26579 * gdb.c++/ref-types2.cc: new file.
26580 * gdb.c++/userdef.cc: new file.
d63a86f8 26581
c906108c
SS
26582 * gdb.base/scope.exp: compile one file at a time, then link.
26583 * gdb.base/langs.exp: ditto.
26584 * gdb.base/list.exp: ditto.
d63a86f8 26585
c906108c
SS
26586Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
26587
26588 The following changes were made by David Taylor
889bf7c5
PA
26589 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
26590 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
26591 in changes by HP.
d63a86f8 26592
c906108c
SS
26593 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
26594 skip tests. When compiling pass c++ flag to gdb_compile.
26595 * gdb.c++/
d63a86f8 26596
c906108c
SS
26597 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
26598 test for on hppa*-*-hpux*; use args to see if c++ was specified.
26599 (skip_hp_tests): new function.
26600 (gdb_preprocess): new function.
26601
26602 * configure.in (hpdir): decide whether to configure gdb.hp.
26603 * configure: regenerated.
26604
26605 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
26606 to delete on clean.
26607 (EXECUTABLES): update to reflect new additions.
26608 * gdb.base/commands.exp: update message expected.
26609 * gdb.base/default.exp: add copyright notice.
26610 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
26611 * gdb.base/help.exp: update messages to reflect current text.
26612 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
26613 targets for recurse tests.
26614 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
26615 skip this file.
26616
26617 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
26618 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
26619 compilation.
26620 * gdb.c++/misc.exp: ditto.
26621 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
26622 run the tests. tell gdb_compile that it's a c++ compilation.
26623
26624 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 26625
c906108c
SS
26626 * gdb.base/all-bin.exp: new file.
26627 * gdb.base/arithmet.exp: new file.
26628 * gdb.base/assign.exp: new file.
26629 * gdb.base/completion.exp: new file.
26630 * gdb.base/cond-expr.exp: new file.
26631 * gdb.base/condbreak.exp: new file.
26632 * gdb.base/define.exp: new file.
26633 * gdb.base/dollar.exp: new file.
26634 * gdb.base/environment.exp: new file.
26635 * gdb.base/eval-skip.exp: new file.
26636 * gdb.base/jump.exp: new file.
26637 * gdb.base/logical.exp: new file.
26638 * gdb.base/pointers.exp: new file.
26639 * gdb.base/relational.exp: new file.
26640 * gdb.base/section_command.exp: new file.
26641 * gdb.base/whatis-expr.exp: new file.
26642
26643 * gdb.base/all-types.c: new file.
26644 * gdb.base/call-array-struct.c: new file.
26645 * gdb.base/call-return-struct.c: new file.
26646 * gdb.base/call-strings.c: new file.
26647 * gdb.base/callfuncs2.c: new file.
26648 * gdb.base/condbreak.c: new file.
26649 * gdb.base/constvars.c: new file.
26650 * gdb.base/display.c: new file.
26651 * gdb.base/int-type.c: new file.
26652 * gdb.base/jump.c: new file.
26653 * gdb.base/miscexprs.c: new file.
26654 * gdb.base/pointers.c: new file.
26655 * gdb.base/pointers2.c: new file.
26656 * gdb.base/shmain.c: new file.
26657 * gdb.base/shr1.c: new file.
26658 * gdb.base/shr2.c: new file.
26659 * gdb.base/solib.c: new file.
26660 * gdb.base/solib1.c: new file.
26661 * gdb.base/solib2.c: new file.
26662 * gdb.base/varargs.c: new file.
26663 * gdb.c++/derivation.cc: new file.
26664 * gdb.c++/overload.cc: new file.
26665 * gdb.c++/ovldbreak.cc: new file.
26666 * gdb.hp/attach.c: new file.
26667 * gdb.hp/attach2.c: new file.
26668 * gdb.hp/average.c: new file.
26669 * gdb.hp/compiler.c: new file.
26670 * gdb.hp/compiler.cc: new file.
26671 * gdb.hp/execd-program.c: new file.
26672 * gdb.hp/follow-exec.c: new file.
26673 * gdb.hp/follow-fork.c: new file.
26674 * gdb.hp/follow-vfork-and-exec.c: new file.
26675 * gdb.hp/misc-hp.cc: new file.
26676 * gdb.hp/more-steps.c: new file.
26677 * gdb.hp/optimize.c: new file.
26678 * gdb.hp/quicksort.c: new file.
26679 * gdb.hp/run-hp.c: new file.
26680 * gdb.hp/start-stop.c: new file.
26681 * gdb.hp/sum.c: new file.
26682 * gdb.hp/templates-hp.cc: new file.
26683 * gdb.hp/thread-local-in-lib.c: new file.
26684 * gdb.hp/thread-local-in-lib.h: new file.
26685 * gdb.hp/thread-local-in-lib.lib.c: new file.
26686 * gdb.hp/vforked-program.c: new file.
26687 * gdb.hp/virtfunc-hp.cc: new file.
26688 * gdb.hp/watchpoint-hp.c: new file.
26689 * gdb.hp/xdb.c: new file.
26690 * gdb.hp/xdb0.c: new file.
26691 * gdb.hp/xdb0.h: new file.
26692 * gdb.hp/xdb1.c: new file.
26693
26694Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
26695
26696 The following change was made by Edith Epstein
889bf7c5
PA
26697 <eepstein@cygnus.com> as part of a project to merge in changes
26698 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
26699
26700 * gdb.c++/demangle.exp: changed the expected output for some
26701 ARM-style mangling -- removed second reference to datatype.
889bf7c5 26702 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 26703 T1<char>::~T1<char>(void)
c906108c 26704 becomes,
a9c64011
AS
26705 maint demangle __dt__11T1__pt__2_cFv
26706 T1<char>::~T1(void)
c906108c 26707
889bf7c5 26708 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 26709
c906108c
SS
26710Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
26711
26712 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
26713 * gdb.trace/backtrace.exp: Likewise.
26714 * gdb.trace/circ.exp: Likewise.
26715 * gdb.trace/collection.exp: Likewise.
26716 * gdb.trace/deltrace.exp: Likewise.
26717 * gdb.trace/infotrace.exp: Likewise.
26718 * gdb.trace/limits.exp: Likewise.
26719 * gdb.trace/packetlen.exp: Likewise.
26720 * gdb.trace/passc-dyn.exp: Likewise.
26721 * gdb.trace/passcount.exp: Likewise.
26722 * gdb.trace/report.exp: Likewise.
26723 * gdb.trace/save-trace.exp: Likewise.
26724 * gdb.trace/tfind.exp: Likewise.
26725 * gdb.trace/tracecmd.exp: Likewise.
26726 * gdb.trace/while-dyn.exp: Likewise.
26727 * gdb.trace/while-stepping.exp: Likewise.
26728
267291998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
26730
26731 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
26732
26733Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
26734
26735 From Brendan Kehoe:
26736 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
26737 int return types.
26738
26739Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
26740
26741 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 26742 remote dos host testing right.
c906108c
SS
26743
26744Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
26745
26746 * gdb.base/corefile.exp: remove some xfails.
26747
26748Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
26749
26750 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 26751 have different timestamps.
c906108c
SS
26752
26753Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
26754
26755 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 26756 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
26757
26758Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
26759
26760 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 26761 delta.
c906108c
SS
26762
26763Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
26764
26765 * gdb.base/default.exp: Add brace missing from previous delta.
26766
26767Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
26768
26769 * gdb.base/default.exp: Support test for info float for all
26770 varieties of arm toolchain.
26771
dc96c6c7 26772Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26773
26774 * gdb.trace/*.exp: remove "remote_download" command.
26775
dc96c6c7 26776Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26777
26778 * gdb.trace/*.exp: remove -gdwarf from compile.
26779
26780Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
26781
26782 * gdb.trace/configure.in(AC_INIT): typo
26783 * gdb.trace/configure: regenerated
26784
dc96c6c7 26785Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26786
26787 * config/m68k-emc.exp: New file.
26788 * lib/<emc-support.exp trace-support.exp}: New files.
26789 * configure.in: add new test directory gdb.trace.
26790 * gdb.trace/{configure configure.in Makefile.in}: New files.
26791 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
26792 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
26793 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
26794 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
26795 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
26796 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
26797 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 26798
dc96c6c7 26799Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26800
26801 * gdb.c++/classes.exp: Change all regular expressions to match
26802 arbitrary combinations of newline/carriage-return, so that they
26803 will work equally well on Unix and Windows.
26804 * gdb.c++/inherit.exp: ditto.
26805 * gdb.c++/virtfunc.exp: ditto.
26806
268071998-08-11 Dawn Perchik <dawn@cygnus.com>
26808
26809 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
26810
c2d11a7d
JM
26811Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
26812
26813 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
26814 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
26815 to use a0-a3/d0-d3 as needed.
26816
26817Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
26818
26819 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
26820 * gdb.disasm/am33.exp: Corresponding changes.
26821
c906108c
SS
268221998-07-11 Felix Lee <flee@cygnus.com>
26823
26824 * gdb.base/callfuncs.exp: add cmp10 test.
26825 * gdb.base/callfuncs.c (cmp10): new function.
26826
26827Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
26828
d63a86f8 26829 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
26830 into two parts to get around a synchronization problem in expect.
26831
3fc11d3e
JM
26832Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
26833
26834 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
26835
26836 * configure.in: Add options for gdbtk testsuite.
26837
26838 * configure: Regenerate.
26839
26840 * gdb.gdbtk: New directory to hold gdbtk tests.
26841
c906108c
SS
26842Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
26843
26844 * gdb.fortran/types.exp: Escape brackets in expect patterns
26845 for test_float_literal_types_accepted tests.
26846 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
26847 before run test.
26848
c2d11a7d
JM
26849Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
26850
26851 * am33.exp: Just compile, do not link the testcase.
26852 * am33.s: Add ".am33" pseudoop to force am33 mode.
26853
c906108c
SS
268541998-06-25 Felix Lee <flee@cygnus.com>
26855
26856 * gdb.base/setshow.exp: make sure $pc is sane.
26857
26858 * gdb.stabs/weird.exp: split expect patterns properly.
26859
c2d11a7d
JM
26860Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
26861
26862 * gdb.disasm/am33.s: New disassembler testfile for the am33.
26863 * gdb.disasm/am33.exp: Run it.
26864
dc96c6c7 26865Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26866
26867 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
26868 match processing (and eliminate spurious timeouts when running).
26869
dc96c6c7 26870Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26871
26872 * gdb.base/signals.exp (test_handle_all_print): put back Mach
26873 exception test, but conditionalize it on target [mach | gnu].
26874
dc96c6c7 26875Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26876
26877 * gdb.base/overlays.exp: fixup compile line for linker script.
26878
26879Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
26880
26881 * gdb.fortran/types.exp: don't guess at float size.
26882
26883Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
26884
26885 * gdb.base/exprs.exp: delete test that depends on int size.
26886
26887Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
26888
26889 * config/sim.exp: Removed checks for target triplets.
26890 (gdb_target_sim): Use gdb,target_sim_options.
26891
26892Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
26893
26894 * gdb.base/reread.exp: New file.
26895 * gdb.base/reread1.c: New file.
26896 * gdb.base/reread2.c: New file.
26897
26898Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
26899
26900 * config/sim.exp: Use 'target sim -sparclite' when running
26901 SPARClite programs.
26902
26903Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
26904
26905 * gdb.base/structs2.exp: New file.
26906 * gdb.base/structs2.c: New file.
26907
26908Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
26909
26910 * gdb.asm/common.inc: New file.
26911 * gdb.asm/d10v.inc: New file.
26912 * asm-source.exp: Pass -I's to gas to find .inc files.
26913 Update line numbers in expected output.
26914 * asmsrc1.s: Rewrite.
26915 * asmsrc2.s: Rewrite.
26916 * configure.in: Create arch.inc symlink.
26917 * configure: Regenerate.
26918 * Makefile.in (distclean): Delete arch.inc.
26919
26920Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
26921
26922 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
26923 (t_enum_value2): ditto
26924 (t_enum_value3): ditto
26925 (main): ditto
c906108c
SS
26926Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
26927
26928 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
26929 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
26930 change.
26931 Use gdb_test instead of send_gdb/gdb_expect sequences.
26932
26933Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
26934
26935 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
26936 not void.
26937
26938Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
26939
26940 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
26941 subroutines. Used to test gdbs ability to single step through PC
26942 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
26943
26944Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
26945
26946 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
26947 more rigorous EGCS C++ error checking.
26948
26949Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26950
a9c64011
AS
26951 * gdb.base/help.exp: Clean up `help set args' and `help show args'
26952 tests.
26953 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
26954 function when asleep.
26955 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
26956 for i*86 Linux and SVR4 signal handling problems.
26957 Remove linux xfail for `next to handler in signals_tests_1', fixed
26958 by recent infrun.c change.
26959 Limit backtrace to 10 frames to avoid timeout problems with infinite
26960 stack backtraces.
26961 Adjust expect pattern in `handle all print' test to match Apr 28 1997
26962 target.[ch] change.
c906108c
SS
26963
26964Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
26965
26966 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
26967 for a newline from gdb before continuing.
26968 (default_gdb_exit): Just look for y or n.
26969 (gdb_test): Detect abnormal exit from GDB running on DOS; if
26970 it does, fail the rests of the tests in the file.
26971
26972Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
26973
26974 * config/cygmon.exp: New file.
26975
26976Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
26977
26978 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 26979 main" test on remote targets.
c906108c
SS
26980
26981 * gdb.base/scope.exp: Fix problem with filelocal_bss before
26982 run test on remote targets.
26983
26984Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
26985
26986 * gdb.asm: New directory.
26987 * configure.in: Configure it.
26988 * configure: Regenerate.
26989 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
26990 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
26991
26992Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
26993
26994 * config/mn10300-eval.exp: New file to support MN10300 eval board.
26995
dc96c6c7 26996Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 26997
a9c64011
AS
26998 * gdb.base/overlays (several files): Merge the two overlay
26999 managers into one. Change variables (foox, barx, bazx, grbxx)
27000 back into ints but force them to load in their proper sections.
c906108c
SS
27001
27002Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
27003
27004 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 27005 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
27006 (D10VCopy): Handle memory regions crossing 16k boundaries.
27007 (D10VCopy): Transfer data in 32 bit chunks.
27008
27009Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
27010
27011 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 27012 correct.
c906108c
SS
27013
27014 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 27015 map. Include space for printf in .text segment.
c906108c
SS
27016
27017 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 27018 updated d10v memory VMA/LMA map.
c906108c 27019 (D10VCopy): Call D10VTranslate.
d63a86f8 27020
c906108c
SS
27021Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
27022
27023 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
27024
27025 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
27026 that it won't be put into the .sdata - small data -
27027 section. Update reference.
c906108c
SS
27028 * gdb.base/baz.c (bazx, baz): Ditto.
27029 * gdb.base/foo.c (foox, foo): Ditto.
27030 * gdb.base/grbx.c (grbxx, grbx): Ditto.
27031
27032 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 27033 to be arrays.
d63a86f8 27034
dc96c6c7 27035Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 27036
a9c64011
AS
27037 * gdb.base/overlays.exp: fix up and get working again.
27038 Add tests for backtraces from an overlay function.
d63a86f8 27039
c906108c
SS
27040Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
27041
27042 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
27043 "calling function with watchpoint enabled".
27044
27045Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
27046
27047 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 27048 gdb_suppress_tests for d10v-*-*.
c906108c
SS
27049 * lib/gdb.exp (gdb_suppress_tests): Disable this function
27050 pending review of whether it is useful or not.
27051
27052Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
27053
27054 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
27055
27056Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
27057
27058 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
27059 * config/dve.exp: New file to support Densan boards.
27060
27061Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
27062
27063 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 27064 reads and BSD.
c906108c
SS
27065
27066Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
27067
27068 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
27069 response.
27070
27071 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
27072
27073Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
27074
27075 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 27076 test.
c906108c
SS
27077
27078 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 27079 target_sizeof_long and target_bigendian_p.
c906108c 27080 (structs_by_value, structs_by_reference): Check values according
889bf7c5 27081 to targets word size and endianess.
d63a86f8 27082
c906108c
SS
27083Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
27084
27085 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 27086 output.
c906108c
SS
27087
27088Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
27089
27090 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 27091 Update test of set args help to match source change.
c906108c
SS
27092
27093Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
27094
27095 * gdb.base/default.exp: Expect help system output to be in
27096 alphabetical order.
27097 * gdb.base/help.exp: Ditto.
27098
27099Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
27100
27101 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
27102 "i*86-pc-linux-gnu*".
27103 * gdb.base/interrupt.exp: Ditto.
27104 * gdb.base/corefile.exp: Ditto.
27105
27106 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 27107 define vxworks when building the testcase.
c906108c
SS
27108
27109 * gdb.base/ptype.exp: Fix testnames to be unique.
27110 * gdb.base/radix.exp: Ditto.
27111 * gdb.base/term.exp: Ditto.
27112 * gdb.base/whatis.exp: Ditto.
27113 * gdb.c++/classes.exp: Ditto.
27114
27115Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
27116
27117 * gdb.base/callfuncs.exp: Fix indentation.
27118
27119 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
27120 suppress_flag has been set.
27121 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
27122 target feature.
27123
27124Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
27125
27126 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
27127 the testcase.
27128
27129 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 27130 set_debug_traps() and breakpoint().
c906108c
SS
27131 * gdb.c++/misc.cc (main): Ditto.
27132 * gdb.c++/templates.cc (main): Ditto.
27133 * gdb.c++/virtfunc.cc (main): Ditto.
27134
27135Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
27136
27137 * lib/gdb.exp(gdb_step_for_stub): New function.
27138 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
27139 exists, reload the executable and do a "continue" instead of
27140 doing a jump.
27141 (runto_main): Use gdb_step_for_stub.
d63a86f8 27142
c906108c 27143 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 27144 tests to have unique names.
c906108c
SS
27145 * gdb.base/callfuncs.exp: Ditto.
27146 * gdb.base/commands.exp: Ditto.
27147 * gdb.base/default.exp: Ditto.
27148 * gdb.base/help.exp: Ditto.
27149 * gdb.base/list.exp: Ditto.
27150 * gdb.base/opaque.exp: Ditto.
27151 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
27152 similar tests.
d63a86f8 27153
c906108c
SS
27154 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
27155 * gdb.c++/cplusfuncs.cc: Ditto.
27156 * gdb.c++/virtfunc.cc: Ditto.
27157
27158 * config/monitor.exp: Keep track of the last file we saw, rather
27159 than trying to get the info from gdb.
27160
27161 * gdb.fortran/types.exp: Move comment to previous line.
27162
27163Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
27164
27165 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 27166 target mode.
c906108c
SS
27167
27168Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
27169
27170 From Bob Manson:
27171 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 27172 string from GDB when it connects.
c906108c
SS
27173
27174 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
27175
27176Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
27177
27178 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
27179 if we can't get a debug format from GDB (we may be testing an
27180 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
27181
27182 * gdb.stabs/weird.exp: Fix quoting.
27183
27184 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
27185
27186Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
27187
27188 * config/arm-ice.exp: New file.
27189
27190Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
27191
27192 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 27193 until it has been modified to work with the new testsuite.
c906108c 27194
99707966 27195 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
27196 testcase won't compile, cause all of the testcases in the file to
27197 fail instead.
c906108c
SS
27198
27199 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
27200 (gdb_clear_suppressed): New procedure.
27201 (gdb_stop_suppressing_tests): Only clear suppress_flag if
27202 it contains a positive value.
27203
27204Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
27205
27206 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
27207
27208 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
27209
27210Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
27211
27212 * lib/gdb.exp (setup_xfail_format): New function.
27213 (get_debug_format): New function to get debug format.
27214 (debug_format): New global variable to hold last value set
27215 by get_debug_format.
27216 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 27217 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
27218 * gdb.c++/ptype.exp: Ditto.
27219 * gdb.c++/classes.exp: Ditto.
27220 * gdb.c++/cplusfuncs.exp: Ditto.
27221 * gdb.c++/inherit.exp: Ditto.
27222 * gdb.c++/templates.exp: Ditto.
27223 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 27224
c906108c
SS
27225Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
27226
27227 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
27228 host doesn't have a currently-open connection.
27229
27230 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
27231 any gdb stub target. Handle cases where gdb doesn't respond when
27232 interrupted in a sane fashion.
c906108c
SS
27233
27234 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 27235 same thing in a totally different way.
c906108c
SS
27236
27237 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 27238 setting "timeout".
c906108c 27239 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 27240 default_gdb_init now.
c906108c
SS
27241
27242Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
27243
27244 * gdb.base/printcmds.exp: Fix "check for floating addition"
27245 regexp to accept results within approx +/- .01 of exact value.
27246 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
27247
27248Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
27249
27250 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 27251 properly.
c906108c
SS
27252 (gdb_expect): Add optional timeout parameter, and add timeout
27253 value to various calls.
27254 (gdb_suppress_tests): Only give one warning message per group.
27255
27256Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
27257
27258 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
27259 global variables. Handle getting a value for $timeout more
27260 gracefully.
c906108c
SS
27261
27262Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
27263
27264 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 27265 initialize.
c906108c 27266 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 27267 by a target configuration file.
c906108c
SS
27268 (gdb_expect): Pass the timeout to remote_expect.
27269
27270 * config/monitor.exp(gdb_load): Fix typo in regexp.
27271
27272Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
27273
27274 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
27275
27276Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
27277
27278 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
27279 here. Call gdb_target_exec before rebooting the target, to make
27280 sure the connection to the target is closed.
c906108c
SS
27281 (gdb_load): Pass the name of the executable to gdb_target_monitor.
27282 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
27283 Also detect "Timeout reading from remote" error.
27284
27285 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
27286 gdb_target_monitor. Don't call gdb_file_cmd here; let
27287 gdb_target_monitor do it.
c906108c
SS
27288
27289 * gdb.disasm/hppa.exp: Don't use exec_output.
27290
27291Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
27292
27293 * gdb.base/list.exp: If we're debugging a non-native target,
27294 try to set the pc register to point to the start of the
27295 program before doing the first list command.
27296
27297 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 27298 test_calls after restarting.
c906108c
SS
27299
27300 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 27301 reloading.
c906108c
SS
27302
27303 * gdb.base/watchpoint.exp: Fix typo.
27304
27305 * gdb.base/setshow.exp: Check for use_gdb_stub.
27306
27307 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 27308 stub case.
c906108c
SS
27309 * gdb.base/langs.exp: Ditto.
27310
27311 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
27312 gdb_load_offset. If we weren't given a file to load, figure out
27313 what the current file is and use it.
c906108c
SS
27314
27315 * config/i386-bozo.exp: New file.
27316
27317Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
27318
27319 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
27320 feature.
27321
27322 * config/proelf.exp: New entry.
27323
27324Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
27325
27326 * lib/gdb.exp: Remove spurious .* patterns at the beginning
27327 of regexps.
27328
27329 * gdb.base/watchpoint.exp: Don't run the test_stepping
27330 tests if gdb can't call functions on the target.
27331
27332 * gdb.base/setshow.exp: Don't run the set prompt tests if
27333 the board has gdb_prompt set.
27334
27335Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
27336
27337 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
27338 * gdb.base/commands.exp: Likewise.
27339 * gdb.base/setshow.exp: Likewise.
27340
27341Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
27342
27343 * config/monitor.exp(gdb_start): Look for gdb_prompt target
27344 feature.
27345
27346 * config/i960.exp: New file.
27347
27348Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
27349
27350 * gdb.base/funcargs.exp: Check for gdb,short_int target
27351 feature instead of looking for explicit target triplets.
27352
dc96c6c7 27353Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 27354
d63a86f8 27355 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
27356 "p 123DEADBEEF", to check parse_number.
27357 * top.c: change "to enable to enable" to "to enable" in a couple
27358 of help strings.
27359
27360Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
27361
27362 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
27363 on the mn10300.
d63a86f8 27364
c906108c
SS
27365Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
27366
27367 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
27368 where the test executable is run with explicit args.
27369 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
27370
27371Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
27372
27373 * gdb.base/run.c: Use FAKEARGV to build test executable that
27374 does not require a command line arg, since most simulators
27375 don't currently support passing such an arg into the simulated
27376 program.
27377 * gdb.base/commands.exp: Change tests to insert the proper
27378 value as the arg to the first recursive factorial call. Change
27379 compilation line to define FAKEARGV at compile time.
27380
27381Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
27382
27383 * gdb.base/recurse.exp: Enable these tests for the mn10300.
27384 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
27385 function with watchpoint enabled" test.
27386
27387Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
27388
27389 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 27390 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
27391
27392 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 27393 "Tests restarted" messages.
c906108c
SS
27394
27395Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
27396
27397 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
27398
dc96c6c7 27399Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27400
27401 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
27402 for INFO SYMBOL; add help tests for OVERLAY commands.
27403 * gdb.base/default.exp: add tests for INFO SYMBOL command;
27404 add tests for OVERLAY commands
27405 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
27406 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
27407 * gdb.base/sigall.c: add usestubs code frag
27408 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 27409
c906108c
SS
27410Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
27411
27412 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
27413 failures.
27414 (gdb_stop_suppressing_tests): Note that tests have restarted.
27415
27416Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
27417
27418 * config/h8300.exp: New file.
27419
27420Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
27421
27422 * gdb.base/setshow.exp: Check for the existence of a
27423 feature, not its value.
27424
27425Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
27426
27427 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
27428
27429 * gdb.base/scope.exp: It's now init0(), not init().
27430
27431 * gdb.base/scope0.c: For now, change init() to be init0().
27432
27433 * config/monitor.exp: Use gdb_serial in preference to serial
27434 or netport.
27435
27436 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 27437 and it's not already set.
c906108c
SS
27438
27439Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
27440
27441 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 27442 isn't using a stub and if it supports argument passing.
c906108c
SS
27443
27444Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
27445
27446 * config/udi.exp(gdb_start): Make sure UDICONF is set
27447 properly before starting gdb.
27448
27449Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
27450
27451 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
27452 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
27453 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
27454
27455Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
27456
27457 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 27458 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
27459
27460 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
27461
27462 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
27463
27464 * config/monitor.exp: Make sure we disconnect from the target.
27465 Also, try a reboot/reload cycle instead of failing if the
27466 load fails.
27467
27468Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
27469
27470 * gdb.base/default.exp: Don't set match_max.
27471 * gdb.base/help.exp: Ditto.
27472 * gdb.base/list.exp: Ditto.
27473 * gdb.base/signals.exp: Ditto.
27474
27475 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
27476 set, use remote_ld to download the testcase instead of
27477 the GDB loader.
27478
27479Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
27480
27481 * config/vr5000.exp: New file.
27482
27483 * config/monitor.exp(gdb_target_monitor): Add pattern for
27484 "Ending remote" to detect errors in connecting.
27485
27486 * gdb.base/setshow.exp: Add .* within auto language test.
27487
27488 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
27489 target feature.
27490
27491 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 27492 and reboot the board if necessary.
c906108c
SS
27493
27494 * gdb.base/setvar.exp(test_set): Handle multiple prints within
27495 a set of tests. Remove print.* from the patterns being checked.
27496
27497Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
27498
27499 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
27500 refer to gdb_spawn_id.
27501
27502 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
27503 longer used.
27504 * config/sparclet.exp: Ditto.
27505 * config/sparclet-old.exp: Ditto.
27506 * config/slite.exp: Ditto.
27507 * config/sim.exp: Ditto.
27508 * gdb.base/funcargs.exp: Ditto.
27509
27510 * lib/gdb.exp:Remove references to gdb_spawn_id.
27511 (gdb_expect): Move to remote.exp.
27512
27513Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
27514
27515 * config/monitor.exp: Detect the "Couldn't establish connection"
27516 message from GDB.
27517
27518Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
27519
27520 * gdb.base/bitfields.exp: Use runto instead of explicit
27521 gdb_run_cmd/gdb_expect sequences.
27522
27523 * gdb.base/break.exp(text_next_with_recursion): Add match for
27524 gdb_expect call.
27525
27526 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
27527 We also need to handle the "A program is being debugged already"
27528 prompt from gdb. Use gdb_test to set the baud rate.
27529
27530 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
27531 to 20000. Really. I mean it.
27532
27533Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
27534
27535 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
27536 fails. If suppress_flag is set, skip perror message about not
27537 being able to send to GDB.
c906108c 27538 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 27539 GDB.
c906108c
SS
27540 (gdb_expect): If suppress_flag is set, always fail immediately.
27541 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
27542 (gdb_init): Call gdb_stop_suppressing_tests.
27543 (default_gdb_exit): Ditto.
27544 (default_gdb_start): Ditto.
27545
27546 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 27547 gdb_stop_suppressing_tests as appropriate.
c906108c 27548 * gdb.base/break.exp: Ditto.
889bf7c5 27549 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
27550 * gdb.base/commands.exp: Ditto.
27551 * gdb.base/exprs.exp: Ditto.
889bf7c5 27552 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
27553 * gdb.base/list.exp: Ditto.
27554 * gdb.base/recurse.exp: Ditto.
889bf7c5 27555 * gdb.base/scope.exp: Ditto.
c906108c
SS
27556 * gdb.base/structs.exp: Ditto.
27557 * gdb.c++/inherit.exp: Ditto.
27558
27559Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
27560
27561 * config/vr4300.exp: New file.
27562
99707966 27563 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 27564
99707966 27565 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
27566
27567Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
27568
27569 * lib/gdb.exp(gdb_init): New function.
27570
27571 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 27572 for each individual variable set.
c906108c
SS
27573
27574 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
27575 name.
27576
27577 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
27578
27579 * gdb.base/scope.exp: Use gdb_test.
27580
27581 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
27582 aborting; the testsuite driver will do that for us (see
27583 gdb_finish). Also, use gdb_test in a few more places.
27584
27585Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
27586
27587 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
27588
27589Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
27590
27591 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
27592 and "add_tests" are not at the same address.
27593
27594Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
27595
27596 * gdb.base/ptype.exp: Use gdb_test.
27597
27598Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
27599
27600 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
27601 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
27602 left in. No longer expect them to fail.
27603
27604 * gdb.stabs/*.mt; Deleted, no longer used.
27605 * gdb.stabs/configure.in: Remove references to target makefile
27606 frags.
27607 * gdb.stabs/configure: Rebuilt.
27608
27609 * gdb.disasm/*.mt: Deleted, no longer used.
27610 * gdb.disasm/configure.in: Remove references to target makefile
27611 frags. Use "sh3.s" as the unique filename for this directory.
27612 * gdb.disasm/configure: Rebuilt.
27613
27614 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
27615 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
27616 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
27617
27618Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
27619
27620 * config/udi.exp: Use mondfe,name instead of remote_host.
27621
27622Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
27623
27624 * gdb.base/watchpoint.exp: Don't expect a failure when calling
27625 a function with a watchpoint enabled on the mn10200.
27626
27627 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
27628 before trying to create it!
27629
27630Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
27631
27632 * config/vx.exp: Use hostname instead of netport.
27633
27634 * config/vxworks.exp: New file.
27635
27636 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
27637
27638 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 27639 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
27640 occurs.
27641
27642 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
27643 $gdb_spawn_id directly.
27644 (gdb_run_cmd): Try _start as well as start. Use the target feature
27645 gdb,start_symbol as the symbol to start from when jumping.
27646
27647Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
27648
27649 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
27650 redundant) test.
27651
27652 * gdb.base/recurse.exp: Relax final value test for 'b' so that
27653 it doesn't lose for 16bit integer systems.
27654
27655Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
27656
27657 * gdb.fortran/types.exp: If the target doesn't support "double"
27658 data types, then expect "real" types to only be 4 bytes.
27659
27660 * gdb.c++/virtfunc.exp: Expect failure for virtual function
27661 call tests if the target doesn't support inferior function calls.
27662
27663 * gdb.base/printcmds.exp: Allow minor deviation in FP values
27664 in printf tests.
27665
27666Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
27667
27668 * gdb.base/help.exp: Disable "help set", "help show", and
27669 "help support". Simplify regexp for "help stack".
27670
27671 * gdb.base/default.exp: Set match_max to 5000 and the timeout
27672 to 60 seconds. Temporarily set match_max to 15000 around the
27673 "info copying" test.
27674
27675 * gdb.base/nodebug.exp: Don't try to do an inferior function
27676 call if the target doesn't support them.
27677 * gdb.base/printcmds.exp: Likewise.
27678 * gdb.base/setvar.exp: Likewise.
27679 * gdb.base/structs.exp: Likewise.
27680 * gdb.c++/templates.exp: Likewise.
27681 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
27682
27683 * gdb.base/recurse.exp: Enable for the mn10200.
27684
27685 * configure.in: Do configure gdb.stabs directory for *-*-elf
27686 targets.
27687 * configure: Rebuilt.
27688
27689 * gdb.base/break.exp: Check for gdb,noresults before testing
27690 exit status and/or results from the target.
27691 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
27692 * lib/gdb.exp: Remove old (now bogus) initialization of
27693 noinferior, noargs, noresults and nosignals.
27694
27695Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
27696
27697 * config/sh.exp: New file.
27698
27699 * config/slite.exp: Try to connect multiple times to the board
27700 before rebooting. Only send a "monitor run" if need_monitor_run
27701 is set.
27702
27703 * gdb.base/break.exp: Don't do the "stub continue" test if
27704 the target has gdb_stub set.
27705
27706 * gdb.base/callfuncs.exp: Increase the timeout.
27707
27708 * gdb.base/interrupt.exp: Don't even try to compile the testcase
27709 if the target has gdb,noinferiorio set.
27710
27711 * gdb.base/list.exp: Increase match_max to 10000 characters.
27712
27713 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
27714
27715 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
27716 target.
27717
27718 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
27719
27720Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
27721
27722 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
27723 trying to delete the copy of gdb. Catch the file delete so we
27724 don't die if the delete fails; also, the file should be copied to
27725 the host, not to the build.
c906108c
SS
27726
27727Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
27728
27729 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 27730 parenthesis in case it contains multiple regexps separated
c906108c
SS
27731 with |.
27732
27733 * gdb.base/watchpoint.exp: Use gdb_test.
27734 * gdb.base/default.exp: Ditto.
27735
27736Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
27737
99707966 27738 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 27739
c906108c
SS
27740 * gdb.base/scope.exp: Use gdb_test.
27741 * gdb.c++/classes.exp: Ditto.
27742 * gdb.c++/inherit.exp: Ditto.
27743
27744Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
27745
27746 * gdb.base/crossload.exp: Don't use execute_anywhere, use
27747 remote_exec instead.
27748 * gdb.base/corefile.exp: Don't be ridiculous.
27749 * gdb.base/*.c: Add missing stub invocations.
27750
27751Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
27752
27753 * config/slite.exp: Miscellaneous fixes.
27754
27755 * lib/gdb.exp: Fix runto.
27756
27757 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
27758 the target.
27759
27760 * gdb.base/watchpoint.exp: Fix regexp.
27761
27762 * lib/gdb.exp(default_gdb_exit): Add a catch to the
27763 close and wait commands, as the descriptor may now be
27764 invalid. Always call "remote_close host".
27765
27766Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
27767
27768 Major rewrite for testsuite revision.
d63a86f8 27769
c906108c
SS
27770 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
27771 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
27772 instead of relying on spawn_id to always contain a valid
27773 spawn id.
27774 (get_compiler_info): New procedure to build the ${binfile}.ci
27775 file, instead of replicating this in N different places.
27776 (gdb_compile): New procedure.
d63a86f8 27777
c906108c 27778 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
27779 appropriate arguments) instead of compile. Use gdb_test in a lot
27780 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
27781 at the start of a testcase, as this is no longer done magically.
27782
27783 config/*-gdb.exp: Rename without the -gdb suffix.
27784
27785 config/mips.exp: Use remote_close instead of exit_remote_shell.
27786 config/monitor.exp: Use target_info instead of looking at
27787 baud, timeout, etc.
27788 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
27789
27790Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27791
27792 * gdb.c++/templates.exp (test_ptype_of_templates),
27793 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
27794 Update expect patterns for destructors and assignment operators
27795 to match corresponding c-typeprint.c changes.
27796 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
27797 to destructor breakpoint test, GDB should be able to set the
27798 destructor breakpoint without specifying arguments.
27799
27800Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
27801
27802 * gdb.threads/pthreads.exp: Change result for failure to compile due
27803 to lack of pthreads runtime support from an error to simply an
27804 unsupported test, per dejagnu standards.
27805
27806Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27807
27808 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
27809 where GDB exits to reduce pattern match time.
27810 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
27811
27812 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
27813
dc96c6c7 27814Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27815
27816 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
27817 * gdb.base/default.exp: ditto.
27818 * gdb.base/nodebug.exp: ditto.
27819 * gdb.base/printcmds.exp: ditto.
27820 * gdb.base/ptype.exp: ditto.
27821 * gdb.base/setvar.exp: ditto.
27822 * gdb.base/structs.exp: ditto.
27823 * gdb.base/setshow.c: Guard against uninitialized values of argc.
27824
27825Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
27826
27827 * configure, */configure: Rebuild with autoconf 2.12.
27828
27829Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
27830
27831 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
27832 use new i*86-pc-linux*-gnu quads.
27833 * gdb.base/corefile.exp: Ditto.
27834 * gdb.base/signals.exp: Ditto.
27835 * gdb.base/sigall.exp: Ditto.
27836 * gdb.base/interrupt.exp: Ditto.
27837
27838 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
27839 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
27840 RedHat 4.0.
d63a86f8 27841
c906108c 27842 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
27843 linux. This allows the test case to at least compile on latest
27844 linux, but still not run due to missing the threads runtime library.
c906108c
SS
27845
27846Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27847
27848 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
27849 directory to search gdb directory. Accept and step over conditional
27850 stack alignment code. Consume $prompt in failure cases.
27851 Reset timeout to $oldtimeout instead of some arbitrary value.
27852 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
27853 timeout problems with infinite stack backtraces.
27854 * gdb.base/ptype.exp (ptype struct link, union tu_link):
27855 Accept function parameters for linkfunc member.
27856
27857Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
27858
27859 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
27860 (CXXFLAGS): Remove, unreferenced.
27861 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
27862 previous -B options and also add -B option to pick up cross compiled
27863 runtime.
c906108c
SS
27864 (TARGET_INCLUDES): Add for -I options and add code to initialize when
27865 doing cross compiles.
27866 (target_alias): Declare global.
27867 (xgcc): Set variable to full path of gcc in build tree. Use findfile
27868 to verify that gcc exists in build tree, and if so set CC to that
27869 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 27870
c906108c
SS
27871Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
27872
27873 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
27874 ptype test for anonymous union. Fixup testcase to match
27875 current gcc debug output.
27876
27877Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
27878
27879 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
27880 force argument to an unsigned long type.
27881
27882Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
27883
27884 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 27885 tests and anonymous union print/ptype tests.
c906108c
SS
27886 * gdb.base/list.exp (test_forward-search): Increase timeout by
27887 5 minutes for the "search extremely long line" case.
27888 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
27889 completely optional and that the pass/fail messages use the command as
27890 the message if that third arg is a null string.
27891 (gdb_test_exact): Arrange that a null string pattern means match a
27892 null string output rather than any output, which might include random
889bf7c5 27893 errors.
c906108c
SS
27894 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
27895 backtrace test.
27896 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
27897 always failing and failure is now exposed by gdb.exp changes.
27898
27899Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
27900
27901 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
27902 weren't being noted.
27903
27904Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27905
27906 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
27907 * gdb.stabs/weird.exp: Remove v_comb xfails.
27908
dc96c6c7 27909Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27910
27911 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 27912 list.exp scope.exp watchpoint.exp]
c906108c 27913 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 27914
dc96c6c7 27915Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27916
27917 * config/monitor.exp: Increase download timeout to 1000 seconds.
27918
dc96c6c7 27919Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27920
27921 * config/m32r.exp: Increase timeout to 120 seconds.
27922
27923Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
27924
27925 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
27926 and accept older ordering as obsolescent gcc or gdb.
27927 * gdb.c++/templates.exp: Ditto.
27928 * gdb.c++/virtfunc.exp: Ditto.
27929
27930Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
27931
27932 * gdb.base/coremaker.c: Add code to mmap some data so we
27933 can check that it ends up in the core file.
27934 * gdb.base/corefile.exp: Add test to read mmapped data
27935 from core file.
27936
dc96c6c7 27937Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27938
27939 * config/m32r.exp: New file.
27940
27941Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
27942
27943 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
27944 that cflags can contains -gstabs, and work correctly for other tests.
27945
dc96c6c7 27946Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27947
27948 * gdb.base/setshow.exp: New file, tests show and set.
27949 * gdb.base/setshow.c: New file, tests show and set.
27950 * gdb.base/help.exp: Add test for help set|show annotate.
27951 * gdb.base/default.exp: Add test for set|show annotate.
27952
27953Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
27954
27955 * testsuite/gdb.base/break.exp: Make backtrace from factorial
27956 errors unique.
27957 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
27958 explicitly.
27959
27960Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
27961
27962 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
27963 and width commands. This is done elsewhere.
27964 * (gdb_start): Don't call gdb_start_sim here. That's already
27965 done in gdb_load. This fixes lots of failures in default.exp.
27966
27967Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
27968
27969 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
27970 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
27971 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
27972 in the same we we treat other failures (since it may be an expected
889bf7c5 27973 condition), rather than as an error.
c906108c
SS
27974 * gdb.base/signals.exp (test_handle_all_print): Revert back to
27975 old test format.
27976
27977Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
27978
27979 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
27980 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 27981 twice. Nuke the duplicates.
c906108c 27982 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 27983 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
27984 Remove config.h along with other config files.
27985
27986Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
27987
27988 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
27989 "p func1 ()" and note that rests of tests are skipped.
27990 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 27991 setup_xfails for "print func2::coremaker_local".
c906108c
SS
27992 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
27993 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
27994 affected by the previous run test.
27995 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
27996 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
27997 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
27998 "pass int powerset tuple" and "pass modeless int powerset tuple".
27999 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
28000 "real write 4" and "real write 8".
28001 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 28002 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
28003 "print \$i after tuple assign 2", and
28004 "print vs2 after tuple assign 2".
28005 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
28006 meaningful error message and return -1 so the caller can
28007 suppress further tests and avoid a cascade of errors.
d63a86f8 28008
c906108c
SS
28009Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
28010
28011 * gdb.base/a1-selftest.exp: Tweak tests to account for new
28012 format for printing version.
28013 * gdb.base/default.exp: Ditto.
28014 * gdb.base/interrupt.exp: Fix problem with cascade of
28015 errors if child process dies while calling a function.
d63a86f8 28016
c906108c
SS
28017Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
28018
28019 * Makefile.in (VPATH): Add
28020 * Makefile.in (Makefile, config.status): Fix rules so things get
28021 remade when necessary.
28022
28023Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
28024
28025 * Makefile.in (just-check): Add path to sibling expect dir
28026 to environment variable specified by RPATH_ENVVAR.
28027
28028Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
28029
28030 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
28031 (just-check): Add shared library paths for libstdc++, tk,
28032 tcl, bfd, and opcodes to the environment variable specified
28033 in RPATH_ENVVAR.
28034 * configure.in: Add support to recognize --enable-shared flag
28035 and generate correct value for RPATH_ENVVAR.
28036 * configure: Regenerated with autoconf.
28037
28038Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
28039
28040 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 28041 include all osf versions.
c906108c
SS
28042 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
28043 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
28044 when target is linux. When failing to build pthreads test
28045 executable, give more meaningful message.
28046 * gdb.threads/pthreads.c: Hpux also uses old definition of second
28047 arg for pthread_create.
d63a86f8 28048
c906108c
SS
28049Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
28050
28051 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 28052 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 28053 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 28054 and -lpthreads (everybody else).
c906108c
SS
28055 (test_startup): Fail gracefully if threads are not supported.
28056 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
28057 "p/c array_index("abcdef",2)" when not gcc compiled.
28058 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
28059 "print func2::coremaker_local" when not gcc compiled.
28060 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
28061 "ptype on opaque struct tagname (statically)",
28062 "ptype on opaque struct tagname (dynamically) 1", and
28063 "ptype on opaque struct tagname (dynamically) 2"
28064 for not compiled with gcc.
28065 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
28066 backtrace when compiled with gcc.
d63a86f8 28067 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
28068 than always return success.
28069
28070Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
28071
28072 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
28073
28074Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
28075
28076 * gdb.base/structs.exp: Undo last change.
28077
28078Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
28079
28080 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
28081 encapsulate all the steps/nexts done during self test, starting
28082 at main, and makes them less sensitive to optimization issues.
28083 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
28084 signal handler" test.
28085 * gdb.threads/pthreads.exp: Only run this for native configs.
28086 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
28087 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
28088 tests.
28089 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
28090 for "runto test_calls(void)" test.
d63a86f8 28091
c906108c
SS
28092Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
28093
28094 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
28095 and don't expect address info in breakpoint confirmations.
28096
28097Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
28098
28099 * gdb.base/list.exp (test_forward_search): Increase timeout
28100 temporarily by 60 seconds for searching extremely long line,
889bf7c5 28101 and then reset to old value when done. Increase expect input
c906108c
SS
28102 buffer to 10000.
28103
28104Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
28105
28106 * gdb.base/list.exp (test_forward_search): Fix to handle very
28107 long source line without overflowing expect's input buffer.
28108
28109Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
28110
28111 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
28112 "buffer_full".
28113
28114 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
28115 "buffer_full".
28116
28117 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
28118 "buffer_full".
28119
28120 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
28121 "buffer_full".
28122
28123Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
28124
28125 * configure.in (configdirs): Add gdb.threads.
28126 * configure: Regenerated with autoconf.
28127 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
28128 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
28129 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 28130
c906108c
SS
28131Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
28132
28133 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
28134
28135Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
28136
28137 * gdb.base/signals.exp (test_handle_all_print): Test separately for
28138 each signal's status in the output of "handle all print".
28139 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
28140 the \r\n sequence that immediately precedes the gdb prompt.
28141 * gdb.base/a1-selftest.exp: Save original timeout and restore
28142 after test.
28143
28144Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
28145
28146 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
28147 symbol.
28148
28149Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
28150
28151 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
28152
28153Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
28154
28155 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
28156 timeout by 60 seconds.
28157
28158Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
28159
28160 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
28161 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
28162 error return.
28163
28164Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
28165
28166 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
28167 gdb initialization, also report how long dejagnu waited. Restore
28168 old timeout before doing error return. Temporarily increase timeout
889bf7c5 28169 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
28170
28171Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
28172
28173 * lib/gdb.exp: Report timeout value for verbosity level 2.
28174 * config/gdbserver.exp: Ditto.
28175 * config/hppro.exp: Ditto.
28176 * config/mips-gdb.exp: Ditto.
28177 * config/monitor.exp: Ditto.
28178 * config/netware.exp: Ditto.
28179 * config/sim-gdb.exp: Ditto.
28180 * config/slite-gdb.exp: Ditto.
28181 * config/udi-gdb.exp: Ditto.
28182 * config/unix-gdb.exp: Ditto.
28183 * config/vx-gdb.exp: Ditto.
28184 * gdb.base/a1-selftest.exp: Ditto.
28185 * gdb.base/a2-run.exp: Ditto.
28186 * gdb.base/break.exp: Ditto.
28187 * gdb.base/corefile.exp: Ditto.
28188 * gdb.base/list.exp: Ditto.
28189 * gdb.base/recurse.exp: Ditto.
28190 * gdb.base/scope.exp: Ditto.
28191 * gdb.base/signals.exp: Ditto.
28192
28193Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28194
28195 * gdb.threads/Makefile.in (docdir): Removed.
28196
28197Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28198
28199 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 28200 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 28201 @srcdir@.
d63a86f8 28202 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
28203 autoconf 2.5 or higher.
28204 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
28205
28206Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
28207
28208 * configure: Regenerated.
28209 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
28210 avoid name clashes with SunOS headers.
28211
28212Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
28213
28214 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
28215
28216Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
28217
28218 * gdb.base/callfuncs.exp: Finish last change -- make sure the
28219 prototype information ends up in the compiler info file.
28220
28221Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
28222
28223 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
28224 attempting to regenerate it. Eliminate use of a temporary file
28225 and just generate the info file directly. Source it immediately,
28226 for consistency of use.
28227 * gdb.base/corefile.exp: Ditto
28228 * gdb.base/exprs.exp: Ditto.
28229 * gdb.base/funcargs.exp: Ditto.
28230 * gdb.base/langs.exp: Ditto.
28231 * gdb.base/list.exp: Ditto.
28232 * gdb.base/mips_pro.exp: Ditto.
28233 * gdb.base/nodebug.exp: Ditto.
28234 * gdb.base/opaque.exp: Ditto.
28235 * gdb.base/ptype.exp: Ditto.
28236 * gdb.base/scope.exp: Ditto.
28237 * gdb.base/setvar.exp: Ditto.
28238 * gdb.base/signals.exp: Ditto.
28239 * gdb.base/whatis.exp: Ditto.
28240 * gdb.c++/templates.exp: Ditto.
28241 * gdb.c++/virtfunc.exp: Ditto.
28242 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 28243 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
28244
28245Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28246
28247 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
28248 it got fixed by the recent lookup_minimal_symbol_by_pc change.
28249 Increase timeout, a lot of single stepping might be needed if the
28250 target has no hardware watchpoints.
28251
28252Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
28253
28254 * gdb.base/break.exp: Ignore compiler warnings when compiling
28255 break.c.
28256 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
28257 * gdb.base/default.exp: Add h8300 xfails. Handle messages
28258 from remote-sim.
28259 * gdb.base/exprs.exp: Add h8300 xfails.
28260 * gdb.base/funcargs.exp: Likewise.
28261 * gdb.base/nodebug.exp: Likewise.
28262 * gdb.base/printcmds.exp: Likewise.
28263 * gdb.base/ptype.exp: Likewise.
28264 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
28265 h8300 xfails.
d63a86f8 28266 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
28267 on the h8300.
28268 * gdb.base/funcargs.c: Explicitly make last constant argument to
28269 call_after_alloca_subr an unsigned long type.
28270 * gdb.base/return.c: Include stdio.h.
28271
28272Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
28273
28274 * config/abug.exp: New file for the older Motorola Bug monitor
28275 that runs on the mvme13x series VME boards.
28276 * config/monitor.exp: Use the new config array for target settings
28277 if they exist.
28278
28279Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
28280
28281 * sim-gdb.exp: Make the SH simulator allocate less space when
28282 it is targeted.
28283
28284Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
28285
28286 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
28287 test.
28288
28289Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
28290
28291 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
28292 "rs6000-*-*" for "list function in include file" when gcc compiled.
28293 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
28294 for "p ctable1[120]".
28295 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
28296 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
28297 Remove setup_xfail for "rs6000-*-*" for
28298 "print 'scope0.c'::filelocal before run".
28299 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
28300 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
28301 since some compilers don't allow both options to be given
28302 on the same command line. Create object file and move it.
d63a86f8 28303
c906108c
SS
28304Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
28305
28306 * gdb.base/corefile.exp: Always regenerate the core file, since
28307 we always regenerate the coremaker program. Detect special case
28308 where registers cannot be read from core file.
d63a86f8 28309
c906108c
SS
28310Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
28311
28312 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
28313 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
28314 * gdb.c++/templates.exp: Only match on basename of file since
28315 some formats like xcoff don't encode directory information.
28316 * gdb.stabs/weird.exp: Use the right sed script for powerpc
28317 and rs6000 AIX xcoff targets.
28318 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
28319 * configure: Regenerate.
28320 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
28321 here, rather than in distclean.
d63a86f8 28322
c906108c
SS
28323Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
28324
28325 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
28326 defined, and use it to compile the test case with -O2. The
28327 native compilation still uses no optimization.
28328 * gdb.base/mips_pro.c: Remove inline assembly code since
28329 it is compiled PIC by default, which results in assembler
28330 warnings that make the testsuite think the compilation
28331 was unsuccessful.
28332
28333Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
28334
28335 * gdb.c++/misc.exp: Add note to message for
28336 "print s.a for foo struct" that this is a known gcc 2.7.2
28337 and earlier bug.
28338
28339Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
28340
28341 * gdb.base/break.exp: Fix pattern for matching "Delete all
28342 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
28343 setup_xfail for deleting all breakpoints test. Fix various
28344 timeout messages to include "(timeout)".
28345 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
28346 for "p t_float_values2(3.14159,float_val2)".
28347 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
28348 for "continue to call2g" when gcc compiled.
28349 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
28350 "up to foo in langs.exp", "show language at foo in langs.exp",
28351 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
28352 and "show language at fsub in langs.exp".
28353 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
28354 "list line 1 in include file", "list message for lines past EOF",
28355 "list function in include file", "list list0.h:foo", and
28356 "list filename:function; nonexistant function".
28357 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
28358 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
28359 and "ptype t_char_array" to be for native cc only.
d63a86f8 28360
c906108c
SS
28361Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
28362
d63a86f8 28363 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 28364 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 28365 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
28366
28367Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
28368
28369 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
28370 "bt in signals.exp". This problem only appears when running
28371 the testsuite, and then only intermittently.
28372
28373Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
28374
28375 * gdb.base/return.exp (return_tests): Differentiate between
28376 two tests of continuing.
28377
28378Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
28379
28380 * */Makefile.in (maintainer-clean): Remove config.log.
28381 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
28382 * gdb.c++/Makefile.in (PROGS): Add inherit.
28383 (clean): Remove *.ci.
28384
28385Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
28386
28387 * gdb.c++/misc.cc: Add test code from Mike Stump.
28388 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
28389
28390Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
28391
28392 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
28393 to "alpha-*-osf2*" and add comment.
28394 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
28395 setup_xfail for "step over execarg initialization" and
28396 "step over corearg initialization".
c906108c
SS
28397 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
28398 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
28399 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 28400 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
28401 "print func2::coremaker_local", and "backtrace in corefile.exp".
28402 * gdb.base/signals.exp: Build and source signals.ci.
28403 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
28404 to be for gcc only.
28405 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 28406
c906108c
SS
28407Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28408
28409 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
28410 Feb 3 procfs.c change.
28411
28412Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
28413
28414 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
28415
28416Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
28417
28418 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
28419 from dejagnu's apparent default of 10 seconds, which gives random
28420 results when running the tests over NFS on moderately loaded systems.
28421 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
28422
28423Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
28424
28425 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
28426 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 28427 result reports.
c906108c
SS
28428
28429Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
28430
28431 * configure.in (CY_AC_PATH_TCLH): Remove.
28432 * configure: Regenerate.
28433
28434Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
28435
28436 * gdb.c++/Makefile.in (clean): Add missing '{'.
28437
28438Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
28439
28440 * lib/gdb.exp: Provide a default value for noinferior.
28441
28442 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
28443 Load libgloss.exp.
28444
28445Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
28446
28447 * gdb.disasm/hppa.exp: Compile directly into an executable, use
28448 the executable, not the .o to run the tests from.
28449
28450Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
28451
28452 * gdb.base/break.exp: Don't test for program exit or exit status
28453 if $noresults if nonzero.
28454 * gdb.base/langs.exp: Likewise.
28455 * gdb.base/watchpoint.exp: Likewise.
28456
28457 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
28458 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
28459 trying to compile the testcase.
28460
28461Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
28462
28463 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
28464 * gdb.base/signals.exp (continue to handler): Likewise.
28465
28466Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
28467
28468 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
28469
28470 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
28471
28472Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
28473
28474 * gdb.base/corefile.exp: Recognize "not found" as failure
28475 when trying to determine if a core file was generated.
28476 If no core file was generate the first time, try again without
28477 the ulimit -c to work around braindamaged shells.
28478
28479Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
28480
28481 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
28482 [] tests with "test" and enclose string in quotes.
28483 * gdb.stabs/configure: Rebuild
d63a86f8 28484
c906108c
SS
28485Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
28486
28487 Changes in sync with expect:
28488 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
28489 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
28490 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
28491 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
28492 argument to AC_REQUIRE.
28493 * configure: Regenerated.
28494
28495Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
28496
28497 * gdb.base/corefile.exp: When generating a core, discard any
28498 error messages about ulimit not found and the "core dumped"
28499 message from the shell that runs the coredumper.
28500
28501Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
28502
28503 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
28504
28505 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
28506 which sed script to run. Expect failure for v_comb test
28507 on PA targets too.
d63a86f8 28508
c906108c
SS
28509Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
28510
28511 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 28512 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
28513
28514Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
28515
28516 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
28517 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 28518 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
28519 * lib/gdb.exp (default_gdb_start): Fix typo.
28520 * gdb.base/corefile.exp: Allow "Core was generated by ..."
28521 messages to not include the full program name that caused
28522 the core dump since some systems (such as solaris) apparently
28523 truncate this path to about 80 characters.
28524 When generating a core file first try increasing the core file
28525 size limit to unlimited since some systems may default it to
28526 zero, and it is harmless to try it. Move the test for failing
28527 to generate a core file to where it will actually get executed.
28528 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
28529 new gdb result from g++ debug info improvements and make old
28530 pattern obsolescent. Also account for size_t differences
28531 (may be int or long).
28532 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
28533 initialization before function call is placed in the delay slot
28534 and thus appears to be skipped over by commands such as "next".
28535
28536Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
28537
28538 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
28539
28540Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
28541
28542 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
28543 input source file; fix code to compile test to deal with this
28544 convention.
28545 * gdb.c++/*.exp: Likewise.
28546
28547Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
28548
28549 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
28550 "bt in signals.exp".
28551
28552Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
28553
28554 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
28555 "step over execarg initialization" and
889bf7c5 28556 "step over corearg initialization".
c906108c
SS
28557
28558Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
28559
28560 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
28561 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
28562
28563Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
28564
28565 From Rob Savoye (rob@poseidon.cygnus.com)
28566 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
28567 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
28568 configure.in}, gdb.disasm/{Makefile.in, configure.in},
28569 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
28570 configure.in}: Major reworking for autoconfig.
c906108c
SS
28571 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
28572 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 28573 New files.
c906108c
SS
28574 * config/unix-gdb.exp: Make GDB global.
28575 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
28576 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
28577 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
28578 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
28579 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
28580 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 28581 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
28582 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
28583 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
28584 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
28585 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 28586 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
28587 to returns as necessary, arrange for test to compile own testcase
28588 executable.
c906108c 28589 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 28590
c906108c
SS
28591Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
28592
28593 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 28594 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
28595 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
28596 "backtrace through signal handler".
28597
28598Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28599
28600 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
28601 continuing from a job control stop signal.
28602 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
28603
28604Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
28605
28606 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
28607 * gdb.base/corefile.exp: Likewise.
28608 * gdb.base/funcargs.exp: Likewise.
28609
28610Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
28611
28612 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
28613 * config/monitor.exp: Add support for setting baud rate.
28614
28615Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
28616
28617 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
28618 i*86-*-linux* xfails for "backtrace through signal handler".
28619 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
28620 "print func2::coremaker_local".
28621 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 28622 alpha-dec-osf2* xfail for
c906108c
SS
28623 "delete all breakpoints when none".
28624
28625Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
28626
28627 * gdb.base/break.exp: Change test that deletes all breakpoints
28628 when no user breakpoints are installed. A post 4.15 change
28629 causes gdb to no longer prompt in this case.
28630
28631Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
28632
28633 * gdb.base/return.exp (return_tests): Change xfail for test
28634 "correct value returned double test" to stop xfailing at
28635 Solaris 2.5. Apparently the bug has been fixed.
28636
28637Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
28638
28639 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
28640 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
28641
28642Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
28643
28644 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
28645 * gdb.disasm/hppa.s: Corresponding changes.
28646
28647Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
28648
28649 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
28650 makefile fragment.
28651 * config/mt-hpux: Deleted.
28652
28653Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
28654
d63a86f8 28655 * Many files: When warning about suppressed tests due to a
c906108c
SS
28656 nonexistant test binary, avoid incrementing the warning count.
28657
28658Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
28659
28660 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 28661
c906108c
SS
28662Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28663
28664 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
28665 "sparc-*-solaris2*".
28666
28667Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28668
28669 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
28670 Add global and local variables and initialize them.
28671 * gdb.base/corefile.exp: Test correct mapping of corefile sections
28672 by printing variables. Remove rs6000 and powerpc xfails, BFD now
28673 extracts the file name and terminating signal from the core file.
28674 * TODO: Remove note about tests for correct mapping of corefile.
28675 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
28676 from optimizing it away.
28677 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
28678 handles common blocks.
28679
28680Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
28681
28682 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
28683 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
28684
28685Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
28686
28687 * Makefile.in (maintainer-clean): New target, synonym for
28688 realclean.
28689 * gdb.base/Makefile.in (maintainer-clean): Likewise.
28690 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
28691 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
28692 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
28693 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
28694 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
28695
28696Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
28697
28698 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
28699 xfails when not gcc compiled for "print foo::funclocal".
28700 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
28701 "print foo::funclocal at foo",
28702 "print 'scope1.c'::foo::funclocal at foo",
28703 "print foo::funclocal_bss at foo",
28704 "print 'scope1.c'::foo::funclocal_bss at foo",
28705 "print foo::funclocal_ro at foo",
28706 "print 'scope1.c'::foo::funclocal_ro at foo",
28707 "print bar::funclocal at foo" and
28708 "print 'scope1.c'::bar::funclocal at foo".
28709 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
28710 gcc compiled for "print foo::funclocal at bar".
28711 Expand all messages to ensure that they identify that
28712 the test is at bar().
28713 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
28714 gcc compiled for:
28715 "ptype on opaque struct pointer (statically)",
28716 "ptype on opaque struct tagname (statically)",
28717 "ptype on opaque struct pointer (dynamically) 1",
28718 "ptype on opaque struct tagname (dynamically) 1",
28719 "ptype on opaque struct pointer (dynamically) 2" and
28720 "ptype on opaque struct tagname (dynamically) 2
28721 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
28722 gcc compiled for:
28723 "p datalocal"
28724 "whatis datalocal",
28725 "ptype datalocal",
28726 "p bsslocal",
28727 "whatis bsslocal", and
28728 "ptype bsslocal".
28729 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
28730 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
28731 when not gcc compiled.
28732 * gdb.base/funcargs.exp (float_and_integral_args): Add
28733 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
28734 compiled.
28735 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
28736 "backtrace from call6a" when not gcc compiled.
28737 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
28738 "backtrace from call7a" when not gcc compiled.
28739 * gdb.base/callfuncs.exp (do_function_calls):
28740 Add "hppa*-*-hpux*" xfail when not gcc compiled for
28741 "p t_char_array_values(char_array_val2,char_array_val1)",
28742 "p t_char_array_values(char_array_val1,char_array_val2)",
28743 "p t_char_array_values("carray 1","carray 2")",
28744 "p t_char_array_values("carray 1",char_array_val2)",
28745 "p t_char_array_values(char_array_val1,"carray 2")",
28746 "p sum_args(1,{2})",
28747 "p sum_args(2,{2,3})",
28748 "p sum_args(3,{2,3,4})",
28749 "p sum_args(4,{2,3,4,5})"
28750 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
28751 "backtrace in corefile.exp" when not gcc compiled.
28752
28753Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28754
28755 * gdb.base/signals.exp: Rewrite `handle all print' test as
28756 a procedure. Accept blanks or TABs as whitespace, increase
28757 timeout and expect input buffer size for the large output
28758 from the command. Remove "i*86-*-bsdi2.0" xfail.
28759
28760Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28761
28762 * gdb.base/setvar.exp: Add new testcases for truncation when
28763 assigning invalid values to bitfields.
28764
28765Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
28766
d63a86f8 28767 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
28768 mips-sgi-irix* xfail for
28769 "call inferior func with struct - returns char *"
28770 and fix test so that an optional (unsigned char *) cast is
889bf7c5 28771 accepted in the result.
c906108c
SS
28772
28773Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
28774
28775 * gdb.base/funcargs.exp (float_and_integral_args): Remove
28776 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
28777 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
28778 * gdb.base/signals.exp: Remove duplicate "handle all print" test
28779 that accidentally got checked in.
28780
28781Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
28782
d63a86f8 28783 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
28784 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
28785 compiled test.
28786 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
28787 Add mips-sgi-irix5* xfail for not gcc compiled.
28788 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6fdff2c5
PA
28789 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
28790 compiled for "p top", "whatis top", "p middle", and "whatis
28791 middle".
c906108c
SS
28792 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
28793 "whatis signed char" for not gcc compiled.
28794 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
28795 "set variable signed char=-1 (-1)" and
28796 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
28797 * gdb.base/funcargs.exp (float_and_integral_args):
28798 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
28799 Add mips-sgi-irix* xfail when not gcc compiled for
28800 "continue to call2b".
28801 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
28802 "continue to call2g".
6fdff2c5
PA
28803 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
28804 compiled for "backtrace from call6a"
28805 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
28806 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
28807 when not gcc compiled for "backtrace from call7a".
c906108c
SS
28808 (localvars_after_alloca): Fix gdb_test cmds for
28809 "print * after runto ...".
28810 Remove rs6000-*-* xfails for
28811 "print i after runto localvars_after_alloca" and
28812 "print l after runto localvars_after_alloca"
28813 for all compilers.
28814 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 28815 when not compiled with gcc, for:
c906108c
SS
28816 "print signed char == (minus)",
28817 "print signed char != (minus)",
28818 "print signed char < (minus)",
28819 "print signed char > (minus)".
28820 * gdb.base/callfuncs.exp (do_function_calls):
28821 Add mips-sgi-irix* xfail, when compiled with native compiler, for
28822 "call inferior func with struct - returns char *".
d63a86f8 28823 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
28824 "correct value returned double test" to include Solaris 2.4.
28825 * gdb.base/funcargs.exp (float_and_integral_args):
28826 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 28827
c906108c
SS
28828Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28829
28830 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
28831 enumeration bitfields if compiling with GNU C.
28832 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
28833 to empty' prompt.
28834
28835Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
28836
28837 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
28838 test for PRO targets.
28839
28840 * gdb.base/funcargs.exp: Avoid ever setting more than 8
28841 breakpoints in the inferior at any given time by making
28842 two groups of breakpoints for call2*, call6* and call7*
28843 tests.
28844
28845Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28846
28847 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
28848 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
28849 from optimizing it away.
28850 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
28851 "call inferior func with struct".
28852
28853Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
28854
28855 * configure.in: Only configure gdb.chill for particular targets.
28856
28857Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
28858
28859 * gdb.base/Makefile.in: Add action to .c.o transformation
28860 rule that generates a .ci file for each .o file and remove
28861 explicit .c.o rules except for callfuncs.o.
28862 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
28863 generates a .ci file for each .o file and remove explicit
28864 .cc.o rules.
28865 (clean): Remove *.tmp *.ci files.
28866 (EXECUTABLES): Remove templ-info.exp.
28867 * gdb.base/compiler.c: New file.
28868 * gdb.c++/compiler.cc: New file
28869 * gdb.base/scope.exp: Source gdb.base/scope.ci.
28870 Change rs6000-*-* xfail for
28871 "print 'scope0.c'::filelocal_ro" and
28872 "print 'scope1.c'::filelocal" and
28873 "print 'scope1.c'::filelocal_bss" and
28874 "print 'scope1.c'::filelocal_ro" and
28875 "print 'scope1.c'::foo::funclocal" and
28876 "print 'scope1.c'::foo::funclocal_ro" and
28877 "print 'scope1.c'::bar::funclocal" and
28878 "print 'scope0.c'::filelocal_ro" and
28879 "print 'scope1.c'::filelocal at foo" and
28880 "print 'scope1.c'::filelocal_bss at foo" and
28881 "print 'scope1.c'::filelocal_ro at foo" and
28882 "print 'scope1.c'::foo::funclocal at foo" and
28883 "print 'scope1.c'::foo::funclocal_bss at foo" and
28884 "print 'scope1.c'::foo::funclocal_ro at foo" and
28885 "print 'scope1.c'::bar::funclocal at foo" and
28886 "print 'scope0.c'::filelocal_ro" and
28887 "print 'scope1.c'::filelocal" and
28888 "print 'scope1.c'::filelocal_bss" and
28889 "print 'scope1.c'::filelocal_ro" and
28890 "print 'scope1.c'::foo::funclocal" and
28891 "print 'scope1.c'::foo::funclocal_bss" and
28892 "print 'scope1.c'::foo::funclocal_ro" and
28893 "print 'scope1.c'::bar::funclocal" and
28894 "print 'scope1.c'::bar::funclocal_bss"
28895 to only be xfail'd when not compiled with gcc.
d63a86f8 28896 Add rs6000-*-* xfail for
c906108c
SS
28897 "print 'scope0.c'::filelocal_bss before run"
28898 when compiled with gcc.
28899 (test_at_main): Add rs6000-*-* xfail for
28900 "print filelocal_ro in test_at_main"
28901 when compiled with gcc.
28902 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 28903 Add rs6000-*-aix* xfail for
c906108c
SS
28904 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
28905 "ptype t_char_array", not compiled with gcc.
28906 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
28907 xfail for "list foo (in include file)" when gcc compiled.
28908 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 28909 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
28910 "run to call0a" if not compiled with gcc.
28911 (unsigned_integral_args): Add rs6000-*-* xfail for
28912 "run to call1a" if not compiled with gcc.
28913 (float_and_integral_args): Add rs6000-*-* xfail for
28914 "run to call2a" if not compiled with gcc and for
28915 "continue to call2b" for any compiler.
28916 Add rs6000-*-* xfail to
28917 "print f1 after run to call2a" for gcc compiled.
28918 (discard_and_shuffle): Add rs6000-*-* xfail for
28919 "run to call6a".
28920 (shuffle_round_robin): Add rs6000-*-* xfail for
28921 "backtrace from call7a" if not compiled with gcc.
28922 Add rs6000-*-* xfail for
28923 "backtrace from call7b" if compiled with gcc.
28924 (call_after_alloca): Add rs6000-*-* xfail for
28925 "print c in call_after_alloca" and
28926 "print s in call_after_alloca" and
28927 "backtrace from call_after_alloca_subr"
28928 if not compiled with gcc.
28929 (localvars_in_indirect_call): Add rs6000-*-* xfail for
28930 "print c in localvars_in_indirect_call" and
28931 "print c in localvars_in_indirect_call" and
28932 "backtrace in indirectly called function" and
28933 "stepping into indirectly called function"
28934 if not compiled with gcc.
28935 (localvars_after_alloca): Add rs6000-*-* xfail for
28936 "print c after runto localvars_after_alloca" and
28937 "print s after runto localvars_after_alloca" and
28938 "print i after runto localvars_after_alloca" and
28939 "print l after runto localvars_after_alloca"
28940 for all compilers.
28941 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
28942 than whatis-info.exp.
28943 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
28944 than opaque-info.exp.
28945 Setup rs6000-*-* xfail for
d63a86f8 28946 "ptype on opaque struct pointer (statically)" and
c906108c
SS
28947 "ptype on opaque struct pointer (dynamically)" when
28948 not compiled with gcc.
28949 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
28950 rather than callf-info.exp.
28951 (do_function_calls): Add clear_xfail for rs6000-*-* for
28952 "p t_float_values2(3.14159,float_val2)". Seems to work
28953 fine there, both with xlc and gcc. Need to find out what
28954 it is doing right and fix other platforms.
28955 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
28956 "call inferior func with struct - returns int",
28957 "call inferior func with struct - returns long",
28958 "call inferior func with struct - returns float",
28959 "call inferior func with struct - returns double",
28960 "call inferior func with struct - returns char *",
28961 but only if not gcc compiled (presumes xlc compiled).
28962 Change rs6000-*-* xfails for
28963 "call inferior func with struct - returns char" and
28964 " call inferior func with struct - returns short" to only
28965 xfail if not using gcc.
28966 (clean mostlyclean): Remove *.ci and *.tmp files.
28967 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
28968 than templ-info.exp.
28969 * gdb.base/langs.exp: Source gdb.base/langs.ci.
28970 Add rs6000-*-* xfail for "up to foo in langs.exp"
28971 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 28972 when not gcc compiled.
d63a86f8 28973
c906108c
SS
28974Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
28975
28976 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
28977 * gdb.base/corefile.exp: Likewise.
28978 * gdb.base/list.exp: Likewise.
28979 * gdb.base/scope.exp: Likewise.
28980 * gdb.base/siganls.exp: Likewise.
28981
28982 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
28983 compiler output.
28984 * gdb.base/whatis.exp: Likewise.
28985
28986Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
28987
28988 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
28989 failure (opcode table has been fixed to match reality).
28990
28991Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
28992
28993 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
28994 "call inferior func with struct - returns char",
28995 "call inferior func with struct - returns short"
28996
28997 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
28998 "print 'scope0.c'::filelocal at main",
28999 "print 'scope0.c'::filelocal_bss in test_at_main",
29000 "print 'scope0.c'::filelocal at foo",
29001 "print 'scope0.c'::filelocal_bss in test_at_foo",
29002 "print 'scope0.c'::filelocal at bar",
29003 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 29004
c906108c
SS
29005 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
29006 in source file 1". This bug seems to have been fixed with both
29007 gcc and native cc (was native assembler bug?).
29008
29009Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
29010
29011 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
29012 "backtrace through signal handler" to "i*86-*-sysv4*".
29013 * gdb.base/signals.exp: Add xfail for "'next' behaved as
29014 continue" case. Add "known SVR4 bug" to fail message.
29015 Add "i*86-*-bsdi2.0" xfail for "handle all print".
29016 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
29017 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
29018 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
29019 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
29020 "up to foo in langs.exp", "show language at foo in
29021 langs.exp", "up to cppsub_ in langs.exp", "show
29022 language at cppsub_ in langs.exp", "up to fsub in
29023 langs.exp", and "show language at fsub in langs.exp".
29024 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
29025 "bactrace in corefile.exp".
29026 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
29027 "call inferior function with struct - returns float" and
29028 "call inferior function with struct - returns double".
d63a86f8 29029
c906108c
SS
29030Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
29031
29032 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
29033 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
29034 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
29035 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
29036
29037Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
29038
29039 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
29040 (or overriden) "CHILL" macro rather then bare "gcc".
29041 Also look for ../../gcc/xgcc since that is what we will
29042 actually need, not "Makefile". Remove following assignment
29043 of CHILL to CHILL_FOR_TARGET because that results in
29044 recursive definition.
29045
29046Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
29047
29048 * gdb.base/corefile.exp: Change xfail for backtrace in
29049 corefile.exp from linuxaout to all linux.
29050 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
29051 cases where we miss the breakpoint at the signal handler
29052 for some reason. Setup xfail for linuxoldld/linuxaout and
29053 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
29054 hitting SIGURG breakpoint.
29055 * gdb.base/signals.exp: Setup xfail for "next" acting like
29056 continue to add linuxoldld. Setup xfail for all linux for
29057 "next to handler in signals_tests_1", "backtrace in
29058 signals_tests_1", "continue to func1", "pass SIGUSR1",
29059 and continue to handler".
29060
29061Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
29062
29063 * Update all FSF addresses except those in COPYING* files.
29064
29065Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
29066
29067 * gdb.base/a2-run.exp: Change messages to be more explicit about
29068 the status of args, and quote binfile in results.
29069
29070Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
29071
29072 * gdb.base/callfuncs.exp: Add tests for passing structs to
29073 inferior functions and return various types.
29074 * gdb.base/callfuncs.c: Add functions to receive a struct
29075 and return a member of the struct, in various types.
29076
29077Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29078
29079 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
29080
29081Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
29082
29083 * config/vxworks29k.exp: New file, sources vxworks.exp.
29084
29085Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29086
29087 * config/gdbremote.exp: New file. Testing framework using
29088 gdbserver.
29089
29090Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
29091
29092 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
29093 "call function when asleep" and "send end of file".
29094 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
29095 for "backtrace in corefile.exp".
29096 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
29097 for "backtrace through signal handler".
29098 * gdb.base/corefile.exp: Make sure we actually generate a core file
29099 before trying the core tests. Some systems allow the user to suppress
29100 generation of core files and default to that (linux for example).
29101 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
29102 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
29103
29104Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29105
29106 * gdb.threads: New directory with some crude multi-threaded
29107 gdb tests (step.exp and step2.exp).
29108 * config/mt-lynx (STEP_EXECUTABLE): Define.
29109 (THREADFLAGS): Define.
29110
29111Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
29112
29113 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
29114
29115 * gdb.base/signals.exp: Disable whole file for lynx until
29116 further notice.
29117
29118 * gdb.base/signals.exp: xfail test where "next" acts like
29119 "continue" for lynx.
29120
29121 * gdb.base/interrupt.exp: xfail test for calling function while
29122 inferior is asleep for lynx.
29123
29124 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
29125 than one cr-lf after each command.
29126
29127Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29128
29129 * configure.in: Reinstate setting of stabsdirs variable, fix
29130 typo in setting up configdirs for native builds.
29131
29132 * gdb.base/return.exp: Fix typo in return double test.
29133 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
29134 compiler from optimizing them away.
29135
29136Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
29137
29138 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
29139 sequences to be echo'd by gdb when using gdb_test.
29140 * gdb.chill/chexp.exp: Likewise.
29141 * gdb.fortran/exprs.exp: Likewise
29142
29143Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29144
29145 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
29146 after the inferior gdb has started.
29147
29148 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
29149 after each command.
29150 * gdb.base/funcargs.exp: Likewise.
29151 * gdb.base/gdbvars.exp: Likewise.
29152 * gdb.base/interrupt.exp: Likewise.
29153 * gdb.base/list.exp: Likewise.
29154 * gdb.base/watchpoint.exp: Likewise.
29155 * gdb.c++/demangle.exp: Likewise.
29156 * gdb.c++/inherit.exp: Likewise.
29157 * gdb.chill/chexp.exp: Likewise.
29158 * gdb.fortran/exprs.exp: Likewise.
29159
29160 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
29161 test if we can't handle IO to/from the inferior.
29162
29163 * gdb.c++/misc.exp: Always check for a program already being
29164 started after sending a "run" command to gdb.
29165
29166 * gdb.base/twice.exp: Start with a fresh gdb.
29167
29168 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
29169 only depend on gdb's expression code, not the chill runtime.
29170
29171 * gdb.base/return.c: Put return values into variables so we
29172 can have gdb print them rather than depending on the program
29173 to print them.
29174 * gdb.base/return.exp: Corresponding changes.
29175
29176 * lib/gdb.exp: Provide default value for noinferiorio.
29177 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
29178 the inferior.
29179
29180 * gdb.base/break.exp: Always check for a program already being
29181 started after sending a "run" command to gdb.
29182 (text_next_with_recursion): Don't check the output from the
29183 program's printf statement. Instead just make sure the program
29184 exited.
29185
29186 * gdb.base/commands.exp: Protect tests which need arguments with
29187 $noargs conditionals.
29188
29189Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29190
29191 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
29192 of structure member arrays to match gdb/valops.c:value_addr change.
29193
29194Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
29195
29196 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
29197 cases.
29198
29199Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
29200
29201 * configure.in (configdirs): Remove gdb.chill from default list
29202 of subdirs and then add it back in only if doing a native build.
29203 The current chill compiler does not yet work in any cross build.
29204 * Revert all signal changes from Jul 6.
29205 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
29206 for sh-hms targets, allowing these tests to link, with no other
29207 changes. Testing is suppressed by setting "nosignals" in site.exp.
29208
29209Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
29210
29211 * configure.in (signaldirs): Define and add to configdirs for all
29212 targets except some specific ones that are known to not support signals.
29213 Also clean up formatting.
29214 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
29215 (signals, sigall): Remove rules to build.
29216 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
29217 Moved to new gdb.signals directory.
29218 * gdb.signals: New test directory.
29219 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
29220 signals.c signals.exp}: New or moved files.
29221
29222Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
29223
29224 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
29225
29226Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
29227
29228 * gdb.base/return.exp: Xfail `return double' test failure
29229 on at least Solaris 2.3 and handle future/past versions on
29230 a case by case basis as appropriate. Also update message
29231 to include i*86 failures.
29232
29233Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29234
29235 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
29236
29237 * lib/gdb.exp: Fix comment which erroneously identified
29238 gdb_file_cmd as gdb_load (the 19 May change was in fact to
29239 gdb_file_cmd not gdb_load).
29240 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
29241
29242 * gdb.base/setvar.exp: Make test names consistent between pass and
29243 fail cases. Use gdb_test more.
29244
29245Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29246
29247 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
29248
29249Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29250
29251 * gdb.base/help.exp: Fix expected help string for `show commands'.
29252
29253Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
29254
29255 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
29256
29257 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
29258 of a text section.
29259
29260Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
29261
29262 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
29263 that loop eventually terminates. Fix Connection refused logic so
29264 that testsuite will expire nicely.
29265
29266Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
29267
29268 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
29269 config/rom68k.exp: New tcl glue for the appropriate monitors.
29270 These all just end up calling monitor.exp.
29271 * config/monitor.exp (gdb_target_monitor): Handle `Connection
29272 refused' by retrying. Cleanup some timeout issues.
29273 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
29274 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
29275 callers don't have to set/restore global timeout variable.
29276
29277 * The following set of changes centralizes management of the global
29278 timeout variable. This way, it can be set in one target dependent
29279 place instead of dozens of places scattered throughout the test suite.
29280 If you need to lengthen a timeout, then you should either set timeout
29281 in one of the config/{target}.exp files, or multiply it by a factor.
29282 Setting it to an absolute value is always going to lose for some
29283 targets.
29284 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
29285 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
29286 * gdb.base/funcargs.exp: Don't set timeout.
29287 * gdb.base/list.exp (test_forward_search): Only use local timeout.
29288 * gdb.base/printcmds.exp (test_print_string_constants
29289 test_print_array_constants): Don't set timeout.
29290 * gdb.base/ptype.exp: Don't set timeout.
29291 * gdb.base/recurse.exp: Don't set timeout.
29292 * gdb.base/return.exp: Don't set timeout.
29293 * gdb.base/watchpoint.exp: Don't set timeout.
29294 * gdb.c++/classes.exp (do_tests): Don't set timeout.
29295 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
29296
29297Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
29298
29299 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
29300
29301Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29302
29303 * lib/gdb.exp: Disable chill tests for irix5.
29304
29305Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29306
29307 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
29308 each test pass or fail.
29309
29310Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29311
29312 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
29313 xlc not gcc.
29314
29315Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
29316
29317 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
29318
29319Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
29320
29321 * config/est.exp: Fix copyright and comments. Remove dead code.
29322 Use targetname, serialport and baud variables instead of fixed
29323 constants.
29324 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
29325 * config/cpu32bug.exp: New file to support cpu32bug monitors.
29326
29327Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29328
29329 * gdb.base/watchpoint.exp: Don't run
29330 test_watchpoint_triggered_in_syscall for sunos.
29331
29332Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29333
29334 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
29335 they don't seem to exist. Do include stdio.h.
29336
29337Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29338
29339 * gdb.base/a1-selftest.exp: Add alpha xfail.
29340
29341Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29342
29343 * gdb.base/watchpoint.c (main): Prompt before calling read().
29344 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
29345 Revise accordingly. Remove cruft about sending "123" several
29346 times, until it gets noticed. Clean up the "print buf[0]" stuff
29347 so that it passes or fails, and waits for prompts in the usual way.
29348
29349Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29350
29351 * gdb.base/recurse.exp: Fix comment.
29352
29353 * TODO: Remove item about printing variables in nodebug.exp. Add
29354 item about enabling tests which are only run on some targets.
29355
29356 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
29357 fail, make test names unique, use new gdb_test convention
29358 regarding pattern, use gdb_test more, etc.).
29359
29360 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
29361 fail, make test names unique, etc.).
29362
29363Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29364
29365 * gdb.base/nodebug.c: Change return type of top and middle to
29366 short.
29367 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
29368 are fixed by the recent mdebugread.c changes. Allow `short ()'
29369 as type for top and middle.
29370
29371Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29372
29373 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
29374 nearly as I can tell, the whole thing was an accident in Stu's
29375 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
29376 to replace a send/expect pair with gdb_test, but ended up only
29377 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
29378 of 30 Mar 1995 took care of it, but left this vestigial comment
29379 which I am now nuking.
29380
29381Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29382
29383 * gdb.base/break.exp: Look for different line number for
29384 breakpoint at main depending on usestubs.
29385
29386Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29387
29388 * gdb.base/list.exp: Adjust some alternate expect patterns to
29389 match recent list0.c change. Add alternate expect pattern for
29390 output from `list default lines around main' for optimizing
29391 compilers.
29392
29393Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29394
29395 * lib/gdb.exp: If nosignals is not set, set it to 0.
29396
29397Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
29398
29399 * config/slite-gdb.exp: Responds to load symbol table prompt.
29400 * gdb.base/break.exp: Adjust line number, fix rerun.
29401 * gdb.base/langs0.c: Add #ifdef usestubs.
29402
29403Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
29404
29405 * gdb.base/list.exp: Adjust line contents after adding new lines in
29406 list0.c. Also fix a syntax error.
29407
29408 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
29409 * gdb.base/break.exp: ditto.
29410 * gdb.base/list.exp: ditto.
29411 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
29412 * gdb.base/run.c: ditto.
29413 * gdb.base/list0.c: ditto.
29414 * gdb.base/funcargs.c: ditto.
29415
29416Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
29417
29418 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
29419 $targetname, $serialport and $baud instead of hardwired variables.
29420 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
29421 target doesn't support signals.
29422
29423Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
29424
29425 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
29426
29427Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29428
29429 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
29430 Don't rely on the value of an auto variable before it has been
29431 initialized. Use gdb_test more.
29432
29433Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29434
29435 * lib/gdb.exp (default_gdb_version): A version number must start
29436 with a digit, but other than that contains all characters up to
29437 the first whitespace character.
29438
29439Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29440
29441 * gdb.base/commands.exp (breakpoint_command_test): New tests.
29442
29443Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29444
29445 * gdb.c++/*.exp: Warn if executable does not exist. The original
29446 reason for skipping the warning was that configure.in sometimes
29447 intentionally skipped building the executables but the tcl code
29448 had no way of knowing. That (a) was always bogus with respect to
29449 error handling, (b) is no longer true (right now there is no way
29450 to skip C++ tests).
29451
29452 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
29453
29454Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29455
29456 * gdb.base/list.exp: Add expect patterns for output from
29457 SunPRO compiled executables.
29458 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
29459 types.
29460
29461Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29462
29463 * gdb.base/break.exp (test_next_with_recursion): Accept any line
29464 number (we are already testing that the correct source line text
29465 gets printed).
29466
29467 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
29468 that is what is intended, but something needed to be done to get
29469 sunos4 native working again.
29470
29471 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
29472
29473 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
29474 apparently went with a (very) old xfail.
29475
29476Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
29477
29478 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
29479 runto_main is a proc in gdb.exp that will do 'step' for target use
29480 stubs.
29481 * gdb.base/exprs.exp: ditto.
29482 * gdb.base/interrupt.exp: ditto.
29483 * gdb.base/opaque.exp: ditto.
29484 * gdb.base/printcmds.exp: ditto.
29485 * gdb.base/ptype.exp: ditto.
29486 * gdb.base/scope.exp: ditto.
29487 * gdb.base/setvar.exp: ditto.
29488 * gdb.base/signals.exp: ditto.
29489 * gdb.base/twice.exp: ditto.
29490 * gdb.c++/classes.exp: ditto.
29491 * gdb.c++/inherit.exp: ditto.
29492 * gdb.c++/templates.exp: ditto.
29493 * gdb.base/break.exp: no run and hit main for stubs. Change line
29494 numbers for breakpoints and info breakpoint.
29495 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
29496 breakpoint().
29497 * gdb.base/callfuncs.c: ditto.
29498 * gdb.base/exprs: ditto.
29499 * gdb.base/interrupt.c: ditto.
29500 * gdb.base/opaque0.c: ditto.
29501 * gdb.base/printcmds.c: ditto.
29502 * gdb.base/ptype.c: ditto.
29503 * gdb.base/scope0.c: ditto.
29504 * gdb.base/setvar.c: ditto.
29505 * gdb.base/signals.c: ditto.
29506 * gdb.base/twice.c: ditto.
29507 * gdb.c++/misc.cc: ditto.
29508 * gdb.c++/templates.cc: ditto.
29509
29510Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29511
29512 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
29513
29514 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
29515 somewhere between `read' and `main.c'. I'm pretty sure the
29516 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
29517 and it isn't particularly useful.
29518
29519 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
29520
29521Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29522
29523 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
29524
29525Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
29526
29527 * config/mt-slite: add LIBS and -nostdlib.
29528 * config/slite-gdb.exp: add this new file to support sparclite target.
29529
29530Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
29531
29532 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
29533
29534 * gdb.base/a2-run.exp: Change argument to istarget from
29535 "*-*-vxworks" to "*-*-vxworks*".
29536 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
29537
29538Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
29539
29540 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
29541 will not runto main but do a 'step' to step out of breakpoint().
29542 * config/mt-slite: add -Dusestubs.
29543
29544Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29545
29546 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
29547 instead of just @.
29548
29549 * gdb.base/signals.exp: Add test for "handle all print".
29550 * TODO: Remove "handle all print". Also remove item about
29551 checking copyright date (I don't like the idea of a spurious FAIL
29552 based on when we run the tests).
29553
29554 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
29555 for SunOS4 (reason for failure not investigated). Remove
29556 redundant test for $binfile.
29557
29558 * gdb.base/nodebug.c (array_index): Call malloc.
29559
29560 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
29561
29562Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
29563
29564 * gdb.base/recurse.exp: Update gdb_test invocation to use new
29565 conventions and slightly simplify the matching regexp.
29566
29567Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29568
29569 * gdb.base/break.exp: Update gdb_test invocation to use new
29570 convention.
29571
29572 * lib/gdb.exp: If noargs is not set, set it to 0.
29573
29574 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
29575 tests unique.
29576
29577 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
29578
29579Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29580
29581 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
29582 one argument of type "<non-float parameter>".
29583
29584Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
29585
29586 * config/rom68k.exp: New file to support Motorola IDP board.
29587 * gdb.base/a2-run.exp: Skip this file if noargs is set.
29588 * gdb.base/break.c: Change things around so that this program
29589 doesn't depend upon args. This is necessary to make remote
29590 targets work (in general, they can't take args).
29591 * gdb.base/break.exp: Don't try to send args to program. Don't
29592 expect output. Also, replace lots of code with gdb_test.
29593
29594Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29595
29596 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
29597 printing of '\'' (which is what the comment says we are testing,
29598 even though we were not), not '''.
29599 (test_integer_literals_rejected): Test that printing ''' is an error.
29600
29601 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
29602 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
29603 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
29604 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
29605 Use gdb_test not test_print_accept.
29606 * lib/gdb.exp: Remove test_print_accept.
29607
29608 * gdb.base/signals.exp (signal_tests_1): Make pass message
29609 consistent with fail message.
29610
29611 * gdb.base/whatis.exp: Remove xfails for printing char vs.
29612 unsigned char; the bug (PR 1821) is fixed.
29613
29614 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
29615
29616 * gdb.base/scope.exp (test_at_localscopes): Call pass for
29617 successful tests--makes xfailing them work right.
29618
29619Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29620
29621 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
29622 only \r\n, not .*. The test can pass .* as the last thing in
29623 $pattern if that is what it wants. In addition to providing this
29624 flexibility, this change should speed up pattern matching in cases
29625 where the pattern already ended with .* (there were a number of
29626 them). This change also helps catch bad patterns--in the old
29627 scheme the typo "char \*" instead of "char \\*" would pass. Now
29628 it is caught.
29629 * Many .exp files: Update callers.
29630
29631 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
29632 clearer and does not spuriously match multiple ('s. Likewise for
29633 ) and *.
29634
29635 * gdb.base/nodebug.exp: Test ability to call a function and pass
29636 it a string (even with no debugging info).
29637
29638 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
29639 "p '\'", which is the same as "p ''" once tcl gets done with
29640 quoting, to "p '\\'", which I suspect is what is intended (one
29641 backslash gets sent to GDB).
29642
29643 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
29644
29645Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29646
29647 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
29648 1817) was fixed literally years ago.
29649
29650Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29651
29652 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
29653 test, it causes stepping out of call_after_alloca_subr with
29654 optimizing compilers.
29655 (localvars_in_indirect_call): Consume GDB prompt if `finish'
29656 fails.
29657
29658 * gdb.c++/templates.exp: Source templ-info.exp only if
29659 the templates executable exists.
29660
29661 * gdb.c++/misc.cc (class Contains_static_instance,
29662 class Contains_nested_static_instance),
29663 gdb.c++/classes.exp (test_static_members): Test printing of
29664 a class that contains a static instance of the class.
29665
29666Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29667
29668 * gdb.base/langs2.c (cppsub_): Don't prototype.
29669 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
29670 only, I believe).
29671
29672Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29673
29674 * lib/gdb.exp (skip_chill_tests): New procedure.
29675
29676 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
29677
29678Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
29679
29680 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
29681 each expect pattern. Cuts runtime from 12 to about 4 seconds.
29682
29683Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29684
29685 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
29686
29687 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
29688 disassemble 8, not 16, instructions for part 4.
29689
29690 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
29691 support the latter anymore.
29692
29693 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
29694 -DNO_PROTOTYPES.
29695 * gdb.base/callfuncs.c: Control use of prototypes based on
29696 NO_PROTOTYPES, not __STDC__.
29697 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
29698 t_float_values2 tests if prototypes in use.
29699
29700 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
29701 t_double_values): When checking differences against DELTA, check
29702 that difference is within the range (-DELTA,DELTA), not just
29703 (-infinity,DELTA).
29704
29705Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
29706
29707 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
29708 'file' command firts, then 'target', then 'load', this is due to gdb
29709 target set up.
29710 * config/mips-gdb.exp: Fix a couple regular exp bugs.
29711
29712Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
29713
29714 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
29715 FP load/store variants.
29716 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
29717
29718Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
29719
29720 * gdb.base/term.exp: Do not give a warning if not native, it is
29721 not an abnormal condition.
29722
29723Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
29724
29725 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
29726 t_char_array".
29727
29728Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
29729
29730 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
29731 are getting the version number.
29732
29733 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
29734 if not native, it is not an abnormal condition.
29735
29736Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29737
29738 * lib/gdb.exp: Just use "file exists", rather than undocumented
29739 dejagnu procedure "findfile".
29740
29741Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
29742
29743 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
29744 (LDFLAGS): Set to -Xlinker -Ur.
29745
29746 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
29747 Removed, these values are set by lib/gdb.exp.
29748
29749 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
29750
29751Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
29752
29753 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
29754 of replicating gdb startup code.
29755
29756 * config/mt-vxworks (LDFLAGS): Set to -r.
29757 (CFLAGS_FOR_TARGET): Removed.
29758
29759 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
29760 (gdb) and gdb for vxworks uses (vxgdb).
29761
29762 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
29763 executable is not in the tree and host != target, use sed and
29764 program_transform_name to determine the gdb name used by the
29765 target.
29766
29767 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
29768 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
29769
29770Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29771
29772 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
29773 floats, chars, and shorts where there are ANSI-style function
29774 definitions.
29775
29776 * gdb.base/langs.exp, gdb.base/langs*: New test.
29777 * gdb.base/Makefile.in: Build it.
29778 * TODO: Remove item about checking that C names don't get C++
29779 demangling applied; this test tests it.
29780
29781Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29782
29783 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
29784 went with the const70 xfail. The xfail went away a year ago.
29785
29786 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
29787
29788 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
29789 for hp300.
29790
29791 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
29792
29793 * gdb.base/a1-selftest.exp: Don't run on hp300.
29794
29795Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29796
29797 * Makefile.in (site.exp): Set host_alias and target_alias as well
29798 as host_triplet and target_triplet.
29799
29800Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29801
29802 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
29803
29804 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
29805 places as other ecoff systems).
29806
29807 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
29808 ultrix.
29809
29810Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29811
29812 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
29813 remove them.
29814 * gdb.base/nodebug.exp: Accept "function" in addition to "text
29815 variable and "variable" in addition to "data variable".
29816 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
29817
29818 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
29819 2.
29820 * gdb.base/list1.c (long_line): Add additional statement at start
29821 of function.
29822 * gdb.base/list.exp (test_forward_search): Update line number to
29823 reflect new statement.
29824
29825Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29826
29827 * gdb.base/signals.exp: Reinitialize searched source directories
29828 after gdb_start call.
29829
29830Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
29831
29832 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
29833 * gdb.stabs/Makefile.in: Likewise.
29834
29835 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
29836 change. Instead split the tests into smaller pieces.
29837 * gdb.disasm/hppa.s: Corresponding changes.
29838
29839Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29840
29841 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
29842 Quote ^C when passing it to stty. For some shells ^ is a pipe.
29843
29844 * gdb.base/funcargs.exp: Modify many tests so that every test
29845 either passes or fails. Make some test names unique.
29846
29847Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29848
29849 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
29850 Call stty to set interrupt character.
29851
29852 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
29853 for HP assembler versus GNU assembler based on actual behavior of
29854 $(CC), rather than assuming that $(AS) is always the GNU assembler.
29855
29856 * TODO: Suggest a few more stepping tests.
29857
29858Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
29859
29860 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
29861 restart GDB for h8300 after a continue.
29862 (return): Add pattern to match a29k-udi behavior.
29863 * gdb.base/nodebug.exp: Remove obsolete comment.
29864 * gdb.base/regs.exp: New file, testing of register displays.
29865 * gdb.base/return.exp: Fix typo in reference to $objdir.
29866 * gdb.base/whatis.exp: Always start with a fresh GDB.
29867
29868Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29869
29870 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
29871 higher, these tests generate a lot of output.
29872
29873Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29874
29875 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
29876 code following the catch silently ignored some errors; without the
29877 catch they should be thrown like any other tcl error. Also, the
29878 catch used "" instead of {} which meant all the callers who wanted
29879 to include one of the characters "[]$ had to quote it an extra time.
29880 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
29881 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
29882 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
29883 Remove extra quoting.
29884
29885Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
29886
29887 * gdb.base/commands.exp: Make test names unique; every test either
29888 passes or fails. Update some comments.
29889
29890 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
29891
29892Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29893
29894 The following fixes a FAIL caused by the fact that the alpha stabs
29895 configuration didn't use the ".if alpha" code in weird.def.
29896 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
29897 bit pointer, so the 32 bit version works even on the alpha.
29898 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
29899 Remove the stuff which allowed us to have separate versions for
29900 alpha and everything else.
29901
29902 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
29903 regexp which "info func operator\[\](" is supposed to match. Fix
29904 string to send to GDB. Note that GDB still doesn't work right. Add a
29905 new test for "info func .perator\[\](" which GDB does handle correctly.
29906
29907 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
29908
29909Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29910
29911 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
29912 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
29913 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
29914 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
29915 it makes the tests harder to understand and confuses test-o-matic.
29916 The preferred style is that each test provides a PASS or a FAIL,
29917 and has a unique message (e.g. "continue #54" not just "continue")
29918 which is the same for the pass and the fail.
29919 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
29920 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
29921 to lib/gdb.exp.
29922 * gdb.base/printcmds.exp: Use test_print_accept. Remove
29923 prt_accept which was basically the same thing. Likewise for
29924 test_print_reject and prt_reject.
29925 * lib/gdb.exp (test_print_reject): Add some more error message
29926 patterns to match from the former printcmds.exp (prt_reject).
29927 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
29928 One defect of the passcount stuff is that some of it failed to
29929 report XPASS where appropriate.
29930 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
29931 stuff before and after arg in expected pattern.
29932 (test_paddr_operator_functions): Re-do test without print_addr_of;
29933 this is the only test which seems to want extra stuff there.
29934
29935Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29936
29937 * gdb.base/nodebug.exp: Update new tests to reflect improved
29938 wording of gdb output.
29939
29940 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
29941 and "ptype" work on variables in files compiled without -g.
29942 Replaces commented out "maint print msymbol" tests.
29943
29944Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29945
29946 * gdb.base/setvar.c (dummy): Call malloc.
29947
29948 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
29949 losing with the irix4 sed.
29950
29951 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
29952 ALRM" on irix4.
29953
29954Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29955
29956 * TODO: Remove items about corefile.exp testing new exec-file and
29957 backtrace; both are now done. Add items about printing enums.
29958
29959Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29960
29961 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
29962 "get signal $thissig" test fails.
29963
29964 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
29965
29966Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29967
29968 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
29969 compiler warning with dec alpha compiler.
29970
29971 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
29972 extra \n from gdb_test call (this explains why the prompt test
29973 that I removed yesterday was there).
29974 (user_defined_command_test): Remove extra \n and prompt test.
29975
29976 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
29977 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
29978 doesn't exist.
29979 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
29980 Also remove alpha workaround, which turns out to be because
29981 SIGABRT == SIGLOST.
29982
29983 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
29984
29985 * gdb.base/help.exp: Don't test "help show".
29986
29987Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29988
29989 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
29990 "set print address" is on.
29991 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
29992 pass prompt to gdb_test; gdb_test already looks for the prompt.
29993
29994 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
29995
29996 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
29997 was a vestige of the manual TESTSTRATEGY, and the purpose of it
29998 was to make sure that gdb can read a core file. But (a) the "read
29999 the corefile" part didn't make it to a1-selftest.exp, we just
30000 delete the corefile after creating it, and (b) we test reading
30001 corefiles in corefile.exp anyway. Also, this test left around a
30002 xgdb process on Solaris.
30003
30004 * gdb.base/corefile.exp: Also test backtrace.
30005
30006Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
30007
30008 * gdb.base/commands.exp: Test a simple user defined command with
30009 arguments and if/while statements; verify the full user command is
30010 printed by "show user".
30011
30012 * gdb.base/commands.exp: Test if/while commands as part of a
30013 breakpoint command list; verify they appear in breakpoint
30014 information.
30015
30016Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30017
30018 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
30019 than by dividing by zero.
30020
30021Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
30022
30023 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
30024 performing an inferior call with watchpoints enabled.
30025 * gdb.base/watchpoint.c (main): Delete second unnecessary read
30026 call.
30027
30028Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30029
30030 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
30031 of "file" command.
30032
30033 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
30034 Add additional pattern for when "int operator int(void);" appears
30035 in a different order.
30036
30037Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30038
30039 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
30040
30041 * gdb.base/help.exp: Replace most of docstrings for "info signals"
30042 and "signal" with ".*".
30043
30044Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30045
30046 * TODO: Add note about "handle all nostop".
30047
30048 * gdb.base/{sigall.c, sigall.exp}: New test.
30049 * gdb.base/Makefile.in: Add it.
30050
30051Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
30052
30053 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
30054 when invoking GDB, suppresses any windowing interface.
30055
30056Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
30057
30058 * config/sim-gdb: New file, simulator testing support.
30059
30060Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
30061
30062 * gdb.base/interrupt.exp: Test calling func1 twice.
30063
30064Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
30065
30066 * gdb.base/list.exp (test_forward_search): Set timeout higher
30067 when we'll be getting lots of output from gdb.
30068
30069 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
30070 "init_malloc" to after the expect statement. Run it if that
30071 regexp is taken, but also for two others which happen if source
30072 cannot be found.
30073
30074Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30075
30076 * gdb.base/printcmds.exp: New test, for printing register before
30077 program is running.
30078
30079Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30080
30081 * gdb.base/list.exp: Correct some alternate expect patterns
30082 to reflect changes in list1.c.
30083
30084Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30085
30086 * TODO: Add item regarding large frames.
30087
30088 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
30089
30090 * TODO: Remove item about enabling return.exp; it
30091 is enabled. Suggest a few more "return" tests.
30092
30093Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30094
30095 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
30096 anonymous unions.
30097
30098Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30099
30100 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
30101 and pr-5646.o, so "make" is the same as "make all", not "make
30102 pr-4975.o".
30103
30104Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
30105
30106 * gdb.base/list.exp: Adjust expectations to reflect changes in
30107 list1.c.
30108 (test_forward_search): New test proc.
30109 * gdb.base/list1.c (long_line): New function, has long source line.
30110
30111Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
30112
30113 * gdb.base/a1-selftest.exp: Change initial stepping to know about
30114 additional line of code that was added.
30115
30116Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
30117
30118 * gdb.disasm/hppa.s: Break the large branching tests into smaller
30119 tests so as not to overflow expect's input buffers.
30120 * gdb.disasm/hppa.exp: Corresponding changes.
30121
30122Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30123
30124 Beginnings of template debugging tests.
30125 * gdb.c++/templ-info.cc: New file to test for template
30126 debugging capability of the compiler.
30127 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
30128 templ-info.cc.
30129 * gdb.c++/templates.cc: Add explicit template instantiations
30130 to enable compiling with -fno-implicit-templates. Add destructor
30131 and 'value' method to T5 class for template tests.
30132 * gdb.c++/templates.exp: Add testcases for printing of template
30133 types, setting breakpoints on template methods and calling a
d63a86f8 30134 template method.
c906108c
SS
30135
30136Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
30137
30138 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
30139 branch target since some assemblers (gas-2.5) may emit a
30140 relocation for the branch instead of resolving it in the
30141 assembler.
30142
30143Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30144
30145 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
30146 through signal handler.
30147
30148Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30149
30150 * configure.in (*-*-netware): Use config/mt-netware.
30151
30152 * config/mt-netware: New file.
30153 * config/mt-i386-netware: Removed, separate configs for different
30154 netware architectures are no longer needed now that we have
30155 --with-headers.
30156
30157Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30158
30159 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
30160 by the recent changes to use ANSI C arithmetic conversions.
30161
30162Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30163
30164 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
30165 bug involving using inferior_pid to figure out whether to select a
30166 frame.
30167
30168Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
30169
30170 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
30171 match the current disassembler output.
30172
30173Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
30174
30175 * gdb.fortran/exprs.exp: Expect VOID instead of void.
30176 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
30177 types, expect "int" as type of integer values (for now).
30178
30179Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
30180
30181 * gdb.base/commands.exp: New tests for if/while commands.
30182
30183Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
30184
30185 * lib/gdb.exp (runto): Replace sub-pattern for hex value
30186 by .*, since hex values have different syntax in Chill mode.
30187
30188Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30189
30190 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
30191 linefeed from expect pattern for repeated types with indices > 9.
30192
30193Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
30194
30195 First part of Fortran test suite.
30196 * gdb.fortran: New directory.
30197 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
30198
30199Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30200
30201 * gdb.base/default.exp: Update expect pattern for load command
30202 without arguments.
30203
30204Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
30205
30206 * configure.in: Change i386 to i[345]86.
30207 * gdb.base/configure.in: Likewise.
30208 * gdb.c++/configure.in: Likewise.
30209 * gdb.chill/configure.in: Likewise.
30210
30211Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
30212
30213 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
30214 patterns, since that is not a valid context for comments.
30215
30216Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
30217
30218 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
30219 repeated types and repeated types with indices > 9.
30220
30221Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
30222
30223 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
30224 2417; old bug has been fixed.
30225
30226Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
30227
30228 * gdb.base/interrupt.exp: When trying to wake up the inferior,
30229 send the newline ourselves instead of assuming gdb_test will do
30230 so when passed an empty input string.
30231
30232 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
30233 stabs testcode.
30234
30235Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30236
30237 * lib/gdb.exp (gdb_test): Don't send anything if the first
30238 argument is an empty string. This makes cases where we want to
30239 match output that is already in expect's buffers (for example,
30240 matching a breakpoint after gdb_run_cmd has been called) work
30241 reliably.
30242
30243Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30244
30245 * config/netware.exp: New file.
30246
30247Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30248
30249 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
30250 the -B and -L prefixes so we can find the debugging stub.
30251
30252 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
30253 there and we are using the gcc from the tree.
30254
30255 * gdb.base/types.c: Removed.
30256
30257 * gdb.base/configure.in: Look for makefile fragments in ../config.
30258 Recognize i386-*-netware.
30259 * gdb.c++/configure.in: Likewise.
30260
30261Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30262
30263 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
30264 the correct TCL syntax.
30265
30266Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30267
30268 * gdb.base/opaque.exp: use runto instead of messing around with
30269 breakpoints. Simplify by using gdb_test.
30270
30271 * gdb.base/bitfields.exp: restart between tests on netware targets
30272 because breakpoints aren't relocated after target death. Run
30273 processes to completion.
30274
30275 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
30276
30277Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
30278
30279 * Makefile.in: Remove extra tabs that confuse some versions
30280 of "make". Use the newly built gdb to test with by default,
30281 rather than the first one in the tester's search path.
30282
30283Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
30284
30285 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
30286
30287 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
30288 condition help.
30289
30290Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30291
30292 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
30293
30294 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
30295 running.
30296 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
30297 * gdb.base/funcargs.exp: Likewise.
30298
30299 * gdb.base/bitfields.exp: Simplify by using gdb_test.
30300 * gdb.base/funcargs.exp: Likewise.
30301
30302 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
30303 message is "".
30304
30305Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30306
30307 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
30308 return,signals,twice}.exp: Handle non-existant binaries
30309 consistantly.
30310
30311 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
30312 * gdb.base/Makefile.in: Don't try to generate a core dump, we
30313 might testing a cross development system.
30314
30315Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30316
30317 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
30318 runtest script is relative to ${srcdir}, not ${rootdir}.
30319
30320Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
30321
30322 * gdb.base/signals.exp: Allow for optionality of breakpoint
30323 address.
30324
30325Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30326
30327 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
30328
30329Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30330
30331 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
30332 for size_t definition.
30333 * gdb.c++/templates.cc: Likewise
30334
30335 * config/mt-i386-netware: New file.
30336
30337 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
30338 defined.
30339
30340 * gdb.base/Makefile.in: Added support for systems that name core
30341 files by appending "core" to the program name.
30342 * gdb.base/a1-selftest.exp: Likewise.
30343
30344Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30345
30346 * gdb.base/return.exp: Add comment and message for `return double'
30347 test failure on Sparc Solaris.
30348
30349Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
30350
30351 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
30352
30353Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30354
30355 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
30356 from optimizing them away.
30357 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
30358 patterns to include default constructors and assignment operators,
30359 to match gcc versions beyond 2.5.8. Accept any cplus demangling
30360 character in the output of the virtual base pointer.
30361
30362Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30363
30364 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
30365 expression match in print_addr_of to avoid unintented matches.
30366 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
30367 versions up to 2.5.8.
30368
30369Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30370
30371 * gdb.base/list.exp: Tweak alternate pattern for listing of an
30372 included file to run under newer versions of expect.
30373 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
30374 consecutive >'s in templates to accomodate recent cplus-dem.c change.
30375 Remove xfail for the virtual table of BDDHookV.
30376
30377Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
30378
30379 * lib/gdb.exp (string_to_regexp): Set a default result.
30380 (default_gdb_start): Fix misleading message.
30381
30382Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
30383
30384 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
30385 Remove all CC, etc definitions.
30386 * config/mt-hpux: New file.
30387 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
30388 (CFLAGS, LDFLAGS): Define.
30389 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
30390
30391 * Makefile.in (site.exp): Don't insert host_os, etc.
30392 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
30393 (distclean): Check existence of subdir.
30394 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
30395 * gdb.base/Makefile.in: General cleanup and simplification.
30396 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30397 to build executables. Use default rule to build .o files.
30398 (EXPECT, RUNTEST, CC): Fix relative pathname.
30399 (site.exp): Don't insert host_os, etc.
30400 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
30401 and/or SIGUSR1 defined.
30402 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
30403 * gdb.c++/Makefile.in: General cleanup and simplification.
30404 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30405 (CFLAGS): Remove.
30406 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
30407
30408Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
30409
30410 * gdb.base/recurse.exp: Misc changes to get tests running again
30411 after Kung's changes to the watchpoint code.
30412 * gdb.base/watchpoint.exp: Likewise.
30413
30414Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
30415
30416 * lib/gdb.exp (string_to_regexp): Convert {\} also.
30417
30418Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
30419
30420 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
30421 * lib/gdb.exp (default_gdb_start): Define.
30422 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
30423 gdb.base/funcargs.exp, gdb.base/opaque.exp,
30424 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
30425 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
30426 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
30427 Don't call gdb_target_udi in between tests.
30428
30429Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30430
30431 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
30432 (which was basically just a local version of the same thing). In
30433 addition to avoiding duplication, gdb_test_exact is faster.
30434 * lib/gdb.exp (gdb_test_exact): Fix typo.
30435
30436 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
30437 don't give an error.
30438
30439 * gdb.base/term.exp: Call delete_breakpoints before starting.
30440
30441 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
30442 (t10): Add comment.
30443
30444Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
30445
30446 Reorganization of the GDB Test Suite.
30447
30448 * gdb.base: New directory, contains all the basic tests.
30449 * gdb.c++: New directory, tests specific to C++.
30450 * gdb.chill: New directory, tests specific to Chill.
30451 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
30452 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
30453 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
30454 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
30455 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
30456 t30-31 to chill).
30457 * */gdbme.*: Rename to match appropriate expect scripts.
30458 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
30459 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
30460 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
30461 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
30462 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
30463 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
30464 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
30465 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
30466 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
30467 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
30468 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
30469 gdb.c++/virtfunc.cc: New names of C++ files.
30470 * gdb.chill/chillvars.ch: New name of Chill file.
30471 * gdb.base/configure.in, gdb.c++/configure.in,
30472 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
30473 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
30474 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
30475 * configure.in (configdirs): Update to reflect directory changes.
30476 (target_abbrev): No longer define for any configuration.
30477 * Makefile.in: Cosmetic improvements to header comments.
30478
30479Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
30480
30481 Various changes to gdb.t31:
30482
30483 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
30484 * gdbme.ch: Make all key-words and predefineds be upper-case.
30485 * chillvars.exp: Expect key-words and predefinds in upper-case.
30486
30487 * chillvars.exp: Use gdb_test_exact many places.
30488 Change expected output for arrays (which now includes index labels).
30489
30490 * pr-5020.exp, gdme.ch (module PR_5020):
30491 New test, for PR-5020.
30492
30493Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
30494
30495 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
30496 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
30497
30498Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
30499
30500 * Makefile.in: Fix bit-rot in definitions of CHILL,
30501 CHILL_FOR_TARGET and Chill_LIB.
30502 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
30503 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
30504 CHILL, and CHILL_LIB.
30505
30506Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
30507
30508 * Revert the previous changes. Please see Rob's directory
30509 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
30510
30511Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
30512
30513 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
30514 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
30515 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
30516 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
30517 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
30518 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
30519 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
30520 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
30521 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
30522 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
30523 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
30524 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
30525 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
30526 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
30527 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
30528 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
30529 changes from 94Q1.
30530
30531Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
30532
30533 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
30534 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
30535 Rob's new testing fragments.
30536
30537Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
30538
30539 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 30540 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
30541
30542Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
30543
30544 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
30545 version also, match on casted version strings, and match on
30546 gdb startup case where the line numbers might be messed up.
30547
30548Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
30549
30550 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 30551 (CFLAGS): Delete it from here.
c906108c
SS
30552
30553Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
30554
30555 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
30556
30557Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
30558
30559 * Makefile.in (RUNTEST): Default to just "runtest".
30560
30561Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30562
30563 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
30564 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
30565 the code has been restructured.
30566
30567Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30568
30569 * gdb.t00/default.exp (set write): Allow any number of \r and/or
30570 \n, not just one of each.
30571
30572 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
30573 /bin/cc gives a warning if you do.
30574
30575Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
30576
d63a86f8 30577 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
30578 __t10ListS_link1ZUiRCUiPT0
30579
30580Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30581
30582 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
30583 on local variables in recursive functions.
30584
30585 * gdb.t07/Makefile.in: Build the new test.
30586
30587Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30588
30589 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
30590 directly. Instead compare the return values from actual calls.
30591
30592Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
30593
30594 * Makefile.in (check): Set TCL_LIBRARY for runtest.
30595
30596Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30597
30598 * From Peter Schauer with minor modifications.
a9c64011
AS
30599 * gdb.t15/return.exp (return_tests): Handle targets where "return"
30600 stops in mid-line in the caller. Add xfail for returning a float
30601 value on X86 targets.
c906108c
SS
30602
30603Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30604
30605 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
30606 to avoid expect lossage.
30607 (fmem_LRbug_tests): Likewise.
30608 * gdb.disasm/hppa.s: Corresponding changes.
30609
30610 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
30611 conditions to work with latest dejagnu/expect.
30612
30613 * gdb.t15/funcargs.exp (finish from indirect call): No longer
30614 expected to fail on the PA.
30615 (backtrace in call with trampolines): Explicitly require main
30616 to be frame #1 (no trampolines should show up in backtrace).
30617
30618 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
30619 "continue -expect".
30620 * gdb.t06/break.exp: Likewise.
30621 * gdb.t07/watchpoint.exp: Likewise.
30622 * gdb.t13/bitfields.exp: Likewise.
30623 * gdb.t15/{funcargs,return}.exp: Likewise.
30624 * gdb.stabs/weird.exp: Likewise.
30625 * config/{mips,udi}-gdb.exp: Likewise.
30626
30627 * hppa.sed: Enclose comments within a sed command to avoid
30628 losing with the old OSF1 sed.
30629
30630Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30631
30632 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
30633 sequent dynix.
30634 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
30635 * gdb.t15/funcargs.exp: Conditionally step again to really
30636 finish from marker_call_with_trampolines. Handle the case where
30637 the first step from within call_with_trampolines already steps
30638 us back to main.
30639 * gdb.t15/gdbme.c: Add comment to closing brace of
30640 call_with_trampolines for funcargs.exp.
30641
30642Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30643
d63a86f8 30644 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
30645 Fix typo(s).
30646
30647Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30648
30649 * gdb.t07/gdbme.c: More code for watchpoint testing.
30650
30651 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
30652 "Hardware watchpoint" throughout file.
30653 (test_watchpoint_triggered_in_syscall): New test.
30654 (test_complex_watchpoint): New test.
30655
30656Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30657
30658 * gdbme.c (call_with_trampolines): New function to try and step
30659 into. Tests trampoline problems on the PA.
30660
30661 * funcargs.exp (localvars_in_indirect_call): No longer expect
30662 stepping into indirect call to fail on PAs.
30663 (test_stepping_over_trampolines): New test.
30664
30665Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30666
30667 * TODO: Add suggestions for static member function tests, and
30668 completion tests.
30669
30670Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30671
30672 * TODO: Add suggestions for "p/a" tests.
30673
30674 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
30675 (default_gdb_exit): Replace all the hair with sending "quit" to
30676 the process with a simple close.
30677
30678Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30679
30680 * TODO: Add suggestions for shared library tests.
30681
30682Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30683
30684 * TODO: Add suggestions for x/s tests.
30685
30686Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30687
30688 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
30689 "enable once", and "enable breakpoints once" with ".*".
30690
30691Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30692
30693 * TODO: Add suggestions about structure passing tests.
30694
30695Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30696
30697 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
30698 the primary1 test, use work around if __GNUC__ < 2.
30699 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
30700 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
30701 Test for bad output rather than waiting for timeout. Issue
30702 second continue only if first continue failed.
30703
30704Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30705
30706 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
30707 operator[] test with gdb_test because the old code didn't seem to
30708 be getting the quoting right with the new dejagnu.
30709
30710Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
30711
30712 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
30713 one from the path.
30714 * Makefile.in: Use a fresh expect if there is one, use runtest
30715 from the src tree if there is one.
d63a86f8 30716
c906108c
SS
30717Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30718
30719 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
30720 next over recursive call. Revise the tests from that point on
30721 (which had been skipped) to match GDB's actual (correct) output.
30722
30723 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
30724 with next over a breakpoint whose condition is false.
30725
30726 * gdb.t00/help.exp: Comment out "help set print" tests just like
30727 (and for same reason as) "help set" test.
30728
30729Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30730
30731 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
30732 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
30733
30734Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30735
30736 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
30737 necessary gdb_target_udi.
30738
30739 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
30740
30741 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
30742 1838 and 2417; they are fixed.
30743
30744 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
30745 gdb.t03/ptype.exp (ptype structure, ptype union):
30746 Remove xfails; the test is looser than when the xfails were added.
30747
30748 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
30749 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
30750
30751 * gdb.t01/run.exp: Only run shell test if isnative.
30752
30753 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
30754 since "run" automatically loads if necessary. Call gdb_target_udi
30755 after the "file" since "file" kills any execution target.
30756
30757 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
30758 GDB. GDB doesn't work that way (not anymore at least) on UDI.
30759 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
30760 argument for UDI.
30761
30762Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30763
30764 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
30765
30766 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
30767
30768Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30769
30770 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
30771 properly quoting regexps. This makes the second argument to
30772 demangle a fixed string, which matches the callers, instead of a
30773 shell-style pattern which is what the previous implementation
30774 used. Update some of the callers.
30775
30776Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30777
30778 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
30779 (comib_nullified_tests): Fix typo.
30780 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
30781 strings. No longer expected to fail.
30782
30783 * gdb.disasm/hppa.s (addib_tests): Fix typo.
30784 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
30785 strings. No longer expected to fail.
30786
30787 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
30788 string. No longer expected to fail.
30789
30790Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30791
30792 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
30793 No longer expected to fail.
30794
30795 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
30796 string. No longer expected to fail.
30797
30798Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30799
30800 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
30801 only in the names (I probably got most of them). I was even
30802 generous with some which differed in underscores in names, and
30803 probably missed a few, and I *still* was able to remove almost a
30804 third of the file with almost no impact on testsuite coverage.
30805
30806Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30807
30808 * gdb.t00/default.exp: Match udi_attach error message as well as
30809 the one from child_attach.
30810
30811 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
30812
30813 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
30814
30815 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
30816 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
30817
30818 * Move test with enums and partial symbols back to
30819 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
30820 Reverts the change of 26 May 93. Per today's change to
30821 stabs.texinfo, the behavior that weird.exp was expecting was
30822 unreasonable; what is important is that the compiler+gdb get
30823 things right, which happens with a recent gcc. Also fix the test
30824 to deal with native compilers which put out the stab gdb can't
30825 deal with.
30826
30827Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30828
30829 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
30830 in the names. The main thing these accomplish is to slow things down.
30831 Many more such duplicates surely remain.
30832
30833 * gdb.t00/help.exp: Comment out "help support" test just like
30834 (and for same reason as) "help set" test.
30835
30836Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
30837
30838 * gdb.t06/break.exp: Remove setup_xfails for
30839 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
30840 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
30841 about known bug in gcc to include up through 2.5.8.
30842 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
30843 well as "_vb$".
30844 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
30845 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
30846 with latest gcc and gdb.
30847 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
30848 well as "_vb$".
30849
30850Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30851
30852 * configure.in (hppa*-*-*): Also configure and build stabs-only
30853 tests.
30854
30855Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30856
30857 * gdb.t10/hppa.mt: A makefile fragment for the PA.
30858 * gdb.t10/configure.in (hppa*-*-*): Use it.
30859
30860Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30861
30862 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
30863
30864Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30865
30866 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
30867 versions prior to 1.13.5.
30868
30869Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30870
30871 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
30872 the prompt is at the start of a line.
30873
30874Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30875
30876 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
30877 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
30878 in the copr tests now.
30879 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
30880 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
30881 expected to fail.
30882
30883Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
30884
30885 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
30886 gdb.t31/chillvars.exp, lib/gdb.exp:
30887 Tweak to run under either version of expect.
30888 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
30889 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
30890 * gdb.t11/list.exp: Remove extraneous whitespace.
30891
30892Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30893
30894 * gdb.t16/printcmds.exp (test_print_strings): Accept
30895 "(unsigned char *) " before the string.
30896
30897 * TODO: Add notes about printing of fancy types and GDB expressions.
30898
30899Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
30900
30901 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
30902 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 30903 if doing mips-idt-ecoff.
c906108c
SS
30904
30905Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
30906
30907 * Most .exp files: Tweak to run under either version of expect.
30908
30909Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30910
30911 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
30912 xfails; I'm not sure why they are failing, but not because of PR 1806.
30913
30914Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
30915
30916 * config/unix-gdb.exp: Remove gdb_unload cause it's already
30917 defined in lib/gdb.exp.
30918
30919Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30920
30921 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
30922 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
30923 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
30924 have to be typeless.
30925
30926Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30927
30928 * TODO: Add suggestion for copyright year test.
30929
30930Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
30931
30932 * configure.in (*-*-lynxos*): Add stabs tests.
30933
30934Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
30935
30936 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
30937 so insert a tab before any assembler directive in column zero.
30938
30939 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
30940 stores.
30941 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
30942 stores.
30943 (fpu_short_memory_tests): Likewise.
30944
30945Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30946
30947 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
30948 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
30949 .stabs directives in comments.
30950
30951Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30952
30953 * TODO: New file, describing tests we could write.
30954 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
30955
30956Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30957
30958 * gdb.t06/signals.exp: Add kludge to force re-sync.
30959
30960 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
30961 to xgdb instead of gdb, get out of gdb.
30962
30963Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
30964
30965 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
30966 for info.
30967
30968Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
30969
30970 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
30971 * gdb.stabs/configure.in (hppa*-*-*): Use it.
30972 * gdb.stabs/hppa.sed: New sed script for the PA.
30973
30974Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30975
30976 * gdb.stabs: Re-write weird.def and configuration to use sed
30977 instead of cpp. sed is portable and POSIX; cpp is neither.
30978
30979Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30980
30981 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
30982
30983Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30984
30985 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
30986
30987Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30988
30989 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
30990 "_vb$".
30991 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
30992 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
30993
30994Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30995
30996 * lib/gdb.exp: Comment out code which depends on non-existent
30997 `transform' procedure.
30998
30999Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
31000
31001 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
31002 * lib/gdb.exp: Transform tool name.
31003 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
31004 1.1's new error handling system.
31005
31006Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31007
31008 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
31009
31010Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31011
31012 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
31013 They made pattern matching so slow that timeouts happened on
31014 heavily loaded systems. Now any output from "show print" which
31015 gets us back to the GDB prompt is a PASS.
31016
31017Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
31018
31019 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
31020
31021Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31022
31023 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
31024
31025 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
31026 It is not from PR 3220.
31027
31028Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31029
31030 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
31031 just started failing because they depended on the order the
31032 subcommands are presented, or exact docstring text. This kind of
31033 test is a pain and has minimal benefit.
31034
31035Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31036
31037 * gdb.t09/corefile.exp: At end of test, use "core" command with
31038 no arguments.
31039
31040Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
31041
31042 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
31043 17}/Makefile.in: Make it possible to run the testsuite with Sun
31044 make and CC = cross gcc by adding explicit build rules for .o
31045 files.
31046
31047Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31048
31049 * gdb.t15/funcargs.exp: Don't put comments on same line as
31050 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 31051
c906108c
SS
31052Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31053
31054 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
31055
31056Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
31057
31058 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
31059 * gdb.t20/inherit.exp: remove three dumplicate entries.
31060
31061Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31062
31063 * gdb.t06/break.exp: For "next over recursive call", fail on any
31064 incorrect output, not just on "factorial (value=2)".
31065
31066Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31067
31068 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
31069 working now. Add an xfail if accesing a bss variable causes
31070 a memory error if the target is not yet run.
31071
31072Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31073
31074 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
31075 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
31076 name of __st* demangling (2 strings). Did Kung really get the
31077 more than 95 others right without testing them?
31078
31079Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
31080
31081 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
31082
31083Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
31084
31085 * configure.in (configdirs): Add gdb.disasm
31086 * gdb.disasm: New directory for GDB disassembler tests.
31087 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
31088
31089Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31090
31091 * gdb.t00/help.exp: Don't test "help set".
31092
31093 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
31094 from within expect statements. None of these happen anymore and
31095 they cause regressions to be silently unnoticed.
31096
31097 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
31098 messages) about known failures with gcc cygnus-2.4.5-930417.
31099
31100 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
31101 comp-info.exp so it gets built if it doesn't exist.
31102
31103 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
31104 it is no longer used.
31105 * gdb.t13/comp-info.c: Removed.
31106
31107Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31108
31109 * gdb.t06/signals.exp: Add xfail for sun3.
31110
31111Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31112
31113 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
31114 relevant because ^C doesn't get sent but failure can be reproduced
31115 interactively).
31116
31117Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31118
31119 * gdb.stabs/alpha.mt: New configuration file for alpha.
31120 * gdb.stabs/configure.in: Use it.
31121 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
31122 sharing with alpha.mt, redefine long to word via preprocessor.
31123 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
31124 for alpha.
31125 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
31126 native cc.
31127 * gdb.t00/teststrategy.exp: Change expect string so that we
31128 consume the `(xgdb)' from the command echo and from the gdb prompt.
31129 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
31130 gdb currently compares all values as long, so this failure probably
31131 applies to any configuration where LONGEST is bigger than a target int.
31132 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
31133 with gcc.
31134 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
31135 to handle opaque pointers, gcc is.
31136 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
31137 as first argument. Include <sys/types.h> and change all operator
31138 new definitions to use size_t.
31139 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
31140 now that we use size_t.
31141
31142Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31143
a9c64011 31144 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 31145 a long or float array cast all array members to the same type.
a9c64011 31146 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 31147 with 64 bit longs.
a9c64011 31148 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 31149 on alpha.
a9c64011 31150 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
31151
31152Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31153
31154 * gdb.t24 (demangle.exp): Constructors of templates have names like
31155 vector<int>::vector(int) not vector<int>::vector<int>(int). See
31156 section 14.6 of the ARM.
31157
31158 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
31159 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
31160 accomplish little and slow down the testsuite.
31161
31162 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
31163 Accept spaces various places.
31164
31165Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31166
31167 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
31168 with watchpoint enabled.
31169
31170 * Makefile.in: Remove definition of CC and remove the second
31171 definition of CXX (the "CXX = gcc" one remains). These definitions
31172 were causing backquotes to be expanded within backquotes, which
31173 doesn't work.
31174
31175Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
31176
31177 * gdb.t17/callfuncs.exp: Add "return 0" to end.
31178
31179Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31180
a9c64011
AS
31181 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
31182 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
31183 by mips cc and contains no stabs entries.
31184
31185Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
31186
31187 * config/vx-gdb.exp: Use fake device to load files rather than
31188 NFS.
31189 * lib/gdb.exp: New proc to do "file" command.
31190 * config/unix-gdb.exp: Use new "file" proc.
31191
31192Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
31193
31194 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
31195 Rework board rebooting slightly.
31196 (gdb_exit): Don't exit from the remote shell; there isn't one.
31197 * gdb.stabs/weird.exp: If a program is being debugged already,
31198 kill it.
31199 * gdb.t04/setvar.exp: Stop and restart gdb.
31200 * gdb.t05/expr.exp: Likewise.
31201 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
31202 restart gdb and reload the program.
31203 * gdb.t08/opaque.exp: Likewise.
31204 * gdb.t12/scope.exp: Likewise.
31205 * gdb.t13/bitfields.exp: Likewise.
31206 * gdb.t15/funcargs.exp: Likewise.
31207 * gdb.t20/classes.exp: Likewise.
31208 * gdb.t03/ptype.exp: Increase timeout.
31209 * gdb.t16/printcmds.exp (test_print_string_constants,
31210 test_print_array_constants): Likewise.
31211 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
31212 * gdb.t20/classes.exp (do_tests): Likewise.
31213 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
31214
31215Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
31216
31217 * gdb.stabs: Renamed *wierd* to *weird*.
31218
31219Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
31220
31221 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
31222 for timeout. Add "known gcc 2.4.5 bug" to failure message.
31223
31224Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
31225
31226 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
31227 (do_tests): Remove xfail for whatis on one_var and two_var.
31228
31229Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
31230
31231 * Makefile.in: Made cross building work better by adding
31232 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
31233
31234Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31235
31236 * gdb.t15/{return.c,return.exp,Makefile.in}:
31237 New test, currently commented out.
31238
31239Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
31240
31241 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
31242 still running and removes the leftover named socket so GDb can do
31243 clean restarts.
31244
31245Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
31246
31247 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
31248 console, not GDB.
31249 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
31250 cross testing works better with "make check"
31251 * config/unix-gdb: Use default procedures for exit and version.
31252 * config/vx-gdb.exp: Cleaned up and massaged back to working order
31253 with the newest VxWorks.
31254
31255Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31256
31257 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
31258 old form.
31259
31260 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
31261 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
31262
31263 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
31264
31265 * config/unix-gdb.exp: Remove this version of gdb_exit
31266 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
31267 Rob says he'll look at it when he gets back to testing boards.
31268
31269Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
31270
31271 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
31272 an expected fail for certain ptype commands.
31273
31274 * gdb.t20/classes.exp: Update expected results of "ptype class
31275 Base1" to account for the constructor that now appears in the type.
31276
31277Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
31278
31279 * configure.in (configdirs): Restore gdb.t04, which mysteriously
31280 disappeared from list.
31281 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
31282 "alldone" proc with call to cleanup and exit.
31283 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
31284 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
31285 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
31286 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
31287 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
31288 "alldone" proc with simple returns that suppress remaining
31289 tests. The alldone proc went away many months ago.
31290
31291Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31292
31293 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
31294
31295 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
31296
31297Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31298
31299 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
31300 as vax gdb will display them.
31301
31302Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31303
31304 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
31305 optimizers.
31306
31307 * scope.exp: Change "bad value for localval" messages so each one
31308 is unique.
31309
31310 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
31311 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
31312
31313 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
31314
31315Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31316
31317 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
31318 doesn't exist (due to optimization).
31319
31320Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31321
31322 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
31323 contains \r because the filename is long.
31324
31325 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
31326 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
31327
31328Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31329
31330 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
31331 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
31332 Ultrix.
31333 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
31334 int tests.
31335 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
31336
31337Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
31338
31339 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
31340
31341 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 31342 to match does not match the passing case but still matches the
c906108c
SS
31343 failing case.
31344
31345Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31346
31347 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
31348
31349Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
31350
31351 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
31352 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
31353 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
31354 Remove various versions of gdb_exit.
31355 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
31356 gdb_exit.
31357 * config/unix-gdb.exp: gdb_exit remains here, and should override
31358 the generic version, since it's doing a lot of wierd stuff that
31359 the other versions aren't. FIXME, fold it in, or abandon this
31360 version.
31361
31362Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31363
31364 * gdb.t24/demangle.exp: Add tests for PR 3220.
31365
31366Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31367
31368 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
31369
31370Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
31371
31372 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
31373 "i386-*-*". Works for i486 as well.
31374
31375 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
31376 bug, and expand domain of xfail to all SVR4 systems, since the
31377 actual problem is likely to be in generic SVR4 /proc support.
31378
31379Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31380
31381 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
31382
31383Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
31384
31385 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
31386 xfails for other systems. Match a missing 'Continuing.' as an
31387 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
31388
31389 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
31390 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
31391 Only issue warning for missing executables if -all option is used.
31392
31393 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
31394 file if -all option is used. It's like an unpredictable XFAIL.
31395
31396Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31397
31398 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
31399 for dynamically linked binaries.
31400
31401 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
31402
31403Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31404
31405 * gdb.t20/inherit.exp: Change message for "print tagless struct"
31406 to state that this is a known bug in old versions of g++.
31407
31408Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31409
31410 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
31411 while waiting for `Continuing'.
31412
31413Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
31414
31415 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
31416 in text, data, and bss.
31417 * gdb.t10/nodebug.c: Add local and global test variables for
31418 initialized and uninitialized data.
31419
31420Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31421
31422 * config/unix-gdb.exp (gdb_exit): Add "wait".
31423
31424Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31425
31426 * gdb.t06/signals.exp: xfail the continue from the handler for all
31427 targets.
31428
31429 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
31430 function with watchpoints enabled, the i386 call dummy starts with
31431 a call.
31432
31433 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
31434 386 bsd names its corefiles.
31435
31436Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
31437
31438 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
31439 compilers don't grok it.
31440 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
31441 with small octal ints rather than character constants, which
31442 are signed and might not fit if first promoted to int.
31443
31444Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
31445
31446 * gdb.t09/Makefile.in (clean): Remove corefile.
31447
31448Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31449
31450 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
31451
31452Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31453 and Jim Kingdon (kingdon@cygnus.com)
31454
31455 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
31456 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
31457 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
31458
31459Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31460
31461 * gdb.t17/interrupt.exp: Add xfail for hppa.
31462
31463Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31464
31465 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
31466 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
31467 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
31468 to determine signed-ness of bitfields and use the result to setup
31469 the xfail.
31470 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
31471 * gdb.t15/funcargs.exp: Use them to step until the second indirect
31472 call line is reached if necessary.
31473
31474Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31475
31476 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
31477
31478Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31479
31480 * gdb.t06/break.exp: Also test `clear' command.
31481
31482Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31483
31484 * gdb.t00/teststrategy.exp: Remove extra quote.
31485
31486 * gdb.t07/watchpoint.exp: Change xfail for calling function with
31487 watchpoint enabled to be for all non-68k machines.
31488
31489 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
31490
31491Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31492
31493 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
31494 targets use aout.mt instead of ecoff.mt as gas understands
31495 standard aout format.
31496
31497Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31498
31499 * lib/gdb.exp (runto): Don't insist that function we are running to
31500 was compiled with -g.
31501
31502 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
31503
31504 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
31505 to get back into the read system call.
31506 Accept leading newline in case where we woke it up.
31507
31508Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31509
31510 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
31511 to make the stabs test work on ecoff systems using gcc and -with-stabs.
31512 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
31513 enable ecoff configuration.
31514
31515Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31516
31517 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
31518
31519Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31520
31521 * gdb.t16/printcmds.exp: Add another printf test.
31522
31523Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
31524
31525 * configure.in: If configured -with-stabs on any target, add
31526 stabsdirs to configdirs.
31527
31528Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31529
31530 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
31531 fun" so pattern does not match the command itself.
31532
31533Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31534
31535 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
31536
31537Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31538
31539 * gdb.t17/interrupt.exp: Test for more things.
31540
31541Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31542
31543 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
31544 compiler arranges the code and line numbers.
31545
31546 * gdb.t17/interrupt.exp: Don't send \n after ^C.
31547
31548Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31549
31550 * gdb.t00/help.exp: Increase expect input buffer size.
31551
31552Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31553
31554 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
31555
31556 * gdb.t07/watchpoint.exp: Add xfail for hppa.
31557
31558 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
31559
31560 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
31561 [0-9]*, not just [0-9].
31562
31563Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31564
31565 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
31566
31567 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
31568
31569Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31570
31571 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
31572
31573Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31574
31575 * gdb.t06/signals.c: Add xfails for sun3.
31576
31577 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
31578
31579 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
31580 test_stepping tests.
31581
31582Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31583
31584 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
31585
31586 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
31587
31588 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
31589 rather than actually putting it through cpp twice.
31590
31591 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
31592
31593Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
31594
31595 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
31596 no longer needed.
31597
31598Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31599
31600 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
31601
31602 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
31603 C++ features prints as "struct", make it a pass, not an xfail.
31604
31605Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31606
31607 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
31608 Don't require VA to print as "class" rather than "struct".
31609
31610Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
31611
31612 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
31613
31614Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31615
31616 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
31617
31618Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31619
31620 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
31621 order.
31622
31623Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31624
31625 * gdb.t16/printcmds.exp: Add printf tests.
31626
31627 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
31628
31629 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
31630
31631Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
31632
31633 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
31634 pass counts, to counteract any existing or future setup_xfails.
31635
31636Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31637
31638 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
31639 {BEGIN,END}_COMMON for common block instead of STAB.
31640 * gdb.stabs/wierd.exp: Add xfail for rs6000.
31641
31642 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
31643 intp_var should be N_GSYM not N_LSYM.
31644 wierd-aout.S: Use a label for the value of the N_SO.
31645 wierd.def: Remove all backslashes.
31646 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
31647
31648Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31649
31650 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
31651 get the expected next to inheritance3.
31652
31653Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31654
31655 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
31656 now that gcc-2.4 gets it right.
31657
31658Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31659
31660 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
31661
31662 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
31663 generating comp-info.exp which works for cross-compilation.
31664
31665Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
31666
31667 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
31668 "*-*-sysv4.*".
31669
31670Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
31671
31672 * gdb.t01/run.exp: Start with a fresh gdb.
31673 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
31674 SVR4.x.
31675
31676Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
31677
31678 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
31679 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
31680 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
31681 Makefile.in (distclean, realclean): Remove gdbme.c from list of
31682 things to remove.
31683
31684Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
31685
31686 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
31687 test cases from bug reports.
31688
31689Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
31690
31691 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
31692 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
31693 avoid spurious xfails.
31694 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
31695 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
31696 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
31697
31698Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
31699
31700 * gdb.t00/teststrategy.exp: Rework to provide more useful
31701 description of each test, fix problem with systems that define
31702 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
31703 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
31704 results for "next over recursive call" so timeouts aren't taken
31705 by error.
31706
31707Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
31708
31709 * gdb.t12/scope.exp: Test printing of variables before run.
31710
31711 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
31712 printed in wrong order due to sorting.
31713
31714Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
31715
31716 * gdb.t00/teststrategy.exp: Fix expected results for printing
31717 user entered string constant. Is array of char, prints with no
31718 address.
31719
31720 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
31721 commands.
31722 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
31723 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
31724 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
31725 of struct of char arrays.
31726 * gdb.t00/radix.exp: New tests for radix commands.
31727
31728Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
31729
31730 * gdb.t16/printcmd.exp: Print a variable before running program
31731 (with xfail for AIX).
31732
31733Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
31734
31735 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
31736
31737 * gdb.t16/printcmd.exp: Don't print variables before running program.
31738
31739 * gdb.t06/break.exp: Don't require envp argument to main.
31740
31741 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
31742
31743 * gdb.t02/whatis.exp, gdb.t11/list.exp:
31744 Add xfails for rs6000.
31745
31746 * gdb.t02/whatis.exp: Change other tests not to re-test something
31747 we already tested.
31748
31749 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
31750 each type used has a variable of that type.
31751
31752Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
31753
31754 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
31755
31756Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
31757
31758 * configure.in: change srctrigger to be a file, not a directory
31759
31760Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
31761
31762 * configure.in (mips-idt-ecoff*): Added trailing '*'.
31763
31764 * gdb.t11/list.exp: Fixed a couple of typos.
31765
31766Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
31767
31768 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
31769 is fixed and PR is closed.
31770 * gdb.t16 (gdbme.c): Add simple test string variable.
31771 * gdb.t16 (printcmds.exp): Add tests with simple test string
31772 variable, primarily for boundaries on "set print elements".
31773
31774Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
31775
31776 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
31777 Make leading 0's optional and don't expect a tab in the middle
31778 of the number.
31779
31780 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
31781
31782 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
31783 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
31784 don't end command passed to gdb_test with newline.
31785
31786 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
31787 signed keyword away, don't expect signed bitfields to be signed.
31788
31789 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
31790 printing with only as many 1's as are in the field as well as printing
31791 with 32 1's (see comment).
31792
31793Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
31794
31795 * gdb.t00/default.exp: Start with a fresh gdb.
31796 * configure.in (configdirs): Remove gdb.t31 until the chill
31797 compiler works again. It no longer is able to find chillrt0
31798 since it isn't in libchill.a anymore.
31799 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
31800 wierd.o, make more modular.
31801 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
31802 spurious newlines that caused problems.
31803
31804Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31805
31806 * Move test with enums and partial symbols from gdb.t03/ptype.exp
31807 to gdb.stabs/wierd.exp since GCC has worked around the bug.
31808 gdb.stabs/wierd.{exp,def}: Many new tests.
31809
31810 * gdb.t00/default.exp: update info line for new message.
31811
31812 * gdb.t02/{whatis.exp,gdbme.c}:
31813 Test that "char *" doesn't print as "caddr_t".
31814
31815Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31816
31817 * gdb.t00/help.exp: Use .* in place of some help messages which
31818 just changed.
31819 gdb.t00/default.exp: Update "info frame" test for new message.
31820 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
31821 Remove some xfails
31822
31823Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31824
31825 * gdb.t03/{gdbme.c,ptype.exp}:
31826 Add tests for typedef'd struct and union without tags.
31827 Also check "whatis" on a variable of a typedef'd enum without a tag.
31828
31829 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
31830 PRMS 1823; the bug still exists but isn't reproduced by this test
31831 anymore), and remove rs6000 XFAIL (the bug is fixed).
31832
31833 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
31834 duplicated from whatis.exp. For those that are left, accept
31835 "long", "long int", or "int" for long variables (whatis.exp already
31836 has an XFAIL for "int", so no need to fail it here).
31837
31838 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
31839 Deal with GCC's names for types now that GDB uses the compiler's names.
31840
31841 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
31842 setup_xfail's for sunos4. If we #defined the signed keyword away,
31843 don't expect GDB to know that char it is signed.
31844
31845 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
31846
31847Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
31848
31849 * configure.in (configdirs): Add gdb.t24 for C++ tests that
31850 should work on any system, regardless of debugging format.
31851 * gdb.t21/demangle.exp: Move to gdb.t24.
31852 * gdb.t24/demangle.exp: Move from gdb.t21.
31853 * gdb.t24/{Makefile.in, configure.in}: New files.
31854
31855Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31856
31857 * configure.in: Do gdb.stabs and C++ tests only for stabs.
31858 * gdb.stabs: New directory.
31859
31860Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31861
31862 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
31863 not just "Quit anyway?".
31864
31865Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
31866
31867 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
31868 that all setup_xfails are immediately followed by clear_xfails.
31869
31870Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
31871
31872 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
31873 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
31874 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
31875 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
31876 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
31877 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
31878 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
31879 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
31880 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
31881 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
31882 gdb.t31/chillvars.exp, lib/gdb.exp:
31883 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
31884 bug-gdb@prep.ai.mit.edu.
31885
31886Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
31887
31888 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
31889 with 0.0, not integer 0.
31890
31891Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
31892
31893 * gdb.t06/break.exp: Update for "Kill the program" message change.
31894
31895Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
31896
31897 * Makefile.in (GDBFLAGS): Set to -nx.
31898 * Makefile.in (site.exp): Use GDBFLAGS.
31899
31900Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
31901
31902 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
31903 Makefiles.
31904 (check): depend on just-check.
31905 (just-check): added so that tests can be run without a noop
31906 build pass.
31907
31908Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
31909
31910 Switch to using configure's configdirs.
31911 * Makefile.in (Makefile): add configure.in dependency.
31912 (SUBDIRS): removed redundant assignment.
31913 * configure.in: switch subdirs assignment to configdirs.
31914 * gdb.t*/configure.in: new files.
31915
31916Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
31917
31918 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
31919 works.
31920
31921Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
31922
31923 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
31924 in explicit rules. Apparently this is not supported by some makes.
31925
31926Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
31927
31928 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
31929
31930Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31931
31932 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
31933 disappeared.
31934
31935Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
31936
31937 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
31938
31939Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
31940
31941 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
31942 watchpoint problem that is now fixed.
31943 * gdb.t30/chexp.exp: Remove setup_xfail for printing
31944 uninitialized convenience variables.
31945 * gdb.t31/chillvars.exp: Fix expected patterns for printing
31946 structures.
31947
31948Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31949
31950 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
31951 which causes expect to get out of sync with gdb on long output
31952 from help set.
31953 * gdb.t09/corefile.exp: Make expected pattern for core file
31954 failing signal and frame output format less sun specific.
31955
31956Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
31957
31958 * gdb.t31/chillvars.exp: Add and remove initial dummy
31959 breakpoint, so that symbol table is forced in.
31960 (Needed at least on Sunos4, though it seems not SVR4.)
31961 * gdb.t31/chillvars.exp: Update for changed output format.
31962
31963Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
31964
a9c64011 31965 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
31966
31967Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
31968
31969 * Makefile.in: Added --srcdir when invoking runtest, removed the
31970 need for a local config file. (optional now)
31971
31972Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
31973
31974 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
31975 failure count used to force early termination. Add some more
31976 expected failures for gnu style demangling.
31977
31978Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31979
31980 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
31981 pmi variable from gdb.t20/gdbme to get optimized away.
31982 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
31983 Check for written corefile upon timeout _and_ eof.
31984
31985Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31986
31987 * config/unix-gdb.exp: Add missing return 0.
31988
31989Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31990
31991 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
31992 test termination.
31993
31994Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
31995
31996 * configure.in (subdirs): Put back gdb.t17 which mysteriously
31997 disappeared.
31998
31999Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
32000
32001 * gdb.t10/crossload.exp: Disable the i860-elf test until such
32002 time as i860 support works.
32003
d63a86f8 32004 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
32005 "backtrace 100\r" rather than just "backtrace\r", to match last
32006 change.
32007
32008Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
32009
32010 * config/udi-gdb.exp (gdb_exit): Remove close command.
32011 (gdb_target_udi): New procedure to set the UDI target.
32012 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
32013 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
32014 Added waits for prompts after several question responses. Added
32015 some more responses used by a29k-amd-udi-gdb.
32016 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
32017 pass different arguments, restart UDI connection after program
32018 completion.
32019 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
32020 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32021 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
32022 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
32023 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
32024 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
32025 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32026 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
32027 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
32028 after program completion.
32029 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
32030 compiled with a SELECT_VECS setting.
32031 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
32032 infinite recursion.
32033
32034 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
32035 Added checks for COFF results, and made them expected failures for
32036 all targets. It would be better to make them expected failures
32037 for COFF targets only.
32038
32039Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
32040
32041 * Makefile.in: add null dvi target, don't bother to recurse
32042 through test directories for info and install-info; rename
32043 $(datadir) to be dejagnu instead of deja-gnu
32044
32045Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
32046
32047 * gdb.t31/gdbme.ch: Re-enable code that previously caused
32048 compiler to coredump.
32049 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
32050 code.
32051
32052Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
32053
32054 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
32055 coredump.
32056 * gdb.t31/chillvars.exp: Comment out tests that depend on that
32057 code.
32058
32059Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
32060
32061 * gdb.t03/ptype.exp: tests for return code from gdb_test.
32062 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
32063 which in a shell. Deletes xgdb when done.
32064 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
32065 Tests the return from the "set height" or "set width" commands.
32066 Added a few return codes where needed.
32067
32068Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
32069
32070 * Makefile.in (SUBDIRS): Add gdb.t17.
32071 * configure.in (subdirs): Add gdb.t17.
32072 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
32073 files to test gdb's calling of functions in the inferior with
32074 the correct arguments and gdb's ability to retrieve any
32075 result returned.
32076
32077Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
32078
32079 * config/unix-gdb.exp (gdb_exit): Remove close commands that
32080 may be called after gdb goes away. Previous versions of expect
32081 needed these to avoid file descriptor leaks, but they cause
32082 errors with the current revision of expect.
32083 * gdb.t00/gdbvars.exp: Use -re on expected output after
32084 setting sevenbit-strings.
32085 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
32086 to set sevenbit-strings consistent across tests.
32087 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
32088 set sevenbit-strings consistent across tests.
32089
32090Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
32091
32092 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
32093 expected output to match current "expect" expectations.
32094
32095Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
32096
32097 * gdb.t00/default.exp: Change expected output for default "source"
32098 command, to match new gdb behavior which requires a filename to
32099 source.
32100
32101Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
32102
32103 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
32104 expected fail for i486-*-* that misses the marker2 function.
32105 * gdb.t10/crossload.exp (bfddefault): Allow successful
32106 recognition of a format to pass even if no symbols are found.
32107 Explicitly catch failures where the format is not recognized
32108 or is ambiguous, and add the reason to the fail message.
32109 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
32110 the cause is and invalid target and add reason to failure message.
32111 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
32112 elf32-i386, elf32-sparc, and elf32-i860.
32113 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
32114 Set up expected failure for 'filename'::variable scope resolution,
32115 which is now apparently broken on all targets.
32116 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
32117 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
32118 gdb.t23/templates.exp: Change failure for missing binfile into
32119 just a warning.
32120 gdb.t21/demangle.exp: Change all cfront references to 'arm'
32121 references.
32122
32123Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
32124
32125 * gdb.t00/default.exp: Add expected output for default "source"
32126 command, to match new gdb behavior.
32127 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
32128
32129Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
32130
32131 * config/*-gdb.exp: returns an error, rather than exiting on
32132 internal errors.
32133
32134Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
32135
32136 * gdb.t03/gdbme.c: Add pointer to struct variable.
32137 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
32138 referencing struct members.
32139
32140Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
32141
32142 * configure.in (mips-idt-ecoff): New target.
32143 * config/mips-gdb.exp: New file for remote board using MIPS remote
32144 debugging protocol.
32145
32146 * Redid configuration scheme. Removed gdb.t*/configure.in.
32147 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
32148 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
32149 distclean targets. Built executables via .o files. Adjusted
32150 tests to account for source files in $(srcdir) rather than
32151 $(objdir).
32152 * lib/gdb.exp (runto): Don't expect () after the function name,
32153 because it may have arguments.
32154
32155Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
32156
32157 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
32158 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
32159 expected failures for mips-idt-* and mips-sgi-*.
32160 * gdb.t00/default.exp (attach): Kill process if requested.
32161 * gdb.t00/help.exp (help target core, help target): Accept a gdb
32162 that does not read core files.
32163 * gdb.t01/run.exp: Removed checks for exit status code.
32164 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
32165 it is linked in.
32166 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
32167 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
32168 appropriate, rather than doing it by hand.
32169 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
32170 execution.
32171 * gdb.t10/crossload.exp: Kill existing program if needed.
32172 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
32173 appropriate, rather than doing it by hand. Always increase
32174 timeout for this test, not just for VxWorks.
32175
32176Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
32177
32178 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
32179 of Chill STRUCT types and STRUCT values.
32180 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
32181 than "char".
32182 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 32183 struct2): New struct definitions and initializations to test
c906108c
SS
32184 simple Chill STRUCT types.
32185
32186Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
32187
32188 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
32189 the null byte at the end of strings.
32190 * gdb.t00/default.exp: Make show version insensitive to copyright
32191 date.
32192 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
32193 to avoid dependencies on target char signedness.
32194 * gdb.t16/printcmds.exp: Update expected results for explicitly
32195 unsigned char.
32196 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
32197 now work.
32198 * gdb.t21/demangle.exp: Add many more patterns for template
32199 demangling, most of them being expected failures.
32200 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
32201 string we are matching for, to match on the whole string.
32202 * gdb.t21/demangle.exp: Add many new test strings to demangle,
32203 and fix a whole bunch that had incorrect expected output but were
32204 passing anyway because of the bug in "proc demangle".
32205 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
32206 type.
32207 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
32208
32209Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
32210
a9c64011
AS
32211 * gdb/testsuite: made modifications to testcases, etc., to allow
32212 them to work properly given the reorganization of deja-gnu and the
32213 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
32214
32215Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
32216
32217 * gdb/testsuite: Initial creation of gdb/testsuite.
32218 Migrated dejagnu testcases and support files for testing nm to
32219 gdb/testsuite from deja-gnu. These files were moved "as is"
32220 with no modifications. This migration is part of a major overhaul
32221 of dejagnu. The modifications to these testcases, etc., which
32222 will allow them to work with the new version of dejagnu will be
32223 made in a future update.
48efe704 32224
8d8cb839 32225 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 32226\f
8d8cb839
EZ
32227;; Local Variables:
32228;; mode: change-log
32229;; left-margin: 8
32230;; fill-column: 74
32231;; version-control: never
32232;; End:
902f2ccb 32233
28e7fd62 32234 Copyright 1993-2013 Free Software Foundation, Inc.
902f2ccb
MC
32235 Copying and distribution of this file, with or without modification,
32236 are permitted provided the copyright notice and this notice are preserved.