2013-07-19 Hui Zhu <hui@codesourcery.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2013-07-19 Hui Zhu <hui@codesourcery.com>
2
3 PR gdb/15692
4 * gdb.mi/mi-dprintf.exp: Add double quotes test.
5
6 2013-07-19 Yao Qi <yao@codesourcery.com>
7
8 * gdb.trace/read-memory.exp (test_from_remote): Update test.
9 (teset_from_exec): Likewise.
10
11 2013-07-19 Yao Qi <yao@codesourcery.com>
12
13 * gdb.trace/read-memory.c: New.
14 * gdb.trace/read-memory.exp: New.
15
16 2013-07-19 Yao Qi <yao@codesourcery.com>
17
18 * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
19 $dest to link options if host is remote. Move the
20 generated file to $dest.a on host if host is remote.
21
22 2013-07-18 Will Newton <will.newton@linaro.org>
23
24 * gdb.threads/tls-nodebug.c: Call pthread_testcancel
25 to ensure the test is linked against pthreads.
26 * gdb.threads/tls-var-main.c: Likewise.
27 * gdb.threads/tls-shared.c: Likewise.
28
29 2013-07-18 Yao Qi <yao@codesourcery.com>
30
31 * lib/future.exp (gdb_default_target_compile): Use tail name
32 of $destfile as the output name of compile. Move the
33 generated file to $destfile on build.
34
35 2013-07-18 Yao Qi <yao@codesourcery.com>
36
37 * lib/gdb.exp (gdb_compile): Set
38 gdb_saved_set_unbuffered_mode_obj to
39 set_unbuffered_mode_saved.o if host is remote. Invoke
40 remote_download to copy $unbuf_obj to host.
41
42 2013-07-17 Doug Evans <dje@google.com>
43
44 * gdb.python/py-frame-args.c: New file.
45 * gdb.python/py-frame-args.py: New file.
46 * gdb.python/py-frame-args.exp New file.
47
48 2013-07-16 Andrew Burgess <aburgess@broadcom.com>
49
50 * gdb.base/printcmds.exp (test_printf): Add tests for format
51 strings with missing format specifier.
52
53 2013-07-16 Tom Tromey <tromey@redhat.com>
54
55 * gdb.ada/info_types.exp: Use standard_testfile.
56
57 2013-07-16 Tom Tromey <tromey@redhat.com>
58
59 * gdb.mi/mi-basics.exp: Use standard_output_file.
60 (test_dir_specification, test_cwd_specification)
61 (test_path_specification): Use testsubdir, not subdir and objdir.
62
63 2013-07-16 Tom Tromey <tromey@redhat.com>
64
65 * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
66
67 2013-07-09 Joel Brobecker <brobecker@adacore.com>
68
69 * gdb.ada/small_reg_param.exp: Accept optional entry value
70 for parameter "w".
71
72 2013-07-09 Joel Brobecker <brobecker@adacore.com>
73
74 * gdb.ada/small_reg_param.exp: Remove trailing space.
75
76 2013-07-09 Doug Evans <dje@google.com>
77
78 * gdb.base/default.exp: Update expected output of "show print array"
79 and "show print pretty".
80
81 2013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
82
83 * gdb.threads/wp-replication.exp: Stop counting available hardware
84 watchpoints after NR_THREADS iterations.
85
86 2013-07-08 Andrew Burgess <aburgess@broadcom.com>
87
88 * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
89
90 2013-07-07 Yao Qi <yao@codesourcery.com>
91
92 * boards/native-gdbserver.exp: Move invoke of
93 process_multilib_options to gdbserver-base.exp.
94 Move set_board_info 'compiler', 'gdb,noinferiorio',
95 'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
96 gdbserver-base.exp.
97 Move proc ${board}_download, ${board}_upload and
98 ${board}_file to gdbserver-base.exp.
99 * boards/native-extended-gdbserver.exp: Likewise.
100 * boards/native-stdio-gdbserver.exp: Likewise.
101 * boards/gdbserver-base.exp: New file.
102
103 2013-07-05 Luis Machado <lgustavo@codesourcery.com>
104
105 * gdb.base/dump.exp: Remove arch-specific tests and do a
106 generic data address check to set is64bitonly correctly.
107
108 2013-07-05 Luis Machado <lgustavo@codesourcery.com>
109
110 * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
111 the register number instead of expecting only 0.
112
113 2013-07-05 Will Newton <will.newton@linaro.org>
114
115 * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
116 in asm syntax to allow building on ARM.
117
118 2013-07-05 Yao Qi <yao@codesourcery.com>
119
120 * boards/local-remote-host.exp: Remove obsolete comments.
121 * boards/native-extended-gdbserver.exp: Likewise.
122 * boards/native-gdbserver.exp: Likewise.
123 * boards/native-stdio-gdbserver.exp: Likewise.
124
125 2013-07-04 Andrew Burgess <aburgess@broadcom.com>
126
127 * gdb.dwarf2/dw2-reg-undefined.exp: New file.
128 * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
129 * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
130
131 2013-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
132
133 * gdb.base/break-on-linker-gcd-function.exp: Replace
134 prepare_for_testing by build_executable_from_specs and clean_restart.
135
136 2013-06-27 Tom Tromey <tromey@redhat.com>
137
138 * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
139 gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
140 gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
141 gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
142 gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
143 gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
144 gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
145 gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
146 gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
147 gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
148 gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
149 Use standard_testfile, standard_output_file, prepare_for_testing,
150 clean_restart.
151
152 2013-06-27 Tom Tromey <tromey@redhat.com>
153
154 * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
155 gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
156 gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
157 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
158 gdb.base/shreloc.exp, gdb.base/sigall.exp,
159 gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
160 gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
161 gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
162 gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
163 gdb.base/signull.exp, gdb.base/sigrepeat.exp,
164 gdb.base/sigstep.exp, gdb.base/sizeof.exp,
165 gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
166 gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
167 gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
168 gdb.base/solib-weak.exp, gdb.base/source.exp,
169 gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
170 gdb.base/stap-probe.exp, gdb.base/start.exp,
171 gdb.base/step-break.exp, gdb.base/step-bt.exp,
172 gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
173 gdb.base/step-test.exp, gdb.base/structs.exp,
174 gdb.base/structs2.exp, gdb.base/structs3.exp,
175 gdb.base/symbol-without-target_section.exp: Use standard_testfile,
176 standard_output_file, prepare_for_testing, clean_restart.
177
178 2013-06-27 Tom Tromey <tromey@redhat.com>
179
180 * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
181 gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
182 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
183 gdb.base/pending.exp, gdb.base/permissions.exp,
184 gdb.base/pie-execl.exp, gdb.base/pointers.exp,
185 gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
186 gdb.base/printcmds.exp, gdb.base/prologue.exp,
187 gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
188 gdb.base/ptype.exp, gdb.base/randomize.exp,
189 gdb.base/readline-ask.exp, gdb.base/recpar.exp,
190 gdb.base/recurse.exp, gdb.base/relativedebug.exp,
191 gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
192 gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
193 standard_testfile, standard_output_file, prepare_for_testing,
194 clean_restart.
195
196 2013-06-27 Tom Tromey <tromey@redhat.com>
197
198 * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
199 gdb.base/huge.exp, gdb.base/included.exp,
200 gdb.base/inferior-died.exp, gdb.base/infnan.exp,
201 gdb.base/info-fun.exp, gdb.base/info-macros.exp,
202 gdb.base/info-os.exp, gdb.base/info-proc.exp,
203 gdb.base/info-target.exp, gdb.base/infoline.exp,
204 gdb.base/interp.exp, gdb.base/interrupt.exp,
205 gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
206 gdb.base/kill-after-signal.exp, gdb.base/label.exp,
207 gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
208 gdb.base/logical.exp, gdb.base/long_long.exp,
209 gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
210 gdb.base/memattr.exp, gdb.base/mips_pro.exp,
211 gdb.base/miscexprs.exp, gdb.base/morestack.exp,
212 gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
213 standard_testfile, standard_output_file, prepare_for_testing,
214 clean_restart.
215
216 2013-06-27 Tom Tromey <tromey@redhat.com>
217
218 * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
219 gdb.base/enumval.exp, gdb.base/environ.exp,
220 gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
221 gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
222 gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
223 gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
224 gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
225 gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
226 gdb.base/fullname.exp, gdb.base/funcargs.exp,
227 gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
228 gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
229 gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
230 gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
231 gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
232 gdb.base/gnu_vector.exp: Use standard_testfile,
233 standard_output_file, prepare_for_testing, clean_restart.
234
235 2013-06-27 Tom Tromey <tromey@redhat.com>
236
237 * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
238 gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
239 gdb.base/call-strs.exp, gdb.base/callexit.exp,
240 gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
241 gdb.base/catch-syscall.exp, gdb.base/charset.exp,
242 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
243 gdb.base/code-expr.exp, gdb.base/code_elim.exp,
244 gdb.base/commands.exp, gdb.base/completion.exp,
245 gdb.base/complex.exp, gdb.base/cond-expr.exp,
246 gdb.base/condbreak.exp, gdb.base/consecutive.exp,
247 gdb.base/constvars.exp, gdb.base/corefile.exp,
248 gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
249 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
250 gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
251 gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
252 gdb.base/dup-sect.exp: Use standard_testfile,
253 standard_output_file, prepare_for_testing, clean_restart.
254
255 2013-06-27 Tom Tromey <tromey@redhat.com>
256
257 * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
258 gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
259 gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
260 gdb.base/async-shell.exp, gdb.base/async.exp,
261 gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
262 gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
263 gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
264 gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
265 gdb.base/break-entry.exp, gdb.base/break-interp.exp,
266 gdb.base/break-on-linker-gcd-function.exp,
267 gdb.base/breakpoint-shadow.exp: Use standard_testfile,
268 standard_output_file, prepare_for_testing, clean_restart.
269
270 2013-06-26 Yao Qi <yao@codesourcery.com>
271
272 * gdb.trace/mi-trace-frame-collected.exp: New.
273
274 2013-06-25 Yao Qi <yao@codesourcery.com>
275
276 * boards/native-extended-gdbserver.exp: Set board_info
277 'gdb,predefined_tsv'.
278 * boards/native-gdbserver.exp: Likewise.
279 * boards/native-stdio-gdbserver.exp: Likewise.
280 * gdb.server/ext-attach.exp: Load trace-support.exp. Check
281 uploaded TSVs if target supports tracing.
282 * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
283 tracing and target has predefined tsv.
284
285 2013-06-25 Yao Qi <yao@codesourcery.com>
286 Hui Zhu <hui@codesourcery.com>
287 Pedro Alves <palves@redhat.com>
288
289 PR breakpoints/15075
290 PR breakpoints/15434
291 * gdb.base/dprintf-next.c: New file.
292 * gdb.base/dprintf-next.exp: New file.
293 * gdb.base/dprintf-non-stop.c: New file.
294 * gdb.base/dprintf-non-stop.exp: New file.
295 * gdb.base/dprintf.exp: Don't check "continue" in the output
296 of "info breakpoints".
297 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
298 Don't check "continue" in script field.
299
300 2013-06-21 Tom Tromey <tromey@redhat.com>
301
302 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
303 name in a test name.
304
305 2013-06-20 Yao Qi <yao@codesourcery.com>
306
307 * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
308 and set an action.
309 (test_trace_unavailable): Test command -data-list-register-values
310 in the context of traceframe and with option --skip-unavailable.
311 * gdb.trace/trace-unavailable.c (foo): New.
312 (main): Call it.
313 * gdb.mi/gdb2549.exp: Update matching pattern.
314
315 2013-06-19 Mike Frysinger <vapier@gentoo.org>
316
317 * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
318 * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
319 * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
320 * gdb.arch/i386-sse.c: Call new i386_cpuid function.
321 * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
322
323 2013-06-19 Luis Machado <lgustavo@codesourcery.com>
324
325 * gdb.base/subst.exp: Delete default rules before further
326 tests.
327
328 2013-06-19 Yao Qi <yao@codesourcery.com>
329
330 * gdb.base/maint.exp: Make the test to command 'maint dump-me'
331 unsupported if it is not registered.
332
333 2013-06-18 Tom Tromey <tromey@redhat.com>
334
335 * gdb.base/random-signal.c: New file.
336 * gdb.base/random-signal.exp: New file.
337
338 2013-06-18 Will Newton <will.newton@linaro.org>
339
340 * gdb.base/skip.c: Use comma to evaluate results of foo()
341 and bar() before passing to baz().
342 * gdb.base/skip.c: baz() now takes one argument instead of
343 two.
344
345 2013-06-18 Tom Tromey <tromey@redhat.com>
346
347 * gdb.dwarf2/implptrpiece.exp: New file.
348 * gdb.dwarf2/implptrconst.exp (d): New variable.
349 Print d.
350 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
351
352 2013-06-18 Tom Tromey <tromey@redhat.com>
353
354 * lib/selftest-support.exp (do_self_tests): Reject remote or
355 non-native targets.
356 * gdb.gdb/complaints.exp: Remove check.
357 * gdb.gdb/observer.exp: Remove check.
358 * gdb.gdb/xfullpath.exp: Remove check.
359 * gdb.gdb/complaints.exp: Remove check.
360
361 2013-06-07 Pedro Alves <palves@redhat.com>
362
363 * boards/native-extended-gdbserver.exp: Remove semicolon.
364 * config/arm-ice.exp: Likewise.
365 * config/bfin.exp: Likewise.
366 * config/cygmon.exp: Likewise.
367 * config/h8300.exp: Likewise.
368 * config/monitor.exp: Likewise.
369 * config/sid.exp: Likewise.
370 * config/sim.exp: Likewise.
371 * config/slite.exp: Likewise.
372 * config/vx.exp: Likewise.
373 * gdb.arch/i386-bp_permanent.exp: Likewise.
374 * gdb.asm/asm-source.exp: Likewise.
375 * gdb.base/args.exp: Likewise.
376 * gdb.base/attach-pie-misread.exp: Likewise.
377 * gdb.base/auxv.exp: Likewise.
378 * gdb.base/bigcore.exp: Likewise.
379 * gdb.base/bitfields2.exp: Likewise.
380 * gdb.base/bitfields.exp: Likewise.
381 * gdb.base/break.exp: Likewise.
382 * gdb.base/break-interp.exp: Likewise.
383 * gdb.base/callfuncs.exp: Likewise.
384 * gdb.base/call-sc.exp: Likewise.
385 * gdb.base/commands.exp: Likewise.
386 * gdb.base/corefile.exp: Likewise.
387 * gdb.base/dbx.exp: Likewise.
388 * gdb.base/ending-run.exp: Likewise.
389 * gdb.base/exprs.exp: Likewise.
390 * gdb.base/funcargs.exp: Likewise.
391 * gdb.base/hbreak2.exp: Likewise.
392 * gdb.base/huge.exp: Likewise.
393 * gdb.base/list.exp: Likewise.
394 * gdb.base/memattr.exp: Likewise.
395 * gdb.base/overlays.exp: Likewise.
396 * gdb.base/printcmds.exp: Likewise.
397 * gdb.base/recurse.exp: Likewise.
398 * gdb.base/remotetimeout.exp: Likewise.
399 * gdb.base/reread.exp: Likewise.
400 * gdb.base/savedregs.exp: Likewise.
401 * gdb.base/scope.exp: Likewise.
402 * gdb.base/sepdebug.exp: Likewise.
403 * gdb.base/setshow.exp: Likewise.
404 * gdb.base/setvar.exp: Likewise.
405 * gdb.base/sigaltstack.exp: Likewise.
406 * gdb.base/siginfo-addr.exp: Likewise.
407 * gdb.base/siginfo.exp: Likewise.
408 * gdb.base/siginfo-obj.exp: Likewise.
409 * gdb.base/sigrepeat.exp: Likewise.
410 * gdb.base/sigstep.exp: Likewise.
411 * gdb.base/structs.exp: Likewise.
412 * gdb.base/testenv.exp: Likewise.
413 * gdb.base/twice.exp: Likewise.
414 * gdb.base/valgrind-db-attach.exp: Likewise.
415 * gdb.base/valgrind-infcall.exp: Likewise.
416 * gdb.base/varargs.exp: Likewise.
417 * gdb.base/watchpoint.exp: Likewise.
418 * gdb.cp/gdb1355.exp: Likewise.
419 * gdb.cp/misc.exp: Likewise.
420 * gdb.disasm/hppa.exp: Likewise.
421 * gdb.disasm/t01_mov.exp: Likewise.
422 * gdb.disasm/t02_mova.exp: Likewise.
423 * gdb.disasm/t03_add.exp: Likewise.
424 * gdb.disasm/t04_sub.exp: Likewise.
425 * gdb.disasm/t05_cmp.exp: Likewise.
426 * gdb.disasm/t06_ari2.exp: Likewise.
427 * gdb.disasm/t07_ari3.exp: Likewise.
428 * gdb.disasm/t08_or.exp: Likewise.
429 * gdb.disasm/t09_xor.exp: Likewise.
430 * gdb.disasm/t10_and.exp: Likewise.
431 * gdb.disasm/t11_logs.exp: Likewise.
432 * gdb.disasm/t12_bit.exp: Likewise.
433 * gdb.disasm/t13_otr.exp: Likewise.
434 * gdb.gdb/selftest.exp: Likewise.
435 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
436 * gdb.mi/mi-reverse.exp: Likewise.
437 * gdb.pascal/floats.exp: Likewise.
438 * gdb.python/py-inferior.exp: Likewise.
439 * gdb.threads/attach-into-signal.exp: Likewise.
440 * gdb.threads/pthreads.exp: Likewise.
441 * gdb.threads/thread_events.exp: Likewise.
442 * gdb.threads/watchthreads.exp: Likewise.
443 * gdb.trace/actions-changed.exp: Likewise.
444 * gdb.trace/actions.exp: Likewise.
445 * gdb.trace/ax.exp: Likewise.
446 * gdb.trace/backtrace.exp: Likewise.
447 * gdb.trace/change-loc.exp: Likewise.
448 * gdb.trace/deltrace.exp: Likewise.
449 * gdb.trace/disconnected-tracing.exp: Likewise.
450 * gdb.trace/ftrace.exp: Likewise.
451 * gdb.trace/infotrace.exp: Likewise.
452 * gdb.trace/passc-dyn.exp: Likewise.
453 * gdb.trace/passcount.exp: Likewise.
454 * gdb.trace/pending.exp: Likewise.
455 * gdb.trace/qtro.exp: Likewise.
456 * gdb.trace/range-stepping.exp: Likewise.
457 * gdb.trace/report.exp: Likewise.
458 * gdb.trace/save-trace.exp: Likewise.
459 * gdb.trace/status-stop.exp: Likewise.
460 * gdb.trace/strace.exp: Likewise.
461 * gdb.trace/tfile.exp: Likewise.
462 * gdb.trace/tfind.exp: Likewise.
463 * gdb.trace/trace-break.exp: Likewise.
464 * gdb.trace/tracecmd.exp: Likewise.
465 * gdb.trace/trace-mt.exp: Likewise.
466 * gdb.trace/tspeed.exp: Likewise.
467 * gdb.trace/tsv.exp: Likewise.
468 * gdb.trace/while-stepping.exp: Likewise.
469 * lib/gdb.exp: Likewise.
470 * lib/gdbserver-support.exp: Likewise.
471 * lib/java.exp: Likewise.
472 * lib/mi-support.exp: Likewise.
473 * lib/pascal.exp: Likewise.
474 * lib/prompt.exp: Likewise.
475 * lib/trace-support.exp: Likewise.
476
477 2013-06-07 Pedro Alves <palves@redhat.com>
478
479 * gdb.ada/info_types.c: Fix formating in copyright header.
480 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
481 * gdb.base/float.c: Likewise.
482 * gdb.base/inferior-died.c: Likewise.
483 * gdb.base/interp.c: Likewise.
484 * gdb.base/jit-main.c: Likewise.
485 * gdb.base/jit-solib.c: Likewise.
486 * gdb.base/long_long.c: Likewise.
487 * gdb.base/longjmp.c: Likewise.
488 * gdb.base/nextoverexit.c: Likewise.
489 * gdb.base/pr11022.c: Likewise.
490 * gdb.base/prelink-lib.c: Likewise.
491 * gdb.base/prelink.c: Likewise.
492 * gdb.base/prologue.c: Likewise.
493 * gdb.base/restore.c: Likewise.
494 * gdb.base/sigchld.c: Likewise.
495 * gdb.base/solib-search-lib1.c: Likewise.
496 * gdb.base/solib-search-lib2.c: Likewise.
497 * gdb.base/solib-search.c: Likewise.
498 * gdb.base/solib-search.h: Likewise.
499 * gdb.base/whatis.c: Likewise.
500 * gdb.cp/abstract-origin.cc: Likewise.
501 * gdb.cp/anon-struct.cc: Likewise.
502 * gdb.cp/baseenum.cc: Likewise.
503 * gdb.cp/bs15503.cc: Likewise.
504 * gdb.cp/call-c-1.c: Likewise.
505 * gdb.cp/call-c.cc: Likewise.
506 * gdb.cp/class2.cc: Likewise.
507 * gdb.cp/classes.cc: Likewise.
508 * gdb.cp/cttiadd.cc: Likewise.
509 * gdb.cp/cttiadd1.cc: Likewise.
510 * gdb.cp/cttiadd2.cc: Likewise.
511 * gdb.cp/cttiadd3.cc: Likewise.
512 * gdb.cp/derivation.cc: Likewise.
513 * gdb.cp/derivation2.cc: Likewise.
514 * gdb.cp/dispcxx.cc: Likewise.
515 * gdb.cp/exception.cc: Likewise.
516 * gdb.cp/gdb2384-base.cc: Likewise.
517 * gdb.cp/gdb2384-base.h: Likewise.
518 * gdb.cp/gdb2384.cc: Likewise.
519 * gdb.cp/gdb2495.cc: Likewise.
520 * gdb.cp/mb-inline.h: Likewise.
521 * gdb.cp/mb-inline1.cc: Likewise.
522 * gdb.cp/mb-inline2.cc: Likewise.
523 * gdb.cp/member-name.cc: Likewise.
524 * gdb.cp/member-ptr.cc: Likewise.
525 * gdb.cp/misc.cc: Likewise.
526 * gdb.cp/namespace1.cc: Likewise.
527 * gdb.cp/nextoverthrow.cc: Likewise.
528 * gdb.cp/pr-574.cc: Likewise.
529 * gdb.cp/pr9631.cc: Likewise.
530 * gdb.cp/printmethod.cc: Likewise.
531 * gdb.cp/psmang1.cc: Likewise.
532 * gdb.cp/psmang2.cc: Likewise.
533 * gdb.cp/psymtab-parameter.cc: Likewise.
534 * gdb.cp/ptype-flags.cc: Likewise.
535 * gdb.cp/ref-params.cc: Likewise.
536 * gdb.cp/ref-types.cc: Likewise.
537 * gdb.cp/smartp.cc: Likewise.
538 * gdb.cp/try_catch.cc: Likewise.
539 * gdb.cp/userdef.cc: Likewise.
540 * gdb.cp/using-crash.cc: Likewise.
541 * gdb.cp/virtfunc.cc: Likewise.
542 * gdb.cp/virtfunc2.cc: Likewise.
543 * gdb.dwarf2/callframecfa.S: Likewise.
544 * gdb.dwarf2/dw2-ranges.c: Likewise.
545 * gdb.dwarf2/dw2-ranges2.c: Likewise.
546 * gdb.dwarf2/dw2-ranges3.c: Likewise.
547 * gdb.dwarf2/dw2-restore.S: Likewise.
548 * gdb.dwarf2/pieces.S: Likewise.
549 * gdb.dwarf2/valop.S: Likewise.
550 * gdb.java/jnpe.java: Likewise.
551 * gdb.mi/mi-stepn.c: Likewise.
552 * gdb.mi/mi-var-cp.cc: Likewise.
553 * gdb.mi/mi-var-rtti.cc: Likewise.
554 * gdb.mi/ns-stale-regcache.c: Likewise.
555 * gdb.mi/pr11022.c: Likewise.
556 * gdb.mi/solib-lib.c: Likewise.
557 * gdb.mi/solib-main.c: Likewise.
558 * gdb.python/py-arch.c: Likewise.
559 * gdb.python/py-block.c: Likewise.
560 * gdb.python/py-breakpoint.c: Likewise.
561 * gdb.python/py-events.c: Likewise.
562 * gdb.python/py-evthreads.c: Likewise.
563 * gdb.python/py-explore.c: Likewise.
564 * gdb.python/py-explore.cc: Likewise.
565 * gdb.python/py-finish-breakpoint.c: Likewise.
566 * gdb.python/py-finish-breakpoint2.cc: Likewise.
567 * gdb.python/py-symbol.c: Likewise.
568 * gdb.threads/execl.c: Likewise.
569 * gdb.threads/execl1.c: Likewise.
570
571 2013-06-07 Will Newton <will.newton@linaro.org>
572
573 * gdb.base/long_long.exp: Fix ARM EABI target glob.
574
575 2013-06-07 Will Newton <will.newton@linaro.org>
576
577 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
578 and "starting".
579
580 2013-06-07 Will Newton <will.newton@linaro.org>
581
582 * gdb.cp/anon-struct.exp: Conditionalize constructor and
583 destructor prototypes for ARM ABI.
584 * gdb.cp/m-static.exp: Likewise.
585
586 2013-06-07 Yao Qi <yao@codesourcery.com>
587
588 * gdb.trace/mi-trace-unavailable.exp: New.
589 * gdb.trace/trace-unavailable.c: New.
590
591 2013-06-06 Doug Evans <dje@google.com>
592
593 * gdb.cp/derivation.exp: Make tests have unique names.
594
595 2013-06-06 Tom Tromey <tromey@redhat.com>
596
597 * gdb.base/dump.exp (capture_value): Don't put expression into
598 test name if arguments passed in.
599 Rename a couple more tests to make them unique.
600
601 2013-06-06 Tom Tromey <tromey@redhat.com>
602
603 * gdb.base/break-always.exp: Explicitly specify test name.
604
605 2013-06-05 Doug Evans <dje@google.com>
606 Keith Seitz <keiths@redhat.com>
607
608 * gdb.cp/derivation2.cc: New file.
609 * gdb.cp/derivation.cc (main): Call foo2.
610 * gdb.cp/derivation.exp: Add tests for typedefs in another
611 file, and when there's an active block.
612
613 2013-06-05 Luis Machado <lgustavo@codesourcery.com>
614
615 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
616 from targets that use function descriptors in the virtual tables.
617 Handle presence of dot symbols.
618
619 2013-06-04 Gary Benson <gbenson@redhat.com>
620
621 * gdb.base/break-probes.exp: New file.
622 * gdb.base/break-probes.c: Likewise.
623 * gdb.base/break-probes-solib.c: Likewise.
624 * gdb.base/info-shared.exp: New file.
625 * gdb.base/info-shared.c: Likewise.
626 * gdb.base/info-shared-solib1.c: Likewise.
627 * gdb.base/info-shared-solib2.c: Likewise.
628
629 2013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
630 Gary Benson <gbenson@redhat.com>
631
632 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
633 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
634 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
635 to be set to "no" to indicate that no ld.so copy should be made.
636 * gdb.base/break-interp.exp (solib_bp): New constant.
637 (reach_1): Use the above instead of "_dl_debug_state".
638 (test_attach): Likewise.
639 (test_ld): Likewise.
640 * gdb.threads/dlopen-libpthread.exp: New file.
641 * gdb.threads/dlopen-libpthread.c: Likewise.
642 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
643 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
644
645 2013-05-30 Yao Qi <yao@codesourcery.com>
646
647 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
648 Add a test that no MI notification is emitted when executing
649 -exec-arguments.
650
651 2013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
652
653 PR testsuite/12649
654 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
655 $mi_gdb_prompt expectation by mi_expect_stop.
656 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
657 (mi info dprintf second time): Replace them by mi_send_resuming_command
658 and mi_expect_stop.
659
660 2013-05-24 Gary Benson <gbenson@redhat.com>
661
662 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
663 backslash.
664 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
665 backslashes.
666 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
667 backslash.
668
669 2013-05-24 Yao Qi <yao@codesourcery.com>
670
671 * gdb.trace/tfile.exp: Test inferior and thread.
672
673 2013-05-24 Yao Qi <yao@codesourcery.com>
674 Pedro Alves <palves@redhat.com>
675
676 * gdb.base/range-stepping.exp: Skip the rest of tests if the
677 test fails.
678 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
679 Return 0 if the test passes, otherwise return 1.
680
681 2013-05-23 Doug Evans <dje@google.com>
682
683 * boards/fission-dwp.exp: New file.
684
685 2013-05-23 Yao Qi <yao@codesourcery.com>
686 Pedro Alves <palves@redhat.com>
687
688 * gdb.base/range-stepping.c: New file.
689 * gdb.base/range-stepping.exp: New file.
690 * gdb.trace/range-stepping.c: New file.
691 * gdb.trace/range-stepping.exp: New file.
692 * lib/range-stepping-support.exp: New file.
693
694 2013-05-22 Tom Tromey <tromey@redhat.com>
695
696 * gdb.cp/class2.cc (main): New local 'aref'.
697 * gdb.cp/class2.exp: Check printing of 'aref'.
698
699 2013-05-22 Doug Evans <dje@google.com>
700
701 * gdb.threads/wp-replication.c (main): Insert some code at the start
702 to ensure the breakpoint on main is only hit once. Fix comment.
703
704 2013-05-21 Keith Seitz <keiths@redhat.com>
705 Pedro Alves <palves@redhat.com>
706
707 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
708 gdb_expect.
709 Add test to flush the remaining input buffer so that this
710 file passes testsuite/12649.
711
712 2013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
713
714 * gdb.base/catch-signal-fork.exp: New file.
715 * gdb.base/catch-signal-fork.c: New file.
716
717 2013-05-21 Sterling Augustine <saugustine@google.com>
718
719 * boards/remote-stdio-gdbserver.exp: New file.
720
721 2013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
722
723 PR testsuite/12649
724 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
725 racy matches.
726
727 2013-05-21 Christian Groessler <chris@groessler.org>
728
729 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
730 since it's not supported in all shells.
731
732 2013-05-21 Hui Zhu <hui@codesourcery.com>
733
734 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
735 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
736
737 2013-05-20 Doug Evans <dje@google.com>
738
739 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
740 (_handle_DW_TAG): Use it.
741 (cu, tu): Replace parameters is_64, version, addr_size with options.
742 All callers updated. Add Fission support.
743 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
744 * gdb.dwarf2/method-ptr.exp: Ditto.
745 * gdb.dwarf2/nostaticblock.exp: Ditto.
746 * gdb.dwarf2/subrange.exp: Ditto.
747 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
748
749 2013-05-20 Tom Tromey <tromey@redhat.com>
750
751 * gdb.gdb/python-selftest.exp: New file.
752
753 2013-05-20 Doug Evans <dje@google.com>
754
755 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
756 -fdebug-types-section.
757
758 2013-05-20 Joel Brobecker <brobecker@adacore.com>
759
760 * gdb.ada/float_param: New testcase.
761
762 2013-05-17 Doug Evans <dje@google.com>
763
764 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
765 Add tests for "maint check-symtabs", "maint expand-symtabs".
766
767 * gdb.base/maint.exp: Remove testing of individual maint command
768 help output.
769
770 2013-05-16 Pedro Alves <palves@redhat.com>
771
772 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
773 comment. Use gdb_test_no_output.
774
775 2013-05-16 Joel Brobecker <brobecker@adacore.com>
776
777 * gdb.ada/complete.exp: Add test verifying completion using
778 the "tab" key.
779
780 2013-05-15 Keith Seitz <keiths@redhat.com>
781
782 * gdb.base/filesym.exp: New completer test.
783 * gdb.base/filesym.c: New file.
784
785 2013-05-15 Pedro Alves <palves@redhat.com>
786
787 * gdb.base/fixsection.c: Remove attribution.
788 * gdb.base/watch-read.exp: Ditto.
789
790 2013-05-13 Tom Tromey <tromey@redhat.com>
791
792 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
793 size and change type sizes to 4 bytes.
794
795 2013-05-13 Tom Tromey <tromey@redhat.com>
796
797 * gdb.base/exprs.exp (test_expr): Add regression test.
798 * gdb.base/exprs.c (null_t_struct): New global.
799
800 2013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
801
802 * gdb.base/default.exp: Disable history saving.
803 * gdb.base/setshow.exp: Likewise.
804
805 2013-05-10 Pedro Alves <palves@redhat.com>
806
807 PR remote/15455
808
809 * gdb.trace/qtro.c: New file.
810 * gdb.trace/qtro.exp: New file.
811
812 2013-05-10 Phil Muldoon <pmuldoon@redhat.com>
813
814 * gdb.python/py-framefilter.py: New File.
815 * gdb.python/py-framefilter-mi.exp: Ditto.
816 * gdb.python/py-framefilter.c: Ditto.
817 * gdb.python/py-framefilter-mi.exp: Ditto.
818 * gdb.python/py-framefilter-mi.c: Ditto,
819 * gdb.python/py-framefilter-gdb.py.in: Ditto.
820
821 2013-05-08 Tom Tromey <tromey@redhat.com>
822
823 * gdb.base/solib-search.exp: Set test name for "set
824 solib-search-path" test.
825
826 2013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
827
828 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
829 (set_a_tracepoint): Set tracepoint before prologue.
830 (run_trace_experiment): Test setup_tracepoints and 'break end'
831 in it.
832 (trace_buffer_normal): Remove.
833 (gdb_trace_circular_tests): Remove. Move tests to...
834 (top level): ...here. Call 'runto_main' before checking for
835 trace support. Use commands to check the support for circular
836 trace buffer and changing of trace buffer size. Add test
837 to calculate size of single frame. Use this size to
838 calculate the size of trace buffer. Use 'tfind pc func9'
839 instead of 'tfind 9'. Use 'with_test_prefix'.
840
841 2013-05-07 Tom Tromey <tromey@redhat.com>
842
843 * lib/selftest-support.exp: New file.
844 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
845 do_self_tests.
846 (setup_test, find_gdb): Remove.
847 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
848 do_self_tests.
849 (setup_test, find_gdb): Remove.
850 (test_observer): Don't call setup_test. Remove argument.
851 * gdb.gdb/selftest.exp: Load selftest-support.exp.
852 (find_gdb): Remove.
853 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
854 do_self_tests.
855 (setup_test, find_gdb): Remove.
856 (test_with_self): Don't call setup_test. Remove argument.
857
858 2013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
859
860 * gdb.arch/system-gcore.exp: Remove.
861 * gdb.arch/gcore.c: Remove.
862 * gdb.base/gcore.exp: Add "info reg system".
863
864 2013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
865
866 PR breakpoints/15413:
867 * gdb.base/pending.exp: Add test for completion of the "condition"
868 command for pending breakpoints.
869 * gdb.linespec/linespec.ex: Add test for completion of the
870 "condition" command when dealing with multiple locations.
871
872 2013-05-07 Luis Machado <lgustavo@codesourcery.com>
873
874 * gdb.threads/wp-replication.c: New file.
875 * gdb.threads/wp-replication.exp: New file.
876
877 2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
878
879 * gdb.xml/tdesc-regs.exp: Add case for nios2.
880
881 2013-05-06 Doug Evans <dje@google.com>
882
883 * gdb.base/solib-search-lib1.c: New file.
884 * gdb.base/solib-search-lib2.c: New file.
885 * gdb.base/solib-search.c: New file.
886 * gdb.base/solib-search.h: New file.
887 * gdb.base/solib-search.exp: New file.
888
889 * lib/gdb.exp (gdb_core_cmd): New function.
890 * gdb.arch/system-gcore.exp: Use it.
891 * gdb.arch/vsx-regs.exp: Ditto.
892 * gdb.base/gcore.exp: Ditto.
893 * gdb.threads/gcore-thread.exp: Ditto.
894
895 * gdb.reverse/shr.h: New file.
896 * gdb.reverse/shr1.c: New file.
897 * gdb.reverse/shr2.c: #include "shr.h".
898 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
899 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
900 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
901 Update tests using sleep/printf to use shr2.sl instead.
902 * gdb.reverse/solib-reverse.exp: Ditto.
903
904 2013-05-06 Tom Tromey <tromey@redhat.com>
905
906 * gdb.dwarf2/implptrconst.c: New file.
907 * gdb.dwarf2/implptrconst.exp: New file.
908 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
909 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
910 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
911
912 2013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
913
914 * gdb.base/catch-sig.c (main): Raise SIGINT.
915 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
916
917 2013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
918
919 * status-stop.exp (test_tstart_tstart): Check for error
920 returned by the second 'tstart' command.
921
922 2013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
923
924 * gdb.xml/maint_print_struct.exp: New file.
925 * gdb.xml/maint_print_struct.xml: New file.
926
927 2013-04-25 Tom Tromey <tromey@redhat.com>
928
929 * gdb.dwarf2/nostaticblock.exp: New file.
930
931 2013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
932
933 PR gdb/10462
934 * gdb.base/setshow.exp: Add test case.
935
936 2013-04-23 Hui Zhu <hui@codesourcery.com>
937
938 PR gdb/15293
939 * gdb.base/dprintf.exp: Add ignore command.
940
941 2013-04-23 Hui Zhu <hui@codesourcery.com>
942
943 PR gdb/15165
944 * gdb.base/save-bp.exp: Add test for dprintf.
945
946 2013-04-22 Tom Tromey <tromey@redhat.com>
947
948 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
949 notice_open_fds.
950
951 2013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
952
953 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
954 ldflags.
955
956 2013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
957
958 * gdb.arch/arm-bl-branch-dest.c: New file.
959 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
960
961 2013-04-19 Vladimir Kargov <kargov@gmail.com>
962 Pedro Alves <palves@redhat.com>
963
964 * gdb.arch/i386-float.S: New file.
965 * gdb.arch/i386-float.exp: New file.
966
967 2013-04-18 Luis Machado <lgustavo@codesourcery.com>
968
969 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
970 type void *.
971
972 2013-04-17 Doug Evans <dje@google.com>
973
974 * lib/dwarf.exp (Dwarf): New proc "tu".
975 * gdb.dwarf2/missing-sig-type.exp: New file.
976
977 2013-04-15 Siva Chandra Reddy <sivachandra@google.com>
978
979 Add option to link testcases with Pthreads library when
980 using 'prepare_for_testing' in tests.
981
982 * lib/gdb.exp (build_executable_from_specs): Use
983 gdb_compile_pthreads to compile if option "pthreads" is
984 specified.
985
986 2013-04-15 Tom Tromey <tromey@redhat.com>
987
988 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
989
990 2013-04-15 Tom Tromey <tromey@redhat.com>
991
992 * gdb.base/default.exp: Update for $_exception.
993 * gdb.cp/exceptprint.cc: New file.
994 * gdb.cp/exceptprint.exp: New file.
995 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
996
997 2013-04-15 Tom Tromey <tromey@redhat.com>
998
999 * gdb.cp/typeid.cc: New file.
1000 * gdb.cp/typeid.exp: New file.
1001
1002 2013-04-15 Tom Tromey <tromey@redhat.com>
1003
1004 * gdb.cp/exception.exp: Add "catch rethrow" tests.
1005
1006 2013-04-13 Yao Qi <yao@codesourcery.com>
1007
1008 * gdb.base/completion.exp: Test completion of command
1009 'target ctf' if target ctf is supported.
1010
1011 2013-04-10 Pedro Alves <palves@redhat.com>
1012
1013 * gdb.base/completion.exp: Test "set height", "set listsize" and
1014 "set trace-buffer-size" completion.
1015 * gdb.base/setshow.exp: Test "set height unlimited".
1016 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
1017 unlimited".
1018
1019 2013-04-10 Yao Qi <yao@codesourcery.com>
1020
1021 * gdb.trace/actions.exp: Save trace data to CTF.
1022 Change to ctf target if GDB supports, read CTF data in ctf
1023 target, and check the actions of tracepoints.
1024 * gdb.trace/while-stepping.exp: Likewise.
1025 * gdb.trace/report.exp: Test GDB saves trace data to CTF
1026 format and read CTF trace file if GDB supports.
1027 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
1028 target is supported, change to ctf target, read trace data and
1029 check output of command "tstatus".
1030 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
1031 read CTF data by target ctf and call check_tsv.
1032
1033 2013-04-10 Yao Qi <yao@codesourcery.com>
1034
1035 * gdb.trace/actions.exp (check_tracepoint): New.
1036 (top level): Start the tracing and check the actions of
1037 tracepoints. Save trace data to tfile format. Restart GDB
1038 and read trace file in tfile target. Check the actions of
1039 tracepoints again.
1040 * gdb.trace/while-stepping.exp: Likewise.
1041
1042 2013-04-10 Yao Qi <yao@codesourcery.com>
1043
1044 * gdb.trace/report.exp: Use standard_output_file for saved
1045 trace file.
1046
1047 2013-04-10 Hui Zhu <hui@codesourcery.com>
1048
1049 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
1050 (MISCELLANEOUS): Add dprintf-pendshr.sl.
1051 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
1052
1053 2013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1054
1055 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
1056 response.
1057
1058 2013-04-08 Pedro Alves <palves@redhat.com>
1059
1060 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
1061 the location.
1062
1063 2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1064
1065 * gdb.cp/cplabel.exp: Allow empty directory in file reported
1066 for breakpoint location.
1067
1068 2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1069
1070 * gdb.linespec/linespec.exp: Make dir/file:line tests
1071 conditional for non-remote hosts only.
1072
1073 2013-04-04 Stan Shebs <stan@codesourcery.com>
1074 Pedro Alves <palves@redhat.com>
1075
1076 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
1077 * gdb.trace/actions-changed.c: New file.
1078 * gdb.trace/actions-changed.exp: New file.
1079 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
1080 (gdb_trace_setactions_command): ... this. Add "actions_command"
1081 parameter, and handle it.
1082 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
1083
1084 2013-04-04 Yao Qi <yao@codesourcery.com>
1085
1086 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
1087 'step'.
1088
1089 2013-04-03 Yao Qi <yao@codesourcery.com>
1090
1091 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
1092 "tfile-basic.tf".
1093 (test_tfind_tfile): Likewise.
1094
1095 2013-04-03 Yao Qi <yao@codesourcery.com>
1096
1097 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
1098 "tfile-basic.tf" instead of "basic.tf".
1099 (write_error_trace_file): Pass argument "tfile-error.tf"
1100 instead of "error.tf".
1101 * gdb.trace/tfile.exp: Update tfile names to
1102 "tfile-basic.tf" and "tfile-error.tf".
1103
1104 2013-04-02 Sandra Loosemore <sandra@codesourcery.com>
1105
1106 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
1107 empty directory in file for breakpoint hit.
1108
1109 2013-03-29 Yao Qi <yao@codesourcery.com>
1110
1111 * gdb.base/completion.exp: Test completion of commands
1112 "target core", "target tfile" and "target exec".
1113 * gdb.trace/tfile.exp: Test completion of command
1114 "target tfile".
1115
1116 2013-03-28 Joel Brobecker <brobecker@adacore.com>
1117
1118 * gdb.ada/win_fu_syms: New testcase.
1119
1120 2013-03-28 Doug Evans <dje@google.com>
1121
1122 * gdb.base/maint.exp (maint print statistics): Update expected output.
1123
1124 2013-03-28 Pedro Alves <palves@redhat.com>
1125
1126 PR gdb/15294
1127
1128 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
1129 mean unlimited instead of $arg < 0.
1130 (test_listsize): Remove "listsize of 0 suppresses output" test.
1131 Test that "set listsize 0" ends up with an unlimited listsize.
1132
1133 2013-03-28 Pedro Alves <palves@redhat.com>
1134
1135 * gdb.base/list.exp (last_line): New global.
1136 (last_line_re): New global.
1137 (test_listsize, test_list_function, test_list_forward)
1138 (test_repeat_list_command, test_list_range)
1139 (test_list_filename_and_function): Use them.
1140 * gdb.base/list0.c: Comment the last line of the file with "last
1141 line".
1142
1143 2013-03-28 Pedro Alves <palves@redhat.com>
1144
1145 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
1146 list the whole file.
1147
1148 2013-03-28 Pedro Alves <palves@redhat.com>
1149
1150 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
1151 "set listsize".
1152
1153 2013-03-26 Keith Seitz <keiths@redhat.com>
1154
1155 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
1156 from passing.
1157
1158 2013-03-26 Pedro Alves <palves@redhat.com>
1159
1160 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
1161 until after GDB has run.
1162
1163 2013-03-26 Yao Qi <yao@codesourcery.com>
1164
1165 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
1166 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
1167
1168 2013-03-26 Markus Metzger <markus.t.metzger@intel.com>
1169
1170 * gdb.btrace/enable.exp: Add regression test.
1171
1172 2013-03-25 Tom Tromey <tromey@redhat.com>
1173
1174 * gdb.cp/m-static.exp: Add destructor-printing tests.
1175
1176 2013-03-25 Tom Tromey <tromey@redhat.com>
1177
1178 * gdb.cp/m-static.exp: Add constructor ptype tests.
1179 * gdb.cp/m-static.cc (single_constructor): New class.
1180 (main): Make instance of single_constructor.
1181
1182 2013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1183 Pedro Alves <palves@redhat.com>
1184
1185 * gdb.server/server-kill.c: New file.
1186 * gdb.server/server-kill.exp: New file.
1187
1188 2013-03-21 Pedro Alves <palves@redhat.com>
1189
1190 * gdb.trace/trace-buffer-size.exp (get default buffer size):
1191 Expect $gdb_prompt in gdb_test_multiple.
1192
1193 2013-03-21 Doug Evans <dje@google.com>
1194
1195 * gdb.base/maint.exp: Update tests for per-command stats.
1196
1197 2013-03-21 Tom Tromey <tromey@redhat.com>
1198
1199 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
1200 * gdb.cp/misc.exp: Add test for FILENAME:: case.
1201
1202 2013-03-20 Pedro Alves <palves@redhat.com>
1203
1204 PR gdb/15289
1205
1206 * gdb.base/remote.exp: Test
1207 "set remote hardware-watchpoint-limit -1",
1208 "set remote hardware-breakpoint-limit -1",
1209 "set remote hardware-watchpoint-limit 2147483647" and
1210 "set remote hardware-breakpoint-limit 2147483647".
1211
1212 2013-03-20 Pedro Alves <palves@redhat.com>
1213 Yao Qi <yao@codesourcery.com>
1214
1215 * gdb.trace/tfile.c: Add comments.
1216 (nonconstglob): New global.
1217 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
1218 global that is not covered by the trace frame. Test
1219 disassembling.
1220
1221 2013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1222
1223 * gdb.base/valgrind-infcall.exp
1224 (continue #$continue_count) <remote connection closed>
1225 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
1226 $valgrind_pid.
1227
1228 2013-03-15 Tom Tromey <tromey@redhat.com>
1229
1230 * gdb.cp/overload.cc (intintfunc): New.
1231 * gdb.cp/overload.exp: Add regression test.
1232
1233 2013-03-15 Yao Qi <yao@codesourcery.com>
1234
1235 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
1236 using with_test_prefix.
1237 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
1238 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
1239 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
1240 * gdb.threads/watchpoint-fork.exp (test): Likewise.
1241 * gdb.base/break-interp.exp (test_core): Likewise.
1242 (test_attach_gdb): Likewise.
1243 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1244 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1245 Likewise.
1246 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1247 * gdb.base/jit.exp (one_jit_test): Likewise.
1248 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
1249 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
1250 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
1251 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
1252 Likewise.
1253 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1254 Likewise.
1255 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
1256 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
1257 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
1258 (tracepoint_change_loc_2): Likewise.
1259 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1260 Likewise.
1261 (disconnected_tfind): Likewise.
1262 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
1263 Likewise.
1264 (test_tfind_remote): Likewise.
1265 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
1266 Likewise.
1267 (test_pending_resolved): Likewise.
1268 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
1269 Likewise.
1270 (test_upload_tsv): Likewise.
1271 * gdb.trace/pending.exp (pending_tracepoint_resolved):
1272 Likewise.
1273 (pending_tracepoint_works): Likewise.
1274 * gdb.trace/report.exp (use_collected_data): Likewise.
1275 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
1276 Likewise.
1277 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
1278 * gdb.trace/strace.exp (strace_info_marker): Likewise.
1279 (strace_trace_on_same_addr): Likewise.
1280 (strace_trace_on_diff_addr): Likewise.
1281 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
1282 (gdb_collect_locals_test): Likewise.
1283 (gdb_unavailable_registers_test): Likewise.
1284 (gdb_collect_globals_test): Likewise.
1285
1286 2013-03-15 Yao Qi <yao@codesourcery.com>
1287
1288 * gdb.base/condbreak.exp: Add semicolon back which was removed
1289 by my previous commit.
1290
1291 2013-03-14 Yao Qi <yao@codesourcery.com>
1292
1293 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
1294 'return'.
1295 (gdb_target_monitor, gdb_load): Likewise.
1296 * config/sid.exp (gdb_load): Likewise.
1297 * config/slite.exp (gdb_load): Likewise.
1298 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
1299 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
1300 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
1301 (single_step_until): Likewise.
1302 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1303 * gdb.arch/system-gcore.exp: Likewise.
1304 * gdb.base/bigcore.exp (extract_heap): Likewise.
1305 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
1306 * gdb.base/call-ar-st.exp: Likewise.
1307 * gdb.base/call-rt-st.exp: Likewise.
1308 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
1309 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
1310 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
1311 * gdb.base/corefile.exp: Likewise.
1312 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
1313 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
1314 * gdb.base/fixsection.exp: Likewise.
1315 * gdb.base/funcargs.exp: Likewise.
1316 * gdb.base/gcore-buffer-overflow.exp: Likewise.
1317 * gdb.base/gcore-relro.exp: Likewise.
1318 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
1319 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
1320 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
1321 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
1322 * gdb.base/list.exp: Likewise.
1323 (set_listsize): Likewise.
1324 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
1325 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
1326 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
1327 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
1328 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
1329 * gdb.base/setvar.exp: Likewise.
1330 (test_set): Likewise.
1331 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
1332 * gdb.base/solib-overlap.exp: Likewise.
1333 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
1334 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
1335 * gdb.base/watchpoint.exp (initialize): Likewise.
1336 (test_simple_watchpoint): Likewise.
1337 (test_disabling_watchpoints): Likewise.
1338 (test_watchpoint_triggered_in_syscall): Likewise.
1339 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
1340 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
1341 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
1342 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
1343 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
1344 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
1345 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1346 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1347 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
1348 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
1349 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1350 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
1351 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
1352 * gdb.mi/gdb792.exp: Likewise.
1353 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
1354 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
1355 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
1356 * gdb.threads/gcore-thread.exp: Likewise.
1357 (load_core): Likewise.
1358 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
1359 (test_startup, check_control_c): Likewise.
1360 * gdb.threads/sigstep-threads.exp: Likewise.
1361 * gdb.threads/thread_check.exp: Likewise.
1362 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
1363 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
1364 (set_a_tracepoint, trace_buffer_normal): Likewise.
1365 (gdb_trace_circular_tests): Likewise.
1366 * gdb.trace/collection.exp: Likewise.
1367 * gdb.trace/disconnected-tracing.exp: Likewise.
1368 * gdb.trace/infotrace.exp: Likewise.
1369 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1370 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1371 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
1372 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
1373 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
1374 * gdb.trace/stap-trace.exp: Likewise.
1375 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
1376 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
1377 * gdb.trace/trace-buffer-size.exp: Likewise.
1378 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
1379 * gdb.trace/unavailable.exp: Likewise.
1380 * gdb.trace/while-dyn.exp: Likewise.
1381 * lib/fortran.exp (set_lang_fortran): Likewise.
1382 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
1383 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
1384 (default_gdb_start, get_compiler_info): Likewise.
1385 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
1386 (get_debug_format, setup_xfail_format): Likewise.
1387 (rerun_to_main, gdb_skip_float_test): Likewise.
1388 (build_id_debug_filename_get, get_remotetimeout): Likewise.
1389 * lib/java.exp (set_lang_java): Likewise.
1390 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
1391 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
1392 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
1393 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
1394 * lib/objc.exp (set_lang_objc): Likewise.
1395 * lib/pascal.exp (set_lang_pascal): Likewise.
1396 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
1397 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
1398 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
1399
1400 2013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
1401
1402 PR c++/15203
1403 PR c++/15210
1404 * gdb.cp/m-static.cc (keepalive_int): New function.
1405 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
1406 * gdb.cp/m-static.exp: New test for `sintvar'.
1407
1408 2013-03-14 Yao Qi <yao@codesourcery.com>
1409
1410 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
1411 of 'tstatus' into tstatus_output.
1412 (top level): Save the trace data to tfile. Read trace file in
1413 tfile target. Check the trace status.
1414
1415 2013-03-13 Yao Qi <yao@codesourcery.com>
1416
1417 * gdb.trace/tsv.exp (check_tsv): New.
1418 (top level): Save a tfile on current trace session. Call
1419 check_tsv on live target. Load the tfile with target tfile
1420 and call check_tsv again.
1421
1422 2013-03-13 Yao Qi <yao@codesourcery.com>
1423
1424 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
1425 Replace some "gdb_test" with "gdb_test_no_output".
1426
1427 2013-03-12 Paul Hilfinger <hilfingr@adacore.com>
1428
1429 * gdb.ada/expr_delims.exp: New file.
1430 * gdb.ada/expr_delims/foo.adb: New file.
1431 * gdb.ada/expr_delims/pck.ads: New file.
1432 * gdb.ada/expr_delims/pck.adb: New file.
1433
1434 2013-03-11 Keith Seitz <keiths@redhat.com>
1435
1436 * watchpoint.exp (test_no_hw_watchpoints): Add test using
1437 both condition and thread. Then delete the watchpoint.
1438
1439 2013-03-11 Christian Himpel <christian.himpel@intel.com>
1440
1441 * Makefile.in: Add btrace testsuite.
1442 * configure: Regenerated.
1443 * configure.ac: Add btrace testsuite.
1444 * gdb.btrace/Makefile.in: New file.
1445 * gdb.btrace/enable.c: New file.
1446 * gdb.btrace/enable.exp: New file.
1447 * gdb.btrace/function_call_history.c: New file.
1448 * gdb.btrace/function_call_history.exp: New file.
1449 * gdb.btrace/instruction_history.c: New file.
1450 * gdb.btrace/instruction_history.exp: New file.
1451 * gdb.btrace/instruction_history.S: New file.
1452 * lib/gdb.exp: Add btrace skip proc.
1453
1454 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1455
1456 Fix entry-values if the callee called a noreturn function.
1457 * gdb.arch/amd64-tailcall-noret.S: New file.
1458 * gdb.arch/amd64-tailcall-noret.c: New file.
1459 * gdb.arch/amd64-tailcall-noret.exp: New file.
1460
1461 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1462
1463 Fix entry-values in C++ across CUs.
1464 * gdb.arch/amd64-tailcall-cxx.exp: New file.
1465 * gdb.arch/amd64-tailcall-cxx1.S: New file.
1466 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
1467 * gdb.arch/amd64-tailcall-cxx2.S: New file.
1468 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
1469
1470 2013-03-08 Stan Shebs <stan@codesourcery.com>
1471 Hafiz Abid Qadeer <abidh@codesourcery.com>
1472
1473 gdb/testsuite/
1474 * gdb.trace/trace-buffer-size.exp: New file.
1475 * gdb.trace/trace-buffer-size.c: New file.
1476
1477 2013-03-06 Pedro Alves <palves@redhat.com>
1478
1479 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
1480 doesn't support the tested optional feature, call "unsupported"
1481 with the same test message as the "pass" case, instead of calling
1482 "pass" with a different message. Use the same text for the "fail"
1483 cases too.
1484
1485 2013-03-06 Yao Qi <yao@codesourcery.com>
1486
1487 * gdb.trace/tstatus.exp: Remove the invocation of
1488 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
1489 (test_tracepoints): Don't set fast tracepoint.
1490 (top level): Don't check agent library is loaded or not.
1491
1492 2013-03-06 Yao Qi <yao@codesourcery.com>
1493
1494 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
1495 parentheses by "\\".
1496
1497 2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1498
1499 * gdb.linespec/base/one/thefile.cc (twodup): New.
1500 (m): Call it.
1501 * gdb.linespec/base/two/thefile.cc (dupname): New.
1502 (n): Call it.
1503 * gdb.linespec/break-ask.exp: New file.
1504 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
1505
1506 2013-02-28 Yao Qi <yao@codesourcery.com>
1507
1508 * gdb.trace/report.exp: Move some code to ...
1509 (use_collected_data): New.
1510 (top level): Call use_collected_data once on the live target.
1511 Save at file of the current trace session, load it with target
1512 tfile, and call use_collected_data again.
1513
1514 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1515
1516 * gdb.threads/fork-thread-pending.c (main): Add alarm.
1517
1518 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1519
1520 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
1521 Add final kill of ${valgrind_pid}.
1522
1523 2013-02-20 Siva Chandra Reddy <sivachandra@google.com>
1524
1525 * gdb.python/py-arch.c: New test case
1526 * gdb.python/py-arch.exp: New tests to test
1527 gdb.Architecture.disassemble
1528 * gdb.python/Makefile.in: Add py-arch to the list of
1529 EXECUTABLES.
1530
1531 2013-02-18 Tom Tromey <tromey@redhat.com>
1532
1533 * gdb.dwarf2/subrange.exp: New file.
1534
1535 2013-02-15 Pedro Alves <pedro@codesourcery.com>
1536 Hafiz Abid Qadeer <abidh@codesourcery.com>
1537
1538 * gdb.trace/tfile.exp: Add test for -trace-status command.
1539
1540 2013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1541
1542 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
1543 nanosleep by sleep.
1544
1545 2013-02-14 Pedro Alves <palves@redhat.com>
1546
1547 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
1548
1549 2013-02-14 Pedro Alves <pedro@codesourcery.com>
1550 Hafiz Abid Qadeer <abidh@codesourcery.com>
1551
1552 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
1553
1554 2013-02-12 Tom Tromey <tromey@redhat.com>
1555
1556 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
1557 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
1558
1559 2013-02-12 Pedro Alves <palves@redhat.com>
1560
1561 * gdb.base/catch-signal.c: Update copyright years.
1562 * gdb.base/catch-signal.exp: Update copyright years.
1563 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
1564 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
1565 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
1566 * gdb.dwarf2/dw2-error.S: Update copyright years.
1567 * gdb.dwarf2/dw2-error.c: Update copyright years.
1568 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
1569 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
1570 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
1571
1572 2013-02-12 Pedro Alves <palves@redhat.com>
1573
1574 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
1575 message.
1576 * gdb.base/sigaltstack.exp: Ditto.
1577 * gdb.base/siginfo.exp: Ditto.
1578 * gdb.base/sizeof.exp: Ditto.
1579
1580 2013-02-12 Pedro Alves <palves@redhat.com>
1581
1582 * gdb.mi/mi-basics.exp: Tweak intro comment.
1583 * gdb.mi/mi-break.exp: Tweak intro comment.
1584 * gdb.mi/mi-console.exp: Tweak intro comment.
1585 * gdb.mi/mi-file.exp: Tweak intro comment.
1586 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
1587 * gdb.mi/mi-return.exp: Tweak intro comment.
1588 * gdb.mi/mi-stepi.exp: Tweak intro comment.
1589 * gdb.mi/mi-until.exp: Tweak intro comment.
1590 * gdb.mi/mi-watch.exp: Tweak intro comment.
1591
1592 2013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1593
1594 * gdb.server/no-thread-db.exp: New file.
1595 * gdb.server/no-thread-db.c: New file.
1596 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
1597
1598 2013-02-11 Doug Evans <dje@google.com>
1599
1600 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
1601 two decfloats.
1602
1603 2013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
1604
1605 * gdb.base/bitfields.c (struct internalvartest): New declaration.
1606 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
1607
1608 2013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1609
1610 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
1611
1612 2013-02-06 Yao Qi <yao@codesourcery.com>
1613
1614 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
1615 to ...
1616 (test_create_delete_modify_tsv): ... here. New test on modifying
1617 the initial value of a tsv.
1618
1619 2013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1620
1621 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
1622 (cd .../rdir): ... here.
1623
1624 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1625
1626 * gdb.linespec/base/one/header.h: New file.
1627 * gdb.linespec/base/two/header.h: New file.
1628 * gdb.linespec/macro-relative.c: New file.
1629 * gdb.linespec/macro-relative.exp: New file.
1630
1631 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1632
1633 * gdb.base/fullpath-expand-func.c: New file.
1634 * gdb.base/fullpath-expand.c: New file.
1635 * gdb.base/fullpath-expand.exp: New file.
1636 * gdb.base/realname-expand-real.c: New file.
1637 * gdb.base/realname-expand.c: New file.
1638 * gdb.base/realname-expand.exp: New file.
1639
1640 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1641
1642 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
1643 * gdb.dwarf2/dw2-dir-file-name.c: New file.
1644
1645 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1646
1647 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
1648 (compare_filenames_for_search does not match)
1649 (compare_filenames_for_search does match): New tests.
1650
1651 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1652
1653 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
1654
1655 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1656
1657 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
1658
1659 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1660
1661 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
1662 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
1663 ${binfile}.mini_debuginfo-debuglink and
1664 ${binfile}.mini_debuginfo-debuglink.xz.
1665
1666 2013-02-01 Tom Tromey <tromey@redhat.com>
1667
1668 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
1669 attributes.
1670
1671 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1672 Tom Tromey <tromey@redhat.com>
1673
1674 * gdb.dwarf2/method-ptr.exp: Link with c++.
1675 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
1676
1677 2013-01-31 Tom Tromey <tromey@redhat.com>
1678
1679 * gdb.base/jit.exp (compile_jit_test): New proc.
1680 Add PIE tests.
1681
1682 2013-01-31 Tom Tromey <tromey@redhat.com>
1683
1684 * gdb.dwarf2/method-ptr.cc: New file.
1685 * gdb.dwarf2/method-ptr.exp: New file.
1686
1687 2013-01-31 Tom Tromey <tromey@redhat.com>
1688
1689 * lib/dwarf.exp (namespace Dwarf): New.
1690
1691 2013-01-29 Tom Tromey <tromey@redhat.com>
1692
1693 * gdb.dwarf2/fission-reread.exp: Add unload test.
1694
1695 2013-01-28 Doug Evans <dje@google.com>
1696
1697 * gdb.dwarf2/fission-loclists.exp: New file.
1698 * gdb.dwarf2/fission-loclists.S: New file.
1699
1700 2013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1701
1702 Code cleanup.
1703 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
1704 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
1705 and prepare_for_testing.
1706 * gdb.base/store.exp: Likewise.
1707
1708 2013-01-25 Tom Tromey <tromey@redhat.com>
1709
1710 * gdb.python/py-explore.exp: Expect the gdb prompt.
1711
1712 2013-01-25 Andrew Burgess <aburgess@broadcom.com>
1713
1714 * gdb.base/gnu_vector.c: New variable for use in tests.
1715 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
1716 changes in scalar to vector casting and widening.
1717 * gdb.python/py-type.c: New variables for use in tests.
1718 * gdb.python/py-type.exp: Update vector related tests to reflect
1719 changes in scalar to vector casting and widening.
1720
1721 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
1722
1723 * gdb.base/prologue-include.c: New file.
1724 * gdb.base/prologue-include.exp: New file.
1725 * gdb.base/prologue-include.h: New file.
1726
1727 2013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
1728
1729 PR gdb/13443
1730 * gdb.mi/mi-var-block.exp: Make test messages unique.
1731
1732 2013-01-23 Tom Tromey <tromey@redhat.com>
1733
1734 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
1735
1736 2013-01-23 Tom Tromey <tromey@redhat.com>
1737
1738 * gdb.cp/converts.cc (main): Initialize 'a'.
1739
1740 2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
1741
1742 * testsuite/gdb.python/frame.exp: Add a test for
1743 gdb.Frame.architecture() method.
1744
1745 2013-01-22 Pedro Alves <palves@redhat.com>
1746
1747 * gdb.base/annota1.exp (signal sent): No longer expect
1748 breakpoints-invalid.
1749 * gdb.cp/annota2.exp (continue until exit)
1750 (watch triggered on a.x): Ditto.
1751
1752 2013-01-22 Pedro Alves <palves@redhat.com>
1753
1754 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
1755 Adjust tests to breakpoints-invalid changes.
1756 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
1757 variables.
1758 Adjust tests to breakpoints-invalid changes.
1759
1760 2013-01-22 Pedro Alves <palves@redhat.com>
1761
1762 * gdb.base/annota1.exp (annotate ignore count change): Add
1763 expected output for failure case.
1764
1765 2013-01-22 Tom Tromey <tromey@redhat.com>
1766
1767 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
1768 call.
1769
1770 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
1771
1772 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
1773 * gdb.mi/mi-catch-load.exp: Ditto.
1774 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
1775 Also handle 'thread' field.
1776 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
1777 * gdb.mi/mi-watch.exp: Ditto.
1778 * lib/mi-support.exp: Ditto.
1779
1780 2013-01-21 Siva Chandra Reddy <sivachandra@google.com>
1781
1782 * gdb.python/py-explore.exp: Improve a test
1783
1784 2013-01-18  David Blaikie  <dblaikie@gmail.com>
1785
1786 * gdb.base/label.c (main): Correct the type of the second
1787 parameter.
1788
1789 2013-01-18 Tom Tromey <tromey@redhat.com>
1790
1791 * gdb.dwarf2/trace-crash.s: New file.
1792 * gdb.dwarf2/trace-crash.exp: New file.
1793
1794 2013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
1795
1796 PR gdb/13443
1797 * gdb.base/checkpoint.exp: Update test messages to make them
1798 unique.
1799
1800 2013-01-18 Yao Qi <yao@codesourcery.com>
1801
1802 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
1803 output of 'info tracepoints'.
1804 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1805 Likewise.
1806 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1807 * gdb.trace/disconnected-tracing.c (struct foo): New.
1808
1809 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1810
1811 * gdb.dwarf2/dw2-dos-drive.S: New file.
1812 * gdb.dwarf2/dw2-dos-drive.exp: New file.
1813
1814 2013-01-17 Doug Evans <dje@google.com>
1815
1816 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
1817 CXX_FOR_TARGET.
1818
1819 * boards/cc-with-tweaks.exp: New file.
1820
1821 2013-01-17 Tom Tromey <tromey@redhat.com>
1822
1823 * gdb.base/completion.exp: Add "set cp-abi" completion test.
1824
1825 2013-01-17 Pedro Alves <palves@redhat.com>
1826
1827 Merge dg-extract-results.sh from upstream (svn 195224).
1828
1829 2013-01-15 David Blaikie <dblaikie@gmail.com>
1830 * dg-extract-results.sh: Fix order of summary counts.
1831
1832 2013-01-15 David Blaikie <dblaikie@gmail.com>
1833 * dg-extract-results.sh: Constrain the start-of-log pattern.
1834
1835 2013-01-15 David Blaikie <dblaikie@gmail.com>
1836 * dg-extract-results.sh: Handle KPASSes.
1837
1838 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1839 * dg-extract-results.sh: Redirect grep output to /dev/null instead
1840 of grep -q.
1841
1842 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1843
1844 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
1845 interface.
1846 * gdb.base/jithost.c: New file.
1847 * gdb.base/jithost.h: New file.
1848 * gdb.base/jitreader.c : New file.
1849 * gdb.base/jit-protocol.h: New file.
1850
1851 2013-01-16 Tom Tromey <tromey@redhat.com>
1852
1853 * gdb.base/catch-signal.c: New file.
1854 * gdb.base/catch-signal.exp: New file.
1855
1856 2013-01-16 Tom Tromey <tromey@redhat.com>
1857
1858 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
1859
1860 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1861
1862 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
1863
1864 2013-01-14 Tom Tromey <tromey@redhat.com>
1865
1866 * gdb.base/completion.exp: Add "set gnutarget" test.
1867
1868 2013-01-14 Tom Tromey <tromey@redhat.com>
1869
1870 * gdb.dwarf2/dw2-restrict.S: New file.
1871 * gdb.dwarf2/dw2-restrict.c: New file.
1872 * gdb.dwarf2/dw2-restrict.exp: New file.
1873
1874 2013-01-14 Tom Tromey <tromey@redhat.com>
1875
1876 * gdb.dwarf2/dw2-error.exp: New file.
1877 * gdb.dwarf2/dw2-error.c: New file.
1878 * gdb.dwarf2/dw2-error.S: New file.
1879
1880 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1881
1882 * gdb.cp/parse-lang.cc: New file.
1883 * gdb.cp/parse-lang.exp: New file.
1884
1885 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1886
1887 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
1888 (set substitute-path): New test.
1889 (fullname present): Remove content.
1890 (substituted fullname): New test.
1891
1892 2013-01-13 Joel Brobecker <brobecker@adacore.com>
1893
1894 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
1895 check. Move $gdb_py_is_py24 value check right after.
1896
1897 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1898
1899 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
1900 targets.
1901
1902 2013-01-11 Yao Qi <yao@codesourcery.com>
1903
1904 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
1905 for dprintf.
1906 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1907 Check the fields in "=breakpoint-created" for dprintf.
1908
1909 2012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1910
1911 * gdb.mi/mi-fullname-deleted.exp: New file.
1912
1913 2012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1914
1915 * gdb.base/skip-solib.exp (info skip with pending file): Update the
1916 expected output.
1917 (info skip with pending file): Remove.
1918 (ignoring function in solib, info skip for function multiply): Update
1919 the expected output.
1920 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
1921 (info skip (delete 1), info skip after disabling all)
1922 (info skip after enabling all, info skip after disabling 4 2-3)
1923 (info skip after enabling 2-3, info skip 2-3)
1924 (info skip after deleting 2 3): Update the expected output.
1925 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
1926 statement to its initialization and return.
1927 * gdb.linespec/skip-two.exp: New file.
1928
1929 2012-12-19 Doug Evans <dje@google.com>
1930
1931 * gdb.base/maint.exp: Handle testing with .gdb_index.
1932
1933 2012-12-19 Joel Brobecker <brobecker@adacore.com>
1934
1935 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
1936 Cavium to FSF.
1937
1938 2012-12-19 Joel Brobecker <brobecker@adacore.com>
1939
1940 * dg-extract-results.sh: Update contact info in copyright notice.
1941 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
1942 GPL v3 or later. Update contact info.
1943 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
1944 gdb.threads/watchpoint-fork-mt.c,
1945 gdb.threads/watchpoint-fork-parent.c,
1946 gdb.threads/watchpoint-fork-st.c,
1947 gdb.threads/watchpoint-fork.h: Likewise.
1948
1949 2012-12-15 Yao Qi <yao@codesourcery.com>
1950
1951 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
1952 'installed' field in '=breakpoint-modified'.
1953 (test_reconnect): Check 'installed' field in
1954 '=breakpoint-modified' and '=breakpoint-created'.
1955
1956 * gdb.trace/actions.exp: Update test for 'installed' field.
1957 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
1958 (tracepoint_change_loc_2): Likewise.
1959 Check 'info tracepoint' display nothing else.
1960 * gdb.trace/deltrace.exp: Likewise.
1961 * gdb.trace/infotrace.exp: Likewise.
1962 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
1963 Likewise.
1964 * gdb.trace/passcount.exp: Likewise.
1965 * gdb.trace/tracecmd.exp: Likewise.
1966 * gdb.trace/while-stepping.exp: Likewise.
1967
1968 2012-12-14 Tom Tromey <tromey@redhat.com>
1969
1970 * gdb.cp/member-name.exp: New file.
1971 * gdb.cp/member-name.cc: New file.
1972
1973 2012-12-14 Tom Tromey <tromey@redhat.com>
1974
1975 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
1976
1977 2012-12-14 Doug Evans <dje@google.com>
1978
1979 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
1980 DW_OP_GNU_implicit_pointer is section-relative.
1981
1982 2012-12-14 Tom Tromey <tromey@redhat.com>
1983
1984 * gdb.base/info-proc.exp: Add core file tests.
1985
1986 2012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
1987
1988 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
1989
1990 2012-12-13 Doug Evans <dje@google.com>
1991
1992 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
1993 * gdb.multi/multi-arch.exp: Ditto.
1994
1995 2012-12-12 Keven Boell <keven.boell@intel.com>
1996
1997 * gdb.mi/mi-catch-load-so.c: New. Clone of the
1998 catch load test library source file.
1999 * gdb.mi/mi-catch-load.c: New. Clone of the catch
2000 load test source file.
2001 * gdb.mi/mi-catch-load.exp: New. Test file for
2002 basic MI -catch-load and -catch-unload tests.
2003
2004 2012-12-11 Paul Koning <paul_koning@dell.com>
2005
2006 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
2007 exception.
2008 (_iterator_except): New function.
2009 (ArrayPrinter): Use _iterator function instead of local _iterator
2010 class for Python 3 compatibility.
2011 (NoStringContainerPrinter): Use _iterator_except instead of
2012 _iterator.
2013 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
2014 execfile for Python 3 compatibility.
2015 * gdb.python/python.exp: Handle Python 2.4 exception traceback
2016 format in error_prompt test.
2017
2018 2012-12-10 Paul Koning <paul_koning@dell.com>
2019
2020 * gdb.base/charset.exp: Change print syntax for Python 3
2021 compatibility.
2022 * gdb.python/py-block.exp: Ditto.
2023 * gdb.python/py-breakpoint.exp: Ditto.
2024 * gdb.python/py-cmd.exp: Ditto.
2025 * gdb.python/py-events.py: Ditto.
2026 * gdb.python/py-finish-breakpoint.py: Ditto.
2027 * gdb.python/py-finish-breakpoint2.exp: Ditto.
2028 * gdb.python/py-finish-breakpoint2.py: Ditto.
2029 * gdb.python/py-frame-inline.exp: Ditto.
2030 * gdb.python/py-frame.exp: Ditto.
2031 * gdb.python/py-infthread.exp: Ditto.
2032 * gdb.python/py-objfile.exp: Ditto.
2033 * gdb.python/py-parameter.exp: Ditto.
2034 * gdb.python/py-progspace.exp: Ditto.
2035 * gdb.python/py-prompt.exp: Ditto.
2036 * gdb.python/py-symbol.exp: Ditto.
2037 * gdb.python/py-symtab.exp: Ditto.
2038 * gdb.python/py-template.exp: Ditto.
2039 * gdb.python/py-value-cc.exp: Ditto.
2040 * gdb.python/python.exp: Ditto.
2041 * gdb.python/source2.py: Ditto.
2042 * gdb.python/lib-types.exp: Change print syntax for Python 3
2043 compatibility.
2044 Use sorted() function rather than sort() method.
2045 Accept either int or long values for enum values.
2046 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
2047 execfile for Python 3 compatibility.
2048 * gdb.python/py-evsignal.exp: Ditto.
2049 * gdb.python/py-evthreads.exp: Ditto.
2050 * gdb.python/py-mi.exp: Ditto.
2051 * gdb.python/py-pp-maint.exp: Ditto.
2052 * gdb.python/py-prettyprint.exp: Ditto.
2053 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
2054 Python 3 compatibility.
2055 Skip tests for Python 2.4.
2056 * gdb.python/py-inferior.exp: Change print syntax for
2057 Python 3 compatibility.
2058 Use byte string rather than character string in memory write test
2059 if Python 3.
2060 * gdb.python/py-pp-maint.py: Change class declarations to "new
2061 class" syntax.
2062 * gdb.python/py-prettyprint.py: Change iterator class to generator
2063 function for Python 3 compatibility.
2064 Make all classes "new style".
2065 Fix indentation issue and stray semicolon.
2066 * gdb.python/py-shared.expChange print syntax for Python 3
2067 compatibility.
2068 Define "long" if Python 3.
2069 * gdb.python/py-type.exp: Change print syntax for Python 3
2070 compatibility.
2071 Accept either int or long values for enum values.
2072 * gdb.python/py-value.exp: Change print syntax for Python 3
2073 compatibility.
2074 Skip "long" and "unicode" tests if Python 3.
2075 Accept either "type" or "class" in type checks.
2076 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
2077 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
2078
2079 2012-12-10 Tom Tromey <tromey@redhat.com>
2080
2081 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
2082 (test): Add "two_cu" argument.
2083 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
2084 for types; allow two CUs.
2085
2086 2012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2087
2088 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
2089 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
2090
2091 2012-12-08 Yao Qi <yao@codesourcery.com>
2092 Pedro Alves <palves@redhat.com>
2093
2094 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
2095 '=breakpoint-created' when GDB merges the tracepoints of both
2096 sides.
2097
2098 2012-12-07 Tom Tromey <tromey@redhat.com>
2099
2100 * gdb.base/break1.c (enum some_enum, union some_union): New.
2101 (some_enum_global, some_union_global, some_value): New globals.
2102 * gdb.base/completion.exp: Add tag completion tests.
2103
2104 2012-12-07 Tom Tromey <tromey@redhat.com>
2105
2106 * gdb.base/completion.exp: Add tests for ptype and whatis
2107 completion.
2108
2109 2012-12-07 Joel Brobecker <brobecker@adacore.com>
2110
2111 * gdb.base/stale-infcall.exp: Fix copyright line.
2112
2113 2012-12-07 Joel Brobecker <brobecker@adacore.com>
2114
2115 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
2116
2117 2012-12-06 Pedro Alves <palves@redhat.com>
2118 Tom Tromey <tromey@redhat.com>
2119
2120 * gdb.base/exprs.exp: Add tests for cast to void.
2121
2122 2012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
2123
2124 * gdb.python/py-mi.exp: Correct expected results for attribute
2125 "dynamic" returned by -var-update.
2126 Add test case for correct handling of "diplayhint" for children
2127 of dynamic varobjs.
2128 * gdb.python/py-prettyprint.c (set_itme): New function.
2129 (bug_14741) New function.
2130 (main) Add call to bug_14741().
2131 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
2132
2133 2012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
2134
2135 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
2136 ${binfile}.funcsyms list.
2137
2138 2012-12-04 Yao Qi <yao@codesourcery.com>
2139
2140 PR gdb/13443
2141 * gdb.trace/actions.exp: Make test messages unique.
2142
2143 2012-11-29 Tom Tromey <tromey@redhat.com>
2144
2145 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
2146
2147 2012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
2148
2149 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
2150 * gdb.opencl/datatypes.exp: Likewise.
2151 * gdb.opencl/operators.exp: Likewise.
2152 * gdb.opencl/vec_comps.exp: Likewise.
2153
2154 2012-11-29 Jerome Guitton <guitton@adacore.com>
2155
2156 * gdb.ada/iwide: New testcase.
2157
2158 2012-11-29 Jerome Guitton <guitton@adacore.com>
2159
2160 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
2161 ptype test.
2162
2163 2012-11-29 Jerome Guitton <guitton@adacore.com>
2164
2165 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
2166 form {VARIANT_TYPE}ADDRESS.
2167
2168 2012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
2169
2170 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
2171 (func): New function.
2172 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
2173 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
2174 pointers to members with pointer-to-function type.
2175
2176 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2177 Tom Tromey <tromey@redhat.com>
2178
2179 * gdb.base/gnu-debugdata.exp: New file.
2180 * gdb.base/gnu-debugdata.c: New file.
2181 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
2182 (gdb_unload): Return 0 on success.
2183
2184 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2185
2186 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
2187
2188 2012-11-26 Joel Brobecker <brobecker@adacore.com>
2189
2190 * gdb.base/empty_exe.exp: New testcase.
2191
2192 2012-11-20 Mike Frysinger <vapier@gentoo.org>
2193
2194 * gdb.base/completion.exp: Add test for help aliases completion.
2195
2196 2012-11-20 Yao Qi <yao@codesourcery.com>
2197
2198 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2199 Don't test 'maint set show-debug-regs'.
2200 Use command 'set remotecache' instead of
2201 'set circular-trace-buffer'.
2202
2203 2012-11-16 Keith Seitz <keiths@redhat.com>
2204
2205 PR c++/13615
2206 * gdb.cp/baseenum.cc: New file.
2207 * gdb.cp/baseenum.exp: New file.
2208 * gdb.cp/derivation.cc (A): Add copyright.
2209 Add a typedef.
2210 (B): Use A::value_type instead of int. Change all references.
2211 (D): Use value_type instead of int. Change all references.
2212 (E): Likewise.
2213 (F); Likewise.
2214 (Z): New class.
2215 (ZZ): New class.
2216 (N, Base, Derived): New namespace and classes.
2217 (main): Add instances of Z and ZZ.
2218 Make sure all symbols from N are kept.
2219 * gdb.cp/derivation.exp: Update typedef changes in tests.
2220 Add tests for class typedefs both before and after starting
2221 the inferior.
2222 Add tests for searching for a typedef while stopped in a
2223 method.
2224
2225 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
2226
2227 * gdb.mi/mi-var-create-rtti.c: New file.
2228 * gdb.mi/mi-var-create-rtti.exp: New file.
2229
2230 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
2231
2232 * gdb.base/structs3.exp: Run to main before doing any tests.
2233
2234 2012-11-14 Andrew Burgess <aburgess@broadcom.com>
2235
2236 * gdb.python/py-type.exp: Uniquify test names.
2237
2238 2012-11-14 Yao Qi <yao@codesourcery.com>
2239
2240 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
2241 (thread_function) [DEBUG]: Call 'printf'.
2242 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
2243 command line if 'DEBUG=1' is passed to test.
2244 Remove a pattern to match inferior's output.
2245
2246 2012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
2247
2248 * gdb.mi/mi-fill-memory.exp: New test.
2249
2250 2012-11-12 Tom Tromey <tromey@redhat.com>
2251
2252 * gdb.base/completion.exp: Update for "info type-printers".
2253 * gdb.python/py-typeprint.cc: New file.
2254 * gdb.python/py-typeprint.exp: New file.
2255 * gdb.python/py-typeprint.py: New file.
2256
2257 2012-11-12 Tom Tromey <tromey@redhat.com>
2258
2259 * gdb.base/call-sc.exp: Use "ptype/r".
2260 * gdb.base/volatile.exp: Don't expect "int".
2261 * gdb.cp/ptype-flags.cc: New file.
2262 * gdb.cp/ptype-flags.exp: New file.
2263 * gdb.cp/templates.exp: Use ptype/r.
2264 (test_ptype_of_templates, test_template_typedef): Likewise.
2265 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
2266 argument. Handle template names and template parameters.
2267 * gdb.mi/mi-var-cmd.exp: Accept "long".
2268 * gdb.mi/mi-var-child.exp: Accept "long".
2269 * gdb.mi/mi-var-display.exp: Accept "long".
2270 * gdb.mi/mi2-var-child.exp: Accept "long".
2271
2272 2012-11-12 Tom Tromey <tromey@redhat.com>
2273
2274 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
2275 "ptype" from calls to cp_test_ptype_class.
2276 (test_enums): Likewise.
2277 * gdb.cp/derivation.exp: Remove "ptype" from calls to
2278 cp_test_ptype_class.
2279 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
2280 calls to cp_test_ptype_class.
2281 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
2282 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
2283 from calls to cp_test_ptype_class.
2284 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
2285 command here. Change "in_command" argument to "in_exp".
2286
2287 2012-11-10 Keith Seitz <keiths@redhat.com>
2288
2289 PR gdb/14288
2290 * gdb.base/printcmds.c: Add invalid_XXX globals
2291 for repeated byte tests.
2292 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
2293 * gdb.base/wchar.c (main): Add and construct a wchar_t
2294 array with repeated characters.
2295 * gdb.base/wchar.exp: Add repeated character tests.
2296
2297 2012-11-09 Andrew Burgess <aburgess@broadcom.com>
2298
2299 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
2300 disassembly output.
2301
2302 2012-11-09 Pedro Alves <palves@redhat.com>
2303
2304 PR gdb/14306
2305
2306 * gdb.multi/multi-arch-exec.c: New file.
2307 * gdb.multi/multi-arch-exec.exp: New file.
2308
2309 2012-11-09 Yao Qi <yao@codesourcery.com>
2310
2311 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
2312 (top level): Call it.
2313
2314 2012-11-09 Yao Qi <yao@codesourcery.com>
2315
2316 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
2317 typo.
2318
2319 2012-11-09 Pedro Alves <palves@redhat.com>
2320
2321 * gdb.multi/multi-arch.exp: New.
2322
2323 2012-11-08 Tom Tromey <tromey@redhat.com>
2324
2325 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
2326 core files, if possible.
2327 * gdb.base/siginfo-thread.c: New file
2328 * gdb.base/siginfo-thread.exp: New file
2329
2330 2012-11-08 Tom Tromey <tromey@redhat.com>
2331
2332 * gdb.base/comprdebug.exp: New file.
2333
2334 2012-11-06 Pedro Alves <palves@redhat.com>
2335
2336 PR gdb/14810
2337
2338 * gdb.base/disabled-location.c: New file.
2339 * gdb.base/disabled-location.exp: New file.
2340
2341 2012-11-06 Tom Tromey <tromey@redhat.com>
2342
2343 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
2344 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
2345 gdb_gcore_cmd.
2346 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
2347 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
2348 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
2349 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
2350 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
2351 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
2352 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
2353 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
2354 * lib/gdb.exp (gdb_gcore_cmd): New proc.
2355
2356 2012-11-05 Pedro Alves <palves@redhat.com>
2357
2358 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
2359 procedure.
2360 (do_vfork_and_follow_child_tests_exec)
2361 (do_vfork_and_follow_child_tests_exit): Call it.
2362
2363 2012-11-05 Pedro Alves <palves@redhat.com>
2364
2365 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
2366 fails.
2367
2368 2012-11-03 Yao Qi <yao@codesourcery.com>
2369
2370 Fix PR gdb/14617.
2371 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2372 Remove setup_kfail, and update test.
2373
2374 2012-11-02 Tom Tromey <tromey@redhat.com>
2375
2376 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
2377 test.
2378
2379 2012-11-02 Pedro Alves <palves@redhat.com>
2380
2381 PR gdb/14766
2382
2383 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
2384 setup_kfail.
2385 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
2386 get registers".
2387
2388 2012-11-02 Pedro Alves <palves@redhat.com>
2389
2390 * gdb.base/foll-vfork-exit.c: New file.
2391 * gdb.base/foll-vfork.exp (top level): New file-describing
2392 comment.
2393 (vfork_child_follow_to_exit): New procedure.
2394 (tcatch_vfork_then_child_follow): Rename as ...
2395 (tcatch_vfork_then_child_follow_exec): ... this.
2396 (tcatch_vfork_then_child_follow_exit): New procedure.
2397 (do_vfork_and_follow_parent_tests): New procedure, factored out
2398 from do_vfork_and_exec_tests.
2399 (do_vfork_and_follow_child_tests_exec): Ditto.
2400 (do_vfork_and_exec_tests): Delete.
2401 (do_vfork_and_follow_child_tests_exit): New procedure.
2402 (top level): Run tests with both the program that has the vfork
2403 child execing, and the program has the vfork child exiting.
2404
2405 2012-11-02 Pedro Alves <palves@redhat.com>
2406
2407 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
2408 (check_vfork_catchpoints, vfork_parent_follow_through_step)
2409 (vfork_parent_follow_to_bp): Call it.
2410 (kill_child): Delete.
2411 (vfork_and_exec_child_follow_to_main_bp)
2412 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
2413 longer call kill_child.
2414 (tcatch_vfork_then_parent_follow): Call setup_gdb.
2415 (do_vfork_and_exec_tests): Don't runto_main before calling each
2416 test procedure.
2417 (top level): Don't clean restart and set verbose before running
2418 each test procedure.
2419
2420 2012-11-02 Pedro Alves <palves@redhat.com>
2421
2422 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
2423 (vfork_parent_follow_to_bp)
2424 (vfork_and_exec_child_follow_to_main_bp)
2425 (vfork_and_exec_child_follow_through_step)
2426 (tcatch_vfork_then_parent_follow)
2427 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
2428 Use with_test_prefix.
2429
2430 2012-11-02 Pedro Alves <palves@redhat.com>
2431
2432 * gdb.base/foll-vfork.c: Add copyright header.
2433 * gdb.base/vforked-prog.c: Add copyright header.
2434
2435 2012-11-02 Pedro Alves <palves@redhat.com>
2436
2437 * gdb.base/foll-vfork.exp
2438 (vfork_and_exec_child_follow_through_step): Don't skip on
2439 non-HP/UX targets. Expect the next to only step one line on
2440 non-HP/UX targets, rather than stopping only after the exec.
2441
2442 2012-11-02 Pedro Alves <palves@redhat.com>
2443
2444 Don't hard code line numbers.
2445
2446 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
2447 Expect text from the sources instead of a line number.
2448 (vfork_parent_follow_to_bp)
2449 (vfork_and_exec_child_follow_to_main_bp)
2450 (vfork_and_exec_child_follow_through_step)
2451 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
2452 Use gdb_get_line_number.
2453
2454 2012-11-02 Pedro Alves <palves@redhat.com>
2455
2456 Modernize.
2457
2458 * gdb.base/foll-vfork.exp: Use standard_testfile and
2459 build_executable. Pass descriptive string to untested.
2460 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
2461 (vfork_and_exec_child_follow_to_main_bp)
2462 (vfork_and_exec_child_follow_through_step)
2463 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
2464 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
2465 of send_gdb/gdb_expect.
2466
2467 (kill_child): New procedure.
2468 (vfork_and_exec_child_follow_to_main_bp)
2469 (vfork_and_exec_child_follow_through_step): Use it.
2470
2471 2012-11-02 Yao Qi <yao@codesourcery.com>
2472
2473 * gdb.base/setvar.exp: Test setting nested struct.
2474 * gdb.base/setvar.c (v_struct3): New.
2475
2476 2012-11-01 Doug Evans <dje@google.com>
2477
2478 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
2479 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
2480 use them.
2481
2482 2012-10-31 Andrew Burgess <aburgess@broadcom.com>
2483
2484 PR cli/14772
2485 * gdb.base/gnu_vector.c (union_with_vector_1)
2486 (struct_with_vector_1): Add new struct and union for testing
2487 ptype.
2488 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
2489 structs / unions containing vectors.
2490
2491 2012-10-25 Yao Qi <yao@codesourcery.com>
2492
2493 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
2494 'setup_kfail' instead of 'setup_kfail_for_target'.
2495 * gdb.base/varargs.exp: Likewise.
2496 * lib/gdb.exp (setup_kfail_for_target): Remove.
2497
2498 2012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
2499
2500 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
2501
2502 2012-10-25 Mark Kettenis <kettenis@gnu.org>
2503
2504 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
2505
2506 2012-10-24 Joel Brobecker <brobecker@adacore.com>
2507
2508 * gdb.ada/set_wstr: New testcase.
2509
2510 2012-10-24 Joel Brobecker <brobecker@adacore.com>
2511
2512 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
2513
2514 2012-10-24 Joel Brobecker <brobecker@adacore.com>
2515
2516 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
2517
2518 2012-10-24 Mark Kettenis <kettenis@gnu.org>
2519
2520 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
2521
2522 2012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2523
2524 * gdb.base/callfuncs.exp (do_function_calls): Fix
2525 setup_kfail_for_target for -m32 mode.
2526
2527 2012-10-23 Mark Kettenis <kettenis@gnu.org>
2528
2529 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
2530 are now fixed.
2531
2532 2012-10-23 Yao Qi <yao@codesourcery.com>
2533
2534 * gdb.base/info-os.exp: Resume the inferior until it exits.
2535
2536 2012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
2537
2538 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
2539 * gdb.base/print-file-var.exp: Likewise.
2540 * gdb.base/type-opaque.exp: Likewise.
2541
2542 2012-10-17 Yao Qi <yao@codesourcery.com>
2543
2544 * gdb.mi/mi-memory-changed.exp: New.
2545
2546 2012-10-16 Yao Qi <yao@codesourcery.com>
2547
2548 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
2549 returns true.
2550 Call gdb_load_shlibs.
2551 * gdb.reverse/solib-reverse.exp: Likewise.
2552
2553 2012-10-15 Keith Seitz <keiths@redhat.com>
2554
2555 * lib/cp-support.exp (cp_test_ptype_class): Add support
2556 for class typedefs.
2557
2558 * gdb.cp/derivation.exp: Add tests for g_instance.
2559
2560 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2561
2562 Fix entry values resolving in inlined frames.
2563 * gdb.arch/amd64-entry-value-inline.S: New file.
2564 * gdb.arch/amd64-entry-value-inline.c: New file.
2565 * gdb.arch/amd64-entry-value-inline.exp: New file.
2566
2567 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2568 Doug Evans <dje@google.com>
2569
2570 Fix recent gdb_breakpoint regression.
2571 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
2572 braces from the parameter.
2573 * gdb.java/jprint.exp: Likewise.
2574
2575 2012-10-15 Doug Evans <dje@google.com>
2576
2577 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
2578
2579 2012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
2580
2581 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
2582
2583 2012-10-15 Tom Tromey <tromey@redhat.com>
2584
2585 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
2586
2587 2012-10-15 Tom Tromey <tromey@redhat.com>
2588
2589 * gdb.python/py-symbol.exp: Test symbol destructor.
2590
2591 2012-10-14 Yao Qi <yao@codesourcery.com>
2592
2593 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
2594 * gdb.mi/mi-cli.exp: New.
2595
2596 * gdb.mi/mi2-basics.exp: Remove.
2597 * gdb.mi/mi2-break.exp: Remove.
2598 * gdb.mi/mi2-console.exp: Remove.
2599 * gdb.mi/mi2-disassemble.exp: Remove.
2600 * gdb.mi/mi2-eval.exp: Remove.
2601 * gdb.mi/mi2-file.exp: Remove.
2602 * gdb.mi/mi2-hack-cli.exp: Remove.
2603 * gdb.mi/mi2-pthreads.exp: Remove.
2604 * gdb.mi/mi2-read-memory.exp: Remove.
2605 * gdb.mi/mi2-regs.exp: Remove.
2606 * gdb.mi/mi2-return.exp: Remove.
2607 * gdb.mi/mi2-simplerun.exp: Remove.
2608 * gdb.mi/mi2-stack.exp: Remove.
2609 * gdb.mi/mi2-stepi.exp: Remove.
2610 * gdb.mi/mi2-syn-frame.exp: Remove.
2611 * gdb.mi/mi2-until.exp: Remove.
2612 * gdb.mi/mi2-watch.exp: Remove.
2613 * gdb.mi/mi2-var-block.exp: Remove.
2614 * gdb.mi/mi2-var-cmd.exp: Remove.
2615 * gdb.mi/mi2-var-display.exp: Remove.
2616
2617 2012-10-12 Yao Qi <yao@codesourcery.com>
2618
2619 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
2620 trail '.*' on matching patterns.
2621
2622 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2623
2624 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
2625 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
2626 * gdb.arch/i386-disp-step.exp: Likewise.
2627 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2628 * gdb.arch/i386-prologue.exp: Likewise.
2629 * gdb.arch/i386-size-overlap.exp: Likewise.
2630 * gdb.arch/i386-size.exp: Likewise.
2631 * gdb.arch/i386-unwind.exp: Likewise.
2632
2633 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2634
2635 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
2636 * gdb.arch/i386-word.exp: Likewise.
2637
2638 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2639
2640 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
2641 is_ilp32_target to set nr_regs.
2642 * gdb.arch/i386-sse.exp: Likewise.
2643
2644 2012-10-11 Doug Evans <dje@google.com>
2645
2646 PR breakpoints/14643.
2647 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
2648 * gdb.linespec/thread.c: New file.
2649 * gdb.linespec/thread.exp: New file.
2650
2651 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
2652 Recognize "message" -> print pass and fail. Add eof case.
2653 (runto): Recognize message, no-message. Print pass/fail if requested,
2654 with same treatment as gdb_breakpoint.
2655 (runto_main): Pass no-message to runto.
2656 (gdb_internal_error_resync): Add log message.
2657 (gdb_file_cmd): Tweak internal error fail text for consistency.
2658
2659 2012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2660
2661 Fix crash during stepping on ppc32.
2662 * gdb.base/step-symless.c: New file.
2663 * gdb.base/step-symless.exp: New file.
2664
2665 2012-10-03 Doug Evans <dje@google.com>
2666
2667 PR symtab/14601
2668 * gdb.cp/using-crash.exp: New file.
2669 * gdb.cp/using-crash.cc: New file.
2670
2671 2012-10-02 Doug Evans <dje@google.com>
2672
2673 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
2674 more consistent.
2675 (runto,gdb_debug_format): Ditto.
2676 (gdb_file_cmd): Watch for eof in nested gdb_expect.
2677 Clean up logging and error messages.
2678
2679 2012-10-01 Andrew Burgess <aburgess@broadcom.com>
2680
2681 Test find command on unmapped memory.
2682 * gdb.base/find-unmapped.c: New file.
2683 * gdb.base/find-unmapped.exp: New file.
2684
2685 2012-09-29 Yao Qi <yao@codesourcery.com>
2686
2687 * gdb.trace/mi-tracepoint-changed.exp: New.
2688 * gdb.mi/mi-breakpoint-changed.exp: New.
2689 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
2690 * gdb.mi/pendshr2.c: New.
2691
2692 2012-09-28 Yao Qi <yao@codesourcery.com>
2693
2694 * gdb.mi/pr11022.exp: New.
2695 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
2696
2697 2012-09-27 Tom Tromey <tromey@redhat.com>
2698
2699 * gdb.cp/derivation.exp: Add regression test.
2700 * gdb.cp/derivation.cc (class V_base, class V_inter, class
2701 V_derived): New.
2702 (vderived): New global.
2703
2704 2012-09-26 Tom Tromey <tromey@redhat.com>
2705
2706 * gdb.dwarf2/dw2-common-block.S: New file.
2707 * gdb.dwarf2/dw2-common-block.exp: New file.
2708
2709 2012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2710
2711 * gdb.fortran/common-block.exp: New file.
2712 * gdb.fortran/common-block.f90: New file.
2713
2714 2012-09-26 Andrew Burgess <aburgess@broadcom.com>
2715
2716 * gdb.base/duplicate-bp.c: New file.
2717 * gdb.base/duplicate-bp.exp: New file.
2718
2719 2012-09-26 Yao Qi <yao@codesourcery.com>
2720
2721 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
2722
2723 Revert:
2724 2012-09-21 Yao Qi <yao@codesourcery.com>
2725
2726 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2727
2728 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2729
2730 * gdb.base/longest-types.c: New test case.
2731 * gdb.base/longest-types.exp: New test case.
2732
2733 2012-09-25 Yao Qi <yao@codesourcery.com>
2734
2735 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
2736
2737 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2738
2739 Fix internal error on canonicalization of clang types.
2740 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
2741 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
2742 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
2743
2744 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2745
2746 Fix disassemble without parameters in tailcall frame.
2747 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
2748
2749 2012-09-21 Andrew Burgess <aburgess@broadcom.com>
2750
2751 * gdb.dwarf2/dw2-op-out-param.S: New file.
2752 * gdb.dwarf2/dw2-op-out-param.exp: New file.
2753
2754 2012-09-21 Yao Qi <yao@codesourcery.com>
2755
2756 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2757
2758 2012-09-21 Yao Qi <yao@codesourcery.com>
2759
2760 * gdb.mi/mi-cli.exp: Remove.
2761 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
2762
2763 2012-09-21 Yao Qi <yao@codesourcery.com>
2764
2765 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
2766 "=record-started" notification.
2767
2768 2012-09-21 Yao Qi <yao@codesourcery.com>
2769
2770 * gdb.mi/mi-record-changed.exp: New.
2771 * gdb.mi/mi-reverse.exp: Adjust expected output.
2772
2773 2012-09-20 Tom Tromey <tromey@redhat.com>
2774
2775 * gdb.python/python.exp: Test atexit.register.
2776
2777 2012-09-20 Doug Evans <dje@google.com>
2778
2779 * boards/dwarf4-gdb-index.exp: New file.
2780
2781 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
2782 while running the tests.
2783
2784 2012-09-18 Joel Brobecker <brobecker@adacore.com>
2785
2786 * gdb.ada/bp_reset: New testcase.
2787
2788 2012-09-18 Yao Qi <yao@codesourcery.com>
2789
2790 * gdb.trace/mi-tsv-changed.exp: New.
2791
2792 2012-09-18 Yao Qi <yao@codesourcery.com>
2793
2794 * gdb.trace/mi-traceframe-changed.exp: New.
2795
2796 2012-09-17 Yao Qi <yao@codesourcery.com>
2797
2798 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
2799 when it is less than 0.
2800
2801 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2802
2803 PR 14119
2804 * gdb.arch/amd64-tailcall-ret.S: New file.
2805 * gdb.arch/amd64-tailcall-ret.c: New file.
2806 * gdb.arch/amd64-tailcall-ret.exp: New file.
2807 * gdb.reverse/amd64-tailcall-reverse.S: New file.
2808 * gdb.reverse/amd64-tailcall-reverse.c: New file.
2809 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
2810
2811 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2812
2813 PR 14548
2814 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
2815 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
2816 * gdb.reverse/singlejmp-reverse.S: New file.
2817 * gdb.reverse/singlejmp-reverse.c: New file.
2818 * gdb.reverse/singlejmp-reverse.exp: New file.
2819
2820 2012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2821
2822 Fix compatibility with old GCC (~4.1).
2823 * gdb.cp/converts.cc (my_enum_var): New variable.
2824
2825 2012-09-14 Andrew Burgess <aburgess@broadcom.com>
2826
2827 * gdb.xml/tdesc-regs.exp: Update expected output for new
2828 vector_size syntax of vector types.
2829
2830 2012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
2831
2832 Refactor Python "gdb" module into a proper Python package, by
2833 introducing a new "_gdb" module for code implemented in C, and
2834 using reload/__import__ instead of exec.
2835 * gdb.python/python.exp (Test stderr location): Update module
2836 location of GDB-specific sys.stderr.
2837 (Test stdout location): Ditto for sys.stdout.
2838
2839 2012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2840
2841 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
2842
2843 2012-09-12 Keith Seitz <keiths@redhat.com>
2844
2845 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
2846 conversion statement.
2847
2848 2012-09-12 Doug Evans <dje@google.com>
2849
2850 * gdb.base/help.exp: Remove testing of individual command help text,
2851 too much of a maintenance burden. Instead, test the functionality
2852 of "help" itself.
2853
2854 2012-09-11 Doug Evans <dje@google.com>
2855
2856 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
2857 breakpoint.
2858
2859 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
2860 * gdb.dwarf2/fission-reread.S: Ditto.
2861 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
2862 * gdb.dwarf2/fission-reread.exp: Ditto.
2863
2864 2012-09-11 Andrew Burgess <aburgess@broadcom.com>
2865
2866 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
2867
2868 2012-09-10 Joel Brobecker <brobecker@adacore.com>
2869
2870 * gdb.ada/optim_drec: New testcase.
2871
2872 2012-09-10 Doug Evans <dje@google.com>
2873
2874 * boards/fission.exp: Explicitly mark "board" as not remote.
2875
2876 2012-09-10 Keith Seitz <keiths@redhat.com>
2877
2878 PR gdb/13483
2879 * gdb.cp/converts.cc (A::A): Add ctor.
2880 (A::member_): Add member.
2881 (enum my_enum): New enumeration.
2882 (main): Add calls to foo1_7 with various
2883 permitted arguments.
2884 * gdb.cp/converts.exp: Add tests for boolean
2885 conversions permitted by the standard.
2886
2887 2012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
2888
2889 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
2890 avoid spurious results due to ~/.gdbinit.
2891 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
2892 $INTERNAL_GDBFLAGS in run command.
2893 * gdb.gdb/observer.exp (setup_test): Ditto.
2894 * gdb.gdb/selftest.exp (test_with_self): Ditto.
2895 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
2896
2897 2012-09-06 Doug Evans <dje@google.com>
2898
2899 * boards/fission.exp: New file.
2900
2901 * gdb.python/py-value.exp: Use clean_restart.
2902
2903 2012-09-05 Doug Evans <dje@google.com>
2904
2905 * gdb.base/info-macros.c: Fix whitespace.
2906
2907 2012-08-28 Pedro Alves <palves@redhat.com>
2908
2909 PR gdb/14428
2910
2911 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
2912
2913 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2914
2915 * gdb.base/break-caller-line.c: New file.
2916 * gdb.base/break-caller-line.exp: New file.
2917
2918 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2919
2920 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
2921 * gdb.arch/i386-cfi-notcurrent.S: New file.
2922 * gdb.arch/i386-cfi-notcurrent.exp: New file.
2923
2924 2012-08-27 Wei-cheng Wang <cole945@gmail.com>
2925 Yao Qi <yao@codesourcery.com>
2926 Pedro Alves <palves@redhat.com>
2927
2928 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
2929 New procedures.
2930 (top level): Add overlap checking tests.
2931
2932 2012-08-24 Tom Tromey <tromey@redhat.com>
2933
2934 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
2935 gdb_test_multiple fails for other reasons.
2936
2937 2012-08-24 Yao Qi <yao@codesourcery.com>
2938
2939 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
2940
2941 2012-08-23 Pedro Alves <palves@redhat.com>
2942
2943 * gdb.base/help.exp: Adjust to "handle" help text change.
2944
2945 2012-08-23 Yao Qi <yao@codesourcery.com>
2946
2947 * gdb.trace/disconnected-tracing.c (start, end): New.
2948 (main): Call start and end.
2949 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
2950 existing tests into this proc.
2951 (disconnected_tfind): New.
2952
2953 2012-08-23 Yao Qi <yao@codesourcery.com>
2954
2955 * boards/native-gdbserver.exp (${board}_upload): New.
2956 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
2957 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
2958 Execute tfile on remote target.
2959 Copy trace file from target to host.
2960
2961 2012-08-22 Joseph Myers <joseph@codesourcery.com>
2962
2963 * gdb.arch/thumb-bx-pc.S: New file.
2964 * gdb.arch/thumb-bx-pc.exp: New file.
2965
2966 2012-08-22 Tom Tromey <tromey@redhat.com>
2967
2968 * gdb.base/maint.exp: Update.
2969
2970 2012-08-22 Tom Tromey <tromey@redhat.com>
2971
2972 * lib/gdb.exp (skip_unwinder_tests): New proc.
2973 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
2974 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
2975
2976 2012-08-21 Tom Tromey <tromey@redhat.com>
2977
2978 * gdb.hp/gdb.aCC/exception.exp: Remove.
2979
2980 012-08-19 Andrew Pinski <apinski@cavium.com>
2981
2982 * gdb.arch/mips-octeon-bbit.c: New file.
2983 * gdb.arch/mips-octeon-bbit.exp: New Test.
2984
2985 012-08-19 Keith Seitz <keiths@redhat.com>
2986
2987 PR c++/14365
2988 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
2989 * gdb.dwarf2/dw2-anon-mptr.S: New file.
2990
2991 2012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2992
2993 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
2994 verbose -log by more specific untested call.
2995
2996 2012-08-18 Yao Qi <yao@codesourcery.com>
2997
2998 * gdb.trace/tfind.exp: Move tests on various command help before
2999 checking target supports trace.
3000 Fix the expected output of 'help tfind end'.
3001
3002 2012-08-17 Keith Seitz <keiths@redhat.com>
3003
3004 PR c++/13356
3005 * gdb.base/default.exp: Update all "check type" tests.
3006 * gdb.base/help.exp: Likewise.
3007 * gdb.base/setshow.exp: Likewise.
3008 * gdb.cp/converts.cc (foo1_type_check): New function.
3009 (foo2_type_check): New function.
3010 (foo3_type_check): New function.
3011 (main): Call new functions.
3012 * converts.exp: Add tests for integer-to-pointer conversions
3013 with/without strict type-checking.
3014
3015 2012-08-16 Mike Frysinger <vapier@gentoo.org>
3016
3017 * gdb.base/help.exp: Update expected output.
3018
3019 2012-08-16 Joel Brobecker <brobecker@adacore.com>
3020
3021 * gdb.ada/rdv_wait: New testcase.
3022
3023 2012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3024
3025 * gdb.base/attach-twice.exp: Remove excessive ps exec.
3026
3027 2012-08-13 Doug Evans <dje@google.com>
3028
3029 * gdb.base/help.exp: Update expected output.
3030 * gdb.base/default.exp: Update expected output of "show convenience".
3031
3032 2012-08-10 Doug Evans <dje@google.com>
3033
3034 * gdb.python/py-strfns.c: New file.
3035 * gdb.python/py-strfns.exp: New file.
3036 * gdb.python/py-type.exp (test_fields): Add vector tests.
3037
3038 2012-08-10 Mike Frysinger <vapier@gentoo.org>
3039
3040 PR cli/10436:
3041 * gdb.base/completion.exp: Add tests for handle completion.
3042
3043 2012-08-09 Yao Qi <yao@codesourcery.com>
3044
3045 * gdb.mi/mi-cmd-param-changed.exp: New.
3046 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
3047 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
3048 * gdb.mi/mi2-prompt.exp: Likewise.
3049
3050 2012-08-08 Doug Evans <dje@google.com>
3051
3052 * gdb.base/debug-expr.c: New file.
3053 * gdb.base/debug-expr.exp: New file.
3054 * gdb.base/exprs.exp: Test {type} casts.
3055 * gdb.cp/debug-expr.exp: New file.
3056
3057 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3058
3059 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
3060 global variable loop, not a 'break'. Add loop count limit to 100.
3061 Add new fail case for terminated vgdb.
3062
3063 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3064 Jean-Marc Saffroy <saffroy@gmail.com>
3065
3066 PR 11804
3067 * gdb.base/gcore-relro.exp: New file.
3068 * gdb.base/gcore-relro-main.c: New file.
3069 * gdb.base/gcore-relro-lib.c: New file.
3070
3071 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3072
3073 Do not false FAIL with old GCCs.
3074 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
3075 GCC < 4.5 in $no_hw mode.
3076
3077 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3078
3079 * gdb.base/default.exp (cd): Accept new directory with no arguments.
3080
3081 2012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3082
3083 * gdb.base/list.exp (test_only_end): New function.
3084 Call it.
3085
3086 2012-08-06 Tom Tromey <tromey@redhat.com>
3087
3088 * gdb.python/py-mi.exp: Add test for printer whose children
3089 are a list.
3090 * gdb.python/py-prettyprint.c (struct children_as_list): New.
3091 (main): New variable children_as_list.
3092 * gdb.python/py-prettyprint.py (class pp_children_as_list):
3093 New.
3094 (register_pretty_printers): Register new printer.
3095
3096 2012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
3097
3098 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
3099 symbols. Abort if vgdb remote connection is closed.
3100
3101 2012-08-02 Doug Evans <dje@google.com>
3102
3103 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
3104
3105 2012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
3106
3107 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
3108 s390x, PowerPC 64 and m68k-linux.
3109
3110 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3111
3112 * gdb.base/annota1.exp: Accept no frames-invalid notification
3113 when starting up the program.
3114 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
3115 show a symbolic value as well.
3116 * gdb.server/server-exec-info.exp: Skip test when skipping
3117 gdbserver test and/or when skipping shared library tests.
3118 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
3119 avoid name conflicts with other tests.
3120
3121 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3122
3123 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
3124 Fix wrong output on big-endian systems.
3125 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
3126 4-byte pointer types on 64-bit s390x.
3127
3128 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3129
3130 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
3131 marker comment at the beginning (after intialization).
3132 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
3133 breakpoint on marker comment instead of function begin.
3134 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
3135 PowerPC.
3136 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
3137 or 64-bit PowerPC.
3138 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
3139 gdb,no_hardware_watchpoints flag is set.
3140 (initialize): Remove now redundant can-use-hw-watchpoints change.
3141
3142 2012-08-02 Yao Qi <yao@codesourcery.com>
3143 Pedro Alves <palves@redhat.com>
3144
3145 * boards/local-remote-host.exp: New.
3146
3147 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3148
3149 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
3150 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
3151 * gdb.base/print-file-var.exp: Likewise.
3152 * gdb.server/solib-list.exp: Skip on remote targets.
3153
3154 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3155
3156 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
3157 watchpoints on ARM. When expecting software watchpoints, tolerate
3158 (remote) targets that report unsupported hardware watchpoint only
3159 at continue time.
3160 (test_wide_location_2): Likewise.
3161
3162 2012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3163
3164 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
3165 valgrind versions.
3166
3167 2012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3168
3169 * gdb.base/valgrind-infcall.c: New file.
3170 * gdb.base/valgrind-infcall.exp: New file.
3171
3172 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
3173
3174 2012-07-30 Keith Seitz <keiths@redhat.com>
3175
3176 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
3177 linespecs.
3178
3179 2012-07-30 Doug Evans <dje@google.com>
3180
3181 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
3182 * gdb.dwarf2/pr13961.S: Ditto.
3183
3184 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
3185
3186 2012-07-30 Andrew Burgess <aburgess@broadcom.com>
3187
3188 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
3189 change its format immediately after reloading the binary.
3190
3191 2012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3192
3193 Fix testsuite regression after --use-deprecated-index-sections removal.
3194 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
3195 string.
3196 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
3197
3198 2012-07-27 Yao Qi <yao@codesourcery.com>
3199
3200 KFAIL for PR remote/14161.
3201 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
3202 Cleanup socket files.
3203 (strace_info_marker): Detach inferior.
3204
3205 2012-07-26 Tom Tromey <tromey@redhat.com>
3206
3207 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
3208
3209 2012-07-26 Markus Metzger <markus.t.metzger@intel.com>
3210
3211 * gdb.python/py-inferior.c (thread): New function.
3212 (check_threads): New function.
3213 (test_threads): New function.
3214 * gdb.python/py-inferior.exp: Added test.
3215 Replaced runto with continue to breakpoint.
3216
3217 2012-07-26 Tom Tromey <tromey@redhat.com>
3218
3219 * lib/ada.exp (standard_ada_testfile): New proc.
3220 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
3221 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
3222 * gdb.ada/array_return.exp: Use standard_ada_testfile.
3223 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
3224 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
3225 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
3226 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
3227 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
3228 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
3229 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
3230 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
3231 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
3232 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
3233 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
3234 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
3235 * gdb.ada/char_param.exp: Use standard_ada_testfile.
3236 * gdb.ada/complete.exp: Use standard_ada_testfile.
3237 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
3238 standard_output_file.
3239 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
3240 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
3241 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
3242 standard_output_file.
3243 * gdb.ada/exprs.exp: Use standard_ada_testfile.
3244 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
3245 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
3246 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
3247 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
3248 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
3249 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
3250 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
3251 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
3252 * gdb.ada/homonym.exp: Use standard_ada_testfile.
3253 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
3254 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
3255 * gdb.ada/interface.exp: Use standard_ada_testfile.
3256 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
3257 standard_output_file
3258 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
3259 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
3260 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
3261 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
3262 * gdb.ada/nested.exp: Use standard_ada_testfile.
3263 * gdb.ada/null_array.exp: Use standard_ada_testfile.
3264 * gdb.ada/null_record.exp: Use standard_ada_testfile.
3265 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
3266 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
3267 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
3268 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
3269 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
3270 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
3271 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
3272 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
3273 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
3274 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
3275 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
3276 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
3277 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
3278 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
3279 * gdb.ada/start.exp: Use standard_ada_testfile.
3280 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
3281 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
3282 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
3283 * gdb.ada/tagged.exp: Use standard_ada_testfile.
3284 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
3285 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
3286 * gdb.ada/tasks.exp: Use standard_ada_testfile.
3287 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
3288 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
3289 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
3290 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
3291 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
3292 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
3293 * gdb.ada/widewide.exp: Use standard_ada_testfile.
3294
3295 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3296
3297 Fix testsuite regression after --use-deprecated-index-sections removal.
3298 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
3299
3300 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3301
3302 Fix compatibility with Tcl before 7.5.
3303 * lib/future.exp (lreverse): New function if it does not exist.
3304
3305 2012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
3306
3307 * gdb.mi/mi-pending.c: New method to set a second pending
3308 breakpoint.
3309 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
3310 condition.
3311
3312 2012-07-20 Pedro Alves <palves@redhat.com>
3313
3314 PR threads/11692
3315 PR gdb/12203
3316
3317 * gdb.threads/create-fail.c: New file.
3318 * gdb.threads/create-fail.exp: New file.
3319
3320 2012-07-19 Pedro Alves <palves@redhat.com>
3321
3322 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
3323 * config/vx.exp (gdb_start): Likewise.
3324 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
3325 * gdb.base/setvar.exp (test_set): Likewise.
3326 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
3327 * gdb.reverse/sigall-precsave.exp: Likewise.
3328 * gdb.reverse/sigall-reverse.exp: Likewise.
3329
3330 2012-07-19 Pedro Alves <palves@redhat.com>
3331
3332 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
3333 handler before recording.
3334
3335 2012-07-19 Tom Tromey <tromey@redhat.com>
3336
3337 * gdb.cp/casts.exp: Add tests for typeof and decltype.
3338 * gdb.cp/casts.cc (decltype): New function.
3339 (main): Use it.
3340
3341 2012-07-19 Pedro Alves <palves@redhat.com>
3342
3343 * gdb.base/sigall.exp (signals): New list.
3344 <top level>: Loop over signals in the $signals list instead of
3345 calling a test function once per signal.
3346 * gdb.reverse/sigall-precsave.exp (signals): New list.
3347 <top level>: Loop over signals in the $signals list instead of
3348 calling a test function once per signal.
3349 * gdb.reverse/sigall-reverse.exp (signals): New list.
3350 <top level>: Loop over signals in the $signals list instead of
3351 calling a test function once per signal.
3352
3353 2012-07-19 Yao Qi <yao@codesourcery.com>
3354
3355 * gdb.base/setshow.exp: Test 'set args ~'.
3356
3357 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3358
3359 * gdb.base/store.exp (check_set): Import gdb_prompt.
3360 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
3361 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
3362
3363 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3364
3365 PR 11914
3366 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
3367 (main): Call eval_sub.
3368 * gdb.python/py-prettyprint.exp:
3369 (python execfile ('py-prettyprint.py')): Move it earlier.
3370 New breakpoint for eval-break.
3371 (continue to breakpoint: eval-break, info locals): New test.
3372 (python execfile ('py-prettyprint.py')): Move it from here.
3373 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
3374 (register_pretty_printers): Register pp_eval_type.
3375
3376 2012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3377
3378 Fix a testcase regression by me.
3379 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
3380 DW_FORM_data4.
3381
3382 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3383 Doug Evans <dje@google.com>
3384
3385 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
3386 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
3387
3388 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3389
3390 Fix gdbserver run regression.
3391 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
3392
3393 2012-07-12 Tom Tromey <tromey@redhat.com>
3394
3395 * lib/gdb.exp (standard_testfile): Don't declare objdir.
3396 (clean_restart): Likewise.
3397 (core_find): Use standard_output_file.
3398
3399 2012-07-12 Tom Tromey <tromey@redhat.com>
3400
3401 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
3402 * gdb.dwarf2/dw2-anonymous-func.exp: Use
3403 prepare_for_testing_full.
3404 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
3405 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
3406 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
3407 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
3408 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
3409 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
3410 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
3411 prepare_for_testing_full.
3412 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
3413 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
3414 prepare_for_testing_full.
3415 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
3416 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
3417 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
3418
3419 2012-07-12 Tom Tromey <tromey@redhat.com>
3420
3421 * lib/gdb.exp (build_executable_from_specs): New proc, from
3422 build_executable.
3423 (build_executable): Use it.
3424 (prepare_for_testing_full): New proc.
3425
3426 2012-07-11 Tom Tromey <tromey@redhat.com>
3427
3428 * gdb.reverse/break-precsave.exp: Use standard_output_file.
3429 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
3430 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
3431 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
3432 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
3433 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
3434 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
3435 * gdb.reverse/step-precsave.exp: Use standard_output_file.
3436 * gdb.reverse/until-precsave.exp: Use standard_output_file.
3437 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
3438
3439 2012-07-10 Tom Tromey <tromey@redhat.com>
3440
3441 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
3442 standard_output_file.
3443 * gdb.mi/gdb2549.exp: Use standard_testfile.
3444 * gdb.mi/gdb669.exp: Use standard_testfile.
3445 * gdb.mi/gdb701.exp: Use standard_testfile.
3446 * gdb.mi/gdb792.exp: Use standard_testfile.
3447 * gdb.mi/mi-async.exp: Use standard_testfile.
3448 * gdb.mi/mi-basics.exp: Use standard_testfile.
3449 * gdb.mi/mi-break.exp: Use standard_testfile.
3450 * gdb.mi/mi-cli.exp: Use standard_testfile.
3451 * gdb.mi/mi-console.exp: Use standard_testfile.
3452 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
3453 * gdb.mi/mi-eval.exp: Use standard_testfile.
3454 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
3455 * gdb.mi/mi-file.exp: Use standard_testfile.
3456 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
3457 * gdb.mi/mi-logging.exp: Use standard_testfile.
3458 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
3459 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
3460 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
3461 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
3462 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
3463 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
3464 * gdb.mi/mi-pending.exp: Use standard_testfile,
3465 standard_output_file.
3466 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
3467 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
3468 * gdb.mi/mi-regs.exp: Use standard_testfile.
3469 * gdb.mi/mi-return.exp: Use standard_testfile.
3470 * gdb.mi/mi-reverse.exp: Use standard_testfile.
3471 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
3472 * gdb.mi/mi-solib.exp: Use standard_testfile,
3473 standard_output_file.
3474 * gdb.mi/mi-stack.exp: Use standard_testfile.
3475 * gdb.mi/mi-stepi.exp: Use standard_testfile.
3476 * gdb.mi/mi-stepn.exp: Use standard_testfile.
3477 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
3478 * gdb.mi/mi-until.exp: Use standard_testfile.
3479 * gdb.mi/mi-var-block.exp: Use standard_testfile.
3480 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
3481 * gdb.mi/mi-var-child.exp: Use standard_testfile.
3482 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
3483 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
3484 * gdb.mi/mi-var-display.exp: Use standard_testfile.
3485 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
3486 standard_output_file.
3487 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
3488 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
3489 * gdb.mi/mi-watch.exp: Use standard_testfile.
3490 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
3491 * gdb.mi/mi2-basics.exp: Use standard_testfile.
3492 * gdb.mi/mi2-break.exp: Use standard_testfile.
3493 * gdb.mi/mi2-cli.exp: Use standard_testfile.
3494 * gdb.mi/mi2-console.exp: Use standard_testfile.
3495 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
3496 * gdb.mi/mi2-eval.exp: Use standard_testfile.
3497 * gdb.mi/mi2-file.exp: Use standard_testfile.
3498 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
3499 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
3500 * gdb.mi/mi2-regs.exp: Use standard_testfile.
3501 * gdb.mi/mi2-return.exp: Use standard_testfile.
3502 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
3503 * gdb.mi/mi2-stack.exp: Use standard_testfile.
3504 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
3505 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
3506 * gdb.mi/mi2-until.exp: Use standard_testfile.
3507 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
3508 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
3509 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
3510 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
3511 * gdb.mi/mi2-watch.exp: Use standard_testfile.
3512
3513 2012-07-10 Tom Tromey <tromey@redhat.com>
3514
3515 * gdb.cp/abstract-origin.exp: Use standard_testfile.
3516 * gdb.cp/ambiguous.exp: Use standard_testfile,
3517 prepare_for_testing.
3518 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
3519 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
3520 * gdb.cp/anon-ns.exp: Use standard_testfile.
3521 * gdb.cp/anon-struct.exp: Use standard_testfile.
3522 * gdb.cp/anon-union.exp: Use standard_testfile,
3523 prepare_for_testing.
3524 * gdb.cp/arg-reference.exp: Use standard_testfile,
3525 prepare_for_testing.
3526 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
3527 * gdb.cp/breakpoint.exp: Use standard_testfile,
3528 prepare_for_testing.
3529 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
3530 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
3531 standard_output_file.
3532 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
3533 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
3534 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
3535 (test_static_members): Update.
3536 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
3537 * gdb.cp/converts.exp: Use standard_testfile.
3538 * gdb.cp/cp-relocate.exp: Use standard_testfile.
3539 * gdb.cp/cpcompletion.exp: Use standard_testfile,
3540 prepare_for_testing.
3541 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
3542 * gdb.cp/cplabel.exp: Use standard_testfile.
3543 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
3544 prepare_for_testing.
3545 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
3546 * gdb.cp/derivation.exp: Use standard_testfile,
3547 prepare_for_testing.
3548 * gdb.cp/destrprint.exp: Use standard_testfile.
3549 * gdb.cp/dispcxx.exp: Use standard_testfile.
3550 * gdb.cp/exception.exp: Use standard_testfile,
3551 prepare_for_testing.
3552 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
3553 * gdb.cp/extern-c.exp: Use standard_testfile,
3554 prepare_for_testing.
3555 * gdb.cp/formatted-ref.exp: Use standard_testfile,
3556 prepare_for_testing.
3557 * gdb.cp/fpointer.exp: Use standard_testfile.
3558 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
3559 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
3560 standard_output_file.
3561 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
3562 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
3563 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
3564 standard_output_file.
3565 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
3566 (do_tests): Update.
3567 * gdb.cp/koenig.exp: Use standard_testfile.
3568 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
3569 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
3570 * gdb.cp/m-static.exp: Use standard_testfile,
3571 prepare_for_testing.
3572 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
3573 * gdb.cp/mb-inline.exp: Use standard_testfile,
3574 prepare_for_testing.
3575 * gdb.cp/mb-templates.exp: Use standard_testfile,
3576 prepare_for_testing.
3577 * gdb.cp/member-ptr.exp: Use standard_testfile,
3578 prepare_for_testing.
3579 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
3580 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
3581 * gdb.cp/method2.exp: Use standard_testfile.
3582 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
3583 standard_output_file.
3584 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
3585 (do_tests): Update.
3586 * gdb.cp/namespace-enum.exp: Use standard_testfile,
3587 prepare_for_testing.
3588 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
3589 prepare_for_testing.
3590 * gdb.cp/namespace.exp: Use standard_testfile,
3591 prepare_for_testing.
3592 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
3593 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
3594 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
3595 * gdb.cp/nsimport.exp: Use standard_testfile,
3596 prepare_for_testing.
3597 * gdb.cp/nsnested.exp: Use standard_testfile.
3598 * gdb.cp/nsnoimports.exp: Use standard_testfile.
3599 * gdb.cp/nsrecurs.exp: Use standard_testfile,
3600 prepare_for_testing.
3601 * gdb.cp/nsstress.exp: Use standard_testfile,
3602 prepare_for_testing.
3603 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
3604 * gdb.cp/operator.exp: Use standard_testfile.
3605 * gdb.cp/oranking.exp: Use standard_testfile.
3606 * gdb.cp/overload-const.exp: Use standard_testfile.
3607 * gdb.cp/overload.exp: Use standard_testfile,
3608 prepare_for_testing.
3609 * gdb.cp/ovldbreak.exp: Use standard_testfile.
3610 * gdb.cp/ovsrch.exp: Use standard_testfile.
3611 * gdb.cp/paren-type.exp: Use standard_testfile.
3612 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
3613 prepare_for_testing.
3614 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
3615 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
3616 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
3617 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
3618 * gdb.cp/pr10728.exp: Use standard_testfile,
3619 standard_output_file.
3620 * gdb.cp/pr12028.exp: Use standard_testfile.
3621 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
3622 * gdb.cp/pr9167.exp: Use standard_testfile.
3623 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
3624 * gdb.cp/printmethod.exp: Use standard_testfile,
3625 prepare_for_testing.
3626 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
3627 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
3628 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
3629 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
3630 standard_output_file.
3631 * gdb.cp/readnow-language.exp: Use standard_testfile.
3632 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
3633 (gdb_start_again): Use clean_restart.
3634 * gdb.cp/ref-types.exp: Use standard_testfile,
3635 prepare_for_testing.
3636 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
3637 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
3638 * gdb.cp/smartp.exp: Use standard_testfile.
3639 * gdb.cp/static-method.exp: Use standard_testfile.
3640 * gdb.cp/static-print-quit.exp: Use standard_testfile.
3641 * gdb.cp/temargs.exp: Use standard_testfile.
3642 * gdb.cp/templates.exp: Use standard_testfile,
3643 prepare_for_testing.
3644 (do_tests): Update.
3645 * gdb.cp/try_catch.exp: Use standard_testfile,
3646 prepare_for_testing.
3647 * gdb.cp/typedef-operator.exp: Use standard_testfile.
3648 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
3649 * gdb.cp/virtbase.exp: Use standard_testfile,
3650 prepare_for_testing.
3651 * gdb.cp/virtfunc.exp: Use standard_testfile,
3652 prepare_for_testing.
3653 (do_tests): Update.
3654 * gdb.cp/virtfunc2.exp: Use standard_testfile,
3655 prepare_for_testing.
3656
3657 2012-07-10 Tom Tromey <tromey@redhat.com>
3658
3659 * lib/gdb.exp (standard_testfile): Unset output variables from
3660 earlier invocations.
3661
3662 2012-07-10 Yao Qi <yao@codesourcery.com>
3663
3664 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
3665 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
3666 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
3667 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
3668 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
3669 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
3670 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
3671 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
3672 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
3673 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
3674 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
3675 * gdb.mi/mi-var-display.exp: Likewise.
3676 * gdb.mi/mi-var-invalidate.exp: Likewise.
3677 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
3678 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
3679 * gdb.mi/mi2-console.exp: Likewise.
3680 * gdb.mi/mi2-disassemble.exp: Likewise.
3681 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
3682 * gdb.mi/mi2-read-memory.exp: Likewise.
3683 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
3684 * gdb.mi/mi2-simplerun.exp: Likewise.
3685 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
3686 * gdb.mi/mi2-syn-frame.exp: Likewise.
3687 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
3688 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
3689 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
3690
3691 2012-07-09 Tom Tromey <tromey@redhat.com>
3692
3693 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
3694 * gdb.base/callfuncs.exp: Add cast-based test.
3695 * gdb.base/callfuncs.c (voidfunc): New function.
3696
3697 2012-07-08 Doug Evans <dje@google.com>
3698
3699 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
3700
3701 2012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3702
3703 Fix XFAIL compatibility with old i386 systems.
3704 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
3705 Check also 'Cannot insert breakpoint 0'.
3706
3707 2012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3708
3709 PR 14321
3710 * gdb.base/find.exp
3711 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
3712
3713 2012-07-06 Tom Tromey <tromey@redhat.com>
3714
3715 * gdb.base/whatis.exp: Add test.
3716
3717 2012-07-06 Tom Tromey <tromey@redhat.com>
3718
3719 * gdb.base/whatis.exp: Add regression test.
3720
3721 2012-07-06 Tom Tromey <tromey@redhat.com>
3722
3723 * gdb.base/whatis.exp: Add tests.
3724
3725 2012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3726
3727 PR 12649
3728 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
3729 gdb_test_multiple $gdb_prompt terminator.
3730
3731 2012-07-04 Pedro Alves <palves@redhat.com>
3732
3733 * gdb.mi/mi-reverse.exp: Use supports_reverse and
3734 supports_process_record.
3735
3736 2012-07-04 Pedro Alves <palves@redhat.com>
3737
3738 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
3739 endings.
3740 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
3741
3742 2012-07-03 Stan Shebs <stan@codesourcery.com>
3743
3744 * gdb.base/info-os.c (main): Retry resource acquisition until an
3745 available one is found.
3746 * gdb.base/info-os.exp: Collect resource keys from the program
3747 and use them in matching.
3748
3749 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3750
3751 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
3752 Wrap the test into loop for corefile and core0file.
3753
3754 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3755
3756 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
3757 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
3758 .note.GNU-stack.
3759
3760 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
3761
3762 2012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
3763
3764 * gdb.base/help.exp (help b, help br, help bre, help brea, help
3765 break): Include help message for the new `-probe' and `-probe-stap'
3766 options.
3767
3768 2012-07-02 Stan Shebs <stan@codesourcery.com>
3769
3770 * gdb.base/dprintf.exp: Add agent style tests.
3771
3772 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3773
3774 * gdb.base/stale-infcall.c (infcall): New label test-next.
3775 (main): New labels test-pass and test-fail.
3776 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
3777 $test_fail_bpnum to test-fail.
3778 (test system longjmp tracking support): New test.
3779 Delete $test_fail_bpnum.
3780 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
3781 breakpoint.
3782
3783 2012-06-30 Doug Evans <dje@google.com>
3784
3785 * gdb.dwarf2/fission-reread.S: New file.
3786 * gdb.dwarf2/fission-reread.exp: New file.
3787
3788 2012-06-28 Stan Shebs <stan@codesourcery.com>
3789
3790 * gdb.mi/mi-logging.exp: New file.
3791
3792 2012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3793 Pedro Alves <palves@redhat.com>
3794
3795 * gdb.threads/siginfo-threads.exp: New file.
3796 * gdb.threads/siginfo-threads.c: New file.
3797 * gdb.threads/sigstep-threads.exp: New file.
3798 * gdb.threads/sigstep-threads.c: New file.
3799
3800 2012-06-28 Tom Tromey <tromey@redhat.com>
3801
3802 * gdb.go/package.exp: Partially revert earlier patch; use
3803 gdb_compile again. Use standard_output_file.
3804
3805 2012-06-27 Doug Evans <dje@google.com>
3806
3807 * gdb.dwarf2/fission-base.c: New file.
3808 * gdb.dwarf2/fission-base.S: New file.
3809 * gdb.dwarf2/fission-base.exp: New file.
3810
3811 2012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3812
3813 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
3814
3815 2012-06-27 Tom Tromey <tromey@redhat.com>
3816
3817 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
3818 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
3819
3820 2012-06-27 Tom Tromey <tromey@redhat.com>
3821
3822 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
3823 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
3824 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
3825 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
3826 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
3827 prepare_for_testing.
3828 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
3829 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
3830 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
3831 standard_testfile.
3832 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
3833 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
3834 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
3835 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
3836 prepare_for_testing.
3837 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
3838 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
3839 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
3840 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
3841 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
3842 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
3843 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
3844 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
3845 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
3846 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
3847 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
3848 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
3849 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
3850 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
3851 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
3852 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
3853 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
3854 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
3855 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
3856 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
3857 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
3858 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
3859 standard_output_file.
3860 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
3861 standard_output_file.
3862 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
3863 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
3864 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
3865 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
3866 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
3867 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
3868 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
3869 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
3870 * gdb.dwarf2/implptr.exp: Use standard_testfile.
3871 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
3872 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
3873 * gdb.dwarf2/pieces.exp: Use standard_testfile.
3874 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
3875 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
3876 * gdb.dwarf2/valop.exp: Use standard_testfile,
3877 prepare_for_testing.
3878
3879 2012-06-27 Tom Tromey <tromey@redhat.com>
3880
3881 * gdb.python/python.exp: Fix regexps in pagination tests.
3882
3883 2012-06-26 Siva Chandra Reddy <sivachandra@google.com>
3884
3885 * gdb.python/py-symtab.exp: Add tests to test the new attribute
3886 'last' of gdb.Symtab_and_line.
3887 * gdb.python/py-symbol.c: Move break point comment to enable
3888 testing of gdb.Symtab_and_line.last.
3889
3890 2012-06-26 Tom Tromey <tromey@redhat.com>
3891
3892 * gdb.threads/step.c: Remove.
3893 * gdb.threads/step.exp: Remove.
3894 * gdb.threads/step2.exp: Remove.
3895
3896 2012-06-26 Tom Tromey <tromey@redhat.com>
3897
3898 * gdb.threads/watchpoint-fork.exp (test): Use
3899 standard_output_file. Don't declare objdir.
3900 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
3901 standard_output_file.
3902 * gdb.threads/attach-stopped.exp: Use standard_testfile.
3903 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
3904 clean_restart. Remove incdir.
3905 * gdb.threads/corethreads.exp: Use standard_testfile.
3906 * gdb.threads/execl.exp: Use standard_testfile,
3907 standard_output_file, clean_restart.
3908 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
3909 clean_restart.
3910 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
3911 clean_restart.
3912 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
3913 incdir.
3914 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
3915 clean_restart. Remove incdir.
3916 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
3917 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
3918 clean_restart. Remove incdir.
3919 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
3920 Remove incdir.
3921 * gdb.threads/leader-exit.exp: Use standard_testfile.
3922 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
3923 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
3924 clean_restart.
3925 * gdb.threads/manythreads.exp: Use standard_testfile,
3926 clean_restart. Remove incdir.
3927 * gdb.threads/multi-create.exp: Use standard_testfile,
3928 clean_restart.
3929 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
3930 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
3931 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
3932 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
3933 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
3934 * gdb.threads/pending-step.exp: Use standard_testfile,
3935 clean_restart. Remove incdir.
3936 * gdb.threads/print-threads.exp: Use standard_testfile,
3937 clean_restart. Remove incdir.
3938 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
3939 clean_restart. Remove incdir.
3940 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
3941 Remove incdir.
3942 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
3943 incdir.
3944 * gdb.threads/sigthread.exp: Use standard_testfile,
3945 clean_restart.
3946 * gdb.threads/staticthreads.exp: Use standard_testfile,
3947 clean_restart. Remove incdir.
3948 * gdb.threads/switch-threads.exp: Use standard_testfile,
3949 clean_restart. Remove incdir.
3950 * gdb.threads/thread-execl.exp: Use standard_testfile,
3951 clean_restart. Remove incdir.
3952 * gdb.threads/thread-find.exp: Use standard_testfile,
3953 clean_restart.
3954 * gdb.threads/thread-specific.exp: Use standard_testfile,
3955 clean_restart. Remove incdir.
3956 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
3957 clean_restart. Remove incdir.
3958 * gdb.threads/thread_check.exp: Use standard_testfile,
3959 clean_restart. Remove incdir.
3960 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
3961 incdir.
3962 * gdb.threads/threadapply.exp: Use standard_testfile,
3963 clean_restart. Remove incdir.
3964 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
3965 clean_restart. Remove incdir.
3966 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
3967 clean_restart.
3968 * gdb.threads/tls-shared.exp: Use standard_testfile,
3969 clean_restart, standard_output_file.
3970 * gdb.threads/tls-var.exp: Use standard_testfile,
3971 standard_output_file.
3972 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
3973 Remove incdir.
3974 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
3975 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
3976 incdir.
3977 * gdb.threads/watchthreads2.exp: Use standard_testfile,
3978 clean_restart. Remove incdir.
3979
3980 2012-06-26 Tom Tromey <tromey@redhat.com>
3981
3982 * gdb.trace/actions.exp: Use standard_testfile.
3983 * gdb.trace/ax.exp: Use standard_testfile.
3984 * gdb.trace/backtrace.exp: Use standard_testfile.
3985 * gdb.trace/change-loc.exp: Use standard_testfile.
3986 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
3987 * gdb.trace/collection.exp: Use standard_testfile,
3988 prepare_for_testing.
3989 * gdb.trace/deltrace.exp: Use standard_testfile.
3990 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
3991 * gdb.trace/ftrace.exp: Use standard_testfile.
3992 * gdb.trace/infotrace.exp: Use standard_testfile.
3993 * gdb.trace/packetlen.exp: Use standard_testfile.
3994 * gdb.trace/passc-dyn.exp: Use standard_testfile.
3995 * gdb.trace/passcount.exp: Use standard_testfile.
3996 * gdb.trace/pending.exp: Use standard_testfile.
3997 * gdb.trace/report.exp: Use standard_testfile.
3998 * gdb.trace/save-trace.exp: Use standard_testfile.
3999 * gdb.trace/stap-trace.exp: Use standard_testfile.
4000 * gdb.trace/status-stop.exp: Use standard_testfile.
4001 * gdb.trace/strace.exp: Use standard_testfile.
4002 * gdb.trace/tfile.exp: Use standard_testfile.
4003 * gdb.trace/tfind.exp: Use standard_testfile.
4004 * gdb.trace/trace-break.exp: Use standard_testfile.
4005 * gdb.trace/trace-mt.exp: Use standard_testfile.
4006 * gdb.trace/tracecmd.exp: Use standard_testfile.
4007 * gdb.trace/tspeed.exp: Use standard_testfile.
4008 * gdb.trace/tstatus.exp: Use standard_testfile.
4009 * gdb.trace/tsv.exp: Use standard_testfile.
4010 * gdb.trace/unavailable.exp: Use standard_testfile,
4011 prepare_for_testing.
4012 * gdb.trace/while-dyn.exp: Use standard_testfile.
4013 * gdb.trace/while-stepping.exp: Use standard_testfile.
4014
4015 2012-06-26 Tom Tromey <tromey@redhat.com>
4016
4017 * gdb.reverse/break-precsave.exp: Use standard_testfile.
4018 * gdb.reverse/break-reverse.exp: Use standard_testfile.
4019 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
4020 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
4021 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
4022 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
4023 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
4024 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
4025 prepare_for_testing.
4026 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
4027 prepare_for_testing.
4028 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
4029 prepare_for_testing.
4030 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
4031 prepare_for_testing.
4032 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
4033 prepare_for_testing
4034 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
4035 * gdb.reverse/machinestate.exp: Use standard_testfile.
4036 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
4037 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
4038 build_executable.
4039 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
4040 build_executable.
4041 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
4042 standard_output_file.
4043 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
4044 standard_output_file.
4045 * gdb.reverse/step-precsave.exp: Use standard_testfile.
4046 * gdb.reverse/step-reverse.exp: Use standard_testfile.
4047 * gdb.reverse/until-precsave.exp: Use standard_testfile.
4048 * gdb.reverse/until-reverse.exp: Use standard_testfile.
4049 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
4050 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
4051
4052 2012-06-26 Tom Tromey <tromey@redhat.com>
4053
4054 * gdb.stabs/weird.exp: Remove directory-checking code. Use
4055 standard_output_file.
4056 * gdb.stabs/exclfwd.exp: Use standard_testfile,
4057 prepare_for_testing. Remove directory-checking code.
4058
4059 2012-06-25 Tom Tromey <tromey@redhat.com>
4060
4061 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
4062 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
4063 build_executable, not prepare_for_testing.
4064 * gdb.multi/base.exp: Use standard_output_file. Use
4065 build_executable, not prepare_for_testing.
4066
4067 2012-06-25 Tom Tromey <tromey@redhat.com>
4068
4069 * gdb.fortran/subarray.exp: Use standard_testfile,
4070 prepare_for_testing.
4071 * gdb.fortran/multi-dim.exp: Use standard_testfile.
4072 * gdb.fortran/module.exp: Use standard_testfile.
4073 * gdb.fortran/logical.exp: Use standard_testfile.
4074 * gdb.fortran/library-module.exp: Use standard_testfile,
4075 standard_output_file.
4076 * gdb.fortran/derived-type.exp: Use standard_testfile,
4077 prepare_for_testing.
4078 * gdb.fortran/complex.exp: Use standard_testfile,
4079 prepare_for_testing.
4080 * gdb.fortran/charset.exp: Use standard_testfile.
4081 * gdb.fortran/array-element.exp: Use standard_testfile,
4082 prepare_for_testing.
4083
4084 2012-06-25 Keith Seitz <keiths@redhat.com>
4085
4086 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
4087 Change rbreak-related tests to KFAIL and add bugzilla numbers.
4088
4089 2012-06-25 Tom Tromey <tromey@redhat.com>
4090
4091 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
4092 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
4093 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
4094 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
4095
4096 2012-06-25 Tom Tromey <tromey@redhat.com>
4097
4098 * gdb.linespec/ls-errs.exp: Use standard_testfile.
4099 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
4100 * gdb.linespec/linespec.exp: Use standard_testfile.
4101
4102 2012-06-25 Tom Tromey <tromey@redhat.com>
4103
4104 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
4105 prepare_for_testing.
4106
4107 2012-06-25 Tom Tromey <tromey@redhat.com>
4108
4109 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
4110 prepare_for_testing.
4111 * gdb.opt/inline-break.exp: Use standard_testfile,
4112 prepare_for_testing.
4113 * gdb.opt/inline-bt.exp: Use standard_testfile,
4114 prepare_for_testing.
4115 * gdb.opt/inline-cmds.exp: Use standard_testfile,
4116 prepare_for_testing.
4117 * gdb.opt/inline-locals.exp: Use standard_testfile,
4118 prepare_for_testing.
4119
4120 2012-06-25 Tom Tromey <tromey@redhat.com>
4121
4122 * gdb.asm/asm-source.exp: Use standard_output_file,
4123 standard_testfile. Construct .o files in proper subdir.
4124
4125 2012-06-25 Tom Tromey <tromey@redhat.com>
4126
4127 * gdb.server/ext-attach.exp: Use standard_testfile,
4128 prepare_for_testing.
4129 * gdb.server/ext-run.exp: Use standard_testfile,
4130 build_executable.
4131 * gdb.server/file-transfer.exp: Use standard_testfile,
4132 prepare_for_testing.
4133 * gdb.server/server-exec-info.exp: Use standard_testfile.
4134 * gdb.server/server-mon.exp: Use standard_testfile,
4135 prepare_for_testing.
4136 * gdb.server/server-run.exp: Use standard_testfile,
4137 build_executable.
4138 * gdb.server/solib-list.exp: Use standard_testfile,
4139 standard_output_file.
4140
4141 2012-06-25 Tom Tromey <tromey@redhat.com>
4142
4143 * lib/gdb.exp (standard_output_file): Use "file join".
4144 * gdb.go/chan.exp: Use standard_testfile.
4145 * gdb.go/handcall.exp: Use standard_testfile.
4146 * gdb.go/hello.exp: Use standard_testfile.
4147 * gdb.integers/chan.exp: Use standard_testfile.
4148 * gdb.go/methods.exp: Use standard_testfile.
4149 * gdb.go/package.exp: Use standard_testfile.
4150 * gdb.go/strings.exp: Use standard_testfile.
4151 * gdb.go/types.exp: Use standard_testfile.
4152 * gdb.go/unsafe.exp: Use standard_testfile.
4153
4154 2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
4155
4156 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
4157
4158 2012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4159
4160 Fix regression by the previous commit.
4161 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
4162
4163 2012-06-22 Tom Tromey <tromey@redhat.com>
4164
4165 * gdb.python/lib-types.exp: Use standard_testfile,
4166 prepare_for_testing.
4167 * gdb.python/py-block.exp: Use standard_testfile.
4168 * gdb.python/py-breakpoint.exp: Use standard_testfile.
4169 * gdb.python/py-events.exp: Use standard_testfile,
4170 standard_output_file.
4171 * gdb.python/py-evsignal.exp: Use standard_testfile.
4172 * gdb.python/py-evethreads.exp: Use standard_testfile.
4173 * gdb.python/py-explore-cc.exp: Use standard_testfile.
4174 * gdb.python/py-explore.exp: Use standard_testfile.
4175 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
4176 standard_output_file.
4177 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
4178 prepare_for_testing.
4179 * gdb.python/py-frame-inline.exp: Use standard_testfile.
4180 * gdb.python/py-frame.exp: Use standard_testfile.
4181 * gdb.python/py-inferior.exp: Use standard_testfile.
4182 * gdb.python/py-infthread.exp: Use standard_testfile.
4183 * gdb.python/py-mi.exp: Use standard_testfile.
4184 * gdb.python/py-objfile-script.exp: Use standard_testfile,
4185 build_executable.
4186 * gdb.python/py-objfile.exp: Use standard_testfile.
4187 * gdb.python/py-pp-maint.exp: Use standard_testfile,
4188 prepare_for_testing.
4189 * gdb.python/py-prettyprint.exp: Use standard_testfile.
4190 * gdb.python/py-progspace.exp: Use standard_testfile,
4191 build_executable.
4192 * gdb.python/py-prompt.exp: Use standard_testfile,
4193 build_executable.
4194 * gdb.python/py-section-script.exp: Use standard_testfile,
4195 build_executable.
4196 * gdb.python/py-shared.exp: Use standard_testfile,
4197 standard_output_file, clean_restart.
4198 * gdb.python/py-symbol.exp: Use standard_output_file,
4199 prepare_for_testing.
4200 * gdb.python/py-symtab.exp: Use standard_output_file,
4201 prepare_for_testing
4202 * gdb.python/py-template.exp: Use standard_testfile.
4203 * gdb.python/py-type.exp: Use standard_testfile.
4204 * gdb.python/py-value-cc.exp: Use standard_testfile.
4205 * gdb.python/py-value.exp: Use standard_testfile.
4206 * gdb.python/python.exp: Use standard_testfile, build_executable.
4207
4208 2012-06-22 Tom Tromey <tromey@redhat.com>
4209
4210 * gdb.objc/basicclass.exp: Use standard_testfile.
4211 (do_objc_tests): Don't declare objdir.
4212 * gdb.objc/nondebug.exp: Use standard_testfile.
4213 (do_objc_tests): Don't declare objdir.
4214 * gdb.objc/objcdecode.exp: Use standard_testfile.
4215 (do_objc_tests): Don't declare objdir.
4216
4217 2012-06-22 Tom Tromey <tromey@redhat.com>
4218
4219 * gdb.java/jmain.exp: Use standard_testfile.
4220 * gdb.java/jmisc.exp: Use standard_testfile.
4221 * gdb.java/jnpe.exp: Use standard_testfile.
4222 * gdb.java/jprint.exp: Use standard_testfile.
4223
4224 2012-06-22 Tom Tromey <tromey@redhat.com>
4225
4226 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
4227 (standard_output_file, standard_testfile): New procs.
4228 (build_executable, clean_restart): Use standard_output_file.
4229
4230 2012-06-22 Yao Qi <yao@codesourcery.com>
4231
4232 * boards/native-gdbserver.exp: New proc ${board}_exec.
4233 * boards/native-stdio-gdbserver.exp: Likewise.
4234
4235 2012-06-21 Tom Tromey <tromey@redhat.com>
4236
4237 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
4238 (build_executable): Update.
4239 (get_compiler_info): Remove 'binfile' argument.
4240 * gdb.ada/arrayidx.exp: Update.
4241 * gdb.ada/null_array.exp: Update.
4242 * gdb.arch/altivec-abi.exp: Update.
4243 * gdb.arch/altivec-regs.exp: Update.
4244 * gdb.arch/amd64-byte.exp: Update.
4245 * gdb.arch/amd64-dword.exp: Update.
4246 * gdb.arch/amd64-word.exp: Update.
4247 * gdb.arch/i386-avx.exp: Update.
4248 * gdb.arch/i386-byte.exp: Update.
4249 * gdb.arch/i386-sse.exp: Update.
4250 * gdb.arch/i386-word.exp: Update.
4251 * gdb.arch/ppc-dfp.exp: Update.
4252 * gdb.arch/ppc-fp.exp: Update.
4253 * gdb.arch/vsx-regs.exp: Update.
4254 * gdb.base/all-bin.exp: Update.
4255 * gdb.base/annota1.exp: Update.
4256 * gdb.base/async.exp: Update.
4257 * gdb.base/attach.exp: Update.
4258 * gdb.base/break-interp.exp: Update.
4259 * gdb.base/call-ar-st.exp: Update.
4260 * gdb.base/call-rt-st.exp: Update.
4261 * gdb.base/call-sc.exp: Update.
4262 * gdb.base/callfuncs.exp: Update.
4263 * gdb.base/catch-load.exp: Update.
4264 * gdb.base/completion.exp: Update.
4265 * gdb.base/complex.exp: Update.
4266 * gdb.base/condbreak.exp: Update.
4267 * gdb.base/consecutive.exp: Update.
4268 * gdb.base/constvars.exp: Update.
4269 * gdb.base/corefile.exp: Update.
4270 * gdb.base/eval-skip.exp: Update.
4271 * gdb.base/expand-psymtabs.exp: Update.
4272 * gdb.base/exprs.exp: Update.
4273 * gdb.base/fileio.exp: Update.
4274 * gdb.base/fixsection.exp: Update.
4275 * gdb.base/funcargs.exp: Update.
4276 * gdb.base/gdb11530.exp: Update.
4277 * gdb.base/gdb1555.exp: Update.
4278 * gdb.base/gnu-ifunc.exp: Update.
4279 * gdb.base/gnu_vector.exp: Update.
4280 * gdb.base/info-macros.exp: Update.
4281 * gdb.base/jit-simple.exp: Update.
4282 * gdb.base/jit-so.exp: Update.
4283 * gdb.base/jit.exp: Update.
4284 * gdb.base/langs.exp: Update.
4285 * gdb.base/list.exp: Update.
4286 * gdb.base/logical.exp: Update.
4287 * gdb.base/long_long.exp: Update.
4288 * gdb.base/longjmp.exp: Update.
4289 * gdb.base/macscp.exp: Update.
4290 * gdb.base/mips_pro.exp: Update.
4291 * gdb.base/miscexprs.exp: Update.
4292 * gdb.base/morestack.exp: Update.
4293 * gdb.base/nodebug.exp: Update.
4294 * gdb.base/opaque.exp: Update.
4295 * gdb.base/pc-fp.exp: Update.
4296 * gdb.base/pending.exp: Update.
4297 * gdb.base/permissions.exp: Update.
4298 * gdb.base/pointers.exp: Update.
4299 * gdb.base/prelink.exp: Update.
4300 * gdb.base/printcmds.exp: Update.
4301 * gdb.base/psymtab.exp: Update.
4302 * gdb.base/ptype.exp: Update.
4303 * gdb.base/relational.exp: Update.
4304 * gdb.base/scope.exp: Update.
4305 * gdb.base/setvar.exp: Update.
4306 * gdb.base/shlib-call.exp: Update.
4307 * gdb.base/shreloc.exp: Update.
4308 * gdb.base/signals.exp: Update.
4309 * gdb.base/sizeof.exp: Update.
4310 * gdb.base/so-impl-ld.exp: Update.
4311 * gdb.base/so-indr-cl.exp: Update.
4312 * gdb.base/solib-disc.exp: Update.
4313 * gdb.base/solib-display.exp: Update.
4314 * gdb.base/solib-nodir.exp: Update.
4315 * gdb.base/solib-overlap.exp: Update.
4316 * gdb.base/solib-symbol.exp: Update.
4317 * gdb.base/solib-weak.exp: Update.
4318 * gdb.base/solib.exp: Update.
4319 * gdb.base/store.exp: Update.
4320 * gdb.base/structs.exp: Update.
4321 * gdb.base/structs2.exp: Update.
4322 * gdb.base/type-opaque.exp: Update.
4323 * gdb.base/unload.exp: Update.
4324 * gdb.base/varargs.exp: Update.
4325 * gdb.base/volatile.exp: Update.
4326 * gdb.base/watch_thread_num.exp: Update.
4327 * gdb.base/watchpoint-solib.exp: Update.
4328 * gdb.base/watchpoint.exp: Update.
4329 * gdb.base/watchpoints.exp: Update.
4330 * gdb.base/whatis.exp: Update.
4331 * gdb.cell/arch.exp: Update.
4332 * gdb.cell/break.exp: Update.
4333 * gdb.cell/bt.exp: Update.
4334 * gdb.cell/core.exp: Update.
4335 * gdb.cell/data.exp: Update.
4336 * gdb.cell/ea-cache.exp: Update.
4337 * gdb.cell/f-regs.exp: Update.
4338 * gdb.cell/fork.exp: Update.
4339 * gdb.cell/gcore.exp: Update.
4340 * gdb.cell/mem-access.exp: Update.
4341 * gdb.cell/ptype.exp: Update.
4342 * gdb.cell/registers.exp: Update.
4343 * gdb.cell/sizeof.exp: Update.
4344 * gdb.cell/solib-symbol.exp: Update.
4345 * gdb.cell/solib.exp: Update.
4346 * gdb.cp/ambiguous.exp: Update.
4347 * gdb.cp/breakpoint.exp: Update.
4348 * gdb.cp/bs15503.exp: Update.
4349 * gdb.cp/casts.exp: Update.
4350 * gdb.cp/class2.exp: Update.
4351 * gdb.cp/cpexprs.exp: Update.
4352 * gdb.cp/cplusfuncs.exp: Update.
4353 * gdb.cp/ctti.exp: Update.
4354 * gdb.cp/dispcxx.exp: Update.
4355 * gdb.cp/gdb1355.exp: Update.
4356 * gdb.cp/gdb2384.exp: Update.
4357 * gdb.cp/gdb2495.exp: Update.
4358 * gdb.cp/infcall-dlopen.exp: Update.
4359 * gdb.cp/local.exp: Update.
4360 * gdb.cp/m-data.exp: Update.
4361 * gdb.cp/m-static.exp: Update.
4362 * gdb.cp/mb-ctor.exp: Update.
4363 * gdb.cp/mb-inline.exp: Update.
4364 * gdb.cp/mb-templates.exp: Update.
4365 * gdb.cp/member-ptr.exp: Update.
4366 * gdb.cp/method.exp: Update.
4367 * gdb.cp/namespace.exp: Update.
4368 * gdb.cp/nextoverthrow.exp: Update.
4369 * gdb.cp/nsdecl.exp: Update.
4370 * gdb.cp/nsrecurs.exp: Update.
4371 * gdb.cp/nsstress.exp: Update.
4372 * gdb.cp/nsusing.exp: Update.
4373 * gdb.cp/pr-1023.exp: Update.
4374 * gdb.cp/pr-1210.exp: Update.
4375 * gdb.cp/pr-574.exp: Update.
4376 * gdb.cp/pr9631.exp: Update.
4377 * gdb.cp/printmethod.exp: Update.
4378 * gdb.cp/psmang.exp: Update.
4379 * gdb.cp/re-set-overloaded.exp: Update.
4380 * gdb.cp/rtti.exp: Update.
4381 * gdb.cp/shadow.exp: Update.
4382 * gdb.cp/templates.exp: Update.
4383 * gdb.cp/try_catch.exp: Update.
4384 * gdb.dwarf2/dw2-ranges.exp: Update.
4385 * gdb.dwarf2/pr10770.exp: Update.
4386 * gdb.fortran/library-module.exp: Update.
4387 * gdb.hp/gdb.aCC/optimize.exp: Update.
4388 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
4389 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
4390 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
4391 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
4392 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
4393 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
4394 * gdb.hp/gdb.compat/xdb1.exp: Update.
4395 * gdb.hp/gdb.compat/xdb2.exp: Update.
4396 * gdb.hp/gdb.compat/xdb3.exp: Update.
4397 * gdb.hp/gdb.defects/bs14602.exp: Update.
4398 * gdb.hp/gdb.defects/solib-d.exp: Update.
4399 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
4400 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
4401 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
4402 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
4403 * gdb.mi/gdb792.exp: Update.
4404 * gdb.mi/mi-pending.exp: Update.
4405 * gdb.mi/mi-solib.exp: Update.
4406 * gdb.mi/mi-var-cp.exp: Update.
4407 * gdb.opt/clobbered-registers-O2.exp: Update.
4408 * gdb.opt/inline-bt.exp: Update.
4409 * gdb.opt/inline-cmds.exp: Update.
4410 * gdb.opt/inline-locals.exp: Update.
4411 * gdb.python/py-events.exp: Update.
4412 * gdb.python/py-finish-breakpoint.exp: Update.
4413 * gdb.python/py-type.exp: Update.
4414 * gdb.reverse/solib-precsave.exp: Update.
4415 * gdb.reverse/solib-reverse.exp: Update.
4416 * gdb.server/solib-list.exp: Update.
4417 * gdb.stabs/weird.exp: Update.
4418 * gdb.threads/attach-into-signal.exp: Update.
4419 * gdb.threads/attach-stopped.exp: Update.
4420 * gdb.threads/tls-shared.exp: Update.
4421 * gdb.trace/change-loc.exp: Update.
4422 * gdb.trace/strace.exp: Update.
4423
4424 2012-06-19 Tom Tromey <tromey@redhat.com>
4425
4426 * gdb.base/whatis.exp: Add tests.
4427
4428 2012-06-19 Tom Tromey <tromey@redhat.com>
4429
4430 * gdb.cp/m-static.cc (keepalive): New function.
4431 (gnu_obj_1::method): Use it.
4432
4433 2012-06-18 Doug Evans <dje@google.com>
4434
4435 * gdb.base/info-fun.exp: New file.
4436 * gdb.base/info-fun.c: New file.
4437 * gdb.base/info-fun-solib.c: New file.
4438
4439 2012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4440
4441 Remove stale dummy frames.
4442 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
4443 (maintenance info breakpoints): New tests.
4444 * gdb.base/stale-infcall.c: New file.
4445 * gdb.base/stale-infcall.exp: New file.
4446
4447 2012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4448
4449 * gdb.arch/amd64-entry-value-param.S: New file.
4450 * gdb.arch/amd64-entry-value-param.c: New file.
4451 * gdb.arch/amd64-entry-value-param.exp: New file.
4452
4453 2012-06-15 Tom Tromey <tromey@redhat.com>
4454
4455 * gdb.cp/namespace.exp: Add "show lang" test.
4456
4457 2012-06-15 Iain Sandoe <iain@codesourcery.com>
4458
4459 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
4460 case. (top level): Use gdb_file_cmd instead of gdb_load.
4461
4462 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4463
4464 PR tdep/14222
4465 * gdb.arch/i386-sse-stack-align.S: New file.
4466 * gdb.arch/i386-sse-stack-align.c: New file.
4467 * gdb.arch/i386-sse-stack-align.exp: New file.
4468
4469 2012-06-13 Keith Seitz <keiths@redhat.com>
4470
4471 PR breakpoints/13798 and mi/11541
4472 * gdb.linespec/ls-errs.exp: Add a few more tests for
4473 filenames with spaces and colons.
4474
4475 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4476
4477 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
4478 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
4479 (test_function): Call CV_f.
4480 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
4481 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
4482 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
4483 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
4484 (p CV_f(CV::i)): New tests.
4485
4486 2012-06-13 Tom Tromey <tromey@redhat.com>
4487
4488 * gdb.base/condbreak.exp: Add tests for "condition" completion.
4489
4490 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4491
4492 Fix regression by the "ambiguous linespec" series.
4493 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
4494 tests.
4495
4496 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4497
4498 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
4499 missing.
4500
4501 2012-06-11 Tom Tromey <tromey@redhat.com>
4502
4503 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
4504 location...
4505 (main): ...here.
4506
4507 2012-06-07 Yao Qi <yao@codesourcery.com>
4508
4509 * gdb.trace/strace.exp: Shorten some too-long lines.
4510
4511 2012-06-06 Pedro Alves <palves@redhat.com>
4512
4513 * gdb.threads/clone-new-thread-event.c: New file.
4514 * gdb.threads/clone-new-thread-event.exp: New file.
4515
4516 2012-06-06 Yao Qi <yao@codesourcery.com>
4517
4518 * gdb.base/dprintf.c (main): Add extra parameter when calling
4519 printf and fprintf.
4520 (bar): New function. It is a dead function, but to ensure
4521 'malloc' is linked explicitly.
4522
4523 2012-06-06 Yao Qi <yao@codesourcery.com>
4524
4525 * gdb.base/info-proc.exp: Return if target doesn't support
4526 'info proc'.
4527
4528 2012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4529
4530 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
4531 (run program with breakpoint commands): XFAIl if it is not.
4532
4533 2012-06-05 Joel Brobecker <brobecker@adacore.com>
4534
4535 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
4536 and add comment.
4537 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
4538 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
4539 "STOP" marker. Adjust testing strategy to make it work on
4540 all targets.
4541
4542 * gdb.base/print-file-var-main.c (main): Rewrite using local
4543 variables and adjust get_version_2's return value check.
4544 Add small comment.
4545 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
4546 marker. Adjust testing strategy to make it work on all targets.
4547
4548 2012-06-05 Joel Brobecker <brobecker@adacore.com>
4549
4550 * gdb.ada/bad-task-bp-keyword: New testcase.
4551
4552 2012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4553
4554 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
4555 Simplify it to ...
4556 (symbol-file ${testfile1}): ... here.
4557 (test eliminated var my_global_symbol)
4558 (test eliminated var my_static_symbol)
4559 (test eliminated var my_global_func, get address of main): Wrap them to
4560 'single psymtabs' and 'single symtabs'
4561 (get address of my_global_symbol, get address of my_static_symbol)
4562 (get address of my_global_func, get address of main): Wrap them to
4563 'order1' and 'order2'.
4564
4565 * gdb.base/code_elim.exp
4566 (add-symbol-file ${testfile1} 0x100000)
4567 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
4568 'order2'.
4569 (order1: add-symbol-file ${testfile1} 0x100000)
4570 (order1: add-symbol-file ${testfile2} 0x200000)
4571 (order2: add-symbol-file ${testfile2} 0x200000)
4572 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
4573 .bss as appropriate.
4574
4575 2012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4576
4577 * gdb.server/solib-list-lib.c: New file.
4578 * gdb.server/solib-list-main.c: New file.
4579 * gdb.server/solib-list.exp: New file.
4580
4581 2012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
4582
4583 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
4584 for 'set print symbol' change.
4585
4586 2012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4587
4588 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
4589 .debug_abbrev_seg3.
4590
4591 2012-05-24 John Steele Scott <toojays@toojays.net>
4592
4593 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
4594 * gdb.dwarf2/dw2-icc-opaque.S: New file.
4595 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
4596
4597 2012-05-23 Stan Shebs <stan@codesourcery.com>
4598
4599 * gdb.mi/mi-info-os.exp: New file.
4600
4601 2012-05-23 Keith Seitz <keiths@redhat.com>
4602
4603 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
4604 return -1 to suppress the rest of the tests.
4605 (compile_stap_bin): Return boolean success value.
4606
4607 2012-05-21 Tom Tromey <tromey@redhat.com>
4608
4609 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
4610 Remove kfails.
4611 (test_print_mi_member_types): Likewise.
4612
4613 2012-05-21 Tom Tromey <tromey@redhat.com>
4614
4615 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
4616 print symbol' change.
4617
4618 2012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
4619
4620 * gdb.python/py-prompt.exp: Quit if the target is remote.
4621
4622 2012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4623
4624 Fix ERROR: internal buffer is full.
4625 * gdb.base/info-os.exp (expect_multiline): New function.
4626 (get process list, get process groups, get threads)
4627 (get file descriptors, get internet-domain sockets)
4628 (get shared-memory regions, get semaphores, get message queues): Use
4629 it for these tests.
4630
4631 2012-05-18 Tom Tromey <tromey@redhat.com>
4632
4633 * gdb.mi/mi-var-cmd.exp: Update.
4634 * gdb.objc/basicclass.exp (do_objc_tests): Update.
4635 * gdb.cp/virtbase.exp: Update.
4636 * gdb.cp/classes.exp (test_static_members): Update.
4637 * gdb.cp/casts.exp: Update.
4638 * gdb.base/pointers.exp: Update.
4639 * gdb.base/funcargs.exp (pointer_args): Update.
4640 (structs_by_reference): Update.
4641 * gdb.base/find.exp: Update.
4642 * gdb.base/call-strs.exp: Send "set print symbol off".
4643 * gdb.base/call-ar-st.exp: Update.
4644 * gdb.ada/fun_addr.exp: Update.
4645 * gdb.base/printcmds.exp (test_print_symbol): New proc.
4646 Call it.
4647 (test_print_repeats_10, test_print_strings)
4648 (test_print_char_arrays): Update.
4649
4650 2012-05-18 Tom Tromey <tromey@redhat.com>
4651
4652 * gdb.base/charset.exp (string_display): Update.
4653
4654 2012-05-18 Tom Tromey <tromey@redhat.com>
4655
4656 * gdb.mi/mi2-var-display.exp: Update.
4657 * gdb.mi/mi-var-display.exp: Update.
4658 * gdb.mi/mi-var-child.exp: Update.
4659 * gdb.cp/expand-psymtabs-cxx.exp: Update.
4660 * gdb.cp/cp-relocate.exp (get_func_address): Update.
4661
4662 2012-05-17 Doug Evans <dje@google.com>
4663
4664 * info-macros.exp: Pass "debug" to prepare_for_testing.
4665
4666 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
4667 * gdb.ada/Makefile.in (clean): Ditto.
4668 * gdb.arch/Makefile.in (clean): Ditto.
4669 * gdb.asm/Makefile.in (clean): Ditto.
4670 * gdb.base/Makefile.in (clean): Ditto.
4671 * gdb.cell/Makefile.in (clean): Ditto.
4672 * gdb.cp/Makefile.in (clean): Ditto.
4673 * gdb.disasm/Makefile.in (clean): Ditto.
4674 * gdb.dwarf2/Makefile.in (clean): Ditto.
4675 * gdb.fortran/Makefile.in (clean): Ditto.
4676 * gdb.go/Makefile.in (clean): Ditto.
4677 * gdb.hp/Makefile.in (clean): Ditto.
4678 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
4679 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
4680 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
4681 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
4682 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
4683 * gdb.java/Makefile.in (clean): Ditto.
4684 * gdb.linespec/Makefile.in (clean): Ditto.
4685 * gdb.mi/Makefile.in (clean): Ditto.
4686 * gdb.modula2/Makefile.in (clean): Ditto.
4687 * gdb.multi/Makefile.in (clean): Ditto.
4688 * gdb.objc/Makefile.in (clean): Ditto.
4689 * gdb.opencl/Makefile.in (clean): Ditto.
4690 * gdb.opt/Makefile.in (clean): Ditto.
4691 * gdb.pascal/Makefile.in (clean): Ditto.
4692 * gdb.python/Makefile.in (clean): Ditto.
4693 * gdb.reverse/Makefile.in (clean): Ditto.
4694 * gdb.server/Makefile.in (clean): Ditto.
4695 * gdb.stabs/Makefile.in (clean): Ditto.
4696 * gdb.threads/Makefile.in (clean): Ditto.
4697 * gdb.trace/Makefile.in (clean): Ditto.
4698 * gdb.xml/Makefile.in (clean): Ditto.
4699
4700 2012-05-16 Tom Tromey <tromey@redhat.com>
4701
4702 * gdb.base/macscp1.c (macscp_expr): Add comment.
4703 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
4704
4705 2012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4706
4707 * gdb.base/return-nodebug.exp: Also test float and double types.
4708
4709 2012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4710
4711 PR testsuite/12649
4712 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
4713
4714 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
4715
4716 2012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
4717
4718 * gdb.base/stap-probe.exp (stap_test): Remove calls to
4719 `rerun_to_main'.
4720 (stap_test_no_debuginfo): Likewise.
4721
4722 2012-05-14 Stan Shebs <stan@codesourcery.com>
4723
4724 * gdb.base/dprintf.c: New file.
4725 * gdb.base/dprintf.exp: New file.
4726
4727 2012-05-14 Hui Zhu <hui_zhu@mentor.com>
4728
4729 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
4730 * gdb.trace/disconnected-tracing.c: New file.
4731 * gdb.trace/disconnected-tracing.exp: New file.
4732
4733 2012-05-13 Siva Chandra Reddy <sivachandra@google.com>
4734
4735 * gdb.python/python.c: Add a new breakpoint comment.
4736 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
4737
4738 2011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
4739
4740 * gdb.base/info-os.exp: New file.
4741 * gdb.base/info-os.c: New file.
4742
4743 2012-05-10 Joel Brobecker <brobecker@adacore.com>
4744
4745 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
4746 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
4747 New files.
4748
4749 2012-05-10 Joel Brobecker <brobecker@adacore.com>
4750
4751 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
4752 gdb.base/ctxobj.exp: New files.
4753
4754 2012-05-09 Tom Tromey <tromey@redhat.com>
4755
4756 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
4757
4758 2012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
4759
4760 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
4761
4762 2012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
4763
4764 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
4765 before using it.
4766
4767 2012-05-04 Tristan Gingold <gingold@adacore.com>
4768
4769 * gdb.base/set-noassign.exp: New test.
4770
4771 2012-05-03 Siva Chandra Reddy <sivachandra@google.com>
4772
4773 * gdb.python/py-symbol.exp: Add tests to test the new methods
4774 gdb.Symtab.global_block() and gdb.Symtab.static_block().
4775 * gdb.python/py-symbol.c: Add new struct to help test
4776 gdb.Symtab.static_block().
4777
4778 2012-05-03 Doug Evans <dje@google.com>
4779
4780 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
4781 commented out.
4782
4783 2012-05-03 Yao Qi <yao@codesourcery.com>
4784
4785 * gdb.base/catch-syscall.exp: Skip it before compilation if target
4786 doesn't support.
4787 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
4788 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
4789
4790 2012-05-03 Yao Qi <yao@codesourcery.com>
4791
4792 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
4793
4794 2012-04-30 Doug Evans <dje@google.com>
4795
4796 PR testsuite/13961
4797 * gdb.dwarf2/pr13961.S: New file.
4798 * gdb.dwarf2/pr13961.exp: New file.
4799
4800 2012-04-29 Yao Qi <yao@codesourcery.com>
4801
4802 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
4803
4804 2012-04-28 Doug Evans <dje@google.com>
4805
4806 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
4807 .Ltype_int_in_cu2. Use name "int2" instead of "int".
4808 All uses updated.
4809 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
4810 "ptype func_cu1" to expand cu2 before cu1.
4811
4812 2012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
4813 Tom Tromey <tromey@redhat.com>
4814
4815 * gdb.base/default.exp: Add `$_probe_arg*' convenience
4816 variables.
4817 * gdb.base/stap-probe.c: New file.
4818 * gdb.base/stap-probe.exp: New file.
4819 * gdb.trace/stap-trace.c: New file.
4820 * gdb.trace/stap-trace.exp: New file.
4821 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
4822 libgcc's unwinder.
4823
4824 2012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
4825
4826 * gdb.arch/mips16-thunks-inmain.c: New file.
4827 * gdb.arch/mips16-thunks-main.c: New file.
4828 * gdb.arch/mips16-thunks-sin.c: New file.
4829 * gdb.arch/mips16-thunks-sinfrob.c: New file.
4830 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
4831 * gdb.arch/mips16-thunks-sinmain.c: New file.
4832 * gdb.arch/mips16-thunks-sinmips16.c: New file.
4833 * gdb.arch/mips16-thunks.exp: New file.
4834
4835 2012-04-25 Doug Evans <dje@google.com>
4836
4837 * configure.ac: Create gdb.go/Makefile.
4838 * configure: Regenerate.
4839 * gdb.base/default.exp: Add "go" to "set language" testing.
4840 * gdb.go/Makefile.in: New file.
4841 * gdb.go/basic-types.exp: New file.
4842 * gdb.go/chan.exp: New file.
4843 * gdb.go/chan.go: New file.
4844 * gdb.go/handcall.exp: New file.
4845 * gdb.go/handcall.go: New file.
4846 * gdb.go/hello.exp: New file.
4847 * gdb.go/hello.go: New file.
4848 * gdb.go/integers.exp: New file.
4849 * gdb.go/integers.go: New file.
4850 * gdb.go/methods.exp: New file.
4851 * gdb.go/methods.go: New file.
4852 * gdb.go/package.exp: New file.
4853 * gdb.go/package1.go: New file.
4854 * gdb.go/package2.go: New file.
4855 * gdb.go/print.exp: New file.
4856 * gdb.go/strings.exp: New file.
4857 * gdb.go/strings.go: New file.
4858 * gdb.go/types.exp: New file.
4859 * gdb.go/types.go: New file.
4860 * gdb.go/unsafe.exp: New file.
4861 * gdb.go/unsafe.go: New file.
4862 * lib/future.exp: Add Go support.
4863 (gdb_find_go, gdb_find_go_linker): New procs.
4864 (gdb_default_target_compile): Add Go support.
4865 * lib/gdb.exp (skip_go_tests): New proc.
4866 * lib/go.exp: New file.
4867
4868 2012-04-25 Tom Tromey <tromey@redhat.com>
4869
4870 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
4871
4872 2012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4873 Jan Kratochvil <jan.kratochvil@redhat.com>
4874
4875 PR symtab/7259:
4876 * gdb.base/enumval.c: New test case.
4877 * gdb.base/enumval.exp: New test case.
4878 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
4879 field.bitpos.
4880
4881 2012-04-17 Pedro Alves <palves@redhat.com>
4882
4883 * Makefile.in (site.exp): Make site.exp source
4884 $srcdir/lib/append_gdb_boards_dir.exp.
4885 * lib/append_gdb_boards_dir.exp: New file.
4886
4887 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4888
4889 New option "set auto-load safe-path".
4890 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
4891 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
4892
4893 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4894
4895 auto-load: Implementation.
4896 * gdb.base/help.exp (test set height): Increase the height.
4897 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
4898 to ...
4899 (info auto-load python-scripts): ... here.
4900 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
4901 to ...
4902 (info auto-load python-scripts *): ... here.
4903
4904 2012-04-16 Yao Qi <yao@codesourcery.com>
4905
4906 * lib/trace-support.exp (get_in_proc_agent): New.
4907 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
4908 of in process trace agent.
4909 * gdb.trace/ftrace.exp: Likewise.
4910 * gdb.trace/pending.exp: Likewise.
4911 * gdb.trace/trace-break.exp: Likewise.
4912 * gdb.trace/trace-mt.exp
4913 * gdb.trace/tspeed.exp: Likewise.
4914 * gdb.trace/tstatus.exp
4915 * gdb.trace/strace.exp: Likewise.
4916
4917 2012-04-16 Thomas Schwinge <thomas@codesourcery.com>
4918
4919 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
4920 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
4921
4922 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
4923
4924 2012-04-14 Anton Gorenkov <xgsa@yandex.ru>
4925
4926 PR mi/13393
4927 * gdb.mi/mi-var-rtti.cc: New file.
4928 * gdb.mi/mi-var-rtti.exp: New file.
4929 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
4930 function.
4931 (mi_varobj_update_with_type_change): updated to avoid code duplication.
4932
4933 2012-04-11 Siva Chandra Reddy <sivachandra@google.com>
4934
4935 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
4936 EXECUTABLES.
4937 * gdb.python/py-explore.c: C program used for testing the new
4938 'explore' command on C constructs.
4939 * gdb.python/py-explore.cc: C++ program used for testing the new
4940 'explore' command on C++ constructs.
4941 * gdb-python/py-explore.exp: Tests for the new 'explore'
4942 command on C constructs.
4943 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
4944 command on C++ constructs.
4945
4946 2012-04-07 Mark Kettenis <kettenis@gnu.org>
4947
4948 * gdb.base/funcargs.exp (complex_args): Fix typo.
4949
4950 2012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4951
4952 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
4953 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
4954
4955 2012-04-05 Keith Seitz <keiths@redhat.com>
4956
4957 * gdb.base/advance.exp: Update error message for
4958 "advance malformed" test.
4959 * gdb.base/break.exp: Likewise for "breakpoint with
4960 trailing garbage" test.
4961 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
4962 with trailing garbage" test.
4963 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
4964 trailng garbage" test.
4965 * gdb.base/until.exp: Likewise for "malformed until" test.
4966 * gdb.cp/ovldbreak.exp: Create the breakpoint table
4967 for "breakpoint info (after setting on all)".
4968 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
4969 tests.
4970 * gdb.cp/cplabel.cc: New file.
4971 * gdb.cp/cplabel.exp: New test.
4972 * gdb.linespec/ls-errs.c: New file.
4973 * gdb.linespec/ls-errs.exp: New test.
4974
4975 2012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4976
4977 * gdb.trace/unavailable.exp
4978 (collect globals: print object on: print derived_partial)
4979 (collect globals: print object on: print derived_whole)
4980 (collect globals: print object off: print derived_partial)
4981 (collect globals: print object off: print derived_whole): Update
4982 expected output.
4983
4984 2012-03-30 Keith Seitz <keiths@redhat.com>
4985
4986 * gdb.python: Add test for linespecs with commas.
4987
4988 2012-03-28 Keith Seitz <keiths@redhat.com>
4989
4990 * gdb.linespec/ls-dollar.cc: New file.
4991 * gdb.linespec/ls-dollar.exp: New test.
4992
4993 2012-03-28 Keith Seitz <keiths@redhat.com>
4994
4995 * gdb.cp/namespace.exp: Add breakpoint tests for functions
4996 starting with the global namespace.
4997
4998 2012-03-23 Doug Evans <dje@google.com>
4999
5000 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
5001
5002 2012-03-22 Siva Chandra Reddy <sivachandra@google.com>
5003
5004 * gdb.python/py-value.cc: Add test case for testing the
5005 methodology exposing C++ values to Python.
5006 * gdb.python/py-value-cc.exp: Add tests testing the methodology
5007 exposing C++ values to Python.
5008 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
5009
5010 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5011 Siddhesh Poyarekar <siddhesh@redhat.com>
5012
5013 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
5014 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
5015 (generate native core dump): Make the test unsupported if core cannot
5016 be generated.
5017
5018 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5019
5020 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
5021 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
5022 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
5023
5024 2012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5025
5026 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
5027
5028 2012-03-17 Doug Evans <dje@google.com>
5029
5030 * dg-extract-results.sh: Handle KFAILs.
5031
5032 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5033
5034 PR symtab/13777
5035 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
5036
5037 2012-03-16 Joel Brobecker <brobecker@adacore.com>
5038
5039 * gdb.ada/set_pckd_arr_elt: New testcase.
5040
5041 2012-03-16 Gary Benson <gbenson@redhat.com>
5042
5043 PR breakpoints/10738
5044 * gdb.opt/inline-break.exp: New file.
5045 * gdb.opt/inline-break.c: Likewise.
5046 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
5047 * gdb.dwarf2/dw2-inline-break.S: Likewise.
5048 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
5049 * gdb.base/async-shell.exp: Likewise.
5050 * lib/mi-support.exp (library_loaded_re): Likewise.
5051
5052 2012-03-15 Tom Tromey <tromey@redhat.com>
5053
5054 * gdb.cp/virtfunc2.exp: Update expected output.
5055 * gdb.cp/pr9631.exp: Update expected output.
5056 * gdb.cp/member-ptr.exp: Update expected output.
5057 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
5058 output.
5059 * gdb.cp/casts.exp: Update expected output.
5060
5061 2012-03-15 Tom Tromey <tromey@redhat.com>
5062
5063 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
5064 (test_info_vtbl): Likewise.
5065 (do_tests): Call test_info_vtbl.
5066 * gdb.cp/virtfunc.cc (va): New global.
5067
5068 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
5069
5070 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
5071 describing DWARF data structures.
5072 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
5073 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
5074 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
5075 * gdb.dwarf2/dw2-entry-value.S: Likewise.
5076 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
5077 * gdb.dwarf2/dw2-param-error.S: Likewise.
5078 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
5079 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
5080 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
5081 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
5082 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
5083 * gdb.dwarf2/pr11465.S: Likewise.
5084
5085 2012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5086
5087 * gdb.mi/mi2-prompt.exp: New file.
5088
5089 2012-03-13 Joel Brobecker <brobecker@adacore.com>
5090
5091 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
5092
5093 2012-03-13 Joel Brobecker <brobecker@adacore.com>
5094
5095 * gdb.ada/bp_range_type: New testcase.
5096
5097 2012-03-13 Doug Evans <dje@google.com>
5098
5099 * gdb.base/default.exp: Delete tests for symbol-reloading.
5100 * gdb.base/help.exp: Ditto.
5101 * gdb.base/setshow.exp: Ditto.
5102 * gdb.base/gdb_history: Delete references to symbol-reloading.
5103
5104 2012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5105
5106 * gdb.base/attach-twice.c: New files.
5107 * gdb.base/attach-twice.exp: New files.
5108
5109 2012-03-08 Keith Seitz <keiths@redhat.com>
5110
5111 * lib/gdb.exp (gdb_get_line_number): Throw an
5112 error instead of returning -1.
5113 * gdb.base/break.exp: Remove unused variable
5114 bp_location5.
5115 * gdb.base/hbreak2.exp: Likewise.
5116 * gdb.base/sepdebug.exp: Likewise.
5117
5118 2012-03-08 Yao Qi <yao@codesourcery.com>
5119 Pedro Alves <palves@redhat.com>
5120
5121 Fix PR server/13392.
5122 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
5123 (tracepoint_change_loc_2): Remove kfail. Return if failed to
5124 download tracepoints.
5125 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
5126 (pending_tracepoint_resolved_during_trace): Likewise.
5127 (pending_tracepoint_installed_during_trace): Likewise.
5128 (pending_tracepoint_with_action_resolved): Likewise.
5129
5130 2012-03-08 Keith Seitz <keiths@redhat.com>
5131
5132 * gdb.ada/array_bounds.exp: Get breakpoint for line
5133 with "START", not "STOP".
5134 * gdb.python/py-infthread.exp: Do not continue to
5135 line marked "Break here.", which is undefined.
5136
5137 2012-03-08 Luis Machado <lgustavo@codesourcery.com>
5138
5139 Revert:
5140
5141 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5142
5143 Implement testsuite workaround for PR breakpoints/13781.
5144 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5145 (set breakpoint condition-evaluation host): New conditional command.
5146
5147 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5148
5149 Fix CU relative vs. absolute DIE offsets.
5150 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
5151 one.
5152
5153 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5154
5155 Fix false FAIL on distros with relro linkage as default.
5156 * gdb.reverse/solib-precsave.exp: Try to compile the test using
5157 -Wl,-z,norelro first.
5158
5159 2012-03-06 Joel Brobecker <brobecker@adacore.com>
5160
5161 * gdb.ada/bp_on_var: New testcase.
5162
5163 2012-03-06 Joel Brobecker <brobecker@adacore.com>
5164
5165 * gdb.ada/bp_enum_homonym: New testcase.
5166
5167 2012-03-06 Yao Qi <yao@codesourcery.com>
5168
5169 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
5170 x86_64-*-* and i?86-*-*.
5171 Set up KFAIL for gdb/13808.
5172
5173 2012-03-05 Tom Tromey <tromey@redhat.com>
5174
5175 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
5176 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
5177
5178 2012-03-05 Tom Tromey <tromey@redhat.com>
5179
5180 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
5181
5182 2012-03-04 Yao Qi <yao@codesourcery.com>
5183
5184 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
5185 messages for KFAIL.
5186
5187 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5188
5189 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
5190 (print one_two_three, indexes off, print few_reps, indexes off)
5191 (print many_reps, indexes off, print empty, indexes off)
5192 (print one_two_three, print few_reps, print many_reps, print empty):
5193 Call setup_xfail if $gcc_old.
5194
5195 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5196
5197 Implement testsuite workaround for PR breakpoints/13781.
5198 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5199 (set breakpoint condition-evaluation host): New conditional command.
5200
5201 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5202
5203 Code cleanup.
5204 * gdb.cp/mb-templates.exp: New variables executable. Use it for
5205 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
5206 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
5207 number 1 by $bpnum. Four times.
5208
5209 2012-03-03 Yao Qi <yao@codesourcery.com>
5210
5211 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
5212
5213 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5214
5215 Setup KFAIL for PR server/13796.
5216 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
5217
5218 2012-03-02 Joel Brobecker <brobecker@adacore.com>
5219
5220 * gdb.ada/operator_bp: New testcase.
5221
5222 2012-03-02 Joel Brobecker <brobecker@adacore.com>
5223
5224 * gdb.ada/info_locals_renaming: New testcase.
5225
5226 2012-03-02 Tom Tromey <tromey@redhat.com>
5227
5228 * gdb.base/nextoverexit.c: New file.
5229 * gdb.base/nextoverexit.exp: New file.
5230
5231 2012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
5232
5233 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
5234 parameter.
5235
5236 2012-03-01 Maciej W. Rozycki <macro@mips.com>
5237
5238 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
5239 core registers.
5240
5241 2012-03-01 Maciej W. Rozycki <macro@mips.com>
5242 Maciej W. Rozycki <macro@codesourcery.com>
5243 Daniel Jacobowitz <dan@codesourcery.com>
5244
5245 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
5246
5247 2012-03-01 Pedro Alves <palves@redhat.com>
5248
5249 PR gdb/13767
5250
5251 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
5252 (gdb_collect_globals_test): Call it.
5253
5254 2012-03-01 Keith Seitz <keiths@redhat.com>
5255
5256 * gdb.cp/method2.exp: Output of overload menu is now
5257 alphabetized. Update tests for "break A::method".
5258 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
5259 of hard-coding them.
5260 Overload menu is alphabetized: rewrite to accommodate.
5261 Unset variables LINE and TYPES which are used in other tests.
5262 Compute the output of "info break".
5263 Update the breakpoint table after all breakpoints are deleted.
5264 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
5265 compute ACTUALS and the method body based on parameters.
5266 Update expected output accordingly.
5267 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
5268 unique comments to allow the use of gdb_get_line_number.
5269
5270 2012-03-01 Keith Seitz <keiths@redhat.com>
5271
5272 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
5273 some Tcl syntax.
5274 * gdb.cp/ovldbreak.exp: Likewise.
5275
5276 2012-03-01 Keith Seitz <keiths@redhat.com>
5277
5278 * gdb.base/help.exp (help show user): Update expected result
5279 for new doc string changes (add "non-python").
5280
5281 2012-03-01 Scott J. Goldman <scottjg@vmware.com>
5282
5283 * gdb.python/py-cmd.exp: Add test to verify that python commands can
5284 be put in the user-defined category and that the commands appear in
5285 "help user-defined".
5286
5287 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5288
5289 * gdb.ada/tagged_not_init: New testcase.
5290
5291 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5292
5293 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
5294 * gdb.ada/enum_idx_packed: New testcase.
5295
5296 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5297
5298 * gdb.ada/aliased_array: New testcase.
5299
5300 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5301
5302 * gdb.ada/whatis_array_val: New testcase.
5303
5304 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5305
5306 Fix disp-step-syscall.exp: fork: single step over fork.
5307 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
5308 whitespaces.
5309 (single step over $syscall): Remove its check.
5310 (single step over $syscall final pc): New check.
5311
5312 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5313
5314 Support processors without SSSE3.
5315 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
5316 pabsd into ...
5317 (ssse3_test): ... a new function.
5318 (main): Call ssse3_test.
5319 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
5320 Update expected values everywhere.
5321 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
5322 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
5323 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
5324 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
5325 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
5326 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
5327 Move these tests lower.
5328 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
5329 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
5330 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
5331 New tests.
5332
5333 2012-02-29 Yao Qi <yao@codesourcery.com>
5334 Pedro Alves <palves@redhat.com>
5335
5336 * gdb.trace/trace-mt.c: New.
5337 * gdb.trace/trace-mt.exp: New.
5338
5339 2012-02-28 Thomas Schwinge <thomas@codesourcery.com>
5340
5341 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
5342 numbers instead of hardcoding them.
5343 * gdb.base/annota1.c: Provide suitable markers.
5344 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
5345 numbers instead of hardcoding them.
5346 * gdb.base/annota3.c: Provide suitable markers.
5347
5348 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
5349 * gdb.base/annota3.c: Likewise.
5350 * gdb.base/sigall.c: Likewise.
5351 * gdb.base/signals.c: Likewise.
5352 * gdb.reverse/sigall-reverse.c: Likewise.
5353
5354 2012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
5355
5356 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
5357 failure return path.
5358
5359 2012-02-27 Luis Machado <lgustavo@codesourcery.com>
5360
5361 * gdb.base/save-bp.exp: Account for new condition evaluator output.
5362
5363 2012-02-24 Luis Machado <lgustavo@codesourcery.com>
5364
5365 * gdb.base/cond-eval-mode.exp: New file.
5366
5367 2012-02-24 Pedro Alves <palves@redhat.com>
5368
5369 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
5370 (top level): Use with_test_prefix.
5371
5372 2012-02-24 Pedro Alves <palves@redhat.com>
5373
5374 * gdb.threads/attach-into-signal.exp (corefunc): Use
5375 with_test_prefix.
5376
5377 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5378
5379 Fix false FAILs on old CPUs without SSE.
5380 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
5381 Return untested for Illegal instruction.
5382
5383 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5384
5385 Fix false FAILs with glibc debug infos installed.
5386 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
5387 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
5388
5389 2012-02-22 Sterling Augustine <saugustine@google.com>
5390
5391 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
5392 constant with cast.
5393
5394 2012-02-21 Pedro Alves <palves@redhat.com>
5395
5396 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
5397
5398 2012-02-21 Pedro Alves <palves@redhat.com>
5399
5400 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
5401
5402 2012-02-21 Pedro Alves <palves@redhat.com>
5403
5404 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
5405 with_test_prefix.
5406
5407 2012-02-21 Pedro Alves <palves@redhat.com>
5408
5409 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
5410 with_test_prefix here.
5411 (top level): Do it here instead. Remove `:' from the
5412 with_test_prefix string.
5413 * gdb.base/attach-pie-misread.exp: Remove the leading space the
5414 the suffix `:' from the with_test_prefix prefix string.
5415 * gdb.base/break-interp.exp: Ditto.
5416 * gdb.base/catch-load.exp: Ditto.
5417 * gdb.base/disp-step-syscall.exp: Ditto.
5418 * gdb.base/jit-so.exp: Ditto.
5419 * gdb.base/jit.exp: Ditto.
5420 * gdb.base/sepdebug.exp: Ditto.
5421 * gdb.base/solib-display.exp: Ditto.
5422 * gdb.base/solib-overlap.exp: Ditto.
5423 * gdb.base/watch-cond-infcall.exp: Ditto.
5424 * gdb.base/watchpoint.exp: Ditto.
5425 * gdb.dwarf2/dw2-noloc.exp: Ditto.
5426 * gdb.mi/mi-watch.exp: Ditto.
5427 * gdb.mi/mi2-watch.exp: Ditto.
5428 * gdb.threads/non-ldr-exc-1.exp: Ditto.
5429 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5430 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5431 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5432 * gdb.threads/watchpoint-fork.exp: Ditto.
5433 * gdb.threads/watchthreads-reorder.exp: Ditto.
5434 * gdb.trace/change-loc.exp: Ditto.
5435 * gdb.trace/pending.exp: Ditto.
5436 * gdb.trace/status-stop.exp: Ditto.
5437 * gdb.trace/strace.exp: Ditto.
5438 * gdb.trace/trace-break.exp: Ditto.
5439 * gdb.trace/unavailable.exp: Ditto.
5440 * lib/gdb.exp (with_test_prefix): Always prefix with space and
5441 suffix with colon. Adjust leading comments.
5442
5443 2012-02-21 Pedro Alves <palves@redhat.com>
5444 Tom Tromey <tromey@redhat.com>
5445
5446 * lib/gdb.exp: Add description of test prefixes.
5447 (with_test_prefix): New procedure.
5448 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
5449 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
5450 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
5451 instead of lappend to append to pf_prefix.
5452 * gdb.base/catch-load.exp: Use with_test_prefix.
5453 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
5454 * gdb.base/jit-so.exp: Use with_test_prefix.
5455 * gdb.base/jit.exp: Use with_test_prefix.
5456 * gdb.base/return-nodebug.exp (do_test): Use append instead of
5457 lappend to append to pf_prefix.
5458 * gdb.base/sepdebug.exp: Use with_test_prefix.
5459 * gdb.base/solib-display.exp: Use with_test_prefix.
5460 * gdb.base/solib-overlap.exp: Use with_test_prefix.
5461 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
5462 * gdb.base/watchpoint.exp: Use with_test_prefix.
5463 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
5464 * gdb.mi/mi-watch.exp: Use with_test_prefix.
5465 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
5466 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
5467 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
5468 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
5469 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
5470 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
5471 append instead of lappend to append to pf_prefix.
5472 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
5473 * gdb.trace/change-loc.exp: Use with_test_prefix.
5474 * gdb.trace/pending.exp: Use with_test_prefix.
5475 * gdb.trace/status-stop.exp: Use with_test_prefix.
5476 * gdb.trace/strace.exp: Use with_test_prefix.
5477 * gdb.trace/trace-break.exp: Use with_test_prefix.
5478 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
5479 instead of lappend to append to pf_prefix.
5480
5481 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5482
5483 Fix racy FAILs.
5484 * gdb.base/inferior-died.c (main): Add return of 0.
5485 * gdb.base/inferior-died.exp (continue): Fix expectation of
5486 asynchronous events.
5487 (p 1): New test.
5488
5489 2012-02-20 Pedro Alves <palves@redhat.com>
5490
5491 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
5492 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
5493 gdb's internal debug output. For the non-threaded case, look for
5494 "Program received signal SIGLARM", for the threaded case, peek at
5495 the thread's siginfo.
5496
5497 2012-02-20 Pedro Alves <palves@redhat.com>
5498
5499 General cleanup, make output test messages unique, and build
5500 different executable files for the non-threaded and threaded
5501 cases.
5502
5503 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
5504 Delete.
5505 (executable_nothr, executable_thr): New globals.
5506 (top level): Adjust to delete both executables.
5507 (corefunc): New parameter $executable. Set $pf_prefix instead of
5508 hand writing a prefix in tests. Issue a clean_restart and enable
5509 lin-lwp debug output here.
5510 (top level): Adjust. Use build_executable. Don't start gdb here,
5511 and don't enable lin-lwp debug output here.
5512 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
5513
5514 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5515
5516 Fix racy FAILs.
5517 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
5518 "continue" command.
5519
5520 2012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5521
5522 Fix for gdbserver non-extended mode.
5523 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
5524 and gdb_run_cmd.
5525
5526 2012-02-17 Tom Tromey <tromey@redhat.com>
5527
5528 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
5529 * gdb.python/py-events.exp: Check 'dir' output.
5530 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
5531
5532 2012-02-17 Yao Qi <yao@codesourcery.com>
5533
5534 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
5535
5536 2012-02-16 Tom Tromey <tromey@redhat.com>
5537
5538 * gdb.base/inferior-died.c: Don't include stdio.h.
5539
5540 2012-02-16 Tom Tromey <tromey@redhat.com>
5541
5542 * gdb.base/inferior-died.c: New file.
5543 * gdb.base/inferior-died.exp: New file.
5544
5545 2012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
5546
5547 * gdb.base/break-inline.exp: New file.
5548 * gdb.base/break-inline.c: New file.
5549
5550 2012-02-15 Tom Tromey <tromey@redhat.com>
5551
5552 * gdb.base/pc-fp.exp: Add "info register" tests.
5553
5554 2012-02-15 Tom Tromey <tromey@redhat.com>
5555
5556 * gdb.base/regs.exp: Remove.
5557
5558 2012-02-15 Pedro Alves <palves@redhat.com>
5559
5560 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
5561 the target doesn't support tracepoints.
5562 * gdb.trace/circ.exp: Ditto.
5563 * gdb.trace/collection.exp: Ditto.
5564 * gdb.trace/packetlen.exp: Ditto.
5565 * gdb.trace/passc-dyn.exp: Ditto.
5566 * gdb.trace/report.exp: Ditto.
5567 * gdb.trace/tfind.exp: Ditto.
5568 * gdb.trace/tspeed.exp: Ditto.
5569 * gdb.trace/tsv.exp: Ditto.
5570 * gdb.trace/unavailable.exp: Ditto.
5571 * gdb.trace/while-dyn.exp: Ditto.
5572
5573 2012-02-15 Pedro Alves <palves@redhat.com>
5574
5575 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
5576 gdb_test_multiple, and call unsupported instead of fail, if the
5577 remote side does not support the request.
5578
5579 2012-02-15 Pedro Alves <palves@redhat.com>
5580
5581 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
5582 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
5583 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
5584 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
5585 * gdb.server/server-run.exp: Make sure gdb is disconnected.
5586 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
5587 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
5588 doesn't start with "extended-" already.
5589
5590 2012-02-15 Pedro Alves <palves@redhat.com>
5591
5592 Support extended-remote. Avoid cascading timeouts.
5593
5594 * gdb.base/attach.exp (do_attach_tests): Add expected output for
5595 the extended-remote target. If attaching with no file fails, load
5596 the file manually.
5597 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
5598
5599 2012-02-14 Stan Shebs <stan@codesourcery.com>
5600
5601 * gdb.base/ena-dis-br.exp: Add enable count test.
5602
5603 2012-02-13 Pedro Alves <palves@redhat.com>
5604
5605 * config/mips-idt.exp: Delete.
5606 * gdb.base/a2-run.exp: Remove mips-idt xfails.
5607 * gdb.base/bitfields.exp: Remove mips-idt restarts.
5608 * gdb.base/break.exp: Remove mips-idt references.
5609 * gdb.base/chng-syms.exp: Ditto.
5610 * gdb.base/default.exp: Ditto.
5611 * gdb.base/funcargs.exp (funcargs_reload): Delete.
5612 (top level): Don't call it.
5613 * gdb.base/opaque.exp: Remove mips-idt restarts.
5614 * gdb.base/ptype.exp: Remove mips-idt xfails.
5615 * gdb.base/scope.exp: Remove mips-idt restarts.
5616 * gdb.base/sepdebug.exp: Remove mips-idt references.
5617 * gdb.base/watchpoint.exp (maybe_clean_restart)
5618 (maybe_reinitialize): Delete.
5619 (test_disabling_watchpoints, test_disabling_watchpoints)
5620 (test_watchpoint_triggered_in_syscall)
5621 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5622 Don't call them.
5623
5624 2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5625
5626 * gdb.server/server-exec-info.exp: New file.
5627
5628 2012-02-10 Pedro Alves <palves@redhat.com>
5629
5630 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
5631 always non-empty.
5632 (test_attach): Always pass $exec to test_attach_gdb.
5633
5634 2012-02-08 Tom Tromey <tromey@redhat.com>
5635
5636 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
5637 before inferior is started.
5638
5639 2012-02-07 Tom Tromey <tromey@redhat.com>
5640
5641 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
5642 Symbol.value.
5643 * gdb.python/py-symbol.c (qq): Set default value.
5644
5645 2012-02-07 Tom Tromey <tromey@redhat.com>
5646
5647 * gdb.python/py-symbol.c (qq): New global.
5648 * gdb.python/py-symbol.exp: Add test for frame-less
5649 lookup_symbol.
5650 * gdb.python/py-symtab.exp: Fix line number.
5651
5652 2012-02-03 Joel Brobecker <brobecker@adacore.com>
5653
5654 * gdb.ada/mi_task_arg: New testcase.
5655
5656 2012-02-02 Pedro Alves <palves@redhat.com>
5657
5658 * gdb.reverse/until-precsave.exp: Also put "record save" under the
5659 extended timeout.
5660
5661 2012-02-02 Pedro Alves <palves@redhat.com>
5662
5663 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
5664 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
5665
5666 2012-02-02 Pedro Alves <palves@redhat.com>
5667
5668 * gdb.base/term.exp: Rewrite.
5669 * gdb.base/term.c: New.
5670
5671 2012-02-02 Pedro Alves <palves@redhat.com>
5672
5673 * gdb.base/default.exp (run "r" abbreviation, run): Add
5674 extended-remote expected output.
5675
5676 2012-02-02 Tom Tromey <tromey@redhat.com>
5677
5678 * gdb.cp/dispcxx.exp: New file.
5679 * gdb.cp/dispcxx.cc: New file.
5680
5681 2012-02-01 Tom Tromey <tromey@redhat.com>
5682
5683 * gdb.base/jit-simple.exp: New file.
5684 * gdb.base/jit-simple.c: New file.
5685
5686 2012-01-30 Yao Qi <yao@codesourcery.com>
5687
5688 * gdb.base/skip.exp: Make test result unique.
5689
5690 2012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5691
5692 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
5693 compatibility with valgrind-3.7.0.
5694
5695 2012-01-27 Pedro Alves <palves@redhat.com>
5696
5697 * gdb.base/watchpoint.exp (no_hw): New global.
5698 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
5699 disable hw watchpoints.
5700 (test_wide_location_1, test_wide_location_2): If no_hw is set,
5701 don't expect hw watchpoints.
5702 (no_hw_watchpoints): Always clean restart.
5703 (do_tests): New procedure, factored out from the top level.
5704 (top level): Run tests twice. Once with hw watchpoints enabled,
5705 another time with hw watchpoints disabled.
5706
5707 2012-01-27 Pedro Alves <palves@redhat.com>
5708
5709 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
5710 out from the top level.
5711 (top level): Call it instead.
5712
5713 2012-01-27 Pedro Alves <palves@redhat.com>
5714
5715 * gdb.base/watchpoint.exp (top level): Re-enable hardware
5716 watchpoints sooner.
5717
5718 2012-01-27 Pedro Alves <palves@redhat.com>
5719
5720 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
5721
5722 2012-01-27 Pedro Alves <palves@redhat.com>
5723
5724 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
5725 "You may have requested too many hardware
5726 breakpoints/watchpoints".
5727
5728 2012-01-27 Pedro Alves <palves@redhat.com>
5729
5730 * gdb.base/watchpoint.exp (maybe_clean_restart)
5731 (maybe_reinitialize): New.
5732 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
5733 expect "hit N times".
5734 (test_disabling_watchpoints, test_complex_watchpoint)
5735 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5736 Call maybe_clean_restart.
5737 (top level): Use clean_restart. Remove "mips-idt-*"
5738 reinitialization.
5739
5740 2012-01-27 Pedro Alves <palves@redhat.com>
5741
5742 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
5743
5744 2012-01-27 Pedro Alves <palves@redhat.com>
5745
5746 * gdb.base/watchpoint.exp: Clean restart after tests that don't
5747 require `initialize' anymore. Remove unnecessary `initialize'
5748 calls.
5749
5750 2012-01-27 Pedro Alves <palves@redhat.com>
5751
5752 * gdb.base/watchpoint.exp (wp_set): Delete.
5753 (initialize, test_simple_watchpoint, top level): Remove dead code.
5754
5755 2012-01-27 Pedro Alves <palves@redhat.com>
5756
5757 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
5758 typo.
5759
5760 2012-01-27 Pedro Alves <palves@redhat.com>
5761
5762 * config/extended-gdbserver.exp: New file.
5763 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
5764 comment.
5765 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
5766 * boards/native-extended-gdbserver.exp: New file.
5767
5768 2012-01-26 Pedro Alves <palves@redhat.com>
5769
5770 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
5771 and gdb_test_multiple.
5772
5773 2012-01-26 Pedro Alves <palves@redhat.com>
5774
5775 Make test messages unique, and more identifiable.
5776 * gdb.multi/watchpoint-multi.exp: Change test messages.
5777
5778 2012-01-25 Tom Tromey <tromey@redhat.com>
5779
5780 * gdb.base/solib-disc.exp: Fix regexps.
5781
5782 2012-01-24 Tom Tromey <tromey@redhat.com>
5783
5784 * lib/mi-support.exp (mi_expect_stop): Add special case for
5785 solib-event.
5786 * gdb.base/catch-load-so.c: New file.
5787 * gdb.base/catch-load.exp: New file.
5788 * gdb.base/catch-load.c: New file.
5789 * gdb.base/break-interp.exp (reach_1): Update regexp.
5790
5791 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5792
5793 Fix fuzzy results.
5794 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
5795 lpsimple and func.
5796
5797 2012-01-24 Gary Benson <gbenson@redhat.com>
5798
5799 Delete #if 0'd out code.
5800 * gdb.base/default.exp (info catch): Remove.
5801 * gdb.base/gdb_history (info catch): Likewise.
5802 * gdb.base/help.exp (info catch): Likewise.
5803
5804 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5805
5806 Fix watchpoints to be specific for each inferior.
5807 * gdb.multi/watchpoint-multi.c: New file.
5808 * gdb.multi/watchpoint-multi.exp: New file.
5809
5810 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5811
5812 Fix watchpoints across inferior fork.
5813 * gdb.threads/watchpoint-fork-child.c: New file.
5814 * gdb.threads/watchpoint-fork-mt.c: New file.
5815 * gdb.threads/watchpoint-fork-parent.c: New file.
5816 * gdb.threads/watchpoint-fork-st.c: New file.
5817 * gdb.threads/watchpoint-fork.exp: New file.
5818 * gdb.threads/watchpoint-fork.h: New file.
5819
5820 2012-01-23 Pedro Alves <palves@redhat.com>
5821
5822 * gdb.base/call-signal-resume.exp: Allow output after "return".
5823
5824 2012-01-20 Pedro Alves <palves@redhat.com>
5825
5826 * gdb.python/py-finish-breakpoint.py: Fix typo.
5827
5828 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
5829
5830 * gdb.base/info-proc.exp: Also run on remote targets. Main
5831 "info proc" command is now always present; whether target supports
5832 actual info proc operation is detected when attempting to issue
5833 the command.
5834
5835 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5836
5837 * .gdbinit: Remove.
5838
5839 2012-01-19 Pedro Alves <palves@redhat.com>
5840
5841 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
5842 look at the funtions' returns.
5843 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
5844 (jprint.print(int, int)): Change return type to int. Adjust.
5845
5846 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5847
5848 PR gdb/9538
5849 * gdb.base/sepdebug.exp: New test.
5850
5851 2012-01-18 Pedro Alves <palves@redhat.com>
5852
5853 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
5854 Allow output before ^done.
5855
5856 2012-01-16 Tom Tromey <tromey@redhat.com>
5857
5858 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
5859 Add tests for relative directory.
5860
5861 2012-01-16 Tom Tromey <tromey@redhat.com>
5862
5863 * gdb.base/printcmds.c (enum flag_enum): New.
5864 (three): New global.
5865 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
5866 enum printing.
5867 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
5868 FlagEnumerationPrinter.
5869 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
5870 * gdb.python/py-pp-maint.c (enum flag_enum): New.
5871 (fval): New global.
5872
5873 2012-01-16 Pedro Alves <palves@redhat.com>
5874
5875 * lib/gdb.exp (banned_procedures): New variable.
5876 (banned_variables_traced): Rename to ...
5877 (banned_traced): ... this.
5878 (gdb_init): Also trace banned procedures.
5879 (gdb_finish): Also untrace banned procedures.
5880
5881 2012-01-16 Pedro Alves <palves@redhat.com>
5882
5883 Remove all calls to strace.
5884
5885 2012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5886
5887 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
5888 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
5889
5890 2012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5891
5892 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
5893 * gdb.base/pie-execl.exp: Likewise.
5894
5895 2012-01-12 Keith Seitz <keiths@redhat.com>
5896
5897 PR mi/10586
5898 * gdb.mi/var-cmd.c (struct anonymous): New structure.
5899 (do_anonymous_type_tests): New function.
5900 (main): Call do_anonymous_type_tests.
5901 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
5902 (verify_everything): New procedure.
5903 * gdb.mi/mi-var-cp.cc (class A): New class.
5904 (anonymous_structs_and_unions): New function.
5905 (main): Call anonymous_structs_and_unions.
5906 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
5907 (verify_everything): New procedure.
5908
5909 2012-01-12 Keith Seitz <keiths@redhat.com>
5910
5911 * lib/mi-support.exp: Expand comments about PATH_EXPR.
5912 (varobj_tree::get_path_expr): Assume that all varobjs are
5913 compound unless they are known simple types.
5914 Adjust path expressions based on parent type, path parent type,
5915 and tree language.
5916 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
5917 the root varobj.
5918 (mi_walk_varobj_tree): Add LANGUAGE parameter.
5919
5920 2012-01-11 Pedro Alves <palves@redhat.com>
5921
5922 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
5923 core files on this machine" anymore.
5924
5925 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
5926
5927 * gdb.base/watchpoint.c (recurser): Initialize local_x.
5928 (main): Repeat recurser call.
5929 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
5930 equivalent to 'local_x'.
5931
5932 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
5933 Joel Brobecker <brobecker@adacore.com>
5934
5935 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
5936
5937 2012-01-05 Pedro Alves <alves.ped@gmail.com>
5938
5939 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
5940 * gdb.python/py-events.c (first): Add bits for new "step N" test.
5941 * gdb.python/py-events.exp: Test that "step N" tripping on a
5942 breakpoint emits a breakpoint event.
5943
5944 2012-01-03 Joel Brobecker <brobecker@adacore.com>
5945
5946 * gdb.base/auxv.exp: Reformat the copyright notice.
5947
5948 2012-01-03 Yao Qi <yao@codesourcery.com>
5949
5950 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
5951 (strace_trace_on_diff_addr): New.
5952 * gdb.trace/strace.c: (main): Add two local variables.
5953
5954 2011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
5955
5956 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
5957 * gdb.cell/gcore.exp: Likewise.
5958 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
5959 to verify the correct instance of main is selected.
5960
5961 2012-01-02 Joel Brobecker <brobecker@adacore.com>
5962
5963 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
5964 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
5965 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
5966 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
5967 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
5968 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
5969 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
5970 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
5971 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
5972 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
5973 gdb.threads/thread_check.c: Reformat copyright header.
5974
5975 2011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
5976
5977 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
5978 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
5979 is not enabled.
5980
5981 2011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5982
5983 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
5984 parameter to self_exec, adjust the function.
5985 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
5986 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
5987 (set var do_exit = 0): Remove test.
5988 (newline at end of file): Add one.
5989
5990 2011-12-27 Joel Brobecker <brobecker@adacore.com>
5991
5992 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
5993 New files.
5994
5995 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5996
5997 Fix racy FAILs.
5998 * gdb.threads/fork-thread-pending.c (barrier): New variable.
5999 (thread_function, thread_forker): Call pthread_barrier_wait for it.
6000 (main): Call pthread_barrier_init for it.
6001
6002 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6003
6004 Fix double send_gdb leading to racy FAILs.
6005 * gdb.base/break.exp (set silent break bp_location1): Replace
6006 3x send_gdb and gdb_expect by gdb_test.
6007 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
6008 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
6009 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
6010 instead of send_gdb. Twice.
6011 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
6012 3x send_gdb and gdb_expect by gdb_test.
6013 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
6014
6015 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6016
6017 * gdb.linespec/linespec.exp: Compile using {c++}.
6018
6019 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6020
6021 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
6022 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
6023 (verify GCC PR debug/51668): New test.
6024
6025 2011-12-23 Kevin Pouget <kevin.pouget@st.com>
6026
6027 Introduce gdb.FinishBreakpoint in Python.
6028 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
6029 py-finish-breakpoint2
6030 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
6031 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
6032 instead of line number.
6033 * gdb.python/py-finish-breakpoint.c: New file.
6034 * gdb.python/py-finish-breakpoint.exp: New file.
6035 * gdb.python/py-finish-breakpoint.py: New file.
6036 * gdb.python/py-finish-breakpoint2.cc: New file.
6037 * gdb.python/py-finish-breakpoint2.exp: New file.
6038 * gdb.python/py-finish-breakpoint2.py: New file.
6039
6040 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6041
6042 Partial fix of compatibility with gcc-4.7.
6043 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
6044 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
6045 Add comment to add a PASS case in the future.
6046
6047 Fix compatibility with gcc-4.7.
6048 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
6049
6050 2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
6051
6052 PR tdep/12797
6053 * gdb.base/callfuncs.exp: Remove KFAIL.
6054
6055 2011-12-21 Joel Brobecker <brobecker@adacore.com>
6056
6057 * gdb.ada/task_bp: New testcase.
6058
6059 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6060
6061 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
6062 -DNO_SECTIONS.
6063 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
6064
6065 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6066
6067 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
6068 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
6069 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6070 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
6071 conditional for gcc <= 4.5.
6072
6073 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6074
6075 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
6076 by XFAIL.
6077 * gdb.cp/static-method.exp (info addr A::func())
6078 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6079 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6080 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6081 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
6082 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
6083 (test value of F in k3_m): Likewise.
6084 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6085 Likewise.
6086
6087 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6088
6089 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
6090 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
6091 Remove.
6092 * gdb.threads/attachstop-mt.c: Remove.
6093 * gdb.threads/attachstop-mt.exp: Remove.
6094
6095 2011-12-17 Mark Kettenis <kettenis@gnu.org>
6096
6097 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
6098
6099 2011-12-16 Doug Evans <dje@google.com>
6100
6101 * boards/native-stdio-gdbserver.exp: New file.
6102 * boards/native-gdbserver.exp: New file.
6103
6104 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
6105 gdbserver output.
6106 (gdbserver_default_get_remote_address): New function.
6107 (gdbserver_start): Call gdb,get_remote_address to compute argument
6108 to "target remote" command.
6109
6110 2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
6111
6112 * gdb.python/py-function.exp: Change "on" to "full" for
6113 python print-stack. Add set/show python print-stack
6114 off|full|message tests.
6115
6116 2011-12-15 Yao Qi <yao@codesourcery.com>
6117
6118 * gdb.trace/strace.c: New
6119 * gdb.trace/strace.exp: New.
6120
6121 2011-12-14 Tom Tromey <tromey@redhat.com>
6122
6123 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
6124
6125 2011-12-14 Doug Evans <dje@google.com>
6126
6127 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
6128
6129 2011-12-14 Pedro Alves <pedro@codesourcery.com>
6130
6131 PR threads/10729
6132
6133 * gdb.mi/watch-nonstop.c: New file.
6134 * gdb.mi/mi-watch-nonstop.exp: New file.
6135
6136 2011-12-13 Pedro Alves <pedro@codesourcery.com>
6137 Doug Evans <dje@google.com>
6138
6139 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
6140 (clean_restart): Remove references to the gdb_stub target board
6141 variable.
6142 (gdb_step_for_stub): Delete.
6143
6144 * gdb.base/annota1.exp: Remove all references to [target_info
6145 exists gdb_stub], gdb_step_for_stub and usestubs.
6146 * gdb.base/annota3.exp: Ditto.
6147 * gdb.base/async.exp: Ditto.
6148 * gdb.base/break.exp: Ditto.
6149 * gdb.base/code-expr.exp: Ditto.
6150 * gdb.base/commands.exp: Ditto.
6151 * gdb.base/completion.exp: Ditto.
6152 * gdb.base/condbreak.exp: Ditto.
6153 * gdb.base/consecutive.exp: Ditto.
6154 * gdb.base/cvexpr.exp: Ditto.
6155 * gdb.base/define.exp: Ditto.
6156 * gdb.base/display.exp: Ditto.
6157 * gdb.base/ena-dis-br.exp: Ditto.
6158 * gdb.base/environ.exp: Ditto.
6159 * gdb.base/gnu-ifunc.exp: Ditto.
6160 * gdb.base/maint.exp: Ditto.
6161 * gdb.base/pending.exp: Ditto.
6162 * gdb.base/sect-cmd.exp: Ditto.
6163 * gdb.base/sepdebug.exp: Ditto.
6164 * gdb.base/unload.exp: Ditto.
6165 * gdb.base/watchpoint-solib.exp: Ditto.
6166 * gdb.cp/annota2.exp: Ditto.
6167 * gdb.cp/annota3.exp: Ditto.
6168 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
6169 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
6170 * gdb.mi/mi-pending.exp: Ditto.
6171 * gdb.trace/circ.exp: Ditto.
6172 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
6173 * gdb.base/list.exp: Ditto.
6174
6175 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
6176 breakpoint function and all references to the usestubs macro.
6177 * gdb.base/exprs.c: Ditto.
6178 * gdb.base/freebpcmd.c: Ditto.
6179 * gdb.base/bitfields.c: Ditto.
6180 * gdb.base/bitfields2.c: Ditto.
6181 * gdb.base/break.c: Ditto.
6182 * gdb.base/call-sc.c: Ditto.
6183 * gdb.base/call-signals.c: Ditto.
6184 * gdb.base/callfuncs.c: Ditto.
6185 * gdb.base/charset.c: Ditto.
6186 * gdb.base/consecutive.c: Ditto.
6187 * gdb.base/constvars.c: Ditto.
6188 * gdb.base/funcargs.c: Ditto.
6189 * gdb.base/int-type.c: Ditto.
6190 * gdb.base/interrupt.c: Ditto.
6191 * gdb.base/langs0.c: Ditto.
6192 * gdb.base/list0.c: Ditto.
6193 * gdb.base/mips_pro.c: Ditto.
6194 * gdb.base/miscexprs.c: Ditto.
6195 * gdb.base/nodebug.c: Ditto.
6196 * gdb.base/opaque0.c: Ditto.
6197 * gdb.base/pointers.c: Ditto.
6198 * gdb.base/printcmds.c: Ditto.
6199 * gdb.base/ptype.c: Ditto.
6200 * gdb.base/recurse.c: Ditto.
6201 * gdb.base/reread1.c: Ditto.
6202 * gdb.base/reread2.c: Ditto.
6203 * gdb.base/restore.c: Ditto.
6204 * gdb.base/return.c: Ditto.
6205 * gdb.base/run.c: Ditto.
6206 * gdb.base/scope0.c: Ditto.
6207 * gdb.base/sepdebug.c: Ditto.
6208 * gdb.base/setshow.c: Ditto.
6209 * gdb.base/setvar.c: Ditto.
6210 * gdb.base/sigall.c: Ditto.
6211 * gdb.base/signals.c: Ditto.
6212 * gdb.base/structs.c: Ditto.
6213 * gdb.base/structs2.c: Ditto.
6214 * gdb.base/testenv.c: Ditto.
6215 * gdb.base/twice.c: Ditto.
6216 * gdb.base/unwindonsignal.c: Ditto.
6217 * gdb.base/watchpoint.c: Ditto.
6218 * gdb.base/watchpoints.c: Ditto.
6219 * gdb.base/whatis.c: Ditto.
6220 * gdb.cp/classes.cc: Ditto.
6221 * gdb.cp/cplusfuncs.cc: Ditto.
6222 * gdb.cp/derivation.cc: Ditto.
6223 * gdb.cp/formatted-ref.cc: Ditto.
6224 * gdb.cp/misc.cc: Ditto.
6225 * gdb.cp/overload.cc: Ditto.
6226 * gdb.cp/ovldbreak.cc: Ditto.
6227 * gdb.cp/ref-params.cc: Ditto.
6228 * gdb.cp/ref-types.cc: Ditto.
6229 * gdb.cp/templates.cc: Ditto.
6230 * gdb.cp/virtfunc.cc: Ditto.
6231 * gdb.hp/gdb.aCC/run.c: Ditto.
6232 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
6233 * gdb.hp/gdb.compat/xdb0.c: Ditto.
6234 * gdb.reverse/consecutive-reverse.c: Ditto.
6235 * gdb.reverse/sigall-reverse.c: Ditto.
6236 * gdb.reverse/until-reverse.c: Ditto.
6237 * gdb.reverse/watch-reverse.c: Ditto.
6238 * gdb.trace/actions.c: Ditto.
6239 * gdb.trace/circ.c: Ditto.
6240 * gdb.trace/collection.c: Ditto.
6241
6242 2011-12-13 Pedro Alves <pedro@codesourcery.com>
6243
6244 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
6245 (func6, func7): New.
6246 (main): Call func6 and func7.
6247 * gdb.base/watchpoint.exp (test_wide_location_1)
6248 (test_wide_location_2): New.
6249 (top level): Re-enable hardware watchpoints if necessary. Call
6250 test_wide_location_1 and test_wide_location_2.
6251
6252 2011-12-11 Yao Qi <yao@codesourcery.com>
6253
6254 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
6255
6256 2011-12-11 Joel Brobecker <brobecker@adacore.com>
6257
6258 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
6259 expected output for unsupported case.
6260
6261 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6262
6263 PR testsuite/12649
6264 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
6265 Protect gdb_test_multiple by final $gdb_prompt match.
6266
6267 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6268
6269 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
6270 New variable, new test.
6271 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6272 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6273 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6274 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
6275 them if HAVE_GCC_45682_FIXED is not set.
6276
6277 2011-12-10 Yao Qi <yao@codesourcery.com>
6278
6279 * gdb.trace/status-stop.exp: New.
6280 * gdb.trace/status-stop.c: New.
6281
6282 2011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6283
6284 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
6285 timeout.
6286
6287 2011-12-08 Tom Tromey <tromey@redhat.com>
6288
6289 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
6290 condition.
6291
6292 2011-12-07 Stan Shebs <stan@codesourcery.com>
6293
6294 * gdb.trace/tfind.exp: Update for output changes.
6295
6296 2011-12-07 Pedro Alves <pedro@codesourcery.com>
6297
6298 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
6299 throws "Cannot insert catchpoints in this configuration".
6300 * gdb.ada/mi_catch_ex.exp: Likewise.
6301
6302 2011-12-06 Pedro Alves <pedro@codesourcery.com>
6303
6304 * gdb.base/break-always.exp: Test changing memory at addresses
6305 with breakpoints inserted.
6306
6307 2011-12-06 Joel Brobecker <brobecker@acacore.com>
6308
6309 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
6310 involving a fully qualified function name.
6311
6312 2011-12-06 Tom Tromey <tromey@redhat.com>
6313
6314 * gdb.ada/homonym.exp: Add three breakpoint tests.
6315
6316 2011-12-06 Tom Tromey <tromey@redhat.com>
6317
6318 * gdb.base/solib-weak.exp (do_test): Remove kfail.
6319 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
6320 * gdb.objc/objcdecode.exp: Update for output changes.
6321 * gdb.linespec/linespec.exp: New file.
6322 * gdb.linespec/lspec.cc: New file.
6323 * gdb.linespec/lspec.h: New file.
6324 * gdb.linespec/body.h: New file.
6325 * gdb.linespec/base/two/thefile.cc: New file.
6326 * gdb.linespec/base/one/thefile.cc: New file.
6327 * gdb.linespec/Makefile.in: New file.
6328 * gdb.cp/templates.exp (test_template_breakpoints): Update for
6329 output changes.
6330 * gdb.cp/re-set-overloaded.exp: Remove kfail.
6331 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
6332 makes one breakpoint.
6333 * gdb.cp/method2.exp (test_break): Update for output changes.
6334 * gdb.cp/mb-templates.exp: Update for output changes.
6335 * gdb.cp/mb-inline.exp: Update for output changes.
6336 * gdb.cp/mb-ctor.exp: Update for output changes.
6337 * gdb.cp/ovsrch.exp: Use fully-qualified names.
6338 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
6339 has multiple matches.
6340 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
6341 error message change.
6342 * gdb.base/list.exp (test_list_filename_and_number): Update for
6343 error message change.
6344 * gdb.base/break.exp: Disable pending breakpoints. Update for
6345 output changes.
6346 * configure.ac: Add gdb.linespec.
6347 * configure: Rebuild.
6348 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
6349
6350 2011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
6351
6352 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
6353 last_break register on s390*-*-* targets.
6354
6355 2011-12-06 Joel Brobecker <brobecker@adacore.com>
6356
6357 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
6358 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
6359 of parameter X in procedure Foo.
6360
6361 2011-12-05 Stan Shebs <stan@codesourcery.com>
6362
6363 * gdb.trace/tfind.exp: Update help string matches.
6364
6365 2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6366
6367 * gdb.server/ext-run.exp (get process list): Accept also systemd
6368 as PID 1.
6369
6370 2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6371 Pedro Alves <pedro@codesourcery.com>
6372
6373 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
6374 starting GDB.
6375 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
6376 $use_gdb_stub.
6377 * gdb.base/display.exp: Likewise.
6378 * gdb.base/ending-run.exp: Likewise.
6379 * gdb.base/list.exp (test_listsize): Likewise.
6380 * gdb.base/setshow.exp: Likewise.
6381 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
6382 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
6383 check by global $use_gdb_stub.
6384 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
6385 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
6386 (default_gdb_init): Unset global $use_gdb_stub.
6387 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
6388 by global $use_gdb_stub.
6389 * lib/gdbserver-support.exp: Extend comments for set_board_info
6390 gdb_protocol and gdb,socketport.
6391 (gdbserver_start_extended): Set global gdbserver_protocol and
6392 gdbserver_gdbport. Clear global use_gdb_stub.
6393 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
6394 from target use_gdb_stub.
6395 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
6396
6397 2011-12-03 Doug Evans <dje@google.com>
6398
6399 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
6400 (gdb_step_for_stub): Add comments.
6401
6402 2011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
6403
6404 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
6405 to the caller.
6406 (gdb_test_multiple): Likewise.
6407
6408 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6409
6410 Fix gdb.mi/mi-solib.exp without system debug info installed.
6411 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
6412 expect attribute, return 0 for it. Update comments.
6413
6414 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6415
6416 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
6417 (corrupted list): Adjust the expectation.
6418
6419 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6420
6421 PR threads/13448
6422 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
6423 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
6424 * gdb.threads/tls-var-main.c: New file.
6425 * gdb.threads/tls-var.c: New file.
6426 * gdb.threads/tls-var.exp: New file.
6427
6428 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6429
6430 PR testsuite/12649
6431 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
6432 Protect gdb_test_multiple by final $gdb_prompt match.
6433 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
6434 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
6435 (test_tracepoints): Likewise.
6436
6437 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6438
6439 PR breakpoints/13346
6440 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
6441 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
6442 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
6443
6444 2011-12-01 Joel Brobecker <brobecker@adacore.com>
6445
6446 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
6447 * gdb.ada/homonym/homonym.adb: For use of all types defined
6448 locally inside both Get_Value subprograms.
6449
6450 2011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6451
6452 Fix racy FAILs.
6453 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
6454 of send_gdb.
6455
6456 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6457
6458 * gdb.base/testenv.exp: Skip on remote targets. Unset global
6459 environment variable after test completed.
6460
6461 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6462
6463 * gdb.base/solib-nodir.exp: Skip if remote target.
6464 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
6465 application. Call gdb_load_shlibs.
6466 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
6467
6468 2011-11-29 Joel Brobecker <brobecker@adacore.com>
6469
6470 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
6471
6472 2011-11-28 Joel Brobecker <brobecker@adacore.com>
6473
6474 * gdb.ada/fullname_bp: New testcase.
6475
6476 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6477
6478 PR testsuite/12649
6479 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
6480 Wrap send_gdb into a new gdb_test.
6481
6482 Code cleanup.
6483 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
6484 Convert send_gdb and gdb_expect to gdb_test_multiple.
6485
6486 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6487
6488 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
6489
6490 2011-11-23 Keith Seitz <keiths@redhat.com>
6491
6492 * lib/mi-support.exp (varobj_tree): New namespace and procs.
6493 (mi_varobj_tree_test_children_callback): New proc.
6494 (mi_walk_varobj_tree): New proc.
6495
6496 2011-11-22 Tom Tromey <tromey@redhat.com>
6497
6498 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
6499 Add "use_mi_command" argument.
6500 (mi_run_cmd, mi_run_with_cli): New procs.
6501 * gdb.mi/solib-lib.c: New file.
6502 * gdb.mi/solib-main.c: New file.
6503 * gdb.mi/mi-solib.exp: New file.
6504
6505 2011-11-21 Doug Evans <dje@google.com>
6506
6507 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
6508 _Unwind_DebugHook is missing.
6509
6510 2011-11-20 Stan Shebs <stan@codesourcery.com>
6511
6512 * gdb.trace/tstatus.exp: New.
6513 * gdb.trace/actions.c: Include string.h.
6514
6515 2011-11-18 Yao Qi <yao@codesourcery.com>
6516
6517 * gdb.trace/pending.exp: New.
6518 * gdb.trace/pending.c: New.
6519 * gdb.trace/pendshr1.c: New.
6520 * gdb.trace/pendshr2.c: New.
6521 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
6522 tracepoint location becomes pending.
6523 (tracepoint_change_loc_2): New.
6524
6525 2011-11-16 David S. Miller <davem@davemloft.net>
6526
6527 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
6528 target is sparc*-*-linux*
6529
6530 2011-11-15 Paul Koning <paul_koning@dell.com>
6531
6532 * gdb.python/py-type.exp: New testcases for exceptions on scalar
6533 types.
6534
6535 2011-11-14 Doug Evans <dje@google.com>
6536
6537 * gdb.base/shell.exp: New file.
6538
6539 2011-11-14 Stan Shebs <stan@codesourcery.com>
6540
6541 * gdb.trace/ftrace.c: New.
6542 * gdb.trace/ftrace.exp: New.
6543
6544 2011-11-14 Yao Qi <yao@codesourcery.com>
6545
6546 * gdb.trace/change-loc-1.c: New.
6547 * gdb.trace/change-loc-2.c: New.
6548 * gdb.trace/change-loc.c: New.
6549 * gdb.trace/change-loc.exp: New.
6550 * gdb.trace/change-loc.h: New.
6551 * gdb.trace/trace-break.c (marker): Define new symbol.
6552 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6553 New.
6554 (break_trace_same_addr_6): New.
6555
6556 2011-11-12 Matt Rice <ratmice@gmail.com>
6557
6558 * gdb.base/info-macros.exp: Make tests for info definitions
6559 test info macro. Add tests for info macro argument processing.
6560 Rename a few tests.
6561
6562 2011-11-11 Keith Seitz <keiths@redhat.com>
6563
6564 PR gdb/12843
6565 * gdb.base/linespecs.exp: New file.
6566
6567 2011-11-11 Doug Evans <dje@google.com>
6568
6569 * gdb.threads/print-threads.exp: Extend timeout for slower
6570 tests.
6571
6572 2011-11-10 Doug Evans <dje@google.com>
6573
6574 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
6575 "record to end of main" test.
6576
6577 * gdb.python/py-type.c (TS): New typedef.
6578 (ts): New global.
6579 * gdb.python/py-type.exp: Test field list of typedef.
6580
6581 2011-11-10 Joel Brobecker <brobecker@adacore.com>
6582
6583 * gdb.ada/small_reg_param: New testcase.
6584
6585 2011-11-09 Tom Tromey <tromey@redhat.com>
6586
6587 * gdb.cp/destrprint.exp: New file.
6588 * gdb.cp/destrprint.cc: New file.
6589
6590 2011-11-08 Meador Inge <meadori@codesourcery.com>
6591
6592 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
6593 (switch_stack_to_other): New test function.
6594 * gdb.arch/thumb-prologue.exp: New test cases.
6595
6596 2011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
6597
6598 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
6599
6600 2011-11-08 Yao Qi <yao@codesourcery.com>
6601
6602 * gdb.exp (supports_process_record): New.
6603 (supports_reverse): New.
6604 * gdb.reverse/break-precsave.exp: Call support_process_record
6605 to run test conditionally.
6606 * gdb.reverse/consecutive-precsave.exp: Likewise.
6607 * gdb.reverse/i386-precsave.exp: Likewise.
6608 * gdb.reverse/machinestate-precsave.exp: Likewise.
6609 * gdb.reverse/solib-precsave.exp: Likewise.
6610 * gdb.reverse/step-precsave.exp: Likewise.
6611 * gdb.reverse/until-precsave.exp: Likewise.
6612 * gdb.reverse/watch-precsave.exp: Likewise.
6613 * gdb.reverse/break-reverse.exp: Call support_reverse to run
6614 test conditionally.
6615 * gdb.reverse/consecutive-reverse.exp: Likewise.
6616 * gdb.reverse/finish-precsave.exp: Likewise.
6617 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6618 * gdb.reverse/finish-reverse.exp: Likewise.
6619 * gdb.reverse/i386-reverse.exp: Likewise.
6620 * gdb.reverse/i386-sse-reverse.exp: Likewise.
6621 * gdb.reverse/machinestate.exp: Likewise.
6622 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
6623 * gdb.reverse/sigall-precsave.exp: Likewise.
6624 * gdb.reverse/sigall-reverse.exp: Likewise.
6625 * gdb.reverse/solib-reverse.exp: Likewise.
6626 * gdb.reverse/step-reverse.exp: Likewise.
6627 * gdb.reverse/until-reverse.exp: Likewise.
6628 * gdb.reverse/watch-reverse.exp: Likewise.
6629
6630 2011-11-05 Yao Qi <yao@codesourcery.com>
6631
6632 * gdb.trace/trace-break.exp: Add test on setting two
6633 fast tracepoints at the same address.
6634
6635 2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6636
6637 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
6638
6639 2011-11-02 Stan Shebs <stan@codesourcery.com>
6640
6641 * gdb.trace/collection.c: Add code using strings.
6642 * gdb.trace/collection.exp: Add tests of string collection.
6643
6644 2011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6645
6646 * gdb.base/skip-solib.exp (executable_main): New variable.
6647 (binfile_main): Base it on that.
6648 Use $executable_main in clean_restart calls. Drop gdb_exit and
6649 gdb_start calls.
6650
6651 2011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6652
6653 Fix racy FAILs.
6654 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
6655 breakpoint_re globals import by async. Set string_regex to .* for
6656 async. Remove the optional thread_selected_re and breakpoint_re
6657 globals expectations.
6658
6659 2011-11-01 Joseph Myers <joseph@codesourcery.com>
6660
6661 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
6662 well as Cygwin.
6663
6664 2011-11-01 Justin Lebar <justin.lebar@gmail.com>
6665
6666 Add tests for skip command.
6667 * gdb.base/skip-solib-lib.c: New
6668 * gdb.base/skip-solib-main.c: New
6669 * gdb.base/skip-solib.exp: New
6670 * gdb.base/skip.c: New
6671 * gdb.base/skip.exp: New
6672 * gdb.base/skip1.c: New
6673 * gdb.base/Makefile.in: Adding new files.
6674
6675 2011-10-31 Yao Qi <yao@codesourcery.com>
6676 Pedro Alves <pedro@codesourcery.com>
6677
6678 * gdb.trace/trace-break.c: New.
6679 * gdb.trace/trace-break.exp: New.
6680
6681 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6682
6683 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
6684 break-here-2.
6685
6686 2011-10-28 Pedro Alves <pedro@codesourcery.com>
6687
6688 * gdb.threads/no-unwaited-for-left.c: New.
6689 * gdb.threads/no-unwaited-for-left.exp: New.
6690 * gdb.threads/non-ldr-exc-1.c: New.
6691 * gdb.threads/non-ldr-exc-1.exp: New.
6692 * gdb.threads/non-ldr-exc-2.c: New.
6693 * gdb.threads/non-ldr-exc-2.exp: New.
6694 * gdb.threads/non-ldr-exc-3.c: New.
6695 * gdb.threads/non-ldr-exc-3.exp: New.
6696 * gdb.threads/non-ldr-exc-4.c: New.
6697 * gdb.threads/non-ldr-exc-4.exp: New.
6698
6699 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6700
6701 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
6702 * gdb.base/attach-pie-misread.exp: Likewise.
6703 * gdb.base/break-interp.exp: Likewise.
6704 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
6705 testcases for use_gdb_stub.
6706 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
6707 (continue): New testcase.
6708 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
6709 * gdb.threads/attach-into-signal.exp: Likewise.
6710 * gdb.threads/attach-stopped.exp: Likewise.
6711 * gdb.threads/attachstop-mt.exp: Likewise.
6712
6713 2011-10-28 Paul Koning <paul_koning@dell.com>
6714
6715 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
6716
6717 2011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6718
6719 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
6720 (mi_gdb_test): Import globals thread_selected_re
6721 and breakpoint_re. Expect them optionally at the regex start.
6722
6723 2011-10-27 Doug Evans <dje@google.com>
6724
6725 * gdb.python/python.exp: Test source -s.
6726
6727 2011-10-26 Paul Koning <paul_koning@dell.com>
6728
6729 * gdb.python/lib-types.cc (struct A): New structure.
6730 * gdb.python/lib-types.exp (deepitems): New tests.
6731
6732 2011-10-25 Paul Koning <paul_koning@dell.com>
6733
6734 PR python/13327
6735
6736 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
6737 fetch_lazy method.
6738
6739 2011-10-24 Yao Qi <yao@codesourcery.com>
6740
6741 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
6742 target is tic6x-*-*.
6743
6744 2011-10-21 Joel Brobecker <brobecker@adacore.com>
6745
6746 * gdb.ada/mi_task_info/task_switch.adb: New file.
6747 * gdb.ada/mi_task_info.exp: New file.
6748
6749 2011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6750
6751 * gdb.cp/expand-psymtabs-cxx.exp: New file.
6752 * gdb.cp/expand-psymtabs-cxx.cc: New file.
6753
6754 2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
6755
6756 PR python/12656
6757
6758 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
6759 global_block tests.
6760
6761 2011-10-18 Tom Tromey <tromey@redhat.com>
6762
6763 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
6764
6765 2011-10-18 Tom Tromey <tromey@redhat.com>
6766
6767 * gdb.base/source.exp: Don't include full file name in test name.
6768 * gdb.python/python.exp: Don't include full file name in test
6769 name.
6770
6771 2011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6772
6773 * gdb.base/attach-pie-noexec.c: New files.
6774 * gdb.base/attach-pie-noexec.exp: New files.
6775
6776 2011-10-17 Joseph Myers <joseph@codesourcery.com>
6777
6778 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
6779 prompt for each extra line in command.
6780
6781 2011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6782
6783 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
6784 Revert the part of:
6785 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6786 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
6787 Change the expected string.
6788
6789 2011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6790
6791 Fix results with system glibc debug info installed.
6792 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
6793 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
6794 Accept also __libc_ symbol prefix and no prefix.
6795
6796 2011-10-14 Keith Seitz <keiths@redhat.com>
6797
6798 PR c++/13225
6799 * gdb.cp/converts.cc (foo3_1): New function.
6800 (foo3_2): New functions.
6801 * gdb.cp/converts.exp: Add tests for int to pointer conversion
6802 and null pointer conversions of integer constant zero.
6803 Add test to check if all arguments are checked for incompatible
6804 conversion BADNESS.
6805
6806 2011-10-14 Tom Tromey <tromey@redhat.com>
6807
6808 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
6809 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
6810 linespec.
6811
6812 2011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6813
6814 Fix internal error regression.
6815 * gdb.dwarf2/implptr-optimized-out.S: New file.
6816 * gdb.dwarf2/implptr-optimized-out.exp: New file.
6817
6818 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6819
6820 Fix empty DWARF expressions DATA vs. SIZE conditionals.
6821 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
6822 (loclist): New.
6823 (4): New abbrev.
6824 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
6825 Use prepare_for_testing, remove clean_restart.
6826 (p arraynoloc, p arraycallnoloc): New tests.
6827
6828 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6829
6830 * gdb.cp/namespace-enum.exp (executable): New variable.
6831 (binfile): Use ${objdir}/${subdir}/ prefix.
6832 Use ${executable} for clean_restart.
6833
6834 2011-10-11 Sterling Augustine <saugustine@google.com>
6835
6836 * gdb.cp/Makefile.in: Add namespace-enum test.
6837 * gdb.cp/namespace-enum.exp: New file.
6838 * gdb.cp/namespace-enum.c: New file.
6839 * gdb.cp/namespace-enum-main.c: New file.
6840
6841 2011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
6842
6843 * gdb.python/py-shared.exp: Relax filename check to handle remote:
6844 sysroot.
6845
6846 2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6847
6848 Reimplement @entry in input expressions.
6849 * gdb.base/exprs.c (v_int_array_init): New variable.
6850 * gdb.base/exprs.exp (print v_int_array_init)
6851 (print *v_int_array_init@1, print *v_int_array_init@2)
6852 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
6853 (print v_int_array_init[1]@1): New tests.
6854
6855 2011-10-10 Joseph Myers <joseph@codesourcery.com>
6856
6857 * gdb.cp/gdb2495.exp: Do not include directories in filename in
6858 expected message.
6859
6860 2011-10-09 Doug Evans <dje@google.com>
6861
6862 * gdb.base/alias.exp: Add tests for alias command.
6863
6864 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6865
6866 * gdb.arch/amd64-entry-value.s: New file.
6867 * gdb.mi/mi2-amd64-entry-value.s: New file.
6868
6869 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6870
6871 Display @entry parameter values even for references.
6872 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
6873 functions.
6874 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
6875 reference and datap_input.
6876 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
6877 breakpoints.
6878 (continue to breakpoint: entry_reference: reference)
6879 (entry_reference: bt at entry)
6880 (continue to breakpoint: entry_reference: breakhere_reference)
6881 (entry_reference: bt, entry_reference: ptype regparam)
6882 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
6883 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
6884 (entry_reference: p regcopy, entry_reference: p nodataparam)
6885 (entry_reference: p nodataparam@entry): New tests.
6886
6887 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6888
6889 Support @entry in input expressions.
6890 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
6891 (entry_stack: p s1@entry, entry_stack: p s2@entry)
6892 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
6893 (tailcall: p j@entry): New tests.
6894 * gdb.cp/koenig.cc (A::entry): New function.
6895 (main): Call it.
6896 * gdb.cp/koenig.exp (p entry (c)): New test.
6897
6898 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6899
6900 Display @entry parameter values (without references).
6901 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
6902 (different, validity, invalid): New functions.
6903 (main): Call them.
6904 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
6905 stacktest, breakhere_stacktest, different, breakhere_different,
6906 breakhere_validity and breakhere_invalid.
6907 (entry: bt): Update for @entry.
6908 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
6909 (entry_validity: *, entry_invalid: *): Many new tests.
6910 * gdb.base/break.exp
6911 (run until breakpoint set at small function, optimized file): Accept
6912 also the @entry suffix.
6913 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
6914 * gdb.mi/mi2-amd64-entry-value.c: New files.
6915 * gdb.mi/mi2-amd64-entry-value.exp: New files.
6916
6917 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6918
6919 Protect entry values against self tail calls.
6920 * gdb.arch/amd64-entry-value.cc (self2, self): New.
6921 (main): Call self.
6922 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
6923 (set debug entry-values 1, self: bt debug entry-values): New tests.
6924
6925 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6926
6927 Recognize virtual tail call frames.
6928 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
6929 (amb_b, amb_a): New.
6930 (main): Call a and b.
6931 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
6932 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
6933 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
6934 New tests.
6935
6936 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6937
6938 Implement basic support for DW_TAG_GNU_call_site.
6939 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
6940 * gdb.arch/amd64-entry-value.cc: New file.
6941 * gdb.arch/amd64-entry-value.exp: New file.
6942
6943 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6944
6945 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
6946 * gdb.dwarf2/implptr-64bit.S: New file.
6947 * gdb.dwarf2/implptr-64bit.exp: New file.
6948
6949 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6950
6951 Fix initial language detection with -readnow.
6952 * gdb.cp/readnow-language.cc: New file.
6953 * gdb.cp/readnow-language.exp: New file.
6954
6955 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6956
6957 Fix printed anonymous struct name.
6958 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
6959
6960 2011-10-09 Joseph Myers <joseph@codesourcery.com>
6961
6962 * gdb.base/solib-symbol.exp: Do not include directories in
6963 filenames in expected messages.
6964
6965 2011-10-07 Doug Evans <dje@google.com>
6966
6967 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
6968
6969 2011-10-07 Kevin Pouget <kevin.pouget@st.com>
6970
6971 Allow Python notification of new object-file loadings.
6972 * gdb.python/py-events.exp: Test newobjfile event.
6973 * gdb.python/py-events.py: Register newobjfile callback.
6974 * gdb.python/py-events.c: Add call to shared library
6975 * gdb.python/py-events-shlib.c: New file.
6976
6977 2011-10-06 Joseph Myers <joseph@codesourcery.com>
6978
6979 * gdb.base/fixsection.exp: Do not include directories in filename
6980 in expected message.
6981
6982 2011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
6983
6984 Add tests for passing of environment variables to inferior.
6985 * gdb.base/testenv.c: New test source.
6986 * gdb.base/testenv.exp: New expect test.
6987
6988 2011-10-04 Paul Koning <paul_koning@dell.com>
6989
6990 * gdb.python/py-value.c (main): Break before return.
6991
6992 2011-10-04 Kevin Pouget <kevin.pouget@st.com>
6993
6994 PR python/12691: Add the inferior to Python exited event
6995 * gdb.python/py-events.exp: Test the inferior attribute of exited
6996 event with a fork.
6997 * gdb.python/py-events.py: Print inferior number on exit.
6998 * gdb.python/py-events.c: Fork the inferior.
6999
7000 2011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
7001
7002 * gdb.base/jit.exp: Add testcase name to log message
7003
7004 2011-10-03 Paul Koning <paul_koning@dell.com>
7005 Jan Kratochvil <jan.kratochvil@redhat.com>
7006
7007 * gdb.python/py-value.exp
7008 (python inval = gdb.parse_and_eval('*(int*)0'))
7009 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
7010 (set argc=2, python print argc_lazy): New tests.
7011
7012 2011-10-02 Joel Brobecker <brobecker@adacore.com>
7013
7014 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
7015
7016 2011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7017 Pedro Alves <pedro@codesourcery.com>
7018
7019 * gdb.python/py-value.exp (test_value_in_inferior): New variable
7020 can_read_0, test for it.
7021 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
7022 (parse_and_eval with memory error): ... here, make it untested if
7023 can_read_0.
7024
7025 2011-09-30 Marek Polacek <mpolacek@redhat.com>
7026
7027 * gdb.python/python.exp (verify pagination beforehand)
7028 (verify pagination afterwards): Fix race by splitting the line.
7029
7030 2011-09-29 Joseph Myers <joseph@codesourcery.com>
7031
7032 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
7033 for 64-bit multilibs from i?86-* targets.
7034
7035 2011-09-29 Marek Polacek <mpolacek@redhat.com>
7036
7037 * lib/gdb.exp: Fix a typo in one of the comments.
7038
7039 2011-09-29 Marek Polacek <mpolacek@redhat.com>
7040
7041 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
7042 matching pattern.
7043
7044 2011-09-28 Paul Koning <paul_koning@dell.com>
7045
7046 * gdb.python/py-type.c (enum E): New.
7047 * gdb.python/py-type.exp (test_fields): Add tests for Python
7048 mapping access to fields.
7049 (test_enums): New test for field access on enums.
7050
7051 2011-09-27 Stan Shebs <stan@codesourcery.com>
7052
7053 * gdb.trace/collection.exp: Test collection of $_ret.
7054
7055 2011-09-22 Andreas Tobler <andreast@fgznet.ch>
7056
7057 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
7058 list of compilation switches for <*-*-freebsd*>.
7059
7060 2011-09-19 Stan Shebs <stan@codesourcery.com>
7061
7062 * gdb.trace/tspeed.exp: New file.
7063 * gdb.trace/tspeed.c: New file.
7064
7065 2011-09-18 Yao Qi <yao@codesourcery.com>
7066
7067 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
7068 instructions.
7069 (test_adr_32bit, test_pop_pc): Likewise.
7070 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
7071 Thumb instructions.
7072 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
7073 in gdb_test_multiple.
7074 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
7075
7076 2011-09-17 Yao Qi <yao@codesourcery.com>
7077
7078 * lib/gdb.exp (can_single_step_to_signal_handler): New.
7079 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
7080 support single step to signal handler.
7081
7082 2011-09-17 Yao Qi <yao@codesourcery.com>
7083
7084 * gdb.base/disp-step-fork.c: New.
7085 * gdb.base/disp-step-syscall.exp: New.
7086 * gdb.base/disp-step-vfork.c: New.
7087
7088 2011-09-16 Joel Brobecker <brobecker@adacore.com>
7089
7090 * gdb.ada/tasks.exp: Make the expected output for
7091 the `info tasks' tests more resilient to spacing
7092 changes.
7093
7094 2011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7095
7096 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
7097 (reached breakpoint 2, reached breakpoint 3): Update expected output.
7098
7099 2011-09-15 Kevin Pouget <kevin.pouget@st.com>
7100
7101 PR Python/12692 Add gdb.selected_inferior() to Python interface.
7102 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
7103
7104 2011-04-30 Kevin Pouget <kevin.pouget@st.com>
7105
7106 Handle multiple breakpoint hits in Python interface:
7107 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
7108 presence.
7109 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
7110 breakpoint hits.
7111
7112 2011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
7113 Jan Kratochvil <jan.kratochvil@redhat.com>
7114
7115 * gdb.python/py-events.exp: Remove pretty printing comment.
7116 * gdb.python/py-evsignal.exp: New file.
7117 * gdb.python/py-evthreads.c: Include signal.h.
7118 (thread3): Remove variable count3. Remove variable bad and use raise
7119 instead.
7120 (thread2): Remove variable count2. Move thread3 pthread_create here,
7121 merge pthread_join to a single line.
7122 (main): Remove variable count1. Merge pthread_join with pthread_create
7123 to a single line.
7124 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
7125 KFAIL python/12966 for gdbserver. Test return value of
7126 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
7127 gdb_expect by gdb_test and gdb_test_multiple.
7128 (thread 2, thread 3): New tests.
7129
7130 2011-09-12 Matt Rice <ratmice@gmail.com>
7131 Pedro Alves <pedro@codesourcery.com>
7132
7133 PR gdb/13175
7134
7135 * gdb.base/interp.exp: New tests.
7136 * gdb.base/interp.c: New file.
7137
7138 2011-09-12 Doug Evans <dje@google.com>
7139
7140 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
7141 * gdb.dwarf2/typeddwarf.exp: Ditto.
7142
7143 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7144
7145 Fix compatibility with x32 arch.
7146 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
7147 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
7148 is_x86_like_target.
7149 * testsuite/gdb.trace/collection.exp: Likewise.
7150 * testsuite/gdb.trace/report.exp: Likewise.
7151 * testsuite/gdb.trace/unavailable.exp: Likewise.
7152 * testsuite/gdb.trace/while-dyn.exp: Likewise.
7153 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
7154 (is_x86_like_target): Check also is_amd64_regs_target.
7155
7156 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7157
7158 PR breakpoints/12435
7159 * gdb.arch/amd64-prologue-xmm.c: New file.
7160 * gdb.arch/amd64-prologue-xmm.exp: New file.
7161 * gdb.arch/amd64-prologue-xmm.s: New file.
7162
7163 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7164
7165 * gdb.dwarf2/dw2-param-error-main.c: New file.
7166 * gdb.dwarf2/dw2-param-error.S: New file.
7167 * gdb.dwarf2/dw2-param-error.exp: New file.
7168
7169 2011-09-08 Pedro Alves <pedro@codesourcery.com>
7170
7171 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
7172 inferior's pid and look for a core dump named core.$pid. Use
7173 `remote_file' commands on the host instead of hand coding shell
7174 commands on the build.
7175 * gdb.base/valgrind-db-attach.exp: Kill the program before
7176 finishing the test.
7177
7178 2011-09-02 Matt Rice <ratmice@gmail.com>
7179
7180 * lib/prompt.exp: New file for testing the first prompt.
7181 * gdb.python/py-prompt.exp: Ditto.
7182 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
7183
7184 2011-09-02 Pedro Alves <pedro@codesourcery.com>
7185
7186 * gdb.threads/gcore-thread.exp: Set the global core_supported to
7187 0, before testing gcore.
7188
7189 2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7190
7191 * dw2-ifort-parameter-debug.S: Update copyright year.
7192 * dw2-ifort-parameter.c: Update copyright year.
7193 * dw2-ifort-parameter.exp: Update copyright year.
7194
7195 * dw2-ifort-parameter-debug.S: New file.
7196 * dw2-ifort-parameter.c: New file.
7197 * dw2-ifort-parameter.exp: New file.
7198
7199 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7200
7201 * gdb.base/commands.exp (error_clears_commands_left): New function.
7202 (): Call it.
7203
7204 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7205
7206 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
7207 (C): Initialize `a'.
7208 * gdb.mi/mi-inheritance-syntax-error.exp
7209 (-data-evaluate-expression $path): Expect `a' as 5.
7210
7211 2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
7212
7213 PR mi/11912
7214 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
7215 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
7216 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
7217 keyword in output of -var-info-path-expression.
7218
7219 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7220
7221 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
7222 * gdb.trace/collection.exp: Likewise.
7223 * gdb.trace/report.exp: Likewise.
7224 * gdb.trace/unavailable.exp: Likewise.
7225 * gdb.trace/while-dyn.exp: Likewise.
7226
7227 2011-08-18 Keith Seitz <keiths@redhat.com>
7228
7229 PR c++/12266
7230 * gdb.cp/meth-typedefs.cc: New file.
7231 * gdb.cp/meth-typedefs.exp: New file.
7232
7233 2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
7234
7235 * gdb.python/python.exp: Add extended-prompt tests.
7236
7237 2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7238
7239 * gdb.arch/i386-dr3-watch.exp
7240 (watchpoint on gap1 does not fit debug registers)
7241 (delete all watchpoints): Fix racy expect strings.
7242
7243 2011-08-14 Yao Qi <yao@codesourcery.com>
7244
7245 * gdb.base/maint.exp: set data_section to ".neardata".
7246 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
7247 * gdb.base/savedregs.exp: Handle SIGILL.
7248 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
7249 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
7250
7251 2011-08-12 Doug Evans <dje@google.com>
7252
7253 * gdb.python/py-symbol.exp: Add test for symbol.type.
7254
7255 2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
7256
7257 * gdb.threads/pthreads.exp: Enable on non-native configurations.
7258 * gdb.mi/mi-pthreads.exp: Likewise.
7259 * gdb.mi/mi2-pthreads.exp: Likewise.
7260 * gdb.mi/gdb669.exp.exp: Likewise.
7261
7262 2011-08-09 Pedro Alves <pedro@codesourcery.com>
7263
7264 * lib/mi-support.exp (detect_async): Rename to...
7265 (mi_detect_async): ... this.
7266 * gdb.mi/mi-nonstop-exit.exp: Adjust.
7267 * gdb.mi/mi-nonstop.exp: Adjust.
7268 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
7269 * gdb.mi/mi-nsintrall.exp: Adjust.
7270 * gdb.mi/mi-nsmoribund.exp: Adjust.
7271 * gdb.mi/mi-nsthrexec.exp: Adjust.
7272
7273 2011-08-09 Pedro Alves <pedro@codesourcery.com>
7274
7275 * gdb.base/display.c (do_loops): New `p_i' local.
7276 * gdb.base/display.exp: Test displaying a variable that is
7277 temporarily at a bad address.
7278
7279 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7280
7281 * gdb.dwarf2/dw2-op-stack-value.S: New file.
7282 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
7283
7284 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7285
7286 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
7287 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
7288 (p fuNC_symtab): Permit also ppc64 leading dot.
7289
7290 2011-08-05 Pedro Alves <pedro@codesourcery.com>
7291
7292 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
7293 procedure.
7294 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
7295
7296 2011-08-05 Yao Qi <yao@codesourcery.com>
7297
7298 * gdb.base/callfuncs.exp: Set language after main.
7299 * gdb.cp/cplusfuncs.exp: Likewise.
7300 * gdb.cp/inherit.exp: Likewise.
7301
7302 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7303
7304 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
7305 * gdb.base/watch-vfork.exp: Skip on remote targets.
7306
7307 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7308
7309 * gdb.threads/thread-find.exp: Support remote targets.
7310
7311 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7312
7313 * gdb.base/jit.exp: Download solib_binfile to target.
7314 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
7315 and call dlopen without full path name.
7316 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
7317 dlopen without full path name.
7318
7319 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7320
7321 * gdb.base/break-always.exp: Complete the test
7322 with duplicated breakpoints and enabling/disabling them.
7323
7324 2011-08-02 Tom Tromey <tromey@redhat.com>
7325
7326 PR gdb/11289:
7327 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
7328
7329 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7330
7331 PR gdb/13045
7332 * gdb.base/float.exp: Add new test case for PR gdb/13045
7333 * gdb.base/float.c: New file.
7334
7335 2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
7336
7337 * gdb.python/py-mi.exp: Test printers returning string hint, and
7338 also not returning a value.
7339 * gdb.python/py-prettyprint.c: Add testcase for above.
7340 * gdb.python/py-prettyprint.py: Add test printer for above.
7341
7342 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7343
7344 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
7345 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
7346 (.Ldie30) Add as field "data4".
7347 (.Ldie32) Rename field "b" to "shl".
7348 (abbrev4) Change for the "data4" field.
7349 (abbrev5, abbrev6) Remove.
7350 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
7351 (p &s.shl): ... here. Add comment.
7352 (p &s.data4): New.
7353
7354 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7355
7356 Fix crash on lval_computed values.
7357 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
7358
7359 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7360
7361 * gdb.base/help.exp (help whatis): Update the expected string.
7362
7363 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7364
7365 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
7366 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
7367 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7368 Change the expected string.
7369
7370 2011-07-26 Pedro Alves <pedro@codesourcery.com>
7371
7372 * gdb.base/watchpoint.exp
7373 (test_disable_enable_software_watchpoint): New procedure.
7374 (top level): Run it.
7375
7376 2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
7377
7378 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
7379 executable file "${binfile}", C++ version "${binfile}-cxx".
7380 * gdb.python/py-prettyprint.exp: Likewise.
7381 * gdb.python/py-symbol.exp: Likewise.
7382 * gdb.python/py-type.exp: Likewise.
7383 * gdb.python/py-value.exp: Likewise.
7384 * gdb.python/py-template.exp (test_template_arg): Pass full executable
7385 file name instead of just suffix.
7386
7387 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7388
7389 Fix implicit pointer offsets.
7390 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
7391 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
7392 (continue to breakpoint: continue to baz breakpoint for implptr)
7393 (sanity check element 0, sanity check element 1)
7394 (enter the inlined function, check element 0 for the offset)
7395 (check element 1 for the offset)
7396 (continue to breakpoint: ignore the second baz breakpoint): New tests.
7397 (set foo breakpoint for implptr): Update the breakpoint number.
7398
7399 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7400
7401 * gdb.python/py-mi.exp: Use different file names for different
7402 versions of the executable under test.
7403 * gdb.python/py-prettyprint.exp: Likewise.
7404 * gdb.python/py-symbol.exp: Likewise.
7405 * gdb.python/py-template.exp: Likewise.
7406 * gdb.python/py-type.exp: Likewise.
7407 * gdb.python/py-value.exp: Likewise.
7408
7409 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7410
7411 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
7412 flag after restarting GDB if necessary.
7413
7414 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7415
7416 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
7417
7418 2011-07-22 Pedro Alves <pedro@codesourcery.com>
7419
7420 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
7421 backend doesn't leave used debug registers behind.
7422
7423 2011-07-22 Tom Tromey <tromey@redhat.com>
7424
7425 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
7426 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
7427 argument.
7428 * gdb.dwarf2/typeddwarf-amd64.S: New file.
7429
7430 2011-07-21 Matt Rice <ratmice@gmail.com>
7431
7432 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
7433 in mostlyclean rule. Add files ending in .core.
7434
7435 2011-07-21 Matt Rice <ratmice@gmail.com>
7436
7437 PR macros/12999
7438 * gdb.base/info-macros.c: New test sources.
7439 * gdb.base/info-macros.exp: New tests.
7440
7441 2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
7442
7443 * gdb.python/python.exp: Add prompt substitution tests.
7444
7445 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7446
7447 Fix crash if referenced CU is aged out.
7448 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
7449 New.
7450 * gdb.dwarf2/implptr.exp: Likewise.
7451
7452 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7453
7454 * gdb.dwarf2/implptr.S: Rebuilt.
7455 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
7456 (bar): Use them for j, k, l.
7457 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
7458 COMPILE.
7459 (print j in implptr:bar): Update for the intp typedef.
7460 (print p[0].x in implptr:foo): Use more exact regex.
7461
7462 2011-07-18 Tom Tromey <tromey@redhat.com>
7463
7464 * gdb.cp/static-method.exp: Add missing single quote.
7465
7466 2011-07-18 Yao Qi <yao@codesourcery.com>
7467
7468 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
7469 supported.
7470 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7471 * gdb.mi/mi-nonstop.exp: Likewise.
7472 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7473 * gdb.mi/mi-nsintrall.exp: Likewise.
7474 * gdb.mi/mi-nsmoribund.exp: Likewise.
7475 * gdb.mi/mi-nsthrexec.exp: Likewise.
7476 * gdb.python/py-evthreads.exp: Likewise.
7477
7478 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7479
7480 Code cleanup.
7481 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
7482 it. Substitute it instead of test_compiler_info everywhere.
7483
7484 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7485
7486 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
7487 remote targets as well.
7488
7489 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7490
7491 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
7492 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
7493
7494 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7495
7496 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
7497 a remote machine, not the host.
7498 (gdb_compile_shlib): Set soname if target is remote.
7499
7500 2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7501
7502 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
7503
7504 2011-07-13 Matt Rice <ratmice@gmail.com>
7505
7506 * gdb.python/py-objfile-script-gdb.py: Renamed to
7507 py-objfile-script-gdb.py.in.
7508 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
7509 py-objfile-script-gdb.py.
7510 * gdb.python/py-objfile-script.exp: Update reference to
7511 py-objfile-script-gdb.py.
7512
7513 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7514
7515 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
7516 reference undefined label.
7517
7518 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7519
7520 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
7521 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
7522 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
7523 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
7524
7525 2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
7526
7527 PR python/12438
7528 * gdb.python/python.exp: Add maint set/show python print-stack
7529 deprecated tests. Add set/show python print-backtrace tests.
7530
7531 2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7532
7533 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
7534 debug info.
7535
7536 2011-07-06 Matt Rice <ratmice@gmail.com>
7537
7538 * gdb.python/python.exp: Update filename paths.
7539 * gdb.python/py-symtab.exp: Ditto.
7540
7541 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7542
7543 * gdb.python/py-evthreads.exp: Add missing `$'.
7544
7545 2011-07-06 Jie Zhang <jie.zhang@analog.com>
7546
7547 * config/bfin.exp: New file.
7548 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
7549 * gdb.asm/bfin.inc: New file.
7550
7551 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7552
7553 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
7554 the whole output.
7555
7556 2011-07-05 Tom Tromey <tromey@redhat.com>
7557
7558 * gdb.java/jprint.java (jprint.hi): New field.
7559 * gdb.java/jprint.exp: Print string.
7560
7561 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
7562
7563 * gdb.base/call-sc.c: Fix typos.
7564 * gdb.base/ifelse.exp: Likewise.
7565 * gdb.base/structs.c: Likewise.
7566
7567 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7568
7569 * gdb.base/jit-so.exp: New test.
7570 * gdb.base/jit-dlmain.c: New file.
7571 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
7572
7573 2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7574
7575 * gdb.cp/m-static.exp: Call get_compiler_info.
7576 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
7577 * gdb.cp/pr9167.exp (p b): Likewise.
7578 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
7579 (test value of P in inner_m, test type of Z in inner_m): Call
7580 setup_xfail for gcc <= 4.5.
7581
7582 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7583
7584 * gdb.cp/paren-type.cc: New files.
7585 * gdb.cp/paren-type.exp: New files.
7586
7587 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7588
7589 Stop on first linespec terminator instead of eating what we can.
7590 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
7591 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
7592 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
7593 (break C::f()): ... this one.
7594 (break C::operator()()): New test.
7595 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
7596 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
7597 test.
7598
7599 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7600
7601 Fall back linespec to minimal symbols.
7602 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
7603 error message.
7604 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
7605 * gdb.cp/minsym-fallback-main.cc: New file.
7606 * gdb.cp/minsym-fallback.cc: New file.
7607 * gdb.cp/minsym-fallback.exp: New file.
7608 * gdb.cp/minsym-fallback.h: New file.
7609
7610 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7611
7612 * gdb.cp/no-dmgl-verbose.cc: New file.
7613 * gdb.cp/no-dmgl-verbose.exp: New file.
7614
7615 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7616
7617 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
7618 __GI_.
7619 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
7620 (f): New function.
7621 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
7622 (complete p 'func<short>(): ... here.
7623 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
7624 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
7625 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
7626 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
7627 Make them KFAIL gcc/49546.
7628
7629 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7630
7631 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
7632
7633 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7634
7635 Test GCC PR debug/49546.
7636 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
7637 (test type of F in k3_m, test value of F in k3_m): New.
7638 * gdb.cp/temargs.cc (struct S3, struct K3): New.
7639 (main): New variable k3. Call k3.k3_m.
7640
7641 2011-07-01 Jean-Charles Delay <delay@adacore.com>
7642
7643 * gdb.ada/packed_array.exp: Fix expected outout.
7644
7645 2011-07-01 Jean-Charles Delay <delay@adacore.com>
7646
7647 * gdb.ada/packed_array.exp: fixed expected output.
7648
7649 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7650
7651 * gdb.ada/same_enum: New testcase.
7652
7653 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7654
7655 * gdb.ada/ptr_typedef: New testcase.
7656
7657 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7658
7659 * gdb.ada/arrayptr.exp: Add ptype test.
7660
7661 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7662
7663 * gdb.ada/char_enum: New testcase.
7664
7665 2011-07-01 Yao Qi <yao@codesourcery.com>
7666
7667 * gdb.base/dump.exp (capture_pointer_with_type): New.
7668 Get value from address instead of name.
7669 Start GDB once, and do `dump' and `restore'
7670 tests together.
7671
7672 2011-06-30 Jie Zhang <jie.zhang@analog.com>
7673 Mike Frysinger <vapier@gentoo.org>
7674
7675 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
7676 helper functions for getting/setting remotetimeout variable.
7677 * lib/gdb.exp (gdb_load): If the target is remote, set
7678 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
7679 with $loadtimeout. Set $load_ok to 0 before doing the load.
7680 Instead of returning, immediately, set $load_ok to 0. Call
7681 set_remotetimeout with $oldremotetimeout, and then return if
7682 $load_ok is 1.
7683
7684 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
7685
7686 * gdb.python/py-template.exp: Don't run this test if the target
7687 does not support c++ tests.
7688
7689 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7690
7691 Fix non-only rename list for Fortran modules import.
7692 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
7693 tests.
7694 * gdb.fortran/module.f90 (module moduse): New.
7695 (program module): use moduse, test var_x, var_y and var_z.
7696
7697 2011-06-29 Tom Tromey <tromey@redhat.com>
7698
7699 PR testsuite/12040:
7700 * gdb.fortran/array-element.exp: Use f90, not f77.
7701 * gdb.fortran/complex.exp: Use f90, not f77.
7702 * gdb.fortran/derived-type.exp: Use f90, not f77.
7703 * gdb.fortran/library-module.exp: Use f90, not f77.
7704 * gdb.fortran/logical.exp: Use f90, not f77.
7705 * gdb.fortran/module.exp: Use f90, not f77.
7706 * gdb.fortran/multi-dim.exp: Use f90, not f77.
7707 * gdb.fortran/subarray.exp: Use f90, not f77.
7708
7709 2011-06-29 Tom Tromey <tromey@redhat.com>
7710
7711 * gdb.fortran/charset.exp: New file.
7712 * gdb.fortran/charset.f90: New file.
7713
7714 2011-06-29 Tom Tromey <tromey@redhat.com>
7715
7716 PR testsuite/12040:
7717 * lib/future.exp: New file, mostly extracted from ada.exp.
7718 Rewrote compatibility code to use rename.
7719 (gdb_find_gfortran): New proc.
7720 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
7721 gfortran patch.
7722 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
7723 Move to future.exp.
7724 * lib/gdb.exp: Always load future.exp.
7725
7726 2011-06-28 Yao Qi <yao@codesourcery.com>
7727
7728 * gdb.cp/exception.cc: Don't include iostream.
7729 (bar): Remove print statement.
7730 (catcher): New.
7731 (main): Remove print statements. Call function catcher.
7732 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
7733 Set breakpoint on catcher, and check the value of parameter.
7734
7735 2011-06-23 Yao Qi <yao@codesourcery.com>
7736
7737 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
7738 breakpoint 1.2 is disabled. KFAIL for uclinux.
7739
7740 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7741
7742 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
7743 mi_gdb_test.
7744
7745 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7746
7747 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
7748
7749 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7750
7751 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
7752
7753 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7754
7755 * gdb.mi/mi2-basics.exp: Fix races. Honour the
7756 `test_exec_and_symbol_mi_operatons' return value.
7757 (test_mi_interpreter_selection): Use mi_gdb_test instead of
7758 gdb_test_multiple.
7759 (test_exec_and_symbol_mi_operatons): Likewise.
7760 (test_path_specification): Likewise.
7761
7762 2011-06-23 Yao Qi <yao@codesourcery.com>
7763
7764 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
7765 supported.
7766 * lib/gdb.exp (support_displaced_stepping): New.
7767
7768 2011-06-23 Yao Qi <yao@codesourcery.com>
7769
7770 * gdb.threads/execl.exp: Skip on remote target.
7771
7772 2011-06-21 Marek Polacek <mpolacek@redhat.com>
7773
7774 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
7775 mi_gdb_test.
7776
7777 2011-06-20 Marek Polacek <mpolacek@redhat.com>
7778
7779 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
7780
7781 2011-06-20 Marek Polacek <mpolacek@redhat.com>
7782
7783 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
7784 mi_gdb_test.
7785
7786 2011-06-20 Marek Polacek <mpolacek@redhat.com>
7787
7788 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
7789
7790 2011-06-14 Yao Qi <yao@codesourcery.com>
7791
7792 gdb/testsuite/
7793 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
7794
7795 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7796
7797 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
7798
7799 2011-06-10 Tom Tromey <tromey@redhat.com>
7800
7801 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
7802 Add tests for pointer-to-member-function.
7803 * gdb.cp/temargs.cc (S::somefunc): New function.
7804 (K2): New class.
7805 (main): Instantiate K2; call method.
7806
7807 2011-06-08 Joel Brobecker <brobecker@adacore.com>
7808
7809 * gdb.python/py-inferior.c (f2): Make str an array rather
7810 than a pointer.
7811 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
7812
7813 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7814
7815 * gdb.base/async-shell.c: New file.
7816 * gdb.base/async-shell.exp: New file.
7817
7818 2011-06-06 Pedro Alves <pedro@codesourcery.com>
7819
7820 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
7821
7822 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
7823
7824 From Stephen Kitt <steve@sk2.org>
7825 * gdb.base/help.exp: Adjust following some spelling corrections
7826 in GDB.
7827
7828 2011-06-01 Yao Qi <yao@codesourcery.com>
7829
7830 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
7831
7832 2010-05-31 Keith Seitz <keiths@redhat.com>
7833
7834 PR c++/12750
7835 * gdb.cp/static-method.cc: New file.
7836 * gdb.cp/static-method.exp: New file.
7837
7838 2010-05-31 Keith Seitz <keiths@redhat.com>
7839
7840 PR symtab/12704
7841 * gdb.cp/anon-ns.cc: New file.
7842 * gdb.cp/anon-ns.exp: New file.
7843
7844 2011-05-31 Pedro Alves <pedro@codesourcery.com>
7845
7846 * gdb.arch/i386-dr3-watch.c: New file.
7847 * gdb.arch/i386-dr3-watch.exp: New file.
7848
7849 2011-05-30 Yao Qi <yao@codesourcery.com>
7850
7851 * gdb.base/callfuncs.c (t_structs_fc): New.
7852 (t_structs_dc, t_structs_ldc): New.
7853 (t_double_many_args):
7854 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
7855 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
7856 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
7857 * gdb.base/callfuncs.exp: Call new functions.
7858
7859 2011-05-30 Yao Qi <yao@codesourcery.com>
7860
7861 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
7862 Call rerun_and_prepare for each test to isolate effects.
7863
7864 2011-05-30 Yao Qi <yao@codesourcery.com>
7865
7866 * gdb.base/varargs.c (find_max_float_real): New.
7867 (find_max_double_real, find_max_long_double_real): New.
7868 * gdb.base/varargs.exp: Call these new added functions.
7869 * lib/gdb.exp (setup_kfail_for_target): New.
7870
7871 2011-05-30 Yao Qi <yao@codesourcery.com>
7872
7873 * gdb.base/funcargs.c (callca, callcb, callcc): New.
7874 (callcd, callce, callcf, callc1a, callc1b): New.
7875 (callc2a, callc2b): New.
7876 * gdb.base/funcargs.exp (complex_args): New.
7877 (complex_integral_args, complex_float_integral_args): New.
7878 * lib/gdb.exp (support_complex_tests): New. Determine
7879 whether to run test cases on _Complex types.
7880
7881 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7882
7883 * gdb.threads/leader-exit.c: New file.
7884 * gdb.threads/leader-exit.exp: New file.
7885
7886 2011-05-27 Marek Polacek <mpolacek@redhat.com>
7887
7888 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
7889
7890 2011-05-27 Marek Polacek <mpolacek@redhat.com>
7891
7892 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
7893 remove the `supported' variable.
7894 * gdb.mi/mi-nonstop.exp: Likewise.
7895 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7896 * gdb.mi/mi-nsintrall.exp: Likewise.
7897 * gdb.mi/mi-nsmoribund.exp: Likewise.
7898 * gdb.mi/mi-nsthrexec.exp: Likewise.
7899
7900 2011-05-26 Pedro Alves <pedro@codesourcery.com>
7901
7902 * gdb.reverse/finish-reverse-bkpt.exp: New test.
7903
7904 2011-05-26 Pedro Alves <pedro@codesourcery.com>
7905
7906 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
7907
7908 2011-05-24 Keith Seitz <keiths@redhat.com>
7909
7910 PR breakpoint/12803
7911 * gdb.cp/cmpd-minsyms.cc (a): New method.
7912 (b): New method.
7913 (c): New method.
7914 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
7915
7916 2011-05-24 Pedro Alves <pedro@codesourcery.com>
7917
7918 * gdb.base/commands.exp (watchpoint_command_test): Check that the
7919 watchpoint's command list didn't execute when the watchpoint went
7920 out of scope.
7921
7922 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
7923
7924 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
7925 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
7926 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
7927 * gdb.arch/i386-gnu-cfi.exp: Likewise.
7928 * gdb.arch/i386-permbkpt.exp: Likewise.
7929 * gdb.arch/i386-prologue.exp: Likewise.
7930 * gdb.arch/i386-size-overlap.exp: Likewise.
7931 * gdb.arch/i386-size.exp: Likewise.
7932 * gdb.arch/i386-unwind.exp: Likewise.
7933 * gdb.reverse/i386-precsave.exp: Likewise.
7934 * gdb.reverse/i386-reverse.exp: Likewise.
7935 * gdb.reverse/i386-sse-reverse.exp: Likewise.
7936 * gdb.reverse/i387-env-reverse.exp: Likewise.
7937 * gdb.reverse/i387-stack-reverse.exp: Likewise.
7938
7939 2011-05-24 Pedro Alves <pedro@codesourcery.com>
7940
7941 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
7942 file doesn't error, using MI.
7943
7944 2011-05-23 Tom Tromey <tromey@redhat.com>
7945
7946 * gdb.base/charset.exp (string_display): Add tests to assign to
7947 arrays.
7948 * gdb.base/charset.c (short_array, int_array, long_array): New.
7949
7950 2011-05-20 Pedro Alves <pedro@codesourcery.com>
7951
7952 Cope with async mode.
7953
7954 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
7955 into gdb_test + mi_expect_stop.
7956
7957 2011-05-20 Pedro Alves <pedro@codesourcery.com>
7958
7959 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
7960 (callme): Remove printf call.
7961
7962 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
7963
7964 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
7965 quote pattern to avoid problems with Cygwin/mingw expect versions.
7966 * gdb.base/default.exp (show convenience): Use double
7967 quote pattern for regular expressions.
7968
7969 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7970
7971 Fix -readnow for -gdwarf-4 unused type units.
7972 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
7973 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
7974
7975 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7976
7977 * gdb.base/kill-after-signal.c: New file.
7978 * gdb.base/kill-after-signal.exp: New file.
7979
7980 2011-05-16 Pedro Alves <pedro@codesourcery.com>
7981
7982 * gdb.ada/start.exp: Call untested with the correct test filename.
7983 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
7984 test filename. Make the test's binary unique.
7985 * gdb.arch/i386-signal.exp: Call untested with the correct test
7986 filename.
7987 * gdb.arch/i386-size-overlap.exp: Ditto.
7988 * gdb.arch/Makefile.in (EXECUTABLES): Update.
7989 * gdb.base/gcore-buffer-overflow.exp: Ditto.
7990 * gdb.cp/call-c.exp: Ditto.
7991 * gdb.mi/mi-reverse.exp: Call untested with the correct test
7992 filename. Make the test's binary unique.
7993 * gdb.mi/Makefile.in (EXECUTABLES): Update.
7994 * gdb.python/py-mi.exp: Ditto.
7995 * gdb.python/Makefile.in (EXECUTABLES): Update.
7996 * gdb.reverse/i386-precsave.exp: Ditto.
7997 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
7998 test filename.
7999 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8000 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
8001 unique.
8002 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
8003 test filename.
8004 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
8005 * gdb.trace/tfile.exp: Ditto.
8006
8007 2011-05-14 Yao Qi <yao@codesourcery.com>
8008
8009 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
8010 type.
8011
8012 2011-05-13 Doug Evans <dje@google.com>
8013
8014 * gdb.python/py-objfile-script.exp: New file.
8015 * gdb.python/py-objfile-script.c: New file.
8016 * gdb.python/py-objfile-script-gdb.py: New file.
8017 * testsuite/gdb.python/py-section-script.exp: Test
8018 "info auto-load-scripts".
8019
8020 2011-05-13 Tom Tromey <tromey@redhat.com>
8021
8022 * gdb.dwarf2/clztest.exp: New file.
8023 * gdb.dwarf2/clztest.c: New file.
8024 * gdb.dwarf2/clztest.S: New file.
8025
8026 2011-05-13 Doug Evans <dje@google.com>
8027
8028 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
8029 String16 tests.
8030
8031 2011-05-13 Tom Tromey <tromey@redhat.com>
8032
8033 * lib/gdb.exp (is_x86_like_target): New proc.
8034 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
8035 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
8036 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
8037 -nostdlib to compiler.
8038 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
8039 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
8040 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
8041 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
8042 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
8043
8044 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8045
8046 * gdb.python/py-function.exp: Test setting a value from a function
8047 which executes a command.
8048
8049 2011-05-12 Tom Tromey <tromey@redhat.com>
8050
8051 * gdb.dwarf2/typeddwarf.S: New file.
8052 * gdb.dwarf2/typeddwarf.c: New file.
8053 * gdb.dwarf2/typeddwarf.exp: New file.
8054
8055 2011-05-12 Marek Polacek <mpolacek@redhat.com>
8056
8057 * gdb.mi/mi-basics.exp: Fix races. Honour the
8058 `test_exec_and_symbol_mi_operatons' return value.
8059 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8060 gdb_test_multiple.
8061 (test_exec_and_symbol_mi_operatons): Likewise.
8062 (test_path_specification): Likewise.
8063
8064 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8065
8066 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
8067 (gdb_touch_execfile): Remove catch wrappers. New variable time.
8068 Replace `file copy' and `file rename' by `file mtime'. Twice.
8069
8070 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8071
8072 * gdb.base/readline-ask.c: New file.
8073 * gdb.base/readline-ask.exp: New file.
8074 * gdb.base/readline-ask.inputrc: New file.
8075
8076 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
8077
8078 * gdb.cell/bt.exp: Delete breakpoints before running to signal
8079 to avoid race condition.
8080 * gdb.cell/coremaker.c: Use small stack size.
8081 * gdb.cell/ea-standalone.exp: Use file name without path as
8082 argument to c_to.
8083 * gdb.cell/fork.exp: Allow other output when continuing to end.
8084
8085 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8086
8087 * gdb.threads/corethreads.c: New file.
8088 * gdb.threads/corethreads.exp: New file.
8089
8090 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8091
8092 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
8093 Try to compile the test using -Wl,-z,norelro first.
8094 (load_core): New variable libthread_db_seen, initialize it.
8095 (zeroed-threads cannot be listed): Protect it by XFAIL on
8096 !$libthread_db_seen.
8097
8098 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8099
8100 PR 12573
8101 * gdb.dwarf2/dw2-skip-prologue.S: New file.
8102 * gdb.dwarf2/dw2-skip-prologue.c: New file.
8103 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
8104
8105 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8106
8107 * gdb.cp/psymtab-parameter.cc: New file.
8108 * gdb.cp/psymtab-parameter.exp: New file.
8109
8110 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8111
8112 Fix a race.
8113 * gdb.cp/static-print-quit.exp (print c): Split to ...
8114 (print c - <return>, print c - q <return>, print c - to quit):
8115 ... these. Make the testfile untested on gdb-7.1.
8116
8117 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
8118
8119 * lib/gdb.exp (exec_target_file, exec_symbol_file,
8120 gdb_rename_execfile, gdb_touch_execfile): New.
8121 * gdb.base/reread.exp: Use new procs to handle multiple
8122 exec files.
8123
8124 2011-05-05 Yao Qi <yao@codesourcery.com>
8125
8126 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
8127 (test_adr_32bit, test_pop_pc): New.
8128 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
8129 (test_adr_32bit, test_pop_pc): New.
8130
8131 2011-05-04 Joseph Myers <joseph@codesourcery.com>
8132
8133 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
8134 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
8135 targets.
8136 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
8137 handle targets.
8138
8139 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8140
8141 * gdb.base/completion.exp (complete help info wat): Rename to ...
8142 (complete 'help info wat'): ... here.
8143 Remove all `-re ".*' and `-re "^.*' redundant regexes.
8144 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
8145
8146 2011-05-04 Pedro Alves <pedro@codesourcery.com>
8147
8148 * gdb.base/completion.exp: Use gdb_test_multiple instead of
8149 gdb_test and explicit $gdb_prompt/timeout matches.
8150
8151 2011-05-04 Yao Qi <yao@codesourcery.com>
8152
8153 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
8154 and __thumb2__.
8155
8156 2011-05-03 Marek Polacek <mpolacek@redhat.com>
8157
8158 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
8159 in place of `gdb_test "delete breakpoints"'. This eliminates two
8160 testcases.
8161
8162 2011-05-02 Pedro Alves <pedro@codesourcery.com>
8163
8164 PR testsuite/12649
8165 Fix races.
8166
8167 * gdb.base/completion.exp: Remove all sleep calls. Remove
8168 unnecessary regexs. Don't explicitly expect anything after the
8169 prompt. Eat the prompt if necessary.
8170
8171 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
8172
8173 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
8174 accept to show the caller line again as well as the line after.
8175
8176 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
8177
8178 PR mi/12531
8179
8180 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
8181 compile target.
8182 * gdb.python/py-prettyprint.exp: Add C++ object for
8183 CPLUS_FAKE_CHILD test.
8184
8185 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
8186
8187 * gdb.base/signest.exp: New file.
8188 * gdb.base/signest.c: Likewise.
8189
8190 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8191
8192 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
8193 thread and breakpoint notifications.
8194
8195 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8196
8197 * gdb.base/fortran-sym-case.c: New file.
8198 * gdb.base/fortran-sym-case.exp: New file.
8199 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
8200 * gdb.dwarf2/dw2-case-insensitive.c: New file.
8201 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
8202
8203 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8204
8205 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
8206 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
8207 false #1', `if true else false #2' and `if true else false #3'.
8208
8209 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
8210
8211 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
8212 while delivering signal.
8213
8214 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
8215
8216 MI breakpoint notifications.
8217
8218 * testsuite/gdb.mi/mi-cli.exp: Adust.
8219 * testsuite/gdb.mi/mi2-cli.exp: Adust.
8220 * testsuite/gdb.mi/mi-watch.exp: Adust.
8221 * testsuite/gdb.mi/mi2-watch.exp: Adust.
8222 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
8223 notifications.
8224
8225 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8226
8227 * gdb.base/gdbindex-stabs-dwarf.c: New file.
8228 * gdb.base/gdbindex-stabs.c: New file.
8229 * gdb.base/gdbindex-stabs.exp: New file.
8230
8231 2011-04-25 Yao Qi <yao@codesourcery.com>
8232
8233 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
8234 with /*...*/.
8235 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
8236
8237 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8238
8239 * gdb.python/py-value.exp (test_objfiles): Name the first test
8240 `py-value in file.filename'.
8241
8242 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8243
8244 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
8245 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
8246 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
8247 !gdbserver_reconnect_p..
8248 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
8249
8250 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8251
8252 * gdb.cp/cpcompletion.exp (complete class methods)
8253 (complete class methods beginning with F): Move them above runto. New
8254 comment about the runto delimiter.
8255
8256 2011-04-20 Pedro Alves <pedro@codesourcery.com>
8257
8258 * gdb.base/maint.exp: Test that "maint print registers" works
8259 without a running program.
8260
8261 2011-04-20 Marek Polacek <mpolacek@redhat.com>
8262
8263 * gdb.base/setshow.exp: Fix racy tests.
8264 ($old_gdb_prompt): New variable.
8265
8266 2011-04-19 Tom Tromey <tromey@redhat.com>
8267
8268 * gdb.mi/mi-nsmoribund.exp:
8269 * gdb.hp/gdb.objdbg/objdbg01.exp:
8270 * gdb.base/structs.exp (test_struct_returns):
8271 * gdb.base/call-sc.exp (test_scalar_returns):
8272 * gdb.base/bigcore.exp: Remove duplicate words.
8273
8274 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8275
8276 * gdb.base/break-interp-lib.c (v, vptr): New variables.
8277 * gdb.base/break-interp.exp (test_attach): New comment.
8278
8279 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8280
8281 * gdb.threads/gcore-thread.exp ($core0file): New variable.
8282 (clear __stack_user.next, clear stack_used.next)
8283 (save a zeroed-threads corefile): New test.
8284 Call core_load for $core0file.
8285 (zeroed-threads cannot be listed): New test.
8286
8287 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8288
8289 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
8290 filename.
8291 ($srcfile): Preserve the original value.
8292 ($testfile): Match it the .exp filename.
8293 ($corefile): New variable. Substitute it around.
8294 Use clean_restart.
8295 ($prev_timeout): Remove.
8296 (load_core): Move core loading into this proc.
8297 Fix restore of $timeout if load_core fails.
8298
8299 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8300
8301 * gdb.base/eu-strip-infcall.c: New file.
8302 * gdb.base/eu-strip-infcall.exp: New file.
8303
8304 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8305
8306 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
8307 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
8308
8309 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8310
8311 Fix Python access to inlined frames.
8312 * gdb.python/py-frame-inline.c: New file.
8313 * gdb.python/py-frame-inline.exp: New file.
8314
8315 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
8316
8317 * gdb.base/gdb1090.exp: Change breakpoint location to read the
8318 content of 's24' correctly (avoiding "optimized out").
8319 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
8320
8321 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8322
8323 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
8324
8325 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8326
8327 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
8328 expect a colon in watch -location output.
8329
8330 2011-04-13 Marek Polacek <mpolacek@redhat.com>
8331
8332 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
8333 New testcase `expect response to define backtrace'. Also remove
8334 redundant `default' block.
8335
8336 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8337
8338 * gdb.python/py-prettyprint.c (struct hint_error): New.
8339 (main): New variable hint_error.
8340 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
8341 "print hint_error".
8342 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
8343 (register_pretty_printers): Register it.
8344
8345 2011-04-04 Tom Tromey <tromey@redhat.com>
8346
8347 * gdb.cp/maint.exp (test_help): Update.
8348 (test_namespace): Likewise.
8349
8350 2011-04-01 Joel Brobecker <brobecker@adacore.com>
8351
8352 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
8353 * gdb.ada/arrayptr.exp: Add new tests.
8354
8355 2011-04-01 Joel Brobecker <brobecker@adacore.com>
8356
8357 * gdb.ada/mi_catch_ex: New testcase.
8358
8359 2011-04-01 Pedro Alves <pedro@codesourcery.com>
8360
8361 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
8362 base::overload(void) method without specifying "const".
8363
8364 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
8365
8366 * gdb.arch/thumb-singlestep.S: New file.
8367 * gdb.arch/thumb-singlestep.exp: Likewise.
8368
8369 2011-03-31 Tom Tromey <tromey@redhat.com>
8370
8371 * gdb.python/py-prettyprint.py (exception_flag): New global.
8372 (NoStringContainerPrinter._iterator.next): Check it.
8373 * gdb.python/py-prettyprint.c (main): New variable nstype2.
8374 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
8375
8376 2011-03-29 Tom Tromey <tromey@redhat.com>
8377
8378 * gdb.cp/anon-struct.cc: New file.
8379 * gdb.cp/anon-struct.exp: New file.
8380
8381 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8382
8383 Test STT_GNU_IFUNC support.
8384 * gdb.base/gnu-ifunc-lib.c: New file.
8385 * gdb.base/gnu-ifunc.c: New file.
8386 * gdb.base/gnu-ifunc.exp: New file.
8387
8388 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8389
8390 Support a ring of related breakpoints.
8391 * gdb.base/watchpoint-delete.c: New file.
8392 * gdb.base/watchpoint-delete.exp: New file.
8393
8394 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8395
8396 * gdb.ada/arrayparam.exp (print first after function call): Use
8397 explicit package name. Add a comment
8398 (print lasta after function call): Rename ...
8399 (print last after function call): ... it and use explicit package
8400 name.
8401 (print length after function call): Use explicit package name.
8402 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
8403 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
8404 (multiple matches for symbol i): Rename ...
8405 (multiple matches for symbol integervar): ... it.
8406 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
8407 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
8408
8409 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
8410
8411 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
8412 environment variable to make grep output more predictable. Move
8413 all the environment setup into gdb_init so it's done once per test
8414 case rather than each time we start gdb.
8415
8416 2011-03-24 Tom Tromey <tromey@redhat.com>
8417
8418 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
8419 test.
8420
8421 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8422
8423 * gdb.dwarf2/dw2-entry-value-main.c: New file.
8424 * gdb.dwarf2/dw2-entry-value.S: New file.
8425 * gdb.dwarf2/dw2-entry-value.exp: New file.
8426
8427 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
8428
8429 PR python/12183
8430
8431 * gdb.python/py-function.exp: Add GdbError tests.
8432
8433 2011-03-18 Pedro Alves <pedro@codesourcery.com>
8434
8435 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
8436 (reglocal_test_func, statlocal_test_func): New functions.
8437 (globals_test_func): Call new functions.
8438 * gdb.trace/unavailable.exp (gdb_collect_args_test)
8439 (gdb_collect_locals_test): New procedure.
8440 (gdb_trace_collection_test): Call new procedures.
8441
8442 2011-03-18 Pedro Alves <pedro@codesourcery.com>
8443
8444 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
8445 (test_register, test_register_unavailable): New procedures.
8446 (gdb_unavailable_registers_test): New procedure.
8447 (gdb_trace_collection_test): Call it.
8448
8449 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
8450
8451 PR python/12149
8452
8453 * gdb.python/python.exp: Add gdb.write tests.
8454
8455 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
8456
8457 * gdb.python/Makefile.in: Add py-objfile.
8458 * gdb.python/py-objfile.exp: New file.
8459 * gdb.python/py-objfile.c: New file.
8460 * gdb.python/py-block.exp: Add is_valid tests.
8461 * gdb.python/py-inferior.exp: Ditto.
8462 * gdb.python/py-infthread.exp: Ditto.
8463 * gdb.python/py-symbol.exp: Ditto.
8464 * gdb.python/py-symtab.exp: Ditto.
8465
8466 2011-03-16 Keith Seitz <keiths@redhat.com>
8467
8468 PR c++/12273
8469 * gdb.cp/cmpd-minsyms.exp: New test.
8470 * gdb.cp/cmpd-minsyms.cc: New file.
8471
8472 PR c++/11734
8473 * gdb.cp/ovsrch.exp: New test.
8474 * gdb.cp/ovsrch.h: New file.
8475 * gdb.cp/ovsrch1.cc: New file.
8476 * gdb.cp/ovsrch2.cc: New file.
8477 * gdb.cp/ovsrch3.cc: New file.
8478 * gdb.cp/ovsrch4.cc: New file.
8479
8480 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8481
8482 PR gdb/12528
8483 * gdb.base/Makefile.in: Adjust EXECUTABLES.
8484 * gdb.base/break-on-linker-gcd-function.exp: New test.
8485 * gdb.base/break-on-linker-gcd-function.cc: New file.
8486
8487 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
8488
8489 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
8490
8491 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
8492
8493 * lib/gdb.exp (gdb_unload): Add another termination case.
8494
8495 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8496
8497 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
8498 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
8499 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
8500 Provide a stub byte there.
8501 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
8502 DW_AT_entry_pc.
8503 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
8504
8505 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
8506
8507 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
8508 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
8509 "generic ABI, auto".
8510 (altivec_abi_tests): Accept vectors returned by reference.
8511
8512 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
8513
8514 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
8515
8516 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
8517
8518 * gdb.python/py-section-script.exp: Skip test if no Python support.
8519
8520 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
8521
8522 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
8523
8524 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
8525
8526 * gdb.python/py-parameter.exp: Update tests to the new Python
8527 parameter API. Add "no documentation" test. Add deprecated API
8528 backward compatibility test.
8529
8530 2011-03-09 Tom Tromey <tromey@redhat.com>
8531
8532 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
8533 gdb_continue_to_end.
8534
8535 2011-03-09 Mark Kettenis <kettenis@gnu.org>
8536
8537 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
8538 tabs.
8539
8540 2011-03-09 Tom Tromey <tromey@redhat.com>
8541
8542 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
8543 parentheses.
8544 (gdb_continue_to_end): Add "allow_extra" parameter. Use
8545 $command.
8546 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
8547 argument to gdb_continue_to_end.
8548 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
8549 argument to gdb_continue_to_end.
8550 * gdb.cp/annota3.exp: Fix regex.
8551 * gdb.cp/annota2.exp: Fix regex.
8552 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
8553 gdb_continue_to_end.
8554 * gdb.base/call-signal-resume.exp: Revert earlier patch.
8555 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
8556 gdb_continue_to_end.
8557
8558 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8559
8560 * gdb.server/ext-run.exp
8561 (load new file without any gdbserver inferior): New test.
8562
8563 2011-03-07 Tom Tromey <tromey@redhat.com>
8564
8565 * Makefile.in (TAGS): Rewrite.
8566
8567 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8568
8569 * gdb.trace/report.exp (12.1: trace report #1): New match for the
8570 initial commands echo. New match for `Found trace'. Anchor all the
8571 other matches. Anchor and match for `No trace frame found' the final
8572 match.
8573
8574 2011-03-07 Tom Tromey <tromey@redhat.com>
8575
8576 * Makefile.in (TAGS): New target.
8577
8578 2011-03-07 Tom Tromey <tromey@redhat.com>
8579
8580 * lib/opencl.exp (skip_opencl_tests): Update for exit message
8581 change.
8582 * lib/mi-support.exp (mi_gdb_test): Update for exit message
8583 change.
8584 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
8585 exit message change.
8586 (skip_altivec_tests): Update for exit message change.
8587 (skip_vsx_tests): Likewise.
8588 (gdb_continue_to_end): Likewise. Add 'command' argument.
8589 * lib/cell.exp (skip_cell_tests): Update for exit message change.
8590 * gdb.threads/tls.exp: Update for exit message change.
8591 * gdb.threads/thread-unwindonsignal.exp: Use
8592 gdb_continue_to_end.
8593 * gdb.threads/step.exp (step_it): Update for exit message change.
8594 (continue_all): Likewise.
8595 * gdb.threads/print-threads.exp (test_all_threads): Update for
8596 exit message change.
8597 * gdb.threads/interrupted-hand-call.exp: Use
8598 gdb_continue_to_end.
8599 * gdb.threads/execl.exp: Use gdb_continue_to_end.
8600 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
8601 gdb_continue_to_end.
8602 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
8603 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
8604 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
8605 * gdb.cp/method.exp: Update for exit message change.
8606 * gdb.cp/mb-templates.exp: Update for exit message change.
8607 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
8608 * gdb.cp/annota3.exp: Update for exit message change.
8609 * gdb.cp/annota2.exp: Update for exit message change.
8610 * gdb.cell/fork.exp: Use gdb_continue_to_end.
8611 * gdb.base/term.exp: Update for exit message change.
8612 * gdb.base/step-test.exp (test_i): Update for exit message change.
8613 * gdb.base/sigstep.exp (advance): Update for exit message change.
8614 (advancei): Likewise.
8615 * gdb.base/siginfo.exp: Update for exit message change.
8616 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
8617 * gdb.base/reread.exp: Use gdb_continue_to_end.
8618 * gdb.base/langs.exp: Use gdb_continue_to_end.
8619 * gdb.base/interrupt.exp: Update for exit message change.
8620 * gdb.base/gdb1555.exp: Update for exit message change.
8621 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
8622 * gdb.base/ending-run.exp: Update for exit message change.
8623 * gdb.base/chng-syms.exp: Update for exit message change.
8624 * gdb.base/checkpoint.exp: Update for exit message change.
8625 * gdb.base/catch-syscall.exp (check_for_program_end): Use
8626 gdb_continue_to_end.
8627 (test_catch_syscall_with_wrong_args): Likewise.
8628 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
8629 * gdb.base/break-interp.exp (test_ld): Update for exit message
8630 change.
8631 * gdb.base/bang.exp: Update for exit message change.
8632 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
8633 (do_call_attach_tests): Likewise.
8634 * gdb.base/a2-run.exp: Update for exit message change.
8635 * gdb.arch/ppc-dfp.exp: Update for exit message change.
8636 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
8637 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
8638
8639 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8640
8641 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
8642
8643 2011-03-03 Tom Tromey <tromey@redhat.com>
8644
8645 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
8646 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
8647 * gdb.hp/gdb.aCC/configure.ac: Remove.
8648 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
8649 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
8650 * gdb.hp/gdb.base-hp/configure.ac: Remove.
8651 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
8652 * gdb.hp/gdb.compat/configure (Makefile): Remove.
8653 * gdb.hp/gdb.compat/configure.ac: Remove.
8654 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
8655 * gdb.hp/gdb.defects/configure (Makefile): Remove.
8656 * gdb.hp/gdb.defects/configure.ac: Remove.
8657 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
8658 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
8659 * gdb.hp/gdb.objdbg/configure.ac: Remove.
8660 * gdb.hp/configure.ac: Remove.
8661 * gdb.hp/configure: Remove.
8662 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
8663 substitution.
8664 (Makefile): Remove rule.
8665 * gdb.cell/configure.ac: Remove.
8666 * gdb.cell/configure: Remove.
8667 * gdb.stabs/Makefile.in (Makefile): Remove.
8668 (distclean): Don't remove config.status or config.log.
8669 * gdb.stabs/configure (Makefile): Remove.
8670 * gdb.stabs/configure.ac: Remove.
8671 * configure: Rebuild.
8672 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
8673 Remove stabs- and cell-specific logic. Test for existence of
8674 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
8675 subdirectories, gdb.cell, and and gdb.stabs.
8676 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
8677
8678 2011-03-03 Joel Brobecker <brobecker@adacore.com>
8679
8680 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
8681 end of buffer.
8682
8683 2011-03-02 Joel Brobecker <brobecker@adacore.com>
8684
8685 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
8686 gdb_test when running a test where we expected no output back.
8687
8688 2011-02-28 Michael Snyder <msnyder@vmware.com>
8689
8690 * gdb.cp/overload.cc: Change initializer value to integer.
8691
8692 2011-02-27 Michael Snyder <msnyder@vmware.com>
8693
8694 * gdb.multi/base.exp: Add test for remove-inferiors.
8695
8696 2011-02-26 Joel Brobecker <brobecker@adacore.com>
8697
8698 * gdb.python/py-frame.exp: Simplify the initialization phase
8699 using prepare_for_testing.
8700
8701 2011-02-25 Michael Snyder <msnyder@vmware.com>
8702
8703 * gdb.multi/base.exp: Add tests for info inferiors with args.
8704
8705 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8706
8707 * gdb.dwarf2/dw2-ranges.S: Rename to ...
8708 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
8709 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
8710 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
8711 asmfile3. Comment the STABS (#3) file compilation. Compile
8712 everything through assembler. Provide KFAIL for symtab/12497.
8713 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
8714 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
8715 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
8716 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
8717
8718 2011-02-24 Michael Snyder <msnyder@vmware.com>
8719
8720 * gdb.base/break.exp: Add tests for delete breakpoints using
8721 convenience variables and value history references.
8722
8723 2011-02-24 Michael Snyder <msnyder@vmware.com>
8724
8725 * gdb.base/break.exp: Remove debugging 'printf' accidentally
8726 left behind in previous check-in.
8727
8728 2011-02-23 Michael Snyder <msnyder@vmware.com>
8729
8730 * gdb.base/break.exp: Add tests for "info break" with arguments.
8731 * gdb.trace/infotrace.exp: Update patterns for error and help.
8732 * gdb.base/completion.exp: Update pattern.
8733 * gdb.base/ena-dis-br.exp: Update pattern.
8734 * gdb.base/help.exp: Update patterns.
8735
8736 2011-02-23 Michael Snyder <msnyder@vmware.com>
8737
8738 * gdb.base/memattr.exp: New test.
8739 * gdb.base/memattr.c: Test load for memattr.exp.
8740
8741 2011-02-22 Doug Evans <dje@google.com>
8742
8743 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
8744
8745 2011-02-22 Michael Snyder <msnyder@vmware.com>
8746
8747 * Makefile.in: Make more clean.
8748 * gdb.ada/Makefile.in: Ditto.
8749 * gdb.arch/Makefile.in: Ditto.
8750 * gdb.asm/Makefile.in: Ditto.
8751 * gdb.base/Makefile.in: Ditto.
8752 * gdb.cp/Makefile.in: Ditto.
8753 * gdb.dwarf2/Makefile.in: Ditto.
8754 * gdb.java/Makefile.in: Ditto.
8755 * gdb.mi/Makefile.in: Ditto.
8756 * gdb.modula2/Makefile.in: Ditto.
8757 * gdb.python/Makefile.in: Ditto.
8758 * gdb.server/Makefile.in: Ditto.
8759 * gdb.stabs/Makefile.in: Ditto.
8760 * gdb.threads/Makefile.in: Ditto.
8761 * gdb.trace/Makefile.in: Ditto.
8762
8763 2011-02-22 Michael Snyder <msnyder@vmware.com>
8764
8765 * gdb.threads/thread-find.exp: Add tests for bad input to
8766 info threads.
8767
8768 2011-02-22 Joel Brobecker <brobecker@adacore.com>
8769
8770 * gdb.python/py-breakpoint.exp: Fix the expected output of
8771 one of the "maint info breakpoints" tests to accept the output
8772 generated on platforms that do not have hardware watchpoints.
8773
8774 2011-02-22 Joel Brobecker <brobecker@adacore.com>
8775
8776 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
8777 clean_restart. Be a little stricter in the expected output
8778 for one of the tests. Fix a typo in one of the comments.
8779
8780 2011-02-22 Joel Brobecker <brobecker@adacore.com>
8781
8782 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
8783 Delete variable binfile, no longer use. Add or modify test
8784 comments to make them unique.
8785
8786 2011-02-21 Michael Snyder <msnyder@vmware.com>
8787
8788 * Makefile.in: Update for make clean.
8789 * gdb.ada/Makefile.in: Ditto.
8790 * gdb.arch/Makefile.in: Ditto.
8791 * gdb.asm/Makefile.in: Ditto.
8792 * gdb.base/Makefile.in: Ditto.
8793 * gdb.cp/Makefile.in: Ditto.
8794 * gdb.dwarf2/Makefile.in: Ditto.
8795 * gdb.java/Makefile.in: Ditto.
8796 * gdb.mi/Makefile.in: Ditto.
8797 * gdb.modula2/Makefile.in: Ditto.
8798 * gdb.python/Makefile.in: Ditto.
8799 * gdb.server/Makefile.in: Ditto.
8800 * gdb.stabs/Makefile.in: Ditto.
8801 * gdb.threads/Makefile.in: Ditto.
8802 * gdb.trace/Makefile.in: Ditto.
8803
8804 2011-02-21 Michael Snyder <msnyder@vmware.com>
8805
8806 * gdb.threads/thread-find.exp: Update patterns for changes in
8807 output of "info threads" command.
8808
8809 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8810 Ulrich Weigand <uweigand@de.ibm.com>
8811
8812 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
8813 (skip_hw_watchpoint_tests): Likewise.
8814 (skip_hw_watchpoint_multi_tests): Likewise.
8815
8816 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
8817
8818 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
8819 (skip_hw_watchpoint_tests): Likewise.
8820 (skip_hw_watchpoint_multi_tests): Likewise.
8821 (skip_hw_watchpoint_access_tests): Likewise.
8822
8823 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
8824 * gdb.base/pr11022.exp: Likewise.
8825 * gdb.base/watch-read.exp: Likewise.
8826 * gdb.base/watch_thread_num.exp: Likewise.
8827 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
8828 * gdb.base/watchpoint-hw.exp: Likewise.
8829 * gdb.base/watchpoint.exp: Likewise.
8830 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
8831 * gdb.threads/watchthreads-reorder.exp: Likewise.
8832 * gdb.threads/watchthreads.exp: Likewise.
8833 * gdb.threads/watchthreads2.exp: Likewise.
8834
8835 2011-02-21 Joel Brobecker <brobecker@adacore.com>
8836
8837 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
8838 the debugger is unable to find the array bounds.
8839
8840 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8841
8842 * gdb.cp/typedef-operator.exp: New file.
8843 * gdb.cp/typedef-operator.cc: New file.
8844
8845 2011-02-17 Michael Snyder <msnyder@vmware.com>
8846
8847 * gdb.threads/thread-find.exp: Fix regular expressions.
8848
8849 2011-02-17 Joel Brobecker <brobecker@adacore.com>
8850
8851 * gdb.ada/packed_array: Expand testcase to test printing of
8852 unconstrained packed array.
8853
8854 2011-02-17 Joel Brobecker <brobecker@adacore.com>
8855
8856 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
8857
8858 2011-02-16 Pedro Alves <pedro@codesourcery.com>
8859
8860 * gdb.trace/collection.c (globalarr3): New global.
8861 (main): Initialize it before collecting, and and clear it
8862 afterwards.
8863 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
8864 collecting with '{type} addr', where the addr expression is not an
8865 rvalue.
8866
8867 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
8868
8869 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
8870 a bool variable. Expect correct OpenCL names for vector types. Use the
8871 uc3 variable name instead of referring to the uchar3 built-in type.
8872 Escape the asterisk at the half pointer test.
8873
8874 2011-02-16 Pedro Alves <pedro@codesourcery.com>
8875
8876 * gdb.trace/collection.c (globalarr2): New global.
8877 (main): Initialize it before collecting, and and clear it
8878 afterwards.
8879 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
8880 collecting overlapping memory ranges.
8881
8882 2011-02-15 Michael Snyder <msnyder@vmware.com>
8883
8884 * gdb.base/default.exp: Add tests for thread commands.
8885 * gdb.base/help.exp: Add tests for thread commands.
8886 * gdb.threads/thread-find.exp: New test for thread find command.
8887
8888 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
8889
8890 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
8891
8892 2011-02-15 Yao Qi <yao@codesourcery.com>
8893
8894 PR tdep/12352
8895 * gdb.arch/arm-disp-step.S : New test for str instruction.
8896 * gdb.arch/arm-disp-step.exp : Likewise.
8897
8898 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
8899
8900 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
8901 "vector_register2_vr" test strings. Test the extended floating
8902 point registers (F32~F63).
8903 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
8904 IBM XL C compiler. Make the test program use a register provided
8905 by the compiler for the lxvd2x instruction.
8906
8907 2011-02-14 Pedro Alves <pedro@codesourcery.com>
8908
8909 * gdb.trace/unavailable.cc (class Base, class Middle, class
8910 Derived): New types.
8911 (derived_unavail, derived_partial, derived_whole): New globals.
8912 (virtual_partial): New global.
8913 (virtualp): Point at virtual_partial.
8914 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
8915 related to unavailable vptr.
8916
8917 2011-02-14 Pedro Alves <pedro@codesourcery.com>
8918
8919 * gdb.trace/unavailable.cc (a, b, c): New globals.
8920 (main): Set and clear them.
8921 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
8922 `a' and `c', and check that `b' isn't collected, although `a' and
8923 `c' are.
8924
8925 2011-02-14 Pedro Alves <pedro@codesourcery.com>
8926
8927 * gdb.trace/unavailable.cc (struct Virtual): New.
8928 (virtualp): New global pointer.
8929 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
8930 printing a pointer to an object whose type has a vtable, with
8931 print object on.
8932
8933 2011-02-14 Pedro Alves <pedro@codesourcery.com>
8934
8935 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
8936 value repeat handles unavailableness.
8937
8938 2011-02-14 Pedro Alves <pedro@codesourcery.com>
8939
8940 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
8941 tests for building arrays from unavailable values, subscripting
8942 non-memory rvalue unvailable arrays, and accessing fields or
8943 baseclasses of non-lazy unavailable values,
8944 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
8945 struct types.
8946 (g_smallstruct, g_smallstruct_b): New globals.
8947
8948 2011-02-14 Pedro Alves <pedro@codesourcery.com>
8949
8950 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
8951
8952 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8953
8954 Fix const/volatile qualifiers of C++ types, PR c++/12328.
8955 * gdb.cp/overload-const.exp: New file.
8956 * gdb.cp/overload-const.cc: New file.
8957
8958 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
8959
8960 * gdb.opencl/callfuncs.cl: New file.
8961 * gdb.opencl/callfuncs.exp: New test.
8962 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
8963
8964 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
8965
8966 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
8967 when computing result.
8968 * gdb.arch/altivec-abi.exp: Update expected results.
8969
8970 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
8971
8972 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
8973 * gdb.base/jit.exp: Likewise.
8974 * gdb.base/pie-execl.exp: Likewise.
8975 * gdb.base/solib-nodir.exp: Likewise.
8976 * gdb.base/solib-overlap.exp: Likewise.
8977
8978 2011-02-07 Pedro Alves <pedro@codesourcery.com>
8979
8980 * gdb.trace/collection.c (global_pieces): New.
8981 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
8982 New procedure.
8983 (gdb_trace_collection_test): Call it.
8984
8985 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
8986
8987 * gdb.python/py-evthreads.c: New file.
8988 * gdb.python/py-evthreads.exp: New file.
8989 * gdb.python/py-events.py: New file.
8990 * gdb.python/py-events.exp: New file.
8991 * gdb.python/py-events.c: New file.
8992
8993 2011-02-04 David Daney <ddaney@caviumnetworks.com>
8994
8995 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
8996
8997 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
8998
8999 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
9000 gdb.base/disasm-end-cu.exp: New test for disassembling over the
9001 boundary between two compilation units.
9002
9003 2011-02-02 Pedro Alves <pedro@codesourcery.com>
9004
9005 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
9006 (Virtual): New structs.
9007 (virtual_o, virtual_middle_b): New globals.
9008 * gdb.cp/virtbase.exp: New tests.
9009
9010 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9011
9012 * gdb.base/jit.exp: New file.
9013 * gdb.base/jit-main.c: New file.
9014 * gdb.base/jit-solib.c: New file.
9015
9016 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
9017
9018 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
9019 proceed to initial kernel entry point.
9020 * gdb.opencl/datatypes.exp: Likewise.
9021 * gdb.opencl/operators.exp: Likewise.
9022 * gdb.opencl/vec_comps.exp: Likewise.
9023
9024 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
9025
9026 * gdb.cp/nsnested.cc: New.
9027 * gdb.cp/nsnested.exp: New.
9028 * gdb.cp/nsnoimports.exp: New.
9029 * gdb.cp/nsnoimports.cc: New.
9030
9031 2011-01-31 Joel Brobecker <brobecker@adacore.com>
9032
9033 * gdb.base/interact.exp: Add extra tests that verify that
9034 the value of the interactive-mode setting does not change
9035 after the script is sourced.
9036
9037 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9038
9039 * gdb.cp/noparam.exp: New file.
9040 * gdb.cp/noparam.cc: New file.
9041
9042 2011-01-28 Pedro Alves <pedro@codesourcery.com>
9043
9044 * gdb.trace/tfile.exp: Test that with no traceframe selected,
9045 there's no stack or registers.
9046
9047 2011-01-26 Tom Tromey <tromey@redhat.com>
9048
9049 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
9050 space before string output. Add test for "set print pretty off"
9051 case.
9052
9053 2011-01-25 Pedro Alves <pedro@codesourcery.com>
9054
9055 * gdb.base/frame-args.exp: Adjust.
9056 * gdb.dwarf2/dw2-noloc.exp: Adjust.
9057 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
9058 * gdb.dwarf2/pieces.exp: Adjust.
9059 * gdb.opt/clobbered-registers-O2.exp: Adjust.
9060 * gdb.opt/inline-locals.exp: Adjust.
9061 * gdb.threads/fork-child-threads.exp: Adjust.
9062
9063 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
9064
9065 * gdb.opencl/convs_casts.cl: Move program scope variables into the
9066 OpenCL kernel function. Add a comment as marker. Add address space
9067 qualifiers for the remaining program scope variables.
9068 * gdb.opencl/datatypes.cl: Likewise.
9069 * gdb.opencl/operators.cl: Likewise.
9070 * gdb.opencl/vec_comps.cl: Likewise.
9071 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
9072 Add breakpoint at the marker comment.
9073 * gdb.opencl/datatypes.exp: Likewise.
9074 * gdb.opencl/operators.exp: Likewise.
9075 * gdb.opencl/vec_comps.exp: Likewise.
9076
9077 2011-01-24 Pedro Alves <pedro@codesourcery.com>
9078
9079 * gdb.base/printcmds.c (some_struct): New struct and instance.
9080 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
9081 procedure.
9082 <global scope>: Call it.
9083
9084 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
9085
9086 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
9087 argument to the gdb_compile_opencl_hostapp call.
9088
9089 2011-01-19 Yao Qi <yao@codesourcery.com>
9090
9091 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
9092 positve list.
9093
9094 2011-01-19 Yao Qi <yao@codesourcery.com>
9095
9096 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
9097 canonical form.
9098 Remove "xscale-*-*"
9099 * gdb.xml/tdesc-regs.exp: Likewise.
9100 * gdb.python/py-section-script.exp: Replace ARM target triplet
9101 with canonical form.
9102 Match arm*-*-symbianelf*.
9103 * gdb.base/dup-sect.exp: Likewise.
9104 * lib/dwarf.exp: New.
9105 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
9106 dwarf2_support.
9107 * gdb.dwarf2/dup-psym.exp: Likewise.
9108 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
9109 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9110 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
9111 * gdb.dwarf2/dw2-basic.exp: Likewise.
9112 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9113 * gdb.dwarf2/dw2-const.exp: Likewise.
9114 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
9115 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
9116 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9117 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
9118 * gdb.dwarf2/dw2-filename.exp: Likewise.
9119 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9120 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
9121 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9122 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9123 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
9124 * gdb.dwarf2/dw2-noloc.exp: Likewise.
9125 * gdb.dwarf2/dw2-op-call.exp: Likewise.
9126 * gdb.dwarf2/dw2-producer.exp: Likewise.
9127 * gdb.dwarf2/dw2-ranges.exp: Likewise.
9128 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
9129 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
9130 * gdb.dwarf2/dw2-strp.exp: Likewise.
9131 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
9132 * gdb.dwarf2/implptr.exp: Likewise.
9133 * gdb.dwarf2/mac-fileno.exp: Likewise.
9134 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
9135 * gdb.dwarf2/pieces.exp: Likewise.
9136 * gdb.dwarf2/pr11465.exp: Likewise.
9137 * gdb.dwarf2/valop.exp: Likewise.
9138 * gdb.dwarf2/watch-notconst.exp: Likewise.
9139 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
9140
9141 2011-01-19 Tom Tromey <tromey@redhat.com>
9142
9143 * gdb.python/py-infthread.exp: Add thread tests.
9144
9145 2011-01-14 Joel Brobecker <brobecker@adacore.com>
9146
9147 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
9148
9149 2011-01-14 Joel Brobecker <brobecker@adacore.com>
9150
9151 * gdb.ada/widewide: New testcase.
9152
9153 2011-01-13 Joel Brobecker <brobecker@adacore.com>
9154
9155 * gdb.base/interact.exp: New testcase.
9156
9157 2011-01-12 Tom Tromey <tromey@redhat.com>
9158
9159 * gdb.mi/gdb2549.exp: Update for error message changes.
9160 * gdb.mi/mi-cli.exp: Likewise.
9161 * gdb.mi/mi-disassemble.exp: Likewise.
9162 * gdb.mi/mi-pthreads.exp: Likewise.
9163 * gdb.mi/mi-regs.exp: Likewise.
9164 * gdb.mi/mi-stack.exp: Likewise.
9165 * gdb.mi/mi-var-block.exp: Likewise.
9166 * gdb.mi/mi-var-cmd.exp: Likewise.
9167 * gdb.mi/mi2-cli.exp: Likewise.
9168 * gdb.mi/mi2-disassemble.exp: Likewise.
9169 * gdb.mi/mi2-pthreads.exp: Likewise.
9170 * gdb.mi/mi2-regs.exp: Likewise.
9171 * gdb.mi/mi2-stack.exp: Likewise.
9172 * gdb.mi/mi2-var-block.exp: Likewise.
9173 * gdb.mi/mi2-var-cmd.exp: Likewise.
9174
9175 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
9176 Jan Kratochvil <jan.kratochvil@redhat.com>
9177
9178 PR fortran/11104 and DWARF unbound arrays detection.
9179 * gdb.fortran/multi-dim.exp: New file.
9180 * gdb.fortran/multi-dim.f90: New file.
9181
9182 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
9183
9184 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
9185 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
9186 add new tests for opcode dumping.
9187
9188 2011-01-11 Tom Tromey <tromey@redhat.com>
9189
9190 * gdb.python/py-infthread.exp: Load gdb-python.exp.
9191
9192 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
9193
9194 Convert hardware watchpoints to use breakpoint_ops.
9195 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
9196 type is not supported.
9197 * gdb.base/foll-fork.exp: Likewise.
9198 * gdb.base/foll-vfork.exp: Likewise.
9199
9200 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
9201
9202 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
9203 Use load_lib gdb-python.exp.
9204 * gdb.python/python.exp: Ditto.
9205 * gdb.python/py-function.exp: Ditto.
9206
9207 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
9208
9209 * gdb.threads/tls.exp ("info address me"): Fix expected output.
9210
9211 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9212
9213 * configure: Regenerate.
9214
9215 2011-01-06 Tom Tromey <tromey@redhat.com>
9216
9217 * gdb.python/py-frame.exp: Test gdb.newest_frame.
9218
9219 2011-01-06 Joel Brobecker <brobecker@adacore.com>
9220
9221 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
9222 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
9223 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9224 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
9225 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
9226 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9227 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
9228 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
9229 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
9230 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
9231 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
9232 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
9233 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
9234 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9235 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9236 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
9237 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
9238 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
9239 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9240 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
9241 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
9242 gdb.ada/uninitialized_vars.exp,
9243 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
9244 Simplify by using clean_restart.
9245
9246 2011-01-06 Joel Brobecker <brobecker@adacore.com>
9247
9248 Add marker to be used as anchor for inserting breakpoints.
9249 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
9250 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
9251 Likewise.
9252
9253 Remove uses of gdb_start_cmd.
9254 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
9255 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
9256
9257 Do not run testcase if testing with GDBserver.
9258 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
9259 if testing with GDBserver.
9260
9261 2011-01-06 Joel Brobecker <brobecker@adacore.com>
9262
9263 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
9264 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
9265 copyright header.
9266
9267 2011-01-05 Joel Brobecker <brobecker@adacore.com>
9268
9269 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
9270 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
9271 testsuite/gdb.fortran/complex.f,
9272 testsuite/gdb.fortran/derived-type.f90,
9273 testsuite/gdb.fortran/library-module-lib.f90,
9274 testsuite/gdb.fortran/library-module-main.f90,
9275 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
9276 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
9277 Copyright year update.
9278
9279 2011-01-05 Joel Brobecker <brobecker@adacore.com>
9280
9281 * gdb.base/langs1.f: Add copyright header.
9282
9283 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9284
9285 * gdb.base/morestack.exp: New file.
9286 * gdb.base/morestack.c: New file.
9287
9288 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9289
9290 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
9291
9292 2010-12-29 Joel Brobecker <brobecker@adacore.com>
9293
9294 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
9295 * gdb.ada/arrayptr.exp: Add test printing that new variable.
9296
9297 2010-12-29 Joel Brobecker <brobecker@adacore.com>
9298
9299 * gdb.ada/lang_switch.exp: Correct expected parameter value.
9300
9301 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
9302
9303 * gdb.threads/tls.exp: Fix typo.
9304
9305 * gdb.threads/thread-specific.exp (get_thread_list): Update.
9306 * gdb.threads/execl.exp: Update.
9307
9308 2010-12-23 Yao Qi <yao@codesourcery.com>
9309
9310 * gdb.arch/arm-disp-step.exp: New.
9311 * gdb.arch/arm-disp-step.S: New.
9312
9313 2010-12-21 Tom Tromey <tromey@redhat.com>
9314
9315 * gdb.threads/execl.exp: Update.
9316 * gdb.threads/linux-dp.exp: Update.
9317 * gdb.threads/manythreads.exp: Update.
9318 * gdb.threads/tls.exp: Update.
9319
9320 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9321
9322 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
9323 (NextOverThrowDerivates) <resumebpt>: New.
9324 (resumebpt_test): New.
9325 (main): Call resumebpt_test.
9326 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
9327
9328 2010-12-12 Stan Shebs <stan@codesourcery.com>
9329
9330 * gdb.trace/tsv.exp: Test print command on trace state variables.
9331
9332 2010-12-09 Tom Tromey <tromey@redhat.com>
9333
9334 * gdb.base/interp.exp: Add regression test.
9335
9336 2010-12-09 Tom Tromey <tromey@redhat.com>
9337
9338 * gdb.java/jnpe.java: New file.
9339 * gdb.java/jnpe.exp: New file.
9340 * gdb.cp/nextoverthrow.exp: New file.
9341 * gdb.cp/nextoverthrow.cc: New file.
9342
9343 2010-12-07 Doug Evans <dje@google.com>
9344
9345 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
9346 of data-directory.
9347 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
9348 updated.
9349 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
9350
9351 2010-11-29 Michael Snyder <msnyder@vmware.com>
9352
9353 * gdb.base/callfuncs.exp: Test for skip_float_tests.
9354 * gdb.base/call-sc.exp: Ditto.
9355 * gdb.base/finish.exp: Ditto.
9356 * gdb.base/return.exp: Ditto.
9357 * gdb.base/return2.exp: Ditto.
9358
9359 2010-11-30 Doug Evans <dje@google.com>
9360
9361 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
9362 (gdb_expect_list): Fix spelling errors in comments.
9363 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
9364 send_gdb/gdb_expect_list where applicable.
9365 * gdb.base/call-ar-st.exp: Ditto.
9366 * gdb.base/funcargs.exp: Ditto.
9367 * gdb.base/gcore.exp: Ditto.
9368 * gdb.base/page.exp: Ditto.
9369 * gdb.base/sigaltstack.exp: Ditto.
9370 * gdb.base/siginfo.exp: Ditto.
9371 * gdb.base/sigstep.exp: Ditto.
9372 * gdb.base/trace-commands.exp: Ditto.
9373
9374 2010-11-29 Doug Evans <dje@google.com>
9375
9376 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
9377 printer-name;subprinter-name.
9378
9379 2010-11-29 Tom Tromey <tromey@redhat.com>
9380
9381 * gdb.dwarf2/implptr.exp: New file.
9382 * gdb.dwarf2/implptr.c: New file.
9383 * gdb.dwarf2/implptr.S: New file.
9384
9385 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
9386
9387 PR python/12199
9388
9389 * gdb.python/py-breakpoint.exp: Test the delete method.
9390
9391 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9392
9393 Fix step_resume_breakpoint unsaved during an infcall.
9394 * gdb.base/step-resume-infcall.exp: New file.
9395 * gdb.base/step-resume-infcall.c: New file.
9396
9397 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
9398
9399 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
9400
9401 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
9402
9403 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
9404 on ppc64's symbols; "finish" and "return" commands must accept to
9405 show the caller line again as well as the line after.
9406 * gdb.asm/powerpc64.inc: New file.
9407
9408 2010-11-23 Doug Evans <dje@google.com>
9409
9410 * lib/gdb.exp (gdb_test_sequence): New function.
9411 (gdb_expect_list): Add verbose -log call for each pattern.
9412 * gdb.base/signals.exp (test_handle_all_print): Call it.
9413 Reduce timeout increment from 6 minutes to 1 minute.
9414 * gdb.server/ext-run.exp: Call it.
9415
9416 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
9417
9418 PR python/12212
9419
9420 * gdb.python/python.exp: Check that selected_thread raises an
9421 error when no inferior is loaded.
9422
9423 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9424
9425 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
9426 * gdb.dwarf2/dw2-stack-boundary.S: New file.
9427
9428 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9429
9430 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
9431 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
9432
9433 2010-11-18 Doug Evans <dje@google.com>
9434
9435 * gdb.server/ext-run.exp: Fix intermittent failures.
9436
9437 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9438
9439 * gdb.stabs/gdb11479.exp: Use runto_main.
9440
9441 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9442
9443 * gdb.base/break-entry.exp: Skip if using a stub.
9444
9445 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9446
9447 * gdb.python/py-inferior.exp: Pack values in target endianness.
9448
9449 2010-11-12 Tom Tromey <tromey@redhat.com>
9450
9451 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
9452 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
9453 MemoryError.
9454 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
9455 type.
9456 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
9457 MemoryError.
9458 (test_subscript_regression): Update exception type.
9459
9460 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
9461
9462 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
9463 breakpoint tests.
9464
9465 2010-11-09 Pedro Alves <pedro@codesourcery.com>
9466
9467 * gdb.base/watchpoint.exp: Test "watch -location" with an
9468 innacessible location.
9469
9470 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
9471 Luis Machado <luisgpm@br.ibm.com>
9472
9473 * gdb.base/maint.exp: Expect "." prefix.
9474 * gdb.base/nodebug.exp: Expect "." Likewise.
9475 * gdb.base/sepsymtab.exp: Expect "." Likewise.
9476 * gdb.base/watchpoint-cond-gone.exp: Likewise.
9477 * gdb.base/watchpoint.exp: Expect a software watch to be created for
9478 POWER server processors.
9479
9480 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
9481 Luis Machado <luisgpm@br.ibm.com>
9482
9483 * gdb.base/break-entry.exp: convert entry point for
9484 ppc64 and expect leading `.' on ppc64's symbols
9485
9486 2010-11-05 Doug Evans <dje@google.com>
9487
9488 * gdb.base/help.exp: Update expected output.
9489 * gdb.python/py-param.exp: Delete, contents moved to ...
9490 * gdb.python/py-parameter.exp: ... here. New file.
9491 Add test for gdb.parameter ("directories").
9492
9493 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
9494
9495 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
9496 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
9497 * configure: Regenerate.
9498 * gdb.opencl/Makefile.in: New File.
9499 * gdb.opencl/datatypes.exp: Likewise.
9500 * gdb.opencl/datatypes.cl: Likewise.
9501 * gdb.opencl/operators.exp: Likewise.
9502 * gdb.opencl/operators.cl: Likewise.
9503 * gdb.opencl/vec_comps.exp: Likewise.
9504 * gdb.opencl/vec_comps.cl: Likewise.
9505 * gdb.opencl/convs_casts.exp: Likewise.
9506 * gdb.opencl/convs_casts.cl: Likewise.
9507 * lib/opencl.exp: Likewise.
9508 * lib/opencl_hostapp.c: Likewise.
9509 * lib/opencl_kernel.cl: Likewise.
9510 * lib/cl_util.c: Likewise.
9511 * lib/cl_util.c: Likewise.
9512 * gdb.base/default.exp (set language): Add "opencl" to the list of
9513 languages.
9514
9515 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
9516
9517 * gdb.cp/overload.exp: Added test for inheritance overload.
9518 * gdb.cp/overload.cc: Ditto.
9519 * gdb.cp/oranking.exp: Removed releveant kfails.
9520
9521 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9522 Joel Brobecker <brobecker@adacore.com>
9523
9524 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
9525 check test_compiler_info.
9526
9527 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
9528
9529 * gdb.base/gnu_vector.exp: Adjust expect messages.
9530
9531 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
9532
9533 * gdb.base/gnu_vector.exp: Add unary operator tests.
9534
9535 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
9536
9537 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
9538
9539 2010-11-02 Doug Evans <dje@google.com>
9540
9541 * gdb.python/py-pp-maint.c: New file.
9542 * gdb.python/py-pp-maint.exp: New file.
9543 * gdb.python/py-pp-maint.py: New file.
9544
9545 2010-11-02 Tom Tromey <tromey@redhat.com>
9546
9547 * gdb.base/default.exp: Remove "scheme" from language list.
9548
9549 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9550
9551 Revert:
9552 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9553 * gdb.threads/sigstep-threads.exp: New file.
9554 * gdb.threads/sigstep-threads.c: New file.
9555
9556 2010-10-20 Michael Snyder <msnyder@vmware.com>
9557
9558 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
9559
9560 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
9561
9562 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
9563 Skip test completely if gdb,no_hardware_watchpoints.
9564
9565 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
9566
9567 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
9568 strict, but do not check for any particular function name within libc.
9569
9570 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
9571
9572 * gdb.cp/smartp.exp: New test.
9573 * gdb.cp/smartp.cc : New test.
9574
9575 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
9576
9577 * gdb.cp/converts.exp: Test pointer to bool conversion.
9578 Test pointer to long conversion.
9579 * gdb.cp/oranking.exp: Removed relevant kfail.
9580
9581 2010-10-18 Tom Tromey <tromey@redhat.com>
9582
9583 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
9584 argument to lazy_string.
9585 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
9586 (pp_ls.to_string): Use it.
9587 * gdb.python/py-prettyprint.c (main): Move declarations to top.
9588 Add "estring2" local.
9589
9590 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9591
9592 Fix s390x compatibility.
9593 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
9594 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
9595
9596 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9597
9598 * gdb.threads/sigstep-threads.exp: New file.
9599 * gdb.threads/sigstep-threads.c: New file.
9600
9601 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9602
9603 * gdb.base/pie-execl.exp: New file.
9604 * gdb.base/pie-execl.c: New file.
9605
9606 2010-10-13 Doug Evans <dje@google.com>
9607 Jan Kratochvil <jan.kratochvil@redhat.com>
9608
9609 PR exp/12117
9610 * gdb.cp/ptype-cv-cp.cc: New file.
9611 * gdb.cp/ptype-cv-cp.exp: New file.
9612
9613 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
9614
9615 * gdb.cp/converts.cc: New test program.
9616 * gdb.cp/converts.exp: New test.
9617 * gdb.cp/overload.exp: Added test for void* vs int*.
9618 * gdb.cp/overload.exp: Ditto.
9619 * gdb.cp/oranking.exp: Removed related kfail.
9620
9621 2010-10-13 Doug Evans <dje@google.com>
9622
9623 * lib/gdb-python.exp (gdb_check_python_config): New function.
9624 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
9625 * gdb.python/lib-types.cc: New file.
9626 * gdb.python/lib-types.exp: New file.
9627
9628 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9629
9630 * gdb.python/py-error.exp: New file.
9631 * gdb.python/py-error.py: New file.
9632
9633 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9634
9635 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
9636 gdb_test_multiple.
9637
9638 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9639
9640 * gdb.base/break-interp.exp: Use ldlags for linking flags.
9641 * gdb.base/prelink.exp: Likewise.
9642 * gdb.base/solib-nodir.exp: Likewise.
9643 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
9644 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
9645 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
9646
9647 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
9648
9649 * break-interp.exp (test_ld): Use two separate gdb_expect statements
9650 for the "info files" test to avoid timeouts on slow machines.
9651
9652 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9653
9654 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
9655 (main): Make openlib dummy call.
9656
9657 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9658
9659 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
9660 * break-interp.exp (reach): Move the core body ...
9661 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
9662 (test_ld): Provide always real argument, even to the linker. Replace
9663 dl_main by _dl_debug_state.
9664
9665 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9666
9667 Fix results of prelinked PIEs on ppc*.
9668 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
9669 Accept also DISPLACEMENT "PRESENT".
9670 (main): Replace "ZERO" displacements by "PRESENT".
9671
9672 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
9673
9674 * gdb.cp/oranking.exp: New test.
9675 * gdb.cp/oranking.cc: New test program.
9676
9677 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
9678
9679 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
9680 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
9681
9682 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
9683
9684 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
9685 lush, lynx) New constant.
9686 * gdb.base/constvars.exp: Test const array types.
9687 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
9688
9689 2010-10-06 Doug Evans <dje@google.com>
9690
9691 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
9692 of syscall staging area.
9693
9694 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
9695
9696 * gdb.base/gnu_vector.c: Add variable c4.
9697 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
9698 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
9699
9700 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
9701
9702 * gdb.arch/altivec-abi.exp: Fix a typo.
9703
9704 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
9705
9706 * lib/mi-support.exp (thread_selected_re): Correct pattern used
9707 to match a thread ID.
9708
9709 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9710
9711 Fix s390x testcase compatibility.
9712 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
9713
9714 2010-10-01 Doug Evans <dje@google.com>
9715
9716 * lib/gdb-python.exp: New file.
9717 * gdb.python/py-block.exp: Use it.
9718 * gdb.python/py-breakpoint.exp: Ditto.
9719 * gdb.python/py-frame.exp: Ditto.
9720 * gdb.python/py-inferior.exp: Ditto.
9721 * gdb.python/py-param.exp: Ditto.
9722 * gdb.python/py-prettyprint.exp: Ditto.
9723 * gdb.python/py-shared.exp: Ditto.
9724 * gdb.python/py-symbol.exp: Ditto.
9725 * gdb.python/py-symtab.exp: Ditto.
9726 * gdb.python/py-type.exp: Ditto.
9727 * gdb.python/py-value.exp: Ditto.
9728 * gdb.python/python.exp: Ditto.
9729
9730 2010-09-30 Tom Tromey <tromey@redhat.com>
9731
9732 * gdb.base/anon.exp: New file.
9733 * gdb.base/anon.c: New file.
9734
9735 2010-09-30 Tom Tromey <tromey@redhat.com>
9736
9737 * gdb.base/completion.exp: Test completion through anonymous
9738 union.
9739 * gdb.base/break1.c (struct some_struct): Add anonymous union.
9740
9741 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9742
9743 Fix printing parameters of inlined functions.
9744 * gdb.dwarf2/dw2-inline-param.exp: New file.
9745 * gdb.dwarf2/dw2-inline-param-main.c: New file.
9746 * gdb.dwarf2/dw2-inline-param.S: New file.
9747
9748 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9749
9750 PR corefiles/12071.
9751 * gdb.base/corefile.exp (quit with a process, no question: load core)
9752 (quit with a core file): New tests.
9753
9754 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9755
9756 Fix GDB crash on inferior calls with self-referencing classes.
9757 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
9758 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
9759 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
9760
9761 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9762
9763 Fix lost siginfo_t for inferior calls.
9764 * gdb.base/siginfo-infcall.exp: New file.
9765 * gdb.base/siginfo-infcall.c: New file.
9766
9767 2010-09-22 Joel Brobecker <brobecker@adacore.com>
9768
9769 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
9770
9771 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9772
9773 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
9774 New test.
9775 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
9776
9777 2010-09-22 Joel Brobecker <brobecker@adacore.com>
9778
9779 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
9780 type of our const type.
9781
9782 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
9783
9784 * gdb.cp/pr12028.cc: New.
9785 * gdb.cp/pr12028.exp: New.
9786
9787 2010-09-22 Joel Brobecker <brobecker@adacore.com>
9788
9789 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
9790
9791 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
9792 Jan Kratochvil <jan.kratochvil@redhat.com>
9793
9794 PR mi/11407
9795 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
9796 * gdb.mi/dw2-ref-missing-frame-main.c New File.
9797 * gdb.mi/dw2-ref-missing-frame.S New File.
9798 * gdb.mi/dw2-ref-missing-frame.exp New File.
9799
9800 2010-09-14 Tom Tromey <tromey@redhat.com>
9801
9802 PR symtab/8399:
9803 * gdb.threads/tls.exp: Remove kfail. Update expected output.
9804
9805 2010-09-14 Tom Tromey <tromey@redhat.com>
9806
9807 PR exp/11803:
9808 * gdb.threads/tls.exp: Use C++.
9809 (check_thread_local): Use K::another_thread_local.
9810 * gdb.threads/tls.c (class K): New.
9811 (another_thread_local): Now a member of K.
9812 (spin): Update. No longer K&R C.
9813
9814 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
9815
9816 * gdb.cp/koenig.cc: created class for testing member lookup.
9817 * gdb.cp/koenig.exp: Added test for member lookup.
9818
9819 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9820
9821 Fix false FAILs on sourcetree topdir directory containing "kill".
9822 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
9823 source line matching regexp.
9824
9825 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9826
9827 * gdb.python/python.exp (set height 0, collect help from uiout)
9828 (verify help to uiout): New tests.
9829
9830 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9831
9832 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
9833 is_lp64_target to check 64bit target.
9834
9835 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9836
9837 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
9838 (test_ld) <powerpc64-*>: New.
9839
9840 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9841
9842 * gdb.cp/templates.exp (test_template_args): Allow "struct".
9843
9844 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9845
9846 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
9847 (FunctionArg::method): New function.
9848 (empty, arg): New variables.
9849 (main): Call arg.method.
9850 * gdb.cp/templates.exp (test_template_args): New function.
9851 (do_tests): Call it.
9852
9853 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
9854
9855 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
9856 of "next" to proceed over pthread_exit call.
9857
9858 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
9859
9860 * gdb.base/maint.exp: Avoid wildcards against potentially very long
9861 "maint print statistics" output to prevent expect timeouts.
9862
9863 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9864
9865 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
9866 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9867 (test_float_rejected): ... here.
9868 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
9869 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9870 (test_float_rejected): ... here.
9871 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
9872 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9873 (test_float_rejected): ... here.
9874 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
9875 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9876 (test_float_rejected): ... here.
9877
9878 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9879
9880 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
9881 before disabling hardware watchpoints.
9882 (test_inaccessible_watchpoint): Check that hardware watchpoints
9883 are used. Test for watchpoints on a constant address.
9884
9885 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9886
9887 * gdb.base/ui-redirect.exp: New file.
9888
9889 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9890 Joel Brobecker <brobecker@adacore.com>
9891
9892 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
9893
9894 2010-08-31 Doug Evans <dje@google.com>
9895
9896 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
9897
9898 2010-08-30 Tom Tromey <tromey@redhat.com>
9899
9900 PR python/11792:
9901 * gdb.python/py-value.exp (test_subscript_regression): Add
9902 dynamic_type test.
9903
9904 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
9905
9906 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
9907 instead of running to main. Do not test the main function.
9908 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
9909 Add new main.
9910
9911 2010-08-26 Pedro Alves <pedro@codesourcery.com>
9912
9913 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
9914 one test.
9915
9916 2010-08-24 Doug Evans <dje@google.com>
9917
9918 PR symtab/11942
9919 * gdb.dwarf2/dw4-sig-types.cc: New file.
9920 * gdb.dwarf2/dw4-sig-types.h: New file.
9921 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
9922 * gdb.dwarf2/dw4-sig-types.exp: New file.
9923
9924 2010-08-23 Tom Tromey <tromey@redhat.com>
9925
9926 PR python/11145:
9927 * gdb.python/py-value.c (Base, Derived): New types.
9928 (base): New global.
9929 * gdb.python/py-value.exp (test_subscript_regression): Add
9930 dynamic_cast test.
9931
9932 2010-08-23 Tom Tromey <tromey@redhat.com>
9933
9934 PR python/10676:
9935 * gdb.python/py-type.exp (test_fields): Add tests for type
9936 equality.
9937
9938 2010-08-23 Tom Tromey <tromey@redhat.com>
9939
9940 PR python/11915:
9941 * gdb.python/py-type.exp (test_fields): Add tests for array.
9942
9943 2010-08-23 Keith Seitz <keiths@redhat.com>
9944
9945 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
9946 have any children. Create a new abbrev for it.
9947 Add missing terminal sequence to .debug_abbrev.
9948
9949 2010-08-20 Keith Seitz <keiths@redhat.com>
9950
9951 PR symtab/11465:
9952 * gdb.dwarf2/pr11465.exp: New test.
9953 * gdb.dwarf2/pr11465.S: New file.
9954 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
9955 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
9956
9957 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
9958
9959 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
9960 registers. Update data sets with the new v2_double element in the
9961 VSX register union. Add vector_register3_vr data set for the AltiVec
9962 registers. Use gdb_test_no_output instead of send_gdb.
9963
9964 2010-08-19 Pedro Alves <pedro@codesourcery.com>
9965
9966 * gdb.python/py-shared.exp: New file, factored out from
9967 python.exp.
9968 * gdb.python/py-shared.c: New file.
9969 * gdb.python/py-shared-sl.c: New file.
9970 * gdb.python/python-1.c: New file.
9971 * gdb.python/python-sl.c: Delete.
9972 * gdb.python/python.c: Mention python-1.c.
9973 * gdb.python/python.exp: Move shared library tests to
9974 py-shared.exp.
9975 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
9976 (MISCELLANEOUS): New.
9977 (clean mostlyclean): Also remove $MISCELLANEOUS.
9978
9979 2010-08-19 Doug Evans <dje@google.com>
9980
9981 PR exp/11926
9982 * gdb.base/printcmds.exp (test_float_accepted): New function.
9983 Move existing float tests there. Add tests for floats with suffixes.
9984 (test_float_rejected): New function.
9985 * gdb.java/jv-print.exp (test_float_accepted): New function.
9986 (test_float_rejected): New function.
9987 * gdb.objc/print.exp: New file.
9988 * gdb.pascal/print.exp: New file.
9989 * lib/objc.exp: New file.
9990
9991 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
9992
9993 * gdb.base/default.exp (info set): Avoid full buffer error and force
9994 reading up to final gdb prompt.
9995 (show): Likewise.
9996
9997 2010-08-18 Tom Tromey <tromey@redhat.com>
9998
9999 PR symtab/11919:
10000 * gdb.base/completion.exp: Add test.
10001
10002 2010-08-18 Doug Evans <dje@google.com>
10003
10004 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
10005 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
10006 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
10007 Simplify, early exit if runto_main fails.
10008 * gdb.fortran/exprs.exp: load_lib fortran.exp.
10009 (set_lang_fortran): Moved to lib/fortran.exp.
10010 * gdb.fortran/types.exp: load_lib fortran.exp.
10011 (set_lang_fortran): Moved to lib/fortran.exp.
10012 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
10013 * gdb.java/jprint.exp (set_lang_java): Ditto.
10014 * gdb.java/jv-exp.exp: load_lib java.exp.
10015 If set_lang_java fails, issue a warning instead of failure to be
10016 consistent with other set_lang_foo uses.
10017 (set_lang_java): Moved to lib/java.exp.
10018 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
10019 If set_lang_java fails, issue a warning instead of failure to be
10020 consistent with other set_lang_foo uses.
10021 * gdb.pascal/types.exp: load_lib pascal.exp.
10022 (set_lang_pascal): Moved to lib/pascal.exp.
10023 * lib/fortran.exp: New file.
10024 * lib/java.exp (set_lang_java): New function.
10025 * lib/pascal.exp (set_lang_pascal): New function.
10026
10027 2010-08-18 Yao Qi <yao@codesourcery.com
10028
10029 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
10030 func_nofb_start and func_loopfb_start, so that address of functions
10031 is equal to these labels on Thumb.
10032
10033 2010-08-18 Yao Qi <yao@codesourcery.com>
10034
10035 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
10036 to reflect latest c source file.
10037
10038 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10039
10040 * gdb.cp/infcall-dlopen.exp: New file.
10041 * gdb.cp/infcall-dlopen.cc: New file.
10042 * gdb.cp/infcall-dlopen-lib.cc: New file.
10043
10044 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10045 Pedro Alves <pedro@codesourcery.com>
10046
10047 PR breakpoints/11371
10048
10049 * gdb.base/watch-cond-infcall.exp: New file.
10050 * gdb.base/watch-cond-infcall.c: New file.
10051
10052 2010-08-16 Tom Tromey <tromey@redhat.com>
10053
10054 * gdb.base/help.exp: Update.
10055 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
10056 watchpoint.
10057 (test_watch_location): New proc.
10058 (test_watchpoint_in_big_blob): Delete watchpoint.
10059 * gdb.base/watchpoint.c (func5): New function.
10060 (main): Call it.
10061
10062 2010-08-16 Doug Evans <dje@google.com>
10063
10064 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
10065
10066 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10067
10068 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
10069 tests.
10070
10071 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
10072
10073 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
10074 * gdb.base/gnu_vector.c: New File.
10075 * gdb.base/gnu_vector.exp: Likewise.
10076
10077 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10078
10079 * gdb.python/python.c: New File.
10080 * gdb.python/python-sl.c: New File.
10081 * gdb.python/python.exp: Test solib_address and decode_line
10082 * functions.
10083
10084 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10085
10086 * gdb.python/python.exp (show height, set height 10)
10087 (verify pagination beforehand, verify pagination beforehand: q)
10088 (gdb.execute does not page, verify pagination afterwards)
10089 (verify pagination afterwards: q): New.
10090
10091 2010-08-02 Doug Evans <dje@google.com>
10092
10093 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
10094 because of an older gcc, change test2
10095 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
10096 to unsupported.
10097
10098 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
10099
10100 * gdb.base/break-always.exp: Do not expect full paths to file
10101 names.
10102 * gdb.base/commands.exp: Likewise.
10103
10104 2010-07-30 Doug Evans <dje@google.com>
10105
10106 * gdb.cp/temargs.exp: For new tests that require newer gccs,
10107 xfail them when run with older gccs.
10108
10109 * lib/gdb.exp (build_executable): Forward "c++" option to
10110 get_compiler_info.
10111
10112 * gdb.python/py-type.exp (test_template): Mark as xfail tests
10113 "python print ttype.template_argument(1)" and
10114 "python print isinstance(ttype.template_argument(1), gdb.Value)"
10115 if using gcc 4.4 or earlier.
10116
10117 * gdb.base/valgrind-db-attach.exp: Use unique test name for
10118 attach-to-debugger handling.
10119
10120 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10121
10122 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
10123 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
10124 (main): Use copyreloc.
10125 * gdb.base/prelink.exp (split debug of executable)
10126 (.dynbss vs. .bss address shift): New tests.
10127
10128 2010-07-29 Pedro Alves <pedro@codesourcery.com>
10129
10130 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
10131 in gdb_test_multiple.
10132
10133 2010-07-29 Pedro Alves <pedro@codesourcery.com>
10134
10135 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
10136 environment.
10137
10138 2010-07-28 Tom Tromey <tromey@redhat.com>
10139
10140 PR python/11060:
10141 * gdb.python/py-type.c (Temargs): New template.
10142 (temvar): New variable.
10143 * gdb.python/py-type.exp (test_template): New proc.
10144
10145 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
10146
10147 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
10148 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
10149
10150 2010-07-28 Tom Tromey <tromey@redhat.com>
10151
10152 PR c++/9946:
10153 * gdb.cp/temargs.exp: New file.
10154 * gdb.cp/temargs.cc: New file.
10155
10156 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10157
10158 * gdb.base/help.exp (help disassemble): Update the content.
10159
10160 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10161
10162 * gdb.threads/ia64-sigill.exp: New file.
10163 * gdb.threads/ia64-sigill.c: New file.
10164
10165 2010-07-27 Tom Tromey <tromey@redhat.com>
10166
10167 * gdb.opt/inline-cmds.c (ATTR): New define.
10168 (func1): Use it.
10169 (func2): Likewise.
10170 (func3): Likewise.
10171 (outer_inline1): Likewise.
10172 (outer_inline2): Likewise.
10173 * gdb.opt/inline-bt.c (ATTR): New define.
10174 (func1): Use it.
10175 (func2): Likewise.
10176 * gdb.opt/inline-locals.c (ATTR): New define.
10177 (func1): Use it.
10178 (func2): Likewise.
10179
10180 2010-07-27 Tom Tromey <tromey@redhat.com>
10181
10182 * gdb.stabs/gdb11479.c (hack): New function.
10183 (test): Use it.
10184 (test2): Use it.
10185 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
10186 (int32_search_buf, int64_search_buf): No longer static.
10187 (x): Remove.
10188 * gdb.base/relocate.c (hack): New function.
10189
10190 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
10191
10192 * gdb.python/py-value.exp (test_inferior_function_call): New function.
10193 * gdb.python/py-value.c (func1): New function.
10194 (func2): Likewise.
10195
10196 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
10197
10198 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
10199 as not to clash with .data section.
10200
10201 2010-07-26 Jerome Guitton <guitton@adacore.com>
10202
10203 * gdb.base/code_elim.exp: New file.
10204 * gdb.base/code_elim1.c: New file.
10205 * gdb.base/code_elim2.c: New file.
10206
10207 2010-07-21 Pedro Alves <pedro@codesourcery.com>
10208
10209 PR symtab/11827
10210
10211 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
10212 (some_volatile_enum): New variable.
10213 * gdb.base/printcmds.exp (test_print_enums): New.
10214 <top level>: Call it.
10215
10216 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
10217
10218 * gdb.cp/fpointer.cc: New test.
10219 * gdb.cp/fpointer.exp: New test.
10220
10221 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10222
10223 * gdb.base/solib-nodir.exp: New file.
10224 * lib/gdb.exp (runto): New case for a GDB internal error.
10225
10226 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10227 Ulrich Weigand <uweigand@de.ibm.com>
10228 Tom Tromey <tromey@redhat.com>
10229
10230 * gdb.base/charset-malloc.c: New file.
10231 * gdb.base/charset.c (malloc_stub): New prototype.
10232 (main): Call it instead of malloc itself.
10233 * gdb.base/charset.exp: Use only prepare_for_testing.
10234 (binfile): Remove the variable.
10235
10236 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10237
10238 Make core files the process_stratum.
10239 * gdb.base/corefile.exp (run: load core again)
10240 (run: sanity check we see the core file, run: with core)
10241 (run: core file is cleared, attach: load core again)
10242 (attach: sanity check we see the core file, attach: with core)
10243 (attach: core file is cleared): New tests.
10244 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
10245
10246 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
10247
10248 * gdb.arch/altivec-abi.exp: New tests.
10249
10250 2010-07-13 Tom Tromey <tromey@redhat.com>
10251
10252 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
10253 (main): Use it.
10254 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
10255
10256 2010-07-13 Tom Tromey <tromey@redhat.com>
10257
10258 * gdb.base/label.exp: New file.
10259 * gdb.base/label.c: New file.
10260
10261 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
10262 H.J. Lu <hongjiu.lu@intel.com>
10263
10264 * lib/gdb.exp (is_ilp32_target): New.
10265 (is_lp64_target): Likewise.
10266
10267 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
10268 target.
10269 * gdb.arch/amd64-disp-step.exp: Likewise.
10270 * gdb.arch/amd64-dword.exp: Likewise.
10271 * gdb.arch/amd64-i386-address.exp: Likewise.
10272 * gdb.arch/amd64-word.exp: Likewise.
10273
10274 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
10275 target.
10276 * gdb.arch/i386-bp_permanent.exp: Likewise.
10277 * gdb.arch/i386-byte.exp: Likewise.
10278 * gdb.arch/i386-disp-step.exp: Likewise.
10279 * gdb.arch/i386-gnu-cfi.exp: Likewise.
10280 * gdb.arch/i386-prologue.exp: Likewise.
10281 * gdb.arch/i386-size-overlap.exp: Likewise.
10282 * gdb.arch/i386-size.exp: Likewise.
10283 * gdb.arch/i386-sse.exp: Likewise.
10284 * gdb.arch/i386-unwind.exp: Likewise.
10285 * gdb.arch/i386-word.exp: Likewise.
10286
10287 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
10288 test only when building 64-bit executables. Do not hard-code
10289 -m64 option.
10290
10291 2010-07-07 Doug Evans <dje@google.com>
10292
10293 * lib/gdb.exp (gdb_test_list_exact): New function.
10294 * gdb.base/default.exp (show convenience): Call it, add tests for
10295 $_sdata = void, $_thread = 0.
10296
10297 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10298 Joel Brobecker <brobecker@adacore.com>
10299
10300 Fix re-run of PIE executable, PR shlibs/11776.
10301 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
10302 Remove $displacement_main to match the solib-svr4.c change. New "kill"
10303 and re-"run" of the inferior.
10304
10305 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10306 Joel Brobecker <brobecker@adacore.com>
10307
10308 Cope with missing /usr/sbin/prelink.
10309 * lib/prelink-support.exp (prelink_no):
10310 <result == 1 && $output is "no such file or directory">: New.
10311 (prelink_yes): Likewise. Return on failed prelink_no.
10312
10313 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10314 Joel Brobecker <brobecker@adacore.com>
10315
10316 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
10317 build_executable by build_executable_own_libs. Replace "prelink -R"
10318 execution by a call of prelink_yes. Comment why "prelink -r" needs no
10319 change.
10320 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
10321 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
10322 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
10323 Replace build_executable by build_executable_own_libs's function
10324 build_executable_own_libs.
10325 (prelinkNO): Create new stub to call prelink_no.
10326 (prelinkYES): Create new stub to call prelink_yes.
10327 (test_attach): Rename calls of copy to file_copy.
10328 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
10329 (copy): Move to ...
10330 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
10331 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
10332 * gdb.base/prelink.exp: Disable testcase also for is_remote and
10333 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
10334 special flags by gdb_compile_shlib. Replace second gdb_compile by
10335 build_executable_own_libs. Replace "prelink -R" execution by a call of
10336 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
10337 a second call of prelink_yes. Replace restart commands by
10338 clean_restart.
10339 (prelink): Rename to ...
10340 (seen displacement message): ... this test. Extend its expectation
10341 strictness.
10342
10343 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10344
10345 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
10346 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
10347 displacement message exactly once.
10348
10349 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10350 Joel Brobecker <brobecker@adacore.com>
10351
10352 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
10353 its restore after the <$relink_args != ""> loop. new comment.
10354
10355 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10356 Joel Brobecker <brobecker@adacore.com>
10357
10358 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
10359 code for it. New variable relink_args.
10360 (prelinkYES): Call prelinkNO.
10361 (test_attach): Accept new parameter relink_args. Re-prelink the binary
10362 in such case. Move the core code to ...
10363 (test_attach_gdb): ... a new function. Send GDB command "file".
10364 Extend expected "Attaching to " string.
10365
10366 2010-07-02 Tom Tromey <tromey@redhat.com>
10367
10368 * gdb.base/bitops.exp: Remove extraneous "pass".
10369
10370 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
10371
10372 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
10373
10374 2010-07-01 Pedro Alves <pedro@codesourcery.com>
10375
10376 * gdb.base/help.exp: Adjust expected output.
10377
10378 2010-07-01 Pedro Alves <pedro@codesourcery.com>
10379
10380 * gdb.base/help.exp: Adjust expected output.
10381
10382 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10383
10384 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
10385 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
10386 c++/11702.
10387
10388 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10389 Doug Evans <dje@google.com>
10390
10391 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
10392 add .dynamic entry'.
10393
10394 2010-06-29 Doug Evans <dje@google.com>
10395
10396 Test PR c++/11702.
10397 * gdb.cp/m-static.exp: Add testcase.
10398 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
10399
10400 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
10401 Tom Tromey <tromey@redhat.com>
10402 Thiago Jung Bauermann <bauerman@br.ibm.com>
10403
10404 * gdb.python/py-inferior.c: New File.
10405 * gdb.python/py-infthread.c: New File.
10406 * gdb.python/py-inferior.exp: New File.
10407 * gdb.python/py-infthread.exp: New File.
10408
10409 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10410
10411 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
10412 (ptype ::C::OtherFileClass typedefs): New.
10413 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
10414 (C::OtherFileClass::cOtherFileClassVar2): New.
10415 (C::OtherFileClass::cOtherFileClassVar_use): Use also
10416 cOtherFileClassVar2.
10417 (C::cOtherFileType2, C::cOtherFileVar2): New.
10418 (C::cOtherFileVar_use): use also cOtherFileVar2.
10419 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
10420
10421 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10422
10423 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
10424 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
10425 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
10426 (print ::C::cOtherFileVar)
10427 (whatis C::OtherFileClass::cOtherFileClassType)
10428 (whatis ::C::OtherFileClass::cOtherFileClassType)
10429 (print C::OtherFileClass::cOtherFileClassVar)
10430 (print ::cOtherFileClassVar)
10431 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
10432 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
10433 trailing content.
10434 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
10435 (C::OtherFileClass::cOtherFileClassVar)
10436 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
10437 (C::cOtherFileVar, C::cOtherFileVar_use): New.
10438
10439 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10440
10441 Test PR c++/11703 and PR gdb/1448.
10442 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
10443 gdb/1448.
10444
10445 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10446
10447 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
10448 (main) <rtti_data>: New.
10449 * gdb.cp/virtbase.exp (print rtti_data): New.
10450
10451 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10452 Joel Brobecker <brobecker@adacore.com>
10453
10454 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
10455
10456 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10457
10458 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
10459
10460 2010-06-28 Doug Evans <dje@google.com>
10461
10462 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
10463
10464 2010-06-27 Doug Evans <dje@google.com>
10465
10466 * gdb.cp/m-static.exp: Update expected test output.
10467
10468 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
10469
10470 * gdb.gdb/selftest.exp: Adjust expected message for
10471 capturing start-up runtime.
10472
10473 2010-06-25 Tom Tromey <tromey@redhat.com>
10474
10475 PR python/10808:
10476 * gdb.python/python.exp: Add new tests.
10477
10478 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
10479
10480 * gdb.cp/operator.cc: Created an import loop.
10481 * gdb.cp/operator.exp: Added testcase for import loop.
10482
10483 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10484
10485 Test PR python/11407.
10486 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
10487 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
10488 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
10489 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
10490 executable_nofb and executable_fb. New variables srcsfile, objsfile,
10491 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
10492 binfile. Call gdb_compile with clean_restart twice.
10493 (func_nofb print, func_nofb backtrace, func_loopfb print)
10494 (func_loopfb backtrace): New.
10495
10496 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10497
10498 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
10499 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
10500 by a hand made one.
10501 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
10502 i?86 requirement. Remove variables srcfile and binfile. New variable
10503 sources, executable_nofb and executable_fb. Call prepare_for_testing.
10504
10505 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10506
10507 * gdb.cell/dwarfaddr.exp: New file.
10508 * gdb.cell/dwarfaddr.S: New file.
10509
10510 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10511
10512 Test PR 9436.
10513 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
10514
10515 2010-06-24 Hui Zhu <teawater@gmail.com>
10516
10517 * gdb.base/eval.exp: New file.
10518
10519 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10520
10521 * gdb.cell/fork.exp: New file.
10522 * gdb.cell/fork.c: Likewise.
10523 * gdb.cell/fork-spu.c: Likewise.
10524
10525 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
10526
10527 * lib/gdb.exp (banned_variables_traced): New global variable.
10528 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
10529 (gdb_init): Use `trace add variable' instead of obsolete
10530 `trace variable'.
10531
10532 2010-06-21 Doug Evans <dje@google.com>
10533
10534 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
10535
10536 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10537
10538 * gdb.arch/spu-ls.exp: New file.
10539 * gdb.arch/spu-ls.c: Likewise.
10540
10541 2010-06-18 Stan Shebs <stan@codesourcery.com>
10542
10543 * gdb.threads/thread-specific.exp: Add tests of $_thread.
10544
10545 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10546
10547 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
10548 * gdb.base/watch-cond.exp: Likewise.
10549 * gdb.python/py-breakpoint.exp: Likewise.
10550
10551 2010-06-18 Pedro Alves <pedro@codesourcery.com>
10552
10553 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
10554 clean_restart, make sure every test has a distinct message, and
10555 that messages don't include the executable' full path.
10556
10557 2010-06-17 Doug Evans <dje@google.com>
10558
10559 * gdb.arch/i386-size.exp: Updated expected output for
10560 DISASSEMBLY_OMIT_FNAME.
10561
10562 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10563 Sergio Durigan Junior <sergiodj@redhat.com>
10564
10565 * gdb.base/watch-notconst.c: New file.
10566 * gdb.base/watch-notconst.S: New file.
10567 * gdb.base/watch-notconst2.c: New file.
10568 * gdb.base/watch-notconst2.S: New file.
10569 * gdb.base/watch-notconst.exp: New file.
10570 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
10571 (func4): Add operations on `global_ptr_ptr'.
10572 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
10573 routine to test watchpoints created with a constant expression.
10574 (test_inaccessible_watchpoint): Include tests for watchpoints
10575 created with a constant expression.
10576
10577 2010-06-14 Kevin Buettner <kevinb@redhat.com>
10578
10579 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
10580 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
10581 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
10582 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
10583 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
10584 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
10585 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
10586 of `_start'.
10587
10588 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10589
10590 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
10591 not supported on the target.
10592 * gdb.mi/mi-nonstop-exit.exp: Likewise.
10593 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10594 * gdb.mi/mi-nsintrall.exp: Likewise.
10595 * gdb.mi/mi-nsmoribund.exp: Likewise.
10596 * gdb.mi/mi-nsthrexec.exp: Likewise.
10597
10598 2010-06-11 Stan Shebs <stan@codesourcery.com>
10599
10600 * gdb.base/permissions.exp: New file.
10601
10602 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10603
10604 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
10605 does not support ELF executable class.
10606
10607 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10608
10609 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
10610
10611 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10612
10613 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
10614 (runto): Catch "The target does not support running in non-stop mode.".
10615
10616 2010-06-11 Michael Snyder <msnyder@vmware.com>
10617
10618 * gdb.base/setshow.exp (set language asm): Don't use
10619 gdb_test_no_output, fails on some targets.
10620
10621 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10622
10623 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
10624 * gdb.cp/pr9167.exp: Likewise.
10625
10626 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10627
10628 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
10629
10630 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10631
10632 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
10633
10634 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10635
10636 * gdb.base/charset.c (main): Make sure malloc gets linked in.
10637
10638 2010-06-11 Tom Tromey <tromey@redhat.com>
10639
10640 PR gdb/9977, PR exp/11636::
10641 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
10642 (pieces_test_f6): Update expected output.
10643
10644 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10645
10646 * gdb.base/moribund-step.exp: New.
10647
10648 2010-06-08 Michael Snyder <msnyder@vmware.com>
10649
10650 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
10651 * gdb.ada/boolean_expr.exp:
10652 * gdb.ada/frame_args.exp: Ditto.
10653 * gdb.ada/lang_switch.exp: Ditto.
10654 * gdb.ada/ptype_arith_binop.exp: Ditto.
10655 * gdb.ada/ref_param.exp: Ditto.
10656 * gdb.ada/type_coercion.exp:Ditto.
10657
10658 * gdb.asm/asm-source.exp: Ditto.
10659
10660 * gdb.base/attach.exp: Ditto.
10661 * gdb.base/bitfields2.exp: Ditto.
10662 * gdb.base/call-signal-resume.exp: Ditto.
10663 * gdb.base/callfuncs.exp: Ditto.
10664 * gdb.base/commands.exp: Ditto.
10665 * gdb.base/dbx.exp: Ditto.
10666 * gdb.base/default.exp: Ditto.
10667 * gdb.base/dump.exp: Ditto.
10668 * gdb.base/exprs.exp: Ditto.
10669 * gdb.base/freebpcmd.exp: Ditto.
10670 * gdb.base/interrupt.exp: Ditto.
10671 * gdb.base/list.exp: Ditto.
10672 * gdb.base/long_long.exp: Ditto.
10673 * gdb.base/maint.exp: Ditto.
10674 * gdb.base/ptype.exp: Ditto.
10675 * gdb.base/return.exp: Ditto.
10676 * gdb.base/setshow.exp: Ditto.
10677 * gdb.base/sigbpt.exp: Ditto.
10678 * gdb.base/sigrepeat.exp: Ditto.
10679
10680 * gdb.cp/classes.exp: Ditto.
10681
10682 * gdb.dwarf2/dw2-restore.exp: Ditto.
10683
10684 * gdb.gdb/selftest.exp: Ditto.
10685
10686 * gdb.multi/base.exp: Ditto.
10687 * gdb.multi/bkpt-multi-exec.exp: Ditto.
10688
10689 * gdb.python/py-block.exp: Ditto.
10690 * gdb.python/py-prettyprint.exp: Ditto.
10691 * gdb.python/py-template.exp: Ditto.
10692
10693 * gdb.server/ext-attach.exp: Ditto.
10694 * gdb.server/ext-run.exp: Ditto.
10695 * gdb.server/server-mon.exp: Ditto.
10696
10697 * gdb.threads/fork-thread-pending.exp: Ditto.
10698 * gdb.threads/hand-call-in-threads.exp: Ditto.
10699 * gdb.threads/interrupted-hand-call.exp: Ditto.
10700 * gdb.threads/linux-dp.exp: Ditto.
10701 * gdb.threads/manythreads.exp: Ditto.
10702 * gdb.threads/print-threads.exp: Ditto.
10703 * gdb.threads/pthreads.exp: Ditto.
10704 * gdb.threads/schedlock.exp: Ditto.
10705 * gdb.threads/thread-unwindonsignal.exp: Ditto.
10706 * gdb.threads/threadapply.exp: Ditto.
10707
10708 2010-06-08 Michael Snyder <msnyder@vmware.com>
10709
10710 * gdb.ada/exec_changed.exp:
10711 Use ".*" instead of "" as wildcard regexp.
10712
10713 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
10714 * gdb.base/call-ar-st.exp: Ditto.
10715 * gdb.base/checkpoint.exp: Ditto.
10716 * gdb.base/default.exp: Ditto.
10717 * gdb.base/dump.exp: Ditto.
10718 * gdb.base/ending-run.exp: Ditto.
10719 * gdb.base/fileio.exp: Ditto.
10720 * gdb.base/miscexprs.exp: Ditto.
10721 * gdb.base/pointers.exp: Ditto.
10722 * gdb.base/readline.exp: Ditto.
10723 * gdb.base/reread.exp: Ditto.
10724 * gdb.base/restore.exp: Ditto.
10725 * gdb.base/shlib-call.exp: Ditto.
10726 * gdb.base/valgrind-db-attach.exp: Ditto.
10727 * gdb.base/volatile.exp: Ditto.
10728 * gdb.base/watchpoints.exp: Ditto.
10729
10730 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
10731
10732 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
10733 * gdb.python/py-value.exp: Ditto.
10734
10735 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
10736 * gdb.trace/circ.exp: Ditto.
10737 * gdb.trace/collection.exp: Ditto.
10738 * gdb.trace/packetlen.exp: Ditto.
10739 * gdb.trace/passc-dyn.exp: Ditto.
10740 * gdb.trace/report.exp: Ditto.
10741 * gdb.trace/tfile.exp: Ditto.
10742 * gdb.trace/tfind.exp: Ditto.
10743 * gdb.trace/while-dyn.exp: Ditto.
10744
10745 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10746
10747 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
10748
10749 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10750
10751 Test PR 10640.
10752 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
10753
10754 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
10755
10756 * gdb.cp/koenig.exp: Test for ADL operators.
10757 * gdb.cp/koenig.cc: Added ADL operators.
10758 * gdb.cp/operator.exp: New test.
10759 * gdb.cp/operator.cc: New test.
10760
10761 2010-06-04 Michael Snyder <msnyder@vmware.com>
10762
10763 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
10764 * gdb.base/pending.exp: Ditto.
10765
10766 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
10767
10768 2010-06-04 Doug Evans <dje@google.com>
10769
10770 * gdb.python/py-prettyprint.exp: Add new test for enabled and
10771 disabled printers.
10772 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
10773 (enable_lookup_function): New function.
10774
10775 2010-06-04 Tom Tromey <tromey@redhat.com>
10776
10777 * gdb.python/py-value.exp (test_value_hash): Don't test equality
10778 of hash and id.
10779
10780 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10781
10782 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
10783 newline.
10784 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
10785 (empty verbose non-noisy clear, empty verbose noisy clear)
10786 (empty non-verbose noisy clear): Likewise.
10787
10788 2010-06-03 Michael Snyder <msnyder@vmware.com>
10789
10790 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
10791 * gdb.base/display.exp: Ditto.
10792 * gdb.base/find.exp: Ditto.
10793 * gdb.base/ifelse.exp: Ditto.
10794 * gdb.base/multi-forks.exp: Ditto.
10795 * gdb.base/recurse.exp: Ditto.
10796 * gdb.base/setshow.exp: Ditto.
10797 * gdb.base/value-double-free.exp: Ditto.
10798 * gdb.base/watch-vfork.exp: Ditto.
10799 * gdb.base/watch_thread_num.exp: Ditto.
10800 * gdb.base/watchpoint-solib.exp: Ditto.
10801 * gdb.base/watchpoint.exp: Ditto.
10802 * gdb.base/watchpoints.exp: Ditto.
10803
10804 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
10805 * gdb.cp/overload.exp: Ditto.
10806 * gdb.cp/virtfunc.exp: Ditto.
10807
10808 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
10809
10810 * gdb.reverse/watch-precsave.exp:
10811 Replace gdb_test with gdb_test_no_output.
10812
10813 * gdb.threads/attach-into-signal.exp:
10814 Replace gdb_test with gdb_test_no_output.
10815 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
10816 * gdb.threads/watchthreads.exp: Ditto.
10817 * gdb.threads/watchthreads2.exp: Ditto.
10818
10819 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
10820 * gdb.trace/tfind.exp: Ditto.
10821
10822 2010-06-03 Joel Brobecker <brobecker@adacore.com>
10823
10824 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
10825 successful test if message is the empty string.
10826
10827 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10828
10829 * gdb.fortran/module.exp (stopped language detection): New test.
10830
10831 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10832
10833 Support DW_TAG_module as separate namespaces.
10834 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
10835 gdb.fortran/library-module-lib.f90: New.
10836 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
10837 (print i): Remove.
10838 (continue to breakpoint: i-is-1, print var_i value 1)
10839 (continue to breakpoint: i-is-2, print var_i value 2)
10840 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
10841 (print var_d, print var_i value 14, ptype modmany, complete `modm)
10842 (complete `modmany, complete `modmany`, complete `modmany`var)
10843 (show language, setting breakpoint at module): New tests.
10844 * gdb.fortran/module.f90 (module mod): Remove.
10845 (module mod1, module mod2, module modmany, subroutine sub1)
10846 (subroutine sub2, program module): New.
10847
10848 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10849
10850 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
10851 (print value of rUC, print value of rI, print value of UI): ... here.
10852 * gdb.cp/anon-union.exp (pass): Rename to ...
10853 (print z 2): ... here.
10854
10855 2010-06-02 Michael Snyder <msnyder@vmware.com>
10856
10857 * gdb.trace/actions.exp: Use gdb_test_no_output.
10858 * gdb.trace/circ.exp: Ditto.
10859 * gdb.trace/packetlen.exp: Ditto.
10860 * gdb.trace/save-trace.exp: Ditto.
10861 * gdb.trace/tracecmd.exp: Ditto.
10862 * gdb.trace/tsv.exp: Ditto.
10863
10864 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
10865 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
10866 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
10867 * gdb.threads/manythreads.exp: Ditto.
10868 * gdb.threads/print-threads.exp: Ditto.
10869 * gdb.threads/pthreads.exp: Ditto.
10870 * gdb.threads/schedlock.exp: Ditto.
10871 * gdb.threads/staticthreads.exp: Ditto.
10872 * gdb.threads/thread-specific.exp: Ditto.
10873 * gdb.threads/thread-unwindonsignal.exp: Ditto.
10874 * gdb.threads/threadapply.exp: Ditto.
10875 * gdb.threads/watchthreads.exp: Ditto.
10876 * gdb.threads/watchthreads2.exp: Ditto.
10877
10878 * gdb.python/py-block.exp: Use gdb_test_no_output.
10879 * gdb.python/py-prettyprint.exp: Ditto.
10880 * gdb.python/py-template.exp: Ditto.
10881 * gdb.python/py-value.exp: Ditto.
10882
10883 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
10884 * gdb.reverse/watch-reverse.exp: Ditto.
10885
10886 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
10887 * gdb.server/ext-run.exp: Ditto.
10888
10889 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
10890 * gdb.dwarf2/dw2-compressed.exp: Ditto.
10891 * gdb.dwarf2/dw2-intercu.exp: Ditto.
10892 * gdb.dwarf2/dw2-intermix.exp: Ditto.
10893 * gdb.dwarf2/dw2-producer.exp: Ditto.
10894 * gdb.dwarf2/mac-fileno.exp: Ditto.
10895
10896 * gdb.gdb/observer.exp: Use gdb_test_no_output.
10897 * gdb.gdb/selftest.exp: Ditto.
10898
10899 * gdb.multi/base.exp: Use gdb_test_no_output.
10900
10901 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
10902
10903 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10904
10905 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
10906
10907 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
10908
10909 * gdb.cp/class2.exp: Use gdb_test_no_output.
10910 * gdb.cp/classes.exp: Ditto.
10911 * gdb.cp/extern-c.exp: Ditto.
10912 * gdb.cp/inherit.exp: Ditto.
10913 * gdb.cp/maint.exp: Ditto.
10914 * gdb.cp/mb-inline.exp: Ditto.
10915 * gdb.cp/mb-templates.exp: Ditto.
10916 * gdb.cp/method2.exp: Ditto.
10917 * gdb.cp/misc.exp: Ditto.
10918 * gdb.cp/ovldbreak.exp: Ditto.
10919 * gdb.cp/punctuator.exp: Ditto.
10920 * gdb.cp/templates.exp: Ditto.
10921 * gdb.cp/virtbase.exp: Ditto.
10922
10923 * gdb.threads/attach-stopped.exp:
10924 Replace uses of send_gdb / gdb_expect.
10925 * gdb.threads/attachstop-mt.exp:
10926 Replace uses of send_gdb / gdb_expect.
10927 * gdb.threads/gcore-thread.exp:
10928 Replace uses of send_gdb / gdb_expect.
10929 * gdb.threads/hand-call-in-threads.exp:
10930 Replace uses of send_gdb / gdb_expect.
10931 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
10932 * gdb.threads/print-threads.exp:
10933 Replace uses of send_gdb / gdb_expect.
10934 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
10935 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
10936 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
10937
10938 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
10939 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
10940 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
10941 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
10942 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
10943 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
10944 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
10945 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
10946 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
10947 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
10948 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
10949
10950 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10951
10952 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
10953
10954 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
10955
10956 * gdb.cp/koenig.exp: Added new test case.
10957 * gdb.cp/koenig.cc: Ditto.
10958
10959 2010-06-01 Michael Snyder <msnyder@vmware.com>
10960
10961 * gdb.base/arithmet.exp: Use gdb_test_no_output.
10962 * gdb.base/arrayidx.exp: Ditto.
10963 * gdb.base/attach.exp: Ditto.
10964 * gdb.base/auxv.exp: Ditto.
10965 * gdb.base/bigcre.exp: Ditto.
10966 * gdb.base/break-always.exp: Ditto.
10967 * gdb.base/break-interp.exp: Ditto.
10968 * gdb.base/break.exp: Ditto.
10969 * gdb.base/breakpoint-shadow.exp: Ditto.
10970 * gdb.base/call-ar-st.exp: Ditto.
10971 * gdb.base/call-sc.exp: Ditto.
10972 * gdb.base/call-signal-resume.exp: Ditto.
10973 * gdb.base/callfuncs.exp: Ditto.
10974 * gdb.base/catch-syscall.exp: Ditto.
10975 * gdb.base/charset.exp: Ditto.
10976 * gdb.base/code-expr.exp: Ditto.
10977 * gdb.base/commands.exp: Ditto.
10978 * gdb.base/cond-expr.exp: Ditto.
10979 * gdb.base/condbreak.exp: Ditto.
10980 * gdb.base/cursal.exp: Ditto.
10981 * gdb.base/cvexpr.exp: Ditto.
10982 * gdb.base/default.exp: Ditto.
10983 * gdb.base/del.exp: Ditto.
10984 * gdb.base/detach.exp: Ditto.
10985 * gdb.base/display.exp: Ditto.
10986 * gdb.base/ena-dis-br.exp: Ditto.
10987 * gdb.base/eval-skip.exp: Ditto.
10988 * gdb.base/foll-fork.exp: Ditto.
10989 * gdb.base/foll-vfork.exp: Ditto.
10990 * gdb.base/frame-args.exp: Ditto.
10991 * gdb.base/funcargs.exp: Ditto.
10992 * gdb.base/gcore-buffer-overflow.exp: Ditto.
10993 * gdb.base/gdbvars.exp: Ditto.
10994 * gdb.base/help.exp: Ditto.
10995 * gdb.base/ifelse.exp: Ditto.
10996 * gdb.base/included.exp: Ditto.
10997 * gdb.base/list.exp: Ditto.
10998 * gdb.base/macscp.exp: Ditto.
10999 * gdb.base/maint.exp: Ditto.
11000 * gdb.base/multi-fork.exp: Ditto.
11001 * gdb.base/overlays.exp: Ditto.
11002 * gdb.base/page.exp: Ditto.
11003 * gdb.base/pending.exp: Ditto.
11004 * gdb.base/pointers.exp: Ditto.
11005 * gdb.base/pr11022.exp: Ditto.
11006 * gdb.base/prelink.exp: Ditto.
11007 * gdb.base/printcmds.exp: Ditto.
11008 * gdb.base/psymtab.exp: Ditto.
11009 * gdb.base/randomize.exp: Ditto.
11010 * gdb.base/relational.exp: Ditto.
11011 * gdb.base/relocate.exp: Ditto.
11012 * gdb.base/remote.exp: Ditto.
11013 * gdb.base/sepdebug.exp: Ditto.
11014 * gdb.base/set-lang-auto.exp: Ditto.
11015 * gdb.base/setshow.exp: Ditto.
11016 * gdb.base/setvar.exp: Ditto.
11017 * gdb.base/signals.exp: Ditto.
11018 * gdb.base/signull.exp: Ditto.
11019 * gdb.base/sigstep.exp: Ditto.
11020 * gdb.base/sizeof.exp: Ditto.
11021 * gdb.base/solib-disc.exp: Ditto.
11022 * gdb.base/store.exp: Ditto.
11023 * gdb.base/structs.exp: Ditto.
11024 * gdb.base/structs2.exp: Ditto.
11025 * gdb.base/subst.exp: Ditto.
11026 * gdb.base/term.exp: Ditto.
11027 * gdb.base/trace-commands.exp: Ditto.
11028 * gdb.base/unwindonsignal.exp: Ditto.
11029 * gdb.base/valgrind-db-attach.exp: Ditto.
11030 * gdb.base/varargs.exp: Ditto.
11031 * gdb.base/watch-cond.exp: Ditto.
11032 * gdb.base/watch_thread_num.exp: Ditto.
11033 * gdb.base/watchpoint-cond-gone.exp: Ditto.
11034 * gdb.base/watchpoint.exp: Ditto.
11035 * gdb.base/whatis-exp.exp: Ditto.
11036
11037 2010-06-01 Michael Snyder <msnyder@vmware.com>
11038
11039 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
11040 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
11041 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
11042 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
11043 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
11044 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
11045 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
11046 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
11047 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
11048 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
11049 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
11050 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
11051 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
11052 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
11053 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
11054
11055 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11056
11057 * gdb.base/commands.exp (begin commands on watch): Remove excessive
11058 trailing newline.
11059 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
11060 * gdb.java/jmisc.exp (p *args\n): Rename to ...
11061 (p *args): ... here and remove excessive trailing newline.
11062
11063 2010-05-31 Joel Brobecker <brobecker@adacore.com>
11064
11065 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
11066
11067 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11068
11069 Accept the new Linux kernel "t (tracing stop)" string.
11070 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
11071 Update comment.
11072 (state_wait) <T (tracing stop)>: New.
11073 (main): Update the state_wait expect string.
11074
11075 2010-05-28 Pedro Alves <pedro@codesourcery.com>
11076
11077 * limits.c, limits.exp: Delete files.
11078 * Makefile.in (clean mostlyclean): Adjust.
11079 * tracecmd.exp: Adjust.
11080
11081 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11082
11083 * gdb.base/tui-layout.exp: New.
11084
11085 2010-05-28 Michael Snyder <msnyder@vmware.com>
11086
11087 * gdb.reverse/break-precsave.exp:
11088 Replace uses of send_gdb / gdb_expect.
11089 * gdb.reverse/break-reverse.exp:
11090 Replace uses of send_gdb / gdb_expect.
11091 * gdb.reverse/consecutive-precsave.exp:
11092 Replace uses of send_gdb / gdb_expect.
11093 * gdb.reverse/consecutive-reverse.exp:
11094 Replace uses of send_gdb / gdb_expect.
11095 * gdb.reverse/finish-precsave.exp:
11096 Replace uses of send_gdb / gdb_expect.
11097 * gdb.reverse/finish-reverse.exp:
11098 Replace uses of send_gdb / gdb_expect.
11099 * gdb.reverse/i386-precsave.exp:
11100 Replace uses of send_gdb / gdb_expect.
11101 * gdb.reverse/i386-reverse.exp:
11102 Replace uses of send_gdb / gdb_expect.
11103 * gdb.reverse/i386-sse-reverse.exp:
11104 Replace uses of send_gdb / gdb_expect.
11105 * gdb.reverse/i387-env-reverse.exp:
11106 Replace uses of send_gdb / gdb_expect.
11107 * gdb.reverse/i387-stack-reverse.exp:
11108 Replace uses of send_gdb / gdb_expect.
11109 * gdb.reverse/machinestate-precsave.exp:
11110 Replace uses of send_gdb / gdb_expect.
11111 * gdb.reverse/machinestate.exp:
11112 Replace uses of send_gdb / gdb_expect.
11113 * gdb.reverse/sigall-precsave.exp:
11114 Replace uses of send_gdb / gdb_expect.
11115 * gdb.reverse/sigall-reverse.exp:
11116 Replace uses of send_gdb / gdb_expect.
11117 * gdb.reverse/solib-precsave.exp:
11118 Replace uses of send_gdb / gdb_expect.
11119 * gdb.reverse/solib-reverse.exp:
11120 Replace uses of send_gdb / gdb_expect.
11121 * gdb.reverse/step-precsave.exp:
11122 Replace uses of send_gdb / gdb_expect.
11123 * gdb.reverse/step-reverse.exp:
11124 Replace uses of send_gdb / gdb_expect.
11125 * gdb.reverse/until-precsave.exp:
11126 Replace uses of send_gdb / gdb_expect.
11127 * gdb.reverse/until-reverse.exp:
11128 Replace uses of send_gdb / gdb_expect.
11129 * gdb.reverse/watch-precsave.exp:
11130 Replace uses of send_gdb / gdb_expect.
11131 * gdb.reverse/watch-reverse.exp:
11132 Replace uses of send_gdb / gdb_expect.
11133
11134 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11135
11136 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
11137 excessive newline.
11138
11139 2010-05-27 Michael Snyder <msnyder@vmware.com>
11140
11141 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
11142 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
11143 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
11144 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
11145 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
11146 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
11147 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
11148 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
11149 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
11150 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
11151 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
11152 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
11153 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
11154 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
11155 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
11156 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
11157 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
11158 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
11159 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
11160
11161 2010-05-26 Michael Snyder <msnyder@vmware.com>
11162
11163 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
11164 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
11165
11166 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
11167 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
11168 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
11169
11170 * gdb.reverse/consecutive-reverse.exp:
11171 Replace uses of send_gdb / gdb_expect.
11172 * gdb.reverse/consecutive-precsave.exp:
11173 Replace uses of send_gdb / gdb_expect.
11174
11175 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
11176 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
11177 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
11178 * gdb.mi/mi-ns-stale-regcache.exp:
11179 Replace uses of send_gdb / gdb_expect.
11180 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
11181 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
11182 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
11183 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
11184 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
11185 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
11186 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
11187 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
11188 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
11189
11190 2010-05-26 Michael Snyder <msnyder@vmware.com>
11191
11192 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
11193
11194 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
11195
11196 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
11197 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
11198 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
11199 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
11200 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
11201 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
11202 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
11203 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
11204 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
11205
11206 2010-05-25 Tom Tromey <tromey@redhat.com>
11207
11208 * gdb.base/macscp.exp: Add missing space after setup_kfail.
11209
11210 2010-05-25 Tom Tromey <tromey@redhat.com>
11211
11212 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
11213 argument order.
11214 * gdb.base/macscp.exp: Fix setup_kfail argument order.
11215 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
11216 order.
11217 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
11218 order.
11219 * gdb.base/call-sc.exp (setup_kfails): Remove.
11220 (setup_compiler_kfails): Remove.
11221 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
11222 argument order.
11223 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
11224 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
11225 (advancei): Fix setup_kfail argument order.
11226 * gdb.base/radix.exp: Fix setup_kfail argument order.
11227 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
11228 order.
11229 * gdb.base/structs.exp (setup_kfails): Remove.
11230 (setup_compiler_kfails): Fix setup_kfail argument order.
11231 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
11232 order.
11233 * gdb.java/jmain.exp: Fix setup_kfail argument order.
11234 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
11235 setup_kfail argument order.
11236 * gdb.cp/overload.exp: Fix setup_kfail argument order.
11237
11238 2010-05-25 Tom Tromey <tromey@redhat.com>
11239
11240 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
11241
11242 2010-05-25 Michael Snyder <msnyder@vmware.com>
11243
11244 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
11245 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
11246 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
11247 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
11248 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
11249 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
11250 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
11251 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
11252 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
11253 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
11254 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
11255 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
11256 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
11257 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
11258 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
11259 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
11260 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
11261 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
11262 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
11263 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
11264 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
11265 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
11266 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
11267 * gdb.base/default.exp: Replace send_gdb with gdb_test.
11268 * gdb.base/define.exp: Replace send_gdb with gdb_test.
11269 * gdb.base/display.exp: Replace send_gdb with gdb_test.
11270 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
11271 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
11272 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
11273 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
11274 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
11275 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
11276 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
11277 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
11278 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
11279 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
11280 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
11281 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
11282 * gdb.base/help.exp: Replace send_gdb with gdb_test.
11283 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
11284 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
11285 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
11286 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
11287 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
11288 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
11289 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
11290 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
11291 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
11292
11293 2010-05-25 Doug Evans <dje@google.com>
11294
11295 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
11296 gdb.string_to_argv.
11297
11298 2010-05-21 Tom Tromey <tromey@redhat.com>
11299
11300 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
11301 Call it.
11302 * gdb.dwarf2/pieces.S: Update.
11303 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
11304
11305 2010-05-21 Tom Tromey <tromey@redhat.com>
11306
11307 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
11308 Call it.
11309 * gdb.dwarf2/pieces.c (struct C): New.
11310 (f6): New function.
11311 * gdb.dwarf2/pieces.S: Replace.
11312
11313 2010-05-21 Tom Tromey <tromey@redhat.com>
11314
11315 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
11316 Call it.
11317
11318 2010-05-21 Tom Tromey <tromey@redhat.com>
11319
11320 * gdb.dwarf2.pieces.exp: New file.
11321 * gdb.dwarf2.pieces.S: New file.
11322 * gdb.dwarf2.pieces.c: New file.
11323
11324 2010-05-20 Pedro Alves <pedro@codesourcery.com>
11325 Joel Brobecker <brobecker@adacore.com>
11326
11327 * lib/gdb.exp (gdb_test_no_output): New function.
11328 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
11329 when testing commands that should produce no output.
11330
11331 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11332
11333 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
11334 parameter that we want to watch being a constant.
11335
11336 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11337
11338 * gdb.ada/cond_lang: New testcase.
11339
11340 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11341
11342 * lib/gdb.exp (banned_variables): New variable/constant.
11343 (gdb_init): Add write trace on variables listed in banned_variables.
11344 (gdb_finish): Remove write traces on variables listed in
11345 banned_variables.
11346
11347 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11348
11349 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
11350 * gdb.cp/koenig.exp: Likewise.
11351
11352 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
11353
11354 PR python/11482
11355
11356 * gdb.python/py-value.exp (test_value_hash): New function.
11357
11358 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
11359
11360 PR exp/11530.
11361 * gdb.base/gdb11530.c: New file.
11362 * gdb.base/gdb11530.exp: New file.
11363
11364 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11365
11366 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
11367 * gdb.dwarf2/dw2-modula2-self-type.S: New.
11368
11369 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
11370
11371 * gdb.cp/koenig.exp: New test.
11372 * gdb.cp/koenig.cc: New test program.
11373
11374 2010-05-05 Joel Brobecker <brobecker@adacore.com>
11375
11376 Remove the use of prms_id and bug_id throughout the testsuite.
11377
11378 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
11379
11380 PR exp/11349.
11381 * testsuite/gdb.cp/ref-types.exp: Add test to examine
11382 use a reference local variable.
11383
11384 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11385
11386 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
11387 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
11388 variable different_dir. Move debugfile into a full directory pathname
11389 under DIFFERENT_DIR.
11390 * lib/gdb.exp (separate_debug_filename): Remove.
11391 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
11392 variable debug_dir and mkdir of it. Update function comments.
11393
11394 2010-04-29 Pedro Alves <pedro@codesourcery.com>
11395
11396 PR gdb/11557
11397
11398 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
11399 files.
11400
11401 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
11402
11403 * gdb.python/py-param.exp: New File.
11404
11405 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
11406
11407 * gdb.base/default.exp: Fix "set language" test.
11408
11409 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
11410
11411 PR breakpoints/11531.
11412 * gdb.base/gdb11531.c: New file.
11413 * gdb.base/gdb11531.exp: New file.
11414
11415 2010-04-26 Tom Tromey <tromey@redhat.com>
11416
11417 * gdb.base/completion.exp: Add tests for completion and deprecated
11418 commands.
11419
11420 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11421
11422 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
11423 (print /x char_array): Escape curly brackets.
11424
11425 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11426
11427 Fix deadlock on looped list of loaded shared objects.
11428 * gdb.base/solib-corrupted.exp: New.
11429
11430 2010-04-23 Doug Evans <dje@google.com>
11431
11432 * gdb.python/py-section-script.c: New file.
11433 * gdb.python/py-section-script.exp: New file.
11434 * gdb.python/py-section-script.py: New file.
11435
11436 2010-04-20 Chris Moller <cmoller@redhat.com>
11437
11438 PR 10179
11439
11440 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
11441 * gdb.base/pr10179-a.c:
11442 * gdb.base/pr10179-b.c:
11443 * gdb.base/pr10179.exp: New files.
11444
11445 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11446
11447 Fix crashes on dangling display expressions.
11448 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
11449 is SEP.
11450 (lib_flags): Remove the "debug" keyword.
11451 (libsepdebug): New variable for iterating new loop.
11452 (save_pf_prefix): New variable wrapping the loop.
11453 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
11454 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
11455
11456 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11457
11458 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
11459
11460 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11461
11462 PR stabs/11479.
11463 * gdb.stabs/gdb11479.exp: New file.
11464 * gdb.stabs/gdb11479.c: New file.
11465
11466 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11467
11468 * gdb.base/charset.c (Strin16, String32): New variables.
11469 * gdb.base/charset.exp (gdb_test): Test correct display
11470 of 16 or 32 bit strings.
11471
11472 2010-04-21 Chris Moller <cmoller@redhat.com>
11473
11474 PR 9167
11475 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
11476 * gdb.cp/pr9167.cc: New file.
11477 * gdb.cp/pr9167.exp: New file.
11478
11479
11480 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
11481
11482 PR pascal/11492.
11483 * gdb.pascal/gdb11492.pas: New file.
11484 * gdb.pascal/gdb11492.exp: New file.
11485
11486 2010-04-20 Joel Brobecker <brobecker@adacore.com>
11487
11488 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
11489
11490 2010-04-20 Joel Brobecker <brobecker@adacore.com>
11491
11492 * gdb.ada/dyn_loc: New testcase.
11493
11494 2010-04-20 Chris Moller <cmoller@redhat.com>
11495
11496 PR 10867
11497
11498 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
11499 * gdb.cp/pr10687.cc: New file.
11500 * gdb.cp/pr10687.exp: New file.
11501
11502
11503 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11504 Sergio Durigan Junior <sergiodj@redhat.com>
11505
11506 * gdb.fortran/logical.exp: New testcase.
11507 * gdb.fortran/logical.f90: New file.
11508
11509 2010-04-19 Doug Evans <dje@google.com>
11510
11511 * gdb.base/help.exp (help source): Update expected output.
11512
11513 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11514
11515 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
11516 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
11517 gdb_exit and return.
11518 (executable): New variable.
11519 (binfile): Use it.
11520
11521 2010-04-19 Pedro Alves <pedro@codesourcery.com>
11522
11523 PR breakpoints/8554.
11524
11525 * gdb.trace/save-trace.exp: Adjust.
11526
11527 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
11528
11529 PR corefiles/11511
11530 * gdb.arch/system-gcore.exp: New.
11531 * gdb.arch/gcore.c: Likewise.
11532
11533 2010-04-15 Doug Evans <dje@google.com>
11534
11535 * gdb.python/py-progspace.c: New file.
11536 * gdb.python/py-progspace.exp: New file.
11537
11538 * gdb.base/source.exp: Add tests for "source -s".
11539
11540 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
11541
11542 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
11543 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
11544 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
11545 * gdb.python/py-mi.exp: New test for to_string returning None.
11546
11547 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
11548
11549 * gdb.python/py-breakpoint.c: Make result global.
11550
11551 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11552
11553 Fix non-GNU make compatibility.
11554 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
11555
11556 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
11557
11558 * gdb.python/py-breakpoint.exp: New File.
11559 * gdb.python/py-breakpoint.C: Ditto.
11560
11561 2010-04-08 Stan Shebs <stan@codesourcery.com>
11562
11563 * gdb.trace/actions.exp: Clear default-collect.
11564 * gdb.trace/save-trace.exp: Clear default-collect.
11565
11566 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
11567
11568 * gdb.python/py-value: Add null string variable.
11569 (test_lazy_string): Test zero length, NULL address lazy
11570 strings.
11571
11572 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
11573
11574 * gdb.arch/i386-avx.c: New.
11575 * gdb.arch/i386-avx.exp: Likewise.
11576
11577 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
11578
11579 2010-04-06 Doug Evans <dje@google.com>
11580
11581 * gdb.base/source-test.gdb: New file.
11582 * gdb.base/source.exp: Test source -v.
11583
11584 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11585
11586 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
11587
11588 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
11589
11590 * gdb.stabs/aout.sed: Convert all backslash to double backslash
11591 within one line, unless it is followed by a double quote.
11592 * gdb.stabs/hppa.sed: Idem.
11593 * gdb.stabs/weird.def: Add char and String constants
11594 * gdb.stabs/weird.exp: Check for correct parsing of
11595 char and string constants.
11596 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
11597 in .stabs to .stabx substitution.
11598
11599 2010-04-05 Stan Shebs <stan@codesourcery.com>
11600
11601 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
11602 constant global.
11603 * gdb.trace/tfile.exp: Try to print them.
11604
11605 2010-04-04 Stan Shebs <stan@codesourcery.com>
11606
11607 * gdb.base/completion.exp: Update for new "info watchpoints".
11608 * gdb.base/default.exp: Ditto.
11609 * gdb.base/help.exp: Ditto.
11610 * gdb.base/watchpoint.exp: Ditto.
11611 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
11612
11613 2010-04-04 Stan Shebs <stan@codesourcery.com>
11614
11615 * gdb.trace/tfile.exp: Sharpen tfind test.
11616
11617 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11618
11619 * gdb.base/break-entry.exp: New.
11620
11621 2010-04-02 Hui Zhu <teawater@gmail.com>
11622 Michael Snyder <msnyder@vmware.com>
11623
11624 * gdb.reverse/i386-sse-reverse.exp: New file.
11625 * gdb.reverse/i386-sse-reverse.c: New file.
11626
11627 2010-04-02 Pedro Alves <pedro@codesourcery.com>
11628
11629 * gdb.trace/tfind.exp: Adjust expected disassembly output.
11630
11631 2010-04-01 Stan Shebs <stan@codesourcery.com>
11632
11633 * gdb.trace/actions.exp: Tweak expected output.
11634 * gdb.trace/while-stepping.exp: Tweak expected output.
11635
11636 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
11637
11638 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
11639
11640 2010-04-01 Pedro Alves <pedro@codesourcery.com>
11641
11642 * gdb.base/commands.exp: Adjust.
11643 * gdb.cp/extern-c.exp: Adjust.
11644
11645 2010-04-01 Pedro Alves <pedro@codesourcery.com>
11646
11647 * gdb.trace/collection.c (local_test_func): Define a local struct,
11648 and instanciate it.
11649
11650 2010-04-01 Pedro Alves <pedro@codesourcery.com>
11651
11652 * gdb.trace/collection.exp (gdb_collect_args_test)
11653 (gdb_collect_argarray_test): XFAIL the tests that assume the
11654 argarray argument's elements are collected.
11655
11656 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11657
11658 * gdb.dwarf2/dw2-bad-parameter-type.exp,
11659 gdb.dwarf2/dw2-bad-parameter-type.S: New.
11660
11661 2010-03-31 Stan Shebs <stan@codesourcery.com>
11662
11663 * gdb.trace/save-trace.exp: Test save/restore of default-collect
11664 and tracepoint conditionals.
11665 (gdb_verify_tracepoints): Delete unused return.
11666
11667 2010-03-26 Keith Seitz <keiths@redhat.com>
11668
11669 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
11670 appear in the output before main.
11671 Remove KFAIL for gdb/2215 aka bz 9320.
11672
11673 2010-03-30 Doug Evans <dje@google.com>
11674
11675 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
11676 by dejagnu.
11677 * gdb.arch/amd64-dword.exp: Ditto.
11678
11679 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
11680 match.
11681 (break printf): Ditto.
11682
11683 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
11684
11685 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
11686 gcc < 4.4.
11687 * gdb.cp/shadow.exp: Ditto.
11688
11689 2010-03-29 Pedro Alves <pedro@codesourcery.com>
11690
11691 * gdb.trace/collection.exp (run_trace_experiment): Make sure
11692 "tstart" is silent.
11693
11694 2010-03-29 Pedro Alves <pedro@codesourcery.com>
11695
11696 * gdb.trace/collection.exp (executable): New.
11697 (binfile): Use it.
11698 (fpreg, spreg, pcreg): New.
11699 (test_register): Use gdb_test_multiple. Pass /x to print.
11700 (prepare_for_trace_test): New.
11701 (run_trace_experiment): Use "continue", not gdb_run_cmd.
11702 (gdb_collect_args_test, gdb_collect_argstruct_test)
11703 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
11704 prepare_for_trace_test.
11705 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
11706 fpreg, spreg and pcreg.
11707 (gdb_collect_expression_test, gdb_collect_globals_test): Use
11708 prepare_for_trace_test.
11709 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
11710 try to detect tracing support here. Don't set breakpoints at
11711 `begin' or `end' here.
11712 <global scope>: Use clean_restart. Run to main before checking
11713 for tracing support. Check for for tracing support here.
11714
11715 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11716
11717 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
11718 " as $displacement" to "seen displacement message".
11719
11720 2010-03-28 Pedro Alves <pedro@codesourcery.com>
11721
11722 * gdb.trace/while-dyn.exp (executable): New variable.
11723 (binfile): Use it.
11724 (test_while_stepping): New function. Move most tests here. Call
11725 it once for each of the while-stepping, stepping and ws aliases.
11726
11727 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11728
11729 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
11730 that do not provide the tagless_struct type name at all.
11731 (test_print_anon_union): Do not check value of uninitialized
11732 union member. Do not use cp_test_ptype_class, so we can accept
11733 "long" as well as "long int".
11734
11735 2010-03-26 Pedro Alves <pedro@codesourcery.com>
11736
11737 * gdb.trace/tfile.c (tohex, bin2hex): New.
11738 (write_error_trace_file): Hexify error description.
11739
11740 2010-03-25 Stan Shebs <stan@codesourcery.com>
11741
11742 * gdb.trace/tfile.c: Generate an additional trace file, improve
11743 portability.
11744 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
11745 files in a better way.
11746
11747 2010-03-25 Keith Seitz <keiths@redhat.com>
11748
11749 * gdb.java/jprint.exp: XFAIL printing of static class members
11750 because of GCC debuginfo problem.
11751
11752 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11753
11754 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
11755
11756 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11757
11758 * gdb.base/completion.exp: Allow long instead of long int.
11759 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
11760 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
11761 variable p.
11762 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
11763 * gdb.base/pointers.exp: Allow long instead of long int.
11764 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
11765 * gdb.base/step-line.exp: Allow a directory before the source file name.
11766
11767 2010-03-24 Tom Tromey <tromey@redhat.com>
11768
11769 PR breakpoints/9352:
11770 * gdb.base/default.exp: Update.
11771 * gdb.base/commands.exp: Update.
11772 * gdb.cp/extern-c.exp: Test setting commands on multiple
11773 breakpoints at once.
11774
11775 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11776
11777 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
11778 if gdb,nosignals.
11779 * gdb.base/watchpoints.c: Do not include unnecessary headers.
11780 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
11781 exited".
11782
11783 2010-03-24 Stan Shebs <stan@codesourcery.com>
11784
11785 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
11786
11787 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11788
11789 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
11790 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
11791 argument. Handle "short" and "long".
11792 (Top level): Pass overprototyped output for old_fptr and xptr.
11793
11794 2010-03-23 Pedro Alves <pedro@codesourcery.com>
11795
11796 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
11797 format strings and add casts to avoid compiler warnings.
11798
11799 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
11800
11801 * lib/trace-support.exp (gdb_trace_setactions):
11802 Don't expect whitespace after ">" prompt.
11803 * gdb.trace/actions.exp: Adjust for output changes.
11804 * gdb.trace/while-stepping.exp: Likewise.
11805
11806 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11807
11808 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
11809 and r157645).
11810
11811 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11812
11813 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
11814 New.
11815
11816 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
11817
11818 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
11819 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
11820
11821 2010-03-19 Stan Shebs <stan@codesourcery.com>
11822
11823 * gdb.trace/ax.exp: New file.
11824
11825 2010-03-19 Doug Evans <dje@google.com>
11826
11827 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
11828 output from gcc.
11829
11830 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
11831 named /usr/sbin/prelink<foo>.
11832
11833 2010-03-18 Stan Shebs <stan@codesourcery.com>
11834
11835 * gdb.trace/circ.exp: Test circular-trace-buffer.
11836 * gdb.trace/tfile.exp: Update tstatus test.
11837
11838 2010-03-18 Joel Brobecker <brobecker@adacore.com>
11839
11840 * gdb.dwarf2/dw2-anonymous-func.S: New file.
11841 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
11842
11843 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11844
11845 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
11846
11847 2010-03-18 Pedro Alves <pedro@codesourcery.com>
11848
11849 * gdb.base/default.exp: Adjust the expected output of the finish
11850 and until commands when the inferior is not being run.
11851
11852 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
11853
11854 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
11855 * gdb.cp/nsusing.exp: Ditto.
11856
11857 2010-03-15 Tom Tromey <tromey@redhat.com>
11858
11859 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
11860 * gdb.cp/userdef.cc (operator==): New function.
11861 (main): New locals mem1, mem2.
11862
11863 2010-03-15 Jie Zhang <jie@codesourcery.com>
11864
11865 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
11866 Declare and use new loadtimeout variable.
11867
11868 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
11869
11870 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
11871 Use gdb_load later.
11872
11873 2010-03-14 Pedro Alves <pedro@codesourcery.com>
11874
11875 * gdb.base/solib-disc.c (main): Make format of fprintf a string
11876 literal. Add missing endlines to prints to stderr.
11877
11878 2010-03-12 Tom Tromey <tromey@redhat.com>
11879
11880 PR c++/9708:
11881 * gdb.cp/m-static.exp: Add regression test.
11882 * gdb.cp/m-static.cc (method): New method.
11883 (main): Call it.
11884
11885 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
11886
11887 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
11888 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
11889
11890 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
11891
11892 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
11893
11894 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
11895
11896 * lib/gdb.exp (skip_stl_tests): New.
11897 (gdb_compile): Symbian needs -ldl.
11898 (shlib_target_file): New.
11899 (shlib_symbol_file): New.
11900 (gdb_load_shlibs): Use shlib_target_file.
11901 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
11902 * gdb.cp/exception.exp: Use skip_stl_tests.
11903 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
11904 * gdb.cp/try_catch.exp: Use skip_stl_tests.
11905 * gdb.cp/mb-templates.exp: Ditto.
11906 * gdb.base/commands.exp: Relax regexes.
11907 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
11908 shlib_target_file and shlib_symbol_file.
11909 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
11910 sections.
11911 * gdb.base/ending-run.exp: Accept E32Main for symbian.
11912 * gdb.base/solib-disc.exp: Use
11913 shlib_target_file and shlib_symbol_file.
11914 * gdb.base/unload.exp: Don't skip on symbian. Use
11915 shlib_target_file and shlib_symbol_file.
11916 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
11917
11918 2010-03-12 Pedro Alves <pedro@codesourcery.com>
11919
11920 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
11921 * gdb.trace/report.exp: Adjust for x86 and x86_64.
11922 Issue a tfind end before looking for a tracepoint frame.
11923 * gdb.trace/tfind.exp: Adjust tstatus output.
11924 Adjust disassembly output.
11925 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
11926
11927 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11928
11929 * gdb.base/break-interp.exp: Create new displacement parameter value
11930 for the test_ld calls.
11931 (reach): New parameter displacement, verify its content. New push of
11932 pf_prefix "reach-$func:". Import global expect_out.
11933 (test_core): New parameter displacement, verify its content. New push
11934 of pf_prefix "core:". New command "set verbose on". Import global
11935 expect_out.
11936 (test_attach): New parameter displacement, verify its content. New
11937 push of pf_prefix "attach:". New command "set verbose on". Import
11938 global expect_out.
11939 (test_ld): New parameter displacement, pass it to the reach, test_core
11940 and test_attach calls and verify its content in the "ld.so exit" test.
11941 * gdb.base/prelink.exp: Remove gdb_exit and final return.
11942 (prelink): Update expected text, use gdb_test.
11943
11944 2010-03-10 Doug Evans <dje@google.com>
11945
11946 * gdb.base/checkpoint.exp: Fix comment.
11947 Lengthen timeout while doing >600 checkpoints test.
11948 Rename duplicate "kill all one" test to keep test names unique.
11949
11950 2010-03-10 Pedro Alves <pedro@codesourcery.com>
11951
11952 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
11953
11954 2010-03-08 Keith Seitz <keiths@redhat.com>
11955
11956 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
11957 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
11958 (dm_type_long): New function.
11959 (dm_type_unsigned_short): New function.
11960 (dm_type_unsigned_long): New function.
11961 (myint): New typedef.
11962 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
11963 long, unsigned shor and long, operator char*, and typedef.
11964 (test_lookup_operator_functions): Add operator char* test.
11965 (test_paddr_operator_functions): Likewise.
11966 (test_paddr_overloaded_functions): Use probe values for
11967 short, long, and unsigned short and long.
11968 (test_paddr_hairy_functions): If the demangler probe detected
11969 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
11970 demangler.
11971 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
11972 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
11973 and "print null_pmf".
11974 Add test "ptype a.*pmf".
11975 * gdb.cp/overload.exp: Allow optional "int" to appear with
11976 "short" and "long".
11977 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
11978 long expect value for men_overload1arg.
11979 Allow "int" to appear with "short" and "long".
11980 When testing "info break", add argument for main (void).
11981 Also allow "int" to appear with "short" and "long".
11982 Ditto with "unsigned" and "long long".
11983 * gdb.java/jmain.exp: Do not enclose methods names in single
11984 quotes.
11985 * gdb.java/jmisc.exp: Likewise.
11986 * gdb.java/jprint.exp: Likewise.
11987 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
11988
11989 From Jan Kratochvil <jan.kratochvil@redhat.com>:
11990 * gdb.cp/exception.exp (backtrace after first throw)
11991 (backtrace after second throw): Allow a namespace before __cxa_throw.
11992 (backtrace after first catch, backtrace after second catch): Allow
11993 a namespace before __cxa_begin_catch.
11994
11995 * gdb.cp/cpexprs.exp: New file.
11996 * gdb.cp/cpexprs.cc: New file.
11997
11998 From Daniel Jacobowitz <dan@codesourcery.com>
11999 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
12000 to use string_to_regexp.
12001 (ctor, dtor): New functions. Use them to match constructor
12002 and destructor function types.
12003 (Top level): Use runto_main.
12004
12005 2010-03-05 Tom Tromey <tromey@redhat.com>
12006
12007 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
12008 gdb.target_charset.
12009 (pp_ns.to_string): Likewise.
12010
12011 2010-03-04 Keith Seitz <keiths@redhat.com>
12012
12013 * gdb.cp/overload.exp: Test that the filename portion of a linespec
12014 can be quoted. Test that both the filename and function/line
12015 portions can be quoted at the same time.
12016
12017 2010-03-04 Pedro Alves <pedro@codesourcery.com>
12018
12019 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
12020
12021 2010-03-03 Doug Evans <dje@google.com>
12022
12023 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
12024 libc contains libpthread.
12025
12026 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
12027 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
12028 of gdb_compile. Add another pattern to match android backtrace.
12029
12030 2010-03-03 Tom Tromey <tromey@redhat.com>
12031
12032 PR gdb/11345:
12033 * gdb.base/printcmds.exp (test_printf): Add test.
12034
12035 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
12036
12037 * gdb.arch/amd64-byte.exp: New.
12038 * gdb.arch/amd64-dword.exp: Likewise.
12039 * gdb.arch/amd64-pseudo.c: Likewise.
12040 * gdb.arch/amd64-word.exp: Likewise.
12041 * gdb.arch/i386-byte.exp: Likewise.
12042 * gdb.arch/i386-pseudo.c: Likewise.
12043 * gdb.arch/i386-word.exp: Likewise.
12044
12045 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
12046
12047 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
12048 types. Add structreg, bitfields, and flags registers.
12049 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
12050 registers.
12051
12052 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
12053
12054 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
12055 (load_description): Set architecture if defined.
12056
12057 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
12058
12059 * gdb.python/py-frame.exp: Add read_var block tests.
12060 * gdb.python/py-frame.c (block): New function.
12061
12062 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12063 Daniel Jacobowitz <dan@codesourcery.com>
12064
12065 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
12066
12067 2010-02-25 David S. Miller <davem@davemloft.net>
12068
12069 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
12070 fix logic for setting all_syscalls_numbers.
12071
12072 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12073
12074 * Makefile.in: Add py-block and py-symbol.
12075 * gdb.python/py-symbol.exp: New File.
12076 * gdb.python/py-symtab.exp: New File.
12077 * gdb.python/py-block.exp: New File.
12078 * gdb.python/py-symbol.c: New File.
12079 * gdb.python/py-block.c: New File.
12080
12081 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12082
12083 PR python/11314
12084 * lib/gdb.exp (skip_python_tests): New function.
12085 * gdb.python/py-cmd.exp: Use skip_python_tests.
12086 * gdb.python/py-frame.exp: Likewise.
12087 * gdb.python/py-function.exp: Likewise.
12088 * gdb.python/py-prettyprint.exp: Likewise.
12089 * gdb.python/py-template.exp: Likewise.
12090 * gdb.python/py-type.exp: Likewise.
12091 * gdb.python/py-value.exp: Likewise.
12092
12093 2010-02-22 Pedro Alves <pedro@codesourcery.com>
12094
12095 PR9605
12096
12097 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
12098
12099 2010-02-19 Tom Tromey <tromey@redhat.com>
12100
12101 PR c++/8693, PR c++/9496:
12102 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
12103 regression tests.
12104
12105 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12106
12107 Fix compatibility with m68k as.
12108 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
12109 Use only /* comments */.
12110
12111 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12112
12113 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
12114 * configure: Regenerate.
12115
12116 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
12117
12118 * gdb.python/py-type.exp: Check for Python support.
12119
12120 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12121
12122 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
12123 `regsub' syntax available.
12124
12125 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12126
12127 * gdb.base/shmain.c (main): Remove printf call.
12128 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
12129 * gdb.base/unload.c (main): Make format of fprintf a string
12130 literal. Add missing endlines to prints to stderr.
12131 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
12132
12133 2010-02-17 Tom Tromey <tromey@redhat.com>
12134
12135 * gdb.java/jprint.java (jprint.props): New field.
12136 * gdb.java/jprint.exp (set_lang_java): Add regression test.
12137
12138 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12139
12140 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12141 available.
12142
12143 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12144
12145 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
12146 creation to support remote host testing.
12147
12148 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12149
12150 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
12151 Recognize "command not found".
12152
12153 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12154
12155 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
12156 single-stepping.
12157
12158 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12159
12160 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
12161 if arguments are not supported.
12162
12163 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12164
12165 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
12166 be const or non-const.
12167
12168 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12169
12170 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
12171 mi_send_resuming_command to send -exec-continue.
12172
12173 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12174
12175 * gdb.base/list.exp (test_list_filename_and_function): Add test
12176 with single quotes.
12177 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
12178 matching.
12179 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
12180 Add KFAIL'd tests for PR gdb/11289.
12181
12182 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12183
12184 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
12185
12186 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12187
12188 * gdb.base/comp-dir/subdir/dummy.txt: New file.
12189 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
12190 a temporary directory.
12191
12192 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12193
12194 * gdb.base/charset.exp: Use a single regular expression to match
12195 show host-charset and show target-charset output.
12196
12197 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12198
12199 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
12200 "Illegal process-id" expect string more exact.
12201 (attach to digits-starting nonsense is prohibited): New.
12202
12203 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12204
12205 * gdb.base/prelink.exp (set verbose on): New.
12206
12207 2010-02-12 Tomas Holmberg <th@virtutech.com>
12208
12209 * mi-reverse.exp: New file. Test for reverse option to the
12210 following MI commands: exec-continue, exec-finish, exec-next,
12211 exec-step, exec-next-instruction, exec-step-instruction.
12212
12213 2010-02-09 Joel Brobecker <brobecker@adacore.com>
12214
12215 * gdb.ada/ptype_tagged_param: New testcase.
12216
12217 2010-02-08 Tom Tromey <tromey@redhat.com>
12218
12219 PR c++/8017:
12220 * gdb.cp/overload.exp: Add tests.
12221 * gdb.cp/overload.cc (struct K): New.
12222 (namespace N): New.
12223 (main): Call new functions.
12224 (K::staticoverload): Define.
12225
12226 2010-02-08 Chris Moller <moller@mollerware.com>
12227
12228 PR gdb/10728
12229 * gdb.cp/pr10728-x.h: New file.
12230 * gdb.cp/pr10728-x.cc: New file.
12231 * gdb.cp/pr10728-y.cc: New file.
12232 * gdb.cp/pr10728.exp: New file.
12233 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
12234
12235 2010-02-08 Chris Moller <moller@mollerware.com>
12236
12237 PR gdb/9067
12238 * gdb.cp/pr9067.exp: New
12239 * gdb.cp/pr9067.cc: New
12240 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
12241
12242 2010-02-08 Joel Brobecker <brobecker@adacore.com>
12243
12244 * lib/gdb.exp (gdb_test_timeout): New global variable.
12245 Set it to timeout if not already set.
12246 (gdb_init): Reset the value of timeout to gdb_test_timeout.
12247
12248 2010-02-05 Doug Evans <dje@google.com>
12249
12250 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
12251 user.
12252
12253 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
12254
12255 PR c++/7935:
12256 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
12257
12258 2010-02-04 Tom Tromey <tromey@redhat.com>
12259
12260 * gdb.cp/virtbase.exp: Make test case names unique.
12261
12262 2010-02-02 Tom Tromey <tromey@redhat.com>
12263
12264 * gdb.cp/virtbase.exp: Add regression tests.
12265 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
12266 (main): Instantiate RHC.
12267
12268 2010-02-02 Tom Tromey <tromey@redhat.com>
12269
12270 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
12271 type-printing change.
12272
12273 2010-02-02 Tom Tromey <tromey@redhat.com>
12274
12275 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
12276 * gdb.cp/virtbase.cc: New file.
12277 * gdb.cp/virtbase.exp: New file.
12278 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
12279
12280 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12281
12282 PR libc/11214:
12283 * gdb.threads/current-lwp-dead.c: Include features.h.
12284 (HAS_NOMMU): New.
12285 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
12286
12287 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12288
12289 * gdb.base/symbol-without-target_section.exp,
12290 gdb.base/symbol-without-target_section.c: New.
12291
12292 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12293
12294 * gdb.base/bigcore.exp: Reset increased timeout.
12295 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
12296
12297 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12298
12299 * gdb.base/gcore.exp (capture_command_output): Use
12300 gdb_test_multiple.
12301
12302 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12303
12304 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
12305 * gdb.arch/thumb2-it.exp (test_it_break): New function.
12306 (Top level): Call it.
12307
12308 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12309
12310 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
12311
12312 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12313
12314 * gdb.base/call-strs.exp, gdb.base/default.exp,
12315 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
12316 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
12317 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
12318 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
12319 gdb.base/watchpoint-solib.exp: Save and restore timeout.
12320 * gdb.base/ending-run.exp: Correct restore of timeout.
12321 * gdb.base/page.exp: Remove unnecessary timeout setting.
12322
12323 2010-01-29 Joel Brobecker <brobecker@adacore.com>
12324
12325 * gdb.ada/rec_return: New testcase.
12326
12327 2010-01-29 Joel Brobecker <brobecker@adacore.com>
12328
12329 * gdb.ada/call_pn: New testcase.
12330
12331 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12332
12333 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
12334 (Top level): Use it to resume.
12335 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
12336 the Thumb mode displaced stepping error as unsupported.
12337
12338 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
12339
12340 * gdb.cp/nsusing.exp: Added more tests.
12341 * gdb.cp/nsrecurs.exp: Ditto.
12342 * gdb.cp/nsusing.cc: Added test functions.
12343 * gdb.cp/nsrecurs.cc: Ditto.
12344
12345 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12346
12347 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
12348 absolute directory pathnames in gdb.sum file.
12349
12350 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
12351
12352 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
12353 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
12354
12355 2010-01-26 Tom Tromey <tromey@redhat.com>
12356
12357 PR exp/7643:
12358 * gdb.base/printcmds.exp (test_print_string_constants): Remove
12359 setup_kfail.
12360
12361 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
12362
12363 * gdb.cp/nsrecurs.exp: New test.
12364 * gdb.cp/nsrecurs.cc: New test program.
12365 * gdb.cp/nsstress.exp: New test.
12366 * gdb.cp/nsstress.cc: New test program.
12367 * gdb.cp/nsdecl.exp: New test.
12368 * gdb.cp/nsdecl.cc: New test program.
12369
12370 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
12371
12372 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
12373 imported into file scope.
12374 Marked test as xfail.
12375 * gdb.cp/namespace-using.cc (marker5): New function.
12376 * gdb.cp/shadow.exp: New test.
12377 * gdb.cp/shadow.cc: New test program.
12378 * gdb.cp/nsimport.exp: New test.
12379 * gdb.cp/nsimport.cc: New test program.
12380
12381 2010-01-25 Tom Tromey <tromey@redhat.com>
12382
12383 PR gdb/11049:
12384 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
12385 with "set print null-stop on".
12386
12387 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12388
12389 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
12390 Adjust it for DISASSEMBLY_OMIT_FNAME.
12391
12392 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12393
12394 PR symtab/11199:
12395 * gdb.dwarf2/member-ptr-forwardref.exp,
12396 gdb.dwarf2/member-ptr-forwardref.S: New.
12397
12398 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12399
12400 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
12401 (thread1_func): Protect thread1_tid with thread1_tid_cond by
12402 thread1_tid_mutex. Remove gdbstop_mutex handling.
12403 (thread2_func): Protect thread2_tid with thread2_tid_cond by
12404 thread2_tid_mutex. Remove gdbstop_mutex handling.
12405 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
12406 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
12407 pthread_cond_wait conditionalizations by while loops.
12408
12409 2010-01-20 Tom Tromey <tromey@redhat.com>
12410
12411 PR backtrace/10770:
12412 * gdb.dwarf2/pr10770.exp: New file.
12413 * gdb.dwarf2/pr10770.c: New file.
12414 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
12415
12416 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
12417
12418 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
12419 that target was removed, and the test always runs native anyway.
12420
12421 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12422
12423 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
12424 gdb.base/watchpoint-cond-gone-stripped.c: New.
12425
12426 2010-01-19 Tom Tromey <tromey@redhat.com>
12427
12428 PR c++/8000:
12429 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
12430 existing tests.
12431 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
12432 (main): Use AAA::SomeEnum.
12433
12434 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12435
12436 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
12437 (test_ignore_count): Declare line_callme_body global.
12438 (run to breakpoint with ignore count): Use line_callme_body.
12439 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
12440 (set line_main_hello, set line_main_return): Reindent.
12441 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
12442 New.
12443 (continue to callee4): Use line_callee4_body.
12444 (check *stopped from CLI command): Use line_callee4_next.
12445 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
12446 (set line_main_hello, set line_main_return): Reindent.
12447 (set line_callee4_head, set line_callee4_body): New.
12448 (continue to callee4): Use line_callee4_body.
12449
12450 2010-01-18 Tom Tromey <tromey@redhat.com>
12451
12452 PR c++/9680:
12453 * gdb.cp/casts.cc: Add new classes and variables.
12454 * gdb.cp/casts.exp: Test new operators.
12455
12456 2010-01-18 Tom Tromey <tromey@redhat.com>
12457 Thiago Jung Bauermann <bauerman@br.ibm.com>
12458
12459 * gdb.python/source2.py: New file.
12460 * gdb.python/source1: New file.
12461 * gdb.python/python.exp: Test "source" command.
12462
12463 2010-01-15 Stan Shebs <stan@codesourcery.com>
12464
12465 * gdb.trace/tfile.c: New file.
12466 * gdb.trace/tfile.exp: New file.
12467
12468 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12469
12470 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
12471
12472 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12473
12474 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
12475
12476 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12477
12478 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
12479 (libfunc): New parameter action. Implement also selectable "sleep".
12480 * gdb.base/break-interp-main.c: Include assert.h.
12481 (libfunc): New parameter action.
12482 (main): New parameters argc and argv. Assert argc. Pass argv.
12483 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
12484 (test_attach): New proc.
12485 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
12486 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
12487
12488 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12489
12490 * gdb.base/break-interp.exp (test_core): New proc.
12491 (test_ld): Call it.
12492
12493 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12494
12495 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
12496 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
12497 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
12498 and gdb_compile_shlib. Use new -Wl compiler options.
12499 (dl bt, main bt): New tests.
12500
12501 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12502
12503 Support PIEs with no symfile_objfile.
12504 * gdb.base/break-interp.exp: New argument at the test_ld calls.
12505 (test_ld): New parameter trynosym.
12506 (test_ld <$trynosym>): New block.
12507
12508 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12509
12510 * gdb.base/break-interp.exp: New file.
12511
12512 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
12513
12514 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
12515 * gdb.python/py-prettyprint.py (pp_ls): New printer.
12516 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
12517 test.
12518 * gdb.python/py-prettyprint.c: Define lazystring test structure.
12519 * gdb.python/py-mi.exp: Add lazy string test.
12520
12521 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
12522
12523 * lib/mi-support.exp (mi_check_thread_states): Handle
12524 core number in thread listing.
12525
12526 2010-01-12 Joel Brobecker <brobecker@adacore.com>
12527
12528 * gdb.base/maint.exp: Adjust the expected output for the
12529 "maint print type" test. Use gdb_test_multiple instead of
12530 gdb_sent/gdb_expect.
12531
12532 2010-01-11 Doug Evans <dje@google.com>
12533
12534 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
12535 from gdbserver_download. All callers updated.
12536
12537 * gdb.server/ext-run.exp: "info os processes" requires xml support.
12538
12539 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12540
12541 Implement binary numbers parsing.
12542 * gdb.base/printcmds.exp (test_integer_literals_accepted)
12543 (test_integer_literals_rejected): New binary tests.
12544
12545 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12546
12547 * gdb.cell/configure: Regenerate.
12548
12549 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12550
12551 * gdb.base/corefile.exp: Move the core finding block out and call it as
12552 core_find, new variable $corefile, replace corefile by $corefile and
12553 [file tail $corefile] for usage vs. test names resp.
12554 * lib/gdb.exp (core_find): Move it as a new function here. New
12555 parameter binfile and deletefiles. New variable $destcore. Pre-delete
12556 $destcore. Return "" on error.
12557
12558 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12559
12560 Workaround PR binutils/10802.
12561 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
12562 (twice).
12563
12564 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
12565
12566 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
12567
12568 2010-01-08 Joel Brobecker <brobecker@adacore.com>
12569
12570 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
12571 call, to avoid interruption.
12572
12573 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12574
12575 * gdb.stabs/weird.def (args93): New.
12576
12577 2010-01-07 Doug Evans <dje@google.com>
12578
12579 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
12580
12581 2010-01-07 Tom Tromey <tromey@redhat.com>
12582
12583 * gdb.base/source.exp: Use correct line number.
12584
12585 2010-01-05 Stan Shebs <stan@codesourcery.com>
12586
12587 * gdb.trace/tracecmd.exp: Test ftrace.
12588
12589 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12590
12591 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
12592
12593 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12594
12595 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
12596 "uint_for_mi_testing".
12597
12598 2010-01-01 Joel Brobecker <brobecker@adacore.com>
12599
12600 Test indented comment in file being sourced.
12601 * gdb.base/commands.exp: Test indented comment in file being sourced.
12602
12603 2010-01-01 Joel Brobecker <brobecker@adacore.com>
12604
12605 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
12606 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
12607 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
12608 notice.
12609
12610 2010-01-01 Joel Brobecker <brobecker@adacore.com>
12611
12612 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
12613 notice.
12614
12615 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12616
12617 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
12618 missing $after_stopped and comma (,) expectation.
12619
12620 2009-12-31 Stan Shebs <stan@codesourcery.com>
12621
12622 * gdb.trace/actions.exp: Test teval action.
12623
12624 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
12625
12626 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
12627 (top level): Call test_watchpoint_in_big_blob.
12628 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
12629 watchpoints.
12630 (func3): Write to buf.
12631
12632 2009-12-29 Stan Shebs <stan@codesourcery.com>
12633
12634 * gdb.trace/actions.exp: Test default-collect.
12635
12636 2009-12-28 Stan Shebs <stan@codesourcery.com>
12637
12638 * gdb.trace/tsv.exp: New file.
12639 * gdb.base/completion.exp: Update ambiguous info output.
12640
12641 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
12642
12643 * gdb.base/find.c (main): Reference search buffers.
12644 * gdb.base/included.c (main): Reference integer.
12645 * gdb.base/ptype.c (charfoo): Declare.
12646 (intfoo): Call charfoo.
12647 * gdb.base/scope0.c (useitp): New function.
12648 (usestatics): Use useitp.
12649 (useit): Add a type for val.
12650 * gdb.base/scope1.c (useit1): Take a pointer argument.
12651 (usestatics1): Update calls to useit1.
12652 * gdb.cp/call-c.cc: Declare foo.
12653 (main): Call foo.
12654 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
12655 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
12656 (main): Call C::ensureRefs and ensureOtherRefs.
12657 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
12658 variables.
12659 (ensureOtherRefs): New function.
12660 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
12661 * gdb.cp/templates.cc (main): Call t5i.value.
12662
12663 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12664
12665 Fix compatibility with G++-4.5.
12666 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
12667 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
12668 (uncaught return): Remove.
12669
12670 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12671 Phil Muldoon <pmuldoon@redhat.com>
12672
12673 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
12674 (bp_location13, bp_location14, bp_location17, bp_location18)
12675 (marker3_proto, marker4_proto): New variables.
12676 (breakpoint info): Update output.
12677 (run until breakpoint at marker3, run until breakpoint at marker4): New
12678 tests.
12679
12680 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12681
12682 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
12683 Replace the printf call of Y by provided "y-set-1" label. New block
12684 for the second shared library.
12685 * gdb.base/unload.exp: Compile also the second library, call
12686 gdb_load_shlibs also for it. Use now gdb_breakpoint.
12687 (single pending breakpoint info): Rename to ...
12688 (pending breakpoint info before run): ... this extended test.
12689 (libfile2, libname2, libsrcfile2, libsrc2)
12690 (lib_sl2): New variables.
12691 (exec_opts): Set also SHLIB_NAME2.
12692 (pending breakpoint info on first run at shrfunc1)
12693 (pending breakpoint info on second run at shrfunc1)
12694 (pending breakpoint info on second run at shrfunc2)
12695 (print y from libfile, print y from libfile2): New tests.
12696 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
12697 * gdb.base/unloadshr2.c: New.
12698
12699 2009-12-22 Hui Zhu <teawater@gmail.com>
12700
12701 * gdb.reverse/sigall-reverse.exp: Adjust.
12702
12703 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
12704
12705 PR gdb/10884
12706
12707 * gdb.mi/var-cmd.c (do_bitfield_tests): New
12708 (main): Call do_bitfield_tests.
12709 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
12710
12711 2009-12-20 Joel Brobecker <brobecker@adacore.com>
12712
12713 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
12714 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
12715 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
12716 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
12717 gdb.modula2/unbounded1.c: Update copyright header.
12718
12719 2009-12-10 Chris Moller <moller@mollerware.com>
12720
12721 PR gdb/9399
12722 * gdb.cp/virtfunc2.exp: New tests
12723 * gdb.cp/virtfunc2.cc: New tests
12724 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
12725
12726 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
12727
12728 * gdb.reverse/i387-env-reverse.c: New file.
12729 * gdb.reverse/i387-env-reverse.exp: New file.
12730 * gdb.reverse/i387-stack-reverse.c: New file.
12731 * gdb.reverse/i387-stack-reverse.exp: New file.
12732
12733 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
12734
12735 * gdb.python/py-type.exp (test_range): New test.
12736
12737 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
12738
12739 PR python/10805
12740
12741 * gdb.python/py-type.exp: New file.
12742 * gdb.python/py-type.c: New file.
12743 * Makefile.in: Add py-type.
12744
12745 2009-12-03 Tom Tromey <tromey@redhat.com>
12746
12747 * gdb.python/py-value.exp (test_parse_and_eval): New
12748 function.
12749
12750 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
12751
12752 PR gdb/11022
12753
12754 * gdb.base/pr11022.exp: New test.
12755 * gdb.base/pr11022.c: New test.
12756
12757 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12758
12759 Fix spurious false FAILs.
12760 * gdb.base/structs.c (chartest): New.
12761 (main): Fill-in chartest.
12762 * gdb.base/structs.exp (anychar_re, first): New.
12763 (start_structs_test): Import global anychar_re and first.
12764 New gdb_test call "set print elements 300; ${testfile}"
12765 (start_structs_test <$first>): New block.
12766 (any): Import global anychar_re. New variable ac. Use ${ac}.
12767
12768 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12769
12770 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
12771
12772 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12773
12774 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
12775 Force $srcfile file.
12776 * gdb.base/foll-fork.c (callee): Comment out the printf call.
12777
12778 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12779
12780 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
12781 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
12782 * gdb.threads/watchthreads-reorder.exp: Likewise.
12783
12784 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
12785
12786 PR gdb/8704
12787
12788 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
12789 "if", and "thread". Correct matching in the previous test.
12790
12791 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
12792
12793 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
12794
12795 2009-11-23 Michael Snyder <msnyder@vmware.com>
12796
12797 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
12798 * gdb.reverse-watch-precsave.exp: Ditto.
12799
12800 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
12801
12802 * gdb.asm/asm-source.exp: Adjust.
12803 * gdb.base/help.exp: Adjust.
12804
12805 2009-11-22 Pedro Alves <pedro@codesourcery.com>
12806
12807 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
12808 (do_syscall_tests_without_xml): Set data-directory to
12809 /the/path/to/nowhere.
12810
12811 2009-11-21 Pedro Alves <pedro@codesourcery.com>
12812
12813 * gdb.threads/local-watch-wrong-thread.c,
12814 gdb.threads/local-watch-wrong-thread.exp: New files.
12815
12816 2009-11-21 Pedro Alves <pedro@codesourcery.com>
12817
12818 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
12819 assume new `regsub' syntax available.
12820
12821 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12822
12823 * gdb.base/watchpoint-hw-hit-once.exp,
12824 gdb.base/watchpoint-hw-hit-once.c: New.
12825
12826 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12827
12828 * gdb.threads/watchthreads-reorder.exp,
12829 gdb.threads/watchthreads-reorder.c: New.
12830
12831 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
12832
12833 * gdb.xml/tdesc-regs.exp: Use for m68k.
12834
12835 2009-11-15 Pedro Alves <pedro@codesourcery.com>
12836
12837 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
12838
12839 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12840
12841 * lib/gdb.exp (current_target_name): New procedure.
12842 (gdb_wrapper_target): New variable.
12843 (gdb_wrapper_init): Set gdb_wrapper_target.
12844 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
12845 wrapper.
12846
12847 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12848
12849 * gdb.base/remote.exp: Delete the slowest load test.
12850 Do not load with fixed packet sizes.
12851
12852 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12853
12854 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
12855
12856 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12857
12858 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
12859 srcfile when setting a breakpoint.
12860
12861 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
12862
12863 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
12864 macros.
12865
12866 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12867
12868 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
12869 to be in memory.
12870 * gdb.base/display.c (force_mem): New.
12871 (do_loops): Use it. Add breakpoint comments.
12872 (do_vars): Add a breakpoint comment.
12873 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
12874 line numbers.
12875
12876 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
12877
12878 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
12879 instead of a bare "run".
12880
12881 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12882
12883 * gdb.python/py-prettyprint.exp: Adjust.
12884
12885 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12886
12887 * lib/cell.exp (skip_cell_tests): Clean up test files before
12888 returning.
12889
12890 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12891
12892 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
12893 and the breakpoint menu. Do not call perror if a prompt is seen.
12894 Consume the following GDB prompt.
12895 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
12896 * gdb.cp/namespace.exp: Use gdb_test.
12897 * gdb.cp/templates.exp: Use gdb_test.
12898 (test_template_breakpoints): Use gdb_test_multiple.
12899
12900 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12901
12902 * gdb.base/break1.c (struct some_struct, values): Move earlier.
12903 (marker4): Reference values.
12904
12905 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12906
12907 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
12908 is missing.
12909
12910 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12911
12912 * gdb.base/break.c (need_malloc): New.
12913 * gdb.base/constvars.c (main): Reference crass and crisp.
12914 * gdb.base/gdb1821.c (main): Reference bar.
12915 * gdb.cp/gdb1355.cc (main): Reference s1.
12916 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
12917 (main): Call them.
12918 * gdb.cp/hang2.cc (dummy2): Define.
12919 * gdb.cp/hang3.cc (dummy3): Define.
12920 * gdb.cp/m-data.cc (main): Reference shadow.
12921
12922 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12923 Nathan Froyd <froydnj@codesourcery.com>
12924
12925 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
12926 remote host.
12927
12928 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
12929
12930 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
12931 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
12932 * gdb.dwarf2/dw2-compressed.exp: Likewise.
12933 * gdb.dwarf2/dw2-intercu.exp: Likewise.
12934 * gdb.dwarf2/dw2-intermix.exp: Likewise.
12935 * gdb.dwarf2/dw2-producer.exp: Likewise.
12936 * gdb.dwarf2/mac-fileno.exp: Likewise.
12937 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
12938 py-prettyprint.py to the remote host.
12939 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
12940
12941 2009-11-11 Keith Seitz <keiths@redhat.com>
12942
12943 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
12944 use it instead of "Foo".
12945 * gdb.cp/classes.exp (do_tests): Add a test to access
12946 a method through a typedef'd class name.
12947
12948 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
12949
12950 * gdb.base/long_long.exp: Permit leading zeros on floating-point
12951 exponents.
12952 * gdb.base/pointers.exp: Likewise.
12953 * gdb.cp/ref-types.exp: Likewise.
12954
12955 2009-11-11 Keith Seitz <keiths@redhat.com>
12956
12957 * gdb.cp/cplusfuncs.cc (class foo): Add operators
12958 new[] and delete[].
12959 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
12960 "void".
12961 (probe_demangler): Remove all single-quoting of
12962 method and variable names.
12963 (info_func_regexp): Remove the word "void" from any
12964 occurrence of "(void)".
12965 (print_addr_2): Remove all single-quoting of
12966 method names.
12967 (print_addr_2_kfail): Likewise.
12968 (print_addr): Single-quote C function names before
12969 passing to print_addr_2.
12970 (test_paddr_operator_functions): Remove single-quoting
12971 for method names.
12972 Add tests for operator new[] and operator delete[].
12973
12974 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12975
12976 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
12977
12978 2009-11-09 Keith Seitz <keiths@redhat.com>
12979
12980 * gdb.cp/overload.exp: Add tests for resolving overloaded
12981 methods in expression parsing/evaluation.
12982
12983 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
12984
12985 * lib/gdb.exp (default_gdb_version): Use --version instead of
12986 --command.
12987
12988 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
12989
12990 * lib/gdb.exp (gdb_compile_test): New.
12991 (skip_ada_tests, skip_java_tests): New.
12992 (gdb_compile): Use gdb_compile_test for f77.
12993 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
12994 * lib/java.exp (compile_java_from_source): Remove runtests check,
12995 use gdb_compile_test to record result.
12996 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
12997 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
12998 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
12999 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
13000 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
13001 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
13002 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
13003 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
13004 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
13005 adjust gdb_compile invocations.
13006
13007 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13008
13009 * Makefile.in (abs_builddir): New.
13010 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
13011 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
13012 `$(abs_builddir)/site.exp'.
13013
13014 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
13015
13016 * config/m68k-emc.exp, lib/emc-support.exp,
13017 gdb.trace/gdb_c_test.c: Delete.
13018 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
13019 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13020 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13021 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13022 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13023 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
13024 casing for m68k-*-elf.
13025
13026 2009-11-03 Pedro Alves <pedro@codesourcery.com>
13027
13028 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
13029 * gdb.arch/i386-prologue.exp: Likewise.
13030 * gdb.arch/i386-unwind.exp: Likewise.
13031
13032 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13033
13034 * lib/gdb.exp (gdb_expect): Fix timeout typo.
13035
13036 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13037
13038 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
13039
13040 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13041
13042 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
13043
13044 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13045
13046 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
13047
13048 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13049
13050 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
13051 * gdb.base/sepdebug2.c: New file.
13052
13053 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13054
13055 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
13056 the modified warnings for catch syscall. Verify if GDB was compiled
13057 with support for lib expat, and choose which tests to run depending
13058 on this.
13059
13060 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
13061
13062 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
13063 that composite commands are parsed OK. And also test
13064 that breakpoint commands do work.
13065
13066 2009-10-23 Michael Snyder <msnyder@vmware.com>
13067
13068 gdb.reverse/consecutive-precsave.exp: Change expect pattern
13069 to allow for new disassembly style.
13070
13071 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13072
13073 * gdb.asm/asm-source.exp: Adjust.
13074
13075 2009-10-22 Michael Snyder <msnyder@vmware.com>
13076
13077 * gdb.reverse/break-precsave.exp: New test.
13078 * gdb.reverse/consecutive-precsave.exp: Ditto.
13079 * gdb.reverse/finish-precsave.exp: Ditto.
13080 * gdb.reverse/i386-precsave.exp: Ditto.
13081 * gdb.reverse/machinestate-precsave.exp: Ditto.
13082 * gdb.reverse/sigall-precsave.exp: Ditto.
13083 * gdb.reverse/solilb-precsave.exp: Ditto.
13084 * gdb.reverse/step-precsave.exp: Ditto.
13085 * gdb.reverse/until-precsave.exp: Ditto.
13086 * gdb.reverse/watch-precsave.exp: Ditto.
13087
13088 2009-10-22 Michael Snyder <msnyder@vmware.com>
13089
13090 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
13091 for gdb_expect. Adjust one test's expect strings for the new
13092 format of disassemble.
13093 * gdb.reverse/finish-reverse.exp: Delete 'return'.
13094 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
13095 gdb_test_multiple.
13096 * gdb.reverse/step-reverse.exp: Delete 'return'.
13097 * gdb.reverse/until-reverse.exp: Delete blank lines.
13098 * gdb.reverse/watch-reverse.exp: Delete blank lines.
13099
13100 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
13101
13102 * gdb.base/consecutive.exp: Adjust.
13103 * gdb.base/display.exp: Likewise.
13104 * gdb.base/pc-fp.exp: Likewise.
13105 * gdb.base/sigbpt.exp: Likewise.
13106
13107 2009-10-19 Michael Snyder <msnyder@vmware.com>
13108
13109 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
13110 * gdb.reverse/finish-reverse.c: Ditto.
13111 * gdb.reverse/sigall-reverse.c: Ditto.
13112 * gdb.reverse/solib-reverse.c: Ditto.
13113 * gdb.reverse/step-reverse.c: Ditto.
13114 * gdb.reverse/watch-reverse.c: Ditto.
13115
13116 2009-10-19 Pedro Alves <pedro@codesourcery.com>
13117 Stan Shebs <stan@codesourcery.com>
13118
13119 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
13120 * gdb.base/foll-exec.exp: Adjust to expect a process id before
13121 "Executing new program".
13122 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
13123 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
13124 left listed after having been killed.
13125 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
13126 * gdb.base/maint.exp: Adjust test.
13127
13128 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
13129 * gdb.multi/Makefile.in: New.
13130 * gdb.multi/base.exp: New.
13131 * gdb.multi/goodbye.c: New.
13132 * gdb.multi/hangout.c: New.
13133 * gdb.multi/hello.c: New.
13134 * gdb.multi/bkpt-multi-exec.c: New.
13135 * gdb.multi/bkpt-multi-exec.exp: New.
13136 * gdb.multi/crashme.c: New.
13137
13138 2009-10-13 Tristan Gingold <gingold@adacore.com>
13139
13140 * gdb.base/sepdebug.exp: Check debug info are found.
13141
13142 2009-10-08 Pedro Alves <pedro@codesourcery.com>
13143
13144 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
13145 bits.
13146
13147 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13148
13149 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
13150
13151 2009-10-07 Joel Brobecker <brobecker@adacore.com>
13152
13153 * gdb.base/watchpoints.c: Add copyright header. Reformat one
13154 of the comments.
13155
13156 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
13157
13158 * gdb.base/annota1.exp: Remove obsolete match_max increase.
13159 * gdb.base/annota3.exp: Idem.
13160 * gdb.base/maint.exp: Idem.
13161
13162 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
13163
13164 * lib/gdb.exp (default_gdb_init): Set current value of match_max
13165 to default.
13166
13167 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13168
13169 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
13170 mingw and cygwin targets.
13171
13172 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13173 Pedro Alves <pedro@codesourcery.com>
13174
13175 * lib/gdb.exp (gdb_compile): Avoid adding
13176 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
13177
13178 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13179
13180 * gdb.base/shr1.c: Use %p in format string.
13181 * gdb.base/unload.c: Avoid warning in fprintf.
13182 * gdb.base/watchpoint-solib.c: Idem.
13183
13184 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13185
13186 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
13187 long type.
13188 (test_unlink): Correct printf string.
13189 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
13190 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
13191
13192 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13193
13194 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
13195 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
13196 * gdb.arch/ia64-breakpoint-shadow.S: New file.
13197
13198 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13199
13200 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
13201 * gdb.objc/nondebug.exp: Likewise.
13202
13203 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13204
13205 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
13206 target_info setting.
13207
13208 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
13209 that detect new threads during "info threads".
13210
13211 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13212
13213 * gdb.threads/manythreads.c (main): Increase thread stack size
13214 to 2*PTHREAD_STACK_MIN.
13215 * gdb.threads/multi-create.c (main): Likewise.
13216 (create_function): Likewise.
13217
13218 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13219
13220 * gdb.base/dump.exp: Pass difference of pointer types instead
13221 of integer types as offset to restore in intarr3.srec case.
13222
13223 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13224
13225 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
13226
13227 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13228
13229 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
13230
13231 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
13232
13233 New test for two watchpoints, with disabling of
13234 the first inserted.
13235 * testsuite/gdb.base/watchpoints.c: New file.
13236 * testsuite/gdb.base/watchpoints.exp: New file.
13237
13238 2009-09-25 Tom Tromey <tromey@redhat.com>
13239
13240 * gdb.base/charset.exp: Test utf-16 strings with Python.
13241
13242 2009-09-25 Tom Tromey <tromey@redhat.com>
13243
13244 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
13245 UCS-4.
13246 * gdb.base/charset.c (utf_32_string): Rename.
13247 (init_utf32): Rename.
13248 (main): Update.
13249
13250 2009-09-22 Tom Tromey <tromey@redhat.com>
13251
13252 * gdb.python/py-function.exp: Add regression tests.
13253
13254 2009-09-21 Keith Seitz <keiths@redhat.com>
13255
13256 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
13257 with invalid operator.
13258
13259 2009-09-21 Keith Seitz <keiths@redhat.com>
13260
13261 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
13262 and destructor using typedef name of class.
13263 * gdb.cp/classes.cc (class Base1): Add a destructor.
13264 (base1): New typedef.
13265 (use_methods): Instanitate an object of type base1.
13266 * gdb.cp/templates.exp (test_template_typedef): New procedure.
13267 (do_tests): Call test_template_typedef.
13268 * gdb.cp/templates.cc (Baz::~Baz): New method.
13269 (intBazOne): New typedef.
13270 (main): Instantiate intBazOne.
13271
13272 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
13273
13274 PR python/10633
13275
13276 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
13277 Function.
13278 (run_lang_tests): Add print elements test.
13279
13280 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
13281
13282 * gdb.python/py-value.exp (test_subscript_regression): New
13283 function. Test for invalid subscripts.
13284 * gdb.python/py-value.c (main): Add test array, and pointer to it.
13285 (ptr_ref): New function.
13286
13287 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13288
13289 * gdb.base/default.exp: Fix "show convenience".
13290
13291 2009-09-15 Tom Tromey <tromey@redhat.com>
13292
13293 * lib/mi-support.exp (mi_create_varobj): Update.
13294 (mi_create_floating_varobj): Likewise.
13295 (mi_create_dynamic_varobj): New proc.
13296 (mi_varobj_update): Update.
13297 (mi_varobj_update_with_type_change): Likewise.
13298 (mi_varobj_update_kv_helper): New proc.
13299 (mi_varobj_update_dynamic_helper): Rewrite.
13300 (mi_varobj_update_dynamic): New proc.
13301 (mi_list_varobj_children): Update.
13302 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
13303 * gdb.python/python-prettyprint.py (pp_outer): New class.
13304 (pp_nullstr): Likewise.
13305 (lookup_function): Register new printers.
13306 * gdb.python/python-prettyprint.c (struct substruct): New type.
13307 (struct outerstruct): Likewise.
13308 (substruct_test): New function.
13309 (struct nullstr): New type.
13310 (string_1, string_2): New globals.
13311 (main): Add new tests.
13312 * gdb.python/python-mi.exp: Added regression tests.
13313 * gdb.mi/mi2-var-display.exp: Update.
13314 * gdb.mi/mi2-var-cmd.exp: Update.
13315 * gdb.mi/mi2-var-child.exp: Update.
13316 * gdb.mi/mi2-var-block.exp: Update.
13317 * gdb.mi/mi-var-invalidate.exp: Update.
13318 * gdb.mi/mi-var-display.exp: Update.
13319 * gdb.mi/mi-var-cmd.exp: Update.
13320 * gdb.mi/mi-var-child.exp: Update.
13321 * gdb.mi/mi-var-block.exp: Update.
13322 * gdb.mi/mi-break.exp: Update.
13323 * gdb.mi/gdb701.exp: Update.
13324
13325 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13326
13327 * Makefile.in: Inclusion of catch-syscall object.
13328 * gdb.base/catch-syscall.c: New file.
13329 * gdb.base/catch-syscall.exp: New file.
13330
13331 2009-09-12 Michael Snyder <msnyder@vmware.com>
13332
13333 * gdb.reverse/step-reverse.exp: Explicitly check for targets
13334 that can support reverse debuggnig.
13335
13336 2009-09-11 Tom Tromey <tromey@redhat.com>
13337
13338 * gdb.dwarf2/valop.S: New file.
13339 * gdb.dwarf2/valop.exp: New file.
13340
13341 2009-09-11 Mark Kettenis <kettenis@gnu.org>
13342
13343 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
13344
13345 2009-09-10 Doug Evans <dje@google.com>
13346
13347 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
13348 Add $gdb_prompt to second breakpoint regexp.
13349
13350 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
13351
13352 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
13353 names, add missing ones.
13354 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
13355 * gdb.python/py-frame.c: Rename from python-frame.c.
13356 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
13357 testfile name.
13358 * gdb.python/py-function.exp: Rename from python-function.exp.
13359 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
13360 testfile name.
13361 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
13362 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
13363 Adjust testfile name.
13364 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
13365 * gdb.python/py-template.cc: Rename from python-template.cc.
13366 * gdb.python/py-template.exp: Rename from python-template.exp.
13367 Adjust testfile name.
13368 * gdb.python/py-value.c: Rename from python-value.c.
13369 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
13370 testfile name.
13371
13372 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13373
13374 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
13375 $bpt2address.
13376 (Second breakpoint address is valid on ia64)
13377 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
13378
13379 2009-09-03 Joseph Myers <joseph@codesourcery.com>
13380
13381 * gdb.base/ending-run.exp: Restrict regular expression matching
13382 line number to require closing brace following.
13383
13384 2009-09-03 Doug Evans <dje@google.com>
13385
13386 * gdb.base/store.exp (check_set): Fix typo in expected value message.
13387
13388 2009-09-02 Tom Tromey <tromey@redhat.com>
13389
13390 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
13391
13392 2009-09-02 Tom Tromey <tromey@redhat.com>
13393
13394 * gdb.dwarf2/callframecfa.exp: New file.
13395 * gdb.dwarf2/callframecfa.S: New file.
13396
13397 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13398
13399 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
13400 gdb.base/solib-overlap-main.c: New.
13401
13402 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
13403
13404 PR gdb/10565
13405
13406 * gdb.base/bitfields.c (struct container, container): New.
13407 (main): Initialize it and call break5.
13408 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
13409
13410 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13411
13412 Support constant DW_AT_data_member_location by GCC PR debug/40659.
13413 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
13414
13415 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13416
13417 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
13418
13419 2009-08-26 Michael Snyder <msnyder@vmware.com>
13420
13421 * gdb.base/i386-reverse.c: New file.
13422 * gdb.base/i386-reverse.exp: New file.
13423 * gdb.base/Makefile.in: Add new files to be removed.
13424
13425 2009-08-26 Joseph Myers <joseph@codesourcery.com>
13426
13427 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
13428 environment-pwd for remote host.
13429 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
13430
13431 2009-08-24 Keith Seitz <keiths@redhat.com>
13432
13433 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
13434 Add two new C++ completer tests which limit the output to a
13435 given class.
13436
13437 2009-08-24 Michael Snyder <msnyder@vmware.com>
13438
13439 * gdb.base/del.exp: Fix typo in comment.
13440 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
13441
13442 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13443
13444 * configure: Regenerate.
13445 * gdb.hp/configure: Likewise.
13446 * gdb.hp/gdb.aCC/configure: Likewise.
13447 * gdb.hp/gdb.base-hp/configure: Likewise.
13448 * gdb.hp/gdb.compat/configure: Likewise.
13449 * gdb.hp/gdb.defects/configure: Likewise.
13450 * gdb.hp/gdb.objdbg/configure: Likewise.
13451 * gdb.stabs/configure: Likewise.
13452
13453 2009-08-19 Doug Evans <dje@google.com>
13454
13455 * gdb.base/gdbvars.c: New file.
13456 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
13457
13458 2009-08-14 Pedro Alves <pedro@codesourcery.com>
13459
13460 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
13461 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
13462
13463 2009-08-13 Pedro Alves <pedro@codesourcery.com>
13464
13465 * gdb.base/default.exp: Adjust "set language test": it's now an
13466 enum command. Larger help string moved to "help set language".
13467 * gdb.base/help.exp: Adjust "help set language" expected output,
13468 now lists all known languages.
13469
13470 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
13471
13472 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
13473 all frame arguments.
13474 * gdb.arch/altivec-regs.exp: Likewise.
13475
13476 2009-08-07 Tom Tromey <tromey@redhat.com>
13477
13478 * gdb.base/setshow.exp: Add tests for changes to set language, set
13479 check range, and set check type.
13480
13481 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
13482
13483 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
13484 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
13485 Call it.
13486
13487 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13488
13489 * configure.ac: Run gdb.cell tests when appropriate.
13490 * configure: Regenerate.
13491 * lib/cell.exp: New file.
13492 * gdb.cell: New directory.
13493 * gdb.cell/configure.ac: New file.
13494 * gdb.cell/configure: New file.
13495 * gdb.cell/Makefile.in: New file.
13496 * gdb.cell/arch.exp: New file.
13497 * gdb.cell/break.c: New file.
13498 * gdb.cell/break.exp: New file.
13499 * gdb.cell/break-spu.c: New file.
13500 * gdb.cell/bt.c: New file.
13501 * gdb.cell/bt2-spu.c: New file.
13502 * gdb.cell/bt-spu.c: New file.
13503 * gdb.cell/bt.exp: New file.
13504 * gdb.cell/coremaker.c: New file.
13505 * gdb.cell/coremaker-spu.c: New file.
13506 * gdb.cell/core.exp: New file.
13507 * gdb.cell/gcore.exp: New file.
13508 * gdb.cell/data.c: New file.
13509 * gdb.cell/data.exp: New file.
13510 * gdb.cell/data-spu.c: New file.
13511 * gdb.cell/ea-cache.exp: New file.
13512 * gdb.cell/ea-cache.c: New file.
13513 * gdb.cell/ea-cache-spu.c: New file.
13514 * gdb.cell/ea-standalone.c: New file.
13515 * gdb.cell/ea-standalone.exp: New file.
13516 * gdb.cell/ea-test.c: New file.
13517 * gdb.cell/ea-test.exp: New file.
13518 * gdb.cell/f-regs.exp: New file.
13519 * gdb.cell/mem-access.c: New file.
13520 * gdb.cell/mem-access.exp: New file.
13521 * gdb.cell/mem-access-spu.c: New file.
13522 * gdb.cell/ptype.exp: New file.
13523 * gdb.cell/registers.exp: New file.
13524 * gdb.cell/size.c: New file.
13525 * gdb.cell/sizeof.exp: New file.
13526 * gdb.cell/size-spu.c: New file.
13527 * gdb.cell/solib.exp: New file.
13528 * gdb.cell/solib-symbol.exp: New file.
13529
13530 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13531
13532 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
13533
13534 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
13535
13536 * gdb.base/float.exp: Handle VFP registers.
13537
13538 2009-07-14 Michael Snyder <msnyder@vmware.com>
13539
13540 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
13541 to bring gdb to the beginning of the calling line.
13542
13543 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
13544 confusing the i386 epilogue unwinder.
13545
13546 2009-07-14 Stan Shebs <stan@codesourcery.com>
13547
13548 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
13549
13550 2009-07-14 Michael Snyder <msnyder@vmware.com>
13551
13552 * gdb.reverse/step-reverse.exp (stepi into function call):
13553 Call instruction may not be first instruction in the line.
13554 (reverse stepi from a function call): Used wrong line number.
13555
13556 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13557
13558 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
13559
13560 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13561
13562 Fix gdb.base/macscp.exp when using custom inputrc.
13563 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
13564 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
13565 env(TERM) set.
13566 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
13567 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
13568
13569 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13570
13571 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
13572 * gdb.base/annota1.exp (thread_test): Import global $testfile.
13573 Change the compilation target to match the testcase name.
13574 * gdb.base/sect-cmd.exp: Change the compilation target to match the
13575 testcase name.
13576 * a2-run.exp: Use for setup prepare_for_testing. Change the
13577 compilation target to match the testcase name.
13578 * gdb.base/commands.exp: Likewise.
13579 * gdb.base/finish.exp: Likewise.
13580 * gdb.base/float.exp: Likewise.
13581 * gdb.base/info-target.exp: Likewise.
13582 * gdb.base/relational.exp: Likewise.
13583 * gdb.base/term.exp: Likewise.
13584 * gdb.base/until.exp: Likewise.
13585 * gdb.base/volatile.exp: Likewise.
13586 * gdb.base/whatis-exp.exp: Likewise.
13587
13588 2009-07-11 Hui Zhu <teawater@gmail.com>
13589
13590 * gdb.base/help.exp (disassemble): Update expected help text.
13591
13592 2009-07-09 Tom Tromey <tromey@redhat.com>
13593
13594 * lib/gdb.exp: Handle TRANSCRIPT.
13595 (remote_spawn, remote_close, send_gdb): New procs.
13596
13597 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
13598
13599 * gdb.python/python-prettyprint.c: Add counted null string
13600 structure.
13601 * gdb.python/python-prettyprint.exp: Print null string. Test for
13602 embedded nulls.
13603 * gdb.python/python-prettyprint.py (pp_ns): New Function.
13604 * gdb.python/python-value.exp (test_value_in_inferior): Add
13605 variable length string fetch tests.
13606 * gdb.python/python-value.c (main): Add strings for string fetch tests.
13607
13608 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13609
13610 * gdb.base/dump.exp (inaccessible memory is reported): New test.
13611
13612 2009-07-07 Tom Tromey <tromey@redhat.com>
13613
13614 * gdb.base/call-rt-st.exp: Update for change to escape output.
13615 * gdb.base/callfuncs.exp: Likewise.
13616 * gdb.base/charset.exp: Likewise.
13617 * gdb.base/constvars.exp: Likewise.
13618 * gdb.base/long_long.exp: Likewise.
13619 * gdb.base/pointers.exp: Likewise.
13620 * gdb.base/printcmds.exp: Likewise.
13621 * gdb.base/setvar.exp: Likewise.
13622 * gdb.base/store.exp: Likewise.
13623 * gdb.cp/ref-types.exp: Likewise.
13624 * gdb.mi/mi-var-child.exp: Likewise.
13625 * gdb.mi/mi-var-display.exp: Likewise.
13626 * gdb.mi/mi2-var-display.exp: Likewise.
13627 * gdb.base/charset.exp: Test octal escape sequence length.
13628 Update for change to escape output.
13629
13630 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13631
13632 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
13633
13634 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
13635
13636 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
13637
13638 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13639
13640 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
13641 gdbserver increasing $portnum if "Can't bind address" has been seen.
13642
13643 2009-07-05 Pedro Alves <pedro@codesourcery.com>
13644
13645 * gdb.base/ending-run.exp: Add "step out of main" pattern for
13646 mingw32ce.
13647
13648 2009-07-05 Pedro Alves <pedro@codesourcery.com>
13649
13650 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
13651 VFP format.
13652
13653 2009-07-02 Pedro Alves <pedro@codesourcery.com>
13654
13655 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
13656 linux. Adjust to use "inferior", "info inferiors", "detach
13657 inferior" and "kill inferior" instead of "restart", "info fork",
13658 "detach fork" and "delete fork".
13659 * gdb.base/ending-run.exp: Spell out "info".
13660 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
13661 the "kill" command.
13662
13663 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13664
13665 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
13666 change to prefix TLS offset in hex with 0x.
13667
13668 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13669
13670 * gdb.base/default.exp: Update test case for "x" changes.
13671
13672 2009-07-01 Tristan Gingold <gingold@adacore.com>
13673
13674 * gdb.base/bigcore.exp: Make darwin untested.
13675
13676 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13677
13678 * gdb.base/completion.exp (directory completion): Create the directory.
13679 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
13680 escapeuniquesub.
13681 (directory completion 2): Expect now ${escapeuniquesub}.
13682 (Glob remaining of directory test): Remove one excessive newline.
13683 Expect the real output.
13684
13685 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13686
13687 Fix `make check//%' target after `make check' has been ran.
13688 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
13689 a mkdir call.
13690 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
13691 (%/.dir): Remove.
13692
13693 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13694
13695 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
13696 the expected result record.
13697
13698 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13699
13700 Remove racy FAILs relying just on the timeouts.
13701 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
13702 (annotation_level 2): Remove racy FAILs.
13703
13704 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13705
13706 gdb/10275
13707 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
13708
13709 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
13710
13711 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
13712
13713 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
13714
13715 * gdb.mi/mi-stack.exp: Testing symbolic options
13716 to -stack-list-locals and -stack-list-arguments.
13717
13718 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13719
13720 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
13721
13722 2009-06-29 Tom Tromey <tromey@redhat.com>
13723
13724 * dg-extract-results.sh: New file.
13725 * Makefile.in (FORCE_PARALLEL): New variable.
13726 (CHECK_TARGET): New conditional variable.
13727 (check): Use CHECK_TARGET.
13728 (DO_RUNTEST): New variable.
13729 (check-single): New target.
13730 (TEST_DIRS): New variable.
13731 (TEST_TARGETS): Likewise.
13732 (check-parallel): New target.
13733 (check-gdb.%): New pattern.
13734 (BASE1_FILES): New variable.
13735 (BASE2_FILES): Likewise.
13736 (check-gdb.base%): New pattern.
13737 (%/.dir): New pattern.
13738 * configure: Rebuild.
13739 * aclocal.m4 (AM_CONDITIONAL): New defun.
13740 * configure.ac: Check whether user is using GNU make.
13741 (GMAKE): New conditional.
13742
13743 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
13744
13745 * gdb.cp/namespace-nested-import.cc: New test.
13746 * gdb.cp/namespace-nested-import.exp: New test.
13747
13748 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
13749
13750 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
13751 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
13752 * gdb.opt/Makefile.in (EXECUTABLES): Update.
13753 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
13754 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
13755 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
13756 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
13757 gdb.opt/inline-markers.c: New files.
13758 * lib/gdb.exp (skip_inline_frame_tests): New function.
13759 (skip_inline_var_tests): New function.
13760
13761 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
13762
13763 * gdb.cp/exception.exp: Don't require $hex before inner frame in
13764 backtrace.
13765
13766 2009-06-27 Michael Snyder <msnyder@vmware.com>
13767
13768 * gdb.reverse: New directory.
13769 * gdb.reverse/break-reverse.c: New test.
13770 * gdb.reverse/break-reverse.exp: New test.
13771 * gdb.reverse/consecutive-reverse.c: New test.
13772 * gdb.reverse/consecutive-reverse.exp: New test.
13773 * gdb.reverse/finish-reverse.c: New test.
13774 * gdb.reverse/finish-reverse.exp: New test.
13775 * gdb.reverse/machinestate.c: New test.
13776 * gdb.reverse/ms1.c: New test.
13777 * gdb.reverse/machinestate.exp: New test.
13778 * gdb.reverse/Makefile.in: New file.
13779 * gdb.reverse/shr2.c: New test.
13780 * gdb.reverse/solib-reverse.c: New test.
13781 * gdb.reverse/solib-reverse.exp: New test.
13782 * gdb.reverse/step-reverse.c: New test.
13783 * gdb.reverse/step-reverse.exp: New test.
13784 * gdb.reverse/until-reverse.c: New test.
13785 * gdb.reverse/ur1.c: New test.
13786 * gdb.reverse/until-reverse.exp: New test.
13787 * gdb.reverse/watch-reverse.c: New test.
13788 * gdb.reverse/watch-reverse.exp: New test.
13789 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
13790 * configure: Regenerate.
13791
13792 2009-06-26 Doug Evans <dje@google.com>
13793
13794 * gdb.base/psymtab.exp: Turn off pending breakpoints.
13795
13796 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
13797
13798 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
13799 windows problem for 'file delete $binfile'.
13800
13801 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
13802
13803 * gdb.cp/namespace-using.exp: New test.
13804 * gdb.cp/namespace-using.cc: New test.
13805
13806 2009-05-20 Joel Brobecker <brobecker@adacore.com>
13807
13808 * gdb.ada/variant_record_packed_array: New testcase.
13809
13810 2009-06-23 Tom Tromey <tromey@redhat.com>
13811
13812 * gdb.base/charset.exp (test_combination): Regression test.
13813 * gdb.base/charset.c (my_wchar_t): New typedef.
13814 (myvar): New global.
13815 (main): Set myvar.
13816
13817 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
13818
13819 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
13820 target.
13821
13822 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13823
13824 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
13825
13826 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13827
13828 * gdb.mi/gdb680.exp: Update test for error message.
13829
13830 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13831
13832 * gdb.base/annota1.exp: Allow multiple occurrences of the
13833 frames-invalid annotation.
13834 * gdb.cp/annota2.exp: Likewise.
13835
13836 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
13837
13838 * gdb.cp/gdb2495.cc: New file.
13839 * gdb.cp/gdb2495.exp: New file.
13840
13841 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13842
13843 Report error on GDB crash during runto.
13844 * lib/gdb.exp (runto <eof>): New.
13845
13846 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
13847
13848 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
13849 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
13850 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
13851 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
13852 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
13853 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
13854 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
13855 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
13856 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
13857 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
13858 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
13859 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
13860 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
13861 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
13862 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
13863 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
13864 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
13865 gdb.server/server-mon.exp, gdb.server/server-run.exp,
13866 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
13867 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
13868 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
13869 gdb.trace/passcount.exp, gdb.trace/report.exp,
13870 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
13871 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
13872 gdb.trace/while-stepping.exp: Use a unique name for the compiled
13873 executable.
13874
13875 2009-06-07 Pedro Alves <pedro@codesourcery.com>
13876
13877 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
13878 defined before referencing it.
13879
13880 2009-06-03 Doug Evans <dje@google.com>
13881
13882 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
13883 * gdb.arch/i386-see.c: Ditto.
13884
13885 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
13886
13887 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
13888 (check_macro): Return 1 if undefined.
13889 If first test fails, check if macro debug information is available,
13890 and report unsupported test if no macro information is found.
13891
13892 2009-05-29 Doug Evans <dje@google.com>
13893
13894 * gdb.threads/hand-call-in-threads.exp: New.
13895 * gdb.threads/hand-call-in-threads.c: New.
13896
13897 2009-05-29 Michael Snyder <msnyder@vmware.com>
13898
13899 * gdb.base/break-always.exp: Change "1" to "on".
13900 Add confirmation check.
13901
13902 2009-05-28 Pedro Alves <pedro@codesourcery.com>
13903
13904 * gdb.threads/threxit-hop-specific.c: New.
13905 * gdb.threads/threxit-hop-specific.exp: New.
13906 * gdb.threads/thread-execl.c: New.
13907 * gdb.threads/thread-execl.exp: New.
13908
13909 2009-05-27 Tom Tromey <tromey@redhat.com>
13910 Thiago Jung Bauermann <bauerman@br.ibm.com>
13911
13912 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
13913 (mi_child_regexp): Likewise.
13914 (mi_list_varobj_children_range): Likewise.
13915 (mi_get_features): Likewise.
13916 (mi_list_varobj_children): Rewrite.
13917 * gdb.python/python-mi.exp: New file.
13918
13919 2009-05-27 Tom Tromey <tromey@redhat.com>
13920 Thiago Jung Bauermann <bauerman@br.ibm.com>
13921 Phil Muldoon <pmuldoon@redhat.com>
13922 Paul Pluzhnikov <ppluzhnikov@google.com>
13923
13924 * gdb.python/python-prettyprint.exp: New file.
13925 * gdb.python/python-prettyprint.c: New file.
13926 * gdb.python/python-prettyprint.py: New file.
13927 * gdb.base/display.exp: print/r is now valid.
13928
13929 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
13930 Tom Tromey <tromey@redhat.com>
13931 Pedro Alves <pedro@codesourcery.com>
13932 Paul Pluzhnikov <ppluzhnikov@google.com>
13933
13934 * gdb.python/python-template.exp: New file.
13935 * gdb.python/python-template.cc: New file.
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 (test_value_after_death): New proc.
13941 * gdb.python/python-value.c (PTR): New typedef.
13942 (main): New variable 'x'.
13943
13944 2009-05-27 Tom Tromey <tromey@redhat.com>
13945
13946 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
13947 tests.
13948 * gdb.python/python-value.exp (py_objfile_tests): New proc.
13949 Call it.
13950
13951 2009-05-27 Pedro Alves <pedro@codesourcery.com>
13952
13953 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
13954
13955 2009-05-24 Pedro Alves <pedro@codesourcery.com>
13956
13957 * gdb.threads/fork-thread-pending.c: New.
13958 * gdb.threads/fork-thread-pending.exp: New.
13959
13960 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13961
13962 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
13963 * gdb.dwarf2/dw2-strp.S (a_string2): New.
13964
13965 2009-05-18 Jon Beniston <jon@beniston.com>
13966
13967 * gdb.asm/asm-source.exp: Add lm32 target.
13968
13969 2009-05-17 Pedro Alves <pedro@codesourcery.com>
13970
13971 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
13972 `gdb_get_line_number'. Call `callee' in both parent and child.
13973 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
13974 `gdb_get_line_number' instead of hardcoding line numbers.
13975 (catch_fork_unpatch_child): New procedure to test detaching
13976 breakpoints from child fork.
13977 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
13978 hardcoding line numbers.
13979 (do_fork_tests): Run `catch_fork_unpatch_child'.
13980
13981 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
13982
13983 * gdb.mi/mi-cmd-var.exp: Check that when varobj
13984 of structure type enters or leaves the scope, it
13985 is reported by -var-update.
13986
13987 2009-05-11 Doug Evans <dje@sebabeach.org>
13988
13989 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
13990 * gdb.threads/pending-step.c (main): Fix off-by-one error.
13991 * gdb.threads/schedlock.c (main): Fix off-by-one error.
13992
13993 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13994
13995 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
13996
13997 2009-04-30 Doug Evans <dje@google.com>
13998
13999 * gdb.threads/watchthreads2.exp: New testcase.
14000 * gdb.threads/watchthreads2.c: New testcase.
14001
14002 2009-04-29 Doug Evans <dje@google.com>
14003
14004 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
14005 * gdb.cp/mb-ctor.cc: Ditto.
14006 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
14007 * gdb.cp/mb-inline.h (multi_line_foo): New function.
14008 * gdb.cp/mb-inline1.cc: Call it.
14009 * gdb.cp/mb-inline2.cc: Ditto.
14010 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
14011 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
14012
14013 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14014
14015 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
14016 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
14017 Replace all uses of `decimal' by `nonzero'.
14018 (info macro FROM_COMMANDLINE): New test.
14019
14020 2009-04-27 Tom Tromey <tromey@redhat.com>
14021
14022 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
14023
14024 2009-04-27 Doug Evans <dje@google.com>
14025
14026 * gdb.threads/watchthreads.c (main): Initialize args before starting
14027 the threads. Plus formatting cleanup.
14028 * gdb.threads/watchthreads.exp: Avoid errant failures due to
14029 biased scheduling of one thread.
14030
14031 2009-04-27 Jerome Guitton <guitton@adacore.com>
14032
14033 * gdb.cp/templates.cc (GetMax): New template.
14034 (main): Declare two instances of GetMax.
14035 * gdb.cp/templates.exp: Add new test.
14036
14037 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14038
14039 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
14040
14041 2009-04-22 Joseph Myers <joseph@codesourcery.com>
14042
14043 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
14044
14045 2009-04-15 Tom Tromey <tromey@redhat.com>
14046
14047 * gdb.base/charset.exp: Add regression test.
14048
14049 2009-04-14 Joel Brobecker <brobecker@adacore.com>
14050
14051 * gdb.base/exe-lock.exp: New testcase.
14052
14053 2009-04-13 Tom Tromey <tromey@redhat.com>
14054
14055 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
14056 operator on Frame.
14057
14058 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14059
14060 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
14061 * gdb.server/ext-attach.exp: Likewise.
14062
14063 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
14064
14065 Eliminate some sleep usage.
14066
14067 * gdb.mi/basics.c (do_nothing): New.
14068 (main): Use do_nothing instead of printf, so that
14069 not to introduce race condition between output of
14070 inferiour and output of gdb. Do not use sleep as it
14071 is not generally available on embedded targets.
14072
14073 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14074
14075 * gdb.server/ext-attach.exp: Expect an optional process id after
14076 "Detached from remote process".
14077
14078 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14079
14080 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
14081 gdb.dwarf2/dw2-unresolved.exp: New.
14082
14083 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14084
14085 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
14086 mi_run_to_main.
14087
14088 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14089
14090 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
14091 mi_run_to_main. Skip thread exit test on remote targets.
14092 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
14093 mi_run_to_main.
14094 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
14095 mi_run_to_main.
14096 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
14097 when expecting ^connected. Detect when the target doesn't support
14098 non-stop mode.
14099 (mi_run_cmd): Detect if non-stop mode was requested by isn't
14100 supported. Return -1 on error, 0 on success.
14101 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
14102 (mi_runto): Return mi_runto_helper's result explicitly.
14103
14104 2009-04-01 Pedro Alves <pedro@codesourcery.com>
14105
14106 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
14107
14108 2009-04-01 Tom Tromey <tromey@redhat.com>
14109
14110 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
14111 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
14112 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
14113 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
14114
14115 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
14116 Jan Kratochvil <jan.kratochvil@redhat.com>
14117
14118 PR gdb/931
14119 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
14120 output.
14121 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
14122 for gdb/931.
14123 * dw2-strp.S (DW_AT_language): Change to C++.
14124 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
14125
14126 2009-03-31 Joel Brobecker <brobecker@adacore.com>
14127
14128 * gdb.ada/tasks: New testcase.
14129
14130 2009-03-30 Stan Shebs <stan@codesourcery.com>
14131
14132 * gdb.trace/actions.exp: Update to match new info trace format.
14133 * gdb.trace/deltrace.exp: Ditto.
14134 * gdb.trace/infotrace.exp: Ditto.
14135 * gdb.trace/passcount.exp: Ditto.
14136 * gdb.trace/save-trace.exp: Ditto.
14137 * gdb.trace/while-stepping.exp: Ditto.
14138 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
14139
14140 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14141
14142 * gdb.python/python-frame.c: New file.
14143 * gdb.python/python-frame.exp: New file.
14144
14145 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
14146
14147 * gdb.python/python-value.exp: Add tests for the address
14148 attribute.
14149
14150 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
14151
14152 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
14153
14154 2009-03-26 Doug Evans <dje@google.com>
14155
14156 * gdb.mi/mi-nonstop-exit.exp: New file.
14157 * gdb.mi/non-stop-exit.c: New file.
14158
14159 2009-03-26 Tom Tromey <tromey@redhat.com>
14160
14161 Update for change to prologue skipping:
14162 * gdb.mi/mi2-simplerun.exp: Update.
14163 * gdb.mi/mi2-break.exp: Update.
14164 * gdb.mi/mi-simplerun.exp: Update.
14165 * gdb.mi/mi-break.exp: Update.
14166 * gdb.base/ending-run.exp: Update.
14167
14168 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
14169
14170 * gdb.python/python-value.exp (test_value_in_inferior): Test
14171 gdb.Value.is_optimized_out attribute.
14172
14173 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14174
14175 * gdb.dwarf2/dw2-noloc-main.c: New file.
14176 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
14177 (.text): Remove.
14178 (.data): New.
14179 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
14180 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
14181 (DW_TAG_subprogram func_cu1, noloc): Remove.
14182 (main): New.
14183 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
14184 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
14185 (file_symbols): New procedure.
14186
14187 2009-03-25 Tom Tromey <tromey@redhat.com>
14188
14189 * gdb.base/charset.exp (valid_target_charset): New proc.
14190 Use it to skip tests on invalid charsets.
14191
14192 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
14193
14194 * gdb.base/completion.exp: Add a test for directory completion.
14195
14196 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14197
14198 Fix a racy FAIL.
14199 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
14200 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
14201
14202 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
14203
14204 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
14205 * gdb.python/python-function.exp: Add test for function returning
14206 a GDB value.
14207
14208 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
14209
14210 * gdb.python/python-function.exp: New file.
14211
14212 2009-03-20 Tom Tromey <tromey@redhat.com>
14213
14214 * gdb.base/store.exp: Update for change to escape output.
14215 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
14216 to escape output.
14217 * gdb.base/pointers.exp: Update for change to escape output.
14218 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
14219 to escape output.
14220 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
14221 escape output.
14222 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
14223 to escape output.
14224 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
14225 escape output.
14226 * gdb.base/setvar.exp: Update for change to escape output.
14227 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
14228 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
14229 to escape output.
14230 (test_print_string_constants): Likewise.
14231 * gdb.base/charset.exp (valid_host_charset): Check size of
14232 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
14233 cases. Handle "auto"-related output.
14234 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
14235 (uvar, Uvar): New globals.
14236
14237 2009-03-19 Jerome Guitton <guitton@adacore.com>
14238
14239 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
14240 deltas.
14241 * gdb.ada/fixed_points.exp: Ditto.
14242
14243 2009-03-18 Pedro Alves <pedro@codesourcery.com>
14244
14245 * return-nodebug.c: Don't include stdio.h.
14246 (init): Delete.
14247 (func): Delete definition and provide extern declaration.
14248 (t): New.
14249 (main): Don't call printf. Call func and store its result in t.
14250 * return-nodebug1.c: New.
14251 * return-nodebug.exp: Don't expect stdio output. Instead, print
14252 the global variable t. Drop printf formatters and cast types from
14253 foreach loop. Don't use prepare_for_testing. Compile
14254 return-nodebug.c and return-nodebug1.c in separate steps. Don't
14255 define FORMAT or CAST.
14256
14257 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14258
14259 * gdb.base/solib-display.exp: Disable test for remote targers.
14260
14261 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14262
14263 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
14264
14265 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14266
14267 Fix a racy FAIL.
14268 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
14269 code from `follow parent, print pids'.
14270 (`follow child, print pids', `follow parent, print pids'): Call it.
14271 Replace `gdb_test "break..."' by gdb_breakpoint.
14272
14273 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
14274
14275 * gdb.mi/mi-cli.exp: Adjust for output difference in
14276 sync and async modes.
14277
14278 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14279
14280 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
14281 that was checked in by mistake. Remove loading of ada.exp, since
14282 this is not necessary in this case.
14283
14284 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14285
14286 * gdb.ada/ptype_arith_binop.exp: New testcase.
14287
14288 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14289
14290 * gdb.ada/mod_from_name: New testcase.
14291
14292 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14293
14294 * gdb.ada/tick_last_segv: New testcase.
14295
14296 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
14297
14298 * gdb.mi/mi-cli.exp: Remove debug print.
14299
14300 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
14301
14302 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
14303 include the token in ^running and frame info in *stopped.
14304
14305 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14306
14307 * solib-display.exp: New file.
14308 * solib-display-main.c: New file.
14309 * solib-display-lib.c: New file.
14310
14311 2009-03-05 Pedro Alves <pedro@codesourcery.com>
14312
14313 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
14314
14315 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
14316
14317 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
14318 (list_and_check_macro): Use more specific test name.
14319 (next to definition): Make the test names unique.
14320
14321 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
14322
14323 * gdb.pascal/floats.exp: Accept approximate results everywhere.
14324
14325 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
14326
14327 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
14328 notifications.
14329 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
14330 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
14331 * lib/mi-support.exp (library_loaded_re): New.
14332 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
14333
14334 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
14335
14336 * gdb.gdb/observer.exp: Use test_notification observer, not
14337 normal_stop, everywhere.
14338 (test_normal_stop_notifications): Rename to...
14339 (test_notifications): ...this.
14340 (test_observer_normal_stop): Rename to...
14341 (test_observer): ...this.
14342
14343 2009-02-16 Doug Evans <dje@google.com>
14344
14345 * gdb.arch/amd64-disp-step.S (test_int3): New test.
14346 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
14347 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
14348 (test_prefixed_syscall,test_int3): New tests.
14349 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
14350 (test_prefixed_syscall,test_int3): New tests.
14351
14352 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
14353
14354 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
14355 (mi_expect_interrupt): Likewise.
14356 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
14357 response.
14358
14359 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
14360
14361 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
14362 * gdb.base/pc-fp.exp (get_valueofx): Remove.
14363 Replace calls to get_valueofx by get_hexadecimal_valueof.
14364
14365 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
14366
14367 * lib/gdb.exp (get_valueof): Accept anything as a return value.
14368 (get_integer_valueof): New procedure.
14369 (get_sizeof): Use new get_integer_value_of.
14370 * gdb.base/sizeof.exp: Replace all uses of get_valueof
14371 by get_integer_valueof.
14372
14373 2009-02-13 Tom Tromey <tromey@redhat.com>
14374
14375 * gdb.base/remote.exp (get_sizeof): Remove.
14376 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
14377 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
14378 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
14379 * lib/gdb.exp (get_valueof): Move from long_long.exp.
14380 (get_sizeof): Likewise.
14381
14382 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14383
14384 PR fortran/9806
14385 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
14386
14387 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14388
14389 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
14390
14391 2009-02-06 Pedro Alves <pedro@codesourcery.com>
14392
14393 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
14394
14395 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
14396
14397 * gdb.python/python-cmd.exp: New file.
14398
14399 2009-02-06 Tristan Gingold <gingold@adacore.com>
14400
14401 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
14402
14403 2009-02-05 Tristan Gingold <gingold@adacore.com>
14404
14405 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
14406 pointer is dereferenced and use this signal name in regexp.
14407 * gdb.base/signull.exp: Ditto.
14408 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
14409 * gdb.base/signull.c (main): Ditto.
14410
14411 2009-02-04 Tom Tromey <tromey@redhat.com>
14412 Thiago Jung Bauermann <bauerman@br.ibm.com>
14413
14414 * gdb.python/python-value.exp: Use `gdb.history' instead of
14415 `gdb.value_from_history'.
14416 (test_value_numeric_ops): Add test for conversion of enum constant.
14417 * gdb.python/python-value.c (enum e): New type.
14418 (evalue): New global.
14419 (main): Use argv.
14420
14421 2009-02-04 Jerome Guitton <guitton@adacore.com>
14422
14423 * gdb.ada/uninitialized_vars: New test program.
14424 * gdb.ada/uninitialized_vars.exp: New testcase.
14425
14426 2009-02-02 Tom Tromey <tromey@redhat.com>
14427
14428 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
14429 * gdb.cp/pr2489.cc: Rename...
14430 * gdb.cp/pr9594.cc: ... to this.
14431
14432 2009-02-02 Tom Tromey <tromey@redhat.com>
14433
14434 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
14435 * gdb.cp/pr2489.cc: New file.
14436 * gdb.cp/cpcompletion.exp: New file.
14437
14438 2009-02-02 Tom Tromey <tromey@redhat.com>
14439
14440 PR exp/9059:
14441 * gdb.cp/call-c.exp: Add regression test.
14442 * gdb.cp/call-c.cc (FooHandle): New typedef.
14443 (main): New variable 'handle'.
14444
14445 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
14446
14447 * lib/mi-support.exp (et_mi_thread_list)
14448 (check_mi_and_console_threads): Adjust for current thread in
14449 -thread-list-ids output.
14450
14451 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
14452
14453 * gdb.mi/mi-break.exp (test_disabled_creation): New.
14454 Call it.
14455
14456 2009-01-28 Doug Evans <dje@google.com>
14457
14458 * gdb.arch/amd64-disp-step.S: New file.
14459 * gdb.arch/amd64-disp-step.exp: New file.
14460 * gdb.arch/i386-disp-step.S: New file.
14461 * gdb.arch/i386-disp-step.exp: New file.
14462
14463 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
14464
14465 * gdb.base/find.exp: Set newline variable
14466 using quotes instead of braces to fix cygwin failures.
14467
14468 2009-01-23 Pedro Alves <pedro@codesourcery.com>
14469
14470 * gdb.base/radix.exp: Add tests to ensure that that set
14471 input-radix 0 and set output-radix 0 are really rejected.
14472
14473 2009-01-23 Pedro Alves <pedro@codesourcery.com>
14474
14475 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
14476 copyright years.
14477
14478 2009-01-23 Pedro Alves <pedro@codesourcery.com>
14479
14480 PR gdb/9664:
14481 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
14482
14483 2009-01-22 Pedro Alves <pedro@codesourcery.com>
14484
14485 PR c++/9631:
14486 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
14487
14488 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
14489
14490 * gdb.server/file-transfer.exp: Use EXEEXT variable for
14491 binfile definition to fix Windows OS failure.
14492
14493 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
14494
14495 PR gdb/9346
14496 * gdb.base/interrupt.c (sigint_handler): New.
14497 (main): Install a SIGINT handler if SIGNALS is defined. Exit
14498 on error.
14499 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
14500 Test "signal SIGINT".
14501
14502 2009-01-19 Doug Evans <dje@google.com>
14503
14504 * gdb.base/break.exp: Update expected gdb output.
14505 * gdb.base/sepdebug.exp: Ditto.
14506 * gdb.mi/mi-syn-frame.exp: Ditto.
14507 * gdb.mi/mi2-syn-frame.exp: Ditto.
14508 * gdb.base/call-signal-resume.exp: New file.
14509 * gdb.base/call-signals.c: New file.
14510 * gdb.base/unwindonsignal.exp: New file.
14511 * gdb.base/unwindonsignal.c: New file.
14512 * gdb.threads/interrupted-hand-call.exp: New file.
14513 * gdb.threads/interrupted-hand-call.c: New file.
14514 * gdb.threads/thread-unwindonsignal.exp: New file.
14515
14516 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
14517
14518 * gdb.base/define.exp: Test defining and hooking prefix commands.
14519 * gdb.python/python.exp: Update test for "show user" output.
14520
14521 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14522
14523 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
14524 now the output exactly, using less wildcards. Expect also the output
14525 of gfortran-4.3. Update for the f-valprint.c modification from
14526 2008-04-22.
14527 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
14528 Remove gdb_test test names where matching the command.
14529
14530 2009-01-01 Pedro Alves <pedro@codesourcery.com>
14531
14532 PR breakpoints/9681:
14533 * gdb.base/watchpoint.exp: Add regression test.
14534
14535 2008-12-31 Pedro Alves <pedro@codesourcery.com>
14536
14537 * gdb.threads/attach-into-signal.exp: Don't use
14538 gdb_suppress_entire_file.
14539 * gdb.threads/attach-stopped.exp: Ditto.
14540 * gdb.threads/attachstop-mt.exp: Ditto.
14541
14542 2008-12-31 Pedro Alves <pedro@codesourcery.com>
14543
14544 PR gdb/8812:
14545 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
14546
14547 2008-12-29 Pedro Alves <pedro@codesourcery.com>
14548
14549 PR gdb/7536:
14550 * gdb.base/radix.exp: Add tests to ensure invalid input radices
14551 and unsupported output radices are really rejected.
14552
14553 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14554
14555 * gdb.cp/punctuator.exp: Backslash the '$' signs.
14556
14557 2008-12-22 Tom Tromey <tromey@redhat.com>
14558
14559 * gdb.cp/punctuator.exp: New file.
14560
14561 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14562
14563 * gdb.base/completion.exp (Completing non-existing component): New test.
14564
14565 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14566
14567 Fix for PR gdb/8648.
14568 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
14569 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
14570 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
14571 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
14572
14573 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14574
14575 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
14576
14577 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
14578
14579 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
14580 compiler actually generate code at the expected line number.
14581
14582 2008-12-15 Jie Zhang <jie.zhang@analog.com>
14583
14584 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
14585
14586 2008-12-12 Tom Tromey <tromey@redhat.com>
14587
14588 * gdb.base/commands.exp (redefine_hook_test): New proc.
14589 Call it.
14590
14591 2008-12-11 Tom Tromey <tromey@redhat.com>
14592
14593 * gdb.base/macscp.exp: New regression test.
14594
14595 2008-12-11 Tom Tromey <tromey@redhat.com>
14596
14597 * gdb.base/macscp.exp: Print "address.addr".
14598 * gdb.base/macscp1.c (struct outer): New struct.
14599 (address): New global.
14600
14601 2008-12-09 Tom Tromey <tromey@redhat.com>
14602
14603 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
14604 Call it.
14605
14606 2008-12-04 Doug Evans <dje@google.com>
14607
14608 * gdb.server/ext-run.exp: Relax regexp for init program.
14609
14610 2008-12-03 Tristan Gingold <gingold@adacore.com>
14611
14612 * gdb.base/macscp.exp: Generate an object file during compilation
14613 to work around Darwin dsymutil limitations.
14614
14615 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14616
14617 Test resolving external references to TLS variables.
14618 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
14619 FILE2_THREAD_LOCAL.
14620 (testfile2, srcfile2): New variables.
14621 * gdb.threads/tls.c (file2_thread_local)
14622 (function_referencing_file2_thread_local): New.
14623 * gdb.threads/tls2.c: New file.
14624
14625 2008-11-28 Joel Brobecker <brobecker@adacore.com>
14626
14627 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
14628 rather than integer, as integer might not be big enough when
14629 on 64bit targets.
14630
14631 2008-11-27 Jerome Guitton <guitton@adacore.com>
14632
14633 * gdb.cp/formatted-ref.exp: Add equality test.
14634 * gdb.ada/formatted_ref.exp: Ditto.
14635
14636 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14637
14638 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
14639 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
14640
14641 2008-11-20 Andreas Schwab <schwab@suse.de>
14642
14643 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
14644 matching syscall entry point.
14645 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14646 (tcatch_vfork_then_child_follow): Likewise. Finish through
14647 vfork even if we stopped at the syscall trampoline.
14648
14649 2008-11-20 Doug Evans <dje@google.com>
14650
14651 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
14652
14653 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
14654
14655 * gdb.arch/ppc-dfp.exp: New file.
14656 * gdb.arch/ppc-dfp.c: New file.
14657
14658 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14659
14660 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
14661
14662 2008-11-17 Doug Evans <dje@google.com>
14663
14664 * gdb.mi/mi-syn-frame.exp: Update expected output.
14665 * gdb.mi/mi2-syn-frame.exp: Update expected output.
14666
14667 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
14668
14669 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
14670 "thread N" results in =thread-selected.
14671 * lib/mi-support (mi_run_cmd, mi_expect_stop)
14672 (mi_send_resuming_command_raw): Be prepared for
14673 =thread-selected.
14674
14675 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
14676
14677 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
14678 * lib/mi-support.exp: Likewise.
14679
14680 2008-11-16 Joel Brobecker <brobecker@adacore.com>
14681
14682 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
14683 commands from the expected output for "help catch".
14684
14685 2008-11-15 Joel Brobecker <brobecker@adacore.com>
14686
14687 * gdb.ada/int_deref.exp: New testcase.
14688
14689 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
14690
14691 * gdb.mi/gdb2549.exp: New file.
14692
14693 2008-11-11 Doug Evans <dje@google.com>
14694
14695 * gdb.base/callexit.exp: New file.
14696 * gdb.base/callexit.c: New file.
14697
14698 2008-11-10 Doug Evans <dje@google.com>
14699
14700 * lib/gdb.exp (GDBFLAGS): Move -nx ...
14701 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
14702 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
14703 (default_gdb_start,default_gdb_exit): Ditto.
14704 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
14705 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
14706 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
14707 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
14708 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
14709 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
14710
14711 2008-11-03 Andreas Schwab <schwab@suse.de>
14712
14713 * gdb.base/hashline2.exp: Fix typo.
14714 * gdb.base/hashline3.exp: Likewise.
14715
14716 2008-10-30 Tom Tromey <tromey@redhat.com>
14717
14718 * gdb.base/pointers.exp: Add test.
14719 * gdb.base/pointers.c (k, S): New typedefs.
14720 (instance): New global.
14721
14722 2008-10-30 Andreas Schwab <schwab@suse.de>
14723
14724 * gdb.base/args.exp: Add tests for newlines.
14725
14726 2008-10-30 Joel Brobecker <brobecker@adacore.com>
14727
14728 gdb.base/foll-exec.exp: Update the expected output of a couple
14729 of "info breakpoints" tests.
14730
14731 2008-10-28 Tom Tromey <tromey@redhat.com>
14732
14733 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
14734
14735 2008-10-24 Pedro Alves <pedro@codesourcery.com>
14736
14737 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
14738 gdb_start_cmd.
14739 Use runto_main before any test that requires execution.
14740
14741 2008-10-23 Pedro Alves <pedro@codesourcery.com>
14742
14743 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
14744 instead of SIGINT.
14745
14746 2008-10-22 Joel Brobecker <brobecker@adacore.com>
14747
14748 * gdb.base/completion.exp: Update expected output following
14749 the addition of the "info tasks" command.
14750
14751 2008-10-22 Tom Tromey <tromey@redhat.com>
14752
14753 * gdb.base/exprs.exp (test_expr): Add test for string
14754 concatenation.
14755
14756 2008-10-19 Pedro Alves <pedro@codesourcery.com>
14757
14758 * configure.ac: Output gdb.python/Makefile.
14759 * configure: Regenerate.
14760 * gdb.python/Makefile.in: New.
14761
14762 2008-10-16 Joel Brobecker <brobecker@adacore.com>
14763
14764 * gdb.base/foll-fork.exp: Adjust the expected output to match
14765 the new description for fork/vfork catchpoints in the "info
14766 breakpoints" output.
14767
14768 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14769
14770 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
14771
14772 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
14773
14774 * gdb.python/python-value.c: New file.
14775 * gdb.python/python-value.exp: New file.
14776
14777 2008-10-15 Pedro Alves <pedro@codesourcery.com>
14778
14779 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
14780
14781 2008-10-15 Denis Pilat <denis.pilat@st.com>
14782
14783 * gdb.cp/mb-ctor.exp: Fix a typo.
14784
14785 2008-10-09 Tom Tromey <tromey@redhat.com>
14786
14787 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
14788 'fprintf' and 'stderr'.
14789
14790 2008-10-07 Joel Brobecker <brobecker@adacore.com>
14791
14792 * gdb.ada/ref_tick_size.exp: New testcase.
14793
14794 2008-10-06 Doug Evans <dje@google.com>
14795
14796 * gdb.dwarf2/dw2-cu-size.exp: New file.
14797 * gdb.dwarf2/dw2-cu-size.S: New file.
14798
14799 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
14800 .Ltype_int for clarity.
14801
14802 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
14803
14804 PR gdb/2384:
14805 * gdb.cp/gdb2384.exp: Extended to test more cases.
14806 * gdb.cp/gdb2384.cc: Likewise.
14807 * gdb.cp/gdb2384-base.h: Likewise.
14808 * gdb.cp/gdb2384-base.cc: Likewise.
14809
14810 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14811
14812 * gdb.base/maint.exp (maint print type): Remove printing
14813 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
14814
14815 2008-09-30 Tom Tromey <tromey@redhat.com>
14816
14817 * gdb.base/macscp.exp: Add completion tests.
14818 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
14819 (TWENTY_THREE): Likewise.
14820 (FORTY_EIGHT): Likewise.
14821
14822 2008-09-30 Tom Tromey <tromey@redhat.com>
14823
14824 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
14825 everywhere.
14826 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
14827
14828 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
14829
14830 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
14831 testcase is derived from. Fix racy dependency on an expected PID
14832 number. No longer support the testcase on Linux kernel 2.4.x.
14833
14834 2008-09-27 Tom Tromey <tromey@redhat.com>
14835
14836 * gdb.base/macscp.exp: Add tests for stringification, splicing,
14837 and varargs.
14838
14839 2008-09-22 Pedro Alves <pedro@codesourcery.com>
14840
14841 * lib/mi-support.exp (mi_expect_interrupt): New.
14842 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
14843 from gdb.mi/mi-nonstop.exp.
14844 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
14845 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
14846 lib/mi-support.exp.
14847 Use mi_check_thread_states throughout. Avoid ".*" and do not
14848 require an anchor after -exec-run.
14849
14850 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
14851
14852 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
14853 stop is pending. Avoid ".*" when two stops are pending.
14854 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
14855 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
14856 newlines in fullnames.
14857 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
14858 (mi_expect_stop): Update comments. Only anchor in sync mode.
14859 Do not match newlines.
14860 (mi_send_resuming_command_raw): Always return status.
14861 (mi_get_stop_line): Do not match more than one line by accident.
14862 Only anchor in sync mode.
14863 (mi_run_inline_test): If -exec-next fails, give up.
14864
14865 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14866
14867 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
14868 on SPU.
14869
14870 2008-09-10 Joel Brobecker <brobecker@adacore.com>
14871
14872 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
14873
14874 2008-09-10 Joel Brobecker <brobecker@adacore.com>
14875
14876 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
14877 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
14878 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
14879 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
14880 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
14881 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
14882 gdb.ada/interface.exp, gdb.ada/null_array.exp,
14883 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
14884 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
14885 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
14886 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
14887 Include the "= " sequence in the expected output of print tests.
14888
14889 2008-09-10 Joel Brobecker <brobecker@adacore.com>
14890
14891 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
14892 description for boolean types.
14893
14894 2008-09-09 Pedro Alves <pedro@codesourcery.com>
14895
14896 * gdb.base/hook-stop-continue.c: New.
14897 * gdb.base/hook-stop-continue.exp: New.
14898
14899 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
14900
14901 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
14902
14903 2008-09-08 Jerome Guitton <guitton@adacore.com>
14904
14905 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
14906 (stack_check_probe_2, stack_check_probe_loop_1)
14907 (stack_check_probe_loop_2): New functions.
14908 (main): Add call to these new functions.
14909 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
14910 functions, check that the breakpoint is inserted at the appropriate
14911 location.
14912 (insert_breakpoint): Slightly refine this procedure so that it can
14913 be called several times in the test.
14914
14915 2008-09-08 Jerome Guitton <guitton@adacore.com>
14916
14917 * gdb.base/stack-checking.c: New file.
14918 * gdb.base/stack-checking.exp: New file.
14919
14920 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
14921
14922 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
14923 * gdb.arch/altivec-regs.exp: Likewise.
14924 * gdb.arch/vsx-regs.exp: Likewise.
14925
14926 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
14927
14928 * gdb.arch/ppc-fp.exp: New file.
14929 * gdb.arch/ppc-fp.c: New file.
14930
14931 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14932
14933 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
14934 lest gcc-4.3.1 optimizes the whole thing away.
14935
14936 2008-09-04 Michael Snyder <msnyder@vmware.com>
14937
14938 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
14939 as "at" (for non-debug functions such as _start).
14940
14941 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14942
14943 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
14944 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
14945 software watchpoints.
14946 * gdb.base/watch_thread_num.exp: Likewise.
14947
14948 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
14949
14950 * gdb.arch/i386-bp_permanent.exp: New test.
14951
14952 2008-08-24 Tom Tromey <tromey@redhat.com>
14953
14954 * gdb.base/maint.exp: Update "maint print type".
14955
14956 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
14957
14958 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
14959 support. Adjust the order of "*running" notifications.
14960 * gdb.mi/non-stop.c: Don't cast from int to void* and
14961 back.
14962
14963 2008-08-20 Mark Kettenis <kettenis@gnu.org>
14964
14965 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
14966 expect to find it in the "info frame" output.
14967
14968 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
14969
14970 * gdb.base/interp.exp: Always consume both prompts.
14971
14972 2008-08-20 Pedro Alves <pedro@codesourcery.com>
14973
14974 * gdb.base/pending.exp: Test pending breakpoints without symbols
14975 loaded.
14976
14977 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
14978
14979 * lib/mi-support.exp (mi_expect_stop): Produce
14980 more details on failures.
14981 * gdb.mi/mi-nonstop.exp: New.
14982 * gdb.mi/non-stop.c: New.
14983
14984 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
14985
14986 * gdb.mi/mi-async.exp: Use 'set target-async'.
14987 * lib/mi-support.exp: Use 'set/show target-async'.
14988
14989 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
14990
14991 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
14992
14993 2008-08-17 Tom Tromey <tromey@redhat.com>
14994
14995 * gdb.base/help.exp (help catch): Rewrite.
14996
14997 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
14998
14999 * gdb.base/define.exp: Test indented command documentation.
15000 * gdb.python/python.exp: Test indented multi-line command.
15001
15002 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
15003
15004 * testsuite/gdb.arch/vsx-regs.c: New source file.
15005 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
15006 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
15007
15008 2008-08-14 Tom Tromey <tromey@redhat.com>
15009
15010 * gdb.base/macscp.exp: Add regression test for "macro define" or
15011 "macro undef" with no arguments.
15012
15013 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15014
15015 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
15016
15017 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15018
15019 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
15020
15021 2008-08-06 Tom Tromey <tromey@redhat.com>
15022
15023 * gdb.python/python.exp: New file.
15024
15025 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15026
15027 Fix for PR gdb/1543.
15028 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
15029 $LOCATION.
15030 (location): New variable.
15031 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
15032 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
15033 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
15034 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
15035 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
15036 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
15037 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
15038 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
15039 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
15040 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
15041 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
15042 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
15043 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
15044 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
15045 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
15046 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
15047 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
15048 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
15049 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
15050 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15051 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
15052 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
15053 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
15054 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
15055 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
15056 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
15057 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
15058 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
15059 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
15060 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
15061 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
15062 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
15063 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
15064 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
15065 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
15066 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
15067 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
15068 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
15069 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
15070 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
15071 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
15072 gdb.base/type-opaque.exp, gdb.base/until.exp,
15073 gdb.base/value-double-free.c, gdb.base/varargs.exp,
15074 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
15075 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
15076 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
15077 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
15078 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
15079 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
15080 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
15081 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
15082 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
15083 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
15084 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
15085 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
15086 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
15087 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
15088 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
15089 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
15090 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
15091 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
15092 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
15093 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
15094 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
15095 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
15096 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
15097 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
15098 gdb.pascal/types.exp, gdb.stabs/weird.exp,
15099 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
15100 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
15101 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
15102 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
15103 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
15104 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
15105 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15106 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
15107 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15108 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
15109 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15110 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
15111 lib/mi-support.exp, lib/trace-support.exp: Remove reference
15112 to bug-gdb@prep.ai.mit.edu .
15113
15114 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
15115
15116 * lib/mi-support.exp (mi_load_shlibs): New.
15117 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
15118
15119 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
15120
15121 * lib/mi-support.exp (get_mi_thread_list)
15122 (check_mi_and_console_threads): New, moved from ...
15123 * gdb.mi/mi-pthread.exp: ...here.
15124 * gdb.mi/gdb669.exp (get_mi_thread_list)
15125 (check_mi_and_console_threads): Delete.
15126 * gdb.mi/mi2-pthread.exp: Likewise.
15127
15128 2008-07-28 Tom Tromey <tromey@redhat.com>
15129
15130 * Makefile.in (just-check): Remove. Move body to...
15131 (check): ... here.
15132
15133 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15134
15135 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
15136 Add a test for duplicated SIGINTs.
15137
15138 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15139
15140 * gdb.threads/schedlock.exp (get_args): Update to work for any
15141 value of NUM.
15142 (Top level): Report the number of threads that did not resume.
15143
15144 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15145
15146 * gdb.dwarf2/dw2-compressed.S: Also define __start.
15147
15148 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15149
15150 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
15151 non-MI prompt.
15152
15153 2008-07-26 Tom Tromey <tromey@redhat.com>
15154
15155 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
15156 (function_struct, function_struct_ptr): New globals.
15157 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
15158 function pointer in a struct.
15159
15160 2008-07-26 Tom Tromey <tromey@redhat.com>
15161
15162 * gdb.base/macscp.exp: Add test for macro lexing bug.
15163
15164 2008-07-18 Tom Tromey <tromey@redhat.com>
15165
15166 * gdb.base/macscp.exp: Add macro tests.
15167
15168 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15169
15170 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
15171
15172 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15173
15174 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
15175
15176 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
15177
15178 * gdb.cp/class2.exp: fix for failure on spu-elf
15179
15180 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15181
15182 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
15183
15184 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15185
15186 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
15187
15188 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
15189
15190 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
15191
15192 2008-07-11 Kevin Buettner <kevinb@redhat.com>
15193
15194 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
15195 of regexp to account for changes made to GDB in the printing of
15196 byte vectors.
15197
15198 2008-07-11 Tom Tromey <tromey@redhat.com>
15199
15200 * gdb.base/completion.exp: Add 'help' completion test.
15201
15202 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15203
15204 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
15205
15206 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15207
15208 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
15209
15210 2008-07-09 Pedro Alves <pedro@codesourcery.com>
15211
15212 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
15213
15214 2008-07-09 Pedro Alves <pedro@codesourcery.com>
15215
15216 * gdb.base/fullname.exp: Restore pwd if compiling failed.
15217
15218 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15219
15220 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
15221
15222 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15223
15224 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
15225 previous commit. Add a comment.
15226
15227 2008-06-28 Pedro Alves <pedro@codesourcery.com>
15228
15229 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
15230
15231 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15232
15233 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
15234
15235 2008-06-27 Pedro Alves <pedro@codesourcery.com>
15236
15237 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
15238 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
15239 compiling an executable, link in an object that forces unbuffered
15240 output.
15241 * lib/set_unbuffered_mode.c: New file.
15242
15243 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15244
15245 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
15246
15247 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
15248
15249 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
15250 mi_expect_stop.
15251 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
15252 Demand that *running is output.
15253 (detect_async): Perform checking every time.
15254 (mi_send_resuming_command): Extract everything into...
15255 (mi_send_resuming_command_raw): ...this.
15256 (mi_expect_stop): Don't accept any output before *stopped.
15257
15258 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
15259
15260 Robustify mi-simplerun.
15261 * gdb.mi/basics.c (main): Add a call to sleep.
15262 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
15263 * gdb.mi/mi2-cli.exp: Likewise.
15264 * gdb.mi/mi-break.exp: Likewise.
15265
15266 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
15267
15268 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
15269
15270 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
15271
15272 * gdb.mi/mi-console.exp: Adjust.
15273 * gdb.mi/mi-syn-frame.exp: Adjust.
15274 * gdb.mi/mi2-console.exp: Adjust.
15275 * gdb.mi/mi2-syn-frame.exp: Adjust.
15276 * lib/mi-support.exp (mi_run_cmd): Adjust.
15277 (mi_send_resuming_command): Adjust.
15278
15279 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
15280
15281 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
15282 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
15283 testing of stopped.
15284 * gdb.mi/mi2-syn-frame.exp: Likewise.
15285 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
15286 (async, detect_async): New.
15287 (mi_expect_stop, mi_continue_to_line): Adjust expectation
15288 depending on if we're running in sync or async mode.
15289
15290 2008-06-09 Tom Tromey <tromey@redhat.com>
15291
15292 * gdb.base/completion.exp: New tests for field name completion
15293 with spaces, and field name completion with '->'.
15294
15295 2008-06-06 Tom Tromey <tromey@redhat.com>
15296
15297 * gdb.base/break1.c (struct some_struct): New struct.
15298 (values): New global.
15299 * gdb.base/completion.exp: Add field name completion test.
15300
15301 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15302
15303 * gdb.cp/call-c.exp: Test for incorrect handling of reference
15304 to pointer.
15305 * gdb.cp/call-c.cc: Likewise.
15306
15307 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
15308
15309 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
15310 annotation.
15311
15312 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15313 Pedro Alves <pedro@codesourcery.com>
15314
15315 * gdb.threads/execl.c, gdb.threads/execl1.c,
15316 gdb.threads/execl.exp: New tests.
15317
15318 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
15319 Daniel Jacobowitz <dan@codesourcery.com>
15320
15321 * gdb.cp/exception.exp: Activate test, make it work with pending
15322 catchpoints.
15323
15324 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
15325
15326 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
15327
15328 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
15329
15330 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
15331 now printed.
15332 * gdb.mi/mi2-var-cmd.exp: Likewise.
15333
15334 2008-05-27 Andreas Schwab <schwab@suse.de>
15335
15336 * gdb.base/frame-args.exp: Handle arguments that are optimized
15337 out.
15338
15339 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
15340
15341 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
15342 quiet for ppc32 and group options into a single variable.
15343
15344 2008-05-23 Joel Brobecker <brobecker@adacore.com>
15345
15346 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
15347 of zero-size elements.
15348 * gdb.ada/null_array.exp: Test printing this new array.
15349
15350 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15351
15352 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
15353
15354 2008-05-21 Joel Brobecker <brobecker@adacore.com>
15355
15356 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
15357 of the "finish" command.
15358
15359 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
15360
15361 * gdb.base/annota1.exp: Test for new annotation.
15362
15363 2008-05-16 Pedro Alves <pedro@codesourcery.com>
15364
15365 * gdb.base/fixsection.exp: New file.
15366 * gdb.base/fixsection0.c: New file.
15367 * gdb.base/fixsection1.c: New file.
15368
15369 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15370
15371 * gdb.base/annota1.exp: Accept printf@... in place of printf.
15372 * gdb.base/annota3.exp: Likewise.
15373
15374 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
15375
15376 * gdb.base/watch_thread_num.exp: Don't run tests that require
15377 watchpoints if the target doesn't support them.
15378
15379 2008-05-12 Doug Evans <dje@google.com>
15380
15381 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
15382
15383 2008-05-09 Joel Brobecker <brobecker@adacore.com>
15384
15385 * gdb.ada/assign_1.exp: New testcase.
15386
15387 2008-05-09 Doug Evans <dje@google.com>
15388
15389 * gdb.base/find.exp: New file.
15390 * gdb.base/find.c: New file.
15391
15392 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
15393
15394 * gdb.base/commands.exp (watchpoint_command_test): Handle
15395 gdb,no_hardware_watchpoints.
15396 * gdb.base/float.exp: Allow ARM targets without floating point.
15397 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
15398
15399 2008-05-06 Jerome Guitton <guitton@adacore.com>
15400 Joel Brobecker <brobecker@adacore.com>
15401
15402 * gdb.ada/lang_switch: New test program.
15403 * gdb.ada/lang_switch.exp: New testcase.
15404
15405 2008-05-05 Doug Evans <dje@google.com>
15406
15407 * gdb.base/help.exp (disassemble): Update expected help text.
15408
15409 2008-05-04 Pedro Alves <pedro@codesourcery.com>
15410
15411 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
15412
15413 2008-05-04 Pedro Alves <pedro@codesourcery.com>
15414
15415 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
15416 different times.
15417
15418 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
15419
15420 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
15421 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
15422 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
15423 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
15424
15425 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
15426
15427 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
15428 notification to appear.
15429
15430 2008-05-04 Daniel Jacobowitz <dan@debian.org>
15431
15432 * gdb.base/fullname.c: New file.
15433 * gdb.base/fullname.exp: New file.
15434 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
15435
15436 2008-05-03 Pedro Alves <pedro@codesourcery.com>
15437
15438 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
15439 expressions with macros.
15440
15441 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15442
15443 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
15444
15445 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
15446
15447 * gdb.base/completion.exp: Handle lack of other symbols beginning
15448 with "a".
15449
15450 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
15451
15452 2008-05-02 Jim Blandy <jimb@codesourcery.com>
15453
15454 * gdb.asm/asmsrc1.s: Add scratch space.
15455
15456 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15457 Daniel Jacobowitz <dan@codesourcery.com>
15458
15459 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
15460 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
15461 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
15462
15463 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
15464
15465 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
15466
15467 2008-05-01 Joel Brobecker <brobecker@adacore.com>
15468
15469 * gdb.base/info-target.exp: New testcase.
15470
15471 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
15472
15473 * gdb.cp/hang.exp: Use .cc instead of .C.
15474 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
15475 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
15476
15477 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
15478
15479 * gdb.base/gdb1250.exp: Remove perror.
15480 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
15481
15482 2008-04-30 Pedro Alves <pedro@codesourcery.com>
15483
15484 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
15485 .2byte.
15486
15487 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
15488
15489 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
15490 (maybe_kfail): New.
15491
15492 2008-04-25 Pedro Alves <pedro@codesourcery.com>
15493
15494 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
15495
15496 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15497
15498 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
15499 * gdb.mi/mi2-syn-frame.exp: Likewise.
15500 * lib/mi-support.exp: Likewise.
15501
15502 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15503
15504 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
15505 to specify regexp for the location to stop at.
15506 * gdb.base/break-always.c: New.
15507 * gdb.base/break-always.exp: New.
15508
15509 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15510
15511 * lib/mi-support.exp (mi_runto_helper): Adjust
15512 for the original-location field.
15513 (mi_create_breakpoint, mi_list_breakpoints): New.
15514 * gdb.mi/mi-break.exp: Adjust.
15515 * gdb.mi/mi2-break.exp: Adjust.
15516 * gdb.mi/mi-pending.exp: Adjust.
15517 * gdb.mi/mi-simplerun.exp: Adjust.
15518 * gdb.mi/mi2-simplerun.exp: Adjust.
15519 * gdb.mi/mi-syn-frame.exp: Adjust.
15520 * gdb.mi/mi2-syn-frame.exp: Adjust.
15521 * gdb.mi/mi-until.exp: Adjust.
15522 * gdb.mi/mi2-until.exp: Adjust.
15523 * gdb.mi/mi-var-display.exp: Adjust.
15524 * gdb.mi/mi2-var-display.exp: Adjust.
15525 * gdb.mi/mi-watch.exp: Adjust.
15526 * gdb.mi/mi2-watch.exp: Adjust.
15527
15528 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
15529
15530 * aclocal.m4: Add override.m4.
15531 * configure: Regenerate.
15532
15533 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
15534
15535 * gdb.mi/var-cmd.c (do_at_tests): Verify that
15536 '-var-update --all-values' reports new value even the type
15537 of a variable object has changed.
15538
15539 2008-04-18 Craig Silverstein <csilvers@google.com>
15540
15541 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
15542 files.
15543
15544 2008-04-18 Joel Brobecker <brobecker@adacore.com>
15545
15546 * gdb.ada/atomic_enum: New test program.
15547 * gdb.ada/atomic_enum.exp: New testcase.
15548
15549 2008-04-17 Doug Evans <dje@google.com>
15550
15551 * gdb.opt/Makefile.in: Fix whitespace.
15552
15553 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
15554
15555 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
15556
15557 2008-04-17 Doug Evans <dje@google.com>
15558
15559 * gdb.base/hashline1.exp: New testcase.
15560 * gdb.base/hashline2.exp: New testcase.
15561 * gdb.base/hashline2.exp: New testcase.
15562
15563 2008-04-17 Pedro Alves <pedro@codesourcery.com>
15564
15565 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
15566
15567 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
15568
15569 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
15570 temporary breakpoint to match "Temporary breakpoint".
15571 * gdb.base/break.exp (delete_breakpoints): Likewise.
15572 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
15573 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
15574 * gdb.base/display.exp: Likewise.
15575 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
15576 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
15577 * gdb.base/restore.exp (restore_tests): Likewise.
15578 * gdb.base/sepdebug.exp: Likewise.
15579 * gdb.base/watchpoint.exp: Likewise.
15580 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
15581 * gdb.mi/mi-pending.exp: Likewise.
15582 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
15583 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
15584 * gdb.mi/mi-var-cmd.exp: Likewise.
15585 * gdb.mi/mi-var-display.exp: Likewise.
15586 * gdb.mi/mi2-cli.exp: Likewise.
15587 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
15588 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
15589 * gdb.mi/mi2-var-display.exp: Likewise.
15590 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
15591 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
15592 new "disp" field.
15593 (mi_expect_stop): Move after_reason argument to be really after
15594 reason. This is to support fix for PR2424.
15595
15596 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15597
15598 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
15599
15600 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
15601
15602 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
15603 field. Add more floating varobj tests.
15604 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
15605 field.
15606 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
15607 (main): Call do_at_tests.
15608 * lib/mi-support.exp (mi_create_floating_varobj)
15609 (mi_varobj_update_with_type_change): New.
15610
15611 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
15612
15613 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
15614 option of -var-evaluate-expression.
15615 * gdb.mi/mi2-var-display.exp: Likewise.
15616
15617 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
15618
15619 Introduce test setup helpers.
15620 * lib/gdb.exp (build_executable, clean_restart)
15621 (prepare_for_testing): New.
15622 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
15623 * gdb.base/return.exp: Likewise.
15624 * gdb.base/ending-run.exp: Likewise.
15625
15626 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
15627
15628 * gdb.mi/mi-async.exp: New test for asynchronous Machine
15629 Interface (MI) responses.
15630
15631 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
15632
15633 * gdb.cp/breakpoint.cc: New code to test conditions involving
15634 member variables.
15635 * gdb.cp/breakpoint.exp: Test condition involving member
15636 variables.
15637
15638 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
15639
15640 * lib/mi-support.exp (mi_expect_stop): New.
15641 (mi_run_cmd): Change the
15642 token. Use mi_send_resuming_command, use
15643 mi_expect_stop.
15644 (mi_execute_to_helper): Rename to mi_execute_to.
15645 (mi_send_resuming_command): Add more error patterns.
15646 (mi_wait_for_stop): Renamed to...
15647 (mi_get_stop_line): ...this.
15648 (mi_run_inline_test): Adjust.
15649
15650 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
15651 * gdb.mi/mi-console.exp: Likewise.
15652 * gdb.mi/mi-pending.exp: Likewise.
15653 * gdb.mi/mi-simplerun.exp: Likewise.
15654 * gdb.mi/mi-stack.exp: Likewise.
15655 * gdb.mi/mi-stepi.exp: Likewise.
15656 * gdb.mi/mi-syn-frame.exp: Add comment.
15657 * gdb.mi/mi-until.exp: Likewise.
15658 * gdb.mi/mi-var-display.exp: Likewise.
15659 * gdb.mi/mi-watch.exp: Likewise.
15660 * gdb.mi/mi2-cli.exp: Likewise.
15661 * gdb.mi/mi2-console.exp: Likewise.
15662 * gdb.mi/mi2-simplerun.exp: Likewise.
15663 * gdb.mi/mi2-stack.exp: Likewise.
15664 * gdb.mi/mi2-stepi.exp: Likewise.
15665 * gdb.mi/mi2-until.exp: Likewise.
15666 * gdb.mi/mi2-var-display.exp: Likewise.
15667 * gdb.mi/mi2-watch.exp: Likewise.
15668
15669 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15670
15671 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
15672
15673 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
15674
15675 2008-04-04 Pedro Alves <pedro@codesourcery.com>
15676
15677 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
15678 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
15679 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
15680 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
15681 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
15682 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
15683 expect an mi error duplicated in stderr.
15684
15685 2008-04-03 Joel Brobecker <brobecker@adacore.com>
15686
15687 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
15688 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
15689 Add a couple of tests that verify the behavior when the new setting
15690 is set to "cancel" and "all".
15691 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
15692 "ask" before we start the testing.
15693
15694 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
15695
15696 * gdb.cp/casts.cc: Add class reference variables.
15697 * gdb.cp/casts.exp: New test cases for up/down casting references.
15698
15699 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
15700
15701 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
15702 instead of beginning to make an extra test pass.
15703 * gdb.mi/mi2-var-display.exp: Likewise.
15704
15705 2008-03-31 Maciej W. Rozycki <macro@mips.com>
15706
15707 * gdb.base/break.exp: Mark failures as such. Fix formatting.
15708
15709 2008-03-31 Markus Deuling <deuling@de.ibm.com>
15710 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15711
15712 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
15713 value. Add xfail for older kernels.
15714
15715 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
15716
15717 Bring mi-support in line with gdb.exp.
15718 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
15719 (mi_gdb_start): New function.
15720
15721 2008-03-28 Maciej W. Rozycki <macro@mips.com>
15722
15723 * gdb.mi/mi-var-cmd.exp: Fix a typo.
15724
15725 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
15726
15727 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
15728 * gdb.mi/mi2-var-display.exp: Likewise.
15729
15730 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
15731
15732 * lib/mi-support.exp (mi_create_varobj_checked): New.
15733 (mi_list_varobj_children): Allow to check for a
15734 value.
15735 (mi_list_array_varobj_children): New.
15736
15737 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
15738 and mi_list_varobj_children, as opposed to hardcoding
15739 expected strings.
15740 * gdb.mi/gdb701.exp: Likewise.
15741 * gdb.mi/gdb792.exp: Likewise.
15742 * gdb.mi/mi-var-block.exp: Likewise.
15743 * gdb.mi/mi-var-cmd.exp: Likewise.
15744 * gdb.mi/mi-var-invalidate.exp: Likewise.
15745 * gdb.mi/mi2-var-block.exp: Likewise.
15746 * gdb.mi/mi2-var-child.exp: Likewise.
15747 * gdb.mi/mi2-var-cmd.exp: Likewise.
15748 * gdb.mi/mi2-var-display.exp: Likewise.
15749
15750 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15751
15752 Fix random false FAILs on i386.
15753 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
15754
15755 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
15756
15757 PR gdb/544
15758 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
15759
15760 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
15761
15762 PR gdb/544
15763 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
15764
15765 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15766
15767 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
15768 fixed PR gdb/544.
15769
15770 2008-03-21 Pedro Alves <pedro@codesourcery.com>
15771
15772 * gdb.threads/fork-child-threads.exp: Test next over fork.
15773
15774 2008-03-21 Chris Demetriou <cgd@google.com>
15775
15776 * gdb.base/break.exp (rbreak junk): New test for rbreak
15777 "Junk at end of arguments" issue.
15778
15779 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15780
15781 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
15782 *& to work on created array elements.
15783 (Top level): Test print $pc with a file. Test string operations
15784 without a target.
15785 * gdb.base/ptype.exp: Do not expect *& to work on created array
15786 elements.
15787
15788 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15789
15790 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
15791 gdb.threads/staticthreads.exp: Update exit query.
15792
15793 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
15794
15795 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
15796
15797 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
15798
15799 * gdb.base/watchpoint.c (global_ptr, func4): New.
15800 (main): Call func4.
15801 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
15802 (test_inaccessible_watchpoint): New.
15803
15804 2008-02-29 Maciej W. Rozycki <macro@mips.com>
15805
15806 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
15807 select the largest.
15808
15809 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
15810
15811 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
15812 frames-invalid annotations.
15813
15814 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
15815
15816 * gdb.base/assign.exp: avoid same output for different tests.
15817
15818 2008-02-27 Doug Evans <dje@google.com>
15819
15820 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
15821 for bug 1738.
15822 (breakpoint_to_handler_entry): Ditto.
15823
15824 2008-02-27 Joel Brobecker <brobecker@adacore.com>
15825
15826 * gdb.base/ending-run.exp: Use the first line of code inside
15827 function body to test breakpoints.
15828 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
15829 location where the breakpoint is inserted when using the line
15830 where a function is declared. Fix typo in the description of
15831 one of the tests.
15832 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
15833
15834 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
15835
15836 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
15837 tests.
15838
15839 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
15840
15841 * gdb.base/args.exp: avoid same output for tests
15842 with single quotes.
15843
15844 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
15845
15846 * gdb.base/annota1.exp: Adjust for 'info break'
15847 format changes.
15848 * gdb.base/annota3.exp: Likewise.
15849 * gdb.base/break.exp: Likewise.
15850 * gdb.base/condbreak.exp: Likewise.
15851 * gdb.base/pending.exp: Likewise.
15852 * gdb.base/sepdebug.exp: Likewise.
15853 * gdb.base/unload.exp: Likewise.
15854 * gdb.cp/ovldbreak.exp: Likewise.
15855 * gdb.mi/mi-pending.exp: Likewise.
15856
15857 2008-02-07 Doug Evans <dje@google.com>
15858
15859 * gdb.cp/mb-inline.exp: New.
15860 * gdb.cp/mb-inline.h: New.
15861 * gdb.cp/mb-inline1.cc: New.
15862 * gdb.cp/mb-inline2.cc: New.
15863
15864 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
15865
15866 * gdb.pascal/floats.pas: New test program.
15867 * gdb.pascal/floats.exp: New testcase.
15868
15869 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
15870
15871 * gdb.base/callfuncs.c (t_float_many_args): New function.
15872 (t_double_many_args): New function.
15873 * gdb.base/callfuncs.exp: Add tests for exceeding float
15874 and double parameters passed through the stack.
15875
15876 2008-02-05 Joel Brobecker <brobecker@adacore.com>
15877
15878 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
15879 gdb.ada/complete/foo.adb: New files.
15880 * gdb.ada/complete.exp: New testcase.
15881
15882 2008-02-03 Doug Evans <dje@google.com>
15883
15884 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
15885
15886 * gdb.cp/gdb2384.exp: New file.
15887 * gdb.cp/gdb2384.cc: New file.
15888 * gdb.cp/gdb2384-base.h: New file.
15889 * gdb.cp/gdb2384-base.cc: New file.
15890
15891 2008-02-02 Doug Evans <dje@google.com>
15892
15893 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
15894
15895 2007-02-01 Joel Brobecker <brobecker@adacore.com>
15896
15897 * gdb.ada/sym_print_name: New test program.
15898 * gdb.ada/sym_print_name.exp: New testcase.
15899
15900 2007-02-01 Joel Brobecker <brobecker@adacore.com>
15901
15902 * gdb.ada/nested/hello.adb: New file.
15903 * gdb.ada/nested.exp: New testcase.
15904 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
15905
15906 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
15907
15908 * gdb.mi/basic.c (return_1): New function.
15909 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
15910 don't cause future evaluations of function to report
15911 creation of internal breakpoints.
15912
15913 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
15914
15915 * gdb.mi/mi-break.exp (test_error): New.
15916 Call it.
15917
15918 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
15919
15920 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
15921 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
15922
15923 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
15924
15925 * gdb.pascal/integers.pas: New test program.
15926 * gdb.pascal/integers.exp: New testcase.
15927
15928 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
15929
15930 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
15931
15932 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
15933
15934 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
15935 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
15936
15937 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
15938
15939 * gdb.ada/formatted_ref: New test program.
15940 * gdb.ada/formatted_ref.exp: New testcase.
15941
15942 * gdb.cp/formatted-ref.cc: New file.
15943 * gdb.cp/formatted-ref.exp: New testcase.
15944
15945 2008-01-30 Joel Brobecker <brobecker@adacore.com>
15946
15947 * gdb.base/ptype.exp: Add testing of "ptype $pc".
15948
15949 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
15950
15951 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
15952 (test_file_list_exec_source_file): Update to new macro-info field.
15953
15954 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
15955
15956 * gdb.ada/exprs: New test program.
15957 * gdb.ada/exprs.exp: New testcase.
15958
15959 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
15960
15961 * dfp-test.c (DELTA, DELTA_B): New definitions.
15962 (double_val1, double_val2, double_val3, double_val4, double_val5,
15963 double_val6, double_val7, double_val8, double_val9, double_val10,
15964 double_val11, double_val12, double_val13, double_val14, dec32_val1,
15965 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
15966 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
15967 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
15968 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
15969 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
15970 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
15971 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
15972 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
15973 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
15974 dec128_val16): New global variables.
15975 (decimal_dec128_align): New function.
15976 (decimal_mixed): Likewise.
15977 (decimal_many_args_dec32): Likewise.
15978 (decimal_many_args_dec64): Likewise.
15979 (decimal_many_args_dec128): Likewise.
15980 (decimal_many_args_mixed): Likewise.
15981 * dfp-test.exp: Add tests calling new inferior functions.
15982
15983 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
15984
15985 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
15986 gdb.server/ext-run.exp: New files.
15987 * lib/gdbserver-support.exp (gdbserver_download): New.
15988 (gdbserver_start): New. Update gdbserver expected
15989 output.
15990 (gdbserver_spawn): Use them.
15991 (gdbserver_start_extended): New.
15992
15993 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
15994
15995 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
15996 Run on GNU/Linux.
15997 (do_exec_tests): Check for systems which do not support catchpoints.
15998 Do not match START.
15999 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
16000 Run on GNU/Linux. Enable verbose output.
16001 (check_fork_catchpoints): New.
16002 (explicit_fork_child_follow, catch_fork_child_follow)
16003 (tcatch_fork_parent_follow): Update expected messages.
16004 (do_fork_tests): Use check_fork_catchpoints.
16005 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
16006 Run on GNU/Linux. Enable verbose output.
16007 (check_vfork_catchpoints): New.
16008 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
16009 expected messages.
16010 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
16011
16012 2008-01-29 Jim Blandy <jimb@red-bean.com>
16013
16014 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
16015 host' errors.
16016 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
16017
16018 2008-01-29 Jim Blandy <jimb@red-bean.com>
16019
16020 * gdb.threads/sigthread.c: Use barriers to ensure that
16021 child_thread and child_thread_two are always initialized before we
16022 start to use them.
16023
16024 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
16025
16026 * gdb.base/watchpoint-solib.exp: New.
16027 * gdb.base/watchpoint-solib.c: New.
16028 * gdb.base/watchpoint-solib-shr.c: New.
16029
16030 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
16031
16032 * gdb.base/gdb1056.exp: Add unsigned integer test.
16033
16034 2008-01-28 Doug Evans <dje@google.com>
16035
16036 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
16037
16038 2008-01-27 Jim Blandy <jimb@codesourcery.com>
16039
16040 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
16041
16042 * gdb.base/expand-psymtabs.exp: Doc fix.
16043
16044 2008-01-26 Mark Kettenis <kettenis@gnu.org>
16045
16046 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16047
16048 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
16049
16050 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
16051 -var-set-format.
16052
16053 2008-01-23 Chris Demetriou <cgd@google.com>
16054
16055 * gdb.threads/thread_events.c: New testcase source file.
16056 * gdb.threads/thread_events.exp: New testcase expect file.
16057
16058 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
16059
16060 * lib/gdb.exp: Add the variable octal.
16061
16062 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
16063 -var-set-format.
16064
16065 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
16066 Vladimir Prus <vladimir@codesourcery.com>
16067
16068 * gdb.base/float.exp: Allow missing floating point for m68k and
16069 PowerPC.
16070
16071 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
16072
16073 * gdb.mi/basics.c: Setup for testing breakpoints
16074 ignore count.
16075 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
16076 * gdb.mi/mi-cli.exp: Adjust.
16077 * gdb.mi/mi2-cli.exp: Adjust.
16078
16079 2008-01-17 Pedro Alves <pedro@codesourcery.com>
16080
16081 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
16082 and 'dummy_ptr' integer pointer. Initialize struct_declarations
16083 with dummy_ptr's address.
16084 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
16085 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
16086 all targets.
16087 * gdb.mi/mi2-var-child.exp: Likewise.
16088
16089 2008-01-09 Joel Brobecker <brobecker@adacore.com>
16090
16091 * gdb.ada/null_array: New test program.
16092 * gdb.ada/null_array.exp: New testcase.
16093
16094 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
16095
16096 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
16097 with required float modifiers.
16098
16099 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16100
16101 * gdb.ada/funcall_param: New test program.
16102 * gdb.ada/funcall_param.exp: New testcase.
16103
16104 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16105
16106 * gdb.ada/arrayparam: New test program.
16107 * gdb.ada/arrayparam.exp: New testcase.
16108
16109 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16110
16111 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
16112 landed. Should also fix random failures in the test following it.
16113
16114 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
16115
16116 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
16117 for expressions with decimal float values.
16118 (test_dfp_conversions): New function to test casts to and from
16119 decimal float types.
16120 Call test_dfp_conversions.
16121 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
16122 elements.
16123 (main): Initialize ds.float4 and ds.double8 elements.
16124 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
16125 string to new error message.
16126 (d64_set_tests): Likewise.
16127 (d128_set_tests): Likewise.
16128 Add tests for expressions with decimal float variables. Add tests for
16129 conversions to and from decimal float types.
16130
16131 2008-01-05 Joel Brobecker <brobecker@adacore.com>
16132
16133 * gdb.ada/packed_tagged/comp_bug.adb: New file.
16134 * gdb.ada/packed_tagged.exp: New testcase.
16135
16136 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16137
16138 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
16139 gdb.ada/homonym/homonym_main.adb: New files.
16140 * gdb.ada/homonym.exp: New testcase.
16141
16142 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16143
16144 * gdb.ada/packed_array.exp: Add testing of references to
16145 a packed array.
16146
16147 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16148
16149 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
16150 New files.
16151 * gdb.ada/type_coercion.exp: New testcase.
16152
16153 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16154
16155 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
16156 gdb.ada/tagged/foo.adb: New file.
16157 * gdb.ada/tagged.exp: New testcase.
16158
16159 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16160
16161 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
16162 gdb.ada/ptype_field/foo.adb: New files.
16163 * gdb.ada/ptype_field.exp: New testcase.
16164
16165 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16166
16167 * gdb.ada/print_pc.exp: New testcase.
16168
16169 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16170
16171 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
16172 gdb.ada/taft_type/p.adb: New files.
16173 * gdb.ada/taft_type.exp: New testcase.
16174
16175 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16176
16177 * gdb.ada/array_bounds/bar.adb: New file.
16178 * gdb.ada/array_bounds.exp: New testcase.
16179
16180 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16181
16182 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
16183 gdb.ada/arrayptr/foo.adb: New files.
16184 * gdb.ada/arrayptr.exp: New testcase.
16185
16186 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16187
16188 * gdb.base/set-lang-auto.exp: New testcase.
16189
16190 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16191
16192 * gdb.ada/fun_addr/foo.adb: New file.
16193 * gdb.ada/fun_addr.exp: New testcase.
16194
16195 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16196
16197 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
16198 New files
16199
16200 2008-01-02 Joel Brobecker <brobecker@adacore.com>
16201
16202 * array_subscript_addr/p.adb: New file.
16203 * array_subscript_addr.exp: New testcase.
16204
16205 2008-01-02 Joel Brobecker <brobecker@adacore.com>
16206
16207 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
16208 New files.
16209 * gdb.ada/str_cmp_ref.exp: New testcase.
16210
16211 2008-01-01 Joel Brobecker <brobecker@adacore.com>
16212
16213 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
16214 gdb.ada/fun_in_declare/foo.adb: New files.
16215 * gdb.ada/fun_in_declare.exp: New testcase.
16216
16217 2008-01-01 Joel Brobecker <brobecker@adacore.com>
16218
16219 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
16220 gdb.ada/ref_param/pck.ads: New files.
16221 * gdb.ada/ref_param.exp: New testcase.
16222
16223 2008-01-01 Joel Brobecker <brobecker@adacore.com>
16224
16225 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
16226 gdb.ada/interface/foo.adb: New files.
16227 * gdb.ada/interface.exp: New testcase.
16228
16229 2007-12-31 Jim Blandy <jimb@codesourcery.com>
16230
16231 * gdb.base/multi-forks.exp: Consume all output from child
16232 processes before proceeding to next test.
16233
16234 2007-12-29 Jim Blandy <jimb@codesourcery.com>
16235
16236 * configure: Regenerated.
16237
16238 2007-12-27 Joel Brobecker <brobecker@adacore.com>
16239
16240 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
16241 gdb.ada/fixed_cmp/fixed.adb: New files.
16242 * gdb.ada/fixed_cmp.exp: New testcase.
16243
16244 2007-12-27 Joel Brobecker <brobecker@adacore.com>
16245
16246 * gdb.ada/boolean_expr.exp: New testcase.
16247
16248 2007-12-26 Jim Blandy <jimb@codesourcery.com>
16249
16250 * gdb.base/multi-forks.exp: Doc fix.
16251
16252 2007-12-26 Joel Brobecker <brobecker@adacore.com>
16253
16254 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16255 * gdb.ada/char_param.exp: Do not compile our test program with
16256 -gnata, this is unnecessary.
16257 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
16258
16259 2007-12-24 Joel Brobecker <brobecker@adacore.com>
16260
16261 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
16262 gdb.ada/print_chars/foo.adb: New files.
16263 * gdb.ada/print_chars.exp: New testcase.
16264
16265 2007-12-24 Joel Brobecker <brobecker@adacore.com>
16266
16267 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
16268 gdb.ada/char_param/foo.adb: New files.
16269 * gdb.ada/char_param.exp: New testcase.
16270
16271 2007-12-22 Jim Blandy <jimb@codesourcery.com>
16272
16273 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
16274 hard-coding source line numbers into the test.
16275 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
16276 gdb_get_line_number to find.
16277
16278 2007-12-22 Joel Brobecker <brobecker@adacore.com>
16279
16280 * gdb.base/ptype.c (highest): New struct type.
16281 (the_highest): New variable of that type.
16282 (main): Add dummy assignment to a field of variable the_highest.
16283 * gdb.base/ptype.exp: Test type printing of our new variable.
16284
16285 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
16286
16287 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
16288 and record first explicitly generated thread number.
16289 Use that thread number for thread specific watchpoint test.
16290 Add iteration number to repetitive tests.
16291
16292 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16293 Jim Blandy <jimb@codesourcery.com>
16294
16295 * gdb.base/expand-psymtabs.c: New testcase
16296 source file.
16297 * gdb.base/expand-psymtabs.exp: New testcase
16298 expect file.
16299
16300 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
16301
16302 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
16303 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
16304
16305 2007-12-17 Joel Brobecker <brobecker@adacore.com>
16306
16307 * gdb.ada/frame_args/foo.adb: New file.
16308 * gdb.ada/frame_args/pck.ads: New file.
16309 * gdb.ada/frame_args/pck.adb: New file.
16310 * gdb.ada/frame_args.exp: New testcase.
16311
16312 2007-12-17 Joel Brobecker <brobecker@adacore.com>
16313
16314 * gdb.base/frame-args.c: New file.
16315 * gdb.base/frame-args.exp: New testcase.
16316
16317 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
16318 Joseph Myers <joseph@codesourcery.com>
16319
16320 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
16321
16322 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
16323
16324 * gdb.mi/mi-pending.exp: New.
16325 * gdb.mi/mi-pending.c: New.
16326 * gdb.mi/mi-pendshr.c: New.
16327
16328 2007-12-06 Jim Blandy <jimb@codesourcery.com>
16329
16330 * gdb.base/default.exp: Update expected output for 'info catch'.
16331
16332 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16333
16334 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
16335 must be set to binary.
16336
16337 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
16338
16339 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
16340
16341 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
16342
16343 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
16344 gdb.mi/mi-file-transfer.exp: New.
16345
16346 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16347
16348 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
16349
16350 2007-11-22 Maciej W. Rozycki <macro@mips.com>
16351
16352 * gdb.trace/backtrace.exp: Fix a typo.
16353 * gdb.trace/circ.exp: Likewise.
16354 * gdb.trace/collection.exp: Likewise.
16355 * gdb.trace/limits.exp: Likewise.
16356 * gdb.trace/report.exp: Likewise.
16357 * gdb.trace/tfind.exp: Likewise.
16358 * gdb.trace/while-dyn.exp: Likewise.
16359
16360 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
16361
16362 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
16363 objects of pointers that can't be dereferenced are now
16364 "noneditable".
16365
16366 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16367
16368 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
16369 (target_cpu): Remove.
16370
16371 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
16372
16373 * gdb.base/ending-run.exp: Expect the list of cleared
16374 breakpoint to come in natural order, not the reversed one.
16375
16376 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
16377
16378 * gdb.mi/mi-var-child.c (do_child_deletion): New.
16379 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
16380
16381 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
16382
16383 * gdb.base/printcmds.exp: New function
16384 test_printf_with_dfp.
16385
16386 2007-11-02 Doug Evans <dje@google.com>
16387
16388 * gdb.disasm/t01_mov.s: Remove carriage returns.
16389 * gdb.disasm/t02_mova.s: Ditto.
16390 * gdb.disasm/t03_add.s: Ditto.
16391 * gdb.disasm/t04_sub.s: Ditto.
16392 * gdb.disasm/t05_cmp.s: Ditto.
16393 * gdb.disasm/t06_ari2.s: Ditto.
16394 * gdb.disasm/t07_ari3.s: Ditto.
16395 * gdb.disasm/t08_or.s: Ditto.
16396 * gdb.disasm/t09_xor.s: Ditto.
16397 * gdb.disasm/t10_and.s: Ditto.
16398 * gdb.disasm/t11_logs.s: Ditto.
16399 * gdb.disasm/t12_bit.s: Ditto.
16400 * gdb.disasm/t13_otr.s: Ditto.
16401
16402 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16403
16404 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
16405
16406 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16407
16408 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
16409 provide DFP support.
16410
16411 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
16412
16413 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
16414 Test "set powerpc vector-abi". Skip auto-detection tests for old
16415 toolchains.
16416
16417 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
16418
16419 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
16420 with [string compare].
16421
16422 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
16423
16424 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
16425 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
16426
16427 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
16428
16429 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
16430 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
16431 * gdb.opt/Makefile.in: New makefile.
16432 * Makefile.in: Create new directory "gdb.opt".
16433 * configure.ac: Add "gdb.opt" directory.
16434 * configure: Regenerated.
16435
16436 2007-10-25 Doug Evans <dje@google.com>
16437
16438 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
16439 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
16440
16441 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
16442 Thiago Jung Bauermann <bauerman@br.ibm.com>
16443
16444 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
16445 Floating Point expressions.
16446 * gdb.base/dfp-test.exp: new file adding tests for Decimal
16447 Floating Point variables.
16448 * gdb.base/dfp-test.c: new file containing program with Decimal
16449 Floating variables, used by gdb.base/dfp-test.exp.
16450
16451 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
16452
16453 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
16454
16455 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16456
16457 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
16458 compiling test case with GCC.
16459 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
16460
16461 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16462
16463 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
16464 format changes.
16465
16466 2007-10-18 Michael Snyder <msnyder@specifix.com>
16467
16468 * gdb.base/dbx.exp: Add missing "-re " operator.
16469
16470 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
16471
16472 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
16473 * configure.ac: Removed trailing spaces after backslash.
16474 * gdb.modula2: New directory.
16475 * gdb.modula2/Makefile.in: New file.
16476 * gdb.modula2/unbounded-array.exp: New file.
16477 * gdb.modula2/unbounded1.c: New file.
16478
16479 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
16480
16481 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
16482
16483 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
16484
16485 * gdb.base/sigstep.c (main): Add checks for
16486 return values for setitimer call.
16487 Call setitimer again with itimer = ITIMER_REAL
16488 if first call to setitimer fails.
16489
16490 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
16491
16492 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
16493 of $timeout.
16494
16495 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
16496
16497 * gdb.server/server-run.exp: Test for dynamic linker symbols.
16498
16499 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
16500
16501 * lib/gdb.exp (gdb_run_cmd): Move comment outside
16502 of gdb_expect call, to avoid interruption.
16503
16504 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
16505
16506 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
16507 (v_unsigned_long_long, v_long_long_array)
16508 (v_signed_long_long_array, v_unsigned_long_long_array)
16509 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
16510 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
16511 [!NO_LONG_LONG]: New.
16512 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
16513 v_long_long_member.
16514
16515 (v_long_long_func, v_signed_long_long_func)
16516 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
16517 (main) [!NO_LONG_LONG]: Initialize long long variants.
16518
16519 * gdb.base/whatis.exp: If board file requests no_long_long, build
16520 test with NO_LONG_LONG defined. Test long long, signed long long,
16521 and unsigned long long variants but only if board file doesn't
16522 disable it.
16523
16524 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
16525 Daniel Jacobowitz <dan@codesourcery.com>
16526
16527 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
16528 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
16529 * configure: Regenerated.
16530 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
16531 gdb.pascal/types.exp, lib/pascal.exp: New files.
16532
16533 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
16534
16535 * gdb.cp/classes.exp (do_tests): Always step to the line after the
16536 call.
16537 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
16538 to return to the call.
16539 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
16540 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
16541 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
16542 * gdb.mi/mi-until.exp (test_until): Likewise.
16543 * gdb.mi/mi2-until.exp (test_until): Likewise.
16544
16545 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
16546
16547 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
16548 two-char array.
16549 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
16550
16551 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
16552
16553 * gdb.threads/watchthreads.c (thread_function): Sleep between
16554 iterations.
16555 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
16556 at once for S/390. Generate matching fails and passes.
16557
16558 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
16559
16560 * gdb.mi/var-cmd.c (do_children_tests): Initialize
16561 the 'struct_declarations' variable to zeros.
16562
16563 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
16564
16565 * gdb.cp/mb-ctor.cc: New.
16566 * gdb.cp/mb-ctor.exp: New.
16567 * gdb.cp/mb-templates.cc: New.
16568 * gdb.cp/mb-templates.exp: New.
16569
16570 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
16571
16572 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
16573
16574 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
16575
16576 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
16577 targets.
16578 * configure: Regenerate.
16579
16580 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
16581
16582 * gdb.base/annota1.exp: Adjust for 'info break'
16583 format changes.
16584 * gdb.base/annota3.exp: Likewise.
16585 * gdb.base/break.exp: Likewise.
16586 * gdb.base/condbreak.exp: Likewise.
16587 * gdb.base/pending.exp: Likewise.
16588 * gdb.base/sepdebug.exp: Likewise.
16589 * gdb.base/unload.exp: Likewise.
16590 * gdb.base/ovldbreak.exp: Likewise.
16591
16592 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
16593
16594 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
16595 messages.
16596 * gdb.base/chng-syms.exp: Likewise.
16597 * gdb.base/unload.exp: Likewise.
16598
16599 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
16600
16601 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
16602
16603 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
16604
16605 * schedlock.c (NUM): Change to 1.
16606 (main): Use args[0] for the main thread.
16607 * schedlock.exp: Only expect two threads. Only issue one pass or fail
16608 regardless of the number of threads.
16609
16610 2007-09-14 Maciej W. Rozycki <macro@mips.com>
16611
16612 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
16613 type down.
16614 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16615 test.
16616 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
16617 watchpoint type down.
16618 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16619 test.
16620
16621 2007-09-14 Maciej W. Rozycki <macro@mips.com>
16622
16623 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
16624 Move all the tests here and run them twice, once using software
16625 watchpoints and once using hardware watchpoints.
16626 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
16627
16628 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
16629
16630 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
16631 test.
16632
16633 2007-09-10 Mark Kettenis <kettenis@gnu.org>
16634
16635 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
16636 build-id.
16637
16638 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
16639 know about $ORIGIN. Calculate output dir from $dest instead of
16640 using ${objdir}/{$subdir}.
16641
16642 2007-09-09 Mark Kettenis <kettenis@gnu.org>
16643
16644 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
16645 gcore, before continuing with the test.
16646
16647 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
16648
16649 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
16650 * gdb.mi/mi-watch.exp: Likewise.
16651
16652 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
16653 Jim Blandy <jimb@codesourcery.com>
16654
16655 * gdb.arch/i386-sse.exp: Do not expect character constants.
16656 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
16657 * gdb.base/display.exp: Allow print/s.
16658 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
16659 and unsigned char array changes.
16660
16661 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
16662
16663 * gdb.base/display.exp: Add tests for printf %p.
16664
16665 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
16666
16667 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
16668 the dll name to unicode.
16669
16670 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16671
16672 * gdb.base/default.exp (show version): Update the version text.
16673 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
16674
16675 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16676
16677 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
16678 New files.
16679
16680 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16681
16682 * lib/gdb.exp (build_id_debug_filename_get): New function.
16683 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
16684 Remove the generate DEBUG file for the future testcase runs.
16685 New testcase for the NT_GNU_BUILD_ID retrieval.
16686 Move the final testing step to ...
16687 (test_different_dir): ... a new function.
16688 New parameter XFAIL to XFAIL all the tests performed.
16689 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
16690 New parameter TYPE to PF_PREFIX all the tests performed.
16691
16692 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
16693
16694 * gdb.mi/mi-var-cp.cc (path_expression): New
16695 function.
16696 * gdb.mi/mi-var-cp.exp: Run path exression tests.
16697
16698 2007-08-27 Markus Deuling <deuling@de.ibm.com>
16699
16700 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
16701 to fit into SPU Local Store memory.
16702
16703 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16704
16705 * gdb.base/default.exp: Adjust the expected output of "info
16706 warranty" after the switch to GPLv3.
16707
16708 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16709
16710 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
16711 to 30000 (from 20000).
16712
16713 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16714
16715 Switch the license of all .exp files to GPLv3.
16716 Switch the license of all .f and .f90 files to GPLv3.
16717 Switch the license of all .s and .S files to GPLv3.
16718
16719 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16720
16721 * configure.ac: Switch license to GPLv3.
16722
16723 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16724
16725 Switch the licensing to GPLv3 for all .ads and .adb files.
16726
16727 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
16728
16729 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
16730 and t_int_double.
16731 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
16732
16733 2007-08-17 Joel Brobecker <brobecker@adacore.com>
16734
16735 * gdb.base/step-line.c: Switch license to GPL version 3, and
16736 update copyright year.
16737 * gdb.base/step-line.inp: Likewise.
16738
16739 2007-08-17 Joel Brobecker <brobecker@adacore.com>
16740
16741 * gdb.base/gdb1555.exp: Make expected output immune to formatting
16742 changes inside gdb1555.c.
16743 * gdb.base/pending.exp: Likewise.
16744
16745 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
16746
16747 * config/default.exp: New file.
16748
16749 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
16750
16751 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
16752 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
16753
16754 2007-07-30 Maciej W. Rozycki <macro@mips.com>
16755
16756 * gdb.base/dump.exp: Force the correct endianness for binary
16757 formats not carrying this information.
16758
16759 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16760
16761 * gdb.threads/staticthreads.exp: Match .*sem_post.
16762
16763 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16764
16765 * gdb.base/readline.exp (operate_and_get_next): Match the final
16766 prompt.
16767
16768 2007-07-23 Kevin Buettner <kevinb@redhat.com>
16769
16770 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
16771 to restarting SID.
16772
16773 2007-07-18 Kevin Buettner <kevinb@redhat.com>
16774
16775 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
16776 prior to `gdb_start'.
16777
16778 2007-07-18 Kevin Buettner <kevinb@redhat.com>
16779
16780 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
16781 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
16782 Remove call to gdb_unload.
16783
16784 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
16785 Daniel Jacobowitz <dan@codesourcery.com>
16786
16787 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
16788 for __WIN32__.
16789 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
16790 * gdb.base/unload.exp: Use shared library test routines.
16791
16792 2007-07-03 Markus Deuling <deuling@de.ibm.com>
16793
16794 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
16795 * gdb.base/solib-symbol-lib.c: Likewise.
16796 * gdb.base/solib-symbol-main.c: Likewise.
16797
16798 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
16799
16800 * config/gdbserver.exp (gdb_reconnect): New.
16801 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
16802 gdb.base/solib-disc.exp: New files.
16803 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
16804 remote debugging".
16805 (gdb_compile): Add shlib_load flag.
16806 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
16807 port.
16808 (gdbserver_reconnect): New.
16809
16810 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
16811 Daniel Jacobowitz <dan@codesourcery.com>
16812
16813 * gdb.base/annota3.exp: Test for if construct.
16814
16815 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
16816
16817 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
16818
16819 2007-06-21 Chris Dearman <chris@mips.com>
16820 Maciej W. Rozycki <macro@mips.com>
16821
16822 * gdb.base/display.exp: Allow a newline after display/i.
16823 * gdb.base/pc-fp.exp: Likewise.
16824 * gdb.base/sigbpt.exp: Likewise.
16825
16826 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
16827
16828 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
16829 required features to be included.
16830
16831 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
16832
16833 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
16834 in info threads output.
16835
16836 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16837 Markus Deuling <deuling@de.ibm.com>
16838
16839 * gdb.arch/spu-info.exp: New testcase.
16840 * gdb.arch/spu-info.c: New file.
16841
16842 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
16843
16844 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
16845 tpcs_offset. Restore lr after the call.
16846 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
16847
16848 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
16849
16850 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
16851 (gdbserver_run): Kill any running gdbserver.
16852 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
16853
16854 2007-05-17 Maciej W. Rozycki <macro@mips.com>
16855
16856 * gdb.base/sigbpt.exp: Preset segv_addr.
16857
16858 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
16859
16860 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
16861 (gdb_compile_shlib): Likewise.
16862 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
16863 (default_gdb_init): Clear cleanfiles.
16864 (gdb_finish): Delete recorded cleanfiles.
16865 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
16866
16867 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
16868 Do not use isnative.
16869 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
16870 gdb.base/so-impl-ld.exp: Likewise.
16871 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
16872 * gdb.base/unload.exp: Likewise. Do not pass empty option to
16873 gdb_compile.
16874
16875 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
16876
16877 * config/unknown.exp: Remove.
16878
16879 2007-05-15 Markus Deuling <deuling@de.ibm.com>
16880
16881 * gdb.base/info-proc.exp: Check is_remote.
16882
16883 2007-05-14 Markus Deuling <deuling@de.ibm.com>
16884
16885 * gdb.base/gcore.exp: Initialize variable core_supported.
16886
16887 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
16888
16889 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
16890
16891 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
16892
16893 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
16894 * gdb.threads/print-threads.exp (test_all_threads): Allow
16895 negative and hexadecimal thread IDs.
16896
16897 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
16898
16899 * gdb.java/jprint.java (public): Avoid invalid call to static
16900 method.
16901
16902 2007-05-14 Denis Pilat <denis.pilat@st.com>
16903
16904 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
16905 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
16906 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
16907 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
16908 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
16909
16910 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16911
16912 * gdb.base/overlays.exp: Add support for targets with only code
16913 overlay support, not data overlay. Support spu-*-* target in
16914 this mode.
16915 * gdb.base/ovlymgr.c: Provide stubs for spu target.
16916 * gdb.base/spu.ld: New file.
16917
16918 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
16919
16920 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
16921
16922 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
16923
16924 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
16925
16926 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
16927
16928 * gdb.java/jmain.exp: Handle demangled names with and without method
16929 signatures.
16930
16931 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
16932
16933 * gdb.mi/mi-syn-frame.c (main, foo, bar)
16934 (have_a_very_merry_interrupt): Remove calls to puts.
16935 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
16936 inferior output.
16937 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
16938 test names.
16939
16940 2007-04-29 Markus Deuling <deuling@de.ibm.com>
16941 Daniel Jacobowitz <dan@codesourcery.com>
16942
16943 * gdb.base/auxv.exp (core_works): Also check is_remote.
16944 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
16945
16946 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
16947
16948 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
16949 message, not the undefined 'module' variable.
16950 * gdb.base/siginfo.exp: Likewise.
16951 * gdb.base/sigstep.exp: Likewise.
16952 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
16953 serialport.
16954 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
16955
16956 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
16957
16958 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
16959 target sim fails. Return 0 otherwise.
16960 (gdb_load): Return prematurely if gdb_target_sim fails.
16961
16962 2007-04-16 Denis Pilat <denis.pilat@st.com>
16963
16964 * gdb.base/setshow.exp: Reset height after having set it to 100.
16965
16966 2007-04-16 Denis Pilat <denis.pilat@st.com>
16967
16968 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
16969
16970 2007-04-16 Denis Pilat <denis.pilat@st.com>
16971
16972 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
16973
16974 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
16975
16976 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
16977 tests. Run the frozen varobjs test.
16978 * gdb.mi/var-cmd.c (do_frozen_tests): New.
16979 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
16980
16981 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16982
16983 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
16984 gdb.base/type-opaque.exp: New files.
16985
16986 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
16987
16988 * gdb.mi/mi-var-child.c
16989 (do_children_tests): User char[2] instead of
16990 char so that automatic printing of pointers to char
16991 don't give unpredicable result.
16992 * gdb.mi/var-cmd.c (do_locals_test): Initialize
16993 local variables.
16994 * gdb.mi/mi-var-child.exp: Step to right line
16995 of do_children_tests.
16996 * gdb.mi/mi2-var-child.exp: Likewise.
16997 * gdb.mi/mi-var-cmd.exp: Step to right line of
16998 do_locals_tests.
16999 (do_children_tests): User char[2] instead of
17000 char so that automatic printing of pointers to char
17001 don't give unpredicable result.
17002 * gdb.mi/mi2-var-cmd.exp: Likewise.
17003 * lib/mi-support.exp (mi_continue_to_line):
17004 Pass test name to mi_wait_for_stop.
17005
17006 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17007
17008 * gdb.asm/asm-source.exp: Remove d10v case.
17009 * lib/gdb.exp (skip_cplus_tests): Likewise.
17010 * gdb.asm/d10v.inc: Deleted.
17011
17012 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17013
17014 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
17015
17016 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17017
17018 * config/netware.exp: Delete file.
17019
17020 2007-03-29 Joel Brobecker <brobecker@adacore.com>
17021
17022 * gdb.dwarf2/dw2-noloc.S: New file.
17023 * gdb.dwarf2/dw2-noloc.exp: New file.
17024
17025 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
17026
17027 * gdb.cp/method2.cc: New test.
17028 * gdb.cp/method2.exp: New test.
17029 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
17030
17031 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17032
17033 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
17034
17035 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
17036
17037 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
17038
17039 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17040
17041 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
17042 (gdb_load): Delete, replace with...
17043 (gdb_reload): ...this.
17044 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
17045 * gdb.server/server-mon.exp: Likewise.
17046 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
17047 (gdb_start_cmd): New.
17048 (gdb_file_cmd): Save the last loaded file.
17049 (gdb_reload): New.
17050 (gdb_gnu_strip_debug): Use transform.
17051 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
17052 support here. Use new $last_loaded_file. Check mtime.
17053 (gdb_target_cmd): Handle ObjC failure case.
17054 (infer_host_exec): Delete.
17055 (gdbserver_load): Rename to...
17056 (gdbserver_run): ...this. Simplify.
17057 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
17058 (mi_gdb_load): Move most contents to a new function...
17059 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
17060 (mi_run_cmd): Use mi_gdb_target_load.
17061 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
17062 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
17063 Use gdb_run_cmd.
17064 * gdb.base/charsign.exp: Remove incorrect comment.
17065 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
17066 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
17067 gdb.base/start.exp: Use gdb_start_cmd.
17068
17069 2007-03-23 Nigel Stephens <nigel@mips.com>
17070 Maciej W. Rozycki <macro@mips.com>
17071
17072 * gdb.base/sigbpt.exp: Fix the message when skipping test.
17073 * gdb.base/signull.exp: Similarly.
17074
17075 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17076
17077 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
17078 messages available to test cases (like chng-sym.exp).
17079
17080 2007-03-14 Andreas Schwab <schwab@suse.de>
17081
17082 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17083 format changes.
17084
17085 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
17086
17087 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
17088 (optimized_1): New.
17089 (main): Call optimized_1.
17090 (gdb2029): Correct typos. Call gdb2029_marker.
17091 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
17092 for gdb2029.
17093
17094 2007-03-12 Mark Kettenis <kettenis@gnu.org>
17095
17096 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
17097 as tabs. Remove redundant test pattern.
17098
17099 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17100
17101 * gdb.base/long_long.exp: Accept optional symbol name in <...>
17102 for /a format output.
17103
17104 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
17105
17106 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
17107 collect output incrementally.
17108
17109 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17110
17111 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
17112 for -var-create lpcharacter test.
17113 * gdb.mi/mi2-var-cmd.exp: Likewise.
17114
17115 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17116
17117 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
17118 pass on targets where address zero is readable.
17119
17120 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17121
17122 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
17123 just a single architecture.
17124
17125 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17126
17127 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
17128 (fetch_all_registers): New function, uses gdb_test_multiple and
17129 exp_continue to fetch inferior output line-by-line.
17130 Replace all uses of do_get_all_registers by fetch_all_registers.
17131
17132 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17133
17134 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
17135 in target_info.
17136
17137 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17138
17139 * gdb.threads/manythreads.exp: Use $message string for
17140 consistancy; add a default (timeout) case.
17141
17142 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17143
17144 * gdb.base/watchpoint.exp: Fix truncated comment.
17145
17146 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17147
17148 * Makefile.in: Remove spurious single-quotes from sed command.
17149
17150 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
17151
17152 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
17153 func.
17154 * gdb.mi/mi2-var-cmd.exp: Likewise.
17155
17156 2007-02-27 Joel Brobecker <brobecker@adacore.com>
17157
17158 * gdb.dwarf2/dw2-producer.S: New file.
17159 * gdb.dwarf2/dw2-producer.exp: New testcase.
17160
17161 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
17162
17163 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17164 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17165 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17166 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17167 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17168 Revert tests to use mi_gdb_test and include value field in output
17169 of -var-create.
17170
17171 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17172
17173 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
17174
17175 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17176
17177 * gdb.base/maint.exp: Remove full paths from test names.
17178 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
17179 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
17180
17181 2007-02-27 Joel Brobecker <brobecker@adacore.com>
17182
17183 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
17184
17185 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17186
17187 * gdb.server/server-mon.exp: New test.
17188
17189 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17190
17191 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
17192
17193 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17194
17195 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
17196 register capitalization.
17197
17198 2007-02-13 Denis Pilat <denis.pilat@st.com>
17199
17200 * gdb.mi/mi-var-invalidate.exp: New file.
17201
17202 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17203
17204 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
17205
17206 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17207
17208 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
17209
17210 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17211
17212 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
17213 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
17214
17215 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
17216
17217 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17218 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17219 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17220 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17221 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17222 * gdb.mi/gdb792.exp, lib/mi-support.exp:
17223 Update tests to include value field in output of -var-create.
17224
17225 2007-02-08 Andreas Schwab <schwab@suse.de>
17226
17227 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
17228
17229 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
17230
17231 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
17232 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
17233
17234 2007-02-02 Denis Pilat <denis.pilat@st.com>
17235
17236 * gdb.threads/threadapply.exp: check that frame is not changed by
17237 the thread apply all command.
17238
17239 2007-01-31 Andreas Schwab <schwab@suse.de>
17240
17241 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
17242
17243 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
17244 in the dwarf sections.
17245 * gdb.dwarf2/mac-fileno.S: Likewise.
17246
17247 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
17248 bspstore register on ia64.
17249
17250 2007-01-29 Andreas Schwab <schwab@suse.de>
17251
17252 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
17253 "frame-begin" annotation.
17254
17255 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
17256 number of "frames-invalid" annotations.
17257
17258 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
17259
17260 * gdb.base/commands.exp: Call if_commands_test.
17261 (gdb_test_no_prompt, if_commands_test): New.
17262
17263 2007-01-28 Mark Kettenis <kettenis@gnu.org>
17264
17265 * gdb.threads/sigthread.c (NSIGS): Make bigger.
17266
17267 2007-01-27 Andreas Schwab <schwab@suse.de>
17268
17269 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
17270 .short/.int/.quad in the dwarf sections.
17271 * gdb.dwarf2/dw2-intercu.S: Likewise.
17272 * gdb.dwarf2/dw2-intermix.S: Likewise.
17273
17274 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17275
17276 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
17277 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
17278 array.
17279 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
17280 * gdb.base/setvar.exp: Likewise.
17281
17282 2007-01-26 Andreas Schwab <schwab@suse.de>
17283
17284 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
17285 test.
17286
17287 * gdb.base/multi-forks.exp ("restart $i"): Also match
17288 __kernel_syscall_via_break.
17289
17290 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
17291
17292 * lib/mi-support.exp (mi_delete_varobj): New.
17293 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
17294 testcase.
17295 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
17296 (main): Call the above.
17297 (reference_update_test, base_in_reference_test)
17298 (reference_to_pointer): Delete the created varobjs.
17299
17300 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
17301
17302 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
17303 * configure: Regenerated.
17304 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
17305 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
17306 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
17307 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
17308 * lib/gdb.exp (gdb_skip_xml_test): New function.
17309
17310 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
17311
17312 * gdb.base/sigrepeat.exp: Correct error message.
17313
17314 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17315 Daniel Jacobowitz <dan@codesourcery.com>
17316
17317 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
17318 gdb.arch/i386-gnu-cfi-asm.S: New files.
17319
17320 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17321
17322 * lib/gdb.exp: Abort on missing `site.exp'.
17323
17324 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17325 Daniel Jacobowitz <dan@codesourcery.com>
17326
17327 * gdb.base/included.c, gdb.base/included.exp,
17328 gdb.base/included.h: New files.
17329
17330 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
17331
17332 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
17333 (maximize_rlimit): Reduce limits on 64-bit systems.
17334
17335 2007-01-19 Mark Kettenis <kettenis@gnu.org>
17336
17337 From Marcus Deuling <deuling@de.ibm.com>:
17338 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
17339 every case.
17340
17341 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
17342
17343 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
17344 (test_path_specification): Use objdir instead of srcdir to always
17345 get an absolute filename.
17346
17347 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
17348
17349 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
17350
17351 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
17352
17353 * gdb.mi/mi-var-cp.cc (reference_update_tests):
17354 Make sure the variable we're using is in scope.
17355 (reference_to_pointer): Likewise.
17356
17357 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
17358
17359 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
17360 has no debug information.
17361
17362 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
17363
17364 * gdb.base/annota1.exp: Remove extra send_gdb.
17365
17366 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17367
17368 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
17369
17370 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17371
17372 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
17373
17374 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
17375 Daniel Jacobowitz <dan@codesourcery.com>
17376
17377 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
17378 lcharacter or linteger change. Correct duplicated test name.
17379 * gdb.mi/mi2-var-cmd.exp: Likewise.
17380
17381 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
17382
17383 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
17384
17385 2007-01-05 Joel Brobecker <brobecker@adacore.com>
17386
17387 * gdb.base/nofield.c: New file.
17388 * gdb.base/nofield.exp: New testcase.
17389
17390 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
17391
17392 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
17393
17394 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
17395 test.
17396
17397 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
17398
17399 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
17400
17401 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
17402
17403 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
17404 when continuing.
17405
17406 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17407
17408 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
17409 Expect ".exe" extension.
17410
17411 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17412
17413 * gdb.base/charset.exp: Add explicit filename to break.
17414 * gdb.base/dbx.exp: Add explicit filename to breaks.
17415
17416 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17417
17418 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
17419 * gdb.mi/mi2-file.exp: Likewise.
17420
17421 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
17422
17423 Implement specification of MI tests as comments
17424 in C and C++ sources.
17425 * lib/mi-support.exp (mi_autotest_data): New variable.
17426 (mi_autotest_source): New variable.
17427 (count_newlines, mi_prepare_inline_tests)
17428 (mi_get_inline_test, mi_continue_to_line)
17429 (mi_run_inline_test, mi_tbreak)
17430 (mi_send_resuming_command, mi_wait_for_stop): New functions.
17431 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
17432 Run inline tests.
17433 * gdb.mi/mi-var-cp.cc: Define tests here.
17434
17435 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
17436
17437 Simplify usage of mi_continue_to.
17438 * lib/mi-support.exp (mi_runto_helper): Renamed
17439 from mi_runto, added new parameter 'run_or_continue'.
17440 (mi_runto): Use mi_runto_helper.
17441 (mi_continue_to): Accept just function name as parameter.
17442 Use mi_runto_helper.
17443 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
17444 * gdb.mi/mi2-var-cmd.exp: Likewise.
17445
17446 2006-01-04 Joel Brobecker <brobecker@adacore.com>
17447
17448 Make this testcase a bit more realistic. The current code
17449 is too simplistic, and allows the compiler to optimize out
17450 some of the entities we need for this testcase.
17451 * gdb.ada/null_record/bar.ads (Void_Star): New type.
17452 (Do_Nothing): Add extra parameter.
17453 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
17454 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
17455 by using a variable of type Void_Star.
17456
17457 2006-01-04 Joel Brobecker <brobecker@adacore.com>
17458
17459 * gdb.ada/catch_ex/foo.adb: New file.
17460 * gdb.ada/catch_ex.exp: New testcase.
17461
17462 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
17463
17464 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
17465 pass --image-base to linker.
17466
17467 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17468 Daniel Jacobowitz <dan@codesourcery.com>
17469
17470 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
17471 secondary prompts.
17472
17473 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
17474
17475 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
17476 output. Test the types of members and member pointers.
17477 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
17478 gdb/2092.
17479 * gdb.cp/member-ptr.exp: Search for a comment instead of a
17480 statement. Enable for GCC. Update expected output for some tests
17481 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
17482 layout.
17483 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
17484 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
17485 (Diamond::vget_base): New.
17486 (main): Add new tests.
17487 * gdb.cp/printmethod.exp: Update expected output for member functions.
17488 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
17489 print pEe->D::vg().
17490
17491 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
17492
17493 * gdb.threads/tls.exp: Allow stops in sem_post.
17494
17495 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
17496
17497 * gdb.base/annota1.exp: Allow .*printf in backtraces.
17498 * gdb.base/annota3.exp: Likewise.
17499 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
17500 again (instead of timing out).
17501 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
17502 GCC bug 26475.
17503 * gdb.java/jmisc.exp: Adjust to work with method signatures including
17504 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
17505 test from jmisc1.exp.
17506 * gdb.java/jmisc1.exp: Delete.
17507 * gdb.java/jprint.exp: Adjust to work with method signatures including
17508 return types.
17509 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
17510 * gdb.threads/linux-dp.exp: Don't be confused by program output.
17511 * lib/java.exp (compile_java_from_source): Pass the correct type
17512 to target_compile.
17513
17514 2006-12-31 Joel Brobecker <brobecker@adacore.com>
17515
17516 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
17517 (stack_align_edx): New function.
17518 (stack_align_eax): New function.
17519 (main): Add calls to stack_align_edx and stack_align_eax.
17520 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
17521 Add testing for the cases where the register used during a stack
17522 realignment is edx. Same for eax.
17523
17524 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
17525
17526 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
17527 and generic PE targets.
17528
17529 2006-12-29 Joel Brobecker <brobecker@adacore.com>
17530
17531 * gdb.ada/array_return.exp: Update copyright date list.
17532
17533 2006-12-27 Joel Brobecker <brobecker@adacore.com>
17534
17535 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
17536 (Create_Small_Float_Vector): New function.
17537 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
17538 function body.
17539 * gdb.ada/array_return/p.adb: Use new type and function from
17540 package Pck.
17541 * gdb.ada/array_return.exp: Add a test verifying that GDB is
17542 able to print the value returned by a function returning an
17543 array of float.
17544
17545 2006-12-20 Joel Brobecker <brobecker@adacore.com>
17546
17547 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
17548 The associated tests should be PASSing.
17549
17550 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
17551
17552 Test for base in references.
17553 * gdb.mi/mi-var-cp.cc: Add test code.
17554 * gdb.mi/mi-var-cp.exp: Test for bases in references.
17555 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
17556 * gdb.mi/mi2-watch.exp: Likewise.
17557 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
17558 (mi_list_varobj_children): New function.
17559
17560 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
17561
17562 * lib/mi-support.exp
17563 (mi_runto): Accept "()" after function name.
17564 (mi_create_varobj): New function.
17565 (mi_varobj_update): New function.
17566 (mi_Check_varobj_value): New function.
17567 * gdb.mi/mi-var-cp.exp: New file.
17568 * gdb.mi/mi-var-cp.cc: New file.
17569
17570 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
17571
17572 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
17573 gdb.base/weaklib2.c: New files.
17574
17575 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
17576
17577 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
17578 info. Adjust test names.
17579
17580 * gdb.base/break.c (main): Move position of malloc.
17581 * gdb.base/break.exp: Revert mistaken checkin.
17582
17583 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
17584
17585 * gdb.mi/mi-var-cmd.exp: Check -var-update after
17586 assignement of arrays and function pointers.
17587 * gdb.mi/var-cmd.c: Add declaration necessary for above
17588 tests.
17589
17590 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
17591
17592 * gdb.base/break.c (main): Call malloc.
17593
17594 * gdb.threads/linux-dp.exp: Read thread table before and after
17595 creating each philosopher and verify it.
17596
17597 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
17598 Paul Brook <paul@codesourcery.com>
17599 Daniel Jacobowitz <dan@codesourcery.com>
17600
17601 * gdb.base/ending-run.exp: Flatten expect script stepping out of
17602 main to remove duplication. Add start function of the form
17603 '_*start[1-9]*'. Add RVDS start function.
17604
17605 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
17606
17607 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
17608
17609 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17610
17611 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
17612 * gdb.asm/spu.inc: New file.
17613 * gdb.base/term.exp: Disable if [target_info exists noargs].
17614 * gdb.gdb/complaints.exp: Disable if ![isnative].
17615 * gdb.gdb/selftest.exp: Likewise.
17616 * gdb.gdb/observer.exp: Likewise.
17617 * gdb.gdb/xfullpath.exp: Likewise.
17618 * gdb.base/attach.exp: Disable on SPU target.
17619 * gdb.cp/bs145503.exp: Likewise.
17620 * gdb.cp/exception.exp: Likewise.
17621 * gdb.cp/userdef.exp: Likewise.
17622
17623 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
17624
17625 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
17626
17627 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
17628
17629 * gdb.base/completion.exp: Fix completion tests for
17630 'info' and 'info '.
17631 * gdb.base/help.exp (help_test_raw, test_class_help)
17632 (test_prefix_command_help): Move...
17633 * lib/gdb.exp: Here.
17634 * gdb.base/main.exp: Adjust.
17635 * gdb.cp/maint.exp: Adjust.
17636 * gdb.trace/tracecmd.exp: Use test_help_class.
17637
17638 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
17639
17640 * gdb.stabs/weird.exp (print_weird_var): Use
17641 gdb_test_multiple instead of gdb_expect.
17642
17643 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
17644
17645 * gdb.base/help.exp (help_test_raw): New.
17646 (test_class_help): New.
17647 (test_prefix_command_help): New.
17648 Adjust testcases.
17649
17650 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
17651
17652 * gdb.base/constvars.c (main): Write to crass and crips, so that
17653 they are allocated by the compiler.
17654
17655 2006-10-27 Andreas Schwab <schwab@suse.de>
17656
17657 * gdb.base/multi-forks.exp: Use "detach fork" instead of
17658 "detach-fork".
17659
17660 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
17661
17662 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
17663 of patterns.
17664
17665 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
17666
17667 * gdb.base/sepdebug.exp: Remove debug format test.
17668 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
17669 Handle no-symtab.
17670 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
17671
17672 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
17673
17674 * gdb.threads/manythreads.c (thread_function, main): Don't cast
17675 int to pointer or pointer to int.
17676 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
17677
17678 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
17679
17680 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
17681
17682 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17683
17684 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
17685
17686 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
17687
17688 PR c++/2116
17689 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
17690
17691 2006-10-06 Joel Brobecker <brobecker@adacore.com>
17692
17693 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
17694 the corresponding bug has been fixed in GDB (PR/2018).
17695
17696 2006-10-06 Joel Brobecker <brobecker@adacore.com>
17697
17698 * gdb.base/subst.exp: New testcase.
17699
17700 2006-10-06 Joel Brobecker <brobecker@adacore.com>
17701
17702 * gdb.ada/array_return/pck.ads: Add copyright notice.
17703 * gdb.ada/array_return/pck.adb: Likewise.
17704 * gdb.ada/array_return/p.adb: Likewise.
17705 * gdb.ada/exec_changed/first.adb: Likewise.
17706 * gdb.ada/exec_changed/second.adb: Likewise.
17707
17708 2006-10-06 Joel Brobecker <brobecker@adacore.com>
17709
17710 * gdb.ada/watch_arg/watch.adb: New file.
17711 * gdb.ada/watch_arg.exp: New testcase.
17712
17713 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
17714
17715 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
17716 via string_to_regexp.
17717 * gdb.mi/mi2-basics.exp: Likewise.
17718
17719 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
17720
17721 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
17722 Remove unused / obsolete files.
17723
17724 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
17725
17726 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
17727
17728 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
17729
17730 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
17731 HIGH_FRAME argument to -stack-list-arguments can be larger than
17732 the number of frames.
17733
17734 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
17735
17736 * gdb.base/args.c (main): Add breakpoint marker.
17737 * gdb.base/args.exp: Use args_test for tests. Add new tests which
17738 really test empty arguments.
17739 (args_load): Delete.
17740 (args_test): New.
17741
17742 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
17743
17744 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
17745 check for one file.
17746
17747 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
17748
17749 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
17750 HIGH_FRAME argument to -stack-list-locals can be larger than
17751 the number of frames.
17752
17753 2006-08-18 Fred Fish <fnf@specifix.com>
17754
17755 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
17756 '$' in front of skip_vmx_tests_saved when setting that.
17757
17758 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
17759
17760 * gdb.base/trace-commands.exp: New file.
17761
17762 2006-08-10 Joel Brobecker <brobecker@adacore.com>
17763 Daniel Jacobowitz <dan@codesourcery.com>
17764
17765 * gdb.base/step-bt.exp: Make hexadecimal address optional in
17766 expected output of the backtrace commands.
17767
17768 2006-08-09 Joel Brobecker <brobecker@adacore.com>
17769
17770 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
17771 untested followed by return combination.
17772 * gdb.arch/altivec-regs.exp: Likewise.
17773 * gdb.arch/e500-abi.exp: Likewise.
17774 * gdb.arch/e500-regs.exp: Likewise.
17775 * gdb.arch/gdb1291.exp: Likewise.
17776 * gdb.arch/gdb1431.exp: Likewise.
17777 * gdb.arch/gdb1558.exp: Likewise.
17778 * gdb.arch/i386-prologue.exp: Likewise.
17779 * gdb.arch/i386-unwind.exp: Likewise.
17780 * gdb.asm/asm-source.exp: Likewise.
17781 * gdb.base/a2-run.exp: Likewise.
17782 * gdb.base/advance.exp: Likewise.
17783 * gdb.base/all-bin.exp: Likewise.
17784 * gdb.base/annota1.exp: Likewise.
17785 * gdb.base/annota3.exp: Likewise.
17786 * gdb.base/args.exp: Likewise.
17787 * gdb.base/arithmet.exp: Likewise.
17788 * gdb.base/assign.exp: Likewise.
17789 * gdb.base/async.exp: Likewise.
17790 * gdb.base/attach.exp: Likewise.
17791 * gdb.base/bang.exp: Likewise.
17792 * gdb.base/bigcore.exp: Likewise.
17793 * gdb.base/bitfields.exp: Likewise.
17794 * gdb.base/bitfields2.exp: Likewise.
17795 * gdb.base/break.exp: Likewise.
17796 * gdb.base/call-sc.exp: Likewise.
17797 * gdb.base/call-strs.exp: Likewise.
17798 * gdb.base/callfuncs.exp: Likewise.
17799 * gdb.base/checkpoint.exp: Likewise.
17800 * gdb.base/chng-syms.exp: Likewise.
17801 * gdb.base/code-expr.exp: Likewise.
17802 * gdb.base/commands.exp: Likewise.
17803 * gdb.base/completion.exp: Likewise.
17804 * gdb.base/cond-expr.exp: Likewise.
17805 * gdb.base/condbreak.exp: Likewise.
17806 * gdb.base/consecutive.exp: Likewise.
17807 * gdb.base/constvars.exp: Likewise.
17808 * gdb.base/corefile.exp: Likewise.
17809 * gdb.base/cvexpr.exp: Likewise.
17810 * gdb.base/dbx.exp: Likewise.
17811 * gdb.base/define.exp: Likewise.
17812 * gdb.base/detach.exp: Likewise.
17813 * gdb.base/display.exp: Likewise.
17814 * gdb.base/dump.exp: Likewise.
17815 * gdb.base/ena-dis-br.exp: Likewise.
17816 * gdb.base/ending-run.exp: Likewise.
17817 * gdb.base/environ.exp: Likewise.
17818 * gdb.base/eval-skip.exp: Likewise.
17819 * gdb.base/exprs.exp: Likewise.
17820 * gdb.base/fileio.exp: Likewise.
17821 * gdb.base/finish.exp: Likewise.
17822 * gdb.base/float.exp: Likewise.
17823 * gdb.base/foll-exec.exp: Likewise.
17824 * gdb.base/foll-fork.exp: Likewise.
17825 * gdb.base/foll-vfork.exp: Likewise.
17826 * gdb.base/freebpcmd.exp: Likewise.
17827 * gdb.base/funcargs.exp: Likewise.
17828 * gdb.base/gcore.exp: Likewise.
17829 * gdb.base/gdb1090.exp: Likewise.
17830 * gdb.base/gdb1250.exp: Likewise.
17831 * gdb.base/huge.exp: Likewise.
17832 * gdb.base/info-proc.exp: Likewise.
17833 * gdb.base/interrupt.exp: Likewise.
17834 * gdb.base/jump.exp: Likewise.
17835 * gdb.base/langs.exp: Likewise.
17836 * gdb.base/lineinc.exp: Likewise.
17837 * gdb.base/list.exp: Likewise.
17838 * gdb.base/logical.exp: Likewise.
17839 * gdb.base/long_long.exp: Likewise.
17840 * gdb.base/macscp.exp: Likewise.
17841 * gdb.base/maint.exp: Likewise.
17842 * gdb.base/mips_pro.exp: Likewise.
17843 * gdb.base/miscexprs.exp: Likewise.
17844 * gdb.base/multi-forks.exp: Likewise.
17845 * gdb.base/opaque.exp: Likewise.
17846 * gdb.base/overlays.exp: Likewise.
17847 * gdb.base/pc-fp.exp: Likewise.
17848 * gdb.base/pointers.exp: Likewise.
17849 * gdb.base/printcmds.exp: Likewise.
17850 * gdb.base/psymtab.exp: Likewise.
17851 * gdb.base/ptype.exp: Likewise.
17852 * gdb.base/recurse.exp: Likewise.
17853 * gdb.base/relational.exp: Likewise.
17854 * gdb.base/relocate.exp: Likewise.
17855 * gdb.base/remote.exp: Likewise.
17856 * gdb.base/reread.exp: Likewise.
17857 * gdb.base/restore.exp: Likewise.
17858 * gdb.base/return.exp: Likewise.
17859 * gdb.base/return2.exp: Likewise.
17860 * gdb.base/scope.exp: Likewise.
17861 * gdb.base/sect-cmd.exp: Likewise.
17862 * gdb.base/sep.exp: Likewise.
17863 * gdb.base/sepdebug.exp: Likewise.
17864 * gdb.base/setshow.exp: Likewise.
17865 * gdb.base/setvar.exp: Likewise.
17866 * gdb.base/sigall.exp: Likewise.
17867 * gdb.base/sigbpt.exp: Likewise.
17868 * gdb.base/signals.exp: Likewise.
17869 * gdb.base/signull.exp: Likewise.
17870 * gdb.base/sizeof.exp: Likewise.
17871 * gdb.base/solib.exp: Likewise.
17872 * gdb.base/step-line.exp: Likewise.
17873 * gdb.base/step-test.exp: Likewise.
17874 * gdb.base/structs.exp: Likewise.
17875 * gdb.base/structs2.exp: Likewise.
17876 * gdb.base/term.exp: Likewise.
17877 * gdb.base/twice.exp: Likewise.
17878 * gdb.base/until.exp: Likewise.
17879 * gdb.base/varargs.exp: Likewise.
17880 * gdb.base/volatile.exp: Likewise.
17881 * gdb.base/watchpoint.exp: Likewise.
17882 * gdb.base/whatis-exp.exp: Likewise.
17883 * gdb.base/whatis.exp: Likewise.
17884 * gdb.cp/ambiguous.exp: Likewise.
17885 * gdb.cp/annota2.exp: Likewise.
17886 * gdb.cp/annota3.exp: Likewise.
17887 * gdb.cp/bool.exp: Likewise.
17888 * gdb.cp/breakpoint.exp: Likewise.
17889 * gdb.cp/casts.exp: Likewise.
17890 * gdb.cp/class2.exp: Likewise.
17891 * gdb.cp/classes.exp: Likewise.
17892 * gdb.cp/cplusfuncs.exp: Likewise.
17893 * gdb.cp/ctti.exp: Likewise.
17894 * gdb.cp/derivation.exp: Likewise.
17895 * gdb.cp/exception.exp: Likewise.
17896 * gdb.cp/gdb1355.exp: Likewise.
17897 * gdb.cp/hang.exp: Likewise.
17898 * gdb.cp/inherit.exp: Likewise.
17899 * gdb.cp/local.exp: Likewise.
17900 * gdb.cp/m-data.exp: Likewise.
17901 * gdb.cp/m-static.exp: Likewise.
17902 * gdb.cp/member-ptr.exp: Likewise.
17903 * gdb.cp/method.exp: Likewise.
17904 * gdb.cp/misc.exp: Likewise.
17905 * gdb.cp/namespace.exp: Likewise.
17906 * gdb.cp/overload.exp: Likewise.
17907 * gdb.cp/ovldbreak.exp: Likewise.
17908 * gdb.cp/pr-1023.exp: Likewise.
17909 * gdb.cp/pr-1210.exp: Likewise.
17910 * gdb.cp/pr-574.exp: Likewise.
17911 * gdb.cp/printmethod.exp: Likewise.
17912 * gdb.cp/psmang.exp: Likewise.
17913 * gdb.cp/ref-params.exp: Likewise.
17914 * gdb.cp/ref-types.exp: Likewise.
17915 * gdb.cp/rtti.exp: Likewise.
17916 * gdb.cp/templates.exp: Likewise.
17917 * gdb.cp/try_catch.exp: Likewise.
17918 * gdb.cp/userdef.exp: Likewise.
17919 * gdb.cp/virtfunc.exp: Likewise.
17920 * gdb.disasm/am33.exp: Likewise.
17921 * gdb.disasm/h8300s.exp: Likewise.
17922 * gdb.disasm/mn10300.exp: Likewise.
17923 * gdb.disasm/sh3.exp: Likewise.
17924 * gdb.disasm/t01_mov.exp: Likewise.
17925 * gdb.disasm/t02_mova.exp: Likewise.
17926 * gdb.disasm/t03_add.exp: Likewise.
17927 * gdb.disasm/t04_sub.exp: Likewise.
17928 * gdb.disasm/t05_cmp.exp: Likewise.
17929 * gdb.disasm/t06_ari2.exp: Likewise.
17930 * gdb.disasm/t07_ari3.exp: Likewise.
17931 * gdb.disasm/t08_or.exp: Likewise.
17932 * gdb.disasm/t09_xor.exp: Likewise.
17933 * gdb.disasm/t10_and.exp: Likewise.
17934 * gdb.disasm/t11_logs.exp: Likewise.
17935 * gdb.disasm/t12_bit.exp: Likewise.
17936 * gdb.disasm/t13_otr.exp: Likewise.
17937 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
17938 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
17939 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
17940 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
17941 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
17942 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
17943 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
17944 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
17945 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
17946 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
17947 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
17948 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
17949 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
17950 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
17951 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
17952 * gdb.mi/gdb701.exp: Likewise.
17953 * gdb.mi/gdb792.exp: Likewise.
17954 * gdb.mi/mi-basics.exp: Likewise.
17955 * gdb.mi/mi-break.exp: Likewise.
17956 * gdb.mi/mi-cli.exp: Likewise.
17957 * gdb.mi/mi-console.exp: Likewise.
17958 * gdb.mi/mi-disassemble.exp: Likewise.
17959 * gdb.mi/mi-eval.exp: Likewise.
17960 * gdb.mi/mi-file.exp: Likewise.
17961 * gdb.mi/mi-read-memory.exp: Likewise.
17962 * gdb.mi/mi-regs.exp: Likewise.
17963 * gdb.mi/mi-return.exp: Likewise.
17964 * gdb.mi/mi-simplerun.exp: Likewise.
17965 * gdb.mi/mi-stack.exp: Likewise.
17966 * gdb.mi/mi-stepi.exp: Likewise.
17967 * gdb.mi/mi-syn-frame.exp: Likewise.
17968 * gdb.mi/mi-until.exp: Likewise.
17969 * gdb.mi/mi-var-block.exp: Likewise.
17970 * gdb.mi/mi-var-child.exp: Likewise.
17971 * gdb.mi/mi-var-cmd.exp: Likewise.
17972 * gdb.mi/mi-var-display.exp: Likewise.
17973 * gdb.mi/mi-watch.exp: Likewise.
17974 * gdb.mi/mi2-basics.exp: Likewise.
17975 * gdb.mi/mi2-break.exp: Likewise.
17976 * gdb.mi/mi2-cli.exp: Likewise.
17977 * gdb.mi/mi2-console.exp: Likewise.
17978 * gdb.mi/mi2-disassemble.exp: Likewise.
17979 * gdb.mi/mi2-eval.exp: Likewise.
17980 * gdb.mi/mi2-file.exp: Likewise.
17981 * gdb.mi/mi2-read-memory.exp: Likewise.
17982 * gdb.mi/mi2-regs.exp: Likewise.
17983 * gdb.mi/mi2-return.exp: Likewise.
17984 * gdb.mi/mi2-simplerun.exp: Likewise.
17985 * gdb.mi/mi2-stack.exp: Likewise.
17986 * gdb.mi/mi2-stepi.exp: Likewise.
17987 * gdb.mi/mi2-syn-frame.exp: Likewise.
17988 * gdb.mi/mi2-until.exp: Likewise.
17989 * gdb.mi/mi2-var-block.exp: Likewise.
17990 * gdb.mi/mi2-var-child.exp: Likewise.
17991 * gdb.mi/mi2-var-cmd.exp: Likewise.
17992 * gdb.mi/mi2-var-display.exp: Likewise.
17993 * gdb.mi/mi2-watch.exp: Likewise.
17994 * gdb.stabs/exclfwd.exp: Likewise.
17995 * gdb.stabs/weird.exp: Likewise.
17996 * gdb.threads/gcore-thread.exp: Likewise.
17997 * gdb.trace/actions.exp: Likewise.
17998 * gdb.trace/backtrace.exp: Likewise.
17999 * gdb.trace/circ.exp: Likewise.
18000 * gdb.trace/collection.exp: Likewise.
18001 * gdb.trace/deltrace.exp: Likewise.
18002 * gdb.trace/infotrace.exp: Likewise.
18003 * gdb.trace/limits.exp: Likewise.
18004 * gdb.trace/packetlen.exp: Likewise.
18005 * gdb.trace/passc-dyn.exp: Likewise.
18006 * gdb.trace/passcount.exp: Likewise.
18007 * gdb.trace/report.exp: Likewise.
18008 * gdb.trace/save-trace.exp: Likewise.
18009 * gdb.trace/tfind.exp: Likewise.
18010 * gdb.trace/tracecmd.exp: Likewise.
18011 * gdb.trace/while-dyn.exp: Likewise.
18012 * gdb.trace/while-stepping.exp: Likewise.
18013
18014 2006-08-08 Joel Brobecker <brobecker@adacore.com>
18015
18016 * gdb.base/step-bt.c: New file.
18017 * gdb.base/step-bt.exp: New testcase.
18018
18019 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
18020
18021 * config/monitor.exp (gdb_load): Remove support for obsolete
18022 download-write-size.
18023 * gdb.base/remote.exp: Likewise. Update all callers of
18024 gdb_timed_load.
18025
18026 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
18027
18028 * cursal.exp: Pass binfile to gdb_load.
18029
18030 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
18031
18032 * gdb.base/cursal.exp: Add "" to gdb_load call.
18033
18034 2006-07-29 Mark Kettenis <kettenis@gnu.org>
18035
18036 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
18037 NetBSD/ELF targets.
18038
18039 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
18040
18041 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
18042 operator*.
18043
18044 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
18045
18046 * gdb.base/completion.exp: Update for change in "file" behavior.
18047 * gdb.stabs/weird.exp: Likewise.
18048 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
18049 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
18050
18051 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
18052
18053 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
18054 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
18055
18056 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
18057
18058 * gdb.base/default.exp: Update source command error message.
18059 * gdb.base/help.exp: Update 'help source' message.
18060
18061 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
18062
18063 * gdb.cp/bs15503.exp: Update comment for no longer crashing
18064 test.
18065
18066 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
18067
18068 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
18069
18070 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18071
18072 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
18073
18074 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18075
18076 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
18077
18078 2006-07-17 Mark Kettenis <kettenis@gnu.org>
18079
18080 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
18081 *-*-openbsd* from targets for wich we expect ARM FPA floating
18082 point format.
18083
18084 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
18085
18086 * gdb.cp/annota3.exp: Expect frame-begin annotation.
18087
18088 2006-07-17 Mark Kettenis <kettenis@gnu.org>
18089
18090 * gdb.base/annota3.exp: Expect frame-begin annotation.
18091
18092 2006-07-14 Joel Brobecker <brobecker@adacore.com>
18093
18094 * gdb.base/help.exp: Adjust "help unset" test to accept
18095 any list of unset commands.
18096
18097 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
18098 Daniel Jacobowitz <dan@codesourcery.com>
18099
18100 * gdb.cp/ref-params.exp: New test.
18101 * gdb.cp/ref-params.cc: New source file.
18102 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
18103
18104 2006-07-08 Mark Kettenis <kettenis@gnu.org>
18105
18106 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
18107 spaces/tabs in regular expressions since they might not be there.
18108
18109 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
18110
18111 * gdb.base/ifelse.exp: New file.
18112
18113 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
18114
18115 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
18116 line.
18117 * gdb.base/huge.exp: Loop over compilation to find a size that
18118 is acceptable.
18119 * gdb.base/remote.exp: Correct expected strings.
18120 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
18121
18122 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18123
18124 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
18125
18126 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18127
18128 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
18129 native.
18130
18131 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18132
18133 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
18134 enable stabs testing.
18135
18136 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18137
18138 * gdb.base/auxv.exp: Intercept undefined command messages before
18139 gdb_test_multiple does.
18140
18141 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18142
18143 * Makefile.in (host_alias): Remove.
18144 (target_alias): Use @target_noncanonical@.
18145 (site.exp): Don't set host_alias.
18146 * aclocal.m4: Remove contents. Include acx.m4.
18147 * configure: Regenerated.
18148 * configure.ac: Use ACX_NONCANONICAL_TARGET.
18149
18150 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
18151
18152 * lib/gdb.exp (gdb_load_cmd): New.
18153
18154 * gdb.base/fileio.c: Add system(NULL) test.
18155 * gdb.base/fileio.exp: Check it.
18156
18157 * gdb.base/break.c: Add 10a breakpoint at }
18158 * gdb.base/break.exp: Add test for breakpoint at }
18159 * gdb.cp/anon-union.cc: Add code at end of function.
18160 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
18161 * gdb.mi/var-cmd.c: Add code at end of function.
18162 * gdb.mi/mi-var-display.exp: Adjust end of next.
18163 * gdb.mi/mi2-var-display.exp: Likewise.
18164 * gdb.base/fileio.c: Add stop function and insert calls at
18165 stopping places.
18166 * gdb.base/fileio.exp: Breakpoint stop function and remove
18167 explicit line number references.
18168
18169 2006-05-19 Joel Brobecker <brobecker@adacore.com>
18170
18171 * gdb.base/del.exp (test_delete_alias): New function.
18172 Now check that both "del" and "d" work as aliases for "delete".
18173
18174 2006-05-18 Fred Fish <fnf@specifix.com>
18175
18176 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
18177 required. Check for spurious output after program exits normally.
18178
18179 2006-05-17 Fred Fish <fnf@specifix.com>
18180
18181 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
18182 gdb_load, so it works in the simulator.
18183
18184 2006-05-11 Fred Fish <fnf@specifix.com>
18185
18186 * gdb.base/bang.exp: Ignore unexpected output between the
18187 "program exited normally" and the gdb prompt, as many other
18188 tests do.
18189
18190 2006-05-07 Mark Kettenis <kettenis@gnu.org>
18191
18192 * gdb.base/help.exp: Make "delete checkpoint" part option for
18193 "help d" and "help delete" tests.
18194
18195 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18196
18197 * gdb.mi/mi-basics.exp: Add missing serial number to
18198 expected output in some mi_gdb_test statements.
18199 * gdb.mi/mi2-basics.exp: Likewise.
18200
18201 2006-05-05 Joel Brobecker <brobecker@adacore.com>
18202
18203 * gdb.base/del.c: New file.
18204 * gdb.base/del.exp: New testcase.
18205
18206 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
18207
18208 * gdb.base/break.exp: Do not assume a breakpoint on
18209 main will actually be in $srcfile when optimizing.
18210 * gdb.base/savedregs.exp: Do not require that the dummy
18211 frame location match up to a symbol and source file location.
18212 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
18213 will get printed without a mi_cmd_data_list_register_values prefix.
18214 (*-data-list-register-*): Correct regular expressions to expect the new
18215 pseudo d? floating point registers.
18216 * gdb.mi/mi2-regs.exp: Likewise.
18217
18218 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
18219
18220 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
18221 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
18222 is allocated by the compiler.
18223 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
18224 anons, e, anone to force their allocation by the compiler.
18225
18226 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
18227
18228 * gdb.base/help.exp: Update expected text for help d and
18229 help delete.
18230
18231 2006-05-02 Mark Kettenis <kettenis@gnu.org>
18232
18233 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
18234 NetBSD/ELF targets.
18235
18236 2006-04-30 Mark Kettenis <kettenis@gnu.org>
18237
18238 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
18239 single-step breakpoint fails; make this a KFAIL on
18240 sparc*-*-openbsd*.
18241 * gdb.base/siginfo.exp: Likewise.
18242 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18243
18244 2006-04-26 Michael Snyder <msnyder@redhat.com>
18245
18246 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
18247 which may have to consume output from other forks.
18248 Add tests to make sure that "delete fork" succeeded.
18249
18250 2006-04-20 Michael Snyder <msnyder@redhat.com>
18251
18252 * 2006-03-22 Jim Blandy <jimb@redhat.com>
18253 Add support for the Renesas M32C and M16C.
18254
18255 * gdb.asm/asm-source.exp: Add m32c target.
18256 * gdb.asm/m32c.inc: Support for m32c target.
18257
18258 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
18259
18260 * gdb.base/commands.exp (recursive_source_test): New test.
18261
18262 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
18263
18264 * gdb.base/float.exp: Add pattern for sparc targets.
18265
18266 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18267
18268 * gdb.base/commands.exp (stray_arg0_test): New test.
18269
18270 2006-03-30 Paul Brook <paul@codesourcery.com>
18271
18272 * gdb.mi/mi-until.exp: kfail broken until command.
18273 * gdb.mi/mi2-until.exp: Ditto.
18274
18275 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
18276
18277 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
18278
18279 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
18280
18281 * gdb.base/prelink.exp: Anchor tested-for regular expression
18282 on gdb prompt.
18283
18284 2006-03-07 Paul Brook <paul@codesourcery.com>
18285
18286 * gdb.base/assign.exp: Correct fail message.
18287
18288 2006-03-07 Paul Brook <paul@codesourcery.com>
18289
18290 * lib/compiler.c: Extract armcc version number.
18291 * lib/compiler.cc: Ditto.
18292
18293 2006-03-07 Paul Brook <paul@codesourcery.com>
18294
18295 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
18296 additional_flags=-w.
18297 * gdb.arch/altivec-regs.exp: Ditto.
18298 * gdb.arch/e500-abi.exp: Ditto.
18299 * gdb.arch/e500-regs.exp: Ditto.
18300 * gdb.base/all-bin.exp: Ditto.
18301 * gdb.base/annota1.exp: Ditto.
18302 * gdb.base/annota3.exp: Ditto.
18303 * gdb.base/args.exp: Ditto.
18304 * gdb.base/arithmet.exp: Ditto.
18305 * gdb.base/assign.exp: Ditto.
18306 * gdb.base/async.exp: Ditto.
18307 * gdb.base/bang.exp: Ditto.
18308 * gdb.base/break.exp: Ditto.
18309 * gdb.base/call-rt-st.exp: Ditto.
18310 * gdb.base/completion.exp: Ditto.
18311 * gdb.base/cond-expr.exp: Ditto.
18312 * gdb.base/condbreak.exp: Ditto.
18313 * gdb.base/consecutive.exp: Ditto.
18314 * gdb.base/define.exp: Ditto.
18315 * gdb.base/display.exp: Ditto.
18316 * gdb.base/ena-dis-br.exp: Ditto.
18317 * gdb.base/environ.exp: Ditto.
18318 * gdb.base/eval-skip.exp: Ditto.
18319 * gdb.base/info-proc.exp: Ditto.
18320 * gdb.base/jump.exp: Ditto.
18321 * gdb.base/logical.exp: Ditto.
18322 * gdb.base/long_long.exp: Ditto.
18323 * gdb.base/maint.exp: Ditto.
18324 * gdb.base/miscexprs.exp: Ditto.
18325 * gdb.base/pc-fp.exp: Ditto.
18326 * gdb.base/pointers.exp: Ditto.
18327 * gdb.base/relational.exp: Ditto.
18328 * gdb.base/reread.exp: Ditto.
18329 * gdb.base/sect-cmd.exp: Ditto.
18330 * gdb.base/sep.exp: Ditto.
18331 * gdb.base/sepdebug.exp: Ditto.
18332 * gdb.base/until.exp: Ditto.
18333 * gdb.base/whatis-exp.exp: Ditto.
18334 * gdb.cp/annota2.exp: Ditto.
18335 * gdb.cp/annota3.exp: Ditto.
18336 * gdb.trace/actions.exp: Ditto.
18337 * gdb.trace/backtrace.exp: Ditto.
18338 * gdb.trace/circ.exp: Ditto.
18339 * gdb.trace/collection.exp: Ditto.
18340 * gdb.trace/deltrace.exp: Ditto.
18341 * gdb.trace/infotrace.exp: Ditto.
18342 * gdb.trace/limits.exp: Ditto.
18343 * gdb.trace/packetlen.exp: Ditto.
18344 * gdb.trace/passc-dyn.exp: Ditto.
18345 * gdb.trace/passcount.exp: Ditto.
18346 * gdb.trace/report.exp: Ditto.
18347 * gdb.trace/save-trace.exp: Ditto.
18348 * gdb.trace/tfind.exp: Ditto.
18349 * gdb.trace/tracecmd.exp: Ditto.
18350 * gdb.trace/while-dyn.exp: Ditto.
18351 * gdb.trace/while-stepping.exp: Ditto.
18352 * lib/gdb.exp: Ditto.
18353 (gdb_compile): Handle nowarning option.
18354
18355 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
18356
18357 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
18358 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
18359 Rename executable to prelinkt. Don't re-prelink if we didn't
18360 get a core file. Test prelink -u exit status to tell whether
18361 prelinking failed. Use gdb_test_multiple.
18362
18363 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
18364
18365 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
18366 (do_tests): Call it.
18367
18368 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
18369
18370 * gdb.base/prelink.exp: New test.
18371 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
18372
18373 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
18374
18375 * gdb.fortran/derived-type.f90: New file.
18376 * gdb.fortran/derived-type.exp: New testcase.
18377
18378 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
18379
18380 * gdb.base/default.exp: Allow ';' as a directory separator.
18381
18382 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
18383
18384 * gdb.base/help.exp (help add-symbol-file): Update.
18385
18386 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
18387
18388 * gdb.base/help.exp (help load): Update expected results.
18389
18390 2006-02-19 Fred Fish <fnf@specifix.com>
18391
18392 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
18393 specifix hex value as part of results.
18394 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
18395
18396 2006-02-16 Fred Fish <fnf@specifix.com>
18397
18398 * gdb.base/whatis.c: Define variables using typedefs char_addr,
18399 ushort_addr, and slong_addr, so the typedefs are not optimized
18400 away.
18401 * gdb.base/whatis.exp: Add tests using type name for struct type,
18402 union type, enum type, and typedef.
18403
18404 2006-02-13 Mark Kettenis <kettenis@gnu.org>
18405
18406 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
18407
18408 2006-02-13 Jim Blandy <jimb@redhat.com>
18409
18410 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
18411 case where it takes two "next" commands to skip past the init
18412 call.
18413
18414 2006-02-12 Fred Fish <fnf@specifix.com>
18415
18416 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
18417 to handle cases where it takes two "next" commands to skip
18418 past the init call.
18419
18420 2006-02-07 Joel Brobecker <brobecker@adacore.com>
18421
18422 * gdb.ada/array_return.exp: Mark the last test as expected to fail
18423 on hppa32 targets.
18424
18425 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
18426
18427 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
18428 field.
18429
18430 2006-01-29 Mark Kettenis <kettenis@gnu.org>
18431
18432 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
18433
18434 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
18435
18436 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
18437 files.
18438
18439 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
18440
18441 * gdb.cp/maint.exp: Set complaints to a positive value.
18442
18443 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
18444
18445 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
18446 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
18447 function name.
18448
18449 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
18450
18451 * gdb.base/checkpoint.c: Update copyright notice. Include
18452 <stdlib.h>.
18453
18454 2006-01-04 Jim Blandy <jimb@redhat.com>
18455
18456 * gdb.asm/asm-source.exp: Independently provide default values for
18457 asm-flags and debug-flags. Use 'string equal' to do the
18458 comparison, not the implicit expr's '==' operator. Remove
18459 now-unneeded assignments to asm-flags. In h8300 case, place
18460 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
18461
18462 2006-01-04 Michael Snyder <msnyder@redhat.com>
18463
18464 * gdb.base/checkpoint.c: New file.
18465 * gdb.base/checkpoint.exp: New file.
18466 * gdb.base/multi-fork.c: New file.
18467 * gdb.base/multi-fork.exp: New file.
18468 * gdb.base/pi.txt: New file (data for checkpoint.c test).
18469
18470 2006-01-04 Fred Fish <fnf@specifix.com>
18471
18472 * gdb.base/ptype.c (foo): Add typedef.
18473 (intfoo): Add function.
18474 * gdb.base/ptype1.c: New file.
18475 * gdb.base/ptype.exp: Handle compilation and linking with two
18476 source files. Test that proper type for "foo" is found based
18477 on source context rather than first match found in symtabs.
18478
18479 2005-12-28 Mark Kettenis <kettenis@gnu.org>
18480
18481 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
18482 * gdb.asm/openbsd.inc: Indent commands.
18483
18484 2005-12-26 Mark Kettenis <kettenis@gnu.org>
18485
18486 * gdb.base/freebpcmd.exp: Increase timeout.
18487
18488 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
18489
18490 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
18491
18492 * gdb.base/default.exp: Update check for "show version".
18493
18494 2005-12-09 Randolph Chung <tausq@debian.org>
18495
18496 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
18497 * gdb.asm/pa64.inc: New file.
18498
18499 2005-12-09 Randolph Chung <tausq@debian.org>
18500
18501 * gdb.asm/common.inc: Indent commands.
18502 * gdb.asm/asmsrc1.s: Likewise.
18503 * gdb.asm/asmsrc2.s: Likewise.
18504
18505 2005-12-09 Randolph Chung <tausq@debian.org>
18506
18507 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
18508 (get_addr_of_sym): Remove duplicate print.
18509 (gen_core): xfail hppa*-*-hpux*, update expected output.
18510 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
18511 * gdb.arch/pa64-nullify.s: New file.
18512
18513 2005-12-09 Randolph Chung <tausq@debian.org>
18514
18515 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
18516
18517 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
18518
18519 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
18520 code generation for these functions.
18521 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
18522 error message.
18523
18524 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
18525
18526 * gdb.base/help.exp (help b, help br, help bre, help brea)
18527 (help break): Update the expected message.
18528
18529 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
18530
18531 * gdb.asm/m68hc11.inc: Setup the data section.
18532 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
18533 script for this test.
18534 (m6812-*-*): Likewise.
18535
18536 2005-11-09 Randolph Chung <tausq@debian.org>
18537
18538 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
18539
18540 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
18541
18542 * gdb.base/break.exp: Fix a comment typo.
18543
18544 2005-11-03 Jim Blandy <jimb@redhat.com>
18545
18546 Checked in by Elena Zannoni <ezannoni@redhat.com>
18547
18548 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
18549
18550 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
18551
18552 * gdb.arch/gdb1558.c: Include stdio.h.
18553
18554 2005-10-31 Mark Kettenis <kettenis@gnu.org>
18555
18556 * gdb.asm/asm-source.exp: Use -e instead of --entry.
18557
18558 2005-10-31 Mark Kettenis <kettenis@gnu.org>
18559
18560 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
18561
18562 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
18563
18564 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18565 vscr" tests to better match output.
18566
18567 2005-10-12 Jim Blandy <jimb@redhat.com>
18568
18569 * gdb.base/structs.exp (any): New function.
18570 (test_struct_returns): Don't make any assumptions at all about
18571 what value the function returns when GDB can't set the return
18572 value.
18573
18574 2005-10-09 Joel Brobecker <brobecker@adacore.com>
18575
18576 * gdb.ada/arrayidx/p.adb: New file.
18577 * gdb.ada/arrayidx.exp: New testcase
18578
18579 2005-10-09 Joel Brobecker <brobecker@adacore.com>
18580
18581 * gdb.ada/array_return/pck.ads: New file.
18582 * gdb.ada/array_return/pck.adb: New file.
18583 * gdb.ada/array_return/p.adb: New file.
18584 * gdb.ada/array_return.exp: New testcase.
18585
18586 2005-10-03 Joel Brobecker <brobecker@adacore.com>
18587
18588 * gdb.base/arrayidx.c: New file.
18589 * gdb.base/arrayidx.exp: New testcase.
18590
18591 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
18592
18593 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
18594 frames-invalid and breakpoints-invalid are no longer generated
18595 with level 3 so don't expect them in the output.
18596
18597 2005-09-27 Bob Rossi <bob@brasko.net>
18598
18599 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
18600 from test. Escape the | in mi_gdb_test call.
18601 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
18602 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
18603 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
18604 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
18605 expected regex's in mi_gdb_test calls.
18606 * lib/mi-support.exp: Remove arbitrary .* from tests.
18607 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
18608 Fully anchor GDB/MI expected results in mi_gdb_test.
18609 * lib/gdb.exp (string_to_regexp): Escape the ] character.
18610 * gdb.base/sizeof.exp: Remove escape character. Correct test.
18611
18612 2005-09-26 Paul Brook <paul@codesourcery.com>
18613
18614 * long_long.exp: Exclude eabi targets from arm FPA float format test.
18615
18616 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
18617
18618 * bfp-test.c: New file.
18619 * bfp-test.exp: New testcase.
18620
18621 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
18622
18623 * gdb.fortran/subarray.exp: New testcase to test the evaluation
18624 of subarray and substring variable.
18625 * gdb.fortran/subarray.f: New source file for the test of subarray
18626 and substring variable evaluation.
18627 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
18628 of string constant.
18629
18630 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
18631
18632 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
18633 copyright dates.
18634
18635 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
18636
18637 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
18638 powerpc altivec' test with an almost identical 'info vector' test.
18639
18640 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
18641
18642 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18643 vscr" tests to match output.
18644
18645 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
18646
18647 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
18648 output.
18649
18650 2005-09-11 Bob Rossi <bob@brasko.net>
18651
18652 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
18653 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
18654 commands that return an MI output command and an asyncronous MI output
18655 command.
18656 * gdb.mi/mi-console.exp: Ditto.
18657
18658 2005-09-11 Bob Rossi <bob@brasko.net>
18659
18660 * gdb.mi/mi-var-child.c: Include <string.h>.
18661
18662 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
18663
18664 * killed.exp: Correct gdb_expect syntax.
18665
18666 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
18667
18668 * lib/mi-support.exp (mi_gdb_load): Fix typo.
18669
18670 2005-08-02 Bob Rossi <bob@brasko.net>
18671
18672 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
18673 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
18674 Change tests to inferior-tty-set/show.
18675 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
18676 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
18677 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
18678 inferior. Use mi_gdb_test to get GDB and Inferior output.
18679 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
18680 descriptor.
18681 (mi_inferior_tty_name): Add inferior PTY file name.
18682 (mi_gdb_start): Add INFERIOR_PTY parameter.
18683 (mi_gdb_test): Add IPATTERN parameter.
18684
18685 2005-08-02 Bob Rossi <bob@brasko.net>
18686
18687 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
18688 parameter to mi_gdb_test.
18689 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
18690
18691 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18692
18693 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
18694 struct_declarations.
18695 * gdb.mi/mi-var-child.exp: Step over the initialization of
18696 struct_declarations.
18697
18698 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18699
18700 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
18701 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
18702 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
18703 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
18704 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
18705 file.
18706
18707 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
18708
18709 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
18710 (do_children_tests): Assign values to the extra elements.
18711
18712 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
18713 them for tests for "-var-update --no-values" and
18714 "-var-update --all-values".
18715 Add test for "-var-list-children --simple-values".
18716
18717 * gdb.mi/basics.c (callee4): Add integer array D[3]...
18718
18719 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
18720 "-stack-list-locals --simple-values" Improve doc strings and
18721 comments.
18722
18723 2005-07-18 Mark Kettenis <kettenis@gnu.org>
18724
18725 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
18726 *-*-openbsd*.
18727 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
18728
18729 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
18730 sigaltsatck'.
18731
18732 2005-07-14 Bob Rossi <bob@brasko.net>
18733
18734 * gdb.base/default.exp (tty): Changed output of command.
18735 * gdb.base/help.exp (help tty): Ditto.
18736
18737 2005-07-12 Mark Kettenis <kettenis@gnu.org>
18738
18739 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
18740
18741 2005-07-10 Mark Kettenis <kettenis@gnu.org>
18742
18743 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
18744 -stack-select-frame without arguments.
18745 (test_stack_frame_listing): Add test for newly implemented command
18746 -stack-info-frame.
18747
18748 2005-07-06 Bob Rossi <bob@brasko.net>
18749
18750 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
18751 command.
18752 (Copyright): Update copyright.
18753
18754 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
18755
18756 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
18757 tests to evaluate exponentiation expression.
18758
18759 2005-06-29 Andreas Schwab <schwab@suse.de>
18760
18761 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
18762 main to avoid warnings.
18763
18764 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
18765
18766 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
18767
18768 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
18769 -stack-select-frame without arguments.
18770 (test_stack_frame_listing): Add test for newly implemented command
18771 -stack-info-frame.
18772
18773 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
18774
18775 * gdb.fortran/array-element.f: New file.
18776 * gdb.fortran/array-element.exp: New testcase.
18777
18778 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
18779
18780 * gdb.base/bigcore.exp: Correct checks for systems which can
18781 not dump a large core file.
18782
18783 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
18784
18785 * gdb.base/relocate.c: Add a copyright notice.
18786 (dummy): Remove.
18787 * gdb.base/relocate.exp: Test printing the values of variables
18788 from a relocatable file.
18789
18790 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
18791
18792 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
18793 excess MI output after an error.
18794
18795 2005-05-29 Joel Brobecker <brobecker@adacore.com>
18796
18797 * gdb.arch/alpha-step.c: New file.
18798 * gdb.arch/alpha-step.exp: New testcase.
18799
18800 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
18801 Dennis Brueni <dennis@slickedit.com>
18802
18803 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
18804 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
18805 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
18806 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
18807 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
18808 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
18809 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
18810
18811 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
18812 Wu Zhou <woodzltc@cn.ibm.com>
18813
18814 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
18815 IBM's xlc compiler.
18816 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
18817 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
18818
18819 2005-05-13 Jim Blandy <jimb@redhat.com>
18820
18821 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
18822 calling gdb_suppress_entire_file.
18823 * gdb.base/charset.exp: Same.
18824 * gdb.base/call-rt-st.exp: Same.
18825
18826 2005-05-05 Bob Rossi <bob_rossi@cox.net>
18827
18828 * lib/gdb.exp (fullname_syntax): Added global regex.
18829 (fullname_syntax_POSIX): Ditto.
18830 (fullname_syntax_UNC): Ditto.
18831 (fullname_syntax_DOS_CASE): Ditto.
18832 (fullname_syntax_DOS): Ditto.
18833 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
18834 fullname_syntax variable to scope and use it.
18835 (test_file_list_exec_source_files): Ditto.
18836 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
18837
18838 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
18839
18840 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
18841
18842 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
18843
18844 * lib/gdb.exp (skip_altivec_tests): New function, based on
18845 check_vmx_hw_available from the GCC testsuite.
18846 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
18847 * lib/gdb.arch/altivec-regs.exp: Likewise.
18848
18849 2005-05-02 Jim Blandy <jimb@redhat.com>
18850
18851 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
18852 calling gdb_suppress_entire_file.
18853
18854 2005-04-30 Randolph Chung <tausq@debian.org>
18855
18856 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
18857 Slightly relax "sem_post" name checking.
18858
18859 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
18860
18861 * gdb.base/unload.exp: Use new shared library infrastructure.
18862
18863 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
18864
18865 * gdb.base/so-impl-ld.exp: Use new shared library
18866 infrastructure.
18867
18868 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
18869
18870 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
18871 * gdb.asm/h8300.inc: New file.
18872
18873 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
18874
18875 * gdb.base/shlib-call.exp: Change to use new shared library
18876 infrastructure.
18877
18878 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
18879
18880 * gdb.base/pending.exp: Change to use new shared library
18881 infrastructure.
18882
18883 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
18884
18885 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
18886 use test_compiler_info instead of gcc_compiled, and update copyright.
18887
18888 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
18889
18890 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
18891 shared objects being adjusted and update copyright years.
18892
18893 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
18894
18895 * ChangeLog: Correct some 2003-01-13 dates.
18896 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
18897 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
18898 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
18899 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
18900 gdb.trace/tfind.exp: Update copyright years.
18901
18902 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
18903 Daniel Jacobowitz <dan@codesourcery.com>
18904
18905 * lib/gdb.exp (gdb_compile): Handle shlib=.
18906 (gdb_compile_shlib): New function.
18907
18908 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
18909
18910 * lib/gdb.exp (test_compiler_info): Give argument a default value.
18911
18912 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
18913
18914 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
18915 gdb.server.
18916 * configure.ac: Likewise.
18917 * configure: Regenerated.
18918 * gdb.gdbserver/Makefile.in: Moved to...
18919 * gdb.server/Makefile.in: ... here.
18920 * gdb.gdbserver/server.c: Moved to...
18921 * gdb.server/server.c: ... here.
18922 * gdb.gdbserver/server-run.exp: Moved to...
18923 * gdb.server/server-run.exp: ... here.
18924
18925 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
18926
18927 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
18928 * configure.ac: Create gdb.gdbserver/Makefile.
18929 * configure: Regenerated.
18930 * lib/gdbserver-support.exp: New file, derived from
18931 config/gdbserver.exp.
18932 * config/gdbserver.exp: Use gdbserver-support.exp.
18933 * gdb.gdbserver/Makefile.in: New file.
18934 * gdb.gdbserver/server.c: New file.
18935 * gdb.gdbserver/server-run.exp: New file.
18936
18937 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
18938
18939 * lib/gdb.exp (test_compiler_info): Return compiler_info
18940 if no arguments are given.
18941
18942 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
18943
18944 * gdb.arch/altivec-abi.exp: Check for compiler and set
18945 use altivec' flag accordingly.
18946 * gdb.arch/altivec-regs.exp: Likewise.
18947
18948 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
18949
18950 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
18951
18952 2005-03-27 Andreas Schwab <schwab@suse.de>
18953
18954 * gdb.base/bigcore.c (main): Add missing mode argument in open
18955 call.
18956
18957 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
18958
18959 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
18960 downloads.
18961 * config/gdbserver.exp (gdb_load): Likewise.
18962
18963 2005-03-14 Paul Brook <paul@codesourcery.com>
18964
18965 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
18966 targets.
18967
18968 2005-03-09 Joel Brobecker <brobecker@adacore.com>
18969
18970 * gdb.dwarf2/dup-psym.S: New file.
18971 * gdb.dwarf2/dup-psym.exp: New testcase.
18972
18973 2005-03-09 Joel Brobecker <brobecker@adacore.com>
18974
18975 * gdb.ada/exec_changed/first.adb: New file.
18976 * gdb.ada/exec_changed/second.adb: New file.
18977 * gdb.ada/exec_changed.exp: New testcase.
18978
18979 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
18980
18981 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
18982 (A2): New class.
18983 (main): Test operator+.
18984 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
18985 breakpoint test.
18986
18987 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
18988 * gdb.base/signull.exp: Disable if gdb,nosignals.
18989 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
18990 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
18991 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
18992 * gdb.mi/mi2-console.exp: Likewise.
18993 * gdb.trace/collection.exp (run_trace_experiment): Consume the
18994 continue output at start.
18995 (gdb_collect_locals_test): Robustify regexp.
18996 * gdb.trace/passc-dyn.exp: Fix comment typo.
18997 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
18998
18999 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
19000
19001 * gdb.asm/asm-source.exp: Add iq2000 case.
19002 * gdb.asm/iq2000.inc: New file.
19003
19004 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
19005
19006 * gdb.base/command.exp: Change hardcoded value to regular expression.
19007 * gdb.base/float.exp: Add powerpc to the list of targets checked.
19008
19009 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
19010
19011 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
19012 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
19013 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
19014 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
19015 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
19016
19017 2005-03-05 Mark Kettenis <kettenis@gnu.org>
19018
19019 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
19020 changes.
19021
19022 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
19023
19024 * lib/compiler.c: Add test for IBM's xlc compiler.
19025 * lib/compiler.cc: Likewise.
19026
19027 2004-02-24 Joel Brobecker <brobecker@adacore.com>
19028
19029 * gdb.ada/fixed_points.exp: Create compilation object directory
19030 before running the test.
19031 * gdb.ada/null_record.exp: Likewise.
19032 * gdb.ada/packed_array.exp: Likewise.
19033 * gdb.ada/start.exp: Likewise.
19034
19035 2005-02-15 Joel Brobecker <brobecker@adacore.com>
19036
19037 * gdb.ada/packed_array/pa.adb: New file.
19038 * gdb.ada/packed_array.exp: New testcase.
19039
19040 2005-02-10 Mark Kettenis <kettenis@gnu.org>
19041
19042 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
19043 files.
19044
19045 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
19046 on *-*-openbsd*. Correctly match whitespace in regukar
19047 expressions.
19048
19049 2005-02-10 Daniel Jacobowitz <dan@debian.org>
19050
19051 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
19052 PR exp/1821
19053 * gdb.base/gdb1821.c: New test file.
19054 * gdb.base/gdb1821.exp: New test file.
19055
19056 2005-02-09 Joel Brobecker <brobecker@adacore.com>
19057
19058 * gdb.base/start.c: New file.
19059 * gdb.base/start.exp: New testcase.
19060
19061 2005-02-09 Joel Brobecker <brobecker@adacore.com>
19062
19063 * gdb.ada/start/dummy.adb: New file.
19064 * gdb.ada/start.exp: New testcase.
19065
19066 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
19067
19068 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
19069 for printing symbols and statistics.
19070 Add test for using relative pathnames in "maint print msymbols" test.
19071 Mark "maint info sections DATA" XFAIL on Cygwin.
19072 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
19073 tests.
19074
19075 2005-02-09 Andreas Schwab <schwab@suse.de>
19076
19077 Committed by Andrew Cagney <cagney@gnu.org>
19078 * gdb.base/remotetimeout.exp: New file.
19079
19080 2005-02-07 Mark Kettenis <kettenis@gnu.org>
19081
19082 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
19083
19084 2005-02-03 Joel Brobecker <brobecker@adacore.com>
19085
19086 * gdb.ada/gnat_ada.gpr: New file.
19087 * gdb.ada/gnat_ada.gin: Delete, no longer used.
19088 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
19089 * configure.ac: No longer generate gnat_ada.gpr.
19090 * configure: Regenerate.
19091 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
19092 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
19093 * gdb.ada/null_record/bar.ads: Likewise.
19094 * gdb.ada/null_record/bar.adb: Likewise.
19095 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
19096 * gdb.ada/null_record.exp (testdir): New variable.
19097 (testfile): executable is now in testdir subdirectory.
19098 (srcfile): Use full path to the main compilation unit.
19099 * gdb.ada/fixed_points.exp: Same changes as above.
19100
19101 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
19102
19103 * gdb.base/interp.exp: New test.
19104
19105 2005-01-24 Andrew Cagney <cagney@gnu.org>
19106
19107 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
19108
19109 2005-01-19 Andrew Cagney <cagney@gnu.org>
19110
19111 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
19112 configure.ac not configure.in.
19113
19114 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
19115 of powerpc*-*-*.
19116 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
19117 * gdb.base/list.exp (test_list_function)
19118 (test_list_filename_and_function): Ditto.
19119 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
19120
19121 2005-01-16 Andrew Cagney <cagney@gnu.org>
19122
19123 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
19124
19125 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
19126
19127 2005-01-14 Andrew Cagney <cagney@gnu.org>
19128
19129 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
19130 * gdb.mi/mi2-var-cmd.exp: Ditto.
19131
19132 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
19133
19134 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
19135
19136 2005-01-07 Andrew Cagney <cagney@gnu.org>
19137
19138 * configure.ac: Rename configure.in, require autoconf 2.59.
19139 * configure: Re-generate.
19140 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
19141 * gdb.stabs/configure: Re-generate.
19142 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
19143 * gdb.hp/configure: Re-generate.
19144 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
19145 autoconf 2.59.
19146 * gdb.hp/gdb.objdbg/configure: Re-generate.
19147 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
19148 autoconf 2.59.
19149 * gdb.hp/gdb.defects/configure: Re-generate.
19150 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
19151 autoconf 2.59.
19152 * gdb.hp/gdb.compat/configure: Re-generate.
19153 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
19154 autoconf 2.59.
19155 * gdb.hp/gdb.base-hp/configure: Re-generate.
19156 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
19157 autoconf 2.59.
19158 * gdb.hp/gdb.aCC/configure: Re-generate.
19159
19160 2004-12-15 Jim Blandy <jimb@redhat.com>
19161
19162 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
19163 under NPTL when there is debugging info available for libpthread.
19164
19165 2004-12-13 Jerome Guitton <guitton@gnat.com>
19166
19167 * gdb.ada/fixed_points.c: New file.
19168 * gdb.ada/fixed_points.exp: New file.
19169
19170 2004-12-03 Randolph Chung <tausq@debian.org>
19171
19172 * gdb.arch/pa-nullify.exp: New file.
19173 * gdb.arch/pa-nullify.s: New file.
19174
19175 2004-11-30 Randolph Chung <tausq@debian.org>
19176
19177 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
19178 instead of "tbug". Fix regexp to work properly with gdb_test.
19179
19180 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
19181
19182 * gdb.base/bitfields2.exp: New test.
19183 * gdb.base/bitfields2.c: New file.
19184
19185 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
19186
19187 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
19188
19189 2004-11-16 Randolph Chung <tausq@debian.org>
19190
19191 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
19192
19193 2004-11-14 Daniel Jacobowitz <dan@debian.org>
19194
19195 * gdb.threads/threadapply.exp: Correct "macro details" test.
19196
19197 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
19198
19199 * gdb.threads/threadapply.exp: New test.
19200 * gdb.threads/threadapply.c: New file.
19201
19202 2004-11-07 Mark Kettenis <kettenis@gnu.org>
19203
19204 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
19205 frames.
19206
19207 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
19208
19209 * gdb.base/cursal.exp: New file.
19210 * gdb.base/cursal.c: New file.
19211
19212 2004-11-03 Andrew Cagney <cagney@gnu.org>
19213
19214 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
19215
19216 2004-10-30 Mark Kettenis <kettenis@gnu.org>
19217
19218 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
19219 NetBSD/ELF targets.
19220
19221 2004-10-29 Joel Brobecker <brobecker@gnat.com>
19222
19223 * gdb.threads/bp_in_thread.c: New file, copied from
19224 pthread_cond_wait.c.
19225 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
19226 file, rather than reusing the .c file from another testcase.
19227
19228 2004-10-20 Joel Brobecker <brobecker@gnat.com>
19229
19230 * gdb.ada/null_record.exp: Check where we stopped after
19231 sending the start command, instead of where the associated
19232 temporary breakpoint was inserted.
19233
19234 2004-10-14 Andrew Cagney <cagney@gnu.org>
19235
19236 * gdb.mi/gdb701.c (main): Return 0.
19237
19238 2004-10-13 Daniel Jacobowitz <dan@debian.org>
19239
19240 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
19241
19242 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
19243
19244 * gdb.threads/schedlock.c: Add comment markers to use to find
19245 line numbers.
19246 * gdb.threads/schedlock.exp: Adjust regex to handle the new
19247 comments.
19248 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
19249 breakpoint lines.
19250
19251 2004-10-12 Daniel Jacobowitz <dan@debian.org>
19252
19253 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
19254
19255 2004-10-12 Daniel Jacobowitz <dan@debian.org>
19256
19257 * configure.in: Add gdb.dwarf2.
19258 * configure: Regenerated.
19259 * Makefile.in: Add gdb.dwarf2.
19260 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
19261 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
19262 gdb.dwarf2/file1.txt: New files.
19263
19264 2004-10-11 Orjan Friberg <orjanf@axis.com>
19265
19266 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
19267 of "run", since the latter doesn't work with remote targets. Adjust
19268 the breakpoint numbering accordingly.
19269 * gdb.threads/pthread_cond_wait.exp: Ditto.
19270
19271 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
19272
19273 * gdb.base/overlays.exp: Update copyright years.
19274
19275 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
19276
19277 * gdb.base/overlays.exp: Disable if target is Linux.
19278
19279 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
19280
19281 * config/gdbserver.exp (gdb_load): Use right filename on remote.
19282
19283 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
19284
19285 * gdb.asm/asm-source.exp: Add m32r-linux target.
19286 * gdb.asm/m32r-linux.inc: New file.
19287
19288 2004-09-24 Andrew Cagney <cagney@redhat.com>
19289 David Anderson <anderson@redhat.com>
19290
19291 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
19292 command fails, assume things will work.
19293 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
19294 (_GNU_SOURCE): Define.
19295 (print_unsigned, print_hex): Change parameter to "long long".
19296 (print_byte_count): New function, use to print byte counts.
19297 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
19298 O_LARGEFILE.
19299 (main): Compute an upper bound on a corefile in max_core_size.
19300 Limit memory chunk size to max_core_size. Limit total memory
19301 allocated to max_core_size.
19302
19303 2004-09-23 Andrew Cagney <cagney@gnu.org>
19304
19305 * gdb.base/bigcore.exp: Replace the code that creates a corefile
19306 from a separate process with code that creates a corefile by
19307 making the inferior dump core.
19308
19309 2004-09-23 Mark Kettenis <kettenis@gnu.org>
19310
19311 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
19312 block.
19313
19314 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
19315
19316 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
19317 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
19318 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
19319 Likewise.
19320
19321 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
19322
19323 * gdb.java/jprint.exp: New test case for java inferior call.
19324 * gdb.java/jprint.java: Ditto.
19325
19326 2004-09-15 Joel Brobecker <brobecker@gnat.com>
19327
19328 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
19329
19330 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
19331
19332 * gdb.threads/killed.c: Include <stdlib.h>.
19333 * gdb.threads/pthreads.c: Likewise.
19334
19335 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
19336
19337 * gdb.threads/killed.c: Add copyright notice.
19338
19339 2004-09-10 Jason Molenda (jmolenda@apple.com)
19340
19341 * gdb.base/define.exp: Two new tests to verify zero space chars
19342 after 'if' and 'while' commands in a user-defined command is correctly
19343 parsed.
19344
19345 2004-09-08 Andrew Cagney <cagney@gnu.org>
19346
19347 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
19348 delivery test with duplicate at end of file.
19349
19350 2004-09-06 Mark Kettenis <kettenis@jive.nl>
19351
19352 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
19353
19354 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19355
19356 * config/hppro.exp: Removed.
19357
19358 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19359
19360 * config/sparclet.exp: Removed.
19361
19362 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19363
19364 * config/udi.exp: Removed.
19365
19366 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
19367
19368 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
19369 of "exp_continue".
19370 (advancei): Likewise.
19371
19372 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
19373
19374 * gdb.base/unload.exp: Fix so messages aren't duplicated.
19375
19376 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
19377
19378 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
19379 to check for nodebug in executable.
19380 * gdb.gdb/observer.exp (setup_test): Likewise.
19381 * gdb.gdb/selftest.exp (test_with_self): Likewise.
19382 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
19383
19384 2004-09-01 Andrew Cagney <cagney@gnu.org>
19385
19386 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19387 files.
19388
19389 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
19390
19391 * gdb.base/unload.exp: Fix expected warning message to match
19392 latest format.
19393
19394 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
19395
19396 * gdb.base/call-rt-st.exp: Fix typos.
19397
19398 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
19399
19400 * gdb.threads/thread_check.exp: New testcase.
19401 * gdb.threads/thread_check.c: New testcase.
19402
19403 2004-08-31 Andrew Cagney <cagney@gnu.org>
19404
19405 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
19406 (skip_to_handler_entry): New procedures. Test stepping into a
19407 handler when the breakpoint is at the handler's entry point.
19408
19409 2004-08-30 Andrew Cagney <cagney@gnu.org>
19410
19411 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
19412 gdb/1757.
19413
19414 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
19415
19416 With code from Manoj Iyer <manjo@austin.ibm.com>:
19417 * lib/gdb.exp (gdb_file_cmd): Return more information in the
19418 return value. Add an arm for "no debugging symbols found".
19419 Change a stray "error" to "perror".
19420 (gdb_run_cmd): Adapt to new return value.
19421 * gdb.base/remote.exp: Adapt to new return value.
19422 * gdb.gdb/complaints.exp: Likewise.
19423 * gdb.gdb/observer.exp: Likewise.
19424 * gdb.gdb/selftest.exp: Likewise.
19425 * gdb.gdb/xfullpath.exp: Likewise.
19426
19427 2004-08-27 Joel Brobecker <brobecker@gnat.com>
19428
19429 * gdb.threads/bp_in_thread.exp: New testcase.
19430
19431 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
19432
19433 Fix PR testsuite/1735.
19434 * gdb.threads/schedlock.c (thread_function): Add a cast
19435 to suppress a gcc warning.
19436 * gdb.threads/thread-specific.c (thread_function): Likewise.
19437
19438 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19439
19440 * gdb.base/unload.c: Include <stdlib.h>.
19441
19442 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19443
19444 From Paul Gilliam <pgilliam@us.ibm.com>:
19445 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
19446 synchronized after the "return".
19447
19448 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19449
19450 * gdb.mi/basics.c: Include <stdio.h>.
19451 * gdb.mi/pthreads.c: Include <stdlib.h>.
19452 * gdb.mi/var-cmd.c: Include <stdlib.h>.
19453
19454 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19455
19456 * gdb.threads/schedlock.c: Add copyright notice.
19457
19458 2004-08-25 Andrew Cagney <cagney@gnu.org>
19459
19460 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
19461 (skip_over_handler, breakpoint_over_hander): New test procedures.
19462 (advance, advancei): Add a proper prefix, do not use
19463 rerun_to_main.
19464 * gdb.base/sigstep.c (main): Change to use an infinite loop.
19465
19466 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
19467
19468 * gdb.mi/basics.c: Add copyright notice.
19469 * gdb.mi/var-cmd.c: Add copyright notice.
19470
19471 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19472
19473 * lib/gdb.exp: Remove signed_keyword_not_used.
19474 * lib/compiler.c: Likewise.
19475 * lib/compiler.cc: Likewise.
19476
19477 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19478
19479 * gdb.base/whatis.c: Remove conditional disabling of "signed".
19480 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
19481
19482 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19483
19484 * gdb.base/whatis.c: Add copyright notice.
19485
19486 2004-08-20 Mark Kettenis <kettenis@gnu.org>
19487
19488 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
19489 it to skip the breakpoints encoded in the inline assembly.
19490
19491 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
19492
19493 * Makefile.in: Add gdb.fortran.
19494
19495 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
19496
19497 * gdb.base/call-sc.exp (test_scalar_returns):
19498 Fix cut-and-paste glitch in "Make fun return now".
19499
19500 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
19501
19502 * configure.in: Add gdb.fortran.
19503 * configure: Regenerate.
19504 * gdb.fortran/Makefile.in: New file.
19505 * lib/gdb.exp (skip_fortran_tests): New procedure.
19506
19507 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
19508
19509 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
19510 reference to bug-gnu@prep.ai.mit.edu.
19511 * gdb.mi/mi-var-child.exp: Likewise.
19512 * gdb.mi/mi-var-cmd.exp: Likewise.
19513 * gdb.mi/mi-var-display.exp: Likewise.
19514 * gdb.mi/mi2-var-block.exp: Likewise.
19515 * gdb.mi/mi2-var-child.exp: Likewise.
19516 * gdb.mi/mi2-var-cmd.exp: Likewise.
19517 * gdb.mi/mi2-var-display.exp: Likewise.
19518
19519 2004-08-15 Mark Kettenis <kettenis@gnu.org>
19520
19521 * gdb.base/unload.c (main): Make local variable msg const.
19522
19523 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
19524
19525 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
19526 to bug-gnu@prep.ai.mit.edu.
19527 * gdb.mi/mi-disassemble.exp: Likewise.
19528 * gdb.mi/mi-eval.exp: Likewise.
19529 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
19530 default line number.
19531 * gdb.mi/mi-return.exp: Likewise.
19532 * gdb.mi/mi-simplerun.exp: Likewise.
19533 * gdb.mi/mi-stack.exp: Likewise.
19534 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
19535 number with explicit range test.
19536 * gdb.mi/mi-watch.exp: Likewise.
19537 * gdb.mi/mi2-break.exp: Likewise.
19538 * gdb.mi/mi2-cli.exp: Likewise.
19539 * gdb.mi/mi2-disassemble.exp: Likewise.
19540 * gdb.mi/mi2-eval.exp: Likewise.
19541 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
19542 default line number.
19543 * gdb.mi/mi2-return.exp: Likewise.
19544 * gdb.mi/mi2-simplerun.exp: Likewise.
19545 * gdb.mi/mi2-stack.exp: Likewise.
19546 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
19547 number with explicit range test.
19548 * gdb.mi/mi2-watch.exp: Likewise.
19549
19550 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
19551
19552 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
19553 * gdb.cp/m-static.exp: Likewise.
19554 * gdb.cp/rtti.exp: Likewise.
19555
19556 2004-08-14 Mark Kettenis <kettenis@gnu.org>
19557
19558 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
19559
19560 2004-08-14 Eli Zaretskii <eliz@gnu.org>
19561
19562 * ChangeLog: Prefix Local Variables with semi-colons and indent
19563 the reference to older ChangeLog files, to fix fontification in
19564 Emacs.
19565
19566 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19567
19568 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
19569 * gdb.mi/mi2-break.exp: Likewise.
19570
19571 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19572
19573 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
19574
19575 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19576
19577 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
19578
19579 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19580
19581 * gdb.cp/classes.exp: Remove unused declarations. Just let
19582 test names default instead of providing special names. Remove
19583 extraneous demangler test.
19584
19585 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
19586
19587 * gdb.base/unload.exp: New test for breakpoints in dynamically
19588 loaded libraries.
19589 * gdb.base/unload.c: Ditto.
19590 * gdb.base/unloadshr.c: Ditto.
19591
19592 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
19593
19594 * gdb.cp/classes.exp (test_ptype_class_objects): Call
19595 cp_test_ptype_class.
19596 (test_enums): Likewise.
19597
19598 2004-08-10 Andrew Cagney <cagney@gnu.org>
19599
19600 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19601 files.
19602
19603 2004-08-10 Andrew Cagney <cagney@gnu.org>
19604
19605 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
19606 init_malloc call.
19607
19608 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
19609
19610 * ChangeLog: Add copyright notice. The notice is copied
19611 from emacs 21.3 top level ChangeLog.
19612
19613 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19614
19615 * lib/cp-support.exp: New file.
19616 * lib/cp-support.exp (cp_test_type_class): New function.
19617 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
19618 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
19619 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
19620 cp_test_ptype_class.
19621
19622 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19623
19624 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
19625 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
19626 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
19627 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
19628 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
19629 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
19630 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
19631 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
19632 gdb.mi/mi2-watch.exp: Update copyright years.
19633
19634 2004-08-09 Mark Kettenis <kettenis@gnu.org>
19635
19636 * gdb.base/sigaltstack.exp: Provide proper anchoring.
19637
19638 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19639
19640 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
19641 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
19642 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
19643 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
19644 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
19645 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
19646 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
19647 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
19648 gdb.mi/mi-watch.exp: Update copyright years.
19649
19650 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19651
19652 PR gdb/1738
19653 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
19654 from a breakpoint with a pending signal.
19655
19656 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19657
19658 PR gdb/1736
19659 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
19660 * gdb.base/sigaltstack.exp (finish_test): Consume output until
19661 the prompt.
19662 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
19663
19664 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19665
19666 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
19667
19668 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19669
19670 PR gdb/1736
19671 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
19672 for i?86-*-linux*.
19673
19674 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19675
19676 * gdb.arch/i386-prologue.exp: Compile without debug information.
19677
19678 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
19679
19680 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
19681 rather than asking gdb to search.
19682
19683 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19684
19685 * gdb.base/gcore.c: Include <string.h>.
19686
19687 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19688
19689 * gdb.base/gcore.c: Add copyright notice.
19690
19691 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19692
19693 * gdb.base/freebpcmd.c: Include <stdio.h>.
19694 * gdb.base/long_long.c: Include <string.h>.
19695 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
19696 * gdb.base/siginfo.c: Include <string.h>.
19697 * gdb.base/sigstep.c: Include <string.h>.
19698
19699 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19700
19701 * gdb.base/complex.c: Include <stdlib.h>.
19702
19703 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19704
19705 * gdb.base/complex.c: Add copyright notice.
19706
19707 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19708
19709 * gdb.base/charset.c: Include <stdlib.h>.
19710
19711 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19712
19713 * gdb.base/auxv.c: Include <stdlib.h>.
19714
19715 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19716
19717 * gdb.base/auxv.c: Add copyright notice.
19718
19719 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19720
19721 * gdb.base/coremaker.c: Add copyright notice.
19722 * gdb.base/coremaker2.c: Add copyright notice.
19723
19724 2004-08-04 Andrew Cagney <cagney@gnu.org>
19725
19726 * gdb.base/store.exp: Update copyright.
19727 (check_set, up_set, check_struct, up_struct): Add a prefix to test
19728 names, do not import gdb_prompt.
19729
19730 2004-08-01 Andrew Cagney <cagney@gnu.org>
19731
19732 Fix PR testsuite/1729.
19733 * gdb.base/dump.exp: Add test name to callers of capture_value, do
19734 not use capture_value with value 4.
19735 (capture_value): Add optional test name parameter.
19736 (test_reload_saved_value, test_restore_saved_value): Use $msg as
19737 the prefix, pass to capture_value.
19738
19739 2004-08-01 Mark Kettenis <kettenis@gnu.org>
19740
19741 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
19742 * gdb.arch/i386-prologue.c (standard): New prototype and function.
19743 (main): Call new function.
19744
19745 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19746
19747 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
19748
19749 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19750
19751 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
19752
19753 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19754
19755 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
19756 Accept more values of vtbl pointer. Remove some messages
19757 about "obsolete gcc or gdb".
19758
19759 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
19760
19761 * gdb.cp/classes.exp: Accept more varieties of ptype output.
19762
19763 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
19764
19765 * gdb.base/asm-source.exp: Properly convert target board
19766 debug flags from gcc format to binutils format.
19767
19768 2004-07-28 Mark Kettenis <kettenis@gnu.org>
19769
19770 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
19771 gdb1718". PR backtrace/1718 partially fixed.
19772
19773 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
19774
19775 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
19776
19777 2004-07-26 Nick Clifton <nickc@redhat.com>
19778
19779 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
19780 good default value for a specific architecture is available then
19781 set it to that value. Otherwise default to the -gstabs switch.
19782 Remove the -g... switches from the asm-flags variable. Allow the
19783 target board info to override the value if it wants to. Pass the
19784 switch on the assembler command line.
19785
19786 2004-07-23 Mark Kettenis <kettenis@gnu.org>
19787
19788 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
19789 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
19790 (main): Call new function.
19791
19792 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
19793
19794 Test for PR exp/1715.
19795 * gdb.base/radix.exp: Refactor common procedures. Make all
19796 test names unique. Change XFAIL to KFAIL.
19797
19798 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
19799
19800 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
19801 * gdb.ada/gnat_ada.gin: ... to here.
19802 * configure.in: Use gnat_ada.gin.
19803 * configure: Regenerate.
19804
19805 2004-07-20 Andrew Cagney <cagney@gnu.org>
19806
19807 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
19808 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
19809 XFAILs. Clean up test messages and comments. Check backtraces.
19810 Delete re-sync code.
19811
19812 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
19813
19814 Fix PR cli/740.
19815 * gdb.base/annota1.exp: Honor gdb,nosignals.
19816 * gdb.base/annota3.exp: Likewise.
19817
19818 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
19819
19820 * lib/java.exp: Update copyright notice.
19821
19822 2004-07-19 Andrew Cagney <cagney@gnu.org>
19823
19824 * gdb.base/selftest.exp: Copy file from here ...
19825 * gdb.gdb/selftest.exp: ... to here.
19826
19827 2004-07-16 Andrew Cagney <cagney@redhat.com>
19828
19829 * lib/insight-support.exp: Delete file.
19830 * lib/java.exp (java_init): Fix copyright.
19831
19832 2004-07-16 Andrew Cagney <cagney@gnu.org>
19833
19834 * gdb.base/restore.c: Append "prologue" to comments marking the a
19835 function's prologue.
19836 * gdb.base/restore.exp: Update copyright, re-indent.
19837 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
19838 callerN" prefix where needed. Update patterns that match a
19839 function's prologue.
19840
19841 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
19842
19843 * gdb.base/restore.c: Add copyright notice.
19844
19845 2004-07-16 Andrew Cagney <cagney@gnu.org>
19846
19847 * gdb.base/logical.exp: Update copyright.
19848 (evaluate): New procedure. Use to re-implement tests using
19849 several tables.
19850
19851 2004-07-14 Martin Hunt <hunt@redhat.com>
19852
19853 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
19854 which fixes some problems where init.tcl was not found.
19855
19856 2004-07-13 Andrew Cagney <cagney@gnu.org>
19857
19858 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
19859 (check_sizeof, check_valueof): Do not include the output in the
19860 test name. Use gdb_test.
19861 (get_valueof): Use gdb_test_multiple.
19862
19863 * gdb.base/step-test.exp: Update copyright. Use
19864 gdb_test_multiple. Ensure that test names do not include
19865 architecture dependent output.
19866
19867 * gdb.gdb/observer.exp: Update copyright.
19868 (setup_test): Use gdb_test_multiple.
19869 (attach_first_observer, attach_second_observer)
19870 (attach_third_observer, detach_first_observer)
19871 (detach_second_observer, detach_third_observer)
19872 (reset_counters, check_counters): Make $message a prefix.
19873 (test_normal_stop_notifications): Add "args" parameter - a list of
19874 init functions to be called. Make $message a prefix,
19875 (test_observer_normal_stop): Change the message prefixes so that
19876 they are unique, pass the attach / detach procedures to
19877 test_normal_stop_notifications.
19878
19879 * gdb.base/signull.exp (test_segv): Prefix all tests with
19880 "${name}". Clean up test messages.
19881
19882 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
19883
19884 * gdb.base/ena-dis-br.exp: Update copyright.
19885 (break_at): New function. Replace send_gdb with gdb_test,
19886 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
19887 ignore count, not stopped at bpt", with KFAIL.
19888
19889 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
19890
19891 * gdb.base/attach.exp: Remove cleanupfile handling.
19892
19893 2004-07-12 Andrew Cagney <cagney@gnu.org>
19894
19895 * gdb.base/annota1.exp: Cleanup corefile test name.
19896 * gdb.base/annota3.exp: Ditto.
19897
19898 2004-07-12 Andrew Cagney <cagney@gnu.org>
19899
19900 * gdb.base/signals.exp: Clean up copyright, re-indent.
19901
19902 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
19903 gdb_test and gdb_test_multiple.
19904
19905 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
19906
19907 * gdb.java/jmain.exp: Fix expected line number for main to
19908 break at. Set XFAIL for break at main test since gcj does not
19909 provide line number info for first statement in main.
19910
19911 2004-07-08 Andrew Cagney <cagney@gnu.org>
19912
19913 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
19914
19915 * gdb.base/sigbpt.exp: Make the common part of each test name a
19916 prefix instead of suffix.
19917
19918 2004-07-07 Bob Rossi <bob_rossi@cox.net>
19919
19920 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
19921 test from test_tbreak_creation_and_listing to
19922 test_file_list_exec_source_file
19923 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
19924 Changed name of test from test_tbreak_creation_and_listing to
19925 test_file_list_exec_source_file
19926
19927 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
19928
19929 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
19930 the jmisc() constructor instead of <init>.
19931 * gdb.java/jmisc1.exp: Ditto.
19932
19933 2004-07-07 Andrew Cagney <cagney@gnu.org>
19934
19935 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
19936 corrupting the PC.
19937
19938 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
19939
19940 * gdb.cp/templates.exp: Accept whitespace change in demangler
19941 output.
19942
19943 2004-07-06 Andrew Cagney <cagney@gnu.org>
19944
19945 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
19946
19947 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
19948
19949 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
19950 * lib/compiler.cc: Likewise.
19951
19952 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
19953
19954 * lib/compiler.cc: Work around string preprocessing problem
19955 with old hp c++ compiler.
19956 * lib/compiler.c: Likewise.
19957
19958 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
19959
19960 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
19961 directives to conditionalize symbol prefixing.
19962 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
19963 additional_flags handling. Add underscore prefix for Cygwin.
19964 * gdb.arch/i386-unwind.c: Use preprocessor directives to
19965 conditionalize symbol prefixing.
19966 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
19967 additional_flags handling. Add underscore prefix for Cygwin.
19968
19969 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
19970
19971 * gdb.base/bigcore.exp: Skip test on Cygwin.
19972
19973 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
19974
19975 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
19976 formats for "info register". Use gdb_test_multiple. Fix
19977 the "invalid register" test.
19978
19979 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
19980
19981 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
19982 PID for Cygwin. Add Cygwin specific strings to check for in some
19983 tests.
19984 (do_attach_tests): Add a test for user interaction when attaching
19985 to a process with no matching symbol table already loaded.
19986
19987 2004-06-26 Andrew Cagney <cagney@gnu.org>
19988
19989 Test PR java/1567 and PR java/1565.
19990 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
19991 * gdb.java/jmisc2.exp: Delete file.
19992
19993 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
19994
19995 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
19996
19997 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
19998
19999 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
20000 attach process.
20001
20002 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
20003
20004 * gdb.cp/pr-1553.exp: Remove.
20005
20006 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
20007
20008 * gdb.cp/pr-1553.cc: Remove.
20009 * gdb.cp/pr-1553.exp: Disable this test.
20010
20011 2004-06-20 Jim Blandy <jimb@redhat.com>
20012
20013 Fix PR testsuite/1680.
20014 * gdb.arch/i386-sse.exp: Properly quote curly braces in
20015 regular expressions.
20016
20017 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
20018
20019 Fix PR testsuite/1679.
20020 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
20021 Issue an UNSUPPORTED result instead.
20022
20023 2004-06-18 Jim Blandy <jimb@redhat.com>
20024
20025 * gdb.base/charset.exp: Only send a control-C if we see a new
20026 prompt and incomplete command.
20027
20028 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
20029
20030 * gdb.cp/pr-574.cc: Add copyright notice.
20031
20032 2004-06-17 Jim Blandy <jimb@redhat.com>
20033
20034 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
20035 cases where the regexp has no groups; this grabs random text from
20036 the previous test suite, whatever that was.
20037
20038 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
20039
20040 * gdb.cp/printmethod.cc: Add copyright notice.
20041
20042 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
20043
20044 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
20045
20046 2004-06-16 Andrew Cagney <cagney@gnu.org>
20047
20048 * gdb.base/signull.c: Update copyright. Include <string.h>.
20049 (bowler): Replace data_pointer with data_read
20050 and data_write cases. Add code_descriptor case.
20051 (zero, desc): New array and pointer.
20052 (data, code): Change to simple pointers.
20053 * gdb.base/signull.exp: Fix probe pattern matching a function
20054 descriptor SIGSEGV. Replace data_pointer with data_read and
20055 data_write tests.
20056
20057 2004-06-16 Andrew Cagney <cagney@gnu.org>
20058
20059 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
20060
20061 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20062
20063 * gdb.base/long_long.c: Add copyright notice.
20064
20065 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20066
20067 * gdb.base/long_long.exp: Remove reference to
20068 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
20069 to gdb_breakpoint and gdb_continue_to_breakpoint.
20070
20071 2004-06-14 Jim Blandy <jimb@redhat.com>
20072
20073 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
20074 endian case.
20075
20076 2004-06-14 Andrew Cagney <cagney@gnu.org>
20077
20078 * gdb.base/gcore.exp (capture_command_output): Delete the always
20079 passing tests containing inferior values.
20080 * gdb.base/ending-run.exp: Do not include the breakpoint address
20081 in the test message. Update copyright.
20082 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
20083 size in the test name, use gdb_test_multiple. Update copyright.
20084
20085 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20086
20087 * gdb.cp/ref-types.cc: Add copyright notice.
20088
20089 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20090
20091 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
20092 hp_aCC_compiler.
20093 * lib/compiler.cc: Likewise.
20094 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
20095 'set' commands. Log diagnostics for other lines. Set
20096 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
20097
20098 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
20099
20100 * gdb.cp/try_catch.cc: Add copyright notice.
20101
20102 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
20103
20104 * gdb.cp/userdef.cc: Add copyright notice.
20105
20106 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
20107
20108 * gdb.cp/virtfunc.cc: Add copyright notice.
20109
20110 2004-06-11 Randolph Chung <tausq@debian.org>
20111
20112 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
20113 problem.
20114
20115 2004-06-10 Andrew Cagney <cagney@gnu.org>
20116
20117 * lib/compiler.cc, lib/compiler.c: Append either
20118 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
20119 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
20120 instead of gcc-3-3.
20121
20122 2004-06-09 Andrew Cagney <cagney@gnu.org>
20123
20124 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
20125 gdb/1455, bug is specific to "long long" and "double".
20126
20127 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
20128 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
20129 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
20130 fixed.
20131
20132 2004-06-09 Andrew Cagney <cagney@gnu.org>
20133
20134 * gdb.base/structs.exp (test_struct_returns): Replace
20135 "return_value_unknown" and "finish_value_unknown" by
20136 "return_value_known" and "finish_value_known". Instead of
20137 "return_value_unknown" iff "finish_value_unknown", check
20138 "return_value_known" implies "finish_value_known".
20139
20140 2004-06-08 Martin Hunt <hunt@redhat.com>
20141
20142 * gdb.base/float.exp: Add pattern for mips targets.
20143
20144 2004-06-08 Randolph Chung <tausq@debian.org>
20145
20146 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
20147 message for unknown architectures more clear.
20148
20149 2004-06-08 Joel Brobecker <brobecker@gnat.com>
20150
20151 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
20152 start the execution of the program.
20153
20154 2004-06-07 Jim Blandy <jimb@redhat.com>
20155
20156 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
20157 * gdb.arch/i386-cpuid.h: New helper file.
20158
20159 2004-06-07 Randolph Chung <tausq@debian.org>
20160
20161 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
20162 has started.
20163
20164 2004-06-04 Roland McGrath <roland@redhat.com>
20165
20166 Fix PR gdb/1647.
20167 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
20168 differently to be robust to output buffering differences.
20169
20170 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
20171
20172 * gdb.threads/pthreads.exp: Update copyright years.
20173 (check_control_c): Change asynchronous 'after' to synchronous.
20174
20175 2004-06-04 Roland McGrath <roland@redhat.com>
20176
20177 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
20178 next gdb prompt.
20179
20180 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
20181
20182 Fix PR gdb/1636.
20183 * gdb.threads/manythreads.exp: Change asynchronous 'after'
20184 calls to synchronous.
20185
20186 2004-05-26 Jim Blandy <jimb@redhat.com>
20187
20188 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
20189
20190 2004-05-24 Randolph Chung <tausq@debian.org>
20191
20192 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
20193 * gdb.asm/pa.inc: New file.
20194
20195 2004-05-22 Mark Kettenis <kettenis@gnu.org>
20196
20197 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
20198
20199 2004-05-21 Joel Brobecker <brobecker@gnat.com>
20200 Daniel Jacobowitz <drow@mvista.com>
20201
20202 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
20203 GDB prompt.
20204
20205 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20206
20207 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
20208 setjmp/longjmp. Use sigaction instead of signal.
20209
20210 2004-05-19 J. Brobecker <brobecker@gnat.com>
20211 Michael Snyder <msnyder@redhat.com>
20212
20213 * gdb.threads/pthread_cond_wait.c: New file.
20214 * gdb.threads/pthread_cond_wait.exp: New testcase.
20215
20216 2004-05-13 Andrew Cagney <cagney@redhat.com>
20217
20218 * gdb.base/signull.exp, gdb.base/signull.c: New files.
20219 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
20220
20221 2004-05-11 Andrew Cagney <cagney@redhat.com>
20222
20223 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
20224 fixed but revealed gdb/1639.
20225
20226 2004-05-10 Andrew Cagney <cagney@redhat.com>
20227
20228 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
20229 func1" and "next to 2nd alarm", kernel bug avoided.
20230
20231 2004-05-10 Daniel Jacobowitz <dan@debian.org>
20232
20233 PR external/1568
20234 * gdb.base/bigcore.exp: Check the size of the dumped core file.
20235 XFAIL if it is smaller than bytes_allocated.
20236 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
20237 (main): Make chunks_allocated unsigned. Correct comment.
20238
20239 2004-05-07 Joel Brobecker <brobecker@gnat.com>
20240
20241 * gdb.arch/powerpc-aix-prologue.c: New file.
20242 * gdb.arch/powerpc-aix-prologue.exp: New file.
20243
20244 2004-05-07 Jim Blandy <jimb@redhat.com>
20245
20246 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
20247 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
20248
20249 2004-05-06 Joel Brobecker <brobecker@gnat.com>
20250
20251 * gdb.base/sep.exp: No longer setup_kfail when the program was
20252 built with dwarf2.
20253
20254 2004-05-05 Jim Ingham <jingham@apple.com>
20255
20256 * gdb.base/pending.exp: Make sure pending breakpoints
20257 preserve the ignore count.
20258
20259 2004-04-27 Jerome Guitton <guitton@gnat.com>
20260
20261 * i386-prologue.exp: Add testcase for jump instruction as first
20262 instruction of the real code.
20263 * i386-prologue.c (jump_at_beginning): New function.
20264
20265 2004-04-28 Mark Kettenis <kettenis@gnu.org>
20266
20267 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
20268 x86_64-*-*.
20269
20270 2004-04-28 Mark Kettenis <kettenis@gnu.org>
20271
20272 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
20273 i*86-*-*.
20274
20275 2004-04-25 Mark Kettenis <kettenis@gnu.org>
20276
20277 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
20278 expression that checks the return type.
20279
20280 2004-04-23 Andrew Cagney <cagney@redhat.com>
20281
20282 * gdb.base/call-sc.exp: New test of scalar call/return values.
20283 * gdb.base/call-sc.c: Ditto.
20284
20285 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20286
20287 * gdb.threads/manythreads.c: Reduce thread stack size.
20288
20289 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
20290
20291 * gdb.threads/manythreads.c: Add copyright notice.
20292
20293 2004-04-23 Andrew Cagney <cagney@redhat.com>
20294
20295 * gdb.base/siginfo.exp: Better handle step out of signal.
20296 * gdb.base/sigstep.exp: Ditto.
20297
20298 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
20299 Daniel Jacobowitz <drow@mvista.com>
20300
20301 * gdb.threads/manythreads.c: New testcase.
20302 * gdb.threads/manythreads.exp: Ditto.
20303
20304 2004-04-22 Jim Blandy <jimb@redhat.com>
20305
20306 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
20307 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
20308
20309 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
20310
20311 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
20312
20313 2004-04-21 Andrew Cagney <cagney@redhat.com>
20314
20315 * gdb.base/sigstep.c: New file.
20316 * gdb.base/sigstep.exp: New file.
20317
20318 2004-04-16 Joel Brobecker <brobecker@gnat.com>
20319
20320 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
20321 call to observer_notify_normal_stop.
20322
20323 2004-04-15 Andrew Cagney <cagney@redhat.com>
20324
20325 * gdb.base/siginfo.c: New file.
20326 * gdb.base/siginfo.exp: New file.
20327
20328 2004-04-12 J. Brobecker <brobecker@gnat.com>
20329
20330 * gdb.base/sep.exp: Fix typo in comment.
20331
20332 2004-04-12 J. Brobecker <brobecker@gnat.com>
20333
20334 * gdb.base/sep.c: New file.
20335 * gdb.base/sep-proc.c: New file.
20336 * gdb.base/sep.exp: New testcase.
20337
20338 2004-04-09 Mark Kettenis <kettenis@gnu.org>
20339
20340 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
20341 support.
20342
20343 2004-04-05 Andrew Cagney <cagney@redhat.com>
20344
20345 * gdb.base/sigaltstack.c: New file.
20346 * gdb.base/sigaltstack.exp: New file.
20347
20348 2004-04-04 Joel Brobecker <brobecker@gnat.com>
20349
20350 * gdb.base/foll-fork.exp: Update the expected output for
20351 "help set follow-fork-mode", to match a change that was made
20352 to the help of this variable on 2004-01-13.
20353
20354 2004-04-01 Joel Brobecker <brobecker@gnat.com>
20355
20356 * lib/ada.exp: Add copyright notice.
20357 * bar.ads: Likewise.
20358 * bar.adb: Likewise.
20359 * null_record.adb: Likewise.
20360 * null_record.exp: Likewise.
20361 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
20362
20363 2004-04-01 Joel Brobecker <brobecker@gnat.com>
20364
20365 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
20366 * configure: Regenerate.
20367
20368 2004-04-01 Joel Brobecker <brobecker@gnat.com>
20369
20370 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
20371 to build the application. Remove the message printed when in
20372 verbose mode, redundant with the UNSUPPORTED message above.
20373
20374 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20375
20376 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
20377 * gdb.ada (null_record.exp): New testcase.
20378
20379 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20380
20381 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
20382
20383 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20384
20385 * gdb.ada: New subdirectory.
20386 * gdb.ada/Makefile.in: New file.
20387 * gdb.ada/gnat_ada.gpr.in: New file.
20388
20389 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20390
20391 * lib/ada.exp: New file.
20392
20393 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
20394
20395 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
20396 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
20397
20398 2004-03-22 Andrew Cagney <cagney@redhat.com>
20399
20400 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
20401 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
20402 Problem identified by Ulrich Weigand.
20403
20404 2004-03-17 David Carlton <carlton@kealia.com>
20405
20406 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
20407 PR c++/826.
20408
20409 2004-03-16 Roland McGrath <roland@redhat.com>
20410
20411 * gdb.base/auxv.exp: New file.
20412 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
20413
20414 2004-03-12 David Carlton <carlton@kealia.com>
20415
20416 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
20417 * gdb.cp/pr-1553.cc: Ditto.
20418 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
20419 pass branch.
20420
20421 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
20422
20423 * gdb.cp/templates.exp: Accept more template types.
20424
20425 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20426
20427 From Corinna Vinschen with modifications.
20428 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
20429 local variable obj_with_enum.
20430 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
20431 results with obj_with_enum.
20432
20433 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20434
20435 * gdb.cp/classes.cc: New file, copied from misc.cc.
20436 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
20437
20438 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20439
20440 * gdb.cp/misc.cc: Add copyright notice.
20441
20442 2004-03-05 David Carlton <carlton@kealia.com>
20443
20444 * gdb.cp/rtti.exp: Add 'print *obj3' test.
20445 * gdb.cp/rtti.h: Update copyright.
20446 (namespace n2::n3): New.
20447 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
20448 (n2::n3::func3): New.
20449 (main): Call n2::n3::func3.
20450 * gdb.cp/rtti2.cc: Update copyright.
20451 (n2::create3): New.
20452
20453 2004-03-04 Mark Kettenis <kettenis@gnu.org>
20454
20455 * gdb.asm/openbsd.inc: Fix typo.
20456
20457 2004-03-03 Fred Fish <fnf@redhat.com>
20458
20459 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
20460 "val" instead of unused "size". Update copyright year.
20461
20462 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
20463
20464 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
20465 to use unsigned char.
20466 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
20467 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
20468
20469 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
20470
20471 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
20472 line of output.
20473
20474 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
20475
20476 * gdb.base/relocate.c (dummy): Initialize.
20477
20478 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
20479
20480 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
20481 a breakpoint at exit.
20482
20483 2004-02-27 Fred Fish <fnf@redhat.com>
20484
20485 * gdb.base/chng-syms.exp: Add expect condition to match failing
20486 case that isn't a timeout.
20487
20488 2004-02-27 Andrew Cagney <cagney@redhat.com>
20489
20490 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
20491 support.
20492
20493 2004-02-26 Fred Fish <fnf@redhat.com>
20494
20495 * gdb.arch/gdb1431.c: Remove.
20496 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
20497 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
20498 of "until" incorrectly.
20499
20500 2004-02-26 J. Brobecker <brobecker@gnat.com>
20501
20502 * gdb.cp/class2.cc (empty): New class.
20503 (refer): New function.
20504 (main): Declare an object of type empty and use it.
20505 * gdb.cp/class2.exp: Print the value of an object of type empty.
20506
20507 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
20508
20509 * gdb.base/langs.exp: Update query string to match the
20510 new nquery format used for pending breakpoints.
20511
20512 2004-02-26 Andrew Cagney <cagney@redhat.com>
20513
20514 Fix PR i18n/1570.
20515 * gdb.base/charset.c: Update copyright notice.
20516 (main, init_string): Remove the escape character '\e' tests.
20517 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
20518 * gdb.base/charset.exp (valid_host_charset): Ditto.
20519 * gdb.base/setvar.exp: Ditto.
20520
20521 2004-02-24 Andrew Cagney <cagney@redhat.com>
20522
20523 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
20524 mmapped data in core file" PASS and FAIL messages consistent.
20525
20526 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
20527 setting a breakpoint. Work around PR java/1565.
20528
20529 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
20530
20531 * lib/gdb.exp (gdb_breakpoint): Update query string to match
20532 new nquery format.
20533 * gdb.base/pending.exp: Ditto.
20534
20535 2004-02-22 Mark Kettenis <kettenis@gnu.org>
20536
20537 * configure.in: Run stabs tests on *BSD.
20538 * configure: Regenerated.
20539
20540 2004-02-21 Mark Kettenis <kettenis@gnu.org>
20541
20542 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
20543
20544 2004-02-20 Fred Fish <fnf@redhat.com>
20545
20546 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
20547 blank in test for "returns short", for consistency with other
20548 "returns xxx" tests. Update copyright year.
20549
20550 2004-02-19 Fred Fish <fnf@redhat.com>
20551
20552 New testcase for PR breakpoint/1558.
20553 * gdb.arch/gdb1558.exp: New file.
20554 * gdb.arch/gdb1558.c: New file.
20555
20556 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
20557
20558 * gdb.base/nodebug.exp: Fix typo.
20559
20560 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20561
20562 Committed by Jim Blandy <jimb@redhat.com>.
20563
20564 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
20565
20566 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
20567
20568 * gdb.base/float.exp: Support s390*-*-* targets.
20569
20570 2004-02-17 Adam Fedor <fedor@gnu.org>
20571
20572 * gdb.base/gdb1555.exp: New file.
20573 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
20574
20575 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
20576
20577 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
20578
20579 2004-02-16 Fred Fish <fnf@redhat.com>
20580
20581 * gdb.arch/gdb1291.c: Remove
20582 * gdb.arch/gdb1291.s: New test input file.
20583 * gdb.arch/gdb1291.exp: Expand test to check case that should not
20584 fail. Test for correct result, known incorrect result, other
20585 failures and timeouts.
20586
20587 2004-02-16 Andrew Cagney <cagney@redhat.com>
20588
20589 * gdb.base/bigcore.exp: New file.
20590 * gdb.base/bigcore.c: New file.
20591
20592 2004-02-13 Andrew Cagney <cagney@redhat.com>
20593
20594 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
20595 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
20596 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
20597 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
20598 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
20599 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
20600 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
20601 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
20602 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
20603 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
20604
20605 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
20606
20607 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
20608 executed is an alloc instruction.
20609
20610 2004-02-11 David Carlton <carlton@kealia.com>
20611
20612 * gdb.cp/breakpoint.exp: New.
20613 * gdb.cp/breakpoint.cc: New.
20614
20615 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
20616
20617 Partial fix for PR gdb/1543.
20618 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
20619 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
20620 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
20621 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
20622 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
20623 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
20624 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
20625 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
20626 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
20627 to bug-gdb@prep.ai.mit.edu .
20628 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
20629 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
20630 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
20631 Likewise.
20632
20633 2004-02-10 Andrew Cagney <cagney@redhat.com>
20634
20635 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
20636 using gdb_internal_error_resync.
20637
20638 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
20639
20640 * gdb.threads/thread-specific.exp: Stop early if no threads are
20641 found.
20642
20643 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
20644
20645 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
20646
20647 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
20648
20649 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
20650 breakpoints.
20651
20652 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
20653
20654 * config/sim.exp (gdb_load): Handle $arg == "".
20655 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
20656 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
20657
20658 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
20659
20660 * gdb.base/maint.exp: Update test to reflect
20661 obstack changes.
20662
20663 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
20664
20665 * gdb.base/pendshr.c (pendfunc): New function that calls
20666 pendfunc1.
20667 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
20668
20669 2004-02-04 Fred Fish <fnf@redhat.com>
20670
20671 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
20672 function symbols and update copyright years.
20673 * gdb.arch/gdb1291.c: Ditto.
20674
20675 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20676
20677 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
20678
20679 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20680
20681 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
20682
20683 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20684
20685 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
20686
20687 2004-02-02 Fred Fish <fnf@redhat.com>
20688
20689 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
20690 remote targets. Update copyright years.
20691
20692 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
20693
20694 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
20695 support.
20696 * gdb.base/langs.exp: Fix test which attempts to create
20697 breakpoint on non-existent function to handle new pending
20698 support.
20699 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
20700 a breakpoint.
20701 * gdb.base/pending.exp: New test.
20702 * gdb.base/pending.c: New file.
20703 * gdb.base/pendshr.c: Ditto.
20704
20705 2004-02-02 David Carlton <carlton@kealia.com>
20706
20707 * gdb.cp/overload.exp: Add overloadNamespace tests.
20708 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
20709 (overloadNamespace, XXX): New.
20710 (main): Call XXX::marker2.
20711
20712 2004-02-01 Fred Fish <fnf@redhat.com>
20713
20714 * gdb.base/dump.exp: Use runto_main instead of "runto main".
20715 * gdb.base/finish.exp: Ditto.
20716 * gdb.base/gcore.exp: Ditto.
20717 * gdb.base/huge.exp: Ditto.
20718 * gdb.base/info-proc.exp: Ditto.
20719 * gdb.base/return2.exp: Ditto.
20720 * gdb.threads/gcore-thread.exp: Ditto.
20721
20722 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
20723
20724 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
20725
20726 2004-02-01 Mark Kettenis <kettenis@gnu.org>
20727
20728 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
20729 that opening the file succeeds on OpenBSD.
20730
20731 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
20732
20733 * gdb.threads/thread-specific.c: New file.
20734 * gdb.threads/threads-specific.exp: New test script.
20735 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
20736 to expect_out.
20737
20738 2004-02-01 Mark Kettenis <kettenis@gnu.org>
20739
20740 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
20741 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
20742 only on the "print_small_structs from print_long_arg_list" test.
20743
20744 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
20745
20746 * gdb.base/completion.exp: Kill a stray backslash.
20747
20748 From Jim Ingham <jingham@apple.com>:
20749 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
20750 agrees with the result from sending a tab.
20751
20752 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
20753
20754 * gdb.base/chng-syms.exp: Remove stray newline.
20755
20756 2004-01-31 Mark Kettenis <kettenis@gnu.org>
20757
20758 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
20759 *-*-openbsd*.
20760 * gdb.asm/openbsd.inc: New file.
20761
20762 2004-01-30 Mark Kettenis <kettenis@gnu.org>
20763
20764 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
20765 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
20766 *-*solaris2*. Remove commented out default settings for
20767 asm-flags. Replace gdb_compile with target_link.
20768
20769 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
20770
20771 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
20772 for all tests. Remove old hp-ux and cygnus xfail cases.
20773
20774 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
20775
20776 * gdb.base/chng-syms.exp: New file.
20777 * gdb.base/chng-syms.c: New file.
20778
20779 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
20780
20781 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
20782 Provide arms for current output in all my configurations.
20783
20784 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
20785
20786 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
20787 * lib/compiler.cc: Likewise.
20788 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
20789 get the right preprocessor. Eval the output directly. Remove
20790 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
20791 hp_f77_compiler and hp_f90_compiler completely.
20792 (gdb_preprocess): Delete.
20793 (get_compiler): Delete.
20794
20795 2004-01-24 Mark Kettenis <kettenis@gnu.org>
20796
20797 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
20798 <string.h>.
20799
20800 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
20801
20802 * gdb.mi/mi-stack.exp: Update copyright.
20803
20804 2004-01-23 David Carlton <carlton@kealia.com>
20805
20806 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
20807 test for cp_lookup_transparent_type.
20808 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
20809 call them.
20810
20811 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
20812
20813 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
20814 after -var-update.
20815
20816 2004-01-23 David Carlton <carlton@kealia.com>
20817
20818 * gdb.cp/namespace.cc (C::ensureRefs): New.
20819 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
20820
20821 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
20822
20823 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
20824 case "-stack-list-locals 2".
20825 * gdb.mi/mi-var-child.exp: Test for case
20826 "-var-list-children --all-values NAME".
20827
20828 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
20829
20830 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
20831
20832 2004-01-18 Mark Kettenis <kettenis@gnu.org>
20833
20834 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
20835 used with gdb_test_multiple.
20836
20837 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
20838 read at address 0. This fixes PR testsuite/1504.
20839
20840 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
20841
20842 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
20843 Remove downloading, guessing the host executable, the calls to
20844 gdb_file_cmd and gdb_target_cmd, and "load" support.
20845 (infer_host_exec): New function broken out from gdb_load.
20846 (gdb_load): New wrapper for gdbserver_gdb_load.
20847 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
20848 gdb_target_cmd. Use -target-select.
20849 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
20850 Download binaries to the host. Clear last_mi_remote_file when
20851 we load a new binary.
20852 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
20853 call gdbserver_gdb_load and mi_gdb_target_cmd.
20854
20855 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
20856
20857 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
20858 type patterns.
20859
20860 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
20861
20862 * gdb.cp/templates.exp: Fix typo in test name of
20863 "print Foo<volatile char*>::foo".
20864
20865 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
20866
20867 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
20868
20869 2004-01-16 Ben Elliston <bje@wasabisystems.com>
20870
20871 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
20872 (clean mostlyclean): Remove empty rm.
20873
20874 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
20875
20876 * gdb.base/setvar.exp: Add copyright years.
20877
20878 2004-01-14 David Carlton <carlton@bactrian.org>
20879
20880 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
20881 PR c++/1511 and update coment.
20882 * gdb.cp/templates.exp: Update patterns to match current output.
20883 If changes involve something other than whitespace, KFAIL
20884 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
20885
20886 2004-01-14 David Carlton <carlton@kealia.com>
20887
20888 * gdb.cp/namespace.exp: Add tests involving classes defined within
20889 namespaces.
20890 * gdb.cp/namespace.cc (C::CClass): New.
20891 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
20892
20893 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
20894
20895 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
20896 what debug info we have. Print a better message if something goes
20897 wrong while producing the separate debug info file.
20898
20899 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
20900
20901 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
20902
20903 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
20904
20905 * gdb.base/callfuncs.c: Add copyright notice.
20906
20907 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
20908
20909 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
20910 inheritance. PR gdb/1498, PR gcc/13539.
20911
20912 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
20913
20914 * gdb.threads/gcore-thread.exp: Prefix name of binary with
20915 test specific name.
20916 * gdb.mi/gdb669.exp: Ditto.
20917 * gdb.mi/mi-pthreads.exp: Ditto.
20918 * gdb.mi/mi1-pthreads.exp: Ditto.
20919 * gdb.mi/mi2-pthreads.exp: Ditto.
20920
20921 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
20922
20923 * gdb.cp/member-ptr.cc: Add copyright notice.
20924
20925 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
20926
20927 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
20928 some patterns for recent versions of gcc and hpacc. Delete
20929 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
20930 Delete tests that access a NULL pointer-to-member-data. This
20931 script is still disabled for gcc.
20932
20933 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
20934
20935 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
20936 escaped correctly.
20937
20938 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
20939
20940 * gdb.base/sepdebug.exp: New file.
20941 * gdb.base/sepdebug.c: New file.
20942 * lib/gdb.exp (separate_debug_filename): New procedure.
20943 (gdb_gnu_strip_debug): New procedure.
20944
20945 2004-01-12 Andrew Cagney <cagney@redhat.com>
20946
20947 * gdb.mi/ChangeLog: Delete file. Renamed to ...
20948 * gdb.mi/ChangeLog-1999-2003: New file.
20949
20950 2004-01-12 Andrew Cagney <cagney@redhat.com>
20951
20952 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
20953 "Renaming a directory to a non-empty directory returns ENOTEMPTY
20954 or EEXIST", treat EBUSY as an XFAIL.
20955
20956 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
20957
20958 * gdb.base/scope.exp: Remove obsolete setup_xfail for
20959 hp_cc_compiler.
20960
20961 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
20962
20963 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
20964 decorations.
20965
20966 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
20967
20968 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
20969 and "(aCC)" decorations. Remove obsolete doco about old
20970 test results.
20971
20972 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
20973
20974 * gdb.cp/exception.exp: Fix typo in doco.
20975
20976 2004-01-09 Mark Kettenis <kettenis@gnu.org>
20977
20978 * gdb.base/gdb1476.exp: Fix typo.
20979
20980 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
20981
20982 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
20983 file.
20984
20985 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
20986
20987 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
20988 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
20989 Use gdb_compile. Remove restriction on gcc. Add some patterns
20990 for recent version of gdb. Delete second half, which was a copy
20991 of the first half with different build flags. This test is
20992 still disabled because it is still not ready for production.
20993
20994 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
20995
20996 * gdb.cp/exception.cc: Add copyright notice.
20997 * gdb.cp/exception.exp: Add a notice that this file is broken
20998 because of line number changes caused by addition of copyright
20999 notice.
21000
21001 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21002
21003 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
21004 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
21005
21006 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21007
21008 * gdb.cp/classes.exp: Accept gnu abi 2.
21009 * gdb.cp/derivation.exp: Likewise.
21010 * gdb.cp/overload.exp: Likewise.
21011 * gdb.cp/virtfunc.exp: Likewise.
21012
21013 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21014
21015 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
21016 semicolon after end of function.
21017
21018 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21019
21020 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
21021 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
21022 boilerplate code for compiling and running the program under
21023 test. Add some string method tests.
21024
21025 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21026
21027 * gdb.cp/bs15503.cc: Add copyright notice.
21028 * gdb.cp/bs15503.exp: Adjust line number.
21029
21030 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21031
21032 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
21033 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
21034
21035 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21036
21037 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
21038 hp_cc_compiler.
21039
21040 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21041
21042 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
21043 * gdb.cp/ctti.exp: Use the marker instead of "next".
21044 With gcc, run further before bailing.
21045
21046 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21047
21048 * gdb.cp/cttiadd.cc: Add copyright notice.
21049 * gdb.cp/cttiadd1.cc: Likewise.
21050 * gdb.cp/cttiadd2.cc: Likewise.
21051 * gdb.cp/cttiadd3.cc: Likewise.
21052
21053 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21054
21055 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
21056 Use gdb_test, gdb_test_multiple. Use floating-point values that
21057 have exact representations in IEEE-ish formats.
21058
21059 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21060
21061 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
21062 compilers. Delete duplicate call to get_compiler_info.
21063 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
21064 * gdb.base/volatile.exp: Likewise.
21065
21066 2004-01-07 Mark Kettenis <kettenis@gnu.org>
21067
21068 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
21069 memory at address 0.
21070
21071 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21072
21073 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
21074 to test for hp-ux assembler. Fix copyright years.
21075
21076 2004-01-07 Andrew Cagney <cagney@redhat.com>
21077
21078 * gdb.base/fileio.c (strerrno): Add "EBUSY".
21079
21080 2004-01-07 Andrew Cagney <cagney@redhat.com>
21081
21082 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
21083 when creating the read-only file. From analysis by Roland McGrath
21084 and Elena Zannoni.
21085
21086 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21087
21088 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
21089
21090 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21091
21092 * gdb.base/cvexpr.c: Be type-safe with function pointers and
21093 data pointers.
21094
21095 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21096
21097 * gdb.cp/m-static.exp: Compile one source file at a time.
21098 Delete unused call to get_compiler_info.
21099
21100 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21101
21102 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
21103 * gdb.base/call-rt-st.exp: Likewise.
21104 * gdb.base/nodebug.exp: Likewise.
21105 * gdb.base/volatile.exp: Likewise.
21106 * gdb.cp/ref-types.exp: Likewise.
21107 * gdb.cp/templates.exp: Likewise.
21108
21109 2004-01-05 Mark Kettenis <kettenis@gnu.org>
21110
21111 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
21112
21113 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
21114
21115 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
21116 hppa*-hp-hpux*.
21117
21118 2004-01-04 Mark Kettenis <kettenis@gnu.org>
21119
21120 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21121 x86_64-*-*.
21122
21123 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21124 sparc64-*-* and sparc*-solaris2*.
21125
21126 2004-01-04 Mark Kettenis <kettenis@gnu.org>
21127
21128 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
21129 return ${tests}" test. The ${tests} already mentions the
21130 filename.
21131
21132 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21133
21134 * gdb.cp/local.exp: Accept gcc abi 2.
21135
21136 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21137
21138 * gdb.cp/templates.exp: Accept gcc abi 2.
21139
21140 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21141
21142 * lib/compiler.cc: Remove supports_template_debugging.
21143 * gdb.cp/templates.exp: Do not test supports_template_debugging.
21144
21145 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21146
21147 * gdb.cp/namespace.exp: Accept gcc abi 2.
21148
21149 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21150
21151 * gdb.cp/method.exp: Accept gcc abi 2.
21152
21153 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21154
21155 * gdb.cp/classes.exp: Generate identical results as old version.
21156 * gdb.cp/derivation.exp: Likewise.
21157 * gdb.cp/overload.exp: Likewise.
21158 * gdb.cp/virtfunc.exp: Likewise.
21159
21160 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21161
21162 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
21163 mysterious bug with sourceware version of expect.
21164
21165 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21166
21167 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
21168 current versions of gcc, including gcc abi 2. Remove gratuitous
21169 restart of test program. Use gdb_test_multiple and gdb_test for
21170 all tests. Add patterns to xfail missing "const" in "const char *"
21171 and kfail PR gdb/1155.
21172
21173 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21174
21175 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
21176 current versions of gcc, including gcc abi 2. Remove gratuitous
21177 restart of test program. Use gdb_test_multiple and gdb_test for
21178 all tests. Add patterns to kfail PR gdb/1498.
21179
21180 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21181
21182 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
21183 current versions of gcc, including gcc abi 2. Use "breakpoint"
21184 and "continue" instead of restarting the target program. Use
21185 gdb_test_multiple and gdb_test for all tests.
21186
21187 2004-01-01 Mark Kettenis <kettenis@gnu.org>
21188
21189 * gdb.asm/asm-source.exp: Update copyright year. Link statically
21190 for *-*-solaris2*.
21191
21192 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21193
21194 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
21195 current versions of gcc, including gcc abi 2. Use "breakpoint"
21196 and "continue" instead of restarting the target program several
21197 times. Use gdb_test_multiple and gdb_test for all tests.
21198
21199 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
21200
21201 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
21202 source files.
21203
21204 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21205
21206 * gdb.base/environ.exp: Handle compiling test case from multiple
21207 source files.
21208
21209 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21210
21211 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
21212
21213 2003-12-17 Jim Blandy <jimb@redhat.com>
21214
21215 * gdb.base/freebpcmd.c: Add copyright notice.
21216
21217 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
21218
21219 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21220
21221 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
21222
21223 2003-12-13 Jim Blandy <jimb@redhat.com>
21224
21225 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
21226
21227 2003-12-12 Kevin Buettner <kevinb@redhat.com>
21228
21229 * gdb.asm/frv.inc: New file.
21230 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
21231
21232 2003-12-09 Fred Fish <fnf@redhat.com>
21233
21234 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
21235 functions to break1.c and leave prototypes behind. Add more
21236 "set breakpoint NN here" comments.
21237 * gdb.base/break1.c: New file.
21238
21239 * gdb.base/break.exp: Handle compiling test case from multiple
21240 source files and change source file references as needed.
21241 * gdb.base/completion.exp: Ditto.
21242 * gdb.base/condbreak.exp: Ditto.
21243 * gdb.base/define.exp: Ditto.
21244 * gdb.base/ena-dis-br.exp: Ditto.
21245 * gdb.base/info-proc.exp: Ditto.
21246 * gdb.base/maint.exp: Ditto.
21247 * gdb.base/until.exp: Ditto.
21248
21249 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
21250 hardcoded line numbers.
21251 * gdb.base/define.exp: Ditto.
21252 * gdb.base/ena-dis-br.exp: Ditto.
21253 * gdb.base/maint.exp: Ditto.
21254 * gdb.base/until.exp: Ditto.
21255
21256 * gdb.base/completion.exp: Use "break1" for completion tests since
21257 "break" is no longer a unique prefix.
21258
21259 2003-12-06 Andrew Cagney <cagney@redhat.com>
21260
21261 * gdb.base/structs.exp (test_struct_returns): When applicable, set
21262 "return_value_unimplemented". When an unimplemented struct return
21263 architecture, report incorrect values as a KFAIL
21264
21265 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
21266
21267 * gdb.cp/rtti.exp: Accept new wording of warning from
21268 cp_lookup_rtti_type.
21269
21270 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
21271
21272 Partial fix for PR testsuite/1456.
21273 * gdb.base/scope.exp (test_at_main): Replace references to
21274 gcc_compiled with calls to test_compiler_info.
21275 (test_at_foo): Likewise.
21276 (test_at_bar): Likewise.
21277
21278 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
21279
21280 Partial fix for PR testsuite/1456.
21281 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
21282 to test_compiler_info.
21283
21284 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
21285
21286 * gdb.base/so-impl-ld.exp: Update copyright notice.
21287
21288 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
21289
21290 Partial fix for PR testsuite/1456.
21291 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
21292 to test_compiler_info.
21293
21294 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21295
21296 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
21297 from current versions of gdb. Clean up regular expressions.
21298 Delete redundant timeout case.
21299
21300 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21301
21302 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
21303 from current versions of gdb. Clean up regular expressions.
21304 Delete redundant timeout case.
21305
21306 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
21307
21308 Partial fix for PR testsuite/1456.
21309 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
21310 gcc_compiled with call to test_compiler_info.
21311
21312 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
21313
21314 Partial fix for PR testsuite/1456.
21315 * gdb.base/list.exp (test_list_function): Delete unused declaration
21316 of gcc_compiled.
21317
21318 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
21319
21320 Partial fix for PR testsuite/1456.
21321 * gdb.base/complex.exp: Replace reference to gcc_compiled with
21322 call to test_compiler_info.
21323
21324 2003-11-29 Mark Kettenis <kettenis@gnu.org>
21325
21326 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
21327 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
21328 it to create the appropriate note.inc.
21329 * gdb.asm/asmsrc1.s: Include "note.inc".
21330 * gdb.asm/netbsd.inc: New file.
21331 * gdb.asm/empty.inc: New file.
21332
21333 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21334
21335 Partial fix for PR testsuite/1456.
21336 * gdb.base/constvars.exp: Replace references to gcc_compiled with
21337 calls to test_compiler_info.
21338
21339 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
21340
21341 Partial fix for PR testsuite/1456.
21342 * gdb.base/volatile.exp: Replace references to gcc_compiled with
21343 calls to test_compiler_info.
21344
21345 2003-11-27 Mark Kettenis <kettenis@gnu.org>
21346
21347 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
21348 pattern for the KFAILs.
21349
21350 2003-11-25 Adam Fedor <fedor@gnu.org>
21351
21352 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
21353 * gdb.objc/objcdecode.m: New file.
21354
21355 2003-11-25 Adam Fedor <fedor@gnu.org>
21356
21357 * gdb.objc/nondebug.exp: Test for PR objc/1236.
21358 * gdb.objc/nondebug.m: New file.
21359
21360 2003-11-26 Ben Elliston <bje@wasabisystems.com>
21361
21362 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
21363 NetBSD as it does on FreeBSD. Modelled on a similar change by
21364 Mark Kettenis on 2003-05-30.
21365 (link-flags): Set to "--entry _start" regardless of target.
21366 Special linker flags are to be appended to $link-flags.
21367 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
21368
21369 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21370
21371 * gdb.cp/method.exp: Accept output of new demangler.
21372
21373 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21374
21375 * gdb/class2.exp: New file.
21376 * gdb/class2.cc: New file.
21377
21378 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21379
21380 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
21381 of new demangler.
21382
21383 2003-11-23 Mark Kettenis <kettenis@gnu.org>
21384
21385 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
21386 of gdb_test "run".
21387
21388 2003-11-23 Mark Kettenis <kettenis@gnu.org>
21389
21390 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
21391 "continue" into "run".
21392
21393 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
21394
21395 Partial fix for PR testsuite/1456.
21396 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
21397 call to test_compiler_info.
21398 * gdb.cp/ctti.exp: Likewise.
21399 * gdb.cp/derivation.exp: Likewise.
21400 * gdb.cp/member-ptr.exp: Likewise.
21401 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
21402 reference to gcc_compiled.
21403
21404 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
21405
21406 Fix PR testsuite/1463.
21407 * gdb.base/structs.exp (start_structs_test): Call
21408 get_debug_format before using the debug format.
21409
21410 2003-11-22 Andrew Cagney <cagney@redhat.com>
21411
21412 * lib/gdb.exp (gdb_test_multiple): Add simple example.
21413 * gdb.base/structs.exp: Use gdb_test_multiple.
21414
21415 2003-11-20 Andrew Cagney <cagney@redhat.com>
21416
21417 * gdb.base/structs.exp: Handle and recover from internal errors.
21418 Replace "foo${n}" with "foo<n>" in test messages.
21419
21420 * gdb.base/structs.exp: Update copyright. Rewrite.
21421 * gdb.base/structs.c: Update copyright. Rewrite.
21422
21423 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
21424 resync count exceeded.
21425
21426 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
21427 from the internal error.
21428 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
21429 Original from Jim Blandy.
21430 (gdb_test_multiple): Use gdb_internal_error_resync.
21431
21432 2003-11-19 Andrew Cagney <cagney@redhat.com>
21433
21434 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
21435 KFAIL.
21436
21437 2003-11-17 Mark Kettenis <kettenis@gnu.org>
21438
21439 New testcase for PR backtrace/1435.
21440 * gdb.arch/i386-unwind.exp: New file.
21441 * gdb.arch/i386-unwind.c: New file.
21442
21443 2003-11-17 Andrew Cagney <cagney@redhat.com>
21444
21445 * lib/gdb.exp (compiler_info): New global.
21446 (test_compiler_info): New function.
21447 (get_compiler_info): Set compiler_info.
21448 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
21449 "compiler_info" to gcc-<major>-<minor>.
21450
21451 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
21452
21453 * gdb.trace/configure: Remove.
21454
21455 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
21456
21457 * gdb.base/break.c: Add comments to aid finding line numbers for
21458 breakpoints.
21459 * gdb.base/break.exp: Remove all references to explicit line
21460 numbers.
21461
21462 2003-11-11 Nick Clifton <nickc@redhat.com>
21463
21464 * gdb.base/shreloc.exp: Do not run for targets which do not
21465 support shared objects.
21466
21467 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
21468
21469 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
21470 Don't run tests if nofileio flag is given.
21471
21472 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
21473
21474 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
21475 as well as 'Watchpoint'.
21476
21477 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
21478
21479 Reported by Jim Ingham <jingham@apple.com>:
21480 * gdb.base/annota1.exp: Match at least one occurrence of the
21481 signal handler annotation.
21482
21483 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
21484
21485 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
21486 as well as 'Watchpoint'.
21487
21488 2003-11-05 Michael Chastain <mec@shout.net>
21489
21490 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
21491
21492 2003-11-03 Kris Warkentin <kewarken@qnx.com>
21493
21494 * gdb.arch/gdb1291.c: New test file.
21495 * gdb.arch/gdb1291.exp: New test script.
21496 * gdb.arch/gdb1431.c: New test file.
21497 * gdb.arch/gdb1431.exp: New test script.
21498
21499 2003-10-22 Michael Chastain <mec@shout.net>
21500
21501 * gdb.mi/pthreads.c: Add copyright notice.
21502
21503 2003-10-22 Michael Chastain <mec@shout.net>
21504
21505 * gdb.threads/pthreads.c: Add copyright notice.
21506
21507 2003-10-20 Michael Chastain <mec@shout.net>
21508
21509 * gdb.base/gdb1056.exp: New test script.
21510
21511 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
21512
21513 * gdb.threads/killed.exp: Use gdb_run_cmd.
21514
21515 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
21516
21517 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
21518 create a core file.
21519 * gdb.threads/gcore-thread.exp: Likewise.
21520
21521 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
21522
21523 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
21524 type, based on char type.
21525 (struct bit_flags_short_t): New bitfield type, based on short type.
21526 (init_bit_flags_char): New fuction.
21527 (init_bit_flags_short): Ditto.
21528 (print_bit_flags_char): Ditto.
21529 (print_bit_flags_short): Ditto.
21530 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
21531
21532 2003-10-11 Michael Chastain <mec@shout.net>
21533
21534 * gdb.base/call-rt-st.exp: Update copyright year.
21535
21536 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
21537
21538 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
21539 * gdb.disasm/sh3.s: Ditto.
21540
21541 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
21542
21543 * gdb.threads/switch-threads.exp: New test.
21544 * gdb.threads/switch-threads.c: New source file.
21545
21546 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
21547
21548 * gdb.base/ending-run.exp: Add sh specific case.
21549
21550 2003-10-06 Andrew Cagney <cagney@redhat.com>
21551
21552 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
21553 * gdb.disasm/mn10200.exp: Delete obsolete file.
21554
21555 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
21556
21557 * ChangeLog: Correct an entry command.exp -> commands.exp.
21558 * gdb.base/commands.exp (bp_deleted_in_command_test)
21559 (temporary_breakpoint_commands): Check noargs.
21560
21561 2003-09-25 David Carlton <carlton@kealia.com>
21562
21563 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
21564 of some print tests, where appropriate. Add tests for C::D::cd,
21565 E::ce, F::cXfX, G::XgX.
21566 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
21567
21568 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
21569
21570 * lib/java.exp (java_init): Import target_alias before using it.
21571
21572 2003-09-25 David Carlton <carlton@kealia.com>
21573
21574 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
21575
21576 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
21577
21578 * gdb.base/selftest.exp: Accomodate more instruction reordering
21579 weirdness.
21580
21581 2003-09-17 Michael Chastain <mec@shout.net>
21582
21583 * gdb.cp/gdb1355.exp: New file.
21584 * gdb.cp/gdb1355.c: New file.
21585
21586 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
21587
21588 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
21589 * gdb.asm/sh.inc: New file.
21590
21591 2003-09-11 David Carlton <carlton@kealia.com>
21592
21593 * gdb.cp/namespace.exp: Add tests for namespace types.
21594 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
21595 (test_namespace): New.
21596
21597 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
21598
21599 * gdb.base/relocate.exp: Handle new gdb output at startup.
21600 * gdb.stabs/weird.exp: Ditto.
21601
21602 2003-09-08 Michael Chastain <mec@shout.net>
21603
21604 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
21605
21606 2003-09-07 Michael Chastain <mec@shout.net>
21607
21608 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
21609 'parse error'.
21610
21611 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
21612
21613 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
21614
21615 2003-08-30 Michael Chastain <mec@shout.net>
21616
21617 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
21618 * gdb.gdb/observer.exp: Ditto.
21619 * gdb.gdb/xfullpath.exp: Ditto.
21620
21621 2003-08-29 Mark Kettenis <kettenis@gnu.org>
21622
21623 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
21624 *-*-*bsd*.
21625
21626 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
21627
21628 * gdb.base/dump.exp: Skip for ia64.
21629
21630 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
21631
21632 * gdb.asm/asm-source.exp: Add ia64 support.
21633 * gdb.asm/ia64.inc: New file.
21634
21635 2003-08-22 Michael Chastain <mec@shout.net>
21636
21637 * gdb.cp: New directory.
21638 * gdb.cp/*: Copy from gdb.c++/*.
21639 * gdb.c++/*: Remove.
21640 * Makefile.in: Change gdb.c++ to gdb.cp.
21641 * configure.in: Ditto.
21642 * configure: Regnerate.
21643
21644 2003-08-18 Mark Kettenis <kettenis@gnu.org>
21645
21646 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
21647 * gdb.arch/i386-prologue.c (gdb1338): Add function.
21648
21649 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
21650
21651 * mi-var-display.exp (-var-list-children weird): Accept function
21652 pointers with argument types.
21653 * mi1-var-display.exp (-var-list-children weird): Likewise.
21654 * mi2-var-display.exp (-var-list-children weird): Likewise.
21655
21656 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
21657
21658 * gdb.base/annota3.exp: Add missing newline.
21659
21660 2003-08-06 Michael Chastain <mec@shout.net>
21661
21662 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
21663
21664 2003-08-12 Michael Snyder <msnyder@redhat.com>
21665
21666 * gdb.base/float.exp: Add test for SH.
21667
21668 2003-08-10 Mark Kettenis <kettenis@gnu.org>
21669
21670 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
21671
21672 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
21673
21674 * gdb.base/completion.exp: Remove reduntant completion test
21675 on filename.
21676
21677 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
21678
21679 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
21680 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
21681 gdb.trace/save-trace.exp: Make sure that full pathnames are
21682 escaped correctly.
21683
21684 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
21685
21686 * configure.in: Don't generate config.h from config.hin.
21687 * configure: Regenerate.
21688 * config.hin: Remove file.
21689 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
21690 * gdb.threads/pthreads.c: Ditto.
21691
21692 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
21693
21694 From Kei Sakamoto <sakamoto.kei@renesas.com>:
21695 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
21696 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
21697 Replace ld24 with seth/add3.
21698
21699 2003-08-02 Andrew Cagney <cagney@redhat.com>
21700
21701 * gdb.base/annota3.exp: New file.
21702 * gdb.base/annota3.c: New file.
21703 * gdb.c++/annota3.exp: New file.
21704 * gdb.c++/annota3.cc: New file.
21705
21706 2003-07-29 Michael Chastain <mec@shout.net>
21707
21708 * gdb.threads/tls.c (spin): Check errno only if sem_wait
21709 actually failed.
21710 (do_pass): Likewise.
21711 * gdb.threads/tls.exp: Always initialize no_of_threads.
21712
21713 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
21714
21715 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
21716 pattern.
21717 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
21718 * gdb.threads/tls.exp: Recognize one case of the host library not
21719 supporting TLS.
21720
21721 2003-07-27 Andrew Cagney <cagney@redhat.com>
21722
21723 * gdb.base/fileio.exp: Use SH when running commands using
21724 remote_exec.
21725
21726 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
21727
21728 From Kei Sakamoto <sakamoto.kei@renesas.com>:
21729 * gdb.base/relocate.c (dummy): New padding array.
21730
21731 2003-07-22 Michael Snyder <msnyder@redhat.com>
21732
21733 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
21734
21735 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
21736 patterns to be more general, accepting old and new output.
21737 Some output chars (such as '+') also must be quoted.
21738 Some addresses are displayed numerically instead of
21739 symbolically.
21740
21741 2003-07-23 Michael Snyder <msnyder@redhat.com>
21742
21743 * gdb.base/return2.exp: Don't test long-long return.
21744
21745 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
21746 * gdb.disasm/t01_mov.exp: Ditto.
21747 * gdb.disasm/t02_mova.s: Ditto.
21748 * gdb.disasm/t02_mova.exp: Ditto.
21749 * gdb.disasm/t03_add.s: Ditto.
21750 * gdb.disasm/t03_add.exp: Ditto.
21751 * gdb.disasm/t04_sub.s: Ditto.
21752 * gdb.disasm/t04_sub.exp: Ditto.
21753 * gdb.disasm/t05_cmp.s: Ditto.
21754 * gdb.disasm/t05_cmp.exp: Ditto.
21755 * gdb.disasm/t06_ari2.s: Ditto.
21756 * gdb.disasm/t06_ari2.exp: Ditto.
21757 * gdb.disasm/t07_ari3.s: Ditto.
21758 * gdb.disasm/t07_ari3.exp: Ditto.
21759 * gdb.disasm/t08_or.s: Ditto.
21760 * gdb.disasm/t08_or.exp: Ditto.
21761 * gdb.disasm/t09_xor.s: Ditto.
21762 * gdb.disasm/t09_xor.exp: Ditto.
21763 * gdb.disasm/t10_and.s: Ditto.
21764 * gdb.disasm/t10_and.exp: Ditto.
21765 * gdb.disasm/t11_logs.s: Ditto.
21766 * gdb.disasm/t11_logs.exp: Ditto.
21767 * gdb.disasm/t12_bit.s: Ditto.
21768 * gdb.disasm/t12_bit.exp: Ditto.
21769 * gdb.disasm/t13_otr.s: Ditto.
21770 * gdb.disasm/t13_otr.exp: Ditto.
21771
21772 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
21773
21774 * gdb.threads/tls.exp :Add kfail for 'info address' case.
21775
21776 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
21777
21778 * gdb.threads/tls.c : New file.
21779 * gdb.threads/tls.exp : New file.
21780 * gdb.threads/tls-main.c : New file.
21781 * gdb.threads/tls-shared.c : New file.
21782 * gdb.threads/tls-shared.exp : New file.
21783
21784 2003-07-22 Andreas Schwab <schwab@suse.de>
21785
21786 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
21787
21788 2003-07-20 Andreas Schwab <schwab@suse.de>
21789
21790 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
21791 due to insn reordering.
21792
21793 2003-07-15 Andrew Cagney <cagney@redhat.com>
21794
21795 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
21796
21797 2003-07-15 Michael Chastain <mec@shout.net>
21798
21799 * gdb.base/gdb1250.exp: New file.
21800 * gdb.base/gdb1250.c: New file.
21801
21802 2003-07-09 Michal Ludvig <mludvig@suse.cz>
21803
21804 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
21805 expansion of size_t to 'unsigned long', not only to 'unsigned'.
21806
21807 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
21808
21809 * gdb.threads/tls.c: New file.
21810 * gdb.threads/tls.exp: New file.
21811 * gdb.threads/tls-main.c: New file.
21812 * gdb.threads/tls-shared.c: New file.
21813 * gdb.threads/tls-shared.exp: New file.
21814
21815 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
21816
21817 * gdb.base/annota1.exp: Make sure that we properly escape the
21818 full path of the source file. Xfail more permissive patterns,
21819 due to a compiler debug info problem.
21820
21821 2003-07-07 Andreas Schwab <schwab@suse.de>
21822
21823 * gdb.asm/m68k.inc: New file.
21824 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
21825
21826 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
21827 arguments"): Also match negative number.
21828
21829 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
21830
21831 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
21832
21833 * gdb.base/store.c (charest): New typedef.
21834 (add_char): Rename to add_charest, update.
21835 (wack_char): Rename to wack_charest, update types. Return l + r
21836 to keep r live across the call.
21837 (wack_short, wack_int, wack_long, wack_longest, wack_float)
21838 (wack_double, wack_doublest): Return l + r to keep r live across
21839 the call.
21840 * gdb.base/store.exp: Accomodate store.c changes.
21841
21842 2003-06-30 David Carlton <carlton@kealia.com>
21843
21844 * gdb.c++/maint.exp (test_invalid_name): New.
21845 (test_first_component): Add tests for invalid names.
21846
21847 2003-06-29 Michael Chastain <mec@shout.net>
21848
21849 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
21850 output of '<VTT for class>' for virtual base classes.
21851
21852 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
21853
21854 * gdb.base/completion.exp: Tab-complete "complet" instead of
21855 "compl".
21856 * gdb.base/complex.exp, gdb.base/complex.c: New files.
21857
21858 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
21859
21860 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
21861 * gdb.base/volatile.exp: Likewise.
21862
21863 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
21864
21865 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
21866 gdb/1265.
21867
21868 2003-06-28 Michael Chastain <mec@shout.net>
21869 Daniel Jacobowitz <drow@mvista.com>
21870
21871 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
21872 initial line count of 'captured_main' from 26 to 32.
21873 (test_with_self): Allow xmalloc call to be interleaved with the
21874 preceding two lines.
21875
21876 2003-06-24 Joel Brobecker <brobecker@gnat.com>
21877
21878 * gdb.base/bang.exp: New testcase.
21879
21880 2003-06-23 Joel Brobecker <brobecker@gnat.com>
21881
21882 * gdb.base/langs.exp: Add some tests for the "minimal" language
21883 support.
21884
21885 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
21886
21887 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
21888 the testcase.
21889
21890 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
21891
21892 * gdb.base/relocate.exp: Test add-symbol-file with a variable
21893 offset.
21894
21895 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
21896
21897 * gdb.c++/pr-1210.cc: New file.
21898 * gdb.c++/pr-1210.exp: New file.
21899
21900 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
21901
21902 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
21903 000-exec-continue.
21904
21905 2003-06-15 Mark Kettenis <kettenis@gnu.org>
21906
21907 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
21908 on *-*-*bsd* instead of *-*-freebsd*.
21909
21910 2003-06-14 Andrew Cagney <cagney@redhat.com>
21911
21912 * gdb.base/store.exp: Test longest and doublest. Test all
21913 parameters. Weaken return statement match.
21914 * gdb.base/store.c: Add longest and doublest - aka long long and
21915 long double functions. Put all parameters into local register
21916 variables. Use negative values.
21917
21918 2003-06-14 Andrew Cagney <cagney@redhat.com>
21919
21920 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
21921 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
21922 exit status.
21923 * gdb.base/fileio.exp: Disable target when nointerrupts and
21924 noinferiorio, instead of limiting it to remote. Use remote_exec
21925 instead of system.
21926
21927 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
21928
21929 * gdb.base/float.exp: Add ia64 support.
21930
21931 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
21932
21933 * gdb.base/fileio.exp: Run only on remote targets.
21934
21935 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
21936
21937 * gdb.base/fileio.c: New file, testing File-I/O.
21938 * gdb.base/fileio.exp: Ditto.
21939
21940 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
21941
21942 * gdb.base/shreloc.exp: New file, check symbol values obtained from
21943 shared objects after relocation at load time (gdb PR/1132).
21944 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
21945 as above, part of the shared object relocation test.
21946
21947 2003-06-08 Mark Kettenis <kettenis@gnu.org>
21948
21949 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
21950 fully filled history list.
21951 * gdb.base/gdb_history: New file.
21952
21953 * gdb.base/signals.exp: XFAIL "continue to func1" on
21954 i*86-*-freebsd*.
21955
21956 * gdb.base/attach.exp: When trying to attach to a nonexistent
21957 process, make it possible to specify the PID based on the target,
21958 and do so for *-*-freebsd*.
21959
21960 2003-06-02 Richard Henderson <rth@redhat.com>
21961
21962 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
21963
21964 2003-06-02 Richard Henderson <rth@redhat.com>
21965
21966 * gdb.base/selftest.exp: Next over lim_at_start initialization.
21967
21968 2003-06-02 Richard Henderson <rth@redhat.com>
21969
21970 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
21971
21972 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
21973
21974 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
21975 of globalvar.
21976
21977 2003-06-01 Mark Kettenis <kettenis@gnu.org>
21978
21979 * gdb.asm/asm-source.exp: Check for memory read errors in
21980 disassembler test on *BSD too.
21981
21982 2003-06-01 Richard Henderson <rth@redhat.com>
21983
21984 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
21985 for .frame.
21986 (gdbasm_call): Lose ldgp.
21987 (gdbasm_startup): Add frame information.
21988 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
21989
21990 2003-05-31 Mark Kettenis <kettenis@gnu.org>
21991
21992 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
21993 i?86-*-*.
21994
21995 2003-05-30 Mark Kettenis <kettenis@gnu.org>
21996
21997 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
21998 FreeBSD.
21999
22000 2003-05-29 Richard Henderson <rth@redhat.com>
22001
22002 * gdb.asm/alpha.inc: New file.
22003 * gdb.asm/asm-source.exp: Use it.
22004
22005 2003-05-29 Jim Blandy <jimb@redhat.com>
22006
22007 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
22008 'core.PID'.
22009
22010 2003-05-22 Jim Blandy <jimb@redhat.com>
22011
22012 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
22013 backtrace.
22014
22015 2003-05-20 David Carlton <carlton@math.stanford.edu>
22016
22017 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
22018 this time.
22019
22020 2003-05-19 David Carlton <carlton@bactrian.org>
22021
22022 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
22023 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
22024
22025 2003-05-19 David Carlton <carlton@bactrian.org>
22026
22027 * gdb.c++/namespace.exp: Add namespace scope and anonymous
22028 namespace tests.
22029 Bump copyright date.
22030 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
22031 (main): Call C::D::marker2.
22032 * gdb.c++/namespace1.cc: New file.
22033
22034 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
22035
22036 Roland McGrath <roland@redhat.com>
22037 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
22038 there is no manager thread.
22039
22040 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
22041
22042 * gdb.threads/schedlock.exp: Remove assumption that all threads
22043 will run in a particular small time slice. Also ensure we break
22044 in one of the child threads rather than the main thread.
22045
22046 2003-05-07 Jim Blandy <jimb@redhat.com>
22047
22048 Add support for assembly source testing on the s390x.
22049 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
22050 architecture.
22051 * gdb.asm/s390x.inc: New file.
22052
22053 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
22054 succession of 'if' statements.
22055
22056 2003-05-05 Andrew Cagney <cagney@redhat.com>
22057
22058 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
22059
22060 2003-05-05 Andrew Cagney <cagney@redhat.com>
22061
22062 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
22063 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
22064
22065 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
22066
22067 * gdb.base/charset.exp: Update based on new behavior of set/show
22068 charset commands.
22069
22070 2003-05-01 Andrew Cagney <cagney@redhat.com>
22071
22072 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
22073 variable do not give memory errors.
22074
22075 2003-04-30 Adam Fedor <fedor@gnu.org>
22076
22077 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
22078 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
22079 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
22080 gdb.objc/basicclass.m: : New files
22081
22082 * lib/gdb.exp (gdb_compile_objc): New procedure.
22083
22084 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
22085
22086 * gdb.base/signals.exp: Make backtrace tests more specific.
22087
22088 2003-04-23 David Carlton <carlton@bactrian.org>
22089
22090 * gdb.c++/maint.exp (test_first_component): Add tests for
22091 'operator' in more locations.
22092
22093 2003-04-16 Kevin Buettner <kevinb@redhat.com>
22094
22095 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
22096
22097 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
22098
22099 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
22100 func marke' instead. Update test name.
22101
22102 2003-04-15 David Carlton <carlton@math.stanford.edu>
22103
22104 * gdb.c++/maint.exp: New file.
22105
22106 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
22107
22108 * gdb.threads/schedlock.c: Change type of thread function argument
22109 to long, to avoid warnings on 64-bit platforms.
22110
22111 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
22112
22113 * gdb.base/attach.exp: Add new message from ptrace in case of
22114 attaching to nonexistent process.
22115
22116 2003-04-11 Jim Blandy <jimb@redhat.com>
22117
22118 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22119 gdb.c++/userdef.cc: Place comments on the lines to which the
22120 marker function might return.
22121 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22122 gdb.c++/userdef.exp: Look for those comments to check that we've
22123 returned to the right place, instead of checking line numbers.
22124
22125 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
22126
22127 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
22128 match on sourcefile name, instead of directory name.
22129
22130 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
22131
22132 * gdb.base/completion.exp: Use string_to_regexp to match the
22133 working directory name.
22134
22135 2003-04-09 Jim Blandy <jimb@redhat.com>
22136
22137 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22138 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
22139 after an inferior function call, report the failure, but allow the
22140 test to continue.
22141
22142 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22143
22144 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22145 with -DPROTOTYPES.
22146
22147 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22148
22149 * gdb.base/break.exp: Revert last patch.
22150
22151 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
22152
22153 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22154 with -DPROTOTYPES.
22155
22156 2003-04-02 Andrew Cagney <cagney@redhat.com>
22157
22158 * gdb.base/callfuncs.exp: Make "print add" messages unique.
22159 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
22160 matching directories by the name breakpoint.
22161 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
22162 Make "continue to marker1" consistent.
22163 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
22164 message consistent.
22165 * lib/gdb.exp: Put "the program is no longer running", and "the
22166 program exited" in parenthesis.
22167 * lib/mi-support.exp: Ditto.
22168
22169 2003-04-02 Bob Rossi <bob_rossi@cox.net>
22170
22171 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
22172
22173 2003-03-29 Andrew Cagney <cagney@redhat.com>
22174
22175 * gdb.base/sizeof.c (main): Print the value of '\377'.
22176 * gdb.base/sizeof.exp: Check the sign of '\377'.
22177
22178 2003-03-27 Michael Chastain <mec@shout.net>
22179
22180 * gdb.base/gdb1090.exp: New file.
22181 * gdb.base/gdb1090.cc: New file.
22182
22183 2003-03-27 J. Brobecker <brobecker@gnat.com>
22184
22185 * gdb.gdb/observer.exp: New regression test.
22186
22187 2003-03-27 Michael Chastain <mec@shout.net>
22188
22189 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
22190 * gdb.base/ptype.exp: Likewise.
22191
22192 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
22193
22194 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
22195
22196 2003-03-26 Michael Chastain <mec@shout.net>
22197
22198 * gdb.base/ptype.exp: Actually use some typedef'd types.
22199
22200 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
22201
22202 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
22203 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
22204
22205 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22206
22207 * gdb.base/default.exp: Fix regular expression.
22208
22209 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22210
22211 * gdb.base/args.exp: Fix regular expression.
22212
22213 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22214
22215 * gdb.base/help.exp: Allow Win32 child process.
22216
22217 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22218
22219 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
22220 when stepping out of main().
22221
22222 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22223
22224 * gdb.base/default.exp: Check for win32 specific message when calling
22225 "run" without executable.
22226
22227 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22228
22229 * gdb.base/args.exp: Expect .exe in output.
22230
22231 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22232
22233 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
22234 Cygwin native.
22235
22236 2003-03-17 Andrew Cagney <cagney@redhat.com>
22237
22238 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
22239 vector registes.
22240 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
22241 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
22242
22243 2003-03-17 David Carlton <carlton@math.stanford.edu>
22244
22245 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
22246 test, for PR breakpoints/38.
22247 Call test_watchpoint_and_breakpoint.
22248 * gdb.base/watchpoint.c (func3): New function.
22249 (main): Call func3.
22250
22251 2003-03-04 David Carlton <carlton@math.stanford.edu>
22252
22253 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
22254 Garply<Garply<char> >:: garply".
22255 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
22256 with respect to PR c++/1111; note also PR c++/1113.
22257 (test_template_breakpoints): KFAIL "constructor breakpoint" with
22258 respect to PR c++/1062.
22259 KFAIL "destructor breakpoint" with respect to PR c++/1112.
22260
22261 2003-03-03 David Carlton <carlton@math.stanford.edu>
22262
22263 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
22264 with respect to PR c++/57.
22265 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
22266 c++/826.
22267 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
22268 respect to PR c++/57.
22269
22270 2003-03-03 David Carlton <carlton@math.stanford.edu>
22271
22272 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
22273 respect to PR c++/33 into FAILs.
22274
22275 2003-03-03 Michael Chastain <mec@shout.net>
22276
22277 * configure.in: Update copyright years.
22278
22279 2003-03-03 Michael Chastain <mec@shout.net>
22280
22281 * Makefile.in: Update copyright years.
22282
22283 2003-02-28 David Carlton <carlton@math.stanford.edu>
22284
22285 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
22286 print class instead of struct and/or superfluous protection
22287 specifiers, as long as the resulting output is equivalent to the
22288 source code.
22289 Delete FIXME from end of messages on tests that don't need
22290 fixing.
22291
22292 2003-02-28 David Carlton <carlton@math.stanford.edu>
22293
22294 * gdb.c++/templates.exp (do_tests): Allow const in the two
22295 Foo<volatile char *>::foo tests.
22296
22297 2003-02-27 Michael Snyder <msnyder@redhat.com>
22298
22299 * gdb.base/restore.c (main): Return zero, so exit code
22300 will be consistant.
22301
22302 2003-02-26 David Carlton <carlton@math.stanford.edu>
22303
22304 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
22305 char *>::foo" test with respect to PR c++/33. Create a new test
22306 which is identical to that one except that it doesn't put the
22307 space between the "char" and the "*"; KFAIL it, too.
22308
22309 2003-02-26 David Carlton <carlton@math.stanford.edu>
22310
22311 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
22312 template types into either PASSes or KFAILs (corresponding to PR
22313 c++/57). Tweak indentation. Update copyright.
22314
22315 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
22316
22317 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
22318
22319 2003-02-13 Michael Chastain <mec@shout.net>
22320
22321 * gdb.base/exprs.exp: Remove i960 remnants.
22322 * gdb.base/funcargs.exp: Likewise.
22323 * gdb.base/list.exp: Likewise.
22324 * gdb.base/ptype.exp: Likewise.
22325
22326 2003-02-14 David Carlton <carlton@math.stanford.edu>
22327
22328 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
22329 pEe->D::vg()" from XFAIL to KFAIL.
22330
22331 2003-02-13 Jason Molenda (jmolenda@apple.com)
22332
22333 * gdb.base/maint.exp: Update maint print statistics regexp to include
22334 new entries.
22335
22336 2003-02-13 Michael Chastain <mec@shout.net>
22337
22338 * gdb.c++/inherit.exp: Remove call to get_debug_format.
22339
22340 2003-02-12 Michael Chastain <mec@shout.net>
22341
22342 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
22343 * gdb.c++/inherit.exp: Likewise.
22344 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
22345 * gdb.c++/templates.exp: Likewise.
22346 * gdb.c++/virtfunc.exp: Likewise.
22347
22348 2003-02-06 Jason Molenda (jason-cl@molenda.com)
22349
22350 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
22351 why the code is written that way.
22352
22353 2003-02-05 Michael Chastain <mec@shout.net>
22354
22355 * gdb.base/dump.exp: Add missing copyright line.
22356
22357 2003-02-05 Jason Molenda (jason-cl@molenda.com)
22358
22359 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
22360 at the beginning so the breakpoint doesn't get set on the loop.
22361
22362 2003-02-05 Michael Chastain <mec@shout.net>
22363
22364 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
22365 output for configurations with gcc 2.95.3.
22366
22367 2003-02-05 Keith Seitz <keiths@redhat.com>
22368 Andrew Cagney <ac131313@redhat.com>
22369
22370 * gdb.mi/mi-cli.exp: New file.
22371
22372 2003-02-04 Michael Chastain <mec@shout.net>
22373
22374 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
22375 Call perror and then continue.
22376
22377 2003-02-03 Michael Chastain <mec@shout.net>
22378
22379 * gdb.c++/pr-1023.cc: New file.
22380 * gdb.c++/pr-1023.exp: New file.
22381
22382 2003-02-05 Jim Blandy <jimb@redhat.com>
22383
22384 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
22385 it's local to foobar. Check for it there, and check that it's not
22386 present in main.
22387 * gdb.c++/local.cc (marker2): New function.
22388 (foobar): Call marker1.
22389 (main): Call marker2 instead of marker1.
22390
22391 2003-02-04 Andrew Cagney <ac131313@redhat.com>
22392
22393 * gdb.disasm/mn10200.exp: Obsolete file.
22394 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
22395 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
22396 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
22397
22398 2003-02-04 David Carlton <carlton@math.stanford.edu>
22399
22400 * gdb.c++/overload.exp: Test intToChar(1).
22401 * gdb.c++/overload.cc (intToChar): New.
22402 (main): Call intToChar.
22403
22404 2003-02-03 David Carlton <carlton@math.stanford.edu>
22405
22406 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
22407 'might_kfail' arg.
22408 KFAIL some of the continue_to_bp_overloaded calls, according to
22409 PR c++/1025.
22410
22411 2003-02-01 Michael Chastain <mec@shout.net>
22412
22413 * gdb.base/advance.c (marker1): New marker function.
22414 * gdb.base/advance.exp: When the 'advance' command lands on the
22415 return breakpoint, it can legitimately stop on either the
22416 current line or the next line. Accommodate both outcomes.
22417 * gdb.base/until.exp: Likewise.
22418
22419 2003-02-02 Andrew Cagney <ac131313@redhat.com>
22420
22421 2002-11-10 Jason Molenda (jason-cl@molenda.com):
22422 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
22423 now a list, not a tuple.
22424 * gdb.mi/mi-var-display.exp: Ditto.
22425 * gdb.mi/gdb792.exp: Ditto.
22426
22427 2003-02-01 Andrew Cagney <ac131313@redhat.com>
22428
22429 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
22430 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
22431 stack backtraces.
22432 * gdb.mi/mi-syn-frame.c: Part of same.
22433
22434 2003-02-01 Mark Kettenis <kettenis@gnu.org>
22435
22436 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22437 gdb.mi/mi1-pthreads.exp: Return instead of calling
22438 gdb_suppress_entire_file.
22439
22440 2003-02-01 Mark Salter <msalter@redhat.com>
22441
22442 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
22443
22444 2003-01-31 Mark Salter <msalter@redhat.com>
22445
22446 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
22447 Support empty arg.
22448
22449 2003-01-30 Michael Chastain <mec@shout.net>
22450
22451 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
22452 This was a workaround for a UTF-8 bug in readline 4.3. The bug
22453 has been fixed in gdb/readline on 2003-01-09.
22454
22455 2003-01-29 Michael Snyder <msnyder@redhat.com>
22456
22457 * gdb.base/maint.exp: Allow for leading underscore in symbol.
22458 * gdb.base/display.exp: Allow for leading underscore in symbol.
22459 * gdb.base/args.exp: Skip if target does not support args passing.
22460
22461 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
22462
22463 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
22464 gdb_test. Accept a list of expect arguments as the third
22465 parameter.
22466 (gdb_test): Use it.
22467
22468 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
22469
22470 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
22471 allow for different test tree configurations. Update some
22472 tescases accordingly.
22473 * gdb.arch/altivec-regs.exp: Ditto.
22474 * gdb.asm/asm-source.exp: Ditto.
22475 * gdb.base/advance.exp: Ditto.
22476 * gdb.base/display.exp: Ditto.
22477 * gdb.base/long_long.exp: Ditto.
22478 * gdb.base/mips_pro.exp: Ditto.
22479 * gdb.base/overlays.exp: Ditto.
22480 * gdb.base/relocate.exp: Ditto.
22481 * gdb.base/setshow.exp: Ditto.
22482 * gdb.base/step-line.exp: Ditto.
22483 * gdb.base/step-test.exp: Ditto.
22484 * gdb.base/until.exp: Ditto.
22485 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
22486
22487 2003-01-17 David Carlton <carlton@math.stanford.edu>
22488
22489 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
22490 corresponding to PR c++/945.
22491 Update copyright.
22492
22493 2003-01-17 David Carlton <carlton@math.stanford.edu>
22494
22495 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
22496 corresponding to PR c++/68.
22497
22498 2003-01-17 David Carlton <carlton@math.stanford.edu>
22499
22500 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
22501 (test_paddr_hairy_functions): Call print_addr_2_kfail for
22502 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
22503
22504 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
22505
22506 * gdb.base/break.exp: Fix change of default location, because of
22507 removal of until tests.
22508 * gdb.base/help.exp: Update test for new 'until' help message.
22509 Add test for help on 'advance'.
22510 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
22511
22512 2003-01-15 Mark Kettenis <kettenis@gnu.org>
22513
22514 * gdb.base/default.exp: Adapt "info float" test for recent changes
22515 to that command. Add test for "info vector".
22516 * gdb.base/float.exp: New file. Add test for "info float" that
22517 resembles the old test in gdb.base/default.exp.
22518
22519 2003-01-15 David Carlton <carlton@math.stanford.edu>
22520
22521 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
22522
22523 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
22524
22525 * gdb.base/break.exp: Move the tests of until command from here...
22526 * gdb.base/until.exp: ... to here. New file. Add other tests.
22527 * gdb.base/advance.c: New file.
22528 * gdb.base/advance.exp: New file.
22529
22530 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
22531
22532 * gdb.base/args.c: New file.
22533 * gdb.base/args.exp: New file.
22534
22535 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
22536
22537 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
22538
22539 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
22540
22541 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
22542
22543 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
22544
22545 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
22546 dates.
22547
22548 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22549
22550 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
22551
22552 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22553
22554 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
22555 (ptype &*"foo").
22556 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
22557
22558 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22559
22560 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
22561 * gdb.mi/mi1-console.exp: Likewise.
22562
22563 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22564
22565 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
22566 * gdb.mi/mi1-console.exp: Likewise.
22567
22568 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22569
22570 * gdb.c++/overload.exp: Remove some fixed XFAILs.
22571
22572 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
22573
22574 * gdb.base/detach.exp: New test.
22575
22576 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
22577
22578 * Makefile.in (ALL_SUBDIRS): New variable.
22579 (subdirs, clean, distclean): Use it.
22580 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
22581 regenerating Makefile, since it is generated from the top level.
22582 * gdb.asm/Makefile.in: Likewise.
22583 * gdb.base/Makefile.in: Likewise.
22584 * gdb.c++/Makefile.in: Likewise.
22585 * gdb.disasm/Makefile.in: Likewise.
22586 * gdb.java/Makefile.in: Likewise.
22587 * gdb.mi/Makefile.in: Likewise.
22588 * gdb.threads/Makefile.in: Likewise.
22589 * gdb.trace/Makefile.in: Likewise.
22590
22591 2003-01-09 David Carlton <carlton@math.stanford.edu>
22592
22593 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
22594 Add copyright year 2003.
22595
22596 2003-01-06 Michael Chastain <mec@shout.net>
22597
22598 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
22599 When selecting a thread, 'line' and 'file' are optional.
22600 * gdb.mi/mi1-pthreads.exp: Likewise.
22601
22602 2003-01-06 Andreas Schwab <schwab@suse.de>
22603
22604 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
22605 failures.
22606
22607 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
22608
22609 Fix PR gdb/844
22610 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
22611 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
22612
22613 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
22614 instead of calling gdb_suppress_entire_file.
22615 * gdb.threads/print-threads.exp: Likewise.
22616 * gdb.threads/schedlock.exp: Likewise.
22617
22618 * gdb.threads/killed.exp: Return instead of calling
22619 gdb_suppress_entire_file.
22620 * gdb.threads/linux-dp.exp: Likewise.
22621 * gdb.threads/pthreads.exp: Likewise.
22622
22623 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
22624
22625 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
22626 stabs.
22627 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
22628 * gdb.base/whatis.exp: Always allow (void) after function names.
22629
22630 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
22631
22632 * gdb.c++/casts.exp: Correct regexp.
22633
22634 2003-01-04 Mark Kettenis <kettenis@gnu.org>
22635
22636 * configure.in: Call AC_CONFIG_HEADER. Don't call
22637 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
22638 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
22639 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
22640 aforementioned directories in the AC_OUPUT call.
22641 * config.hin: New file.
22642 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22643 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
22644 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
22645 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
22646 pass -I$objdir instead of -I$objdir/$subdir in compilation.
22647 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
22648 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
22649 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
22650 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
22651 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
22652 gdb.threads/configure.in, gdb.threads/configure,
22653 gdb.threads/config.in, gdb.trace/configure.in,
22654 gdb.trace/configure: Removed.
22655
22656 2003-01-03 Michael Chastain <mec@shout.net>
22657
22658 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
22659 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
22660
22661 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
22662
22663 * gdb.base/store.exp: Fix regular expressions.
22664
22665 2002-12-28 Mark Kettenis <kettenis@gnu.org>
22666
22667 * configure.in: Rewrite.
22668 * configure: Regenerated.
22669
22670 2003-01-03 David Carlton <carlton@math.stanford.edu>
22671
22672 * gdb.base/psymtab.exp: New file.
22673 * gdb.base/psymtab1.c: Ditto.
22674 * gdb.base/psymtab2.c: Ditto.
22675
22676 2002-12-23 Adam Fedor <fedor@gnu.org>
22677
22678 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
22679
22680 2002-12-23 David Carlton <carlton@math.stanford.edu>
22681
22682 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
22683 and current_directory initialization.
22684
22685 2002-12-22 Jim Blandy <jimb@redhat.com>
22686
22687 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
22688 rather than as part of the output file name.
22689
22690 * gdb.base/attach.exp: There's no need to copy the test program to
22691 /tmp; that was only ever necessary on HP/UX, and this test is
22692 entirely disabled there anyway.
22693
22694 2002-12-21 Jim Blandy <jimb@redhat.com>
22695
22696 * gdb.c++/psmang.exp: Doc fix.
22697
22698 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
22699 test.
22700
22701 2002-12-20 David Carlton <carlton@math.stanford.edu>
22702
22703 * gdb.c++/annota2.exp: KFAIL annotate-quit.
22704
22705 2002-12-18 Michael Chastain <mec@shout.net>
22706
22707 * gdb.c++/annota2.exp: Add copyright year 2002.
22708
22709 2002-12-17 David Carlton <carlton@math.stanford.edu>
22710
22711 * gdb.c++/try_catch.cc: Add marker comments.
22712 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
22713 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
22714 * gdb.c++/m-static.cc: Ditto.
22715 * gdb.c++/m-static1.cc: Ditto.
22716 * gdb.c++/try_catch.cc: Ditto.
22717
22718 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
22719
22720 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
22721 to see whether we are using the new -environment-directory
22722 command which resets via -r or the old version of the command
22723 which may prompt the user. Part of fix for gdb/741.
22724
22725 2002-12-13 Andrew Cagney <ac131313@redhat.com>
22726
22727 * gdb.fortran/types.exp: Update obsolete comment.
22728 * gdb.fortran/exprs.exp: Ditto.
22729 * lib/gdb.exp: Delete obsolete code.
22730 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
22731 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
22732 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
22733 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
22734 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
22735 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
22736 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
22737 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
22738 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
22739 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
22740 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
22741 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
22742 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
22743 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
22744 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
22745 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
22746 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
22747 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
22748 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
22749 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
22750 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
22751 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
22752 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
22753 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
22754 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
22755 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
22756 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
22757 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
22758 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
22759 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
22760 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
22761 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
22762 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
22763 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
22764 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
22765 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
22766 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
22767
22768 2002-12-11 David Carlton <carlton@math.stanford.edu>
22769
22770 * gdb.c++/m-data.exp: Add test for members that shadow global
22771 variables: see PR gdb/804.
22772 * gdb.c++/m-data.cc: Ditto.
22773
22774 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
22775
22776 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
22777
22778 2002-12-06 David Carlton <carlton@math.stanford.edu>
22779
22780 * gdb.base/store.c: Don't declare functions static.
22781
22782 2002-12-04 Andrew Cagney <ac131313@redhat.com>
22783
22784 * gdb.base/store.exp, gdb.base/store.c: New files.
22785
22786 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
22787
22788 * gdb.base/selftest.exp: Update for current gdb.
22789
22790 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
22791
22792 * gdb.base/maint.exp: Only dump symbols from one source file
22793 or objfile.
22794
22795 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
22796
22797 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
22798 function call.
22799
22800 2002-11-25 Jim Blandy <jimb@redhat.com>
22801
22802 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
22803 function appearing in error message.
22804
22805 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
22806
22807 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
22808
22809 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
22810
22811 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
22812 for mi1 and current mi is in correct format. New mi startup message
22813 should be in mi console format. This is part of fix for PR gdb/604.
22814
22815 2002-09-18 Fernando Nasser <fnasser@redhat.com>
22816
22817 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
22818 which explicitly prints the zero offset as "+0".
22819
22820 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
22821
22822 * gdb.threads/schedlock.c (args): Make unsigned.
22823
22824 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
22825
22826 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
22827 numbers. Allow "foo2|selected stack frame".
22828 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
22829 * gdb.asm/asmsrc2.s: Likewise.
22830 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
22831 comments.
22832 * gdb.asm/mips.inc: New file.
22833
22834 2002-10-18 Adam Fedor <fedor@gnu.org>
22835
22836 * gdb.base/default.exp: Update expected output to include 'ObjC'.
22837 * gdb.base/help.exp: Likewise.
22838
22839 2002-10-17 Kevin Buettner <kevinb@redhat.com>
22840
22841 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
22842 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
22843
22844 2002-10-02 Jim Blandy <jimb@redhat.com>
22845
22846 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
22847
22848 2002-10-01 Andrew Cagney <ac131313@redhat.com>
22849
22850 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
22851 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
22852 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
22853 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
22854 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
22855 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
22856 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
22857
22858 2002-09-29 Andrew Cagney <ac131313@redhat.com>
22859
22860 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
22861 * mi0-disassemble.exp, mi0-eval.exp: Delete.
22862 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
22863 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
22864 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
22865 * mi0-var-block.exp, mi0-var-child.exp: Delete.
22866 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
22867
22868 2002-09-27 Kevin Buettner <kevinb@redhat.com>
22869
22870 * gdb.base/annota1.exp (info break): Make directory components of
22871 path optional since not all compilers emit this debug information.
22872
22873 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
22874 step ends up stepping out of the function instead of stopping on
22875 the epilogue.
22876
22877 2002-09-26 Keith Seitz <keiths@redhat.com>
22878
22879 * lib/insight-support.exp (gdbtk_start): Figure out where
22880 the insight executable is based on where gdb is. Use this
22881 executable to start insight instead of gdb.
22882
22883 2002-09-25 Andrew Cagney <cagney@redhat.com>
22884
22885 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
22886
22887 2002-09-24 Andrew Cagney <ac131313@redhat.com>
22888
22889 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
22890 test_isolated_complaints.
22891 (test_empty_complaint): New function.
22892 (test_empty_complaints): New function. Check no output when no
22893 complaints.
22894
22895 2002-09-19 Jim Blandy <jimb@redhat.com>
22896
22897 * gdb.base/charset.exp, gdb.base/charset.c: New files.
22898
22899 2002-09-19 Andrew Cagney <ac131313@redhat.com>
22900
22901 * gdb.gdb/complaints.exp: New file.
22902
22903 2002-09-18 Andrew Cagney <ac131313@redhat.com>
22904
22905 * gdb.base/maint.exp: Check `help maint internal-warning'.
22906
22907 2002-09-18 David Carlton <carlton@math.stanford.edu>
22908
22909 * gdb.c++/m-static.exp: Remove breakpoints depending on line
22910 numbers, and replace them by a single breakpoint after the
22911 constructors are all finished.
22912 Add test 4.
22913 * gdb.c++/m-static.cc: Add test 4.
22914 * gdb.c++/m-static.h: New file.
22915 * gdb.c++/m-static1.cc: New file.
22916
22917 * gdb.c++/printmethod.exp: New file.
22918 * gdb.c++/printmethod.cc: New file.
22919
22920 * gdb.c++/pr-574.exp: New file.
22921 * gdb.c++/pr-574.cc: New file.
22922
22923 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
22924
22925 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
22926 embedded targets which never actually exit.
22927
22928 2002-09-18 Fernando Nasser <fnasser@redhat.com>
22929
22930 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
22931 "don't step after run" as unresolved or unsupported, instead of xfail.
22932
22933 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
22934
22935 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
22936 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
22937 Add newline to expected string in "step out of main (status wrapper)"
22938 case.
22939
22940 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
22941
22942 * lib/gdb.exp (rerun_to_main): Allow restarting application.
22943 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
22944
22945 2002-09-17 Tom Tromey <tromey@redhat.com>
22946
22947 * gdb.base/printcmds.exp (test_print_string_constants): Expect
22948 \000, not \0, in double-quoted string.
22949
22950 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
22951
22952 * gdb.base/commands.exp: Don't expect a "Program exited normally"
22953 string after running the commands execution on breakpoint tests.
22954
22955 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
22956
22957 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
22958
22959 2002-09-12 Joel Brobecker <brobecker@gnat.com>
22960
22961 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
22962
22963 2002-09-10 Keith Seitz <keiths@redhat.com>
22964
22965 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
22966 runto proc.
22967 (mi_run_to_main): Use mi_runto.
22968 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
22969
22970 2002-09-10 Keith Seitz <keiths@redhat.com>
22971
22972 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
22973 regexp for stopping at main. Could have multiple event notifications.
22974 Don't assume that main was declared with no parameters.
22975 (mi_next): Use mi_step_to.
22976 (mi_step): Use mi_next_to.
22977
22978 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
22979
22980 * gdb.base/default.exp: Fix expected string in `info float' test.
22981
22982 2002-09-09 Ben Elliston <bje@redhat.com>
22983
22984 * config/mips.exp: Update comments.
22985 * config/mips-idt.exp: Likewise.
22986 * config/nind.exp: Likewise.
22987 * config/slite.exp: Likewise.
22988 * config/sparclet.exp: Likewise.
22989 * config/udi.exp: Likewise.
22990 * config/vx.exp: Likewise.
22991 * config/vxworks29k.exp: Likewise.
22992
22993 2002-09-05 Jim Blandy <jimb@redhat.com>
22994
22995 * gdb.threads/killed.exp: Fix test failure message.
22996
22997 2002-09-04 Keith Seitz <keiths@redhat.com>
22998
22999 * lib/mi-support.exp: Update copyright.
23000 (mi_gdb_test): Increase the priority of the expected pattern
23001 so that it matches gdb_test.
23002
23003 2002-09-03 Keith Seitz <keiths@redhat.com>
23004
23005 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
23006 Use integer comparison instead of string comparison for testing
23007 whether binary was built.
23008
23009 2002-09-03 Jim Blandy <jimb@redhat.com>
23010
23011 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
23012
23013 2002-08-29 Jim Blandy <jimb@redhat.com>
23014
23015 * gdb.threads/pthreads.exp: Move the portable thread compilation
23016 code into a function in lib/gdb.exp, and call that from here.
23017 * lib/gdb.exp (gdb_compile_pthreads): New function.
23018
23019 2002-08-29 Keith Seitz <keiths@redhat.com>
23020
23021 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
23022 expect_out so that callers can get at it.
23023
23024 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
23025
23026 * gdb.threads/print-threads.c: New file.
23027 * gdb.threads/print-threads.exp: New file.
23028 * gdb.threads/schedlock.c: New file.
23029 * gdb.threads/schedlock.exp: New file.
23030
23031 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
23032
23033 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
23034 not altivec.c.
23035
23036 2002-08-17 Mark Kettenis <kettenis@gnu.org>
23037
23038 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
23039 targets. The problem should be fixed now.
23040
23041 2002-08-15 Mark Kettenis <kettenis@gnu.org>
23042
23043 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
23044 2002-07-24 change that removes final dots from error messages.
23045
23046 2002-08-13 Tom Tromey <tromey@redhat.com>
23047
23048 * gdb.base/readline.exp: New file.
23049
23050 2002-08-01 Andrew Cagney <ac131313@redhat.com>
23051
23052 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
23053 supress message.
23054
23055 2002-08-01 Andrew Cagney <cagney@redhat.com>
23056
23057 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
23058 CHILL_FOR_TARGET and CHILL_LIB.
23059 * configure.in (configdirs): Remove gdb.chill.
23060 * configure: Regenerate.
23061 * lib/gdb.exp: Obsolete references to chill.
23062 * gdb.fortran/types.exp: Ditto.
23063 * gdb.fortran/exprs.exp: Ditto.
23064
23065 2002-07-30 Kevin Buettner <kevinb@redhat.com>
23066
23067 * gdb.base/shlib-call.exp (additional_flags): Conditionally
23068 set Irix-specific compile and link flags.
23069
23070 2002-07-29 Kevin Buettner <kevinb@redhat.com>
23071
23072 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
23073 source files. The ``-o'' option doesn't work with the ``-E'' option
23074 when using the Irix compiler.
23075
23076 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
23077
23078 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
23079 Improve support for reusing an exec file. Copy exec file
23080 to target, and run gdbserver on the target instead of on the host.
23081
23082 2002-07-18 Jim Blandy <jimb@redhat.com>
23083
23084 * gdb.base/ending-run.exp: Don't expect to see the program end in
23085 some orderly fashion when we're running on a real stand-alone
23086 board.
23087
23088 * gdb.base/interrupt.exp: Correct logic for skipping tests on
23089 targets that don't support interrupts.
23090
23091 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
23092
23093 * gdb.base/attach.exp: Add patterns to match output from /proc-based
23094 systems.
23095 Move comments in expect statements to inside the actions, so that they
23096 don't get matched against.
23097
23098 2002-07-10 Mark Kettenis <kettenis@gnu.org>
23099
23100 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
23101 function when asleep" test.
23102
23103 2002-07-10 Andrew Cagney <ac131313@redhat.com>
23104
23105 * gdb.base/page.exp: Rewrite to handle problems with very long
23106 `info set' output. Update copyright.
23107
23108 2002-06-26 Andrew Cagney <ac131313@redhat.com>
23109
23110 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
23111 gdb.threads-hp.
23112 * gdb.hp/configure: Regenerate.
23113 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
23114 * gdb.hp/gdb.threads-hp/configure: Delete file.
23115 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
23116
23117 2002-06-22 Andrew Cagney <ac131313@redhat.com>
23118
23119 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
23120 setlocale, bindtextdomain and textdomain.
23121
23122 2002-06-11 Jim Blandy <jimb@redhat.com>
23123
23124 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
23125 preprocessor macro information is present.
23126
23127 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
23128 tests.
23129
23130 2002-06-06 Michael Snyder <msnyder@redhat.com>
23131
23132 * gdb.base/overlays.exp: Record addresses of overlay
23133 functions in TCL variables rather than in GDB variables,
23134 to avoid having GDB convert them to pointers (with loss
23135 of information).
23136
23137 * gdb.base/d10v.ld: Merge in several years worth of
23138 default linker script changes.
23139 * gdb.base/long_long.exp: Add check for sizeof (long double).
23140
23141 2002-06-06 Michal Ludvig <mludvig@suse.cz>
23142
23143 * gdb.asm/asm-source.exp: Add x86-64 target.
23144 * gdb.asm/x86_64.inc: New.
23145
23146 2002-05-30 Michael Chastain <mec@shout.net>
23147
23148 From Benjamin Kosnik <bkoz@redhat.com>:
23149 * gdb.c++/m-static.cc: New file.
23150 * gdb.c++/m-static.exp: New file.
23151
23152 2002-05-28 Michael Snyder <msnyder@redhat.com>
23153
23154 * gdb.base/call-ar-st.exp: Allow for reduced floating point
23155 precision.
23156
23157 2002-05-27 Michael Chastain <mec@shout.net>
23158
23159 From Benjamin Kosnik <bkoz@redhat.com>:
23160 * gdb.c++/m-data.cc: New file.
23161 * gdb.c++/m-data.exp: New file.
23162
23163 2002-05-27 Michael Chastain <mec@shout.net>
23164
23165 From Benjamin Kosnik <bkoz@redhat.com>:
23166 * gdb.c++/try_catch.cc: New file.
23167 * gdb.c++/try_catch.exp: New file.
23168
23169 2002-05-27 Michael Chastain <mec@shout.net>
23170
23171 * gdb.c++/local.exp: Accept more nested types in output.
23172
23173 2002-05-26 Michael Chastain <mec@shout.net>
23174
23175 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
23176
23177 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
23178
23179 * lib/gdb.exp (gdb_wrapper_init): Just because
23180 gdb_wrapper_file exists, this does not mean that the file
23181 should not be rebuilt. That is what gdb_wrapper_initialized
23182 is for.
23183 (default_gdb_init): Reset gdb_wrapper_initialized.
23184
23185 2002-05-23 Michael Snyder <msnyder@redhat.com>
23186
23187 * gdb.base/all-bin.exp: Revise previous patch by just reducing
23188 the precision of the floating point test results.
23189 * gdb.base/call-rt-st.exp: Ditto.
23190
23191 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
23192 * gdb.base/call-rt-st.exp: Ditto.
23193
23194 2002-05-19 Michael Chastain <mec@shout.net>
23195
23196 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
23197
23198 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
23199
23200 * configure.in (configdirs): Add gdb.arch.
23201 * configure: Regenerate.
23202
23203 2002-05-17 Jim Blandy <jimb@redhat.com>
23204
23205 * gdb.base/completion.exp: Recognize the more detailed error
23206 messages produced by the macro expander's lexical analyzer.
23207
23208 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
23209
23210 * gdb.arch/altivec-abi.c: New file.
23211 * gdb.arch/altivec-abi.exp: New file.
23212 * gdb.arch/altivec-regs.c: New file.
23213 * gdb.arch/altivec-regs.exp: New file.
23214
23215 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
23216
23217 * gdb.base/maint.exp (maint print type): Update for new type
23218 structure.
23219
23220 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
23221
23222 * gdb.arch: New directory.
23223 * gdb.arch/configure.in: New file.
23224 * gdb.arch/configure: New file.
23225 * gdb.arch/Makefile.in: New file.
23226
23227 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
23228
23229 * gdb.asm/asm-source.exp: Add v850 as supported target.
23230 * gdb.asm/v850.inc: New file.
23231
23232 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
23233
23234 * gdb.c++/annota2.exp (annotate-quit): Add comment.
23235
23236 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
23237
23238 * gdb.base/break.exp: Check 'break "marker2"'.
23239
23240 2002-05-10 Michael Snyder <msnyder@redhat.com>
23241
23242 * gdb.base/long_long.exp: Fix typo.
23243
23244 2002-05-10 Jim Blandy <jimb@redhat.com>
23245
23246 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
23247 a bug.
23248
23249 * gdb.base/printcmds.exp (test_integer_literals_rejected):
23250 Recognize more detailed error message produced by the macro
23251 expander's lexical analyzer.
23252 * lib/gdb.exp (test_print_reject): Same.
23253
23254 2002-05-09 Mark Kettenis <kettenis@gnu.org>
23255
23256 * gdb.c++/method.exp: Fix typo.
23257
23258 2002-05-08 Michael Snyder <msnyder@redhat.com>
23259
23260 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
23261 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
23262 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
23263 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
23264 Add iftarget clause for strongarm.
23265
23266 2002-05-06 Michael Snyder <msnyder@redhat.com>
23267
23268 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
23269 (gdb_continue_to_end): Accept output from status wrapper.
23270 * gdb.base/ending-run.exp: Add case for output from status wrapper.
23271 Clean up fail messages to match pass messages.
23272
23273 Enable the "needs_status_wrapper" testsuite feature.
23274 * lib/gdb.exp (gdb_wrapper_init): New procedure.
23275 (gdb_compile): Conditionally call gdb_wrapper_init.
23276 * gdb.base/a2-run.exp: Recognize output from status wrapper.
23277 * gdb.c++/method.exp: Recognize output from status wrapper.
23278
23279 2002-05-06 Ben Elliston <bje@redhat.com>
23280 From Graydon Hoare <graydon@redhat.com>
23281
23282 * config/sid.exp: Include support for "rawsid" protocol.
23283
23284 2002-05-03 Jim Blandy <jimb@redhat.com>
23285
23286 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
23287 * gdb.c++/hang3.C: New file.
23288
23289 2002-05-04 Andrew Cagney <ac131313@redhat.com>
23290
23291 * gdb.base/default.exp: Remove obsolete code.
23292 * gdb.c++/misc.exp: Ditto. Update copyright.
23293 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
23294 * gdb.base/whatis.exp: Ditto. Update copyright.
23295 * gdb.base/scope.exp: Ditto. Update copyright.
23296 * gdb.base/ptype.exp: Ditto. Update copyright.
23297 * gdb.base/printcmds.exp: Ditto. Update copyright.
23298 * gdb.base/opaque.exp: Ditto. Update copyright.
23299 * gdb.base/list.exp: Ditto.
23300 * gdb.base/funcargs.exp: Ditto. Update copyright.
23301 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
23302 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
23303 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
23304 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
23305 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
23306 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
23307
23308 2002-05-02 Michael Snyder <msnyder@redhat.com>
23309
23310 * gdb.base/watchpoint.exp: Add xscale target.
23311 * gdb.base/long_long.exp: Add xscale target.
23312 * gdb.base/default.exp: Add xscale target.
23313
23314 2002-05-01 Jim Blandy <jimb@redhat.com>
23315
23316 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
23317 gdb.c++/hang.exp: New test.
23318
23319 2002-05-01 Fred Fish <fnf@redhat.com>
23320
23321 * gdb.base/completion.exp: Handle completions of "./Make" for
23322 more than one completion possibility, as is the case when we
23323 build and test in the source tree.
23324
23325 2002-04-29 Anthony Green <green@redhat.com>
23326
23327 * gdb.java/jmisc1.exp: New file.
23328 * gdb.java/jmisc2.exp: New file.
23329
23330 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
23331
23332 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
23333
23334 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
23335
23336 * gdb.base/help.exp: Change 'help status' to allow for target
23337 dependent output differences.
23338
23339 2002-04-22 Michael Chastain <mec@shout.net>
23340
23341 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
23342
23343 2002-04-22 Michael Chastain <mec@shout.net>
23344
23345 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
23346
23347 2002-04-17 David S. Miller <davem@redhat.com>
23348
23349 * gdb.asm/sparc64.inc: New file.
23350 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
23351
23352 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
23353
23354 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
23355 instruction file directly into the build tree. Clean up at end of
23356 test.
23357
23358 2002-04-18 David S. Miller <davem@redhat.com>
23359
23360 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
23361 handle 64-bit platforms correctly.
23362 * gdb.base/maint.exp: Likewise.
23363
23364 2002-04-18 Kevin Buettner <kevinb@redhat.com>
23365
23366 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
23367 ``-fpic'' when compiling files comprising a shared library, but
23368 it does need additional linker flags in order to find shared
23369 libraries at run time.
23370
23371 2002-04-18 Kevin Buettner <kevinb@redhat.com>
23372
23373 * gdb.base/cvexpr.c (use): New function.
23374 (main): Invoke use() on all global variables to prevent
23375 some linkers from deleting these otherwise unused symbols.
23376
23377 2002-04-17 Michael Chastain <mec@shout.net>
23378 From David S. Miller <davem@redhat.com>
23379
23380 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
23381 handle 64-bit platforms correctly.
23382
23383 2002-04-12 Michael Snyder <msnyder@redhat.com>
23384 From Jim Blandy <jimb@redhat.com>
23385 * gdb.base/foo.c (foox): Remove section attribute; the linker
23386 script can handle this instead.
23387 * gdb.base/bar.c (barx): Same.
23388 * gdb.base/baz.c (bazx): Same.
23389 * gdb.base/grbx.c (grbxx): Same.
23390
23391 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
23392 manager doesn't automatically unmap overlays unnecessarily.
23393
23394 2002-04-10 Martin M. Hunt <hunt@redhat.com>
23395
23396 * gdb.base/ending-run.exp: Fix pattern for Mips targets
23397 stepping out of main.
23398
23399 2002-04-09 Michael Chastain <mec@shout.net>
23400
23401 * gdb.c++/local.cc (main): Move call to marker1() inside nested
23402 scope so that the nested scope tests will make sense.
23403 * gdb.c++/local.exp: Write patterns that actually work with gcc
23404 (the HP patterns "were never known to work with gcc").
23405 Keep the old aCC patterns too.
23406
23407 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
23408
23409 * gdb.base/attach.exp: Correct target board test.
23410
23411 2002-04-08 Michael Chastain <mec@shout.net>
23412
23413 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
23414 in a const method. Add some xfail and fail cases for configurations
23415 that do not emit the "const ...".
23416
23417 2002-04-07 Michael Chastain <mec@shout.net>
23418
23419 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
23420 Accept "A * const" and "const A * const" as type of "this".
23421 Fix spelling of getFunky throughout. Make messages uniform.
23422
23423 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
23424
23425 Work around for PR gdb/285:
23426 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
23427
23428 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
23429
23430 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
23431 instructions file at run time instead of configure time.
23432 Sometimes we run the test in a directory that is not the one we
23433 configured in.
23434 * gdb.asm/configure.in: Delete creation of symlink.
23435 * gdb.asm/configure: Regenerate.
23436
23437 2002-04-05 J. Brobecker <brobecker@gnat.com>
23438
23439 * gdb.gdb/xfullpath.exp: New test, to exercise the new
23440 xfullpath () function.
23441
23442 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
23443
23444 * gdb.asm/Makefile.in: Correct dependencies.
23445
23446 * gdb.asm/powerpc.inc: New file.
23447 * gdb.asm/asm-source.exp: Add PowerPC.
23448 * gdb.asm/configure.in: Likewise.
23449 * gdb.asm/configure: Regenerated.
23450
23451 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
23452
23453 * gdb.base/relocate.exp: New file.
23454 * gdb.base/relocate.c: New file.
23455
23456 2002-04-04 Fred Fish <fnf@redhat.com>
23457
23458 * gdb.base/step-test.exp: Update comment regarding stopping in
23459 memcpy/bcopy calls inserted as part of the compiler runtime.
23460
23461 2002-04-04 Michael Snyder <msnyder@redhat.com>
23462
23463 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
23464
23465 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
23466
23467 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
23468 (gdb_expect): Remove $notransfer hack.
23469
23470 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
23471
23472 * gdb.c++/classes.exp ("calling method for small class"): Match
23473 updated register output.
23474
23475 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
23476
23477 Fix PR gdb/452
23478 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
23479 when finished. Make gdb_file_cmd send "exec-file" when
23480 appropriate.
23481
23482 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
23483
23484 * gdb.base/attach.exp: Remove extra setup_xfail.
23485
23486 2002-03-26 Michael Snyder <msnyder@redhat.com>
23487
23488 * gdb.base/default.exp: Add tests for dump, append, and restore.
23489 * gdb.base/help.exp: Add tests for dump, append, and restore.
23490 * gdb.base/dump.exp: New file, test dump, append and restore.
23491 * gdb.base/dump.c: New file.
23492
23493 2002-03-27 Michael Snyder <msnyder@redhat.com>
23494
23495 * gdb.base/help.exp: Modify expect strings to reflect
23496 clean-ups in help messages.
23497
23498 2002-03-26 Fred Fish <fnf@redhat.com>
23499
23500 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
23501 have debugging info for those functions and the compiler uses them
23502 internally to copy structs around.
23503
23504 2002-03-26 Fred Fish <fnf@redhat.com>
23505
23506 * gdb.base/list.exp: Revert the change made yesterday and add note
23507 about why we don't list the default lines for remote targets.
23508
23509 2002-03-25 Michael Snyder <msnyder@redhat.com>
23510
23511 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
23512
23513 2002-03-25 Fred Fish <fnf@redhat.com>
23514
23515 * gdb.base/list.exp: This test works on remote targets so remove
23516 the short circuit for remote targets. Update copyright.
23517
23518 2002-03-25 Fred Fish <fnf@redhat.com>
23519
23520 * gdb.base/attach.exp: Fix logic error that was suppressing this
23521 test for all non hppa*-*-hpux* targets, instead of the hp target.
23522 Move comments closer to the suppression point. Also now need to
23523 check that we are running natively.
23524
23525 2002-03-22 Michael Snyder <msnyder@redhat.com>
23526
23527 * gdb.base/default.exp: Add test for gcore. Update copyright.
23528 * gdb.base/help.exp: Add test for gcore. Update copyright.
23529
23530 2002-03-06 Fred Fish <fnf@redhat.com>
23531
23532 * gdb.base/funcargs.c: Remove extraneous ';' character.
23533 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
23534
23535 2002-03-04 Michael Chastain <mec@shout.net>
23536
23537 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
23538 accommodate gcc v3 function signature.
23539 * gdb.mi/mi0-var-cmd-exp: Ditto.
23540
23541 2002-02-24 Andrew Cagney <ac131313@redhat.com>
23542
23543 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
23544 ``GNU/Linux'' or ``Linux kernel''
23545 * testsuite/gdb.threads/pthreads.c: Ditto.
23546
23547 2002-02-24 Michael Chastain <mec@shout.net>
23548
23549 * gdb.threads/pthreads.c (thread1): Add a return statement.
23550 (thread2): Likewise.
23551 (foo): Likewise.
23552
23553 2002-02-23 Michael Chastain <mec@shout.net>
23554
23555 * gdb.threads/linux-dp.c (philosopher): Add a return statement
23556 to placate gcc.
23557
23558 2002-02-23 Michael Chastain <mec@shout.net>
23559
23560 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
23561 test "ptype bint". The test passes on all my stabs configurations.
23562
23563 2002-02-21 Jim Blandy <jimb@redhat.com>
23564
23565 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
23566 filename at a time, and watch for the ones we want to see.
23567
23568 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
23569 types of pointers to prototyped functions.
23570
23571 2002-02-20 Andrew Cagney <ac131313@redhat.com>
23572
23573 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
23574 signed, unsigned and straight char.
23575 (padding_char, padding_short, padding_int, padding_long,
23576 padding_long_long, padding_float, padding_double,
23577 padding_long_double): New global variables.
23578 (fill, fill_structs): New functions.
23579
23580 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
23581 for correctly sized writes. Update copyright.
23582 (get_valueof): New procedure.
23583 (get_sizeof): Call get_valueof.
23584 (check_valueof): New procedure.
23585 (check_padding): New procedure.
23586
23587 2002-02-20 Michael Chastain <mec@shout.net>
23588
23589 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
23590 to setup_xfail. Document some of the remaining calls.
23591
23592 2002-02-18 Michael Chastain <mec@shout.net>
23593
23594 * gdb.c++/userdef.exp: Update copyright year.
23595
23596 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
23597
23598 * gdb.c++/userdef.exp: Test overloaded operators properly.
23599 Remove xfails.
23600
23601 2002-02-14 Michael Snyder <msnyder@redhat.com>
23602
23603 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
23604
23605 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
23606
23607 * gdb.base/a2-run.exp: Check for a remote target properly.
23608 * gdb.base/annota1.exp: Likewise.
23609 * gdb.base/list.exp: Likewise.
23610 * gdb.base/reread.exp: Likewise.
23611 * gdb.base/scope.exp: Likewise.
23612 * gdb.base/shlib-call.exp: Likewise.
23613 * gdb.base/term.exp: Likewise.
23614 * gdb.c++/annota2.exp: Likewise.
23615
23616 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
23617
23618 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
23619
23620 2002-02-10 Michael Chastain <mec@shout.net>
23621
23622 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
23623 (call_after_alloca): Ditto.
23624
23625 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
23626
23627 * gdb.base/ending-run.exp: Guard "cont" test with
23628 gdb_skip_stdio_test.
23629
23630 2002-02-06 Jim Blandy <jimb@redhat.com>
23631
23632 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
23633 from here...
23634 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
23635 To here. Disable this test on non-HP platforms. Add big comment.
23636
23637 2002-02-04 Michael Snyder <msnyder@redhat.com>
23638
23639 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
23640 other than d10v and m32r.
23641
23642 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
23643
23644 * gdb.base/default.exp: Rewrite test patterns to reduce time
23645 taken to match them.
23646
23647 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
23648
23649 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
23650 Allow a start function above main.
23651 * gdb.threads/linux-dp.exp: Fix copyright date.
23652
23653 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
23654
23655 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
23656 (check_philosopher_stack): Check for manager thread before checking
23657 for a just-starting thread.
23658
23659 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
23660
23661 From Neil Booth <neil@daikokuya.demon.co.uk>:
23662 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
23663 warnings.
23664
23665 2002-01-21 Fred Fish <fnf@redhat.com>
23666
23667 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
23668 not caller.
23669
23670 2002-01-21 Jim Blandy <jimb@redhat.com>
23671
23672 * gdb.base/reread.exp: Check that GDB properly re-reads the
23673 executable file when it changes while no inferior is running.
23674
23675 2002-01-21 Fred Fish <fnf@redhat.com>
23676
23677 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
23678 optionally accept the "shlib events" variation.
23679
23680 2002-01-21 Jim Blandy <jimb@redhat.com>
23681
23682 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
23683 call `fflush' after every `printf', so that the output is produced
23684 at predictable points, regardless of whatever buffering does (or
23685 doesn't) take place.
23686 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
23687 at different points.
23688
23689 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
23690
23691 * gdb.c++/inherit.exp: Update copyright years.
23692 * gdb.c++/method.exp: Likewise.
23693
23694 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
23695
23696 * gdb.c++/classes.exp: Update for improved v3 support and skipping
23697 artificial methods/arguments.
23698 * gdb.c++/derivation.exp: Likewise.
23699 * gdb.c++/inherit.exp: Likewise.
23700 * gdb.c++/method.exp: Likewise.
23701 * gdb.c++/virtfunc.exp: Likewise.
23702
23703 2002-01-18 Andrew Cagney <ac131313@redhat.com>
23704
23705 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
23706 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
23707 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
23708 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
23709 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
23710 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
23711
23712 2002-01-17 Jim Blandy <jimb@redhat.com>
23713
23714 * gdb.asm/asm-source.exp (info symbol): Take another shot at
23715 anchoring the pattern matching the entry point symbol's name.
23716
23717 2002-01-17 Andrew Cagney <ac131313@redhat.com>
23718
23719 * gdb.base/maint.exp: Update ``maint internal-error'' to match
23720 continue/quit query. Update copyright.
23721
23722 2002-01-14 Michael Snyder <msnyder@redhat.com>
23723
23724 * gdb.base/gcore.exp: Remove extra debugging output.
23725
23726 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
23727
23728 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
23729 for slightly dubious v2 mangled string.
23730
23731 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
23732
23733 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
23734
23735 2002-01-10 Jason Merrill <jason@redhat.com>
23736
23737 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
23738
23739 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
23740 constructors.
23741 * gdb.c++/derivation.exp: Likewise.
23742 * gdb.c++/templates.exp: Likewise.
23743 * gdb.c++/virtfunc.exp: Likewise.
23744
23745 2002-01-10 Michael Snyder <msnyder@redhat.com>
23746
23747 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
23748
23749 2002-01-08 Michael Snyder <msnyder@redhat.com>
23750
23751 * gdb.base/gcore.exp: New test for generate-core-file command.
23752 * gdb.base/gcore.c: Testcase for above.
23753 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
23754
23755 2002-01-08 Jason Merrill <jason@redhat.com>
23756
23757 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
23758
23759 2002-01-07 Fred Fish <fnf@redhat.com>
23760
23761 * gdb.c++/overload.exp: Remove unconditional xfails for:
23762 print foo_instance1.overloadargs(1)
23763 print foo_instance1.overloadargs(1, 2)
23764 print foo_instance1.overloadargs(1, 2, 3)
23765 print foo_instance1.overloadargs(1, 2, 3, 4)
23766 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
23767 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
23768 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
23769 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
23770 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
23771 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
23772 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
23773 print foo_instance1.overload1arg()
23774 print foo_instance1.overload1arg((char)arg2)
23775 print foo_instance1.overload1arg((signed char)arg3)
23776 print foo_instance1.overload1arg((unsigned char)arg4)
23777 print foo_instance1.overload1arg((int)arg7)
23778 print foo_instance1.overload1arg((unsigned int)arg8)
23779 print foo_instance1.overload1arg((float)arg11)
23780 print foo_instance1.overload1arg((double)arg12)
23781
23782 2002-01-07 Michael Snyder <msnyder@redhat.com>
23783
23784 * gdb.base/huge.exp: New test. Print a very large target data object.
23785 (skip_huge_test): New test variable. Define if you want to skip this
23786 test. The test reads an 8 megabyte data object from the target, so it
23787 might be very time consuming on remote targets with a slow connection.
23788 * gdb.base/huge.c: New file. Test case for above.
23789
23790 2002-01-07 Fred Fish <fnf@redhat.com>
23791
23792 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
23793 g_instance.bfoo, and g_instance.cfoo.
23794
23795 2002-01-07 Jeffrey A Law <law@redhat.com>
23796
23797 * gdb.base/break.c (multi_line_if_conditional): New function.
23798 (multi_ilne_while_conditional): Likewise.
23799 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
23800 IF or WHILE condition puts the breakpoint at the start of
23801 the condition.
23802
23803 * gdb.base/selftest.exp (backtrace through signal handler): Remove
23804 hppa*-*-hpux* expected failure.
23805 * gdb.base/structs.exp (do_function_calls): Similarly.
23806
23807 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
23808 watchpoints.
23809
23810 2002-01-06 Andrew Cagney <ac131313@redhat.com>
23811
23812 Fix PR gdb/66.
23813 * gdb.base/structs.exp: Replace skip for a29k with skip for
23814 gdb,cannot_call_functions.
23815 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
23816 * gdb.base/callfuncs.exp: Ditto.
23817 * gdb.base/call-rt-st.exp: Ditto.
23818 * gdb.base/call-strs.exp: Ditto.
23819 * gdb.base/callfwmall.exp: Ditto.
23820 * gdb.base/scope.exp: Obsolete xfail a29k.
23821 * gdb.c++/misc.exp: Ditto.
23822 * gdb.c++/cplusfuncs.exp: Ditto.
23823 * gdb.base/ptype.exp: Ditto.
23824 * gdb.base/printcmds.exp: Ditto.
23825 * gdb.base/opaque.exp: Ditto.
23826 * gdb.base/list.exp: Ditto.
23827 * gdb.base/funcargs.exp: Ditto.
23828 * gdb.base/default.exp: Ditto.
23829
23830 2002-01-04 Michael Snyder <msnyder@redhat.com>
23831
23832 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
23833 * gdb.base/maint.exp: Add tests for maint info sections options.
23834
23835 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
23836
23837 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
23838
23839 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
23840
23841 * gdb.asm/arm.inc: New file.
23842 * gdb.asm/asm-source.exp: Add arm targets.
23843 * gdb.asm/configure.in: Ditto.
23844 * gdb.asm/configure: Recreated from configure.in.
23845
23846 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
23847
23848 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
23849 with HP's compiler.
23850 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
23851 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
23852 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
23853 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
23854
23855 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
23856 either HP's compilers or GCC.
23857
23858 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
23859 a SIGBUS or SIGSEGV.
23860
23861 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
23862
23863 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
23864 can be compiled with either HP's compiler or GCC.
23865
23866 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
23867 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
23868 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
23869
23870 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
23871 to match current gdb output. Update due to using auto-solib-limit
23872 for limiting instead of overloading auto-solib-add.
23873 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
23874 test program.
23875
23876 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
23877 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
23878 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
23879 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
23880 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
23881 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
23882 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
23883 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
23884 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
23885 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
23886 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
23887 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
23888 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
23889
23890 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
23891 a SIGTRAP to the inferior.
23892
23893 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
23894
23895 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
23896 Substitute call to target_link by call to gdb_compile.
23897
23898 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
23899
23900 * gdb.base/break.exp: Fix HP specific search string when testing
23901 backtracing in a called function.
23902
23903 * gdb.base/constvars.exp: Only set lang to C++ if we're
23904 compiling the test with HP's compilers.
23905 * gdb.base/volatile.exp: Similarly.
23906
23907 2001-12-19 Jim Blandy <jimb@redhat.com>
23908
23909 * gdb.base/printcmds.exp: Expect the null character to be printed
23910 as '\0', and the '\013' to be printed as '\v'.
23911 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
23912 * gdb.base/setvar.exp: Same.
23913
23914 2001-12-17 Jim Blandy <jimb@redhat.com>
23915
23916 * gdb.base/completion.exp: Rather than completing very long
23917 filenames, which can make the readline library produce output we
23918 don't recognize, cd to the directory first, and then complete
23919 using nice, short relative paths.
23920
23921 * gdb.base/completion.exp: On some systems, there is, in fact, a
23922 variable named `b' in scope, since GDB treats all static
23923 variables as being in scope. So use `no_var_named_this'
23924 instead of `b'.
23925
23926 * gdb.base/corefile.exp: Recognize the message saying that GDB
23927 can't find the core file's registers as a failure.
23928
23929 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
23930
23931 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
23932 test expect string more specific.
23933
23934 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
23935
23936 * gdb.asm/asm-source.exp: Add support for xstormy16.
23937 * gdb.asm/configure.in: Ditto.
23938 * gdb.asm/configure: Rebuild.
23939 * gdb.asm/xstormy16.inc: New file.
23940
23941 2001-12-10 Fred Fish <fnf@redhat.com>
23942
23943 * gdb.base/maint.exp: Update to match changes in type dumping code.
23944
23945 2001-12-10 Jim Blandy <jimb@redhat.com>
23946
23947 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
23948 matching the entry point symbol's name at the beginning of the
23949 line.
23950
23951 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
23952
23953 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
23954 gdb.c++/inherit.exp, gdb.c++/method.exp,
23955 gdb.c++/namespace.exp, gdb.c++/templates.exp,
23956 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
23957 and class layout support.
23958
23959 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
23960
23961 * gdb.c++/classes.exp: Add test for static member function.
23962 * gdb.c++/misc.cc: Add class with static member function.
23963
23964 2001-12-07 Jim Blandy <jimb@redhat.com>
23965
23966 If GDB says it can't find the struct the function returned, report
23967 those tests as `unsupported'.
23968 * gdb.base/call-rt-st.exp (print_struct_call): New function.
23969 Rewrite subsequent tests to use it.
23970
23971 If GDB says it can't find the struct the function returned, report
23972 those tests as `unsupported'.
23973 * gdb.base/structs.exp (call_struct_func): New function.
23974 (do_function_calls): Use call_struct_func to call the functions
23975 returning structs.
23976
23977 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
23978 whether functions are prototyped or not, so we can't possibly pass
23979 arguments to t_float_values2 properly.
23980
23981 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
23982 value of `timeout' for targets other than the mips*tx39-*.
23983
23984 2001-12-06 Michael Snyder <msnyder@redhat.com>
23985
23986 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
23987 and detect whether the start symbol has a leading underscore.
23988
23989 2001-12-04 Jim Blandy <jimb@redhat.com>
23990
23991 * gdb.base/completion.exp: Clarify indentation.
23992
23993 2001-12-03 Jim Blandy <jimb@redhat.com>
23994
23995 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
23996 variables on the S/390, not `.word'.
23997
23998 2001-11-30 Jim Blandy <jimb@redhat.com>
23999
24000 Add assembly-source tests for s390-ibm-linux.
24001 * gdb.asm/s390.inc: New file.
24002 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
24003 the S/390 architecture.
24004 * gdb.asm/configure: Regenerated.
24005
24006 2001-11-30 Michael Snyder <msnyder@redhat.com>
24007
24008 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
24009 next, info source, info sources, info line, global and static
24010 variables, and static functions.
24011 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
24012 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
24013 * gdb.asm/asmsrc1.s: Add a static function and some variables.
24014 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
24015 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
24016 (gdbasm_leave): Restore frame pointer.
24017 (gdbasm_startup): Copy stack set-up from crt0.S.
24018
24019 2001-11-26 Fernando Nasser <fnasser@redhat.com>
24020
24021 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
24022 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
24023 to a local (non-static) variable. Copy tstruct.a to a static buffer
24024 and return a pointer to that buffer.
24025 * gdb.base/callfwmall.c (t_structs_a): Ditto.
24026
24027 2001-11-24 Mark Kettenis <kettenis@gnu.org>
24028
24029 * gdb.asm/configure.in: Fix recognition of ix86 target.
24030 * gdb.asm/configure: Regenerate.
24031
24032 2001-11-21 Michael Snyder <msnyder@redhat.com>
24033
24034 * gdb.asm/sparc.inc: New file.
24035 * gdb.asm/asm-source.exp: Recognize sparc target.
24036 * gdb.asm/configure.in: Recognize sparc target.
24037 * gdb.asm/configure: Regenerate.
24038
24039 2001-11-21 Michael Snyder <msnyder@redhat.com>
24040
24041 * gdb.asm/m32r.inc: New file.
24042 * gdb.asm/asm-source.exp: Recognize m32r target.
24043 * gdb.asm/configure.in: Recognize m32r target.
24044 * gdb.asm/configure: Regenerate.
24045
24046 2001-11-20 Michael Snyder <msnyder@redhat.com>
24047
24048 * gdb.asm/i386.inc: New file.
24049 * gdb.asm/asm-source.exp: Recognize ix86 target.
24050 * gdb.asm/configure.in: Recognize ix86 target.
24051 * gdb.asm/configure: Regenerate.
24052
24053 * gdb.c++/namespace.exp: Fix quotes in output messages.
24054
24055 2001-11-14 Michael Snyder <msnyder@redhat.com>
24056
24057 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
24058 qualifier in a type cast expression, to designate an address
24059 in the instruction space (Harvard architecture).
24060
24061 2001-11-13 Michael Snyder <msnyder@redhat.com>
24062
24063 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
24064 Tests for expressions using 'const' and 'volatile'.
24065
24066 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
24067
24068 * gdb.asm/asm-sources.exp: Allow defining linker flags.
24069
24070 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
24071
24072 * lib/mi-support.exp (mi_run_to_helper): Move comments
24073 outside of gdb_expect.
24074
24075 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
24076
24077 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
24078 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
24079 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
24080 mi0_run_to): New functions.
24081 * gdb.mi/mi-simplerun.exp: Use them.
24082 * gdb.mi/mi0-simplerun.exp: Likewise.
24083 * gdb.mi/mi-var-cmd.exp: Likewise.
24084 * gdb.mi/mi0-var-cmd.exp: Likewise.
24085
24086 2001-11-10 Andrew Cagney <ac131313@redhat.com>
24087
24088 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
24089 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
24090
24091 2001-11-09 Andrew Cagney <ac131313@redhat.com>
24092
24093 * gdb.base/restore.exp: Include $expected value in restored test
24094 message.
24095
24096 2001-11-09 Andrew Cagney <ac131313@redhat.com>
24097
24098 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
24099 implemented.
24100
24101 2001-11-08 Michael Snyder <msnyder@redhat.com>
24102
24103 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
24104 Add pass/fail message for stop at breakpoint in call dummy function.
24105
24106 2001-11-07 Michael Snyder <msnyder@redhat.com>
24107
24108 * gdb.c++/templates.exp (test_template_breakpoints):
24109 If we get an overload menu, but it does not match what
24110 we expect, we still need to issue the "cancel" command.
24111 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
24112 making the whitespace optional. Argument for "new" may be
24113 "unsigned" as well as "unsigned int/long".
24114 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
24115 making the whitespace optional. Also replace "(void) with
24116 "((void|)), making the keyword "void" optional.
24117 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
24118 making the whitespace optional. Also replace "(void) with
24119 "((void|)), making the keyword "void" optional.
24120 * gdb.base/callfuncs.c (t_float_values): This function must
24121 _not_ be prototyped, and the following function (t_float_values2)
24122 must be prototyped (if the compiler supports it), so that GDB
24123 can be tested against both cases. Usually one case involves
24124 promotion of float to double, while the other does not.
24125 * gdb.base/callfwmall.c: Ditto.
24126 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
24127 includes a stack frame for "start".
24128
24129 2001-11-05 Jim Blandy <jimb@redhat.com>
24130
24131 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
24132 pointers are 32 bits long, and that offsets of relocs are always
24133 stored in the data (REL-style), and not in the reloc entry itself
24134 (RELA-style).
24135 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
24136 stabs.
24137
24138 2001-11-01 Michael Snyder <msnyder@redhat.com>
24139
24140 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
24141 and regular expression operators by using quoting.
24142
24143 2001-10-31 Michael Snyder <msnyder@redhat.com>
24144
24145 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
24146 depending on what the symbol table contains.
24147 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
24148 the output of the ptype command. Similarly, accept both "const &"
24149 and "const&".
24150
24151 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
24152
24153 * gdb.base/miscexprs.c (main): Add usage of preprocessor
24154 symbol `STORAGE' to allow to choose the storage class of
24155 the local datastructures.
24156 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
24157 compiler directive.
24158
24159 2001-10-30 Michael Snyder <msnyder@redhat.com>
24160
24161 * gdb.base/jump.exp: Allow it to run for all targets.
24162
24163 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
24164
24165 * gdb.base/call-ar-st.c (print_double_array): Match for loop
24166 with new double_array size.
24167 (main): Change storage class of all local variables to static.
24168 Reduce size of double_array to 9.
24169 * gdb.base/call-ar-st.exp: Increase timeout value.
24170 Change expected output for double array to match new size in
24171 call-ar-st.c.
24172
24173 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
24174
24175 * gdb.base/ending-run.exp: Create identical output when passing
24176 `step to end of run' case. Add regular expression branch satisfying
24177 Stormy16 target.
24178
24179 2001-10-28 Mark Kettenis <kettenis@gnu.org>
24180
24181 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
24182 that we catch the expected failure under Linux/x86.
24183
24184 2001-10-29 Orjan Friberg <orjanf@axis.com>
24185
24186 * gdb.base/setvar.exp: Escape curly braces.
24187 * gdb.stabs/weird.exp: Ditto.
24188
24189 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
24190
24191 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
24192 * gdm.mi/mi0-hack-cli.exp: Likewise.
24193
24194 2001-10-25 Andrew Cagney <ac131313@redhat.com>
24195
24196 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
24197 messages.
24198
24199 2001-10-21 Andrew Cagney <ac131313@redhat.com>
24200
24201 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
24202 checking MI enabled.
24203
24204 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
24205
24206 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
24207
24208 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
24209
24210 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
24211 if gdb child process crashes, just signal an error.
24212
24213 2001-10-02 Jim Blandy <jimb@redhat.com>
24214
24215 * lib/gdb.exp (test_xfail_format): Simplify.
24216
24217 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
24218 front of the variable name `format'. Simplify `if'.
24219
24220 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
24221
24222 * gdb.threads/pthreads.exp: Wait for output and delay
24223 before sending ^C.
24224
24225 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
24226
24227 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
24228 some incorrect output instead of timing out.
24229 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
24230
24231 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
24232
24233 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
24234 check to allow additional `int'.
24235
24236 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
24237
24238 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
24239 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
24240
24241 2001-09-27 Michael Snyder <msnyder@redhat.com>
24242
24243 * lib/gdb.exp (test_debug_format): New proc.
24244 (setup_xfail_format): Use new proc test_debug_format.
24245 * gdb.base/constvars.exp (local_compiler_xfail_check): New
24246 proc; use new service proc test_debug_format.
24247 Replace all other "gcc_compiled" tests with this test.
24248 * gdb.base/volatile.exp (local_compiler_xfail_check): New
24249 proc; use new service proc test_debug_format.
24250 Replace all other "gcc_compiled" tests with this test.
24251
24252 2001-09-27 Michael Snyder <msnyder@redhat.com>
24253
24254 * gdb.base/cvexpr.exp: New file.
24255 * gdb.base/cvexpr.c: New file
24256 Test for expressions using const and volatile keywords.
24257
24258 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
24259
24260 * gdb.base/constvars.exp: Check for different orders of keywords
24261 and additional "int" strings in output.
24262
24263 2001-09-22 Andrew Cagney <ac131313@redhat.com>
24264
24265 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
24266 responses from "help maint".
24267
24268 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
24269
24270 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
24271 to localhost:NNN instead of :NNN, in case Xvfb is listening
24272 only on TCP.
24273
24274 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
24275
24276 * gdb.base/recurse.exp: When checking leaving the watchpoint
24277 scope, recognize when gdb is in function's epilogue and pass.
24278
24279 2001-09-18 Keith Seitz <keiths@redhat.com>
24280
24281 * lib/insight-support.exp (_gdbtk_export_target_info): Add
24282 support for running tests against sid targets.
24283 (gdbtk_done): Ditto.
24284
24285 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
24286
24287 * gdb.base/ending-run.c (main): Set stdout buffersize
24288 to the same reasonable value for any target.
24289 * gdb.base/ending-run.exp: Add a regular expression
24290 to make testsuite happy on Sanyo Stormy16 target.
24291
24292 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
24293
24294 * gdb.base/display.c (do_loops): Add float variable `f'.
24295 Increment f in loop.
24296 * gdb.base/display.exp: Increment timeout by 60 seconds.
24297 Change float display test to use variable `f'.
24298
24299 2001-09-17 Jim Blandy <jimb@redhat.com>
24300
24301 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
24302 overflowing the limited breakpoint tables on some ROM monitors
24303 (like the ROM68K).
24304
24305 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
24306
24307 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
24308 the "-ac" (disable access control) flag.
24309
24310 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
24311
24312 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
24313 ints.
24314
24315 2001-08-30 Keith Seitz <keiths@redhat.com>
24316
24317 * lib/gdb.exp: Move all insight-related functionality into
24318 separate file.
24319 * lib/insight-support.exp: New file.
24320
24321 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
24322
24323 * config/sid.exp (sid_start): Never set sid verbosity; disable
24324 expect_background {} that consumed its stdout; tolerate </dev/null.
24325 Attempt to set endianness override in "sid" protocol mode. Cleanup.
24326
24327 2001-08-18 Andrew Cagney <ac131313@redhat.com>
24328
24329 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
24330 CLI jump command to start it.
24331 (mi_run_to_main): Fail immediatly when unexpected output.
24332
24333 2001-08-18 Andrew Cagney <ac131313@redhat.com>
24334
24335 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
24336 beginning of function. Fix PR gdb/191.
24337
24338 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
24339
24340 * config/sid.exp (sid_start): Don't warn if we cannot figure out
24341 what to force sid endianness to.
24342
24343 2001-08-15 Keith Seitz <keiths@redhat.com>
24344
24345 * lib/gdb.exp (gdbtk_start): Don't set environment
24346 variables for TCL_LIBRARY and friends. Insight will
24347 now figure these out for itself.
24348
24349 2001-08-02 Michael Snyder <msnyder@redhat.com>
24350
24351 * gdb.base/completion.exp: Remove the symbol "a64l" from
24352 the expect string; this is target-specific, and not related
24353 to what is being tested.
24354
24355 2001-08-02 Dave Brolley <brolley@redhat.com>
24356
24357 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
24358
24359 2001-07-25 Michael Snyder <msnyder@redhat.com>
24360
24361 * gdb.base/consecutive.exp: New file. Test stepping over
24362 breakpoints on consecutive instructions.
24363 * gdb.base/consecutive.c: New file.
24364
24365 * gdb.base/call-rt-st.exp: Use double-backslash to quote
24366 curly braces in regular expressions.
24367
24368 2001-07-25 Michael Snyder <msnyder@redhat.com>
24369
24370 * gdb.base/ending-run.exp: Accept "Program exited normally" as
24371 legitimate output from stepping out of main.
24372
24373 2001-07-22 Keith Seitz <keiths@redhat.com>
24374
24375 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
24376 the empty string, do not run the tests.
24377
24378 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24379
24380 * gdb.base/long_long.exp: Detect size of pointer. Take into
24381 account 2-byte pointers when testing for p/a results.
24382
24383 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24384
24385 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
24386 and defined to 1K for m68hc11.
24387 (random_data): Reduce table to 1K for embedded platforms (68hc11).
24388 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
24389 (sizeof_random_data): New variable to tell the size of the data table;
24390 don't test past this size; always run to main.
24391
24392 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24393
24394 * gdb.base/return2.exp: return of long long and double fails for
24395 68HC11; don't execute these tests on that platform.
24396 * gdb.base/return.exp: Return of a double fails for 68hc11.
24397
24398 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24399
24400 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
24401 tests that print a float.
24402 * call-rt-st.exp: Likewise.
24403
24404 2001-07-12 Mark Kettenis <kettenis@gnu.org>
24405
24406 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
24407 running this test on Linux.
24408
24409 2001-06-24 Michael Chastain <chastain@redhat.com>
24410
24411 * gdb.base/arithmet.exp: Remove some tests to make all test names
24412 unique.
24413
24414 2001-07-03 Michael Snyder <msnyder@redhat.com>
24415
24416 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
24417 the output of the ptype command.
24418
24419 2001-07-02 Michael Snyder <msnyder@redhat.com>
24420
24421 * gdb.base/completion.exp: Don't assume that break.c is the only
24422 source file that may contain functions named "marker".
24423 * gdb.base/corefile.exp: Quote the curly braces in regexp.
24424
24425 2001-06-28 Andrew Cagney <ac131313@redhat.com>
24426
24427 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
24428 of files to delete.
24429
24430 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
24431 * gdb.disasm/h8300s.exp: New file.
24432 gdb.disasm/h8300s.s: Likewise.
24433
24434 2001-06-27 Andrew Cagney <ac131313@redhat.com>
24435
24436 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
24437 empty breakpoint tables.
24438
24439 2001-06-25 Andrew Cagney <ac131313@redhat.com>
24440
24441 * lib/mi-support.exp: Update args=... part of stop-reason
24442 patterns. Accept either a list or a tuple.
24443
24444 2001-06-23 Andrew Cagney <ac131313@redhat.com>
24445
24446 * lib/mi-support.exp: Remove local emacs variable defining
24447 change-log-default-name.
24448
24449 2001-06-22 Michael Chastain <chastain@redhat.com>
24450
24451 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
24452 This is operationally compatible with the previous version.
24453
24454 2001-06-13 Jim Blandy <jimb@redhat.com>
24455
24456 * lib/gdb.exp (gdb_test): Doc fix.
24457
24458 2001-06-10 Michael Chastain <chastain@redhat.com>
24459
24460 * gdb.base/exprs.exp: Remove a duplicate test.
24461
24462 2001-06-06 Jim Blandy <jimb@redhat.com>
24463
24464 * gdb.base/return2.exp (main): Use values to test float and double
24465 returns that are not NaN's, to avoid being confused by IEEE
24466 comparison rules.
24467
24468 2001-06-04 Michael Snyder <msnyder@redhat.com>
24469
24470 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
24471 non-zero if control_c fails. Terminate the test on failure,
24472 rather than wait for 12 more tests to time out.
24473
24474 2001-06-06 Jim Blandy <jimb@redhat.com>
24475
24476 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
24477 Don't forget to match the GDB prompt.
24478
24479 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
24480
24481 2001-06-04 Jim Blandy <jimb@redhat.com>
24482
24483 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
24484 command.
24485
24486 2001-05-31 Kevin Buettner <kevinb@redhat.com>
24487
24488 * gdb.base/annota1.exp (info break): Match four or more spaces
24489 after "Address".
24490
24491 2001-05-31 Michael Chastain <chastain@redhat.com>
24492
24493 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
24494 (dm_type_int_star): Likewise.
24495 (dm_type_long_star): Likewise.
24496 (dm_type_void_star): Likewise.
24497
24498 2001-05-29 Kevin Buettner <kevinb@redhat.com>
24499
24500 * gdb.base/completion.exp (INPUTRC): Set this environment variable
24501 to a known value in order to get consistent results regardless
24502 of the setting of INPUTRC or the presence or contents of .inputrc.
24503
24504 2001-05-24 Michael Snyder <msnyder@redhat.com>
24505
24506 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
24507 Don't require that the main thread and the manager thread are the
24508 first in the list.
24509
24510 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
24511 debugging. If test fails, issue an "unsupported" not a "fail".
24512
24513 2001-05-24 Jim Blandy <jimb@redhat.com>
24514
24515 Don't assume that short is shorter than int.
24516 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
24517 assume that shorts are smaller than ints. On a 16-bit machine,
24518 this isn't true.
24519 ("print unsigned char == (~0)"): Add test that verifies that ~0,
24520 an int, is not equal to ~0 stored in an unsigned char. This tests
24521 the same thing that the previous test meant to, but works on
24522 16-bit machines, too.
24523 ("print unsigned char != (~0)"): Same test, complemented.
24524
24525 2001-05-24 Michael Snyder <msnyder@redhat.com>
24526
24527 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
24528 test for (full_coverage == 0). This makes the test run faster,
24529 and prevents dejagnu getting out of step.
24530
24531 2001-05-23 Kevin Buettner <kevinb@redhat.com>
24532
24533 * gdb.base/finish.exp (finish_void): Revise pattern for
24534 stopping on the call statement to not permit stopping at
24535 the start of the instructions comprising the call sequence.
24536
24537 2001-05-19 Michael Chastain <chastain@redhat.com>
24538
24539 * gdb.base/callfuncs.exp: Make all test names unique.
24540 * gdb.base/commands.exp: Make all test names unique.
24541 * gdb.base/condbreak.exp: Make all test names unique.
24542 * gdb.base/dbx.exp: Make all test names unique.
24543 * gdb.base/default.exp: Make all test names unique.
24544 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
24545 and TIMEOUT messages to their corresponding PASS message.
24546 * gdb.base/ending-run.exp: Make all test names unique.
24547 * gdb.base/long_long.exp: Remove duplicate test.
24548
24549 2001-05-21 Kevin Buettner <kevinb@redhat.com>
24550
24551 * gdb.base/finish.exp (finish_void): Allow "finish" command to
24552 stop on the call statement as well as the statement after the
24553 call.
24554
24555 2001-05-21 Michael Snyder <msnyder@redhat.com>
24556
24557 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
24558
24559 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
24560
24561 * gdb.base/completion.exp: Revamp test. Make it execute on all
24562 platforms.
24563
24564 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
24565
24566 * config/gdbserver.exp (gdb_load): Handle the case
24567 in which the arguments to gdbserver are given in the
24568 baseboard configuration file.
24569 Also handle the case in which the server needs to do a
24570 load.
24571
24572 2001-05-07 Keith Seitz <keiths@cygnus.com>
24573
24574 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
24575 set up the display for testing.
24576 (gdbtk_start): Convert all paths to paths that tcl will like.
24577 Export target information to environment.
24578 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
24579 necessary.
24580 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
24581 (to_tcl_path): New proc to convert a given pathname into
24582 a path acceptible as an argument to a tcl command.
24583 (_gdbtk_export_target_info): New proc to export target info
24584 into the environment for gdbtk testing.
24585 (gdbtk_done): New proc to signal end-of-test.
24586
24587 2001-05-06 Jim Blandy <jimb@redhat.com>
24588
24589 * restore.c: Make the code of caller0 correspond to its comment.
24590
24591 2001-05-03 Michael Snyder <msnyder@redhat.com>
24592
24593 * config/sid.exp (gdb_target_sid): Check for error messages.
24594 On error or timeout, don't make expect exit (which will terminate
24595 all subsequent tests); instead just make gdb exit.
24596 (gdb_load): Check for error messages. On error or timeout,
24597 return a negative value.
24598
24599 2001-04-24 Jim Blandy <jimb@redhat.com>
24600
24601 * gdb.c++/templates.exp: If we see the prompt for the overload
24602 list, but we haven't recognized any of the longer patterns,
24603 arrange for this test to fail, not hang.
24604
24605 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
24606 variations.
24607
24608 2001-04-22 Michael Chastain <chastain@redhat.com>
24609
24610 * gdb.c++/local.exp: Use the 'runto' library function.
24611 * gdb.c++/namespace.exp: Likewise.
24612 * gdb.c++/overload.exp: Likewise.
24613
24614 2001-03-26 Kevin Buettner <kevinb@redhat.com>
24615
24616 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
24617 * gdb.base/step-line.exp: New file. Test step/next in presence of
24618 #line directives.
24619 * gdb.base/step-line.c: New file. Test program for the above.
24620 * gdb.base/step-line.inp: New file. We pretend that this file has
24621 been transformed by some other tool into step-line.c.
24622
24623 2001-03-21 Jim Blandy <jimb@redhat.com>
24624
24625 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
24626 unmangled operator names.
24627
24628 2001-03-20 Jim Blandy <jimb@redhat.com>
24629
24630 * gdb.threads/linux-dp.exp: Recognize an additional message
24631 generated by GDB when it doesn't understand how to debug threads
24632 on the target system.
24633
24634 2001-03-19 Andrew Cagney <ac131313@redhat.com>
24635
24636 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
24637
24638 2001-03-12 Michael Chastain <chastain@redhat.com>
24639
24640 * gdb.c++/derivation.exp: Use the 'runto' library function.
24641
24642 2001-03-12 Michael Chastain <chastain@redhat.com>
24643
24644 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
24645
24646 2001-02-24 Michael Chastain <chastain@redhat.com>
24647
24648 * gdb.c++/ref-types.exp: Change handwritten code to library
24649 function 'runto'.
24650
24651 2001-03-16 Orjan Friberg <orjanf@axis.com>
24652
24653 * gdb.base/signals.exp: Set count to 0 explicitly.
24654
24655 2001-03-15 Mark Salter <msalter@redhat.com>
24656
24657 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
24658 (gdb_target_monitor): Add check of gdb_target_cmd return value.
24659 (gdb_load): Add support for additional target_info: gdb_download_size
24660 and gdb_load_timeout.
24661
24662 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
24663
24664 * gdb.base/annota1.exp: Move test of isnative to earlier in the
24665 file -- to prevent failing when the compile fails but we have no
24666 intention of running the tests anyway.
24667
24668 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
24669 tests if set.
24670
24671 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
24672 integers.
24673
24674 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
24675 * gdb.c++/namespace.exp: Ditto.
24676
24677 2001-03-07 Orjan Friberg <orjanf@axis.com>
24678
24679 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
24680 * gdb.base/pointers.exp: Relax pattern match of decimals.
24681
24682 2001-03-06 Kevin Buettner <kevinb@redhat.com>
24683
24684 * Makefile.in, config/abug.exp, config/cfdbug.exp,
24685 config/cpu32bug.exp, config/dve.exp, config/est.exp,
24686 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
24687 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
24688 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
24689 config/sh.exp, config/sid.exp, config/slite.exp,
24690 config/sparclet.exp, config/udi.exp, config/unknown.exp,
24691 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
24692 config/vxworks.exp, config/vxworks29k.exp,
24693 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
24694 gdb.base/all-bin.exp, gdb.base/annota1.exp,
24695 gdb.base/arithmet.exp, gdb.base/assign.exp,
24696 gdb.base/async.exp, gdb.base/attach.exp,
24697 gdb.base/bitfields.exp, gdb.base/bitops.exp,
24698 gdb.base/break.exp, gdb.base/call-ar-st.exp,
24699 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
24700 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
24701 gdb.base/commands.exp, gdb.base/completion.exp,
24702 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
24703 gdb.base/constvars.exp, gdb.base/corefile.exp,
24704 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
24705 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
24706 gdb.base/ending-run.exp, gdb.base/environ.exp,
24707 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
24708 gdb.base/finish.exp, gdb.base/foll-exec.exp,
24709 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
24710 gdb.base/funcargs.exp, gdb.base/help.exp,
24711 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
24712 gdb.base/logical.exp, gdb.base/long_long.exp,
24713 gdb.base/maint.exp, gdb.base/mips_pro.exp,
24714 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
24715 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
24716 gdb.base/pointers.exp, gdb.base/printcmds.exp,
24717 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
24718 gdb.base/regs.exp, gdb.base/relational.exp,
24719 gdb.base/remote.exp, gdb.base/reread.exp,
24720 gdb.base/restore.exp, gdb.base/return2.exp,
24721 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
24722 gdb.base/selftest.exp, gdb.base/setshow.exp,
24723 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
24724 gdb.base/sigall.exp, gdb.base/signals.exp,
24725 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
24726 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
24727 gdb.base/step-test.exp, gdb.base/structs.c,
24728 gdb.base/structs.exp, gdb.base/structs2.exp,
24729 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
24730 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
24731 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
24732 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
24733 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
24734 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
24735 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
24736 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
24737 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
24738 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
24739 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
24740 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
24741 gdb.fortran/types.exp, gdb.java/jmisc.exp,
24742 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
24743 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
24744 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
24745 gdb.trace/circ.exp, gdb.trace/collection.exp,
24746 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
24747 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
24748 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
24749 gdb.trace/report.exp, gdb.trace/save-trace.exp,
24750 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
24751 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
24752 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
24753 notices.
24754
24755 2001-02-27 Michael Snyder <msnyder@cygnus.com>
24756
24757 * gdb.base/varargs.c (find_max_double): Fix printf format string:
24758 first arg is int not float.
24759
24760 2001-02-22 Michael Snyder <msnyder@cygnus.com>
24761
24762 * gdb.base/reread.exp: Unsupported for non-native targets;
24763 doesn't work for remote debugging.
24764
24765 2001-02-19 Fernando Nasser <fnasser@redhat.com>
24766
24767 From Drew Moseley <dmoseley@redhat.com>
24768 * gdb.base/ending-run.exp: Properly handle the BSP state when
24769 stepping past the end of main.
24770
24771 2001-02-19 John Moore <jmoore@redhat.com>
24772
24773 * gdb.base/commands.exp (infrun_breakpoint_command_test):
24774 Converted HPUX fix for non-expected items following multiple
24775 step commands into general solution for all platforms.
24776
24777 2001-02-18 Michael Chastain <chastain@redhat.com>
24778
24779 * gdb.c++/classes.exp (do_tests): Change runto statements
24780 from "runto 'foo(void)'" to "runto 'foo'". This makes the
24781 statements demangler agnostic.
24782 * gdb.c++/virtfunc.exp (do_tests): Likewise.
24783 (gdb_virtfunc_restart): Likewise.
24784
24785 2001-02-14 Michael Chastain <chastain@redhat.com>
24786
24787 * gdb.c++/inherit.exp (do_tests): Change runto statements
24788 from "runto 'foo(void)'" to "runto 'foo'". This makes the
24789 statements demangler agnostic.
24790
24791 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
24792
24793 * gdb.threads/pthreads.exp: Unify pass/fail messages for
24794 ``continue to bkpt at common_routine in thread 2'' and ``stopped
24795 before calling common_routine 15 times'' tests.
24796
24797 2001-02-11 Michael Chastain <chastain@redhat.com>
24798
24799 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
24800 Helps the test script figure out which demangler is in use.
24801 (dm_type_foo_ref): Ditto.
24802 (dm_type_int_star): Ditto.
24803 (dm_type_long_star): Ditto.
24804 (dm_type_unsigned_int): Ditto.
24805 (dm_type_void): Ditto.
24806 (dm_type_void_star): Ditto.
24807 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
24808 Probe the gdb demangler and set variables to accommodate
24809 formatting differences.
24810 (info_func_regexp): New function. Same as info_func, but
24811 matches against a regexp.
24812 (info_func): Match against a literal string.
24813 (print_addr_2): New function. Match against a literal string,
24814 which can be different from the input to gdb.
24815 (print_addr): Simply call print_addr_2 with the same argument twice.
24816 (test_lookup_operator_functions): Use demangler formatting variables.
24817 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
24818 the tests in the same order as the C++ class declaration.
24819 (test_paddr_operator_functions): Ditto.
24820 (test_paddr_overloaded_functions): Ditto.
24821 (test_paddr_hairy_functions): Use demangler formatting variables.
24822 Add reference to gdb/19 for related tests.
24823 (do_tests): Call probe_demangler.
24824
24825 2001-01-30 Kevin Buettner <kevinb@redhat.com>
24826
24827 * gdb.c++/templates.cc (printf): Remove unused function definition.
24828
24829 2001-01-26 Felix Lee <flee@redhat.com>
24830
24831 * sid.exp (sid_exit): Pass host, not target, to remote_close.
24832
24833 2001-01-25 matthew green <mrg@redhat.com>
24834
24835 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
24836 up sid.
24837 (sid_exit): Call `remote_pop_conn' after GDB is gone.
24838
24839 2001-01-25 matthew green <mrg@redhat.com>
24840
24841 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
24842 Deprecate $sid_spawn_id.
24843 (sid_exit): Remove code necessary only for `spawn.'
24844
24845 2001-01-25 matthew green <mrg@redhat.com>
24846
24847 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
24848
24849 2001-01-28 Michael Chastain <chastain@redhat.com>
24850
24851 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
24852 to call when tests fail. It takes gdb out of the overloaded
24853 function choice menu back to the main prompt, so that the test
24854 program stays synchronized.
24855 (set_bp_overloaded): New proc to collect all the common
24856 code for setting a breakpoint on an overloaded name. Calls
24857 take_gdb_out_of_choice_menu when needed.
24858 (menu_overload1arg): New variable to collect the repeated
24859 instances of the expected menu for an overloaded name. Change
24860 the regular expression to handle changes in g++ type encoding:
24861 "void" can be either "void" or "", and "unsigned int" can be
24862 either "unsigned int" or "unsigned".
24863 (continue_to_bp_overloaded): Change regular expressions to handle
24864 changes in g++ type encoding.
24865 (no proc): Call take_gdb_out_of_choice_menu when needed.
24866 Remove redundant calls to "info break". Accept either "canceled"
24867 or "cancelled". Change regular expressions in "info break"
24868 calls to handle changes in g++ type encoding. Give all tests
24869 unique strings.
24870
24871 2001-01-17 Ben Elliston <bje@redhat.com>
24872
24873 * config/sid.exp: New file.
24874
24875 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
24876
24877 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
24878
24879 2000-12-21 Michael Snyder <msnyder@cygnus.com>
24880
24881 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
24882 Add a RE to accept a non-ascii char if one is ever presented.
24883
24884 2000-12-20 Fernando Nasser <fnasser@redhat.com>
24885
24886 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
24887
24888 2000-12-18 Michael Snyder <msnyder@cygnus.com>
24889
24890 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
24891 in regexp. One '\' does not suffice on Linux.
24892
24893 2000-12-09 Michael Chastain <chastain@redhat.com>
24894
24895 * gdb.base/break.exp (test_clear_command): Use a marker function
24896 rather than 'main' for the test function. Also move this
24897 test to an execution point where the marker function names are
24898 guaranteed to be bound to functions. (Executing tests after a
24899 'finish' from main runs into name conflicts with local names
24900 in __libc_start_main).
24901
24902 2000-12-07 Michael Snyder <msnyder@cygnus.com>
24903
24904 * gdb.base/finish.exp: New test for gdb's "finish" command.
24905 * gdb.base/return2.exp: New test for gdb's "return" command.
24906 * gdb.base/return2.c: New source file for above.
24907
24908 2000-12-05 Michael Snyder <msnyder@cygnus.com>
24909
24910 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
24911 * gdb.base/miscexprs.exp: Ditto.
24912 * gdb.base/pointers.exp: Ditto.
24913 * gdb.c++/derivation.exp: Ditto.
24914 * gdb.c++/local.exp: Ditto.
24915 * gdb.c++/namespace.exp: Ditto.
24916 * gdb.c++/overload.exp: Ditto.
24917 * gdb.c++/ref-types.exp: Ditto.
24918
24919 2000-12-05 Michael Snyder <msnyder@cygnus.com>
24920
24921 * gdb.base/constvars.exp: Test result of "up" command.
24922 * gdb.base/miscexprs.exp: Ditto.
24923 * gdb.base/pointers.exp: Ditto.
24924 * gdb.base/scope.exp: Ditto.
24925 * gdb.c++/derivation.exp: Ditto.
24926 * gdb.c++/local.exp: Ditto.
24927 * gdb.c++/namespace.exp: Ditto.
24928 * gdb.c++/overload.exp: Ditto.
24929 * gdb.c++/ref-types.exp: Ditto.
24930
24931 2000-11-22 Michael Chastain <chastain@redhat.com>
24932
24933 * mips_pro.exp: Accept either "middle -> top -> main" or
24934 "middle -> main" in the backtrace, because gcc can optimize
24935 tail calls to jumps. Remove setup_xfail for the hppa case.
24936 Add a comment with the original warning messages from PR 3016,
24937 which was filed in 1993, to preserve them for posterity.
24938
24939 2000-11-17 Nick Duffek <nsd@redhat.com>
24940
24941 * lib/gdb.exp (gdb_test): Override timeout with board info.
24942
24943 2000-11-17 Nick Duffek <nsd@redhat.com>
24944
24945 * gdb.base/display.exp: Don't kill running stub. Add "again" to
24946 the second kill and detach messages.
24947
24948 2000-11-17 Nick Duffek <nsd@redhat.com>
24949
24950 * configure.in: Add AC_EXEEXT.
24951 * configure: Regenerate.
24952 * Makefile.in (just-check): Export EXEEXT.
24953 * lib/gdb.exp ($EXEEXT): Import from environment.
24954 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
24955 expect "maint dump-me" on Cygwin.
24956 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
24957 $EXEEXT.
24958
24959 2000-11-17 Nick Duffek <nsd@redhat.com>
24960
24961 * gdb.base/break.exp: Test backtrace and finish from called
24962 function on all platforms, not just HP-UX.
24963
24964 2000-11-03 Michael Snyder <msnyder@cygnus.com>
24965
24966 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
24967 code from gdb_target_monitor, so it can be used independantly
24968 for gdbserver. Also comment out an unnecessary PUTS.
24969
24970 2000-11-03 Michael Snyder <msnyder@cygnus.com>
24971
24972 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
24973 * gdb.base/corefile.exp: Expect the message "Program is being
24974 debugged already" when we send the "corefile" command, since
24975 the preceeding gdb_load may have connected gdb to a remote target.
24976 * gdb.base/display.exp: Disable hardware watchpoints if new
24977 board info variable "no_hardware_watchpoints" is true.
24978 Replace single-letter commands with more readable ones.
24979 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
24980 if new board info variable "no_hardware_watchpoints" is true.
24981 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
24982 to see if stdio (printf) testing is possible.
24983 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
24984 board info variable "no_hardware_watchpoints" is true. Use new
24985 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
24986
24987 2000-11-13 Fernando Nasser <fnasser@redhat.com>
24988
24989 From Orjan Friberg <orjanf@axis.com>:
24990 * gdb.base/printcmds.exp: Escape curly braces followed by a number
24991 in array print pattern match.
24992
24993 2000-11-09 Fernando Nasser <fnasser@redhat.com>
24994
24995 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
24996 spelling "cancelled" to U.S. spelling "canceled" to match changes
24997 made to gdb.
24998 * gdb.c++/ovldbreak.exp: Ditto.
24999
25000 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25001
25002 * gdb.base/callfuncs.c (main): Moved to end of file, call
25003 t_double_values to initialize the FPU before inferior calls are made.
25004 * gdb.base/callfuncs.exp: Test for register preservation after calling
25005 inferior functions. Add tests for continuining, finishing and
25006 returning from a stop in a call dummy.
25007
25008 2000-10-24 Michael Snyder <msnyder@cygnus.com>
25009
25010 * gdb.base/commands.exp: Break up long lines, and re-indent.
25011
25012 2000-10-19 Michael Snyder <msnyder@cygnus.com>
25013
25014 * config/gdbserver.exp: Rewritten from the ground up, to make it
25015 compatible with the current dejagnu tree, and to make it work with
25016 the new "gdbserver" in libremote.
25017
25018 2000-10-16 Michael Snyder <msnyder@cygnus.com>
25019
25020 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
25021 * gdb.base/varargs.exp: Skip entire test if no printf support.
25022 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
25023 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
25024
25025 2000-10-13 Michael Snyder <msnyder@cygnus.com>
25026
25027 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
25028 no floating point support.
25029 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
25030 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
25031 * gdb.base/call-rt-st.exp: Ditto.
25032 * gdb.base/call-strs.exp: Ditto.
25033
25034 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
25035
25036 * gdb.base/sizeof.c: include <stdio.h>.
25037
25038 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
25039 'finish', otherwise uncaptured gdb_prompt would potentially
25040 throw remaining test points out of sync.
25041
25042 2000-07-26 Scott Bambrough <scottb@netwinder.org>
25043
25044 * gdb.base/recurse.exp: Run tests for all targets.
25045 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
25046 gnu-oldld case on ARM.
25047 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
25048 for ARM targets.
25049
25050 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
25051
25052 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
25053 * gdb.java/configure: Rebuild.
25054
25055 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
25056
25057 * gdb.java/jv-exp.exp: New file.
25058
25059 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
25060
25061 * configure: Rebuilt.
25062 * configure.in (configdirs): Add gdb.java.
25063 * gdb.java/jmisc.java: New file.
25064 * gdb.java/jmisc.exp: New file.
25065 * gdb.java/Makefile.in: New file.
25066 * gdb.java/configure: Rebuilt.
25067 * gdb.java/configure.in: New file.
25068 * lib/java.exp: New file.
25069
25070 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
25071
25072 * gdb.base/exprs.exp: Test casts to a pointer including over and
25073 underflow.
25074
25075 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
25076
25077 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
25078 and the compilers sizes.
25079
25080 2000-07-09 Nick Duffek <nsd@redhat.com>
25081
25082 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
25083 (use_methods): New function.
25084 (main): Call use_methods().
25085 * gdb.c++/classes.exp (test_method_param_class): New procedure.
25086 (do_tests): Call test_method_param_class.
25087
25088 2000-07-09 Nick Duffek <nsd@redhat.com>
25089
25090 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
25091 spelling.
25092 (test_enums): New procedure. Move enum tests from end of script
25093 to here. Set breakpoint on function name instead of line number.
25094 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
25095 (enums2): New marker function.
25096 (enums1): New function.
25097 (main): Call enums1(). Move enum tests to enums1().
25098
25099 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
25100
25101 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
25102 compile/link program. Update line numbers.
25103 * gdb.asm/d10v.inc: Define ``startup''.
25104 * gdb.asm/asmsrc1.s: Add definition of _start.
25105
25106 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
25107
25108 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
25109
25110 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25111
25112 * gdb.base/maint.exp: Add 'maint print architecture' item to output
25113 of 'help maint print' command.
25114
25115 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
25116
25117 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
25118 they use gdb_expect_list.
25119
25120 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
25121
25122 * gdb.base/commands.exp: Use ``set remote
25123 memory-read-packet-size'' instead of ``set endian big'' to test
25124 long commands.
25125
25126 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
25127
25128 * gdb.c++/templates.exp (do_tests): Make all of these work under
25129 g++, and stop skipping them.
25130
25131 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
25132 work under g++.
25133
25134 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
25135 initialization.
25136
25137 2000-06-02 Michael Snyder <msnyder@cygnus.com>
25138
25139 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
25140 the regular expression: accept an (almost) arbitrary sequence of
25141 "frames-invalid" and "breakpoints-invalid" messages both before
25142 and after the "starting" message.
25143
25144 2000-06-02 Michael Snyder <msnyder@cygnus.com>
25145
25146 * gdb.c++/local.exp: This test has never been known to work with g++.
25147
25148 2000-05-18 Michael Snyder <msnyder@cygnus.com>
25149
25150 * gdb.base/annota1.exp (annotate-signal-handler-caller):
25151 Relax the regular expression a little, make it pass on Solaris 8.
25152
25153 2000-05-12 Kevin Buettner <kevinb@redhat.com>
25154
25155 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
25156 a call, do not require that gdb stop on the line after the call.
25157 Instead, it is permissible for gdb to stop on the line of the
25158 call itself.
25159
25160 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
25161
25162 * gdb.base/break.exp (bp on small function, optimized file):
25163 Add a second pass pattern. The behavior differs here between stabs
25164 and dwarf for one-line functions. Stabs preserves two line symbols
25165 (one before the prologue and one after) with the same line number,
25166 but dwarf regards these as duplicates and discards one of them.
25167 Therefore the address after the prologue (where the breakpoint is)
25168 has no exactly matching line symbol, and GDB reports the breakpoint
25169 as if it were in the middle of a line rather than at the beginning.
25170
25171 2000-05-08 Michael Snyder <msnyder@cygnus.com>
25172
25173 * gdb.base/interrupt.exp: Make "pass" message say "send"
25174 rather than "send_gdb" (for consistancy).
25175
25176 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
25177
25178 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
25179 * gdb.c++/templates.cc: Properly check for GCC version number.
25180 * lib/compiler.cc: Likewise
25181
25182 2000-04-28 Michael Snyder <msnyder@cygnus.com>
25183
25184 * gdb.base/break.exp: When compiled with -O2 optimization,
25185 gdb may not stop at the first line of main, due to code motion.
25186
25187 2000-04-26 Michael Snyder <msnyder@cygnus.com>
25188
25189 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
25190 This test depends on parsing the printf output from the target.
25191 Since the sparclet stub doesn't do stdio, this will never work.
25192 * gdb.base/call-rt-st.exp: ditto.
25193 * gdb.base/call-strs: ditto.
25194
25195 2000-04-24 Michael Snyder <msnyder@cygnus.com>
25196
25197 * gdb.base/miscexprs.exp: make sizeof long array test portable.
25198
25199 * gdb.base/ending-run.exp: After connecting to a remote target,
25200 but before running, the target will appear to be in a random
25201 location. Specify both a file and a line for breakpoints.
25202 Also, the function that calls main may be called 'init'
25203 rather than 'start'.
25204
25205 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25206
25207 * gdb.base/help.exp: Update output for add-symbol-file command.
25208
25209 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
25210
25211 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
25212 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
25213
25214 2000-04-07 J.T. Conklin <jtc@redback.com>
25215
25216 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
25217
25218 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
25219
25220 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
25221
25222 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
25223 values that can be represented exactly.
25224 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
25225 above change, and to not check against the directory part of the source
25226 file name.
25227 (step into print_long_arg_list): Likewise.
25228 (print print_small_structs from print_long_arg_list): Likewise.
25229 (print print_long_arg_list): Likewise.
25230
25231 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25232
25233 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
25234
25235 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
25236
25237 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
25238
25239 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
25240
25241 * gdb.base/commands.exp (deprecated_command_test): Add test for
25242 deprecate with no arguments.
25243
25244 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
25245
25246 * gdb.base/break.exp: Add new test for setting breakpoints on
25247 optimized code so we can test breakpoints work even when function
25248 prologues may be optimized away
25249
25250 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
25251
25252 From David Whedon <dwhedon@gordian.com>
25253 * gdb.base/commands.exp : Added command deprecator tests.
25254
25255 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
25256
25257 * gdb.base/help.exp: Added test for new apropos command.
25258
25259 2000-03-21 Kevin Buettner <kevinb@redhat.com>
25260
25261 * gdb.base/pointers.c (usevar): New function.
25262 (main): Make sure that global variables v_int_pointer2, rptr,
25263 and y are all referenced someplace in the program by calling
25264 usevar() on them. [Some linkers delete symbols which are
25265 never referenced. The space remains, but there's no way to
25266 get a (symbolic) handle on the variable from the debugger.]
25267
25268 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25269
25270 * gdb.base/printcmds.c: Add typedeffed arrays.
25271
25272 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
25273 procedure to test arrays that are typedef'd.
25274
25275 2000-03-13 James Ingham <jingham@leda.cygnus.com>
25276
25277 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
25278 the library directories.
25279
25280 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
25281
25282 * configure.in (configdirs): Add sub directory gdb.mi.
25283 * configure: Re-generate.
25284
25285 * gdb.mi: New directory.
25286
25287 2000-02-25 Scott Bambrough <scottb@netwinder.org>
25288
25289 * gdb.base/long_long.exp: Correct test suite failure when printing
25290 a long long value as a double on ARM platforms.
25291
25292 2000-02-16 Jim Blandy <jimb@redhat.com>
25293
25294 * gdb.base/break.exp ("breakpoint line number"): Make sure the
25295 default source file is set properly before running this test.
25296
25297 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25298
25299 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
25300 gdbtk/library directory, not in gdbtcl2.
25301
25302 2000-02-04 Jim Blandy <jimb@redhat.com>
25303
25304 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
25305 backslash from regexp pattern.
25306
25307 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
25308 procedure. Use it to run all the "continue to bp overloaded"
25309 tests. Note that this changes the names of the tests slightly.
25310 If the breakpoint hit message includes a hex PC value, because
25311 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
25312 from the real source code, still consider that a pass.
25313
25314 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
25315 XFAIL here if the breakpoint message contains a hex address. Note
25316 similar change on 1999-11-02.
25317
25318 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
25319
25320 * gdb.base/ptype.exp: Establish a default source file before
25321 calling get_debug_format.
25322
25323 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
25324
25325 * gdb.base/watchpoint.exp: Remove duplication of test messages.
25326
25327 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
25328
25329 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
25330 of successive stepi commands -- while in the prologue we should see
25331 the function entry bracket.
25332
25333 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
25334
25335 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
25336 reach __change_mode() when stepping through the end of main().
25337
25338 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
25339
25340 * gdb.base/default.exp: Fix expected pattern.
25341 * gdb.base/help.exp: Same.
25342
25343 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25344
25345 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
25346 Don't use xfail's because that affects only the following test.
25347
25348 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
25349 solaris or linux.
25350
25351 * gdb.base/selftest.exp: Update to reflect changes to main.c.
25352
25353 2000-01-07 Michael Snyder <msnyder@cygnus.com>
25354
25355 * gdb.base/display.exp: Some yacc parsers like to say
25356 "A syntax error" rather than "A parse error". Accept both.
25357
25358 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
25359
25360 * gdb.base/default.exp: Remove OS dependent string from "target
25361 remote" test.
25362 * gdb.base/help.exp: Same for "help target remote" test.
25363
25364 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25365
25366 From Jim Kingdon <kingdon@redhat.com>:
25367
25368 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
25369 prompt (cleanup rather than necessity, but still might keep output
25370 from spilling to next test).
25371
25372 2000-01-02 Fred Fish <fnf@cygnus.com>
25373
25374 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
25375 AIX, which defines them in <sys/types.h>.
25376
25377 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
25378
25379 * gdb.base/default.exp: Match arm* etc instead of arm in "info
25380 float" test.
25381
25382 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
25383
25384 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
25385
25386 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
25387 outermost frame disallowed".
25388
25389 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
25390
25391 * gdb.base/setvar.exp: New tests for setting the value of a struct
25392 with a constant list.
25393
25394 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
25395
25396 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
25397 require the user to type a cast before setting the value of a struct.
25398
25399 1999-12-06 Jim Blandy <jimb@cygnus.com>
25400
25401 * gdb.base/default.exp: Expect the new 'info float' command on
25402 all i386 platforms.
25403
25404 * gdb.threads/linux-dp.exp: Expand our ability to recognize
25405 LinuxThreads libraries that don't support debugging.
25406
25407 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
25408
25409 * gdb.base/remote.c: Fill the buffer with truely random data.
25410 Change the buffer type to ``unsigned char'' to simplify size
25411 arithmetic.
25412
25413 * gdb.base/remote.exp: Reduce download numbers by one. Typical
25414 stub only handles 400-1 byte packets. Verify that the download
25415 worked.
25416
25417 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
25418
25419 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
25420 tests, using UNRESOLVED for the untested cases. Also, does not wait
25421 for a timeout if the prompt was received before a recognizable pattern.
25422
25423 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
25424
25425 * lib/gdb.exp (gdb_expect_list): Fix spelling.
25426
25427 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25428
25429 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
25430 watchpoints.
25431
25432 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
25433
25434 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
25435
25436 * gdb.c++/local.exp: Be more flexible in recognizing local class
25437 name mangling. Don't allow horribly truncated method names.
25438 * gdb.c++/derivation.exp: Expect protected inheritance.
25439 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
25440 * gdb.c++/virtfunc.exp: Likewise.
25441 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
25442 when printing a nested enum.
25443
25444 1999-11-22 Jim Blandy <jimb@cygnus.com>
25445
25446 * gdb.base/step-test.exp: Properly await GDB's response to setting
25447 a breakpoint on the call to large_struct_by_value.
25448
25449 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
25450 just because we have debug info for the `start' function.
25451
25452 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
25453
25454 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
25455 "Unknown signal" messages, which indicate (on LinuxThreads) that
25456 GDB doesn't know how to debug threads on this system. This is
25457 better than hanging while philosopher 0 dumps chatter into gdb.log.
25458
25459 1999-11-18 Tom Tromey <tromey@cygnus.com>
25460
25461 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
25462
25463 1999-11-18 Fred Fish <fnf@cygnus.com>
25464
25465 * gdb.base/coremaker2.c: Add sample program for generating
25466 cores that is more self contained than coremaker.c. Eventually
25467 I'll add more code to this and tie it into the testsuite.
25468
25469 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
25470
25471 * gdb.base/dollar.exp: Remove, now in gdb.hp.
25472
25473 1999-11-10 Jimmy Guo <guo@cup.hp.com>
25474
25475 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
25476 from $srcdir/lib/.
25477 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
25478 and gdb.c++/.
25479
25480 * gdb.c++/derivation.exp: remove redundant get compiler info code.
25481
25482 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
25483 'continue with watch' test point.
25484
25485 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
25486
25487 Merged from p2linux-990323-branch:
25488
25489 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
25490
25491 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
25492
25493 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
25494 {limit,fixed}''. Test ``set download-write-size''.
25495
25496 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
25497
25498 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
25499 gdb_expect_list.
25500
25501 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
25502
25503 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
25504
25505 1999-11-03 Mark Salter <msalter@cygnus.com>
25506
25507 * gdb.base/break.exp: Fix "stub continue" pattern.
25508
25509 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
25510
25511 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
25512
25513 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
25514
25515 * gdb.base/display.exp ("finish"): Add timeout clause.
25516
25517 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
25518 plain prompt clause, so this doesn't have to time out in order to
25519 fail.
25520
25521 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
25522 breakpoint hit messages include an address.
25523
25524 * gdb.base/display.exp: Don't forget to escape parens in regular
25525 expressions. Unix regexp notatation sucks.
25526
25527 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25528
25529 * gdb.base/annota1.exp: Test for annotate-signalled: change output
25530 order for 'signalled' message.
25531
25532 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
25533
25534 From Jimmy Guo <guo@cup.hp.com>:
25535 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
25536 * gdb.base/annota1.c: Add code for tests to work with.
25537
25538 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
25539
25540 * gdb.base/remote.exp: New test for remote downloading settings.
25541 * gdb.base/remote.c: New file with large .data.
25542
25543 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
25544
25545 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
25546 for LinuxThreads support, merged from the Code Fusion branch.
25547
25548 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
25549
25550 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
25551 containing exp_continue into a while within an expect. Don't
25552 attempt a start more than three times. Check return value from
25553 gdb_load.
25554
25555 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
25556
25557 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
25558 a pass case.
25559
25560 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
25561
25562 * gdb.base/break.c (main): Added a statement that we can step
25563 off of.
25564 * gdb.base/break.exp: Added tests for setting a breakpoint
25565 at an offset and stepping onto a breakpoint.
25566
25567 1999-10-01 Fred Fish <fnf@cygnus.com>
25568
25569 * gdb.base/help.exp (help add-symbol-file): Update to match current
25570 gdb output.
25571
25572 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
25573
25574 * gdb.base/break.exp: Code locations are in hex, don't forget!
25575 (For HP-UX.)
25576
25577 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
25578
25579 * condbreak.exp: Use break.c as test program.
25580 * condbreak.c: Remove, redundant with break.c.
25581
25582 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
25583
25584 * config/monitor.exp (gdb_target_monitor): Disable X- and
25585 Z-packets if the target needs it.
25586
25587 1999-09-13 James Ingham <jingham@leda.cygnus.com>
25588
25589 * gdb.c++/overload.exp: Added tests for listing overloaded
25590 functions with function pointers in the arg, explicitly calling
25591 out the version you want.
25592
25593 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
25594
25595 * long_long.exp: Add variations of test cases that work for
25596 targets with 16-bit ints and 32-bit doubles.
25597
25598 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
25599
25600 * break.c (main): Compare a possibly-uninitialized argc with an
25601 unlikely value that fits in 16 bits.
25602
25603 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
25604
25605 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
25606 0xfeeb, don't want negative numbers if ints are 16 bits.
25607
25608 * lib/gdb.exp (skip_cplus_tests): New proc.
25609 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
25610 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
25611 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
25612 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
25613 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
25614 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
25615 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
25616 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
25617
25618 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
25619
25620 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
25621
25622 * gdb.base/corefile.exp (up): Allow a parameter to appear
25623 in the frame that we're going up to.
25624
25625 From Jim Blandy <jimb@cygnus.com>:
25626
25627 * gdb.base/default.exp (info float): Expect some output now.
25628
25629 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
25630 returning floating-point values to fail on the x86.
25631 * gdb.base/callfwmall.exp (do_function_calls): Same.
25632
25633 * gdb.base/list.exp (test_listsize): Correct expectations for
25634 listing line 1 with listsize 2. Also, listing a single line
25635 works now, as does listing three lines. [Kevin's note: There
25636 were a number of other cases fixed too where the expectations
25637 differed...]
25638
25639 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
25640
25641 * gdb.base/selftest.exp: Add case for when version prints as
25642 constant string instead of char pointer.
25643
25644 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
25645
25646 * gdb.base/ending-run.exp: Add Solaris case for what happens when
25647 stepping out of main.
25648
25649 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
25650 G++ used.
25651
25652 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
25653 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
25654
25655 * gdb.c++/ovldbreak.exp: Update match string in test that
25656 includes a warning of multiple breakpoints.
25657
25658 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
25659
25660 * gdb.base/display.exp: Improve precision of step-after-finish
25661 added yesterday.
25662
25663 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
25664 test.
25665
25666 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
25667 configs when using G++, not just hppa*.
25668
25669 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25670
25671 * gdb.base/async.c: New file.
25672 * gdb.base/async.exp: New file.
25673
25674 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
25675
25676 * gdb.base/break.exp: Tweak PA specific tests to properly handle
25677 PA64.
25678
25679 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
25680
25681 * gdb.base/display.exp: "finish" can leave us mid-line on many
25682 targets, deal with it. Add a small constant to main, instead of
25683 1000 since main+1000 may not be a valid address in the target.
25684
25685 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
25686 on hpux11.
25687
25688 * gdb.base/attach.exp: Handle another hpux11 error message variant
25689 when attaching to a process that does not exist.
25690
25691 1999-08-19 J.T. Conklin <jtc@redback.com>
25692
25693 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
25694 characters in 'continue to 1241' test.
25695
25696 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
25697
25698 * gdb.base/call-ar-st.exp: Add a shorter match case for the
25699 stop in print_long_arg_list, define and use a whitespace
25700 variable in print_small_structs test, add an XFAIL for Solaris.
25701 * gdb.base/dbx.exp: XFAIL func commands until somebody is
25702 interested enough to fix.
25703
25704 1999-08-13 Keith Seitz <keiths@cygnus.com>
25705
25706 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
25707 (dbx_gdb_load): Remove. Use gdb_load instead, since that
25708 proc knows about targets other than the natives.
25709 (test_assign): Use "gdb_run_cmd" to "run" the target.
25710 Check that we've actually hit the breakpoint at main.
25711 When we attempt to assign a value to a local variable, check
25712 that the variable is in the current scope, i.e., don't use
25713 a test with an empty result.
25714
25715 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
25716
25717 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
25718 command.
25719
25720 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
25721
25722 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25723 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
25724 gdb.compat, gdb.threads-hp.
25725 gdb.hp/configure, gdb.hp/configure.in: New files.
25726 gdb.hp/Makefile.in: Recurse into new subdirs.
25727 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
25728 gdb.hp/gdb.objdbg: New directory, tests for debugging info
25729 in object files.
25730 gdb.hp/tools: New directory, aux tools for HP-specific tests.
25731
25732 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
25733
25734 * gdb.base/display.exp: Help expect by putting a newline in the
25735 funky printf, remove a bogus p/a test.
25736
25737 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25738
25739 * gdb.base/display.exp: Make sure that when we say 'run', we are
25740 connected to the target. This is necessary when running not
25741 natively.
25742
25743 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
25744
25745 * gdb.base/step-test.exp: Removed some extraneous messages.
25746
25747 * gdb.base/long_long.exp: Don't run memory examination tests
25748 on little-endian targets (they will need a different set of
25749 results to match).
25750
25751 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
25752
25753 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
25754 until somebody decides to fix GDB.
25755
25756 * gdb.base/long_long.c: Stop compiler complaint by specifying long
25757 constant as "ULL".
25758 * gdb.base/long_long.exp: Loosen x/c test, add partial result
25759 matches for a couple x/2 commands.
25760
25761 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
25762
25763 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
25764 by merging in ref-types2 tests.
25765 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
25766
25767 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25768 * gdb.c++/Makefile.in: Add standard actions.
25769 (EXECUTABLES): Rename from PROGS, update list.
25770 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
25771 from gdb.hp.
25772 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
25773 foo and bar locals.
25774 * gdb.c++/anon-union.exp: Fix tests to match.
25775 * gdb.c++/classes.exp: Run if HP compiler used, add extra
25776 expect matches to handle output variations.
25777 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
25778 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
25779 output, add HP alternatives for new and delete prints.
25780 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
25781 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
25782 * gdb.c++/demangle.exp: Use $style when reporting failure.
25783 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
25784 * gdb.c++/inherit.exp: Run if HP compiler used, add some
25785 match alternatives.
25786 * gdb.c++/local.exp: Add match alternatives or xfails for HP
25787 compilers.
25788 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
25789 * gdb.c++/method.exp: Add match alternatives.
25790 * gdb.c++/misc.cc: Add bool types.
25791 * gdb.c++/misc.exp: Add tests for bool types.
25792 * gdb.c++/overload.exp: Add xfails.
25793 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
25794 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
25795 add some more template parameter tests (only for HP currently).
25796 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
25797 * gdb.c++/virtfunc.cc: Add return type and value for main.
25798 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
25799 match alternatives.
25800
25801 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25802
25803 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
25804
25805 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
25806
25807 * gdb.base/signals.exp: Don't expect getting a backtrace from
25808 within a signal handler to fail on Linux.
25809
25810 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
25811
25812 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25813 * lib/gdb.exp: Remove some gratuitious semicolons.
25814 (delete_breakpoints): Increase timeout.
25815 (gdb_expect): Add -notransfer option.
25816 (gdb_test): Use -notransfer option.
25817 (get_compiler_info): Add f77 case.
25818 (get_compiler): New proc, split out from gdb_preprocess, add f77
25819 case.
25820 (gdb_preprocess): Call get_compiler.
25821
25822 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
25823 * gdb.base/attach.exp, gdb.base/display.exp,
25824 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
25825 gdb.base/long_long.exp, gdb.base/printcmds.exp,
25826 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
25827 third arg to gdb_test.
25828 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
25829 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
25830 HP-UX xfails, add others.
25831 * gdb.base/completion.exp: Reflect name change of self-test.
25832 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
25833 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
25834 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
25835 HP failure number.
25836 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
25837 useless HP-UX 10.30 references.
25838 * gdb.base/maint.exp: Loosen matches.
25839 * gdb.base/pointers.c (main): Declare more_code.
25840 * gdb.base/pointers.exp: Match on output of a `next'.
25841 * gdb.base/structs.c: Add prototypes.
25842 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
25843 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
25844
25845 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25846
25847 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
25848 command.
25849
25850 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25851
25852 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
25853 Fix run to main failures. Watchpoint can be hardware watchpoint.
25854
25855 * gdb.base/annota1.exp: Clean up some more, in case printf has
25856 debug info. Deal with lack of signal hanlder info in stack.
25857
25858 From Jim Kingdon <kingdon@redhat.com>:
25859 * gdb.base/annota1.exp: If printf has debug info, deal with it.
25860
25861 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
25862
25863 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
25864 gdb.base/foll-vfork.exp: Don't run for crosses.
25865
25866 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
25867
25868 * gdb.base/configure.in: Check for gdbvars.exp instead of
25869 a1-selftest.exp.
25870 * gdb.base/configure: Re-generate.
25871
25872 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
25873
25874 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
25875 in trying to run first and name is too long.
25876
25877 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
25878 pointers2.c and pointers2.exp, respectively.
25879 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
25880 doschk happier.
25881
25882 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
25883
25884 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
25885 callfuncs2.c and callfuncs2.exp.
25886
25887 * gdb.base/list.exp: Remove mistaken xfails.
25888 * gdb.base/list0.h: Add optional prototypes.
25889
25890 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
25891
25892 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
25893 calling malloc.
25894 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
25895 * ptype.exp: Move test for get_debug_format to before its first
25896 use.
25897
25898 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25899
25900 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
25901 * gdb.base/annota2.cc, annota2.exp: Move from here.
25902 * gdb.c++/annota2.cc, annota2.exp: To here.
25903 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
25904
25905 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
25906
25907 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
25908 a consistent format.
25909
25910 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
25911
25912 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25913 * lib/gdb.exp (get_compiler_info): Add detection for assorted
25914 HP compilers, also set the globals $true and $false.
25915
25916 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
25917 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
25918 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
25919 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
25920 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
25921 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
25922 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
25923 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
25924 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
25925 whatis.c} Add C++ compatible function definitions and return
25926 types, add includes for library functions.
25927 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
25928 * gdb.base/step-test.c (myglob): Rename from glob.
25929 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
25930 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
25931 files, move here from gdb.hp.
25932 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
25933 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
25934 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
25935 Adjust line numbers in regexps.
25936
25937 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
25938 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
25939 instead of 0/1.
25940
25941 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
25942 foll-vfork.exp: New files, move here from gdb.hp.
25943 * gdb.base/page.exp: New file, test of pagination command.
25944
25945 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
25946 recursion test.
25947 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
25948
25949 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
25950 gdb.base/solib.exp: Fix compiler invocation process.
25951
25952 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
25953 HP-UX 11, turn off overload resolution explicitly.
25954 * gdb.base/commands.exp: Set argument list explicitly, add
25955 watchpoint test.
25956 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
25957 them work.
25958 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
25959 expressions properly.
25960 * gdb.base/corefile.exp: Loosen the match slightly.
25961 * gdb.base/default.exp: Allow "Error accessing memory" message
25962 also.
25963 * gdb.base/display.exp: Skip over x/0 j if PA64.
25964 * gdb.base/funcargs.exp: Add xfails for HP-UX.
25965 * gdb.base/interrupt.exp: Ditto.
25966 * gdb.base/langs.exp: Add symbolic matches governed by compiler
25967 in use.
25968 * gdb.base/list.exp: Add xfails for HP-UX.
25969 * gdb.base/long_long.exp: Refine some of the numeric matches.
25970 * gdb.base/mips_pro.exp: Xfail on HP-UX.
25971 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
25972 * gdb.base/nodebug.exp: Succeed on more varieties of output.
25973 * gdb.base/opaque.exp: Remove some HP-UX xfails.
25974 * gdb.base/ptype.exp: Succeed on more varieties of output.
25975 * gdb.base/scope.exp: Add xfails for HP-UX.
25976 * gdb.base/sect-cmd.exp: Add more cases.
25977 * gdb.base/setvar.exp: Add xfails for HP-UX.
25978 * gdb.base/shlib-call.exp: Loosen some matches slightly.
25979 * gdb.base/signals.exp: Match on void symbolically.
25980 * gdb.base/step-test.exp: Add case for PA64.
25981 * gdb.base/term.exp: Add exit and restart.
25982 * gdb.base/twice.exp: Clean up after self.
25983 * gdb.base/varargs.exp: Disable overload resolution explicitly.
25984 * gdb.base/whatis.exp: Allow more ways to pass tests.
25985
25986 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
25987 no longer useful.
25988
25989 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
25990
25991 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
25992 list of patterns.
25993 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
25994 print_double_array(double_array)", "continuing to breakpoint
25995 1018", "print print_double_array(array_d)" and "continuing to
25996 1034" tests.
25997
25998 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
25999
26000 * Makefile.in: Add empty html and install-html targets.
26001
26002 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
26003
26004 * config/mt-*: Remove, these haven't been used since 1996.
26005
26006 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
26007
26008 * gdb.base/call-strs.c, gdb.base/ending-run.c,
26009 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
26010 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
26011
26012 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
26013
26014 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
26015 simpler match case for the ptype of the big class.
26016
26017 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26018
26019 * gdb.exp: Fix test for gdb_prompt existence.
26020
26021 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26022
26023 * gdb.exp (gdb_test): Add fail after calls to perror.
26024
26025 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26026
26027 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
26028
26029 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26030
26031 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
26032
26033 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
26034
26035 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
26036 malloc() is linked in.
26037
26038 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26039
26040 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
26041 step at end.
26042
26043 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
26044
26045 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
26046
26047 * gdb.java/jv-print.exp: New file. (Our first Java test!)
26048
26049 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
26050
26051 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
26052 * gdb.base/mips_pro.exp: Likewise.
26053
26054 1999-06-02 Keith Seitz <keiths@cygnus.com>
26055
26056 * gdb.c++/templates.cc: Change all "new" operators to throw
26057 an exception.
26058 * gdb.c++/cplusfuncs.cc: Likewise.
26059
26060 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
26061
26062 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
26063
26064 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
26065 * gdb.base/ending-run.exp: When stepping out of main, accept a
26066 step into an arbitrary assembler file.
26067
26068 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26069
26070 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
26071 "breakpoint-invalid" to be printed.
26072 * gdb.base/annota2.exp: Revise line number for main
26073 breakpoint. Allow any number of "frames-invalid" and
26074 "breakpoint-invalid" to be printed.
26075 * gdb.base/annota2.cc: Initialize a.x to 0.
26076
26077 1999-05-17 Keith Seitz <keiths@cygnus.com>
26078
26079 * gdb.base/call-ar-st.exp: Skip
26080 "print print_double_array (double_array)" when "skip_float_tests" set.
26081 Ditto for "print print_double_array(array_d)",
26082 "print print_small_structs", "print print_ten_doubles", and
26083 "step into print_long_arg_list".
26084 Don't assume we can step into "print_long_arg_list": we could step
26085 into memcpy.
26086 * gdb.base/call-rt-st.exp: Don't run float-related tests when
26087 "skip_float_tests" is set: "print print_one_double(*d1)"
26088 and "print print_two_floats(*f3)".
26089 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
26090 "skip_float_tests" is set.
26091 * gdb.base/varargs.exp: Skip
26092 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
26093 "skip_float_tests" set.
26094
26095 1999-05-06 Keith Seitz <keiths@cygnus.com>
26096
26097 * gdb.base/annota2.cc: Include stdio.h.
26098
26099 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
26100
26101 * gdb.base/crossload.exp: Remove, this has been disabled ever
26102 since BFD stopped including all targets, and cross-GDB gets
26103 plenty of testing anyway.
26104 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
26105 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
26106 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
26107 * gdb.base/README: Remove, was doc for this.
26108 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
26109 needed.
26110
26111 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26112
26113 * gdb.base/call-ar-st.exp: Fix one regular expression in test
26114 output.
26115
26116 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
26117 * gdb.base/annota2.exp: New file. More annotation tests.
26118 * gdb.base/annota1.c: New file. Source file for annota1.exp.
26119 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
26120
26121 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
26122
26123 * config/cfdbug.exp: New file.
26124
26125 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
26126
26127 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
26128 Marcus Daniel's and Dale Hawkins's demangler crashes.
26129
26130 * gdb.c++/demangle.exp (test_gnu_style_demangling,
26131 test_lucid_style_demangling, test_arm_style_demangling,
26132 test_hp_style_demangling): Try Tom Tromey's core-dumping
26133 identifier under each demangling style.
26134
26135 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
26136
26137 * gdb.c++/demangle.exp: Include the current demangling style
26138 in all test names.
26139 (current_demangling_style): New global variable.
26140 (set_demangling_style, test_demangling_core, test_demangling,
26141 test_demangling_exact): New functions.
26142 (test_gnu_style_demangling, test_lucid_style_demangling,
26143 test_arm_style_demangling, test_hp_style_demangling): Use those,
26144 instead of calling gdb_test and gdb_test_exact directly.
26145 (catch_demangling_errors): New function, which reports errors
26146 signalled by the demangling test functions in an orderly way.
26147 (do_tests): Use catch_demangling_errors.
26148
26149 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
26150
26151 * gdb.base/signals.exp (test_handle_all_print): Use () for
26152 grouping in expressions, not {}.
26153
26154 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
26155 initialized yet.
26156
26157 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
26158
26159 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
26160 are listed.
26161
26162 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
26163
26164 * gdb.stabs/weird.exp: Test for CC being defined before
26165 looking at its value.
26166
26167 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
26168
26169 * gdb.base/call-ar-st.exp: Remove stray '#'.
26170 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
26171 "short int" and "long int".
26172 * gdb.c++/overload.cc: Cast the string added in the previous
26173 change, to mollify finicky HP compiler.
26174 * gdb.hp/reg-test.exp (testfile): Fix file name.
26175 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
26176
26177 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
26178 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
26179 alternate form of enum ptype.
26180
26181 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
26182
26183 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
26184 * gdb.hp/*.exp: Change all to run compiler probe only after
26185 passing skip_hp_tests, so as not to waste time on guaranteed
26186 failure.
26187
26188 * gdb.c++/overload.cc: Pass string instead of char addr, always
26189 init ccpfoo.
26190 * gdb.c++/templates.cc: Fix syntax error.
26191
26192 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26193
26194 * gdb.base/commands.exp: Add test for correct position of '>'
26195 when issuing the 'commands' command after a 'while' or 'if'
26196 command.
26197
26198 1999-03-18 James Ingham <jingham@cygnus.com>
26199
26200 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
26201
26202 * gdb.c++/method.exp: It was testing an uninitialized int on the
26203 stack and assuming it was positive.
26204
26205 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
26206
26207 * gdb.base/step-test.exp: Catch a case where finish is broken and
26208 keep it from killing the rest of the tests.
26209 Use gdb_continue_to_end.
26210
26211 * gdb.base/sigall.exp: use gdb_continue_to_end.
26212
26213 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
26214
26215 * gdb.base/display.exp: use runto_main, not run.
26216
26217 * gdb.base/default.exp: Check for the current error message in the
26218 r abbreviation test.
26219 Add strongarm to the targets that know info float.
26220
26221 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
26222 run which doesn't work with monitors.
26223
26224 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
26225 1034 test.
26226
26227 * gdb.base/break.exp: use the gdb_continue_to_end proc.
26228
26229 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
26230 end of a program. Traps the case (in Cygmon) when the program
26231 never really exits. Same as Mark's continue_to_exit, but I had
26232 put it in a lot more places, so I used my name. Sorry Mark...
26233
26234 * config/monitor.exp (gdb_target_monitor): added another
26235 target_info parameter: remotebinarydownload. This will set the
26236 remotebinarydownload flag if this is causing some boards trouble.
26237
26238 1999-03-18 Mark Salter <msalter@cygnus.com>
26239
26240 * lib/gdb.exp (continue_to_exit): New function.
26241
26242 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
26243 * gdb.base/ending-run.exp: Ditto.
26244 * gdb.base/step-test.exp: Ditto.
26245
26246 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
26247
26248 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
26249 (suggested by Art Haas <ahaas@neosoft.com>).
26250
26251 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
26252
26253 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
26254
26255 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
26256
26257 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
26258 descriptions of types (short unsigned int vs unsigned short, etc).
26259
26260 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
26261
26262 * gdb.base/call-strs.exp: Don't assume that `step' will step over
26263 a call to strlen; sometimes we do have sources.
26264
26265 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
26266
26267 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
26268 character, so GDB won't print garbage after its end.
26269
26270 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
26271 breakpoint there instead. Sometimes GCC emits memcpy to handle
26272 the large structures being passed by value, so we step into that
26273 instead of sum_array_print, which obscures what we're really testing.
26274 * gdb.base/step-test.exp: However, we do want a test that notices
26275 the bizarre steps into memcpy, so do that here. Add check for
26276 stepping into function calls that pass large structures by value.
26277 ("Is that a noun clause, or are you just happy to see me?")
26278 Remove all references to specific line numbers.
26279 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
26280 New type and function.
26281 (main): Call large_struct_by_value, passing it a large struct by value.
26282 * lib/gdb.exp (gdb_get_line_number): New function.
26283
26284 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
26285 more portable.
26286
26287 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
26288
26289 * lib/gdb.exp: Doc fixes.
26290
26291 1999-03-05 Nick Clifton <nickc@cygnus.com>
26292
26293 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
26294
26295 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
26296
26297 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
26298 commands. They're not germane to this test, and they don't work
26299 that way on remote targets.
26300
26301 1999-03-01 James Ingham <jingham@cygnus.com>
26302
26303 * Changelog entries merged over from gdb development branch.
26304
26305 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
26306
26307 * lib/gdb.exp (gdbtk_analyze_results): Generic function
26308 for outputting results of test run.
26309
26310 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
26311
26312 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
26313
26314 1999-02-25 Felix Lee <flee@cygnus.com>
26315
26316 * lib/gdb.exp (debug_format): initialize
26317
26318 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
26319
26320 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
26321 * gdb.base/call-rt-st.c: Ditto.
26322
26323 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
26324
26325 * gdb.threads/pthreads.exp (horiz): New variable.
26326 (test_startup): Fix regexps that capture thread numbers.
26327
26328 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
26329
26330 * gdb.base/smoke.exp: Disambiguate two test case names (both
26331 called ``print'').
26332
26333 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
26334
26335 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
26336 compilation.
26337
26338 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26339
26340 * gdb.base/miscexprs.exp: Change patterns to match GDB's
26341 actual output formatting.
26342 * gdb.base/smoke.exp: GDB removes leading 0's.
26343 * gdb.base/volatile.exp: Don't check type of remuneration;
26344 that variable is no longer defined in constvars.c.
26345 * gdb.base/step-test.c (main): Exit with explicit exit code.
26346 * gdb.base/step-test.exp: Remove two nexti checks--they are
26347 not portable.
26348
26349 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26350
26351 * gdb.base/help.exp ("help delete display"): Fix test to match
26352 gdb's output.
26353
26354 * gdb.base/long_long.c (known_types): Initialize values to zero.
26355 * gdb.base/long_long.exp: Step one more line
26356 so 'dec' is initialized in "get to known place". GDB removes
26357 leading zeros. Explicitly ask for hex formatting. Use
26358 unique test case names.
26359
26360 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26361
26362 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
26363
26364 * gdb.c++/method.exp: Add missing close brace.
26365
26366 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
26367
26368 * gdb.base/maint.exp: Use 'set height 0' to disable page
26369 prompting, not 'set height 400'.
26370
26371 Fix a bunch of timeouts.
26372 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
26373 four separate tests, so expect doesn't take forever to match a ton
26374 of text against a regexp with lots of .* forms.
26375 ("maint print psymbols", "maint print symbols"): Make some of
26376 these greps more selective, so that expect doesn't try to wade
26377 through huge piles of output and time out.
26378
26379 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
26380
26381 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
26382 tests: one which doesn't expect shlib events to be reported, and
26383 another which does, but is XFAIL for all platforms other than
26384 HP/UX.
26385
26386 * gdb.base/break.exp: Teach the test suite that the `catch
26387 fork', `catch vfork', and `catch exec' commands produce error
26388 messages on platforms that don't provide these features.
26389
26390 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
26391
26392 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
26393 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
26394 (shortening names from solib_threshold.exp etc), won't run on
26395 anything but HP-UX for the foreseeable future.
26396 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
26397 reflect move.
26398
26399 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
26400
26401 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
26402 gdb.trace/Makefile.in (clean): Remove all test executables.
26403
26404 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
26405
26406 * gdb.base/shlib-call.exp: add test cases to verify that gdb
26407 successfully re-sets breakpoints in shared libraries.
26408 * gdb.base/shmain.c (main): return 0, don't fall off the end.
26409
26410 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26411
26412 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
26413 and compiled w/o GCC.
26414
26415 * gdb.hp/watch-cmd.exp: ditto.
26416
26417 * gdb.hp/watch-hp.exp: ditto.
26418
26419 * gdb.hp/xdb1.exp: ditto.
26420
26421 * gdb.hp/xdb2.exp: ditto.
26422
26423 * gdb.hp/dbx.exp: ditto.
26424
26425 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
26426
26427 * constvars.c: Remove C++-isms.
26428 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
26429 with GCC.
26430
26431 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
26432
26433 The following changes are part of the HP merge.
26434
26435 * gdb.base/break.exp: new tests to verify that catchpoints for
26436 fork, vfork, and exec don't trigger inappropriately.
26437
26438 * gdb.base/opaque.exp: compile one file at a time, then link.
26439
26440 * gdb.base/signals.exp: be more restrictive about which hppa
26441 systems receive a setup_xfail. new tests.
26442
26443 * gdb.base/solib_threshold.build: new file.
26444 * gdb.base/solib_threshold.exp: new file.
26445 * gdb.base/solib_threshold.link_opts: new file.
26446 * gdb.base/solib_threshold.mk: new file.
26447 * gdb.base/gen_solib_threshold.c: new file.
26448
26449 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
26450 tests. New tests for enums inside classes.
26451
26452 * gdb.c++/compiler.cc: indicate support of template debugging.
26453
26454 * gdb.c++/demangle.exp: run hp style demangling tests.
26455
26456 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
26457 tests.
26458
26459 * gdb.c++/misc.cc: changes to support new tests.
26460
26461 * gdb.c++/templates.cc: changes to support HP's compiler; changes
26462 to support new tests.
26463
26464 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
26465 gcc, then skip these tests.
26466
26467 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
26468
26469 The following files are part of the HP merge; some had longer
26470 names at HP, but have been renamed to be no more than 14
26471 characters in length.
26472
26473 * gdb.hp/ambiguous.cc: new file.
26474 * gdb.hp/ambiguous.exp: new file.
26475 * gdb.hp/attach.exp: new file.
26476 * gdb.hp/attach2.exp: new file.
26477 * gdb.hp/classes-hp.exp: new file.
26478 * gdb.hp/ctti.exp: new file.
26479 * gdb.hp/ctti-add.cc: new file.
26480 * gdb.hp/ctti-add1.cc: new file.
26481 * gdb.hp/ctti-add2.cc: new file.
26482 * gdb.hp/ctti-add3.cc: new file.
26483 * gdb.hp/dbx.exp: new file.
26484 * gdb.hp/exception.cc: new file.
26485 * gdb.hp/exception.exp: new file.
26486 * gdb.hp/foll-exec.c: new file.
26487 * gdb.hp/foll-exec.exp: new file.
26488 * gdb.hp/foll-fork.c: new file.
26489 * gdb.hp/foll-fork.exp: new file.
26490 * gdb.hp/foll-vfork.c: new file.
26491 * gdb.hp/foll-vfork.exp: new file.
26492 * gdb.hp/inherit-hp.exp: new file.
26493 * gdb.hp/more-steps.exp: new file.
26494 * gdb.hp/namespace.cc: new file.
26495 * gdb.hp/namespace.exp: new file.
26496 * gdb.hp/optimize.exp: new file.
26497 * gdb.hp/pxdb.c: new file.
26498 * gdb.hp/pxdb.exp: new file.
26499 * gdb.hp/quicksort.exp: new file.
26500 * gdb.hp/reg-test.exp: new file.
26501 * gdb.hp/reg-test.s: new file.
26502 * gdb.hp/sized-enum.c: new file.
26503 * gdb.hp/sized-enum.exp: new file.
26504 * gdb.hp/start-stop.exp: new file.
26505 * gdb.hp/templ-hp.cc: new file.
26506 * gdb.hp/templ-hp.exp: new file.
26507 * gdb.hp/thr-lib.c: new file.
26508 * gdb.hp/thr-lib.exp: new file.
26509 * gdb.hp/thr-lib.h: new file.
26510 * gdb.hp/thr-liblib.c: new file.
26511 * gdb.hp/virtfun-hp.c: new file.
26512 * gdb.hp/virtfun-hp.exp: new file.
26513 * gdb.hp/watch-cmd.exp: new file.
26514 * gdb.hp/watch-hp.exp: new file.
26515 * gdb.hp/xdb1.exp: new file.
26516 * gdb.hp/xdb2.exp: new file.
26517 * gdb.hp/xdb3.exp: new file.
26518
26519 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
26520
26521 The following files are part of the HP merge; some had longer
26522 names at HP, but have been renamed to be no more than 14
26523 characters in length.
26524
26525 * gdb.base/ss.h: new file.
26526 * gdb.base/call-ar-st.c: new file.
26527 * gdb.base/call-ar-st.exp: new file.
26528 * gdb.base/call-rt-st.c: new file.
26529 * gdb.base/call-rt-st-exp: new file.
26530 * gdb.base/call-strs.exp: new file.
26531 * gdb.base/ena-dis-br.exp: new file.
26532 * gdb.base/environ.exp: new file.
26533 * gdb.base/long_long.exp: new file.
26534 * gdb.base/sect-cmd.exp: new file.
26535 * gdb.base/shlib-cl2.exp: new file.
26536 * gdb.base/smoke.exp: new file.
26537 * gdb.base/so-impl-ld.c: new file.
26538 * gdb.base/so-impl-ld.exp: new file.
26539 * gdb.base/so-indr-cl.c: new file.
26540 * gdb.base/so-indr-cl.exp: new file.
26541 * gdb.base/varargs.exp: new file.
26542 * gdb.base/volatile.exp: new file.
26543 * gdb.base/whatis-exp.exp: new file.
26544 * gdb.base/display.exp: new file.
26545 * gdb.c++/derivation.exp: new file.
26546 * gdb.c++/local.exp: new file.
26547 * gdb.c++/member-ptr.exp: new file.
26548 * gdb.c++/overload.exp: new file.
26549 * gdb.c++/ovldbreak.exp: new file.
26550 * gdb.c++/ref-types.exp: new file.
26551 * gdb.c++/ref-types2.exp: new file.
26552 * gdb.c++/userdef.exp: new file.
26553
26554 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
26555
26556 * gdb.base/default.exp: Reflect wording change in remote.c.
26557
26558 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
26559
26560 * gdb.base/help.exp: Update to reflect current text.
26561
26562 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
26563
26564 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
26565 they're stack variables and contain garbage.
26566 * gdb.c++/anon-union.exp: new file.
26567
26568 The following changes were made by David Taylor
26569 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
26570 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
26571 in changes by HP.
26572
26573 * gdb.base/bitops.exp: new file.
26574 * gdb.base/default.exp: change expected messages for catch and
26575 info catch tests to reflect HP merge changes.
26576 * gdb.base/enable-disable-break.exp
26577 * gdb.base/ending-run.c: new file.
26578 * gdb.base/long_long.c: new file.
26579 * gdb.base/maint.exp: new file.
26580 * gdb.base/pointers2.exp: new file.
26581 * gdb.base/shlib-call2.exp: new file.
26582 * gdb.base/solib.exp: new file.
26583 * gdb.base/step-test.c: new file.
26584 * gdb.c++/anon-union.cc: new file.
26585 * gdb.c++/local.cc: new file.
26586 * gdb.c++/member-pointer.cc: new file.
26587 * gdb.c++/method.cc: new file.
26588 * gdb.c++/ref-types.cc: new file.
26589 * gdb.c++/ref-types2.cc: new file.
26590 * gdb.c++/userdef.cc: new file.
26591
26592 * gdb.base/scope.exp: compile one file at a time, then link.
26593 * gdb.base/langs.exp: ditto.
26594 * gdb.base/list.exp: ditto.
26595
26596 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
26597
26598 The following changes were made by David Taylor
26599 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
26600 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
26601 in changes by HP.
26602
26603 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
26604 skip tests. When compiling pass c++ flag to gdb_compile.
26605 * gdb.c++/
26606
26607 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
26608 test for on hppa*-*-hpux*; use args to see if c++ was specified.
26609 (skip_hp_tests): new function.
26610 (gdb_preprocess): new function.
26611
26612 * configure.in (hpdir): decide whether to configure gdb.hp.
26613 * configure: regenerated.
26614
26615 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
26616 to delete on clean.
26617 (EXECUTABLES): update to reflect new additions.
26618 * gdb.base/commands.exp: update message expected.
26619 * gdb.base/default.exp: add copyright notice.
26620 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
26621 * gdb.base/help.exp: update messages to reflect current text.
26622 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
26623 targets for recurse tests.
26624 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
26625 skip this file.
26626
26627 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
26628 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
26629 compilation.
26630 * gdb.c++/misc.exp: ditto.
26631 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
26632 run the tests. tell gdb_compile that it's a c++ compilation.
26633
26634 * gdb.threads/pthreads.exp: fix typo in message.
26635
26636 * gdb.base/all-bin.exp: new file.
26637 * gdb.base/arithmet.exp: new file.
26638 * gdb.base/assign.exp: new file.
26639 * gdb.base/completion.exp: new file.
26640 * gdb.base/cond-expr.exp: new file.
26641 * gdb.base/condbreak.exp: new file.
26642 * gdb.base/define.exp: new file.
26643 * gdb.base/dollar.exp: new file.
26644 * gdb.base/environment.exp: new file.
26645 * gdb.base/eval-skip.exp: new file.
26646 * gdb.base/jump.exp: new file.
26647 * gdb.base/logical.exp: new file.
26648 * gdb.base/pointers.exp: new file.
26649 * gdb.base/relational.exp: new file.
26650 * gdb.base/section_command.exp: new file.
26651 * gdb.base/whatis-expr.exp: new file.
26652
26653 * gdb.base/all-types.c: new file.
26654 * gdb.base/call-array-struct.c: new file.
26655 * gdb.base/call-return-struct.c: new file.
26656 * gdb.base/call-strings.c: new file.
26657 * gdb.base/callfuncs2.c: new file.
26658 * gdb.base/condbreak.c: new file.
26659 * gdb.base/constvars.c: new file.
26660 * gdb.base/display.c: new file.
26661 * gdb.base/int-type.c: new file.
26662 * gdb.base/jump.c: new file.
26663 * gdb.base/miscexprs.c: new file.
26664 * gdb.base/pointers.c: new file.
26665 * gdb.base/pointers2.c: new file.
26666 * gdb.base/shmain.c: new file.
26667 * gdb.base/shr1.c: new file.
26668 * gdb.base/shr2.c: new file.
26669 * gdb.base/solib.c: new file.
26670 * gdb.base/solib1.c: new file.
26671 * gdb.base/solib2.c: new file.
26672 * gdb.base/varargs.c: new file.
26673 * gdb.c++/derivation.cc: new file.
26674 * gdb.c++/overload.cc: new file.
26675 * gdb.c++/ovldbreak.cc: new file.
26676 * gdb.hp/attach.c: new file.
26677 * gdb.hp/attach2.c: new file.
26678 * gdb.hp/average.c: new file.
26679 * gdb.hp/compiler.c: new file.
26680 * gdb.hp/compiler.cc: new file.
26681 * gdb.hp/execd-program.c: new file.
26682 * gdb.hp/follow-exec.c: new file.
26683 * gdb.hp/follow-fork.c: new file.
26684 * gdb.hp/follow-vfork-and-exec.c: new file.
26685 * gdb.hp/misc-hp.cc: new file.
26686 * gdb.hp/more-steps.c: new file.
26687 * gdb.hp/optimize.c: new file.
26688 * gdb.hp/quicksort.c: new file.
26689 * gdb.hp/run-hp.c: new file.
26690 * gdb.hp/start-stop.c: new file.
26691 * gdb.hp/sum.c: new file.
26692 * gdb.hp/templates-hp.cc: new file.
26693 * gdb.hp/thread-local-in-lib.c: new file.
26694 * gdb.hp/thread-local-in-lib.h: new file.
26695 * gdb.hp/thread-local-in-lib.lib.c: new file.
26696 * gdb.hp/vforked-program.c: new file.
26697 * gdb.hp/virtfunc-hp.cc: new file.
26698 * gdb.hp/watchpoint-hp.c: new file.
26699 * gdb.hp/xdb.c: new file.
26700 * gdb.hp/xdb0.c: new file.
26701 * gdb.hp/xdb0.h: new file.
26702 * gdb.hp/xdb1.c: new file.
26703
26704 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
26705
26706 The following change was made by Edith Epstein
26707 <eepstein@cygnus.com> as part of a project to merge in changes
26708 originally made by HP; HP did not create ChangeLog entries.
26709
26710 * gdb.c++/demangle.exp: changed the expected output for some
26711 ARM-style mangling -- removed second reference to datatype.
26712 For example, maint demangle __dt__11T1__pt__2_cFv
26713 T1<char>::~T1<char>(void)
26714 becomes,
26715 maint demangle __dt__11T1__pt__2_cFv
26716 T1<char>::~T1(void)
26717
26718 (test_hp_style_demangling): new hp specific demangling test cases.
26719
26720 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
26721
26722 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
26723 * gdb.trace/backtrace.exp: Likewise.
26724 * gdb.trace/circ.exp: Likewise.
26725 * gdb.trace/collection.exp: Likewise.
26726 * gdb.trace/deltrace.exp: Likewise.
26727 * gdb.trace/infotrace.exp: Likewise.
26728 * gdb.trace/limits.exp: Likewise.
26729 * gdb.trace/packetlen.exp: Likewise.
26730 * gdb.trace/passc-dyn.exp: Likewise.
26731 * gdb.trace/passcount.exp: Likewise.
26732 * gdb.trace/report.exp: Likewise.
26733 * gdb.trace/save-trace.exp: Likewise.
26734 * gdb.trace/tfind.exp: Likewise.
26735 * gdb.trace/tracecmd.exp: Likewise.
26736 * gdb.trace/while-dyn.exp: Likewise.
26737 * gdb.trace/while-stepping.exp: Likewise.
26738
26739 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
26740
26741 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
26742
26743 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
26744
26745 From Brendan Kehoe:
26746 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
26747 int return types.
26748
26749 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
26750
26751 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
26752 remote dos host testing right.
26753
26754 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
26755
26756 * gdb.base/corefile.exp: remove some xfails.
26757
26758 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
26759
26760 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
26761 have different timestamps.
26762
26763 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
26764
26765 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
26766 gdb.base/default.exp: Replace "exec" with "executable".
26767
26768 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
26769
26770 * gdb.base/default.exp: Change else if to elseif from previous
26771 delta.
26772
26773 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
26774
26775 * gdb.base/default.exp: Add brace missing from previous delta.
26776
26777 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
26778
26779 * gdb.base/default.exp: Support test for info float for all
26780 varieties of arm toolchain.
26781
26782 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
26783
26784 * gdb.trace/*.exp: remove "remote_download" command.
26785
26786 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
26787
26788 * gdb.trace/*.exp: remove -gdwarf from compile.
26789
26790 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
26791
26792 * gdb.trace/configure.in(AC_INIT): typo
26793 * gdb.trace/configure: regenerated
26794
26795 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
26796
26797 * config/m68k-emc.exp: New file.
26798 * lib/<emc-support.exp trace-support.exp}: New files.
26799 * configure.in: add new test directory gdb.trace.
26800 * gdb.trace/{configure configure.in Makefile.in}: New files.
26801 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
26802 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
26803 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
26804 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
26805 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
26806 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
26807 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
26808
26809 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
26810
26811 * gdb.c++/classes.exp: Change all regular expressions to match
26812 arbitrary combinations of newline/carriage-return, so that they
26813 will work equally well on Unix and Windows.
26814 * gdb.c++/inherit.exp: ditto.
26815 * gdb.c++/virtfunc.exp: ditto.
26816
26817 1998-08-11 Dawn Perchik <dawn@cygnus.com>
26818
26819 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
26820
26821 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
26822
26823 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
26824 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
26825 to use a0-a3/d0-d3 as needed.
26826
26827 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
26828
26829 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
26830 * gdb.disasm/am33.exp: Corresponding changes.
26831
26832 1998-07-11 Felix Lee <flee@cygnus.com>
26833
26834 * gdb.base/callfuncs.exp: add cmp10 test.
26835 * gdb.base/callfuncs.c (cmp10): new function.
26836
26837 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
26838
26839 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
26840 into two parts to get around a synchronization problem in expect.
26841
26842 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
26843
26844 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
26845
26846 * configure.in: Add options for gdbtk testsuite.
26847
26848 * configure: Regenerate.
26849
26850 * gdb.gdbtk: New directory to hold gdbtk tests.
26851
26852 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
26853
26854 * gdb.fortran/types.exp: Escape brackets in expect patterns
26855 for test_float_literal_types_accepted tests.
26856 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
26857 before run test.
26858
26859 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
26860
26861 * am33.exp: Just compile, do not link the testcase.
26862 * am33.s: Add ".am33" pseudoop to force am33 mode.
26863
26864 1998-06-25 Felix Lee <flee@cygnus.com>
26865
26866 * gdb.base/setshow.exp: make sure $pc is sane.
26867
26868 * gdb.stabs/weird.exp: split expect patterns properly.
26869
26870 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
26871
26872 * gdb.disasm/am33.s: New disassembler testfile for the am33.
26873 * gdb.disasm/am33.exp: Run it.
26874
26875 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
26876
26877 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
26878 match processing (and eliminate spurious timeouts when running).
26879
26880 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
26881
26882 * gdb.base/signals.exp (test_handle_all_print): put back Mach
26883 exception test, but conditionalize it on target [mach | gnu].
26884
26885 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
26886
26887 * gdb.base/overlays.exp: fixup compile line for linker script.
26888
26889 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
26890
26891 * gdb.fortran/types.exp: don't guess at float size.
26892
26893 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
26894
26895 * gdb.base/exprs.exp: delete test that depends on int size.
26896
26897 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
26898
26899 * config/sim.exp: Removed checks for target triplets.
26900 (gdb_target_sim): Use gdb,target_sim_options.
26901
26902 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
26903
26904 * gdb.base/reread.exp: New file.
26905 * gdb.base/reread1.c: New file.
26906 * gdb.base/reread2.c: New file.
26907
26908 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
26909
26910 * config/sim.exp: Use 'target sim -sparclite' when running
26911 SPARClite programs.
26912
26913 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
26914
26915 * gdb.base/structs2.exp: New file.
26916 * gdb.base/structs2.c: New file.
26917
26918 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
26919
26920 * gdb.asm/common.inc: New file.
26921 * gdb.asm/d10v.inc: New file.
26922 * asm-source.exp: Pass -I's to gas to find .inc files.
26923 Update line numbers in expected output.
26924 * asmsrc1.s: Rewrite.
26925 * asmsrc2.s: Rewrite.
26926 * configure.in: Create arch.inc symlink.
26927 * configure: Regenerate.
26928 * Makefile.in (distclean): Delete arch.inc.
26929
26930 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
26931
26932 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
26933 (t_enum_value2): ditto
26934 (t_enum_value3): ditto
26935 (main): ditto
26936 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
26937
26938 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
26939 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
26940 change.
26941 Use gdb_test instead of send_gdb/gdb_expect sequences.
26942
26943 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
26944
26945 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
26946 not void.
26947
26948 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
26949
26950 * gdb.base/branches.c: Code with lots of loops and
26951 subroutines. Used to test gdbs ability to single step through PC
26952 changes, especially to test mips-tdep.c:mips_next_pc
26953
26954 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
26955
26956 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
26957 more rigorous EGCS C++ error checking.
26958
26959 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26960
26961 * gdb.base/help.exp: Clean up `help set args' and `help show args'
26962 tests.
26963 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
26964 function when asleep.
26965 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
26966 for i*86 Linux and SVR4 signal handling problems.
26967 Remove linux xfail for `next to handler in signals_tests_1', fixed
26968 by recent infrun.c change.
26969 Limit backtrace to 10 frames to avoid timeout problems with infinite
26970 stack backtraces.
26971 Adjust expect pattern in `handle all print' test to match Apr 28 1997
26972 target.[ch] change.
26973
26974 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
26975
26976 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
26977 for a newline from gdb before continuing.
26978 (default_gdb_exit): Just look for y or n.
26979 (gdb_test): Detect abnormal exit from GDB running on DOS; if
26980 it does, fail the rests of the tests in the file.
26981
26982 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
26983
26984 * config/cygmon.exp: New file.
26985
26986 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
26987
26988 * gdb.base/list.exp: Fix problem with "list default lines around
26989 main" test on remote targets.
26990
26991 * gdb.base/scope.exp: Fix problem with filelocal_bss before
26992 run test on remote targets.
26993
26994 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
26995
26996 * gdb.asm: New directory.
26997 * configure.in: Configure it.
26998 * configure: Regenerate.
26999 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
27000 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
27001
27002 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
27003
27004 * config/mn10300-eval.exp: New file to support MN10300 eval board.
27005
27006 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
27007
27008 * gdb.base/overlays (several files): Merge the two overlay
27009 managers into one. Change variables (foox, barx, bazx, grbxx)
27010 back into ints but force them to load in their proper sections.
27011
27012 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
27013
27014 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
27015 on-chip insn memory and IMAP1 to upper 128k.
27016 (D10VCopy): Handle memory regions crossing 16k boundaries.
27017 (D10VCopy): Transfer data in 32 bit chunks.
27018
27019 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
27020
27021 * gdb.base/overlays.c (main): Exit normally when result is
27022 correct.
27023
27024 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
27025 map. Include space for printf in .text segment.
27026
27027 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
27028 updated d10v memory VMA/LMA map.
27029 (D10VCopy): Call D10VTranslate.
27030
27031 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
27032
27033 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
27034
27035 * gdb.base/bar.c (barx, bar): Change variable to small array so
27036 that it won't be put into the .sdata - small data -
27037 section. Update reference.
27038 * gdb.base/baz.c (bazx, baz): Ditto.
27039 * gdb.base/foo.c (foox, foo): Ditto.
27040 * gdb.base/grbx.c (grbxx, grbx): Ditto.
27041
27042 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
27043 to be arrays.
27044
27045 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
27046
27047 * gdb.base/overlays.exp: fix up and get working again.
27048 Add tests for backtraces from an overlay function.
27049
27050 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
27051
27052 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
27053 "calling function with watchpoint enabled".
27054
27055 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
27056
27057 * gdb.base/break.exp (test_next_with_recursion): Remove
27058 gdb_suppress_tests for d10v-*-*.
27059 * lib/gdb.exp (gdb_suppress_tests): Disable this function
27060 pending review of whether it is useful or not.
27061
27062 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
27063
27064 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
27065
27066 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
27067
27068 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
27069 * config/dve.exp: New file to support Densan boards.
27070
27071 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
27072
27073 * gdb.base/interrupt.exp: Document problem of simulators, signals,
27074 reads and BSD.
27075
27076 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
27077
27078 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
27079 response.
27080
27081 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
27082
27083 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
27084
27085 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
27086 test.
27087
27088 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
27089 target_sizeof_long and target_bigendian_p.
27090 (structs_by_value, structs_by_reference): Check values according
27091 to targets word size and endianess.
27092
27093 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
27094
27095 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
27096 output.
27097
27098 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
27099
27100 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
27101 Update test of set args help to match source change.
27102
27103 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
27104
27105 * gdb.base/default.exp: Expect help system output to be in
27106 alphabetical order.
27107 * gdb.base/help.exp: Ditto.
27108
27109 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
27110
27111 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
27112 "i*86-pc-linux-gnu*".
27113 * gdb.base/interrupt.exp: Ditto.
27114 * gdb.base/corefile.exp: Ditto.
27115
27116 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
27117 define vxworks when building the testcase.
27118
27119 * gdb.base/ptype.exp: Fix testnames to be unique.
27120 * gdb.base/radix.exp: Ditto.
27121 * gdb.base/term.exp: Ditto.
27122 * gdb.base/whatis.exp: Ditto.
27123 * gdb.c++/classes.exp: Ditto.
27124
27125 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
27126
27127 * gdb.base/callfuncs.exp: Fix indentation.
27128
27129 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
27130 suppress_flag has been set.
27131 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
27132 target feature.
27133
27134 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
27135
27136 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
27137 the testcase.
27138
27139 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
27140 set_debug_traps() and breakpoint().
27141 * gdb.c++/misc.cc (main): Ditto.
27142 * gdb.c++/templates.cc (main): Ditto.
27143 * gdb.c++/virtfunc.cc (main): Ditto.
27144
27145 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
27146
27147 * lib/gdb.exp(gdb_step_for_stub): New function.
27148 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
27149 exists, reload the executable and do a "continue" instead of
27150 doing a jump.
27151 (runto_main): Use gdb_step_for_stub.
27152
27153 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
27154 tests to have unique names.
27155 * gdb.base/callfuncs.exp: Ditto.
27156 * gdb.base/commands.exp: Ditto.
27157 * gdb.base/default.exp: Ditto.
27158 * gdb.base/help.exp: Ditto.
27159 * gdb.base/list.exp: Ditto.
27160 * gdb.base/opaque.exp: Ditto.
27161 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
27162 similar tests.
27163
27164 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
27165 * gdb.c++/cplusfuncs.cc: Ditto.
27166 * gdb.c++/virtfunc.cc: Ditto.
27167
27168 * config/monitor.exp: Keep track of the last file we saw, rather
27169 than trying to get the info from gdb.
27170
27171 * gdb.fortran/types.exp: Move comment to previous line.
27172
27173 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
27174
27175 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
27176 target mode.
27177
27178 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
27179
27180 From Bob Manson:
27181 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
27182 string from GDB when it connects.
27183
27184 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
27185
27186 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
27187
27188 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
27189 if we can't get a debug format from GDB (we may be testing an
27190 older GDB). Use a 10 second timeout when checking for the format.
27191
27192 * gdb.stabs/weird.exp: Fix quoting.
27193
27194 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
27195
27196 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
27197
27198 * config/arm-ice.exp: New file.
27199
27200 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
27201
27202 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
27203 until it has been modified to work with the new testsuite.
27204
27205 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
27206 testcase won't compile, cause all of the testcases in the file to
27207 fail instead.
27208
27209 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
27210 (gdb_clear_suppressed): New procedure.
27211 (gdb_stop_suppressing_tests): Only clear suppress_flag if
27212 it contains a positive value.
27213
27214 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
27215
27216 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
27217
27218 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
27219
27220 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
27221
27222 * lib/gdb.exp (setup_xfail_format): New function.
27223 (get_debug_format): New function to get debug format.
27224 (debug_format): New global variable to hold last value set
27225 by get_debug_format.
27226 * gdb.base/list.exp: Call get_debug_format and expect some
27227 tests to fail for DWARF 1 and COFF formats.
27228 * gdb.c++/ptype.exp: Ditto.
27229 * gdb.c++/classes.exp: Ditto.
27230 * gdb.c++/cplusfuncs.exp: Ditto.
27231 * gdb.c++/inherit.exp: Ditto.
27232 * gdb.c++/templates.exp: Ditto.
27233 * gdb.c++/virtfunc.exp: Ditto.
27234
27235 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
27236
27237 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
27238 host doesn't have a currently-open connection.
27239
27240 * config/sparclet.exp: Cleanups and fixes to make it generic for
27241 any gdb stub target. Handle cases where gdb doesn't respond when
27242 interrupted in a sane fashion.
27243
27244 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
27245 same thing in a totally different way.
27246
27247 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
27248 setting "timeout".
27249 (gdb_start): We set the global gdb_prompt variable in
27250 default_gdb_init now.
27251
27252 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
27253
27254 * gdb.base/printcmds.exp: Fix "check for floating addition"
27255 regexp to accept results within approx +/- .01 of exact value.
27256 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
27257
27258 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
27259
27260 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
27261 properly.
27262 (gdb_expect): Add optional timeout parameter, and add timeout
27263 value to various calls.
27264 (gdb_suppress_tests): Only give one warning message per group.
27265
27266 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
27267
27268 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
27269 global variables. Handle getting a value for $timeout more
27270 gracefully.
27271
27272 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
27273
27274 * lib/gdb.exp: Close connection to remote host if gdb doesn't
27275 initialize.
27276 (default_gdb_init): New procedure; allow gdb_init to be overridden
27277 by a target configuration file.
27278 (gdb_expect): Pass the timeout to remote_expect.
27279
27280 * config/monitor.exp(gdb_load): Fix typo in regexp.
27281
27282 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
27283
27284 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
27285
27286 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
27287
27288 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
27289 here. Call gdb_target_exec before rebooting the target, to make
27290 sure the connection to the target is closed.
27291 (gdb_load): Pass the name of the executable to gdb_target_monitor.
27292 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
27293 Also detect "Timeout reading from remote" error.
27294
27295 * config/gdbserver.exp: Pass the executable being loaded to
27296 gdb_target_monitor. Don't call gdb_file_cmd here; let
27297 gdb_target_monitor do it.
27298
27299 * gdb.disasm/hppa.exp: Don't use exec_output.
27300
27301 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
27302
27303 * gdb.base/list.exp: If we're debugging a non-native target,
27304 try to set the pc register to point to the start of the
27305 program before doing the first list command.
27306
27307 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
27308 test_calls after restarting.
27309
27310 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
27311 reloading.
27312
27313 * gdb.base/watchpoint.exp: Fix typo.
27314
27315 * gdb.base/setshow.exp: Check for use_gdb_stub.
27316
27317 * gdb.base/break.exp: Fix continue until exit test for the gdb
27318 stub case.
27319 * gdb.base/langs.exp: Ditto.
27320
27321 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
27322 gdb_load_offset. If we weren't given a file to load, figure out
27323 what the current file is and use it.
27324
27325 * config/i386-bozo.exp: New file.
27326
27327 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
27328
27329 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
27330 feature.
27331
27332 * config/proelf.exp: New entry.
27333
27334 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
27335
27336 * lib/gdb.exp: Remove spurious .* patterns at the beginning
27337 of regexps.
27338
27339 * gdb.base/watchpoint.exp: Don't run the test_stepping
27340 tests if gdb can't call functions on the target.
27341
27342 * gdb.base/setshow.exp: Don't run the set prompt tests if
27343 the board has gdb_prompt set.
27344
27345 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
27346
27347 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
27348 * gdb.base/commands.exp: Likewise.
27349 * gdb.base/setshow.exp: Likewise.
27350
27351 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
27352
27353 * config/monitor.exp(gdb_start): Look for gdb_prompt target
27354 feature.
27355
27356 * config/i960.exp: New file.
27357
27358 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
27359
27360 * gdb.base/funcargs.exp: Check for gdb,short_int target
27361 feature instead of looking for explicit target triplets.
27362
27363 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
27364
27365 * gdb.base/printcmds.exp: add a couple more tests a la
27366 "p 123DEADBEEF", to check parse_number.
27367 * top.c: change "to enable to enable" to "to enable" in a couple
27368 of help strings.
27369
27370 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
27371
27372 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
27373 on the mn10300.
27374
27375 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
27376
27377 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
27378 where the test executable is run with explicit args.
27379 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
27380
27381 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
27382
27383 * gdb.base/run.c: Use FAKEARGV to build test executable that
27384 does not require a command line arg, since most simulators
27385 don't currently support passing such an arg into the simulated
27386 program.
27387 * gdb.base/commands.exp: Change tests to insert the proper
27388 value as the arg to the first recursive factorial call. Change
27389 compilation line to define FAKEARGV at compile time.
27390
27391 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
27392
27393 * gdb.base/recurse.exp: Enable these tests for the mn10300.
27394 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
27395 function with watchpoint enabled" test.
27396
27397 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
27398
27399 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
27400 Don't call gdb_test when the command doesn't return to a gdb prompt.
27401
27402 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
27403 "Tests restarted" messages.
27404
27405 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
27406
27407 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
27408
27409 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
27410
27411 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
27412 for INFO SYMBOL; add help tests for OVERLAY commands.
27413 * gdb.base/default.exp: add tests for INFO SYMBOL command;
27414 add tests for OVERLAY commands
27415 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
27416 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
27417 * gdb.base/sigall.c: add usestubs code frag
27418 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
27419
27420 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
27421
27422 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
27423 failures.
27424 (gdb_stop_suppressing_tests): Note that tests have restarted.
27425
27426 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
27427
27428 * config/h8300.exp: New file.
27429
27430 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
27431
27432 * gdb.base/setshow.exp: Check for the existence of a
27433 feature, not its value.
27434
27435 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
27436
27437 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
27438
27439 * gdb.base/scope.exp: It's now init0(), not init().
27440
27441 * gdb.base/scope0.c: For now, change init() to be init0().
27442
27443 * config/monitor.exp: Use gdb_serial in preference to serial
27444 or netport.
27445
27446 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
27447 and it's not already set.
27448
27449 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
27450
27451 * gdb.base/setshow.exp: Only test the run command if the target
27452 isn't using a stub and if it supports argument passing.
27453
27454 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
27455
27456 * config/udi.exp(gdb_start): Make sure UDICONF is set
27457 properly before starting gdb.
27458
27459 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
27460
27461 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
27462 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
27463 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
27464
27465 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
27466
27467 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
27468 specialized code to reboot the board, use remote_reboot instead.
27469
27470 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
27471
27472 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
27473
27474 * config/monitor.exp: Make sure we disconnect from the target.
27475 Also, try a reboot/reload cycle instead of failing if the
27476 load fails.
27477
27478 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
27479
27480 * gdb.base/default.exp: Don't set match_max.
27481 * gdb.base/help.exp: Ditto.
27482 * gdb.base/list.exp: Ditto.
27483 * gdb.base/signals.exp: Ditto.
27484
27485 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
27486 set, use remote_ld to download the testcase instead of
27487 the GDB loader.
27488
27489 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
27490
27491 * config/vr5000.exp: New file.
27492
27493 * config/monitor.exp(gdb_target_monitor): Add pattern for
27494 "Ending remote" to detect errors in connecting.
27495
27496 * gdb.base/setshow.exp: Add .* within auto language test.
27497
27498 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
27499 target feature.
27500
27501 * config/monitor.exp(gdb_load): Check for a failure when loading,
27502 and reboot the board if necessary.
27503
27504 * gdb.base/setvar.exp(test_set): Handle multiple prints within
27505 a set of tests. Remove print.* from the patterns being checked.
27506
27507 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
27508
27509 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
27510 refer to gdb_spawn_id.
27511
27512 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
27513 longer used.
27514 * config/sparclet.exp: Ditto.
27515 * config/sparclet-old.exp: Ditto.
27516 * config/slite.exp: Ditto.
27517 * config/sim.exp: Ditto.
27518 * gdb.base/funcargs.exp: Ditto.
27519
27520 * lib/gdb.exp:Remove references to gdb_spawn_id.
27521 (gdb_expect): Move to remote.exp.
27522
27523 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
27524
27525 * config/monitor.exp: Detect the "Couldn't establish connection"
27526 message from GDB.
27527
27528 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
27529
27530 * gdb.base/bitfields.exp: Use runto instead of explicit
27531 gdb_run_cmd/gdb_expect sequences.
27532
27533 * gdb.base/break.exp(text_next_with_recursion): Add match for
27534 gdb_expect call.
27535
27536 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
27537 We also need to handle the "A program is being debugged already"
27538 prompt from gdb. Use gdb_test to set the baud rate.
27539
27540 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
27541 to 20000. Really. I mean it.
27542
27543 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
27544
27545 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
27546 fails. If suppress_flag is set, skip perror message about not
27547 being able to send to GDB.
27548 (send_gdb): If suppress_flag is set, don't try to send commands to
27549 GDB.
27550 (gdb_expect): If suppress_flag is set, always fail immediately.
27551 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
27552 (gdb_init): Call gdb_stop_suppressing_tests.
27553 (default_gdb_exit): Ditto.
27554 (default_gdb_start): Ditto.
27555
27556 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
27557 gdb_stop_suppressing_tests as appropriate.
27558 * gdb.base/break.exp: Ditto.
27559 * gdb.base/callfuncs.exp: Ditto.
27560 * gdb.base/commands.exp: Ditto.
27561 * gdb.base/exprs.exp: Ditto.
27562 * gdb.base/funcargs.exp: Ditto.
27563 * gdb.base/list.exp: Ditto.
27564 * gdb.base/recurse.exp: Ditto.
27565 * gdb.base/scope.exp: Ditto.
27566 * gdb.base/structs.exp: Ditto.
27567 * gdb.c++/inherit.exp: Ditto.
27568
27569 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
27570
27571 * config/vr4300.exp: New file.
27572
27573 * gdb.*/*.exp: Call gdb_expect instead of expect.
27574
27575 * lib/gdb.exp(gdb_expect): New function.
27576
27577 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
27578
27579 * lib/gdb.exp(gdb_init): New function.
27580
27581 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
27582 for each individual variable set.
27583
27584 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
27585 name.
27586
27587 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
27588
27589 * gdb.base/scope.exp: Use gdb_test.
27590
27591 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
27592 aborting; the testsuite driver will do that for us (see
27593 gdb_finish). Also, use gdb_test in a few more places.
27594
27595 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
27596
27597 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
27598
27599 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
27600
27601 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
27602 and "add_tests" are not at the same address.
27603
27604 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
27605
27606 * gdb.base/ptype.exp: Use gdb_test.
27607
27608 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
27609
27610 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
27611 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
27612 left in. No longer expect them to fail.
27613
27614 * gdb.stabs/*.mt; Deleted, no longer used.
27615 * gdb.stabs/configure.in: Remove references to target makefile
27616 frags.
27617 * gdb.stabs/configure: Rebuilt.
27618
27619 * gdb.disasm/*.mt: Deleted, no longer used.
27620 * gdb.disasm/configure.in: Remove references to target makefile
27621 frags. Use "sh3.s" as the unique filename for this directory.
27622 * gdb.disasm/configure: Rebuilt.
27623
27624 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
27625 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
27626 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
27627
27628 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
27629
27630 * config/udi.exp: Use mondfe,name instead of remote_host.
27631
27632 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
27633
27634 * gdb.base/watchpoint.exp: Don't expect a failure when calling
27635 a function with a watchpoint enabled on the mn10200.
27636
27637 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
27638 before trying to create it!
27639
27640 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
27641
27642 * config/vx.exp: Use hostname instead of netport.
27643
27644 * config/vxworks.exp: New file.
27645
27646 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
27647
27648 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
27649 gdb before assuming everything worked. Send a ^C if a timeout
27650 occurs.
27651
27652 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
27653 $gdb_spawn_id directly.
27654 (gdb_run_cmd): Try _start as well as start. Use the target feature
27655 gdb,start_symbol as the symbol to start from when jumping.
27656
27657 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
27658
27659 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
27660 redundant) test.
27661
27662 * gdb.base/recurse.exp: Relax final value test for 'b' so that
27663 it doesn't lose for 16bit integer systems.
27664
27665 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
27666
27667 * gdb.fortran/types.exp: If the target doesn't support "double"
27668 data types, then expect "real" types to only be 4 bytes.
27669
27670 * gdb.c++/virtfunc.exp: Expect failure for virtual function
27671 call tests if the target doesn't support inferior function calls.
27672
27673 * gdb.base/printcmds.exp: Allow minor deviation in FP values
27674 in printf tests.
27675
27676 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
27677
27678 * gdb.base/help.exp: Disable "help set", "help show", and
27679 "help support". Simplify regexp for "help stack".
27680
27681 * gdb.base/default.exp: Set match_max to 5000 and the timeout
27682 to 60 seconds. Temporarily set match_max to 15000 around the
27683 "info copying" test.
27684
27685 * gdb.base/nodebug.exp: Don't try to do an inferior function
27686 call if the target doesn't support them.
27687 * gdb.base/printcmds.exp: Likewise.
27688 * gdb.base/setvar.exp: Likewise.
27689 * gdb.base/structs.exp: Likewise.
27690 * gdb.c++/templates.exp: Likewise.
27691 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
27692
27693 * gdb.base/recurse.exp: Enable for the mn10200.
27694
27695 * configure.in: Do configure gdb.stabs directory for *-*-elf
27696 targets.
27697 * configure: Rebuilt.
27698
27699 * gdb.base/break.exp: Check for gdb,noresults before testing
27700 exit status and/or results from the target.
27701 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
27702 * lib/gdb.exp: Remove old (now bogus) initialization of
27703 noinferior, noargs, noresults and nosignals.
27704
27705 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
27706
27707 * config/sh.exp: New file.
27708
27709 * config/slite.exp: Try to connect multiple times to the board
27710 before rebooting. Only send a "monitor run" if need_monitor_run
27711 is set.
27712
27713 * gdb.base/break.exp: Don't do the "stub continue" test if
27714 the target has gdb_stub set.
27715
27716 * gdb.base/callfuncs.exp: Increase the timeout.
27717
27718 * gdb.base/interrupt.exp: Don't even try to compile the testcase
27719 if the target has gdb,noinferiorio set.
27720
27721 * gdb.base/list.exp: Increase match_max to 10000 characters.
27722
27723 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
27724
27725 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
27726 target.
27727
27728 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
27729
27730 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
27731
27732 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
27733 trying to delete the copy of gdb. Catch the file delete so we
27734 don't die if the delete fails; also, the file should be copied to
27735 the host, not to the build.
27736
27737 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
27738
27739 * lib/gdb.exp(gdb_test): Surround the result pattern with
27740 parenthesis in case it contains multiple regexps separated
27741 with |.
27742
27743 * gdb.base/watchpoint.exp: Use gdb_test.
27744 * gdb.base/default.exp: Ditto.
27745
27746 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
27747
27748 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
27749
27750 * gdb.base/scope.exp: Use gdb_test.
27751 * gdb.c++/classes.exp: Ditto.
27752 * gdb.c++/inherit.exp: Ditto.
27753
27754 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
27755
27756 * gdb.base/crossload.exp: Don't use execute_anywhere, use
27757 remote_exec instead.
27758 * gdb.base/corefile.exp: Don't be ridiculous.
27759 * gdb.base/*.c: Add missing stub invocations.
27760
27761 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
27762
27763 * config/slite.exp: Miscellaneous fixes.
27764
27765 * lib/gdb.exp: Fix runto.
27766
27767 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
27768 the target.
27769
27770 * gdb.base/watchpoint.exp: Fix regexp.
27771
27772 * lib/gdb.exp(default_gdb_exit): Add a catch to the
27773 close and wait commands, as the descriptor may now be
27774 invalid. Always call "remote_close host".
27775
27776 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
27777
27778 Major rewrite for testsuite revision.
27779
27780 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
27781 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
27782 instead of relying on spawn_id to always contain a valid
27783 spawn id.
27784 (get_compiler_info): New procedure to build the ${binfile}.ci
27785 file, instead of replicating this in N different places.
27786 (gdb_compile): New procedure.
27787
27788 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
27789 appropriate arguments) instead of compile. Use gdb_test in a lot
27790 more places. Use send_gdb instead of send. Always run gdb_start
27791 at the start of a testcase, as this is no longer done magically.
27792
27793 config/*-gdb.exp: Rename without the -gdb suffix.
27794
27795 config/mips.exp: Use remote_close instead of exit_remote_shell.
27796 config/monitor.exp: Use target_info instead of looking at
27797 baud, timeout, etc.
27798 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
27799
27800 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27801
27802 * gdb.c++/templates.exp (test_ptype_of_templates),
27803 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
27804 Update expect patterns for destructors and assignment operators
27805 to match corresponding c-typeprint.c changes.
27806 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
27807 to destructor breakpoint test, GDB should be able to set the
27808 destructor breakpoint without specifying arguments.
27809
27810 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
27811
27812 * gdb.threads/pthreads.exp: Change result for failure to compile due
27813 to lack of pthreads runtime support from an error to simply an
27814 unsupported test, per dejagnu standards.
27815
27816 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27817
27818 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
27819 where GDB exits to reduce pattern match time.
27820 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
27821
27822 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
27823
27824 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
27825
27826 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
27827 * gdb.base/default.exp: ditto.
27828 * gdb.base/nodebug.exp: ditto.
27829 * gdb.base/printcmds.exp: ditto.
27830 * gdb.base/ptype.exp: ditto.
27831 * gdb.base/setvar.exp: ditto.
27832 * gdb.base/structs.exp: ditto.
27833 * gdb.base/setshow.c: Guard against uninitialized values of argc.
27834
27835 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
27836
27837 * configure, */configure: Rebuild with autoconf 2.12.
27838
27839 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
27840
27841 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
27842 use new i*86-pc-linux*-gnu quads.
27843 * gdb.base/corefile.exp: Ditto.
27844 * gdb.base/signals.exp: Ditto.
27845 * gdb.base/sigall.exp: Ditto.
27846 * gdb.base/interrupt.exp: Ditto.
27847
27848 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
27849 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
27850 RedHat 4.0.
27851
27852 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
27853 linux. This allows the test case to at least compile on latest
27854 linux, but still not run due to missing the threads runtime library.
27855
27856 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27857
27858 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
27859 directory to search gdb directory. Accept and step over conditional
27860 stack alignment code. Consume $prompt in failure cases.
27861 Reset timeout to $oldtimeout instead of some arbitrary value.
27862 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
27863 timeout problems with infinite stack backtraces.
27864 * gdb.base/ptype.exp (ptype struct link, union tu_link):
27865 Accept function parameters for linkfunc member.
27866
27867 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
27868
27869 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
27870 (CXXFLAGS): Remove, unreferenced.
27871 (B_OPTIONS): Add for -B options and add code to initialize with
27872 previous -B options and also add -B option to pick up cross compiled
27873 runtime.
27874 (TARGET_INCLUDES): Add for -I options and add code to initialize when
27875 doing cross compiles.
27876 (target_alias): Declare global.
27877 (xgcc): Set variable to full path of gcc in build tree. Use findfile
27878 to verify that gcc exists in build tree, and if so set CC to that
27879 gcc and to use B_OPTIONS and TARGET_INCLUDES.
27880
27881 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
27882
27883 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
27884 ptype test for anonymous union. Fixup testcase to match
27885 current gcc debug output.
27886
27887 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
27888
27889 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
27890 force argument to an unsigned long type.
27891
27892 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
27893
27894 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
27895 tests and anonymous union print/ptype tests.
27896 * gdb.base/list.exp (test_forward-search): Increase timeout by
27897 5 minutes for the "search extremely long line" case.
27898 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
27899 completely optional and that the pass/fail messages use the command as
27900 the message if that third arg is a null string.
27901 (gdb_test_exact): Arrange that a null string pattern means match a
27902 null string output rather than any output, which might include random
27903 errors.
27904 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
27905 backtrace test.
27906 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
27907 always failing and failure is now exposed by gdb.exp changes.
27908
27909 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
27910
27911 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
27912 weren't being noted.
27913
27914 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27915
27916 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
27917 * gdb.stabs/weird.exp: Remove v_comb xfails.
27918
27919 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
27920
27921 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
27922 list.exp scope.exp watchpoint.exp]
27923 Make all timeout error msgs explicitly say "(timeout)".
27924
27925 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
27926
27927 * config/monitor.exp: Increase download timeout to 1000 seconds.
27928
27929 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
27930
27931 * config/m32r.exp: Increase timeout to 120 seconds.
27932
27933 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
27934
27935 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
27936 and accept older ordering as obsolescent gcc or gdb.
27937 * gdb.c++/templates.exp: Ditto.
27938 * gdb.c++/virtfunc.exp: Ditto.
27939
27940 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
27941
27942 * gdb.base/coremaker.c: Add code to mmap some data so we
27943 can check that it ends up in the core file.
27944 * gdb.base/corefile.exp: Add test to read mmapped data
27945 from core file.
27946
27947 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
27948
27949 * config/m32r.exp: New file.
27950
27951 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
27952
27953 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
27954 that cflags can contains -gstabs, and work correctly for other tests.
27955
27956 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
27957
27958 * gdb.base/setshow.exp: New file, tests show and set.
27959 * gdb.base/setshow.c: New file, tests show and set.
27960 * gdb.base/help.exp: Add test for help set|show annotate.
27961 * gdb.base/default.exp: Add test for set|show annotate.
27962
27963 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
27964
27965 * testsuite/gdb.base/break.exp: Make backtrace from factorial
27966 errors unique.
27967 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
27968 explicitly.
27969
27970 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
27971
27972 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
27973 and width commands. This is done elsewhere.
27974 * (gdb_start): Don't call gdb_start_sim here. That's already
27975 done in gdb_load. This fixes lots of failures in default.exp.
27976
27977 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
27978
27979 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
27980 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
27981 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
27982 in the same we we treat other failures (since it may be an expected
27983 condition), rather than as an error.
27984 * gdb.base/signals.exp (test_handle_all_print): Revert back to
27985 old test format.
27986
27987 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
27988
27989 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
27990 (distclean maintainer-clean realclean): No need to remove files
27991 twice. Nuke the duplicates.
27992 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
27993 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
27994 Remove config.h along with other config files.
27995
27996 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
27997
27998 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
27999 "p func1 ()" and note that rests of tests are skipped.
28000 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
28001 setup_xfails for "print func2::coremaker_local".
28002 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
28003 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
28004 affected by the previous run test.
28005 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
28006 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
28007 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
28008 "pass int powerset tuple" and "pass modeless int powerset tuple".
28009 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
28010 "real write 4" and "real write 8".
28011 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
28012 setup_xfails for "print vs1 after tuple assign 2",
28013 "print \$i after tuple assign 2", and
28014 "print vs2 after tuple assign 2".
28015 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
28016 meaningful error message and return -1 so the caller can
28017 suppress further tests and avoid a cascade of errors.
28018
28019 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
28020
28021 * gdb.base/a1-selftest.exp: Tweak tests to account for new
28022 format for printing version.
28023 * gdb.base/default.exp: Ditto.
28024 * gdb.base/interrupt.exp: Fix problem with cascade of
28025 errors if child process dies while calling a function.
28026
28027 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
28028
28029 * Makefile.in (VPATH): Add
28030 * Makefile.in (Makefile, config.status): Fix rules so things get
28031 remade when necessary.
28032
28033 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
28034
28035 * Makefile.in (just-check): Add path to sibling expect dir
28036 to environment variable specified by RPATH_ENVVAR.
28037
28038 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
28039
28040 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
28041 (just-check): Add shared library paths for libstdc++, tk,
28042 tcl, bfd, and opcodes to the environment variable specified
28043 in RPATH_ENVVAR.
28044 * configure.in: Add support to recognize --enable-shared flag
28045 and generate correct value for RPATH_ENVVAR.
28046 * configure: Regenerated with autoconf.
28047
28048 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
28049
28050 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
28051 include all osf versions.
28052 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
28053 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
28054 when target is linux. When failing to build pthreads test
28055 executable, give more meaningful message.
28056 * gdb.threads/pthreads.c: Hpux also uses old definition of second
28057 arg for pthread_create.
28058
28059 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
28060
28061 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
28062 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
28063 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
28064 and -lpthreads (everybody else).
28065 (test_startup): Fail gracefully if threads are not supported.
28066 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
28067 "p/c array_index("abcdef",2)" when not gcc compiled.
28068 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
28069 "print func2::coremaker_local" when not gcc compiled.
28070 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
28071 "ptype on opaque struct tagname (statically)",
28072 "ptype on opaque struct tagname (dynamically) 1", and
28073 "ptype on opaque struct tagname (dynamically) 2"
28074 for not compiled with gcc.
28075 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
28076 backtrace when compiled with gcc.
28077 * lib/gdb.exp (runto_main): Return result of "runto main" rather
28078 than always return success.
28079
28080 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
28081
28082 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
28083
28084 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
28085
28086 * gdb.base/structs.exp: Undo last change.
28087
28088 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
28089
28090 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
28091 encapsulate all the steps/nexts done during self test, starting
28092 at main, and makes them less sensitive to optimization issues.
28093 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
28094 signal handler" test.
28095 * gdb.threads/pthreads.exp: Only run this for native configs.
28096 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
28097 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
28098 tests.
28099 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
28100 for "runto test_calls(void)" test.
28101
28102 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
28103
28104 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
28105 and don't expect address info in breakpoint confirmations.
28106
28107 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
28108
28109 * gdb.base/list.exp (test_forward_search): Increase timeout
28110 temporarily by 60 seconds for searching extremely long line,
28111 and then reset to old value when done. Increase expect input
28112 buffer to 10000.
28113
28114 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
28115
28116 * gdb.base/list.exp (test_forward_search): Fix to handle very
28117 long source line without overflowing expect's input buffer.
28118
28119 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
28120
28121 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
28122 "buffer_full".
28123
28124 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
28125 "buffer_full".
28126
28127 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
28128 "buffer_full".
28129
28130 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
28131 "buffer_full".
28132
28133 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
28134
28135 * configure.in (configdirs): Add gdb.threads.
28136 * configure: Regenerated with autoconf.
28137 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
28138 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
28139 * gdb.threads/configure: New, generated with autoconf.
28140
28141 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
28142
28143 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
28144
28145 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
28146
28147 * gdb.base/signals.exp (test_handle_all_print): Test separately for
28148 each signal's status in the output of "handle all print".
28149 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
28150 the \r\n sequence that immediately precedes the gdb prompt.
28151 * gdb.base/a1-selftest.exp: Save original timeout and restore
28152 after test.
28153
28154 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
28155
28156 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
28157 symbol.
28158
28159 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
28160
28161 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
28162
28163 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
28164
28165 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
28166 timeout by 60 seconds.
28167
28168 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
28169
28170 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
28171 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
28172 error return.
28173
28174 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
28175
28176 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
28177 gdb initialization, also report how long dejagnu waited. Restore
28178 old timeout before doing error return. Temporarily increase timeout
28179 by 3 minutes to allow for slow startups over heavy NFS use.
28180
28181 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
28182
28183 * lib/gdb.exp: Report timeout value for verbosity level 2.
28184 * config/gdbserver.exp: Ditto.
28185 * config/hppro.exp: Ditto.
28186 * config/mips-gdb.exp: Ditto.
28187 * config/monitor.exp: Ditto.
28188 * config/netware.exp: Ditto.
28189 * config/sim-gdb.exp: Ditto.
28190 * config/slite-gdb.exp: Ditto.
28191 * config/udi-gdb.exp: Ditto.
28192 * config/unix-gdb.exp: Ditto.
28193 * config/vx-gdb.exp: Ditto.
28194 * gdb.base/a1-selftest.exp: Ditto.
28195 * gdb.base/a2-run.exp: Ditto.
28196 * gdb.base/break.exp: Ditto.
28197 * gdb.base/corefile.exp: Ditto.
28198 * gdb.base/list.exp: Ditto.
28199 * gdb.base/recurse.exp: Ditto.
28200 * gdb.base/scope.exp: Ditto.
28201 * gdb.base/signals.exp: Ditto.
28202
28203 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28204
28205 * gdb.threads/Makefile.in (docdir): Removed.
28206
28207 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28208
28209 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
28210 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
28211 @srcdir@.
28212 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
28213 autoconf 2.5 or higher.
28214 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
28215
28216 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
28217
28218 * configure: Regenerated.
28219 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
28220 avoid name clashes with SunOS headers.
28221
28222 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
28223
28224 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
28225
28226 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
28227
28228 * gdb.base/callfuncs.exp: Finish last change -- make sure the
28229 prototype information ends up in the compiler info file.
28230
28231 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
28232
28233 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
28234 attempting to regenerate it. Eliminate use of a temporary file
28235 and just generate the info file directly. Source it immediately,
28236 for consistency of use.
28237 * gdb.base/corefile.exp: Ditto
28238 * gdb.base/exprs.exp: Ditto.
28239 * gdb.base/funcargs.exp: Ditto.
28240 * gdb.base/langs.exp: Ditto.
28241 * gdb.base/list.exp: Ditto.
28242 * gdb.base/mips_pro.exp: Ditto.
28243 * gdb.base/nodebug.exp: Ditto.
28244 * gdb.base/opaque.exp: Ditto.
28245 * gdb.base/ptype.exp: Ditto.
28246 * gdb.base/scope.exp: Ditto.
28247 * gdb.base/setvar.exp: Ditto.
28248 * gdb.base/signals.exp: Ditto.
28249 * gdb.base/whatis.exp: Ditto.
28250 * gdb.c++/templates.exp: Ditto.
28251 * gdb.c++/virtfunc.exp: Ditto.
28252 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
28253 whether or not to add -lstdc++ to the compile command line args.
28254
28255 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28256
28257 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
28258 it got fixed by the recent lookup_minimal_symbol_by_pc change.
28259 Increase timeout, a lot of single stepping might be needed if the
28260 target has no hardware watchpoints.
28261
28262 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
28263
28264 * gdb.base/break.exp: Ignore compiler warnings when compiling
28265 break.c.
28266 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
28267 * gdb.base/default.exp: Add h8300 xfails. Handle messages
28268 from remote-sim.
28269 * gdb.base/exprs.exp: Add h8300 xfails.
28270 * gdb.base/funcargs.exp: Likewise.
28271 * gdb.base/nodebug.exp: Likewise.
28272 * gdb.base/printcmds.exp: Likewise.
28273 * gdb.base/ptype.exp: Likewise.
28274 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
28275 h8300 xfails.
28276 * gdb.base/return.exp: Handle float/double precision problems
28277 on the h8300.
28278 * gdb.base/funcargs.c: Explicitly make last constant argument to
28279 call_after_alloca_subr an unsigned long type.
28280 * gdb.base/return.c: Include stdio.h.
28281
28282 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
28283
28284 * config/abug.exp: New file for the older Motorola Bug monitor
28285 that runs on the mvme13x series VME boards.
28286 * config/monitor.exp: Use the new config array for target settings
28287 if they exist.
28288
28289 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
28290
28291 * sim-gdb.exp: Make the SH simulator allocate less space when
28292 it is targeted.
28293
28294 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
28295
28296 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
28297 test.
28298
28299 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
28300
28301 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
28302 "rs6000-*-*" for "list function in include file" when gcc compiled.
28303 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
28304 for "p ctable1[120]".
28305 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
28306 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
28307 Remove setup_xfail for "rs6000-*-*" for
28308 "print 'scope0.c'::filelocal before run".
28309 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
28310 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
28311 since some compilers don't allow both options to be given
28312 on the same command line. Create object file and move it.
28313
28314 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
28315
28316 * gdb.base/corefile.exp: Always regenerate the core file, since
28317 we always regenerate the coremaker program. Detect special case
28318 where registers cannot be read from core file.
28319
28320 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
28321
28322 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
28323 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
28324 * gdb.c++/templates.exp: Only match on basename of file since
28325 some formats like xcoff don't encode directory information.
28326 * gdb.stabs/weird.exp: Use the right sed script for powerpc
28327 and rs6000 AIX xcoff targets.
28328 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
28329 * configure: Regenerate.
28330 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
28331 here, rather than in distclean.
28332
28333 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
28334
28335 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
28336 defined, and use it to compile the test case with -O2. The
28337 native compilation still uses no optimization.
28338 * gdb.base/mips_pro.c: Remove inline assembly code since
28339 it is compiled PIC by default, which results in assembler
28340 warnings that make the testsuite think the compilation
28341 was unsuccessful.
28342
28343 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
28344
28345 * gdb.c++/misc.exp: Add note to message for
28346 "print s.a for foo struct" that this is a known gcc 2.7.2
28347 and earlier bug.
28348
28349 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
28350
28351 * gdb.base/break.exp: Fix pattern for matching "Delete all
28352 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
28353 setup_xfail for deleting all breakpoints test. Fix various
28354 timeout messages to include "(timeout)".
28355 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
28356 for "p t_float_values2(3.14159,float_val2)".
28357 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
28358 for "continue to call2g" when gcc compiled.
28359 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
28360 "up to foo in langs.exp", "show language at foo in langs.exp",
28361 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
28362 and "show language at fsub in langs.exp".
28363 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
28364 "list line 1 in include file", "list message for lines past EOF",
28365 "list function in include file", "list list0.h:foo", and
28366 "list filename:function; nonexistant function".
28367 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
28368 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
28369 and "ptype t_char_array" to be for native cc only.
28370
28371 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
28372
28373 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
28374 setup_xfail for "print coremaker_bss", "print coremaker_ro",
28375 "print func2::coremaker_local", and "backtrace in corefile.exp".
28376
28377 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
28378
28379 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
28380 "bt in signals.exp". This problem only appears when running
28381 the testsuite, and then only intermittently.
28382
28383 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
28384
28385 * gdb.base/return.exp (return_tests): Differentiate between
28386 two tests of continuing.
28387
28388 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
28389
28390 * */Makefile.in (maintainer-clean): Remove config.log.
28391 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
28392 * gdb.c++/Makefile.in (PROGS): Add inherit.
28393 (clean): Remove *.ci.
28394
28395 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
28396
28397 * gdb.c++/misc.cc: Add test code from Mike Stump.
28398 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
28399
28400 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
28401
28402 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
28403 to "alpha-*-osf2*" and add comment.
28404 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
28405 setup_xfail for "step over execarg initialization" and
28406 "step over corearg initialization".
28407 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
28408 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
28409 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
28410 gcc compiled for "print coremaker_bss", "print coremaker_ro",
28411 "print func2::coremaker_local", and "backtrace in corefile.exp".
28412 * gdb.base/signals.exp: Build and source signals.ci.
28413 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
28414 to be for gcc only.
28415 * lib/gdb.exp: Move verbose statements outside conditionals.
28416
28417 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28418
28419 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
28420 Feb 3 procfs.c change.
28421
28422 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
28423
28424 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
28425
28426 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
28427
28428 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
28429 from dejagnu's apparent default of 10 seconds, which gives random
28430 results when running the tests over NFS on moderately loaded systems.
28431 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
28432
28433 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
28434
28435 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
28436 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
28437 result reports.
28438
28439 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
28440
28441 * configure.in (CY_AC_PATH_TCLH): Remove.
28442 * configure: Regenerate.
28443
28444 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
28445
28446 * gdb.c++/Makefile.in (clean): Add missing '{'.
28447
28448 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
28449
28450 * lib/gdb.exp: Provide a default value for noinferior.
28451
28452 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
28453 Load libgloss.exp.
28454
28455 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
28456
28457 * gdb.disasm/hppa.exp: Compile directly into an executable, use
28458 the executable, not the .o to run the tests from.
28459
28460 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
28461
28462 * gdb.base/break.exp: Don't test for program exit or exit status
28463 if $noresults if nonzero.
28464 * gdb.base/langs.exp: Likewise.
28465 * gdb.base/watchpoint.exp: Likewise.
28466
28467 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
28468 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
28469 trying to compile the testcase.
28470
28471 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
28472
28473 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
28474 * gdb.base/signals.exp (continue to handler): Likewise.
28475
28476 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
28477
28478 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
28479
28480 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
28481
28482 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
28483
28484 * gdb.base/corefile.exp: Recognize "not found" as failure
28485 when trying to determine if a core file was generated.
28486 If no core file was generate the first time, try again without
28487 the ulimit -c to work around braindamaged shells.
28488
28489 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
28490
28491 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
28492 [] tests with "test" and enclose string in quotes.
28493 * gdb.stabs/configure: Rebuild
28494
28495 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
28496
28497 Changes in sync with expect:
28498 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
28499 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
28500 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
28501 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
28502 argument to AC_REQUIRE.
28503 * configure: Regenerated.
28504
28505 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
28506
28507 * gdb.base/corefile.exp: When generating a core, discard any
28508 error messages about ulimit not found and the "core dumped"
28509 message from the shell that runs the coredumper.
28510
28511 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
28512
28513 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
28514
28515 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
28516 which sed script to run. Expect failure for v_comb test
28517 on PA targets too.
28518
28519 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
28520
28521 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
28522 "print func2::coremaker_local" and for "backtrace in corefile.exp"
28523
28524 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
28525
28526 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
28527 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
28528 "sparc-sun-solaris*" xfails for "p v_comb".
28529 * lib/gdb.exp (default_gdb_start): Fix typo.
28530 * gdb.base/corefile.exp: Allow "Core was generated by ..."
28531 messages to not include the full program name that caused
28532 the core dump since some systems (such as solaris) apparently
28533 truncate this path to about 80 characters.
28534 When generating a core file first try increasing the core file
28535 size limit to unlimited since some systems may default it to
28536 zero, and it is harmless to try it. Move the test for failing
28537 to generate a core file to where it will actually get executed.
28538 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
28539 new gdb result from g++ debug info improvements and make old
28540 pattern obsolescent. Also account for size_t differences
28541 (may be int or long).
28542 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
28543 initialization before function call is placed in the delay slot
28544 and thus appears to be skipped over by commands such as "next".
28545
28546 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
28547
28548 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
28549
28550 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
28551
28552 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
28553 input source file; fix code to compile test to deal with this
28554 convention.
28555 * gdb.c++/*.exp: Likewise.
28556
28557 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
28558
28559 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
28560 "bt in signals.exp".
28561
28562 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
28563
28564 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
28565 "step over execarg initialization" and
28566 "step over corearg initialization".
28567
28568 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
28569
28570 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
28571 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
28572
28573 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
28574
28575 From Rob Savoye (rob@poseidon.cygnus.com)
28576 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
28577 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
28578 configure.in}, gdb.disasm/{Makefile.in, configure.in},
28579 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
28580 configure.in}: Major reworking for autoconfig.
28581 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
28582 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
28583 New files.
28584 * config/unix-gdb.exp: Make GDB global.
28585 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
28586 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
28587 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
28588 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
28589 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
28590 term.exp, twice.exp, watchpoint.exp, whatis.exp},
28591 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
28592 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
28593 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
28594 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
28595 pr-8136.exp, result.exp, string.exp, tuples.exp},
28596 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
28597 to returns as necessary, arrange for test to compile own testcase
28598 executable.
28599 * lib/gdb.exp: Changes for testsuite to compile own test cases.
28600
28601 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
28602
28603 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
28604 clear_xfail at end of test which might not call either pass or fail.
28605 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
28606 "backtrace through signal handler".
28607
28608 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28609
28610 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
28611 continuing from a job control stop signal.
28612 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
28613
28614 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
28615
28616 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
28617 * gdb.base/corefile.exp: Likewise.
28618 * gdb.base/funcargs.exp: Likewise.
28619
28620 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
28621
28622 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
28623 * config/monitor.exp: Add support for setting baud rate.
28624
28625 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
28626
28627 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
28628 i*86-*-linux* xfails for "backtrace through signal handler".
28629 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
28630 "print func2::coremaker_local".
28631 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
28632 alpha-dec-osf2* xfail for
28633 "delete all breakpoints when none".
28634
28635 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
28636
28637 * gdb.base/break.exp: Change test that deletes all breakpoints
28638 when no user breakpoints are installed. A post 4.15 change
28639 causes gdb to no longer prompt in this case.
28640
28641 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
28642
28643 * gdb.base/return.exp (return_tests): Change xfail for test
28644 "correct value returned double test" to stop xfailing at
28645 Solaris 2.5. Apparently the bug has been fixed.
28646
28647 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
28648
28649 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
28650 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
28651
28652 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
28653
28654 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
28655 * gdb.disasm/hppa.s: Corresponding changes.
28656
28657 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
28658
28659 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
28660 makefile fragment.
28661 * config/mt-hpux: Deleted.
28662
28663 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
28664
28665 * Many files: When warning about suppressed tests due to a
28666 nonexistant test binary, avoid incrementing the warning count.
28667
28668 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
28669
28670 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
28671
28672 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28673
28674 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
28675 "sparc-*-solaris2*".
28676
28677 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28678
28679 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
28680 Add global and local variables and initialize them.
28681 * gdb.base/corefile.exp: Test correct mapping of corefile sections
28682 by printing variables. Remove rs6000 and powerpc xfails, BFD now
28683 extracts the file name and terminating signal from the core file.
28684 * TODO: Remove note about tests for correct mapping of corefile.
28685 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
28686 from optimizing it away.
28687 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
28688 handles common blocks.
28689
28690 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
28691
28692 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
28693 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
28694
28695 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
28696
28697 * Makefile.in (maintainer-clean): New target, synonym for
28698 realclean.
28699 * gdb.base/Makefile.in (maintainer-clean): Likewise.
28700 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
28701 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
28702 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
28703 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
28704 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
28705
28706 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
28707
28708 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
28709 xfails when not gcc compiled for "print foo::funclocal".
28710 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
28711 "print foo::funclocal at foo",
28712 "print 'scope1.c'::foo::funclocal at foo",
28713 "print foo::funclocal_bss at foo",
28714 "print 'scope1.c'::foo::funclocal_bss at foo",
28715 "print foo::funclocal_ro at foo",
28716 "print 'scope1.c'::foo::funclocal_ro at foo",
28717 "print bar::funclocal at foo" and
28718 "print 'scope1.c'::bar::funclocal at foo".
28719 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
28720 gcc compiled for "print foo::funclocal at bar".
28721 Expand all messages to ensure that they identify that
28722 the test is at bar().
28723 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
28724 gcc compiled for:
28725 "ptype on opaque struct pointer (statically)",
28726 "ptype on opaque struct tagname (statically)",
28727 "ptype on opaque struct pointer (dynamically) 1",
28728 "ptype on opaque struct tagname (dynamically) 1",
28729 "ptype on opaque struct pointer (dynamically) 2" and
28730 "ptype on opaque struct tagname (dynamically) 2
28731 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
28732 gcc compiled for:
28733 "p datalocal"
28734 "whatis datalocal",
28735 "ptype datalocal",
28736 "p bsslocal",
28737 "whatis bsslocal", and
28738 "ptype bsslocal".
28739 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
28740 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
28741 when not gcc compiled.
28742 * gdb.base/funcargs.exp (float_and_integral_args): Add
28743 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
28744 compiled.
28745 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
28746 "backtrace from call6a" when not gcc compiled.
28747 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
28748 "backtrace from call7a" when not gcc compiled.
28749 * gdb.base/callfuncs.exp (do_function_calls):
28750 Add "hppa*-*-hpux*" xfail when not gcc compiled for
28751 "p t_char_array_values(char_array_val2,char_array_val1)",
28752 "p t_char_array_values(char_array_val1,char_array_val2)",
28753 "p t_char_array_values("carray 1","carray 2")",
28754 "p t_char_array_values("carray 1",char_array_val2)",
28755 "p t_char_array_values(char_array_val1,"carray 2")",
28756 "p sum_args(1,{2})",
28757 "p sum_args(2,{2,3})",
28758 "p sum_args(3,{2,3,4})",
28759 "p sum_args(4,{2,3,4,5})"
28760 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
28761 "backtrace in corefile.exp" when not gcc compiled.
28762
28763 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28764
28765 * gdb.base/signals.exp: Rewrite `handle all print' test as
28766 a procedure. Accept blanks or TABs as whitespace, increase
28767 timeout and expect input buffer size for the large output
28768 from the command. Remove "i*86-*-bsdi2.0" xfail.
28769
28770 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28771
28772 * gdb.base/setvar.exp: Add new testcases for truncation when
28773 assigning invalid values to bitfields.
28774
28775 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
28776
28777 * gdb.base/callfuncs.exp (do_function_calls): Remove
28778 mips-sgi-irix* xfail for
28779 "call inferior func with struct - returns char *"
28780 and fix test so that an optional (unsigned char *) cast is
28781 accepted in the result.
28782
28783 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
28784
28785 * gdb.base/funcargs.exp (float_and_integral_args): Remove
28786 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
28787 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
28788 * gdb.base/signals.exp: Remove duplicate "handle all print" test
28789 that accidentally got checked in.
28790
28791 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
28792
28793 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
28794 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
28795 compiled test.
28796 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
28797 Add mips-sgi-irix5* xfail for not gcc compiled.
28798 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
28799 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
28800 compiled for "p top", "whatis top", "p middle", and "whatis
28801 middle".
28802 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
28803 "whatis signed char" for not gcc compiled.
28804 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
28805 "set variable signed char=-1 (-1)" and
28806 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
28807 * gdb.base/funcargs.exp (float_and_integral_args):
28808 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
28809 Add mips-sgi-irix* xfail when not gcc compiled for
28810 "continue to call2b".
28811 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
28812 "continue to call2g".
28813 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
28814 compiled for "backtrace from call6a"
28815 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
28816 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
28817 when not gcc compiled for "backtrace from call7a".
28818 (localvars_after_alloca): Fix gdb_test cmds for
28819 "print * after runto ...".
28820 Remove rs6000-*-* xfails for
28821 "print i after runto localvars_after_alloca" and
28822 "print l after runto localvars_after_alloca"
28823 for all compilers.
28824 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
28825 when not compiled with gcc, for:
28826 "print signed char == (minus)",
28827 "print signed char != (minus)",
28828 "print signed char < (minus)",
28829 "print signed char > (minus)".
28830 * gdb.base/callfuncs.exp (do_function_calls):
28831 Add mips-sgi-irix* xfail, when compiled with native compiler, for
28832 "call inferior func with struct - returns char *".
28833 * gdb.base/return.exp (return_tests): Change xfail for
28834 "correct value returned double test" to include Solaris 2.4.
28835 * gdb.base/funcargs.exp (float_and_integral_args):
28836 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
28837
28838 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28839
28840 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
28841 enumeration bitfields if compiling with GNU C.
28842 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
28843 to empty' prompt.
28844
28845 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
28846
28847 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
28848 test for PRO targets.
28849
28850 * gdb.base/funcargs.exp: Avoid ever setting more than 8
28851 breakpoints in the inferior at any given time by making
28852 two groups of breakpoints for call2*, call6* and call7*
28853 tests.
28854
28855 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28856
28857 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
28858 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
28859 from optimizing it away.
28860 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
28861 "call inferior func with struct".
28862
28863 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
28864
28865 * configure.in: Only configure gdb.chill for particular targets.
28866
28867 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
28868
28869 * gdb.base/Makefile.in: Add action to .c.o transformation
28870 rule that generates a .ci file for each .o file and remove
28871 explicit .c.o rules except for callfuncs.o.
28872 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
28873 generates a .ci file for each .o file and remove explicit
28874 .cc.o rules.
28875 (clean): Remove *.tmp *.ci files.
28876 (EXECUTABLES): Remove templ-info.exp.
28877 * gdb.base/compiler.c: New file.
28878 * gdb.c++/compiler.cc: New file
28879 * gdb.base/scope.exp: Source gdb.base/scope.ci.
28880 Change rs6000-*-* xfail for
28881 "print 'scope0.c'::filelocal_ro" and
28882 "print 'scope1.c'::filelocal" and
28883 "print 'scope1.c'::filelocal_bss" and
28884 "print 'scope1.c'::filelocal_ro" and
28885 "print 'scope1.c'::foo::funclocal" and
28886 "print 'scope1.c'::foo::funclocal_ro" and
28887 "print 'scope1.c'::bar::funclocal" and
28888 "print 'scope0.c'::filelocal_ro" and
28889 "print 'scope1.c'::filelocal at foo" and
28890 "print 'scope1.c'::filelocal_bss at foo" and
28891 "print 'scope1.c'::filelocal_ro at foo" and
28892 "print 'scope1.c'::foo::funclocal at foo" and
28893 "print 'scope1.c'::foo::funclocal_bss at foo" and
28894 "print 'scope1.c'::foo::funclocal_ro at foo" and
28895 "print 'scope1.c'::bar::funclocal at foo" and
28896 "print 'scope0.c'::filelocal_ro" and
28897 "print 'scope1.c'::filelocal" and
28898 "print 'scope1.c'::filelocal_bss" and
28899 "print 'scope1.c'::filelocal_ro" and
28900 "print 'scope1.c'::foo::funclocal" and
28901 "print 'scope1.c'::foo::funclocal_bss" and
28902 "print 'scope1.c'::foo::funclocal_ro" and
28903 "print 'scope1.c'::bar::funclocal" and
28904 "print 'scope1.c'::bar::funclocal_bss"
28905 to only be xfail'd when not compiled with gcc.
28906 Add rs6000-*-* xfail for
28907 "print 'scope0.c'::filelocal_bss before run"
28908 when compiled with gcc.
28909 (test_at_main): Add rs6000-*-* xfail for
28910 "print filelocal_ro in test_at_main"
28911 when compiled with gcc.
28912 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
28913 Add rs6000-*-aix* xfail for
28914 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
28915 "ptype t_char_array", not compiled with gcc.
28916 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
28917 xfail for "list foo (in include file)" when gcc compiled.
28918 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
28919 (integral_args): Add rs6000-*-* xfail for
28920 "run to call0a" if not compiled with gcc.
28921 (unsigned_integral_args): Add rs6000-*-* xfail for
28922 "run to call1a" if not compiled with gcc.
28923 (float_and_integral_args): Add rs6000-*-* xfail for
28924 "run to call2a" if not compiled with gcc and for
28925 "continue to call2b" for any compiler.
28926 Add rs6000-*-* xfail to
28927 "print f1 after run to call2a" for gcc compiled.
28928 (discard_and_shuffle): Add rs6000-*-* xfail for
28929 "run to call6a".
28930 (shuffle_round_robin): Add rs6000-*-* xfail for
28931 "backtrace from call7a" if not compiled with gcc.
28932 Add rs6000-*-* xfail for
28933 "backtrace from call7b" if compiled with gcc.
28934 (call_after_alloca): Add rs6000-*-* xfail for
28935 "print c in call_after_alloca" and
28936 "print s in call_after_alloca" and
28937 "backtrace from call_after_alloca_subr"
28938 if not compiled with gcc.
28939 (localvars_in_indirect_call): Add rs6000-*-* xfail for
28940 "print c in localvars_in_indirect_call" and
28941 "print c in localvars_in_indirect_call" and
28942 "backtrace in indirectly called function" and
28943 "stepping into indirectly called function"
28944 if not compiled with gcc.
28945 (localvars_after_alloca): Add rs6000-*-* xfail for
28946 "print c after runto localvars_after_alloca" and
28947 "print s after runto localvars_after_alloca" and
28948 "print i after runto localvars_after_alloca" and
28949 "print l after runto localvars_after_alloca"
28950 for all compilers.
28951 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
28952 than whatis-info.exp.
28953 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
28954 than opaque-info.exp.
28955 Setup rs6000-*-* xfail for
28956 "ptype on opaque struct pointer (statically)" and
28957 "ptype on opaque struct pointer (dynamically)" when
28958 not compiled with gcc.
28959 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
28960 rather than callf-info.exp.
28961 (do_function_calls): Add clear_xfail for rs6000-*-* for
28962 "p t_float_values2(3.14159,float_val2)". Seems to work
28963 fine there, both with xlc and gcc. Need to find out what
28964 it is doing right and fix other platforms.
28965 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
28966 "call inferior func with struct - returns int",
28967 "call inferior func with struct - returns long",
28968 "call inferior func with struct - returns float",
28969 "call inferior func with struct - returns double",
28970 "call inferior func with struct - returns char *",
28971 but only if not gcc compiled (presumes xlc compiled).
28972 Change rs6000-*-* xfails for
28973 "call inferior func with struct - returns char" and
28974 " call inferior func with struct - returns short" to only
28975 xfail if not using gcc.
28976 (clean mostlyclean): Remove *.ci and *.tmp files.
28977 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
28978 than templ-info.exp.
28979 * gdb.base/langs.exp: Source gdb.base/langs.ci.
28980 Add rs6000-*-* xfail for "up to foo in langs.exp"
28981 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
28982 when not gcc compiled.
28983
28984 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
28985
28986 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
28987 * gdb.base/corefile.exp: Likewise.
28988 * gdb.base/list.exp: Likewise.
28989 * gdb.base/scope.exp: Likewise.
28990 * gdb.base/siganls.exp: Likewise.
28991
28992 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
28993 compiler output.
28994 * gdb.base/whatis.exp: Likewise.
28995
28996 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
28997
28998 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
28999 failure (opcode table has been fixed to match reality).
29000
29001 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
29002
29003 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
29004 "call inferior func with struct - returns char",
29005 "call inferior func with struct - returns short"
29006
29007 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
29008 "print 'scope0.c'::filelocal at main",
29009 "print 'scope0.c'::filelocal_bss in test_at_main",
29010 "print 'scope0.c'::filelocal at foo",
29011 "print 'scope0.c'::filelocal_bss in test_at_foo",
29012 "print 'scope0.c'::filelocal at bar",
29013 "print 'scope0.c'::filelocal_bss in test_at_bar"
29014
29015 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
29016 in source file 1". This bug seems to have been fixed with both
29017 gcc and native cc (was native assembler bug?).
29018
29019 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
29020
29021 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
29022 "backtrace through signal handler" to "i*86-*-sysv4*".
29023 * gdb.base/signals.exp: Add xfail for "'next' behaved as
29024 continue" case. Add "known SVR4 bug" to fail message.
29025 Add "i*86-*-bsdi2.0" xfail for "handle all print".
29026 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
29027 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
29028 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
29029 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
29030 "up to foo in langs.exp", "show language at foo in
29031 langs.exp", "up to cppsub_ in langs.exp", "show
29032 language at cppsub_ in langs.exp", "up to fsub in
29033 langs.exp", and "show language at fsub in langs.exp".
29034 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
29035 "bactrace in corefile.exp".
29036 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
29037 "call inferior function with struct - returns float" and
29038 "call inferior function with struct - returns double".
29039
29040 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
29041
29042 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
29043 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
29044 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
29045 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
29046
29047 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
29048
29049 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
29050 (or overriden) "CHILL" macro rather then bare "gcc".
29051 Also look for ../../gcc/xgcc since that is what we will
29052 actually need, not "Makefile". Remove following assignment
29053 of CHILL to CHILL_FOR_TARGET because that results in
29054 recursive definition.
29055
29056 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
29057
29058 * gdb.base/corefile.exp: Change xfail for backtrace in
29059 corefile.exp from linuxaout to all linux.
29060 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
29061 cases where we miss the breakpoint at the signal handler
29062 for some reason. Setup xfail for linuxoldld/linuxaout and
29063 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
29064 hitting SIGURG breakpoint.
29065 * gdb.base/signals.exp: Setup xfail for "next" acting like
29066 continue to add linuxoldld. Setup xfail for all linux for
29067 "next to handler in signals_tests_1", "backtrace in
29068 signals_tests_1", "continue to func1", "pass SIGUSR1",
29069 and continue to handler".
29070
29071 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
29072
29073 * Update all FSF addresses except those in COPYING* files.
29074
29075 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
29076
29077 * gdb.base/a2-run.exp: Change messages to be more explicit about
29078 the status of args, and quote binfile in results.
29079
29080 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
29081
29082 * gdb.base/callfuncs.exp: Add tests for passing structs to
29083 inferior functions and return various types.
29084 * gdb.base/callfuncs.c: Add functions to receive a struct
29085 and return a member of the struct, in various types.
29086
29087 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29088
29089 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
29090
29091 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
29092
29093 * config/vxworks29k.exp: New file, sources vxworks.exp.
29094
29095 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29096
29097 * config/gdbremote.exp: New file. Testing framework using
29098 gdbserver.
29099
29100 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
29101
29102 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
29103 "call function when asleep" and "send end of file".
29104 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
29105 for "backtrace in corefile.exp".
29106 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
29107 for "backtrace through signal handler".
29108 * gdb.base/corefile.exp: Make sure we actually generate a core file
29109 before trying the core tests. Some systems allow the user to suppress
29110 generation of core files and default to that (linux for example).
29111 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
29112 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
29113
29114 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29115
29116 * gdb.threads: New directory with some crude multi-threaded
29117 gdb tests (step.exp and step2.exp).
29118 * config/mt-lynx (STEP_EXECUTABLE): Define.
29119 (THREADFLAGS): Define.
29120
29121 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
29122
29123 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
29124
29125 * gdb.base/signals.exp: Disable whole file for lynx until
29126 further notice.
29127
29128 * gdb.base/signals.exp: xfail test where "next" acts like
29129 "continue" for lynx.
29130
29131 * gdb.base/interrupt.exp: xfail test for calling function while
29132 inferior is asleep for lynx.
29133
29134 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
29135 than one cr-lf after each command.
29136
29137 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29138
29139 * configure.in: Reinstate setting of stabsdirs variable, fix
29140 typo in setting up configdirs for native builds.
29141
29142 * gdb.base/return.exp: Fix typo in return double test.
29143 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
29144 compiler from optimizing them away.
29145
29146 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
29147
29148 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
29149 sequences to be echo'd by gdb when using gdb_test.
29150 * gdb.chill/chexp.exp: Likewise.
29151 * gdb.fortran/exprs.exp: Likewise
29152
29153 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29154
29155 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
29156 after the inferior gdb has started.
29157
29158 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
29159 after each command.
29160 * gdb.base/funcargs.exp: Likewise.
29161 * gdb.base/gdbvars.exp: Likewise.
29162 * gdb.base/interrupt.exp: Likewise.
29163 * gdb.base/list.exp: Likewise.
29164 * gdb.base/watchpoint.exp: Likewise.
29165 * gdb.c++/demangle.exp: Likewise.
29166 * gdb.c++/inherit.exp: Likewise.
29167 * gdb.chill/chexp.exp: Likewise.
29168 * gdb.fortran/exprs.exp: Likewise.
29169
29170 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
29171 test if we can't handle IO to/from the inferior.
29172
29173 * gdb.c++/misc.exp: Always check for a program already being
29174 started after sending a "run" command to gdb.
29175
29176 * gdb.base/twice.exp: Start with a fresh gdb.
29177
29178 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
29179 only depend on gdb's expression code, not the chill runtime.
29180
29181 * gdb.base/return.c: Put return values into variables so we
29182 can have gdb print them rather than depending on the program
29183 to print them.
29184 * gdb.base/return.exp: Corresponding changes.
29185
29186 * lib/gdb.exp: Provide default value for noinferiorio.
29187 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
29188 the inferior.
29189
29190 * gdb.base/break.exp: Always check for a program already being
29191 started after sending a "run" command to gdb.
29192 (text_next_with_recursion): Don't check the output from the
29193 program's printf statement. Instead just make sure the program
29194 exited.
29195
29196 * gdb.base/commands.exp: Protect tests which need arguments with
29197 $noargs conditionals.
29198
29199 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29200
29201 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
29202 of structure member arrays to match gdb/valops.c:value_addr change.
29203
29204 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
29205
29206 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
29207 cases.
29208
29209 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
29210
29211 * configure.in (configdirs): Remove gdb.chill from default list
29212 of subdirs and then add it back in only if doing a native build.
29213 The current chill compiler does not yet work in any cross build.
29214 * Revert all signal changes from Jul 6.
29215 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
29216 for sh-hms targets, allowing these tests to link, with no other
29217 changes. Testing is suppressed by setting "nosignals" in site.exp.
29218
29219 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
29220
29221 * configure.in (signaldirs): Define and add to configdirs for all
29222 targets except some specific ones that are known to not support signals.
29223 Also clean up formatting.
29224 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
29225 (signals, sigall): Remove rules to build.
29226 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
29227 Moved to new gdb.signals directory.
29228 * gdb.signals: New test directory.
29229 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
29230 signals.c signals.exp}: New or moved files.
29231
29232 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
29233
29234 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
29235
29236 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
29237
29238 * gdb.base/return.exp: Xfail `return double' test failure
29239 on at least Solaris 2.3 and handle future/past versions on
29240 a case by case basis as appropriate. Also update message
29241 to include i*86 failures.
29242
29243 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29244
29245 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
29246
29247 * lib/gdb.exp: Fix comment which erroneously identified
29248 gdb_file_cmd as gdb_load (the 19 May change was in fact to
29249 gdb_file_cmd not gdb_load).
29250 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
29251
29252 * gdb.base/setvar.exp: Make test names consistent between pass and
29253 fail cases. Use gdb_test more.
29254
29255 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29256
29257 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
29258
29259 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29260
29261 * gdb.base/help.exp: Fix expected help string for `show commands'.
29262
29263 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
29264
29265 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
29266
29267 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
29268 of a text section.
29269
29270 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
29271
29272 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
29273 that loop eventually terminates. Fix Connection refused logic so
29274 that testsuite will expire nicely.
29275
29276 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
29277
29278 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
29279 config/rom68k.exp: New tcl glue for the appropriate monitors.
29280 These all just end up calling monitor.exp.
29281 * config/monitor.exp (gdb_target_monitor): Handle `Connection
29282 refused' by retrying. Cleanup some timeout issues.
29283 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
29284 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
29285 callers don't have to set/restore global timeout variable.
29286
29287 * The following set of changes centralizes management of the global
29288 timeout variable. This way, it can be set in one target dependent
29289 place instead of dozens of places scattered throughout the test suite.
29290 If you need to lengthen a timeout, then you should either set timeout
29291 in one of the config/{target}.exp files, or multiply it by a factor.
29292 Setting it to an absolute value is always going to lose for some
29293 targets.
29294 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
29295 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
29296 * gdb.base/funcargs.exp: Don't set timeout.
29297 * gdb.base/list.exp (test_forward_search): Only use local timeout.
29298 * gdb.base/printcmds.exp (test_print_string_constants
29299 test_print_array_constants): Don't set timeout.
29300 * gdb.base/ptype.exp: Don't set timeout.
29301 * gdb.base/recurse.exp: Don't set timeout.
29302 * gdb.base/return.exp: Don't set timeout.
29303 * gdb.base/watchpoint.exp: Don't set timeout.
29304 * gdb.c++/classes.exp (do_tests): Don't set timeout.
29305 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
29306
29307 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
29308
29309 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
29310
29311 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29312
29313 * lib/gdb.exp: Disable chill tests for irix5.
29314
29315 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29316
29317 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
29318 each test pass or fail.
29319
29320 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29321
29322 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
29323 xlc not gcc.
29324
29325 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
29326
29327 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
29328
29329 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
29330
29331 * config/est.exp: Fix copyright and comments. Remove dead code.
29332 Use targetname, serialport and baud variables instead of fixed
29333 constants.
29334 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
29335 * config/cpu32bug.exp: New file to support cpu32bug monitors.
29336
29337 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29338
29339 * gdb.base/watchpoint.exp: Don't run
29340 test_watchpoint_triggered_in_syscall for sunos.
29341
29342 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29343
29344 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
29345 they don't seem to exist. Do include stdio.h.
29346
29347 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29348
29349 * gdb.base/a1-selftest.exp: Add alpha xfail.
29350
29351 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29352
29353 * gdb.base/watchpoint.c (main): Prompt before calling read().
29354 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
29355 Revise accordingly. Remove cruft about sending "123" several
29356 times, until it gets noticed. Clean up the "print buf[0]" stuff
29357 so that it passes or fails, and waits for prompts in the usual way.
29358
29359 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29360
29361 * gdb.base/recurse.exp: Fix comment.
29362
29363 * TODO: Remove item about printing variables in nodebug.exp. Add
29364 item about enabling tests which are only run on some targets.
29365
29366 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
29367 fail, make test names unique, use new gdb_test convention
29368 regarding pattern, use gdb_test more, etc.).
29369
29370 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
29371 fail, make test names unique, etc.).
29372
29373 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29374
29375 * gdb.base/nodebug.c: Change return type of top and middle to
29376 short.
29377 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
29378 are fixed by the recent mdebugread.c changes. Allow `short ()'
29379 as type for top and middle.
29380
29381 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29382
29383 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
29384 nearly as I can tell, the whole thing was an accident in Stu's
29385 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
29386 to replace a send/expect pair with gdb_test, but ended up only
29387 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
29388 of 30 Mar 1995 took care of it, but left this vestigial comment
29389 which I am now nuking.
29390
29391 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29392
29393 * gdb.base/break.exp: Look for different line number for
29394 breakpoint at main depending on usestubs.
29395
29396 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29397
29398 * gdb.base/list.exp: Adjust some alternate expect patterns to
29399 match recent list0.c change. Add alternate expect pattern for
29400 output from `list default lines around main' for optimizing
29401 compilers.
29402
29403 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29404
29405 * lib/gdb.exp: If nosignals is not set, set it to 0.
29406
29407 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
29408
29409 * config/slite-gdb.exp: Responds to load symbol table prompt.
29410 * gdb.base/break.exp: Adjust line number, fix rerun.
29411 * gdb.base/langs0.c: Add #ifdef usestubs.
29412
29413 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
29414
29415 * gdb.base/list.exp: Adjust line contents after adding new lines in
29416 list0.c. Also fix a syntax error.
29417
29418 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
29419 * gdb.base/break.exp: ditto.
29420 * gdb.base/list.exp: ditto.
29421 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
29422 * gdb.base/run.c: ditto.
29423 * gdb.base/list0.c: ditto.
29424 * gdb.base/funcargs.c: ditto.
29425
29426 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
29427
29428 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
29429 $targetname, $serialport and $baud instead of hardwired variables.
29430 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
29431 target doesn't support signals.
29432
29433 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
29434
29435 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
29436
29437 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29438
29439 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
29440 Don't rely on the value of an auto variable before it has been
29441 initialized. Use gdb_test more.
29442
29443 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29444
29445 * lib/gdb.exp (default_gdb_version): A version number must start
29446 with a digit, but other than that contains all characters up to
29447 the first whitespace character.
29448
29449 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29450
29451 * gdb.base/commands.exp (breakpoint_command_test): New tests.
29452
29453 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29454
29455 * gdb.c++/*.exp: Warn if executable does not exist. The original
29456 reason for skipping the warning was that configure.in sometimes
29457 intentionally skipped building the executables but the tcl code
29458 had no way of knowing. That (a) was always bogus with respect to
29459 error handling, (b) is no longer true (right now there is no way
29460 to skip C++ tests).
29461
29462 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
29463
29464 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29465
29466 * gdb.base/list.exp: Add expect patterns for output from
29467 SunPRO compiled executables.
29468 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
29469 types.
29470
29471 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29472
29473 * gdb.base/break.exp (test_next_with_recursion): Accept any line
29474 number (we are already testing that the correct source line text
29475 gets printed).
29476
29477 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
29478 that is what is intended, but something needed to be done to get
29479 sunos4 native working again.
29480
29481 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
29482
29483 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
29484 apparently went with a (very) old xfail.
29485
29486 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
29487
29488 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
29489 runto_main is a proc in gdb.exp that will do 'step' for target use
29490 stubs.
29491 * gdb.base/exprs.exp: ditto.
29492 * gdb.base/interrupt.exp: ditto.
29493 * gdb.base/opaque.exp: ditto.
29494 * gdb.base/printcmds.exp: ditto.
29495 * gdb.base/ptype.exp: ditto.
29496 * gdb.base/scope.exp: ditto.
29497 * gdb.base/setvar.exp: ditto.
29498 * gdb.base/signals.exp: ditto.
29499 * gdb.base/twice.exp: ditto.
29500 * gdb.c++/classes.exp: ditto.
29501 * gdb.c++/inherit.exp: ditto.
29502 * gdb.c++/templates.exp: ditto.
29503 * gdb.base/break.exp: no run and hit main for stubs. Change line
29504 numbers for breakpoints and info breakpoint.
29505 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
29506 breakpoint().
29507 * gdb.base/callfuncs.c: ditto.
29508 * gdb.base/exprs: ditto.
29509 * gdb.base/interrupt.c: ditto.
29510 * gdb.base/opaque0.c: ditto.
29511 * gdb.base/printcmds.c: ditto.
29512 * gdb.base/ptype.c: ditto.
29513 * gdb.base/scope0.c: ditto.
29514 * gdb.base/setvar.c: ditto.
29515 * gdb.base/signals.c: ditto.
29516 * gdb.base/twice.c: ditto.
29517 * gdb.c++/misc.cc: ditto.
29518 * gdb.c++/templates.cc: ditto.
29519
29520 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29521
29522 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
29523
29524 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
29525 somewhere between `read' and `main.c'. I'm pretty sure the
29526 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
29527 and it isn't particularly useful.
29528
29529 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
29530
29531 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29532
29533 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
29534
29535 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
29536
29537 * config/mt-slite: add LIBS and -nostdlib.
29538 * config/slite-gdb.exp: add this new file to support sparclite target.
29539
29540 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
29541
29542 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
29543
29544 * gdb.base/a2-run.exp: Change argument to istarget from
29545 "*-*-vxworks" to "*-*-vxworks*".
29546 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
29547
29548 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
29549
29550 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
29551 will not runto main but do a 'step' to step out of breakpoint().
29552 * config/mt-slite: add -Dusestubs.
29553
29554 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29555
29556 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
29557 instead of just @.
29558
29559 * gdb.base/signals.exp: Add test for "handle all print".
29560 * TODO: Remove "handle all print". Also remove item about
29561 checking copyright date (I don't like the idea of a spurious FAIL
29562 based on when we run the tests).
29563
29564 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
29565 for SunOS4 (reason for failure not investigated). Remove
29566 redundant test for $binfile.
29567
29568 * gdb.base/nodebug.c (array_index): Call malloc.
29569
29570 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
29571
29572 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
29573
29574 * gdb.base/recurse.exp: Update gdb_test invocation to use new
29575 conventions and slightly simplify the matching regexp.
29576
29577 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29578
29579 * gdb.base/break.exp: Update gdb_test invocation to use new
29580 convention.
29581
29582 * lib/gdb.exp: If noargs is not set, set it to 0.
29583
29584 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
29585 tests unique.
29586
29587 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
29588
29589 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29590
29591 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
29592 one argument of type "<non-float parameter>".
29593
29594 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
29595
29596 * config/rom68k.exp: New file to support Motorola IDP board.
29597 * gdb.base/a2-run.exp: Skip this file if noargs is set.
29598 * gdb.base/break.c: Change things around so that this program
29599 doesn't depend upon args. This is necessary to make remote
29600 targets work (in general, they can't take args).
29601 * gdb.base/break.exp: Don't try to send args to program. Don't
29602 expect output. Also, replace lots of code with gdb_test.
29603
29604 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29605
29606 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
29607 printing of '\'' (which is what the comment says we are testing,
29608 even though we were not), not '''.
29609 (test_integer_literals_rejected): Test that printing ''' is an error.
29610
29611 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
29612 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
29613 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
29614 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
29615 Use gdb_test not test_print_accept.
29616 * lib/gdb.exp: Remove test_print_accept.
29617
29618 * gdb.base/signals.exp (signal_tests_1): Make pass message
29619 consistent with fail message.
29620
29621 * gdb.base/whatis.exp: Remove xfails for printing char vs.
29622 unsigned char; the bug (PR 1821) is fixed.
29623
29624 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
29625
29626 * gdb.base/scope.exp (test_at_localscopes): Call pass for
29627 successful tests--makes xfailing them work right.
29628
29629 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29630
29631 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
29632 only \r\n, not .*. The test can pass .* as the last thing in
29633 $pattern if that is what it wants. In addition to providing this
29634 flexibility, this change should speed up pattern matching in cases
29635 where the pattern already ended with .* (there were a number of
29636 them). This change also helps catch bad patterns--in the old
29637 scheme the typo "char \*" instead of "char \\*" would pass. Now
29638 it is caught.
29639 * Many .exp files: Update callers.
29640
29641 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
29642 clearer and does not spuriously match multiple ('s. Likewise for
29643 ) and *.
29644
29645 * gdb.base/nodebug.exp: Test ability to call a function and pass
29646 it a string (even with no debugging info).
29647
29648 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
29649 "p '\'", which is the same as "p ''" once tcl gets done with
29650 quoting, to "p '\\'", which I suspect is what is intended (one
29651 backslash gets sent to GDB).
29652
29653 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
29654
29655 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29656
29657 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
29658 1817) was fixed literally years ago.
29659
29660 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29661
29662 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
29663 test, it causes stepping out of call_after_alloca_subr with
29664 optimizing compilers.
29665 (localvars_in_indirect_call): Consume GDB prompt if `finish'
29666 fails.
29667
29668 * gdb.c++/templates.exp: Source templ-info.exp only if
29669 the templates executable exists.
29670
29671 * gdb.c++/misc.cc (class Contains_static_instance,
29672 class Contains_nested_static_instance),
29673 gdb.c++/classes.exp (test_static_members): Test printing of
29674 a class that contains a static instance of the class.
29675
29676 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29677
29678 * gdb.base/langs2.c (cppsub_): Don't prototype.
29679 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
29680 only, I believe).
29681
29682 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29683
29684 * lib/gdb.exp (skip_chill_tests): New procedure.
29685
29686 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
29687
29688 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
29689
29690 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
29691 each expect pattern. Cuts runtime from 12 to about 4 seconds.
29692
29693 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29694
29695 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
29696
29697 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
29698 disassemble 8, not 16, instructions for part 4.
29699
29700 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
29701 support the latter anymore.
29702
29703 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
29704 -DNO_PROTOTYPES.
29705 * gdb.base/callfuncs.c: Control use of prototypes based on
29706 NO_PROTOTYPES, not __STDC__.
29707 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
29708 t_float_values2 tests if prototypes in use.
29709
29710 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
29711 t_double_values): When checking differences against DELTA, check
29712 that difference is within the range (-DELTA,DELTA), not just
29713 (-infinity,DELTA).
29714
29715 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
29716
29717 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
29718 'file' command firts, then 'target', then 'load', this is due to gdb
29719 target set up.
29720 * config/mips-gdb.exp: Fix a couple regular exp bugs.
29721
29722 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
29723
29724 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
29725 FP load/store variants.
29726 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
29727
29728 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
29729
29730 * gdb.base/term.exp: Do not give a warning if not native, it is
29731 not an abnormal condition.
29732
29733 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
29734
29735 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
29736 t_char_array".
29737
29738 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
29739
29740 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
29741 are getting the version number.
29742
29743 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
29744 if not native, it is not an abnormal condition.
29745
29746 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29747
29748 * lib/gdb.exp: Just use "file exists", rather than undocumented
29749 dejagnu procedure "findfile".
29750
29751 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
29752
29753 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
29754 (LDFLAGS): Set to -Xlinker -Ur.
29755
29756 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
29757 Removed, these values are set by lib/gdb.exp.
29758
29759 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
29760
29761 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
29762
29763 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
29764 of replicating gdb startup code.
29765
29766 * config/mt-vxworks (LDFLAGS): Set to -r.
29767 (CFLAGS_FOR_TARGET): Removed.
29768
29769 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
29770 (gdb) and gdb for vxworks uses (vxgdb).
29771
29772 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
29773 executable is not in the tree and host != target, use sed and
29774 program_transform_name to determine the gdb name used by the
29775 target.
29776
29777 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
29778 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
29779
29780 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29781
29782 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
29783 floats, chars, and shorts where there are ANSI-style function
29784 definitions.
29785
29786 * gdb.base/langs.exp, gdb.base/langs*: New test.
29787 * gdb.base/Makefile.in: Build it.
29788 * TODO: Remove item about checking that C names don't get C++
29789 demangling applied; this test tests it.
29790
29791 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29792
29793 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
29794 went with the const70 xfail. The xfail went away a year ago.
29795
29796 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
29797
29798 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
29799 for hp300.
29800
29801 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
29802
29803 * gdb.base/a1-selftest.exp: Don't run on hp300.
29804
29805 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29806
29807 * Makefile.in (site.exp): Set host_alias and target_alias as well
29808 as host_triplet and target_triplet.
29809
29810 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29811
29812 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
29813
29814 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
29815 places as other ecoff systems).
29816
29817 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
29818 ultrix.
29819
29820 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29821
29822 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
29823 remove them.
29824 * gdb.base/nodebug.exp: Accept "function" in addition to "text
29825 variable and "variable" in addition to "data variable".
29826 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
29827
29828 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
29829 2.
29830 * gdb.base/list1.c (long_line): Add additional statement at start
29831 of function.
29832 * gdb.base/list.exp (test_forward_search): Update line number to
29833 reflect new statement.
29834
29835 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29836
29837 * gdb.base/signals.exp: Reinitialize searched source directories
29838 after gdb_start call.
29839
29840 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
29841
29842 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
29843 * gdb.stabs/Makefile.in: Likewise.
29844
29845 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
29846 change. Instead split the tests into smaller pieces.
29847 * gdb.disasm/hppa.s: Corresponding changes.
29848
29849 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29850
29851 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
29852 Quote ^C when passing it to stty. For some shells ^ is a pipe.
29853
29854 * gdb.base/funcargs.exp: Modify many tests so that every test
29855 either passes or fails. Make some test names unique.
29856
29857 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29858
29859 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
29860 Call stty to set interrupt character.
29861
29862 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
29863 for HP assembler versus GNU assembler based on actual behavior of
29864 $(CC), rather than assuming that $(AS) is always the GNU assembler.
29865
29866 * TODO: Suggest a few more stepping tests.
29867
29868 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
29869
29870 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
29871 restart GDB for h8300 after a continue.
29872 (return): Add pattern to match a29k-udi behavior.
29873 * gdb.base/nodebug.exp: Remove obsolete comment.
29874 * gdb.base/regs.exp: New file, testing of register displays.
29875 * gdb.base/return.exp: Fix typo in reference to $objdir.
29876 * gdb.base/whatis.exp: Always start with a fresh GDB.
29877
29878 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29879
29880 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
29881 higher, these tests generate a lot of output.
29882
29883 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29884
29885 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
29886 code following the catch silently ignored some errors; without the
29887 catch they should be thrown like any other tcl error. Also, the
29888 catch used "" instead of {} which meant all the callers who wanted
29889 to include one of the characters "[]$ had to quote it an extra time.
29890 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
29891 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
29892 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
29893 Remove extra quoting.
29894
29895 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
29896
29897 * gdb.base/commands.exp: Make test names unique; every test either
29898 passes or fails. Update some comments.
29899
29900 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
29901
29902 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29903
29904 The following fixes a FAIL caused by the fact that the alpha stabs
29905 configuration didn't use the ".if alpha" code in weird.def.
29906 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
29907 bit pointer, so the 32 bit version works even on the alpha.
29908 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
29909 Remove the stuff which allowed us to have separate versions for
29910 alpha and everything else.
29911
29912 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
29913 regexp which "info func operator\[\](" is supposed to match. Fix
29914 string to send to GDB. Note that GDB still doesn't work right. Add a
29915 new test for "info func .perator\[\](" which GDB does handle correctly.
29916
29917 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
29918
29919 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29920
29921 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
29922 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
29923 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
29924 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
29925 it makes the tests harder to understand and confuses test-o-matic.
29926 The preferred style is that each test provides a PASS or a FAIL,
29927 and has a unique message (e.g. "continue #54" not just "continue")
29928 which is the same for the pass and the fail.
29929 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
29930 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
29931 to lib/gdb.exp.
29932 * gdb.base/printcmds.exp: Use test_print_accept. Remove
29933 prt_accept which was basically the same thing. Likewise for
29934 test_print_reject and prt_reject.
29935 * lib/gdb.exp (test_print_reject): Add some more error message
29936 patterns to match from the former printcmds.exp (prt_reject).
29937 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
29938 One defect of the passcount stuff is that some of it failed to
29939 report XPASS where appropriate.
29940 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
29941 stuff before and after arg in expected pattern.
29942 (test_paddr_operator_functions): Re-do test without print_addr_of;
29943 this is the only test which seems to want extra stuff there.
29944
29945 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29946
29947 * gdb.base/nodebug.exp: Update new tests to reflect improved
29948 wording of gdb output.
29949
29950 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
29951 and "ptype" work on variables in files compiled without -g.
29952 Replaces commented out "maint print msymbol" tests.
29953
29954 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29955
29956 * gdb.base/setvar.c (dummy): Call malloc.
29957
29958 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
29959 losing with the irix4 sed.
29960
29961 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
29962 ALRM" on irix4.
29963
29964 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29965
29966 * TODO: Remove items about corefile.exp testing new exec-file and
29967 backtrace; both are now done. Add items about printing enums.
29968
29969 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29970
29971 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
29972 "get signal $thissig" test fails.
29973
29974 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
29975
29976 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29977
29978 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
29979 compiler warning with dec alpha compiler.
29980
29981 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
29982 extra \n from gdb_test call (this explains why the prompt test
29983 that I removed yesterday was there).
29984 (user_defined_command_test): Remove extra \n and prompt test.
29985
29986 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
29987 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
29988 doesn't exist.
29989 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
29990 Also remove alpha workaround, which turns out to be because
29991 SIGABRT == SIGLOST.
29992
29993 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
29994
29995 * gdb.base/help.exp: Don't test "help show".
29996
29997 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29998
29999 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
30000 "set print address" is on.
30001 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
30002 pass prompt to gdb_test; gdb_test already looks for the prompt.
30003
30004 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
30005
30006 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
30007 was a vestige of the manual TESTSTRATEGY, and the purpose of it
30008 was to make sure that gdb can read a core file. But (a) the "read
30009 the corefile" part didn't make it to a1-selftest.exp, we just
30010 delete the corefile after creating it, and (b) we test reading
30011 corefiles in corefile.exp anyway. Also, this test left around a
30012 xgdb process on Solaris.
30013
30014 * gdb.base/corefile.exp: Also test backtrace.
30015
30016 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
30017
30018 * gdb.base/commands.exp: Test a simple user defined command with
30019 arguments and if/while statements; verify the full user command is
30020 printed by "show user".
30021
30022 * gdb.base/commands.exp: Test if/while commands as part of a
30023 breakpoint command list; verify they appear in breakpoint
30024 information.
30025
30026 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30027
30028 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
30029 than by dividing by zero.
30030
30031 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
30032
30033 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
30034 performing an inferior call with watchpoints enabled.
30035 * gdb.base/watchpoint.c (main): Delete second unnecessary read
30036 call.
30037
30038 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30039
30040 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
30041 of "file" command.
30042
30043 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
30044 Add additional pattern for when "int operator int(void);" appears
30045 in a different order.
30046
30047 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30048
30049 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
30050
30051 * gdb.base/help.exp: Replace most of docstrings for "info signals"
30052 and "signal" with ".*".
30053
30054 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30055
30056 * TODO: Add note about "handle all nostop".
30057
30058 * gdb.base/{sigall.c, sigall.exp}: New test.
30059 * gdb.base/Makefile.in: Add it.
30060
30061 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
30062
30063 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
30064 when invoking GDB, suppresses any windowing interface.
30065
30066 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
30067
30068 * config/sim-gdb: New file, simulator testing support.
30069
30070 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
30071
30072 * gdb.base/interrupt.exp: Test calling func1 twice.
30073
30074 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
30075
30076 * gdb.base/list.exp (test_forward_search): Set timeout higher
30077 when we'll be getting lots of output from gdb.
30078
30079 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
30080 "init_malloc" to after the expect statement. Run it if that
30081 regexp is taken, but also for two others which happen if source
30082 cannot be found.
30083
30084 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30085
30086 * gdb.base/printcmds.exp: New test, for printing register before
30087 program is running.
30088
30089 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30090
30091 * gdb.base/list.exp: Correct some alternate expect patterns
30092 to reflect changes in list1.c.
30093
30094 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30095
30096 * TODO: Add item regarding large frames.
30097
30098 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
30099
30100 * TODO: Remove item about enabling return.exp; it
30101 is enabled. Suggest a few more "return" tests.
30102
30103 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30104
30105 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
30106 anonymous unions.
30107
30108 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30109
30110 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
30111 and pr-5646.o, so "make" is the same as "make all", not "make
30112 pr-4975.o".
30113
30114 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
30115
30116 * gdb.base/list.exp: Adjust expectations to reflect changes in
30117 list1.c.
30118 (test_forward_search): New test proc.
30119 * gdb.base/list1.c (long_line): New function, has long source line.
30120
30121 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
30122
30123 * gdb.base/a1-selftest.exp: Change initial stepping to know about
30124 additional line of code that was added.
30125
30126 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
30127
30128 * gdb.disasm/hppa.s: Break the large branching tests into smaller
30129 tests so as not to overflow expect's input buffers.
30130 * gdb.disasm/hppa.exp: Corresponding changes.
30131
30132 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30133
30134 Beginnings of template debugging tests.
30135 * gdb.c++/templ-info.cc: New file to test for template
30136 debugging capability of the compiler.
30137 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
30138 templ-info.cc.
30139 * gdb.c++/templates.cc: Add explicit template instantiations
30140 to enable compiling with -fno-implicit-templates. Add destructor
30141 and 'value' method to T5 class for template tests.
30142 * gdb.c++/templates.exp: Add testcases for printing of template
30143 types, setting breakpoints on template methods and calling a
30144 template method.
30145
30146 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
30147
30148 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
30149 branch target since some assemblers (gas-2.5) may emit a
30150 relocation for the branch instead of resolving it in the
30151 assembler.
30152
30153 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30154
30155 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
30156 through signal handler.
30157
30158 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30159
30160 * configure.in (*-*-netware): Use config/mt-netware.
30161
30162 * config/mt-netware: New file.
30163 * config/mt-i386-netware: Removed, separate configs for different
30164 netware architectures are no longer needed now that we have
30165 --with-headers.
30166
30167 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30168
30169 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
30170 by the recent changes to use ANSI C arithmetic conversions.
30171
30172 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30173
30174 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
30175 bug involving using inferior_pid to figure out whether to select a
30176 frame.
30177
30178 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
30179
30180 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
30181 match the current disassembler output.
30182
30183 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
30184
30185 * gdb.fortran/exprs.exp: Expect VOID instead of void.
30186 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
30187 types, expect "int" as type of integer values (for now).
30188
30189 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
30190
30191 * gdb.base/commands.exp: New tests for if/while commands.
30192
30193 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
30194
30195 * lib/gdb.exp (runto): Replace sub-pattern for hex value
30196 by .*, since hex values have different syntax in Chill mode.
30197
30198 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30199
30200 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
30201 linefeed from expect pattern for repeated types with indices > 9.
30202
30203 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
30204
30205 First part of Fortran test suite.
30206 * gdb.fortran: New directory.
30207 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
30208
30209 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30210
30211 * gdb.base/default.exp: Update expect pattern for load command
30212 without arguments.
30213
30214 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
30215
30216 * configure.in: Change i386 to i[345]86.
30217 * gdb.base/configure.in: Likewise.
30218 * gdb.c++/configure.in: Likewise.
30219 * gdb.chill/configure.in: Likewise.
30220
30221 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
30222
30223 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
30224 patterns, since that is not a valid context for comments.
30225
30226 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
30227
30228 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
30229 repeated types and repeated types with indices > 9.
30230
30231 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
30232
30233 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
30234 2417; old bug has been fixed.
30235
30236 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
30237
30238 * gdb.base/interrupt.exp: When trying to wake up the inferior,
30239 send the newline ourselves instead of assuming gdb_test will do
30240 so when passed an empty input string.
30241
30242 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
30243 stabs testcode.
30244
30245 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30246
30247 * lib/gdb.exp (gdb_test): Don't send anything if the first
30248 argument is an empty string. This makes cases where we want to
30249 match output that is already in expect's buffers (for example,
30250 matching a breakpoint after gdb_run_cmd has been called) work
30251 reliably.
30252
30253 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30254
30255 * config/netware.exp: New file.
30256
30257 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30258
30259 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
30260 the -B and -L prefixes so we can find the debugging stub.
30261
30262 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
30263 there and we are using the gcc from the tree.
30264
30265 * gdb.base/types.c: Removed.
30266
30267 * gdb.base/configure.in: Look for makefile fragments in ../config.
30268 Recognize i386-*-netware.
30269 * gdb.c++/configure.in: Likewise.
30270
30271 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30272
30273 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
30274 the correct TCL syntax.
30275
30276 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30277
30278 * gdb.base/opaque.exp: use runto instead of messing around with
30279 breakpoints. Simplify by using gdb_test.
30280
30281 * gdb.base/bitfields.exp: restart between tests on netware targets
30282 because breakpoints aren't relocated after target death. Run
30283 processes to completion.
30284
30285 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
30286
30287 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
30288
30289 * Makefile.in: Remove extra tabs that confuse some versions
30290 of "make". Use the newly built gdb to test with by default,
30291 rather than the first one in the tester's search path.
30292
30293 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
30294
30295 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
30296
30297 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
30298 condition help.
30299
30300 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30301
30302 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
30303
30304 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
30305 running.
30306 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
30307 * gdb.base/funcargs.exp: Likewise.
30308
30309 * gdb.base/bitfields.exp: Simplify by using gdb_test.
30310 * gdb.base/funcargs.exp: Likewise.
30311
30312 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
30313 message is "".
30314
30315 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30316
30317 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
30318 return,signals,twice}.exp: Handle non-existant binaries
30319 consistantly.
30320
30321 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
30322 * gdb.base/Makefile.in: Don't try to generate a core dump, we
30323 might testing a cross development system.
30324
30325 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30326
30327 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
30328 runtest script is relative to ${srcdir}, not ${rootdir}.
30329
30330 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
30331
30332 * gdb.base/signals.exp: Allow for optionality of breakpoint
30333 address.
30334
30335 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30336
30337 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
30338
30339 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30340
30341 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
30342 for size_t definition.
30343 * gdb.c++/templates.cc: Likewise
30344
30345 * config/mt-i386-netware: New file.
30346
30347 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
30348 defined.
30349
30350 * gdb.base/Makefile.in: Added support for systems that name core
30351 files by appending "core" to the program name.
30352 * gdb.base/a1-selftest.exp: Likewise.
30353
30354 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30355
30356 * gdb.base/return.exp: Add comment and message for `return double'
30357 test failure on Sparc Solaris.
30358
30359 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
30360
30361 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
30362
30363 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30364
30365 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
30366 from optimizing them away.
30367 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
30368 patterns to include default constructors and assignment operators,
30369 to match gcc versions beyond 2.5.8. Accept any cplus demangling
30370 character in the output of the virtual base pointer.
30371
30372 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30373
30374 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
30375 expression match in print_addr_of to avoid unintented matches.
30376 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
30377 versions up to 2.5.8.
30378
30379 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30380
30381 * gdb.base/list.exp: Tweak alternate pattern for listing of an
30382 included file to run under newer versions of expect.
30383 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
30384 consecutive >'s in templates to accomodate recent cplus-dem.c change.
30385 Remove xfail for the virtual table of BDDHookV.
30386
30387 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
30388
30389 * lib/gdb.exp (string_to_regexp): Set a default result.
30390 (default_gdb_start): Fix misleading message.
30391
30392 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
30393
30394 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
30395 Remove all CC, etc definitions.
30396 * config/mt-hpux: New file.
30397 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
30398 (CFLAGS, LDFLAGS): Define.
30399 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
30400
30401 * Makefile.in (site.exp): Don't insert host_os, etc.
30402 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
30403 (distclean): Check existence of subdir.
30404 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
30405 * gdb.base/Makefile.in: General cleanup and simplification.
30406 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30407 to build executables. Use default rule to build .o files.
30408 (EXPECT, RUNTEST, CC): Fix relative pathname.
30409 (site.exp): Don't insert host_os, etc.
30410 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
30411 and/or SIGUSR1 defined.
30412 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
30413 * gdb.c++/Makefile.in: General cleanup and simplification.
30414 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30415 (CFLAGS): Remove.
30416 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
30417
30418 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
30419
30420 * gdb.base/recurse.exp: Misc changes to get tests running again
30421 after Kung's changes to the watchpoint code.
30422 * gdb.base/watchpoint.exp: Likewise.
30423
30424 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
30425
30426 * lib/gdb.exp (string_to_regexp): Convert {\} also.
30427
30428 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
30429
30430 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
30431 * lib/gdb.exp (default_gdb_start): Define.
30432 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
30433 gdb.base/funcargs.exp, gdb.base/opaque.exp,
30434 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
30435 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
30436 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
30437 Don't call gdb_target_udi in between tests.
30438
30439 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30440
30441 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
30442 (which was basically just a local version of the same thing). In
30443 addition to avoiding duplication, gdb_test_exact is faster.
30444 * lib/gdb.exp (gdb_test_exact): Fix typo.
30445
30446 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
30447 don't give an error.
30448
30449 * gdb.base/term.exp: Call delete_breakpoints before starting.
30450
30451 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
30452 (t10): Add comment.
30453
30454 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
30455
30456 Reorganization of the GDB Test Suite.
30457
30458 * gdb.base: New directory, contains all the basic tests.
30459 * gdb.c++: New directory, tests specific to C++.
30460 * gdb.chill: New directory, tests specific to Chill.
30461 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
30462 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
30463 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
30464 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
30465 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
30466 t30-31 to chill).
30467 * */gdbme.*: Rename to match appropriate expect scripts.
30468 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
30469 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
30470 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
30471 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
30472 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
30473 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
30474 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
30475 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
30476 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
30477 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
30478 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
30479 gdb.c++/virtfunc.cc: New names of C++ files.
30480 * gdb.chill/chillvars.ch: New name of Chill file.
30481 * gdb.base/configure.in, gdb.c++/configure.in,
30482 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
30483 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
30484 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
30485 * configure.in (configdirs): Update to reflect directory changes.
30486 (target_abbrev): No longer define for any configuration.
30487 * Makefile.in: Cosmetic improvements to header comments.
30488
30489 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
30490
30491 Various changes to gdb.t31:
30492
30493 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
30494 * gdbme.ch: Make all key-words and predefineds be upper-case.
30495 * chillvars.exp: Expect key-words and predefinds in upper-case.
30496
30497 * chillvars.exp: Use gdb_test_exact many places.
30498 Change expected output for arrays (which now includes index labels).
30499
30500 * pr-5020.exp, gdme.ch (module PR_5020):
30501 New test, for PR-5020.
30502
30503 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
30504
30505 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
30506 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
30507
30508 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
30509
30510 * Makefile.in: Fix bit-rot in definitions of CHILL,
30511 CHILL_FOR_TARGET and Chill_LIB.
30512 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
30513 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
30514 CHILL, and CHILL_LIB.
30515
30516 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
30517
30518 * Revert the previous changes. Please see Rob's directory
30519 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
30520
30521 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
30522
30523 * Makefile.in, configure.in, config/mips-gdb.exp,
30524 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
30525 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
30526 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
30527 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
30528 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
30529 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
30530 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
30531 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
30532 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
30533 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
30534 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
30535 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
30536 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
30537 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
30538 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
30539 changes from 94Q1.
30540
30541 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
30542
30543 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
30544 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
30545 Rob's new testing fragments.
30546
30547 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
30548
30549 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
30550 lib/gdb.exp: Replace error proc calls with perror.
30551
30552 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
30553
30554 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
30555 version also, match on casted version strings, and match on
30556 gdb startup case where the line numbers might be messed up.
30557
30558 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
30559
30560 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
30561 (CFLAGS): Delete it from here.
30562
30563 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
30564
30565 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
30566
30567 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
30568
30569 * Makefile.in (RUNTEST): Default to just "runtest".
30570
30571 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30572
30573 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
30574 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
30575 the code has been restructured.
30576
30577 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30578
30579 * gdb.t00/default.exp (set write): Allow any number of \r and/or
30580 \n, not just one of each.
30581
30582 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
30583 /bin/cc gives a warning if you do.
30584
30585 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
30586
30587 * gdb.t24/demangle.exp: change expect pattern of
30588 __t10ListS_link1ZUiRCUiPT0
30589
30590 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30591
30592 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
30593 on local variables in recursive functions.
30594
30595 * gdb.t07/Makefile.in: Build the new test.
30596
30597 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30598
30599 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
30600 directly. Instead compare the return values from actual calls.
30601
30602 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
30603
30604 * Makefile.in (check): Set TCL_LIBRARY for runtest.
30605
30606 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30607
30608 * From Peter Schauer with minor modifications.
30609 * gdb.t15/return.exp (return_tests): Handle targets where "return"
30610 stops in mid-line in the caller. Add xfail for returning a float
30611 value on X86 targets.
30612
30613 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30614
30615 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
30616 to avoid expect lossage.
30617 (fmem_LRbug_tests): Likewise.
30618 * gdb.disasm/hppa.s: Corresponding changes.
30619
30620 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
30621 conditions to work with latest dejagnu/expect.
30622
30623 * gdb.t15/funcargs.exp (finish from indirect call): No longer
30624 expected to fail on the PA.
30625 (backtrace in call with trampolines): Explicitly require main
30626 to be frame #1 (no trampolines should show up in backtrace).
30627
30628 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
30629 "continue -expect".
30630 * gdb.t06/break.exp: Likewise.
30631 * gdb.t07/watchpoint.exp: Likewise.
30632 * gdb.t13/bitfields.exp: Likewise.
30633 * gdb.t15/{funcargs,return}.exp: Likewise.
30634 * gdb.stabs/weird.exp: Likewise.
30635 * config/{mips,udi}-gdb.exp: Likewise.
30636
30637 * hppa.sed: Enclose comments within a sed command to avoid
30638 losing with the old OSF1 sed.
30639
30640 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30641
30642 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
30643 sequent dynix.
30644 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
30645 * gdb.t15/funcargs.exp: Conditionally step again to really
30646 finish from marker_call_with_trampolines. Handle the case where
30647 the first step from within call_with_trampolines already steps
30648 us back to main.
30649 * gdb.t15/gdbme.c: Add comment to closing brace of
30650 call_with_trampolines for funcargs.exp.
30651
30652 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30653
30654 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
30655 Fix typo(s).
30656
30657 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30658
30659 * gdb.t07/gdbme.c: More code for watchpoint testing.
30660
30661 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
30662 "Hardware watchpoint" throughout file.
30663 (test_watchpoint_triggered_in_syscall): New test.
30664 (test_complex_watchpoint): New test.
30665
30666 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30667
30668 * gdbme.c (call_with_trampolines): New function to try and step
30669 into. Tests trampoline problems on the PA.
30670
30671 * funcargs.exp (localvars_in_indirect_call): No longer expect
30672 stepping into indirect call to fail on PAs.
30673 (test_stepping_over_trampolines): New test.
30674
30675 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30676
30677 * TODO: Add suggestions for static member function tests, and
30678 completion tests.
30679
30680 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30681
30682 * TODO: Add suggestions for "p/a" tests.
30683
30684 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
30685 (default_gdb_exit): Replace all the hair with sending "quit" to
30686 the process with a simple close.
30687
30688 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30689
30690 * TODO: Add suggestions for shared library tests.
30691
30692 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30693
30694 * TODO: Add suggestions for x/s tests.
30695
30696 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30697
30698 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
30699 "enable once", and "enable breakpoints once" with ".*".
30700
30701 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30702
30703 * TODO: Add suggestions about structure passing tests.
30704
30705 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30706
30707 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
30708 the primary1 test, use work around if __GNUC__ < 2.
30709 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
30710 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
30711 Test for bad output rather than waiting for timeout. Issue
30712 second continue only if first continue failed.
30713
30714 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30715
30716 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
30717 operator[] test with gdb_test because the old code didn't seem to
30718 be getting the quoting right with the new dejagnu.
30719
30720 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
30721
30722 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
30723 one from the path.
30724 * Makefile.in: Use a fresh expect if there is one, use runtest
30725 from the src tree if there is one.
30726
30727 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30728
30729 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
30730 next over recursive call. Revise the tests from that point on
30731 (which had been skipped) to match GDB's actual (correct) output.
30732
30733 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
30734 with next over a breakpoint whose condition is false.
30735
30736 * gdb.t00/help.exp: Comment out "help set print" tests just like
30737 (and for same reason as) "help set" test.
30738
30739 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30740
30741 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
30742 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
30743
30744 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30745
30746 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
30747 necessary gdb_target_udi.
30748
30749 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
30750
30751 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
30752 1838 and 2417; they are fixed.
30753
30754 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
30755 gdb.t03/ptype.exp (ptype structure, ptype union):
30756 Remove xfails; the test is looser than when the xfails were added.
30757
30758 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
30759 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
30760
30761 * gdb.t01/run.exp: Only run shell test if isnative.
30762
30763 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
30764 since "run" automatically loads if necessary. Call gdb_target_udi
30765 after the "file" since "file" kills any execution target.
30766
30767 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
30768 GDB. GDB doesn't work that way (not anymore at least) on UDI.
30769 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
30770 argument for UDI.
30771
30772 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30773
30774 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
30775
30776 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
30777
30778 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30779
30780 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
30781 properly quoting regexps. This makes the second argument to
30782 demangle a fixed string, which matches the callers, instead of a
30783 shell-style pattern which is what the previous implementation
30784 used. Update some of the callers.
30785
30786 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30787
30788 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
30789 (comib_nullified_tests): Fix typo.
30790 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
30791 strings. No longer expected to fail.
30792
30793 * gdb.disasm/hppa.s (addib_tests): Fix typo.
30794 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
30795 strings. No longer expected to fail.
30796
30797 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
30798 string. No longer expected to fail.
30799
30800 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30801
30802 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
30803 No longer expected to fail.
30804
30805 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
30806 string. No longer expected to fail.
30807
30808 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30809
30810 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
30811 only in the names (I probably got most of them). I was even
30812 generous with some which differed in underscores in names, and
30813 probably missed a few, and I *still* was able to remove almost a
30814 third of the file with almost no impact on testsuite coverage.
30815
30816 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30817
30818 * gdb.t00/default.exp: Match udi_attach error message as well as
30819 the one from child_attach.
30820
30821 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
30822
30823 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
30824
30825 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
30826 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
30827
30828 * Move test with enums and partial symbols back to
30829 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
30830 Reverts the change of 26 May 93. Per today's change to
30831 stabs.texinfo, the behavior that weird.exp was expecting was
30832 unreasonable; what is important is that the compiler+gdb get
30833 things right, which happens with a recent gcc. Also fix the test
30834 to deal with native compilers which put out the stab gdb can't
30835 deal with.
30836
30837 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30838
30839 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
30840 in the names. The main thing these accomplish is to slow things down.
30841 Many more such duplicates surely remain.
30842
30843 * gdb.t00/help.exp: Comment out "help support" test just like
30844 (and for same reason as) "help set" test.
30845
30846 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
30847
30848 * gdb.t06/break.exp: Remove setup_xfails for
30849 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
30850 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
30851 about known bug in gcc to include up through 2.5.8.
30852 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
30853 well as "_vb$".
30854 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
30855 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
30856 with latest gcc and gdb.
30857 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
30858 well as "_vb$".
30859
30860 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30861
30862 * configure.in (hppa*-*-*): Also configure and build stabs-only
30863 tests.
30864
30865 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30866
30867 * gdb.t10/hppa.mt: A makefile fragment for the PA.
30868 * gdb.t10/configure.in (hppa*-*-*): Use it.
30869
30870 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30871
30872 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
30873
30874 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30875
30876 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
30877 versions prior to 1.13.5.
30878
30879 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30880
30881 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
30882 the prompt is at the start of a line.
30883
30884 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30885
30886 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
30887 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
30888 in the copr tests now.
30889 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
30890 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
30891 expected to fail.
30892
30893 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
30894
30895 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
30896 gdb.t31/chillvars.exp, lib/gdb.exp:
30897 Tweak to run under either version of expect.
30898 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
30899 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
30900 * gdb.t11/list.exp: Remove extraneous whitespace.
30901
30902 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30903
30904 * gdb.t16/printcmds.exp (test_print_strings): Accept
30905 "(unsigned char *) " before the string.
30906
30907 * TODO: Add notes about printing of fancy types and GDB expressions.
30908
30909 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
30910
30911 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
30912 * gdb.t06/configure.in: Don't try to compile signals test program
30913 if doing mips-idt-ecoff.
30914
30915 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
30916
30917 * Most .exp files: Tweak to run under either version of expect.
30918
30919 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30920
30921 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
30922 xfails; I'm not sure why they are failing, but not because of PR 1806.
30923
30924 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
30925
30926 * config/unix-gdb.exp: Remove gdb_unload cause it's already
30927 defined in lib/gdb.exp.
30928
30929 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30930
30931 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
30932 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
30933 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
30934 have to be typeless.
30935
30936 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30937
30938 * TODO: Add suggestion for copyright year test.
30939
30940 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
30941
30942 * configure.in (*-*-lynxos*): Add stabs tests.
30943
30944 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
30945
30946 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
30947 so insert a tab before any assembler directive in column zero.
30948
30949 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
30950 stores.
30951 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
30952 stores.
30953 (fpu_short_memory_tests): Likewise.
30954
30955 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30956
30957 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
30958 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
30959 .stabs directives in comments.
30960
30961 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30962
30963 * TODO: New file, describing tests we could write.
30964 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
30965
30966 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30967
30968 * gdb.t06/signals.exp: Add kludge to force re-sync.
30969
30970 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
30971 to xgdb instead of gdb, get out of gdb.
30972
30973 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
30974
30975 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
30976 for info.
30977
30978 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
30979
30980 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
30981 * gdb.stabs/configure.in (hppa*-*-*): Use it.
30982 * gdb.stabs/hppa.sed: New sed script for the PA.
30983
30984 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30985
30986 * gdb.stabs: Re-write weird.def and configuration to use sed
30987 instead of cpp. sed is portable and POSIX; cpp is neither.
30988
30989 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30990
30991 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
30992
30993 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30994
30995 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
30996
30997 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30998
30999 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
31000 "_vb$".
31001 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
31002 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
31003
31004 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31005
31006 * lib/gdb.exp: Comment out code which depends on non-existent
31007 `transform' procedure.
31008
31009 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
31010
31011 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
31012 * lib/gdb.exp: Transform tool name.
31013 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
31014 1.1's new error handling system.
31015
31016 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31017
31018 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
31019
31020 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31021
31022 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
31023 They made pattern matching so slow that timeouts happened on
31024 heavily loaded systems. Now any output from "show print" which
31025 gets us back to the GDB prompt is a PASS.
31026
31027 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
31028
31029 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
31030
31031 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31032
31033 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
31034
31035 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
31036 It is not from PR 3220.
31037
31038 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31039
31040 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
31041 just started failing because they depended on the order the
31042 subcommands are presented, or exact docstring text. This kind of
31043 test is a pain and has minimal benefit.
31044
31045 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31046
31047 * gdb.t09/corefile.exp: At end of test, use "core" command with
31048 no arguments.
31049
31050 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
31051
31052 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
31053 17}/Makefile.in: Make it possible to run the testsuite with Sun
31054 make and CC = cross gcc by adding explicit build rules for .o
31055 files.
31056
31057 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31058
31059 * gdb.t15/funcargs.exp: Don't put comments on same line as
31060 setup_xfail (@#$*%& tcl braindamage!).
31061
31062 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31063
31064 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
31065
31066 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
31067
31068 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
31069 * gdb.t20/inherit.exp: remove three dumplicate entries.
31070
31071 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31072
31073 * gdb.t06/break.exp: For "next over recursive call", fail on any
31074 incorrect output, not just on "factorial (value=2)".
31075
31076 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31077
31078 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
31079 working now. Add an xfail if accesing a bss variable causes
31080 a memory error if the target is not yet run.
31081
31082 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31083
31084 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
31085 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
31086 name of __st* demangling (2 strings). Did Kung really get the
31087 more than 95 others right without testing them?
31088
31089 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
31090
31091 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
31092
31093 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
31094
31095 * configure.in (configdirs): Add gdb.disasm
31096 * gdb.disasm: New directory for GDB disassembler tests.
31097 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
31098
31099 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31100
31101 * gdb.t00/help.exp: Don't test "help set".
31102
31103 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
31104 from within expect statements. None of these happen anymore and
31105 they cause regressions to be silently unnoticed.
31106
31107 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
31108 messages) about known failures with gcc cygnus-2.4.5-930417.
31109
31110 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
31111 comp-info.exp so it gets built if it doesn't exist.
31112
31113 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
31114 it is no longer used.
31115 * gdb.t13/comp-info.c: Removed.
31116
31117 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31118
31119 * gdb.t06/signals.exp: Add xfail for sun3.
31120
31121 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31122
31123 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
31124 relevant because ^C doesn't get sent but failure can be reproduced
31125 interactively).
31126
31127 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31128
31129 * gdb.stabs/alpha.mt: New configuration file for alpha.
31130 * gdb.stabs/configure.in: Use it.
31131 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
31132 sharing with alpha.mt, redefine long to word via preprocessor.
31133 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
31134 for alpha.
31135 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
31136 native cc.
31137 * gdb.t00/teststrategy.exp: Change expect string so that we
31138 consume the `(xgdb)' from the command echo and from the gdb prompt.
31139 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
31140 gdb currently compares all values as long, so this failure probably
31141 applies to any configuration where LONGEST is bigger than a target int.
31142 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
31143 with gcc.
31144 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
31145 to handle opaque pointers, gcc is.
31146 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
31147 as first argument. Include <sys/types.h> and change all operator
31148 new definitions to use size_t.
31149 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
31150 now that we use size_t.
31151
31152 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31153
31154 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
31155 a long or float array cast all array members to the same type.
31156 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
31157 with 64 bit longs.
31158 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
31159 on alpha.
31160 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
31161
31162 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31163
31164 * gdb.t24 (demangle.exp): Constructors of templates have names like
31165 vector<int>::vector(int) not vector<int>::vector<int>(int). See
31166 section 14.6 of the ARM.
31167
31168 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
31169 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
31170 accomplish little and slow down the testsuite.
31171
31172 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
31173 Accept spaces various places.
31174
31175 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31176
31177 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
31178 with watchpoint enabled.
31179
31180 * Makefile.in: Remove definition of CC and remove the second
31181 definition of CXX (the "CXX = gcc" one remains). These definitions
31182 were causing backquotes to be expanded within backquotes, which
31183 doesn't work.
31184
31185 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
31186
31187 * gdb.t17/callfuncs.exp: Add "return 0" to end.
31188
31189 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31190
31191 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
31192 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
31193 by mips cc and contains no stabs entries.
31194
31195 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
31196
31197 * config/vx-gdb.exp: Use fake device to load files rather than
31198 NFS.
31199 * lib/gdb.exp: New proc to do "file" command.
31200 * config/unix-gdb.exp: Use new "file" proc.
31201
31202 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
31203
31204 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
31205 Rework board rebooting slightly.
31206 (gdb_exit): Don't exit from the remote shell; there isn't one.
31207 * gdb.stabs/weird.exp: If a program is being debugged already,
31208 kill it.
31209 * gdb.t04/setvar.exp: Stop and restart gdb.
31210 * gdb.t05/expr.exp: Likewise.
31211 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
31212 restart gdb and reload the program.
31213 * gdb.t08/opaque.exp: Likewise.
31214 * gdb.t12/scope.exp: Likewise.
31215 * gdb.t13/bitfields.exp: Likewise.
31216 * gdb.t15/funcargs.exp: Likewise.
31217 * gdb.t20/classes.exp: Likewise.
31218 * gdb.t03/ptype.exp: Increase timeout.
31219 * gdb.t16/printcmds.exp (test_print_string_constants,
31220 test_print_array_constants): Likewise.
31221 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
31222 * gdb.t20/classes.exp (do_tests): Likewise.
31223 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
31224
31225 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
31226
31227 * gdb.stabs: Renamed *wierd* to *weird*.
31228
31229 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
31230
31231 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
31232 for timeout. Add "known gcc 2.4.5 bug" to failure message.
31233
31234 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
31235
31236 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
31237 (do_tests): Remove xfail for whatis on one_var and two_var.
31238
31239 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
31240
31241 * Makefile.in: Made cross building work better by adding
31242 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
31243
31244 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31245
31246 * gdb.t15/{return.c,return.exp,Makefile.in}:
31247 New test, currently commented out.
31248
31249 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
31250
31251 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
31252 still running and removes the leftover named socket so GDb can do
31253 clean restarts.
31254
31255 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
31256
31257 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
31258 console, not GDB.
31259 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
31260 cross testing works better with "make check"
31261 * config/unix-gdb: Use default procedures for exit and version.
31262 * config/vx-gdb.exp: Cleaned up and massaged back to working order
31263 with the newest VxWorks.
31264
31265 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31266
31267 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
31268 old form.
31269
31270 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
31271 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
31272
31273 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
31274
31275 * config/unix-gdb.exp: Remove this version of gdb_exit
31276 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
31277 Rob says he'll look at it when he gets back to testing boards.
31278
31279 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
31280
31281 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
31282 an expected fail for certain ptype commands.
31283
31284 * gdb.t20/classes.exp: Update expected results of "ptype class
31285 Base1" to account for the constructor that now appears in the type.
31286
31287 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
31288
31289 * configure.in (configdirs): Restore gdb.t04, which mysteriously
31290 disappeared from list.
31291 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
31292 "alldone" proc with call to cleanup and exit.
31293 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
31294 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
31295 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
31296 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
31297 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
31298 "alldone" proc with simple returns that suppress remaining
31299 tests. The alldone proc went away many months ago.
31300
31301 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31302
31303 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
31304
31305 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
31306
31307 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31308
31309 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
31310 as vax gdb will display them.
31311
31312 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31313
31314 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
31315 optimizers.
31316
31317 * scope.exp: Change "bad value for localval" messages so each one
31318 is unique.
31319
31320 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
31321 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
31322
31323 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
31324
31325 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31326
31327 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
31328 doesn't exist (due to optimization).
31329
31330 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31331
31332 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
31333 contains \r because the filename is long.
31334
31335 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
31336 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
31337
31338 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31339
31340 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
31341 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
31342 Ultrix.
31343 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
31344 int tests.
31345 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
31346
31347 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
31348
31349 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
31350
31351 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
31352 to match does not match the passing case but still matches the
31353 failing case.
31354
31355 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31356
31357 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
31358
31359 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
31360
31361 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
31362 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
31363 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
31364 Remove various versions of gdb_exit.
31365 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
31366 gdb_exit.
31367 * config/unix-gdb.exp: gdb_exit remains here, and should override
31368 the generic version, since it's doing a lot of wierd stuff that
31369 the other versions aren't. FIXME, fold it in, or abandon this
31370 version.
31371
31372 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31373
31374 * gdb.t24/demangle.exp: Add tests for PR 3220.
31375
31376 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31377
31378 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
31379
31380 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
31381
31382 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
31383 "i386-*-*". Works for i486 as well.
31384
31385 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
31386 bug, and expand domain of xfail to all SVR4 systems, since the
31387 actual problem is likely to be in generic SVR4 /proc support.
31388
31389 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31390
31391 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
31392
31393 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
31394
31395 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
31396 xfails for other systems. Match a missing 'Continuing.' as an
31397 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
31398
31399 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
31400 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
31401 Only issue warning for missing executables if -all option is used.
31402
31403 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
31404 file if -all option is used. It's like an unpredictable XFAIL.
31405
31406 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31407
31408 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
31409 for dynamically linked binaries.
31410
31411 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
31412
31413 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31414
31415 * gdb.t20/inherit.exp: Change message for "print tagless struct"
31416 to state that this is a known bug in old versions of g++.
31417
31418 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31419
31420 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
31421 while waiting for `Continuing'.
31422
31423 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
31424
31425 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
31426 in text, data, and bss.
31427 * gdb.t10/nodebug.c: Add local and global test variables for
31428 initialized and uninitialized data.
31429
31430 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31431
31432 * config/unix-gdb.exp (gdb_exit): Add "wait".
31433
31434 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31435
31436 * gdb.t06/signals.exp: xfail the continue from the handler for all
31437 targets.
31438
31439 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
31440 function with watchpoints enabled, the i386 call dummy starts with
31441 a call.
31442
31443 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
31444 386 bsd names its corefiles.
31445
31446 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
31447
31448 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
31449 compilers don't grok it.
31450 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
31451 with small octal ints rather than character constants, which
31452 are signed and might not fit if first promoted to int.
31453
31454 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
31455
31456 * gdb.t09/Makefile.in (clean): Remove corefile.
31457
31458 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31459
31460 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
31461
31462 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31463 and Jim Kingdon (kingdon@cygnus.com)
31464
31465 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
31466 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
31467 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
31468
31469 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31470
31471 * gdb.t17/interrupt.exp: Add xfail for hppa.
31472
31473 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31474
31475 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
31476 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
31477 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
31478 to determine signed-ness of bitfields and use the result to setup
31479 the xfail.
31480 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
31481 * gdb.t15/funcargs.exp: Use them to step until the second indirect
31482 call line is reached if necessary.
31483
31484 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31485
31486 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
31487
31488 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31489
31490 * gdb.t06/break.exp: Also test `clear' command.
31491
31492 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31493
31494 * gdb.t00/teststrategy.exp: Remove extra quote.
31495
31496 * gdb.t07/watchpoint.exp: Change xfail for calling function with
31497 watchpoint enabled to be for all non-68k machines.
31498
31499 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
31500
31501 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31502
31503 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
31504 targets use aout.mt instead of ecoff.mt as gas understands
31505 standard aout format.
31506
31507 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31508
31509 * lib/gdb.exp (runto): Don't insist that function we are running to
31510 was compiled with -g.
31511
31512 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
31513
31514 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
31515 to get back into the read system call.
31516 Accept leading newline in case where we woke it up.
31517
31518 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31519
31520 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
31521 to make the stabs test work on ecoff systems using gcc and -with-stabs.
31522 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
31523 enable ecoff configuration.
31524
31525 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31526
31527 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
31528
31529 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31530
31531 * gdb.t16/printcmds.exp: Add another printf test.
31532
31533 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
31534
31535 * configure.in: If configured -with-stabs on any target, add
31536 stabsdirs to configdirs.
31537
31538 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31539
31540 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
31541 fun" so pattern does not match the command itself.
31542
31543 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31544
31545 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
31546
31547 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31548
31549 * gdb.t17/interrupt.exp: Test for more things.
31550
31551 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31552
31553 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
31554 compiler arranges the code and line numbers.
31555
31556 * gdb.t17/interrupt.exp: Don't send \n after ^C.
31557
31558 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31559
31560 * gdb.t00/help.exp: Increase expect input buffer size.
31561
31562 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31563
31564 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
31565
31566 * gdb.t07/watchpoint.exp: Add xfail for hppa.
31567
31568 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
31569
31570 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
31571 [0-9]*, not just [0-9].
31572
31573 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31574
31575 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
31576
31577 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
31578
31579 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31580
31581 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
31582
31583 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31584
31585 * gdb.t06/signals.c: Add xfails for sun3.
31586
31587 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
31588
31589 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
31590 test_stepping tests.
31591
31592 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31593
31594 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
31595
31596 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
31597
31598 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
31599 rather than actually putting it through cpp twice.
31600
31601 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
31602
31603 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
31604
31605 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
31606 no longer needed.
31607
31608 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31609
31610 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
31611
31612 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
31613 C++ features prints as "struct", make it a pass, not an xfail.
31614
31615 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31616
31617 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
31618 Don't require VA to print as "class" rather than "struct".
31619
31620 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
31621
31622 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
31623
31624 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31625
31626 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
31627
31628 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31629
31630 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
31631 order.
31632
31633 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31634
31635 * gdb.t16/printcmds.exp: Add printf tests.
31636
31637 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
31638
31639 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
31640
31641 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
31642
31643 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
31644 pass counts, to counteract any existing or future setup_xfails.
31645
31646 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31647
31648 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
31649 {BEGIN,END}_COMMON for common block instead of STAB.
31650 * gdb.stabs/wierd.exp: Add xfail for rs6000.
31651
31652 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
31653 intp_var should be N_GSYM not N_LSYM.
31654 wierd-aout.S: Use a label for the value of the N_SO.
31655 wierd.def: Remove all backslashes.
31656 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
31657
31658 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31659
31660 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
31661 get the expected next to inheritance3.
31662
31663 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31664
31665 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
31666 now that gcc-2.4 gets it right.
31667
31668 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31669
31670 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
31671
31672 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
31673 generating comp-info.exp which works for cross-compilation.
31674
31675 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
31676
31677 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
31678 "*-*-sysv4.*".
31679
31680 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
31681
31682 * gdb.t01/run.exp: Start with a fresh gdb.
31683 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
31684 SVR4.x.
31685
31686 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
31687
31688 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
31689 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
31690 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
31691 Makefile.in (distclean, realclean): Remove gdbme.c from list of
31692 things to remove.
31693
31694 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
31695
31696 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
31697 test cases from bug reports.
31698
31699 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
31700
31701 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
31702 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
31703 avoid spurious xfails.
31704 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
31705 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
31706 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
31707
31708 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
31709
31710 * gdb.t00/teststrategy.exp: Rework to provide more useful
31711 description of each test, fix problem with systems that define
31712 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
31713 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
31714 results for "next over recursive call" so timeouts aren't taken
31715 by error.
31716
31717 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
31718
31719 * gdb.t12/scope.exp: Test printing of variables before run.
31720
31721 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
31722 printed in wrong order due to sorting.
31723
31724 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
31725
31726 * gdb.t00/teststrategy.exp: Fix expected results for printing
31727 user entered string constant. Is array of char, prints with no
31728 address.
31729
31730 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
31731 commands.
31732 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
31733 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
31734 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
31735 of struct of char arrays.
31736 * gdb.t00/radix.exp: New tests for radix commands.
31737
31738 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
31739
31740 * gdb.t16/printcmd.exp: Print a variable before running program
31741 (with xfail for AIX).
31742
31743 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
31744
31745 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
31746
31747 * gdb.t16/printcmd.exp: Don't print variables before running program.
31748
31749 * gdb.t06/break.exp: Don't require envp argument to main.
31750
31751 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
31752
31753 * gdb.t02/whatis.exp, gdb.t11/list.exp:
31754 Add xfails for rs6000.
31755
31756 * gdb.t02/whatis.exp: Change other tests not to re-test something
31757 we already tested.
31758
31759 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
31760 each type used has a variable of that type.
31761
31762 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
31763
31764 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
31765
31766 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
31767
31768 * configure.in: change srctrigger to be a file, not a directory
31769
31770 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
31771
31772 * configure.in (mips-idt-ecoff*): Added trailing '*'.
31773
31774 * gdb.t11/list.exp: Fixed a couple of typos.
31775
31776 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
31777
31778 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
31779 is fixed and PR is closed.
31780 * gdb.t16 (gdbme.c): Add simple test string variable.
31781 * gdb.t16 (printcmds.exp): Add tests with simple test string
31782 variable, primarily for boundaries on "set print elements".
31783
31784 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
31785
31786 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
31787 Make leading 0's optional and don't expect a tab in the middle
31788 of the number.
31789
31790 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
31791
31792 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
31793 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
31794 don't end command passed to gdb_test with newline.
31795
31796 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
31797 signed keyword away, don't expect signed bitfields to be signed.
31798
31799 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
31800 printing with only as many 1's as are in the field as well as printing
31801 with 32 1's (see comment).
31802
31803 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
31804
31805 * gdb.t00/default.exp: Start with a fresh gdb.
31806 * configure.in (configdirs): Remove gdb.t31 until the chill
31807 compiler works again. It no longer is able to find chillrt0
31808 since it isn't in libchill.a anymore.
31809 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
31810 wierd.o, make more modular.
31811 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
31812 spurious newlines that caused problems.
31813
31814 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31815
31816 * Move test with enums and partial symbols from gdb.t03/ptype.exp
31817 to gdb.stabs/wierd.exp since GCC has worked around the bug.
31818 gdb.stabs/wierd.{exp,def}: Many new tests.
31819
31820 * gdb.t00/default.exp: update info line for new message.
31821
31822 * gdb.t02/{whatis.exp,gdbme.c}:
31823 Test that "char *" doesn't print as "caddr_t".
31824
31825 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31826
31827 * gdb.t00/help.exp: Use .* in place of some help messages which
31828 just changed.
31829 gdb.t00/default.exp: Update "info frame" test for new message.
31830 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
31831 Remove some xfails
31832
31833 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31834
31835 * gdb.t03/{gdbme.c,ptype.exp}:
31836 Add tests for typedef'd struct and union without tags.
31837 Also check "whatis" on a variable of a typedef'd enum without a tag.
31838
31839 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
31840 PRMS 1823; the bug still exists but isn't reproduced by this test
31841 anymore), and remove rs6000 XFAIL (the bug is fixed).
31842
31843 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
31844 duplicated from whatis.exp. For those that are left, accept
31845 "long", "long int", or "int" for long variables (whatis.exp already
31846 has an XFAIL for "int", so no need to fail it here).
31847
31848 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
31849 Deal with GCC's names for types now that GDB uses the compiler's names.
31850
31851 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
31852 setup_xfail's for sunos4. If we #defined the signed keyword away,
31853 don't expect GDB to know that char it is signed.
31854
31855 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
31856
31857 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
31858
31859 * configure.in (configdirs): Add gdb.t24 for C++ tests that
31860 should work on any system, regardless of debugging format.
31861 * gdb.t21/demangle.exp: Move to gdb.t24.
31862 * gdb.t24/demangle.exp: Move from gdb.t21.
31863 * gdb.t24/{Makefile.in, configure.in}: New files.
31864
31865 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31866
31867 * configure.in: Do gdb.stabs and C++ tests only for stabs.
31868 * gdb.stabs: New directory.
31869
31870 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31871
31872 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
31873 not just "Quit anyway?".
31874
31875 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
31876
31877 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
31878 that all setup_xfails are immediately followed by clear_xfails.
31879
31880 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
31881
31882 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
31883 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
31884 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
31885 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
31886 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
31887 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
31888 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
31889 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
31890 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
31891 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
31892 gdb.t31/chillvars.exp, lib/gdb.exp:
31893 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
31894 bug-gdb@prep.ai.mit.edu.
31895
31896 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
31897
31898 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
31899 with 0.0, not integer 0.
31900
31901 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
31902
31903 * gdb.t06/break.exp: Update for "Kill the program" message change.
31904
31905 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
31906
31907 * Makefile.in (GDBFLAGS): Set to -nx.
31908 * Makefile.in (site.exp): Use GDBFLAGS.
31909
31910 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
31911
31912 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
31913 Makefiles.
31914 (check): depend on just-check.
31915 (just-check): added so that tests can be run without a noop
31916 build pass.
31917
31918 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
31919
31920 Switch to using configure's configdirs.
31921 * Makefile.in (Makefile): add configure.in dependency.
31922 (SUBDIRS): removed redundant assignment.
31923 * configure.in: switch subdirs assignment to configdirs.
31924 * gdb.t*/configure.in: new files.
31925
31926 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
31927
31928 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
31929 works.
31930
31931 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
31932
31933 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
31934 in explicit rules. Apparently this is not supported by some makes.
31935
31936 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
31937
31938 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
31939
31940 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31941
31942 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
31943 disappeared.
31944
31945 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
31946
31947 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
31948
31949 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
31950
31951 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
31952 watchpoint problem that is now fixed.
31953 * gdb.t30/chexp.exp: Remove setup_xfail for printing
31954 uninitialized convenience variables.
31955 * gdb.t31/chillvars.exp: Fix expected patterns for printing
31956 structures.
31957
31958 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31959
31960 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
31961 which causes expect to get out of sync with gdb on long output
31962 from help set.
31963 * gdb.t09/corefile.exp: Make expected pattern for core file
31964 failing signal and frame output format less sun specific.
31965
31966 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
31967
31968 * gdb.t31/chillvars.exp: Add and remove initial dummy
31969 breakpoint, so that symbol table is forced in.
31970 (Needed at least on Sunos4, though it seems not SVR4.)
31971 * gdb.t31/chillvars.exp: Update for changed output format.
31972
31973 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
31974
31975 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
31976
31977 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
31978
31979 * Makefile.in: Added --srcdir when invoking runtest, removed the
31980 need for a local config file. (optional now)
31981
31982 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
31983
31984 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
31985 failure count used to force early termination. Add some more
31986 expected failures for gnu style demangling.
31987
31988 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31989
31990 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
31991 pmi variable from gdb.t20/gdbme to get optimized away.
31992 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
31993 Check for written corefile upon timeout _and_ eof.
31994
31995 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31996
31997 * config/unix-gdb.exp: Add missing return 0.
31998
31999 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32000
32001 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
32002 test termination.
32003
32004 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
32005
32006 * configure.in (subdirs): Put back gdb.t17 which mysteriously
32007 disappeared.
32008
32009 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
32010
32011 * gdb.t10/crossload.exp: Disable the i860-elf test until such
32012 time as i860 support works.
32013
32014 * gdb.t15/funcargs.exp: Fix expected outputs to include
32015 "backtrace 100\r" rather than just "backtrace\r", to match last
32016 change.
32017
32018 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
32019
32020 * config/udi-gdb.exp (gdb_exit): Remove close command.
32021 (gdb_target_udi): New procedure to set the UDI target.
32022 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
32023 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
32024 Added waits for prompts after several question responses. Added
32025 some more responses used by a29k-amd-udi-gdb.
32026 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
32027 pass different arguments, restart UDI connection after program
32028 completion.
32029 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
32030 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32031 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
32032 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
32033 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
32034 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
32035 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32036 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
32037 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
32038 after program completion.
32039 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
32040 compiled with a SELECT_VECS setting.
32041 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
32042 infinite recursion.
32043
32044 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
32045 Added checks for COFF results, and made them expected failures for
32046 all targets. It would be better to make them expected failures
32047 for COFF targets only.
32048
32049 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
32050
32051 * Makefile.in: add null dvi target, don't bother to recurse
32052 through test directories for info and install-info; rename
32053 $(datadir) to be dejagnu instead of deja-gnu
32054
32055 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
32056
32057 * gdb.t31/gdbme.ch: Re-enable code that previously caused
32058 compiler to coredump.
32059 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
32060 code.
32061
32062 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
32063
32064 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
32065 coredump.
32066 * gdb.t31/chillvars.exp: Comment out tests that depend on that
32067 code.
32068
32069 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
32070
32071 * gdb.t03/ptype.exp: tests for return code from gdb_test.
32072 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
32073 which in a shell. Deletes xgdb when done.
32074 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
32075 Tests the return from the "set height" or "set width" commands.
32076 Added a few return codes where needed.
32077
32078 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
32079
32080 * Makefile.in (SUBDIRS): Add gdb.t17.
32081 * configure.in (subdirs): Add gdb.t17.
32082 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
32083 files to test gdb's calling of functions in the inferior with
32084 the correct arguments and gdb's ability to retrieve any
32085 result returned.
32086
32087 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
32088
32089 * config/unix-gdb.exp (gdb_exit): Remove close commands that
32090 may be called after gdb goes away. Previous versions of expect
32091 needed these to avoid file descriptor leaks, but they cause
32092 errors with the current revision of expect.
32093 * gdb.t00/gdbvars.exp: Use -re on expected output after
32094 setting sevenbit-strings.
32095 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
32096 to set sevenbit-strings consistent across tests.
32097 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
32098 set sevenbit-strings consistent across tests.
32099
32100 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
32101
32102 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
32103 expected output to match current "expect" expectations.
32104
32105 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
32106
32107 * gdb.t00/default.exp: Change expected output for default "source"
32108 command, to match new gdb behavior which requires a filename to
32109 source.
32110
32111 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
32112
32113 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
32114 expected fail for i486-*-* that misses the marker2 function.
32115 * gdb.t10/crossload.exp (bfddefault): Allow successful
32116 recognition of a format to pass even if no symbols are found.
32117 Explicitly catch failures where the format is not recognized
32118 or is ambiguous, and add the reason to the fail message.
32119 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
32120 the cause is and invalid target and add reason to failure message.
32121 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
32122 elf32-i386, elf32-sparc, and elf32-i860.
32123 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
32124 Set up expected failure for 'filename'::variable scope resolution,
32125 which is now apparently broken on all targets.
32126 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
32127 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
32128 gdb.t23/templates.exp: Change failure for missing binfile into
32129 just a warning.
32130 gdb.t21/demangle.exp: Change all cfront references to 'arm'
32131 references.
32132
32133 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
32134
32135 * gdb.t00/default.exp: Add expected output for default "source"
32136 command, to match new gdb behavior.
32137 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
32138
32139 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
32140
32141 * config/*-gdb.exp: returns an error, rather than exiting on
32142 internal errors.
32143
32144 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
32145
32146 * gdb.t03/gdbme.c: Add pointer to struct variable.
32147 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
32148 referencing struct members.
32149
32150 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
32151
32152 * configure.in (mips-idt-ecoff): New target.
32153 * config/mips-gdb.exp: New file for remote board using MIPS remote
32154 debugging protocol.
32155
32156 * Redid configuration scheme. Removed gdb.t*/configure.in.
32157 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
32158 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
32159 distclean targets. Built executables via .o files. Adjusted
32160 tests to account for source files in $(srcdir) rather than
32161 $(objdir).
32162 * lib/gdb.exp (runto): Don't expect () after the function name,
32163 because it may have arguments.
32164
32165 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
32166
32167 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
32168 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
32169 expected failures for mips-idt-* and mips-sgi-*.
32170 * gdb.t00/default.exp (attach): Kill process if requested.
32171 * gdb.t00/help.exp (help target core, help target): Accept a gdb
32172 that does not read core files.
32173 * gdb.t01/run.exp: Removed checks for exit status code.
32174 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
32175 it is linked in.
32176 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
32177 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
32178 appropriate, rather than doing it by hand.
32179 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
32180 execution.
32181 * gdb.t10/crossload.exp: Kill existing program if needed.
32182 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
32183 appropriate, rather than doing it by hand. Always increase
32184 timeout for this test, not just for VxWorks.
32185
32186 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
32187
32188 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
32189 of Chill STRUCT types and STRUCT values.
32190 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
32191 than "char".
32192 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
32193 struct2): New struct definitions and initializations to test
32194 simple Chill STRUCT types.
32195
32196 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
32197
32198 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
32199 the null byte at the end of strings.
32200 * gdb.t00/default.exp: Make show version insensitive to copyright
32201 date.
32202 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
32203 to avoid dependencies on target char signedness.
32204 * gdb.t16/printcmds.exp: Update expected results for explicitly
32205 unsigned char.
32206 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
32207 now work.
32208 * gdb.t21/demangle.exp: Add many more patterns for template
32209 demangling, most of them being expected failures.
32210 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
32211 string we are matching for, to match on the whole string.
32212 * gdb.t21/demangle.exp: Add many new test strings to demangle,
32213 and fix a whole bunch that had incorrect expected output but were
32214 passing anyway because of the bug in "proc demangle".
32215 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
32216 type.
32217 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
32218
32219 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
32220
32221 * gdb/testsuite: made modifications to testcases, etc., to allow
32222 them to work properly given the reorganization of deja-gnu and the
32223 relocation of the testcases from deja-gnu to a "tool" subdirectory.
32224
32225 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
32226
32227 * gdb/testsuite: Initial creation of gdb/testsuite.
32228 Migrated dejagnu testcases and support files for testing nm to
32229 gdb/testsuite from deja-gnu. These files were moved "as is"
32230 with no modifications. This migration is part of a major overhaul
32231 of dejagnu. The modifications to these testcases, etc., which
32232 will allow them to work with the new version of dejagnu will be
32233 made in a future update.
32234
32235 For additional changes see gdb.mi/ChangeLog-1999-2003.
32236 \f
32237 ;; Local Variables:
32238 ;; mode: change-log
32239 ;; left-margin: 8
32240 ;; fill-column: 74
32241 ;; version-control: never
32242 ;; End:
32243
32244 Copyright 1993-2013 Free Software Foundation, Inc.
32245 Copying and distribution of this file, with or without modification,
32246 are permitted provided the copyright notice and this notice are preserved.
This page took 0.745292 seconds and 4 git commands to generate.